@orangelogic/design-system 3.72.0 → 3.74.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.C-oaiP0S.js} +3 -3
- package/library/chunks/{config-manager.l4GuPN9t.js → config-manager.BnX64fGI.js} +3 -3
- package/library/chunks/{configs-controller.Dc2KbPnm.js → configs-controller.DIDTvuY-.js} +2 -2
- package/library/chunks/{document-viewer.PpoBWYf2.js → document-viewer.CJCPy_Jg.js} +2 -0
- 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.B1UeMiG_.js} +3 -3
- package/library/chunks/{tree.CQFXx5Sq.js → tree.B9-viK2b.js} +68 -68
- package/library/components/atoms.js +6 -6
- package/library/components/document-viewer.js +1 -1
- 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 +14 -14
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +5 -1
- package/library/packages/hybrid/book-reader/src/book-reader/book-reader.d.ts +2 -0
- 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.B1UeMiG_.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.DIDTvuY-.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.C-oaiP0S.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.DIDTvuY-.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
|
|
@@ -9,14 +9,14 @@ import { a as te, i as ne, r as re } from "./tab-group.DRQ_5LSk.js";
|
|
|
9
9
|
import { t as ie } from "./parse.CDrJ-NY7.js";
|
|
10
10
|
import { t as ae } from "./toString.r2ImdBrm.js";
|
|
11
11
|
import { t as oe } from "./capitalize.BT_EavGy.js";
|
|
12
|
-
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.
|
|
12
|
+
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.CJCPy_Jg.js";
|
|
13
13
|
import { f as de, l as fe } from "./url.CZO_DV8Y.js";
|
|
14
14
|
import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
|
|
15
15
|
import { _ as _e, g as ve, h as ye, m as be, p as xe, s as b } from "./responsive.L9Csz2w2.js";
|
|
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";
|
|
@@ -22,6 +22,7 @@ import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
|
22
22
|
import { t as input_default } from "./input.w9KQVNnx.js";
|
|
23
23
|
import { t as menu_default } from "./menu.Al_SBJNI.js";
|
|
24
24
|
import { t as menu_item_default } from "./menu-item.CX4NV4BU.js";
|
|
25
|
+
import { t as space_default } from "./space.Dd8jezXK.js";
|
|
25
26
|
import { t as drawer_default } from "./drawer.DdZl0Tae.js";
|
|
26
27
|
import { t as progress_bar_default } from "./progress-bar.BJfkoZ6G.js";
|
|
27
28
|
import { fetchCortexApi } from "../utils.js";
|
|
@@ -22183,6 +22184,7 @@ var CxBookReader = class extends CortexElement {
|
|
|
22183
22184
|
"cx-popup": popup_default,
|
|
22184
22185
|
"cx-progress-bar": progress_bar_default,
|
|
22185
22186
|
"cx-resize-observer": resize_observer_default,
|
|
22187
|
+
"cx-space": space_default,
|
|
22186
22188
|
"cx-spinner": spinner_default,
|
|
22187
22189
|
"cx-tooltip": tooltip_default,
|
|
22188
22190
|
"cx-typography": typography_default
|
|
@@ -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
|
|
@@ -44,14 +44,14 @@ import "./divider.CqSNZCU8.js";
|
|
|
44
44
|
import "./diff.DAFtnzhM.js";
|
|
45
45
|
import "./drawer.DdZl0Tae.js";
|
|
46
46
|
import "./progress-bar.BJfkoZ6G.js";
|
|
47
|
-
import "./document-viewer.
|
|
47
|
+
import "./document-viewer.CJCPy_Jg.js";
|
|
48
48
|
import "./image.WBQUoc3j.js";
|
|
49
49
|
import "./skeleton.BtwugOTG.js";
|
|
50
50
|
import "./dot-pagination.CH4nRyA8.js";
|
|
51
51
|
import "./dot-status.BATg_Fn-.js";
|
|
52
52
|
import "./e-chart.fGTLKIDX.js";
|
|
53
|
-
import "./element-clamp.BXz2Lc5M.js";
|
|
54
53
|
import "../components/format-bytes.js";
|
|
54
|
+
import "./element-clamp.BXz2Lc5M.js";
|
|
55
55
|
import "../components/format-date.js";
|
|
56
56
|
import "../components/format-number.js";
|
|
57
57
|
import "./format-time.DZCXUWmw.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.B1UeMiG_.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";
|
|
@@ -46,14 +46,14 @@ import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
|
46
46
|
import { t as Y } from "../chunks/diff.DAFtnzhM.js";
|
|
47
47
|
import { t as X } from "../chunks/drawer.DdZl0Tae.js";
|
|
48
48
|
import { t as Z } from "../chunks/progress-bar.BJfkoZ6G.js";
|
|
49
|
-
import { t as Q } from "../chunks/document-viewer.
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.CJCPy_Jg.js";
|
|
50
50
|
import { t as $ } from "../chunks/image.WBQUoc3j.js";
|
|
51
51
|
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
52
|
import { t as te } from "../chunks/dot-pagination.CH4nRyA8.js";
|
|
53
53
|
import { t as ne } from "../chunks/dot-status.BATg_Fn-.js";
|
|
54
54
|
import { t as re } from "../chunks/e-chart.fGTLKIDX.js";
|
|
55
|
-
import
|
|
56
|
-
import ae from "
|
|
55
|
+
import ie from "./format-bytes.js";
|
|
56
|
+
import { t as ae } from "../chunks/element-clamp.BXz2Lc5M.js";
|
|
57
57
|
import oe from "./format-date.js";
|
|
58
58
|
import se from "./format-number.js";
|
|
59
59
|
import { t as ce } from "../chunks/format-time.DZCXUWmw.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
|
-
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,
|
|
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, ae as CxElementClamp, ie 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/document-viewer.
|
|
1
|
+
import { t as e } from "../chunks/document-viewer.CJCPy_Jg.js";
|
|
2
2
|
export { e as default };
|
|
@@ -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,14 +5,14 @@ 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";
|
|
12
12
|
import { t as d } from "../chunks/shadow-input-group.kaLCMX3c.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.C28_ddOP.js";
|
|
14
|
-
import { t as p } from "../chunks/
|
|
15
|
-
import { t as m } from "../chunks/
|
|
14
|
+
import { t as p } from "../chunks/size-input-group.CFgOvLnO.js";
|
|
15
|
+
import { t as m } from "../chunks/sidebar.B1MjUxBY.js";
|
|
16
16
|
import { t as h } from "../chunks/stepper-wizard.BCmR5WiA.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.BHErcYfd.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, d as CxShadowInputGroup, f as CxShareOptionList,
|
|
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, d as CxShadowInputGroup, f as CxShareOptionList, m as CxSidebar, p as CxSizeInputGroup, h as CxStepperWizard, g as CxTypeface };
|
|
@@ -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.B1UeMiG_.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.C-oaiP0S.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";
|
|
@@ -94,7 +94,7 @@ import { t as fi } from "../chunks/diff.DAFtnzhM.js";
|
|
|
94
94
|
import { t as pi } from "../chunks/capitalize.BT_EavGy.js";
|
|
95
95
|
import { t as mi } from "../chunks/drawer.DdZl0Tae.js";
|
|
96
96
|
import { t as hi } from "../chunks/progress-bar.BJfkoZ6G.js";
|
|
97
|
-
import { t as gi } from "../chunks/document-viewer.
|
|
97
|
+
import { t as gi } from "../chunks/document-viewer.CJCPy_Jg.js";
|
|
98
98
|
import { a as _i, c as vi, d as yi, f as bi, i as xi, l as Si, n as Ci, o as wi, p as Ti, r as Ei, s as Di, t as Oi, u as ki } from "../chunks/url.CZO_DV8Y.js";
|
|
99
99
|
import { a as Ai, c as ji, d as Mi, f as Ni, h as Pi, i as Fi, l as Ii, m as Li, n as Ri, o as zi, p as Bi, r as Vi, s as Hi, t as Ui, u as Wi } from "../chunks/color.CIOzHtLK.js";
|
|
100
100
|
import { t as Gi } from "../chunks/converters.CFh-tT4P.js";
|
|
@@ -109,8 +109,8 @@ import { t as wo } from "../chunks/skeleton.BtwugOTG.js";
|
|
|
109
109
|
import { n as To, t as Eo } from "../chunks/dot-pagination.CH4nRyA8.js";
|
|
110
110
|
import { t as Do } from "../chunks/dot-status.BATg_Fn-.js";
|
|
111
111
|
import { t as Oo } from "../chunks/e-chart.fGTLKIDX.js";
|
|
112
|
-
import
|
|
113
|
-
import Ao from "
|
|
112
|
+
import ko from "./format-bytes.js";
|
|
113
|
+
import { t as Ao } from "../chunks/element-clamp.BXz2Lc5M.js";
|
|
114
114
|
import jo from "./format-date.js";
|
|
115
115
|
import Mo from "./format-number.js";
|
|
116
116
|
import { t as No } from "../chunks/format-time.DZCXUWmw.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,23 +154,23 @@ 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";
|
|
161
161
|
import { t as Rs } from "../chunks/position-picker.DwDC9gDl.js";
|
|
162
162
|
import { t as zs } from "../chunks/shadow-input-group.kaLCMX3c.js";
|
|
163
163
|
import { t as Bs } from "../chunks/share-option-list.C28_ddOP.js";
|
|
164
|
-
import { t as Vs } from "../chunks/
|
|
165
|
-
import { t as Hs } from "../chunks/
|
|
164
|
+
import { t as Vs } from "../chunks/size-input-group.CFgOvLnO.js";
|
|
165
|
+
import { t as Hs } from "../chunks/sidebar.B1MjUxBY.js";
|
|
166
166
|
import { t as Us } from "../chunks/stepper-wizard.BCmR5WiA.js";
|
|
167
167
|
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.DIDTvuY-.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";
|
|
@@ -28048,7 +28048,7 @@ var Ase = _O, vO = /* @__PURE__ */ function(e) {
|
|
|
28048
28048
|
static #e = this.styles = [g, jse];
|
|
28049
28049
|
static #t = this.dependencies = {
|
|
28050
28050
|
"cx-card": Bn,
|
|
28051
|
-
"cx-format-bytes":
|
|
28051
|
+
"cx-format-bytes": ko,
|
|
28052
28052
|
"cx-format-number": Mo,
|
|
28053
28053
|
"cx-format-time": No,
|
|
28054
28054
|
"cx-icon": ce,
|
|
@@ -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.BnX64fGI.js"), import("../chunks/configs-controller.DIDTvuY-.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
|
}
|
|
@@ -111424,4 +111424,4 @@ l([s({ type: String }), u("design:type", Object)], $9.prototype, "value", void 0
|
|
|
111424
111424
|
], $9.prototype, "handleValueChange", null), $9 = Q9 = l([C("cx-xml-editor")], $9);
|
|
111425
111425
|
var Lke = $9;
|
|
111426
111426
|
//#endregion
|
|
111427
|
-
export { la as AUTO_FALLBACK_FORMAT, ua as AUTO_FORMAT_EXTENSION, da as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Ui as CMYK_VALIDATION_REGEX, ri as CalendarGrid, Ri as ColorType, tn as CornerPosition, d as CortexElement, fa as CortexPopupController, Cee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Pu as CxAnnotator, yle as CxAnnotatorComment, Mt as CxArrayLineClamp, Vu as CxAssetDataDisplay, Ft as CxAssetFormatPicker, nc as CxAssetLinkFormat, Pt as CxAssetPicker, Lt as CxAssetTransformationDialog, Nn as CxAudio, Pn as CxAvatar, Fn as CxBadge, Lle as CxBentoGrid, Ss as CxBicolorPicker, Cs as CxBorderInputGroup, In as CxBox, Ln as CxBreadcrumb, Rn as CxBreadcrumbItem, ve as CxButton, zn as CxButtonGroup, Qle as CxCapacityPlanner, Bn as CxCard, $P as CxCarousel, Dz as CxChartPlanBuilder, UR as CxChatbot, Vn as CxCheckbox, Nz as CxClusterManagement, Lr as CxColorPicker, ws as CxColorSwatch, lc as CxColorSwatchGroup, rP as CxComment, Lz as CxCommentV1, Ts as CxConfirmPopover, pEe as CxContentBuilder, CEe as CxContentBuilderViewer, Rr as CxCopyButton, Es as CxCornerPositionInputGroup, Ds as CxCropper, zt as CxDamCustomToolbarButtonsEditor, xle as CxDashboardFilter, Wu as CxDashboardIframe, Ele as CxDashboardTable, qu as CxDataTabGroup, si as CxDateCalendar, ci as CxDetails, Zu as CxDetailsGroup, li as CxDialog, fi as CxDiff, di as CxDivider, rd as CxDocsExample, gi as CxDocumentViewer, Eo as CxDotPagination, Do as CxDotStatus, Gt as CxDownloadFormatPicker, eOe as CxDownloader, mi as CxDrawer, nr as CxDropdown, As as CxDynamicSelect, Oo as CxEChart,
|
|
111427
|
+
export { la as AUTO_FALLBACK_FORMAT, ua as AUTO_FORMAT_EXTENSION, da as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Ui as CMYK_VALIDATION_REGEX, ri as CalendarGrid, Ri as ColorType, tn as CornerPosition, d as CortexElement, fa as CortexPopupController, Cee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Pu as CxAnnotator, yle as CxAnnotatorComment, Mt as CxArrayLineClamp, Vu as CxAssetDataDisplay, Ft as CxAssetFormatPicker, nc as CxAssetLinkFormat, Pt as CxAssetPicker, Lt as CxAssetTransformationDialog, Nn as CxAudio, Pn as CxAvatar, Fn as CxBadge, Lle as CxBentoGrid, Ss as CxBicolorPicker, Cs as CxBorderInputGroup, In as CxBox, Ln as CxBreadcrumb, Rn as CxBreadcrumbItem, ve as CxButton, zn as CxButtonGroup, Qle as CxCapacityPlanner, Bn as CxCard, $P as CxCarousel, Dz as CxChartPlanBuilder, UR as CxChatbot, Vn as CxCheckbox, Nz as CxClusterManagement, Lr as CxColorPicker, ws as CxColorSwatch, lc as CxColorSwatchGroup, rP as CxComment, Lz as CxCommentV1, Ts as CxConfirmPopover, pEe as CxContentBuilder, CEe as CxContentBuilderViewer, Rr as CxCopyButton, Es as CxCornerPositionInputGroup, Ds as CxCropper, zt as CxDamCustomToolbarButtonsEditor, xle as CxDashboardFilter, Wu as CxDashboardIframe, Ele as CxDashboardTable, qu as CxDataTabGroup, si as CxDateCalendar, ci as CxDetails, Zu as CxDetailsGroup, li as CxDialog, fi as CxDiff, di as CxDivider, rd as CxDocsExample, gi as CxDocumentViewer, Eo as CxDotPagination, Do as CxDotStatus, Gt as CxDownloadFormatPicker, eOe as CxDownloader, mi as CxDrawer, nr as CxDropdown, As as CxDynamicSelect, Oo as CxEChart, Ao as CxElementClamp, cd as CxEstimatedReadingTime, md as CxFacetDatePicker, bd as CxFacetDateRange, cc as CxFacetedFilter, Td as CxFacetedFilterFacet, fc as CxFileOnDemand, nOe as CxFindAndReplace, Ps as CxFolderSelect, It as CxFontPicker, ko as CxFormatBytes, jo as CxFormatDate, Mo as CxFormatNumber, No as CxFormatTime, kd as CxGalleryItem, O_ as CxGraphView, Po as CxGrid, Fo as CxGridItem, Io as CxHeader, zo as CxHubConnection, ce as CxIcon, oe as CxIconButton, Kt as CxIconPicker, Vo as CxIframe, So as CxImage, Ho as CxImageComparer, Uo as CxInclude, sr as CxInput, dd as CxInputDatePicker, _d as CxInputDateRangePicker, Wo as CxInputGroup, iOe as CxLightbox, At as CxLineClamp, Vt as CxListEditor, Xo as CxMarkdown, rO as CxMarkdownViewer, Is as CxMasonry, oO as CxMentions, cr as CxMenu, dr as CxMenuItem, Zo as CxMenuLabel, Qo as CxMenuSection, oc as CxMultiSelect, $o as CxMutationObserver, hr as CxOption, Ls as CxPaddingInputGroup, yse as CxPageOutline, es as CxPagination, Ose as CxPdfViewerToolbar, h as CxPopup, Rs as CxPositionPicker, hi as CxProgressBar, ts as CxProgressRing, Ase as CxPublishPage, ns as CxQrCode, rs as CxRadio, is as CxRadioButton, as as CxRadioCard, ss as CxRadioGroup, cs as CxRange, ls as CxRating, us as CxRelativeTime, kt as CxResizeObserver, lOe as CxSearchBox, Tr as CxSelect, zs as CxShadowInputGroup, Bs as CxShareOptionList, Hs as CxSidebar, Vs as CxSizeInputGroup, wo as CxSkeleton, gr as CxSpace, dOe as CxSpaceSelector, R3 as CxSpecialCharactersDialog, le as CxSpinner, ds as CxSplitPanel, Mse as CxStatCard, fs as CxStep, ps as CxStepper, Us as CxStepperWizard, Fse as CxStorybook, ms as CxSwitch, Er as CxTab, jr as CxTabGroup, Fr as CxTabPanel, jt as CxTag, vOe as CxTemplateSwitcher, wke as CxTextToSpeech, mr as CxTextarea, hs as CxTimecode, Ot as CxTooltip, _s as CxTree, gs as CxTreeItem, Ut as CxTypeSubtypeSelect, Ws as CxTypeface, Mn as CxTypography, bs as CxVideo, AO as CxViewAndSort, Ir as CxVisuallyHidden, Lke as CxXmlEditor, ra as DEFAULT_BREAKPOINTS, ni as DateRangePresets, pa as DragScroll, Zt as Easing, $t as EasingFunction, _t as FormControlController, Xt as GsapEasing, Vi as HEX_ALPHA_VALIDATION_REGEX, Fi as HEX_VALIDATION_REGEX, O as HasSlotController, ma as HistoryManager, Wt as IconPickerVariant, ha as KeyboardKey, T as LocalizeController, Zn as MIN_GRADIENT_STOPS, Jt as OBJECT_POSITION_BY_CROP_FOCUS, Yt as ObjectFit, Qt as Orientation, ga as PRECISION, qt as PositionPickerValue, Oi as RELATIVE_URL_REGEX, Ai as RGB_VALIDATION_REGEX, _a as SRCSET_WIDTH_LADDER, en as TransitionType, Ci as URL_DOMAIN_VALIDATION_REGEX, Ei as URL_INTRANET_DOMAIN_VALIDATION_REGEX, xi as URL_PROTOCOL_VALIDATION_REGEX, _i as URL_VALIDATION_REGEX, vr as activeElements, Wr as addMonths, va as adjustRelativeValues, y as animateTo, wi as appendProtocol, Di as appendQueryParam, ya as applyTransformationsToUrl, ba as applyWidthToAssetUrl, xa as buildAssetSrcset, Sa as buildSizesFromDisplayWidth, Ca as buildTransformationString, An as buildWaveformPath, On as calculateAspectRatioFit, er as clamp, wn as cleanImageFileName, ln as clearZeroDurationParts, g as componentStyles, zi as convertColor, yn as convertDataUnits, hn as convertDurationToMilliseconds, _n as convertPixelsToAspectRatio, En as convertSrcToBlob, qn as createStopId, Sn as cropImage, ut as cssValueToPx, C as customElement, mt as customErrorValidityState, Dt as debounce, Hn as defaultValue, wa as downloadAsset, Qn as drag, Ge as emptyToSpace, Be as escapeXML, Hi as extractColor, Ue as extractExtension, Ta as extractFrames, Le as extractRootData, pn as extractValueAndUnit, kn as extractWaveformPeaks, Ea as fetchCortexApi, Tt as findAncestorWithBuggyStyle, xt as findContainingBlock, Ct as findCuttingAncestor, Da as findFrameByColAndRow, Oa as findIndexByProp, rr as focusWhenVisible, he as fontAwesomeIconNames, gt as formCollections, dn as formatAspectRatioString, ji as formatColorCodeSeparator, on as formatDurationPartsManually, Ii as formatHexCode, Gr as formatIsoToDisplay, $r as formatMonthYearLabel, gn as formatNumberWithGrouping, Me as formatSecondsToTime, Ve as formatTimeToSeconds, cn as formatWithIntlDurationFormat, vn as gcd, at as getActiveElement, ui as getActiveModals, ie as getAnimation, pe as getAnimationNames, pt as getAssociatedForm, ct as getAttributes, We as getAttributesString, $i as getBreakpointsFromCSS, ka as getBrowserFontVariants, Wi as getColorType, bn as getContainedImageSize, nt as getCortexPopupLayer, Ze as getCurrentZIndex, Xr as getDateMask, _r as getDeepestActiveElement, ta as getDeviceType, an as getDurationPartsByUnitsFormat, me as getEasingNames, ot as getElementFromHTMLString, lt as getElementFromTemplate, qr as getFirstDayOfWeek, Aa as getFontFamilyOptionValue, ja as getFontFamilyVariants, Ma as getFormControls, sa as getHighlightedTitle, oa as getHighlightedTitleHtml, E as getInnerHTML, Na as getInterval, Mi as getLightDarkCssString, Tn as getNaturalWidthHeight, Qe as getNeededPaddingForBoxShadow, yt as getNextAncestor, yr as getOffset, rt as getRelativeClickPercentage, L as getRootIDString, ar as getTabbableBoundary, ir as getTabbableElements, D as getTextContent, Kr as getTodayIsoDate, Pa as getTypefaceOptionValue, Fa as groupBy, Ia as hasTransformSegment, Re as htmlToPlainText, La as insertAtIndex, Ra as insertFrameToCache, za as insertMultipleAtIndex, Yn as interpolateStopColor, vt as isChrome, Cr as isCortexAdobePlugin, dt as isDomElement, $e as isElementInHorizontalView, vi as isExpiredAssetUrl, St as isFirefox, Ba as isFontFamilyAvailable, Va as isFormInteracted, Ke as isGalleryItemCardType, Gn as isGradientString, wt as isIOS, et as isInElement, Ha as isModKey, z as isSafari, Dn as isSaveSrcValid, Si as isValidDomainOrIntranetUrl, Br as isValidIsoDate, ki as isValidUrl, ii as isoToDate, Ua as isoWeekNumber, st as loadScript, Sr as lockBodyScrolling, Ni as luminanceTextColor, Wa as moveMultipleToIndex, Ga as moveToIndex, Ka as multiSelectTo, Un as normalizeAngle, oi as normalizeToIsoDate, qa as omit, Ja as openAssetOverview, Ya as openFolderOverview, Xa as openLink, Pe as padPath, Fe as parseBooleanString, Bi as parseBorder, Hr as parseDisplayToIso, x as parseDuration, Za as parseFileSizeToBytes, Jn as parseGradient, ai as parseIsoDate, Qa as parseJsonString, Li as parseLightDark, $a as parseListString, Pi as parseShadow, eo as parseTransformations, to as pick, bt as popoverSupported, v as prefersReducedMotion, $n as quantizeLargestRemainder, no as quoteFontFamily, ro as readLocalStorageValue, it as readSearchConsistency, He as reducePathToDirectChild, w as registerTranslation, io as removeAtIndex, ao as removeMultipleAtIndex, xn as resizeImage, oo as resolveAutoFormat, so as resolveAutoMaxWidth, yi as resolveSpaceUrl, fn as rotateBox, Cn as rotateImage, ze as safeExtension, R as safeString, Ie as sanitizeHTML, mn as sanitizeRotation, br as scrollIntoView, co as serialize, Xn as serializeGradient, M as setAnimation, re as setDefaultAnimation, lo as shareAsset, _ as shimKeyframesHeightAuto, tt as sortByTopPosition, Wn as sortStops, uo as sortTypefaceVariants, Mr as splitBoxValues, je as splitCamelCaseFormatted, Kn as splitTopLevel, b as stopAnimations, Et as supportHLS, fo as testFontAvailability, Gi as timecodeConverter, qe as toCamelCase, zr as toIsoDate, Xe as toKebabCase, Ne as toPascalCase, bi as toRelativeUrl, Ye as toTitleCase, Ti as toUrlPathKey, po as toast, ke as truncateTextMiddle, Te as unescapeXML, xr as unlockBodyScrolling, mo as unquoteFontFamily, Je as upperFirst, ft as validValidityState, ht as valueMissingValidityState, S as waitForEvent, A as watch, ho as writeLocalStorageValue };
|
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;
|
|
@@ -9,6 +9,7 @@ import { default as CxMenuItem } from '../../../../atoms/src/components/menu-ite
|
|
|
9
9
|
import { default as CxPopup } from '../../../../atoms/src/components/popup/popup.ts';
|
|
10
10
|
import { default as CxProgressBar } from '../../../../atoms/src/components/progress-bar/progress-bar.ts';
|
|
11
11
|
import { default as CxResizeObserver } from '../../../../atoms/src/components/resize-observer/resize-observer.ts';
|
|
12
|
+
import { default as CxSpace } from '../../../../atoms/src/components/space/space.ts';
|
|
12
13
|
import { default as CxSpinner } from '../../../../atoms/src/components/spinner/spinner.ts';
|
|
13
14
|
import { default as CxTooltip } from '../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
14
15
|
import { default as CxTypography } from '../../../../atoms/src/components/typography/typography.ts';
|
|
@@ -44,6 +45,7 @@ export default class CxBookReader extends CortexElement {
|
|
|
44
45
|
'cx-popup': typeof CxPopup;
|
|
45
46
|
'cx-progress-bar': typeof CxProgressBar;
|
|
46
47
|
'cx-resize-observer': typeof CxResizeObserver;
|
|
48
|
+
'cx-space': typeof CxSpace;
|
|
47
49
|
'cx-spinner': typeof CxSpinner;
|
|
48
50
|
'cx-tooltip': typeof CxTooltip;
|
|
49
51
|
'cx-typography': typeof CxTypography;
|