camunda-bpmn-js 0.22.0 → 0.23.0

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.
@@ -86535,7 +86535,9 @@
86535
86535
  label,
86536
86536
  onChange,
86537
86537
  disabled,
86538
- value = false
86538
+ value = false,
86539
+ onFocus,
86540
+ onBlur
86539
86541
  } = props;
86540
86542
  const [localValue, setLocalValue] = l$1(value);
86541
86543
 
@@ -86564,6 +86566,8 @@
86564
86566
  ref: ref,
86565
86567
  id: prefixId$7(id),
86566
86568
  name: id,
86569
+ onFocus: onFocus,
86570
+ onBlur: onBlur,
86567
86571
  type: "checkbox",
86568
86572
  class: "bio-properties-panel-input",
86569
86573
  onChange: handleChange,
@@ -86584,6 +86588,8 @@
86584
86588
  * @param {String} props.label
86585
86589
  * @param {Function} props.getValue
86586
86590
  * @param {Function} props.setValue
86591
+ * @param {Function} props.onFocus
86592
+ * @param {Function} props.onBlur
86587
86593
  * @param {boolean} [props.disabled]
86588
86594
  */
86589
86595
 
@@ -86596,7 +86602,9 @@
86596
86602
  label,
86597
86603
  getValue,
86598
86604
  setValue,
86599
- disabled
86605
+ disabled,
86606
+ onFocus,
86607
+ onBlur
86600
86608
  } = props;
86601
86609
  const value = getValue(element);
86602
86610
  const error = useError(id);
@@ -86608,6 +86616,8 @@
86608
86616
  id: id,
86609
86617
  label: label,
86610
86618
  onChange: setValue,
86619
+ onFocus: onFocus,
86620
+ onBlur: onBlur,
86611
86621
  value: value
86612
86622
  }, element), error && o$1("div", {
86613
86623
  class: "bio-properties-panel-error",
@@ -86732,7 +86742,9 @@
86732
86742
  id,
86733
86743
  disabled,
86734
86744
  onInput,
86735
- value
86745
+ value,
86746
+ onFocus,
86747
+ onBlur
86736
86748
  } = props;
86737
86749
  const inputRef = s(); // To be consistent with the FEEL editor, set focus at start of input
86738
86750
  // this ensures clean editing experience when switching with the keyboard
@@ -86766,8 +86778,8 @@
86766
86778
  disabled: disabled,
86767
86779
  class: "bio-properties-panel-input",
86768
86780
  onInput: e => onInput(e.target.value),
86769
- onFocus: props.onFocus,
86770
- onBlur: props.onBlur,
86781
+ onFocus: onFocus,
86782
+ onBlur: onBlur,
86771
86783
  value: value || ''
86772
86784
  });
86773
86785
  });
@@ -86776,7 +86788,9 @@
86776
86788
  id,
86777
86789
  disabled,
86778
86790
  onInput,
86779
- value
86791
+ value,
86792
+ onFocus,
86793
+ onBlur
86780
86794
  } = props;
86781
86795
  const inputRef = s(); // To be consistent with the FEEL editor, set focus at start of input
86782
86796
  // this ensures clean editing experience when switching with the keyboard
@@ -86803,8 +86817,8 @@
86803
86817
  disabled: disabled,
86804
86818
  class: "bio-properties-panel-input",
86805
86819
  onInput: e => onInput(e.target.value),
86806
- onFocus: props.onFocus,
86807
- onBlur: props.onBlur,
86820
+ onFocus: onFocus,
86821
+ onBlur: onBlur,
86808
86822
  value: value || ''
86809
86823
  });
86810
86824
  });
@@ -86820,7 +86834,9 @@
86820
86834
  onChange,
86821
86835
  options = [],
86822
86836
  value,
86823
- disabled
86837
+ disabled,
86838
+ onFocus,
86839
+ onBlur
86824
86840
  } = props;
86825
86841
  const ref = useShowEntryEvent(id);
86826
86842
  const [localValue, setLocalValue] = l$1(value);
@@ -86855,6 +86871,8 @@
86855
86871
  name: id,
86856
86872
  class: "bio-properties-panel-input",
86857
86873
  onInput: handleChange,
86874
+ onFocus: onFocus,
86875
+ onBlur: onBlur,
86858
86876
  value: localValue,
86859
86877
  disabled: disabled,
