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.
- package/dist/base-modeler.development.js +57 -17
- package/dist/base-modeler.production.min.js +4 -4
- package/dist/camunda-cloud-modeler.development.js +172 -27
- package/dist/camunda-cloud-modeler.production.min.js +4 -4
- package/dist/camunda-cloud-navigated-viewer.development.js +5 -0
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +5 -0
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +70 -20
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +7 -7
|
@@ -86986,7 +86986,9 @@
|
|
|
86986
86986
|
label,
|
|
86987
86987
|
onChange,
|
|
86988
86988
|
disabled,
|
|
86989
|
-
value = false
|
|
86989
|
+
value = false,
|
|
86990
|
+
onFocus,
|
|
86991
|
+
onBlur
|
|
86990
86992
|
} = props;
|
|
86991
86993
|
const [localValue, setLocalValue] = l$1(value);
|
|
86992
86994
|
|
|
@@ -87015,6 +87017,8 @@
|
|
|
87015
87017
|
ref: ref,
|
|
87016
87018
|
id: prefixId$7(id),
|
|
87017
87019
|
name: id,
|
|
87020
|
+
onFocus: onFocus,
|
|
87021
|
+
onBlur: onBlur,
|
|
87018
87022
|
type: "checkbox",
|
|
87019
87023
|
class: "bio-properties-panel-input",
|
|
87020
87024
|
onChange: handleChange,
|
|
@@ -87035,6 +87039,8 @@
|
|
|
87035
87039
|
* @param {String} props.label
|
|
87036
87040
|
* @param {Function} props.getValue
|
|
87037
87041
|
* @param {Function} props.setValue
|
|
87042
|
+
* @param {Function} props.onFocus
|
|
87043
|
+
* @param {Function} props.onBlur
|
|
87038
87044
|
* @param {boolean} [props.disabled]
|
|
87039
87045
|
*/
|
|
87040
87046
|
|
|
@@ -87047,7 +87053,9 @@
|
|
|
87047
87053
|
label,
|
|
87048
87054
|
getValue,
|
|
87049
87055
|
setValue,
|
|
87050
|
-
disabled
|
|
87056
|
+
disabled,
|
|
87057
|
+
onFocus,
|
|
87058
|
+
onBlur
|
|
87051
87059
|
} = props;
|
|
87052
87060
|
const value = getValue(element);
|
|
87053
87061
|
const error = useError(id);
|
|
@@ -87059,6 +87067,8 @@
|
|
|
87059
87067
|
id: id,
|
|
87060
87068
|
label: label,
|
|
87061
87069
|
onChange: setValue,
|
|
87070
|
+
onFocus: onFocus,
|
|
87071
|
+
onBlur: onBlur,
|
|
87062
87072
|
value: value
|
|
87063
87073
|
}, element), error && o$1("div", {
|
|
87064
87074
|
class: "bio-properties-panel-error",
|
|
@@ -87183,7 +87193,9 @@
|
|
|
87183
87193
|
id,
|
|
87184
87194
|
disabled,
|
|
87185
87195
|
onInput,
|
|
87186
|
-
value
|
|
87196
|
+
value,
|
|
87197
|
+
onFocus,
|
|
87198
|
+
onBlur
|
|
87187
87199
|
} = props;
|
|
87188
87200
|
const inputRef = s(); // To be consistent with the FEEL editor, set focus at start of input
|
|
87189
87201
|
// this ensures clean editing experience when switching with the keyboard
|
|
@@ -87217,8 +87229,8 @@
|
|
|
87217
87229
|
disabled: disabled,
|
|
87218
87230
|
class: "bio-properties-panel-input",
|
|
87219
87231
|
onInput: e => onInput(e.target.value),
|
|
87220
|
-
onFocus:
|
|
87221
|
-
onBlur:
|
|
87232
|
+
onFocus: onFocus,
|
|
87233
|
+
onBlur: onBlur,
|
|
87222
87234
|
value: value || ''
|
|
87223
87235
|
});
|
|
87224
87236
|
});
|
|
@@ -87227,7 +87239,9 @@
|
|
|
87227
87239
|
id,
|
|
87228
87240
|
disabled,
|
|
87229
87241
|
onInput,
|
|
87230
|
-
value
|
|
87242
|
+
value,
|
|
87243
|
+
onFocus,
|
|
87244
|
+
onBlur
|
|
87231
87245
|
} = props;
|
|
87232
87246
|
const inputRef = s(); // To be consistent with the FEEL editor, set focus at start of input
|
|
87233
87247
|
// this ensures clean editing experience when switching with the keyboard
|
|
@@ -87254,8 +87268,8 @@
|
|
|
87254
87268
|
disabled: disabled,
|
|
87255
87269
|
class: "bio-properties-panel-input",
|
|
87256
87270
|
onInput: e => onInput(e.target.value),
|
|
87257
|
-
onFocus:
|
|
87258
|
-
onBlur:
|
|
87271
|
+
onFocus: onFocus,
|
|
87272
|
+
onBlur: onBlur,
|
|
87259
87273
|
value: value || ''
|
|
87260
87274
|
});
|
|
87261
87275
|
});
|
|
@@ -87459,7 +87473,9 @@
|
|
|
87459
87473
|
onChange,
|
|
87460
87474
|
options = [],
|
|
87461
87475
|
value,
|
|
87462
|
-
disabled
|
|
87476
|
+
disabled,
|
|
87477
|
+
onFocus,
|
|
87478
|
+
onBlur
|
|
87463
87479
|
} = props;
|
|
87464
87480
|
const ref = useShowEntryEvent(id);
|
|
87465
87481
|
const [localValue, setLocalValue] = l$1(value);
|
|
@@ -87494,6 +87510,8 @@
|
|
|
87494
87510
|
name: id,
|
|
87495
87511
|
class: "bio-properties-panel-input",
|
|
87496
87512
|
onInput: handleChange,
|
|
87513
|
+
onFocus: onFocus,
|
|
87514
|
+
onBlur: onBlur,
|
|
87497
87515
|
value: localValue,
|
|
87498
87516
|
disabled: disabled,
|
|
87499
87517
|
children: options.map((option, idx) => {
|
|
@@ -87514,6 +87532,8 @@
|
|
|
87514
87532
|
* @param {string} props.label
|
|
87515
87533
|
* @param {Function} props.getValue
|
|
87516
87534
|
* @param {Function} props.setValue
|
|
87535
|
+
* @param {Function} props.onFocus
|
|
87536
|
+
* @param {Function} props.onBlur
|
|
87517
87537
|
* @param {Function} props.getOptions
|
|
87518
87538
|
* @param {boolean} [props.disabled]
|
|
87519
87539
|
*/
|
|
@@ -87528,7 +87548,9 @@
|
|
|
87528
87548
|
getValue,
|
|
87529
87549
|
setValue,
|
|
87530
87550
|
getOptions,
|
|
87531
|
-
disabled
|
|
87551
|
+
disabled,
|
|
87552
|
+
onFocus,
|
|
87553
|
+
onBlur
|
|
87532
87554
|
} = props;
|
|
87533
87555
|
const value = getValue(element);
|
|
87534
87556
|
const options = getOptions(element);
|
|
@@ -87541,6 +87563,8 @@
|
|
|
87541
87563
|
label: label,
|
|
87542
87564
|
value: value,
|
|
87543
87565
|
onChange: setValue,
|
|
87566
|
+
onFocus: onFocus,
|
|
87567
|
+
onBlur: onBlur,
|
|
87544
87568
|
options: options,
|
|
87545
87569
|
disabled: disabled
|
|
87546
87570
|
}, element), error && o$1("div", {
|
|
@@ -87624,7 +87648,9 @@
|
|
|
87624
87648
|
onInput,
|
|
87625
87649
|
value = '',
|
|
87626
87650
|
disabled,
|
|
87627
|
-
monospace
|
|
87651
|
+
monospace,
|
|
87652
|
+
onFocus,
|
|
87653
|
+
onBlur
|
|
87628
87654
|
} = props;
|
|
87629
87655
|
const [localValue, setLocalValue] = l$1(value);
|
|
87630
87656
|
const ref = useShowEntryEvent(id);
|
|
@@ -87659,8 +87685,8 @@
|
|
|
87659
87685
|
spellCheck: "false",
|
|
87660
87686
|
class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : ''),
|
|
87661
87687
|
onInput: handleInput,
|
|
87662
|
-
onFocus:
|
|
87663
|
-
onBlur:
|
|
87688
|
+
onFocus: onFocus,
|
|
87689
|
+
onBlur: onBlur,
|
|
87664
87690
|
rows: rows,
|
|
87665
87691
|
value: localValue,
|
|
87666
87692
|
disabled: disabled
|
|
@@ -87676,6 +87702,8 @@
|
|
|
87676
87702
|
* @param {string} props.label
|
|
87677
87703
|
* @param {Function} props.getValue
|
|
87678
87704
|
* @param {Function} props.setValue
|
|
87705
|
+
* @param {Function} props.onFocus
|
|
87706
|
+
* @param {Function} props.onBlur
|
|
87679
87707
|
* @param {number} props.rows
|
|
87680
87708
|
* @param {boolean} props.monospace
|
|
87681
87709
|
* @param {boolean} [props.disabled]
|
|
@@ -87693,7 +87721,9 @@
|
|
|
87693
87721
|
setValue,
|
|
87694
87722
|
rows,
|
|
87695
87723
|
monospace,
|
|
87696
|
-
disabled
|
|
87724
|
+
disabled,
|
|
87725
|
+
onFocus,
|
|
87726
|
+
onBlur
|
|
87697
87727
|
} = props;
|
|
87698
87728
|
const value = getValue(element);
|
|
87699
87729
|
const error = useError(id);
|
|
@@ -87705,6 +87735,8 @@
|
|
|
87705
87735
|
label: label,
|
|
87706
87736
|
value: value,
|
|
87707
87737
|
onInput: setValue,
|
|
87738
|
+
onFocus: onFocus,
|
|
87739
|
+
onBlur: onBlur,
|
|
87708
87740
|
rows: rows,
|
|
87709
87741
|
debounce: debounce,
|
|
87710
87742
|
monospace: monospace,
|
|
@@ -87734,6 +87766,8 @@
|
|
|
87734
87766
|
id,
|
|
87735
87767
|
label,
|
|
87736
87768
|
onInput,
|
|
87769
|
+
onFocus,
|
|
87770
|
+
onBlur,
|
|
87737
87771
|
value = ''
|
|
87738
87772
|
} = props;
|
|
87739
87773
|
const [localValue, setLocalValue] = l$1(value || '');
|
|
@@ -87772,8 +87806,8 @@
|
|
|
87772
87806
|
disabled: disabled,
|
|
87773
87807
|
class: "bio-properties-panel-input",
|
|
87774
87808
|
onInput: handleInput,
|
|
87775
|
-
onFocus:
|
|
87776
|
-
onBlur:
|
|
87809
|
+
onFocus: onFocus,
|
|
87810
|
+
onBlur: onBlur,
|
|
87777
87811
|
value: localValue
|
|
87778
87812
|
})]
|
|
87779
87813
|
});
|
|
@@ -87788,6 +87822,8 @@
|
|
|
87788
87822
|
* @param {String} props.label
|
|
87789
87823
|
* @param {Function} props.getValue
|
|
87790
87824
|
* @param {Function} props.setValue
|
|
87825
|
+
* @param {Function} props.onFocus
|
|
87826
|
+
* @param {Function} props.onBlur
|
|
87791
87827
|
* @param {Function} props.validate
|
|
87792
87828
|
*/
|
|
87793
87829
|
|
|
@@ -87802,7 +87838,9 @@
|
|
|
87802
87838
|
label,
|
|
87803
87839
|
getValue,
|
|
87804
87840
|
setValue,
|
|
87805
|
-
validate
|
|
87841
|
+
validate,
|
|
87842
|
+
onFocus,
|
|
87843
|
+
onBlur
|
|
87806
87844
|
} = props;
|
|
87807
87845
|
const [cachedInvalidValue, setCachedInvalidValue] = l$1(null);
|
|
87808
87846
|
const globalError = useError(id);
|
|
@@ -87846,6 +87884,8 @@
|
|
|
87846
87884
|
id: id,
|
|
87847
87885
|
label: label,
|
|
87848
87886
|
onInput: onInput,
|
|
87887
|
+
onFocus: onFocus,
|
|
87888
|
+
onBlur: onBlur,
|
|
87849
87889
|
value: value
|
|
87850
87890
|
}, element), error && o$1("div", {
|
|
87851
87891
|
class: "bio-properties-panel-error",
|
|
@@ -87871,7 +87911,9 @@
|
|
|
87871
87911
|
label,
|
|
87872
87912
|
onInput,
|
|
87873
87913
|
value,
|
|
87874
|
-
switcherLabel
|
|
87914
|
+
switcherLabel,
|
|
87915
|
+
onFocus,
|
|
87916
|
+
onBlur
|
|
87875
87917
|
} = props;
|
|
87876
87918
|
const [localValue, setLocalValue] = l$1(value);
|
|
87877
87919
|
|
|
@@ -87905,9 +87947,11 @@
|
|
|
87905
87947
|
id: prefixId$5(id),
|
|
87906
87948
|
class: "bio-properties-panel-input",
|
|
87907
87949
|
type: "checkbox",
|
|
87950
|
+
onFocus: onFocus,
|
|
87951
|
+
onBlur: onBlur,
|
|
87908
87952
|
name: id,
|
|
87909
87953
|
onInput: handleInput,
|
|
87910
|
-
checked: localValue
|
|
87954
|
+
checked: !!localValue
|
|
87911
87955
|
}), o$1("span", {
|
|
87912
87956
|
class: "bio-properties-panel-toggle-switch__slider"
|
|
87913
87957
|
})]
|
|
@@ -87927,6 +87971,8 @@
|
|
|
87927
87971
|
* @param {String} props.switcherLabel
|
|
87928
87972
|
* @param {Function} props.getValue
|
|
87929
87973
|
* @param {Function} props.setValue
|
|
87974
|
+
* @param {Function} props.onFocus
|
|
87975
|
+
* @param {Function} props.onBlur
|
|
87930
87976
|
*/
|
|
87931
87977
|
|
|
87932
87978
|
|
|
@@ -87938,7 +87984,9 @@
|
|
|
87938
87984
|
label,
|
|
87939
87985
|
switcherLabel,
|
|
87940
87986
|
getValue,
|
|
87941
|
-
setValue
|
|
87987
|
+
setValue,
|
|
87988
|
+
onFocus,
|
|
87989
|
+
onBlur
|
|
87942
87990
|
} = props;
|
|
87943
87991
|
const value = getValue(element);
|
|
87944
87992
|
return o$1("div", {
|
|
@@ -87949,6 +87997,8 @@
|
|
|
87949
87997
|
label: label,
|
|
87950
87998
|
value: value,
|
|
87951
87999
|
onInput: setValue,
|
|
88000
|
+
onFocus: onFocus,
|
|
88001
|
+
onBlur: onBlur,
|
|
87952
88002
|
switcherLabel: switcherLabel
|
|
87953
88003
|
}), o$1(Description$2, {
|
|
87954
88004
|
forId: id,
|