@bpmn-io/form-js-editor 1.23.0 → 1.24.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/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.es.js
CHANGED
|
@@ -161,11 +161,11 @@ function EventBus() {
|
|
|
161
161
|
*
|
|
162
162
|
* Returning anything but `undefined` from a listener will stop the listener propagation.
|
|
163
163
|
*
|
|
164
|
-
* @template
|
|
164
|
+
* @template {keyof EventMap} EventName
|
|
165
165
|
*
|
|
166
|
-
* @param {
|
|
166
|
+
* @param {EventName} events to subscribe to
|
|
167
167
|
* @param {number} [priority=1000] listen priority
|
|
168
|
-
* @param {EventBusEventCallback<
|
|
168
|
+
* @param {EventBusEventCallback<EventMap[EventName]>} callback
|
|
169
169
|
* @param {any} [that] callback context
|
|
170
170
|
*/
|
|
171
171
|
/**
|
|
@@ -180,11 +180,11 @@ function EventBus() {
|
|
|
180
180
|
*
|
|
181
181
|
* Returning anything but `undefined` from a listener will stop the listener propagation.
|
|
182
182
|
*
|
|
183
|
-
* @template
|
|
183
|
+
* @template T
|
|
184
184
|
*
|
|
185
|
-
* @param {
|
|
185
|
+
* @param {string|string[]} events to subscribe to
|
|
186
186
|
* @param {number} [priority=1000] listen priority
|
|
187
|
-
* @param {EventBusEventCallback<
|
|
187
|
+
* @param {EventBusEventCallback<T>} callback
|
|
188
188
|
* @param {any} [that] callback context
|
|
189
189
|
*/
|
|
190
190
|
EventBus.prototype.on = function (events, priority, callback, that) {
|
|
@@ -221,21 +221,21 @@ EventBus.prototype.on = function (events, priority, callback, that) {
|
|
|
221
221
|
*
|
|
222
222
|
* Register an event listener that is called only once.
|
|
223
223
|
*
|
|
224
|
-
* @template
|
|
224
|
+
* @template {keyof EventMap} EventName
|
|
225
225
|
*
|
|
226
|
-
* @param {
|
|
227
|
-
* @param {number} [priority=1000]
|
|
228
|
-
* @param {EventBusEventCallback<
|
|
226
|
+
* @param {EventName} events to subscribe to
|
|
227
|
+
* @param {number} [priority=1000] listen priority
|
|
228
|
+
* @param {EventBusEventCallback<EventMap[EventName]>} callback
|
|
229
229
|
* @param {any} [that] callback context
|
|
230
230
|
*/
|
|
231
231
|
/**
|
|
232
232
|
* Register an event listener that is called only once.
|
|
233
233
|
*
|
|
234
|
-
* @template
|
|
234
|
+
* @template T
|
|
235
235
|
*
|
|
236
|
-
* @param {
|
|
237
|
-
* @param {number} [priority=1000] listen priority
|
|
238
|
-
* @param {EventBusEventCallback<
|
|
236
|
+
* @param {string|string[]} events to subscribe to
|
|
237
|
+
* @param {number} [priority=1000] the listen priority
|
|
238
|
+
* @param {EventBusEventCallback<T>} callback
|
|
239
239
|
* @param {any} [that] callback context
|
|
240
240
|
*/
|
|
241
241
|
EventBus.prototype.once = function (events, priority, callback, that) {
|
|
@@ -1950,12 +1950,14 @@ class Dragging {
|
|
|
1950
1950
|
targetRow = this._formLayouter.getRow(target.dataset.rowId);
|
|
1951
1951
|
}
|
|
1952
1952
|
|
|
1953
|
-
// (2.2)
|
|
1953
|
+
// (2.2) revert dragula's DOM change; Preact re-renders from the schema instead
|
|
1954
|
+
drake.cancel(true);
|
|
1955
|
+
|
|
1956
|
+
// (2.3) reject invalid drops — no schema change
|
|
1954
1957
|
const validationError = this.validateDrop(el, target);
|
|
1955
1958
|
if (validationError) {
|
|
1956
|
-
return
|
|
1959
|
+
return;
|
|
1957
1960
|
}
|
|
1958
|
-
drake.remove();
|
|
1959
1961
|
|
|
1960
1962
|
// (3) detect position to drop field in schema order
|
|
1961
1963
|
const targetIndex = this.getTargetIndex(targetRow, targetFormField, sibling);
|
|
@@ -2990,7 +2992,7 @@ const ContextPadModule = {
|
|
|
2990
2992
|
/**
|
|
2991
2993
|
* @typedef {import('didi').Injector} Injector
|
|
2992
2994
|
*
|
|
2993
|
-
* @typedef {import('../../core/EventBus').default} EventBus
|
|
2995
|
+
* @typedef {import('../../core/EventBus.js').default} EventBus
|
|
2994
2996
|
*/
|
|
2995
2997
|
|
|
2996
2998
|
var NOT_REGISTERED_ERROR = 'is not a registered action',
|
|
@@ -3017,6 +3019,8 @@ var NOT_REGISTERED_ERROR = 'is not a registered action',
|
|
|
3017
3019
|
* @param {Injector} injector
|
|
3018
3020
|
*/
|
|
3019
3021
|
function EditorActions(eventBus, injector) {
|
|
3022
|
+
this._eventBus = eventBus;
|
|
3023
|
+
|
|
3020
3024
|
// initialize actions
|
|
3021
3025
|
this._actions = {};
|
|
3022
3026
|
var self = this;
|
|
@@ -3155,6 +3159,13 @@ EditorActions.prototype.trigger = function (action, opts) {
|
|
|
3155
3159
|
if (!this._actions[action]) {
|
|
3156
3160
|
throw error(action, NOT_REGISTERED_ERROR);
|
|
3157
3161
|
}
|
|
3162
|
+
var allowed = this._eventBus.fire('editorActions.allowed', {
|
|
3163
|
+
action: action,
|
|
3164
|
+
opts: opts
|
|
3165
|
+
});
|
|
3166
|
+
if (allowed === false) {
|
|
3167
|
+
return;
|
|
3168
|
+
}
|
|
3158
3169
|
return this._actions[action](opts);
|
|
3159
3170
|
};
|
|
3160
3171
|
|
|
@@ -3405,7 +3416,7 @@ function isRedo(event) {
|
|
|
3405
3416
|
}
|
|
3406
3417
|
|
|
3407
3418
|
/**
|
|
3408
|
-
* @typedef {import('../../core/EventBus').default} EventBus
|
|
3419
|
+
* @typedef {import('../../core/EventBus.js').default} EventBus
|
|
3409
3420
|
*
|
|
3410
3421
|
* @typedef {({ keyEvent: KeyboardEvent }) => any} Listener
|
|
3411
3422
|
*/
|
|
@@ -3793,10 +3804,10 @@ const DraggingModule = {
|
|
|
3793
3804
|
/**
|
|
3794
3805
|
* @typedef {import('didi').Injector} Injector
|
|
3795
3806
|
*
|
|
3796
|
-
* @typedef {import('../core/Types').ElementLike} ElementLike
|
|
3807
|
+
* @typedef {import('../core/Types.js').ElementLike} ElementLike
|
|
3797
3808
|
*
|
|
3798
|
-
* @typedef {import('../core/EventBus').default} EventBus
|
|
3799
|
-
* @typedef {import('./CommandHandler').default} CommandHandler
|
|
3809
|
+
* @typedef {import('../core/EventBus.js').default} EventBus
|
|
3810
|
+
* @typedef {import('./CommandHandler.js').default} CommandHandler
|
|
3800
3811
|
*
|
|
3801
3812
|
* @typedef { any } CommandContext
|
|
3802
3813
|
* @typedef { {
|
|
@@ -4262,9 +4273,9 @@ var commandModule = {
|
|
|
4262
4273
|
};
|
|
4263
4274
|
|
|
4264
4275
|
/**
|
|
4265
|
-
* @typedef {import('../core/Types').ElementLike} ElementLike
|
|
4266
|
-
* @typedef {import('../core/EventBus').default} EventBus
|
|
4267
|
-
* @typedef {import('./CommandStack').CommandContext} CommandContext
|
|
4276
|
+
* @typedef {import('../core/Types.js').ElementLike} ElementLike
|
|
4277
|
+
* @typedef {import('../core/EventBus.js').default} EventBus
|
|
4278
|
+
* @typedef {import('./CommandStack.js').CommandContext} CommandContext
|
|
4268
4279
|
*
|
|
4269
4280
|
* @typedef {string|string[]} Events
|
|
4270
4281
|
* @typedef { (context: CommandContext) => ElementLike[] | void } HandlerFunction
|
|
@@ -5571,92 +5582,92 @@ const PaletteModule = {
|
|
|
5571
5582
|
palette: ['type', PaletteRenderer]
|
|
5572
5583
|
};
|
|
5573
5584
|
|
|
5574
|
-
|
|
5585
|
+
function Arrow(props) {
|
|
5575
5586
|
return jsx("svg", {
|
|
5587
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5588
|
+
width: "16",
|
|
5589
|
+
height: "16",
|
|
5590
|
+
viewBox: "0 0 16 16",
|
|
5576
5591
|
...props,
|
|
5577
5592
|
children: jsx("path", {
|
|
5578
5593
|
fillRule: "evenodd",
|
|
5579
|
-
d: "
|
|
5594
|
+
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",
|
|
5595
|
+
transform: "rotate(-45 6 8)"
|
|
5580
5596
|
})
|
|
5581
5597
|
});
|
|
5582
|
-
}
|
|
5583
|
-
|
|
5584
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5585
|
-
width: "16",
|
|
5586
|
-
height: "16"
|
|
5587
|
-
};
|
|
5588
|
-
var CloseIcon = function CloseIcon(props) {
|
|
5598
|
+
}
|
|
5599
|
+
function Close(props) {
|
|
5589
5600
|
return jsx("svg", {
|
|
5601
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5602
|
+
width: "16",
|
|
5603
|
+
height: "16",
|
|
5604
|
+
viewBox: "0 0 16 16",
|
|
5590
5605
|
...props,
|
|
5591
5606
|
children: jsx("path", {
|
|
5592
5607
|
fillRule: "evenodd",
|
|
5593
|
-
d: "
|
|
5608
|
+
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",
|
|
5594
5609
|
fill: "currentColor"
|
|
5595
5610
|
})
|
|
5596
5611
|
});
|
|
5597
|
-
}
|
|
5598
|
-
|
|
5599
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5600
|
-
width: "16",
|
|
5601
|
-
height: "16"
|
|
5602
|
-
};
|
|
5603
|
-
var CreateIcon = function CreateIcon(props) {
|
|
5612
|
+
}
|
|
5613
|
+
function Create(props) {
|
|
5604
5614
|
return jsx("svg", {
|
|
5615
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5616
|
+
width: "16",
|
|
5617
|
+
height: "16",
|
|
5618
|
+
viewBox: "0 0 16 16",
|
|
5605
5619
|
...props,
|
|
5606
5620
|
children: jsx("path", {
|
|
5607
5621
|
fillRule: "evenodd",
|
|
5608
|
-
d: "M9
|
|
5622
|
+
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"
|
|
5609
5623
|
})
|
|
5610
5624
|
});
|
|
5611
|
-
}
|
|
5612
|
-
|
|
5613
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5614
|
-
width: "16",
|
|
5615
|
-
height: "16"
|
|
5616
|
-
};
|
|
5617
|
-
var DeleteIcon = function DeleteIcon(props) {
|
|
5625
|
+
}
|
|
5626
|
+
function Delete(props) {
|
|
5618
5627
|
return jsx("svg", {
|
|
5628
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5629
|
+
width: "16",
|
|
5630
|
+
height: "16",
|
|
5631
|
+
viewBox: "0 0 16 16",
|
|
5619
5632
|
...props,
|
|
5620
5633
|
children: jsx("path", {
|
|
5621
5634
|
fillRule: "evenodd",
|
|
5622
|
-
d: "
|
|
5635
|
+
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",
|
|
5636
|
+
transform: "translate(3 2)"
|
|
5623
5637
|
})
|
|
5624
5638
|
});
|
|
5625
|
-
}
|
|
5626
|
-
|
|
5627
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5628
|
-
width: "16",
|
|
5629
|
-
height: "16"
|
|
5630
|
-
};
|
|
5631
|
-
var DragIcon = function DragIcon(props) {
|
|
5639
|
+
}
|
|
5640
|
+
function Drag(props) {
|
|
5632
5641
|
return jsxs("svg", {
|
|
5642
|
+
width: "16",
|
|
5643
|
+
height: "16",
|
|
5644
|
+
fill: "none",
|
|
5645
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5633
5646
|
...props,
|
|
5634
5647
|
children: [jsx("path", {
|
|
5635
5648
|
fill: "#fff",
|
|
5636
5649
|
style: {
|
|
5637
|
-
mixBlendMode:
|
|
5650
|
+
mixBlendMode: 'multiply'
|
|
5638
5651
|
},
|
|
5639
5652
|
d: "M0 0h16v16H0z"
|
|
5640
5653
|
}), jsx("path", {
|
|
5641
5654
|
fill: "#fff",
|
|
5642
5655
|
style: {
|
|
5643
|
-
mixBlendMode:
|
|
5656
|
+
mixBlendMode: 'multiply'
|
|
5644
5657
|
},
|
|
5645
5658
|
d: "M0 0h16v16H0z"
|
|
5646
5659
|
}), jsx("path", {
|
|
5647
|
-
d: "M7
|
|
5660
|
+
d: "M7 3H5v2h2V3zM11 3H9v2h2V3zM7 7H5v2h2V7zM11 7H9v2h2V7zM7 11H5v2h2v-2zM11 11H9v2h2v-2z",
|
|
5648
5661
|
fill: "#161616"
|
|
5649
5662
|
})]
|
|
5650
5663
|
});
|
|
5651
|
-
}
|
|
5652
|
-
|
|
5653
|
-
width: "16",
|
|
5654
|
-
height: "16",
|
|
5655
|
-
fill: "none",
|
|
5656
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5657
|
-
};
|
|
5658
|
-
var ExternalLinkIcon = function ExternalLinkIcon(props) {
|
|
5664
|
+
}
|
|
5665
|
+
function ExternalLink(props) {
|
|
5659
5666
|
return jsx("svg", {
|
|
5667
|
+
width: "16",
|
|
5668
|
+
height: "16",
|
|
5669
|
+
fill: "none",
|
|
5670
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5660
5671
|
...props,
|
|
5661
5672
|
children: jsx("path", {
|
|
5662
5673
|
fillRule: "evenodd",
|
|
@@ -5665,54 +5676,46 @@ var ExternalLinkIcon = function ExternalLinkIcon(props) {
|
|
|
5665
5676
|
fill: "currentcolor"
|
|
5666
5677
|
})
|
|
5667
5678
|
});
|
|
5668
|
-
}
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
return jsx("svg", {
|
|
5679
|
+
}
|
|
5680
|
+
function Feel(props) {
|
|
5681
|
+
return jsxs("svg", {
|
|
5682
|
+
width: "14",
|
|
5683
|
+
height: "14",
|
|
5684
|
+
viewBox: "0 0 14 14",
|
|
5685
|
+
fill: "none",
|
|
5686
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5677
5687
|
...props,
|
|
5678
|
-
children: jsx("path", {
|
|
5679
|
-
d: "M3.
|
|
5688
|
+
children: [jsx("path", {
|
|
5689
|
+
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",
|
|
5680
5690
|
fill: "currentcolor"
|
|
5681
|
-
})
|
|
5691
|
+
}), jsx("path", {
|
|
5692
|
+
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",
|
|
5693
|
+
fill: "currentcolor"
|
|
5694
|
+
})]
|
|
5682
5695
|
});
|
|
5683
|
-
}
|
|
5684
|
-
|
|
5685
|
-
width: "14",
|
|
5686
|
-
height: "14",
|
|
5687
|
-
fill: "none",
|
|
5688
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
5689
|
-
};
|
|
5690
|
-
var LaunchIcon = function LaunchIcon(props) {
|
|
5696
|
+
}
|
|
5697
|
+
function Launch(props) {
|
|
5691
5698
|
return jsxs("svg", {
|
|
5699
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5700
|
+
viewBox: "0 0 32 32",
|
|
5692
5701
|
...props,
|
|
5693
5702
|
children: [jsx("path", {
|
|
5694
|
-
d: "M26
|
|
5695
|
-
}), jsx("
|
|
5696
|
-
|
|
5703
|
+
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"
|
|
5704
|
+
}), jsx("polygon", {
|
|
5705
|
+
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"
|
|
5697
5706
|
})]
|
|
5698
5707
|
});
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5702
|
-
viewBox: "0 0 32 32"
|
|
5703
|
-
};
|
|
5704
|
-
var OpenPopupIcon = function OpenPopupIcon(props) {
|
|
5708
|
+
}
|
|
5709
|
+
function OpenPopup(props) {
|
|
5705
5710
|
return jsx("svg", {
|
|
5711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5712
|
+
viewBox: "0 0 16 16",
|
|
5706
5713
|
...props,
|
|
5707
5714
|
children: jsx("path", {
|
|
5708
|
-
d: "M6
|
|
5715
|
+
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"
|
|
5709
5716
|
})
|
|
5710
5717
|
});
|
|
5711
|
-
}
|
|
5712
|
-
OpenPopupIcon.defaultProps = {
|
|
5713
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5714
|
-
viewBox: "0 0 16 16"
|
|
5715
|
-
};
|
|
5718
|
+
}
|
|
5716
5719
|
|
|
5717
5720
|
/**
|
|
5718
5721
|
* @typedef { {
|
|
@@ -5793,7 +5796,7 @@ function Header(props) {
|
|
|
5793
5796
|
href: documentationRef,
|
|
5794
5797
|
title: translate('Open documentation'),
|
|
5795
5798
|
target: "_blank",
|
|
5796
|
-
children: jsx(
|
|
5799
|
+
children: jsx(ExternalLink, {})
|
|
5797
5800
|
}) : null
|
|
5798
5801
|
})]
|
|
5799
5802
|
});
|
|
@@ -6448,7 +6451,7 @@ function Group(props) {
|
|
|
6448
6451
|
type: "button",
|
|
6449
6452
|
title: translate('Toggle section'),
|
|
6450
6453
|
class: "bio-properties-panel-group-header-button bio-properties-panel-arrow",
|
|
6451
|
-
children: jsx(
|
|
6454
|
+
children: jsx(Arrow, {
|
|
6452
6455
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
6453
6456
|
})
|
|
6454
6457
|
})]
|
|
@@ -6827,7 +6830,7 @@ function CollapsibleEntry(props) {
|
|
|
6827
6830
|
type: "button",
|
|
6828
6831
|
title: translate('Toggle list item'),
|
|
6829
6832
|
class: "bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",
|
|
6830
|
-
children: jsx(
|
|
6833
|
+
children: jsx(Arrow, {
|
|
6831
6834
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
6832
6835
|
})
|
|
6833
6836
|
}), remove ? jsx("button", {
|
|
@@ -6835,7 +6838,7 @@ function CollapsibleEntry(props) {
|
|
|
6835
6838
|
title: translate('Delete item'),
|
|
6836
6839
|
class: "bio-properties-panel-remove-entry",
|
|
6837
6840
|
onClick: remove,
|
|
6838
|
-
children: jsx(
|
|
6841
|
+
children: jsx(Delete, {})
|
|
6839
6842
|
}) : null]
|
|
6840
6843
|
}), jsx("div", {
|
|
6841
6844
|
class: classnames('bio-properties-panel-collapsible-entry-entries', open ? 'open' : ''),
|
|
@@ -6975,7 +6978,7 @@ function ListGroup(props) {
|
|
|
6975
6978
|
title: translate('Create new list item'),
|
|
6976
6979
|
class: "bio-properties-panel-group-header-button bio-properties-panel-add-entry",
|
|
6977
6980
|
onClick: handleAddClick,
|
|
6978
|
-
children: [jsx(
|
|
6981
|
+
children: [jsx(Create, {}), !hasItems ? jsx("span", {
|
|
6979
6982
|
class: "bio-properties-panel-add-entry-label",
|
|
6980
6983
|
children: translate('Create')
|
|
6981
6984
|
}) : null]
|
|
@@ -6989,7 +6992,7 @@ function ListGroup(props) {
|
|
|
6989
6992
|
type: "button",
|
|
6990
6993
|
title: translate('Toggle section'),
|
|
6991
6994
|
class: "bio-properties-panel-group-header-button bio-properties-panel-arrow",
|
|
6992
|
-
children: jsx(
|
|
6995
|
+
children: jsx(Arrow, {
|
|
6993
6996
|
class: open ? 'bio-properties-panel-arrow-down' : 'bio-properties-panel-arrow-right'
|
|
6994
6997
|
})
|
|
6995
6998
|
}) : null]
|
|
@@ -7186,7 +7189,7 @@ function OpenPopupButton({
|
|
|
7186
7189
|
title: title,
|
|
7187
7190
|
class: 'bio-properties-panel-open-feel-popup',
|
|
7188
7191
|
onClick: onClick,
|
|
7189
|
-
children: jsx(
|
|
7192
|
+
children: jsx(OpenPopup, {})
|
|
7190
7193
|
});
|
|
7191
7194
|
}
|
|
7192
7195
|
const noop$5 = () => {};
|
|
@@ -7483,7 +7486,7 @@ function FeelIcon(props) {
|
|
|
7483
7486
|
onClick: handleClick,
|
|
7484
7487
|
disabled: feel === 'required' || disabled,
|
|
7485
7488
|
title: feel === 'required' ? feelRequiredLabel : feelOptionalLabel,
|
|
7486
|
-
children: jsx(
|
|
7489
|
+
children: jsx(Feel, {})
|
|
7487
7490
|
});
|
|
7488
7491
|
}
|
|
7489
7492
|
|
|
@@ -9393,7 +9396,7 @@ function Title(props) {
|
|
|
9393
9396
|
class: "bio-properties-panel-popup__drag-preview"
|
|
9394
9397
|
}), jsx("div", {
|
|
9395
9398
|
class: "bio-properties-panel-popup__drag-handle",
|
|
9396
|
-
children: jsx(
|
|
9399
|
+
children: jsx(Drag, {})
|
|
9397
9400
|
})]
|
|
9398
9401
|
}), jsx("div", {
|
|
9399
9402
|
class: "bio-properties-panel-popup__title",
|
|
@@ -9403,7 +9406,7 @@ function Title(props) {
|
|
|
9403
9406
|
title: closeButtonTooltip,
|
|
9404
9407
|
class: "bio-properties-panel-popup__close",
|
|
9405
9408
|
onClick: onClose,
|
|
9406
|
-
children: jsx(
|
|
9409
|
+
children: jsx(Close, {})
|
|
9407
9410
|
})]
|
|
9408
9411
|
});
|
|
9409
9412
|
}
|
|
@@ -9537,7 +9540,7 @@ function FeelPopup$1(props) {
|
|
|
9537
9540
|
href: link.href,
|
|
9538
9541
|
target: "_blank",
|
|
9539
9542
|
class: "bio-properties-panel-feel-popup__title-link",
|
|
9540
|
-
children: [link.title, jsx(
|
|
9543
|
+
children: [link.title, jsx(Launch, {})]
|
|
9541
9544
|
}, index);
|
|
9542
9545
|
})
|
|
9543
9546
|
})
|