camunda-bpmn-js 5.2.1 → 5.2.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.
@@ -108611,19 +108611,19 @@
108611
108611
  errors: {}
108612
108612
  });
108613
108613
 
108614
- /**
108615
- * @typedef {Function} <propertiesPanel.showEntry> callback
108616
- *
108617
- * @example
108618
- *
108619
- * useEvent('propertiesPanel.showEntry', ({ focus = false, ...rest }) => {
108620
- * // ...
108621
- * });
108622
- *
108623
- * @param {Object} context
108624
- * @param {boolean} [context.focus]
108625
- *
108626
- * @returns void
108614
+ /**
108615
+ * @typedef {Function} <propertiesPanel.showEntry> callback
108616
+ *
108617
+ * @example
108618
+ *
108619
+ * useEvent('propertiesPanel.showEntry', ({ focus = false, ...rest }) => {
108620
+ * // ...
108621
+ * });
108622
+ *
108623
+ * @param {Object} context
108624
+ * @param {boolean} [context.focus]
108625
+ *
108626
+ * @returns void
108627
108627
  */
108628
108628
 
108629
108629
  const EventContext = F$3({
@@ -108642,20 +108642,20 @@
108642
108642
  getTooltipForId: () => {}
108643
108643
  });
108644
108644
 
108645
- /**
108646
- * Accesses the global TooltipContext and returns a tooltip for a given id and element.
108647
- *
108648
- * @example
108649
- * ```jsx
108650
- * function TextField(props) {
108651
- * const tooltip = useTooltipContext('input1', element);
108652
- * }
108653
- * ```
108654
- *
108655
- * @param {string} id
108656
- * @param {object} element
108657
- *
108658
- * @returns {string}
108645
+ /**
108646
+ * Accesses the global TooltipContext and returns a tooltip for a given id and element.
108647
+ *
108648
+ * @example
108649
+ * ```jsx
108650
+ * function TextField(props) {
108651
+ * const tooltip = useTooltipContext('input1', element);
108652
+ * }
108653
+ * ```
108654
+ *
108655
+ * @param {string} id
108656
+ * @param {object} element
108657
+ *
108658
+ * @returns {string}
108659
108659
  */
108660
108660
  function useTooltipContext(id, element) {
108661
108661
  const {
@@ -108808,20 +108808,20 @@
108808
108808
  return `bio-properties-panel-${id}`;
108809
108809
  }
108810
108810
 
108811
- /**
108812
- * Accesses the global DescriptionContext and returns a description for a given id and element.
108813
- *
108814
- * @example
108815
- * ```jsx
108816
- * function TextField(props) {
108817
- * const description = useDescriptionContext('input1', element);
108818
- * }
108819
- * ```
108820
- *
108821
- * @param {string} id
108822
- * @param {object} element
108823
- *
108824
- * @returns {string}
108811
+ /**
108812
+ * Accesses the global DescriptionContext and returns a description for a given id and element.
108813
+ *
108814
+ * @example
108815
+ * ```jsx
108816
+ * function TextField(props) {
108817
+ * const description = useDescriptionContext('input1', element);
108818
+ * }
108819
+ * ```
108820
+ *
108821
+ * @param {string} id
108822
+ * @param {object} element
108823
+ *
108824
+ * @returns {string}
108825
108825
  */
108826
108826
  function useDescriptionContext(id, element) {
108827
108827
  const {
@@ -108843,11 +108843,11 @@
108843
108843
  return errors;
108844
108844
  }
108845
108845
 
108846
- /**
108847
- * Subscribe to an event immediately. Update subscription after inputs changed.
108848
- *
108849
- * @param {string} event
108850
- * @param {Function} callback
108846
+ /**
108847
+ * Subscribe to an event immediately. Update subscription after inputs changed.
108848
+ *
108849
+ * @param {string} event
108850
+ * @param {Function} callback
108851
108851
  */
108852
108852
  function useEvent(event, callback, eventBus) {
108853
108853
  const eventContext = q$1(EventContext);
@@ -108877,20 +108877,20 @@
108877
108877
  }, [callback, event, eventBus]);
108878
108878
  }
108879
108879
 
108880
- /**
108881
- * Creates a state that persists in the global LayoutContext.
108882
- *
108883
- * @example
108884
- * ```jsx
108885
- * function Group(props) {
108886
- * const [ open, setOpen ] = useLayoutState([ 'groups', 'foo', 'open' ], false);
108887
- * }
108888
- * ```
108889
- *
108890
- * @param {(string|number)[]} path
108891
- * @param {any} [defaultValue]
108892
- *
108893
- * @returns {[ any, Function ]}
108880
+ /**
108881
+ * Creates a state that persists in the global LayoutContext.
108882
+ *
108883
+ * @example
108884
+ * ```jsx
108885
+ * function Group(props) {
108886
+ * const [ open, setOpen ] = useLayoutState([ 'groups', 'foo', 'open' ], false);
108887
+ * }
108888
+ * ```
108889
+ *
108890
+ * @param {(string|number)[]} path
108891
+ * @param {any} [defaultValue]
108892
+ *
108893
+ * @returns {[ any, Function ]}
108894
108894
  */
