@orangelogic/design-system 2.129.0 → 2.131.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.VVTf0dxG.js → document-viewer.Dn_vUYCW.js} +2 -2
- package/library/chunks/{image.CDrKFe1H.js → image.BC_hwk-b.js} +246 -215
- package/library/chunks/{list-editor.C8SaStOE.js → list-editor.CdMU7vNF.js} +8 -7
- package/library/chunks/{resizable-component.styles.DpK0TTP5.js → resizable-component.styles.BVhOesNE.js} +2 -1
- package/library/chunks/{table.Cf3C72Lv.js → table.C6YsaNOh.js} +2460 -2081
- 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/document-viewer.js +3 -3
- package/library/components/image.js +4 -3
- package/library/components/list-editor.js +2 -2
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/table.js +52 -50
- package/library/components/types.js +5941 -5918
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +16 -8
- package/library/packages/atoms/src/components/table/table.d.ts +43 -0
- package/library/packages/base/src/highlightable-element.d.ts +2 -1
- 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/molecules/src/asset-picker/asset-picker.d.ts +3 -2
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +6 -0
- package/library/packages/types/src/table.d.ts +55 -1
- package/library/react-web-component.d.ts +13 -5
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import U from "../components/radio.js";
|
|
|
9
9
|
import H from "../components/radio-group.js";
|
|
10
10
|
import V from "../components/select.js";
|
|
11
11
|
import T from "../components/space.js";
|
|
12
|
-
import { C as W, H as J } from "./table.
|
|
12
|
+
import { C as W, H as J } from "./table.C6YsaNOh.js";
|
|
13
13
|
import { C as L } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as r, C as D } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import X from "../components/dynamic-select.js";
|
|
@@ -29,7 +29,7 @@ import { c as x } from "./repeat.DbF2p5ae.js";
|
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as ae } from "./toString.CAY8lys2.js";
|
|
31
31
|
import { C as ie } from "./icon-button.COTH_z-J.js";
|
|
32
|
-
import { C as ne } from "./image.
|
|
32
|
+
import { C as ne } from "./image.BC_hwk-b.js";
|
|
33
33
|
import { a as se, F as I, b as w } from "./asset.D_VITxRH.js";
|
|
34
34
|
import { a as re } from "./index.Cpamj0jB.js";
|
|
35
35
|
import { A as g } from "./content-builder.BGzxZUgi.js";
|
|
@@ -882,18 +882,19 @@ let c = class extends D {
|
|
|
882
882
|
);
|
|
883
883
|
}
|
|
884
884
|
async handleRecordIdChange() {
|
|
885
|
-
|
|
885
|
+
const e = this.recordId.split(" ").filter((t) => t !== "");
|
|
886
|
+
if (e.length === 0) {
|
|
886
887
|
this.previewSrc = "", this.assetTitle = "";
|
|
887
888
|
return;
|
|
888
889
|
}
|
|
889
890
|
try {
|
|
890
|
-
const t =
|
|
891
|
+
const t = await this.apiGetAssets({
|
|
891
892
|
extraFields: ["path_TR1", I, w],
|
|
892
893
|
getPermanentAssetsPaths: !0,
|
|
893
894
|
isSiteBuilder: this.isSiteBuilder,
|
|
894
|
-
recordIds:
|
|
895
|
-
})
|
|
896
|
-
this.previewSrc =
|
|
895
|
+
recordIds: e
|
|
896
|
+
}), [a] = t.items;
|
|
897
|
+
this.previewSrc = a?.path_TR1 || a?.originalUrl || "", this.assetTitle = t.items.map((i) => i[I] || i[w] || "").filter((i) => i !== "").join(",");
|
|
897
898
|
} catch {
|
|
898
899
|
this.previewSrc = "", this.assetTitle = "";
|
|
899
900
|
}
|
|
@@ -15,13 +15,14 @@ class n extends N {
|
|
|
15
15
|
get easeCSSVariable() {
|
|
16
16
|
return S[this.easing] || S.linear;
|
|
17
17
|
}
|
|
18
|
-
getHighlighterClass() {
|
|
18
|
+
getHighlighterClass(e = !1) {
|
|
19
19
|
return {
|
|
20
20
|
highlighter: !0,
|
|
21
21
|
[`highlighter--effect-${this.effect}`]: !0,
|
|
22
22
|
[`highlighter--zoom-style-${this.zoomStyle}`]: !0,
|
|
23
23
|
"highlighter--background": this.highlightBackground,
|
|
24
24
|
"highlighter--border": this.highlightBorder,
|
|
25
|
+
"highlighter--centered": e,
|
|
25
26
|
"highlighter--color-overlay": this.highlightColorOverlay,
|
|
26
27
|
"highlighter--drop-shadow": this.highlightDropShadow,
|
|
27
28
|
"highlighter--opacity": this.highlightOpacity
|