@lax-wp/design-system 0.5.24 → 0.5.25
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/index.es.js +91 -99
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, jsxs as w, Fragment as vA } from "react/jsx-runtime";
|
|
2
2
|
import { AnimatePresence as BA, motion as kA } from "framer-motion";
|
|
3
3
|
import lA, { forwardRef as xA, useRef as iA, useState as E, useEffect as $, useMemo as cA, createElement as ba, useCallback as pA, createContext as Kt, useContext as Qe, useLayoutEffect as ga, useImperativeHandle as xa, Suspense as si, Fragment as di, memo as ya } from "react";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { Tooltip as
|
|
4
|
+
import { useTranslation as NA } from "react-i18next";
|
|
5
|
+
import { Tooltip as MA, Select as ci, Skeleton as wr, Checkbox as wa, Dropdown as Ve, DatePicker as Pr, Modal as ui, Upload as Pa, Popover as fi, Drawer as pi } from "antd";
|
|
6
6
|
import * as Yt from "@mui/icons-material";
|
|
7
7
|
import { BoltOutlined as ne, NoteAddOutlined as pe, CloseRounded as Qr, TableChartRounded as Ca, ChevronLeftRounded as hi, ChevronRightRounded as mi, OpenInFull as vi, DescriptionRounded as bi, ArrowUpwardRounded as gi, ArrowDownwardRounded as xi, Timer as yi, DoDisturbRounded as wi, Pending as Pi, PlayArrowRounded as Ci, RemoveCircleOutline as ki, SearchRounded as mn, KeyboardArrowUpRounded as Hi, KeyboardArrowDownRounded as Di, AddRounded as Si, RemoveRounded as Ni, ZoomOutMapRounded as Li, ChevronLeft as zi, Lock as Mi, Close as Ti, GroupsOutlined as Xi, Numbers as Oi, LocalOfferOutlined as Ui, SubjectOutlined as Vi, Schedule as qi, AttachMoney as Fi, MailOutline as Wi, CalendarMonth as Ei, FormatListBulleted as ji, Rule as Qi, VpnKeyOffOutlined as Ri, VisibilityOutlined as Ki, VisibilityOffOutlined as Yi } from "@mui/icons-material";
|
|
8
8
|
import Zi, { createPortal as Se } from "react-dom";
|
|
@@ -150,7 +150,7 @@ const q = /* @__PURE__ */ Ne(Yl), G = ({
|
|
|
150
150
|
return /* @__PURE__ */ n("div", { className: f, onClick: r, style: l, children: A });
|
|
151
151
|
};
|
|
152
152
|
G.displayName = "Typography";
|
|
153
|
-
const Zl = ({ isConditional: A }) => /* @__PURE__ */ n("span", { className: `${A ? "text-yellow-500" : "text-red-500"}`, children: "*" }),
|
|
153
|
+
const Zl = ({ isConditional: A }) => /* @__PURE__ */ n("span", { className: `${A ? "text-yellow-500" : "text-red-500"}`, children: "*" }), LA = ({ label: A, required: e, isRequiredConditional: t }) => /* @__PURE__ */ w(
|
|
154
154
|
G,
|
|
155
155
|
{
|
|
156
156
|
variant: "medium",
|
|
@@ -230,7 +230,7 @@ const Zl = ({ isConditional: A }) => /* @__PURE__ */ n("span", { className: `${A
|
|
|
230
230
|
{
|
|
231
231
|
htmlFor: k,
|
|
232
232
|
className: "mb-1 text-xs font-medium text-gray-600 dark:text-gray-300 inline-flex items-center gap-1",
|
|
233
|
-
children: /* @__PURE__ */ n("div", { className: "flex flex-wrap items-center justify-between w-full", children: /* @__PURE__ */ n("div", { className: "inline-flex flex-wrap items-center gap-1", children: /* @__PURE__ */ n(
|
|
233
|
+
children: /* @__PURE__ */ n("div", { className: "flex flex-wrap items-center justify-between w-full", children: /* @__PURE__ */ n("div", { className: "inline-flex flex-wrap items-center gap-1", children: /* @__PURE__ */ n(LA, { label: u || "", required: d || !1 }) }) })
|
|
234
234
|
}
|
|
235
235
|
) : null,
|
|
236
236
|
/* @__PURE__ */ w("div", { className: "relative input-field", children: [
|
|
@@ -1026,7 +1026,7 @@ const YA = ({ labels: A = [] }) => {
|
|
|
1026
1026
|
onAddGTNToDocument: X,
|
|
1027
1027
|
...T
|
|
1028
1028
|
}, U) => {
|
|
1029
|
-
const { t: N } =
|
|
1029
|
+
const { t: N } = NA(), [V, F] = E(!1), [j, Q] = E(!1), R = (W) => {
|
|
1030
1030
|
X && X({
|
|
1031
1031
|
key: H,
|
|
1032
1032
|
value: W
|
|
@@ -1069,8 +1069,8 @@ const YA = ({ labels: A = [] }) => {
|
|
|
1069
1069
|
className: `mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${h ? "" : "capitalize"} ${P || "!uppercse"}`,
|
|
1070
1070
|
children: /* @__PURE__ */ w("div", { className: "flex flex-wrap items-center justify-between w-full", children: [
|
|
1071
1071
|
/* @__PURE__ */ w("div", { className: "inline-flex flex-wrap items-center gap-1", children: [
|
|
1072
|
-
/* @__PURE__ */ n(
|
|
1073
|
-
x?.length > 0 && x !== T.value && /* @__PURE__ */ n(
|
|
1072
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: o || !1, isRequiredConditional: i || !1 }),
|
|
1073
|
+
x?.length > 0 && x !== T.value && /* @__PURE__ */ n(MA, { placement: "top", title: x, children: /* @__PURE__ */ n(
|
|
1074
1074
|
"button",
|
|
1075
1075
|
{
|
|
1076
1076
|
className: "cursor-pointer",
|
|
@@ -1097,7 +1097,7 @@ const YA = ({ labels: A = [] }) => {
|
|
|
1097
1097
|
),
|
|
1098
1098
|
m && /* @__PURE__ */ n(ae, {}),
|
|
1099
1099
|
/* @__PURE__ */ n(YA, { labels: s }),
|
|
1100
|
-
b && /* @__PURE__ */ n(
|
|
1100
|
+
b && /* @__PURE__ */ n(MA, { placement: "top", title: b, children: /* @__PURE__ */ n("div", { className: "cursor-pointer", children: /* @__PURE__ */ n(KA, {}) }) })
|
|
1101
1101
|
] }),
|
|
1102
1102
|
y && j && X ? /* @__PURE__ */ n(
|
|
1103
1103
|
"button",
|
|
@@ -1106,7 +1106,7 @@ const YA = ({ labels: A = [] }) => {
|
|
|
1106
1106
|
className: "cursor-pointer",
|
|
1107
1107
|
onClick: () => R(T?.value),
|
|
1108
1108
|
type: "button",
|
|
1109
|
-
children: /* @__PURE__ */ n(
|
|
1109
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: N("Add to document"), children: /* @__PURE__ */ n(
|
|
1110
1110
|
pe,
|
|
1111
1111
|
{
|
|
1112
1112
|
className: "text-primary-600",
|
|
@@ -1273,7 +1273,7 @@ const U9 = xA(
|
|
|
1273
1273
|
capitalize: !p
|
|
1274
1274
|
}
|
|
1275
1275
|
),
|
|
1276
|
-
children: /* @__PURE__ */ n(
|
|
1276
|
+
children: /* @__PURE__ */ n(LA, { label: A || "", required: s || !1 })
|
|
1277
1277
|
}
|
|
1278
1278
|
),
|
|
1279
1279
|
/* @__PURE__ */ n(
|
|
@@ -1396,7 +1396,7 @@ const U9 = xA(
|
|
|
1396
1396
|
onAddGTNToDocument: L,
|
|
1397
1397
|
...z
|
|
1398
1398
|
}, O) => {
|
|
1399
|
-
const { t: X } =
|
|
1399
|
+
const { t: X } = NA(), [T, U] = E(!1), N = () => {
|
|
1400
1400
|
L && L({
|
|
1401
1401
|
key: v,
|
|
1402
1402
|
value: t || ""
|
|
@@ -1423,7 +1423,7 @@ const U9 = xA(
|
|
|
1423
1423
|
className: `mb-1 text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${g ? "" : "capitalize"} ${S || ""}`,
|
|
1424
1424
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
1425
1425
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
1426
|
-
/* @__PURE__ */ n(
|
|
1426
|
+
/* @__PURE__ */ n(LA, { label: A || "", required: l || !1, isRequiredConditional: s || !1 }),
|
|
1427
1427
|
M && /* @__PURE__ */ n(
|
|
1428
1428
|
ne,
|
|
1429
1429
|
{
|
|
@@ -1436,7 +1436,7 @@ const U9 = xA(
|
|
|
1436
1436
|
),
|
|
1437
1437
|
x && /* @__PURE__ */ n(ae, {}),
|
|
1438
1438
|
/* @__PURE__ */ n(YA, { labels: c || [] }),
|
|
1439
|
-
b && /* @__PURE__ */ n(
|
|
1439
|
+
b && /* @__PURE__ */ n(MA, { placement: "top", title: b, children: /* @__PURE__ */ n(
|
|
1440
1440
|
"div",
|
|
1441
1441
|
{
|
|
1442
1442
|
className: "cursor-pointer",
|
|
@@ -1456,7 +1456,7 @@ const U9 = xA(
|
|
|
1456
1456
|
className: "cursor-pointer",
|
|
1457
1457
|
onClick: N,
|
|
1458
1458
|
type: "button",
|
|
1459
|
-
children: /* @__PURE__ */ n(
|
|
1459
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: X("Add to document"), children: /* @__PURE__ */ n(
|
|
1460
1460
|
pe,
|
|
1461
1461
|
{
|
|
1462
1462
|
className: "text-primary-600",
|
|
@@ -1627,7 +1627,7 @@ const QA = ({
|
|
|
1627
1627
|
MasterDataModal: U,
|
|
1628
1628
|
parseMasterDataFormula: N
|
|
1629
1629
|
}, V) => {
|
|
1630
|
-
const { t: F } =
|
|
1630
|
+
const { t: F } = NA(), [j, Q] = E(!1), [R, W] = E(null), [I, _] = E(!1), [K, tA] = E(""), [Z, Y] = E(null), eA = iA(null), dA = V || eA;
|
|
1631
1631
|
$(() => {
|
|
1632
1632
|
W(r);
|
|
1633
1633
|
}, [b]), $(() => {
|
|
@@ -1650,7 +1650,7 @@ const QA = ({
|
|
|
1650
1650
|
key: y,
|
|
1651
1651
|
value: bA
|
|
1652
1652
|
});
|
|
1653
|
-
},
|
|
1653
|
+
}, zA = () => {
|
|
1654
1654
|
const bA = "border h-[32px] text-sm rounded-lg block w-full p-2.5 font-inter font-medium", XA = o ? "border-red-300" : L && C?.color ? `border-${C?.color}-300` : "border-gray-300 dark:border-black-600", le = "placeholder:text-neutral-900 dark:placeholder:text-black-400", Le = `${L && C?.color ? `bg-${C?.color}-50` : "bg-gray-200 dark:bg-black-600 "} ${h || "text-neutral-900 dark:text-black-200"}`;
|
|
1655
1655
|
return `${bA} ${XA} ${Le} ${le}`;
|
|
1656
1656
|
}, VA = () => R !== null ? R : u && N ? N(u, M) : r;
|
|
@@ -1676,7 +1676,7 @@ const QA = ({
|
|
|
1676
1676
|
className: `text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${x ? "" : "capitalize"} ${m || ""}`,
|
|
1677
1677
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
1678
1678
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
1679
|
-
/* @__PURE__ */ n(
|
|
1679
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: l || !1, isRequiredConditional: s || !1 }),
|
|
1680
1680
|
P && /* @__PURE__ */ n(
|
|
1681
1681
|
ne,
|
|
1682
1682
|
{
|
|
@@ -1705,7 +1705,7 @@ const QA = ({
|
|
|
1705
1705
|
className: "cursor-pointer",
|
|
1706
1706
|
onClick: () => uA(r?.toString() || ""),
|
|
1707
1707
|
type: "button",
|
|
1708
|
-
children: /* @__PURE__ */ n(
|
|
1708
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: F("Add to document"), children: /* @__PURE__ */ n(
|
|
1709
1709
|
pe,
|
|
1710
1710
|
{
|
|
1711
1711
|
sx: {
|
|
@@ -1727,7 +1727,7 @@ const QA = ({
|
|
|
1727
1727
|
ref: dA,
|
|
1728
1728
|
required: l,
|
|
1729
1729
|
placeholder: t,
|
|
1730
|
-
className:
|
|
1730
|
+
className: zA(),
|
|
1731
1731
|
onChange: (bA) => {
|
|
1732
1732
|
a(bA.target.value, Z), W(bA.target?.value);
|
|
1733
1733
|
},
|
|
@@ -1913,7 +1913,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
1913
1913
|
isLiveField: j = !1,
|
|
1914
1914
|
...Q
|
|
1915
1915
|
}, R) => {
|
|
1916
|
-
const { t: W } =
|
|
1916
|
+
const { t: W } = NA(), [I, _] = E(!1), K = iA(null), [tA, Z] = E(!1), [Y, eA] = E(""), dA = () => {
|
|
1917
1917
|
if (V) {
|
|
1918
1918
|
let oA = "";
|
|
1919
1919
|
sA == null ? oA = "" : typeof sA == "string" || typeof sA == "number" ? oA = String(sA) : Array.isArray(sA) ? oA = sA.map((mA) => typeof mA == "object" && mA !== null && "value" in mA ? mA.value : mA).join(", ") : typeof sA == "object" && "value" in sA && (oA = String(sA.value)), V({
|
|
@@ -1952,7 +1952,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
1952
1952
|
options: a,
|
|
1953
1953
|
value: e,
|
|
1954
1954
|
defaultValue: Q?.defaultValue
|
|
1955
|
-
}), uA = cA(() => J.length > 0 || sA != null, [J, sA]),
|
|
1955
|
+
}), uA = cA(() => J.length > 0 || sA != null, [J, sA]), zA = cA(() => {
|
|
1956
1956
|
if (!t || t !== "multiple" || J.length === 0) return !1;
|
|
1957
1957
|
const oA = Array.isArray(sA) ? sA : [];
|
|
1958
1958
|
return J.map((mA) => mA.value).every(
|
|
@@ -1961,7 +1961,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
1961
1961
|
)
|
|
1962
1962
|
);
|
|
1963
1963
|
}, [sA, J, t]), VA = () => {
|
|
1964
|
-
!t || t !== "multiple" || !b || b(
|
|
1964
|
+
!t || t !== "multiple" || !b || b(zA ? [] : J);
|
|
1965
1965
|
}, bA = pA((oA) => {
|
|
1966
1966
|
if (!oA) return;
|
|
1967
1967
|
const gA = new Event("submit", { bubbles: !0, cancelable: !0 });
|
|
@@ -2029,7 +2029,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
2029
2029
|
className: `text-xs font-medium text-gray-600 dark:text-black-300 inline-flex items-center gap-1 ${d ? "" : "capitalize"} ${L || ""}`,
|
|
2030
2030
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
2031
2031
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
2032
|
-
/* @__PURE__ */ n(
|
|
2032
|
+
/* @__PURE__ */ n(LA, { label: A || "", required: o || !1, isRequiredConditional: F || !1 }),
|
|
2033
2033
|
j && /* @__PURE__ */ n(
|
|
2034
2034
|
ne,
|
|
2035
2035
|
{
|
|
@@ -2042,7 +2042,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
2042
2042
|
),
|
|
2043
2043
|
u && /* @__PURE__ */ n(ae, {}),
|
|
2044
2044
|
/* @__PURE__ */ n(YA, { labels: i }),
|
|
2045
|
-
c && /* @__PURE__ */ n(
|
|
2045
|
+
c && /* @__PURE__ */ n(hA, { placement: "top", title: c, children: /* @__PURE__ */ n(
|
|
2046
2046
|
"div",
|
|
2047
2047
|
{
|
|
2048
2048
|
className: "cursor-pointer",
|
|
@@ -2062,7 +2062,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
2062
2062
|
className: "cursor-pointer",
|
|
2063
2063
|
onClick: dA,
|
|
2064
2064
|
type: "button",
|
|
2065
|
-
children: /* @__PURE__ */ n(
|
|
2065
|
+
children: /* @__PURE__ */ n(hA, { placement: "top", title: W("Add to document"), children: /* @__PURE__ */ n(pe, { className: "text-primary-600", sx: { fontSize: 16 } }) })
|
|
2066
2066
|
}
|
|
2067
2067
|
) : null
|
|
2068
2068
|
] })
|
|
@@ -2102,7 +2102,7 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
2102
2102
|
options: J,
|
|
2103
2103
|
searchValue: Y,
|
|
2104
2104
|
handleSelectAll: VA,
|
|
2105
|
-
isAllSelected:
|
|
2105
|
+
isAllSelected: zA,
|
|
2106
2106
|
menu: oA,
|
|
2107
2107
|
isLoading: m,
|
|
2108
2108
|
hasExistingData: uA,
|
|
@@ -2149,18 +2149,10 @@ const ls = (A) => Array.isArray(A) ? A.map((e) => typeof e == "string" || typeof
|
|
|
2149
2149
|
onClear: () => b && b(t === "tags" || t === "multiple" ? [] : null),
|
|
2150
2150
|
maxTagCount: t === "tags" && M ? void 0 : "responsive",
|
|
2151
2151
|
maxTagPlaceholder: (oA) => /* @__PURE__ */ n(
|
|
2152
|
-
|
|
2152
|
+
hA,
|
|
2153
2153
|
{
|
|
2154
|
-
|
|
2155
|
-
root: {
|
|
2156
|
-
zIndex: 5002
|
|
2157
|
-
}
|
|
2158
|
-
},
|
|
2159
|
-
trigger: "hover",
|
|
2154
|
+
placement: "top",
|
|
2160
2155
|
title: oA.length > 3 ? oA.slice(0, 3).map(({ label: gA }) => gA).join(", ") + "..." : oA.map(({ label: gA }) => gA).join(", "),
|
|
2161
|
-
overlayStyle: {
|
|
2162
|
-
pointerEvents: "none"
|
|
2163
|
-
},
|
|
2164
2156
|
children: /* @__PURE__ */ w("span", { children: [
|
|
2165
2157
|
"+",
|
|
2166
2158
|
oA.length,
|
|
@@ -2702,9 +2694,9 @@ const Br = () => {
|
|
|
2702
2694
|
htmlFor: "text",
|
|
2703
2695
|
className: `mb-1 ${m ? "text-black-300" : "text-neutral-600"} inline-flex items-center gap-1 ${b ? "" : "capitalize"}`,
|
|
2704
2696
|
children: [
|
|
2705
|
-
/* @__PURE__ */ n(
|
|
2697
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: c || !1 }),
|
|
2706
2698
|
/* @__PURE__ */ n(YA, { labels: p }),
|
|
2707
|
-
f && /* @__PURE__ */ n(
|
|
2699
|
+
f && /* @__PURE__ */ n(MA, { placement: "top", title: f, children: /* @__PURE__ */ n("div", { className: "cursor-pointer", children: /* @__PURE__ */ n(KA, {}) }) })
|
|
2708
2700
|
]
|
|
2709
2701
|
}
|
|
2710
2702
|
),
|
|
@@ -3000,7 +2992,7 @@ const Jr = ({
|
|
|
3000
2992
|
),
|
|
3001
2993
|
id: A,
|
|
3002
2994
|
children: [
|
|
3003
|
-
i || !e ? null : /* @__PURE__ */ n(
|
|
2995
|
+
i || !e ? null : /* @__PURE__ */ n(LA, { label: e || "", required: s || !1 }),
|
|
3004
2996
|
/* @__PURE__ */ n(
|
|
3005
2997
|
Ji,
|
|
3006
2998
|
{
|
|
@@ -3443,7 +3435,7 @@ const Ta = ({
|
|
|
3443
3435
|
hideSearchIcon: g,
|
|
3444
3436
|
allowAStarSearch: x = !1,
|
|
3445
3437
|
...h
|
|
3446
|
-
} = A, { t: v } =
|
|
3438
|
+
} = A, { t: v } = NA(), [m, y] = E(!1), [H, S] = E("search"), M = iA(null), { searchCount: P, searchPointer: k, setSearchPointer: D } = b || {}, C = () => {
|
|
3447
3439
|
y(!0), S(c || t || v("Search"));
|
|
3448
3440
|
const z = u || M;
|
|
3449
3441
|
z.current && z.current.focus();
|
|
@@ -3600,7 +3592,7 @@ const ws = (A, e, t, r = "medium") => {
|
|
|
3600
3592
|
renderGTNAddButton: C,
|
|
3601
3593
|
onAddGTNToDocument: L
|
|
3602
3594
|
}, z) => {
|
|
3603
|
-
const { t: O } =
|
|
3595
|
+
const { t: O } = NA(), X = s === $e.TOP, T = s === $e.LEFT, U = s === $e.RIGHT, [N, V] = E(!1), F = () => {
|
|
3604
3596
|
L && L({
|
|
3605
3597
|
key: v,
|
|
3606
3598
|
value: e ? "Yes" : "No"
|
|
@@ -3631,7 +3623,7 @@ const ws = (A, e, t, r = "medium") => {
|
|
|
3631
3623
|
y
|
|
3632
3624
|
),
|
|
3633
3625
|
children: [
|
|
3634
|
-
/* @__PURE__ */ n(
|
|
3626
|
+
/* @__PURE__ */ n(LA, { label: a || "", required: o || !1, isRequiredConditional: i || !1 }),
|
|
3635
3627
|
H && /* @__PURE__ */ n(ne, { sx: { fontSize: 16, color: "var(--color-primary-600)", rotate: "15deg" } }),
|
|
3636
3628
|
f && /* @__PURE__ */ n(ae, {}),
|
|
3637
3629
|
/* @__PURE__ */ n(YA, { labels: u || [] }),
|
|
@@ -3646,7 +3638,7 @@ const ws = (A, e, t, r = "medium") => {
|
|
|
3646
3638
|
className: "cursor-pointer",
|
|
3647
3639
|
onClick: F,
|
|
3648
3640
|
type: "button",
|
|
3649
|
-
children: /* @__PURE__ */ n(
|
|
3641
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: O("Add to document"), children: /* @__PURE__ */ n(pe, { className: "text-primary-600", sx: { fontSize: 16 } }) })
|
|
3650
3642
|
}
|
|
3651
3643
|
) : null
|
|
3652
3644
|
] }),
|
|
@@ -4091,7 +4083,7 @@ const Cr = (A, e) => {
|
|
|
4091
4083
|
RiskDetailsCard: X,
|
|
4092
4084
|
...T
|
|
4093
4085
|
}, U) => {
|
|
4094
|
-
const { t: N } =
|
|
4086
|
+
const { t: N } = NA(), [V, F] = E(!1), [j, Q] = E([]), [R, W] = E(""), [I, _] = E(
|
|
4095
4087
|
y || "USD"
|
|
4096
4088
|
), [K, tA] = E(!1), Z = (B) => {
|
|
4097
4089
|
L && L({
|
|
@@ -4108,14 +4100,14 @@ const Cr = (A, e) => {
|
|
|
4108
4100
|
}, eA = (B) => {
|
|
4109
4101
|
const J = B.target.value, uA = J === "" || J === null || J === void 0 ? 0 : Number(J);
|
|
4110
4102
|
r(uA, I);
|
|
4111
|
-
const
|
|
4112
|
-
if (
|
|
4103
|
+
const zA = document.getElementById(A);
|
|
4104
|
+
if (zA && zA.setAttribute(
|
|
4113
4105
|
"data-selected-value",
|
|
4114
4106
|
JSON.stringify({
|
|
4115
4107
|
value: uA,
|
|
4116
4108
|
currency_code: I
|
|
4117
4109
|
})
|
|
4118
|
-
),
|
|
4110
|
+
), zA && (D || C)) {
|
|
4119
4111
|
const VA = new CustomEvent("pilot-change", {
|
|
4120
4112
|
bubbles: !0,
|
|
4121
4113
|
detail: {
|
|
@@ -4127,7 +4119,7 @@ const Cr = (A, e) => {
|
|
|
4127
4119
|
type: "change"
|
|
4128
4120
|
}
|
|
4129
4121
|
});
|
|
4130
|
-
|
|
4122
|
+
zA.dispatchEvent(VA);
|
|
4131
4123
|
}
|
|
4132
4124
|
}, dA = () => {
|
|
4133
4125
|
F(!0);
|
|
@@ -4234,7 +4226,7 @@ const Cr = (A, e) => {
|
|
|
4234
4226
|
className: `mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${d ? "" : "uppercase"} ${S || ""}`,
|
|
4235
4227
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
4236
4228
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
4237
|
-
/* @__PURE__ */ n(
|
|
4229
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: i || !1, isRequiredConditional: l || !1 }),
|
|
4238
4230
|
M && /* @__PURE__ */ n(
|
|
4239
4231
|
ne,
|
|
4240
4232
|
{
|
|
@@ -4256,7 +4248,7 @@ const Cr = (A, e) => {
|
|
|
4256
4248
|
className: "cursor-pointer",
|
|
4257
4249
|
onClick: () => Z(Y(t)),
|
|
4258
4250
|
type: "button",
|
|
4259
|
-
children: /* @__PURE__ */ n(
|
|
4251
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: N("Add to document"), children: /* @__PURE__ */ n(
|
|
4260
4252
|
pe,
|
|
4261
4253
|
{
|
|
4262
4254
|
className: "text-primary-600",
|
|
@@ -5017,7 +5009,7 @@ const CA = /* @__PURE__ */ Ne(Ts), { RangePicker: Pn } = Pr, Xs = {
|
|
|
5017
5009
|
}
|
|
5018
5010
|
)
|
|
5019
5011
|
] }) : /* @__PURE__ */ w("div", { id: s, className: q("flex flex-col", l), children: [
|
|
5020
|
-
/* @__PURE__ */ n(
|
|
5012
|
+
/* @__PURE__ */ n(LA, { label: r || "", required: t || !1 }),
|
|
5021
5013
|
/* @__PURE__ */ n(
|
|
5022
5014
|
Pn,
|
|
5023
5015
|
{
|
|
@@ -5153,8 +5145,8 @@ function qs() {
|
|
|
5153
5145
|
if (["x", "X"].indexOf(N) > -1) return new Date((N === "X" ? 1e3 : 1) * U);
|
|
5154
5146
|
var j = g(N)(U), Q = j.year, R = j.month, W = j.day, I = j.hours, _ = j.minutes, K = j.seconds, tA = j.milliseconds, Z = j.zone, Y = j.week, eA = /* @__PURE__ */ new Date(), dA = W || (Q || R ? 1 : eA.getDate()), sA = Q || eA.getFullYear(), HA = 0;
|
|
5155
5147
|
Q && !R || (HA = R > 0 ? R - 1 : eA.getMonth());
|
|
5156
|
-
var B, J = I || 0, uA = _ || 0,
|
|
5157
|
-
return Z ? new Date(Date.UTC(sA, HA, dA, J, uA,
|
|
5148
|
+
var B, J = I || 0, uA = _ || 0, zA = K || 0, VA = tA || 0;
|
|
5149
|
+
return Z ? new Date(Date.UTC(sA, HA, dA, J, uA, zA, VA + 60 * Z.offset * 1e3)) : V ? new Date(Date.UTC(sA, HA, dA, J, uA, zA, VA)) : (B = new Date(sA, HA, dA, J, uA, zA, VA), Y && (B = F(B).week(Y).toDate()), B);
|
|
5158
5150
|
} catch {
|
|
5159
5151
|
return /* @__PURE__ */ new Date("");
|
|
5160
5152
|
}
|
|
@@ -5449,7 +5441,7 @@ const _s = "MM/DD/YYYY", ir = "MM/DD/YYYY - hh:mm A", Nn = "YYYY-MM-DD", Ln = "Y
|
|
|
5449
5441
|
formatDateForGTN: C,
|
|
5450
5442
|
...L
|
|
5451
5443
|
}, z) => {
|
|
5452
|
-
const { t: O } =
|
|
5444
|
+
const { t: O } = NA(), [X, T] = E(!1), [U, N] = E(null), [V, F] = E(
|
|
5453
5445
|
null
|
|
5454
5446
|
), j = p || (s ? ir : _s), Q = L?.id || `date-picker-${t1()}`, R = iA(null);
|
|
5455
5447
|
zn("paste", (Z) => {
|
|
@@ -5664,7 +5656,7 @@ const _s = "MM/DD/YYYY", ir = "MM/DD/YYYY - hh:mm A", Nn = "YYYY-MM-DD", Ln = "Y
|
|
|
5664
5656
|
className: `mb-1 text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${f ? "" : "capitalize"} ${H || ""}`,
|
|
5665
5657
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
5666
5658
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
5667
|
-
/* @__PURE__ */ n(
|
|
5659
|
+
/* @__PURE__ */ n(LA, { label: A || "", required: t || !1, isRequiredConditional: r || !1 }),
|
|
5668
5660
|
S && /* @__PURE__ */ n(
|
|
5669
5661
|
ne,
|
|
5670
5662
|
{
|
|
@@ -5686,7 +5678,7 @@ const _s = "MM/DD/YYYY", ir = "MM/DD/YYYY - hh:mm A", Nn = "YYYY-MM-DD", Ln = "Y
|
|
|
5686
5678
|
className: "cursor-pointer",
|
|
5687
5679
|
onClick: () => W(e),
|
|
5688
5680
|
type: "button",
|
|
5689
|
-
children: /* @__PURE__ */ n(
|
|
5681
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: O("Add to document"), children: /* @__PURE__ */ n(
|
|
5690
5682
|
pe,
|
|
5691
5683
|
{
|
|
5692
5684
|
className: "text-primary-600",
|
|
@@ -5788,7 +5780,7 @@ const n1 = ({
|
|
|
5788
5780
|
htmlFor: A,
|
|
5789
5781
|
className: "block mb-1 text-xs font-medium leading-[18px] text-neutral-600 dark:text-black-300 font-inter capitalize",
|
|
5790
5782
|
children: [
|
|
5791
|
-
/* @__PURE__ */ n(
|
|
5783
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: a || !1 }),
|
|
5792
5784
|
/* @__PURE__ */ n(YA, { labels: i })
|
|
5793
5785
|
]
|
|
5794
5786
|
}
|
|
@@ -5874,7 +5866,7 @@ const a1 = xA(
|
|
|
5874
5866
|
showDeprecatedFieldWarning: z,
|
|
5875
5867
|
DynamicDataModal: O
|
|
5876
5868
|
}, X) => {
|
|
5877
|
-
const { t: T } =
|
|
5869
|
+
const { t: T } = NA(), [U, N] = E(!1), [V, F] = E(r), [j, Q] = E(!1), R = iA(null), W = X || R, I = () => {
|
|
5878
5870
|
L?.(!j), Q(!j);
|
|
5879
5871
|
}, _ = (Y) => {
|
|
5880
5872
|
if (Y.keyCode === 9 || Y.key === "Enter") {
|
|
@@ -5916,7 +5908,7 @@ const a1 = xA(
|
|
|
5916
5908
|
className: `text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${p ? "" : "capitalize"} ${v || ""}`,
|
|
5917
5909
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
5918
5910
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap", children: [
|
|
5919
|
-
/* @__PURE__ */ n(
|
|
5911
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: l || !1, isRequiredConditional: s || !1 }),
|
|
5920
5912
|
y && /* @__PURE__ */ n(
|
|
5921
5913
|
ne,
|
|
5922
5914
|
{
|
|
@@ -5938,7 +5930,7 @@ const a1 = xA(
|
|
|
5938
5930
|
className: "cursor-pointer",
|
|
5939
5931
|
onClick: () => tA(r?.toString() || ""),
|
|
5940
5932
|
type: "button",
|
|
5941
|
-
children: /* @__PURE__ */ n(
|
|
5933
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: T("Add to document"), children: /* @__PURE__ */ n(
|
|
5942
5934
|
pe,
|
|
5943
5935
|
{
|
|
5944
5936
|
sx: {
|
|
@@ -7319,7 +7311,7 @@ const aA = {
|
|
|
7319
7311
|
selectedItemsCount: o,
|
|
7320
7312
|
deleteConfig: i,
|
|
7321
7313
|
showActionBg: l
|
|
7322
|
-
} = A, { t: s } =
|
|
7314
|
+
} = A, { t: s } = NA(), [c, d] = E(!1), [u, f] = E(!0), p = iA(null), b = iA(null);
|
|
7323
7315
|
$(() => {
|
|
7324
7316
|
const h = new ResizeObserver(() => {
|
|
7325
7317
|
if (p.current && b.current) {
|
|
@@ -8167,7 +8159,7 @@ const C1 = () => /* @__PURE__ */ n("svg", { width: "16", height: "16", viewBox:
|
|
|
8167
8159
|
try {
|
|
8168
8160
|
const B = new Blob([A], { type: dA(i)?.type }), J = URL.createObjectURL(B), uA = document.createElement("a");
|
|
8169
8161
|
uA.href = J;
|
|
8170
|
-
const
|
|
8162
|
+
const zA = dA(i)?.extension || "txt", VA = sA(zA, "txt");
|
|
8171
8163
|
uA.download = sA(`code_${Date.now()}.${VA}`, `code_${Date.now()}.${VA}`), document.body.appendChild(uA), uA.click(), document.body.removeChild(uA), URL.revokeObjectURL(J);
|
|
8172
8164
|
} catch (B) {
|
|
8173
8165
|
const J = B;
|
|
@@ -8390,7 +8382,7 @@ const C1 = () => /* @__PURE__ */ n("svg", { width: "16", height: "16", viewBox:
|
|
|
8390
8382
|
htmlFor: "text",
|
|
8391
8383
|
className: `mb-1 text-black-300 dark:text-black-300 inline-flex items-center gap-1 flex-wrap ${l ? "" : "capitalize"}`,
|
|
8392
8384
|
children: [
|
|
8393
|
-
/* @__PURE__ */ n(
|
|
8385
|
+
/* @__PURE__ */ n(LA, { label: t || "", required: c || !1 }),
|
|
8394
8386
|
h && /* @__PURE__ */ n(ae, {}),
|
|
8395
8387
|
/* @__PURE__ */ n(YA, { labels: u }),
|
|
8396
8388
|
b && /* @__PURE__ */ n(hA, { placement: "top", title: b, children: /* @__PURE__ */ n("div", { className: "cursor-pointer", children: /* @__PURE__ */ n(KA, {}) }) })
|
|
@@ -8492,7 +8484,7 @@ const Z1 = xA(
|
|
|
8492
8484
|
placeholder: X,
|
|
8493
8485
|
...T
|
|
8494
8486
|
}, U) => {
|
|
8495
|
-
const { t: N } =
|
|
8487
|
+
const { t: N } = NA(), [V, F] = E(!1), j = (Q) => {
|
|
8496
8488
|
C && C({
|
|
8497
8489
|
key: H,
|
|
8498
8490
|
value: Q
|
|
@@ -8545,7 +8537,7 @@ const Z1 = xA(
|
|
|
8545
8537
|
className: `mb-1 text-xs font-medium text-gray-600 dark:text-neutral-300 inline-flex items-center gap-1 ${g ? "" : "uppercase"} ${P || ""}`,
|
|
8546
8538
|
children: /* @__PURE__ */ w("div", { className: "w-full flex items-center justify-between flex-wrap", children: [
|
|
8547
8539
|
/* @__PURE__ */ w("div", { className: "inline-flex items-center gap-1 flex-wrap dark:text-black-300", children: [
|
|
8548
|
-
/* @__PURE__ */ n(
|
|
8540
|
+
/* @__PURE__ */ n(LA, { label: e || "", required: c || !1, isRequiredConditional: d || !1 }),
|
|
8549
8541
|
k && /* @__PURE__ */ n(
|
|
8550
8542
|
ne,
|
|
8551
8543
|
{
|
|
@@ -8567,7 +8559,7 @@ const Z1 = xA(
|
|
|
8567
8559
|
className: "cursor-pointer",
|
|
8568
8560
|
onClick: () => j(t?.toString()),
|
|
8569
8561
|
type: "button",
|
|
8570
|
-
children: /* @__PURE__ */ n(
|
|
8562
|
+
children: /* @__PURE__ */ n(MA, { placement: "top", title: N("Add to document"), children: /* @__PURE__ */ n(
|
|
8571
8563
|
pe,
|
|
8572
8564
|
{
|
|
8573
8565
|
className: "text-primary-600",
|
|
@@ -9069,7 +9061,7 @@ const Q9 = ({
|
|
|
9069
9061
|
height: 240,
|
|
9070
9062
|
children: ({ columnIndex: l, rowIndex: s, style: c }) => {
|
|
9071
9063
|
const d = s * 5 + l, u = o?.[d];
|
|
9072
|
-
return u ? /* @__PURE__ */ n("div", { style: { ...c, padding: "4px" }, children: /* @__PURE__ */ n(
|
|
9064
|
+
return u ? /* @__PURE__ */ n("div", { style: { ...c, padding: "4px" }, children: /* @__PURE__ */ n(MA, { title: _1(u), children: /* @__PURE__ */ n(
|
|
9073
9065
|
ul,
|
|
9074
9066
|
{
|
|
9075
9067
|
className: q(
|
|
@@ -9126,7 +9118,7 @@ const Q9 = ({
|
|
|
9126
9118
|
onOpenChange: s,
|
|
9127
9119
|
content: /* @__PURE__ */ n(A0, { onChange: e, selectedIcon: A, setOpen: s }),
|
|
9128
9120
|
children: /* @__PURE__ */ w("div", { className: "flex flex-col gap-1", children: [
|
|
9129
|
-
t ? /* @__PURE__ */ n(
|
|
9121
|
+
t ? /* @__PURE__ */ n(LA, { label: t || "", required: r || !1 }) : null,
|
|
9130
9122
|
/* @__PURE__ */ w(
|
|
9131
9123
|
"button",
|
|
9132
9124
|
{
|
|
@@ -10969,7 +10961,7 @@ const t6 = Qa, r6 = ({ icon: A, title: e, description: t, variant: r, className:
|
|
|
10969
10961
|
onSelectResult: p,
|
|
10970
10962
|
isLoading: b,
|
|
10971
10963
|
...g
|
|
10972
|
-
} = A, { t: x } =
|
|
10964
|
+
} = A, { t: x } = NA(), [h, v] = E(t?.slice(0, 0)), [m, y] = E(0), [H, S] = E(!1), [M, P] = E("search"), [k, D] = E(!0), C = iA(null);
|
|
10973
10965
|
M0(a, f || C);
|
|
10974
10966
|
const L = s ? (l || 0) + 1 : 0;
|
|
10975
10967
|
$(() => {
|
|
@@ -15384,14 +15376,14 @@ const Vc = ({
|
|
|
15384
15376
|
}
|
|
15385
15377
|
);
|
|
15386
15378
|
return l?.link ? /* @__PURE__ */ n(
|
|
15387
|
-
|
|
15379
|
+
MA,
|
|
15388
15380
|
{
|
|
15389
15381
|
title: a[s] ? l?.title : "",
|
|
15390
15382
|
placement: "bottom",
|
|
15391
15383
|
children: /* @__PURE__ */ n(ka, { to: l.link, className: "block truncate", children: d })
|
|
15392
15384
|
}
|
|
15393
15385
|
) : /* @__PURE__ */ n(
|
|
15394
|
-
|
|
15386
|
+
MA,
|
|
15395
15387
|
{
|
|
15396
15388
|
title: a[s] ? l?.title : "",
|
|
15397
15389
|
placement: "bottom",
|
|
@@ -15468,7 +15460,7 @@ const ce = {
|
|
|
15468
15460
|
DEFAULT_VARIANT: ko,
|
|
15469
15461
|
VARIANTS: ce
|
|
15470
15462
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15471
|
-
var
|
|
15463
|
+
var SA = /* @__PURE__ */ ((A) => (A.row = "row", A.column = "column", A))(SA || {});
|
|
15472
15464
|
const In = (A, e) => {
|
|
15473
15465
|
let t = "0px", r;
|
|
15474
15466
|
const a = () => A.reduce((o, i) => (o += typeof i == "number" ? i + "px " : i + " ", o), "");
|
|
@@ -15525,7 +15517,7 @@ const In = (A, e) => {
|
|
|
15525
15517
|
`skeleton__${l}-${u}`
|
|
15526
15518
|
)
|
|
15527
15519
|
), o = (i, l) => {
|
|
15528
|
-
const s = l || "1", c = i.gridGap || Po, d = i.hasOwnProperty("children"), u = i.hasOwnProperty("skeletons"), f = i.repeatCount || Co, p = d ? pr(i.children, f) : [], b = i.direction ===
|
|
15520
|
+
const s = l || "1", c = i.gridGap || Po, d = i.hasOwnProperty("children"), u = i.hasOwnProperty("skeletons"), f = i.repeatCount || Co, p = d ? pr(i.children, f) : [], b = i.direction === SA.row ? Ec(
|
|
15529
15521
|
(d ? p : pr(i.skeletons, f)).map(
|
|
15530
15522
|
({ w: x = Xt }) => ({
|
|
15531
15523
|
w: x
|
|
@@ -15969,7 +15961,7 @@ const In = (A, e) => {
|
|
|
15969
15961
|
}, u6 = lA.memo($c), _c = ({ count: A = 3 }) => {
|
|
15970
15962
|
const e = cA(
|
|
15971
15963
|
() => ({
|
|
15972
|
-
direction:
|
|
15964
|
+
direction: SA.column,
|
|
15973
15965
|
repeatCount: A,
|
|
15974
15966
|
withOpacity: !0,
|
|
15975
15967
|
gridGap: 0,
|
|
@@ -15981,7 +15973,7 @@ const In = (A, e) => {
|
|
|
15981
15973
|
{
|
|
15982
15974
|
w: "100%",
|
|
15983
15975
|
h: "auto",
|
|
15984
|
-
direction:
|
|
15976
|
+
direction: SA.row,
|
|
15985
15977
|
className: "p-3",
|
|
15986
15978
|
children: [
|
|
15987
15979
|
{
|
|
@@ -16021,7 +16013,7 @@ const In = (A, e) => {
|
|
|
16021
16013
|
`, t2 = ({ width: A = "480px" }) => {
|
|
16022
16014
|
const e = cA(
|
|
16023
16015
|
() => ({
|
|
16024
|
-
direction:
|
|
16016
|
+
direction: SA.column,
|
|
16025
16017
|
repeatCount: 1,
|
|
16026
16018
|
withOpacity: !0,
|
|
16027
16019
|
gridGap: 16,
|
|
@@ -16031,7 +16023,7 @@ const In = (A, e) => {
|
|
|
16031
16023
|
// Title and date section
|
|
16032
16024
|
w: "100%",
|
|
16033
16025
|
h: "auto",
|
|
16034
|
-
direction:
|
|
16026
|
+
direction: SA.column,
|
|
16035
16027
|
gridGap: 8,
|
|
16036
16028
|
children: [
|
|
16037
16029
|
{
|
|
@@ -16056,7 +16048,7 @@ const In = (A, e) => {
|
|
|
16056
16048
|
// Description section
|
|
16057
16049
|
w: "100%",
|
|
16058
16050
|
h: "auto",
|
|
16059
|
-
direction:
|
|
16051
|
+
direction: SA.column,
|
|
16060
16052
|
gridGap: 8,
|
|
16061
16053
|
children: [
|
|
16062
16054
|
{
|
|
@@ -16081,7 +16073,7 @@ const In = (A, e) => {
|
|
|
16081
16073
|
// Status and priority section
|
|
16082
16074
|
w: "100%",
|
|
16083
16075
|
h: "auto",
|
|
16084
|
-
direction:
|
|
16076
|
+
direction: SA.column,
|
|
16085
16077
|
gridGap: 12,
|
|
16086
16078
|
children: [
|
|
16087
16079
|
{
|
|
@@ -16104,7 +16096,7 @@ const In = (A, e) => {
|
|
|
16104
16096
|
}, p6 = lA.memo(t2), r2 = ({ count: A = 3 }) => {
|
|
16105
16097
|
const e = cA(
|
|
16106
16098
|
() => ({
|
|
16107
|
-
direction:
|
|
16099
|
+
direction: SA.column,
|
|
16108
16100
|
repeatCount: A,
|
|
16109
16101
|
withOpacity: !0,
|
|
16110
16102
|
gridGap: 16,
|
|
@@ -16118,14 +16110,14 @@ const In = (A, e) => {
|
|
|
16118
16110
|
{
|
|
16119
16111
|
w: "100%",
|
|
16120
16112
|
h: "auto",
|
|
16121
|
-
direction:
|
|
16113
|
+
direction: SA.row,
|
|
16122
16114
|
className: "mb-3",
|
|
16123
16115
|
children: [
|
|
16124
16116
|
{
|
|
16125
16117
|
// Title section with icon
|
|
16126
16118
|
w: "70%",
|
|
16127
16119
|
h: "auto",
|
|
16128
|
-
direction:
|
|
16120
|
+
direction: SA.row,
|
|
16129
16121
|
children: [
|
|
16130
16122
|
{
|
|
16131
16123
|
w: "24px",
|
|
@@ -16145,7 +16137,7 @@ const In = (A, e) => {
|
|
|
16145
16137
|
// Action buttons
|
|
16146
16138
|
w: "30%",
|
|
16147
16139
|
h: "auto",
|
|
16148
|
-
direction:
|
|
16140
|
+
direction: SA.row,
|
|
16149
16141
|
children: [
|
|
16150
16142
|
{
|
|
16151
16143
|
w: "32px",
|
|
@@ -16177,13 +16169,13 @@ const In = (A, e) => {
|
|
|
16177
16169
|
{
|
|
16178
16170
|
w: "100%",
|
|
16179
16171
|
h: "auto",
|
|
16180
|
-
direction:
|
|
16172
|
+
direction: SA.row,
|
|
16181
16173
|
children: [
|
|
16182
16174
|
{
|
|
16183
16175
|
// User info section
|
|
16184
16176
|
w: "60%",
|
|
16185
16177
|
h: "auto",
|
|
16186
|
-
direction:
|
|
16178
|
+
direction: SA.row,
|
|
16187
16179
|
children: [
|
|
16188
16180
|
{
|
|
16189
16181
|
w: "32px",
|
|
@@ -16203,7 +16195,7 @@ const In = (A, e) => {
|
|
|
16203
16195
|
// Date
|
|
16204
16196
|
w: "40%",
|
|
16205
16197
|
h: "auto",
|
|
16206
|
-
direction:
|
|
16198
|
+
direction: SA.row,
|
|
16207
16199
|
skeletons: [{ w: "120px", h: "16px", r: "4px", margin: [4, 0, 0, 0] }],
|
|
16208
16200
|
className: "animate-pulse"
|
|
16209
16201
|
}
|
|
@@ -16219,7 +16211,7 @@ const In = (A, e) => {
|
|
|
16219
16211
|
}, h6 = lA.memo(r2), n2 = 5, m6 = () => {
|
|
16220
16212
|
const A = cA(
|
|
16221
16213
|
() => ({
|
|
16222
|
-
direction:
|
|
16214
|
+
direction: SA.column,
|
|
16223
16215
|
repeatCount: n2,
|
|
16224
16216
|
gridGap: 8,
|
|
16225
16217
|
withOpacity: !0,
|
|
@@ -16227,7 +16219,7 @@ const In = (A, e) => {
|
|
|
16227
16219
|
children: [
|
|
16228
16220
|
{
|
|
16229
16221
|
className: "border rounded-lg w-full border-l-[6px] border-neutral-200 dark:border-black-700 px-4.5 py-3",
|
|
16230
|
-
direction:
|
|
16222
|
+
direction: SA.row,
|
|
16231
16223
|
gridGap: 12,
|
|
16232
16224
|
alignItems: "center",
|
|
16233
16225
|
children: [
|
|
@@ -16237,7 +16229,7 @@ const In = (A, e) => {
|
|
|
16237
16229
|
},
|
|
16238
16230
|
{
|
|
16239
16231
|
w: "calc(100% - 50px)",
|
|
16240
|
-
direction:
|
|
16232
|
+
direction: SA.column,
|
|
16241
16233
|
gridGap: 4,
|
|
16242
16234
|
skeletons: [
|
|
16243
16235
|
{ w: "75%", h: "16px", r: "4px", margin: [0, 0, 4, 0] },
|
|
@@ -16831,7 +16823,7 @@ const In = (A, e) => {
|
|
|
16831
16823
|
className: c = "",
|
|
16832
16824
|
onClick: d = il
|
|
16833
16825
|
}) => {
|
|
16834
|
-
const { t: u } =
|
|
16826
|
+
const { t: u } = NA(), f = s, p = /* @__PURE__ */ w(di, { children: [
|
|
16835
16827
|
A && A,
|
|
16836
16828
|
u(r),
|
|
16837
16829
|
e && e
|
|
@@ -16918,7 +16910,7 @@ const Ho = ({
|
|
|
16918
16910
|
[a, t, r, i, e]
|
|
16919
16911
|
);
|
|
16920
16912
|
return /* @__PURE__ */ n("div", { className: s, children: b ? /* @__PURE__ */ n(
|
|
16921
|
-
|
|
16913
|
+
MA,
|
|
16922
16914
|
{
|
|
16923
16915
|
title: g,
|
|
16924
16916
|
placement: l,
|
|
@@ -18257,7 +18249,7 @@ function mu(A) {
|
|
|
18257
18249
|
S[y] = J, L[y] = J - U;
|
|
18258
18250
|
}
|
|
18259
18251
|
if (l) {
|
|
18260
|
-
var uA,
|
|
18252
|
+
var uA, zA = y === "x" ? FA : WA, VA = y === "x" ? JA : $A, bA = S[H], XA = H === "y" ? "height" : "width", le = bA + x[zA], Le = bA - x[VA], oA = [FA, WA].indexOf(h) !== -1, gA = (uA = C?.[H]) != null ? uA : 0, mA = oA ? le : bA - M[XA] - P[XA] - gA + D.altAxis, PA = oA ? bA + M[XA] + P[XA] - gA - D.altAxis : Le, ze = p && oA ? W2(mA, bA, PA) : _e(p ? mA : le, bA, p ? PA : Le);
|
|
18261
18253
|
S[H] = ze, L[H] = ze - bA;
|
|
18262
18254
|
}
|
|
18263
18255
|
e.modifiersData[r] = L;
|
|
@@ -19302,7 +19294,7 @@ const _u = ({ fill: A = "currentColor", size: e = 20, ...t }) => /* @__PURE__ */
|
|
|
19302
19294
|
setFileData: S,
|
|
19303
19295
|
fileData: M
|
|
19304
19296
|
}) => {
|
|
19305
|
-
const [P, k] = E(null), [D, C] = E([]), [L, z] = E("#d9d9d9"), [O, X] = E(!1), [T, U] = E(null), { t: N } =
|
|
19297
|
+
const [P, k] = E(null), [D, C] = E([]), [L, z] = E("#d9d9d9"), [O, X] = E(!1), [T, U] = E(null), { t: N } = NA(), V = async () => {
|
|
19306
19298
|
if (!m || !Te) {
|
|
19307
19299
|
console.warn("FileUploadDragger: File server upload requires fileUploadService, buildQueryParams, and getToken");
|
|
19308
19300
|
return;
|
|
@@ -21837,7 +21829,7 @@ function H3() {
|
|
|
21837
21829
|
}
|
|
21838
21830
|
var D3 = H3();
|
|
21839
21831
|
const S3 = /* @__PURE__ */ Ne(D3), N3 = (A) => {
|
|
21840
|
-
const { value: e, onOptionChange: t, onSaveOption: r, onDeleteAll: a, required: o, errorMessage: i, hasChoices: l } = A, { t: s } =
|
|
21832
|
+
const { value: e, onOptionChange: t, onSaveOption: r, onDeleteAll: a, required: o, errorMessage: i, hasChoices: l } = A, { t: s } = NA(), [c, d] = E(!1);
|
|
21841
21833
|
return /* @__PURE__ */ w(vA, { children: [
|
|
21842
21834
|
/* @__PURE__ */ w("header", { className: "flex items-end w-full gap-3", children: [
|
|
21843
21835
|
/* @__PURE__ */ n("div", { className: "w-full", children: /* @__PURE__ */ n(
|
|
@@ -22324,14 +22316,14 @@ const j3 = ut(
|
|
|
22324
22316
|
);
|
|
22325
22317
|
Ko.displayName = "GridItemHandle";
|
|
22326
22318
|
const B3 = lA.memo(Ko), J3 = () => {
|
|
22327
|
-
const { t: A } =
|
|
22319
|
+
const { t: A } = NA();
|
|
22328
22320
|
return /* @__PURE__ */ w("div", { className: "flex flex-col items-center text-center", children: [
|
|
22329
22321
|
/* @__PURE__ */ n("span", { className: "text-[#98A2B3] bg-[#F2F4F7] h-[48px] w-[48px] flex items-center justify-center rounded-lg", children: /* @__PURE__ */ n(G3, {}) }),
|
|
22330
22322
|
/* @__PURE__ */ n("p", { className: "font-semibold mt-2 text-neutral-900 dark:text-white", children: A("No additional versions available") }),
|
|
22331
22323
|
/* @__PURE__ */ n("p", { className: "text-sm text-[#98A2B3]", children: A("There are no additional versions available for comparison") })
|
|
22332
22324
|
] });
|
|
22333
22325
|
}, $3 = ({ item: A }) => {
|
|
22334
|
-
const { hideLayoutItem: e, layout: t, layoutHeader: r, layoutContent: a } = Qe(Ar), { t: o } =
|
|
22326
|
+
const { hideLayoutItem: e, layout: t, layoutHeader: r, layoutContent: a } = Qe(Ar), { t: o } = NA(), { isDragging: i, attributes: l, listeners: s, setNodeRef: c, transform: d, transition: u, isOver: f, setActivatorNodeRef: p, over: b, active: g } = Xl({
|
|
22335
22327
|
id: A.id
|
|
22336
22328
|
}), x = {
|
|
22337
22329
|
transform: ql.Transform.toString(d),
|
|
@@ -22403,7 +22395,7 @@ const B3 = lA.memo(Ko), J3 = () => {
|
|
|
22403
22395
|
onNavigateBack: A,
|
|
22404
22396
|
tabsComponent: e
|
|
22405
22397
|
}) => {
|
|
22406
|
-
const { setLayout: t, title: r, layout: a, returnUrl: o, onReturn: i, headerTabConfig: l } = Qe(Ar), { t: s } =
|
|
22398
|
+
const { setLayout: t, title: r, layout: a, returnUrl: o, onReturn: i, headerTabConfig: l } = Qe(Ar), { t: s } = NA(), c = () => {
|
|
22407
22399
|
i ? i() : o && A && A(o?.toString() || "/home");
|
|
22408
22400
|
};
|
|
22409
22401
|
return /* @__PURE__ */ w("div", { className: "flex flex-wrap items-center justify-between p-4 border-y border-y-[#EAECF0] bg-[#F9FAFB] dark:bg-black-800 gap-2 flex-col sm:flex-row", children: [
|
|
@@ -22684,7 +22676,7 @@ const B3 = lA.memo(Ko), J3 = () => {
|
|
|
22684
22676
|
}, []), Q = cA(() => k ? A : i5(A), [A, k]);
|
|
22685
22677
|
return /* @__PURE__ */ w("div", { className: "w-full", children: [
|
|
22686
22678
|
a && /* @__PURE__ */ w("div", { className: "text-xs font-medium text-gray-600 inline-flex items-center gap-1 font-inter text-left whitespace-nowrap flex-wrap", children: [
|
|
22687
|
-
/* @__PURE__ */ n(
|
|
22679
|
+
/* @__PURE__ */ n(LA, { label: a || "", required: i || !1 }),
|
|
22688
22680
|
l && /* @__PURE__ */ n(hA, { placement: "top", title: l, children: /* @__PURE__ */ n("div", { className: "cursor-pointer", children: /* @__PURE__ */ n(KA, {}) }) })
|
|
22689
22681
|
] }),
|
|
22690
22682
|
/* @__PURE__ */ w("div", { className: "relative", ref: g, children: [
|
|
@@ -26066,7 +26058,7 @@ export {
|
|
|
26066
26058
|
m0 as ResizableSidebar,
|
|
26067
26059
|
Gr as SHORTCUT_KEY_MAP,
|
|
26068
26060
|
a6 as SKELETON_CONSTANTS,
|
|
26069
|
-
|
|
26061
|
+
SA as SKELETON_DIRECTION,
|
|
26070
26062
|
ys as SearchBar,
|
|
26071
26063
|
Ma as SelectField,
|
|
26072
26064
|
Hs as ShortcutKbd,
|