PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.1.1
JetFormBuilder — Dynamic Blocks Form Builder v3.1.1
3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / assets / src / package / store.manager.js
jetformbuilder / assets / src / package Last commit date
action-buttons 2 years ago action-fields-map 2 years ago action-modal 2 years ago actions 2 years ago block-conditions 2 years ago blocks 2 years ago components 2 years ago context 2 years ago dynamic.value 2 years ago events 2 years ago gateways 2 years ago hooks 2 years ago macros.button 2 years ago migrations 2 years ago preset 2 years ago repeater 2 years ago validation 2 years ago manager.js 2 years ago store.manager.js 2 years ago tools.js 2 years ago
store.manager.js
55 lines
1 import actions from './actions/store';
2 import gateways from './gateways/store';
3 import events from './events/store';
4 import blockConditions from './block-conditions/store';
5 import actionButtons from './action-buttons/store';
6 import macros from './macros.button/store';
7 import validation from './validation/store';
8 import fields from './blocks/store';
9 import './migrations/migrate.gateways.settings';
10
11 const {
12 register,
13 dispatch,
14 } = wp.data;
15 const {
16 addAction,
17 } = wp.hooks;
18
19 const stores = [
20 gateways,
21 events,
22 actions,
23 actionButtons,
24 blockConditions,
25 macros,
26 validation,
27 fields,
28 ];
29
30 stores.forEach( register );
31
32 dispatch( 'jet-forms/events' ).register( window.jetFormEvents.types );
33 dispatch( 'jet-forms/events' ).lockActions();
34 dispatch( 'jet-forms/validation' ).register( window.jetFormValidation );
35
36 addAction(
37 'jet.fb.change.blockConditions.renderState',
38 'jet-form-builder/events',
39 function ( states ) {
40 dispatch( 'jet-forms/events' ).clearDynamicEvents();
41
42 const events = states.map( ( { value } ) => {
43 value = 'ON.' + value;
44
45 return { value, label: value, isDynamic: true };
46 } );
47
48 dispatch( 'jet-forms/events' ).register( events );
49 },
50 );
51
52 dispatch( 'jet-forms/block-conditions' ).register(
53 window.jetFormBlockConditions,
54 );
55