108895
108895
  function useLayoutState(path, defaultValue) {
108896
108896
  const {
@@ -108904,11 +108904,11 @@
108904
108904
  return [layoutForKey, setState];
108905
108905
  }
108906
108906
 
108907
- /**
108908
- * @pinussilvestrus: we need to introduce our own hook to persist the previous
108909
- * state on updates.
108910
- *
108911
- * cf. https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state
108907
+ /**
108908
+ * @pinussilvestrus: we need to introduce our own hook to persist the previous
108909
+ * state on updates.
108910
+ *
108911
+ * cf. https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state
108912
108912
  */
108913
108913
 
108914
108914
  function usePrevious$1(value) {
@@ -108919,12 +108919,12 @@
108919
108919
  return ref.current;
108920
108920
  }
108921
108921
 
108922
- /**
108923
- * Subscribe to `propertiesPanel.showEntry`.
108924
- *
108925
- * @param {string} id
108926
- *
108927
- * @returns {import('preact').Ref}
108922
+ /**
108923
+ * Subscribe to `propertiesPanel.showEntry`.
108924
+ *
108925
+ * @param {string} id
108926
+ *
108927
+ * @returns {import('preact').Ref}
108928
108928
  */
108929
108929
  function useShowEntryEvent(id) {
108930
108930
  const {
@@ -108955,20 +108955,20 @@
108955
108955
  return ref;
108956
108956
  }
108957
108957
 
108958
- /**
108959
- * @callback setSticky
108960
- * @param {boolean} value
108958
+ /**
108959
+ * @callback setSticky
108960
+ * @param {boolean} value
108961
108961
  */
108962
108962
 
108963
- /**
108964
- * Use IntersectionObserver to identify when DOM element is in sticky mode.
108965
- * If sticky is observered setSticky(true) will be called.
108966
- * If sticky mode is left, setSticky(false) will be called.
108967
- *
108968
- *
108969
- * @param {Object} ref
108970
- * @param {string} scrollContainerSelector
108971
- * @param {setSticky} setSticky
108963
+ /**
108964
+ * Use IntersectionObserver to identify when DOM element is in sticky mode.
108965
+ * If sticky is observered setSticky(true) will be called.
108966
+ * If sticky mode is left, setSticky(false) will be called.
108967
+ *
108968
+ *
108969
+ * @param {Object} ref
108970
+ * @param {string} scrollContainerSelector
108971
+ * @param {setSticky} setSticky
108972
108972
  */
108973
108973
  function useStickyIntersectionObserver(ref, scrollContainerSelector, setSticky) {
108974
108974
  const [scrollContainer, setScrollContainer] = h(query$1(scrollContainerSelector));
@@ -109022,19 +109022,19 @@
109022
109022
  }, [ref.current, scrollContainer, setSticky]);
109023
109023
  }
109024
109024
 
109025
- /**
109026
- * Creates a static function reference with changing body.
109027
- * This is necessary when external libraries require a callback function
109028
- * that has references to state variables.
109029
- *
109030
- * Usage:
109031
- * const callback = useStaticCallback((val) => {val === currentState});
109032
- *
109033
- * The `callback` reference is static and can be safely used in external
109034
- * libraries or as a prop that does not cause rerendering of children.
109035
- *
109036
- * @param {Function} callback function with changing reference
109037
- * @returns {Function} static function reference
109025
+ /**
109026
+ * Creates a static function reference with changing body.
109027
+ * This is necessary when external libraries require a callback function
109028
+ * that has references to state variables.
109029
+ *
109030
+ * Usage:
109031
+ * const callback = useStaticCallback((val) => {val === currentState});
109032
+ *
109033
+ * The `callback` reference is static and can be safely used in external
109034
+ * libraries or as a prop that does not cause rerendering of children.
109035
+ *
109036
+ * @param {Function} callback function with changing reference
109037
+ * @returns {Function} static function reference
109038
109038
  */
109039
109039
  function useStaticCallback(callback) {
109040
109040
  const callbackRef = _$1(callback);
@@ -109177,13 +109177,13 @@
109177
109177
  return null;
109178
109178
  }
109179
109179
 
109180
- /**
109181
- * @typedef { {
109182
- * text: (element: object) => string,
109183
- * icon?: (element: Object) => import('preact').Component
109184
- * } } PlaceholderDefinition
109185
- *
109186
- * @param { PlaceholderDefinition } props
109180
+ /**
109181
+ * @typedef { {
109182
+ * text: (element: object) => string,
109183
+ * icon?: (element: Object) => import('preact').Component
109184
+ * } } PlaceholderDefinition
109185
+ *
109186
+ * @param { PlaceholderDefinition } props
109187
109187
  */
