@bpmn-io/form-js-editor 1.23.1 → 1.24.1
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/index.cjs +118 -115
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +118 -115
- package/dist/index.es.js.map +1 -1
- package/dist/types/features/dragging/Dragging.d.ts +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -181,11 +181,11 @@ function EventBus() {
|
|
|
181
181
|
*
|
|
182
182
|
* Returning anything but `undefined` from a listener will stop the listener propagation.
|
|
183
183
|
*
|
|
184
|
-
* @template
|
|
184
|
+
* @template {keyof EventMap} EventName
|
|
185
185
|
*
|
|
186
|
-
* @param {
|
|
186
|
+
* @param {EventName} events to subscribe to
|
|
187
187
|
* @param {number} [priority=1000] listen priority
|
|
188
|
-
* @param {EventBusEventCallback<
|
|
188
|
+
* @param {EventBusEventCallback<EventMap[EventName]>} callback
|
|
189
189
|
* @param {any} [that] callback context
|
|
190
190
|
*/
|
|
191
191
|
/**
|
|
@@ -200,11 +200,11 @@ function EventBus() {
|
|
|
200
200
|
*
|
|
201
201
|
* Returning anything but `undefined` from a listener will stop the listener propagation.
|
|
202
202
|
*
|
|
203
|
-
* @template
|
|
203
|
+
* @template T
|
|
204
204
|
*
|
|
205
|
-
* @param {
|
|
205
|
+
* @param {string|string[]} events to subscribe to
|
|
206
206
|
* @param {number} [priority=1000] listen priority
|
|
207
|
-
* @param {EventBusEventCallback<
|
|
207
|
+
* @param {EventBusEventCallback<T>} callback
|
|
208
208
|
* @param {any} [that] callback context
|
|
209
209
|
*/
|
|
210
210
|
EventBus.prototype.on = function (events, priority, callback, that) {
|
|
@@ -241,21 +241,21 @@ EventBus.prototype.on = function (events, priority, callback, that) {
|
|
|
241
241
|
*
|
|
242
242
|
* Register an event listener that is called only once.
|
|
243
243
|
*
|
|
244
|
-
* @template
|
|
244
|
+
* @template {keyof EventMap} EventName
|
|
245
245
|
*
|
|
246
|
-
* @param {
|
|
247
|
-
* @param {number} [priority=1000]
|
|
248
|
-
* @param {EventBusEventCallback<
|
|
246
|
+
* @param {EventName} events to subscribe to
|
|
247
|
+
* @param {number} [priority=1000] listen priority
|
|
248
|
+
* @param {EventBusEventCallback<EventMap[EventName]>} callback
|
|
249
249
|
* @param {any} [that] callback context
|
|
250
250
|
*/
|
|
251
251
|
/**
|
|
252
252
|
* Register an event listener that is called only once.
|
|
253
253
|
*
|
|
254
|
-
* @template
|
|
254
|
+
* @template T
|
|
255
255
|
*
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {number} [priority=1000] listen priority
|
|
258
|
-
* @param {EventBusEventCallback<
|
|
256
|
+
* @param {string|string[]} events to subscribe to
|
|
257
|
+
* @param {number} [priority=1000] the listen priority
|
|
258
|
+
* @param {EventBusEventCallback<T>} callback
|
|
259
259
|
* @param {any} [that] callback context
|
|
260
260
|
*/
|
|
261
261
|
EventBus.prototype.once = function (events, priority, callback, that) {
|
|
@@ -1970,12 +1970,14 @@ class Dragging {
|
|
|
1970
1970
|
targetRow = this._formLayouter.getRow(target.dataset.rowId);
|
|
1971
1971
|
}
|
|
1972
1972
|
|
|
1973
|
-
// (2.2)
|
|
1973
|
+
// (2.2) revert dragula's DOM change; Preact re-renders from the schema instead
|
|
1974
|
+
drake.cancel(true);
|
|
1975
|
+
|
|
1976
|
+
// (2.3) reject invalid drops — no schema change
|
|
1974
1977
|
const validationError = this.validateDrop(el, target);
|
|
1975
1978
|
if (validationError) {
|
|
1976
|
-
return
|
|
1979
|
+
return;
|
|
1977
1980
|
}
|
|
1978
|
-
drake.remove();
|
|
1979
1981
|
|
|
1980
1982
|
// (3) detect position to drop field in schema order
|
|
1981
1983
|
const targetIndex = this.getTargetIndex(targetRow, targetFormField, sibling);
|
|
@@ -3010,7 +3012,7 @@ const ContextPadModule = {
|
|
|
3010
3012
|
/**
|
|
3011
3013
|
* @typedef {import('didi').Injector} Injector
|
|
3012
3014
|
*
|
|
3013
|
-
* @typedef {import('../../core/EventBus').default} EventBus
|
|
3015
|
+
* @typedef {import('../../core/EventBus.js').default} EventBus
|
|
3014
3016
|
*/
|
|
3015
3017
|
|
|
3016
3018
|
var NOT_REGISTERED_ERROR = 'is not a registered action',
|
|
@@ -3037,6 +3039,8 @@ var NOT_REGISTERED_ERROR = 'is not a registered action',
|
|
|
3037
3039
|
* @param {Injector} injector
|
|
3038
3040
|
*/
|
|
3039
3041
|
function EditorActions(eventBus, injector) {
|
|
3042
|
+
this._eventBus = eventBus;
|
|
3043
|
+
|
|
3040
3044
|
// initialize actions
|
|
3041
3045
|
this._actions = {};
|
|
3042
3046
|
var self = this;
|
|
@@ -3175,6 +3179,13 @@ EditorActions.prototype.trigger = function (action, opts) {
|
|
|
3175
3179
|
if (!this._actions[action]) {
|
|
3176
3180
|
throw error(action, NOT_REGISTERED_ERROR);
|
|
3177
3181
|
}
|
|
3182
|
+
var allowed = this._eventBus.fire('editorActions.allowed', {
|
|
3183
|
+
action: action,
|
|
3184
|
+
opts: opts
|
|
3185
|
+
});
|
|
3186
|
+
if (allowed === false) {
|
|
3187
|
+
return;
|
|
3188
|
+
}
|
|
3178
3189
|
return this._actions[action](opts);
|
|
3179
3190
|
};
|
|
3180
3191
|
|
|
@@ -3425,7 +3436,7 @@ function isRedo(event) {
|
|
|
3425
3436
|
}
|
|
3426
3437
|
|
|
3427
3438
|
/**
|
|
3428
|
-
* @typedef {import('../../core/EventBus').default} EventBus
|
|
3439
|
+
* @typedef {import('../../core/EventBus.js').default} EventBus
|
|
3429
3440
|
*
|
|
3430
3441
|
* @typedef {({ keyEvent: KeyboardEvent }) => any} Listener
|
|
3431
3442
|
*/
|
|
@@ -3813,10 +3824,10 @@ const DraggingModule = {
|
|
|
3813
3824
|
/**
|
|
3814
3825
|
* @typedef {import('didi').Injector} Injector
|
|
3815
3826
|
*
|
|
3816
|
-
* @typedef {import('../core/Types').ElementLike} ElementLike
|
|
3827
|
+
* @typedef {import('../core/Types.js').ElementLike} ElementLike
|
|
3817
3828
|
*
|
|
3818
|
-
* @typedef {import('../core/EventBus').default} EventBus
|
|
3819
|
-
* @typedef {import('./CommandHandler').default} CommandHandler
|
|
3829
|
+
* @typedef {import('../core/EventBus.js').default} EventBus
|
|
3830
|
+
* @typedef {import('./CommandHandler.js').default} CommandHandler
|
|
3820
3831
|
*
|
|
3821
3832
|
* @typedef { any } CommandContext
|
|
3822
3833
|
* @typedef { {
|
|
@@ -4282,9 +4293,9 @@ var commandModule = {
|
|
|
4282
4293
|
};
|
|
4283
4294
|
|
|
4284
4295
|
/**
|
|
4285
|
-
* @typedef {import('../core/Types').ElementLike} ElementLike
|
|
4286
|
-
* @typedef {import('../core/EventBus').default} EventBus
|
|
4287
|
-
* @typedef {import('./CommandStack').CommandContext} CommandContext
|
|
4296
|
+
* @typedef {import('../core/Types.js').ElementLike} ElementLike
|
|
4297
|
+
* @typedef {import('../core/EventBus.js').default} EventBus
|
|
4298
|
+
* @typedef {import('./CommandStack.js').CommandContext} CommandContext
|
|
4288
4299
|
*
|
|
4289
4300
|
* @typedef {string|string[]} Events
|
|
4290
4301
|
* @typedef { (context: CommandContext) => ElementLike[] | void } HandlerFunction
|
|
@@ -5591,92 +5602,92 @@ const PaletteModule = {
|
|
|
5591
5602
|
palette: ['type', PaletteRenderer]
|
|
5592
5603
|
};
|
|
5593
5604
|
|
|
5594
|
-
|
|
5605
|
+
function Arrow(props) {
|
|
5595
5606
|
return jsxRuntime.jsx("svg", {
|
|
5607
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5608
|
+
width: "16",
|
|
5609
|
+
height: "16",
|
|
5610
|
+
viewBox: "0 0 16 16",
|
|
5596
5611
|
...props,
|
|
5597
5612
|
children: jsxRuntime.jsx("path", {
|
|
5598
5613
|
fillRule: "evenodd",
|
|
5599
|
-
d: "
|
|
5614
|
+
d: "M10,12 L3,12 C2.44771525,12 2,11.5522847 2,11 C2,10.4477153 2.44771525,10 3,10 L8,10 L8,5 C8,4.44771525 8.44771525,4 9,4 C9.55228475,4 10,4.44771525 10,5 L10,12 Z",
|
|
5615
|
+
transform: "rotate(-45 6 8)"
|
|
5600
5616
|
})
|
|
5601
5617
|
});
|
|
5602
|
-
}
|
|
5603
|
-
|
|
5604
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5605
|
-
width: "16",
|
|
5606
|
-
height: "16"
|
|
5607
|
-
};
|
|
5608
|
-
var CloseIcon = function CloseIcon(props) {
|
|
5618
|
+
}
|
|
5619
|
+
function Close(props) {
|
|
5609
5620
|
return jsxRuntime.jsx("svg", {
|
|
5621
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5622
|
+
width: "16",
|
|
5623
|
+
height: "16",
|
|
5624
|
+
viewBox: "0 0 16 16",
|
|
5610
5625
|
...props,
|
|
5611
5626
|
children: jsxRuntime.jsx("path", {
|
|
5612
5627
|
fillRule: "evenodd",
|
|
5613
|
-
d: "
|
|
5628
|
+
d: "M12 4.7L11.3 4L8 7.3L4.7 4L4 4.7L7.3 8L4 11.3L4.7 12L8 8.7L11.3 12L12 11.3L8.7 8L12 4.7Z",
|
|
5614
5629
|
fill: "currentColor"
|
|
5615
5630
|
})
|
|
5616
5631
|
});
|
|
5617
|
-
}
|
|
5618
|
-
|
|
5619
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5620
|
-
width: "16",
|
|
5621
|
-
height: "16"
|
|
5622
|
-
};
|
|
5623
|
-
var CreateIcon = function CreateIcon(props) {
|
|
5632
|
+
}
|
|
5633
|
+
function Create(props) {
|
|
5624
5634
|
return jsxRuntime.jsx("svg", {
|
|
5635
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5636
|
+
width: "16",
|
|
5637
|
+
height: "16",
|
|
5638
|
+
viewBox: "0 0 16 16",
|
|
5625
5639
|
...props,
|
|
5626
5640
|
children: jsxRuntime.jsx("path", {
|
|
5627
5641
|
fillRule: "evenodd",
|
|
5628
|
-
d: "M9
|
|
5642
|
+
d: "M9,13 L9,9 L9,9 L13,9 C13.5522847,9 14,8.55228475 14,8 C14,7.44771525 13.5522847,7 13,7 L9,7 L9,7 L9,3 C9,2.44771525 8.55228475,2 8,2 C7.44771525,2 7,2.44771525 7,3 L7,7 L7,7 L3,7 C2.44771525,7 2,7.44771525 2,8 C2,8.55228475 2.44771525,9 3,9 L7,9 L7,9 L7,13 C7,13.5522847 7.44771525,14 8,14 C8.55228475,14 9,13.5522847 9,13 Z"
|
|
5629
5643
|
})
|
|
5630
5644
|
});
|
|
5631
|
-
}
|
|
5632
|
-
|
|
5633
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5634
|
-
width: "16",
|
|
5635
|
-
height: "16"
|
|
5636
|
-
};
|
|
5637
|
-
var DeleteIcon = function DeleteIcon(props) {
|
|
5645
|
+
}
|
|
5646
|
+
function Delete(props) {
|
|
5638
5647
|
return jsxRuntime.jsx("svg", {
|
|
5648
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5649
|
+
width: "16",
|
|
5650
|
+
height: "16",
|
|
5651
|
+
viewBox: "0 0 16 16",
|
|
5639
5652
|
...props,
|
|
5640
5653
|
children: jsxRuntime.jsx("path", {
|
|
5641
5654
|
fillRule: "evenodd",
|
|
5642
|
-
d: "
|
|
5655
|
+
d: "M9,4 L9,11 C9,12.1 8.6,12.55 7.5,12.55 L2.5,12.55 C1.4,12.55 1,12.1 1,11 L1,4 L9,4 Z M7.5,5.5 L2.5,5.5 L2.5,9.8 C2.5,10.46 3,11 3.61111111,11 L6.38888889,11 C7,11 7.5,10.46 7.5,9.8 L7.5,5.5 Z M10,1 L8,1 L7,0 L3,0 L2,1 L0,1 L0,2.5 L10,2.5 L10,1 Z",
|
|
5656
|
+
transform: "translate(3 2)"
|
|
5643
5657
|
})
|
|
5644
5658
|
});
|
|
5645
|
-
}
|
|
5646
|
-
|
|
5647
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5648
|
-
width: "16",
|
|
5649
|
-
height: "16"
|
|
5650
|
-
};
|
|
5651
|
-
var DragIcon = function DragIcon(props) {
|
|
5659
|
+
}
|
|
5660
|
+
function Drag(props) {
|
|
5652
5661
|
return jsxRuntime.jsxs("svg", {
|
|
5662
|
+
width: "16",
|
|
5663
|
+
height: "16",
|
|
5664
|
+
fill: "none",
|
|
5665
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5653
5666
|
...props,
|
|
5654
5667
|
children: [jsxRuntime.jsx("path", {
|
|
5655
5668
|
fill: "#fff",
|
|
5656
5669
|
style: {
|
|
5657
|
-
mixBlendMode:
|
|
5670
|
+
mixBlendMode: 'multiply'
|
|
5658
5671
|
},
|
|
5659
5672
|
d: "M0 0h16v16H0z"
|
|
5660
5673
|
}), jsxRuntime.jsx("path", {
|
|
5661
5674
|
fill: "#fff",
|
|
5662
5675
|
style: {
|
|
5663
|
-
mixBlendMode:
|
|
5676
|
+
mixBlendMode: 'multiply'
|
|
5664
5677
|
},
|
|
5665
5678
|
d: "M0 0h16v16H0z"
|
|
5666
5679
|
}), jsxRuntime.jsx("path", {
|
|
5667
|
-
d: "M7
|
|
5680
|
+
d: "M7 3H5v2h2V3zM11 3H9v2h2V3zM7 7H5v2h2V7zM11 7H9v2h2V7zM7 11H5v2h2v-2zM11 11H9v2h2v-2z",
|
|
5668
5681
|
fill: "#161616"
|
|
5669
5682
|
})]
|
|
5670
5683
|
});
|
|
5671
|
-
}
|
|
5672
|
-
|
|
5673
|
-
width: "16",
|
|
5674
|
-
height: "16",
|
|
5675
|
-
fill: "none",
|
|
5676
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5677
|
-
};
|
|
5678
|
-
var ExternalLinkIcon = function ExternalLinkIcon(props) {
|
|
5684
|
+
}
|
|
5685
|
+
function ExternalLink(props) {
|
|
5679
5686
|
return jsxRuntime.jsx("svg", {
|
|
5687
|
+
width: "16",
|
|
5688
|
+
height: "16",
|
|
5689
|
+
fill: "none",
|
|
5690
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5680
5691
|
...props,
|
|
5681
5692
|
children: jsxRuntime.jsx("path", {
|
|
5682
5693
|
fillRule: "evenodd",
|
|
@@ -5685,54 +5696,46 @@ var ExternalLinkIcon = function ExternalLinkIcon(props) {
|
|
|
5685
5696
|
fill: "currentcolor"
|
|
5686
5697
|
})
|
|
5687
5698
|
});
|
|
5688
|
-
}
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
return jsxRuntime.jsx("svg", {
|
|
5699
|
+
}
|
|
5700
|
+
function Feel(props) {
|
|
5701
|
+
return jsxRuntime.jsxs("svg", {
|
|
5702
|
+
width: "14",
|
|
5703
|
+
height: "14",
|
|
5704
|
+
viewBox: "0 0 14 14",
|
|
5705
|
+
fill: "none",
|
|
5706
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5697
5707
|
...props,
|
|
5698
|
-
children: jsxRuntime.jsx("path", {
|
|
5699
|
-
d: "M3.
|
|
5708
|
+
children: [jsxRuntime.jsx("path", {
|
|
5709
|
+
d: "M3.6168 11.9894C3.47957 12.6745 3.22473 13.1809 2.85227 13.5085C2.48961 13.8362 1.97012 14 1.29381 14H0L0.308751 12.4213H1.57316L3.08751 4.78085H2.17596L2.48471 3.20213H3.39626L3.6315 2.01064C3.76872 1.32553 4.01866 0.819149 4.38132 0.491489C4.75378 0.16383 5.27817 0 5.95448 0H7.2483L6.93954 1.57872H5.67514L5.35168 3.20213H6.61609L6.30734 4.78085H5.04293L3.6168 11.9894Z",
|
|
5700
5710
|
fill: "currentcolor"
|
|
5701
|
-
})
|
|
5711
|
+
}), jsxRuntime.jsx("path", {
|
|
5712
|
+
d: "M5.60492 11.0213L8.63361 6.86596L7.28099 3.20213H9.35403L10.0598 5.74894H10.2362L11.927 3.20213H14L10.986 7.25319L12.3239 11.0213H10.2509L9.54517 8.41489H9.36874L7.67796 11.0213H5.60492Z",
|
|
5713
|
+
fill: "currentcolor"
|
|
5714
|
+
})]
|
|
5702
5715
|
});
|
|
5703
|
-
}
|
|
5704
|
-
|
|
5705
|
-
width: "14",
|
|
5706
|
-
height: "14",
|
|
5707
|
-
fill: "none",
|
|
5708
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5709
|
-
};
|
|
5710
|
-
var LaunchIcon = function LaunchIcon(props) {
|
|
5716
|
+
}
|
|
5717
|
+
function Launch(props) {
|
|
5711
5718
|
return jsxRuntime.jsxs("svg", {
|
|
5719
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5720
|
+
viewBox: "0 0 32 32",
|
|
5712
5721
|
...props,
|
|
5713
5722
|
children: [jsxRuntime.jsx("path", {
|
|
5714
|
-
d: "M26
|
|
5715
|
-
}), jsxRuntime.jsx("
|
|
5716
|
-
|
|
5723
|
+
d: "M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"
|
|
5724
|
+
}), jsxRuntime.jsx("polygon", {
|
|
5725
|
+
points: "20 2 20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2"
|
|
5717
5726
|
})]
|
|
5718
5727
|
});
|
|
5719
|
-
}
|
|
5720
|
-
|
|
5721
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5722
|
-
viewBox: "0 0 32 32"
|
|
5723
|
-
};
|
|
5724
|
-
var OpenPopupIcon = function OpenPopupIcon(props) {
|
|
5728
|
+
}
|
|
5729
|
+
function OpenPopup(props) {
|
|
5725
5730
|
return jsxRuntime.jsx("svg", {
|
|
5731
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5732
|
+
viewBox: "0 0 16 16",
|
|
5726
5733
|
...props,
|
|
5727
5734
|
children: jsxRuntime.jsx("path", {
|
|
5728
|
-
d: "M6
|
|
5735
|
+
d: "M6 15L6 14 2.7 14 7 9.7 6.3 9 2 13.3 2 10 1 10 1 15zM10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"
|
|
5729
5736
|
})
|
|
5730
5737
|
});
|
|
5731
|
-
}
|
|
5732
|
-
OpenPopupIcon.defaultProps = {
|
|
5733
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5734
|
-
viewBox: "0 0 16 16"
|
|
5735
|
-
};
|
|
5738
|
+
}
|
|
5736
5739
|
|
|
5737
5740
|
/**
|
|
5738
5741
|
* @typedef { {
|
|
@@ -5813,7 +5816,7 @@ function Header(props) {
|
|
|
5813
5816
|
href: documentationRef,
|
|
5814
5817
|
title: translate('Open documentation'),
|
|
5815
5818
|
target: "_blank",
|
|
5816
|
-
children: jsxRuntime.jsx(
|
|
5819
|
+
children: jsxRuntime.jsx(ExternalLink, {})
|
|
5817
5820
|
}) : null
|
|
5818
5821
|
})]
|
|
5819
5822
|
});
|
|
@@ -6468,7 +6471,7 @@ function Group(props) {
|
|
|
6468
6471
|
type: "button",
|
|
6469
6472
|
title: translate('Toggle section'),
|
|
6470
6473
|
class: "bio-properties-panel-group-header-button bio-properties-panel-arrow",
|
|
6471
|
-
children: jsxRuntime.jsx(
|
|
6474
|
+
children: jsxRuntime.jsx(Arrow, {
|
|
6472
6475
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
6473
6476
|
})
|
|
6474
6477
|
})]
|
|
@@ -6847,7 +6850,7 @@ function CollapsibleEntry(props) {
|
|
|
6847
6850
|
type: "button",
|
|
6848
6851
|
title: translate('Toggle list item'),
|
|
6849
6852
|
class: "bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",
|
|
6850
|
-
children: jsxRuntime.jsx(
|
|
6853
|
+
children: jsxRuntime.jsx(Arrow, {
|
|
6851
6854
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
6852
6855
|
})
|
|
6853
6856
|
}), remove ? jsxRuntime.jsx("button", {
|
|
@@ -6855,7 +6858,7 @@ function CollapsibleEntry(props) {
|
|
|
6855
6858
|
title: translate('Delete item'),
|
|
6856
6859
|
class: "bio-properties-panel-remove-entry",
|
|
6857
6860
|
onClick: remove,
|
|
6858
|
-
children: jsxRuntime.jsx(
|
|
6861
|
+
children: jsxRuntime.jsx(Delete, {})
|
|
6859
6862
|
}) : null]
|
|
6860
6863
|
}), jsxRuntime.jsx("div", {
|
|
6861
6864
|
class: classnames('bio-properties-panel-collapsible-entry-entries', open ? 'open' : ''),
|
|
@@ -6995,7 +6998,7 @@ function ListGroup(props) {
|
|
|
6995
6998
|
title: translate('Create new list item'),
|
|
6996
6999
|
class: "bio-properties-panel-group-header-button bio-properties-panel-add-entry",
|
|
6997
7000
|
onClick: handleAddClick,
|
|
6998
|
-
children: [jsxRuntime.jsx(
|
|
7001
|
+
children: [jsxRuntime.jsx(Create, {}), !hasItems ? jsxRuntime.jsx("span", {
|
|
6999
7002
|
class: "bio-properties-panel-add-entry-label",
|
|
7000
7003
|
children: translate('Create')
|
|
7001
7004
|
}) : null]
|
|
@@ -7009,7 +7012,7 @@ function ListGroup(props) {
|
|
|
7009
7012
|
type: "button",
|
|
7010
7013
|
title: translate('Toggle section'),
|
|
7011
7014
|
class: "bio-properties-panel-group-header-button bio-properties-panel-arrow",
|
|
7012
|
-
children: jsxRuntime.jsx(
|
|
7015
|
+
children: jsxRuntime.jsx(Arrow, {
|
|
7013
7016
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
7014
7017
|
})
|
|
7015
7018
|
}) : null]
|
|
@@ -7206,7 +7209,7 @@ function OpenPopupButton({
|
|
|
7206
7209
|
title: title,
|
|
7207
7210
|
class: 'bio-properties-panel-open-feel-popup',
|
|
7208
7211
|
onClick: onClick,
|
|
7209
|
-
children: jsxRuntime.jsx(
|
|
7212
|
+
children: jsxRuntime.jsx(OpenPopup, {})
|
|
7210
7213
|
});
|
|
7211
7214
|
}
|
|
7212
7215
|
const noop$5 = () => {};
|
|
@@ -7503,7 +7506,7 @@ function FeelIcon(props) {
|
|
|
7503
7506
|
onClick: handleClick,
|
|
7504
7507
|
disabled: feel === 'required' || disabled,
|
|
7505
7508
|
title: feel === 'required' ? feelRequiredLabel : feelOptionalLabel,
|
|
7506
|
-
children: jsxRuntime.jsx(
|
|
7509
|
+
children: jsxRuntime.jsx(Feel, {})
|
|
7507
7510
|
});
|
|
7508
7511
|
}
|
|
7509
7512
|
|
|
@@ -9413,7 +9416,7 @@ function Title(props) {
|
|
|
9413
9416
|
class: "bio-properties-panel-popup__drag-preview"
|
|
9414
9417
|
}), jsxRuntime.jsx("div", {
|
|
9415
9418
|
class: "bio-properties-panel-popup__drag-handle",
|
|
9416
|
-
children: jsxRuntime.jsx(
|
|
9419
|
+
children: jsxRuntime.jsx(Drag, {})
|
|
9417
9420
|
})]
|
|
9418
9421
|
}), jsxRuntime.jsx("div", {
|
|
9419
9422
|
class: "bio-properties-panel-popup__title",
|
|
@@ -9423,7 +9426,7 @@ function Title(props) {
|
|
|
9423
9426
|
title: closeButtonTooltip,
|
|
9424
9427
|
class: "bio-properties-panel-popup__close",
|
|
9425
9428
|
onClick: onClose,
|
|
9426
|
-
children: jsxRuntime.jsx(
|
|
9429
|
+
children: jsxRuntime.jsx(Close, {})
|
|
9427
9430
|
})]
|
|
9428
9431
|
});
|
|
9429
9432
|
}
|
|
@@ -9557,7 +9560,7 @@ function FeelPopup$1(props) {
|
|
|
9557
9560
|
href: link.href,
|
|
9558
9561
|
target: "_blank",
|
|
9559
9562
|
class: "bio-properties-panel-feel-popup__title-link",
|
|
9560
|
-
children: [link.title, jsxRuntime.jsx(
|
|
9563
|
+
children: [link.title, jsxRuntime.jsx(Launch, {})]
|
|
9561
9564
|
}, index);
|
|
9562
9565
|
})
|
|
9563
9566
|
})
|