@orangelogic/design-system 2.164.0 → 2.165.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/{asset-link-format.0q_MQOYh.js → asset-link-format.b3g80XdM.js} +1 -1
- package/library/chunks/{button.DGyqdBou.js → button.U0OBAsln.js} +1 -1
- package/library/chunks/button.styles.B81R4myI.js +5 -0
- package/library/chunks/{color-swatch-group.ChP9amU9.js → color-swatch-group.exfnb_Rr.js} +4383 -4063
- package/library/chunks/{confirm-popover.D8mdy6KG.js → confirm-popover.Dpoah4lQ.js} +1 -1
- package/library/chunks/{document-viewer.Cng07M-1.js → document-viewer.CMZNXDup.js} +1 -1
- package/library/chunks/{folder-select.Dw1ZKZAq.js → folder-select.Di32cpBd.js} +1 -1
- package/library/chunks/{pagination.qFmncShC.js → pagination.qpK3q6zm.js} +1 -1
- package/library/chunks/{tab-group.1Y71_aN8.js → tab-group.BUdxhjXK.js} +1 -1
- package/library/components/asset-link-format.js +2 -2
- package/library/components/atoms.js +4 -4
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +2 -2
- package/library/components/document-viewer.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +4 -4
- package/library/components/folder-select.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/molecules.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +2 -2
- package/library/components/radio-button.js +1 -1
- package/library/components/tab-group.js +2 -2
- package/library/components/types.js +12 -12
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/button/button.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +146 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/TabulatorFull.d.ts +14 -0
- package/package.json +1 -1
- package/library/chunks/button.styles.svc2lIwC.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as resizableComponentStyles, R as ResizableElement, a as ResizeDirection, b as HeightMode } from "./resizable-component.styles.CAfXABBc.js";
|
|
2
|
-
import { C as CxButton } from "./button.
|
|
2
|
+
import { C as CxButton } from "./button.U0OBAsln.js";
|
|
3
3
|
import CxDrawer from "../components/drawer.js";
|
|
4
4
|
import CxDropdown from "../components/dropdown.js";
|
|
5
5
|
import { C as CxIcon } from "./icon.D5iM9wXS.js";
|
|
@@ -15,7 +15,7 @@ import { x as y, i as $e } from "./lit-element.jLBm65_O.js";
|
|
|
15
15
|
import { r as g } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as se } from "./query.BBf1UFkC.js";
|
|
17
17
|
import { r as ve } from "./choose.BTbF6BAn.js";
|
|
18
|
-
import { C as ie } from "./button.
|
|
18
|
+
import { C as ie } from "./button.U0OBAsln.js";
|
|
19
19
|
import { d as Se } from "./debounce.DaHuiSGU.js";
|
|
20
20
|
import { g as A, p as J, e as Fe } from "./string.BhJ0Zogu.js";
|
|
21
21
|
import { o as p } from "./if-defined.BRoBj_Rp.js";
|
|
@@ -10,7 +10,7 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.CFjcER6_.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button.
|
|
13
|
+
import { C as w } from "./button.U0OBAsln.js";
|
|
14
14
|
import { C as v } from "./input.DOorVTYZ.js";
|
|
15
15
|
import { C as I } from "./option.DyNR1vzy.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
@@ -17,7 +17,7 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.U0OBAsln.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
22
|
import { C as qn } from "./icon-button.BwmMJ0bI.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./cropper.js";
|
|
2
|
-
import "../chunks/button.
|
|
2
|
+
import "../chunks/button.U0OBAsln.js";
|
|
3
3
|
import "./space.js";
|
|
4
4
|
import "../chunks/typography.IqHbnd3C.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { C as h } from "../chunks/asset-link-format.
|
|
6
|
+
import { C as h } from "../chunks/asset-link-format.b3g80XdM.js";
|
|
7
7
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import "../chunks/asset-link-format.ClaYu_v8.js";
|
|
9
9
|
import "../chunks/position-picker.DjnhxIKF.js";
|
|
@@ -9,7 +9,7 @@ import { default as h } from "./avatar.js";
|
|
|
9
9
|
import { default as P } from "./badge.js";
|
|
10
10
|
import { default as M } from "./breadcrumb.js";
|
|
11
11
|
import { default as F } from "./breadcrumb-item.js";
|
|
12
|
-
import { C as O } from "../chunks/button.
|
|
12
|
+
import { C as O } from "../chunks/button.U0OBAsln.js";
|
|
13
13
|
import { default as E } from "./button-group.js";
|
|
14
14
|
import { default as L } from "./card.js";
|
|
15
15
|
import { default as j } from "./checkbox.js";
|
|
@@ -20,7 +20,7 @@ import { default as W } from "./details.js";
|
|
|
20
20
|
import { default as Y } from "./diff.js";
|
|
21
21
|
import { C as _ } from "../chunks/dialog.05FgdLBZ.js";
|
|
22
22
|
import { default as oe } from "./divider.js";
|
|
23
|
-
import { C as ae } from "../chunks/document-viewer.
|
|
23
|
+
import { C as ae } from "../chunks/document-viewer.CMZNXDup.js";
|
|
24
24
|
import { C as xe } from "../chunks/dot-pagination.Pg9O0nIh.js";
|
|
25
25
|
import { default as me } from "./dot-status.js";
|
|
26
26
|
import { default as pe } from "./drawer.js";
|
|
@@ -52,7 +52,7 @@ import { default as ao } from "./menu-label.js";
|
|
|
52
52
|
import { default as xo } from "./menu-section.js";
|
|
53
53
|
import { default as mo } from "./mutation-observer.js";
|
|
54
54
|
import { C as po } from "../chunks/option.DyNR1vzy.js";
|
|
55
|
-
import { C as uo } from "../chunks/pagination.
|
|
55
|
+
import { C as uo } from "../chunks/pagination.qpK3q6zm.js";
|
|
56
56
|
import { default as no } from "./popup.js";
|
|
57
57
|
import { default as co } from "./progress-bar.js";
|
|
58
58
|
import { default as bo } from "./progress-ring.js";
|
|
@@ -74,7 +74,7 @@ import { default as Uo } from "./step.js";
|
|
|
74
74
|
import { default as Xo } from "./stepper.js";
|
|
75
75
|
import { default as Zo } from "./switch.js";
|
|
76
76
|
import { default as et } from "./tab.js";
|
|
77
|
-
import { C as tt } from "../chunks/tab-group.
|
|
77
|
+
import { C as tt } from "../chunks/tab-group.BUdxhjXK.js";
|
|
78
78
|
import { default as rt } from "./tab-panel.js";
|
|
79
79
|
import { default as ft } from "./tag.js";
|
|
80
80
|
import { default as st } from "./textarea.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
|
-
import { C as h } from "../chunks/button.
|
|
3
|
+
import { C as h } from "../chunks/button.U0OBAsln.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import "../chunks/form.CP9KLGjF.js";
|
|
6
6
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
@@ -14,7 +14,7 @@ import "../chunks/when.Dr1es41R.js";
|
|
|
14
14
|
import "../chunks/static.UA3G1Deq.js";
|
|
15
15
|
import "../chunks/icon.D5iM9wXS.js";
|
|
16
16
|
import "./spinner.js";
|
|
17
|
-
import "../chunks/button.styles.
|
|
17
|
+
import "../chunks/button.styles.B81R4myI.js";
|
|
18
18
|
export {
|
|
19
19
|
h as default
|
|
20
20
|
};
|
|
@@ -16,7 +16,7 @@ import { e as _ } from "../chunks/class-map.BiVq-cVR.js";
|
|
|
16
16
|
import { o as y } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
17
17
|
import { o as f } from "../chunks/style-map.llVFPd__.js";
|
|
18
18
|
import { n as d } from "../chunks/when.Dr1es41R.js";
|
|
19
|
-
import { C as B } from "../chunks/button.
|
|
19
|
+
import { C as B } from "../chunks/button.U0OBAsln.js";
|
|
20
20
|
import L from "./button-group.js";
|
|
21
21
|
import T from "./dropdown.js";
|
|
22
22
|
import { C as N } from "../chunks/icon.D5iM9wXS.js";
|
|
@@ -3,7 +3,7 @@ import "../chunks/typography.IqHbnd3C.js";
|
|
|
3
3
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import "../chunks/color-swatch.QsHoy_K1.js";
|
|
5
5
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
6
|
-
import { C as v } from "../chunks/color-swatch-group.
|
|
6
|
+
import { C as v } from "../chunks/color-swatch-group.exfnb_Rr.js";
|
|
7
7
|
import "../chunks/transformation.8uLv6uwG.js";
|
|
8
8
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
9
9
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../chunks/button.
|
|
1
|
+
import "../chunks/button.U0OBAsln.js";
|
|
2
2
|
import "../chunks/dialog.05FgdLBZ.js";
|
|
3
3
|
import "./dropdown.js";
|
|
4
4
|
import "../chunks/typography.IqHbnd3C.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
7
|
-
import { C as x } from "../chunks/confirm-popover.
|
|
7
|
+
import { C as x } from "../chunks/confirm-popover.Dpoah4lQ.js";
|
|
8
8
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
9
9
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
10
10
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
2
|
-
import { C as b } from "../chunks/document-viewer.
|
|
2
|
+
import { C as b } from "../chunks/document-viewer.CMZNXDup.js";
|
|
3
3
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
4
|
import "../chunks/index.Cpamj0jB.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -9,7 +9,7 @@ import { r as k } from "../chunks/state.CSDxrqLd.js";
|
|
|
9
9
|
import { e as E } from "../chunks/query.BBf1UFkC.js";
|
|
10
10
|
import { e as H } from "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import { a as p, g } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
12
|
-
import { C as B } from "../chunks/button.
|
|
12
|
+
import { C as B } from "../chunks/button.U0OBAsln.js";
|
|
13
13
|
const T = C`:host{--toggler-color:var(--cx-color-primary);display:block;overflow:hidden}.element-clamp{overflow-anchor:none}.element-clamp--disabled{opacity:.5}.element-clamp-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .element-clamp-icon{rotate:90deg}.details--open.details--rtl .element-clamp-icon{rotate:-90deg}.element-clamp--open slot[name=expand-icon],.element-clamp:not(.element-clamp--open) slot[name=collapse-icon]{display:none}.element-clamp__content{display:block;overflow:hidden}.toggler{margin-top:var(--cx-spacing-2x-small);display:block}.toggler::part(base){color:var(--toggler-color);font-weight:var(--cx-font-weight-medium);text-transform:none;width:auto}.toggler::part(label){padding-left:0}`;
|
|
14
14
|
var z = Object.defineProperty, O = Object.getOwnPropertyDescriptor, n = (e, t, i, r) => {
|
|
15
15
|
for (var s = r > 1 ? void 0 : r ? O(t, i) : t, h = e.length - 1, l; h >= 0; h--)
|
|
@@ -16,7 +16,7 @@ import { n as p } from "../chunks/when.Dr1es41R.js";
|
|
|
16
16
|
import { b as At } from "../chunks/_baseEach.DQk0As2f.js";
|
|
17
17
|
import { b as Dt } from "../chunks/_baseIteratee.sC2wLi2m.js";
|
|
18
18
|
import Tt from "./avatar.js";
|
|
19
|
-
import { C as zt } from "../chunks/button.
|
|
19
|
+
import { C as zt } from "../chunks/button.U0OBAsln.js";
|
|
20
20
|
import { C as Pt } from "../chunks/dialog.05FgdLBZ.js";
|
|
21
21
|
import Et from "./divider.js";
|
|
22
22
|
import nt from "./format-bytes.js";
|
|
@@ -27,11 +27,11 @@ import yt from "./relative-time.js";
|
|
|
27
27
|
import Ft from "./select.js";
|
|
28
28
|
import Rt from "./space.js";
|
|
29
29
|
import kt from "./tab.js";
|
|
30
|
-
import { C as Ot } from "../chunks/tab-group.
|
|
30
|
+
import { C as Ot } from "../chunks/tab-group.BUdxhjXK.js";
|
|
31
31
|
import Nt from "./tab-panel.js";
|
|
32
32
|
import bt from "./tooltip.js";
|
|
33
33
|
import { C as rt } from "../chunks/typography.IqHbnd3C.js";
|
|
34
|
-
import { C as jt } from "../chunks/confirm-popover.
|
|
34
|
+
import { C as jt } from "../chunks/confirm-popover.Dpoah4lQ.js";
|
|
35
35
|
import { d as Bt } from "../chunks/debounce.DaHuiSGU.js";
|
|
36
36
|
import { c as Z } from "../chunks/number.Cx2ncfJJ.js";
|
|
37
37
|
import { i as X, b as pt } from "../chunks/url.Bd5rq4G0.js";
|
|
@@ -943,7 +943,7 @@ H([
|
|
|
943
943
|
L = H([
|
|
944
944
|
q("cx-file-on-demand-asset")
|
|
945
945
|
], L);
|
|
946
|
-
const fe = ot`:host{--asset-height:40px;color:var(--cx-color-neutral-900);--cx-button-text-transform:none;--tooltip-max-width:min(80vw, 640px);height:100%;display:block}.container{height:100%;display:block}.container--user-interaction-blocked{pointer-events:none;user-select:none}.loading-overlay{background-color:var(--cx-color-neutral-50);opacity:.8;width:100%;height:100%;z-index:var(--cx-z-index-tooltip);justify-content:center;align-items:center;display:flex;position:absolute;top:0;left:0}.assets,.welcome{flex-direction:column;height:100%;display:flex}.assets-list__tab-group .empty-icon{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-3x-large)}cx-tab{line-height:var(--cx-line-height-large)}.assets-list__tab-group cx-tab{width:25%}.settings__tab-group cx-tab{width:50%}cx-tab::part(base){justify-content:center;display:flex}cx-tab::part(label){text-align:center}cx-tab-panel{--padding:0 0 var(--cx-spacing-x-small) 0}cx-icon[slot=prefix]{font-size:var(--cx-font-size-large)}.error-message{color:var(--cx-color-danger);min-height:1ch}.welcome{padding:var(--cx-spacing-x-large) var(--cx-spacing-medium) var(--cx-spacing-medium) var(--cx-spacing-medium);justify-content:center;align-items:center;gap:var(--cx-spacing-x-large)}.welcome__message{justify-content:center;align-items:center;gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.welcome__actions{justify-content:center;gap:var(--cx-spacing-x-small);flex-direction:column;width:100%;display:flex}.welcome__connect-button,.welcome__cancel-connection-button,.welcome__input{width:100%}.welcome__connect-button--disabled::part(base){cursor:help}.welcome .error-message{text-align:center}.header{background-color:var(--cx-color-neutral-50);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);justify-content:space-between;line-height:1;display:flex}.header__user{align-items:center;gap:var(--cx-spacing-x-small);display:flex;overflow:hidden}.header__username{display:flex;overflow:hidden}.header__username__text{flex-grow:1;flex-shrink:1;overflow:hidden}.header__avatar{--size:24px}.header__actions{min-width:fit-content}.settings__version__badge::part(base){width:var(--cx-spacing-x-small);padding:0}.assets-list{flex:1;height:0}.assets-list__tab-group,.assets-list__tab-group::part(base),.assets-list__tab-group::part(body),.assets-list__tab-group cx-tab-panel,.assets-list__tab-group cx-tab-panel::part(base){height:100%;overflow:hidden}.assets-list__tab-group .assets-list__tab-group__empty-message{justify-content:center;align-items:center;gap:var(--cx-spacing-medium);font-size:var(--cx-font-size-x-large);padding:var(--cx-spacing-large) 0;text-align:center;flex-direction:column;display:flex}.assets-list__tab-group .assets-list__tab-group__empty-message:not(.favorites-empty){margin-top:40px}.assets-list__tab-group .recent__list,.assets-list__tab-group .favorites__list,.assets-list__tab-group .uploads__list,.assets-list__tab-group .pinned__list{height:100%;padding:0 0 var(--cx-spacing-x-small) 0;flex-direction:column;display:flex;overflow:hidden auto}.favorites-tab-panel__content,.pinned-tab-panel__content{flex-direction:column;height:100%;display:flex}.favorites__sync-time{justify-content:center;align-items:center;display:flex}.assets-list__tab-group .favorites__list,.assets-list__tab-group .pinned__list{flex:1;height:0}.recent__other.empty,.uploads__other.empty,.recent__today.empty,.uploads__today.empty{display:none}.status-footer{padding:0 var(--cx-spacing-small) var(--cx-spacing-small) var(--cx-spacing-small);gap:var(--cx-spacing-2x-small);flex-direction:column;display:flex}.status-footer cx-typography,.status-footer cx-line-clamp{line-height:1}.status-footer .cache-usage,.status-footer .connected-url,.status-footer .connection-status,.status-footer .asset-index-sync-status{justify-content:space-between;align-items:center;display:flex}.status-footer .label{color:var(--cx-color-neutral-600)}.status-footer__divider{--spacing:0;margin-bottom:var(--cx-spacing-small)}.connected-url .label{white-space:nowrap}.connected-url .value-line-clamp{padding:0 var(--cx-spacing-2x-small)}.connected-url .value::part(base){font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.cache-usage__warning-icon{color:var(--cx-color-warning-500)}.status-footer .cache-usage .label{color:var(--cx-color-neutral-600)}.connection-status__value{justify-content:center;align-items:center;gap:var(--cx-spacing-2x-small);cursor:help;display:flex}.connection-status__value cx-typography{display:inline-flex}.connection-status__value cx-typography::part(base){text-transform:capitalize;font-weight:var(--cx-font-weight-medium)}.connection-status--excellent .connection-status__value{color:var(--cx-color-success)}.connection-status--good .connection-status__value{color:var(--cx-color-warning)}.connection-status--bad .connection-status__value{color:var(--cx-color-danger)}.connection-status cx-icon{font-size:var(--cx-font-size-medium)}.asset-index-sync-status .value{justify-content:center;align-items:center;gap:var(--cx-spacing-2x-small);display:flex}.asset-index-sync-status .value cx-typography{display:inline-flex}.asset-index-sync-status .value cx-typography::part(base){text-transform:capitalize;font-weight:var(--cx-font-weight-medium)}.asset-index-sync-status--loaded .value{color:var(--cx-color-success)}.asset-index-sync-status--loading .value{color:var(--cx-color-warning)}.asset-index-sync-status--error .value{color:var(--cx-color-danger)}.asset-index-sync-status cx-icon{font-size:var(--cx-font-size-medium)}.uploads__list .asset-group__label{justify-content:space-between;align-items:center;display:flex}.asset-group__clear-button::part(base){color:var(--cx-color-primary-500);font-size:var(--cx-font-size-x-small)}.asset-group__label{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);color:var(--cx-color-neutral-400);line-height:var(--cx-line-height-large)}.settings{height:100%}.settings .error-message{text-align:center}.settings__form{flex-direction:column;height:100%;display:flex}.settings__tab-group{flex:1;height:0}.settings__tab-group::part(base),.settings__tab-group::part(body){height:100%;overflow:hidden}.settings__tab-group cx-tab-panel{padding:var(--cx-spacing-medium) var(--cx-spacing-large) var(--cx-spacing-large) var(--cx-spacing-large);height:100%;overflow-y:auto}.settings-group{gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.settings__general,.settings__advanced{gap:calc(var(--cx-spacing-small) * 2);flex-direction:column;display:flex}.settings__footer{border-top:1px solid var(--cx-color-neutral-200);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);justify-content:flex-end;display:flex}.settings__footer__actions{gap:var(--cx-spacing-x-small);display:flex}.settings__connection-url{justify-content:space-between;display:flex}.settings__connection-url__value{padding:0 var(--cx-spacing-small);flex-grow:1;flex-shrink:1;overflow:hidden}.settings__software__version{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.settings__software__version__value{justify-content:space-between;align-items:center;gap:var(--cx-spacing-2x-small);display:flex}.settings__software__version__value__text{flex-grow:1;flex-shrink:1;overflow:hidden}.settings__software__version__install-button{flex-shrink:0}.settings__about{text-align:center;color:var(--cx-color-neutral-500)}.settings__disconnect-button{width:100%}.settings__disconnect-button::part(base),.settings__disconnect-button cx-icon{color:var(--cx-color-danger)}.settings__cache__size{gap:var(--cx-spacing-medium);flex-direction:column;display:flex}.settings__cache__input{gap:var(--cx-spacing-medium);flex-direction:row;display:flex}.settings__cache__size cx-input{flex:1}.settings__cache__input .size-unit{color:var(--cx-color-neutral-700)}.settings__cache__location{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.settings__cache__location__label,.settings__cache__size__label{--color:var(--cx-color-neutral-600)}.settings__cache__location__value{justify-content:space-between;align-items:center;display:flex}.settings__cache__location__value__text{padding:0 var(--cx-spacing-small);flex-grow:1;flex-shrink:1;overflow:hidden}.settings__cache__location__actions{flex-wrap:nowrap}.settings__cache__location__change-button{flex-shrink:0}cx-tree-item:not(.selectable){--selected-color:var(--cx-color-neutral-700)}cx-tree-item:not(:hover):not(.selectable)::part(item){background-color:unset;color:var(--cx-color-neutral-700)}.folder-tree{flex:1;overflow:auto}.folder-tree:not(.selectable){max-height:200px}.folder-tree__item::part(label){width:100%;overflow:hidden}.folder-tree__icon{font-size:var(--cx-font-size-large);color:var(--cx-color-neutral-600)}.folder-tree__label{gap:var(--cx-spacing-x-small);width:100%;line-height:var(--cx-line-height-medium);display:flex;overflow:hidden}.folder-tree__label__value{flex-grow:1;flex-shrink:1;overflow:hidden}.select-folders-popup::part(body){gap:var(--cx-spacing-medium);flex-direction:column;display:flex;overflow:hidden}.select-folders-popup .selectable-folder-tree{flex:1;overflow:auto}.select-folders-popup__actions{justify-content:flex-end;display:flex}`;
|
|
946
|
+
const fe = ot`:host{--asset-height:40px;color:var(--cx-color-neutral-900);--cx-button-text-transform:none;--tooltip-max-width:min(80vw, 640px);height:100%;display:block}.container{height:100%;display:block}.container--user-interaction-blocked{pointer-events:none;user-select:none}.loading-overlay{background-color:var(--cx-color-neutral-50);opacity:.8;width:100%;height:100%;z-index:var(--cx-z-index-tooltip);justify-content:center;align-items:center;display:flex;position:absolute;top:0;left:0}.assets,.welcome{flex-direction:column;height:100%;display:flex}.assets-list__tab-group .empty-icon{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-3x-large)}cx-tab{line-height:var(--cx-line-height-large)}.assets-list__tab-group cx-tab{width:25%}.settings__tab-group cx-tab{width:50%}cx-tab::part(base){justify-content:center;display:flex}cx-tab::part(label){text-align:center}cx-tab-panel{--padding:0 0 var(--cx-spacing-x-small) 0}cx-icon[slot=prefix]{font-size:var(--cx-font-size-large)}.error-message{color:var(--cx-color-danger);min-height:1ch}.welcome{padding:var(--cx-spacing-x-large) var(--cx-spacing-medium) var(--cx-spacing-medium) var(--cx-spacing-medium);justify-content:center;align-items:center;gap:var(--cx-spacing-x-large)}.welcome__message{justify-content:center;align-items:center;gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.welcome__actions{justify-content:center;gap:var(--cx-spacing-x-small);flex-direction:column;width:100%;display:flex}.welcome__connect-button,.welcome__cancel-connection-button,.welcome__input{width:100%}.welcome__connect-button--disabled::part(base){cursor:help}.welcome .error-message{text-align:center}.header{background-color:var(--cx-color-neutral-50);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);justify-content:space-between;line-height:1;display:flex}.header__user{align-items:center;gap:var(--cx-spacing-x-small);display:flex;overflow:hidden}.header__username{display:flex;overflow:hidden}.header__username__text{flex-grow:1;flex-shrink:1;overflow:hidden}.header__avatar{--size:24px}.header__actions{min-width:fit-content}.settings__version__badge::part(base){width:var(--cx-spacing-x-small);padding:0}.assets-list{flex:1;height:0}.assets-list__tab-group,.assets-list__tab-group::part(base),.assets-list__tab-group::part(body),.assets-list__tab-group cx-tab-panel,.assets-list__tab-group cx-tab-panel::part(base){height:100%;overflow:hidden}.assets-list__tab-group .assets-list__tab-group__empty-message{justify-content:center;align-items:center;gap:var(--cx-spacing-medium);font-size:var(--cx-font-size-x-large);padding:var(--cx-spacing-large) 0;text-align:center;flex-direction:column;display:flex}.assets-list__tab-group .assets-list__tab-group__empty-message:not(.favorites-empty){margin-top:40px}.assets-list__tab-group .recent__list,.assets-list__tab-group .favorites__list,.assets-list__tab-group .uploads__list,.assets-list__tab-group .pinned__list{height:100%;padding:0 0 var(--cx-spacing-x-small) 0;flex-direction:column;display:flex;overflow:hidden auto}.favorites-tab-panel__content,.pinned-tab-panel__content{flex-direction:column;height:100%;display:flex}.favorites__sync-time{justify-content:center;align-items:center;display:flex}.assets-list__tab-group .favorites__list,.assets-list__tab-group .pinned__list{flex:1;height:0}.recent__other.empty,.uploads__other.empty,.recent__today.empty,.uploads__today.empty{display:none}.status-footer{padding:0 var(--cx-spacing-small) var(--cx-spacing-small) var(--cx-spacing-small);gap:var(--cx-spacing-2x-small);flex-direction:column;display:flex}.status-footer cx-typography,.status-footer cx-line-clamp{line-height:1}.status-footer .cache-usage,.status-footer .connected-url,.status-footer .connection-status,.status-footer .asset-index-sync-status{justify-content:space-between;align-items:center;display:flex}.status-footer .label{color:var(--cx-color-neutral-600)}.status-footer__divider{--spacing:0;margin-bottom:var(--cx-spacing-small)}.connected-url .label{white-space:nowrap}.connected-url .value-line-clamp{padding:0 var(--cx-spacing-2x-small)}.connected-url .value::part(base){font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.cache-usage__warning-icon{color:var(--cx-color-warning-500)}.status-footer .cache-usage .label{color:var(--cx-color-neutral-600)}.connection-status__value{justify-content:center;align-items:center;gap:var(--cx-spacing-2x-small);cursor:help;display:flex}.connection-status__value cx-typography{display:inline-flex}.connection-status__value cx-typography::part(base){text-transform:capitalize;font-weight:var(--cx-font-weight-medium)}.connection-status--excellent .connection-status__value{color:var(--cx-color-success)}.connection-status--good .connection-status__value{color:var(--cx-color-warning)}.connection-status--bad .connection-status__value{color:var(--cx-color-danger)}.connection-status cx-icon{font-size:var(--cx-font-size-medium)}.asset-index-sync-status .value{justify-content:center;align-items:center;gap:var(--cx-spacing-2x-small);display:flex}.asset-index-sync-status .value cx-typography{display:inline-flex}.asset-index-sync-status .value cx-typography::part(base){text-transform:capitalize;font-weight:var(--cx-font-weight-medium)}.asset-index-sync-status--loaded .value{color:var(--cx-color-success)}.asset-index-sync-status--loading .value{color:var(--cx-color-warning)}.asset-index-sync-status--error .value{color:var(--cx-color-danger)}.asset-index-sync-status cx-icon{font-size:var(--cx-font-size-medium)}.uploads__list .asset-group__label{justify-content:space-between;align-items:center;display:flex}.asset-group__clear-button::part(base){color:var(--cx-color-primary-500);font-size:var(--cx-font-size-x-small)}.asset-group__label{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);color:var(--cx-color-neutral-400);line-height:var(--cx-line-height-large)}.settings{height:100%}.settings .error-message{text-align:center}.settings__form{flex-direction:column;height:100%;display:flex}.settings__tab-group{flex:1;height:0}.settings__tab-group::part(base),.settings__tab-group::part(body){height:100%;overflow:hidden}.settings__tab-group cx-tab-panel{padding:var(--cx-spacing-medium) var(--cx-spacing-large) var(--cx-spacing-large) var(--cx-spacing-large);height:100%;overflow-y:auto}.settings-group{gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.settings__general,.settings__advanced{gap:calc(var(--cx-spacing-small) * 2);flex-direction:column;display:flex}.settings__footer{border-top:1px solid var(--cx-color-neutral-200);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);justify-content:flex-end;display:flex}.settings__footer__actions{gap:var(--cx-spacing-x-small);display:flex}.settings__connection-url{justify-content:space-between;display:flex}.settings__connection-url__value{padding:0 var(--cx-spacing-small);flex-grow:1;flex-shrink:1;overflow:hidden}.settings__software__version{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.settings__software__version__value{justify-content:space-between;align-items:center;gap:var(--cx-spacing-2x-small);display:flex}.settings__software__version__value__text{flex-grow:1;flex-shrink:1;overflow:hidden}.settings__software__version__install-button{flex-shrink:0}.settings__about{text-align:center;color:var(--cx-color-neutral-500)}.settings__disconnect-button{width:100%}.settings__disconnect-button::part(base),.settings__disconnect-button cx-icon{color:var(--cx-color-danger)}.settings__cache__size{gap:var(--cx-spacing-medium);flex-direction:column;display:flex}.settings__cache__input{gap:var(--cx-spacing-medium);flex-direction:row;display:flex}.settings__cache__size cx-input{flex:1}.settings__cache__input .size-unit{color:var(--cx-color-neutral-700)}.settings__cache__location{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.settings__cache__location__label,.settings__cache__size__label{--color:var(--cx-color-neutral-600)}.settings__cache__location__value{justify-content:space-between;align-items:center;display:flex}.settings__cache__location__value__text{padding:0 var(--cx-spacing-small);flex-grow:1;flex-shrink:1;overflow:hidden}.settings__cache__location__actions{flex-wrap:nowrap}.settings__cache__location__change-button{--label-line-height:normal;flex-shrink:0}cx-tree-item:not(.selectable){--selected-color:var(--cx-color-neutral-700)}cx-tree-item:not(:hover):not(.selectable)::part(item){background-color:unset;color:var(--cx-color-neutral-700)}.folder-tree{flex:1;overflow:auto}.folder-tree:not(.selectable){max-height:200px}.folder-tree__item::part(label){width:100%;overflow:hidden}.folder-tree__icon{font-size:var(--cx-font-size-large);color:var(--cx-color-neutral-600)}.folder-tree__label{gap:var(--cx-spacing-x-small);width:100%;line-height:var(--cx-line-height-medium);display:flex;overflow:hidden}.folder-tree__label__value{flex-grow:1;flex-shrink:1;overflow:hidden}.select-folders-popup::part(body){gap:var(--cx-spacing-medium);flex-direction:column;display:flex;overflow:hidden}.select-folders-popup .selectable-folder-tree{flex:1;overflow:auto}.select-folders-popup__actions{justify-content:flex-end;display:flex}`;
|
|
947
947
|
var ve = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, c = (t, e, a, i) => {
|
|
948
948
|
for (var s = i > 1 ? void 0 : i ? ye(e, a) : e, r = t.length - 1, d; r >= 0; r--)
|
|
949
949
|
(d = t[r]) && (s = (i ? d(e, a, s) : d(s)) || s);
|
|
@@ -5,7 +5,7 @@ import "./select.js";
|
|
|
5
5
|
import "./tag.js";
|
|
6
6
|
import "../chunks/tree.vn5sHbdt.js";
|
|
7
7
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
8
|
-
import { C as h } from "../chunks/folder-select.
|
|
8
|
+
import { C as h } from "../chunks/folder-select.Di32cpBd.js";
|
|
9
9
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
10
10
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
11
11
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as e } from "./bicolor-picker.js";
|
|
2
2
|
import { default as a } from "./border-input-group.js";
|
|
3
3
|
import { C as x } from "../chunks/color-swatch.QsHoy_K1.js";
|
|
4
|
-
import { C as u } from "../chunks/confirm-popover.
|
|
4
|
+
import { C as u } from "../chunks/confirm-popover.Dpoah4lQ.js";
|
|
5
5
|
import { default as d } from "./corner-position-input-group.js";
|
|
6
6
|
import { default as l } from "./cropper.js";
|
|
7
7
|
import { default as i } from "./dynamic-select.js";
|
|
8
|
-
import { C as c } from "../chunks/folder-select.
|
|
8
|
+
import { C as c } from "../chunks/folder-select.Di32cpBd.js";
|
|
9
9
|
import { default as P } from "./masonry.js";
|
|
10
10
|
import { default as I } from "./padding-input-group.js";
|
|
11
11
|
import { default as y } from "./position-picker.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as a } from "../chunks/asset-link-format.
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
1
|
+
import { C as a } from "../chunks/asset-link-format.b3g80XdM.js";
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.exfnb_Rr.js";
|
|
3
3
|
import { default as C } from "./file-on-demand.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./space.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import "../chunks/icon-button.BwmMJ0bI.js";
|
|
4
|
-
import { C as k } from "../chunks/pagination.
|
|
4
|
+
import { C as k } from "../chunks/pagination.qpK3q6zm.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
7
7
|
import "../chunks/math.DuKzLacZ.js";
|
|
@@ -11,7 +11,7 @@ import "../chunks/state.CSDxrqLd.js";
|
|
|
11
11
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import "../chunks/repeat.CFjcER6_.js";
|
|
13
13
|
import "../chunks/when.Dr1es41R.js";
|
|
14
|
-
import "../chunks/button.
|
|
14
|
+
import "../chunks/button.U0OBAsln.js";
|
|
15
15
|
import "../chunks/input.DOorVTYZ.js";
|
|
16
16
|
import "../chunks/option.DyNR1vzy.js";
|
|
17
17
|
import "./select.js";
|
|
@@ -9,7 +9,7 @@ import { e as y } from "../chunks/class-map.BiVq-cVR.js";
|
|
|
9
9
|
import { o as h } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
10
10
|
import { u as _ } from "../chunks/static.UA3G1Deq.js";
|
|
11
11
|
import { i as v } from "../chunks/lit-element.jLBm65_O.js";
|
|
12
|
-
import { b as w } from "../chunks/button.styles.
|
|
12
|
+
import { b as w } from "../chunks/button.styles.B81R4myI.js";
|
|
13
13
|
const C = v`
|
|
14
14
|
${w}
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./resize-observer.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
|
-
import { C as A } from "../chunks/tab-group.
|
|
4
|
+
import { C as A } from "../chunks/tab-group.BUdxhjXK.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
7
7
|
import "../chunks/scroll.xtO5yojm.js";
|
|
@@ -18,7 +18,7 @@ import "../chunks/guard.D4axKaMo.js";
|
|
|
18
18
|
import "../chunks/map.D8heArFD.js";
|
|
19
19
|
import "../chunks/style-map.llVFPd__.js";
|
|
20
20
|
import "../chunks/when.Dr1es41R.js";
|
|
21
|
-
import "../chunks/button.
|
|
21
|
+
import "../chunks/button.U0OBAsln.js";
|
|
22
22
|
import "./dropdown.js";
|
|
23
23
|
import "../chunks/icon-button.BwmMJ0bI.js";
|
|
24
24
|
import "./menu.js";
|
|
@@ -9,7 +9,7 @@ import { default as YYt } from "./avatar.js";
|
|
|
9
9
|
import dx from "./badge.js";
|
|
10
10
|
import { default as JYt } from "./breadcrumb.js";
|
|
11
11
|
import { default as QYt } from "./breadcrumb-item.js";
|
|
12
|
-
import { C as $n, B as Dl, a as Cc } from "../chunks/button.
|
|
12
|
+
import { C as $n, B as Dl, a as Cc } from "../chunks/button.U0OBAsln.js";
|
|
13
13
|
import $4 from "./button-group.js";
|
|
14
14
|
import nm from "./card.js";
|
|
15
15
|
import jh from "./checkbox.js";
|
|
@@ -20,8 +20,8 @@ import px from "./details.js";
|
|
|
20
20
|
import { default as tXt } from "./diff.js";
|
|
21
21
|
import { C as Ia, D as Sf, O as tF, a as OZ, H as DZ, z as IZ, o as MZ } from "../chunks/dialog.05FgdLBZ.js";
|
|
22
22
|
import Hs from "./divider.js";
|
|
23
|
-
import { r as PZ, a as iF, b as NZ, c as LZ } from "../chunks/document-viewer.
|
|
24
|
-
import { C as nXt } from "../chunks/document-viewer.
|
|
23
|
+
import { r as PZ, a as iF, b as NZ, c as LZ } from "../chunks/document-viewer.CMZNXDup.js";
|
|
24
|
+
import { C as nXt } from "../chunks/document-viewer.CMZNXDup.js";
|
|
25
25
|
import { d as RZ, C as BZ } from "../chunks/dot-pagination.Pg9O0nIh.js";
|
|
26
26
|
import { default as oXt } from "./dot-status.js";
|
|
27
27
|
import { default as sXt } from "./drawer.js";
|
|
@@ -53,7 +53,7 @@ import z4 from "./menu-label.js";
|
|
|
53
53
|
import JZ from "./menu-section.js";
|
|
54
54
|
import ZZ from "./mutation-observer.js";
|
|
55
55
|
import { C as Zo, a as QZ } from "../chunks/option.DyNR1vzy.js";
|
|
56
|
-
import { C as eQ } from "../chunks/pagination.
|
|
56
|
+
import { C as eQ } from "../chunks/pagination.qpK3q6zm.js";
|
|
57
57
|
import ud from "./popup.js";
|
|
58
58
|
import tQ from "./progress-bar.js";
|
|
59
59
|
import { default as xXt } from "./progress-ring.js";
|
|
@@ -75,7 +75,7 @@ import { default as PXt } from "./step.js";
|
|
|
75
75
|
import { default as LXt } from "./stepper.js";
|
|
76
76
|
import ab from "./switch.js";
|
|
77
77
|
import UC from "./tab.js";
|
|
78
|
-
import { C as qC, T as oF, a as aF, b as sF, g as DI } from "../chunks/tab-group.
|
|
78
|
+
import { C as qC, T as oF, a as aF, b as sF, g as DI } from "../chunks/tab-group.BUdxhjXK.js";
|
|
79
79
|
import H4 from "./tab-panel.js";
|
|
80
80
|
import { default as BXt } from "./tag.js";
|
|
81
81
|
import V4 from "./textarea.js";
|
|
@@ -115,7 +115,7 @@ import { d as Zl } from "../chunks/debounce.DaHuiSGU.js";
|
|
|
115
115
|
import { t as RS, c as FI, d as xQ, i as Wk, G as qg, j as hp, h as kQ, s as zI, T as q4, k as wi, l as gF, u as _Q, f as Gk, m as CQ, F as by, M as Wb, n as SQ, o as mF, q as jI } from "../chunks/string.BhJ0Zogu.js";
|
|
116
116
|
import { b as PJt, e as NJt, g as LJt, p as RJt, z as BJt, y as $Jt, a as FJt, x as zJt, v as jJt, r as HJt, w as VJt } from "../chunks/string.BhJ0Zogu.js";
|
|
117
117
|
import { c as pi } from "../chunks/repeat.CFjcER6_.js";
|
|
118
|
-
import { a as Ny, F as Ly, i as W4, b as HI, c as VI, d as TQ, e as fF, f as vF, g as G4, h as Kk, C as EQ, j as UI, k as qI, l as WI, m as GI, n as KI, o as YI, O as XI, D as BS, p as AQ, q as JI, u as Yk } from "../chunks/asset-link-format.
|
|
118
|
+
import { a as Ny, F as Ly, i as W4, b as HI, c as VI, d as TQ, e as fF, f as vF, g as G4, h as Kk, C as EQ, j as UI, k as qI, l as WI, m as GI, n as KI, o as YI, O as XI, D as BS, p as AQ, q as JI, u as Yk } from "../chunks/asset-link-format.b3g80XdM.js";
|
|
119
119
|
import { H as WC } from "../chunks/slot.j5oheLJC.js";
|
|
120
120
|
import { a as qJt, g as WJt } from "../chunks/slot.j5oheLJC.js";
|
|
121
121
|
import { c as Pr, d as OQ, H as Ii, e as Ca, f as gs, a as DQ, b as er } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
@@ -128,7 +128,7 @@ import { j as QJt, f as eZt, e as tZt, i as iZt, a as nZt, h as rZt, m as oZt, d
|
|
|
128
128
|
import bF from "./bicolor-picker.js";
|
|
129
129
|
import wF from "./border-input-group.js";
|
|
130
130
|
import { C as cZt } from "../chunks/color-swatch.QsHoy_K1.js";
|
|
131
|
-
import { C as KC, a as xF } from "../chunks/confirm-popover.
|
|
131
|
+
import { C as KC, a as xF } from "../chunks/confirm-popover.Dpoah4lQ.js";
|
|
132
132
|
import PQ from "./corner-position-input-group.js";
|
|
133
133
|
import NQ from "./cropper.js";
|
|
134
134
|
import { h as ai, D as kF, e as i8, C as Vs, M as sb, T as YC, f as _F } from "../chunks/endpoints.CwgTrs4A.js";
|
|
@@ -141,9 +141,9 @@ import { g as SF, F as jQ } from "../chunks/form.CP9KLGjF.js";
|
|
|
141
141
|
import { c as fZt, f as vZt, v as yZt, a as bZt } from "../chunks/form.CP9KLGjF.js";
|
|
142
142
|
import { d as zS, c as o8, e as HQ, i as a8, h as VQ, p as UQ, t as qQ } from "../chunks/date.iWq_pkIk.js";
|
|
143
143
|
import { b as xZt, f as kZt, g as _Zt, a as CZt, n as SZt } from "../chunks/date.iWq_pkIk.js";
|
|
144
|
-
import { F as TF, a as WQ, b as JC, H as GQ, c as l0, d as KQ, o as _u } from "../chunks/color-swatch-group.
|
|
145
|
-
import { C as EZt, e as AZt, f as OZt } from "../chunks/color-swatch-group.
|
|
146
|
-
import { F as Wd, C as K4, s as ZC, a as jS } from "../chunks/folder-select.
|
|
144
|
+
import { F as TF, a as WQ, b as JC, H as GQ, c as l0, d as KQ, o as _u } from "../chunks/color-swatch-group.exfnb_Rr.js";
|
|
145
|
+
import { C as EZt, e as AZt, f as OZt } from "../chunks/color-swatch-group.exfnb_Rr.js";
|
|
146
|
+
import { F as Wd, C as K4, s as ZC, a as jS } from "../chunks/folder-select.Di32cpBd.js";
|
|
147
147
|
import { b as QC, a as bw, c as YQ, r as Ue, j as _e, w as XQ, R as JQ } from "../chunks/jsx-runtime.CTpPVMxj.js";
|
|
148
148
|
import { j as HS } from "../chunks/index.CrhRU5m8.js";
|
|
149
149
|
import { i as Y4, T as VS, t as ZQ } from "../chunks/transform.BuqENXeT.js";
|
|
@@ -97944,7 +97944,7 @@ const d8t = {
|
|
|
97944
97944
|
"items-per-page": "50",
|
|
97945
97945
|
"left-additional-filters": "",
|
|
97946
97946
|
"left-available-panels": "",
|
|
97947
|
-
"left-default-panel": "",
|
|
97947
|
+
"left-default-panel": "OR1ND000001063140",
|
|
97948
97948
|
"left-panel-collapsed-by-default": !0,
|
|
97949
97949
|
"left-panel-collapsible": !0,
|
|
97950
97950
|
"left-panel-default-width": "260px",
|
|
@@ -97956,7 +97956,7 @@ const d8t = {
|
|
|
97956
97956
|
"retain-filters-in-containers": !1,
|
|
97957
97957
|
"right-additional-filters": "",
|
|
97958
97958
|
"right-available-panels": "",
|
|
97959
|
-
"right-default-panel": "",
|
|
97959
|
+
"right-default-panel": "OR1ND000001072386",
|
|
97960
97960
|
"right-panel-collapsed-by-default": !0,
|
|
97961
97961
|
"right-panel-collapsible": !0,
|
|
97962
97962
|
"right-panel-default-width": "260px",
|
package/library/package.json
CHANGED
|
@@ -26,6 +26,7 @@ import { default as CxSpinner } from '../spinner/spinner';
|
|
|
26
26
|
* @cssproperty [--min-height] - Sets `min-height` on the inner button (defaults to `auto`).
|
|
27
27
|
* @cssproperty [--justify-content] - Flex alignment along the main axis (defaults to `center`).
|
|
28
28
|
* @cssproperty [--gap] - Gap between flex items in the button (defaults to `0`).
|
|
29
|
+
* @cssproperty [--label-line-height] - Line-height of the label (defaults to `1.15`).
|
|
29
30
|
*/
|
|
30
31
|
export default class CxButton extends CortexElement implements CortexFormControl {
|
|
31
32
|
static readonly styles: CSSResultGroup;
|
|
@@ -828,6 +828,19 @@ export default class CxTable extends CortexElement {
|
|
|
828
828
|
private activeSearchValue;
|
|
829
829
|
/** Monotonic counter to discard responses from superseded dataUrl fetches. */
|
|
830
830
|
private dataUrlRequestId;
|
|
831
|
+
/**
|
|
832
|
+
* Full in-memory rows parsed from `dataUrl` when `pagination` is on —
|
|
833
|
+
* deliberately a plain field (not `@state()`): `internalAjaxRequestFunc`
|
|
834
|
+
* reads it at call time on every page request, so updating it must not by
|
|
835
|
+
* itself trigger a re-render or `initTable()` re-run (only flipping
|
|
836
|
+
* `paginationMode` should, and only once, the first time — see
|
|
837
|
+
* `loadFromDataUrl()`).
|
|
838
|
+
*/
|
|
839
|
+
private inMemoryDataUrlRows;
|
|
840
|
+
/** Row index -> field -> failures, from validating `inMemoryDataUrlRows` against `columns`' `validator` configs. Same non-reactive rationale as `inMemoryDataUrlRows`. */
|
|
841
|
+
private inMemoryValidationResult;
|
|
842
|
+
/** Internally-generated `ajaxRequestFunc` paging `inMemoryDataUrlRows`, set up by `loadFromDataUrl()`. */
|
|
843
|
+
private internalAjaxRequestFunc;
|
|
831
844
|
/** True when facets are available — either from facet-config or from an AJAX response. Controls toolbar visibility. */
|
|
832
845
|
hasFacets: boolean;
|
|
833
846
|
/** Whether the column-header right-click context menu is open. */
|
|
@@ -942,6 +955,16 @@ export default class CxTable extends CortexElement {
|
|
|
942
955
|
handleLoadingChange(): void;
|
|
943
956
|
setLoading(value: boolean): void;
|
|
944
957
|
isLoading(): boolean;
|
|
958
|
+
/**
|
|
959
|
+
* Jumps to the page containing the first invalid row and resolves `true`;
|
|
960
|
+
* resolves `false` when there is nothing invalid. Under the in-memory
|
|
961
|
+
* `dataUrl` + `pagination` path (see `loadFromDataUrl()`), this reads the
|
|
962
|
+
* full-dataset result in `inMemoryValidationResult` — the only way to find
|
|
963
|
+
* "first invalid" across rows that may not be on the currently-loaded
|
|
964
|
+
* page. Otherwise it falls back to the current page's real invalid cells
|
|
965
|
+
* via `getInvalidCells()`/`setPageToRow()`, same as before.
|
|
966
|
+
*/
|
|
967
|
+
goToFirstInvalid(): Promise<boolean>;
|
|
945
968
|
search(searchText: string): void;
|
|
946
969
|
private handleSearch;
|
|
947
970
|
private handleAppliedFilterRemove;
|
|
@@ -950,6 +973,8 @@ export default class CxTable extends CortexElement {
|
|
|
950
973
|
handleDropdownFiltersPropChange(): void;
|
|
951
974
|
handleDataUrlChange(): void;
|
|
952
975
|
private handleTableExport;
|
|
976
|
+
/** Builds the `"field dir"` string `applyInMemoryFilterAndSort` expects, from whatever sort is currently active — mirrors `Sort.remoteSortParams`' last-applied-sort convention. */
|
|
977
|
+
private buildActiveSortParam;
|
|
953
978
|
private handleDropdownFilterChange;
|
|
954
979
|
private handleTableGroupByChange;
|
|
955
980
|
private handleSelectAllChange;
|
|
@@ -959,6 +984,127 @@ export default class CxTable extends CortexElement {
|
|
|
959
984
|
* Otherwise columns are auto-detected from the loaded data's headers, same as before.
|
|
960
985
|
*/
|
|
961
986
|
private resolveColumnsAfterLoad;
|
|
987
|
+
/**
|
|
988
|
+
* Parses a `dataUrl` response fully into a plain in-memory row array
|
|
989
|
+
* instead of streaming it into `tabulatorInstance` — the counterpart to
|
|
990
|
+
* `streamCsvData`/`streamJsonData`/`streamXmlData` used when `pagination`
|
|
991
|
+
* is on and the consumer has not supplied their own `ajaxRequestFunc` (see
|
|
992
|
+
* `loadFromDataUrl()`). Each row is stamped with its absolute `__cxRowIndex`
|
|
993
|
+
* before accumulating (needed later to map a validation result back to a
|
|
994
|
+
* cell regardless of which page it ends up rendered on), yielding a frame
|
|
995
|
+
* between chunks so parsing a multi-million-row file never blocks the main
|
|
996
|
+
* thread.
|
|
997
|
+
*
|
|
998
|
+
* Calls `onFirstPageReady` (at most once) as soon as enough rows exist for
|
|
999
|
+
* a first page, so the caller can show the table well before the rest of
|
|
1000
|
+
* a multi-million-row file finishes parsing in the background.
|
|
1001
|
+
*/
|
|
1002
|
+
/**
|
|
1003
|
+
* Validates each chunk against `resolvedColumns` as it arrives (instead of
|
|
1004
|
+
* waiting for the whole file to finish parsing, then validating the full
|
|
1005
|
+
* array in one pass) — the file loader's existing chunk size (bumped from
|
|
1006
|
+
* its 500-row default) is reused as the validation batch size too, so no
|
|
1007
|
+
* separate buffering/offset bookkeeping is needed: a chunk's absolute
|
|
1008
|
+
* offset is simply how many rows existed before it was pushed.
|
|
1009
|
+
*/
|
|
1010
|
+
private static readonly IN_MEMORY_PARSE_CHUNK_SIZE;
|
|
1011
|
+
private parseDataUrlIntoMemory;
|
|
1012
|
+
/**
|
|
1013
|
+
* Applies whatever search/header/dropdown filter and sort is currently
|
|
1014
|
+
* active to an in-memory row array, the same way Tabulator's Filter/Sort
|
|
1015
|
+
* modules would against `rowManager` in local mode — needed because under
|
|
1016
|
+
* in-memory `dataUrl` pagination, `rowManager` only ever holds one page's
|
|
1017
|
+
* rows, so those modules' own client-side filter/sort logic never runs
|
|
1018
|
+
* (`filterMode`/`sortMode` are forced to `remote`, which skips it — see
|
|
1019
|
+
* `Filter.filter()`/`Sort.sort()`'s `!== 'remote'` guards). Both Filter and
|
|
1020
|
+
* Sort already compute and send the params this reads (`SearchText`,
|
|
1021
|
+
* `filters`, `Sort`) to a real remote backend; this is the in-memory
|
|
1022
|
+
* equivalent of that backend.
|
|
1023
|
+
*
|
|
1024
|
+
* Shared by `createInMemoryAjaxRequestFunc` (per-page slice) and
|
|
1025
|
+
* `handleTableExport` (full filtered/sorted set, no pagination slice).
|
|
1026
|
+
*/
|
|
1027
|
+
private applyInMemoryFilterAndSort;
|
|
1028
|
+
/**
|
|
1029
|
+
* Builds the `ajaxRequestFunc` that serves pages directly from
|
|
1030
|
+
* `inMemoryDataUrlRows` — reads the array at call time (not at creation
|
|
1031
|
+
* time), so the same function reference keeps working correctly across
|
|
1032
|
+
* every subsequent `dataUrl` reload without needing Tabulator to
|
|
1033
|
+
* re-initialize.
|
|
1034
|
+
*/
|
|
1035
|
+
private createInMemoryAjaxRequestFunc;
|
|
1036
|
+
/**
|
|
1037
|
+
* Updates the pagination control's displayed count and max page from a
|
|
1038
|
+
* row count that has not gone through any redraw/filter/sort pipeline —
|
|
1039
|
+
* cheap (a couple of field writes), so it is safe to call on every
|
|
1040
|
+
* streamed chunk while `dataUrl` parsing continues in the background
|
|
1041
|
+
* after the first page is already shown, keeping "X of Y" current.
|
|
1042
|
+
*/
|
|
1043
|
+
private updatePaginationCountLive;
|
|
1044
|
+
/**
|
|
1045
|
+
* Normalizes one column's `validator` definition (string shorthand like
|
|
1046
|
+
* `'required'`/`'min:5'`, a single `{ type, parameters, message }` object,
|
|
1047
|
+
* or an array of either) into plain rule descriptors for the validation
|
|
1048
|
+
* worker. Mirrors `Validate.ts`'s `_extractValidator`/`_buildValidator`
|
|
1049
|
+
* normalization, minus the `Cell`-bound `func` lookup — the worker
|
|
1050
|
+
* resolves `type` to a rule function itself. Function-type validators are
|
|
1051
|
+
* skipped: there is no `Cell` to hand them in an in-memory validation
|
|
1052
|
+
* pass, the same "JSON-only rules go to the worker" split `validateAsync()`
|
|
1053
|
+
* already applies for its main-thread-vs-worker column split.
|
|
1054
|
+
*/
|
|
1055
|
+
private normalizeValidatorConfig;
|
|
1056
|
+
/**
|
|
1057
|
+
* Validates a chunk of in-memory rows against `columns`' `validator`
|
|
1058
|
+
* configs, using the shared validation worker (`validateBatch`) — the same
|
|
1059
|
+
* rule engine `Validate.ts` uses for on-page validation, just fed plain
|
|
1060
|
+
* values instead of `Cell`s.
|
|
1061
|
+
*
|
|
1062
|
+
* Merges failures into `resultTarget` (rather than always building a fresh
|
|
1063
|
+
* Map) so callers validating chunk-by-chunk as a multi-million-row file
|
|
1064
|
+
* streams in can accumulate one shared result instead of replacing it
|
|
1065
|
+
* per chunk. `rowIndexOffset` re-bases `validateBatch`'s per-call
|
|
1066
|
+
* `rowIndex` (0-based within THIS chunk's `values` arrays) to each row's
|
|
1067
|
+
* absolute `__cxRowIndex` in the full dataset, since chunk-by-chunk
|
|
1068
|
+
* validation means `rows` here is never the full array.
|
|
1069
|
+
*
|
|
1070
|
+
* Caveat: a `unique` validator only sees the current chunk's values, not
|
|
1071
|
+
* the whole column — chunk-by-chunk validation cannot catch a duplicate
|
|
1072
|
+
* split across two chunks. Acceptable for the rule types this table's
|
|
1073
|
+
* examples use; a table relying on cross-chunk `unique` checks would need
|
|
1074
|
+
* a different (whole-array) validation pass.
|
|
1075
|
+
*/
|
|
1076
|
+
private validateInMemoryRowsChunk;
|
|
1077
|
+
/**
|
|
1078
|
+
* Wraps a column's existing `formatter` (or supplies a passthrough one) so
|
|
1079
|
+
* that, once rendered, a cell whose row/field combination failed
|
|
1080
|
+
* validation gets the same visual treatment `Validate.ts` applies —
|
|
1081
|
+
* `tabulator-validation-fail` class plus `VALIDATION_MESSAGE_ATTRIBUTE` —
|
|
1082
|
+
* looked up from `inMemoryValidationResult` by the row's original
|
|
1083
|
+
* (pre-slice) index, stashed on each row object as `__cxRowIndex` when it
|
|
1084
|
+
* was parsed. Only wraps a function `formatter`; a column using one of
|
|
1085
|
+
* Tabulator's built-in string formatter names (e.g. `'money'`) falls back
|
|
1086
|
+
* to the raw value here rather than losing that formatting silently —
|
|
1087
|
+
* columns needing both a built-in formatter and in-memory validation
|
|
1088
|
+
* styling should use the function form instead.
|
|
1089
|
+
*
|
|
1090
|
+
* Also mirrors the result onto `cell._getSelf().modules.validate.invalid` —
|
|
1091
|
+
* the same field `Validate.ts` itself writes — so `cell.getValidationErrors()`
|
|
1092
|
+
* (and anything reading it, e.g. a `mutateOnValidate` row-error-summary
|
|
1093
|
+
* column) sees this in-memory result instead of always finding it empty.
|
|
1094
|
+
*/
|
|
1095
|
+
private applyInMemoryValidationFormatter;
|
|
1096
|
+
/**
|
|
1097
|
+
* `Validate.ts`'s own `refreshMutateOnValidateColumns` only runs after its
|
|
1098
|
+
* own `cellValidate`/`userValidate` calls — paths the in-memory pagination
|
|
1099
|
+
* flow never goes through, since `applyInMemoryValidationFormatter` writes
|
|
1100
|
+
* results directly instead. Re-runs `mutateOnValidate` columns' `mutator`
|
|
1101
|
+
* for every currently-rendered row (only the current page has real cells)
|
|
1102
|
+
* so a row-error-summary column built the documented way — reading sibling
|
|
1103
|
+
* cells' `getValidationErrors()` from a `mutateOnValidate` column — reflects
|
|
1104
|
+
* this in-memory result too. Call after `inMemoryValidationResult` updates,
|
|
1105
|
+
* before the redraw that applies the formatter's own styling.
|
|
1106
|
+
*/
|
|
1107
|
+
private refreshInMemoryMutateOnValidateColumns;
|
|
962
1108
|
private streamCsvData;
|
|
963
1109
|
private streamJsonData;
|
|
964
1110
|
private streamXmlData;
|