109188
109188
  function Placeholder(props) {
109189
109189
  const {
@@ -109222,9 +109222,9 @@
109222
109222
 
109223
109223
  const noop$6 = () => {};
109224
109224
 
109225
- /**
109226
- * Buffer `.focus()` calls while the editor is not initialized.
109227
- * Set Focus inside when the editor is ready.
109225
+ /**
109226
+ * Buffer `.focus()` calls while the editor is not initialized.
109227
+ * Set Focus inside when the editor is ready.
109228
109228
  */
109229
109229
  const useBufferedFocus$1 = function (editor, ref) {
109230
109230
  const [buffer, setBuffer] = h(undefined);
@@ -109325,9 +109325,9 @@
109325
109325
 
109326
109326
  const noop$5 = () => {};
109327
109327
 
109328
- /**
109329
- * Buffer `.focus()` calls while the editor is not initialized.
109330
- * Set Focus inside when the editor is ready.
109328
+ /**
109329
+ * Buffer `.focus()` calls while the editor is not initialized.
109330
+ * Set Focus inside when the editor is ready.
109331
109331
  */
109332
109332
  const useBufferedFocus = function (editor, ref) {
109333
109333
  const [buffer, setBuffer] = h(undefined);
@@ -109376,10 +109376,10 @@
109376
109376
  p$1(() => {
109377
109377
  let editor;
109378
109378
 
109379
- /* Trigger FEEL toggle when
109380
- *
109381
- * - `backspace` is pressed
109382
- * - AND the cursor is at the beginning of the input
109379
+ /* Trigger FEEL toggle when
109380
+ *
109381
+ * - `backspace` is pressed
109382
+ * - AND the cursor is at the beginning of the input
109383
109383
  */
109384
109384
  const onKeyDown = e => {
109385
109385
  if (e.key !== 'Backspace' || !editor) {
@@ -109470,10 +109470,10 @@
109470
109470
 
109471
109471
  const noop$4 = () => {};
109472
109472
 
109473
- /**
109474
- * @param {Object} props
109475
- * @param {Object} props.label
109476
- * @param {String} props.feel
109473
+ /**
109474
+ * @param {Object} props
109475
+ * @param {Object} props.label
109476
+ * @param {String} props.feel
109477
109477
  */
109478
109478
  function FeelIcon(props) {
109479
109479
  const {
@@ -109508,22 +109508,22 @@
109508
109508
  source: null
109509
109509
  });
109510
109510
 
109511
- /**
109512
- * Add a dragger that calls back the passed function with
109513
- * { event, delta } on drag.
109514
- *
109515
- * @example
109516
- *
109517
- * function dragMove(event, delta) {
109518
- * // we are dragging (!!)
109519
- * }
109520
- *
109521
- * domElement.addEventListener('dragstart', dragger(dragMove));
109522
- *
109523
- * @param {Function} fn
109524
- * @param {Element} [dragPreview]
109525
- *
109526
- * @return {Function} drag start callback function
109511
+ /**
109512
+ * Add a dragger that calls back the passed function with
109513
+ * { event, delta } on drag.
109514
+ *
109515
+ * @example
109516
+ *
109517
+ * function dragMove(event, delta) {
109518
+ * // we are dragging (!!)
109519
+ * }
109520
+ *
109521
+ * domElement.addEventListener('dragstart', dragger(dragMove));
109522
+ *
109523
+ * @param {Function} fn
109524
+ * @param {Element} [dragPreview]
109525
+ *
109526
+ * @return {Function} drag start callback function
109527
109527
  */
109528
109528
  function createDragger(fn, dragPreview) {
109529
109529
  let self;
@@ -109578,23 +109578,23 @@
109578
109578
 
109579
109579
  const noop$3 = () => {};
109580
109580
 
109581
- /**
109582
- * A generic popup component.
109583
- *
109584
- * @param {Object} props
109585
- * @param {HTMLElement} [props.container]
109586
- * @param {string} [props.className]
109587
- * @param {boolean} [props.delayInitialFocus]
109588
- * @param {{x: number, y: number}} [props.position]
109589
- * @param {number} [props.width]
109590
- * @param {number} [props.height]
109591
- * @param {Function} props.onClose
109592
- * @param {Function} [props.onPostActivate]
109593
- * @param {Function} [props.onPostDeactivate]
109594
- * @param {boolean} [props.returnFocus]
109595
- * @param {boolean} [props.closeOnEscape]
109596
- * @param {string} props.title
109597
- * @param {Ref} [ref]
109581
+ /**
109582
+ * A generic popup component.
109583
+ *
109584
+ * @param {Object} props
109585
+ * @param {HTMLElement} [props.container]
109586
+ * @param {string} [props.className]
109587
+ * @param {boolean} [props.delayInitialFocus]
109588
+ * @param {{x: number, y: number}} [props.position]
109589
+ * @param {number} [props.width]
109590
+ * @param {number} [props.height]
109591
+ * @param {Function} props.onClose
109592
+ * @param {Function} [props.onPostActivate]
109593
+ * @param {Function} [props.onPostDeactivate]
109594
+ * @param {boolean} [props.returnFocus]
109595
+ * @param {boolean} [props.closeOnEscape]
109596
+ * @param {string} props.title
109597
+ * @param {Ref} [ref]
109598
109598
  */
109599
109599
  function PopupComponent(props, globalRef) {
109600
109600
  const {
@@ -109813,12 +109813,12 @@
109813
109813
  const FEEL_POPUP_WIDTH = 700;
109814
109814
  const FEEL_POPUP_HEIGHT = 250;
109815
109815
 
109816
- /**
109817
- * FEEL popup component, built as a singleton. Emits lifecycle events as follows:
109818
- * - `feelPopup.open` - fired before the popup is mounted
109819
- * - `feelPopup.opened` - fired after the popup is mounted. Event context contains the DOM node of the popup
109820
- * - `feelPopup.close` - fired before the popup is unmounted. Event context contains the DOM node of the popup
109821
- * - `feelPopup.closed` - fired after the popup is unmounted
109816
+ /**
109817
+ * FEEL popup component, built as a singleton. Emits lifecycle events as follows:
109818
+ * - `feelPopup.open` - fired before the popup is mounted
109819
+ * - `feelPopup.opened` - fired after the popup is mounted. Event context contains the DOM node of the popup
109820
+ * - `feelPopup.close` - fired before the popup is unmounted. Event context contains the DOM node of the popup
109821
+ * - `feelPopup.closed` - fired after the popup is unmounted
109822
109822
  */
109823
109823
  function FEELPopupRoot(props) {
109824
109824
  const {
@@ -110044,11 +110044,11 @@
110044
110044
  return element.closest('.cm-editor').querySelector('.cm-tooltip-autocomplete');
110045
110045
  }
110046
110046
 
110047
- /**
110048
- * This hook behaves like useEffect, but does not trigger on the first render.
110049
- *
110050
- * @param {Function} effect
110051
- * @param {Array} deps
110047
+ /**
110048
+ * This hook behaves like useEffect, but does not trigger on the first render.
110049
+ *
110050
+ * @param {Function} effect
110051
+ * @param {Array} deps
110052
110052
  */
110053
110053
  function useUpdateEffect(effect, deps) {
110054
110054
  const isMounted = _$1(false);
@@ -110126,19 +110126,19 @@
110126
110126
  });
110127
110127
  }
110128
110128
 
110129
- /**
110130
- * @param {Object} props
110131
- * @param {Object} props.element
110132
- * @param {String} props.id
110133
- * @param {String} props.description
110134
- * @param {String} props.label
110135
- * @param {String} props.switcherLabel
110136
- * @param {Boolean} props.inline
110137
- * @param {Function} props.getValue
110138
- * @param {Function} props.setValue
110139
- * @param {Function} props.onFocus
110140
- * @param {Function} props.onBlur
110141
- * @param {string|import('preact').Component} props.tooltip
110129
+ /**
110130
+ * @param {Object} props
110131
+ * @param {Object} props.element
110132
+ * @param {String} props.id
110133
+ * @param {String} props.description
110134
+ * @param {String} props.label
110135
+ * @param {String} props.switcherLabel
110136
+ * @param {Boolean} props.inline
110137
+ * @param {Function} props.getValue
110138
+ * @param {Function} props.setValue
110139
+ * @param {Function} props.onFocus
110140
+ * @param {Function} props.onBlur
110141
+ * @param {string|import('preact').Component} props.tooltip
110142
110142
  */
110143
110143
  function ToggleSwitchEntry(props) {
110144
110144
  const {
@@ -110246,22 +110246,22 @@
110246
110246
  });
110247
110247
  }
110248
110248
 
110249
- /**
110250
- * @param {Object} props
110251
- * @param {Boolean} props.debounce
110252
- * @param {String} props.description
110253
- * @param {Boolean} props.disabled
110254
- * @param {Object} props.element
110255
- * @param {Function} props.getValue
110256
- * @param {String} props.id
110257
- * @param {String} props.label
110258
- * @param {String} props.max
110259
- * @param {String} props.min
110260
- * @param {Function} props.setValue
110261
- * @param {Function} props.onFocus
110262
- * @param {Function} props.onBlur
110263
- * @param {String} props.step
110264
- * @param {Function} props.validate
110249
+ /**
110250
+ * @param {Object} props
110251
+ * @param {Boolean} props.debounce
110252
+ * @param {String} props.description
110253
+ * @param {Boolean} props.disabled
110254
+ * @param {Object} props.element
110255
+ * @param {Function} props.getValue
110256
+ * @param {String} props.id
110257
+ * @param {String} props.label
110258
+ * @param {String} props.max
110259
+ * @param {String} props.min
110260
+ * @param {Function} props.setValue
110261
+ * @param {Function} props.onFocus
110262
+ * @param {Function} props.onBlur
110263
+ * @param {String} props.step
110264
+ * @param {Function} props.validate
110265
110265
  */
110266
110266
  function NumberFieldEntry(props) {
110267
110267
  const {
@@ -110747,26 +110747,26 @@
110747
110747
  });
110748
110748
  });
110749
110749
 
110750
- /**
110751
- * @param {Object} props
110752
- * @param {Object} props.element
110753
- * @param {String} props.id
110754
- * @param {String} props.description
110755
- * @param {Boolean} props.debounce
110756
- * @param {Boolean} props.disabled
110757
- * @param {Boolean} props.feel
110758
- * @param {String} props.label
110759
- * @param {Function} props.getValue
110760
- * @param {Function} props.setValue
110761
- * @param {Function} props.tooltipContainer
110762
- * @param {Function} props.validate
110763
- * @param {Function} props.show
110764
- * @param {Function} props.example
110765
- * @param {Function} props.variables
110766
- * @param {Function} props.onFocus
110767
- * @param {Function} props.onBlur
110768
- * @param {string} [props.placeholder]
110769
- * @param {string|import('preact').Component} props.tooltip
110750
+ /**
110751
+ * @param {Object} props
110752
+ * @param {Object} props.element
110753
+ * @param {String} props.id
110754
+ * @param {String} props.description
110755
+ * @param {Boolean} props.debounce
110756
+ * @param {Boolean} props.disabled
110757
+ * @param {Boolean} props.feel
110758
+ * @param {String} props.label
110759
+ * @param {Function} props.getValue
110760
+ * @param {Function} props.setValue
110761
+ * @param {Function} props.tooltipContainer
110762
+ * @param {Function} props.validate
110763
+ * @param {Function} props.show
110764
+ * @param {Function} props.example
110765
+ * @param {Function} props.variables
110766
+ * @param {Function} props.onFocus
110767
+ * @param {Function} props.onBlur
110768
+ * @param {string} [props.placeholder]
110769
+ * @param {string|import('preact').Component} props.tooltip
110770
110770
  */
110771
110771
  function FeelEntry$2(props) {
110772
110772
  const {
@@ -110853,27 +110853,27 @@
110853
110853
  });
110854
110854
  }
110855
110855
 
110856
- /**
110857
- * @param {Object} props
110858
- * @param {Object} props.element
110859
- * @param {String} props.id
110860
- * @param {String} props.description
110861
- * @param {Boolean} props.debounce
110862
- * @param {Boolean} props.disabled
110863
- * @param {String} props.max
110864
- * @param {String} props.min
110865
- * @param {String} props.step
110866
- * @param {Boolean} props.feel
110867
- * @param {String} props.label
110868
- * @param {Function} props.getValue
110869
- * @param {Function} props.setValue
110870
- * @param {Function} props.tooltipContainer
110871
- * @param {Function} props.validate
110872
- * @param {Function} props.show
110873
- * @param {Function} props.example
110874
- * @param {Function} props.variables
110875
- * @param {Function} props.onFocus
110876
- * @param {Function} props.onBlur
110856
+ /**
110857
+ * @param {Object} props
110858
+ * @param {Object} props.element
110859
+ * @param {String} props.id
110860
+ * @param {String} props.description
110861
+ * @param {Boolean} props.debounce
110862
+ * @param {Boolean} props.disabled
110863
+ * @param {String} props.max
110864
+ * @param {String} props.min
110865
+ * @param {String} props.step
110866
+ * @param {Boolean} props.feel
110867
+ * @param {String} props.label
110868
+ * @param {Function} props.getValue
110869
+ * @param {Function} props.setValue
110870
+ * @param {Function} props.tooltipContainer
110871
+ * @param {Function} props.validate
110872
+ * @param {Function} props.show
110873
+ * @param {Function} props.example
110874
+ * @param {Function} props.variables
110875
+ * @param {Function} props.onFocus
110876
+ * @param {Function} props.onBlur
110877
110877
  */
110878
110878
  function FeelNumberEntry(props) {
110879
110879
  return u(FeelEntry$2, {
@@ -110883,25 +110883,25 @@
110883
110883
  });
110884
110884
  }
110885
110885
 
110886
- /**
110887
- * @param {Object} props
110888
- * @param {Object} props.element
110889
- * @param {String} props.id
110890
- * @param {String} props.description
110891
- * @param {Boolean} props.debounce
110892
- * @param {Boolean} props.disabled
110893
- * @param {Boolean} props.feel
110894
- * @param {String} props.label
110895
- * @param {Function} props.getValue
110896
- * @param {Function} props.setValue
110897
- * @param {Function} props.tooltipContainer
110898
- * @param {Function} props.validate
110899
- * @param {Function} props.show
110900
- * @param {Function} props.example
110901
- * @param {Function} props.variables
110902
- * @param {Function} props.onFocus
110903
- * @param {Function} props.onBlur
110904
- * @param {string} [props.placeholder]
110886
+ /**
110887
+ * @param {Object} props
110888
+ * @param {Object} props.element
110889
+ * @param {String} props.id
110890
+ * @param {String} props.description
110891
+ * @param {Boolean} props.debounce
110892
+ * @param {Boolean} props.disabled
110893
+ * @param {Boolean} props.feel
110894
+ * @param {String} props.label
110895
+ * @param {Function} props.getValue
110896
+ * @param {Function} props.setValue
110897
+ * @param {Function} props.tooltipContainer
110898
+ * @param {Function} props.validate
110899
+ * @param {Function} props.show
110900
+ * @param {Function} props.example
110901
+ * @param {Function} props.variables
110902
+ * @param {Function} props.onFocus
110903
+ * @param {Function} props.onBlur
110904
+ * @param {string} [props.placeholder]
110905
110905
  */
110906
110906
  function FeelTextAreaEntry$1(props) {
110907
110907
  return u(FeelEntry$2, {
@@ -110911,24 +110911,24 @@
110911
110911
  });
110912
110912
  }
110913
110913
 
110914
- /**
110915
- * @param {Object} props
110916
- * @param {Object} props.element
110917
- * @param {String} props.id
110918
- * @param {String} props.description
110919
- * @param {Boolean} props.debounce
110920
- * @param {Boolean} props.disabled
110921
- * @param {Boolean} props.feel
110922
- * @param {String} props.label
110923
- * @param {Function} props.getValue
110924
- * @param {Function} props.setValue
110925
- * @param {Function} props.tooltipContainer
110926
- * @param {Function} props.validate
110927
- * @param {Function} props.show
110928
- * @param {Function} props.example
110929
- * @param {Function} props.variables
110930
- * @param {Function} props.onFocus
110931
- * @param {Function} props.onBlur
110914
+ /**
110915
+ * @param {Object} props
110916
+ * @param {Object} props.element
110917
+ * @param {String} props.id
110918
+ * @param {String} props.description
110919
+ * @param {Boolean} props.debounce
110920
+ * @param {Boolean} props.disabled
110921
+ * @param {Boolean} props.feel
110922
+ * @param {String} props.label
110923
+ * @param {Function} props.getValue
110924
+ * @param {Function} props.setValue
110925
+ * @param {Function} props.tooltipContainer
110926
+ * @param {Function} props.validate
110927
+ * @param {Function} props.show
110928
+ * @param {Function} props.example
110929
+ * @param {Function} props.variables
110930
+ * @param {Function} props.onFocus
110931
+ * @param {Function} props.onBlur
110932
110932
  */
110933
110933
  function FeelCheckboxEntry(props) {
110934
110934
  return u(FeelEntry$2, {
@@ -110997,85 +110997,85 @@
110997
110997
  const DEFAULT_DESCRIPTION = {};
110998
110998
  const DEFAULT_TOOLTIP = {};
110999
110999
 
111000
- /**
111001
- * @typedef { {
111002
- * component: import('preact').Component,
111003
- * id: String,
111004
- * isEdited?: Function
111005
- * } } EntryDefinition
111006
- *
111007
- * @typedef { {
111008
- * autoFocusEntry: String,
111009
- * autoOpen?: Boolean,
111010
- * entries: Array<EntryDefinition>,
111011
- * id: String,
111012
- * label: String,
111013
- * remove: (event: MouseEvent) => void
111014
- * } } ListItemDefinition
111015
- *
111016
- * @typedef { {
111017
- * add: (event: MouseEvent) => void,
111018
- * component: import('preact').Component,
111019
- * element: Object,
111020
- * id: String,
111021
- * items: Array<ListItemDefinition>,
111022
- * label: String,
111023
- * shouldOpen?: Boolean
111024
- * } } ListGroupDefinition
111025
- *
111026
- * @typedef { {
111027
- * component?: import('preact').Component,
111028
- * entries: Array<EntryDefinition>,
111029
- * id: String,
111030
- * label: String,
111031
- * shouldOpen?: Boolean
111032
- * } } GroupDefinition
111033
- *
111034
- * @typedef { {
111035
- * [id: String]: GetDescriptionFunction
111036
- * } } DescriptionConfig
111037
- *
111038
- * @typedef { {
111039
- * [id: String]: GetTooltipFunction
111040
- * } } TooltipConfig
111041
- *
111042
- * @callback { {
111043
- * @param {string} id
111044
- * @param {Object} element
111045
- * @returns {string}
111046
- * } } GetDescriptionFunction
111047
- *
111048
- * @callback { {
111049
- * @param {string} id
111050
- * @param {Object} element
111051
- * @returns {string}
111052
- * } } GetTooltipFunction
111053
- *
111054
- * @typedef { {
111055
- * getEmpty: (element: object) => import('./components/Placeholder').PlaceholderDefinition,
111056
- * getMultiple: (element: Object) => import('./components/Placeholder').PlaceholderDefinition
111057
- * } } PlaceholderProvider
111058
- *
111000
+ /**
111001
+ * @typedef { {
111002
+ * component: import('preact').Component,
111003
+ * id: String,
111004
+ * isEdited?: Function
111005
+ * } } EntryDefinition
111006
+ *
111007
+ * @typedef { {
111008
+ * autoFocusEntry: String,
111009
+ * autoOpen?: Boolean,
111010
+ * entries: Array<EntryDefinition>,
111011
+ * id: String,
111012
+ * label: String,
111013
+ * remove: (event: MouseEvent) => void
111014
+ * } } ListItemDefinition
111015
+ *
111016
+ * @typedef { {
111017
+ * add: (event: MouseEvent) => void,
111018
+ * component: import('preact').Component,
111019
+ * element: Object,
111020
+ * id: String,
111021
+ * items: Array<ListItemDefinition>,
111022
+ * label: String,
111023
+ * shouldOpen?: Boolean
111024
+ * } } ListGroupDefinition
111025
+ *
111026
+ * @typedef { {
111027
+ * component?: import('preact').Component,
111028
+ * entries: Array<EntryDefinition>,
111029
+ * id: String,
111030
+ * label: String,
111031
+ * shouldOpen?: Boolean
111032
+ * } } GroupDefinition
111033
+ *
111034
+ * @typedef { {
111035
+ * [id: String]: GetDescriptionFunction
111036
+ * } } DescriptionConfig
111037
+ *
111038
+ * @typedef { {
111039
+ * [id: String]: GetTooltipFunction
111040
+ * } } TooltipConfig
111041
+ *
111042
+ * @callback { {
111043
+ * @param {string} id
111044
+ * @param {Object} element
111045
+ * @returns {string}
111046
+ * } } GetDescriptionFunction
111047
+ *
111048
+ * @callback { {
111049
+ * @param {string} id
111050
+ * @param {Object} element
111051
+ * @returns {string}
111052
+ * } } GetTooltipFunction
111053
+ *
111054
+ * @typedef { {
111055
+ * getEmpty: (element: object) => import('./components/Placeholder').PlaceholderDefinition,
111056
+ * getMultiple: (element: Object) => import('./components/Placeholder').PlaceholderDefinition
111057
+ * } } PlaceholderProvider
111058
+ *
111059
111059
  */
111060
111060
 
111061
- /**
111062
- * A basic properties panel component. Describes *how* content will be rendered, accepts
111063
- * data from implementor to describe *what* will be rendered.
111064
- *
111065
- * @param {Object} props
111066
- * @param {Object|Array} props.element
111067
- * @param {import('./components/Header').HeaderProvider} props.headerProvider
111068
- * @param {PlaceholderProvider} [props.placeholderProvider]
111069
- * @param {Array<GroupDefinition|ListGroupDefinition>} props.groups
111070
- * @param {Object} [props.layoutConfig]
111071
- * @param {Function} [props.layoutChanged]
111072
- * @param {DescriptionConfig} [props.descriptionConfig]
111073
- * @param {Function} [props.descriptionLoaded]
111074
- * @param {TooltipConfig} [props.tooltipConfig]
111075
- * @param {Function} [props.tooltipLoaded]
111076
- * @param {HTMLElement} [props.feelPopupContainer]
111077
- * @param {Function} [props.getFeelPopupLinks]
111078
- * @param {Object} [props.eventBus]
111061
+ /**
111062
+ * A basic properties panel component. Describes *how* content will be rendered, accepts
111063
+ * data from implementor to describe *what* will be rendered.
111064
+ *
111065
+ * @param {Object} props
111066
+ * @param {Object|Array} props.element
111067
+ * @param {import('./components/Header').HeaderProvider} props.headerProvider
111068
+ * @param {PlaceholderProvider} [props.placeholderProvider]
111069
+ * @param {Array<GroupDefinition|ListGroupDefinition>} props.groups
111070
+ * @param {Object} [props.layoutConfig]
111071
+ * @param {Function} [props.layoutChanged]
111072
+ * @param {DescriptionConfig} [props.descriptionConfig]
111073
+ * @param {Function} [props.descriptionLoaded]
111074
+ * @param {TooltipConfig} [props.tooltipConfig]
111075
+ * @param {Function} [props.tooltipLoaded]
111076
+ * @param {HTMLElement} [props.feelPopupContainer]
111077
+ * @param {Function} [props.getFeelPopupLinks]
111078
+ * @param {Object} [props.eventBus]
111079
111079
  */
111080
111080
  function PropertiesPanel(props) {
111081
111081
  const {
@@ -111248,11 +111248,11 @@
111248
111248
 
111249
111249
  // hooks //////////////////
111250
111250
 
111251
- /**
111252
- * This hook behaves like useLayoutEffect, but does not trigger on the first render.
111253
- *
111254
- * @param {Function} effect
111255
- * @param {Array} deps
111251
+ /**
111252
+ * This hook behaves like useLayoutEffect, but does not trigger on the first render.
111253
+ *
111254
+ * @param {Function} effect
111255
+ * @param {Array} deps
111256
111256
  */
111257
111257
  function useUpdateLayoutEffect(effect, deps) {
111258
111258
  const isMounted = _$1(false);
@@ -111327,15 +111327,15 @@
111327
111327
  });
111328
111328
  }
111329
111329
 
111330
- /**
111331
- *
111332
- * @param {Array<null | Element>} ignoredElements
111333
- * @param {Function} callback
111330
+ /**
111331
+ *
111332
+ * @param {Array<null | Element>} ignoredElements
111333
+ * @param {Function} callback
111334
111334
  */
111335
111335
  function useGlobalClick(ignoredElements, callback) {
111336
111336
  p$1(() => {
111337
- /**
111338
- * @param {MouseEvent} event
111337
+ /**
111338
+ * @param {MouseEvent} event
111339
111339
  */
111340
111340
  function listener(event) {
111341
111341
  if (ignoredElements.some(element => element && element.contains(event.target))) {
@@ -111368,20 +111368,20 @@
111368
111368
  });
111369
111369
  }
111370
111370
 
111371
- /**
111372
- * @typedef { {
111373
- * [key: string]: string;
111374
- * } } TranslateReplacements
111371
+ /**
111372
+ * @typedef { {
111373
+ * [key: string]: string;
111374
+ * } } TranslateReplacements
111375
111375
  */
111376
111376
 
111377
- /**
111378
- * A simple translation stub to be used for multi-language support.
111379
- * Can be easily replaced with a more sophisticated solution.
111380
- *
111381
- * @param {string} template to interpolate
111382
- * @param {TranslateReplacements} [replacements] a map with substitutes
111383
- *
111384
- * @return {string} the translated string
111377
+ /**
111378
+ * A simple translation stub to be used for multi-language support.
111379
+ * Can be easily replaced with a more sophisticated solution.
111380
+ *
111381
+ * @param {string} template to interpolate
111382
+ * @param {TranslateReplacements} [replacements] a map with substitutes
111383
+ *
111384
+ * @return {string} the translated string
111385
111385
  */
111386
111386
  function translateFallback(template, replacements) {
111387
111387
  replacements = replacements || {};
@@ -111493,8 +111493,8 @@
111493
111493
 
111494
111494
  const noop$1$1 = () => {};
111495
111495
 
111496
- /**
111497
- * @param {import('../PropertiesPanel').ListGroupDefinition} props
111496
+ /**
111497
+ * @param {import('../PropertiesPanel').ListGroupDefinition} props
111498
111498
  */
111499
111499
  function ListGroup(props) {
111500
111500
  const {
@@ -111686,18 +111686,18 @@
111686
111686
  });
111687
111687
  }
111688
111688
 
111689
- /**
111690
- * @param {Object} props
111691
- * @param {Object} props.element
111692
- * @param {String} props.id
111693
- * @param {String} props.description
111694
- * @param {String} props.label
111695
- * @param {Function} props.getValue
111696
- * @param {Function} props.setValue
111697
- * @param {Function} props.onFocus
111698
- * @param {Function} props.onBlur
111699
- * @param {string|import('preact').Component} props.tooltip
111700
- * @param {boolean} [props.disabled]
111689
+ /**
111690
+ * @param {Object} props
111691
+ * @param {Object} props.element
111692
+ * @param {String} props.id
111693
+ * @param {String} props.description
111694
+ * @param {String} props.label
111695
+ * @param {Function} props.getValue
111696
+ * @param {Function} props.setValue
111697
+ * @param {Function} props.onFocus
111698
+ * @param {Function} props.onBlur
111699
+ * @param {string|import('preact').Component} props.tooltip
111700
+ * @param {boolean} [props.disabled]
111701
111701
  */
111702
111702
  function CheckboxEntry(props) {
111703
111703
  const {
@@ -111818,20 +111818,20 @@
111818
111818
  });
111819
111819
  }
111820
111820
 
111821
- /**
111822
- * @param {object} props
111823
- * @param {object} props.element
111824
- * @param {string} props.id
111825
- * @param {string} [props.description]
111826
- * @param {string} props.label
111827
- * @param {Function} props.getValue
111828
- * @param {Function} props.setValue
111829
- * @param {Function} props.onFocus
111830
- * @param {Function} props.onBlur
111831
- * @param {Function} props.getOptions
111832
- * @param {boolean} [props.disabled]
111833
- * @param {Function} [props.validate]
111834
- * @param {string|import('preact').Component} props.tooltip
111821
+ /**
111822
+ * @param {object} props
111823
+ * @param {object} props.element
111824
+ * @param {string} props.id
111825
+ * @param {string} [props.description]
111826
+ * @param {string} props.label
111827
+ * @param {Function} props.getValue
111828
+ * @param {Function} props.setValue
111829
+ * @param {Function} props.onFocus
111830
+ * @param {Function} props.onBlur
111831
+ * @param {Function} props.getOptions
111832
+ * @param {boolean} [props.disabled]
111833
+ * @param {Function} [props.validate]
111834
+ * @param {string|import('preact').Component} props.tooltip
111835
111835
  */
111836
111836
  function SelectEntry(props) {
111837
111837
  const {
@@ -112124,20 +112124,20 @@
112124
112124
  });
112125
112125
  }
112126
112126
 
112127
- /**
112128
- * @param {Object} props
112129
- * @param {Object} props.element
112130
- * @param {String} props.id
112131
- * @param {String} props.description
112132
- * @param {Boolean} props.debounce
112133
- * @param {Boolean} props.disabled
112134
- * @param {String} props.label
112135
- * @param {Function} props.getValue
112136
- * @param {Function} props.setValue
112137
- * @param {Function} props.onFocus
112138
- * @param {Function} props.onBlur
112139
- * @param {string|import('preact').Component} props.tooltip
112140
- * @param {Function} props.validate
112127
+ /**
112128
+ * @param {Object} props
112129
+ * @param {Object} props.element
112130
+ * @param {String} props.id
112131
+ * @param {String} props.description
112132
+ * @param {Boolean} props.debounce
112133
+ * @param {Boolean} props.disabled
112134
+ * @param {String} props.label
112135
+ * @param {Function} props.getValue
112136
+ * @param {Function} props.setValue
112137
+ * @param {Function} props.onFocus
112138
+ * @param {Function} props.onBlur
112139
+ * @param {string|import('preact').Component} props.tooltip
112140
+ * @param {Function} props.validate
112141
112141
  */
112142
112142
  function TextfieldEntry(props) {
112143
112143
  const {
@@ -112230,20 +112230,20 @@
112230
112230
  this._eventBus = eventBus;
112231
112231
  }
112232
112232
 
112233
- /**
112234
- * Check if the FEEL popup is open.
112235
- * @return {Boolean}
112233
+ /**
112234
+ * Check if the FEEL popup is open.
112235
+ * @return {Boolean}
112236
112236
  */
112237
112237
  isOpen() {
112238
112238
  return this._eventBus.fire('feelPopup._isOpen');
112239
112239
  }
112240
112240
 
112241
- /**
112242
- * Open the FEEL popup.
112243
- *
112244
- * @param {String} entryId
112245
- * @param {Object} popupConfig
112246
- * @param {HTMLElement} sourceElement
112241
+ /**
112242
+ * Open the FEEL popup.
112243
+ *
112244
+ * @param {String} entryId
112245
+ * @param {Object} popupConfig
112246
+ * @param {HTMLElement} sourceElement
112247
112247
  */
112248
112248
  open(entryId, popupConfig, sourceElement) {
112249
112249
  return this._eventBus.fire('feelPopup._open', {
@@ -112253,8 +112253,8 @@
112253
112253
  });
112254
112254
  }
112255
112255
 
112256
- /**
112257
- * Close the FEEL popup.
112256
+ /**
112257
+ * Close the FEEL popup.
112258
112258
  */
112259
112259
  close() {
112260
112260
  return this._eventBus.fire('feelPopup._close');