86860
86878
  children: options.map((option, idx) => {
@@ -86875,6 +86893,8 @@
86875
86893
  * @param {string} props.label
86876
86894
  * @param {Function} props.getValue
86877
86895
  * @param {Function} props.setValue
86896
+ * @param {Function} props.onFocus
86897
+ * @param {Function} props.onBlur
86878
86898
  * @param {Function} props.getOptions
86879
86899
  * @param {boolean} [props.disabled]
86880
86900
  */
@@ -86889,7 +86909,9 @@
86889
86909
  getValue,
86890
86910
  setValue,
86891
86911
  getOptions,
86892
- disabled
86912
+ disabled,
86913
+ onFocus,
86914
+ onBlur
86893
86915
  } = props;
86894
86916
  const value = getValue(element);
86895
86917
  const options = getOptions(element);
@@ -86902,6 +86924,8 @@
86902
86924
  label: label,
86903
86925
  value: value,
86904
86926
  onChange: setValue,
86927
+ onFocus: onFocus,
86928
+ onBlur: onBlur,
86905
86929
  options: options,
86906
86930
  disabled: disabled
86907
86931
  }, element), error && o$1("div", {
@@ -86931,7 +86955,9 @@
86931
86955
  onInput,
86932
86956
  value = '',
86933
86957
  disabled,
86934
- monospace
86958
+ monospace,
86959
+ onFocus,
86960
+ onBlur
86935
86961
  } = props;
86936
86962
  const [localValue, setLocalValue] = l$1(value);
86937
86963
  const ref = useShowEntryEvent(id);
@@ -86966,8 +86992,8 @@
86966
86992
  spellCheck: "false",
86967
86993
  class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : ''),
86968
86994
  onInput: handleInput,
86969
- onFocus: props.onFocus,
86970
- onBlur: props.onBlur,
86995
+ onFocus: onFocus,
86996
+ onBlur: onBlur,
86971
86997
  rows: rows,
86972
86998
  value: localValue,
86973
86999
  disabled: disabled
@@ -86983,6 +87009,8 @@
86983
87009
  * @param {string} props.label
86984
87010
  * @param {Function} props.getValue
86985
87011
  * @param {Function} props.setValue
87012
+ * @param {Function} props.onFocus
87013
+ * @param {Function} props.onBlur
86986
87014
  * @param {number} props.rows
86987
87015
  * @param {boolean} props.monospace
86988
87016
  * @param {boolean} [props.disabled]
@@ -87000,7 +87028,9 @@
87000
87028
  setValue,
87001
87029
  rows,
87002
87030
  monospace,
87003
- disabled
87031
+ disabled,
87032
+ onFocus,
87033
+ onBlur
87004
87034
  } = props;
87005
87035
  const value = getValue(element);
87006
87036
  const error = useError(id);
@@ -87012,6 +87042,8 @@
87012
87042
  label: label,
87013
87043
  value: value,
87014
87044
  onInput: setValue,
87045
+ onFocus: onFocus,
87046
+ onBlur: onBlur,
87015
87047
  rows: rows,
87016
87048
  debounce: debounce,
87017
87049
  monospace: monospace,
@@ -87041,6 +87073,8 @@
87041
87073
  id,
87042
87074
  label,
87043
87075
  onInput,
87076
+ onFocus,
87077
+ onBlur,
87044
87078
  value = ''
87045
87079
  } = props;
87046
87080
  const [localValue, setLocalValue] = l$1(value || '');
@@ -87079,8 +87113,8 @@
87079
87113
  disabled: disabled,
87080
87114
  class: "bio-properties-panel-input",
87081
87115
  onInput: handleInput,
87082
- onFocus: props.onFocus,
87083
- onBlur: props.onBlur,
87116
+ onFocus: onFocus,
87117
+ onBlur: onBlur,
87084
87118
  value: localValue
87085
87119
  })]
87086
87120
  });
@@ -87095,6 +87129,8 @@
87095
87129
  * @param {String} props.label
87096
87130
  * @param {Function} props.getValue
87097
87131
  * @param {Function} props.setValue
87132
+ * @param {Function} props.onFocus
87133
+ * @param {Function} props.onBlur
87098
87134
  * @param {Function} props.validate
87099
87135
  */
87100
87136
 
@@ -87109,7 +87145,9 @@
87109
87145
  label,
87110
87146
  getValue,
87111
87147
  setValue,
87112
- validate
87148
+ validate,
87149
+ onFocus,
87150
+ onBlur
87113
87151
  } = props;
87114
87152
  const [cachedInvalidValue, setCachedInvalidValue] = l$1(null);
87115
87153
  const globalError = useError(id);
@@ -87153,6 +87191,8 @@
87153
87191
  id: id,
87154
87192
  label: label,
87155
87193
  onInput: onInput,
87194
+ onFocus: onFocus,
87195
+ onBlur: onBlur,
87156
87196
  value: value
87157
87197
  }, element), error && o$1("div", {
87158
87198
  class: "bio-properties-panel-error",