camunda-bpmn-js 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/base-modeler.development.js +187 -189
- package/dist/base-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +291 -268
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +234 -236
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,19 @@ All notable changes to [camunda-bpmn-js](https://github.com/camunda/camunda-bpmn
|
|
|
6
6
|
|
|
7
7
|
___Note:__ Yet to be released changes appear here._
|
|
8
8
|
|
|
9
|
+
## 0.13.2
|
|
10
|
+
|
|
11
|
+
* `DEPS`: update to `bpmn-js-properties-panel@1.1.1`
|
|
12
|
+
* `DEPS`: update to `@bpmn-io/properties-panel@0.13.2`
|
|
13
|
+
|
|
14
|
+
### Key changes in Properties Panel
|
|
15
|
+
|
|
16
|
+
* `FIX`: remove unnecessary scroll padding ([#145](https://github.com/bpmn-io/properties-panel/pull/145))
|
|
17
|
+
* `FIX`: keep existing configuration after template apply ([#661](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/661))
|
|
18
|
+
* `FIX`: always override `hidden` configuration on template apply ([#661](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/661))
|
|
19
|
+
* `FIX`: do not render non-existing values in element template ([#676](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/676))
|
|
20
|
+
* `FIX`: pick-up correct element template icon ([#670](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/670))
|
|
21
|
+
|
|
9
22
|
## 0.13.1
|
|
10
23
|
|
|
11
24
|
_Re-publish of v0.13.0 with fixed distro._
|
|
@@ -61669,19 +61669,19 @@
|
|
|
61669
61669
|
getDescriptionForId: () => {}
|
|
61670
61670
|
});
|
|
61671
61671
|
|
|
61672
|
-
/**
|
|
61673
|
-
* @typedef {Function} <propertiesPanel.showEntry> callback
|
|
61674
|
-
*
|
|
61675
|
-
* @example
|
|
61676
|
-
*
|
|
61677
|
-
* useEvent('propertiesPanel.showEntry', ({ focus = false, ...rest }) => {
|
|
61678
|
-
* // ...
|
|
61679
|
-
* });
|
|
61680
|
-
*
|
|
61681
|
-
* @param {Object} context
|
|
61682
|
-
* @param {boolean} [context.focus]
|
|
61683
|
-
*
|
|
61684
|
-
* @returns void
|
|
61672
|
+
/**
|
|
61673
|
+
* @typedef {Function} <propertiesPanel.showEntry> callback
|
|
61674
|
+
*
|
|
61675
|
+
* @example
|
|
61676
|
+
*
|
|
61677
|
+
* useEvent('propertiesPanel.showEntry', ({ focus = false, ...rest }) => {
|
|
61678
|
+
* // ...
|
|
61679
|
+
* });
|
|
61680
|
+
*
|
|
61681
|
+
* @param {Object} context
|
|
61682
|
+
* @param {boolean} [context.focus]
|
|
61683
|
+
*
|
|
61684
|
+
* @returns void
|
|
61685
61685
|
*/
|
|
61686
61686
|
const EventContext = q({
|
|
61687
61687
|
eventBus: null
|
|
@@ -61694,20 +61694,20 @@
|
|
|
61694
61694
|
setLayoutForKey: () => {}
|
|
61695
61695
|
});
|
|
61696
61696
|
|
|
61697
|
-
/**
|
|
61698
|
-
* Accesses the global DescriptionContext and returns a description for a given id and element.
|
|
61699
|
-
*
|
|
61700
|
-
* @example
|
|
61701
|
-
* ```jsx
|
|
61702
|
-
* function TextField(props) {
|
|
61703
|
-
* const description = useDescriptionContext('input1', element);
|
|
61704
|
-
* }
|
|
61705
|
-
* ```
|
|
61706
|
-
*
|
|
61707
|
-
* @param {string} id
|
|
61708
|
-
* @param {djs.model.Base} element
|
|
61709
|
-
*
|
|
61710
|
-
* @returns {string}
|
|
61697
|
+
/**
|
|
61698
|
+
* Accesses the global DescriptionContext and returns a description for a given id and element.
|
|
61699
|
+
*
|
|
61700
|
+
* @example
|
|
61701
|
+
* ```jsx
|
|
61702
|
+
* function TextField(props) {
|
|
61703
|
+
* const description = useDescriptionContext('input1', element);
|
|
61704
|
+
* }
|
|
61705
|
+
* ```
|
|
61706
|
+
*
|
|
61707
|
+
* @param {string} id
|
|
61708
|
+
* @param {djs.model.Base} element
|
|
61709
|
+
*
|
|
61710
|
+
* @returns {string}
|
|
61711
61711
|
*/
|
|
61712
61712
|
|
|
61713
61713
|
function useDescriptionContext(id, element) {
|
|
@@ -61718,14 +61718,14 @@
|
|
|
61718
61718
|
}
|
|
61719
61719
|
|
|
61720
61720
|
const DEFAULT_PRIORITY$6 = 1000;
|
|
61721
|
-
/**
|
|
61722
|
-
* Subscribe to an event.
|
|
61723
|
-
*
|
|
61724
|
-
* @param {string} event
|
|
61725
|
-
* @param {Function} callback
|
|
61726
|
-
* @param {number} [priority]
|
|
61727
|
-
*
|
|
61728
|
-
* @returns {import('preact').Ref}
|
|
61721
|
+
/**
|
|
61722
|
+
* Subscribe to an event.
|
|
61723
|
+
*
|
|
61724
|
+
* @param {string} event
|
|
61725
|
+
* @param {Function} callback
|
|
61726
|
+
* @param {number} [priority]
|
|
61727
|
+
*
|
|
61728
|
+
* @returns {import('preact').Ref}
|
|
61729
61729
|
*/
|
|
61730
61730
|
|
|
61731
61731
|
function useEvent(event, callback, priority = DEFAULT_PRIORITY$6) {
|
|
@@ -61743,11 +61743,11 @@
|
|
|
61743
61743
|
}
|
|
61744
61744
|
|
|
61745
61745
|
const HIGH_PRIORITY$l = 10000;
|
|
61746
|
-
/**
|
|
61747
|
-
* Buffer events and re-fire during passive effect phase.
|
|
61748
|
-
*
|
|
61749
|
-
* @param {string[]} bufferedEvents
|
|
61750
|
-
* @param {Object} [eventBus]
|
|
61746
|
+
/**
|
|
61747
|
+
* Buffer events and re-fire during passive effect phase.
|
|
61748
|
+
*
|
|
61749
|
+
* @param {string[]} bufferedEvents
|
|
61750
|
+
* @param {Object} [eventBus]
|
|
61751
61751
|
*/
|
|
61752
61752
|
|
|
61753
61753
|
function useEventBuffer(bufferedEvents, eventBus) {
|
|
@@ -61795,20 +61795,20 @@
|
|
|
61795
61795
|
});
|
|
61796
61796
|
}
|
|
61797
61797
|
|
|
61798
|
-
/**
|
|
61799
|
-
* Creates a state that persists in the global LayoutContext.
|
|
61800
|
-
*
|
|
61801
|
-
* @example
|
|
61802
|
-
* ```jsx
|
|
61803
|
-
* function Group(props) {
|
|
61804
|
-
* const [ open, setOpen ] = useLayoutState([ 'groups', 'foo', 'open' ], false);
|
|
61805
|
-
* }
|
|
61806
|
-
* ```
|
|
61807
|
-
*
|
|
61808
|
-
* @param {(string|number)[]} path
|
|
61809
|
-
* @param {any} [defaultValue]
|
|
61810
|
-
*
|
|
61811
|
-
* @returns {[ any, Function ]}
|
|
61798
|
+
/**
|
|
61799
|
+
* Creates a state that persists in the global LayoutContext.
|
|
61800
|
+
*
|
|
61801
|
+
* @example
|
|
61802
|
+
* ```jsx
|
|
61803
|
+
* function Group(props) {
|
|
61804
|
+
* const [ open, setOpen ] = useLayoutState([ 'groups', 'foo', 'open' ], false);
|
|
61805
|
+
* }
|
|
61806
|
+
* ```
|
|
61807
|
+
*
|
|
61808
|
+
* @param {(string|number)[]} path
|
|
61809
|
+
* @param {any} [defaultValue]
|
|
61810
|
+
*
|
|
61811
|
+
* @returns {[ any, Function ]}
|
|
61812
61812
|
*/
|
|
61813
61813
|
|
|
61814
61814
|
function useLayoutState(path, defaultValue) {
|
|
@@ -61829,11 +61829,11 @@
|
|
|
61829
61829
|
return [value, setState];
|
|
61830
61830
|
}
|
|
61831
61831
|
|
|
61832
|
-
/**
|
|
61833
|
-
* @pinussilvestrus: we need to introduce our own hook to persist the previous
|
|
61834
|
-
* state on updates.
|
|
61835
|
-
*
|
|
61836
|
-
* cf. https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state
|
|
61832
|
+
/**
|
|
61833
|
+
* @pinussilvestrus: we need to introduce our own hook to persist the previous
|
|
61834
|
+
* state on updates.
|
|
61835
|
+
*
|
|
61836
|
+
* cf. https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state
|
|
61837
61837
|
*/
|
|
61838
61838
|
|
|
61839
61839
|
function usePrevious(value) {
|
|
@@ -61844,12 +61844,12 @@
|
|
|
61844
61844
|
return ref.current;
|
|
61845
61845
|
}
|
|
61846
61846
|
|
|
61847
|
-
/**
|
|
61848
|
-
* Subscribe to `propertiesPanel.showEntry`.
|
|
61849
|
-
*
|
|
61850
|
-
* @param {Function} show
|
|
61851
|
-
*
|
|
61852
|
-
* @returns {import('preact').Ref}
|
|
61847
|
+
/**
|
|
61848
|
+
* Subscribe to `propertiesPanel.showEntry`.
|
|
61849
|
+
*
|
|
61850
|
+
* @param {Function} show
|
|
61851
|
+
*
|
|
61852
|
+
* @returns {import('preact').Ref}
|
|
61853
61853
|
*/
|
|
61854
61854
|
|
|
61855
61855
|
function useShowEntryEvent(show) {
|
|
@@ -61886,14 +61886,14 @@
|
|
|
61886
61886
|
return ref;
|
|
61887
61887
|
}
|
|
61888
61888
|
|
|
61889
|
-
/**
|
|
61890
|
-
* Subscribe to `propertiesPanel.showError`. On `propertiesPanel.showError` set
|
|
61891
|
-
* temporary error. Fire `propertiesPanel.showEntry` for temporary error to be
|
|
61892
|
-
* visible. Unset error on `propertiesPanel.updated`.
|
|
61893
|
-
*
|
|
61894
|
-
* @param {Function} show
|
|
61895
|
-
*
|
|
61896
|
-
* @returns {import('preact').Ref}
|
|
61889
|
+
/**
|
|
61890
|
+
* Subscribe to `propertiesPanel.showError`. On `propertiesPanel.showError` set
|
|
61891
|
+
* temporary error. Fire `propertiesPanel.showEntry` for temporary error to be
|
|
61892
|
+
* visible. Unset error on `propertiesPanel.updated`.
|
|
61893
|
+
*
|
|
61894
|
+
* @param {Function} show
|
|
61895
|
+
*
|
|
61896
|
+
* @returns {import('preact').Ref}
|
|
61897
61897
|
*/
|
|
61898
61898
|
|
|
61899
61899
|
function useShowErrorEvent(show) {
|
|
@@ -62004,66 +62004,66 @@
|
|
|
62004
62004
|
};
|
|
62005
62005
|
const DEFAULT_DESCRIPTION = {};
|
|
62006
62006
|
const bufferedEvents = ['propertiesPanel.showEntry', 'propertiesPanel.showError'];
|
|
62007
|
-
/**
|
|
62008
|
-
* @typedef { {
|
|
62009
|
-
* component: import('preact').Component,
|
|
62010
|
-
* id: String,
|
|
62011
|
-
* isEdited?: Function
|
|
62012
|
-
* } } EntryDefinition
|
|
62013
|
-
*
|
|
62014
|
-
* @typedef { {
|
|
62015
|
-
* autoFocusEntry: String,
|
|
62016
|
-
* autoOpen?: Boolean,
|
|
62017
|
-
* entries: Array<EntryDefinition>,
|
|
62018
|
-
* id: String,
|
|
62019
|
-
* label: String,
|
|
62020
|
-
* remove: (event: MouseEvent) => void
|
|
62021
|
-
* } } ListItemDefinition
|
|
62022
|
-
*
|
|
62023
|
-
* @typedef { {
|
|
62024
|
-
* add: (event: MouseEvent) => void,
|
|
62025
|
-
* component: import('preact').Component,
|
|
62026
|
-
* element: Object,
|
|
62027
|
-
* id: String,
|
|
62028
|
-
* items: Array<ListItemDefinition>,
|
|
62029
|
-
* label: String,
|
|
62030
|
-
* shouldSort?: Boolean,
|
|
62031
|
-
* shouldOpen?: Boolean
|
|
62032
|
-
* } } ListGroupDefinition
|
|
62033
|
-
*
|
|
62034
|
-
* @typedef { {
|
|
62035
|
-
* component?: import('preact').Component,
|
|
62036
|
-
* entries: Array<EntryDefinition>,
|
|
62037
|
-
* id: String,
|
|
62038
|
-
* label: String,
|
|
62039
|
-
* shouldOpen?: Boolean
|
|
62040
|
-
* } } GroupDefinition
|
|
62041
|
-
*
|
|
62042
|
-
* @typedef { {
|
|
62043
|
-
* [id: String]: GetDescriptionFunction
|
|
62044
|
-
* } } DescriptionConfig
|
|
62045
|
-
*
|
|
62046
|
-
* @callback { {
|
|
62047
|
-
* @param {string} id
|
|
62048
|
-
* @param {djs.model.base} element
|
|
62049
|
-
* @returns {string}
|
|
62050
|
-
* } } GetDescriptionFunction
|
|
62051
|
-
*
|
|
62007
|
+
/**
|
|
62008
|
+
* @typedef { {
|
|
62009
|
+
* component: import('preact').Component,
|
|
62010
|
+
* id: String,
|
|
62011
|
+
* isEdited?: Function
|
|
62012
|
+
* } } EntryDefinition
|
|
62013
|
+
*
|
|
62014
|
+
* @typedef { {
|
|
62015
|
+
* autoFocusEntry: String,
|
|
62016
|
+
* autoOpen?: Boolean,
|
|
62017
|
+
* entries: Array<EntryDefinition>,
|
|
62018
|
+
* id: String,
|
|
62019
|
+
* label: String,
|
|
62020
|
+
* remove: (event: MouseEvent) => void
|
|
62021
|
+
* } } ListItemDefinition
|
|
62022
|
+
*
|
|
62023
|
+
* @typedef { {
|
|
62024
|
+
* add: (event: MouseEvent) => void,
|
|
62025
|
+
* component: import('preact').Component,
|
|
62026
|
+
* element: Object,
|
|
62027
|
+
* id: String,
|
|
62028
|
+
* items: Array<ListItemDefinition>,
|
|
62029
|
+
* label: String,
|
|
62030
|
+
* shouldSort?: Boolean,
|
|
62031
|
+
* shouldOpen?: Boolean
|
|
62032
|
+
* } } ListGroupDefinition
|
|
62033
|
+
*
|
|
62034
|
+
* @typedef { {
|
|
62035
|
+
* component?: import('preact').Component,
|
|
62036
|
+
* entries: Array<EntryDefinition>,
|
|
62037
|
+
* id: String,
|
|
62038
|
+
* label: String,
|
|
62039
|
+
* shouldOpen?: Boolean
|
|
62040
|
+
* } } GroupDefinition
|
|
62041
|
+
*
|
|
62042
|
+
* @typedef { {
|
|
62043
|
+
* [id: String]: GetDescriptionFunction
|
|
62044
|
+
* } } DescriptionConfig
|
|
62045
|
+
*
|
|
62046
|
+
* @callback { {
|
|
62047
|
+
* @param {string} id
|
|
62048
|
+
* @param {djs.model.base} element
|
|
62049
|
+
* @returns {string}
|
|
62050
|
+
* } } GetDescriptionFunction
|
|
62051
|
+
*
|
|
62052
62052
|
*/
|
|
62053
62053
|
|
|
62054
|
-
/**
|
|
62055
|
-
* A basic properties panel component. Describes *how* content will be rendered, accepts
|
|
62056
|
-
* data from implementor to describe *what* will be rendered.
|
|
62057
|
-
*
|
|
62058
|
-
* @param {Object} props
|
|
62059
|
-
* @param {Object} props.element
|
|
62060
|
-
* @param {import('./components/Header').HeaderProvider} props.headerProvider
|
|
62061
|
-
* @param {Array<GroupDefinition|ListGroupDefinition>} props.groups
|
|
62062
|
-
* @param {Object} [props.layoutConfig]
|
|
62063
|
-
* @param {Function} [props.layoutChanged]
|
|
62064
|
-
* @param {DescriptionConfig} [props.descriptionConfig]
|
|
62065
|
-
* @param {Function} [props.descriptionLoaded]
|
|
62066
|
-
* @param {Object} [props.eventBus]
|
|
62054
|
+
/**
|
|
62055
|
+
* A basic properties panel component. Describes *how* content will be rendered, accepts
|
|
62056
|
+
* data from implementor to describe *what* will be rendered.
|
|
62057
|
+
*
|
|
62058
|
+
* @param {Object} props
|
|
62059
|
+
* @param {Object} props.element
|
|
62060
|
+
* @param {import('./components/Header').HeaderProvider} props.headerProvider
|
|
62061
|
+
* @param {Array<GroupDefinition|ListGroupDefinition>} props.groups
|
|
62062
|
+
* @param {Object} [props.layoutConfig]
|
|
62063
|
+
* @param {Function} [props.layoutChanged]
|
|
62064
|
+
* @param {DescriptionConfig} [props.descriptionConfig]
|
|
62065
|
+
* @param {Function} [props.descriptionLoaded]
|
|
62066
|
+
* @param {Object} [props.eventBus]
|
|
62067
62067
|
*/
|
|
62068
62068
|
|
|
62069
62069
|
function PropertiesPanel(props) {
|
|
@@ -62230,15 +62230,15 @@
|
|
|
62230
62230
|
})]
|
|
62231
62231
|
});
|
|
62232
62232
|
}
|
|
62233
|
-
/**
|
|
62234
|
-
* @param {Object} props
|
|
62235
|
-
* @param {Object} props.element
|
|
62236
|
-
* @param {String} props.id
|
|
62237
|
-
* @param {String} props.description
|
|
62238
|
-
* @param {String} props.label
|
|
62239
|
-
* @param {Function} props.getValue
|
|
62240
|
-
* @param {Function} props.setValue
|
|
62241
|
-
* @param {boolean} [props.disabled]
|
|
62233
|
+
/**
|
|
62234
|
+
* @param {Object} props
|
|
62235
|
+
* @param {Object} props.element
|
|
62236
|
+
* @param {String} props.id
|
|
62237
|
+
* @param {String} props.description
|
|
62238
|
+
* @param {String} props.label
|
|
62239
|
+
* @param {Function} props.getValue
|
|
62240
|
+
* @param {Function} props.setValue
|
|
62241
|
+
* @param {boolean} [props.disabled]
|
|
62242
62242
|
*/
|
|
62243
62243
|
|
|
62244
62244
|
|
|
@@ -62284,21 +62284,21 @@
|
|
|
62284
62284
|
}
|
|
62285
62285
|
|
|
62286
62286
|
const noop$1 = () => {};
|
|
62287
|
-
/**
|
|
62288
|
-
* @typedef { { value: string, label: string, disabled: boolean } } Option
|
|
62287
|
+
/**
|
|
62288
|
+
* @typedef { { value: string, label: string, disabled: boolean } } Option
|
|
62289
62289
|
*/
|
|
62290
62290
|
|
|
62291
|
-
/**
|
|
62292
|
-
* Provides basic select input.
|
|
62293
|
-
*
|
|
62294
|
-
* @param {object} props
|
|
62295
|
-
* @param {string} props.id
|
|
62296
|
-
* @param {string[]} props.path
|
|
62297
|
-
* @param {string} props.label
|
|
62298
|
-
* @param {Function} props.onChange
|
|
62299
|
-
* @param {Array<Option>} [props.options]
|
|
62300
|
-
* @param {string} props.value
|
|
62301
|
-
* @param {boolean} [props.disabled]
|
|
62291
|
+
/**
|
|
62292
|
+
* Provides basic select input.
|
|
62293
|
+
*
|
|
62294
|
+
* @param {object} props
|
|
62295
|
+
* @param {string} props.id
|
|
62296
|
+
* @param {string[]} props.path
|
|
62297
|
+
* @param {string} props.label
|
|
62298
|
+
* @param {Function} props.onChange
|
|
62299
|
+
* @param {Array<Option>} [props.options]
|
|
62300
|
+
* @param {string} props.value
|
|
62301
|
+
* @param {boolean} [props.disabled]
|
|
62302
62302
|
*/
|
|
62303
62303
|
|
|
62304
62304
|
|
|
@@ -62344,16 +62344,16 @@
|
|
|
62344
62344
|
})]
|
|
62345
62345
|
});
|
|
62346
62346
|
}
|
|
62347
|
-
/**
|
|
62348
|
-
* @param {object} props
|
|
62349
|
-
* @param {object} props.element
|
|
62350
|
-
* @param {string} props.id
|
|
62351
|
-
* @param {string} [props.description]
|
|
62352
|
-
* @param {string} props.label
|
|
62353
|
-
* @param {Function} props.getValue
|
|
62354
|
-
* @param {Function} props.setValue
|
|
62355
|
-
* @param {Function} props.getOptions
|
|
62356
|
-
* @param {boolean} [props.disabled]
|
|
62347
|
+
/**
|
|
62348
|
+
* @param {object} props
|
|
62349
|
+
* @param {object} props.element
|
|
62350
|
+
* @param {string} props.id
|
|
62351
|
+
* @param {string} [props.description]
|
|
62352
|
+
* @param {string} props.label
|
|
62353
|
+
* @param {Function} props.getValue
|
|
62354
|
+
* @param {Function} props.setValue
|
|
62355
|
+
* @param {Function} props.getOptions
|
|
62356
|
+
* @param {boolean} [props.disabled]
|
|
62357
62357
|
*/
|
|
62358
62358
|
|
|
62359
62359
|
|
|
@@ -62455,18 +62455,18 @@
|
|
|
62455
62455
|
})]
|
|
62456
62456
|
});
|
|
62457
62457
|
}
|
|
62458
|
-
/**
|
|
62459
|
-
* @param {object} props
|
|
62460
|
-
* @param {object} props.element
|
|
62461
|
-
* @param {string} props.id
|
|
62462
|
-
* @param {string} props.description
|
|
62463
|
-
* @param {boolean} props.debounce
|
|
62464
|
-
* @param {string} props.label
|
|
62465
|
-
* @param {Function} props.getValue
|
|
62466
|
-
* @param {Function} props.setValue
|
|
62467
|
-
* @param {number} props.rows
|
|
62468
|
-
* @param {boolean} props.monospace
|
|
62469
|
-
* @param {boolean} [props.disabled]
|
|
62458
|
+
/**
|
|
62459
|
+
* @param {object} props
|
|
62460
|
+
* @param {object} props.element
|
|
62461
|
+
* @param {string} props.id
|
|
62462
|
+
* @param {string} props.description
|
|
62463
|
+
* @param {boolean} props.debounce
|
|
62464
|
+
* @param {string} props.label
|
|
62465
|
+
* @param {Function} props.getValue
|
|
62466
|
+
* @param {Function} props.setValue
|
|
62467
|
+
* @param {number} props.rows
|
|
62468
|
+
* @param {boolean} props.monospace
|
|
62469
|
+
* @param {boolean} [props.disabled]
|
|
62470
62470
|
*/
|
|
62471
62471
|
|
|
62472
62472
|
|
|
@@ -62557,17 +62557,17 @@
|
|
|
62557
62557
|
})]
|
|
62558
62558
|
});
|
|
62559
62559
|
}
|
|
62560
|
-
/**
|
|
62561
|
-
* @param {Object} props
|
|
62562
|
-
* @param {Object} props.element
|
|
62563
|
-
* @param {String} props.id
|
|
62564
|
-
* @param {String} props.description
|
|
62565
|
-
* @param {Boolean} props.debounce
|
|
62566
|
-
* @param {Boolean} props.disabled
|
|
62567
|
-
* @param {String} props.label
|
|
62568
|
-
* @param {Function} props.getValue
|
|
62569
|
-
* @param {Function} props.setValue
|
|
62570
|
-
* @param {Function} props.validate
|
|
62560
|
+
/**
|
|
62561
|
+
* @param {Object} props
|
|
62562
|
+
* @param {Object} props.element
|
|
62563
|
+
* @param {String} props.id
|
|
62564
|
+
* @param {String} props.description
|
|
62565
|
+
* @param {Boolean} props.debounce
|
|
62566
|
+
* @param {Boolean} props.disabled
|
|
62567
|
+
* @param {String} props.label
|
|
62568
|
+
* @param {Function} props.getValue
|
|
62569
|
+
* @param {Function} props.setValue
|
|
62570
|
+
* @param {Function} props.validate
|
|
62571
62571
|
*/
|
|
62572
62572
|
|
|
62573
62573
|
|
|
@@ -64246,9 +64246,7 @@
|
|
|
64246
64246
|
}
|
|
64247
64247
|
|
|
64248
64248
|
function getTemplate(element, elementTemplates) {
|
|
64249
|
-
|
|
64250
|
-
|
|
64251
|
-
return templateId && elementTemplates.get(templateId);
|
|
64249
|
+
return elementTemplates.get(element);
|
|
64252
64250
|
}
|
|
64253
64251
|
|
|
64254
64252
|
function getTemplateDocumentation(element, elementTemplates) {
|