@orangelogic/design-system 3.72.0 → 3.73.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/library/chunks/{block-width.BMFtjxt1.js → block-width.Ca7ImdeI.js} +3 -3
- package/library/chunks/{config-manager.l4GuPN9t.js → config-manager.C1YTm4Kg.js} +3 -3
- package/library/chunks/{configs-controller.Dc2KbPnm.js → configs-controller.BkBWWSds.js} +1 -1
- package/library/chunks/{file-on-demand.BzGGpvIi.js → file-on-demand.CjKvqQXz.js} +1 -1
- package/library/chunks/{folder-select.ovN7047C.js → folder-select.2sj5IssM.js} +1 -1
- package/library/chunks/{src.D9YCEfGw.js → src.B8MUOicZ.js} +1 -1
- package/library/chunks/{tree.CQFXx5Sq.js → tree.B9-viK2b.js} +68 -68
- package/library/components/atoms.js +2 -2
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/types.js +7 -7
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +5 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.o3Rjsff7.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.B8MUOicZ.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as b } from "./button.DeRJNqpr.js";
|
|
21
21
|
import { E as x, S as le, r as ue } from "./string.DAuTpyw8.js";
|
|
@@ -71,7 +71,7 @@ import { n as gt, t as _t } from "./confirm-popover.DYtD5qtp.js";
|
|
|
71
71
|
import { t as vt } from "./corner-position-input-group.lsTSrT61.js";
|
|
72
72
|
import { t as yt } from "./cropper.D5Vh9xD_.js";
|
|
73
73
|
import { t as bt } from "./dynamic-select.BLoP9tvq.js";
|
|
74
|
-
import { i as xt, n as M, r as St, t as N } from "./folder-select.
|
|
74
|
+
import { i as xt, n as M, r as St, t as N } from "./folder-select.2sj5IssM.js";
|
|
75
75
|
import { t as Ct } from "./choose.C2vpqhLc.js";
|
|
76
76
|
import { t as wt } from "./masonry.BnIxslnb.js";
|
|
77
77
|
import { t as Tt } from "./padding-input-group.BTjH4scb.js";
|
|
@@ -80,7 +80,7 @@ import { t as Dt } from "./shadow-input-group.kaLCMX3c.js";
|
|
|
80
80
|
import { t as Ot } from "./size-input-group.CFgOvLnO.js";
|
|
81
81
|
import { C as kt, S as At, T as jt, _ as Mt, b as Nt, c as Pt, f as Ft, g as It, h as Lt, i as Rt, l as zt, n as Bt, o as Vt, p as Ht, r as Ut, s as Wt, t as Gt, u as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "./asset-link-format.H-8Ub7b2.js";
|
|
82
82
|
import { c as Zt, d as Qt, f as $t, n as en, u as tn } from "./color-swatch-group.CefCwg8T.js";
|
|
83
|
-
import { C as nn, E as rn, H as an, J as on, K as sn, L as P, M as cn, S as ln, X as un, Y as dn, Z as fn, _ as pn, at as F, b as mn, g as hn, it as gn, nt as _n, ot as vn, q as yn, rt as I } from "./configs-controller.
|
|
83
|
+
import { C as nn, E as rn, H as an, J as on, K as sn, L as P, M as cn, S as ln, X as un, Y as dn, Z as fn, _ as pn, at as F, b as mn, g as hn, it as gn, nt as _n, ot as vn, q as yn, rt as I } from "./configs-controller.BkBWWSds.js";
|
|
84
84
|
import { a as bn } from "./cloneDeep.C6x5LNv3.js";
|
|
85
85
|
//#region ../../packages/types/src/icon-picker.ts
|
|
86
86
|
var xn = /* @__PURE__ */ function(e) {
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DeRJNqpr.js";
|
|
15
15
|
import { t as ee } from "./tooltip.fZNjia6Z.js";
|
|
16
16
|
import { t as te } from "./line-clamp.DAhcB8_D.js";
|
|
17
|
-
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.Ca7ImdeI.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -53,7 +53,7 @@ import { n as We, t as U } from "./confirm-popover.DYtD5qtp.js";
|
|
|
53
53
|
import { t as Ge } from "./corner-position-input-group.lsTSrT61.js";
|
|
54
54
|
import { t as W } from "./_baseIteratee.DWc2-Bvm.js";
|
|
55
55
|
import { t as Ke } from "./dynamic-select.BLoP9tvq.js";
|
|
56
|
-
import { r as G } from "./folder-select.
|
|
56
|
+
import { r as G } from "./folder-select.2sj5IssM.js";
|
|
57
57
|
import { t as qe } from "./choose.C2vpqhLc.js";
|
|
58
58
|
import { t as Je } from "./padding-input-group.BTjH4scb.js";
|
|
59
59
|
import { t as Ye } from "./position-picker.DwDC9gDl.js";
|
|
@@ -63,7 +63,7 @@ import { T as K } from "./asset-link-format.H-8Ub7b2.js";
|
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { M as nt, l as J, s as rt, t as it } from "./configs-controller.
|
|
66
|
+
import { M as nt, l as J, s as rt, t as it } from "./configs-controller.BkBWWSds.js";
|
|
67
67
|
import { t as at } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as ot } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
|
@@ -16,7 +16,7 @@ import { _ as _e, g as ve, h as ye, m as be, p as xe, s as b } from "./responsiv
|
|
|
16
16
|
import { getFontFamilyOptionValue as Se, getTypefaceOptionValue as Ce, quoteFontFamily as we, unquoteFontFamily as Te } from "../utils.js";
|
|
17
17
|
import { n as Ee, r as De } from "./header.Dz7W1DJC.js";
|
|
18
18
|
import { d as Oe, f as x, l as S, o as C, s as ke } from "./endpoints.jOHOmF_t.js";
|
|
19
|
-
import { n as Ae } from "./folder-select.
|
|
19
|
+
import { n as Ae } from "./folder-select.2sj5IssM.js";
|
|
20
20
|
import { a as w, i as T, o as E, r as D, s as je } from "./color-swatch-group.CefCwg8T.js";
|
|
21
21
|
import { n as Me } from "./isEmpty.D3QQduJ5.js";
|
|
22
22
|
import { a as O } from "./cloneDeep.C6x5LNv3.js";
|
|
@@ -33,7 +33,7 @@ import { t as fe } from "./progress-bar.BJfkoZ6G.js";
|
|
|
33
33
|
import { o as D, u as O } from "./url.CZO_DV8Y.js";
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
35
|
import { t as pe } from "./relative-time.BSSaZxeD.js";
|
|
36
|
-
import { a as A, i as me, n as he, t as j } from "./tree.
|
|
36
|
+
import { a as A, i as me, n as he, t as j } from "./tree.B9-viK2b.js";
|
|
37
37
|
import { t as ge } from "./confirm-popover.DYtD5qtp.js";
|
|
38
38
|
import { t as _e } from "./_baseIteratee.DWc2-Bvm.js";
|
|
39
39
|
import { t as ve } from "./choose.C2vpqhLc.js";
|
|
@@ -21,7 +21,7 @@ import { t as E } from "./space.Dd8jezXK.js";
|
|
|
21
21
|
import { t as D } from "./select.BivTPBtv.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { n as k } from "./asset-link-format.DhdgEsA0.js";
|
|
24
|
-
import { a as A, i as j } from "./tree.
|
|
24
|
+
import { a as A, i as j } from "./tree.B9-viK2b.js";
|
|
25
25
|
import { c as M, f as N, p as P } from "./endpoints.jOHOmF_t.js";
|
|
26
26
|
import { t as F } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
@@ -82,7 +82,7 @@ import "./step.C-T63mG1.js";
|
|
|
82
82
|
import "./stepper.DR3oqUpm.js";
|
|
83
83
|
import "./switch.CBho2RVW.js";
|
|
84
84
|
import "./timecode.DME2imtx.js";
|
|
85
|
-
import "./tree.
|
|
85
|
+
import "./tree.B9-viK2b.js";
|
|
86
86
|
import "./video.Ba6tAEvb.js";
|
|
87
87
|
//#region ../../packages/atoms/src/components/animation/animations.ts
|
|
88
88
|
function r() {
|
|
@@ -84,7 +84,7 @@ function F() {
|
|
|
84
84
|
else return !0;
|
|
85
85
|
},
|
|
86
86
|
dragStart({ cancel: e, dragEl: t }) {
|
|
87
|
-
if (t && !
|
|
87
|
+
if (t && !V.isTreeItem(t)) {
|
|
88
88
|
e();
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
@@ -125,7 +125,9 @@ var L = (e) => ({
|
|
|
125
125
|
},
|
|
126
126
|
[M]: !0,
|
|
127
127
|
swapThreshold: N
|
|
128
|
-
}), R, z =
|
|
128
|
+
}), R, z = new Image(1, 1);
|
|
129
|
+
z.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
|
|
130
|
+
var B = class extends s {
|
|
129
131
|
static #e = R = this;
|
|
130
132
|
static #t = this.styles = [l, j];
|
|
131
133
|
static #n = this.dependencies = {
|
|
@@ -141,12 +143,7 @@ var L = (e) => ({
|
|
|
141
143
|
return !this.loading && (!this.isLeaf || this.lazy);
|
|
142
144
|
}
|
|
143
145
|
constructor() {
|
|
144
|
-
super(), this.localize = new m(this), this.expanded = !1, this.selected = !1, this.disabled = !1, this.readonly = !1, this.lazy = !1, this.href = "", this.rel = "noreferrer noopener", this.itemId = "", this.sortable = !1, this.noDrag = !1, this.noSelect = !1, this.noDragInside = !1, this.sortableGroup = void 0, this.expandButtonPlacement = "start", this.noForwardExpandButtonPlacement = !1, this.disabledSyncCheckboxes = !1, this.partialSyncCheckboxes = !1, this.previouslySelected = !1, this.focusable = !1, this.maxLines = -1, this.indeterminate = !1, this.isLeaf = !1, this.loading = !1, this.selectable = !1, this.sortableInstance = null, this.onDragStart = (
|
|
145
|
-
if (e.dataTransfer) {
|
|
146
|
-
let t = this.cloneNode(!0);
|
|
147
|
-
t.style.backgroundColor = "red", t.style.display = "none", this.ownerDocument.body.appendChild(t), e.dataTransfer.setDragImage(t, 0, 0);
|
|
148
|
-
}
|
|
149
|
-
}, this.onDragStart = this.onDragStart.bind(this), this.renderExpandButton = this.renderExpandButton.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleSortableEnd = this.handleSortableEnd.bind(this), this.handleSortableStart = this.handleSortableStart.bind(this);
|
|
146
|
+
super(), this.localize = new m(this), this.expanded = !1, this.selected = !1, this.disabled = !1, this.readonly = !1, this.lazy = !1, this.href = "", this.rel = "noreferrer noopener", this.itemId = "", this.sortable = !1, this.noDrag = !1, this.noSelect = !1, this.noDragInside = !1, this.sortableGroup = void 0, this.expandButtonPlacement = "start", this.noForwardExpandButtonPlacement = !1, this.disabledSyncCheckboxes = !1, this.partialSyncCheckboxes = !1, this.previouslySelected = !1, this.focusable = !1, this.maxLines = -1, this.indeterminate = !1, this.isLeaf = !1, this.loading = !1, this.selectable = !1, this.sortableInstance = null, this.onDragStart = this.onDragStart.bind(this), this.renderExpandButton = this.renderExpandButton.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleSortableEnd = this.handleSortableEnd.bind(this), this.handleSortableStart = this.handleSortableStart.bind(this);
|
|
150
147
|
}
|
|
151
148
|
runFirstUpdated() {
|
|
152
149
|
this.hasAttribute("role") || this.setAttribute("role", "treeitem"), this.setAttribute("tabindex", this.focusable ? "0" : "-1"), this.isNestedItem() && (this.slot = "children"), this.childrenContainer.hidden = !this.expanded, this.childrenContainer.style.height = this.expanded ? "auto" : "0", this.noForwardExpandButtonPlacement || this.getChildrenItems().forEach((e) => e.expandButtonPlacement = this.expandButtonPlacement), this.isLeaf = !this.lazy && this.getChildrenItems().length === 0, this.handleExpandedChange();
|
|
@@ -187,7 +184,7 @@ var L = (e) => ({
|
|
|
187
184
|
this.expanded ? this.lazy ? (this.loading = !0, this.emit("cx-lazy-load")) : this.animateExpand() : this.animateCollapse();
|
|
188
185
|
}
|
|
189
186
|
async handleLazyChange() {
|
|
190
|
-
!this.lazy && this.loading && (this.loading = !1, this.handleChildrenSlotChange()), this.selected && (await this.updateComplete,
|
|
187
|
+
!this.lazy && this.loading && (this.loading = !1, this.handleChildrenSlotChange()), this.selected && (await this.updateComplete, G(this)), this.emit("cx-lazy-change");
|
|
191
188
|
}
|
|
192
189
|
getChildrenItems({ includeDisabled: e = !0 } = {}) {
|
|
193
190
|
return this.childrenSlot ? [...this.childrenSlot.assignedElements({ flatten: !0 })].filter((t) => R.isTreeItem(t) && (e || !t.disabled)) : [];
|
|
@@ -217,6 +214,9 @@ var L = (e) => ({
|
|
|
217
214
|
handleSortableEnd() {
|
|
218
215
|
this.emit("cx-drag-end");
|
|
219
216
|
}
|
|
217
|
+
onDragStart(e) {
|
|
218
|
+
e.dataTransfer?.setDragImage(z, 0, 0);
|
|
219
|
+
}
|
|
220
220
|
destroySortable() {
|
|
221
221
|
this.removeEventListener("dragstart", this.onDragStart), this.sortableInstance &&= (this.sortableInstance.destroy(), null);
|
|
222
222
|
}
|
|
@@ -274,103 +274,103 @@ var L = (e) => ({
|
|
|
274
274
|
${b(this.maxLines > 0, () => e`<cx-line-clamp class="tree-item__label" part="label" lines=${this.maxLines}><slot></slot></cx-line-clamp>`, () => e`<slot class="tree-item__label" part="label"></slot>`)}<slot class="tree-item__actions" part="actions" name="actions"></slot>${b(this.expandButtonPlacement === "end", this.renderExpandButton, () => n)}</div><div class="tree-item__children" part="children" role="group"><slot name="children" @slotchange=${this.handleChildrenSlotChange}></slot></div>`);
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
a([c("slot:not([name])"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)],
|
|
277
|
+
a([c("slot:not([name])"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "defaultSlot", void 0), a([c("slot[name=children]"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "childrenSlot", void 0), a([c(".tree-item__item"), o("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], B.prototype, "itemElement", void 0), a([c(".tree-item__children"), o("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], B.prototype, "childrenContainer", void 0), a([c(".tree-item__expand-button slot"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "expandButtonSlot", void 0), a([r({
|
|
278
278
|
reflect: !0,
|
|
279
279
|
type: Boolean
|
|
280
|
-
}), o("design:type", Object)],
|
|
280
|
+
}), o("design:type", Object)], B.prototype, "expanded", void 0), a([r({
|
|
281
281
|
reflect: !0,
|
|
282
282
|
type: Boolean
|
|
283
|
-
}), o("design:type", Object)],
|
|
283
|
+
}), o("design:type", Object)], B.prototype, "selected", void 0), a([r({
|
|
284
284
|
reflect: !0,
|
|
285
285
|
type: Boolean
|
|
286
|
-
}), o("design:type", Object)],
|
|
286
|
+
}), o("design:type", Object)], B.prototype, "disabled", void 0), a([r({
|
|
287
287
|
reflect: !0,
|
|
288
288
|
type: Boolean
|
|
289
|
-
}), o("design:type", Object)],
|
|
289
|
+
}), o("design:type", Object)], B.prototype, "readonly", void 0), a([r({
|
|
290
290
|
reflect: !0,
|
|
291
291
|
type: Boolean
|
|
292
|
-
}), o("design:type", Object)],
|
|
292
|
+
}), o("design:type", Object)], B.prototype, "lazy", void 0), a([r(), o("design:type", Object)], B.prototype, "href", void 0), a([r(), o("design:type", String)], B.prototype, "target", void 0), a([r(), o("design:type", Object)], B.prototype, "rel", void 0), a([r(), o("design:type", String)], B.prototype, "download", void 0), a([r({
|
|
293
293
|
attribute: "itemid",
|
|
294
294
|
reflect: !0,
|
|
295
295
|
type: String
|
|
296
|
-
}), o("design:type", Object)],
|
|
296
|
+
}), o("design:type", Object)], B.prototype, "itemId", void 0), a([r({
|
|
297
297
|
reflect: !0,
|
|
298
298
|
type: Boolean
|
|
299
|
-
}), o("design:type", Object)],
|
|
299
|
+
}), o("design:type", Object)], B.prototype, "sortable", void 0), a([r({
|
|
300
300
|
attribute: "no-drag",
|
|
301
301
|
reflect: !0,
|
|
302
302
|
type: Boolean
|
|
303
|
-
}), o("design:type", Object)],
|
|
303
|
+
}), o("design:type", Object)], B.prototype, "noDrag", void 0), a([r({
|
|
304
304
|
attribute: "no-select",
|
|
305
305
|
reflect: !0,
|
|
306
306
|
type: Boolean
|
|
307
|
-
}), o("design:type", Object)],
|
|
307
|
+
}), o("design:type", Object)], B.prototype, "noSelect", void 0), a([r({
|
|
308
308
|
attribute: "no-drag-inside",
|
|
309
309
|
reflect: !0,
|
|
310
310
|
type: Boolean
|
|
311
|
-
}), o("design:type", Object)],
|
|
311
|
+
}), o("design:type", Object)], B.prototype, "noDragInside", void 0), a([r({
|
|
312
312
|
attribute: "sortable-group",
|
|
313
313
|
type: String
|
|
314
|
-
}), o("design:type", Object)],
|
|
314
|
+
}), o("design:type", Object)], B.prototype, "sortableGroup", void 0), a([r({
|
|
315
315
|
attribute: "expand-button-placement",
|
|
316
316
|
reflect: !0,
|
|
317
317
|
type: String
|
|
318
|
-
}), o("design:type", Object)],
|
|
318
|
+
}), o("design:type", Object)], B.prototype, "expandButtonPlacement", void 0), a([r({
|
|
319
319
|
attribute: "no-forward-expand-button-placement",
|
|
320
320
|
type: Boolean
|
|
321
|
-
}), o("design:type", Object)],
|
|
321
|
+
}), o("design:type", Object)], B.prototype, "noForwardExpandButtonPlacement", void 0), a([r({
|
|
322
322
|
reflect: !0,
|
|
323
323
|
type: String
|
|
324
|
-
}), o("design:type", Object)],
|
|
324
|
+
}), o("design:type", Object)], B.prototype, "variant", void 0), a([r({
|
|
325
325
|
attribute: "disabled-sync-checkboxes",
|
|
326
326
|
reflect: !0,
|
|
327
327
|
type: Boolean
|
|
328
|
-
}), o("design:type", Object)],
|
|
328
|
+
}), o("design:type", Object)], B.prototype, "disabledSyncCheckboxes", void 0), a([r({
|
|
329
329
|
attribute: "partial-sync-checkboxes",
|
|
330
330
|
reflect: !0,
|
|
331
331
|
type: Boolean
|
|
332
|
-
}), o("design:type", Object)],
|
|
332
|
+
}), o("design:type", Object)], B.prototype, "partialSyncCheckboxes", void 0), a([r({
|
|
333
333
|
attribute: "previously-selected",
|
|
334
334
|
reflect: !0,
|
|
335
335
|
type: Boolean
|
|
336
|
-
}), o("design:type", Object)],
|
|
336
|
+
}), o("design:type", Object)], B.prototype, "previouslySelected", void 0), a([r({
|
|
337
337
|
reflect: !0,
|
|
338
338
|
type: Boolean
|
|
339
|
-
}), o("design:type", Object)],
|
|
339
|
+
}), o("design:type", Object)], B.prototype, "focusable", void 0), a([r({
|
|
340
340
|
attribute: "max-lines",
|
|
341
341
|
type: Number
|
|
342
|
-
}), o("design:type", Object)],
|
|
342
|
+
}), o("design:type", Object)], B.prototype, "maxLines", void 0), a([i(), o("design:type", Object)], B.prototype, "indeterminate", void 0), a([i(), o("design:type", Object)], B.prototype, "isLeaf", void 0), a([i(), o("design:type", Object)], B.prototype, "loading", void 0), a([i(), o("design:type", Object)], B.prototype, "selectable", void 0), a([i(), o("design:type", Object)], B.prototype, "sortableInstance", void 0), a([
|
|
343
343
|
h("loading", { waitUntilFirstUpdate: !0 }),
|
|
344
344
|
o("design:type", Function),
|
|
345
345
|
o("design:paramtypes", []),
|
|
346
346
|
o("design:returntype", void 0)
|
|
347
|
-
],
|
|
347
|
+
], B.prototype, "handleLoadingChange", null), a([
|
|
348
348
|
h("disabled"),
|
|
349
349
|
o("design:type", Function),
|
|
350
350
|
o("design:paramtypes", []),
|
|
351
351
|
o("design:returntype", void 0)
|
|
352
|
-
],
|
|
352
|
+
], B.prototype, "handleDisabledChange", null), a([
|
|
353
353
|
h("selected"),
|
|
354
354
|
o("design:type", Function),
|
|
355
355
|
o("design:paramtypes", []),
|
|
356
356
|
o("design:returntype", void 0)
|
|
357
|
-
],
|
|
357
|
+
], B.prototype, "handleSelectedChange", null), a([
|
|
358
358
|
h("expanded", { waitUntilFirstUpdate: !0 }),
|
|
359
359
|
o("design:type", Function),
|
|
360
360
|
o("design:paramtypes", []),
|
|
361
361
|
o("design:returntype", void 0)
|
|
362
|
-
],
|
|
362
|
+
], B.prototype, "handleExpandedChange", null), a([
|
|
363
363
|
h("expanded", { waitUntilFirstUpdate: !0 }),
|
|
364
364
|
o("design:type", Function),
|
|
365
365
|
o("design:paramtypes", []),
|
|
366
366
|
o("design:returntype", void 0)
|
|
367
|
-
],
|
|
367
|
+
], B.prototype, "handleExpandAnimation", null), a([
|
|
368
368
|
h("lazy", { waitUntilFirstUpdate: !0 }),
|
|
369
369
|
o("design:type", Function),
|
|
370
370
|
o("design:paramtypes", []),
|
|
371
371
|
o("design:returntype", Promise)
|
|
372
|
-
],
|
|
373
|
-
var
|
|
372
|
+
], B.prototype, "handleLazyChange", null), B = R = a([p("cx-tree-item"), o("design:paramtypes", [])], B);
|
|
373
|
+
var V = B;
|
|
374
374
|
_("tree-item.expand", {
|
|
375
375
|
keyframes: [{
|
|
376
376
|
height: "0",
|
|
@@ -402,31 +402,31 @@ _("tree-item.expand", {
|
|
|
402
402
|
});
|
|
403
403
|
//#endregion
|
|
404
404
|
//#region ../../packages/atoms/src/components/tree/tree.styles.ts
|
|
405
|
-
var
|
|
405
|
+
var H = t`:host{--indent-guide-color:var(--cx-color-neutral-200);--indent-guide-offset:0;--indent-guide-style:solid;--indent-guide-width:0;--indent-size:var(--cx-spacing-large);font-size:0;display:block}:host::part(children){gap:var(--children-gap,0);flex-direction:column;display:flex}:host([dragging]) ::slotted(cx-tree-item){--hover-background-color:transparent!important;--active-background-color:transparent!important;--selected-background-color:transparent!important}`;
|
|
406
406
|
//#endregion
|
|
407
407
|
//#region ../../packages/atoms/src/components/tree/tree.ts
|
|
408
|
-
function
|
|
408
|
+
function U(e) {
|
|
409
409
|
let t = e.getChildrenItems({ includeDisabled: !1 });
|
|
410
410
|
if (t.length) {
|
|
411
411
|
let n = t.every((e) => e.selected), r = t.every((e) => !e.selected && !e.indeterminate), i = !1, a = !1;
|
|
412
412
|
(!n && !r || e.partialSyncCheckboxes && (n || r && e.previouslySelected)) && (i = !0), a = e.partialSyncCheckboxes ? n && !i : n, e.indeterminate = i, e.selected = a;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function W(e, t = "single") {
|
|
416
416
|
let n = e.parentElement;
|
|
417
|
-
|
|
417
|
+
V.isTreeItem(n) && !n.disabledSyncCheckboxes && t === "multiple" && (U(n), W(n, t));
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function G(e, t = !1, n = "single") {
|
|
420
420
|
function r(e) {
|
|
421
|
-
if (e instanceof
|
|
421
|
+
if (e instanceof V || e.getAttribute("role") === "treeitem") {
|
|
422
422
|
for (let n of e.getChildrenItems()) n.selected = t ? e.selected || n.selected : !n.disabled && !n.readonly && e.selected, r(n);
|
|
423
|
-
t &&
|
|
423
|
+
t && U(e);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
!e.disabledSyncCheckboxes && n === "multiple" && (e.partialSyncCheckboxes && (e.previouslySelected = !!e.selected), r(e)),
|
|
426
|
+
!e.disabledSyncCheckboxes && n === "multiple" && (e.partialSyncCheckboxes && (e.previouslySelected = !!e.selected), r(e)), W(e, n);
|
|
427
427
|
}
|
|
428
|
-
var
|
|
429
|
-
static #e = this.styles = [l,
|
|
428
|
+
var K = class extends s {
|
|
429
|
+
static #e = this.styles = [l, H];
|
|
430
430
|
constructor() {
|
|
431
431
|
super(), this.sortable = !1, this.sortableGroup = null, this.disabledSortableGroup = !1, this.selection = "single", this.disabledAutoExpand = !1, this.autoExpandToSelected = !1, this.expandButtonPlacement = "start", this.noForwardExpandButtonPlacement = !1, this.forceOnChange = !1, this.labelSelectSingle = !1, this.noDragInside = !1, this.focusable = !1, this.clickTarget = null, this.localize = new m(this), this.sortableInstance = null, this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleSortableStart = this.handleSortableStart.bind(this), this.handleSortableEnd = this.handleSortableEnd.bind(this), this.handleFocusIn = this.handleFocusIn.bind(this), this.handleFocusOut = this.handleFocusOut.bind(this), this.handleHostMouseDown = this.handleHostMouseDown.bind(this), this.handleSlotChange = this.handleSlotChange.bind(this), this.handleTreeChanged = this.handleTreeChanged.bind(this), this.initTreeItem = this.initTreeItem.bind(this);
|
|
432
432
|
}
|
|
@@ -476,7 +476,7 @@ var G = class extends s {
|
|
|
476
476
|
}
|
|
477
477
|
handleTreeChanged(e) {
|
|
478
478
|
for (let t of e) {
|
|
479
|
-
let e = [...t.addedNodes].filter(
|
|
479
|
+
let e = [...t.addedNodes].filter(V.isTreeItem), n = [...t.removedNodes].filter(V.isTreeItem);
|
|
480
480
|
e.forEach(this.initTreeItem), this.lastFocusedItem && n.includes(this.lastFocusedItem) && (this.lastFocusedItem = null);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
@@ -484,7 +484,7 @@ var G = class extends s {
|
|
|
484
484
|
let n = [...this.selectedItems], r = this.getAllTreeItems();
|
|
485
485
|
if (this.selection === "multiple") t && await Promise.all(r.map(async (e) => {
|
|
486
486
|
e.selected = !1, e.indeterminate = !1, e.previouslySelected = !1, await e.updateComplete;
|
|
487
|
-
})), e.selected = t || !e.selected, e.lazy && !this.disabledAutoExpand && (e.expanded = !0),
|
|
487
|
+
})), e.selected = t || !e.selected, e.lazy && !this.disabledAutoExpand && (e.expanded = !0), G(e, !1, this.selection);
|
|
488
488
|
else if ((this.selection === "single" || e.isLeaf) && !e.noSelect) for (let t of r) t.selected = t === e;
|
|
489
489
|
else (this.selection === "leaf" || e.noSelect) && (e.expanded = !e.expanded);
|
|
490
490
|
if (e.noSelect) return;
|
|
@@ -543,7 +543,7 @@ var G = class extends s {
|
|
|
543
543
|
}
|
|
544
544
|
handleFocusIn(e) {
|
|
545
545
|
let t = e.target;
|
|
546
|
-
e.target === this && this.focusItem(this.lastFocusedItem || this.getAllTreeItems()[0], { preventScroll: !0 }),
|
|
546
|
+
e.target === this && this.focusItem(this.lastFocusedItem || this.getAllTreeItems()[0], { preventScroll: !0 }), V.isTreeItem(t) && !t.disabled && !t.readonly && (this.lastFocusedItem && !this.focusable && (this.lastFocusedItem.tabIndex = -1), this.lastFocusedItem = t, this.tabIndex = -1, t.tabIndex = 0);
|
|
547
547
|
}
|
|
548
548
|
expandToItem(e) {
|
|
549
549
|
let t = e.parentElement?.closest("cx-tree-item");
|
|
@@ -590,7 +590,7 @@ var G = class extends s {
|
|
|
590
590
|
let e = this.selection === "multiple", t = this.getAllTreeItems();
|
|
591
591
|
this.setAttribute("aria-multiselectable", e ? "true" : "false");
|
|
592
592
|
for (let n of t) n.selectable = e;
|
|
593
|
-
e ? (await this.updateComplete, [...this.querySelectorAll(":scope > cx-tree-item")].forEach((e) =>
|
|
593
|
+
e ? (await this.updateComplete, [...this.querySelectorAll(":scope > cx-tree-item")].forEach((e) => G(e, !0, this.selection))) : this.autoExpandToSelected || t.forEach((e) => {
|
|
594
594
|
e.selected = !1, e.indeterminate = !1;
|
|
595
595
|
});
|
|
596
596
|
}
|
|
@@ -605,63 +605,63 @@ var G = class extends s {
|
|
|
605
605
|
return e.filter((e) => {
|
|
606
606
|
if (e.disabled || e.readonly) return !1;
|
|
607
607
|
let n = e.parentElement?.closest("[role=treeitem]");
|
|
608
|
-
return n instanceof
|
|
608
|
+
return n instanceof V ? (n && (!n.expanded || n.loading || t.has(n)) && t.add(e), !t.has(e)) : !0;
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
611
|
render() {
|
|
612
612
|
return e`<div part="base" class="tree" @click=${this.handleClick} @keydown=${this.handleKeyDown} @mousedown=${this.handleMouseDown}><slot part="children" @slotchange=${this.handleSlotChange}></slot><span hidden aria-hidden="true"><slot name="expand-icon"></slot></span><span hidden aria-hidden="true"><slot name="collapse-icon"></slot></span></div>`;
|
|
613
613
|
}
|
|
614
614
|
};
|
|
615
|
-
a([c("slot:not([name])"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)],
|
|
615
|
+
a([c("slot:not([name])"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], K.prototype, "defaultSlot", void 0), a([c("slot[name=expand-icon]"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], K.prototype, "expandedIconSlot", void 0), a([c("slot[name=collapse-icon]"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], K.prototype, "collapsedIconSlot", void 0), a([r({
|
|
616
616
|
reflect: !0,
|
|
617
617
|
type: Boolean
|
|
618
|
-
}), o("design:type", Object)],
|
|
618
|
+
}), o("design:type", Object)], K.prototype, "sortable", void 0), a([r({
|
|
619
619
|
attribute: "sortable-group",
|
|
620
620
|
type: String
|
|
621
|
-
}), o("design:type", Object)],
|
|
621
|
+
}), o("design:type", Object)], K.prototype, "sortableGroup", void 0), a([r({
|
|
622
622
|
attribute: "disabled-sortable-group",
|
|
623
623
|
type: Boolean
|
|
624
|
-
}), o("design:type", Object)],
|
|
624
|
+
}), o("design:type", Object)], K.prototype, "disabledSortableGroup", void 0), a([r(), o("design:type", Object)], K.prototype, "selection", void 0), a([r({
|
|
625
625
|
attribute: "disabled-auto-expand",
|
|
626
626
|
type: Boolean
|
|
627
|
-
}), o("design:type", Object)],
|
|
627
|
+
}), o("design:type", Object)], K.prototype, "disabledAutoExpand", void 0), a([r({
|
|
628
628
|
attribute: "auto-expand-to-selected",
|
|
629
629
|
type: Boolean
|
|
630
|
-
}), o("design:type", Object)],
|
|
630
|
+
}), o("design:type", Object)], K.prototype, "autoExpandToSelected", void 0), a([r({
|
|
631
631
|
attribute: "expand-button-placement",
|
|
632
632
|
reflect: !0,
|
|
633
633
|
type: String
|
|
634
|
-
}), o("design:type", Object)],
|
|
634
|
+
}), o("design:type", Object)], K.prototype, "expandButtonPlacement", void 0), a([r({
|
|
635
635
|
attribute: "no-forward-expand-button-placement",
|
|
636
636
|
type: Boolean
|
|
637
|
-
}), o("design:type", Object)],
|
|
637
|
+
}), o("design:type", Object)], K.prototype, "noForwardExpandButtonPlacement", void 0), a([r({
|
|
638
638
|
reflect: !0,
|
|
639
639
|
type: String
|
|
640
|
-
}), o("design:type", Object)],
|
|
640
|
+
}), o("design:type", Object)], K.prototype, "variant", void 0), a([r({
|
|
641
641
|
attribute: "force-on-change",
|
|
642
642
|
type: Boolean
|
|
643
|
-
}), o("design:type", Object)],
|
|
643
|
+
}), o("design:type", Object)], K.prototype, "forceOnChange", void 0), a([r({
|
|
644
644
|
attribute: "label-select-single",
|
|
645
645
|
reflect: !0,
|
|
646
646
|
type: Boolean
|
|
647
|
-
}), o("design:type", Object)],
|
|
647
|
+
}), o("design:type", Object)], K.prototype, "labelSelectSingle", void 0), a([r({
|
|
648
648
|
attribute: "no-drag-inside",
|
|
649
649
|
reflect: !0,
|
|
650
650
|
type: Boolean
|
|
651
|
-
}), o("design:type", Object)],
|
|
651
|
+
}), o("design:type", Object)], K.prototype, "noDragInside", void 0), a([r({
|
|
652
652
|
reflect: !0,
|
|
653
653
|
type: Boolean
|
|
654
|
-
}), o("design:type", Object)],
|
|
654
|
+
}), o("design:type", Object)], K.prototype, "focusable", void 0), a([i(), o("design:type", Object)], K.prototype, "sortableInstance", void 0), a([
|
|
655
655
|
h(["sortable", "variant"]),
|
|
656
656
|
o("design:type", Function),
|
|
657
657
|
o("design:paramtypes", []),
|
|
658
658
|
o("design:returntype", void 0)
|
|
659
|
-
],
|
|
659
|
+
], K.prototype, "initTreeItems", null), a([
|
|
660
660
|
h("selection"),
|
|
661
661
|
o("design:type", Function),
|
|
662
662
|
o("design:paramtypes", []),
|
|
663
663
|
o("design:returntype", Promise)
|
|
664
|
-
],
|
|
665
|
-
var
|
|
664
|
+
], K.prototype, "handleSelectionChange", null), K = a([p("cx-tree"), o("design:paramtypes", [])], K);
|
|
665
|
+
var q = K;
|
|
666
666
|
//#endregion
|
|
667
|
-
export {
|
|
667
|
+
export { V as a, q as i, G as n, A as o, U as r, W as t };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.D8Gwfkvy.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.B8MUOicZ.js";
|
|
12
12
|
import { t as h } from "../chunks/button.DeRJNqpr.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.fZNjia6Z.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -84,6 +84,6 @@ import { t as Me } from "../chunks/step.C-T63mG1.js";
|
|
|
84
84
|
import { t as Ne } from "../chunks/stepper.DR3oqUpm.js";
|
|
85
85
|
import { t as Pe } from "../chunks/switch.CBho2RVW.js";
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DME2imtx.js";
|
|
87
|
-
import { a as Ie, i as Le } from "../chunks/tree.
|
|
87
|
+
import { a as Ie, i as Le } from "../chunks/tree.B9-viK2b.js";
|
|
88
88
|
import { n as Re } from "../chunks/video.Ba6tAEvb.js";
|
|
89
89
|
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, ye as CxMenuSection, be as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, _ as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, g as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.CjKvqQXz.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/folder-select.
|
|
1
|
+
import { t as e } from "../chunks/folder-select.2sj5IssM.js";
|
|
2
2
|
export { e as default };
|
|
@@ -5,7 +5,7 @@ import { t as r } from "../chunks/confirm-popover.DYtD5qtp.js";
|
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.lsTSrT61.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D5Vh9xD_.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.BLoP9tvq.js";
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
8
|
+
import { t as s } from "../chunks/folder-select.2sj5IssM.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.BnIxslnb.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.BTjH4scb.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.DwDC9gDl.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.H-8Ub7b2.js";
|
|
2
2
|
import { t } from "../chunks/color-swatch-group.CefCwg8T.js";
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.CjKvqQXz.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e } from "../chunks/tree.
|
|
1
|
+
import { a as e } from "../chunks/tree.B9-viK2b.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/tree.
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/tree.B9-viK2b.js";
|
|
2
2
|
export { e as default, r as syncAncestors, t as syncCheckboxes, n as syncParentItem };
|
|
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.D8Gwfkvy.js";
|
|
|
24
24
|
import { t as de } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as fe } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as I } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as pe, r as me, t as he } from "../chunks/src.
|
|
27
|
+
import { n as pe, r as me, t as he } from "../chunks/src.B8MUOicZ.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { n as _e, t as ve } from "../chunks/button.DeRJNqpr.js";
|
|
30
30
|
import { c as ye, i as be, l as xe, o as Se, r as Ce, s as we } from "../chunks/resizable-component.styles.v9pbLDG5.js";
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.DAhcB8_D.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.B6BfN7x-.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.B1e77kEp.js";
|
|
41
|
-
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.
|
|
41
|
+
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.Ca7ImdeI.js";
|
|
42
42
|
import { n as qt, t as Jt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as Yt, i as Xt, n as Zt, o as Qt, r as $t, s as en, t as tn } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as nn, c as rn, i as an, n as on, o as sn, r as cn, t as ln, u as un } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -141,7 +141,7 @@ import { t as fs } from "../chunks/step.C-T63mG1.js";
|
|
|
141
141
|
import { t as ps } from "../chunks/stepper.DR3oqUpm.js";
|
|
142
142
|
import { t as ms } from "../chunks/switch.CBho2RVW.js";
|
|
143
143
|
import { t as hs } from "../chunks/timecode.DME2imtx.js";
|
|
144
|
-
import { a as gs, i as _s, o as vs } from "../chunks/tree.
|
|
144
|
+
import { a as gs, i as _s, o as vs } from "../chunks/tree.B9-viK2b.js";
|
|
145
145
|
import { t as ys } from "../chunks/v4.JyXW8GUB.js";
|
|
146
146
|
import { n as bs, t as xs } from "../chunks/video.Ba6tAEvb.js";
|
|
147
147
|
import { t as Ss } from "../chunks/bicolor-picker.D0UMRORe.js";
|
|
@@ -154,7 +154,7 @@ import { t as Os } from "../chunks/toNumber.BBjIwSoo.js";
|
|
|
154
154
|
import { t as ks } from "../chunks/debounce.DrhImrNP.js";
|
|
155
155
|
import { t as As } from "../chunks/dynamic-select.BLoP9tvq.js";
|
|
156
156
|
import { f as js, i as Ms } from "../chunks/endpoints.jOHOmF_t.js";
|
|
157
|
-
import { r as Ns, t as Ps } from "../chunks/folder-select.
|
|
157
|
+
import { r as Ns, t as Ps } from "../chunks/folder-select.2sj5IssM.js";
|
|
158
158
|
import { t as Fs } from "../chunks/choose.C2vpqhLc.js";
|
|
159
159
|
import { t as Is } from "../chunks/masonry.BnIxslnb.js";
|
|
160
160
|
import { t as Ls } from "../chunks/padding-input-group.BTjH4scb.js";
|
|
@@ -168,9 +168,9 @@ import { t as Ws } from "../chunks/typeface.BHErcYfd.js";
|
|
|
168
168
|
import { T as Gs, _ as Ks, a as qs, b as Js, c as Ys, d as Xs, l as Zs, m as Qs, n as $s, o as ec, s as tc, t as nc, v as rc } from "../chunks/asset-link-format.H-8Ub7b2.js";
|
|
169
169
|
import { c as ic, h as ac, l as oc, m as sc, p as cc, t as lc, u as uc } from "../chunks/color-swatch-group.CefCwg8T.js";
|
|
170
170
|
import { n as dc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as fc } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as fc } from "../chunks/file-on-demand.CjKvqQXz.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { $ as pc, A as mc, B as hc, D as gc, F as _c, G as vc, H as yc, I as bc, L as xc, N as Sc, O as Cc, P as eee, Q as tee, R as nee, T as wc, U as Tc, V as Ec, W as ree, a as Dc, c as iee, ct as aee, d as oee, dt as Oc, et as kc, f as Ac, h as see, i as jc, j as Mc, k as cee, lt as Nc, m as lee, o as Pc, ot as Fc, p as Ic, r as Lc, s as Rc, st as zc, t as Bc, tt as Vc, u as Hc, ut as Uc, v as Wc, w as Gc, x as Kc, y as qc, z as Jc } from "../chunks/configs-controller.
|
|
173
|
+
import { $ as pc, A as mc, B as hc, D as gc, F as _c, G as vc, H as yc, I as bc, L as xc, N as Sc, O as Cc, P as eee, Q as tee, R as nee, T as wc, U as Tc, V as Ec, W as ree, a as Dc, c as iee, ct as aee, d as oee, dt as Oc, et as kc, f as Ac, h as see, i as jc, j as Mc, k as cee, lt as Nc, m as lee, o as Pc, ot as Fc, p as Ic, r as Lc, s as Rc, st as zc, t as Bc, tt as Vc, u as Hc, ut as Uc, v as Wc, w as Gc, x as Kc, y as qc, z as Jc } from "../chunks/configs-controller.BkBWWSds.js";
|
|
174
174
|
import { i as Yc } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as Xc, c as Zc, d as Qc, f as $c, i as el, l as tl, n as nl, o as rl, r as il, s as al, t as ol, u as sl } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as cl } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -95188,7 +95188,7 @@ var oEe = [
|
|
|
95188
95188
|
return this.mappedSupportedLanguages.length > 1;
|
|
95189
95189
|
}
|
|
95190
95190
|
ensureConfigUi() {
|
|
95191
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95191
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.C1YTm4Kg.js"), import("../chunks/configs-controller.BkBWWSds.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95192
95192
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95193
95193
|
});
|
|
95194
95194
|
}
|
package/library/package.json
CHANGED
|
@@ -202,7 +202,11 @@ export default class CxTreeItem extends CortexElement {
|
|
|
202
202
|
handleSortableUpdate(evt: Sortable.SortableEvent): void;
|
|
203
203
|
handleSortableStart(): void;
|
|
204
204
|
handleSortableEnd(): void;
|
|
205
|
-
|
|
205
|
+
/**
|
|
206
|
+
* Hides the native drag image. An element without a layout box (e.g. `display: none`) cannot be drawn,
|
|
207
|
+
* so Chrome falls back to a snapshot of the whole area around the dragged item.
|
|
208
|
+
*/
|
|
209
|
+
onDragStart(event: DragEvent): void;
|
|
206
210
|
private destroySortable;
|
|
207
211
|
private initSortable;
|
|
208
212
|
protected updated(changedProperties: PropertyValues): void;
|