@orangelogic/design-system 4.67.0 → 4.69.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.xThTv7KZ.js → asset-link-format.Ce_3Qz6_.js} +45 -21
- package/library/chunks/{block-width.Hgt3caeC.js → block-width.CSyA0Dwe.js} +3 -3
- package/library/chunks/{config-manager.DVWIcY4E.js → config-manager.BFqNZV0l.js} +2 -2
- package/library/chunks/{cropper.CNmQt-sa.js → cropper.BF32WRyP.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +19 -19
- package/library/components/cropper.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +14062 -14050
- package/library/package.json +1 -1
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +1 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +4 -0
- package/package.json +1 -1
- package/library/chunks/{src.BU2BE3fV.js → src.DKhoCHMa.js} +4 -4
|
@@ -32,7 +32,7 @@ import { a as D, c as O, l as k, n as ve, o as A, r as j, s as M, t as N } from
|
|
|
32
32
|
import { t as ye } from "./menu-label.B-FOyfAX.js";
|
|
33
33
|
import { t as be } from "./switch.BM9msK5T.js";
|
|
34
34
|
import { t as xe } from "./v4.JyXW8GUB.js";
|
|
35
|
-
import "./cropper.
|
|
35
|
+
import "./cropper.BF32WRyP.js";
|
|
36
36
|
import { t as Se } from "./_baseUniq.h_pGICPH.js";
|
|
37
37
|
import { d as Ce, i as we, n as Te, o as Ee, p as P, r as De, s as Oe, t as ke } from "./string-array.F2GuxHp0.js";
|
|
38
38
|
import { t as Ae } from "./position-picker.X2hhfGx7.js";
|
|
@@ -779,7 +779,7 @@ var Tt = class {
|
|
|
779
779
|
}
|
|
780
780
|
this.invalidWidth = !1, this.unit === k.Pixel && (t = Math.max(Math.min(t, this.maxWidth), 1));
|
|
781
781
|
let n = this.unit === k.Pixel ? this.height : this.ratioHeight, r = !1;
|
|
782
|
-
this.keepAspectRatio ? n = Math.max(Math.round(t / this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxWidth, this.maxHeight)), this.unit === k.Pixel && this.maxHeight >= 1 && n > this.maxHeight && (n = this.maxHeight, r = this.keepAspectRatio), e.target.value = t.toString(), this.invalidHeight = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
|
|
782
|
+
this.keepAspectRatio ? n = Math.max(Math.round(t / this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxWidth, this.maxHeight)), this.unit === k.Pixel && this.maxHeight >= 1 && n > this.maxHeight && (n = this.maxHeight, r = this.keepAspectRatio), r ||= this.#a(t, n), e.target.value = t.toString(), this.invalidHeight = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
|
|
783
783
|
breakAspectRatio: r,
|
|
784
784
|
height: n,
|
|
785
785
|
keepAspectRatio: this.keepAspectRatio,
|
|
@@ -795,7 +795,7 @@ var Tt = class {
|
|
|
795
795
|
}
|
|
796
796
|
this.invalidHeight = !1, this.unit === k.Pixel && (t = Math.max(Math.min(t, this.maxHeight), 1));
|
|
797
797
|
let n = this.unit === k.Pixel ? this.width : this.ratioWidth, r = !1;
|
|
798
|
-
this.keepAspectRatio ? n = Math.max(Math.round(t * this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxHeight, this.maxWidth)), this.unit === k.Pixel && this.maxWidth >= 1 && n > this.maxWidth && (n = this.maxWidth, r = this.keepAspectRatio), e.target.value = t.toString(), this.invalidWidth = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
|
|
798
|
+
this.keepAspectRatio ? n = Math.max(Math.round(t * this.aspectRatio), 1) : this.unit === k.AspectRatio && ([t, n] = this.fitRatioSides(t, n, this.maxHeight, this.maxWidth)), this.unit === k.Pixel && this.maxWidth >= 1 && n > this.maxWidth && (n = this.maxWidth, r = this.keepAspectRatio), r ||= this.#a(n, t), e.target.value = t.toString(), this.invalidWidth = !1, this.emit("cx-asset-link-format-crop-change", { detail: {
|
|
799
799
|
breakAspectRatio: r,
|
|
800
800
|
height: t,
|
|
801
801
|
keepAspectRatio: this.keepAspectRatio,
|
|
@@ -855,7 +855,7 @@ var Tt = class {
|
|
|
855
855
|
} }), this.emit("cx-asset-link-format-crop-mode-change", { detail: { mode: "free" } });
|
|
856
856
|
}
|
|
857
857
|
#r(e) {
|
|
858
|
-
let t =
|
|
858
|
+
let { keepAspectRatio: t } = this;
|
|
859
859
|
if (/^\d+:\d+$/.test(this.cropMode)) {
|
|
860
860
|
let [n, r] = this.cropMode.split(":").map(Number);
|
|
861
861
|
return {
|
|
@@ -864,26 +864,26 @@ var Tt = class {
|
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
866
|
return e === k.AspectRatio ? {
|
|
867
|
-
|
|
868
|
-
keepAspectRatio: t
|
|
867
|
+
height: this.height,
|
|
868
|
+
keepAspectRatio: t,
|
|
869
|
+
width: this.width
|
|
869
870
|
} : {
|
|
870
871
|
...H.getRatioSize(this.ratioWidth, this.ratioHeight, e, this.maxWidth, this.maxHeight),
|
|
871
872
|
keepAspectRatio: t
|
|
872
873
|
};
|
|
873
874
|
}
|
|
874
875
|
#i(e) {
|
|
875
|
-
if (e === k.
|
|
876
|
-
height: this.height,
|
|
877
|
-
width: this.width
|
|
878
|
-
};
|
|
879
|
-
if (/^\d+:\d+$/.test(this.cropMode)) {
|
|
876
|
+
if (e === k.AspectRatio && /^\d+:\d+$/.test(this.cropMode)) {
|
|
880
877
|
let [e, t] = this.cropMode.split(":").map(Number);
|
|
881
878
|
return {
|
|
882
879
|
height: t,
|
|
883
880
|
width: e
|
|
884
881
|
};
|
|
885
882
|
}
|
|
886
|
-
return
|
|
883
|
+
return {
|
|
884
|
+
height: this.height,
|
|
885
|
+
width: this.width
|
|
886
|
+
};
|
|
887
887
|
}
|
|
888
888
|
handleInputChange(e) {
|
|
889
889
|
e.stopPropagation(), this.emit("cx-asset-link-format-crop-changed");
|
|
@@ -903,7 +903,7 @@ var Tt = class {
|
|
|
903
903
|
e.target !== this.base && e.stopPropagation();
|
|
904
904
|
}
|
|
905
905
|
handleAspectRatioClick() {
|
|
906
|
-
this.
|
|
906
|
+
this.emit("cx-asset-link-format-crop-change", { detail: {
|
|
907
907
|
height: this.unit === k.Pixel ? this.height : this.ratioHeight,
|
|
908
908
|
keepAspectRatio: !this.keepAspectRatio,
|
|
909
909
|
unit: this.unit,
|
|
@@ -926,13 +926,17 @@ var Tt = class {
|
|
|
926
926
|
let i = Math.min(e, n * t);
|
|
927
927
|
return [i, Math.min(t, r * i)];
|
|
928
928
|
}
|
|
929
|
+
#a(e, t) {
|
|
930
|
+
let n = /^(\d+):(\d+)$/.exec(this.cropMode);
|
|
931
|
+
return this.unit === k.Pixel && !this.keepAspectRatio && n !== null && Number(n[1]) * t !== Number(n[2]) * e;
|
|
932
|
+
}
|
|
929
933
|
render() {
|
|
930
934
|
let t = this.cropModes.filter((e) => !e.auto), n = this.cropModes.filter((e) => e.auto);
|
|
931
935
|
return e`<cx-details class="details ${this.inline ? "details--inline" : ""}" ?open=${this.inline || this.open} @cx-show=${this.onShowDetails} @cx-hide=${this.onHideDetails}><cx-space slot="summary" align-items="center"><div part="icon"><cx-icon name="crop"></cx-icon></div><cx-typography variant="body2">${this.localize.term("crop")}</cx-typography></cx-space><cx-space direction="vertical" spacing="small">${m(!this.noRatioModes, () => e`<cx-select data-testid="cx-asset-link-format-crop-mode" value=${this.cropMode} hoist style=${g({ width: "100%" })} @cx-change=${this.onCropModeChange} ?disabled=${this.loading}>${S(t, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}
|
|
932
936
|
${m(n.length > 0, () => e`<cx-divider></cx-divider><small>${this.localize.term("autoCropping")}</small>`)}
|
|
933
937
|
${S(n, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}</cx-select>`)}<cx-space spacing="small"><div class="crop__input-group"><cx-input data-testid="cx-asset-link-format-crop-width" placeholder=${this.localize.term("width")} mask="num" .maskBlocks=${this.getSizeMaskBlocks(this.maxWidth)} value=${this.unit === k.Pixel ? this.width.toString() : this.ratioWidth.toString()} @cx-change=${this.handleInputChange} @cx-input=${this.handleWidthChange} required ?disabled=${this.loading}><cx-typography slot="prefix" variant="body3" part="input-label">
|
|
934
938
|
W
|
|
935
|
-
</cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-crop-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading
|
|
939
|
+
</cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-crop-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} label=${this.localize.term("keepAspectRatio")} .pressed=${this.keepAspectRatio} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-crop-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${this.getSizeMaskBlocks(this.maxHeight)} value=${this.unit === k.Pixel ? this.height.toString() : this.ratioHeight.toString()} ?disabled=${this.loading} @cx-change=${this.handleInputChange} @cx-input=${this.handleHeightChange} required><cx-typography slot="prefix" variant="body3" part="input-label">
|
|
936
940
|
H
|
|
937
941
|
</cx-typography></cx-input></div>${m(!this.noRatioModes, () => e`<cx-select data-testid="cx-asset-link-format-crop-unit" value=${this.unit} hoist class="crop__unit-select" ?disabled=${this.loading} @cx-change=${this.onUnitChange}><cx-option value=${k.Pixel}>${this.localize.term("pixels")}</cx-option><cx-option value=${k.AspectRatio}>${this.localize.term("aspectRatio")}</cx-option></cx-select>`)}</cx-space><div class="crop__limit" data-testid="cx-asset-link-format-crop-dimensions-limit" role="status">${m(this.dimensionsLimited, () => e`<cx-typography variant="small">${this.localize.term("cropLimitedByDimensions", this.maxWidth, this.maxHeight)}</cx-typography>`)}</div>${m(this.focusModes.length > 0, () => e`<cx-select data-testid="cx-asset-link-format-crop-focus-mode" value=${this.focusMode} hoist style=${g({ width: "100%" })} @cx-change=${this.onFocusModeChange} ?disabled=${this.loading || this.selectedMode?.disabledSize}>${S(this.focusModes, (e) => e.value, ({ label: t, value: n }) => e`<cx-option value=${n}>${t}</cx-option>`)}</cx-select>`)}
|
|
938
942
|
${m(this.showPositionPicker && this.focusMode === "manual", () => e`<cx-position-picker data-testid="cx-asset-link-format-crop-position" value=${this.position} @cx-change=${this.onPositionChange}></cx-position-picker>`)}
|
|
@@ -1554,7 +1558,7 @@ var Rt = q, zt = t`cx-details::part(base){border-bottom-width:0}cx-space{width:1
|
|
|
1554
1558
|
scale: 0
|
|
1555
1559
|
} }} value=${this.unit === k.Pixel ? this.width.toString() : this.ratioWidth.toString()} @cx-input=${this.handleWidthChange} required ?disabled=${this.loading}><cx-typography slot="prefix" variant="body3" part="input-label">
|
|
1556
1560
|
W
|
|
1557
|
-
</cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-resize-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-resize-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${{ num: {
|
|
1561
|
+
</cx-typography></cx-input><cx-icon-button data-testid="cx-asset-link-format-resize-aspect-ratio" name=${this.keepAspectRatio ? "insert_link" : "link_off"} label=${this.localize.term("keepAspectRatio")} .pressed=${this.keepAspectRatio} @click=${this.handleAspectRatioClick} style=${g({ color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0 })} ?disabled=${this.loading}></cx-icon-button><cx-input data-testid="cx-asset-link-format-resize-height" placeholder=${this.localize.term("height")} mask="num" .maskBlocks=${{ num: {
|
|
1558
1562
|
mask: Number,
|
|
1559
1563
|
min: 1,
|
|
1560
1564
|
radix: ".",
|
|
@@ -2663,8 +2667,9 @@ var Wt = X, Z, Gt = {
|
|
|
2663
2667
|
if (r === 0 || n === 0) return;
|
|
2664
2668
|
let o = this.cropSize.percentageWidth !== r, s = this.cropSize.percentageHeight !== n, c = this.cropSize.height, l = this.cropSize.width;
|
|
2665
2669
|
o && (l = Math.round(r * this.selectedFormat.width / 100)), s && (c = Math.round(n * this.selectedFormat.height / 100));
|
|
2666
|
-
let u = this.cropSize.focusMode;
|
|
2667
|
-
|
|
2670
|
+
let u = this.cropSize.focusMode, d = this.focusModes.find((e) => e.value === u)?.auto, f = l !== this.cropSize.width || c !== this.cropSize.height, p = f ? this.#i(l, c) : {};
|
|
2671
|
+
d && this.selectedFormat?.url && this.cropperElement ? await this.handleRequestAutoCropSuggestion({
|
|
2672
|
+
...p,
|
|
2668
2673
|
focusMode: u,
|
|
2669
2674
|
height: c,
|
|
2670
2675
|
percentageHeight: n,
|
|
@@ -2672,13 +2677,22 @@ var Wt = X, Z, Gt = {
|
|
|
2672
2677
|
width: l
|
|
2673
2678
|
}) : this.cropSize = {
|
|
2674
2679
|
...this.cropSize,
|
|
2680
|
+
...p,
|
|
2675
2681
|
height: c,
|
|
2676
2682
|
percentageHeight: n,
|
|
2677
2683
|
percentageWidth: r,
|
|
2678
2684
|
width: l,
|
|
2679
2685
|
x: i,
|
|
2680
2686
|
y: a
|
|
2681
|
-
};
|
|
2687
|
+
}, f && this.#o();
|
|
2688
|
+
}
|
|
2689
|
+
#i(e, t) {
|
|
2690
|
+
let { keepAspectRatio: n, unit: r } = this.cropSize, i = {};
|
|
2691
|
+
return n ? i : (this.#a(e, t) && (i.cropMode = "free"), r === k.AspectRatio && (i.ratioHeight = t, i.ratioWidth = e), i);
|
|
2692
|
+
}
|
|
2693
|
+
#a(e, t) {
|
|
2694
|
+
let n = /^(\d+):(\d+)$/.exec(this.cropSize.cropMode);
|
|
2695
|
+
return n !== null && Number(n[1]) * t !== Number(n[2]) * e;
|
|
2682
2696
|
}
|
|
2683
2697
|
onCropDragStart() {
|
|
2684
2698
|
let e = this.cropSize.cropMode, t = this.cropModes.find((t) => t.value === e)?.auto;
|
|
@@ -2756,8 +2770,8 @@ var Wt = X, Z, Gt = {
|
|
|
2756
2770
|
if (e.detail.unit === k.AspectRatio) {
|
|
2757
2771
|
let t = e.detail.width / e.detail.height, n = this.asset ? Math.min(Math.max(Math.round(this.cropSize.height * t), 1), this.resizeSize.width) : 0, r = this.asset ? Math.min(Math.max(Math.round(n / t), 1), this.resizeSize.height) : 0, i = this.asset ? r * 100 / this.selectedFormat.height : 100, a = this.asset ? n * 100 / this.selectedFormat.width : 100, o = this.cropSize.x, s = this.cropSize.y;
|
|
2758
2772
|
o + a > 100 && (o = 100 - a), s + i > 100 && (s = 100 - i);
|
|
2759
|
-
let c = this.cropSize.cropMode, l = this.cropModes.find((e) => e.value === c)?.auto, u =
|
|
2760
|
-
(l ||
|
|
2773
|
+
let c = this.cropSize.cropMode, l = this.cropModes.find((e) => e.value === c)?.auto, u = !e.detail.keepAspectRatio && this.#a(e.detail.width, e.detail.height);
|
|
2774
|
+
(l || u) && (c = "free"), e.detail.silent ? (this.cropSize.height = r, this.cropSize.keepAspectRatio = e.detail.keepAspectRatio, this.cropSize.percentageHeight = i, this.cropSize.percentageWidth = a, this.cropSize.ratioHeight = e.detail.height, this.cropSize.ratioWidth = e.detail.width, this.cropSize.unit = k.AspectRatio, this.cropSize.width = n) : this.cropSize = {
|
|
2761
2775
|
...this.cropSize,
|
|
2762
2776
|
cropMode: c,
|
|
2763
2777
|
height: r,
|
|
@@ -2793,8 +2807,18 @@ var Wt = X, Z, Gt = {
|
|
|
2793
2807
|
cropMode: "free"
|
|
2794
2808
|
}), this.onCropChanged()), this.isFormatsLayout && this.cropEnabled && this.applyCropTransformation();
|
|
2795
2809
|
}
|
|
2810
|
+
#o() {
|
|
2811
|
+
let { ratioHeight: e, ratioWidth: t, unit: n } = this.cropSize;
|
|
2812
|
+
if (n !== k.AspectRatio) return;
|
|
2813
|
+
let r = y(t, e);
|
|
2814
|
+
(r.width !== t || r.height !== e) && (this.cropSize = {
|
|
2815
|
+
...this.cropSize,
|
|
2816
|
+
ratioHeight: r.height,
|
|
2817
|
+
ratioWidth: r.width
|
|
2818
|
+
});
|
|
2819
|
+
}
|
|
2796
2820
|
async onCropChanged() {
|
|
2797
|
-
this.focusModes.find((e) => e.value === this.cropSize.focusMode)?.auto && await this.handleRequestAutoCropSuggestion({
|
|
2821
|
+
this.#o(), this.focusModes.find((e) => e.value === this.cropSize.focusMode)?.auto && await this.handleRequestAutoCropSuggestion({
|
|
2798
2822
|
focusMode: this.cropSize.focusMode,
|
|
2799
2823
|
height: this.cropSize.height,
|
|
2800
2824
|
width: this.cropSize.width
|
|
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.Bv06U7NJ.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.DKhoCHMa.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as le } from "./debounce.Ci-xdsHE.js";
|
|
21
21
|
import { t as b } from "./button.DKkHqsUz.js";
|
|
@@ -69,7 +69,7 @@ import { t as bt } from "./bicolor-picker.DS9Uut25.js";
|
|
|
69
69
|
import { t as xt } from "./border-input-group.B6fqiG6F.js";
|
|
70
70
|
import { n as St, t as Ct } from "./confirm-popover.sZVNhFPh.js";
|
|
71
71
|
import { t as wt } from "./corner-position-input-group.nTlFes0_.js";
|
|
72
|
-
import { t as Tt } from "./cropper.
|
|
72
|
+
import { t as Tt } from "./cropper.BF32WRyP.js";
|
|
73
73
|
import { t as Et } from "./dynamic-select.Cb3L0dIB.js";
|
|
74
74
|
import { t as Dt } from "./string-array.F2GuxHp0.js";
|
|
75
75
|
import { n as M, r as Ot, t as N } from "./folder-select.DJ5EEod3.js";
|
|
@@ -79,7 +79,7 @@ import { t as jt } from "./padding-input-group.D2Qx15Yj.js";
|
|
|
79
79
|
import { t as Mt } from "./position-picker.X2hhfGx7.js";
|
|
80
80
|
import { t as Nt } from "./shadow-input-group.Xxuzm8Qe.js";
|
|
81
81
|
import { t as Pt } from "./size-input-group.wXuG0-RB.js";
|
|
82
|
-
import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.
|
|
82
|
+
import { C as Ft, S as It, T as Lt, _ as Rt, b as zt, c as Bt, f as Vt, g as Ht, h as Ut, i as Wt, l as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as P, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./asset-link-format.Ce_3Qz6_.js";
|
|
83
83
|
import { c as nn, d as rn, f as an, n as on, u as sn } from "./color-swatch-group.CuMJc6m8.js";
|
|
84
84
|
import { $ as cn, B as F, G as ln, O as un, P as dn, Q as fn, T as pn, X as mn, Y as hn, Z as gn, _ as _n, at as vn, ct as I, et as yn, lt as bn, ot as L, st as xn, v as Sn, w as Cn, x as wn } from "./configs-controller.TQDPq63n.js";
|
|
85
85
|
import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DKkHqsUz.js";
|
|
15
15
|
import { t as ee } from "./tooltip.Cc02vm6M.js";
|
|
16
16
|
import { t as te } from "./line-clamp.Dl3_JdHX.js";
|
|
17
|
-
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { S as ne, _ as re, a as ie, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, n as me, o as he, p as ge, s as S, t as C, u as w, v as T, x as E, y as D } from "./block-width.CSyA0Dwe.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -59,7 +59,7 @@ import { t as Je } from "./padding-input-group.D2Qx15Yj.js";
|
|
|
59
59
|
import { t as Ye } from "./position-picker.X2hhfGx7.js";
|
|
60
60
|
import { t as Xe } from "./shadow-input-group.Xxuzm8Qe.js";
|
|
61
61
|
import { t as Ze } from "./size-input-group.wXuG0-RB.js";
|
|
62
|
-
import { T as K } from "./asset-link-format.
|
|
62
|
+
import { T as K } from "./asset-link-format.Ce_3Qz6_.js";
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
@@ -663,7 +663,7 @@ var B = (0, S.forwardRef)(({ cropper: e, disabled: t, fillImage: n, image: r, lo
|
|
|
663
663
|
ref: M,
|
|
664
664
|
className: `cropper cropper--${Z ? "portrait" : "landscape"}${o ? " cropper--multiple" : ""}`,
|
|
665
665
|
children: i ? /* @__PURE__ */ (0, F.jsx)(R, {
|
|
666
|
-
aspect: e.keepAspectRatio
|
|
666
|
+
aspect: e.keepAspectRatio ?? e.unit === g.AspectRatio ? e.width / e.height : void 0,
|
|
667
667
|
crop: w,
|
|
668
668
|
centerCrop: J,
|
|
669
669
|
disabled: v,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.Ce_3Qz6_.js";
|
|
2
2
|
export { e as default };
|
|
@@ -6,15 +6,15 @@ import { t as o } from "../chunks/icon.CeQpEaQz.js";
|
|
|
6
6
|
import { t as s } from "../chunks/spinner.Bv06U7NJ.js";
|
|
7
7
|
import { t as c } from "../chunks/alert.2Esbser8.js";
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
|
-
import { t as u } from "../chunks/
|
|
10
|
-
import {
|
|
11
|
-
import { t as m } from "../chunks/
|
|
12
|
-
import { t as h } from "../chunks/
|
|
13
|
-
import { t as g } from "../chunks/
|
|
14
|
-
import { t as _ } from "../chunks/
|
|
15
|
-
import { t as v } from "../chunks/
|
|
16
|
-
import { t as y } from "../chunks/
|
|
17
|
-
import { t as b } from "../chunks/
|
|
9
|
+
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
|
+
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.DKhoCHMa.js";
|
|
12
|
+
import { t as h } from "../chunks/button.DKkHqsUz.js";
|
|
13
|
+
import { t as g } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
14
|
+
import { t as _ } from "../chunks/tooltip.Cc02vm6M.js";
|
|
15
|
+
import { t as v } from "../chunks/line-clamp.Dl3_JdHX.js";
|
|
16
|
+
import { t as y } from "../chunks/tag.DQLauctm.js";
|
|
17
|
+
import { t as b } from "../chunks/array-line-clamp.C0Vo0Zzg.js";
|
|
18
18
|
import { t as x } from "../chunks/typography.B0mkhqTB.js";
|
|
19
19
|
import { t as S } from "../chunks/audio.B0VfXBIx.js";
|
|
20
20
|
import { t as C } from "../chunks/avatar.Ce0OZHBT.js";
|
|
@@ -44,13 +44,13 @@ import { t as K } from "../chunks/details.DSgp6VAD.js";
|
|
|
44
44
|
import { t as q } from "../chunks/dialog.D0oTJWFf.js";
|
|
45
45
|
import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
46
46
|
import { t as Y } from "../chunks/diff.Bmdpmpvo.js";
|
|
47
|
-
import { t as X } from "../chunks/
|
|
48
|
-
import { t as Z } from "../chunks/
|
|
49
|
-
import { t as Q } from "../chunks/
|
|
50
|
-
import { t as $ } from "../chunks/
|
|
51
|
-
import { t as ee } from "../chunks/
|
|
52
|
-
import { t as te } from "../chunks/
|
|
53
|
-
import { t as ne } from "../chunks/
|
|
47
|
+
import { t as X } from "../chunks/drawer.BsKzYqKe.js";
|
|
48
|
+
import { t as Z } from "../chunks/progress-bar.CynVLLnY.js";
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.L77oYyOp.js";
|
|
50
|
+
import { t as $ } from "../chunks/image.-lgb634-.js";
|
|
51
|
+
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
|
+
import { t as te } from "../chunks/dot-pagination.C1C6NG8d.js";
|
|
53
|
+
import { t as ne } from "../chunks/dot-status.BATg_Fn-.js";
|
|
54
54
|
import { t as re } from "../chunks/e-chart.DKFAToIc.js";
|
|
55
55
|
import { t as ie } from "../chunks/element-clamp.CGq-62gg.js";
|
|
56
56
|
import ae from "./format-bytes.js";
|
|
@@ -58,8 +58,8 @@ import oe from "./format-date.js";
|
|
|
58
58
|
import se from "./format-number.js";
|
|
59
59
|
import { t as ce } from "../chunks/format-time.QkJcKYrT.js";
|
|
60
60
|
import { t as le } from "../chunks/grid.CK4PRwur.js";
|
|
61
|
-
import { t as ue } from "../chunks/
|
|
62
|
-
import { t as de } from "../chunks/
|
|
61
|
+
import { t as ue } from "../chunks/header.CowQINf-.js";
|
|
62
|
+
import { t as de } from "../chunks/grid-item.CSieaU5T.js";
|
|
63
63
|
import { t as fe } from "../chunks/hub-connection.C0CASy-Q.js";
|
|
64
64
|
import { t as pe } from "../chunks/iframe.sl2wnUcC.js";
|
|
65
65
|
import { t as me } from "../chunks/image-comparer.BCD6kzLm.js";
|
|
@@ -86,4 +86,4 @@ import { t as Pe } from "../chunks/switch.BM9msK5T.js";
|
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DjI1OTXD.js";
|
|
87
87
|
import { a as Ie, i as Le } from "../chunks/tree.BI7r-WnZ.js";
|
|
88
88
|
import { n as Re } from "../chunks/video.DWmHPbXO.js";
|
|
89
|
-
export { c as CxAlert, l as CxAmChart,
|
|
89
|
+
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, de as CxGridItem, ue as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, ye as CxMenuSection, be as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, g as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, _ as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/cropper.
|
|
1
|
+
import { t as e } from "../chunks/cropper.BF32WRyP.js";
|
|
2
2
|
export { e as default };
|
|
@@ -3,7 +3,7 @@ import { t } from "../chunks/border-input-group.B6fqiG6F.js";
|
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.DXAr2gBg.js";
|
|
4
4
|
import { t as r } from "../chunks/confirm-popover.sZVNhFPh.js";
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.nTlFes0_.js";
|
|
6
|
-
import { t as a } from "../chunks/cropper.
|
|
6
|
+
import { t as a } from "../chunks/cropper.BF32WRyP.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.Cb3L0dIB.js";
|
|
8
8
|
import { t as s } from "../chunks/folder-select.DJ5EEod3.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.BxNeClR6.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.Ce_3Qz6_.js";
|
|
2
2
|
import { t } from "../chunks/color-swatch-group.CuMJc6m8.js";
|
|
3
3
|
import { t as n } from "../chunks/file-on-demand.BjUW2Ydt.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|