@orangelogic/design-system 4.63.0 → 4.64.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.oDPvc3mB.js → block-width.CPdUuS5q.js} +3 -3
- package/library/chunks/{config-manager.BFsQJlAo.js → config-manager.B_xp8KA8.js} +2 -2
- package/library/chunks/{configs-controller.B2DjvPv9.js → configs-controller.D9r1-FXc.js} +1 -1
- package/library/chunks/{file-on-demand.Dfd5QOK2.js → file-on-demand.BjUW2Ydt.js} +1 -1
- package/library/chunks/{folder-select.DPeRAKVO.js → folder-select.DCaNQsNt.js} +1 -1
- package/library/chunks/{src.Df4b0M83.js → src.C9GUzEeA.js} +1 -1
- package/library/chunks/{tree.Cr3jOIM5.js → tree.BI7r-WnZ.js} +69 -69
- 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 +4 -4
- 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 +10 -10
- 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.Bv06U7NJ.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.C9GUzEeA.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as le } from "./debounce.Ci-xdsHE.js";
|
|
21
21
|
import { t as b } from "./button.DKkHqsUz.js";
|
|
@@ -72,7 +72,7 @@ import { t as wt } from "./corner-position-input-group.nTlFes0_.js";
|
|
|
72
72
|
import { t as Tt } from "./cropper.CNmQt-sa.js";
|
|
73
73
|
import { t as Et } from "./dynamic-select.Cb3L0dIB.js";
|
|
74
74
|
import { t as Dt } from "./string-array.Dstcqyjm.js";
|
|
75
|
-
import { n as M, r as Ot, t as N } from "./folder-select.
|
|
75
|
+
import { n as M, r as Ot, t as N } from "./folder-select.DCaNQsNt.js";
|
|
76
76
|
import { t as kt } from "./choose.C2vpqhLc.js";
|
|
77
77
|
import { t as At } from "./masonry.BxNeClR6.js";
|
|
78
78
|
import { t as jt } from "./padding-input-group.D2Qx15Yj.js";
|
|
@@ -81,7 +81,7 @@ import { t as Nt } from "./shadow-input-group.Xxuzm8Qe.js";
|
|
|
81
81
|
import { t as Pt } from "./size-input-group.wXuG0-RB.js";
|
|
82
82
|
import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.B671cSoD.js";
|
|
83
83
|
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.CuMJc6m8.js";
|
|
84
|
-
import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.
|
|
84
|
+
import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.D9r1-FXc.js";
|
|
85
85
|
import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
|
|
86
86
|
//#region ../../packages/types/src/icon-picker.ts
|
|
87
87
|
var En = /* @__PURE__ */ function(e) {
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DKkHqsUz.js";
|
|
15
15
|
import { t as ee } from "./tooltip.Cc02vm6M.js";
|
|
16
16
|
import { t as te } from "./line-clamp.Dl3_JdHX.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.CPdUuS5q.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";
|
|
@@ -63,7 +63,7 @@ import { T as K } from "./asset-link-format.B671cSoD.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 { P as nt, l as J, s as rt, t as it } from "./configs-controller.
|
|
66
|
+
import { P as nt, l as J, s as rt, t as it } from "./configs-controller.D9r1-FXc.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
|
|
@@ -17,7 +17,7 @@ import { _ as xe, g as Se, h as Ce, m as we, p as Te, s as b } from "./responsiv
|
|
|
17
17
|
import { r as x } from "./asset-link-format.COPyGdND.js";
|
|
18
18
|
import { n as Ee, r as De } from "./header.CowQINf-.js";
|
|
19
19
|
import { c as Oe, f as ke, p as S, s as C, u as w } from "./string-array.Dstcqyjm.js";
|
|
20
|
-
import { n as Ae } from "./folder-select.
|
|
20
|
+
import { n as Ae } from "./folder-select.DCaNQsNt.js";
|
|
21
21
|
import { a as T, i as E, o as D, r as O, s as je } from "./color-swatch-group.CuMJc6m8.js";
|
|
22
22
|
import { n as Me } from "./isEmpty.D3QQduJ5.js";
|
|
23
23
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
@@ -33,7 +33,7 @@ import { t as fe } from "./progress-bar.CynVLLnY.js";
|
|
|
33
33
|
import { o as D, u as O } from "./url.BCc06dE7.js";
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
35
|
import { t as pe } from "./relative-time.BfE3UOhF.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.BI7r-WnZ.js";
|
|
37
37
|
import { t as ge } from "./confirm-popover.sZVNhFPh.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.BV0Necz7.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { s as k } from "./asset-link-format.COPyGdND.js";
|
|
24
|
-
import { a as A, i as j } from "./tree.
|
|
24
|
+
import { a as A, i as j } from "./tree.BI7r-WnZ.js";
|
|
25
25
|
import { l as M, m as N, p as P, t as F } from "./string-array.Dstcqyjm.js";
|
|
26
26
|
import { t as I } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
@@ -82,7 +82,7 @@ import "./step.D93ReCO1.js";
|
|
|
82
82
|
import "./stepper.D0JB_GVh.js";
|
|
83
83
|
import "./switch.BM9msK5T.js";
|
|
84
84
|
import "./timecode.DjI1OTXD.js";
|
|
85
|
-
import "./tree.
|
|
85
|
+
import "./tree.BI7r-WnZ.js";
|
|
86
86
|
import "./video.DWmHPbXO.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.removeAttribute("tabindex"), t.tabIndex = 0);
|
|
547
547
|
}
|
|
548
548
|
expandToItem(e) {
|
|
549
549
|
let t = e.parentElement?.closest("cx-tree-item");
|
|
@@ -596,7 +596,7 @@ var G = class extends s {
|
|
|
596
596
|
let e = this.selection === "multiple", t = this.getAllTreeItems();
|
|
597
597
|
this.setAttribute("aria-multiselectable", e ? "true" : "false");
|
|
598
598
|
for (let n of t) n.selectable = e;
|
|
599
|
-
e ? (await this.updateComplete, [...this.querySelectorAll(":scope > cx-tree-item")].forEach((e) =>
|
|
599
|
+
e ? (await this.updateComplete, [...this.querySelectorAll(":scope > cx-tree-item")].forEach((e) => G(e, !0, this.selection))) : this.autoExpandToSelected || t.forEach((e) => {
|
|
600
600
|
e.selected = !1, e.indeterminate = !1;
|
|
601
601
|
});
|
|
602
602
|
}
|
|
@@ -611,68 +611,68 @@ var G = class extends s {
|
|
|
611
611
|
return e.filter((e) => {
|
|
612
612
|
if (e.disabled || e.readonly) return !1;
|
|
613
613
|
let n = e.parentElement?.closest("[role=treeitem]");
|
|
614
|
-
return n instanceof
|
|
614
|
+
return n instanceof V ? (n && (!n.expanded || n.loading || t.has(n)) && t.add(e), !t.has(e)) : !0;
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
render() {
|
|
618
618
|
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>`;
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
a([c("slot:not([name])"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)],
|
|
621
|
+
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({
|
|
622
622
|
reflect: !0,
|
|
623
623
|
type: Boolean
|
|
624
|
-
}), o("design:type", Object)],
|
|
624
|
+
}), o("design:type", Object)], K.prototype, "sortable", void 0), a([r({
|
|
625
625
|
attribute: "sortable-group",
|
|
626
626
|
type: String
|
|
627
|
-
}), o("design:type", Object)],
|
|
627
|
+
}), o("design:type", Object)], K.prototype, "sortableGroup", void 0), a([r({
|
|
628
628
|
attribute: "disabled-sortable-group",
|
|
629
629
|
type: Boolean
|
|
630
|
-
}), o("design:type", Object)],
|
|
630
|
+
}), o("design:type", Object)], K.prototype, "disabledSortableGroup", void 0), a([r(), o("design:type", Object)], K.prototype, "selection", void 0), a([r({
|
|
631
631
|
attribute: "disabled-auto-expand",
|
|
632
632
|
type: Boolean
|
|
633
|
-
}), o("design:type", Object)],
|
|
633
|
+
}), o("design:type", Object)], K.prototype, "disabledAutoExpand", void 0), a([r({
|
|
634
634
|
attribute: "auto-expand-to-selected",
|
|
635
635
|
type: Boolean
|
|
636
|
-
}), o("design:type", Object)],
|
|
636
|
+
}), o("design:type", Object)], K.prototype, "autoExpandToSelected", void 0), a([r({
|
|
637
637
|
attribute: "expand-button-placement",
|
|
638
638
|
reflect: !0,
|
|
639
639
|
type: String
|
|
640
|
-
}), o("design:type", Object)],
|
|
640
|
+
}), o("design:type", Object)], K.prototype, "expandButtonPlacement", void 0), a([r({
|
|
641
641
|
attribute: "no-forward-expand-button-placement",
|
|
642
642
|
type: Boolean
|
|
643
|
-
}), o("design:type", Object)],
|
|
643
|
+
}), o("design:type", Object)], K.prototype, "noForwardExpandButtonPlacement", void 0), a([r({
|
|
644
644
|
reflect: !0,
|
|
645
645
|
type: String
|
|
646
|
-
}), o("design:type", Object)],
|
|
646
|
+
}), o("design:type", Object)], K.prototype, "variant", void 0), a([r({
|
|
647
647
|
attribute: "force-on-change",
|
|
648
648
|
type: Boolean
|
|
649
|
-
}), o("design:type", Object)],
|
|
649
|
+
}), o("design:type", Object)], K.prototype, "forceOnChange", void 0), a([r({
|
|
650
650
|
attribute: "label-select-single",
|
|
651
651
|
reflect: !0,
|
|
652
652
|
type: Boolean
|
|
653
|
-
}), o("design:type", Object)],
|
|
653
|
+
}), o("design:type", Object)], K.prototype, "labelSelectSingle", void 0), a([r({
|
|
654
654
|
attribute: "no-drag-inside",
|
|
655
655
|
reflect: !0,
|
|
656
656
|
type: Boolean
|
|
657
|
-
}), o("design:type", Object)],
|
|
657
|
+
}), o("design:type", Object)], K.prototype, "noDragInside", void 0), a([r({
|
|
658
658
|
reflect: !0,
|
|
659
659
|
type: Boolean
|
|
660
|
-
}), o("design:type", Object)],
|
|
660
|
+
}), o("design:type", Object)], K.prototype, "focusable", void 0), a([i(), o("design:type", Object)], K.prototype, "sortableInstance", void 0), a([
|
|
661
661
|
h(["sortable", "variant"]),
|
|
662
662
|
o("design:type", Function),
|
|
663
663
|
o("design:paramtypes", []),
|
|
664
664
|
o("design:returntype", void 0)
|
|
665
|
-
],
|
|
665
|
+
], K.prototype, "initTreeItems", null), a([
|
|
666
666
|
h("selection"),
|
|
667
667
|
o("design:type", Function),
|
|
668
668
|
o("design:paramtypes", []),
|
|
669
669
|
o("design:returntype", Promise)
|
|
670
|
-
],
|
|
670
|
+
], K.prototype, "handleSelectionChange", null), a([
|
|
671
671
|
h("sortable"),
|
|
672
672
|
o("design:type", Function),
|
|
673
673
|
o("design:paramtypes", []),
|
|
674
674
|
o("design:returntype", Promise)
|
|
675
|
-
],
|
|
676
|
-
var
|
|
675
|
+
], K.prototype, "handleSortableChange", null), K = a([p("cx-tree"), o("design:paramtypes", [])], K);
|
|
676
|
+
var q = K;
|
|
677
677
|
//#endregion
|
|
678
|
-
export {
|
|
678
|
+
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.2Esbser8.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.C9GUzEeA.js";
|
|
12
12
|
import { t as h } from "../chunks/button.DKkHqsUz.js";
|
|
13
13
|
import { t as g } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
14
14
|
import { t as _ } from "../chunks/tooltip.Cc02vm6M.js";
|
|
@@ -84,6 +84,6 @@ import { t as Me } from "../chunks/step.D93ReCO1.js";
|
|
|
84
84
|
import { t as Ne } from "../chunks/stepper.D0JB_GVh.js";
|
|
85
85
|
import { t as Pe } from "../chunks/switch.BM9msK5T.js";
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DjI1OTXD.js";
|
|
87
|
-
import { a as Ie, i as Le } from "../chunks/tree.
|
|
87
|
+
import { a as Ie, i as Le } from "../chunks/tree.BI7r-WnZ.js";
|
|
88
88
|
import { n as Re } from "../chunks/video.DWmHPbXO.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, g 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, _ 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.BjUW2Ydt.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.DCaNQsNt.js";
|
|
2
2
|
export { e as default };
|
|
@@ -5,14 +5,14 @@ import { t as r } from "../chunks/confirm-popover.sZVNhFPh.js";
|
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.nTlFes0_.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.CNmQt-sa.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.Cb3L0dIB.js";
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
8
|
+
import { t as s } from "../chunks/folder-select.DCaNQsNt.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.BxNeClR6.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.D2Qx15Yj.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.X2hhfGx7.js";
|
|
12
|
-
import { t as d } from "../chunks/
|
|
13
|
-
import { t as f } from "../chunks/
|
|
12
|
+
import { t as d } from "../chunks/share-option-list.DOaEypfQ.js";
|
|
13
|
+
import { t as f } from "../chunks/shadow-input-group.Xxuzm8Qe.js";
|
|
14
14
|
import { t as p } from "../chunks/sidebar.CiZOJ49X.js";
|
|
15
15
|
import { t as m } from "../chunks/size-input-group.wXuG0-RB.js";
|
|
16
16
|
import { t as h } from "../chunks/stepper-wizard.CPZ2mSze.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.DTLrIP0B.js";
|
|
18
|
-
export { e as CxBicolorPicker, t as CxBorderInputGroup, n as CxColorSwatch, r as CxConfirmPopover, i as CxCornerPositionInputGroup, a as CxCropper, o as CxDynamicSelect, s as CxFolderSelect, c as CxMasonry, l as CxPaddingInputGroup, u as CxPositionPicker,
|
|
18
|
+
export { e as CxBicolorPicker, t as CxBorderInputGroup, n as CxColorSwatch, r as CxConfirmPopover, i as CxCornerPositionInputGroup, a as CxCropper, o as CxDynamicSelect, s as CxFolderSelect, c as CxMasonry, l as CxPaddingInputGroup, u as CxPositionPicker, f as CxShadowInputGroup, d as CxShareOptionList, p as CxSidebar, m as CxSizeInputGroup, h as CxStepperWizard, g as CxTypeface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.B671cSoD.js";
|
|
2
2
|
import { t } from "../chunks/color-swatch-group.CuMJc6m8.js";
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.BjUW2Ydt.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.BI7r-WnZ.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.BI7r-WnZ.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.2Esbser8.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.C9GUzEeA.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { a as _e, c as ve, d as ye, i as be, l as xe, n as Se, o as Ce, r as we, s as Te, t as Ee, u as De } from "../chunks/browser.gIznFIix.js";
|
|
30
30
|
import { t as Oe } from "../chunks/debounce.Ci-xdsHE.js";
|
|
@@ -38,7 +38,7 @@ import { t as Nt } from "../chunks/tooltip.Cc02vm6M.js";
|
|
|
38
38
|
import { t as Pt } from "../chunks/line-clamp.Dl3_JdHX.js";
|
|
39
39
|
import { t as Ft } from "../chunks/tag.DQLauctm.js";
|
|
40
40
|
import { t as It } from "../chunks/array-line-clamp.C0Vo0Zzg.js";
|
|
41
|
-
import { C as Lt, S as Rt, _ as zt, b as Bt, g as Vt, h as Ht, o as Ut, r as Wt, s as Gt, t as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.
|
|
41
|
+
import { C as Lt, S as Rt, _ as zt, b as Bt, g as Vt, h as Ht, o as Ut, r as Wt, s as Gt, t as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.CPdUuS5q.js";
|
|
42
42
|
import { n as Zt, t as Qt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as $t, i as en, n as tn, o as nn, r as rn, s as an, t as on } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as sn, c as cn, i as ln, n as un, o as dn, r as fn, t as pn, u as mn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -141,7 +141,7 @@ import { t as Es } from "../chunks/step.D93ReCO1.js";
|
|
|
141
141
|
import { t as Ds } from "../chunks/stepper.D0JB_GVh.js";
|
|
142
142
|
import { t as Os } from "../chunks/switch.BM9msK5T.js";
|
|
143
143
|
import { t as ks } from "../chunks/timecode.DjI1OTXD.js";
|
|
144
|
-
import { a as As, i as js, o as Ms } from "../chunks/tree.
|
|
144
|
+
import { a as As, i as js, o as Ms } from "../chunks/tree.BI7r-WnZ.js";
|
|
145
145
|
import { t as Ns } from "../chunks/v4.JyXW8GUB.js";
|
|
146
146
|
import { n as Ps, t as Fs } from "../chunks/video.DWmHPbXO.js";
|
|
147
147
|
import { t as Is } from "../chunks/bicolor-picker.DS9Uut25.js";
|
|
@@ -154,13 +154,13 @@ import { t as Hs } from "../chunks/toNumber.BBjIwSoo.js";
|
|
|
154
154
|
import { t as Us } from "../chunks/debounce.DrhImrNP.js";
|
|
155
155
|
import { t as Ws } from "../chunks/dynamic-select.Cb3L0dIB.js";
|
|
156
156
|
import { a as Gs, p as Ks, t as qs } from "../chunks/string-array.Dstcqyjm.js";
|
|
157
|
-
import { t as Js } from "../chunks/folder-select.
|
|
157
|
+
import { t as Js } from "../chunks/folder-select.DCaNQsNt.js";
|
|
158
158
|
import { t as Ys } from "../chunks/choose.C2vpqhLc.js";
|
|
159
159
|
import { t as Xs } from "../chunks/masonry.BxNeClR6.js";
|
|
160
160
|
import { t as Zs } from "../chunks/padding-input-group.D2Qx15Yj.js";
|
|
161
161
|
import { t as Qs } from "../chunks/position-picker.X2hhfGx7.js";
|
|
162
|
-
import { t as $s } from "../chunks/
|
|
163
|
-
import { t as ec } from "../chunks/
|
|
162
|
+
import { t as $s } from "../chunks/share-option-list.DOaEypfQ.js";
|
|
163
|
+
import { t as ec } from "../chunks/shadow-input-group.Xxuzm8Qe.js";
|
|
164
164
|
import { t as tc } from "../chunks/sidebar.CiZOJ49X.js";
|
|
165
165
|
import { t as nc } from "../chunks/size-input-group.wXuG0-RB.js";
|
|
166
166
|
import { t as rc } from "../chunks/stepper-wizard.CPZ2mSze.js";
|
|
@@ -168,9 +168,9 @@ import { t as ic } from "../chunks/typeface.DTLrIP0B.js";
|
|
|
168
168
|
import { T as ac, _ as oc, a as sc, b as cc, c as lc, d as uc, l as dc, m as fc, n as pc, o as mc, r as hc, s as gc, t as _c, v as vc } from "../chunks/asset-link-format.B671cSoD.js";
|
|
169
169
|
import { c as yc, h as bc, l as xc, m as Sc, p as Cc, t as wc, u as Tc } from "../chunks/color-swatch-group.CuMJc6m8.js";
|
|
170
170
|
import { n as eee } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as Ec } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as Ec } from "../chunks/file-on-demand.BjUW2Ydt.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { A as Dc, B as Oc, C as kc, D as Ac, E as jc, F as Mc, G as Nc, H as tee, I as Pc, J as nee, K as ree, L as iee, M as aee, N as Fc, R as Ic, S as oee, U as see, V as cee, W as Lc, a as Rc, b as zc, c as Bc, d as Vc, dt as Hc, f as Uc, ft as Wc, g as Gc, h as Kc, i as qc, it as Jc, j as Yc, k as Xc, lt as Zc, m as Qc, mt as $c, nt as el, o as tl, p as nl, pt as rl, q as il, r as al, rt as ol, s as sl, t as cl, tt as ll, u as ul, ut as dl, y as fl, z as pl } from "../chunks/configs-controller.
|
|
173
|
+
import { A as Dc, B as Oc, C as kc, D as Ac, E as jc, F as Mc, G as Nc, H as tee, I as Pc, J as nee, K as ree, L as iee, M as aee, N as Fc, R as Ic, S as oee, U as see, V as cee, W as Lc, a as Rc, b as zc, c as Bc, d as Vc, dt as Hc, f as Uc, ft as Wc, g as Gc, h as Kc, i as qc, it as Jc, j as Yc, k as Xc, lt as Zc, m as Qc, mt as $c, nt as el, o as tl, p as nl, pt as rl, q as il, r as al, rt as ol, s as sl, t as cl, tt as ll, u as ul, ut as dl, y as fl, z as pl } from "../chunks/configs-controller.D9r1-FXc.js";
|
|
174
174
|
import { i as ml } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as lee, c as uee, d as hl, f as gl, i as _l, l as vl, n as dee, o as fee, r as pee, s as yl, t as bl, u as xl } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as Sl } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -95207,7 +95207,7 @@ var O5 = class extends d {
|
|
|
95207
95207
|
return this.mappedSupportedLanguages.length > 1;
|
|
95208
95208
|
}
|
|
95209
95209
|
ensureConfigUi() {
|
|
95210
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95210
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.B_xp8KA8.js"), import("../chunks/configs-controller.D9r1-FXc.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95211
95211
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95212
95212
|
});
|
|
95213
95213
|
}
|
|
@@ -111890,4 +111890,4 @@ l([s({ type: String }), u("design:type", Object)], $9.prototype, "value", void 0
|
|
|
111890
111890
|
], $9.prototype, "handleValueChange", null), $9 = Q9 = l([C("cx-xml-editor")], $9);
|
|
111891
111891
|
var dAe = $9;
|
|
111892
111892
|
//#endregion
|
|
111893
|
-
export { ha as AUTO_FALLBACK_FORMAT, Hi as AUTO_FORMAT_EXTENSION, na as AUTO_ORIGINAL_FORMAT_MAX_BYTES, lo as CMYK_VALIDATION_REGEX, si as CalendarGrid, io as ColorType, on as CornerPosition, d as CortexElement, di as CortexPopupController, Mee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Ku as CxAnnotator, Nle as CxAnnotatorComment, It as CxArrayLineClamp, $u as CxAssetDataDisplay, zt as CxAssetFormatPicker, _c as CxAssetLinkFormat, Rt as CxAssetPicker, Vt as CxAssetTransformationDialog, Ln as CxAudio, Rn as CxAvatar, zn as CxBadge, Zle as CxBentoGrid, Is as CxBicolorPicker, Ls as CxBorderInputGroup, Bn as CxBox, Vn as CxBreadcrumb, Hn as CxBreadcrumbItem, Ae as CxButton, Un as CxButtonGroup, fue as CxCapacityPlanner, Wn as CxCard, iF as CxCarousel, Fz as CxChartPlanBuilder, ZR as CxChatbot, Gn as CxCheckbox, Vz as CxClusterManagement, Vr as CxColorPicker, Rs as CxColorSwatch, wc as CxColorSwatchGroup, cP as CxComment, Gz as CxCommentV1, zs as CxConfirmPopover, zEe as CxContentBuilder, YEe as CxContentBuilderViewer, Hr as CxCopyButton, Bs as CxCornerPositionInputGroup, Vs as CxCropper, Ut as CxDamCustomToolbarButtonsEditor, Fle as CxDashboardFilter, nd as CxDashboardIframe, Ble as CxDashboardTable, ad as CxDataTabGroup, Ea as CxDateCalendar, Da as CxDetails, ld as CxDetailsGroup, Oa as CxDialog, ja as CxDiff, Aa as CxDivider, hd as CxDocsExample, Fa as CxDocumentViewer, Bo as CxDotPagination, Vo as CxDotStatus, Yt as CxDownloadFormatPicker, OOe as CxDownloader, Na as CxDrawer, cr as CxDropdown, Ws as CxDynamicSelect, Ho as CxEChart, Uo as CxElementClamp, bd as CxEstimatedReadingTime, Ed as CxFacetDatePicker, Md as CxFacetDateRange, Cc as CxFacetedFilter, Ld as CxFacetedFilterFacet, Ec as CxFileOnDemand, AOe as CxFindAndReplace, Js as CxFolderSelect, Bt as CxFontPicker, Wo as CxFormatBytes, Go as CxFormatDate, Ko as CxFormatNumber, qo as CxFormatTime, Vd as CxGalleryItem, I_ as CxGraphView, Jo as CxGrid, Yo as CxGridItem, Xo as CxHeader, $o as CxHubConnection, ce as CxIcon, oe as CxIconButton, Xt as CxIconPicker, ts as CxIframe, Io as CxImage, ns as CxImageComparer, rs as CxInclude, pr as CxInput, Cd as CxInputDatePicker, kd as CxInputDateRangePicker, is as CxInputGroup, MOe as CxLightbox, Pt as CxLineClamp, Gt as CxListEditor, ds as CxMarkdown, Ase as CxMarkdownViewer, Xs as CxMasonry, dO as CxMentions, mr as CxMenu, _r as CxMenuItem, fs as CxMenuLabel, ps as CxMenuSection, xc as CxMultiSelect, ms as CxMutationObserver, xr as CxOption, Zs as CxPaddingInputGroup, Nse as CxPageOutline, hs as CxPagination, Hse as CxPdfViewerToolbar, h as CxPopup, Qs as CxPositionPicker, Pa as CxProgressBar, gs as CxProgressRing, Wse as CxPublishPage, _s as CxQrCode, vs as CxRadio, ys as CxRadioButton, bs as CxRadioCard, xs as CxRadioGroup, Ss as CxRange, Cs as CxRating, ws as CxRelativeTime, Mt as CxResizeObserver, LOe as CxSearchBox, kr as CxSelect,
|
|
111893
|
+
export { ha as AUTO_FALLBACK_FORMAT, Hi as AUTO_FORMAT_EXTENSION, na as AUTO_ORIGINAL_FORMAT_MAX_BYTES, lo as CMYK_VALIDATION_REGEX, si as CalendarGrid, io as ColorType, on as CornerPosition, d as CortexElement, di as CortexPopupController, Mee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Ku as CxAnnotator, Nle as CxAnnotatorComment, It as CxArrayLineClamp, $u as CxAssetDataDisplay, zt as CxAssetFormatPicker, _c as CxAssetLinkFormat, Rt as CxAssetPicker, Vt as CxAssetTransformationDialog, Ln as CxAudio, Rn as CxAvatar, zn as CxBadge, Zle as CxBentoGrid, Is as CxBicolorPicker, Ls as CxBorderInputGroup, Bn as CxBox, Vn as CxBreadcrumb, Hn as CxBreadcrumbItem, Ae as CxButton, Un as CxButtonGroup, fue as CxCapacityPlanner, Wn as CxCard, iF as CxCarousel, Fz as CxChartPlanBuilder, ZR as CxChatbot, Gn as CxCheckbox, Vz as CxClusterManagement, Vr as CxColorPicker, Rs as CxColorSwatch, wc as CxColorSwatchGroup, cP as CxComment, Gz as CxCommentV1, zs as CxConfirmPopover, zEe as CxContentBuilder, YEe as CxContentBuilderViewer, Hr as CxCopyButton, Bs as CxCornerPositionInputGroup, Vs as CxCropper, Ut as CxDamCustomToolbarButtonsEditor, Fle as CxDashboardFilter, nd as CxDashboardIframe, Ble as CxDashboardTable, ad as CxDataTabGroup, Ea as CxDateCalendar, Da as CxDetails, ld as CxDetailsGroup, Oa as CxDialog, ja as CxDiff, Aa as CxDivider, hd as CxDocsExample, Fa as CxDocumentViewer, Bo as CxDotPagination, Vo as CxDotStatus, Yt as CxDownloadFormatPicker, OOe as CxDownloader, Na as CxDrawer, cr as CxDropdown, Ws as CxDynamicSelect, Ho as CxEChart, Uo as CxElementClamp, bd as CxEstimatedReadingTime, Ed as CxFacetDatePicker, Md as CxFacetDateRange, Cc as CxFacetedFilter, Ld as CxFacetedFilterFacet, Ec as CxFileOnDemand, AOe as CxFindAndReplace, Js as CxFolderSelect, Bt as CxFontPicker, Wo as CxFormatBytes, Go as CxFormatDate, Ko as CxFormatNumber, qo as CxFormatTime, Vd as CxGalleryItem, I_ as CxGraphView, Jo as CxGrid, Yo as CxGridItem, Xo as CxHeader, $o as CxHubConnection, ce as CxIcon, oe as CxIconButton, Xt as CxIconPicker, ts as CxIframe, Io as CxImage, ns as CxImageComparer, rs as CxInclude, pr as CxInput, Cd as CxInputDatePicker, kd as CxInputDateRangePicker, is as CxInputGroup, MOe as CxLightbox, Pt as CxLineClamp, Gt as CxListEditor, ds as CxMarkdown, Ase as CxMarkdownViewer, Xs as CxMasonry, dO as CxMentions, mr as CxMenu, _r as CxMenuItem, fs as CxMenuLabel, ps as CxMenuSection, xc as CxMultiSelect, ms as CxMutationObserver, xr as CxOption, Zs as CxPaddingInputGroup, Nse as CxPageOutline, hs as CxPagination, Hse as CxPdfViewerToolbar, h as CxPopup, Qs as CxPositionPicker, Pa as CxProgressBar, gs as CxProgressRing, Wse as CxPublishPage, _s as CxQrCode, vs as CxRadio, ys as CxRadioButton, bs as CxRadioCard, xs as CxRadioGroup, Ss as CxRange, Cs as CxRating, ws as CxRelativeTime, Mt as CxResizeObserver, LOe as CxSearchBox, kr as CxSelect, ec as CxShadowInputGroup, $s as CxShareOptionList, tc as CxSidebar, nc as CxSizeInputGroup, Ro as CxSkeleton, Sr as CxSpace, zOe as CxSpaceSelector, N3 as CxSpecialCharactersDialog, le as CxSpinner, Ts as CxSplitPanel, Kse as CxStatCard, Es as CxStep, Ds as CxStepper, rc as CxStepperWizard, Yse as CxStorybook, Os as CxSwitch, Ar as CxTab, Fr as CxTabGroup, zr as CxTabPanel, Ft as CxTag, KOe as CxTemplateSwitcher, Qke as CxTextToSpeech, br as CxTextarea, ks as CxTimecode, Nt as CxTooltip, js as CxTree, As as CxTreeItem, qt as CxTypeSubtypeSelect, ic as CxTypeface, In as CxTypography, Ps as CxVideo, FO as CxViewAndSort, Br as CxVisuallyHidden, dAe as CxXmlEditor, wo as DEFAULT_BREAKPOINTS, oi as DateRangePresets, Oi as DragScroll, tn as Easing, rn as EasingFunction, jt as FormControlController, en as GsapEasing, so as HEX_ALPHA_VALIDATION_REGEX, to as HEX_VALIDATION_REGEX, O as HasSlotController, Ci as HistoryManager, Jt as IconPickerVariant, bi as KeyboardKey, T as LocalizeController, tr as MIN_GRADIENT_STOPS, Qt as OBJECT_POSITION_BY_CROP_FOCUS, ya as ORIGINAL_FORMAT, $t as ObjectFit, nn as Orientation, _a as PRECISION, Zt as PositionPickerValue, Ja as RELATIVE_URL_REGEX, Xa as RGB_VALIDATION_REGEX, Wi as SRCSET_WIDTH_LADDER, an as TransitionType, Ua as URL_DOMAIN_VALIDATION_REGEX, Ka as URL_INTRANET_DOMAIN_VALIDATION_REGEX, Ba as URL_PROTOCOL_VALIDATION_REGEX, Ia as URL_VALIDATION_REGEX, sr as activeElements, Jr as addMonths, Ki as adjustRelativeValues, y as animateTo, Wa as appendProtocol, qa as appendQueryParam, qi as applyTransformationsToUrl, ua as applyWidthToAssetUrl, ia as buildAssetSrcset, Xi as buildSizesFromDisplayWidth, Yi as buildTransformationString, Pn as buildWaveformPath, Mn as calculateAspectRatioFit, ir as clamp, On as cleanImageFileName, pn as clearZeroDurationParts, g as componentStyles, ao as convertColor, Cn as convertDataUnits, yn as convertDurationToMilliseconds, xn as convertPixelsToAspectRatio, An as convertSrcToBlob, Zn as createStopId, En as cropImage, wt as cssValueToPx, C as customElement, Ot as customErrorValidityState, Oe as debounce, Kn as defaultValue, ba as downloadAsset, nr as drag, ot as emptyToSpace, tt as escapeXML, co as extractColor, it as extractExtension, oa as extractFrames, Ze as extractRootData, _n as extractValueAndUnit, Nn as extractWaveformPeaks, Fi as fetchCortexApi, Ee as findAncestorWithBuggyStyle, Se as findContainingBlock, we as findCuttingAncestor, pa as findFrameByColAndRow, va as findIndexByProp, We as findSearchMatches, lr as focusWhenVisible, nt as foldSearchText, he as fontAwesomeIconNames, At as formCollections, hn as formatAspectRatioString, Za as formatColorCodeSeparator, un as formatDurationPartsManually, no as formatHexCode, Yr as formatIsoToDisplay, ri as formatMonthYearLabel, bn as formatNumberWithGrouping, at as formatSecondsToTime, Ke as formatTimeToSeconds, fn as formatWithIntlDurationFormat, Sn as gcd, R as getActiveElement, ka as getActiveModals, ie as getAnimation, pe as getAnimationNames, Dt as getAssociatedForm, St as getAttributes, $e as getAttributesString, bo as getBreakpointsFromCSS, Ni as getBrowserFontVariants, uo as getColorType, wn as getContainedImageSize, _t as getCortexPopupLayer, ft as getCurrentZIndex, ei as getDateMask, or as getDeepestActiveElement, So as getDeviceType, ln as getDurationPartsByUnitsFormat, me as getEasingNames, bt as getElementFromHTMLString, Ct as getElementFromTemplate, Zr as getFirstDayOfWeek, yi as getFontFamilyOptionValue, Mi as getFontFamilyVariants, ki as getFormControls, Oo as getHighlightedTitle, Do as getHighlightedTitleHtml, E as getInnerHTML, Qi as getInterval, Qa as getLightDarkCssString, kn as getNaturalWidthHeight, pt as getNeededPaddingForBoxShadow, be as getNextAncestor, Cr as getOffset, vt as getRelativeClickPercentage, st as getRootIDString, dr as getTabbableBoundary, ur as getTabbableElements, D as getTextContent, Xr as getTodayIsoDate, Pi as getTypefaceOptionValue, sa as groupBy, Ri as hasTransformSegment, qe as htmlToPlainText, ma as insertAtIndex, zi as insertFrameToCache, $i as insertMultipleAtIndex, $n as interpolateStopColor, _e as isChrome, Dr as isCortexAdobePlugin, Tt as isDomElement, mt as isElementInHorizontalView, La as isExpiredAssetUrl, Ce as isFirefox, vi as isFontFamilyAvailable, Ta as isFormInteracted, Je as isGalleryItemCardType, Yn as isGradientString, Te as isIOS, ht as isInElement, ve as isMacOs, Li as isModKey, xe as isSafari, jn as isSaveSrcValid, Va as isValidDomainOrIntranetUrl, Wr as isValidIsoDate, Ya as isValidUrl, ci as isoToDate, Zi as isoWeekNumber, xt as loadScript, Er as lockBodyScrolling, $a as luminanceTextColor, Bi as moveMultipleToIndex, la as moveToIndex, ga as multiSelectTo, qn as normalizeAngle, ui as normalizeToIsoDate, wi as omit, Gi as openAssetOverview, Ji as openFolderOverview, da as openLink, rt as padPath, et as parseBooleanString, oo as parseBorder, Kr as parseDisplayToIso, x as parseDuration, xa as parseFileSizeToBytes, Qn as parseGradient, li as parseIsoDate, Ti as parseJsonString, ro as parseLightDark, Di as parseListString, eo as parseShadow, wa as parseTransformations, _i as pick, De as popoverSupported, v as prefersReducedMotion, rr as quantizeLargestRemainder, Si as quoteFontFamily, Ra as readAssetTokenExpiry, fi as readLocalStorageValue, yt as readSearchConsistency, Xe as reducePathToDirectChild, w as registerTranslation, Ui as removeAtIndex, ra as removeMultipleAtIndex, Tn as resizeImage, Vi as resolveAutoFormat, Ca as resolveAutoMaxWidth, za as resolveSpaceUrl, gn as rotateBox, Dn as rotateImage, Ye as safeExtension, Ue as safeString, ct as sanitizeHTML, vn as sanitizeRotation, wr as scrollIntoView, ca as seek, pi as serialize, er as serializeGradient, M as setAnimation, re as setDefaultAnimation, aa as shareAsset, _ as shimKeyframesHeightAuto, gt as sortByTopPosition, Jn as sortStops, fa as sortTypefaceVariants, Ir as splitBoxValues, dt as splitCamelCaseFormatted, Xn as splitTopLevel, b as stopAnimations, ye as supportHLS, xi as testFontAvailability, fo as timecodeConverter, Ge as toCamelCase, Ur as toIsoDate, ut as toKebabCase, Ve as toPascalCase, Ga as toRelativeUrl, Le as toTitleCase, Ha as toUrlPathKey, ta as toast, lt as truncateTextMiddle, He as unescapeXML, Tr as unlockBodyScrolling, Ii as unquoteFontFamily, ze as upperFirst, Et as validValidityState, kt as valueMissingValidityState, S as waitForEvent, A as watch, ea as writeLocalStorageValue };
|
package/library/package.json
CHANGED
|
@@ -203,7 +203,11 @@ export default class CxTreeItem extends CortexElement {
|
|
|
203
203
|
handleSortableUpdate(evt: Sortable.SortableEvent): void;
|
|
204
204
|
handleSortableStart(): void;
|
|
205
205
|
handleSortableEnd(): void;
|
|
206
|
-
|
|
206
|
+
/**
|
|
207
|
+
* Hides the native drag image. An element without a layout box (e.g. `display: none`) cannot be drawn,
|
|
208
|
+
* so Chrome falls back to a snapshot of the whole area around the dragged item.
|
|
209
|
+
*/
|
|
210
|
+
onDragStart(event: DragEvent): void;
|
|
207
211
|
private destroySortable;
|
|
208
212
|
private initSortable;
|
|
209
213
|
protected updated(changedProperties: PropertyValues): void;
|