@orangelogic/design-system 2.130.0 → 2.132.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/assets/validation.worker-Dc_pkZlD.js +1 -0
- package/library/chunks/{color-swatch-group.DPaKBfvX.js → color-swatch-group.Cy-M_lbx.js} +1 -1
- package/library/chunks/{document-viewer.Dn_vUYCW.js → document-viewer.CzGnnA_9.js} +2 -2
- package/library/chunks/{folder-select.DMpO7oQF.js → folder-select.CHzRsSGM.js} +45 -45
- package/library/chunks/image.BzmclWBR.js +150 -0
- package/library/chunks/{image.BC_hwk-b.js → image.DAtx64Jj.js} +1 -1
- package/library/chunks/{list-editor.DfOsqO4y.js → list-editor.CwCdVzMl.js} +2 -2
- package/library/chunks/{resizable-component.styles.BVhOesNE.js → resizable-component.styles.B5N-oYx6.js} +1 -1
- package/library/chunks/{table.Cf3C72Lv.js → table.C6YsaNOh.js} +2460 -2081
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +3 -3
- package/library/components/audio.js +1 -1
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/document-viewer.js +3 -3
- package/library/components/folder-select.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/list-editor.js +2 -2
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +2 -2
- package/library/components/organisms.js +1 -1
- package/library/components/table.js +52 -50
- package/library/components/types.js +10 -10
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/table/table.d.ts +43 -0
- package/library/packages/events/src/cx-table-validation-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +7 -6
- package/library/packages/hybrid/table-core/src/tabulator-tables/index.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/Validate.d.ts +81 -13
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/defaults/rule-functions.d.ts +20 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/defaults/validators.d.ts +9 -18
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/validation-worker-client.d.ts +13 -0
- package/library/packages/types/src/table.d.ts +55 -1
- package/library/react-web-component.d.ts +11 -3
- package/library/utils.js +1 -1
- package/package.json +1 -1
- package/library/chunks/image.9qwbjGNb.js +0 -150
|
@@ -21,7 +21,7 @@ import { C as K } from "../chunks/icon-button.COTH_z-J.js";
|
|
|
21
21
|
import { C as J } from "../chunks/input.BRgVRr2i.js";
|
|
22
22
|
import { C as X } from "../chunks/option.BH13eKSl.js";
|
|
23
23
|
import Y from "./select.js";
|
|
24
|
-
import { c as ct } from "../chunks/image.
|
|
24
|
+
import { c as ct } from "../chunks/image.BzmclWBR.js";
|
|
25
25
|
import { e as V } from "../chunks/query.BBf1UFkC.js";
|
|
26
26
|
import { c as j } from "../chunks/repeat.DbF2p5ae.js";
|
|
27
27
|
import { o as R } from "../chunks/style-map.llVFPd__.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.BlKHLwFx.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.CzGnnA_9.js";
|
|
24
24
|
import { C as xe } from "../chunks/dot-pagination.CNJWQ4zf.js";
|
|
25
25
|
import { default as me } from "./dot-status.js";
|
|
26
26
|
import { default as pe } from "./drawer.js";
|
|
@@ -39,7 +39,7 @@ import { f } from "../chunks/icon.DnBh6-56.js";
|
|
|
39
39
|
import { C as Fe } from "../chunks/icon.DnBh6-56.js";
|
|
40
40
|
import { C as Oe } from "../chunks/icon-button.COTH_z-J.js";
|
|
41
41
|
import { C as Ee } from "../chunks/iframe.DvBR4KYU.js";
|
|
42
|
-
import { C as Le } from "../chunks/image.
|
|
42
|
+
import { C as Le } from "../chunks/image.DAtx64Jj.js";
|
|
43
43
|
import { default as je } from "./image-comparer.js";
|
|
44
44
|
import { default as Qe } from "./include.js";
|
|
45
45
|
import { C as qe } from "../chunks/input.BRgVRr2i.js";
|
|
@@ -75,7 +75,7 @@ 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
77
|
import { C as tt } from "../chunks/tab-group.GA4X3LL2.js";
|
|
78
|
-
import { C as rt } from "../chunks/table.
|
|
78
|
+
import { C as rt } from "../chunks/table.C6YsaNOh.js";
|
|
79
79
|
import { default as ft } from "./tab-panel.js";
|
|
80
80
|
import { default as st } from "./tag.js";
|
|
81
81
|
import { default as Ct } from "./textarea.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as f, R as y } from "../chunks/resizable-component.styles.
|
|
1
|
+
import { r as f, R as y } from "../chunks/resizable-component.styles.B5N-oYx6.js";
|
|
2
2
|
import { c as v } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { U as m, g as w, f as g, D as x } from "../chunks/time.BSmpFe2G.js";
|
|
4
4
|
import { c as P } from "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./space.js";
|
|
2
|
-
import "../chunks/table.
|
|
2
|
+
import "../chunks/table.C6YsaNOh.js";
|
|
3
3
|
import "../chunks/typography.DJC_UXgs.js";
|
|
4
4
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
5
5
|
import "../chunks/color-swatch.U-wztpLf.js";
|
|
6
6
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
7
|
-
import { C as w } from "../chunks/color-swatch-group.
|
|
7
|
+
import { C as w } from "../chunks/color-swatch-group.Cy-M_lbx.js";
|
|
8
8
|
import "../chunks/content-builder.BGzxZUgi.js";
|
|
9
9
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
10
10
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
@@ -7,7 +7,7 @@ import { r as ve } from "../chunks/state.CSDxrqLd.js";
|
|
|
7
7
|
import { e as De } from "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import { n as ae } from "../chunks/when.Dr1es41R.js";
|
|
9
9
|
import { r as w, j as f, w as Me, R as ke, a as ze } from "../chunks/jsx-runtime.CTpPVMxj.js";
|
|
10
|
-
import { c as He, r as je, a as Se } from "../chunks/image.
|
|
10
|
+
import { c as He, r as je, a as Se } from "../chunks/image.BzmclWBR.js";
|
|
11
11
|
import { r as $e } from "../chunks/number.B4PQLJIg.js";
|
|
12
12
|
import { d as se } from "../chunks/debounce.C_J-9zJi.js";
|
|
13
13
|
const Ie = _e`:host{--rc-drag-handle-size:12px;--rc-drag-handle-mobile-size:24px;--rc-drag-handle-bg-colour:#0003;--rc-drag-bar-size:6px;--rc-border-color:#ffffffb3;--rc-focus-color:#08f;width:100%;height:100%;display:block;position:relative}.cropper{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative;container-type:size}.loading-container{z-index:1000;background-color:#00000080;width:100%;height:100%;position:absolute;top:0;left:0}.loading-container .loading{width:100%;height:100%;position:absolute}.loading-container .loading__skeleton{--border-radius:0;width:100%;height:100%}.loading-container .loading__spinner{--track-width:.2rem;font-size:var(--cx-font-size-3x-large);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cropper--portrait .cropper__image{max-width:100cqw;max-height:100cqh}.cropper__image{width:auto;max-width:100%;height:auto;max-height:100%;display:block}.cropper__image--loading{opacity:0}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}.ReactCrop{cursor:crosshair;isolation:isolate;max-width:100%;display:inline-block;position:relative}.cropper--multiple .ReactCrop:before{content:"";z-index:-1;background:var(--cx-color-neutral-300);border-radius:2px;position:absolute;inset:0;transform:translate(-8px,-8px)}.ReactCrop *,.ReactCrop :before,.ReactCrop :after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--loading,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{max-height:inherit;justify-content:center;align-items:center;width:100%;height:100%;display:flex;overflow:hidden}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{width:auto;max-width:100%;height:auto;max-height:100%;display:block}.ReactCrop:not(.ReactCrop--disabled):not(.ReactCrop--loading) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled):not(.ReactCrop--loading) .ReactCrop__child-wrapper>video,.ReactCrop:not(.ReactCrop--disabled):not(.ReactCrop--loading) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px);position:absolute;inset:0}.ReactCrop__crop-selection{cursor:move;position:absolute;top:0;left:0;transform:translateZ(0)}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit;display:none}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";border:1px solid var(--rc-border-color);opacity:.3;position:absolute;inset:-1px}.ReactCrop--no-animate .ReactCrop__crop-selection,.ReactCrop--loading .ReactCrop__crop-selection{outline:1px dashed #fff}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection,.ReactCrop--loading .ReactCrop__crop-selection){color:#fff;background-image:linear-gradient(90deg,#fff 50%,#444 50%),linear-gradient(90deg,#fff 50%,#444 50%),linear-gradient(#fff 50%,#444 50%),linear-gradient(#fff 50%,#444 50%);background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;background-size:10px 1px,10px 1px,1px 10px,1px 10px;animation:1s linear infinite marching-ants}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--disabled .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";background-color:#fff6;display:block;position:absolute}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6667%}.ReactCrop__drag-handle{width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color);position:absolute}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{cursor:nw-resize;top:0;left:0;transform:translate(-50%,-50%)}.ReactCrop .ord-n{cursor:n-resize;top:0;left:50%;transform:translate(-50%,-50%)}.ReactCrop .ord-ne{cursor:ne-resize;top:0;right:0;transform:translate(50%,-50%)}.ReactCrop .ord-e{cursor:e-resize;top:50%;right:0;transform:translate(50%,-50%)}.ReactCrop .ord-se{cursor:se-resize;bottom:0;right:0;transform:translate(50%,50%)}.ReactCrop .ord-s{cursor:s-resize;bottom:0;left:50%;transform:translate(-50%,50%)}.ReactCrop .ord-sw{cursor:sw-resize;bottom:0;left:0;transform:translate(-50%,50%)}.ReactCrop .ord-w{cursor:w-resize;top:50%;left:0;transform:translate(-50%,-50%)}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{width:100%;height:var(--rc-drag-bar-size);top:0;left:0;transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{width:var(--rc-drag-bar-size);height:100%;top:0;right:0;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{width:100%;height:var(--rc-drag-bar-size);bottom:0;left:0;transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{width:var(--rc-drag-bar-size);height:100%;top:0;left:0;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer:coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}`, q = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../chunks/resizable-component.styles.
|
|
2
|
-
import { C as b } from "../chunks/document-viewer.
|
|
1
|
+
import "../chunks/resizable-component.styles.B5N-oYx6.js";
|
|
2
|
+
import { C as b } from "../chunks/document-viewer.CzGnnA_9.js";
|
|
3
3
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
4
|
import "../chunks/index.Cpamj0jB.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -10,7 +10,7 @@ import "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import "../chunks/when.Dr1es41R.js";
|
|
12
12
|
import "../chunks/icon.DnBh6-56.js";
|
|
13
|
-
import "../chunks/image.
|
|
13
|
+
import "../chunks/image.DAtx64Jj.js";
|
|
14
14
|
import "../chunks/typography.DJC_UXgs.js";
|
|
15
15
|
export {
|
|
16
16
|
b as default
|
|
@@ -5,7 +5,7 @@ import "./select.js";
|
|
|
5
5
|
import "./tag.js";
|
|
6
6
|
import "../chunks/tree.CbeHY8pn.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.CHzRsSGM.js";
|
|
9
9
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
10
10
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
11
11
|
import "../chunks/i18n.NAH4U8Lw.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../chunks/resizable-component.styles.
|
|
1
|
+
import "../chunks/resizable-component.styles.B5N-oYx6.js";
|
|
2
2
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/index.Cpamj0jB.js";
|
|
4
|
-
import { C as w } from "../chunks/image.
|
|
4
|
+
import { C as w } from "../chunks/image.DAtx64Jj.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
7
7
|
import "../chunks/i18n.NAH4U8Lw.js";
|
|
@@ -9,7 +9,7 @@ import "./radio.js";
|
|
|
9
9
|
import "./radio-group.js";
|
|
10
10
|
import "./select.js";
|
|
11
11
|
import "./space.js";
|
|
12
|
-
import "../chunks/table.
|
|
12
|
+
import "../chunks/table.C6YsaNOh.js";
|
|
13
13
|
import "../chunks/typography.DJC_UXgs.js";
|
|
14
14
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import "./dynamic-select.js";
|
|
@@ -18,7 +18,7 @@ import "../chunks/custom-element.L4WJXn1j.js";
|
|
|
18
18
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
19
19
|
import "../chunks/i18n.NAH4U8Lw.js";
|
|
20
20
|
import "../chunks/watch.CThbualB.js";
|
|
21
|
-
import { c as E, C as F } from "../chunks/list-editor.
|
|
21
|
+
import { c as E, C as F } from "../chunks/list-editor.CwCdVzMl.js";
|
|
22
22
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
23
23
|
import "../chunks/state.CSDxrqLd.js";
|
|
24
24
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "./grid.js";
|
|
2
2
|
import f from "./grid-item.js";
|
|
3
3
|
import { C as v } from "../chunks/icon-button.COTH_z-J.js";
|
|
4
|
-
import { C as S } from "../chunks/image.
|
|
4
|
+
import { C as S } from "../chunks/image.DAtx64Jj.js";
|
|
5
5
|
import $ from "./space.js";
|
|
6
6
|
import C from "./tooltip.js";
|
|
7
7
|
import { n, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
@@ -5,8 +5,8 @@ import { C } from "../chunks/confirm-popover.DfAd2F8S.js";
|
|
|
5
5
|
import { default as s } from "./corner-position-input-group.js";
|
|
6
6
|
import { default as m } from "./cropper.js";
|
|
7
7
|
import { default as i } from "./dynamic-select.js";
|
|
8
|
-
import { C as c } from "../chunks/folder-select.
|
|
9
|
-
import { C as P } from "../chunks/list-editor.
|
|
8
|
+
import { C as c } from "../chunks/folder-select.CHzRsSGM.js";
|
|
9
|
+
import { C as P } from "../chunks/list-editor.CwCdVzMl.js";
|
|
10
10
|
import { default as I } from "./masonry.js";
|
|
11
11
|
import { default as y } from "./padding-input-group.js";
|
|
12
12
|
import { default as w } from "./position-picker.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as a } from "./asset-link-format.js";
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.Cy-M_lbx.js";
|
|
3
3
|
import { C } from "../chunks/file-on-demand.Dr05DdkU.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -6,10 +6,11 @@ import "../chunks/icon-button.COTH_z-J.js";
|
|
|
6
6
|
import "./select.js";
|
|
7
7
|
import "./space.js";
|
|
8
8
|
import "./spinner.js";
|
|
9
|
+
import "./tooltip.js";
|
|
9
10
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
10
11
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
11
12
|
import "../chunks/overlayscrollbars.BMav4RQ4.js";
|
|
12
|
-
import { A as
|
|
13
|
+
import { A as S, l as v, m as z, d as E, h as P, b as g, j as y, n as D, o as G, c as f, a4 as h, a5 as H, a6 as L, D as V, p as _, E as j, q as k, F as B, r as K, s as N, t as O, G as U, u as q, v as J, k as Q, w as W, I as X, x as Y, K as Z, y as $, M as oo, z as eo, B as ao, J as so, L as lo, N as to, O as uo, Q as ro, P as Mo, e as io, U as po, i as mo, W as no, X as Co, Y as Ro, Z as To, g as co, R as bo, $ as wo, _ as Ao, f as xo, a0 as Fo, a1 as Io, T as So, a as vo, a2 as zo, V as Eo, a3 as Po, C as go } from "../chunks/table.C6YsaNOh.js";
|
|
13
14
|
import "../chunks/pagination.tSkuYrqk.js";
|
|
14
15
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
15
16
|
import "../chunks/i18n.NAH4U8Lw.js";
|
|
@@ -21,62 +22,63 @@ import "../chunks/class-map.BiVq-cVR.js";
|
|
|
21
22
|
import "../chunks/if-defined.BRoBj_Rp.js";
|
|
22
23
|
import "../chunks/when.Dr1es41R.js";
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
25
|
+
S as AccessibilityModule,
|
|
26
|
+
v as AccessorModule,
|
|
27
|
+
z as AjaxModule,
|
|
28
|
+
E as CalcComponent,
|
|
29
|
+
P as Cell,
|
|
30
|
+
g as CellComponent,
|
|
31
|
+
y as ClickableCellModule,
|
|
32
|
+
D as ClipboardModule,
|
|
33
|
+
G as ColumnCalcsModule,
|
|
34
|
+
f as ColumnComponent,
|
|
35
|
+
h as CxTableFooter,
|
|
36
|
+
H as CxTableRowActions,
|
|
37
|
+
L as CxTableToolbar,
|
|
38
|
+
V as DataTreeModule,
|
|
39
|
+
_ as DownloadModule,
|
|
40
|
+
j as EditModule,
|
|
41
|
+
k as ExportModule,
|
|
42
|
+
B as FilterModule,
|
|
43
|
+
K as FormatModule,
|
|
44
|
+
N as FrozenColumnsModule,
|
|
45
|
+
O as FrozenRowsModule,
|
|
46
|
+
U as GroupComponent,
|
|
47
|
+
q as GroupRowsModule,
|
|
48
|
+
J as HistoryModule,
|
|
49
|
+
Q as HoverMenuModule,
|
|
49
50
|
W as HtmlTableImportModule,
|
|
50
51
|
X as ImportModule,
|
|
51
52
|
Y as InteractionModule,
|
|
52
53
|
Z as KeybindingsModule,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
54
|
+
$ as MenuModule,
|
|
55
|
+
oo as Module,
|
|
56
|
+
eo as MoveColumnsModule,
|
|
57
|
+
ao as MoveRowsModule,
|
|
58
|
+
so as MutatorModule,
|
|
59
|
+
lo as PageModule,
|
|
60
|
+
to as PersistenceModule,
|
|
61
|
+
uo as PopupModule,
|
|
62
|
+
ro as PrintModule,
|
|
63
|
+
Mo as PseudoRow,
|
|
64
|
+
io as RangeComponent,
|
|
65
|
+
po as ReactiveDataModule,
|
|
66
|
+
mo as Renderer,
|
|
67
|
+
no as ResizeColumnsModule,
|
|
68
|
+
Co as ResizeRowsModule,
|
|
69
|
+
Ro as ResizeTableModule,
|
|
70
|
+
To as ResponsiveLayoutModule,
|
|
70
71
|
co as Row,
|
|
71
72
|
bo as RowComponent,
|
|
72
73
|
wo as SelectRangeModule,
|
|
73
|
-
|
|
74
|
+
Ao as SelectRowModule,
|
|
74
75
|
xo as SheetComponent,
|
|
75
76
|
Fo as SortModule,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
Io as SpreadsheetModule,
|
|
78
|
+
So as Tabulator,
|
|
79
|
+
vo as TabulatorFull,
|
|
80
|
+
zo as TooltipModule,
|
|
81
|
+
Eo as VALIDATION_MESSAGE_ATTRIBUTE,
|
|
82
|
+
Po as ValidateModule,
|
|
83
|
+
go as default
|
|
82
84
|
};
|
|
@@ -20,8 +20,8 @@ import my from "./details.js";
|
|
|
20
20
|
import { default as dKt } from "./diff.js";
|
|
21
21
|
import { C as Ra, D as Uv } from "../chunks/dialog.BlKHLwFx.js";
|
|
22
22
|
import Ed from "./divider.js";
|
|
23
|
-
import { r as nX, a as xB, b as rX, c as oX } from "../chunks/document-viewer.
|
|
24
|
-
import { C as pKt } from "../chunks/document-viewer.
|
|
23
|
+
import { r as nX, a as xB, b as rX, c as oX } from "../chunks/document-viewer.CzGnnA_9.js";
|
|
24
|
+
import { C as pKt } from "../chunks/document-viewer.CzGnnA_9.js";
|
|
25
25
|
import { d as aX, C as sX } from "../chunks/dot-pagination.CNJWQ4zf.js";
|
|
26
26
|
import { default as gKt } from "./dot-status.js";
|
|
27
27
|
import { default as fKt } from "./drawer.js";
|
|
@@ -40,7 +40,7 @@ import { C as kKt } from "../chunks/hub-connection.Dri0ZNfh.js";
|
|
|
40
40
|
import { C as Mr } from "../chunks/icon.DnBh6-56.js";
|
|
41
41
|
import { C as zr } from "../chunks/icon-button.COTH_z-J.js";
|
|
42
42
|
import { C as mX, a as fX } from "../chunks/iframe.DvBR4KYU.js";
|
|
43
|
-
import { C as CB, a as vX } from "../chunks/image.
|
|
43
|
+
import { C as CB, a as vX } from "../chunks/image.DAtx64Jj.js";
|
|
44
44
|
import { default as CKt } from "./image-comparer.js";
|
|
45
45
|
import { default as TKt } from "./include.js";
|
|
46
46
|
import { C as mo, I as O3 } from "../chunks/input.BRgVRr2i.js";
|
|
@@ -76,7 +76,7 @@ import { default as UKt } from "./stepper.js";
|
|
|
76
76
|
import gw from "./switch.js";
|
|
77
77
|
import k5 from "./tab.js";
|
|
78
78
|
import { C as _5, T as EB, a as AB, b as OB, g as nI } from "../chunks/tab-group.GA4X3LL2.js";
|
|
79
|
-
import { S as CX, C as C5 } from "../chunks/table.
|
|
79
|
+
import { S as CX, C as C5 } from "../chunks/table.C6YsaNOh.js";
|
|
80
80
|
import IB from "./tab-panel.js";
|
|
81
81
|
import SX from "./tag.js";
|
|
82
82
|
import DB from "./textarea.js";
|
|
@@ -119,8 +119,8 @@ import { c as Ci } from "../chunks/repeat.DbF2p5ae.js";
|
|
|
119
119
|
import { a as S0, e as oJ, f as HB, g as aJ, h as Y1, i as X1, j as J1, k as qv, l as vI, m as yI, n as bI, O as wI, D as P3, o as sJ, p as xI, q as kI, u as Z1 } from "../chunks/asset.D_VITxRH.js";
|
|
120
120
|
import { H as W_ } from "../chunks/slot.j5oheLJC.js";
|
|
121
121
|
import { a as ZYt, g as QYt } from "../chunks/slot.j5oheLJC.js";
|
|
122
|
-
import { c as Lr, d as lJ, H as Oi, e as ca, f as Ka, a as cJ, b as Wn } from "../chunks/resizable-component.styles.
|
|
123
|
-
import { a as E5, C as VB, u as qu, I as UB } from "../chunks/list-editor.
|
|
122
|
+
import { c as Lr, d as lJ, H as Oi, e as ca, f as Ka, a as cJ, b as Wn } from "../chunks/resizable-component.styles.B5N-oYx6.js";
|
|
123
|
+
import { a as E5, C as VB, u as qu, I as UB } from "../chunks/list-editor.CwCdVzMl.js";
|
|
124
124
|
import qB from "./bicolor-picker.js";
|
|
125
125
|
import WB from "./border-input-group.js";
|
|
126
126
|
import { C as tXt } from "../chunks/color-swatch.U-wztpLf.js";
|
|
@@ -137,7 +137,7 @@ import { g as JB, F as vJ } from "../chunks/form.3af0bYrm.js";
|
|
|
137
137
|
import { c as lXt, f as cXt, v as dXt, a as uXt } from "../chunks/form.3af0bYrm.js";
|
|
138
138
|
import { i as N3, b as ZB, d as yJ, c as TI, p as bJ, t as wJ } from "../chunks/calendar-grid.CXYoS6VA.js";
|
|
139
139
|
import { C as hXt, a as gXt, f as mXt, e as fXt, g as vXt, n as yXt } from "../chunks/calendar-grid.CXYoS6VA.js";
|
|
140
|
-
import { F as gd, C as I5, a as R3 } from "../chunks/folder-select.
|
|
140
|
+
import { F as gd, C as I5, a as R3 } from "../chunks/folder-select.CHzRsSGM.js";
|
|
141
141
|
import { a as Bo, E as Vi, b as tv, O as Eu, T as Fu, G as EI } from "../chunks/index.Cpamj0jB.js";
|
|
142
142
|
import { C as wXt } from "../chunks/index.Cpamj0jB.js";
|
|
143
143
|
import { b as Y_, a as T0, c as xJ, r as Ue, j as _e, w as kJ, R as _J } from "../chunks/jsx-runtime.CTpPVMxj.js";
|
|
@@ -184,8 +184,8 @@ import { c as RI, w as JJ } from "../chunks/event.BeKOsirN.js";
|
|
|
184
184
|
import { a as GXt, p as KXt, b as YXt, s as XXt } from "../chunks/event.BeKOsirN.js";
|
|
185
185
|
import { b as BI, e as ZJ } from "../chunks/number.B4PQLJIg.js";
|
|
186
186
|
import { a as ZXt, c as QXt, d as eJt, f as tJt, g as iJt, r as nJt, s as rJt } from "../chunks/number.B4PQLJIg.js";
|
|
187
|
-
import { a as y1 } from "../chunks/color-swatch-group.
|
|
188
|
-
import { C as aJt } from "../chunks/color-swatch-group.
|
|
187
|
+
import { a as y1 } from "../chunks/color-swatch-group.Cy-M_lbx.js";
|
|
188
|
+
import { C as aJt } from "../chunks/color-swatch-group.Cy-M_lbx.js";
|
|
189
189
|
import { t as Pc, f as Gg, i as c$, r as QJ, m as eZ, a as $I, g as FI } from "../chunks/toast.D3AW3RWv.js";
|
|
190
190
|
import { e as lJt, c as cJt, d as dJt, b as uJt } from "../chunks/toast.D3AW3RWv.js";
|
|
191
191
|
import { p as tZ } from "../chunks/purify.es.BIuh5IAZ.js";
|
|
@@ -200,7 +200,7 @@ import { a as uZ, b as pZ } from "../chunks/_baseUniq.HFKneygy.js";
|
|
|
200
200
|
import { S as m$ } from "../chunks/sortable.esm.oSzf6C5Q.js";
|
|
201
201
|
import { r as f$ } from "../chunks/query-async.CTgXGyQ5.js";
|
|
202
202
|
import { a as hJt, b as gJt, g as mJt } from "../chunks/modal.U1QltQKe.js";
|
|
203
|
-
import { c as vJt, f as yJt, e as bJt, b as wJt, g as xJt, d as kJt, i as _Jt, r as CJt, a as SJt } from "../chunks/image.
|
|
203
|
+
import { c as vJt, f as yJt, e as bJt, b as wJt, g as xJt, d as kJt, i as _Jt, r as CJt, a as SJt } from "../chunks/image.BzmclWBR.js";
|
|
204
204
|
import { b as EJt, e as AJt } from "../chunks/waveform.1U9U_0rd.js";
|
|
205
205
|
import { g as IJt, a as DJt } from "../chunks/template.ClovJacp.js";
|
|
206
206
|
var zE = /* @__PURE__ */ ((i) => (i.Button = "button", i.Select = "select", i))(zE || {}), vb = /* @__PURE__ */ ((i) => (i.Grid = "grid", i.Shadows = "shadows", i.Textures = "textures", i.Wireframe = "wireframe", i))(vb || {}), zp = /* @__PURE__ */ ((i) => (i.Animation = "animation", i.Environment = "environment", i.Speed = "speed", i.Variant = "variant", i))(zp || {});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Cb } from "../chunks/image.
|
|
4
|
+
import { C as Cb } from "../chunks/image.DAtx64Jj.js";
|
|
5
5
|
import Mb from "./resize-observer.js";
|
|
6
|
-
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.
|
|
6
|
+
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.B5N-oYx6.js";
|
|
7
7
|
import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { b as Ib } from "../chunks/browser.BHOCIF_A.js";
|
|
9
9
|
import { c as Ob } from "../chunks/custom-element.L4WJXn1j.js";
|
package/library/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import { default as CxIconButton } from '../icon-button/icon-button.ts';
|
|
|
6
6
|
import { default as CxSelect } from '../select/select.ts';
|
|
7
7
|
import { default as CxSpace } from '../space/space.ts';
|
|
8
8
|
import { default as CxSpinner } from '../spinner/spinner.ts';
|
|
9
|
+
import { default as CxTooltip } from '../tooltip/tooltip.ts';
|
|
9
10
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
10
11
|
import { RowComponent, TabulatorFull as Tabulator } from '../../../../hybrid/table-core/src/index.ts';
|
|
11
12
|
import { PaginationCounter } from '../../../../types/src/pagination';
|
|
@@ -65,6 +66,7 @@ import { CxTableFooter, CxTableRowActions, CxTableToolbar } from './components';
|
|
|
65
66
|
* E.g: `cx-table.rowMoved` will fire when `rowMoved` event is emitted.
|
|
66
67
|
* @event {{ url: string, format: string, rowCount: number }} cx-table-data-load - Emitted when data is successfully loaded from dataUrl.
|
|
67
68
|
* @event {{ url: string, error: unknown }} cx-table-data-load-error - Emitted when fetching or parsing data from dataUrl fails.
|
|
69
|
+
* @event {{ invalidCellCount: number, invalidCells: ICellComponent[] }} cx-table-validation-change - Emitted when the set of cells failing column `validator` rules changes (edit, load validation, or programmatic validate).
|
|
68
70
|
*/
|
|
69
71
|
export default class CxTable extends CortexElement {
|
|
70
72
|
#private;
|
|
@@ -82,6 +84,7 @@ export default class CxTable extends CortexElement {
|
|
|
82
84
|
'cx-table-footer': typeof CxTableFooter;
|
|
83
85
|
'cx-table-row-actions': typeof CxTableRowActions;
|
|
84
86
|
'cx-table-toolbar': typeof CxTableToolbar;
|
|
87
|
+
'cx-tooltip': typeof CxTooltip;
|
|
85
88
|
};
|
|
86
89
|
private verticalOsInstance;
|
|
87
90
|
private horizontalOsInstance;
|
|
@@ -94,6 +97,18 @@ export default class CxTable extends CortexElement {
|
|
|
94
97
|
private readonly table;
|
|
95
98
|
private readonly tableToolbar;
|
|
96
99
|
private readonly tableFooter;
|
|
100
|
+
private readonly validationTooltip;
|
|
101
|
+
/** Cell element the shared validation tooltip is currently anchored to. */
|
|
102
|
+
private validationTooltipAnchor;
|
|
103
|
+
/** Pending delayed hide of the shared validation tooltip. */
|
|
104
|
+
private validationTooltipHideTimeout?;
|
|
105
|
+
/**
|
|
106
|
+
* In-flight hide transition of the shared validation tooltip. Calling
|
|
107
|
+
* show() while a hide animation is still running would race its tail
|
|
108
|
+
* (which deactivates the popup after the animation), leaving `open` true
|
|
109
|
+
* but the tooltip invisible — show waits for this to settle instead.
|
|
110
|
+
*/
|
|
111
|
+
private validationTooltipHidePromise;
|
|
97
112
|
movableRows: boolean;
|
|
98
113
|
movableColumns: boolean;
|
|
99
114
|
data: Options['data'];
|
|
@@ -175,6 +190,16 @@ export default class CxTable extends CortexElement {
|
|
|
175
190
|
* If 'basic', virtual DOM is disabled.
|
|
176
191
|
*/
|
|
177
192
|
renderVertical: Options['renderVertical'];
|
|
193
|
+
/**
|
|
194
|
+
* When true, the whole dataset is validated against the column `validator`
|
|
195
|
+
* definitions each time data is loaded or replaced.
|
|
196
|
+
*/
|
|
197
|
+
validateOnLoad: Options['validateOnLoad'];
|
|
198
|
+
/**
|
|
199
|
+
* Row-count threshold above which table-wide validation passes are offloaded
|
|
200
|
+
* to a Web Worker to keep the main thread responsive.
|
|
201
|
+
*/
|
|
202
|
+
validationWorkerThreshold: Options['validationWorkerThreshold'];
|
|
178
203
|
/**
|
|
179
204
|
* The columnDefaults option allows you to set default configs for all columns in the table.
|
|
180
205
|
*/
|
|
@@ -717,6 +742,24 @@ export default class CxTable extends CortexElement {
|
|
|
717
742
|
* All logic that needs to run when the table is built should be placed here.
|
|
718
743
|
*/
|
|
719
744
|
private readonly handleTableBuilt;
|
|
745
|
+
/** Re-emits table-core validation summaries as a typed Cortex event. */
|
|
746
|
+
private readonly handleValidationChanged;
|
|
747
|
+
/**
|
|
748
|
+
* One shared tooltip serves every invalid cell: on hover it is re-anchored
|
|
749
|
+
* to the hovered cell and filled with that cell's failure messages, instead
|
|
750
|
+
* of rendering a tooltip per cell.
|
|
751
|
+
*/
|
|
752
|
+
private handleValidationMouseOver;
|
|
753
|
+
private showValidationTooltip;
|
|
754
|
+
private hideValidationTooltip;
|
|
755
|
+
/**
|
|
756
|
+
* cx-popup restarts its positioner with a debounce after an anchor change,
|
|
757
|
+
* which would leave a re-anchored (still open) tooltip hovering over the
|
|
758
|
+
* previous cell while already showing the new cell's content — force an
|
|
759
|
+
* immediate reposition once the popup has adopted the new anchor.
|
|
760
|
+
*/
|
|
761
|
+
private repositionValidationTooltipNow;
|
|
762
|
+
private handleValidationMouseOut;
|
|
720
763
|
disconnectedCallback(): void;
|
|
721
764
|
private initVerticalScrollbar;
|
|
722
765
|
private initHorizontalScrollbar;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationSummary } from '../../types/src/table';
|
|
2
|
+
|
|
3
|
+
export type CxTableValidationChangeEvent = CustomEvent<ValidationSummary>;
|
|
4
|
+
declare global {
|
|
5
|
+
interface GlobalEventHandlersEventMap {
|
|
6
|
+
'cx-table-validation-change': CxTableValidationChangeEvent;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from './cx-after-expand';
|
|
|
11
11
|
export * from './cx-after-hide';
|
|
12
12
|
export * from './cx-after-show';
|
|
13
13
|
export * from './cx-asset-data-display-slot-change';
|
|
14
|
+
export * from './cx-asset-format-picker-select';
|
|
14
15
|
export * from './cx-asset-picker-delete';
|
|
15
16
|
export * from './cx-asset-picker-select';
|
|
16
17
|
export * from './cx-asset-request-status';
|
|
@@ -63,7 +64,6 @@ export * from './cx-dot-status-click';
|
|
|
63
64
|
export * from './cx-download-format-picker-delete';
|
|
64
65
|
export * from './cx-download-format-picker-select';
|
|
65
66
|
export * from './cx-download-format-request-status';
|
|
66
|
-
export * from './cx-asset-format-picker-select';
|
|
67
67
|
export * from './cx-drag-end';
|
|
68
68
|
export * from './cx-drag-start';
|
|
69
69
|
export * from './cx-e-chart-drill-down';
|
|
@@ -79,8 +79,8 @@ export * from './cx-file-on-demand-unpin';
|
|
|
79
79
|
export * from './cx-find-and-replace';
|
|
80
80
|
export * from './cx-finish';
|
|
81
81
|
export * from './cx-focus';
|
|
82
|
-
export * from './cx-folder-select-search-term-change';
|
|
83
82
|
export * from './cx-folder-select-children-loaded';
|
|
83
|
+
export * from './cx-folder-select-search-term-change';
|
|
84
84
|
export * from './cx-gallery-chunk-request';
|
|
85
85
|
export * from './cx-gallery-config-save';
|
|
86
86
|
export * from './cx-gallery-item-click';
|
|
@@ -162,7 +162,6 @@ export * from './cx-save';
|
|
|
162
162
|
export * from './cx-save-settings';
|
|
163
163
|
export * from './cx-sb-button-click';
|
|
164
164
|
export * from './cx-sb-dam-view-config-change';
|
|
165
|
-
export * from './cx-video-thumbnail-resolved';
|
|
166
165
|
export * from './cx-search';
|
|
167
166
|
export * from './cx-select';
|
|
168
167
|
export * from './cx-selected-change';
|
|
@@ -170,8 +169,8 @@ export * from './cx-selection-change';
|
|
|
170
169
|
export * from './cx-shadow-input-group-change';
|
|
171
170
|
export * from './cx-share-option-list-item-selected';
|
|
172
171
|
export * from './cx-show';
|
|
173
|
-
export * from './cx-special-characters-insert';
|
|
174
172
|
export * from './cx-slide-change';
|
|
173
|
+
export * from './cx-special-characters-insert';
|
|
175
174
|
export * from './cx-start';
|
|
176
175
|
export * from './cx-swatch-add';
|
|
177
176
|
export * from './cx-tab-hide';
|
|
@@ -183,9 +182,10 @@ export * from './cx-table-export';
|
|
|
183
182
|
export * from './cx-table-row-action-click';
|
|
184
183
|
export * from './cx-table-save-search-select';
|
|
185
184
|
export * from './cx-table-switch-change';
|
|
185
|
+
export * from './cx-table-validation-change';
|
|
186
186
|
export * from './cx-time-based-change';
|
|
187
|
-
export * from './cx-timeline-data-resolved';
|
|
188
187
|
export * from './cx-time-update';
|
|
188
|
+
export * from './cx-timeline-data-resolved';
|
|
189
189
|
export * from './cx-tiptap-code-block-doc-request';
|
|
190
190
|
export * from './cx-tiptap-image-doc-request';
|
|
191
191
|
export * from './cx-tiptap-image-host-feedback';
|
|
@@ -193,11 +193,12 @@ export * from './cx-tiptap-video-doc-request';
|
|
|
193
193
|
export * from './cx-tiptap-video-host-feedback';
|
|
194
194
|
export * from './cx-typeface-change';
|
|
195
195
|
export * from './cx-typeface-download';
|
|
196
|
-
export * from './cx-undo';
|
|
197
196
|
export * from './cx-unauthorized';
|
|
197
|
+
export * from './cx-undo';
|
|
198
198
|
export * from './cx-unmark-favorite';
|
|
199
199
|
export * from './cx-video-click';
|
|
200
200
|
export * from './cx-video-editor-track-canvas-ready';
|
|
201
201
|
export * from './cx-video-editor-track-click';
|
|
202
202
|
export * from './cx-video-editor-transition-click';
|
|
203
|
+
export * from './cx-video-thumbnail-resolved';
|
|
203
204
|
export * from './cx-view-logs';
|
|
@@ -13,3 +13,4 @@ export { default as Row } from './core/row/Row';
|
|
|
13
13
|
export { default as Cell } from './core/cell/Cell';
|
|
14
14
|
export { default as Module } from './core/Module';
|
|
15
15
|
export { default as Renderer } from './core/rendering/Renderer';
|
|
16
|
+
export { VALIDATION_MESSAGE_ATTRIBUTE } from './modules/Validate/Validate';
|