reneco-hierarchized-picker 0.4.2-beta.12 → 0.4.2-beta.14
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reneco-hierarchized-picker.cjs.js +1 -1
- package/dist/cjs/reneco-hierarchized-picker_2.cjs.entry.js +26 -15
- package/dist/collection/components/hierarchized-picker/hierarchized-picker.js +22 -3
- package/dist/collection/components/treejs/index.js +7 -7
- package/dist/collection/features/tree/drag-drop.js +15 -5
- package/dist/custom-elements/index.js +27 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reneco-hierarchized-picker.js +1 -1
- package/dist/esm/reneco-hierarchized-picker_2.entry.js +26 -15
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/reneco-hierarchized-picker.js +1 -1
- package/dist/esm-es5/reneco-hierarchized-picker_2.entry.js +1 -1
- package/dist/reneco-hierarchized-picker/p-30588b47.system.entry.js +3 -0
- package/dist/reneco-hierarchized-picker/p-73168a50.system.js +1 -1
- package/dist/reneco-hierarchized-picker/p-73cf2467.entry.js +1 -0
- package/dist/reneco-hierarchized-picker/reneco-hierarchized-picker.esm.js +1 -1
- package/dist/types/components/hierarchized-picker/hierarchized-picker.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/features/tree/drag-drop.d.ts +5 -5
- package/package.json +1 -1
- package/dist/reneco-hierarchized-picker/p-61375f23.entry.js +0 -1
- package/dist/reneco-hierarchized-picker/p-a249a122.system.entry.js +0 -3
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["reneco-hierarchized-picker_2.cjs",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["reneco-hierarchized-picker_2.cjs",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"activatedDragAndDrop":[4,"activated-drag-and-drop"],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["reneco-hierarchized-picker_2.cjs",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
20
|
+
return index.bootstrapLazy([["reneco-hierarchized-picker_2.cjs",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"activatedDragAndDrop":[4,"activated-drag-and-drop"],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -52,7 +52,9 @@ const acceptableDelayBetweenSimilarActions = 300;
|
|
|
52
52
|
/**
|
|
53
53
|
* Handles the drag start event.
|
|
54
54
|
*/
|
|
55
|
-
function onItemDragStart(el, e) {
|
|
55
|
+
function onItemDragStart(el, e, active = true) {
|
|
56
|
+
if (!active)
|
|
57
|
+
return;
|
|
56
58
|
curDraggingItem = el;
|
|
57
59
|
el.classList.add('dragging');
|
|
58
60
|
e.stopPropagation();
|
|
@@ -60,7 +62,9 @@ function onItemDragStart(el, e) {
|
|
|
60
62
|
/**
|
|
61
63
|
* Handles the drag end event.
|
|
62
64
|
*/
|
|
63
|
-
function onItemDragEnd(el, e) {
|
|
65
|
+
function onItemDragEnd(el, e, active = true) {
|
|
66
|
+
if (!active)
|
|
67
|
+
return;
|
|
64
68
|
el.classList.remove('dragging');
|
|
65
69
|
e.stopPropagation();
|
|
66
70
|
clearDragOverStyles(el.parentElement);
|
|
@@ -68,7 +72,9 @@ function onItemDragEnd(el, e) {
|
|
|
68
72
|
/**
|
|
69
73
|
* Handles the drag over event.
|
|
70
74
|
*/
|
|
71
|
-
function onItemDragOver(el, e) {
|
|
75
|
+
function onItemDragOver(el, e, active = true) {
|
|
76
|
+
if (!active)
|
|
77
|
+
return;
|
|
72
78
|
const now = new Date().getTime();
|
|
73
79
|
if (now - lastDraggedOverTimeForAscendent < 50 && el.dataset.nodeId !== lastDraggedOverNodeId) {
|
|
74
80
|
return;
|
|
@@ -97,7 +103,9 @@ function onItemDragOver(el, e) {
|
|
|
97
103
|
/**
|
|
98
104
|
* Handles the drag leave event.
|
|
99
105
|
*/
|
|
100
|
-
function onItemDragLeave(el, e) {
|
|
106
|
+
function onItemDragLeave(el, e, active = true) {
|
|
107
|
+
if (!active)
|
|
108
|
+
return;
|
|
101
109
|
clearDragOverStyles(el);
|
|
102
110
|
el.classList.remove('dragover');
|
|
103
111
|
e.stopPropagation();
|
|
@@ -105,7 +113,9 @@ function onItemDragLeave(el, e) {
|
|
|
105
113
|
/**
|
|
106
114
|
* Handles the drop event.
|
|
107
115
|
*/
|
|
108
|
-
function onItemDrop(el, e, dropCallback) {
|
|
116
|
+
function onItemDrop(el, e, active = true, dropCallback) {
|
|
117
|
+
if (!active)
|
|
118
|
+
return;
|
|
109
119
|
clearDragOverStyles(el);
|
|
110
120
|
el.classList.remove('dragover');
|
|
111
121
|
e.stopPropagation();
|
|
@@ -331,7 +341,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
331
341
|
if (this.options.parentApi.theOptions.origin == 'classification') {
|
|
332
342
|
// WS Call
|
|
333
343
|
this.options.rawDataManager
|
|
334
|
-
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })))
|
|
344
|
+
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })), document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
335
345
|
.then(data => {
|
|
336
346
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
337
347
|
});
|
|
@@ -343,7 +353,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
343
353
|
StartNodeID: target.parentNode.nodeId,
|
|
344
354
|
lng: this.options.parentApi.theOptions.options.lng,
|
|
345
355
|
IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
|
|
346
|
-
})
|
|
356
|
+
}, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
347
357
|
.then(data => {
|
|
348
358
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
349
359
|
});
|
|
@@ -666,19 +676,19 @@ Tree.prototype.createLiEle = function (node, closed) {
|
|
|
666
676
|
if (this.options.parentApi.theOptions.dragAndDropEnabled) {
|
|
667
677
|
li.setAttribute('draggable', 'true');
|
|
668
678
|
li.addEventListener('dragstart', e => {
|
|
669
|
-
onItemDragStart(li, e);
|
|
679
|
+
onItemDragStart(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
670
680
|
});
|
|
671
681
|
li.addEventListener('dragend', e => {
|
|
672
|
-
onItemDragEnd(li, e);
|
|
682
|
+
onItemDragEnd(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
673
683
|
});
|
|
674
684
|
li.addEventListener('dragover', e => {
|
|
675
|
-
onItemDragOver(li, e);
|
|
685
|
+
onItemDragOver(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
676
686
|
});
|
|
677
687
|
li.addEventListener('dragleave', e => {
|
|
678
|
-
onItemDragLeave(li, e);
|
|
688
|
+
onItemDragLeave(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
679
689
|
});
|
|
680
690
|
li.addEventListener('drop', e => {
|
|
681
|
-
onItemDrop(li, e, (dragEl, dropEl, position) => {
|
|
691
|
+
onItemDrop(li, e, this.options.parentApi.activatedDragAndDrop, (dragEl, dropEl, position) => {
|
|
682
692
|
this.options.parentApi.itemDropped.emit({ dragEl, dropEl, position });
|
|
683
693
|
});
|
|
684
694
|
});
|
|
@@ -18865,6 +18875,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18865
18875
|
this.value = [];
|
|
18866
18876
|
this.shownTree = false;
|
|
18867
18877
|
this.searchResultData = [];
|
|
18878
|
+
this.activatedDragAndDrop = true;
|
|
18868
18879
|
this.hasFocus = undefined;
|
|
18869
18880
|
this.errorToLog = '';
|
|
18870
18881
|
this.checkFields = this.checkFields.bind(this);
|
|
@@ -18909,7 +18920,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18909
18920
|
return;
|
|
18910
18921
|
}
|
|
18911
18922
|
if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
|
|
18912
|
-
this.loadDataForTree(true);
|
|
18923
|
+
this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
|
|
18913
18924
|
}
|
|
18914
18925
|
}
|
|
18915
18926
|
async initComponent() {
|
|
@@ -19174,7 +19185,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19174
19185
|
// WS Call
|
|
19175
19186
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19176
19187
|
searchedValue: searched
|
|
19177
|
-
})
|
|
19188
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19178
19189
|
.then((data) => {
|
|
19179
19190
|
displayResults(data);
|
|
19180
19191
|
if (!searched) {
|
|
@@ -19193,7 +19204,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19193
19204
|
searchedValue: searched,
|
|
19194
19205
|
searchNameOnly: true,
|
|
19195
19206
|
deprecated: false,
|
|
19196
|
-
})
|
|
19207
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19197
19208
|
.then((data) => {
|
|
19198
19209
|
displayResults(data);
|
|
19199
19210
|
if (!searched) {
|
|
@@ -204,6 +204,7 @@ export class HierarchizedPickerComponent {
|
|
|
204
204
|
this.value = [];
|
|
205
205
|
this.shownTree = false;
|
|
206
206
|
this.searchResultData = [];
|
|
207
|
+
this.activatedDragAndDrop = true;
|
|
207
208
|
this.hasFocus = undefined;
|
|
208
209
|
this.errorToLog = '';
|
|
209
210
|
this.checkFields = this.checkFields.bind(this);
|
|
@@ -248,7 +249,7 @@ export class HierarchizedPickerComponent {
|
|
|
248
249
|
return;
|
|
249
250
|
}
|
|
250
251
|
if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
|
|
251
|
-
this.loadDataForTree(true);
|
|
252
|
+
this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
255
|
async initComponent() {
|
|
@@ -516,7 +517,7 @@ export class HierarchizedPickerComponent {
|
|
|
516
517
|
// WS Call
|
|
517
518
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
518
519
|
searchedValue: searched
|
|
519
|
-
})
|
|
520
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
520
521
|
.then((data) => {
|
|
521
522
|
displayResults(data);
|
|
522
523
|
if (!searched) {
|
|
@@ -535,7 +536,7 @@ export class HierarchizedPickerComponent {
|
|
|
535
536
|
searchedValue: searched,
|
|
536
537
|
searchNameOnly: true,
|
|
537
538
|
deprecated: false,
|
|
538
|
-
})
|
|
539
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
539
540
|
.then((data) => {
|
|
540
541
|
displayResults(data);
|
|
541
542
|
if (!searched) {
|
|
@@ -1120,6 +1121,24 @@ export class HierarchizedPickerComponent {
|
|
|
1120
1121
|
},
|
|
1121
1122
|
"attribute": "newfilter",
|
|
1122
1123
|
"reflect": false
|
|
1124
|
+
},
|
|
1125
|
+
"activatedDragAndDrop": {
|
|
1126
|
+
"type": "boolean",
|
|
1127
|
+
"mutable": false,
|
|
1128
|
+
"complexType": {
|
|
1129
|
+
"original": "boolean",
|
|
1130
|
+
"resolved": "boolean",
|
|
1131
|
+
"references": {}
|
|
1132
|
+
},
|
|
1133
|
+
"required": false,
|
|
1134
|
+
"optional": false,
|
|
1135
|
+
"docs": {
|
|
1136
|
+
"tags": [],
|
|
1137
|
+
"text": ""
|
|
1138
|
+
},
|
|
1139
|
+
"attribute": "activated-drag-and-drop",
|
|
1140
|
+
"reflect": false,
|
|
1141
|
+
"defaultValue": "true"
|
|
1123
1142
|
}
|
|
1124
1143
|
};
|
|
1125
1144
|
}
|
|
@@ -209,7 +209,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
209
209
|
if (this.options.parentApi.theOptions.origin == 'classification') {
|
|
210
210
|
// WS Call
|
|
211
211
|
this.options.rawDataManager
|
|
212
|
-
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })))
|
|
212
|
+
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })), document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
213
213
|
.then(data => {
|
|
214
214
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
215
215
|
});
|
|
@@ -221,7 +221,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
221
221
|
StartNodeID: target.parentNode.nodeId,
|
|
222
222
|
lng: this.options.parentApi.theOptions.options.lng,
|
|
223
223
|
IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
|
|
224
|
-
})
|
|
224
|
+
}, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
225
225
|
.then(data => {
|
|
226
226
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
227
227
|
});
|
|
@@ -545,19 +545,19 @@ Tree.prototype.createLiEle = function (node, closed) {
|
|
|
545
545
|
if (this.options.parentApi.theOptions.dragAndDropEnabled) {
|
|
546
546
|
li.setAttribute('draggable', 'true');
|
|
547
547
|
li.addEventListener('dragstart', e => {
|
|
548
|
-
onItemDragStart(li, e);
|
|
548
|
+
onItemDragStart(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
549
549
|
});
|
|
550
550
|
li.addEventListener('dragend', e => {
|
|
551
|
-
onItemDragEnd(li, e);
|
|
551
|
+
onItemDragEnd(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
552
552
|
});
|
|
553
553
|
li.addEventListener('dragover', e => {
|
|
554
|
-
onItemDragOver(li, e);
|
|
554
|
+
onItemDragOver(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
555
555
|
});
|
|
556
556
|
li.addEventListener('dragleave', e => {
|
|
557
|
-
onItemDragLeave(li, e);
|
|
557
|
+
onItemDragLeave(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
558
558
|
});
|
|
559
559
|
li.addEventListener('drop', e => {
|
|
560
|
-
onItemDrop(li, e, (dragEl, dropEl, position) => {
|
|
560
|
+
onItemDrop(li, e, this.options.parentApi.activatedDragAndDrop, (dragEl, dropEl, position) => {
|
|
561
561
|
this.options.parentApi.itemDropped.emit({ dragEl, dropEl, position });
|
|
562
562
|
});
|
|
563
563
|
});
|
|
@@ -6,7 +6,9 @@ const acceptableDelayBetweenSimilarActions = 300;
|
|
|
6
6
|
/**
|
|
7
7
|
* Handles the drag start event.
|
|
8
8
|
*/
|
|
9
|
-
export function onItemDragStart(el, e) {
|
|
9
|
+
export function onItemDragStart(el, e, active = true) {
|
|
10
|
+
if (!active)
|
|
11
|
+
return;
|
|
10
12
|
curDraggingItem = el;
|
|
11
13
|
el.classList.add('dragging');
|
|
12
14
|
e.stopPropagation();
|
|
@@ -14,7 +16,9 @@ export function onItemDragStart(el, e) {
|
|
|
14
16
|
/**
|
|
15
17
|
* Handles the drag end event.
|
|
16
18
|
*/
|
|
17
|
-
export function onItemDragEnd(el, e) {
|
|
19
|
+
export function onItemDragEnd(el, e, active = true) {
|
|
20
|
+
if (!active)
|
|
21
|
+
return;
|
|
18
22
|
el.classList.remove('dragging');
|
|
19
23
|
e.stopPropagation();
|
|
20
24
|
clearDragOverStyles(el.parentElement);
|
|
@@ -22,7 +26,9 @@ export function onItemDragEnd(el, e) {
|
|
|
22
26
|
/**
|
|
23
27
|
* Handles the drag over event.
|
|
24
28
|
*/
|
|
25
|
-
export function onItemDragOver(el, e) {
|
|
29
|
+
export function onItemDragOver(el, e, active = true) {
|
|
30
|
+
if (!active)
|
|
31
|
+
return;
|
|
26
32
|
const now = new Date().getTime();
|
|
27
33
|
if (now - lastDraggedOverTimeForAscendent < 50 && el.dataset.nodeId !== lastDraggedOverNodeId) {
|
|
28
34
|
return;
|
|
@@ -51,7 +57,9 @@ export function onItemDragOver(el, e) {
|
|
|
51
57
|
/**
|
|
52
58
|
* Handles the drag leave event.
|
|
53
59
|
*/
|
|
54
|
-
export function onItemDragLeave(el, e) {
|
|
60
|
+
export function onItemDragLeave(el, e, active = true) {
|
|
61
|
+
if (!active)
|
|
62
|
+
return;
|
|
55
63
|
clearDragOverStyles(el);
|
|
56
64
|
el.classList.remove('dragover');
|
|
57
65
|
e.stopPropagation();
|
|
@@ -59,7 +67,9 @@ export function onItemDragLeave(el, e) {
|
|
|
59
67
|
/**
|
|
60
68
|
* Handles the drop event.
|
|
61
69
|
*/
|
|
62
|
-
export function onItemDrop(el, e, dropCallback) {
|
|
70
|
+
export function onItemDrop(el, e, active = true, dropCallback) {
|
|
71
|
+
if (!active)
|
|
72
|
+
return;
|
|
63
73
|
clearDragOverStyles(el);
|
|
64
74
|
el.classList.remove('dragover');
|
|
65
75
|
e.stopPropagation();
|
|
@@ -49,7 +49,9 @@ const acceptableDelayBetweenSimilarActions = 300;
|
|
|
49
49
|
/**
|
|
50
50
|
* Handles the drag start event.
|
|
51
51
|
*/
|
|
52
|
-
function onItemDragStart(el, e) {
|
|
52
|
+
function onItemDragStart(el, e, active = true) {
|
|
53
|
+
if (!active)
|
|
54
|
+
return;
|
|
53
55
|
curDraggingItem = el;
|
|
54
56
|
el.classList.add('dragging');
|
|
55
57
|
e.stopPropagation();
|
|
@@ -57,7 +59,9 @@ function onItemDragStart(el, e) {
|
|
|
57
59
|
/**
|
|
58
60
|
* Handles the drag end event.
|
|
59
61
|
*/
|
|
60
|
-
function onItemDragEnd(el, e) {
|
|
62
|
+
function onItemDragEnd(el, e, active = true) {
|
|
63
|
+
if (!active)
|
|
64
|
+
return;
|
|
61
65
|
el.classList.remove('dragging');
|
|
62
66
|
e.stopPropagation();
|
|
63
67
|
clearDragOverStyles(el.parentElement);
|
|
@@ -65,7 +69,9 @@ function onItemDragEnd(el, e) {
|
|
|
65
69
|
/**
|
|
66
70
|
* Handles the drag over event.
|
|
67
71
|
*/
|
|
68
|
-
function onItemDragOver(el, e) {
|
|
72
|
+
function onItemDragOver(el, e, active = true) {
|
|
73
|
+
if (!active)
|
|
74
|
+
return;
|
|
69
75
|
const now = new Date().getTime();
|
|
70
76
|
if (now - lastDraggedOverTimeForAscendent < 50 && el.dataset.nodeId !== lastDraggedOverNodeId) {
|
|
71
77
|
return;
|
|
@@ -94,7 +100,9 @@ function onItemDragOver(el, e) {
|
|
|
94
100
|
/**
|
|
95
101
|
* Handles the drag leave event.
|
|
96
102
|
*/
|
|
97
|
-
function onItemDragLeave(el, e) {
|
|
103
|
+
function onItemDragLeave(el, e, active = true) {
|
|
104
|
+
if (!active)
|
|
105
|
+
return;
|
|
98
106
|
clearDragOverStyles(el);
|
|
99
107
|
el.classList.remove('dragover');
|
|
100
108
|
e.stopPropagation();
|
|
@@ -102,7 +110,9 @@ function onItemDragLeave(el, e) {
|
|
|
102
110
|
/**
|
|
103
111
|
* Handles the drop event.
|
|
104
112
|
*/
|
|
105
|
-
function onItemDrop(el, e, dropCallback) {
|
|
113
|
+
function onItemDrop(el, e, active = true, dropCallback) {
|
|
114
|
+
if (!active)
|
|
115
|
+
return;
|
|
106
116
|
clearDragOverStyles(el);
|
|
107
117
|
el.classList.remove('dragover');
|
|
108
118
|
e.stopPropagation();
|
|
@@ -328,7 +338,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
328
338
|
if (this.options.parentApi.theOptions.origin == 'classification') {
|
|
329
339
|
// WS Call
|
|
330
340
|
this.options.rawDataManager
|
|
331
|
-
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })))
|
|
341
|
+
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })), document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
332
342
|
.then(data => {
|
|
333
343
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
334
344
|
});
|
|
@@ -340,7 +350,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
340
350
|
StartNodeID: target.parentNode.nodeId,
|
|
341
351
|
lng: this.options.parentApi.theOptions.options.lng,
|
|
342
352
|
IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
|
|
343
|
-
})
|
|
353
|
+
}, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
344
354
|
.then(data => {
|
|
345
355
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
346
356
|
});
|
|
@@ -663,19 +673,19 @@ Tree.prototype.createLiEle = function (node, closed) {
|
|
|
663
673
|
if (this.options.parentApi.theOptions.dragAndDropEnabled) {
|
|
664
674
|
li.setAttribute('draggable', 'true');
|
|
665
675
|
li.addEventListener('dragstart', e => {
|
|
666
|
-
onItemDragStart(li, e);
|
|
676
|
+
onItemDragStart(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
667
677
|
});
|
|
668
678
|
li.addEventListener('dragend', e => {
|
|
669
|
-
onItemDragEnd(li, e);
|
|
679
|
+
onItemDragEnd(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
670
680
|
});
|
|
671
681
|
li.addEventListener('dragover', e => {
|
|
672
|
-
onItemDragOver(li, e);
|
|
682
|
+
onItemDragOver(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
673
683
|
});
|
|
674
684
|
li.addEventListener('dragleave', e => {
|
|
675
|
-
onItemDragLeave(li, e);
|
|
685
|
+
onItemDragLeave(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
676
686
|
});
|
|
677
687
|
li.addEventListener('drop', e => {
|
|
678
|
-
onItemDrop(li, e, (dragEl, dropEl, position) => {
|
|
688
|
+
onItemDrop(li, e, this.options.parentApi.activatedDragAndDrop, (dragEl, dropEl, position) => {
|
|
679
689
|
this.options.parentApi.itemDropped.emit({ dragEl, dropEl, position });
|
|
680
690
|
});
|
|
681
691
|
});
|
|
@@ -18863,6 +18873,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
18863
18873
|
this.value = [];
|
|
18864
18874
|
this.shownTree = false;
|
|
18865
18875
|
this.searchResultData = [];
|
|
18876
|
+
this.activatedDragAndDrop = true;
|
|
18866
18877
|
this.hasFocus = undefined;
|
|
18867
18878
|
this.errorToLog = '';
|
|
18868
18879
|
this.checkFields = this.checkFields.bind(this);
|
|
@@ -18907,7 +18918,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
18907
18918
|
return;
|
|
18908
18919
|
}
|
|
18909
18920
|
if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
|
|
18910
|
-
this.loadDataForTree(true);
|
|
18921
|
+
this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
|
|
18911
18922
|
}
|
|
18912
18923
|
}
|
|
18913
18924
|
async initComponent() {
|
|
@@ -19172,7 +19183,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19172
19183
|
// WS Call
|
|
19173
19184
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19174
19185
|
searchedValue: searched
|
|
19175
|
-
})
|
|
19186
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19176
19187
|
.then((data) => {
|
|
19177
19188
|
displayResults(data);
|
|
19178
19189
|
if (!searched) {
|
|
@@ -19191,7 +19202,7 @@ const HierarchizedPickerComponent = class extends HTMLElement {
|
|
|
19191
19202
|
searchedValue: searched,
|
|
19192
19203
|
searchNameOnly: true,
|
|
19193
19204
|
deprecated: false,
|
|
19194
|
-
})
|
|
19205
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19195
19206
|
.then((data) => {
|
|
19196
19207
|
displayResults(data);
|
|
19197
19208
|
if (!searched) {
|
|
@@ -19728,7 +19739,7 @@ const SearchInput$1 = class extends HTMLElement {
|
|
|
19728
19739
|
static get style() { return searchInputCss; }
|
|
19729
19740
|
};
|
|
19730
19741
|
|
|
19731
|
-
const RenecoHierarchizedPicker = /*@__PURE__*/proxyCustomElement(HierarchizedPickerComponent, [0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32]}]);
|
|
19742
|
+
const RenecoHierarchizedPicker = /*@__PURE__*/proxyCustomElement(HierarchizedPickerComponent, [0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"activatedDragAndDrop":[4,"activated-drag-and-drop"],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32]}]);
|
|
19732
19743
|
const SearchInput = /*@__PURE__*/proxyCustomElement(SearchInput$1, [0,"search-input",{"placeholder":[1]}]);
|
|
19733
19744
|
const defineCustomElements = (opts) => {
|
|
19734
19745
|
if (typeof customElements !== 'undefined') {
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
14
|
+
return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"activatedDragAndDrop":[4,"activated-drag-and-drop"],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
17
|
+
return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{"options":[1],"valueChangeCallback":[16],"disabled":[4],"newoptions":[1],"newfilter":[1],"activatedDragAndDrop":[4,"activated-drag-and-drop"],"isDisabled":[32],"componentID":[32],"rawData":[32],"pickerClass":[32],"displayedValue":[32],"value":[32],"shownTree":[32],"searchResultData":[32],"hasFocus":[32],"errorToLog":[32],"getValue":[64],"refreshPicker":[64],"setOptions":[64],"getSearchResult":[64],"filterTree":[64],"clearPicker":[64],"showSelectedNodes":[64]}],[0,"search-input",{"placeholder":[1],"setFocus":[64]}]]]], options);
|
|
18
18
|
});
|
|
@@ -48,7 +48,9 @@ const acceptableDelayBetweenSimilarActions = 300;
|
|
|
48
48
|
/**
|
|
49
49
|
* Handles the drag start event.
|
|
50
50
|
*/
|
|
51
|
-
function onItemDragStart(el, e) {
|
|
51
|
+
function onItemDragStart(el, e, active = true) {
|
|
52
|
+
if (!active)
|
|
53
|
+
return;
|
|
52
54
|
curDraggingItem = el;
|
|
53
55
|
el.classList.add('dragging');
|
|
54
56
|
e.stopPropagation();
|
|
@@ -56,7 +58,9 @@ function onItemDragStart(el, e) {
|
|
|
56
58
|
/**
|
|
57
59
|
* Handles the drag end event.
|
|
58
60
|
*/
|
|
59
|
-
function onItemDragEnd(el, e) {
|
|
61
|
+
function onItemDragEnd(el, e, active = true) {
|
|
62
|
+
if (!active)
|
|
63
|
+
return;
|
|
60
64
|
el.classList.remove('dragging');
|
|
61
65
|
e.stopPropagation();
|
|
62
66
|
clearDragOverStyles(el.parentElement);
|
|
@@ -64,7 +68,9 @@ function onItemDragEnd(el, e) {
|
|
|
64
68
|
/**
|
|
65
69
|
* Handles the drag over event.
|
|
66
70
|
*/
|
|
67
|
-
function onItemDragOver(el, e) {
|
|
71
|
+
function onItemDragOver(el, e, active = true) {
|
|
72
|
+
if (!active)
|
|
73
|
+
return;
|
|
68
74
|
const now = new Date().getTime();
|
|
69
75
|
if (now - lastDraggedOverTimeForAscendent < 50 && el.dataset.nodeId !== lastDraggedOverNodeId) {
|
|
70
76
|
return;
|
|
@@ -93,7 +99,9 @@ function onItemDragOver(el, e) {
|
|
|
93
99
|
/**
|
|
94
100
|
* Handles the drag leave event.
|
|
95
101
|
*/
|
|
96
|
-
function onItemDragLeave(el, e) {
|
|
102
|
+
function onItemDragLeave(el, e, active = true) {
|
|
103
|
+
if (!active)
|
|
104
|
+
return;
|
|
97
105
|
clearDragOverStyles(el);
|
|
98
106
|
el.classList.remove('dragover');
|
|
99
107
|
e.stopPropagation();
|
|
@@ -101,7 +109,9 @@ function onItemDragLeave(el, e) {
|
|
|
101
109
|
/**
|
|
102
110
|
* Handles the drop event.
|
|
103
111
|
*/
|
|
104
|
-
function onItemDrop(el, e, dropCallback) {
|
|
112
|
+
function onItemDrop(el, e, active = true, dropCallback) {
|
|
113
|
+
if (!active)
|
|
114
|
+
return;
|
|
105
115
|
clearDragOverStyles(el);
|
|
106
116
|
el.classList.remove('dragover');
|
|
107
117
|
e.stopPropagation();
|
|
@@ -327,7 +337,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
327
337
|
if (this.options.parentApi.theOptions.origin == 'classification') {
|
|
328
338
|
// WS Call
|
|
329
339
|
this.options.rawDataManager
|
|
330
|
-
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })))
|
|
340
|
+
.getFromClassification(this.options.parentApi.getContextualApiURL(), this.options.parentApi.getContextualApiParams(Object.assign(Object.assign({}, this.options.parentApi.theOptions.options), { startNode: target.parentNode.nodeId })), document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
331
341
|
.then(data => {
|
|
332
342
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
333
343
|
});
|
|
@@ -339,7 +349,7 @@ Tree.prototype.bindEvent = function (ele) {
|
|
|
339
349
|
StartNodeID: target.parentNode.nodeId,
|
|
340
350
|
lng: this.options.parentApi.theOptions.options.lng,
|
|
341
351
|
IsDeprecated: this.options.parentApi.theOptions.options.IsDeprecated,
|
|
342
|
-
})
|
|
352
|
+
}, document.querySelector("#hierarchized-picker-" + this.options.parentApi.componentID + ".loader"))
|
|
343
353
|
.then(data => {
|
|
344
354
|
this.options.completeCurrentTreeWithTree(this, data, this.options.parentApi.theOptions);
|
|
345
355
|
});
|
|
@@ -662,19 +672,19 @@ Tree.prototype.createLiEle = function (node, closed) {
|
|
|
662
672
|
if (this.options.parentApi.theOptions.dragAndDropEnabled) {
|
|
663
673
|
li.setAttribute('draggable', 'true');
|
|
664
674
|
li.addEventListener('dragstart', e => {
|
|
665
|
-
onItemDragStart(li, e);
|
|
675
|
+
onItemDragStart(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
666
676
|
});
|
|
667
677
|
li.addEventListener('dragend', e => {
|
|
668
|
-
onItemDragEnd(li, e);
|
|
678
|
+
onItemDragEnd(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
669
679
|
});
|
|
670
680
|
li.addEventListener('dragover', e => {
|
|
671
|
-
onItemDragOver(li, e);
|
|
681
|
+
onItemDragOver(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
672
682
|
});
|
|
673
683
|
li.addEventListener('dragleave', e => {
|
|
674
|
-
onItemDragLeave(li, e);
|
|
684
|
+
onItemDragLeave(li, e, this.options.parentApi.activatedDragAndDrop);
|
|
675
685
|
});
|
|
676
686
|
li.addEventListener('drop', e => {
|
|
677
|
-
onItemDrop(li, e, (dragEl, dropEl, position) => {
|
|
687
|
+
onItemDrop(li, e, this.options.parentApi.activatedDragAndDrop, (dragEl, dropEl, position) => {
|
|
678
688
|
this.options.parentApi.itemDropped.emit({ dragEl, dropEl, position });
|
|
679
689
|
});
|
|
680
690
|
});
|
|
@@ -18861,6 +18871,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18861
18871
|
this.value = [];
|
|
18862
18872
|
this.shownTree = false;
|
|
18863
18873
|
this.searchResultData = [];
|
|
18874
|
+
this.activatedDragAndDrop = true;
|
|
18864
18875
|
this.hasFocus = undefined;
|
|
18865
18876
|
this.errorToLog = '';
|
|
18866
18877
|
this.checkFields = this.checkFields.bind(this);
|
|
@@ -18905,7 +18916,7 @@ const HierarchizedPickerComponent = class {
|
|
|
18905
18916
|
return;
|
|
18906
18917
|
}
|
|
18907
18918
|
if (((_a = this.optionsManager.getOptions()) === null || _a === void 0 ? void 0 : _a.loading) == 'display') {
|
|
18908
|
-
this.loadDataForTree(true);
|
|
18919
|
+
this.loadDataForTree(true, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"));
|
|
18909
18920
|
}
|
|
18910
18921
|
}
|
|
18911
18922
|
async initComponent() {
|
|
@@ -19170,7 +19181,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19170
19181
|
// WS Call
|
|
19171
19182
|
this.rawDataManager.getFromClassification(this.getApiSearchURL(), {
|
|
19172
19183
|
searchedValue: searched
|
|
19173
|
-
})
|
|
19184
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19174
19185
|
.then((data) => {
|
|
19175
19186
|
displayResults(data);
|
|
19176
19187
|
if (!searched) {
|
|
@@ -19189,7 +19200,7 @@ const HierarchizedPickerComponent = class {
|
|
|
19189
19200
|
searchedValue: searched,
|
|
19190
19201
|
searchNameOnly: true,
|
|
19191
19202
|
deprecated: false,
|
|
19192
|
-
})
|
|
19203
|
+
}, document.querySelector("#hierarchized-picker-" + this.componentID + ".loader"))
|
|
19193
19204
|
.then((data) => {
|
|
19194
19205
|
displayResults(data);
|
|
19195
19206
|
if (!searched) {
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-ef964604.js";export{s as setNonce}from"./index-ef964604.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,r){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{options:[1],valueChangeCallback:[16],disabled:[4],newoptions:[1],newfilter:[1],isDisabled:[32],componentID:[32],rawData:[32],pickerClass:[32],displayedValue:[32],value:[32],shownTree:[32],searchResultData:[32],hasFocus:[32],errorToLog:[32],getValue:[64],refreshPicker:[64],setOptions:[64],getSearchResult:[64],filterTree:[64],clearPicker:[64],showSelectedNodes:[64]}],[0,"search-input",{placeholder:[1],setFocus:[64]}]]]],r)}))};export{defineCustomElements};
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-ef964604.js";export{s as setNonce}from"./index-ef964604.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,r){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{options:[1],valueChangeCallback:[16],disabled:[4],newoptions:[1],newfilter:[1],activatedDragAndDrop:[4,"activated-drag-and-drop"],isDisabled:[32],componentID:[32],rawData:[32],pickerClass:[32],displayedValue:[32],value:[32],shownTree:[32],searchResultData:[32],hasFocus:[32],errorToLog:[32],getValue:[64],refreshPicker:[64],setOptions:[64],getSearchResult:[64],filterTree:[64],clearPicker:[64],showSelectedNodes:[64]}],[0,"search-input",{placeholder:[1],setFocus:[64]}]]]],r)}))};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-ef964604.js";export{s as setNonce}from"./index-ef964604.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{options:[1],valueChangeCallback:[16],disabled:[4],newoptions:[1],newfilter:[1],isDisabled:[32],componentID:[32],rawData:[32],pickerClass:[32],displayedValue:[32],value:[32],shownTree:[32],searchResultData:[32],hasFocus:[32],errorToLog:[32],getValue:[64],refreshPicker:[64],setOptions:[64],getSearchResult:[64],filterTree:[64],clearPicker:[64],showSelectedNodes:[64]}],[0,"search-input",{placeholder:[1],setFocus:[64]}]]]],e)}));
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-ef964604.js";export{s as setNonce}from"./index-ef964604.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["reneco-hierarchized-picker_2",[[0,"reneco-hierarchized-picker",{options:[1],valueChangeCallback:[16],disabled:[4],newoptions:[1],newfilter:[1],activatedDragAndDrop:[4,"activated-drag-and-drop"],isDisabled:[32],componentID:[32],rawData:[32],pickerClass:[32],displayedValue:[32],value:[32],shownTree:[32],searchResultData:[32],hasFocus:[32],errorToLog:[32],getValue:[64],refreshPicker:[64],setOptions:[64],getSearchResult:[64],filterTree:[64],clearPicker:[64],showSelectedNodes:[64]}],[0,"search-input",{placeholder:[1],setFocus:[64]}]]]],e)}));
|