@lax-wp/design-system 0.5.8 → 0.5.10
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/dist/components/button/CardButton.d.ts +1 -2
- package/dist/components/button/IconButton.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +105 -90
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
interface SmallCardProps {
|
|
2
|
+
export interface SmallCardProps {
|
|
3
3
|
icon?: ReactNode;
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
@@ -9,4 +9,3 @@ interface SmallCardProps {
|
|
|
9
9
|
id?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const CardButton: React.FC<SmallCardProps>;
|
|
12
|
-
export {};
|
|
@@ -5,7 +5,7 @@ export interface IconButtonProps {
|
|
|
5
5
|
onClick?(event: React.MouseEvent<HTMLButtonElement>): void;
|
|
6
6
|
variant?: 'default' | 'secondary' | 'native' | 'ghost';
|
|
7
7
|
disabled?: boolean;
|
|
8
|
-
tooltip?: string;
|
|
8
|
+
tooltip?: string | ReactNode;
|
|
9
9
|
tooltipPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
10
10
|
noborder?: boolean;
|
|
11
11
|
id?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,8 @@ export { DiffViewer, InlineDiffHighlighter, } from "./components/data-display/di
|
|
|
121
121
|
export type { DiffViewerProps, DiffType, DiffTheme, } from "./components/data-display/diff-viewer/DiffViewer";
|
|
122
122
|
export { default as Button } from "./components/button/Button";
|
|
123
123
|
export type { IButtonProps, IButtonStatus, IButtonAppearance, } from "./components/button/Button";
|
|
124
|
+
export { CardButton } from "./components/button/CardButton";
|
|
125
|
+
export type { SmallCardProps as CardButtonProps, } from "./components/button/CardButton";
|
|
124
126
|
export { OptionButton } from "./components/buttons/option-button/OptionButton";
|
|
125
127
|
export type { OptionButtonProps, } from "./components/buttons/option-button/OptionButton";
|
|
126
128
|
export { default as IconButton } from "./components/button/IconButton";
|
package/dist/index.es.js
CHANGED
|
@@ -10941,7 +10941,21 @@ const m0 = ({ size: A = 24, fill: e = "#12B76A" }) => /* @__PURE__ */ n(
|
|
|
10941
10941
|
}
|
|
10942
10942
|
);
|
|
10943
10943
|
Ea.displayName = "DiffViewer";
|
|
10944
|
-
const A6 = Ea,
|
|
10944
|
+
const A6 = Ea, e6 = ({ icon: A, title: e, description: t, variant: r, className: a, onClick: i, id: o }) => /* @__PURE__ */ y(
|
|
10945
|
+
"div",
|
|
10946
|
+
{
|
|
10947
|
+
className: `w-full p-4 rounded-lg border ${r == "primary" ? "bg-primary-50 border-primary-100 dark:bg-black-700 dark:border-black-600" : "bg-neutral-50 border-neutral-200 dark:bg-black-700 dark:border-black-600"} justify-start items-start gap-2 inline-flex ${a || ""}`,
|
|
10948
|
+
onClick: i,
|
|
10949
|
+
id: o,
|
|
10950
|
+
children: [
|
|
10951
|
+
A ? /* @__PURE__ */ n("div", { className: "w-10 h-10 justify-center items-center gap-2 flex", children: A }) : null,
|
|
10952
|
+
/* @__PURE__ */ y("div", { className: "grow shrink basis-0 flex-col justify-start items-start gap-0.5 inline-flex", children: [
|
|
10953
|
+
/* @__PURE__ */ n("div", { className: `${r == "primary" ? "text-primary-600" : "text-neutral-600"} text-sm font-medium`, children: e || "" }),
|
|
10954
|
+
t ? /* @__PURE__ */ n("div", { className: `self-stretch ${r == "primary" ? "text-primary-500" : "text-neutral-400"} text-xs font-medium`, children: t }) : null
|
|
10955
|
+
] })
|
|
10956
|
+
]
|
|
10957
|
+
}
|
|
10958
|
+
), D0 = ({ className: A, isChecked: e, onSelect: t }) => /* @__PURE__ */ n(
|
|
10945
10959
|
"input",
|
|
10946
10960
|
{
|
|
10947
10961
|
type: "radio",
|
|
@@ -10950,7 +10964,7 @@ const A6 = Ea, D0 = ({ className: A, isChecked: e, onSelect: t }) => /* @__PURE_
|
|
|
10950
10964
|
checked: e,
|
|
10951
10965
|
onClick: t
|
|
10952
10966
|
}
|
|
10953
|
-
),
|
|
10967
|
+
), t6 = ({ className: A, disabled: e, ...t }) => /* @__PURE__ */ n("button", { id: "btn-three-dots", className: "relative w-10 flex justify-center", ...t, children: /* @__PURE__ */ n(
|
|
10954
10968
|
Jo,
|
|
10955
10969
|
{
|
|
10956
10970
|
size: 18,
|
|
@@ -15467,7 +15481,7 @@ const ce = {
|
|
|
15467
15481
|
main: "rgb(80 80 80)",
|
|
15468
15482
|
gradient: "rgb(60 60 60)"
|
|
15469
15483
|
}
|
|
15470
|
-
}, Xr = "100%", Xt = "1fr", Or = "100%", Vc = "row", vi = "flex-start", bi = "flex-start", gi = "1fr / 1fr", xi = 10, yi = 0, Pi = "grey", St = 100,
|
|
15484
|
+
}, Xr = "100%", Xt = "1fr", Or = "100%", Vc = "row", vi = "flex-start", bi = "flex-start", gi = "1fr / 1fr", xi = 10, yi = 0, Pi = "grey", St = 100, r6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15471
15485
|
__proto__: null,
|
|
15472
15486
|
DEFAULT_ALIGN_ITEMS_ALIGNMENT: bi,
|
|
15473
15487
|
DEFAULT_DIRECTION_GRID_COLS: Vc,
|
|
@@ -15767,7 +15781,7 @@ const Zn = (A, e) => {
|
|
|
15767
15781
|
[]
|
|
15768
15782
|
);
|
|
15769
15783
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
15770
|
-
},
|
|
15784
|
+
}, n6 = lA.memo(jc), Qc = ({ rows: A = 3 }) => {
|
|
15771
15785
|
const e = cA(
|
|
15772
15786
|
() => ({
|
|
15773
15787
|
direction: "column",
|
|
@@ -15802,7 +15816,7 @@ const Zn = (A, e) => {
|
|
|
15802
15816
|
[]
|
|
15803
15817
|
);
|
|
15804
15818
|
return /* @__PURE__ */ n(MA, { grid: e });
|
|
15805
|
-
},
|
|
15819
|
+
}, a6 = lA.memo(Qc), Kc = () => {
|
|
15806
15820
|
const A = cA(
|
|
15807
15821
|
() => ({
|
|
15808
15822
|
direction: "column",
|
|
@@ -15837,7 +15851,7 @@ const Zn = (A, e) => {
|
|
|
15837
15851
|
[]
|
|
15838
15852
|
);
|
|
15839
15853
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
15840
|
-
},
|
|
15854
|
+
}, i6 = lA.memo(Kc), Rc = ({
|
|
15841
15855
|
repeat: A = 1,
|
|
15842
15856
|
lineHeight: e = "30px"
|
|
15843
15857
|
}) => {
|
|
@@ -15856,7 +15870,7 @@ const Zn = (A, e) => {
|
|
|
15856
15870
|
[]
|
|
15857
15871
|
);
|
|
15858
15872
|
return /* @__PURE__ */ n(MA, { grid: t });
|
|
15859
|
-
},
|
|
15873
|
+
}, o6 = lA.memo(Rc), Yc = ({ rows: A = 2 }) => {
|
|
15860
15874
|
const e = cA(
|
|
15861
15875
|
() => ({
|
|
15862
15876
|
w: "100%",
|
|
@@ -15873,7 +15887,7 @@ const Zn = (A, e) => {
|
|
|
15873
15887
|
[A]
|
|
15874
15888
|
);
|
|
15875
15889
|
return /* @__PURE__ */ n(MA, { grid: e });
|
|
15876
|
-
},
|
|
15890
|
+
}, l6 = lA.memo(Yc), Zc = Ir`
|
|
15877
15891
|
0% {
|
|
15878
15892
|
opacity: 0.5;
|
|
15879
15893
|
}
|
|
@@ -15956,7 +15970,7 @@ const Zn = (A, e) => {
|
|
|
15956
15970
|
[A, e, r, a]
|
|
15957
15971
|
);
|
|
15958
15972
|
return /* @__PURE__ */ n(Ic, { children: /* @__PURE__ */ n(MA, { grid: i }) });
|
|
15959
|
-
},
|
|
15973
|
+
}, s6 = lA.memo(Gc), Bc = () => {
|
|
15960
15974
|
const A = cA(
|
|
15961
15975
|
() => ({
|
|
15962
15976
|
direction: "row",
|
|
@@ -15994,7 +16008,7 @@ const Zn = (A, e) => {
|
|
|
15994
16008
|
[]
|
|
15995
16009
|
);
|
|
15996
16010
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
15997
|
-
},
|
|
16011
|
+
}, d6 = lA.memo(Bc), Jc = ({ count: A = 3 }) => {
|
|
15998
16012
|
const e = cA(
|
|
15999
16013
|
() => ({
|
|
16000
16014
|
direction: NA.column,
|
|
@@ -16034,7 +16048,7 @@ const Zn = (A, e) => {
|
|
|
16034
16048
|
[A]
|
|
16035
16049
|
);
|
|
16036
16050
|
return /* @__PURE__ */ n(MA, { grid: e });
|
|
16037
|
-
},
|
|
16051
|
+
}, c6 = lA.memo(Jc), $c = Ir`
|
|
16038
16052
|
0% {
|
|
16039
16053
|
opacity: 0.5;
|
|
16040
16054
|
}
|
|
@@ -16129,7 +16143,7 @@ const Zn = (A, e) => {
|
|
|
16129
16143
|
[]
|
|
16130
16144
|
);
|
|
16131
16145
|
return /* @__PURE__ */ n(_c, { style: { width: A }, children: /* @__PURE__ */ n(MA, { grid: e }) });
|
|
16132
|
-
},
|
|
16146
|
+
}, u6 = lA.memo(A2), e2 = ({ count: A = 3 }) => {
|
|
16133
16147
|
const e = cA(
|
|
16134
16148
|
() => ({
|
|
16135
16149
|
direction: NA.column,
|
|
@@ -16244,7 +16258,7 @@ const Zn = (A, e) => {
|
|
|
16244
16258
|
[A]
|
|
16245
16259
|
);
|
|
16246
16260
|
return /* @__PURE__ */ n(MA, { grid: e });
|
|
16247
|
-
},
|
|
16261
|
+
}, f6 = lA.memo(e2), t2 = 5, p6 = () => {
|
|
16248
16262
|
const A = cA(
|
|
16249
16263
|
() => ({
|
|
16250
16264
|
direction: NA.column,
|
|
@@ -16314,7 +16328,7 @@ const Zn = (A, e) => {
|
|
|
16314
16328
|
[]
|
|
16315
16329
|
);
|
|
16316
16330
|
return /* @__PURE__ */ n(n2, { children: /* @__PURE__ */ n(MA, { grid: t }) });
|
|
16317
|
-
},
|
|
16331
|
+
}, h6 = lA.memo(a2), i2 = () => {
|
|
16318
16332
|
const A = cA(
|
|
16319
16333
|
() => ({
|
|
16320
16334
|
direction: "row",
|
|
@@ -16348,7 +16362,7 @@ const Zn = (A, e) => {
|
|
|
16348
16362
|
[]
|
|
16349
16363
|
);
|
|
16350
16364
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
16351
|
-
},
|
|
16365
|
+
}, m6 = lA.memo(i2), v6 = () => {
|
|
16352
16366
|
const A = cA(
|
|
16353
16367
|
() => ({
|
|
16354
16368
|
direction: "column",
|
|
@@ -16682,7 +16696,7 @@ const Zn = (A, e) => {
|
|
|
16682
16696
|
[]
|
|
16683
16697
|
);
|
|
16684
16698
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
16685
|
-
},
|
|
16699
|
+
}, b6 = () => {
|
|
16686
16700
|
const A = cA(
|
|
16687
16701
|
() => ({
|
|
16688
16702
|
direction: "column",
|
|
@@ -16722,7 +16736,7 @@ const Zn = (A, e) => {
|
|
|
16722
16736
|
[]
|
|
16723
16737
|
);
|
|
16724
16738
|
return /* @__PURE__ */ n(MA, { grid: A });
|
|
16725
|
-
},
|
|
16739
|
+
}, g6 = ({ index: A = 0 }) => {
|
|
16726
16740
|
const e = {
|
|
16727
16741
|
hidden: { opacity: 0, y: 50, scale: 0.95 },
|
|
16728
16742
|
visible: {
|
|
@@ -16763,7 +16777,7 @@ const Zn = (A, e) => {
|
|
|
16763
16777
|
]
|
|
16764
16778
|
}
|
|
16765
16779
|
);
|
|
16766
|
-
},
|
|
16780
|
+
}, x6 = ({ index: A = 0, isPagination: e = !1 }) => {
|
|
16767
16781
|
const t = {
|
|
16768
16782
|
hidden: { opacity: 0, y: 50, scale: 0.95 },
|
|
16769
16783
|
visible: {
|
|
@@ -16846,7 +16860,7 @@ const Zn = (A, e) => {
|
|
|
16846
16860
|
[A]
|
|
16847
16861
|
);
|
|
16848
16862
|
return /* @__PURE__ */ n(MA, { grid: e });
|
|
16849
|
-
},
|
|
16863
|
+
}, y6 = lA.memo(o2), Ot = ({
|
|
16850
16864
|
LText: A,
|
|
16851
16865
|
RText: e,
|
|
16852
16866
|
emptyTag: t,
|
|
@@ -16973,7 +16987,7 @@ const wi = ({
|
|
|
16973
16987
|
) : /* @__PURE__ */ n("div", { className: "flex gap-2 items-center", children: x(p, "no-tooltip") }) });
|
|
16974
16988
|
};
|
|
16975
16989
|
wi.displayName = "DynamicItemsCell";
|
|
16976
|
-
const
|
|
16990
|
+
const P6 = xa(wi), s2 = (A, e, t) => {
|
|
16977
16991
|
if (A == null || A === "")
|
|
16978
16992
|
return "";
|
|
16979
16993
|
const r = typeof A == "string" ? parseFloat(A) : A;
|
|
@@ -17586,7 +17600,7 @@ const g2 = 56, x2 = 500, In = 240, Gn = 60, ki = ({
|
|
|
17586
17600
|
);
|
|
17587
17601
|
};
|
|
17588
17602
|
ki.displayName = "Sidebar";
|
|
17589
|
-
const
|
|
17603
|
+
const w6 = xa(ki);
|
|
17590
17604
|
var qA = "top", JA = "bottom", $A = "right", FA = "left", nn = "auto", dt = [qA, JA, $A, FA], qe = "start", rt = "end", y2 = "clippingParents", Hi = "viewport", Ge = "popper", P2 = "reference", Bn = /* @__PURE__ */ dt.reduce(function(A, e) {
|
|
17591
17605
|
return A.concat([e + "-" + qe, e + "-" + rt]);
|
|
17592
17606
|
}, []), Di = /* @__PURE__ */ [].concat(dt, [nn]).reduce(function(A, e) {
|
|
@@ -19301,7 +19315,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
19301
19315
|
}
|
|
19302
19316
|
)
|
|
19303
19317
|
}
|
|
19304
|
-
), { Dragger: t3 } = Pa, r3 = 200 * 1024 * 1024,
|
|
19318
|
+
), { Dragger: t3 } = Pa, r3 = 200 * 1024 * 1024, C6 = ({
|
|
19305
19319
|
getFile: A,
|
|
19306
19320
|
id: e,
|
|
19307
19321
|
label: t,
|
|
@@ -19446,7 +19460,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
19446
19460
|
) }),
|
|
19447
19461
|
a && /* @__PURE__ */ n(K, { className: "text-error-500 mt-1", appearance: "custom", size: "extra-small", variant: "medium", children: a })
|
|
19448
19462
|
] });
|
|
19449
|
-
},
|
|
19463
|
+
}, k6 = ({
|
|
19450
19464
|
animationData: A,
|
|
19451
19465
|
width: e = 200,
|
|
19452
19466
|
height: t = 200,
|
|
@@ -19604,7 +19618,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
19604
19618
|
d: "M3.70019 8.625C3.35019 8.91667 2.98561 9.05 2.60644 9.025C2.22727 9 1.89602 8.87083 1.61269 8.6375C1.32935 8.40417 1.1356 8.09792 1.03144 7.71875C0.927272 7.33958 0.996022 6.95 1.23769 6.55L2.17519 5C1.96685 4.81667 1.80227 4.59583 1.68144 4.3375C1.5606 4.07917 1.50019 3.8 1.50019 3.5C1.50019 2.95 1.69602 2.47917 2.08769 2.0875C2.47936 1.69583 2.95019 1.5 3.50019 1.5C4.05019 1.5 4.52102 1.69583 4.91269 2.0875C5.30436 2.47917 5.50019 2.95 5.50019 3.5C5.50019 4.05 5.30436 4.52083 4.91269 4.9125C4.52102 5.30417 4.05019 5.5 3.50019 5.5C3.42519 5.5 3.35019 5.49583 3.27519 5.4875C3.20019 5.47917 3.12935 5.46667 3.06269 5.45L2.10019 7.075C2.00852 7.225 1.97936 7.37292 2.01269 7.51875C2.04602 7.66458 2.11686 7.78333 2.22519 7.875C2.33352 7.96667 2.46269 8.01875 2.61269 8.03125C2.76269 8.04375 2.90852 7.99167 3.05019 7.875L8.30019 3.3625C8.65019 3.07083 9.01686 2.93958 9.40019 2.96875C9.78352 2.99792 10.1169 3.12917 10.4002 3.3625C10.6835 3.59583 10.8752 3.90208 10.9752 4.28125C11.0752 4.66042 11.0044 5.05 10.7627 5.45L9.82519 7C10.0335 7.18333 10.1981 7.40417 10.3189 7.6625C10.4398 7.92083 10.5002 8.2 10.5002 8.5C10.5002 9.05 10.3044 9.52083 9.91269 9.9125C9.52102 10.3042 9.05019 10.5 8.50019 10.5C7.95019 10.5 7.47936 10.3042 7.08769 9.9125C6.69602 9.52083 6.50019 9.05 6.50019 8.5C6.50019 7.95 6.69602 7.47917 7.08769 7.0875C7.47936 6.69583 7.95019 6.5 8.50019 6.5C8.57519 6.5 8.64811 6.50417 8.71894 6.5125C8.78977 6.52083 8.85852 6.53333 8.92519 6.55L9.90019 4.925C9.99186 4.775 10.021 4.62708 9.98769 4.48125C9.95436 4.33542 9.88352 4.21667 9.77519 4.125C9.66686 4.03333 9.53769 3.98125 9.38769 3.96875C9.23769 3.95625 9.09186 4.00833 8.95019 4.125L3.70019 8.625Z",
|
|
19605
19619
|
fill: A
|
|
19606
19620
|
}
|
|
19607
|
-
) }),
|
|
19621
|
+
) }), H6 = ({ dataType: A = "text", tooltip: e }) => {
|
|
19608
19622
|
const t = n3.find((o) => o.value === A), [r, a] = E(!1), i = document.documentElement.classList.contains("dark");
|
|
19609
19623
|
return /* @__PURE__ */ n(hA, { title: e || t?.label, placement: "top", children: /* @__PURE__ */ n(
|
|
19610
19624
|
"span",
|
|
@@ -19769,7 +19783,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
19769
19783
|
] })
|
|
19770
19784
|
]
|
|
19771
19785
|
}
|
|
19772
|
-
),
|
|
19786
|
+
), D6 = ({
|
|
19773
19787
|
text: A,
|
|
19774
19788
|
additionaltext: e,
|
|
19775
19789
|
children: t,
|
|
@@ -20336,7 +20350,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
20336
20350
|
),
|
|
20337
20351
|
/* @__PURE__ */ n("path", { d: "M164.3 145.977L162.899 150.784L160.387 151.484L161.103 145.993L164.3 145.977Z", fill: "#E4897B" })
|
|
20338
20352
|
] })
|
|
20339
|
-
] }),
|
|
20353
|
+
] }), S6 = ({
|
|
20340
20354
|
icon: A,
|
|
20341
20355
|
homePath: e = "/home",
|
|
20342
20356
|
backToHomeText: t = "Back to Home",
|
|
@@ -21257,7 +21271,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
21257
21271
|
}
|
|
21258
21272
|
) }),
|
|
21259
21273
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_7056_325398", children: /* @__PURE__ */ n("path", { d: "M0 0H18V18H0V0Z", fill: "white" }) }) })
|
|
21260
|
-
] }),
|
|
21274
|
+
] }), N6 = ({
|
|
21261
21275
|
className: A,
|
|
21262
21276
|
title: e,
|
|
21263
21277
|
description: t,
|
|
@@ -21294,7 +21308,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
21294
21308
|
] })
|
|
21295
21309
|
]
|
|
21296
21310
|
}
|
|
21297
|
-
),
|
|
21311
|
+
), L6 = ({ size: A = 150 } = {}) => /* @__PURE__ */ y("svg", { width: A, height: A, viewBox: "0 0 152 120", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "text-white dark:text-neutral-800", children: [
|
|
21298
21312
|
/* @__PURE__ */ n(
|
|
21299
21313
|
"path",
|
|
21300
21314
|
{
|
|
@@ -21748,7 +21762,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
21748
21762
|
className: "fill-primary-500 dark:fill-primary-400"
|
|
21749
21763
|
}
|
|
21750
21764
|
)
|
|
21751
|
-
] }),
|
|
21765
|
+
] }), z6 = ({
|
|
21752
21766
|
widgetType: A,
|
|
21753
21767
|
className: e,
|
|
21754
21768
|
"data-testid": t
|
|
@@ -21800,7 +21814,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
21800
21814
|
]
|
|
21801
21815
|
}
|
|
21802
21816
|
);
|
|
21803
|
-
},
|
|
21817
|
+
}, M6 = ({
|
|
21804
21818
|
visible: A,
|
|
21805
21819
|
xPos: e,
|
|
21806
21820
|
yPos: t,
|
|
@@ -21830,7 +21844,7 @@ const Ju = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
21830
21844
|
),
|
|
21831
21845
|
s
|
|
21832
21846
|
) : null;
|
|
21833
|
-
},
|
|
21847
|
+
}, T6 = ({
|
|
21834
21848
|
hasPermission: A,
|
|
21835
21849
|
children: e,
|
|
21836
21850
|
title: t = "You don't have the required permissions to view this content",
|
|
@@ -21949,7 +21963,7 @@ const H3 = /* @__PURE__ */ Ne(k3), D3 = (A) => {
|
|
|
21949
21963
|
}, L3 = ({ rawIds: A, callback: e }) => (r, a) => {
|
|
21950
21964
|
const i = H3(A, r, a);
|
|
21951
21965
|
e(i);
|
|
21952
|
-
},
|
|
21966
|
+
}, X6 = (A) => {
|
|
21953
21967
|
const { value: e, choices: t, onOptionChange: r, onSaveOption: a, onDeleteItem: i, onChoicesUpdate: o, onDeleteAll: l, required: s = !1, errorMessage: c, userCanManage: d = !1 } = A, u = L3({ rawIds: t, callback: o });
|
|
21954
21968
|
return /* @__PURE__ */ y("div", { className: "w-full col-span-2", children: [
|
|
21955
21969
|
d && /* @__PURE__ */ n(
|
|
@@ -21967,7 +21981,7 @@ const H3 = /* @__PURE__ */ Ne(k3), D3 = (A) => {
|
|
|
21967
21981
|
/* @__PURE__ */ n("div", { className: "py-2" }),
|
|
21968
21982
|
/* @__PURE__ */ n("div", { className: `${t?.length > 0 ? "border border-neutral-200 rounded-lg p-2" : ""}`, children: /* @__PURE__ */ n(Wl, { className: "w-full grid grid-cols-2 gap-2", onSortEnd: u, children: t?.map((f, p) => /* @__PURE__ */ n(N3, { userCanManage: d, value: f, index: p, onDeleteItem: i }, f + "-" + p)) }) })
|
|
21969
21983
|
] });
|
|
21970
|
-
}, z3 = 12, M3 = 3e3, T3 = "#0077E3",
|
|
21984
|
+
}, z3 = 12, M3 = 3e3, T3 = "#0077E3", O6 = ({
|
|
21971
21985
|
stopAt: A = 100,
|
|
21972
21986
|
max: e = 100,
|
|
21973
21987
|
height: t = z3,
|
|
@@ -22010,7 +22024,7 @@ const H3 = /* @__PURE__ */ Ne(k3), D3 = (A) => {
|
|
|
22010
22024
|
) }),
|
|
22011
22025
|
l && /* @__PURE__ */ n("div", { className: "mt-2", children: l })
|
|
22012
22026
|
] });
|
|
22013
|
-
}, X3 = 120, O3 = 12, U3 = 3e3, V3 = "#0077E3",
|
|
22027
|
+
}, X3 = 120, O3 = 12, U3 = 3e3, V3 = "#0077E3", U6 = ({
|
|
22014
22028
|
value: A,
|
|
22015
22029
|
max: e = 100,
|
|
22016
22030
|
size: t = X3,
|
|
@@ -22075,7 +22089,7 @@ const H3 = /* @__PURE__ */ Ne(k3), D3 = (A) => {
|
|
|
22075
22089
|
] });
|
|
22076
22090
|
};
|
|
22077
22091
|
var Oe = /* @__PURE__ */ ((A) => (A[A.ONE = 1] = "ONE", A[A.TWO = 2] = "TWO", A[A.THREE = 3] = "THREE", A))(Oe || {});
|
|
22078
|
-
const
|
|
22092
|
+
const V6 = [
|
|
22079
22093
|
{
|
|
22080
22094
|
id: 1,
|
|
22081
22095
|
visible: !0,
|
|
@@ -22154,9 +22168,9 @@ const W3 = ut(
|
|
|
22154
22168
|
ids: e.filter((t) => t.states).map((t) => t.id)
|
|
22155
22169
|
};
|
|
22156
22170
|
}
|
|
22157
|
-
), E3 = ut((A) => A.filter((e) => e.visible).length),
|
|
22171
|
+
), E3 = ut((A) => A.filter((e) => e.visible).length), q6 = ut((A, e) => e ? A.filter((t) => t.value !== e) : A.filter((t) => !t.selected)), F6 = ut(
|
|
22158
22172
|
(A, e) => [A.find((t) => t.value === e)]
|
|
22159
|
-
),
|
|
22173
|
+
), W6 = ut((A) => {
|
|
22160
22174
|
try {
|
|
22161
22175
|
return JSON.parse(A);
|
|
22162
22176
|
} catch {
|
|
@@ -22462,7 +22476,7 @@ const I3 = lA.memo(ji), G3 = () => {
|
|
|
22462
22476
|
o || i ? /* @__PURE__ */ n(hA, { title: s("Exit"), children: /* @__PURE__ */ n("div", { className: "border border-[#FECDCA] rounded-lg cursor-pointer h-[40px] w-[40px] flex items-center justify-center", onClick: c, children: /* @__PURE__ */ n(Q3, { fill: "#D92D20" }) }) }) : null
|
|
22463
22477
|
] })
|
|
22464
22478
|
] });
|
|
22465
|
-
}, t5 = lA.memo(e5),
|
|
22479
|
+
}, t5 = lA.memo(e5), E6 = (A) => {
|
|
22466
22480
|
const {
|
|
22467
22481
|
headerTabConfig: e,
|
|
22468
22482
|
title: t,
|
|
@@ -22522,10 +22536,10 @@ const I3 = lA.memo(ji), G3 = () => {
|
|
|
22522
22536
|
const o = i.match(/data-value="([^"]+)"/)?.[1] || "";
|
|
22523
22537
|
return a.replace(i, `{{${o}}}`);
|
|
22524
22538
|
}, e)), !e.trim() || e === "<br>" ? "" : e;
|
|
22525
|
-
},
|
|
22539
|
+
}, j6 = () => {
|
|
22526
22540
|
const A = window.getSelection();
|
|
22527
22541
|
return !A || A.rangeCount === 0 ? 0 : A.getRangeAt(0).startOffset;
|
|
22528
|
-
},
|
|
22542
|
+
}, Q6 = (A, e) => {
|
|
22529
22543
|
const t = (r, a) => {
|
|
22530
22544
|
if (r.nodeType === 3)
|
|
22531
22545
|
if (r.textContent && r.textContent.length >= a) {
|
|
@@ -22548,7 +22562,7 @@ const I3 = lA.memo(ji), G3 = () => {
|
|
|
22548
22562
|
for (; r && r.nodeType !== 1; )
|
|
22549
22563
|
r = r.parentNode;
|
|
22550
22564
|
return r ? (t.selectNodeContents(r), t.setEnd(e.startContainer, e.startOffset), t.toString()) : "";
|
|
22551
|
-
},
|
|
22565
|
+
}, K6 = () => {
|
|
22552
22566
|
const A = window.getSelection();
|
|
22553
22567
|
if (!A || A.rangeCount === 0)
|
|
22554
22568
|
return { x: 0, y: 0 };
|
|
@@ -22557,7 +22571,7 @@ const I3 = lA.memo(ji), G3 = () => {
|
|
|
22557
22571
|
x: r.left,
|
|
22558
22572
|
y: r.top + r.height
|
|
22559
22573
|
} : { x: 0, y: 0 };
|
|
22560
|
-
},
|
|
22574
|
+
}, R6 = (A) => {
|
|
22561
22575
|
const e = window.getSelection();
|
|
22562
22576
|
if (!e || e.rangeCount === 0) return;
|
|
22563
22577
|
const t = e.getRangeAt(0);
|
|
@@ -22784,7 +22798,7 @@ const I3 = lA.memo(ji), G3 = () => {
|
|
|
22784
22798
|
] }),
|
|
22785
22799
|
d && /* @__PURE__ */ n("div", { className: "pt-1", children: /* @__PURE__ */ n(K, { className: "text-error-500", size: "extra-small", variant: "medium", appearance: "custom", children: d }) })
|
|
22786
22800
|
] });
|
|
22787
|
-
},
|
|
22801
|
+
}, Y6 = lA.memo(l5);
|
|
22788
22802
|
function ca(A) {
|
|
22789
22803
|
return A !== null && typeof A == "object" && "constructor" in A && A.constructor === Object;
|
|
22790
22804
|
}
|
|
@@ -25933,7 +25947,7 @@ const Ef = /* @__PURE__ */ xA(function(A, e) {
|
|
|
25933
25947
|
})));
|
|
25934
25948
|
});
|
|
25935
25949
|
Ef.displayName = "SwiperSlide";
|
|
25936
|
-
const
|
|
25950
|
+
const Z6 = ({
|
|
25937
25951
|
children: A,
|
|
25938
25952
|
className: e,
|
|
25939
25953
|
spaceBetween: t = 30,
|
|
@@ -25956,8 +25970,8 @@ export {
|
|
|
25956
25970
|
G9 as AccessDeniedModal,
|
|
25957
25971
|
c2 as Accordion,
|
|
25958
25972
|
H1 as AddKeyModal,
|
|
25959
|
-
|
|
25960
|
-
|
|
25973
|
+
a6 as AgreementHeaderLoader,
|
|
25974
|
+
d6 as AppItemLoader,
|
|
25961
25975
|
n0 as ArchivedIcon,
|
|
25962
25976
|
A0 as Badge,
|
|
25963
25977
|
Tt as Banner,
|
|
@@ -25967,40 +25981,41 @@ export {
|
|
|
25967
25981
|
hi as BreadCrumbItem,
|
|
25968
25982
|
VA as Button,
|
|
25969
25983
|
S0 as ButtonGroup,
|
|
25970
|
-
|
|
25984
|
+
t6 as ButtonThreeDots,
|
|
25971
25985
|
Oe as COMPARISON_LAYOUT,
|
|
25972
25986
|
i1 as COUNTRY_CODES,
|
|
25973
25987
|
ms as CURRENCIES,
|
|
25974
25988
|
vs as CURRENCY_SYMBOLS,
|
|
25975
|
-
|
|
25989
|
+
y6 as CalendarExportItemLoader,
|
|
25976
25990
|
Wa as Card,
|
|
25991
|
+
e6 as CardButton,
|
|
25977
25992
|
p2 as CardHeaderView,
|
|
25978
25993
|
h2 as CardMain,
|
|
25979
25994
|
r0 as CheckCircle,
|
|
25980
25995
|
I9 as CheckSmallIcon,
|
|
25981
25996
|
ds as Checkbox,
|
|
25982
25997
|
cs as CheckboxComponent,
|
|
25983
|
-
|
|
25984
|
-
|
|
25998
|
+
U6 as CircularProgressBar,
|
|
25999
|
+
i6 as ClauseDetailsLoader,
|
|
25985
26000
|
E1 as CodeEditor,
|
|
25986
26001
|
S1 as CodeEditorTabs,
|
|
25987
26002
|
us as ColorPicker,
|
|
25988
26003
|
H0 as ComingSoonIcon,
|
|
25989
|
-
|
|
26004
|
+
E6 as Comparison,
|
|
25990
26005
|
Ar as ComparisonContext,
|
|
25991
26006
|
G3 as ComparisonNoAvailableContent,
|
|
25992
26007
|
j3 as ComparisonProvider,
|
|
25993
26008
|
pd as ComponentLoader,
|
|
25994
26009
|
f2 as ConfirmPopUp,
|
|
25995
26010
|
v1 as ConfirmationModal,
|
|
25996
|
-
|
|
26011
|
+
M6 as ContextMenu,
|
|
25997
26012
|
fs as CreatableSelectField,
|
|
25998
26013
|
Hs as CurrencyInputField,
|
|
25999
26014
|
kr as CustomScrollbar,
|
|
26000
26015
|
hs as CustomizableSelectField,
|
|
26001
|
-
|
|
26016
|
+
V6 as DEFAULT_COMPARISON_LAYOUTS,
|
|
26002
26017
|
o1 as DataTypeBadgeClass,
|
|
26003
|
-
|
|
26018
|
+
H6 as DataTypeIcon,
|
|
26004
26019
|
Ts as DateRange,
|
|
26005
26020
|
Ds as DateRange2,
|
|
26006
26021
|
A1 as DateTimeField,
|
|
@@ -26008,47 +26023,47 @@ export {
|
|
|
26008
26023
|
_9 as DeleteModal,
|
|
26009
26024
|
Ea as DiffViewer,
|
|
26010
26025
|
Uc as Divider,
|
|
26011
|
-
|
|
26026
|
+
h6 as DoubleLineLoader,
|
|
26012
26027
|
b2 as DragOverlay,
|
|
26013
26028
|
v2 as DraggableContainer,
|
|
26014
26029
|
$r as Drawer,
|
|
26015
26030
|
Q1 as DynamicDataInput,
|
|
26016
26031
|
t1 as DynamicDataInputField,
|
|
26017
26032
|
j1 as DynamicDataModal,
|
|
26018
|
-
|
|
26033
|
+
P6 as DynamicItemsCell,
|
|
26019
26034
|
Mn as EditIcon,
|
|
26020
26035
|
v3 as EmptyBarChartData,
|
|
26021
26036
|
g3 as EmptyCardListChartData,
|
|
26022
26037
|
w3 as EmptyContentChartData,
|
|
26023
26038
|
b3 as EmptyCountWidgetData,
|
|
26024
26039
|
y3 as EmptyDonutChartData,
|
|
26025
|
-
|
|
26040
|
+
L6 as EmptyEvent,
|
|
26026
26041
|
x3 as EmptyPieChatData,
|
|
26027
26042
|
oa as EmptyTableWidgetData,
|
|
26028
26043
|
P3 as EmptyTimelineChartData,
|
|
26029
26044
|
$9 as ErrorModal,
|
|
26030
|
-
|
|
26031
|
-
|
|
26045
|
+
u6 as EventDetailsLoader,
|
|
26046
|
+
f6 as ExecutionNoteLoader,
|
|
26032
26047
|
Q3 as ExitIcon,
|
|
26033
26048
|
L0 as ExpandingSearchBar,
|
|
26034
|
-
|
|
26035
|
-
|
|
26049
|
+
X6 as FieldOptions,
|
|
26050
|
+
C6 as FileUpload,
|
|
26036
26051
|
Va as FloatingBar,
|
|
26037
26052
|
K9 as FloatingElementWrapper,
|
|
26038
|
-
|
|
26039
|
-
|
|
26053
|
+
l6 as FlowNodesLoader,
|
|
26054
|
+
Y6 as FormulaInput,
|
|
26040
26055
|
fd as Helmet,
|
|
26041
26056
|
ot as HelmetTitle,
|
|
26042
26057
|
QA as IconButton,
|
|
26043
26058
|
Q9 as IconPicker,
|
|
26044
26059
|
Fa as IconRenderer,
|
|
26045
|
-
|
|
26060
|
+
Z6 as ImageSlider,
|
|
26046
26061
|
B9 as InProgress,
|
|
26047
26062
|
Xn as InfoAlert,
|
|
26048
26063
|
a0 as InfoCircleIcon,
|
|
26049
26064
|
A6 as InlineDiffHighlighter,
|
|
26050
26065
|
Ha as InputField,
|
|
26051
|
-
|
|
26066
|
+
m6 as InstalledAppItemLoader,
|
|
26052
26067
|
D1 as JsonGrid,
|
|
26053
26068
|
C1 as JsonGridBulkFloatingBar,
|
|
26054
26069
|
m1 as JsonGridCore,
|
|
@@ -26062,10 +26077,10 @@ export {
|
|
|
26062
26077
|
K3 as LayoutOneIcon,
|
|
26063
26078
|
Y3 as LayoutThreeIcon,
|
|
26064
26079
|
R3 as LayoutTwoIcon,
|
|
26065
|
-
|
|
26066
|
-
|
|
26080
|
+
O6 as LinearProgressBar,
|
|
26081
|
+
p6 as LogItemSkeleton,
|
|
26067
26082
|
vd as LogoLoader,
|
|
26068
|
-
|
|
26083
|
+
k6 as LottieAnimation,
|
|
26069
26084
|
we as MODES,
|
|
26070
26085
|
ns as MasterDataInputField,
|
|
26071
26086
|
E9 as MdInput,
|
|
@@ -26073,33 +26088,33 @@ export {
|
|
|
26073
26088
|
j9 as MultiFileUpload,
|
|
26074
26089
|
Ei as NameInitialLogo,
|
|
26075
26090
|
Ua as NestedJsonGrid,
|
|
26076
|
-
|
|
26077
|
-
|
|
26078
|
-
|
|
26091
|
+
D6 as NoDataFound,
|
|
26092
|
+
z6 as NoDataFoundWidgets,
|
|
26093
|
+
c6 as NotificationListLoader,
|
|
26079
26094
|
d2 as NumberInputField,
|
|
26080
26095
|
Ai as OPEN_DURATION_MS,
|
|
26081
26096
|
Jr as OptionButton,
|
|
26082
26097
|
ud as PageContainer,
|
|
26083
|
-
|
|
26098
|
+
S6 as PageNotFound,
|
|
26084
26099
|
p0 as PdfViewer,
|
|
26085
26100
|
K1 as PercentageInputField,
|
|
26086
|
-
|
|
26101
|
+
T6 as PermissionWrapper,
|
|
26087
26102
|
Zu as PersonIcon,
|
|
26088
|
-
|
|
26103
|
+
v6 as PilotDetailsSkeleton,
|
|
26089
26104
|
h0 as Popper,
|
|
26090
|
-
|
|
26105
|
+
n6 as ProfileSettingsLoader,
|
|
26091
26106
|
D0 as Radio,
|
|
26092
|
-
|
|
26107
|
+
g6 as RecentlyAddedAppsSkeleton,
|
|
26093
26108
|
f0 as ResizableSidebar,
|
|
26094
26109
|
Gr as SHORTCUT_KEY_MAP,
|
|
26095
|
-
|
|
26110
|
+
r6 as SKELETON_CONSTANTS,
|
|
26096
26111
|
NA as SKELETON_DIRECTION,
|
|
26097
26112
|
bs as SearchBar,
|
|
26098
26113
|
La as SelectField,
|
|
26099
26114
|
ws as ShortcutKbd,
|
|
26100
|
-
|
|
26101
|
-
|
|
26102
|
-
|
|
26115
|
+
w6 as Sidebar,
|
|
26116
|
+
x6 as SingleAppCardSkeleton,
|
|
26117
|
+
o6 as SingleLineLoader,
|
|
26103
26118
|
mi as Skeleton,
|
|
26104
26119
|
MA as SkeletonGrid,
|
|
26105
26120
|
_1 as StatusColorMapping,
|
|
@@ -26108,7 +26123,7 @@ export {
|
|
|
26108
26123
|
$e as TOGGLE_LABEL_DIRECTION,
|
|
26109
26124
|
m2 as TabContent,
|
|
26110
26125
|
jA as Tag,
|
|
26111
|
-
|
|
26126
|
+
s6 as TaskCardLoader,
|
|
26112
26127
|
Ot as Text,
|
|
26113
26128
|
Na as TextAreaField,
|
|
26114
26129
|
X9 as TextField,
|
|
@@ -26116,30 +26131,30 @@ export {
|
|
|
26116
26131
|
R9 as Toast,
|
|
26117
26132
|
Gt as Toggle,
|
|
26118
26133
|
hA as Tooltip,
|
|
26119
|
-
|
|
26134
|
+
b6 as TutorialsSkeleton,
|
|
26120
26135
|
K as Typography,
|
|
26121
26136
|
or as UNIVERSAL_DATETIME_FORMAT,
|
|
26122
26137
|
Bs as UNIVERSAL_DATE_FORMAT,
|
|
26123
26138
|
J9 as UnsavedChangesModal,
|
|
26124
26139
|
Gu as UserAvatar,
|
|
26125
26140
|
Ku as UserAvatarPopper,
|
|
26126
|
-
|
|
26141
|
+
N6 as UserNotFound,
|
|
26127
26142
|
Bu as UserProfilePic,
|
|
26128
26143
|
Tc as ZoomContainer,
|
|
26129
|
-
|
|
26144
|
+
W6 as comparisonParseToIds,
|
|
26130
26145
|
i5 as convertFromPills,
|
|
26131
26146
|
a5 as convertToPills,
|
|
26132
26147
|
Ta as countryNameFromCode,
|
|
26133
26148
|
Zt as detectOS,
|
|
26134
26149
|
V9 as filterTopLevelPaths,
|
|
26135
26150
|
E3 as filterVisibleItems,
|
|
26136
|
-
|
|
26151
|
+
q6 as filteredOptions,
|
|
26137
26152
|
Tn as formatBooleanValue,
|
|
26138
26153
|
sr as formatCurrency,
|
|
26139
26154
|
pt as formatDate,
|
|
26140
|
-
|
|
26141
|
-
|
|
26142
|
-
|
|
26155
|
+
F6 as getCurrentSelectValue,
|
|
26156
|
+
K6 as getCursorCoordinates,
|
|
26157
|
+
j6 as getCursorPosition,
|
|
26143
26158
|
Cr as getFlagComponent,
|
|
26144
26159
|
F9 as getFlagComponentRectangle,
|
|
26145
26160
|
ks as getFlagComponentRectangleMd,
|
|
@@ -26148,7 +26163,7 @@ export {
|
|
|
26148
26163
|
Fr as getInitials,
|
|
26149
26164
|
o5 as getTextBeforeCursor,
|
|
26150
26165
|
W3 as gridLayoutItems,
|
|
26151
|
-
|
|
26166
|
+
R6 as insertTextAtCursor,
|
|
26152
26167
|
e0 as isISODateString,
|
|
26153
26168
|
M9 as isMacOS,
|
|
26154
26169
|
s1 as jsonGridFilterTopLevelPaths,
|
|
@@ -26159,7 +26174,7 @@ export {
|
|
|
26159
26174
|
a1 as monacoManager,
|
|
26160
26175
|
O9 as parseJson,
|
|
26161
26176
|
U9 as randomHexString,
|
|
26162
|
-
|
|
26177
|
+
Q6 as setCursorPosition,
|
|
26163
26178
|
qc as skeletonGenerateGridArea,
|
|
26164
26179
|
Zn as skeletonGenerateMargin,
|
|
26165
26180
|
pr as skeletonItemsWithRepeat,
|