@flamingo-stack/openframe-frontend-core 0.0.750 → 0.0.752
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/{chunk-OFO75R2O.cjs → chunk-35RU25PJ.cjs} +130 -130
- package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
- package/dist/{chunk-7RCTOWBA.cjs → chunk-4OTCQEP3.cjs} +28 -28
- package/dist/{chunk-XJ3J4UIS.cjs → chunk-4PEG4JTM.cjs} +19 -19
- package/dist/{chunk-3TELPOVH.cjs → chunk-7OEVVMAU.cjs} +2 -2
- package/dist/{chunk-CNUZLOVA.cjs → chunk-7WEGXNNS.cjs} +40 -40
- package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
- package/dist/{chunk-V3UJ6NDR.cjs → chunk-EM4OEWCM.cjs} +171 -171
- package/dist/{chunk-HOEVD6EN.cjs → chunk-EUQJ7QHW.cjs} +4 -4
- package/dist/{chunk-FP6HAJQV.cjs → chunk-G44V3UGE.cjs} +105 -105
- package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
- package/dist/{chunk-JPUTILTV.cjs → chunk-IPVJAML5.cjs} +94 -94
- package/dist/{chunk-KVSEWACW.cjs → chunk-J5G4CF2V.cjs} +28 -28
- package/dist/{chunk-2J2OBP4N.cjs → chunk-JI6NRWCC.cjs} +21 -21
- package/dist/{chunk-4O2KYY4K.cjs → chunk-KBJSZFBZ.cjs} +3 -3
- package/dist/{chunk-G7SBHMRR.cjs → chunk-KHKPLOU4.cjs} +69 -39
- package/dist/{chunk-45YRDD7W.cjs → chunk-KUVYVAS2.cjs} +22 -22
- package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
- package/dist/{chunk-WZX26ODJ.cjs → chunk-OXCGQV6B.cjs} +152 -133
- package/dist/{chunk-FHT7SMA7.cjs → chunk-OXEAN3EQ.cjs} +47 -47
- package/dist/{chunk-E3KFEOFA.cjs → chunk-P4ODFQGA.cjs} +7 -7
- package/dist/{chunk-AW6GP3JK.cjs → chunk-RDH63XXW.cjs} +83 -83
- package/dist/{chunk-CLAJIQ7E.cjs → chunk-U2AE4UG7.cjs} +19 -19
- package/dist/{chunk-6KEJQR6L.cjs → chunk-VD3XBUQR.cjs} +797 -797
- package/dist/{chunk-4FWURR3W.cjs → chunk-VUWPLQBY.cjs} +2 -2
- package/dist/{chunk-YL62VAHC.cjs → chunk-WQCLN27R.cjs} +6 -6
- package/dist/{chunk-GVETSV7H.cjs → chunk-XADJG35G.cjs} +48 -48
- package/dist/{chunk-BO6ZOAPB.cjs → chunk-Y6PVZRYL.cjs} +12 -12
- package/dist/{chunk-DGEB5GUZ.cjs → chunk-ZVOXBSDP.cjs} +2 -2
- package/dist/{chunk-34TWK3JE.cjs → chunk-ZYRRRKSZ.cjs} +3 -3
- package/dist/{cloud-tenants-E4JSG3GH.cjs → cloud-tenants-WAOMZZQ2.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts +7 -5
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +33 -14
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/types/api.types.d.ts +27 -8
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/network.types.d.ts +2 -1
- package/dist/components/chat/types/network.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +123 -123
- package/dist/components/index.cjs +64 -64
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -5
- package/dist/components/loading/unified-skeleton.d.ts +2 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +5 -0
- package/dist/components/meeting-scheduler/index.cjs +79 -79
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/file-manager/index.cjs +30 -30
- package/dist/components/ui/index.cjs +13 -13
- package/dist/{devices-AVRQGB2N.cjs → devices-VFEPXW2N.cjs} +14 -14
- package/dist/{embeddable-chat-SNYQSMS7.cjs → embeddable-chat-BYQBABDV.cjs} +74 -74
- package/dist/hooks/index.cjs +3 -3
- package/dist/index.cjs +17 -17
- package/dist/{knowledge-S3CNISQH.cjs → knowledge-4TE7AWZX.cjs} +14 -14
- package/dist/{logs-WDLOKDXT.cjs → logs-3B2P3JXN.cjs} +21 -21
- package/dist/nats/index.cjs +2 -2
- package/dist/nats/nats.d.ts +33 -7
- package/dist/nats/nats.d.ts.map +1 -1
- package/dist/nats/nats.js +41 -11
- package/dist/{policies-STML7NEZ.cjs → policies-DVI6V22X.cjs} +17 -17
- package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
- package/dist/{scripts-HO53VYGX.cjs → scripts-JJ2BVYQ5.cjs} +20 -20
- package/dist/{software-update-4VTK7LWQ.cjs → software-update-BN23RATE.cjs} +17 -17
- package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +59 -23
- package/src/components/chat/types/api.types.ts +27 -8
- package/src/components/chat/types/network.types.ts +2 -1
- package/src/components/loading/loading-region.tsx +4 -9
- package/src/components/loading/unified-skeleton.tsx +13 -0
- package/src/nats/nats.ts +91 -20
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkAG4HR6Z6cjs = require('./chunk-AG4HR6Z6.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -35,7 +35,7 @@ var _chunkNTGIQP7Ocjs = require('./chunk-NTGIQP7O.cjs');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -51,7 +51,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -62,7 +62,7 @@ var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
|
|
|
62
62
|
var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
var
|
|
65
|
+
var _chunk7OEVVMAUcjs = require('./chunk-7OEVVMAU.cjs');
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkOXCGQV6Bcjs = require('./chunk-OXCGQV6B.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -131,7 +131,7 @@ var _chunkWZX26ODJcjs = require('./chunk-WZX26ODJ.cjs');
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
var
|
|
134
|
+
var _chunkEM4OEWCMcjs = require('./chunk-EM4OEWCM.cjs');
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
@@ -483,7 +483,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
483
483
|
|
|
484
484
|
|
|
485
485
|
|
|
486
|
-
var
|
|
486
|
+
var _chunk35RU25PJcjs = require('./chunk-35RU25PJ.cjs');
|
|
487
487
|
|
|
488
488
|
|
|
489
489
|
|
|
@@ -566,7 +566,7 @@ var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
|
|
|
566
566
|
var _chunkXZJCBIYRcjs = require('./chunk-XZJCBIYR.cjs');
|
|
567
567
|
|
|
568
568
|
|
|
569
|
-
var
|
|
569
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
570
570
|
|
|
571
571
|
|
|
572
572
|
|
|
@@ -583,7 +583,7 @@ var _chunkOF336YWGcjs = require('./chunk-OF336YWG.cjs');
|
|
|
583
583
|
|
|
584
584
|
|
|
585
585
|
|
|
586
|
-
var
|
|
586
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
587
587
|
|
|
588
588
|
|
|
589
589
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -664,7 +664,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
664
664
|
var useTheme = _nextthemes.useTheme;
|
|
665
665
|
function useThemeToggle() {
|
|
666
666
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
667
|
-
const mounted =
|
|
667
|
+
const mounted = _chunkEM4OEWCMcjs.useIsHydrated.call(void 0, );
|
|
668
668
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
669
669
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
670
670
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -872,7 +872,7 @@ function TimezoneSelect({
|
|
|
872
872
|
}) {
|
|
873
873
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
874
874
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
875
|
-
|
|
875
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
876
876
|
{
|
|
877
877
|
className,
|
|
878
878
|
value: value || null,
|
|
@@ -1690,20 +1690,20 @@ function DatePickerInput(props) {
|
|
|
1690
1690
|
) })
|
|
1691
1691
|
] }),
|
|
1692
1692
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1693
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1693
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "HH" }) }),
|
|
1695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: h, children: h }, h)) })
|
|
1696
1696
|
] }),
|
|
1697
1697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1698
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1698
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "MM" }) }),
|
|
1700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: m, children: m }, m)) })
|
|
1701
1701
|
] }),
|
|
1702
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1703
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1704
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1705
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1702
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1703
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "AM" }) }),
|
|
1704
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: [
|
|
1705
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "PM", children: "PM" })
|
|
1707
1707
|
] })
|
|
1708
1708
|
] })
|
|
1709
1709
|
] })
|
|
@@ -1845,9 +1845,9 @@ function DatePickerInputSimple(props) {
|
|
|
1845
1845
|
}
|
|
1846
1846
|
) })
|
|
1847
1847
|
] }),
|
|
1848
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1850
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1848
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1849
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1850
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1851
1851
|
] })
|
|
1852
1852
|
] });
|
|
1853
1853
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1866,14 +1866,14 @@ function DateFilterPanel({
|
|
|
1866
1866
|
className
|
|
1867
1867
|
}) {
|
|
1868
1868
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1869
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1870
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1869
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1870
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "gap-2", "aria-label": "Sort direction", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1871
1871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) })
|
|
1873
1873
|
] }) }),
|
|
1874
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1874
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: [
|
|
1875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "desc", children: descLabel })
|
|
1877
1877
|
] })
|
|
1878
1878
|
] }),
|
|
1879
1879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2332,7 +2332,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2332
2332
|
] });
|
|
2333
2333
|
}
|
|
2334
2334
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2335
|
-
const { copy, copied } =
|
|
2335
|
+
const { copy, copied } = _chunkVUWPLQBYcjs.useCopyToClipboard.call(void 0, );
|
|
2336
2336
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2337
2337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2338
2338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2606,7 +2606,7 @@ function CompactAssigneeDropdown({
|
|
|
2606
2606
|
"shrink-0 rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
2607
2607
|
className
|
|
2608
2608
|
),
|
|
2609
|
-
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2609
|
+
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2610
2610
|
_chunkJHQNUWFMcjs.SquareAvatar,
|
|
2611
2611
|
{
|
|
2612
2612
|
src: currentAssignee.avatarSrc,
|
|
@@ -2671,7 +2671,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2671
2671
|
if (isEditing) {
|
|
2672
2672
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2673
2673
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2674
|
-
|
|
2674
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
2675
2675
|
{
|
|
2676
2676
|
options,
|
|
2677
2677
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _35 => _35.id]), () => ( null)),
|
|
@@ -2683,7 +2683,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2683
2683
|
loading: isLoading,
|
|
2684
2684
|
showChevron: false,
|
|
2685
2685
|
startAdornment: hasAssignee ? currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2686
|
-
|
|
2686
|
+
_chunkAG4HR6Z6cjs.DeletedUserAvatar,
|
|
2687
2687
|
{
|
|
2688
2688
|
size: "sm",
|
|
2689
2689
|
className: "h-6 w-6",
|
|
@@ -2709,7 +2709,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2709
2709
|
if (hasAssignee) {
|
|
2710
2710
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", className), children: [
|
|
2711
2711
|
currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2712
|
-
|
|
2712
|
+
_chunkAG4HR6Z6cjs.DeletedUserAvatar,
|
|
2713
2713
|
{
|
|
2714
2714
|
size: "md",
|
|
2715
2715
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
@@ -2907,7 +2907,7 @@ function MediaTypeSelector({
|
|
|
2907
2907
|
// changed) and cost an extra render pass on every change to say what the
|
|
2908
2908
|
// prop already said.
|
|
2909
2909
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2910
|
-
|
|
2910
|
+
_chunk3GG3QAPTcjs.Select,
|
|
2911
2911
|
{
|
|
2912
2912
|
value: value || void 0,
|
|
2913
2913
|
onValueChange: (next) => {
|
|
@@ -2917,8 +2917,8 @@ function MediaTypeSelector({
|
|
|
2917
2917
|
disabled,
|
|
2918
2918
|
defaultValue: value,
|
|
2919
2919
|
children: [
|
|
2920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2921
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder }) }),
|
|
2921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
2922
2922
|
option.icon,
|
|
2923
2923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
2924
2924
|
] }) }, option.value)) })
|
|
@@ -4360,7 +4360,7 @@ function AdminFormDrawer({
|
|
|
4360
4360
|
"form",
|
|
4361
4361
|
{
|
|
4362
4362
|
id: formId,
|
|
4363
|
-
...
|
|
4363
|
+
..._chunkOXCGQV6Bcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4364
4364
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4365
4365
|
onSubmit: (e) => {
|
|
4366
4366
|
e.preventDefault();
|
|
@@ -4371,9 +4371,9 @@ function AdminFormDrawer({
|
|
|
4371
4371
|
e.preventDefault();
|
|
4372
4372
|
}
|
|
4373
4373
|
},
|
|
4374
|
-
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4375
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4376
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4374
|
+
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading", className: "flex flex-col gap-[var(--spacing-system-lf)]", children: SKELETON_FIELD_WIDTHS.map((labelWidth, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[var(--spacing-system-xsf)]", children: [
|
|
4375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: `h-4 ${labelWidth}` }),
|
|
4376
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full" })
|
|
4377
4377
|
] }, i)) }) : children
|
|
4378
4378
|
}
|
|
4379
4379
|
) }),
|
|
@@ -4467,7 +4467,7 @@ function AdminFormModal({
|
|
|
4467
4467
|
"form",
|
|
4468
4468
|
{
|
|
4469
4469
|
id: formId,
|
|
4470
|
-
...
|
|
4470
|
+
..._chunkOXCGQV6Bcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4471
4471
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4472
4472
|
onSubmit: (e) => {
|
|
4473
4473
|
e.preventDefault();
|
|
@@ -4487,9 +4487,9 @@ function AdminFormModal({
|
|
|
4487
4487
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4488
4488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRULLK7Ncjs.ModalContent, { children: loadingContent ? (
|
|
4489
4489
|
// The one announcement: a `loadingContent` with a region of its own takes `region={false}`.
|
|
4490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading", children: loadingContent })
|
|
4491
4491
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4492
|
-
|
|
4492
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
4493
4493
|
{
|
|
4494
4494
|
label: "Loading",
|
|
4495
4495
|
className: (
|
|
@@ -4501,8 +4501,8 @@ function AdminFormModal({
|
|
|
4501
4501
|
skeletonColumns === 2 ? "grid grid-cols-1 gap-[var(--spacing-system-xl)] lg:grid-cols-2" : "grid grid-cols-1 gap-[var(--spacing-system-xl)]"
|
|
4502
4502
|
),
|
|
4503
4503
|
children: Array.from({ length: skeletonColumns }, (_, col) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-[var(--spacing-system-lf)]", "aria-hidden": "true", children: SKELETON_FIELD_WIDTHS2.map((labelWidth, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[var(--spacing-system-xsf)]", children: [
|
|
4504
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: `h-4 ${labelWidth}` }),
|
|
4505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full" })
|
|
4506
4506
|
] }, i)) }, col))
|
|
4507
4507
|
}
|
|
4508
4508
|
) })
|
|
@@ -5604,7 +5604,7 @@ function TextHold({ children, variant = "bar", className }) {
|
|
|
5604
5604
|
// `box-decoration-clone` gives every line its own bar (and its own mask, `BAR_STYLE`). Pure CSS: it
|
|
5605
5605
|
// is drawn in the server's HTML, before any script runs (a loading state streamed by the server
|
|
5606
5606
|
// is often replaced before it hydrates).
|
|
5607
|
-
bar ? _chunk3ATAYP36cjs.cn.call(void 0,
|
|
5607
|
+
bar ? _chunk3ATAYP36cjs.cn.call(void 0, _chunkH3RYUTNDcjs.SKELETON_SURFACE_CLASS, "rounded-md box-decoration-clone text-transparent") : "invisible",
|
|
5608
5608
|
// A hold is never selectable or clickable, whatever it wraps.
|
|
5609
5609
|
"pointer-events-none select-none",
|
|
5610
5610
|
className
|
|
@@ -5693,7 +5693,7 @@ function EmbedLoadingSkeleton({
|
|
|
5693
5693
|
region = true
|
|
5694
5694
|
}) {
|
|
5695
5695
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5696
|
-
|
|
5696
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
5697
5697
|
{
|
|
5698
5698
|
className: "w-full overflow-hidden rounded-lg border border-ods-border",
|
|
5699
5699
|
height: height || "calc(100vh - 250px)",
|
|
@@ -5780,7 +5780,7 @@ function EmbedViewerFrame({
|
|
|
5780
5780
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5781
5781
|
_react.useEffect.call(void 0, () => {
|
|
5782
5782
|
if (!fullscreenControl) return void 0;
|
|
5783
|
-
const controller = new (0,
|
|
5783
|
+
const controller = new (0, _chunkOXCGQV6Bcjs.FullscreenSwitchController)({
|
|
5784
5784
|
target: () => frameRef.current,
|
|
5785
5785
|
onFullscreenChange: setIsFullscreen
|
|
5786
5786
|
});
|
|
@@ -5874,7 +5874,7 @@ var KIND_HEADING = {
|
|
|
5874
5874
|
design: "Claude Design"
|
|
5875
5875
|
};
|
|
5876
5876
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
5877
|
-
const { src: mirrorSrc, status } =
|
|
5877
|
+
const { src: mirrorSrc, status } = _chunkVUWPLQBYcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
5878
5878
|
const isProbing = status === "probing";
|
|
5879
5879
|
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkW2RM764Dcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
5880
5880
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -6091,15 +6091,15 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
6091
6091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative w-full", style: { height }, children: [
|
|
6092
6092
|
!loaded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 p-6", children: [
|
|
6093
6093
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 flex items-center space-x-3", children: [
|
|
6094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-full" }),
|
|
6095
6095
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
6096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-32 rounded" }),
|
|
6097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-24 rounded" })
|
|
6098
6098
|
] })
|
|
6099
6099
|
] }),
|
|
6100
6100
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
6101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
6102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" })
|
|
6103
6103
|
] })
|
|
6104
6104
|
] }),
|
|
6105
6105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -6159,7 +6159,7 @@ function MarkdownImage({ src, alt }) {
|
|
|
6159
6159
|
}, [src, transformImageSrc]);
|
|
6160
6160
|
if (!ratio) {
|
|
6161
6161
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6162
|
-
|
|
6162
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
6163
6163
|
{
|
|
6164
6164
|
as: "span",
|
|
6165
6165
|
className: "mx-auto my-2 block aspect-[3/2] w-full max-w-full rounded-lg",
|
|
@@ -6255,13 +6255,13 @@ var Favicon = ({ src, size = "w-6 h-6" }) => /* @__PURE__ */ _jsxruntime.jsx.cal
|
|
|
6255
6255
|
function OGLinkTileSkeleton() {
|
|
6256
6256
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-1.5 rounded-lg border border-ods-border bg-ods-card p-3", children: [
|
|
6257
6257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
6258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4 flex-shrink-0 rounded" }),
|
|
6259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 rounded" }),
|
|
6260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "ml-auto h-3 w-9 rounded" })
|
|
6261
6261
|
] }),
|
|
6262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3.5 w-full rounded" }),
|
|
6263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3.5 w-3/4 rounded" }),
|
|
6264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-5/6 rounded" })
|
|
6265
6265
|
] });
|
|
6266
6266
|
}
|
|
6267
6267
|
var OGLinkPreview = ({
|
|
@@ -6367,25 +6367,25 @@ var OGLinkPreview = ({
|
|
|
6367
6367
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _113 => _113.source]) === "placeholder";
|
|
6368
6368
|
const bgColor = _chunkI5MSCD57cjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6369
6369
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6370
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-full w-[200px] flex-shrink-0" }),
|
|
6371
6371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
6372
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6375
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-3/4 rounded" }),
|
|
6373
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-1 h-3 w-full rounded" }),
|
|
6374
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-3 w-2/3 rounded" }),
|
|
6375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/3 rounded" })
|
|
6376
6376
|
] })
|
|
6377
6377
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "block overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "relative aspect-video w-full overflow-hidden rounded-none" }),
|
|
6379
6379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-3", children: [
|
|
6380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6380
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mt-0.5 h-6 w-6 flex-shrink-0 rounded" }),
|
|
6381
6381
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6382
6382
|
[
|
|
6383
6383
|
["w-full", "w-3/4"],
|
|
6384
6384
|
["w-full", "w-5/6"]
|
|
6385
|
-
].map((widths) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2", children: widths.map((width) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[var(--font-line-space-h4-body)] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6385
|
+
].map((widths) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2", children: widths.map((width) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[var(--font-line-space-h4-body)] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: `h-4 ${width} rounded` }) }, width)) }, widths[1])),
|
|
6386
6386
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[var(--font-line-space-h4-body)] items-center gap-2", children: [
|
|
6387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { width: "6rem", height: "0.75rem", className: "rounded" }),
|
|
6388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { width: "5rem", height: "0.75rem", className: "rounded" })
|
|
6389
6389
|
] })
|
|
6390
6390
|
] })
|
|
6391
6391
|
] }) })
|
|
@@ -6402,7 +6402,7 @@ var OGLinkPreview = ({
|
|
|
6402
6402
|
children: [
|
|
6403
6403
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1.5 text-xs", children: [
|
|
6404
6404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { as: "span", className: "font-sans text-xs font-medium", children: name }),
|
|
6406
6406
|
meta != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto flex flex-none items-center gap-1.5 text-ods-text-secondary", children: meta })
|
|
6407
6407
|
] }),
|
|
6408
6408
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -6414,7 +6414,7 @@ var OGLinkPreview = ({
|
|
|
6414
6414
|
}
|
|
6415
6415
|
),
|
|
6416
6416
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6417
|
-
|
|
6417
|
+
_chunk3GG3QAPTcjs.TruncateText,
|
|
6418
6418
|
{
|
|
6419
6419
|
lines: 2,
|
|
6420
6420
|
className: "font-sans text-[15px] font-semibold leading-snug transition-colors group-hover:text-ods-accent",
|
|
@@ -6422,7 +6422,7 @@ var OGLinkPreview = ({
|
|
|
6422
6422
|
children: curatedTitle || domainToTitle(domain)
|
|
6423
6423
|
}
|
|
6424
6424
|
),
|
|
6425
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6425
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 2, tone: "secondary", className: "font-sans text-xs leading-normal", children: curatedDescription })
|
|
6426
6426
|
]
|
|
6427
6427
|
}
|
|
6428
6428
|
);
|
|
@@ -6555,8 +6555,8 @@ var OGLinkPreview = ({
|
|
|
6555
6555
|
children: [
|
|
6556
6556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: faviconSrc }) }),
|
|
6557
6557
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6559
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6559
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { tone: "secondary", children: description })
|
|
6560
6560
|
] }),
|
|
6561
6561
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6562
6562
|
]
|
|
@@ -6600,7 +6600,7 @@ var OGLinkPreview = ({
|
|
|
6600
6600
|
),
|
|
6601
6601
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6602
6602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6603
|
-
|
|
6603
|
+
_chunk3GG3QAPTcjs.TruncateText,
|
|
6604
6604
|
{
|
|
6605
6605
|
lines: 2,
|
|
6606
6606
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6609,7 +6609,7 @@ var OGLinkPreview = ({
|
|
|
6609
6609
|
}
|
|
6610
6610
|
),
|
|
6611
6611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6612
|
-
|
|
6612
|
+
_chunk3GG3QAPTcjs.TruncateText,
|
|
6613
6613
|
{
|
|
6614
6614
|
lines: 2,
|
|
6615
6615
|
tone: "secondary",
|
|
@@ -6619,9 +6619,9 @@ var OGLinkPreview = ({
|
|
|
6619
6619
|
}
|
|
6620
6620
|
),
|
|
6621
6621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-xs text-ods-text-secondary", children: [
|
|
6622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { as: "span", className: "text-xs font-medium text-current", children: effectiveData.siteName }),
|
|
6623
6623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6624
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { as: "span", className: "text-xs text-current", children: ogDomain }),
|
|
6625
6625
|
meta
|
|
6626
6626
|
] })
|
|
6627
6627
|
] })
|
|
@@ -6782,7 +6782,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6782
6782
|
};
|
|
6783
6783
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6784
6784
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6785
|
-
|
|
6785
|
+
_chunk35RU25PJcjs.Video,
|
|
6786
6786
|
{
|
|
6787
6787
|
url: item.src,
|
|
6788
6788
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -6819,7 +6819,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6819
6819
|
const mainImagePriority = Boolean(posterPriority && index === 0);
|
|
6820
6820
|
const imageLoaded = loadedImageSrc === rawSrc;
|
|
6821
6821
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-ods-bg", children: [
|
|
6822
|
-
!imageLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6822
|
+
!imageLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "absolute inset-0 z-[1] h-full rounded-none", "aria-hidden": true }),
|
|
6823
6823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6824
6824
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
6825
6825
|
{
|
|
@@ -6977,7 +6977,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
6977
6977
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
6978
6978
|
};
|
|
6979
6979
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
6980
|
-
const postLinkRel =
|
|
6980
|
+
const postLinkRel = _chunkEM4OEWCMcjs.renderedLinkRel.call(void 0, rel, true);
|
|
6981
6981
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
6982
6982
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
6983
6983
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7017,20 +7017,20 @@ function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
|
7017
7017
|
if (loading) {
|
|
7018
7018
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditContainer, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
7019
7019
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 flex items-center space-x-3", children: [
|
|
7020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7020
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-full" }),
|
|
7021
7021
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
7022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-32 rounded" }),
|
|
7023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-24 rounded" })
|
|
7024
7024
|
] })
|
|
7025
7025
|
] }),
|
|
7026
7026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 space-y-2", children: [
|
|
7027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
7028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" })
|
|
7029
7029
|
] }),
|
|
7030
7030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-4", children: [
|
|
7031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" }),
|
|
7032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" }),
|
|
7033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" })
|
|
7034
7034
|
] })
|
|
7035
7035
|
] }) });
|
|
7036
7036
|
}
|
|
@@ -7309,7 +7309,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7309
7309
|
] });
|
|
7310
7310
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7311
7311
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7312
|
-
const postLinkRel =
|
|
7312
|
+
const postLinkRel = _chunkEM4OEWCMcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7313
7313
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7314
7314
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7315
7315
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7343,20 +7343,20 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
|
7343
7343
|
if (loading) {
|
|
7344
7344
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TwitterContainer, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
7345
7345
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 flex items-center space-x-3", children: [
|
|
7346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7346
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-full" }),
|
|
7347
7347
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
7348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-32 rounded" }),
|
|
7349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-24 rounded" })
|
|
7350
7350
|
] })
|
|
7351
7351
|
] }),
|
|
7352
7352
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 space-y-2", children: [
|
|
7353
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
7354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" })
|
|
7355
7355
|
] }),
|
|
7356
7356
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-4", children: [
|
|
7357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7359
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" }),
|
|
7358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" }),
|
|
7359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" })
|
|
7360
7360
|
] })
|
|
7361
7361
|
] }) });
|
|
7362
7362
|
}
|
|
@@ -7511,7 +7511,7 @@ function buildRichEmbedOverrides({
|
|
|
7511
7511
|
ogEndpointPath,
|
|
7512
7512
|
textSizes
|
|
7513
7513
|
}) {
|
|
7514
|
-
const standard =
|
|
7514
|
+
const standard = _chunkEM4OEWCMcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7515
7515
|
return {
|
|
7516
7516
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7517
7517
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7521,7 +7521,7 @@ function buildRichEmbedOverrides({
|
|
|
7521
7521
|
const language = match ? match[1] : "";
|
|
7522
7522
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7523
7523
|
if (language === "youtube-embed") {
|
|
7524
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7524
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7525
7525
|
}
|
|
7526
7526
|
if (language === "reddit-embed") {
|
|
7527
7527
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7562,7 +7562,7 @@ function buildRichEmbedOverrides({
|
|
|
7562
7562
|
"data-figma-url": figmaUrl
|
|
7563
7563
|
} = divProps;
|
|
7564
7564
|
if (className === "youtube-embed" && videoId) {
|
|
7565
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7565
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "youtube", url: videoId });
|
|
7566
7566
|
}
|
|
7567
7567
|
if (className === "reddit-embed" && postUrl) {
|
|
7568
7568
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7647,14 +7647,14 @@ function buildRichEmbedOverrides({
|
|
|
7647
7647
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7648
7648
|
// elsewhere). Guard against empty `![]()`.
|
|
7649
7649
|
img: ({ src, alt }) => {
|
|
7650
|
-
if (!
|
|
7650
|
+
if (!_chunkEM4OEWCMcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7651
7651
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7652
7652
|
},
|
|
7653
7653
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7654
7654
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7655
7655
|
video: ({ src, poster, className }) => {
|
|
7656
|
-
if (!
|
|
7657
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7656
|
+
if (!_chunkEM4OEWCMcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7657
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7658
7658
|
}
|
|
7659
7659
|
};
|
|
7660
7660
|
}
|
|
@@ -7762,7 +7762,7 @@ var processShortcodes = (content) => {
|
|
|
7762
7762
|
try {
|
|
7763
7763
|
const urlObj = new URL(url);
|
|
7764
7764
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7765
|
-
const hostIs = (domain) =>
|
|
7765
|
+
const hostIs = (domain) => _chunkOXCGQV6Bcjs.hostMatches.call(void 0, hostname, domain);
|
|
7766
7766
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7767
7767
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7768
7768
|
return match;
|
|
@@ -7837,13 +7837,13 @@ var RichMarkdownInner = ({
|
|
|
7837
7837
|
},
|
|
7838
7838
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7839
7839
|
);
|
|
7840
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7840
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkEM4OEWCMcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7841
7841
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7842
7842
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7843
7843
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7844
7844
|
);
|
|
7845
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7846
|
-
|
|
7846
|
+
_chunkEM4OEWCMcjs.MarkdownEngine,
|
|
7847
7847
|
{
|
|
7848
7848
|
content,
|
|
7849
7849
|
className,
|
|
@@ -7865,7 +7865,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7865
7865
|
className = "",
|
|
7866
7866
|
sectionIds,
|
|
7867
7867
|
onInternalLinkClick,
|
|
7868
|
-
brokenLinks =
|
|
7868
|
+
brokenLinks = _chunkEM4OEWCMcjs.NO_BROKEN_LINKS,
|
|
7869
7869
|
currentPath,
|
|
7870
7870
|
resolveSource = "openframe-docs",
|
|
7871
7871
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8833,7 +8833,7 @@ function FilterModal({
|
|
|
8833
8833
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _147 => _147.defaultSort]), () => ( "desc"));
|
|
8834
8834
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _148 => _148.sort]), () => ( dateDefaultSort)));
|
|
8835
8835
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _149 => _149.range]));
|
|
8836
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8836
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkEM4OEWCMcjs.useScrollFade.call(void 0, );
|
|
8837
8837
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8838
8838
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8839
8839
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8901,15 +8901,15 @@ function FilterModal({
|
|
|
8901
8901
|
onScroll: updateFade,
|
|
8902
8902
|
className: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto md:py-3",
|
|
8903
8903
|
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: [0, 1].map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
8904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-24" }),
|
|
8905
8905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-md border border-ods-border", children: [0, 1, 2].map((row) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8906
8906
|
"div",
|
|
8907
8907
|
{
|
|
8908
8908
|
className: "flex items-center gap-3 border-b border-ods-border bg-ods-card px-4 py-3 last:border-b-0",
|
|
8909
8909
|
children: [
|
|
8910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-6 shrink-0 rounded-[6px]" }),
|
|
8911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 max-w-[60%] flex-1" }),
|
|
8912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-10 shrink-0" })
|
|
8913
8913
|
]
|
|
8914
8914
|
},
|
|
8915
8915
|
row
|
|
@@ -8979,8 +8979,8 @@ function FilterModal({
|
|
|
8979
8979
|
] })
|
|
8980
8980
|
}
|
|
8981
8981
|
),
|
|
8982
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8984
8984
|
] })
|
|
8985
8985
|
}
|
|
8986
8986
|
),
|
|
@@ -9046,7 +9046,7 @@ function renderAdvancedPageContainer({
|
|
|
9046
9046
|
};
|
|
9047
9047
|
const renderActions = () => {
|
|
9048
9048
|
if (!actions || actions.length === 0) return null;
|
|
9049
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9049
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9050
9050
|
};
|
|
9051
9051
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9052
9052
|
const paddingClasses = {
|
|
@@ -9069,14 +9069,14 @@ function renderAdvancedPageContainer({
|
|
|
9069
9069
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9070
9070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9071
9071
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9072
|
-
|
|
9072
|
+
_chunk3GG3QAPTcjs.BackButton,
|
|
9073
9073
|
{
|
|
9074
9074
|
onClick: backButton.onClick,
|
|
9075
9075
|
label: backButton.label,
|
|
9076
9076
|
className: "hidden content-md:inline-flex"
|
|
9077
9077
|
}
|
|
9078
9078
|
),
|
|
9079
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9079
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9080
9080
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9081
9081
|
] }),
|
|
9082
9082
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -9089,14 +9089,14 @@ function renderAdvancedPageContainer({
|
|
|
9089
9089
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9090
9090
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9091
9091
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9092
|
-
|
|
9092
|
+
_chunk3GG3QAPTcjs.BackButton,
|
|
9093
9093
|
{
|
|
9094
9094
|
onClick: backButton.onClick,
|
|
9095
9095
|
label: backButton.label,
|
|
9096
9096
|
className: "hidden content-md:inline-flex"
|
|
9097
9097
|
}
|
|
9098
9098
|
),
|
|
9099
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9099
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9100
9100
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9101
9101
|
] }),
|
|
9102
9102
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9109,14 +9109,14 @@ function renderAdvancedPageContainer({
|
|
|
9109
9109
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9110
9110
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9111
9111
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9112
|
-
|
|
9112
|
+
_chunk3GG3QAPTcjs.BackButton,
|
|
9113
9113
|
{
|
|
9114
9114
|
onClick: backButton.onClick,
|
|
9115
9115
|
label: backButton.label,
|
|
9116
9116
|
className: "hidden content-md:inline-flex"
|
|
9117
9117
|
}
|
|
9118
9118
|
),
|
|
9119
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9119
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) })
|
|
9120
9120
|
] }),
|
|
9121
9121
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
9122
9122
|
headerActions,
|
|
@@ -9126,7 +9126,7 @@ function renderAdvancedPageContainer({
|
|
|
9126
9126
|
}
|
|
9127
9127
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9128
9128
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9129
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children:
|
|
9129
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { className: "text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
9130
9130
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
9131
9131
|
] }),
|
|
9132
9132
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9459,7 +9459,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9459
9459
|
|
|
9460
9460
|
|
|
9461
9461
|
function PlatformBrowseButton({ item }) {
|
|
9462
|
-
const linkProps =
|
|
9462
|
+
const linkProps = _chunkEM4OEWCMcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9463
9463
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9464
9464
|
"Browse ",
|
|
9465
9465
|
item.buttonText
|
|
@@ -9763,7 +9763,7 @@ function DashboardInfoCard({
|
|
|
9763
9763
|
const renderPercentage = () => {
|
|
9764
9764
|
if (loading) {
|
|
9765
9765
|
if (!loadingShowsPercentage) return null;
|
|
9766
|
-
return percentageAsTag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9766
|
+
return percentageAsTag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-12 shrink-0 rounded-md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-12 rounded" }) });
|
|
9767
9767
|
}
|
|
9768
9768
|
if (percentage === void 0) return null;
|
|
9769
9769
|
if (percentageAsTag) {
|
|
@@ -9806,7 +9806,7 @@ function DashboardInfoCard({
|
|
|
9806
9806
|
}
|
|
9807
9807
|
if (loading) {
|
|
9808
9808
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: rings.map((ring) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9809
|
-
|
|
9809
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
9810
9810
|
{
|
|
9811
9811
|
variant: "circular",
|
|
9812
9812
|
width: ring.size,
|
|
@@ -9831,16 +9831,16 @@ function DashboardInfoCard({
|
|
|
9831
9831
|
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-8 shrink-0 items-center justify-center rounded-sm border border-ods-border bg-ods-bg p-[var(--spacing-system-xxs)] text-ods-text-primary content-md:size-14", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-4 items-center justify-center content-md:size-6 [&>*]:size-full", children: icon }) }),
|
|
9832
9832
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
9833
9833
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
9834
|
-
_nullishCoalesce(titleSlot, () => ( (title !== void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: title }) : loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9834
|
+
_nullishCoalesce(titleSlot, () => ( (title !== void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: title }) : loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-20 rounded" }) })))),
|
|
9835
9835
|
titleTag
|
|
9836
9836
|
] }),
|
|
9837
9837
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
9838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9839
|
-
loading ? loadingShowsSubValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-24 rounded" }) : formattedValue }),
|
|
9839
|
+
loading ? loadingShowsSubValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-16 rounded" }) }) : subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
9840
9840
|
renderPercentage(),
|
|
9841
9841
|
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
9842
9842
|
] }),
|
|
9843
|
-
caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-2 min-h-[2lh] text-ods-text-secondary text-h6", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9843
|
+
caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-2 min-h-[2lh] text-ods-text-secondary text-h6", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-32 rounded" }) : caption })
|
|
9844
9844
|
] }),
|
|
9845
9845
|
renderProgress()
|
|
9846
9846
|
] });
|
|
@@ -9926,10 +9926,10 @@ var OSTypeBadge = ({
|
|
|
9926
9926
|
if (!osType) {
|
|
9927
9927
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9928
9928
|
}
|
|
9929
|
-
const normalized =
|
|
9929
|
+
const normalized = _chunkOXCGQV6Bcjs.normalizeOSType.call(void 0, osType);
|
|
9930
9930
|
if (!normalized && !labelOnly) return null;
|
|
9931
|
-
const label =
|
|
9932
|
-
const IconComponent =
|
|
9931
|
+
const label = _chunkOXCGQV6Bcjs.getOSLabel.call(void 0, osType);
|
|
9932
|
+
const IconComponent = _chunkOXCGQV6Bcjs.getOSIcon.call(void 0, osType);
|
|
9933
9933
|
if (iconOnly && IconComponent) {
|
|
9934
9934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9935
9935
|
}
|
|
@@ -10086,10 +10086,10 @@ function DataAttribution({ icon, source, lastUpdated, action }) {
|
|
|
10086
10086
|
function DataAttributionSkeleton() {
|
|
10087
10087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: LINE_CLASS, "aria-hidden": "true", children: [
|
|
10088
10088
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ITEM_CLASS, children: [
|
|
10089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
10090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-40" })
|
|
10091
10091
|
] }),
|
|
10092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-52" })
|
|
10093
10093
|
] });
|
|
10094
10094
|
}
|
|
10095
10095
|
|
|
@@ -10170,7 +10170,7 @@ function ComplianceLogo({
|
|
|
10170
10170
|
fallback = null,
|
|
10171
10171
|
className
|
|
10172
10172
|
}) {
|
|
10173
|
-
const standard =
|
|
10173
|
+
const standard = _chunkOXCGQV6Bcjs.complianceStandardForName.call(void 0, ...names);
|
|
10174
10174
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10175
10175
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10176
10176
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10248,7 +10248,7 @@ function FeatureCardGrid({
|
|
|
10248
10248
|
if (allCardsHaveNoBorders) {
|
|
10249
10249
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10250
10250
|
}
|
|
10251
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10251
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10252
10252
|
const startIndex = rowIndex * itemsPerRow;
|
|
10253
10253
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10254
10254
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10282,7 +10282,7 @@ function FeatureCardGrid({
|
|
|
10282
10282
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10283
10283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10284
10284
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10285
|
-
|
|
10285
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
10286
10286
|
{
|
|
10287
10287
|
text: item.badge.text,
|
|
10288
10288
|
variant: item.badge.variant || "card",
|
|
@@ -10291,7 +10291,7 @@ function FeatureCardGrid({
|
|
|
10291
10291
|
)
|
|
10292
10292
|
] }),
|
|
10293
10293
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10294
|
-
|
|
10294
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
10295
10295
|
{
|
|
10296
10296
|
text: item.badge.text,
|
|
10297
10297
|
variant: item.badge.variant || "card",
|
|
@@ -10301,15 +10301,15 @@ function FeatureCardGrid({
|
|
|
10301
10301
|
item.media ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-lf)]", children: [
|
|
10302
10302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: item.media }),
|
|
10303
10303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
10304
|
-
item.eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: `text-ods-text-primary text-h2 ${titleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10306
|
-
item.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: `text-h4 ${accentClassName} ${subtitleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10304
|
+
item.eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-6 rounded" }) : item.eyebrow }),
|
|
10305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: `text-ods-text-primary text-h2 ${titleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-1/2 rounded" }) : item.title }),
|
|
10306
|
+
item.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: `text-h4 ${accentClassName} ${subtitleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-3/4 rounded" }) : item.subtitle }),
|
|
10307
10307
|
item.content
|
|
10308
10308
|
] })
|
|
10309
10309
|
] }) : item.eyebrow || item.subtitle ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
10310
|
-
item.eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10311
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: `whitespace-pre-line text-ods-text-primary text-h2 ${titleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10312
|
-
item.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: `text-h4 ${accentClassName} ${subtitleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10310
|
+
item.eyebrow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-6 rounded" }) : item.eyebrow }),
|
|
10311
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: `whitespace-pre-line text-ods-text-primary text-h2 ${titleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-1/2 rounded" }) : item.title }),
|
|
10312
|
+
item.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: `text-h4 ${accentClassName} ${subtitleClassName}`, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "block h-[1lh] w-3/4 rounded" }) : item.subtitle })
|
|
10313
10313
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "whitespace-pre-line text-ods-text-primary text-h2", children: item.title }),
|
|
10314
10314
|
!item.media && item.content,
|
|
10315
10315
|
item.footer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: item.footer })
|
|
@@ -10852,7 +10852,7 @@ function OrganizationCard({
|
|
|
10852
10852
|
}
|
|
10853
10853
|
),
|
|
10854
10854
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
10855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
10856
10856
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-2", children: [
|
|
10857
10857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
10858
10858
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10902,8 +10902,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10902
10902
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
10903
10903
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: resolvedIcon }),
|
|
10904
10904
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
10905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10906
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h3", children: title }),
|
|
10906
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
10907
10907
|
] })
|
|
10908
10908
|
] }),
|
|
10909
10909
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start whitespace-nowrap rounded-full border border-ods-border bg-ods-bg px-3 py-1 font-semibold text-ods-text-primary text-h6", children: tag.label })
|
|
@@ -10913,7 +10913,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10913
10913
|
}
|
|
10914
10914
|
function ServiceCardRowItem({ row }) {
|
|
10915
10915
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
10916
|
-
const { copy, copied } =
|
|
10916
|
+
const { copy, copied } = _chunkVUWPLQBYcjs.useCopyToClipboard.call(void 0, );
|
|
10917
10917
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkKTPR66EEcjs.useIsTruncated.call(void 0, row.value);
|
|
10918
10918
|
const actions = _react.useMemo.call(void 0,
|
|
10919
10919
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -11037,14 +11037,14 @@ function PersonCell({
|
|
|
11037
11037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11038
11038
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11039
11039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11040
|
-
|
|
11040
|
+
_chunk3GG3QAPTcjs.TruncateText,
|
|
11041
11041
|
{
|
|
11042
11042
|
variant: scale.primary,
|
|
11043
11043
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11044
11044
|
children: displayName
|
|
11045
11045
|
}
|
|
11046
11046
|
),
|
|
11047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11048
11048
|
] })
|
|
11049
11049
|
] });
|
|
11050
11050
|
if (!onClick) return row;
|
|
@@ -11127,44 +11127,44 @@ function ContentLoader({
|
|
|
11127
11127
|
region = true
|
|
11128
11128
|
}) {
|
|
11129
11129
|
const renderCardSkeleton = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11130
|
-
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11130
|
+
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-6 h-8 w-64 rounded" }),
|
|
11131
11131
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
11132
11132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-6 grid grid-cols-1 gap-6 content-md:grid-cols-4", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11133
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-20 rounded" }),
|
|
11134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-32 rounded" })
|
|
11135
11135
|
] }, i)) }),
|
|
11136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-64 rounded" }) })
|
|
11137
11137
|
] })
|
|
11138
11138
|
] });
|
|
11139
11139
|
const renderFormSkeleton = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11140
|
-
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11140
|
+
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-6 h-8 w-64 rounded" }),
|
|
11141
11141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11143
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-32 rounded" }),
|
|
11143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 rounded" })
|
|
11144
11144
|
] }, i)) }) })
|
|
11145
11145
|
] });
|
|
11146
11146
|
const renderDetailSkeleton = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11147
|
-
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11147
|
+
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-6 h-8 w-64 rounded" }),
|
|
11148
11148
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-lg:grid-cols-3", children: [
|
|
11149
11149
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:col-span-2", children: [
|
|
11150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-4 h-64 rounded" }),
|
|
11151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 rounded" }, i)) })
|
|
11152
11152
|
] }),
|
|
11153
11153
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
11154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-4 h-32 rounded" }),
|
|
11155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: items }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 rounded" }, i)) })
|
|
11156
11156
|
] })
|
|
11157
11157
|
] }) })
|
|
11158
11158
|
] });
|
|
11159
11159
|
const renderListSkeleton = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
11160
|
-
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11160
|
+
showTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-6 h-8 w-64 rounded" }),
|
|
11161
11161
|
Array.from({ length: items }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4", children: [
|
|
11162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded" }),
|
|
11163
11163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
11164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-3/4 rounded" }),
|
|
11165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2 rounded" })
|
|
11166
11166
|
] }),
|
|
11167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-20 rounded" })
|
|
11168
11168
|
] }) }, i))
|
|
11169
11169
|
] });
|
|
11170
11170
|
const renderSkeleton = () => {
|
|
@@ -11180,7 +11180,7 @@ function ContentLoader({
|
|
|
11180
11180
|
return renderCardSkeleton();
|
|
11181
11181
|
}
|
|
11182
11182
|
};
|
|
11183
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11183
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label, announce: region, className: _chunk3ATAYP36cjs.cn.call(void 0, "p-6", containerClassName), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, className), children: renderSkeleton() }) });
|
|
11184
11184
|
}
|
|
11185
11185
|
var CardLoader = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentLoader, { ...props, variant: "card" });
|
|
11186
11186
|
var FormLoader = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentLoader, { ...props, variant: "form" });
|
|
@@ -11496,8 +11496,8 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
|
|
|
11496
11496
|
getHideClasses(_optionalChain([meta, 'optionalAccess', _188 => _188.hideAt]))
|
|
11497
11497
|
),
|
|
11498
11498
|
children: [
|
|
11499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11500
|
-
index % 2 === 0 && column.id === firstColumnId && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-[var(--spacing-system-xxs)] h-5 w-3/4 rounded-sm" }),
|
|
11500
|
+
index % 2 === 0 && column.id === firstColumnId && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-1/2 rounded-sm opacity-60" })
|
|
11501
11501
|
]
|
|
11502
11502
|
},
|
|
11503
11503
|
column.id
|
|
@@ -11515,8 +11515,8 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
|
|
|
11515
11515
|
rowClassName
|
|
11516
11516
|
),
|
|
11517
11517
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-[var(--spacing-system-sf)]", children: [
|
|
11518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-[var(--spacing-system-xsf)] h-4 w-3/4 rounded-sm" }),
|
|
11519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2 rounded-sm opacity-60" })
|
|
11520
11520
|
] })
|
|
11521
11521
|
}
|
|
11522
11522
|
)
|
|
@@ -11787,7 +11787,7 @@ function TableHeader({
|
|
|
11787
11787
|
onFilterChange
|
|
11788
11788
|
}
|
|
11789
11789
|
),
|
|
11790
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11790
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11791
11791
|
] })
|
|
11792
11792
|
) : (
|
|
11793
11793
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11813,7 +11813,7 @@ function TableHeader({
|
|
|
11813
11813
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11814
11814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11815
11815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11817
11817
|
] })
|
|
11818
11818
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11819
11819
|
getSortIcon(column)
|
|
@@ -11876,14 +11876,14 @@ function TableCardSkeleton({
|
|
|
11876
11876
|
),
|
|
11877
11877
|
children: [
|
|
11878
11878
|
columns.map((column) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 flex-col justify-center", column.width || "flex-1"), children: [
|
|
11879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11880
|
-
index % 2 === 0 && column.key === primaryKey && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-1 h-5 w-3/4 rounded" }),
|
|
11880
|
+
index % 2 === 0 && column.key === primaryKey && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-1/2 rounded opacity-60" })
|
|
11881
11881
|
] }, column.key)),
|
|
11882
11882
|
hasActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center gap-2", !hasChevron && "ml-auto"), children: [
|
|
11883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded" }),
|
|
11884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-24 rounded" })
|
|
11885
11885
|
] }),
|
|
11886
|
-
hasChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-12 shrink-0 items-center justify-end", !hasActions && "ml-auto"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11886
|
+
hasChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-12 shrink-0 items-center justify-end", !hasActions && "ml-auto"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 rounded" }) })
|
|
11887
11887
|
]
|
|
11888
11888
|
}
|
|
11889
11889
|
),
|
|
@@ -11901,11 +11901,11 @@ function TableCardSkeleton({
|
|
|
11901
11901
|
),
|
|
11902
11902
|
children: [
|
|
11903
11903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 flex-1 flex-col justify-center", compact ? "py-0" : "py-3"), children: [
|
|
11904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-4 w-3/4 rounded" }),
|
|
11905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2 rounded opacity-60" })
|
|
11906
11906
|
] }),
|
|
11907
|
-
hasActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11908
|
-
hasChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11907
|
+
hasActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 shrink-0 rounded" }),
|
|
11908
|
+
hasChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 shrink-0 rounded" })
|
|
11909
11909
|
]
|
|
11910
11910
|
}
|
|
11911
11911
|
)
|
|
@@ -12335,7 +12335,7 @@ function Table({
|
|
|
12335
12335
|
}
|
|
12336
12336
|
),
|
|
12337
12337
|
!infiniteScroll && pagePagination && !cursorPagination && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-2 border-t border-ods-border pt-3", paginationClassName), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12338
|
-
|
|
12338
|
+
_chunk7OEVVMAUcjs.Pagination,
|
|
12339
12339
|
{
|
|
12340
12340
|
currentPage: pagePagination.currentPage,
|
|
12341
12341
|
totalPages: pagePagination.totalPages,
|
|
@@ -12495,13 +12495,13 @@ function QueryReportTableSkeleton({
|
|
|
12495
12495
|
}) {
|
|
12496
12496
|
const isCompact = variant === "compact";
|
|
12497
12497
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12498
|
-
|
|
12498
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
12499
12499
|
{
|
|
12500
12500
|
label: "Loading results",
|
|
12501
12501
|
announce: region,
|
|
12502
12502
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-xs)]", className),
|
|
12503
12503
|
children: [
|
|
12504
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-4 px-4", isCompact ? "border-b border-ods-border py-2" : ""), children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width: columnWidth, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-4 px-4", isCompact ? "border-b border-ods-border py-2" : ""), children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width: columnWidth, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" }) }, `header-${i}`)) }),
|
|
12505
12505
|
Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12506
12506
|
"div",
|
|
12507
12507
|
{
|
|
@@ -12509,7 +12509,7 @@ function QueryReportTableSkeleton({
|
|
|
12509
12509
|
isCompact ? "border-b border-ods-border" : "relative overflow-hidden rounded-[6px] border border-ods-border bg-ods-card"
|
|
12510
12510
|
),
|
|
12511
12511
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-4 px-4", isCompact ? "h-[56px]" : "h-[80px]"), children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", style: { width: columnWidth }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12512
|
-
|
|
12512
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
12513
12513
|
{
|
|
12514
12514
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "rounded", isCompact ? "h-4" : "h-5"),
|
|
12515
12515
|
width: `${55 + rowIndex * colIndex * 7 % 35}%`
|
|
@@ -12850,7 +12850,7 @@ function DataTableBody({
|
|
|
12850
12850
|
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => hasRows ? loadMore.registerRowsBody() : void 0, [loadMore, hasRows]);
|
|
12851
12851
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12852
12852
|
if (loading && !hasRows) {
|
|
12853
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12853
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading results", announce: loadingRegion, className: _chunk3ATAYP36cjs.cn.call(void 0, ROW_STACK_CLASSES, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12854
12854
|
DataTableSkeleton,
|
|
12855
12855
|
{
|
|
12856
12856
|
rows: skeletonRows,
|
|
@@ -13162,7 +13162,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13162
13162
|
// child of the cell.
|
|
13163
13163
|
_optionalChain([meta, 'optionalAccess', _235 => _235.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13164
13164
|
filterTrigger,
|
|
13165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13166
13166
|
] }) : filterTrigger
|
|
13167
13167
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13168
13168
|
"div",
|
|
@@ -13187,7 +13187,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13187
13187
|
// centred on the row.
|
|
13188
13188
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13189
13189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13191
13191
|
] })
|
|
13192
13192
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13193
13193
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13281,7 +13281,7 @@ function DataTableInfiniteFooter({
|
|
|
13281
13281
|
}, [hasNextPage, isFetchingNextPage, isStalled, rootMargin]);
|
|
13282
13282
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13283
13283
|
isFetchingNextPage && !bodyDrawsRows && // Busy, without a second status: the footer's own one below says "Loading more results".
|
|
13284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { status: false, className: ROW_STACK_CLASSES, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableSkeleton, { rows: skeletonRows }) }),
|
|
13285
13285
|
isStalled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-center pt-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", onClick: onLoadMore, children: "Load more" }) }),
|
|
13286
13286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "status", className: "sr-only", children: isFetchingNextPage ? "Loading more results" : "" }),
|
|
13287
13287
|
hasNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" })
|
|
@@ -13407,7 +13407,7 @@ function PhoneInput({
|
|
|
13407
13407
|
placeholder = "Phone Number (optional)",
|
|
13408
13408
|
onKeyDown
|
|
13409
13409
|
}) {
|
|
13410
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13410
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkOXCGQV6Bcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13411
13411
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13412
13412
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13413
13413
|
[countryCode, priority, others]
|
|
@@ -13422,7 +13422,7 @@ function PhoneInput({
|
|
|
13422
13422
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(false)]);
|
|
13423
13423
|
return;
|
|
13424
13424
|
}
|
|
13425
|
-
const invalid = !
|
|
13425
|
+
const invalid = !_chunkOXCGQV6Bcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13426
13426
|
setIsInvalid(invalid);
|
|
13427
13427
|
_optionalChain([onValidationChange, 'optionalCall', _249 => _249(invalid)]);
|
|
13428
13428
|
},
|
|
@@ -13442,7 +13442,7 @@ function PhoneInput({
|
|
|
13442
13442
|
}, []);
|
|
13443
13443
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13444
13444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13445
|
-
|
|
13445
|
+
_chunk3GG3QAPTcjs.Select,
|
|
13446
13446
|
{
|
|
13447
13447
|
value: countryCode,
|
|
13448
13448
|
onValueChange: (val) => {
|
|
@@ -13453,14 +13453,14 @@ function PhoneInput({
|
|
|
13453
13453
|
},
|
|
13454
13454
|
disabled,
|
|
13455
13455
|
children: [
|
|
13456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13457
13457
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13458
13458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13459
13459
|
] }) }) }),
|
|
13460
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13463
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13460
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectSeparator, {}),
|
|
13463
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13464
13464
|
] })
|
|
13465
13465
|
]
|
|
13466
13466
|
}
|
|
@@ -13492,7 +13492,7 @@ function PhoneInput({
|
|
|
13492
13492
|
] });
|
|
13493
13493
|
}
|
|
13494
13494
|
function CountryOption({ country }) {
|
|
13495
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13495
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13496
13496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13497
13497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13498
13498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13871,7 +13871,7 @@ function SearchInput({
|
|
|
13871
13871
|
)
|
|
13872
13872
|
] }),
|
|
13873
13873
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13874
|
-
|
|
13874
|
+
_chunk3GG3QAPTcjs.HiddenTagsPopup,
|
|
13875
13875
|
{
|
|
13876
13876
|
ref: hiddenTagsPopupRef,
|
|
13877
13877
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -14165,7 +14165,7 @@ function TagSearchInput({
|
|
|
14165
14165
|
}
|
|
14166
14166
|
),
|
|
14167
14167
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14168
|
-
|
|
14168
|
+
_chunk3GG3QAPTcjs.HiddenTagsPopup,
|
|
14169
14169
|
{
|
|
14170
14170
|
ref: hiddenTagsPopupRef,
|
|
14171
14171
|
items: hiddenTags,
|
|
@@ -14281,7 +14281,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14281
14281
|
),
|
|
14282
14282
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14283
14283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14284
|
-
|
|
14284
|
+
_chunkEM4OEWCMcjs.TabSelector,
|
|
14285
14285
|
{
|
|
14286
14286
|
label: "Search engines",
|
|
14287
14287
|
value: choice,
|
|
@@ -14338,7 +14338,7 @@ function useMarkdownLinkCommand() {
|
|
|
14338
14338
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14339
14339
|
icon: command.icon,
|
|
14340
14340
|
execute: (state, api) => {
|
|
14341
|
-
const existing =
|
|
14341
|
+
const existing = _chunkEM4OEWCMcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14342
14342
|
setPending(
|
|
14343
14343
|
existing ? {
|
|
14344
14344
|
api,
|
|
@@ -14369,7 +14369,7 @@ function useMarkdownLinkCommand() {
|
|
|
14369
14369
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _306 => _306.initial]), () => ( EMPTY_LINK)),
|
|
14370
14370
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _307 => _307.editing]), () => ( false)),
|
|
14371
14371
|
onSubmit: (link) => {
|
|
14372
|
-
if (pending) write(pending,
|
|
14372
|
+
if (pending) write(pending, _chunkEM4OEWCMcjs.formatMarkdownLink.call(void 0, link));
|
|
14373
14373
|
},
|
|
14374
14374
|
onRemove: () => {
|
|
14375
14375
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14521,7 +14521,7 @@ function MarkdownEditor({
|
|
|
14521
14521
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14522
14522
|
try {
|
|
14523
14523
|
const url = await onUploadFile(file);
|
|
14524
|
-
const isImage =
|
|
14524
|
+
const isImage = _chunk35RU25PJcjs.fileMediaType.call(void 0, file) === "image";
|
|
14525
14525
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14526
14526
|
insertTextAtCursor(markdown);
|
|
14527
14527
|
_optionalChain([onFileUploaded, 'optionalCall', _310 => _310(url, file.name)]);
|
|
@@ -14651,7 +14651,7 @@ function MarkdownEditor({
|
|
|
14651
14651
|
type: "file",
|
|
14652
14652
|
className: "hidden",
|
|
14653
14653
|
onChange: handleFileInputChange,
|
|
14654
|
-
accept: `${
|
|
14654
|
+
accept: `${_chunk35RU25PJcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14655
14655
|
}
|
|
14656
14656
|
),
|
|
14657
14657
|
!MDEditor && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-64 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin" }) }),
|
|
@@ -15053,7 +15053,7 @@ function matchesAccept2(file, accept) {
|
|
|
15053
15053
|
return patterns.some((pattern) => {
|
|
15054
15054
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15055
15055
|
if (pattern.endsWith("/*"))
|
|
15056
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15056
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunk35RU25PJcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15057
15057
|
return fileType === pattern;
|
|
15058
15058
|
});
|
|
15059
15059
|
}
|
|
@@ -15061,7 +15061,7 @@ function ImageUploader({
|
|
|
15061
15061
|
value,
|
|
15062
15062
|
onChange,
|
|
15063
15063
|
onRemove,
|
|
15064
|
-
accept =
|
|
15064
|
+
accept = _chunk35RU25PJcjs.IMAGE_FILE_ACCEPT,
|
|
15065
15065
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15066
15066
|
label = "Cover Image",
|
|
15067
15067
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -15633,7 +15633,7 @@ function TicketStatusConfigRow({
|
|
|
15633
15633
|
),
|
|
15634
15634
|
children: [
|
|
15635
15635
|
!isSystem && moveButtons,
|
|
15636
|
-
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15636
|
+
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15637
15637
|
"button",
|
|
15638
15638
|
{
|
|
15639
15639
|
type: "button",
|
|
@@ -15641,7 +15641,7 @@ function TicketStatusConfigRow({
|
|
|
15641
15641
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
15642
15642
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { size: 24 })
|
|
15643
15643
|
}
|
|
15644
|
-
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15644
|
+
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.TouchFriendlyTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15645
15645
|
_chunk2QMBXGMQcjs.Button,
|
|
15646
15646
|
{
|
|
15647
15647
|
type: "button",
|
|
@@ -15680,9 +15680,9 @@ var SKELETON_COLUMNS = 6;
|
|
|
15680
15680
|
function TestResultsSkeleton({
|
|
15681
15681
|
region = true
|
|
15682
15682
|
} = {}) {
|
|
15683
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15683
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded-sm" }) }, `skeleton-header-${i}`)) }),
|
|
15685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-3/4 rounded-sm" }) }, `skeleton-cell-${i}`)) }) })
|
|
15686
15686
|
] }) }) });
|
|
15687
15687
|
}
|
|
15688
15688
|
function TestResultsTable({ rows, loading }) {
|
|
@@ -15715,13 +15715,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
15715
15715
|
if (loading) {
|
|
15716
15716
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15717
15717
|
}
|
|
15718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
15719
15719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15720
15720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15721
15721
|
] }) }) });
|
|
15722
15722
|
}
|
|
15723
15723
|
function TestRunErrorBanner({ error, className }) {
|
|
15724
|
-
const { copy } =
|
|
15724
|
+
const { copy } = _chunkVUWPLQBYcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
15725
15725
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15726
15726
|
"div",
|
|
15727
15727
|
{
|
|
@@ -16198,7 +16198,7 @@ function TicketInfoSection({
|
|
|
16198
16198
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16199
16199
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
16200
16200
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16201
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16201
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16202
16202
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16203
16203
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16204
16204
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16224,7 +16224,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16224
16224
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
16225
16225
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16226
16226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVO7FALWcjs.ColorSwatch, { color }),
|
|
16227
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16227
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16228
16228
|
] }),
|
|
16229
16229
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16230
16230
|
] });
|
|
@@ -16234,7 +16234,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16234
16234
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
16235
16235
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16236
16236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16237
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16238
16238
|
] }),
|
|
16239
16239
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16240
16240
|
] });
|
|
@@ -16278,7 +16278,7 @@ function TakeOverTicketModal({
|
|
|
16278
16278
|
] }),
|
|
16279
16279
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16280
16280
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16281
|
-
|
|
16281
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
16282
16282
|
{
|
|
16283
16283
|
label: "Status",
|
|
16284
16284
|
options: statusOptions,
|
|
@@ -16290,7 +16290,7 @@ function TakeOverTicketModal({
|
|
|
16290
16290
|
}
|
|
16291
16291
|
) }),
|
|
16292
16292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16293
|
-
|
|
16293
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
16294
16294
|
{
|
|
16295
16295
|
label: "Assigned",
|
|
16296
16296
|
options: assigneeOptions,
|
|
@@ -16381,7 +16381,7 @@ function ReopenTicketModal({
|
|
|
16381
16381
|
] }),
|
|
16382
16382
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16383
16383
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16384
|
-
|
|
16384
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
16385
16385
|
{
|
|
16386
16386
|
label: "Status",
|
|
16387
16387
|
options: statusOptions,
|
|
@@ -16393,7 +16393,7 @@ function ReopenTicketModal({
|
|
|
16393
16393
|
}
|
|
16394
16394
|
) }),
|
|
16395
16395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16396
|
-
|
|
16396
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
16397
16397
|
{
|
|
16398
16398
|
label: "Assigned",
|
|
16399
16399
|
options: assigneeOptions,
|
|
@@ -16658,7 +16658,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16658
16658
|
gap: COLUMN_GAP_PX
|
|
16659
16659
|
};
|
|
16660
16660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16661
|
-
|
|
16661
|
+
_chunkEM4OEWCMcjs.MarqueeWall,
|
|
16662
16662
|
{
|
|
16663
16663
|
axis: "y",
|
|
16664
16664
|
reverse: index % 2 === 1,
|
|
@@ -16695,7 +16695,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
16695
16695
|
index
|
|
16696
16696
|
)) : Array.from({ length: columns }, (_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full flex-col overflow-hidden", style: { gap: COLUMN_GAP_PX }, children: (index % 2 === 0 ? ["tall", "wide", "square"] : ["wide", "tall", "wide"]).map(
|
|
16697
16697
|
(orientation, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16698
|
-
|
|
16698
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
16699
16699
|
{
|
|
16700
16700
|
className: "h-auto w-full shrink-0 rounded-lg",
|
|
16701
16701
|
style: { aspectRatio: PHOTO_WALL_FRAME[orientation] }
|
|
@@ -16739,7 +16739,7 @@ function FilterPillRow({
|
|
|
16739
16739
|
var noop = () => {
|
|
16740
16740
|
};
|
|
16741
16741
|
function FilterPillRowSkeleton({ label, pills = 5 }) {
|
|
16742
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FilterPillRow, { label, selectedValue: "", onValueChange: noop, options: [], children: Array.from({ length: pills }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16742
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FilterPillRow, { label, selectedValue: "", onValueChange: noop, options: [], children: Array.from({ length: pills }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-24 rounded" }, i)) });
|
|
16743
16743
|
}
|
|
16744
16744
|
|
|
16745
16745
|
// src/components/ui/lazy-mount.tsx
|
|
@@ -16904,7 +16904,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
16904
16904
|
"div",
|
|
16905
16905
|
{
|
|
16906
16906
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
16907
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
16907
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunk3GG3QAPTcjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
16908
16908
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16909
16909
|
"div",
|
|
16910
16910
|
{
|
|
@@ -17070,7 +17070,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17070
17070
|
};
|
|
17071
17071
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17072
17072
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17073
|
-
const labels =
|
|
17073
|
+
const labels = _chunkOXCGQV6Bcjs.trialLabels.call(void 0, trialDays);
|
|
17074
17074
|
return terms.flatMap((term) => {
|
|
17075
17075
|
const label = labels[term];
|
|
17076
17076
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17138,9 +17138,9 @@ function AnalyzingState({ label, className }) {
|
|
|
17138
17138
|
opacity
|
|
17139
17139
|
),
|
|
17140
17140
|
children: [
|
|
17141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17143
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-2 w-2 shrink-0 rounded-full bg-ods-flamingo-cyan", style: delay }),
|
|
17142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-2.5 min-w-0 flex-1", style: delay }),
|
|
17143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-2.5 w-12 shrink-0", style: delay })
|
|
17144
17144
|
]
|
|
17145
17145
|
},
|
|
17146
17146
|
opacity
|
|
@@ -17310,7 +17310,7 @@ function SnapCarousel({
|
|
|
17310
17310
|
}, [count, slideStep]);
|
|
17311
17311
|
const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
|
|
17312
17312
|
const playing = auto.playing && canAutoAdvance;
|
|
17313
|
-
const ranMs =
|
|
17313
|
+
const ranMs = _chunkVUWPLQBYcjs.useResumableTimeout.call(void 0, {
|
|
17314
17314
|
running: playing,
|
|
17315
17315
|
durationMs: autoAdvanceMs,
|
|
17316
17316
|
resetKey: index,
|
|
@@ -17671,10 +17671,10 @@ function AccountDetailsFields({
|
|
|
17671
17671
|
onKeyDown,
|
|
17672
17672
|
layout = "stacked"
|
|
17673
17673
|
}) {
|
|
17674
|
-
const firstNameErr =
|
|
17675
|
-
const lastNameErr =
|
|
17676
|
-
const passwordErr =
|
|
17677
|
-
const confirmErr =
|
|
17674
|
+
const firstNameErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _365 => _365.firstName]), firstName);
|
|
17675
|
+
const lastNameErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _366 => _366.lastName]), lastName);
|
|
17676
|
+
const passwordErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _367 => _367.password]), password);
|
|
17677
|
+
const confirmErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _368 => _368.confirmPassword]), confirmPassword);
|
|
17678
17678
|
const names = [
|
|
17679
17679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17680
17680
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -17931,7 +17931,7 @@ function SsoProviderButtons({
|
|
|
17931
17931
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
17932
17932
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
17933
17933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17934
|
-
|
|
17934
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
17935
17935
|
{
|
|
17936
17936
|
text: tag,
|
|
17937
17937
|
variant: "button",
|
|
@@ -17990,7 +17990,7 @@ function CompleteAccountForm({
|
|
|
17990
17990
|
),
|
|
17991
17991
|
children: [
|
|
17992
17992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17994
17994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17995
17995
|
] }),
|
|
17996
17996
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18121,9 +18121,9 @@ function CreateOrganizationForm({
|
|
|
18121
18121
|
}) {
|
|
18122
18122
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18123
18123
|
const fieldsDisabled = disabled || loading;
|
|
18124
|
-
const emailErr =
|
|
18125
|
-
const orgNameErr =
|
|
18126
|
-
const domainErr =
|
|
18124
|
+
const emailErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _370 => _370.email]), _nullishCoalesce(email, () => ( "")));
|
|
18125
|
+
const orgNameErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _371 => _371.organizationName]), organizationName);
|
|
18126
|
+
const domainErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _372 => _372.domain]), domain);
|
|
18127
18127
|
const handleKeyDown = (event) => {
|
|
18128
18128
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18129
18129
|
onSubmit();
|
|
@@ -18138,7 +18138,7 @@ function CreateOrganizationForm({
|
|
|
18138
18138
|
),
|
|
18139
18139
|
children: [
|
|
18140
18140
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18142
18142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18143
18143
|
] }),
|
|
18144
18144
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18279,7 +18279,7 @@ function InviteLinkInvalidModal({
|
|
|
18279
18279
|
),
|
|
18280
18280
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18281
18281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18283
18283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18284
18284
|
"button",
|
|
18285
18285
|
{
|
|
@@ -18342,7 +18342,7 @@ function LoginForm({
|
|
|
18342
18342
|
}) {
|
|
18343
18343
|
const fieldDisabled = disabled || loading;
|
|
18344
18344
|
const providersDisabled = fieldDisabled || ssoDisabled;
|
|
18345
|
-
const emailErr =
|
|
18345
|
+
const emailErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _379 => _379.email]), email);
|
|
18346
18346
|
const handleKeyDown = (event) => {
|
|
18347
18347
|
if (event.key !== "Enter" || event.repeat || fieldDisabled) return;
|
|
18348
18348
|
if (onSubmitClick) {
|
|
@@ -18360,7 +18360,7 @@ function LoginForm({
|
|
|
18360
18360
|
),
|
|
18361
18361
|
children: [
|
|
18362
18362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18364
18364
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18365
18365
|
] }),
|
|
18366
18366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18486,7 +18486,7 @@ function NoAccountNotice({
|
|
|
18486
18486
|
),
|
|
18487
18487
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18488
18488
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18490
18490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18491
18491
|
] }),
|
|
18492
18492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18519,8 +18519,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18519
18519
|
className
|
|
18520
18520
|
}) {
|
|
18521
18521
|
const fieldsDisabled = disabled || loading;
|
|
18522
|
-
const emailErr =
|
|
18523
|
-
const passwordErr =
|
|
18522
|
+
const emailErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _383 => _383.email]), email);
|
|
18523
|
+
const passwordErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _384 => _384.password]), password);
|
|
18524
18524
|
const handleKeyDown = (event) => {
|
|
18525
18525
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18526
18526
|
onSubmit();
|
|
@@ -18535,7 +18535,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18535
18535
|
),
|
|
18536
18536
|
children: [
|
|
18537
18537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18538
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18538
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18539
18539
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18540
18540
|
] }),
|
|
18541
18541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18625,7 +18625,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18625
18625
|
className
|
|
18626
18626
|
}) {
|
|
18627
18627
|
const fieldsDisabled = disabled || loading;
|
|
18628
|
-
const emailErr =
|
|
18628
|
+
const emailErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _385 => _385.email]), email);
|
|
18629
18629
|
const handleKeyDown = (event) => {
|
|
18630
18630
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18631
18631
|
onSubmit();
|
|
@@ -18640,7 +18640,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18640
18640
|
),
|
|
18641
18641
|
children: [
|
|
18642
18642
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18644
18644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18645
18645
|
] }),
|
|
18646
18646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18730,8 +18730,8 @@ function PasswordResetForm({
|
|
|
18730
18730
|
className
|
|
18731
18731
|
}) {
|
|
18732
18732
|
const fieldsDisabled = disabled || loading;
|
|
18733
|
-
const passwordErr =
|
|
18734
|
-
const confirmErr =
|
|
18733
|
+
const passwordErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _386 => _386.password]), password);
|
|
18734
|
+
const confirmErr = _chunkVUWPLQBYcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _387 => _387.confirmPassword]), confirmPassword);
|
|
18735
18735
|
const handleKeyDown = (event) => {
|
|
18736
18736
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18737
18737
|
onSubmit();
|
|
@@ -18746,7 +18746,7 @@ function PasswordResetForm({
|
|
|
18746
18746
|
),
|
|
18747
18747
|
children: [
|
|
18748
18748
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18750
18750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18751
18751
|
] }),
|
|
18752
18752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18863,7 +18863,7 @@ function SsoJoinForm({
|
|
|
18863
18863
|
),
|
|
18864
18864
|
children: [
|
|
18865
18865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk35RU25PJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18867
18867
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18868
18868
|
] }),
|
|
18869
18869
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -19125,7 +19125,7 @@ function ChangelogManager({
|
|
|
19125
19125
|
),
|
|
19126
19126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19127
19127
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19128
|
-
|
|
19128
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
19129
19129
|
{
|
|
19130
19130
|
variant: "button",
|
|
19131
19131
|
singleLine: true,
|
|
@@ -19189,9 +19189,9 @@ function ChangelogManager({
|
|
|
19189
19189
|
] }),
|
|
19190
19190
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19191
19191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19192
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19192
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: tagLabel }) }),
|
|
19194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19195
19195
|
] })
|
|
19196
19196
|
] })
|
|
19197
19197
|
] })
|
|
@@ -19388,7 +19388,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19388
19388
|
const label = (tag.name || "").toUpperCase();
|
|
19389
19389
|
if (basePath && tag.slug) {
|
|
19390
19390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19391
|
-
|
|
19391
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
19392
19392
|
{
|
|
19393
19393
|
text: label,
|
|
19394
19394
|
variant: "card",
|
|
@@ -19396,9 +19396,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19396
19396
|
}
|
|
19397
19397
|
) }, key);
|
|
19398
19398
|
}
|
|
19399
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19399
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19400
19400
|
}),
|
|
19401
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19401
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19402
19402
|
] });
|
|
19403
19403
|
}
|
|
19404
19404
|
|
|
@@ -19494,7 +19494,7 @@ var SectionButton = ({
|
|
|
19494
19494
|
}
|
|
19495
19495
|
),
|
|
19496
19496
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19497
|
-
|
|
19497
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
19498
19498
|
{
|
|
19499
19499
|
text: section.badge.text,
|
|
19500
19500
|
variant: section.badge.variant || "button",
|
|
@@ -19513,7 +19513,7 @@ var SectionButton = ({
|
|
|
19513
19513
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19514
19514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19515
19515
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19516
|
-
|
|
19516
|
+
_chunk35RU25PJcjs.StatusBadge,
|
|
19517
19517
|
{
|
|
19518
19518
|
text: section.badge.text,
|
|
19519
19519
|
variant: section.badge.variant || "button",
|
|
@@ -20586,15 +20586,15 @@ function useLoading() {
|
|
|
20586
20586
|
|
|
20587
20587
|
|
|
20588
20588
|
function isAlreadyThere(file, existing) {
|
|
20589
|
-
const key =
|
|
20589
|
+
const key = _chunk35RU25PJcjs.mediaNameKey.call(void 0, file.name);
|
|
20590
20590
|
if (!key) return false;
|
|
20591
20591
|
return existing.some(
|
|
20592
|
-
(item) => (item.title ?
|
|
20592
|
+
(item) => (item.title ? _chunk35RU25PJcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunk35RU25PJcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
20593
20593
|
);
|
|
20594
20594
|
}
|
|
20595
20595
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
20596
|
-
var isVideoItem = (item) =>
|
|
20597
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
20596
|
+
var isVideoItem = (item) => _chunk35RU25PJcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
20597
|
+
var MEDIA_KIND_ACCEPT = { image: _chunk35RU25PJcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunk35RU25PJcjs.MEDIA_FILE_ACCEPT };
|
|
20598
20598
|
var MEDIA_KIND_COPY = {
|
|
20599
20599
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
20600
20600
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20618,12 +20618,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20618
20618
|
const seen = /* @__PURE__ */ new Set();
|
|
20619
20619
|
const accepted = [];
|
|
20620
20620
|
for (const file of files) {
|
|
20621
|
-
const mediaType =
|
|
20621
|
+
const mediaType = _chunk35RU25PJcjs.fileMediaType.call(void 0, file);
|
|
20622
20622
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20623
20623
|
unsupported.push(file.name);
|
|
20624
20624
|
continue;
|
|
20625
20625
|
}
|
|
20626
|
-
const contentKey = await
|
|
20626
|
+
const contentKey = await _chunk35RU25PJcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20627
20627
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20628
20628
|
duplicates.push(file.name);
|
|
20629
20629
|
continue;
|
|
@@ -20804,7 +20804,7 @@ function MediaGalleryManager({
|
|
|
20804
20804
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
20805
20805
|
children: [
|
|
20806
20806
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20807
|
-
|
|
20807
|
+
_chunk35RU25PJcjs.Card,
|
|
20808
20808
|
{
|
|
20809
20809
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20810
20810
|
draggable: true,
|
|
@@ -20829,7 +20829,7 @@ function MediaGalleryManager({
|
|
|
20829
20829
|
) }),
|
|
20830
20830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
20831
20831
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
20832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
20833
20833
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20834
20834
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
20835
20835
|
{
|
|
@@ -20844,17 +20844,17 @@ function MediaGalleryManager({
|
|
|
20844
20844
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20845
20845
|
isVideoItem(item) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-5 w-5 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-5 w-5 text-ods-text-secondary" }),
|
|
20846
20846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20847
|
-
|
|
20847
|
+
_chunk3GG3QAPTcjs.Select,
|
|
20848
20848
|
{
|
|
20849
20849
|
value: item.media_type,
|
|
20850
20850
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
20851
20851
|
children: [
|
|
20852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20853
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20857
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20852
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
20853
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
20854
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "image", children: "Image" }),
|
|
20855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "video", children: "Video" }),
|
|
20856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
20857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "demo", children: "Demo" })
|
|
20858
20858
|
] })
|
|
20859
20859
|
]
|
|
20860
20860
|
}
|
|
@@ -20881,7 +20881,7 @@ function MediaGalleryManager({
|
|
|
20881
20881
|
},
|
|
20882
20882
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
20883
20883
|
)),
|
|
20884
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20884
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk35RU25PJcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
20885
20885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
20886
20886
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
20887
20887
|
] }, `pending-${name}-${index}`))
|
|
@@ -20933,60 +20933,60 @@ function CardSkeleton({
|
|
|
20933
20933
|
function VendorCardContent({ showMetadata }) {
|
|
20934
20934
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20935
20935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20937
20937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20938
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20939
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20938
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20940
20940
|
] })
|
|
20941
20941
|
] }),
|
|
20942
20942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20944
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20944
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20945
20945
|
] }) }),
|
|
20946
20946
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20947
20947
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20948
20948
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20949
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20951
20951
|
] }),
|
|
20952
20952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20953
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20954
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20955
20955
|
] })
|
|
20956
20956
|
] }),
|
|
20957
20957
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
20958
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20959
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20960
20960
|
] }) })
|
|
20961
20961
|
] })
|
|
20962
20962
|
] });
|
|
20963
20963
|
}
|
|
20964
20964
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20965
20965
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.CardImage, {}) }),
|
|
20967
20967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20968
20968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20971
20971
|
] }) }),
|
|
20972
20972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20974
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20975
20975
|
] }),
|
|
20976
20976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20978
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20978
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20979
20979
|
] }) }),
|
|
20980
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20980
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20981
20981
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
20982
20982
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20984
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20984
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20985
20985
|
] }),
|
|
20986
20986
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "circular", className: "h-1 w-1" }),
|
|
20989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20990
20990
|
] })
|
|
20991
20991
|
] }) })
|
|
20992
20992
|
] })
|
|
@@ -20994,17 +20994,17 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20994
20994
|
}
|
|
20995
20995
|
function AlternativeCardContent({ showActions }) {
|
|
20996
20996
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20998
20998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20999
20999
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
21000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21001
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21001
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21002
21002
|
] }),
|
|
21003
21003
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21005
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21005
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
21006
21006
|
] }),
|
|
21007
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21007
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
21008
21008
|
] })
|
|
21009
21009
|
] });
|
|
21010
21010
|
}
|
|
@@ -21017,7 +21017,7 @@ function CardSkeletonGrid({
|
|
|
21017
21017
|
...props
|
|
21018
21018
|
}) {
|
|
21019
21019
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21020
|
-
|
|
21020
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21021
21021
|
{
|
|
21022
21022
|
label: `Loading ${variant} cards`,
|
|
21023
21023
|
announce: region,
|
|
@@ -21038,12 +21038,12 @@ function CardSkeletonGrid({
|
|
|
21038
21038
|
|
|
21039
21039
|
function AnnouncementBarSkeleton() {
|
|
21040
21040
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative w-full bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex w-full flex-row items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative box-border flex w-full flex-row items-center justify-start gap-4 py-3 pl-4 pr-12 content-md:gap-6 content-md:py-4 content-md:pl-6 content-md:pr-16", children: [
|
|
21041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "relative h-6 w-6 shrink-0 rounded content-md:h-8 content-md:w-8" }),
|
|
21042
21042
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 space-y-1 content-md:space-y-2", children: [
|
|
21043
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[14px] w-3/4 max-w-md rounded content-md:h-[18px]" }),
|
|
21044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "hidden h-[12px] w-full max-w-lg rounded content-md:block content-md:h-[18px]" })
|
|
21045
21045
|
] }),
|
|
21046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "absolute right-2 top-2 h-6 w-6 rounded" })
|
|
21047
21047
|
] }) }) });
|
|
21048
21048
|
}
|
|
21049
21049
|
function HeroSkeleton() {
|
|
@@ -21055,12 +21055,12 @@ function HeroSkeleton() {
|
|
|
21055
21055
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
21056
21056
|
},
|
|
21057
21057
|
children: [
|
|
21058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
21059
21059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
21060
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21060
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
21061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
21062
21062
|
] }),
|
|
21063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
21064
21064
|
]
|
|
21065
21065
|
}
|
|
21066
21066
|
);
|
|
@@ -21071,14 +21071,14 @@ function SearchContainerSkeleton({
|
|
|
21071
21071
|
}) {
|
|
21072
21072
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
21073
21073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
21074
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
21075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
21076
21076
|
] }),
|
|
21077
21077
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
21078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21079
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, {}),
|
|
21079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
21080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
21081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
21082
21082
|
] })
|
|
21083
21083
|
] });
|
|
21084
21084
|
}
|
|
@@ -21097,7 +21097,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
21097
21097
|
{ type: "file", width: "w-36" }
|
|
21098
21098
|
];
|
|
21099
21099
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
21100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21100
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
21101
21101
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21102
21102
|
"div",
|
|
21103
21103
|
{
|
|
@@ -21107,12 +21107,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
21107
21107
|
),
|
|
21108
21108
|
children: [
|
|
21109
21109
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
21110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21111
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
21111
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
21112
21112
|
] }),
|
|
21113
21113
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
21114
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21115
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21114
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
21115
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
21116
21116
|
] })
|
|
21117
21117
|
]
|
|
21118
21118
|
},
|
|
@@ -21122,17 +21122,17 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
21122
21122
|
}
|
|
21123
21123
|
function BreadcrumbSkeleton({ className }) {
|
|
21124
21124
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
21125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21131
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
21126
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
21128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
21130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
21131
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
21132
21132
|
] });
|
|
21133
21133
|
}
|
|
21134
21134
|
function BreadcrumbLinkSkeleton({ className }) {
|
|
21135
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21135
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-block h-5 w-16", className) });
|
|
21136
21136
|
}
|
|
21137
21137
|
function ResultsHeaderSkeleton({ className }) {
|
|
21138
21138
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21142,7 +21142,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
21142
21142
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
21143
21143
|
className
|
|
21144
21144
|
),
|
|
21145
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21145
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
21146
21146
|
}
|
|
21147
21147
|
);
|
|
21148
21148
|
}
|
|
@@ -21156,7 +21156,7 @@ function TwoColumnLayoutSkeleton({
|
|
|
21156
21156
|
const sidebar = sidebarContent || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategorySidebarSkeleton, {});
|
|
21157
21157
|
const main = mainContent || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardSkeletonGrid, { count: 6, region: false });
|
|
21158
21158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21159
|
-
|
|
21159
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21160
21160
|
{
|
|
21161
21161
|
label: "Loading",
|
|
21162
21162
|
announce: region,
|
|
@@ -21177,7 +21177,7 @@ function TwoColumnLayoutSkeleton({
|
|
|
21177
21177
|
}
|
|
21178
21178
|
function ArticleLayoutSkeleton({ className, region = true }) {
|
|
21179
21179
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21180
|
-
|
|
21180
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21181
21181
|
{
|
|
21182
21182
|
label: "Loading the article",
|
|
21183
21183
|
as: "article",
|
|
@@ -21186,35 +21186,35 @@ function ArticleLayoutSkeleton({ className, region = true }) {
|
|
|
21186
21186
|
children: [
|
|
21187
21187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
21188
21188
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
21189
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, {}),
|
|
21190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
21191
21191
|
] }),
|
|
21192
21192
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
21194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
21195
21195
|
] }),
|
|
21196
21196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
21197
21197
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21198
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21199
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
21199
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
21200
21200
|
] }),
|
|
21201
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
21202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21203
21203
|
] })
|
|
21204
21204
|
] }),
|
|
21205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
21206
21206
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
21207
21207
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
21211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21212
21212
|
] }, index)),
|
|
21213
21213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
21214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
21215
21215
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
21218
21218
|
] })
|
|
21219
21219
|
] })
|
|
21220
21220
|
] })
|
|
@@ -21224,7 +21224,7 @@ function ArticleLayoutSkeleton({ className, region = true }) {
|
|
|
21224
21224
|
}
|
|
21225
21225
|
function VendorDetailLayoutSkeleton({ className, region = true }) {
|
|
21226
21226
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21227
|
-
|
|
21227
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21228
21228
|
{
|
|
21229
21229
|
label: "Loading the vendor",
|
|
21230
21230
|
as: "main",
|
|
@@ -21236,191 +21236,191 @@ function VendorDetailLayoutSkeleton({ className, region = true }) {
|
|
|
21236
21236
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
21237
21237
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-10", children: [
|
|
21238
21238
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 flex gap-6", children: [
|
|
21239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-20 w-20 flex-shrink-0 rounded-lg border border-ods-border" }),
|
|
21240
21240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3", children: [
|
|
21241
21241
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
21242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-80 max-w-full rounded content-md:h-16 content-lg:h-20" }),
|
|
21243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-32 rounded content-md:h-6" })
|
|
21244
21244
|
] }),
|
|
21245
21245
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21246
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21246
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-20 rounded" }),
|
|
21247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-16 rounded" })
|
|
21248
21248
|
] })
|
|
21249
21249
|
] })
|
|
21250
21250
|
] }),
|
|
21251
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-[300px] w-full rounded-lg border border-ods-border content-md:h-[400px] content-lg:h-[500px]" }),
|
|
21252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mx-auto h-4 w-24 rounded" }) })
|
|
21253
21253
|
] }),
|
|
21254
21254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-10 content-lg:hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21256
21256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" })
|
|
21259
21259
|
] }),
|
|
21260
21260
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden rounded-lg border border-ods-border", children: [
|
|
21261
21261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 bg-ods-card p-4", children: [
|
|
21262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 rounded" }),
|
|
21263
21263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
21264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-20 rounded" }),
|
|
21265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-12 rounded" })
|
|
21266
21266
|
] })
|
|
21267
21267
|
] }),
|
|
21268
21268
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 p-4", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }),
|
|
21270
21270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end gap-1", children: [
|
|
21271
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21272
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-12 rounded" }),
|
|
21272
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-8 rounded" })
|
|
21273
21273
|
] })
|
|
21274
21274
|
] }, i)) })
|
|
21275
21275
|
] }),
|
|
21276
21276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21279
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21277
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21279
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" })
|
|
21280
21280
|
] })
|
|
21281
21281
|
] }) }),
|
|
21282
21282
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21283
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21283
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-48 rounded content-md:h-10" }),
|
|
21284
21284
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4", children: [
|
|
21285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-48 rounded" }),
|
|
21286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded-lg border border-ods-border" }, i)) })
|
|
21287
21287
|
] }),
|
|
21288
21288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4", children: [
|
|
21289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-52 rounded" }),
|
|
21290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-28 rounded-lg border border-ods-border" }, i)) })
|
|
21291
21291
|
] })
|
|
21292
21292
|
] }),
|
|
21293
21293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-64 rounded content-md:h-10" }),
|
|
21295
21295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6 content-md:p-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 rounded" }),
|
|
21297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 rounded" }),
|
|
21298
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-5/6 rounded" }),
|
|
21299
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-4/5 rounded" })
|
|
21300
21300
|
] }) })
|
|
21301
21301
|
] }),
|
|
21302
21302
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21303
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21303
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-72 rounded content-md:h-10" }),
|
|
21304
21304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
21305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 flex-shrink-0 rounded" }),
|
|
21306
21306
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21307
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21307
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-3/4 rounded" }),
|
|
21308
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 rounded" })
|
|
21309
21309
|
] })
|
|
21310
21310
|
] }, i)) })
|
|
21311
21311
|
] }),
|
|
21312
21312
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21313
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-80 rounded content-md:h-10" }),
|
|
21314
21314
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-lg:grid-cols-2", children: [
|
|
21315
21315
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-6", children: [
|
|
21316
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21316
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-16 rounded" }),
|
|
21317
21317
|
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
21318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 flex-shrink-0 rounded border border-ods-border" }),
|
|
21319
21319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-2/3 rounded" }),
|
|
21321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 rounded" })
|
|
21322
21322
|
] })
|
|
21323
21323
|
] }, i))
|
|
21324
21324
|
] }),
|
|
21325
21325
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-6", children: [
|
|
21326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-16 rounded" }),
|
|
21327
21327
|
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
21328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 flex-shrink-0 rounded border border-ods-border" }),
|
|
21329
21329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-2/3 rounded" }),
|
|
21331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 rounded" })
|
|
21332
21332
|
] })
|
|
21333
21333
|
] }, i))
|
|
21334
21334
|
] })
|
|
21335
21335
|
] })
|
|
21336
21336
|
] }),
|
|
21337
21337
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-72 rounded content-md:h-10" }),
|
|
21339
21339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
21340
21340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
21341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-16 flex-shrink-0 rounded-lg border border-ods-border" }),
|
|
21342
21342
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-3/4 rounded" }),
|
|
21344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-1/2 rounded" })
|
|
21345
21345
|
] }),
|
|
21346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21346
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-20 rounded" })
|
|
21347
21347
|
] }),
|
|
21348
21348
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 rounded" }),
|
|
21350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-5/6 rounded" }),
|
|
21351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4/5 rounded" })
|
|
21352
21352
|
] }),
|
|
21353
21353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between border-t border-ods-border pt-2", children: [
|
|
21354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded" }),
|
|
21355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-20 rounded" })
|
|
21356
21356
|
] })
|
|
21357
21357
|
] }, i)) }),
|
|
21358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-md" })
|
|
21359
21359
|
] }),
|
|
21360
21360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-20 flex flex-col gap-6", children: [
|
|
21361
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-64 rounded content-md:h-10" }),
|
|
21362
21362
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3", children: [
|
|
21363
21363
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 overflow-hidden rounded-lg border border-ods-border bg-ods-bg", children: [
|
|
21364
21364
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "border-b border-ods-border p-3", children: [
|
|
21365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-3 w-8 rounded" }),
|
|
21366
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-full rounded" })
|
|
21367
21367
|
] }),
|
|
21368
21368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
21369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-3 w-16 rounded" }),
|
|
21370
21370
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21371
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21372
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21371
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
21372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" }),
|
|
21373
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-1/2 rounded" })
|
|
21374
21374
|
] })
|
|
21375
21375
|
] })
|
|
21376
21376
|
] }),
|
|
21377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-stretch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-stretch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[120px] w-20 rounded-lg" }) })
|
|
21378
21378
|
] }) }),
|
|
21379
21379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
21380
21380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex flex-col gap-3 min-[420px]:flex-row min-[420px]:items-center min-[420px]:justify-between min-[420px]:gap-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21381
21381
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 rounded-lg border border-ods-border bg-ods-card px-3 py-2", children: [
|
|
21382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 rounded-lg" }),
|
|
21383
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-20 rounded" })
|
|
21384
21384
|
] }),
|
|
21385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-12 rounded" })
|
|
21386
21386
|
] }) }),
|
|
21387
21387
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-2/3 rounded" }),
|
|
21389
21389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
21391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4/5 rounded" }),
|
|
21392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/5 rounded" })
|
|
21393
21393
|
] })
|
|
21394
21394
|
] })
|
|
21395
21395
|
] }, i)) })
|
|
21396
21396
|
] })
|
|
21397
21397
|
] }),
|
|
21398
21398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden w-[290px] flex-shrink-0 content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21399
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21400
21400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21402
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21402
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" })
|
|
21403
21403
|
] }),
|
|
21404
21404
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden rounded-lg border border-ods-border", children: [
|
|
21405
21405
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 bg-ods-card p-4", children: [
|
|
21406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8 rounded" }),
|
|
21407
21407
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
21408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21409
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-20 rounded" }),
|
|
21409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-12 rounded" })
|
|
21410
21410
|
] })
|
|
21411
21411
|
] }),
|
|
21412
21412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 p-4", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-6 rounded" }),
|
|
21414
21414
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end gap-1", children: [
|
|
21415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21416
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-12 rounded" }),
|
|
21416
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-8 rounded" })
|
|
21417
21417
|
] })
|
|
21418
21418
|
] }, i)) })
|
|
21419
21419
|
] }),
|
|
21420
21420
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" }),
|
|
21423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 rounded-lg border border-ods-border" })
|
|
21424
21424
|
] })
|
|
21425
21425
|
] }) })
|
|
21426
21426
|
] })
|
|
@@ -21439,11 +21439,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
21439
21439
|
className
|
|
21440
21440
|
),
|
|
21441
21441
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21443
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
21443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21444
21444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21447
21447
|
] })
|
|
21448
21448
|
] }) }, i))
|
|
21449
21449
|
}
|
|
@@ -21465,63 +21465,63 @@ function VendorGridSkeleton({ className, region = true }) {
|
|
|
21465
21465
|
}
|
|
21466
21466
|
function SlackCommunitySkeleton({ region = true } = {}) {
|
|
21467
21467
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21468
|
-
|
|
21468
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21469
21469
|
{
|
|
21470
21470
|
label: "Loading the Slack community",
|
|
21471
21471
|
as: "section",
|
|
21472
21472
|
announce: region,
|
|
21473
21473
|
className: "w-full bg-ods-bg px-4 py-12 content-md:px-20 content-md:py-20 content-lg:px-20",
|
|
21474
21474
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-4 content-md:gap-6", children: [
|
|
21475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21475
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 max-w-md rounded-lg content-md:h-12 content-lg:h-14" }) }),
|
|
21476
21476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-4 content-md:gap-6 content-lg:flex-row content-lg:items-start content-lg:justify-end", children: [
|
|
21477
21477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-col overflow-hidden rounded border border-ods-border bg-ods-bg content-lg:w-[290px] content-lg:max-w-[290px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4", children: [
|
|
21478
21478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
21479
21479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
21480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21480
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-24 rounded" }),
|
|
21481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" })
|
|
21482
21482
|
] }),
|
|
21483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21483
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-32 rounded" })
|
|
21484
21484
|
] }),
|
|
21485
21485
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
21486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-3 w-16 rounded" }),
|
|
21487
21487
|
Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[48px] items-center gap-2 px-2 py-3", children: [
|
|
21488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" }),
|
|
21489
21489
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
21490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-1 h-3 w-24 rounded" }),
|
|
21491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-2 w-16 rounded" })
|
|
21492
21492
|
] })
|
|
21493
21493
|
] }, i))
|
|
21494
21494
|
] }),
|
|
21495
21495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 border-t border-ods-border pt-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21496
21496
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex justify-between", children: [
|
|
21497
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21498
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" }),
|
|
21498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-8 rounded" })
|
|
21499
21499
|
] }),
|
|
21500
21500
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex justify-between", children: [
|
|
21501
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21501
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 rounded" }),
|
|
21502
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-8 rounded" })
|
|
21503
21503
|
] })
|
|
21504
21504
|
] }) })
|
|
21505
21505
|
] }) }),
|
|
21506
21506
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[450px] min-h-[450px] min-w-0 flex-1 flex-col rounded-lg border border-ods-border bg-ods-card content-md:h-[500px] content-md:min-h-[500px] content-lg:h-[600px] content-lg:min-h-[600px]", children: [
|
|
21507
21507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[56px] flex-shrink-0 items-center justify-between border-b border-ods-border bg-ods-bg p-4 content-md:h-[60px] content-md:p-6", children: [
|
|
21508
21508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-3 rounded content-md:h-4 content-md:w-4" }),
|
|
21510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-24 rounded content-md:h-4 content-md:w-32" })
|
|
21511
21511
|
] }),
|
|
21512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-12 rounded content-md:w-16" })
|
|
21513
21513
|
] }),
|
|
21514
21514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[280px] flex-1 space-y-3 overflow-hidden bg-ods-bg p-4 content-md:min-h-[320px] content-md:space-y-4 content-md:p-6 content-lg:min-h-[420px]", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: [
|
|
21515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21515
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-10 flex-shrink-0 rounded-lg content-md:h-12 content-md:w-12" }),
|
|
21516
21516
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
21517
21517
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
21518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded content-md:w-20" }),
|
|
21519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-12 rounded content-md:w-16" })
|
|
21520
21520
|
] }),
|
|
21521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-full rounded content-md:h-4" })
|
|
21522
21522
|
] })
|
|
21523
21523
|
] }, i)) }),
|
|
21524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[72px] flex-shrink-0 border-t border-ods-border bg-ods-card p-4 content-md:h-[80px] content-md:p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-end justify-center gap-3 content-md:justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[72px] flex-shrink-0 border-t border-ods-border bg-ods-card p-4 content-md:h-[80px] content-md:p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-end justify-center gap-3 content-md:justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-28 rounded-lg content-md:h-12 content-md:w-32" }) }) })
|
|
21525
21525
|
] })
|
|
21526
21526
|
] })
|
|
21527
21527
|
] })
|
|
@@ -21551,7 +21551,7 @@ function ContentLoadingContainer({
|
|
|
21551
21551
|
isLoading && // The one announcement for this content: a `skeletonComponent` that has a region of its own
|
|
21552
21552
|
// takes `region={false}`.
|
|
21553
21553
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21554
|
-
|
|
21554
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21555
21555
|
{
|
|
21556
21556
|
label: "Loading content",
|
|
21557
21557
|
className: "absolute inset-0 z-10 bg-ods-bg",
|
|
@@ -21598,18 +21598,18 @@ function useContentLoading(isLoading) {
|
|
|
21598
21598
|
// src/components/profile/ProfileLoadingSkeleton.tsx
|
|
21599
21599
|
|
|
21600
21600
|
function ProfileLoadingSkeleton({ region = true, className }) {
|
|
21601
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21601
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the profile", announce: region, className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
21602
21602
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-4", children: [
|
|
21603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-16 rounded-full" }),
|
|
21604
21604
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21606
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-32 rounded" }),
|
|
21606
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-24 rounded" })
|
|
21607
21607
|
] })
|
|
21608
21608
|
] }),
|
|
21609
21609
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-full rounded" }),
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded" }),
|
|
21612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-1/2 rounded" })
|
|
21613
21613
|
] })
|
|
21614
21614
|
] });
|
|
21615
21615
|
}
|
|
@@ -21618,19 +21618,19 @@ function ProfileLoadingSkeleton({ region = true, className }) {
|
|
|
21618
21618
|
|
|
21619
21619
|
function MspProfileFormSkeleton({ region = true, className, fields = 4 }) {
|
|
21620
21620
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21621
|
-
|
|
21621
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21622
21622
|
{
|
|
21623
21623
|
label: "Loading the MSP profile",
|
|
21624
21624
|
announce: region,
|
|
21625
21625
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 items-stretch gap-6 content-md:grid-cols-2", className),
|
|
21626
21626
|
children: [
|
|
21627
21627
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21629
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21629
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg" }) })
|
|
21630
21630
|
] }),
|
|
21631
21631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
21632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21633
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Input, {})
|
|
21634
21634
|
] }, idx)) })
|
|
21635
21635
|
]
|
|
21636
21636
|
}
|
|
@@ -21641,7 +21641,7 @@ function MspProfileFormSkeleton({ region = true, className, fields = 4 }) {
|
|
|
21641
21641
|
|
|
21642
21642
|
function SettingsFormSkeleton({ region = true, cards = [2, 3, 2, 2], className }) {
|
|
21643
21643
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21644
|
-
|
|
21644
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21645
21645
|
{
|
|
21646
21646
|
label: "Loading settings",
|
|
21647
21647
|
announce: region,
|
|
@@ -21653,21 +21653,21 @@ function SettingsFormSkeleton({ region = true, cards = [2, 3, 2, 2], className }
|
|
|
21653
21653
|
className: "space-y-[var(--spacing-system-lf)] rounded-lg border border-ods-border bg-ods-card p-[var(--spacing-system-lf)]",
|
|
21654
21654
|
children: [
|
|
21655
21655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21656
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21657
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21656
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "mb-[var(--spacing-system-xsf)] w-32" }),
|
|
21657
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-full max-w-md" })
|
|
21658
21658
|
] }),
|
|
21659
21659
|
Array.from({ length: fields }, (_, fieldIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[var(--spacing-system-xsf)]", children: [
|
|
21660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-40" }),
|
|
21661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-full max-w-lg" }),
|
|
21662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full rounded-md" })
|
|
21663
21663
|
] }, `settings-field-${cardIndex}-${fieldIndex}`))
|
|
21664
21664
|
]
|
|
21665
21665
|
},
|
|
21666
21666
|
`settings-card-${cardIndex}`
|
|
21667
21667
|
)),
|
|
21668
21668
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
21669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.InteractiveSkeleton.Button, { className: "w-32" }),
|
|
21670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-64" })
|
|
21671
21671
|
] })
|
|
21672
21672
|
]
|
|
21673
21673
|
}
|
|
@@ -21685,13 +21685,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21685
21685
|
className
|
|
21686
21686
|
),
|
|
21687
21687
|
children: [
|
|
21688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21688
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0" }, i)) }),
|
|
21689
21689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21692
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" })
|
|
21693
21693
|
] }),
|
|
21694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]" }) })
|
|
21695
21695
|
]
|
|
21696
21696
|
}
|
|
21697
21697
|
);
|
|
@@ -21705,19 +21705,19 @@ function CategoryVendorSelectorSkeleton({
|
|
|
21705
21705
|
className
|
|
21706
21706
|
}) {
|
|
21707
21707
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21708
|
-
|
|
21708
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21709
21709
|
{
|
|
21710
21710
|
label: "Loading categories",
|
|
21711
21711
|
announce: region,
|
|
21712
21712
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "rounded-lg border border-ods-border bg-ods-card p-6", className),
|
|
21713
21713
|
children: [
|
|
21714
21714
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21716
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21717
21717
|
] }),
|
|
21718
21718
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21719
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21721
21721
|
] }, idx)) })
|
|
21722
21722
|
]
|
|
21723
21723
|
}
|
|
@@ -21727,15 +21727,15 @@ function CategoryVendorSelectorSkeleton({
|
|
|
21727
21727
|
// src/components/loading/wizard-layout-skeleton.tsx
|
|
21728
21728
|
|
|
21729
21729
|
function WizardLayoutSkeleton({ region = true, steps = 6, className }) {
|
|
21730
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21730
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the wizard", announce: region, className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
21731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21732
21732
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21733
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21733
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21734
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21735
21735
|
] }),
|
|
21736
21736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21738
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21739
21739
|
] })
|
|
21740
21740
|
] });
|
|
21741
21741
|
}
|
|
@@ -21749,7 +21749,7 @@ function MarginReportSkeleton({
|
|
|
21749
21749
|
overlayContent
|
|
21750
21750
|
}) {
|
|
21751
21751
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21752
|
-
|
|
21752
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21753
21753
|
{
|
|
21754
21754
|
label: "Loading the report",
|
|
21755
21755
|
as: "main",
|
|
@@ -21758,38 +21758,38 @@ function MarginReportSkeleton({
|
|
|
21758
21758
|
children: [
|
|
21759
21759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mx-auto max-w-[1920px] space-y-10 px-6 py-6 content-md:px-20 content-md:py-10", children: [
|
|
21760
21760
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-72 rounded", animate }),
|
|
21762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-80 rounded", animate })
|
|
21763
21763
|
] }),
|
|
21764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-32 rounded border border-ods-border", animate }, i)) }),
|
|
21765
21765
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2", children: [
|
|
21766
21766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
21767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21767
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-14 w-14 rounded-lg", animate }),
|
|
21768
21768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded", animate }),
|
|
21770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2 rounded", animate })
|
|
21771
21771
|
] })
|
|
21772
21772
|
] }),
|
|
21773
21773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
21774
21774
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
21775
21775
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-10 rounded-lg", animate }),
|
|
21777
21777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-32 rounded", animate }),
|
|
21779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 rounded", animate })
|
|
21780
21780
|
] })
|
|
21781
21781
|
] }),
|
|
21782
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-36 rounded", animate })
|
|
21783
21783
|
] }),
|
|
21784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mt-4 h-4 w-40 rounded", animate })
|
|
21785
21785
|
] })
|
|
21786
21786
|
] }),
|
|
21787
21787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2", children: ["Commercial Stack", "Open-Source Stack"].map((label, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
21788
21788
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
21789
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded", animate }),
|
|
21790
21790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21791
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21791
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-20 rounded", animate }),
|
|
21792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-10 rounded", animate })
|
|
21793
21793
|
] })
|
|
21794
21794
|
] }),
|
|
21795
21795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col gap-3 p-3", children: Array.from({ length: 5 }).map((_, j) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -21798,32 +21798,32 @@ function MarginReportSkeleton({
|
|
|
21798
21798
|
className: "flex items-center justify-between rounded-lg border border-ods-border bg-ods-bg px-4 py-3",
|
|
21799
21799
|
children: [
|
|
21800
21800
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
21801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21801
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 flex-shrink-0 rounded-lg", animate }),
|
|
21802
21802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
21803
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-32 rounded", animate }),
|
|
21804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mt-1 hidden h-3 w-24 rounded content-md:block", animate })
|
|
21805
21805
|
] })
|
|
21806
21806
|
] }),
|
|
21807
21807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21808
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21809
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21808
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-16 rounded", animate }),
|
|
21809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-8 rounded", animate })
|
|
21810
21810
|
] })
|
|
21811
21811
|
]
|
|
21812
21812
|
},
|
|
21813
21813
|
j
|
|
21814
21814
|
)) })
|
|
21815
21815
|
] }, idx)) }),
|
|
21816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21817
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-60 rounded", animate }),
|
|
21817
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-48 rounded border border-ods-border", animate }, i)) }),
|
|
21818
21818
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 rounded-3xl border border-ods-border p-8", children: [
|
|
21819
21819
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-6", children: [
|
|
21820
21820
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 space-y-2", children: [
|
|
21821
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21821
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-72 rounded", animate }),
|
|
21822
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4 rounded", animate })
|
|
21823
21823
|
] }),
|
|
21824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-12 shrink-0 rounded-md", animate })
|
|
21825
21825
|
] }),
|
|
21826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-6 content-md:grid-cols-2 content-lg:grid-cols-3", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-32 rounded border border-ods-border", animate }, i)) })
|
|
21827
21827
|
] })
|
|
21828
21828
|
] }),
|
|
21829
21829
|
overlayContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0 z-10 rounded-lg bg-ods-card/80", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto fixed left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-4 px-4 text-center", children: [
|
|
@@ -21863,7 +21863,7 @@ function OrganizationIconSkeleton({
|
|
|
21863
21863
|
!showBackground && "overflow-hidden",
|
|
21864
21864
|
className
|
|
21865
21865
|
);
|
|
21866
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21866
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-1/2 w-1/2 rounded-sm" }) });
|
|
21867
21867
|
}
|
|
21868
21868
|
|
|
21869
21869
|
// src/components/loading/organization-card-skeleton.tsx
|
|
@@ -21894,28 +21894,28 @@ function OrganizationCardSkeleton({
|
|
|
21894
21894
|
}
|
|
21895
21895
|
),
|
|
21896
21896
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21899
21899
|
] })
|
|
21900
21900
|
] }),
|
|
21901
21901
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
21902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21902
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21904
21904
|
] }) }),
|
|
21905
21905
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21906
21906
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21907
21907
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21910
21910
|
] }),
|
|
21911
21911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21914
21914
|
] })
|
|
21915
21915
|
] }),
|
|
21916
21916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
21917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21919
21919
|
] }) })
|
|
21920
21920
|
] })
|
|
21921
21921
|
] })
|
|
@@ -21931,7 +21931,7 @@ function OrganizationCardSkeletonGrid({
|
|
|
21931
21931
|
showDescription = true
|
|
21932
21932
|
}) {
|
|
21933
21933
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21934
|
-
|
|
21934
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21935
21935
|
{
|
|
21936
21936
|
label: "Loading organizations",
|
|
21937
21937
|
announce: region,
|
|
@@ -21962,20 +21962,20 @@ function DeviceCardSkeleton({ className, moreButton = true, detailsButtonClassNa
|
|
|
21962
21962
|
),
|
|
21963
21963
|
children: [
|
|
21964
21964
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-4", children: [
|
|
21965
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 rounded" }) }),
|
|
21966
21966
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
21967
21967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-h4", children: [
|
|
21968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded" }),
|
|
21969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[1lh] w-3/4 rounded" })
|
|
21970
21970
|
] }),
|
|
21971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21971
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[1lh] w-1/2 rounded text-h6" })
|
|
21972
21972
|
] }),
|
|
21973
|
-
moreButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border p-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21974
|
-
detailsButtonClassName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21973
|
+
moreButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border p-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-6 rounded" }) }),
|
|
21974
|
+
detailsButtonClassName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 rounded-[6px]", detailsButtonClassName) })
|
|
21975
21975
|
] }),
|
|
21976
21976
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
21977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21978
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-20 shrink-0 rounded-md" }),
|
|
21978
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[1lh] w-40 max-w-full rounded" }) })
|
|
21979
21979
|
] })
|
|
21980
21980
|
]
|
|
21981
21981
|
}
|
|
@@ -21987,7 +21987,7 @@ function DeviceCardSkeletonGrid({
|
|
|
21987
21987
|
className
|
|
21988
21988
|
}) {
|
|
21989
21989
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21990
|
-
|
|
21990
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
21991
21991
|
{
|
|
21992
21992
|
label: "Loading devices",
|
|
21993
21993
|
announce: region,
|
|
@@ -22004,17 +22004,17 @@ function PushButtonSelectorSkeleton({
|
|
|
22004
22004
|
count = 3,
|
|
22005
22005
|
hasTitle
|
|
22006
22006
|
}) {
|
|
22007
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22008
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22007
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading options", announce: region, className: "space-y-3", children: [
|
|
22008
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-20" }),
|
|
22009
22009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
22010
22010
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
22011
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-8" }),
|
|
22012
22012
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
22013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22013
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24" }),
|
|
22014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36" })
|
|
22015
22015
|
] })
|
|
22016
22016
|
] }),
|
|
22017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-6" })
|
|
22018
22018
|
] }) }, i)) })
|
|
22019
22019
|
] });
|
|
22020
22020
|
}
|
|
@@ -22266,14 +22266,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22266
22266
|
empty: "No token rates are in effect right now."
|
|
22267
22267
|
};
|
|
22268
22268
|
function providerMark(providerType, stated, className) {
|
|
22269
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22269
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunkOXCGQV6Bcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22270
22270
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22271
22271
|
}
|
|
22272
22272
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22273
22273
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22274
22274
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22275
22275
|
function useProviderGroup(rates) {
|
|
22276
|
-
const groups =
|
|
22276
|
+
const groups = _chunkOXCGQV6Bcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22277
22277
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22278
22278
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22279
22279
|
}
|
|
@@ -22284,7 +22284,7 @@ function ProviderTabs({
|
|
|
22284
22284
|
className
|
|
22285
22285
|
}) {
|
|
22286
22286
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22287
|
-
|
|
22287
|
+
_chunkEM4OEWCMcjs.TabSelector,
|
|
22288
22288
|
{
|
|
22289
22289
|
variant: "secondary",
|
|
22290
22290
|
scrollable: true,
|
|
@@ -22292,7 +22292,7 @@ function ProviderTabs({
|
|
|
22292
22292
|
onValueChange,
|
|
22293
22293
|
items: groups.map((candidate) => ({
|
|
22294
22294
|
id: candidate.providerType,
|
|
22295
|
-
label:
|
|
22295
|
+
label: _chunkOXCGQV6Bcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _443 => _443.rates, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.providerLabel])),
|
|
22296
22296
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerIcon]), "size-full")
|
|
22297
22297
|
})),
|
|
22298
22298
|
className
|
|
@@ -22393,8 +22393,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22393
22393
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22394
22394
|
children: [
|
|
22395
22395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkOXCGQV6Bcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkOXCGQV6Bcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22398
22398
|
]
|
|
22399
22399
|
},
|
|
22400
22400
|
rate.modelName
|
|
@@ -22434,19 +22434,19 @@ function ModelTokenRatesSkeleton({
|
|
|
22434
22434
|
} = {}) {
|
|
22435
22435
|
const cells = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22436
22436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
22437
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22437
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-12" }),
|
|
22438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-12" })
|
|
22439
22439
|
] });
|
|
22440
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22441
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22440
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the model token rates", announce: region, className: "min-h-0 flex-1 overflow-hidden", children: [
|
|
22441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: TABS_SKELETON_CLASS }) }),
|
|
22442
22442
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xs)]"), children: [
|
|
22443
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-14" }),
|
|
22444
22444
|
cells
|
|
22445
22445
|
] }),
|
|
22446
22446
|
Array.from({ length: TABLE_SKELETON_ROWS }, (_, index) => (
|
|
22447
22447
|
// biome-ignore lint/suspicious/noArrayIndexKey: identical placeholder rows
|
|
22448
22448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)]"), children: [
|
|
22449
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22449
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-36" }),
|
|
22450
22450
|
cells
|
|
22451
22451
|
] }, index)
|
|
22452
22452
|
))
|
|
@@ -22460,7 +22460,7 @@ function modelOption(rate) {
|
|
|
22460
22460
|
return {
|
|
22461
22461
|
label: rate.displayName || rate.modelName,
|
|
22462
22462
|
value: rate.modelName,
|
|
22463
|
-
description:
|
|
22463
|
+
description: _chunkOXCGQV6Bcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22464
22464
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22465
22465
|
};
|
|
22466
22466
|
}
|
|
@@ -22484,10 +22484,10 @@ function ExchangeFigure({
|
|
|
22484
22484
|
"span",
|
|
22485
22485
|
{
|
|
22486
22486
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "whitespace-nowrap tabular-nums text-ods-text-primary", size === "hero" ? "text-h1" : "text-h2"),
|
|
22487
|
-
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22487
|
+
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-20") }) : figure
|
|
22488
22488
|
}
|
|
22489
22489
|
),
|
|
22490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-full max-w-xs") }) : words })
|
|
22491
22491
|
] });
|
|
22492
22492
|
}
|
|
22493
22493
|
function ModelTokenExchange({
|
|
@@ -22514,8 +22514,8 @@ function ModelTokenExchange({
|
|
|
22514
22514
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22515
22515
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _449 => _449.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22516
22516
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22517
|
-
const tokens =
|
|
22518
|
-
const cost =
|
|
22517
|
+
const tokens = _chunkOXCGQV6Bcjs.formatTokenAmount.call(void 0, balance);
|
|
22518
|
+
const cost = _chunkOXCGQV6Bcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22519
22519
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22520
22520
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22521
22521
|
const options = models.map(modelOption);
|
|
@@ -22557,7 +22557,7 @@ function ModelTokenExchange({
|
|
|
22557
22557
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22558
22558
|
size: "small",
|
|
22559
22559
|
onClick: () => setChosen(preset.tokens),
|
|
22560
|
-
children: copy.buy.preset(
|
|
22560
|
+
children: copy.buy.preset(_chunkOXCGQV6Bcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22561
22561
|
},
|
|
22562
22562
|
preset.label
|
|
22563
22563
|
)) })
|
|
@@ -22570,13 +22570,13 @@ function ModelTokenExchange({
|
|
|
22570
22570
|
options: providers.length === 0 && !failed ? PROVIDER_PLACEHOLDERS.map((id) => ({
|
|
22571
22571
|
id,
|
|
22572
22572
|
name: "\xA0",
|
|
22573
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22573
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-8 rounded" }),
|
|
22574
22574
|
disabled: true
|
|
22575
22575
|
})) : providers.map((providerType) => {
|
|
22576
22576
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _450 => _450.providerType]) === providerType ? rate : null)));
|
|
22577
22577
|
return {
|
|
22578
22578
|
id: providerType,
|
|
22579
|
-
name:
|
|
22579
|
+
name: _chunkOXCGQV6Bcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _451 => _451.providerLabel])),
|
|
22580
22580
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _452 => _452.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22581
22581
|
};
|
|
22582
22582
|
}),
|
|
@@ -22588,7 +22588,7 @@ function ModelTokenExchange({
|
|
|
22588
22588
|
}
|
|
22589
22589
|
),
|
|
22590
22590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22591
|
-
|
|
22591
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
22592
22592
|
{
|
|
22593
22593
|
label: copy.use.model,
|
|
22594
22594
|
value: _nullishCoalesce(_optionalChain([rate, 'optionalAccess', _454 => _454.modelName]), () => ( null)),
|
|
@@ -22614,7 +22614,7 @@ function ModelTokenExchange({
|
|
|
22614
22614
|
{
|
|
22615
22615
|
size: "plain",
|
|
22616
22616
|
loading,
|
|
22617
|
-
figure:
|
|
22617
|
+
figure: _chunkOXCGQV6Bcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _457 => _457.inputTokenRate])),
|
|
22618
22618
|
words: copy.charge.input
|
|
22619
22619
|
}
|
|
22620
22620
|
),
|
|
@@ -22623,7 +22623,7 @@ function ModelTokenExchange({
|
|
|
22623
22623
|
{
|
|
22624
22624
|
size: "plain",
|
|
22625
22625
|
loading,
|
|
22626
|
-
figure:
|
|
22626
|
+
figure: _chunkOXCGQV6Bcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _458 => _458.outputTokenRate])),
|
|
22627
22627
|
words: copy.charge.output
|
|
22628
22628
|
}
|
|
22629
22629
|
)
|
|
@@ -22634,10 +22634,10 @@ function ModelTokenExchange({
|
|
|
22634
22634
|
"aria-live": "polite",
|
|
22635
22635
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22636
22636
|
children: [
|
|
22637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-full max-w-xs") }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) : _chunkOXCGQV6Bcjs.formatTokenAmount.call(void 0, _chunkOXCGQV6Bcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22639
22639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22640
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(_chunkOXCGQV6Bcjs.formatTokenAmount.call(void 0, _chunkOXCGQV6Bcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22641
22641
|
]
|
|
22642
22642
|
}
|
|
22643
22643
|
)
|
|
@@ -23135,14 +23135,14 @@ var ConfidenceBadge = ({
|
|
|
23135
23135
|
size = "sm",
|
|
23136
23136
|
className
|
|
23137
23137
|
}) => {
|
|
23138
|
-
const level =
|
|
23138
|
+
const level = _chunkOXCGQV6Bcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23139
23139
|
if (level === "none") {
|
|
23140
23140
|
return null;
|
|
23141
23141
|
}
|
|
23142
|
-
const label =
|
|
23143
|
-
const borderClass =
|
|
23144
|
-
const textClass =
|
|
23145
|
-
const bgClass =
|
|
23142
|
+
const label = _chunkOXCGQV6Bcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23143
|
+
const borderClass = _chunkOXCGQV6Bcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23144
|
+
const textClass = _chunkOXCGQV6Bcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23145
|
+
const bgClass = _chunkOXCGQV6Bcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23146
23146
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23147
23147
|
"span",
|
|
23148
23148
|
{
|
|
@@ -23193,9 +23193,9 @@ function SEOEditorPreview({
|
|
|
23193
23193
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23194
23194
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23195
23195
|
const seoTitleLength = (seoTitle || "").length;
|
|
23196
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23196
|
+
const seoTitleTooLong = seoTitleLength > _chunkOXCGQV6Bcjs.SEO_TITLE_MAX_LENGTH;
|
|
23197
23197
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23198
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23198
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkOXCGQV6Bcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23199
23199
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23200
23200
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23201
23201
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23220,10 +23220,10 @@ function SEOEditorPreview({
|
|
|
23220
23220
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23221
23221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23222
23222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23223
|
-
|
|
23223
|
+
_chunkOXCGQV6Bcjs.Field,
|
|
23224
23224
|
{
|
|
23225
23225
|
label: "SEO Title",
|
|
23226
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23226
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkOXCGQV6Bcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23227
23227
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23228
23228
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23229
23229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23238,7 +23238,7 @@ function SEOEditorPreview({
|
|
|
23238
23238
|
children: [
|
|
23239
23239
|
seoTitleLength,
|
|
23240
23240
|
"/",
|
|
23241
|
-
|
|
23241
|
+
_chunkOXCGQV6Bcjs.SEO_TITLE_MAX_LENGTH
|
|
23242
23242
|
]
|
|
23243
23243
|
}
|
|
23244
23244
|
),
|
|
@@ -23249,7 +23249,7 @@ function SEOEditorPreview({
|
|
|
23249
23249
|
value: seoTitle || "",
|
|
23250
23250
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23251
23251
|
disabled,
|
|
23252
|
-
maxLength:
|
|
23252
|
+
maxLength: _chunkOXCGQV6Bcjs.SEO_TITLE_MAX_LENGTH,
|
|
23253
23253
|
invalid: seoTitleTooLong,
|
|
23254
23254
|
placeholder: "Enter SEO meta title...",
|
|
23255
23255
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23260,7 +23260,7 @@ function SEOEditorPreview({
|
|
|
23260
23260
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23261
23261
|
] }),
|
|
23262
23262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23263
|
-
|
|
23263
|
+
_chunkOXCGQV6Bcjs.Field,
|
|
23264
23264
|
{
|
|
23265
23265
|
label: "SEO Keywords",
|
|
23266
23266
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23292,10 +23292,10 @@ function SEOEditorPreview({
|
|
|
23292
23292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23293
23293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23294
23294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23295
|
-
|
|
23295
|
+
_chunkOXCGQV6Bcjs.Field,
|
|
23296
23296
|
{
|
|
23297
23297
|
label: "SEO Description",
|
|
23298
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23298
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkOXCGQV6Bcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23299
23299
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23300
23300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23301
23301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23318,7 +23318,7 @@ function SEOEditorPreview({
|
|
|
23318
23318
|
children: [
|
|
23319
23319
|
seoDescriptionLength,
|
|
23320
23320
|
"/",
|
|
23321
|
-
|
|
23321
|
+
_chunkOXCGQV6Bcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23322
23322
|
]
|
|
23323
23323
|
}
|
|
23324
23324
|
),
|
|
@@ -23329,7 +23329,7 @@ function SEOEditorPreview({
|
|
|
23329
23329
|
value: seoDescription || "",
|
|
23330
23330
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23331
23331
|
disabled,
|
|
23332
|
-
maxLength:
|
|
23332
|
+
maxLength: _chunkOXCGQV6Bcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23333
23333
|
invalid: seoDescriptionTooLong,
|
|
23334
23334
|
placeholder: "Enter SEO meta description...",
|
|
23335
23335
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23398,7 +23398,7 @@ function SEOEditorPreview({
|
|
|
23398
23398
|
{
|
|
23399
23399
|
ref: setFileInputRef,
|
|
23400
23400
|
type: "file",
|
|
23401
|
-
accept:
|
|
23401
|
+
accept: _chunk35RU25PJcjs.IMAGE_FILE_ACCEPT,
|
|
23402
23402
|
onChange: handleImageUpload,
|
|
23403
23403
|
className: "hidden",
|
|
23404
23404
|
disabled: disabled || isUploading
|
|
@@ -23482,7 +23482,7 @@ function socialIcon(platform) {
|
|
|
23482
23482
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23483
23483
|
}
|
|
23484
23484
|
function renderSocialIcon(platform) {
|
|
23485
|
-
const key = _nullishCoalesce(
|
|
23485
|
+
const key = _nullishCoalesce(_chunkOXCGQV6Bcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23486
23486
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23487
23487
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23488
23488
|
}
|
|
@@ -23565,7 +23565,7 @@ function SocialLinksManager({
|
|
|
23565
23565
|
};
|
|
23566
23566
|
const getIcon = (link, platform) => {
|
|
23567
23567
|
const iconKey = _optionalChain([platform, 'optionalAccess', _468 => _468.icon_name]) || link.platform;
|
|
23568
|
-
const key =
|
|
23568
|
+
const key = _chunkOXCGQV6Bcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23569
23569
|
if (!key) return null;
|
|
23570
23570
|
const icon = socialIcon(key);
|
|
23571
23571
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23581,9 +23581,9 @@ function SocialLinksManager({
|
|
|
23581
23581
|
children: [
|
|
23582
23582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23583
23583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
23586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23587
23587
|
] }) }),
|
|
23588
23588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23589
23589
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -23601,15 +23601,15 @@ function SocialLinksManager({
|
|
|
23601
23601
|
)
|
|
23602
23602
|
] }),
|
|
23603
23603
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23604
|
-
|
|
23604
|
+
_chunk3GG3QAPTcjs.Select,
|
|
23605
23605
|
{
|
|
23606
23606
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23607
23607
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23608
23608
|
children: [
|
|
23609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
23610
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: [
|
|
23611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "external", children: "Public" }),
|
|
23612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23613
23613
|
] })
|
|
23614
23614
|
]
|
|
23615
23615
|
}
|
|
@@ -23701,7 +23701,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23701
23701
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
23702
23702
|
style: customStyle,
|
|
23703
23703
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23704
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23704
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23705
23705
|
children
|
|
23706
23706
|
}
|
|
23707
23707
|
);
|
|
@@ -23971,11 +23971,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23971
23971
|
|
|
23972
23972
|
function VideoBitesDisplay({
|
|
23973
23973
|
bites,
|
|
23974
|
-
title =
|
|
23974
|
+
title = _chunk35RU25PJcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23975
23975
|
filterPublished = true,
|
|
23976
23976
|
showTitle = true
|
|
23977
23977
|
}) {
|
|
23978
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23978
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23979
23979
|
}
|
|
23980
23980
|
|
|
23981
23981
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24003,7 +24003,7 @@ function WalkthroughVideo({
|
|
|
24003
24003
|
onOpenChange,
|
|
24004
24004
|
defaultOpen,
|
|
24005
24005
|
defaultOpenPaused,
|
|
24006
|
-
deepLinkParam =
|
|
24006
|
+
deepLinkParam = _chunkOXCGQV6Bcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24007
24007
|
autoPlayCard = false,
|
|
24008
24008
|
label = "Play Demo Video",
|
|
24009
24009
|
placement,
|
|
@@ -24019,7 +24019,7 @@ function WalkthroughVideo({
|
|
|
24019
24019
|
}) {
|
|
24020
24020
|
const inline = placement === "inline";
|
|
24021
24021
|
const dismissEnabled = dismissal !== false;
|
|
24022
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24022
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkOXCGQV6Bcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24023
24023
|
const dismissalId = _optionalChain([video, 'optionalAccess', _474 => _474.id]) != null ? String(video.id) : "dismissed";
|
|
24024
24024
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24025
24025
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24031,7 +24031,7 @@ function WalkthroughVideo({
|
|
|
24031
24031
|
let delayElapsed = false;
|
|
24032
24032
|
let interacted = inline;
|
|
24033
24033
|
const reveal = () => {
|
|
24034
|
-
if (dismissEnabled &&
|
|
24034
|
+
if (dismissEnabled && _chunkOXCGQV6Bcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24035
24035
|
setDismissed(true);
|
|
24036
24036
|
return;
|
|
24037
24037
|
}
|
|
@@ -24068,7 +24068,7 @@ function WalkthroughVideo({
|
|
|
24068
24068
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24069
24069
|
};
|
|
24070
24070
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
24071
|
-
const hydrated =
|
|
24071
|
+
const hydrated = _chunkEM4OEWCMcjs.useIsHydrated.call(void 0, );
|
|
24072
24072
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24073
24073
|
if (!hydrated) return false;
|
|
24074
24074
|
try {
|
|
@@ -24318,7 +24318,7 @@ function WalkthroughVideo({
|
|
|
24318
24318
|
(e) => {
|
|
24319
24319
|
e.stopPropagation();
|
|
24320
24320
|
pausePreviewNow();
|
|
24321
|
-
if (dismissEnabled)
|
|
24321
|
+
if (dismissEnabled) _chunkOXCGQV6Bcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24322
24322
|
setDismissed(true);
|
|
24323
24323
|
},
|
|
24324
24324
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24467,7 +24467,7 @@ function WalkthroughVideo({
|
|
|
24467
24467
|
},
|
|
24468
24468
|
children: [
|
|
24469
24469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24470
|
-
|
|
24470
|
+
_chunk35RU25PJcjs.VideoHoverPreviewSurface,
|
|
24471
24471
|
{
|
|
24472
24472
|
url: video.mainVideoUrl || "",
|
|
24473
24473
|
posterUrl: video.posterUrl,
|
|
@@ -24491,7 +24491,7 @@ function WalkthroughVideo({
|
|
|
24491
24491
|
`card-${embedUrlKey}`
|
|
24492
24492
|
) }),
|
|
24493
24493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24494
|
-
|
|
24494
|
+
_chunkEM4OEWCMcjs.CardHitLayer,
|
|
24495
24495
|
{
|
|
24496
24496
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24497
24497
|
onPointerDown: pausePreviewNow,
|
|
@@ -24606,7 +24606,7 @@ function WalkthroughVideo({
|
|
|
24606
24606
|
children: [
|
|
24607
24607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24608
24608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24609
|
-
|
|
24609
|
+
_chunk35RU25PJcjs.Video,
|
|
24610
24610
|
{
|
|
24611
24611
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24612
24612
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24657,7 +24657,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24657
24657
|
var _reactquery = require('@tanstack/react-query');
|
|
24658
24658
|
function useWalkthroughVideo(opts) {
|
|
24659
24659
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24660
|
-
const captions =
|
|
24660
|
+
const captions = _chunkEM4OEWCMcjs.useCaptions.call(void 0, );
|
|
24661
24661
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24662
24662
|
queryKey: ["walkthrough-video", endpoint],
|
|
24663
24663
|
enabled,
|
|
@@ -24855,7 +24855,7 @@ function VideoSourceSelector({
|
|
|
24855
24855
|
}
|
|
24856
24856
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24857
24857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24859
24859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24860
24860
|
"button",
|
|
24861
24861
|
{
|
|
@@ -25309,19 +25309,19 @@ function HighlightVideoSection({
|
|
|
25309
25309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
25310
25310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { children: "Target Duration" }),
|
|
25311
25311
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25312
|
-
|
|
25312
|
+
_chunk3GG3QAPTcjs.Select,
|
|
25313
25313
|
{
|
|
25314
25314
|
value: targetDurationSeconds.toString(),
|
|
25315
25315
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25316
25316
|
disabled,
|
|
25317
25317
|
children: [
|
|
25318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25319
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25324
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
25319
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25324
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25325
25325
|
] })
|
|
25326
25326
|
]
|
|
25327
25327
|
}
|
|
@@ -25379,7 +25379,7 @@ function HighlightVideoSection({
|
|
|
25379
25379
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25380
25380
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25381
25381
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25383
25383
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25384
25384
|
"button",
|
|
25385
25385
|
{
|
|
@@ -25406,20 +25406,20 @@ function HighlightConfigSection({
|
|
|
25406
25406
|
disabled = false,
|
|
25407
25407
|
className = ""
|
|
25408
25408
|
}) {
|
|
25409
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25410
|
-
|
|
25409
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25410
|
+
_chunk3GG3QAPTcjs.Select,
|
|
25411
25411
|
{
|
|
25412
25412
|
value: targetDurationSeconds.toString(),
|
|
25413
25413
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25414
25414
|
disabled,
|
|
25415
25415
|
children: [
|
|
25416
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25417
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25416
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
25417
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25423
25423
|
] })
|
|
25424
25424
|
]
|
|
25425
25425
|
}
|
|
@@ -25507,7 +25507,7 @@ var AIStatusIndicator = ({
|
|
|
25507
25507
|
}) => {
|
|
25508
25508
|
const config = statusConfig[status];
|
|
25509
25509
|
const displayText = message || config.label;
|
|
25510
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25510
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkOXCGQV6Bcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25511
25511
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25512
25512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25513
25513
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25515,7 +25515,7 @@ var AIStatusIndicator = ({
|
|
|
25515
25515
|
size: 16,
|
|
25516
25516
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25517
25517
|
status === "loading" && "animate-pulse",
|
|
25518
|
-
confidence !== void 0 && status === "success" ?
|
|
25518
|
+
confidence !== void 0 && status === "success" ? _chunkOXCGQV6Bcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25519
25519
|
)
|
|
25520
25520
|
}
|
|
25521
25521
|
),
|
|
@@ -25524,7 +25524,7 @@ var AIStatusIndicator = ({
|
|
|
25524
25524
|
{
|
|
25525
25525
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25526
25526
|
"text-h6",
|
|
25527
|
-
confidence !== void 0 && status === "success" ?
|
|
25527
|
+
confidence !== void 0 && status === "success" ? _chunkOXCGQV6Bcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25528
25528
|
),
|
|
25529
25529
|
children: displayText
|
|
25530
25530
|
}
|
|
@@ -25534,8 +25534,8 @@ var AIStatusIndicator = ({
|
|
|
25534
25534
|
{
|
|
25535
25535
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25536
25536
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25537
|
-
|
|
25538
|
-
|
|
25537
|
+
_chunkOXCGQV6Bcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25538
|
+
_chunkOXCGQV6Bcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25539
25539
|
),
|
|
25540
25540
|
children: confidenceLabel
|
|
25541
25541
|
}
|
|
@@ -26100,7 +26100,7 @@ function ApprovalLevelView({
|
|
|
26100
26100
|
] });
|
|
26101
26101
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
26102
26102
|
name,
|
|
26103
|
-
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26103
|
+
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.TouchFriendlyTooltip, { content: `${current.label}: ${current.hint}`, side: "top", children: icon })
|
|
26104
26104
|
] });
|
|
26105
26105
|
}
|
|
26106
26106
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center gap-[var(--spacing-system-sf)]", className), children: [
|
|
@@ -26376,8 +26376,8 @@ function PoliciesTable({
|
|
|
26376
26376
|
accessorKey: "name",
|
|
26377
26377
|
header: "Name",
|
|
26378
26378
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] min-w-0 flex-col justify-center gap-1 py-2", children: [
|
|
26379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26380
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: row.original.name }),
|
|
26380
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
26381
26381
|
] }),
|
|
26382
26382
|
meta: { width: "flex-1 min-w-0" }
|
|
26383
26383
|
},
|
|
@@ -26431,7 +26431,7 @@ function PoliciesTable({
|
|
|
26431
26431
|
cell: ({ row }) => row.original.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26432
26432
|
_chunk2QMBXGMQcjs.Button,
|
|
26433
26433
|
{
|
|
26434
|
-
onClick:
|
|
26434
|
+
onClick: _chunkOXCGQV6Bcjs.openInNewTab.call(void 0, row.original.href),
|
|
26435
26435
|
variant: "outline",
|
|
26436
26436
|
size: "icon",
|
|
26437
26437
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26506,7 +26506,7 @@ function PolicySummaryCards({ summary, isLoading = false, hasData = true, now })
|
|
|
26506
26506
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-lg:grid-cols-4", children: isLoading ? (
|
|
26507
26507
|
// `h-16 content-md:h-[104px]` is `DashboardInfoCard`'s own height, so the
|
|
26508
26508
|
// grid does not jump when the real cards replace the placeholders.
|
|
26509
|
-
CARD_SKELETON_KEYS.map((key) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26509
|
+
CARD_SKELETON_KEYS.map((key) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-full content-md:h-[104px]" }, key))
|
|
26510
26510
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26511
26511
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DashboardInfoCard, { title: "Total Policies", value: hasData ? summary.totalPolicies : EMPTY_VALUE }),
|
|
26512
26512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -26660,7 +26660,7 @@ function usersCountLabel(count) {
|
|
|
26660
26660
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
26661
26661
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26662
26662
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
26663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26664
26664
|
] });
|
|
26665
26665
|
}
|
|
26666
26666
|
|
|
@@ -26671,9 +26671,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26671
26671
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26672
26672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26673
26673
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: name })
|
|
26675
26675
|
] }),
|
|
26676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26677
26677
|
] });
|
|
26678
26678
|
}
|
|
26679
26679
|
|
|
@@ -26683,9 +26683,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26683
26683
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26684
26684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26685
26685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: name })
|
|
26687
26687
|
] }),
|
|
26688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26688
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
26689
26689
|
] });
|
|
26690
26690
|
}
|
|
26691
26691
|
|
|
@@ -26757,7 +26757,7 @@ function TenantsTableView({
|
|
|
26757
26757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26758
26758
|
_chunk2QMBXGMQcjs.Button,
|
|
26759
26759
|
{
|
|
26760
|
-
onClick:
|
|
26760
|
+
onClick: _chunkOXCGQV6Bcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26761
26761
|
variant: "outline",
|
|
26762
26762
|
size: "icon",
|
|
26763
26763
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26835,13 +26835,13 @@ function WaitlistForm({
|
|
|
26835
26835
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26836
26836
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26837
26837
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26838
|
-
const { toast } =
|
|
26839
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26838
|
+
const { toast } = _chunkVUWPLQBYcjs.useToast.call(void 0, );
|
|
26839
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkVUWPLQBYcjs.useHumanitySignals.call(void 0, );
|
|
26840
26840
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26841
|
-
const isClient =
|
|
26841
|
+
const isClient = _chunkEM4OEWCMcjs.useIsHydrated.call(void 0, );
|
|
26842
26842
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26843
26843
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26844
|
-
const rescue =
|
|
26844
|
+
const rescue = _chunkVUWPLQBYcjs.useFormRescue.call(void 0, {
|
|
26845
26845
|
form: rescueForm,
|
|
26846
26846
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
26847
26847
|
fieldNames: ["email", "phone"],
|
|
@@ -26853,7 +26853,7 @@ function WaitlistForm({
|
|
|
26853
26853
|
_react.useEffect.call(void 0, () => {
|
|
26854
26854
|
rescue.track({ email, phone }, null);
|
|
26855
26855
|
}, [email, phone, rescue]);
|
|
26856
|
-
const isMailDomainGeneric =
|
|
26856
|
+
const isMailDomainGeneric = _chunkOXCGQV6Bcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26857
26857
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26858
26858
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26859
26859
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26887,7 +26887,7 @@ function WaitlistForm({
|
|
|
26887
26887
|
setShowConsentError(true);
|
|
26888
26888
|
return;
|
|
26889
26889
|
}
|
|
26890
|
-
const finalPhone = phone ?
|
|
26890
|
+
const finalPhone = phone ? _chunkOXCGQV6Bcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26891
26891
|
try {
|
|
26892
26892
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26893
26893
|
rescue.complete();
|
|
@@ -26904,14 +26904,14 @@ function WaitlistForm({
|
|
|
26904
26904
|
className
|
|
26905
26905
|
),
|
|
26906
26906
|
children: [
|
|
26907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-full rounded-[6px] border border-ods-border" }),
|
|
26908
26908
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full gap-[var(--spacing-system-xs)]", children: [
|
|
26909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-[130px] shrink-0 rounded-[6px] border border-ods-border" }),
|
|
26910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 flex-1 rounded-[6px] border border-ods-border" })
|
|
26911
26911
|
] }),
|
|
26912
26912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-end gap-[var(--spacing-system-m)]", children: [
|
|
26913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-auto w-full rounded-[6px] border border-ods-border px-4 py-6" }),
|
|
26914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-[200px] rounded-[6px] border border-ods-border" })
|
|
26915
26915
|
] })
|
|
26916
26916
|
]
|
|
26917
26917
|
}
|
|
@@ -27610,7 +27610,7 @@ var typeColorByVariant = {
|
|
|
27610
27610
|
error: "text-ods-error"
|
|
27611
27611
|
};
|
|
27612
27612
|
var progressColorByVariant2 = {
|
|
27613
|
-
...
|
|
27613
|
+
..._chunkVUWPLQBYcjs.progressColorByVariant,
|
|
27614
27614
|
default: "bg-ods-accent",
|
|
27615
27615
|
info: "bg-ods-accent"
|
|
27616
27616
|
};
|
|
@@ -27687,7 +27687,7 @@ function NotificationTile({
|
|
|
27687
27687
|
height: 16,
|
|
27688
27688
|
unoptimized: true
|
|
27689
27689
|
}
|
|
27690
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27690
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full", _chunkVUWPLQBYcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27691
27691
|
type ? lockscreen ? (
|
|
27692
27692
|
// A phone names the sender in plain words and never cuts them.
|
|
27693
27693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -27770,7 +27770,7 @@ function NotificationTile({
|
|
|
27770
27770
|
);
|
|
27771
27771
|
}
|
|
27772
27772
|
function TileLine({ box, bar, width }) {
|
|
27773
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center", box), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27773
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center", box), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", width, className: bar }) });
|
|
27774
27774
|
}
|
|
27775
27775
|
function NotificationTileSkeleton({ variant = "default", className }) {
|
|
27776
27776
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -27973,9 +27973,9 @@ function DrawerScrollList({
|
|
|
27973
27973
|
function DrawerLoadingTiles() {
|
|
27974
27974
|
return (
|
|
27975
27975
|
// `contents`: the tiles stay the list's own items; the region adds the one announcement.
|
|
27976
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27978
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27976
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading more notifications", className: "contents", children: [
|
|
27977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-full shrink-0 rounded-md border border-ods-border" }),
|
|
27978
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-full shrink-0 rounded-md border border-ods-border" })
|
|
27979
27979
|
] })
|
|
27980
27980
|
);
|
|
27981
27981
|
}
|
|
@@ -27995,7 +27995,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27995
27995
|
] });
|
|
27996
27996
|
}
|
|
27997
27997
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27998
|
-
const { supported, permission, request } =
|
|
27998
|
+
const { supported, permission, request } = _chunkVUWPLQBYcjs.useNotificationPermission.call(void 0, );
|
|
27999
27999
|
if (!supported) return null;
|
|
28000
28000
|
const blocked = permission === "denied";
|
|
28001
28001
|
const handleChange = async (value) => {
|
|
@@ -28023,7 +28023,7 @@ function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
|
28023
28023
|
}
|
|
28024
28024
|
function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
28025
28025
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28026
|
-
|
|
28026
|
+
_chunk3GG3QAPTcjs.SplitButton,
|
|
28027
28027
|
{
|
|
28028
28028
|
variant: "outline",
|
|
28029
28029
|
fullWidth: true,
|
|
@@ -28548,7 +28548,7 @@ function TimeTrackerPanel({
|
|
|
28548
28548
|
] }),
|
|
28549
28549
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28550
28550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28551
|
-
|
|
28551
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
28552
28552
|
{
|
|
28553
28553
|
value: selectedTicketId,
|
|
28554
28554
|
onChange: onSelectedTicketChange,
|
|
@@ -28564,7 +28564,7 @@ function TimeTrackerPanel({
|
|
|
28564
28564
|
}
|
|
28565
28565
|
),
|
|
28566
28566
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28567
|
-
|
|
28567
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
28568
28568
|
{
|
|
28569
28569
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28570
28570
|
onChange: onSelectedCustomerChange,
|
|
@@ -28617,7 +28617,7 @@ function TimeTrackerPanel({
|
|
|
28617
28617
|
}
|
|
28618
28618
|
),
|
|
28619
28619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28620
|
-
|
|
28620
|
+
_chunk3GG3QAPTcjs.SplitButton,
|
|
28621
28621
|
{
|
|
28622
28622
|
variant: "outline",
|
|
28623
28623
|
fullWidth: true,
|
|
@@ -29003,7 +29003,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29003
29003
|
}
|
|
29004
29004
|
}
|
|
29005
29005
|
function getDeviceOperatingSystem(osType) {
|
|
29006
|
-
return
|
|
29006
|
+
return _chunkOXCGQV6Bcjs.getOSPlatformId.call(void 0, osType);
|
|
29007
29007
|
}
|
|
29008
29008
|
|
|
29009
29009
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -29287,7 +29287,7 @@ function DevicesTableBody({
|
|
|
29287
29287
|
function OrganizationCell({ device }) {
|
|
29288
29288
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29289
29289
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29291
29291
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "break-words text-ods-text-primary text-h4", children: device.organization || "" }) })
|
|
29292
29292
|
] });
|
|
29293
29293
|
}
|
|
@@ -29331,7 +29331,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29331
29331
|
const device = row.original;
|
|
29332
29332
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative box-border flex h-20 w-full shrink-0 content-stretch items-center justify-start gap-4 py-0", children: [
|
|
29333
29333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: getDeviceName(device) }) })
|
|
29335
29335
|
] });
|
|
29336
29336
|
},
|
|
29337
29337
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -29502,7 +29502,7 @@ function CustomerCell({ device }) {
|
|
|
29502
29502
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29503
29503
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29504
29504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29505
|
-
|
|
29505
|
+
_chunk3GG3QAPTcjs.EntityImage,
|
|
29506
29506
|
{
|
|
29507
29507
|
src: fullImageUrl,
|
|
29508
29508
|
alt: device.organization || "Customer",
|
|
@@ -29510,8 +29510,8 @@ function CustomerCell({ device }) {
|
|
|
29510
29510
|
}
|
|
29511
29511
|
),
|
|
29512
29512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29514
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: device.organization || "" }),
|
|
29514
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
29515
29515
|
] })
|
|
29516
29516
|
] });
|
|
29517
29517
|
}
|
|
@@ -29806,8 +29806,8 @@ function DeviceSelector({
|
|
|
29806
29806
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29807
29807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29808
29808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29809
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: getDeviceName(device) }),
|
|
29810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
29811
29811
|
] })
|
|
29812
29812
|
] });
|
|
29813
29813
|
},
|
|
@@ -30325,7 +30325,7 @@ function DevicesList({
|
|
|
30325
30325
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
30326
30326
|
const narrowed = isNarrowed(narrowing);
|
|
30327
30327
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
30328
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
30328
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkVUWPLQBYcjs.useStickyToolbar.call(void 0, );
|
|
30329
30329
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
30330
30330
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions ? getDeviceActionsColumn(rowActions) : void 0, [rowActions]);
|
|
30331
30331
|
return (
|
|
@@ -30550,7 +30550,7 @@ function DevicesPanelView({
|
|
|
30550
30550
|
] })
|
|
30551
30551
|
] });
|
|
30552
30552
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30553
|
-
|
|
30553
|
+
_chunk3GG3QAPTcjs.PageLayout,
|
|
30554
30554
|
{
|
|
30555
30555
|
title,
|
|
30556
30556
|
backButton,
|
|
@@ -30558,7 +30558,7 @@ function DevicesPanelView({
|
|
|
30558
30558
|
actionsVariant: "icon-buttons",
|
|
30559
30559
|
className,
|
|
30560
30560
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30561
|
-
|
|
30561
|
+
_chunkEM4OEWCMcjs.TabSelector,
|
|
30562
30562
|
{
|
|
30563
30563
|
value: viewMode,
|
|
30564
30564
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _655 => _655(value)]),
|
|
@@ -30624,7 +30624,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30624
30624
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30625
30625
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30626
30626
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30627
|
-
|
|
30627
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
30628
30628
|
{
|
|
30629
30629
|
label: PACKAGE_SEARCH_LABEL,
|
|
30630
30630
|
labelVariant: "large",
|
|
@@ -30679,16 +30679,16 @@ function SoftwareScheduleFields({
|
|
|
30679
30679
|
] }),
|
|
30680
30680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30681
30681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30682
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30682
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30685
30685
|
] })
|
|
30686
30686
|
] }),
|
|
30687
30687
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30688
30688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30689
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30689
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
30691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30692
30692
|
] })
|
|
30693
30693
|
] })
|
|
30694
30694
|
]
|
|
@@ -30754,22 +30754,22 @@ function newSoftwareRow(key) {
|
|
|
30754
30754
|
|
|
30755
30755
|
function InfoCell2({ value, label }) {
|
|
30756
30756
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: value }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "\u2014" }) }) }),
|
|
30758
30758
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30759
30759
|
] });
|
|
30760
30760
|
}
|
|
30761
30761
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30762
30762
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-l)] content-lg:flex-row content-lg:items-end", children: [
|
|
30763
30763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30764
|
-
|
|
30764
|
+
_chunk3GG3QAPTcjs.Select,
|
|
30765
30765
|
{
|
|
30766
30766
|
value: row.packageManager,
|
|
30767
30767
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30768
30768
|
children: [
|
|
30769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
30770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30771
30771
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30772
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30772
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30773
30773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30774
30774
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30775
30775
|
] }) }, manager);
|
|
@@ -30867,7 +30867,7 @@ function SoftwareActionForm({
|
|
|
30867
30867
|
}
|
|
30868
30868
|
);
|
|
30869
30869
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30870
|
-
|
|
30870
|
+
_chunk3GG3QAPTcjs.PageLayout,
|
|
30871
30871
|
{
|
|
30872
30872
|
title: copy.formTitle,
|
|
30873
30873
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30956,7 +30956,7 @@ function LogDrawer({
|
|
|
30956
30956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30957
30957
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerDescription, { asChild: true, className: "leading-6 text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: description }) }),
|
|
30958
30958
|
infoFields && infoFields.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-3 rounded-[6px] border border-ods-border bg-ods-card p-4", children: infoFields.map((field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-0.5", children: [
|
|
30959
|
-
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30959
|
+
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: field.value }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: field.value === null || field.value === void 0 || field.value === false ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) : field.value }),
|
|
30960
30960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30961
30961
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30962
30962
|
children
|
|
@@ -31004,7 +31004,7 @@ function LogsPageView({
|
|
|
31004
31004
|
],
|
|
31005
31005
|
[onRefresh]
|
|
31006
31006
|
);
|
|
31007
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31007
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
31008
31008
|
!hideSearch && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-0 z-20 -my-[var(--spacing-system-l)] flex items-center gap-[var(--spacing-system-m)] bg-ods-bg py-[var(--spacing-system-l)]", children: [
|
|
31009
31009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31010
31010
|
_chunkHTRILBJDcjs.Input,
|
|
@@ -31074,10 +31074,10 @@ var ToolBadge = ({
|
|
|
31074
31074
|
className,
|
|
31075
31075
|
iconClassName
|
|
31076
31076
|
}) => {
|
|
31077
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31077
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkOXCGQV6Bcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31078
31078
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31079
31079
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31080
|
-
|
|
31080
|
+
_chunkEM4OEWCMcjs.NavLinkAnchorViaRuntime,
|
|
31081
31081
|
{
|
|
31082
31082
|
href,
|
|
31083
31083
|
targetPlatform,
|
|
@@ -31155,8 +31155,8 @@ function LogsTableView({
|
|
|
31155
31155
|
accessorKey: "logId",
|
|
31156
31156
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
31157
31157
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
31158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: row.original.timestamp }),
|
|
31159
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
31160
31160
|
] }),
|
|
31161
31161
|
enableSorting: false,
|
|
31162
31162
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -31184,7 +31184,7 @@ function LogsTableView({
|
|
|
31184
31184
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31185
31185
|
ToolBadge,
|
|
31186
31186
|
{
|
|
31187
|
-
toolType:
|
|
31187
|
+
toolType: _chunkOXCGQV6Bcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31188
31188
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31189
31189
|
}
|
|
31190
31190
|
),
|
|
@@ -31196,7 +31196,7 @@ function LogsTableView({
|
|
|
31196
31196
|
filter: {
|
|
31197
31197
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _663 => _663.toolTypes, 'access', _664 => _664.map, 'call', _665 => _665((toolType) => ({
|
|
31198
31198
|
id: toolType,
|
|
31199
|
-
label:
|
|
31199
|
+
label: _chunkOXCGQV6Bcjs.toToolLabel.call(void 0, toolType),
|
|
31200
31200
|
value: toolType
|
|
31201
31201
|
}))]), () => ( []))
|
|
31202
31202
|
}
|
|
@@ -31208,8 +31208,8 @@ function LogsTableView({
|
|
|
31208
31208
|
cell: ({ row }) => {
|
|
31209
31209
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
31210
31210
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
31211
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31212
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31211
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: deviceName }),
|
|
31212
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31213
31213
|
] });
|
|
31214
31214
|
},
|
|
31215
31215
|
enableSorting: false,
|
|
@@ -31223,7 +31223,7 @@ function LogsTableView({
|
|
|
31223
31223
|
{
|
|
31224
31224
|
accessorKey: "description",
|
|
31225
31225
|
header: "Log Details",
|
|
31226
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31226
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31227
31227
|
enableSorting: false,
|
|
31228
31228
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31229
31229
|
},
|
|
@@ -31254,7 +31254,7 @@ function LogsTableView({
|
|
|
31254
31254
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31255
31255
|
_chunk2QMBXGMQcjs.Button,
|
|
31256
31256
|
{
|
|
31257
|
-
onClick: getLogHref ?
|
|
31257
|
+
onClick: getLogHref ? _chunkOXCGQV6Bcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31258
31258
|
variant: "outline",
|
|
31259
31259
|
size: "icon",
|
|
31260
31260
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31483,8 +31483,8 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
31483
31483
|
}
|
|
31484
31484
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31485
31485
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31487
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: timestamp }),
|
|
31487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31488
31488
|
] });
|
|
31489
31489
|
}
|
|
31490
31490
|
function ExecutionStatusCell({ status }) {
|
|
@@ -31495,9 +31495,9 @@ function ExecutionDeviceCell({ name, organization }) {
|
|
|
31495
31495
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31496
31496
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31497
31497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31498
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: name }) : name })
|
|
31499
31499
|
] }),
|
|
31500
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31500
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31501
31501
|
] });
|
|
31502
31502
|
}
|
|
31503
31503
|
function ExecutionInitiatorCell({
|
|
@@ -31510,15 +31510,15 @@ function ExecutionInitiatorCell({
|
|
|
31510
31510
|
avatar,
|
|
31511
31511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31512
31512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31513
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31513
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: name }) : name,
|
|
31514
31514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31515
31515
|
] }),
|
|
31516
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31516
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31517
31517
|
] })
|
|
31518
31518
|
] });
|
|
31519
31519
|
}
|
|
31520
31520
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31521
|
-
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31521
|
+
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 2, children: result }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31522
31522
|
}
|
|
31523
31523
|
function ScriptExecutionResult({
|
|
31524
31524
|
result,
|
|
@@ -31536,14 +31536,14 @@ function ScriptExecutionResult({
|
|
|
31536
31536
|
|
|
31537
31537
|
function ScriptNameCell({ name, description }) {
|
|
31538
31538
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31540
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: name }),
|
|
31540
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31541
31541
|
] });
|
|
31542
31542
|
}
|
|
31543
31543
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31544
31544
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31546
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: date }),
|
|
31546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31547
31547
|
] });
|
|
31548
31548
|
}
|
|
31549
31549
|
|
|
@@ -31629,7 +31629,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31629
31629
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31630
31630
|
_chunk2QMBXGMQcjs.Button,
|
|
31631
31631
|
{
|
|
31632
|
-
onClick:
|
|
31632
|
+
onClick: _chunkOXCGQV6Bcjs.openInNewTab.call(void 0, href),
|
|
31633
31633
|
variant: "outline",
|
|
31634
31634
|
size: "icon",
|
|
31635
31635
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31742,7 +31742,7 @@ function ScriptSchedulesTable({
|
|
|
31742
31742
|
cell(SCHEDULE_COLUMNS.supportedPlatforms, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OSTypeBadgeGroup, { osTypes: row.supportedPlatforms, iconSize: "w-4 h-4 content-md:w-6 content-md:h-6" })),
|
|
31743
31743
|
cell(
|
|
31744
31744
|
SCHEDULE_COLUMNS.dateTime,
|
|
31745
|
-
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31745
|
+
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31746
31746
|
),
|
|
31747
31747
|
cell(SCHEDULE_COLUMNS.repeat, (row) => row.repeat ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.repeat }) : null),
|
|
31748
31748
|
cell(SCHEDULE_COLUMNS.deviceCount, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.deviceCount }))
|
|
@@ -31778,9 +31778,9 @@ function ScriptSchedulesTable({
|
|
|
31778
31778
|
|
|
31779
31779
|
// src/components/features/scripts/shell-types.ts
|
|
31780
31780
|
var SCRIPT_SHELL_TYPES = [
|
|
31781
|
-
{ id:
|
|
31782
|
-
{ id:
|
|
31783
|
-
{ id:
|
|
31781
|
+
{ id: _chunkOXCGQV6Bcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31782
|
+
{ id: _chunkOXCGQV6Bcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31783
|
+
{ id: _chunkOXCGQV6Bcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31784
31784
|
];
|
|
31785
31785
|
function scriptShellType(value) {
|
|
31786
31786
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -31841,7 +31841,7 @@ function ScriptsTable({
|
|
|
31841
31841
|
initialsClassName: "text-ods-text-secondary"
|
|
31842
31842
|
}
|
|
31843
31843
|
),
|
|
31844
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: row.author.name }) })
|
|
31845
31845
|
] }) : null
|
|
31846
31846
|
)
|
|
31847
31847
|
];
|
|
@@ -32183,9 +32183,9 @@ function ReconnectWindowFields({
|
|
|
32183
32183
|
invalid
|
|
32184
32184
|
}
|
|
32185
32185
|
),
|
|
32186
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32186
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: unit, onValueChange: (next) => onUnitChange(next), disabled, children: [
|
|
32187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
32188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32189
32189
|
] })
|
|
32190
32190
|
] });
|
|
32191
32191
|
}
|
|
@@ -32253,7 +32253,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32253
32253
|
options
|
|
32254
32254
|
}
|
|
32255
32255
|
),
|
|
32256
|
-
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32256
|
+
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32257
32257
|
]
|
|
32258
32258
|
}
|
|
32259
32259
|
) }) })
|
|
@@ -32362,8 +32362,8 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
32362
32362
|
// Dragging towards the edge of the screen — or past it — scrolls whatever
|
|
32363
32363
|
// actually scrolls there: the page, the layout's `<main>`, or the list
|
|
32364
32364
|
// itself when it has its own overflow.
|
|
32365
|
-
|
|
32366
|
-
|
|
32365
|
+
_chunkAG4HR6Z6cjs.autoScrollAncestors.call(void 0, list),
|
|
32366
|
+
_chunkAG4HR6Z6cjs.autoScrollBothWays.call(void 0, list),
|
|
32367
32367
|
// One target for the whole list: which slot a drop lands in is answered by
|
|
32368
32368
|
// geometry, so this only has to say "inside the list, or outside it".
|
|
32369
32369
|
_adapter.dropTargetForElements.call(void 0, {
|
|
@@ -32660,7 +32660,7 @@ function useSortableItem() {
|
|
|
32660
32660
|
return _combine.combine.call(void 0,
|
|
32661
32661
|
// The drag has to start as a "move", or its first frame is drawn with the
|
|
32662
32662
|
// copy cursor — see `drag-effect.ts`.
|
|
32663
|
-
|
|
32663
|
+
_chunkAG4HR6Z6cjs.holdMoveDragEffect.call(void 0, item),
|
|
32664
32664
|
_adapter.draggable.call(void 0, {
|
|
32665
32665
|
element: item,
|
|
32666
32666
|
dragHandle: handle,
|
|
@@ -33084,24 +33084,24 @@ function ScheduleTimingFields({
|
|
|
33084
33084
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
33085
33085
|
// until a slot is picked — a date at midnight no longer
|
|
33086
33086
|
// masquerades as a chosen 12:00 AM.
|
|
33087
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33087
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
33088
33088
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33089
|
-
|
|
33089
|
+
_chunk3GG3QAPTcjs.SelectTrigger,
|
|
33090
33090
|
{
|
|
33091
33091
|
className: "w-full",
|
|
33092
33092
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _717 => _717.error, 'optionalAccess', _718 => _718.message]) : void 0))),
|
|
33093
33093
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
33094
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33094
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Select time" })
|
|
33095
33095
|
}
|
|
33096
33096
|
),
|
|
33097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
33098
33098
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
33099
33099
|
// to select, and a selectable row would put a bogus value
|
|
33100
33100
|
// in the form. It replaces a popup that opened blank; the
|
|
33101
33101
|
// Date field carries the same sentence for whoever never
|
|
33102
33102
|
// opens this one.
|
|
33103
33103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-4 py-[var(--spacing-system-sf)] text-ods-text-secondary text-h6", children: NO_SLOTS_TODAY_MESSAGE })
|
|
33104
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33104
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33105
33105
|
] })
|
|
33106
33106
|
)
|
|
33107
33107
|
}
|
|
@@ -33115,14 +33115,14 @@ function ScheduleTimingFields({
|
|
|
33115
33115
|
name: "timeReference",
|
|
33116
33116
|
control,
|
|
33117
33117
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33118
|
-
|
|
33118
|
+
_chunk3GG3QAPTcjs.Select,
|
|
33119
33119
|
{
|
|
33120
33120
|
value: field.value,
|
|
33121
33121
|
onValueChange: (next) => handleTimeReferenceChange(field.onChange, next),
|
|
33122
33122
|
disabled: fieldsDisabled,
|
|
33123
33123
|
children: [
|
|
33124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
33125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33126
33126
|
]
|
|
33127
33127
|
}
|
|
33128
33128
|
)
|
|
@@ -33182,7 +33182,7 @@ function ScheduleTimingFields({
|
|
|
33182
33182
|
name: "repeatUnit",
|
|
33183
33183
|
control,
|
|
33184
33184
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33185
|
-
|
|
33185
|
+
_chunk3GG3QAPTcjs.Select,
|
|
33186
33186
|
{
|
|
33187
33187
|
value: field.value,
|
|
33188
33188
|
onValueChange: (next) => {
|
|
@@ -33193,8 +33193,8 @@ function ScheduleTimingFields({
|
|
|
33193
33193
|
},
|
|
33194
33194
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
33195
33195
|
children: [
|
|
33196
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33197
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33196
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, {}) }),
|
|
33197
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33198
33198
|
]
|
|
33199
33199
|
}
|
|
33200
33200
|
)
|
|
@@ -33213,7 +33213,7 @@ function ScheduleFormFields({
|
|
|
33213
33213
|
disabled = false,
|
|
33214
33214
|
renderScriptSearch,
|
|
33215
33215
|
timeReferenceGate = "off",
|
|
33216
|
-
platforms =
|
|
33216
|
+
platforms = _chunkOXCGQV6Bcjs.OS_PLATFORMS,
|
|
33217
33217
|
comingSoonPlatforms = [],
|
|
33218
33218
|
getTimeSlots,
|
|
33219
33219
|
nameLayout = "stacked",
|
|
@@ -33283,7 +33283,7 @@ function ScheduleFormFields({
|
|
|
33283
33283
|
platform.id
|
|
33284
33284
|
);
|
|
33285
33285
|
}) }),
|
|
33286
|
-
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33286
|
+
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33287
33287
|
]
|
|
33288
33288
|
}
|
|
33289
33289
|
);
|
|
@@ -33359,7 +33359,7 @@ function ScheduleFormFields({
|
|
|
33359
33359
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33360
33360
|
|
|
33361
33361
|
function ScriptPlatformIcons({ platforms }) {
|
|
33362
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33362
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkOXCGQV6Bcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33363
33363
|
}
|
|
33364
33364
|
function ScheduleScriptSearchField({
|
|
33365
33365
|
scriptId,
|
|
@@ -33385,7 +33385,7 @@ function ScheduleScriptSearchField({
|
|
|
33385
33385
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", onFocus: onOpen, onBlur: handleBlur, children: [
|
|
33386
33386
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK6VWTUCHcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33387
33387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33388
|
-
|
|
33388
|
+
_chunk3GG3QAPTcjs.Autocomplete,
|
|
33389
33389
|
{
|
|
33390
33390
|
options,
|
|
33391
33391
|
value: scriptId || null,
|
|
@@ -33400,7 +33400,7 @@ function ScheduleScriptSearchField({
|
|
|
33400
33400
|
error,
|
|
33401
33401
|
invalid,
|
|
33402
33402
|
renderOption: (option, isSelected) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33404
33404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _724 => _724.find, 'call', _725 => _725((s) => s.id === option.value), 'optionalAccess', _726 => _726.supportedPlatforms]), () => ( [])) })
|
|
33405
33405
|
] })
|
|
33406
33406
|
}
|
|
@@ -33432,7 +33432,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33432
33432
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33433
33433
|
_chunk2QMBXGMQcjs.Button,
|
|
33434
33434
|
{
|
|
33435
|
-
onClick:
|
|
33435
|
+
onClick: _chunkOXCGQV6Bcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33436
33436
|
variant: "outline",
|
|
33437
33437
|
size: "icon",
|
|
33438
33438
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33458,7 +33458,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33458
33458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex h-8 w-8 shrink-0 items-center justify-center rounded-[6px] border border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16, className: "shrink-0 text-ods-text-secondary" }) }),
|
|
33459
33459
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33460
33460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: item.name }) }),
|
|
33462
33462
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33463
33463
|
_chunkJHQNUWFMcjs.Tag,
|
|
33464
33464
|
{
|
|
@@ -33468,7 +33468,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33468
33468
|
}
|
|
33469
33469
|
)
|
|
33470
33470
|
] }),
|
|
33471
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33471
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
33472
33472
|
] })
|
|
33473
33473
|
] });
|
|
33474
33474
|
},
|
|
@@ -33548,7 +33548,7 @@ function KnowledgeBaseArticleView({
|
|
|
33548
33548
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33549
33549
|
}) {
|
|
33550
33550
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33551
|
-
|
|
33551
|
+
_chunk3GG3QAPTcjs.PageLayout,
|
|
33552
33552
|
{
|
|
33553
33553
|
title,
|
|
33554
33554
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33558,9 +33558,9 @@ function KnowledgeBaseArticleView({
|
|
|
33558
33558
|
className,
|
|
33559
33559
|
children: [
|
|
33560
33560
|
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJHQNUWFMcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33561
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
33562
33562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33563
|
-
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33563
|
+
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAG4HR6Z6cjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33564
33564
|
_chunkJHQNUWFMcjs.SquareAvatar,
|
|
33565
33565
|
{
|
|
33566
33566
|
src: author.imageUrl,
|
|
@@ -33571,12 +33571,12 @@ function KnowledgeBaseArticleView({
|
|
|
33571
33571
|
}
|
|
33572
33572
|
),
|
|
33573
33573
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33575
33575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33576
33576
|
] })
|
|
33577
33577
|
] }),
|
|
33578
33578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { children: updatedLabel }),
|
|
33580
33580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33581
33581
|
] }),
|
|
33582
33582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33680,13 +33680,13 @@ function ConversationCard({
|
|
|
33680
33680
|
),
|
|
33681
33681
|
style: tint,
|
|
33682
33682
|
children: [
|
|
33683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOXCGQV6Bcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", title: request, children: [
|
|
33684
33684
|
"\u201C",
|
|
33685
33685
|
request,
|
|
33686
33686
|
"\u201D"
|
|
33687
33687
|
] }) }),
|
|
33688
33688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33689
|
-
|
|
33689
|
+
_chunkOXCGQV6Bcjs.ChatTurn,
|
|
33690
33690
|
{
|
|
33691
33691
|
avatar: responder.avatar,
|
|
33692
33692
|
name: responder.name,
|
|
@@ -33722,7 +33722,7 @@ function Highlights({ items, className }) {
|
|
|
33722
33722
|
if (items.length === 0) return null;
|
|
33723
33723
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, 3).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
33724
33724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
33725
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33725
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
33726
33726
|
] }, text)) });
|
|
33727
33727
|
}
|
|
33728
33728
|
function Example({
|
|
@@ -33751,7 +33751,7 @@ function Example({
|
|
|
33751
33751
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _728 => _728.mark]), () => ( requesterMark))),
|
|
33752
33752
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33753
33753
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _729 => _729.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _730 => _730.note]), () => ( labels.requesterNote))),
|
|
33754
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33754
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
33755
33755
|
] })
|
|
33756
33756
|
] }),
|
|
33757
33757
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -33760,7 +33760,7 @@ function Example({
|
|
|
33760
33760
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _732 => _732.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _733 => _733.note]), () => ( labels.responderNote))),
|
|
33761
33761
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
33762
33762
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
33763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
33764
33764
|
] })
|
|
33765
33765
|
] })
|
|
33766
33766
|
] })
|
|
@@ -33771,12 +33771,12 @@ function Example({
|
|
|
33771
33771
|
var LINE_SKELETON_CLASS = "inline-block h-[0.7em] rounded align-middle";
|
|
33772
33772
|
function ExampleSkeleton({ className }) {
|
|
33773
33773
|
const turn = (first) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 gap-2.5", !first && "border-t border-ods-border pt-3"), children: [
|
|
33774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-6 shrink-0 rounded-full" }),
|
|
33775
33775
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-28") }) }),
|
|
33777
33777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[2lh] text-h4", children: [
|
|
33778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-full") }) }),
|
|
33779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-2/3") }) })
|
|
33780
33780
|
] })
|
|
33781
33781
|
] })
|
|
33782
33782
|
] });
|
|
@@ -33796,10 +33796,10 @@ function ExampleSkeleton({ className }) {
|
|
|
33796
33796
|
}
|
|
33797
33797
|
function JobHeadSkeleton() {
|
|
33798
33798
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
33799
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33799
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-9 shrink-0 rounded-lg" }),
|
|
33800
33800
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33802
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-0.5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33801
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-32") }) }),
|
|
33802
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-0.5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-40") }) }) })
|
|
33803
33803
|
] })
|
|
33804
33804
|
] });
|
|
33805
33805
|
}
|
|
@@ -33808,7 +33808,7 @@ function CapabilityExplorerSkeleton({
|
|
|
33808
33808
|
className,
|
|
33809
33809
|
count = 8
|
|
33810
33810
|
}) {
|
|
33811
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33811
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading capabilities", announce: region, className, children: [
|
|
33812
33812
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:hidden", children: [
|
|
33813
33813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-[var(--spacing-system-sf)] overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33814
33814
|
"div",
|
|
@@ -33820,10 +33820,10 @@ function CapabilityExplorerSkeleton({
|
|
|
33820
33820
|
children: [
|
|
33821
33821
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, JobHeadSkeleton, {}) }),
|
|
33822
33822
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[3lh] text-h6", children: [
|
|
33823
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33823
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-full") }) }),
|
|
33824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-5/6") }) })
|
|
33825
33825
|
] }),
|
|
33826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[300px] shrink-0 rounded-lg" }),
|
|
33827
33827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExampleSkeleton, { className: "shrink-0" })
|
|
33828
33828
|
]
|
|
33829
33829
|
}
|
|
@@ -33852,19 +33852,19 @@ function CapabilityExplorerSkeleton({
|
|
|
33852
33852
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 min-w-0 flex-col gap-5 overflow-hidden rounded-xl border border-ods-border bg-ods-card px-8 py-7", children: [
|
|
33853
33853
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid shrink-0 grid-cols-[minmax(0,1fr)_minmax(0,380px)] gap-8", PANEL_TOP_HEIGHT_CLASS), children: [
|
|
33854
33854
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
33855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-64") }) }) }),
|
|
33856
33856
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[3lh] text-h4", children: [
|
|
33857
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-full") }) }),
|
|
33858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-4/5") }) })
|
|
33859
33859
|
] }),
|
|
33860
33860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto grid grid-cols-1 gap-2", children: [0, 1, 2].map((i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
33861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33862
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded-full" }),
|
|
33862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, i === 1 ? "w-56" : "w-48") }) })
|
|
33863
33863
|
] }, i)) })
|
|
33864
33864
|
] }),
|
|
33865
33865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExampleSkeleton, {})
|
|
33866
33866
|
] }),
|
|
33867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 rounded-xl", PANEL_SCREEN_HEIGHT_CLASS) }),
|
|
33868
33868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33869
33869
|
"div",
|
|
33870
33870
|
{
|
|
@@ -33873,8 +33873,8 @@ function CapabilityExplorerSkeleton({
|
|
|
33873
33873
|
PANEL_FOOTER_HEIGHT_CLASS
|
|
33874
33874
|
),
|
|
33875
33875
|
children: [
|
|
33876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk3ATAYP36cjs.cn.call(void 0, LINE_SKELETON_CLASS, "w-16") }) }),
|
|
33877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-7 w-36 rounded-md" })
|
|
33878
33878
|
]
|
|
33879
33879
|
}
|
|
33880
33880
|
)
|
|
@@ -33919,16 +33919,16 @@ function CapabilityExplorer({
|
|
|
33919
33919
|
),
|
|
33920
33920
|
children: [
|
|
33921
33921
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
33922
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33922
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33923
33923
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33924
33924
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
33926
33926
|
item.badge
|
|
33927
33927
|
] }),
|
|
33928
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33928
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
33929
33929
|
] })
|
|
33930
33930
|
] }),
|
|
33931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
33932
33932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
33933
33933
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33934
33934
|
Example,
|
|
@@ -34003,7 +34003,7 @@ function CapabilityExplorer({
|
|
|
34003
34003
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
34004
34004
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
34005
34005
|
),
|
|
34006
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34006
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34007
34007
|
}
|
|
34008
34008
|
),
|
|
34009
34009
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -34056,8 +34056,8 @@ function CapabilityExplorer({
|
|
|
34056
34056
|
),
|
|
34057
34057
|
children: [
|
|
34058
34058
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
34059
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34060
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34059
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34060
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34061
34061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34062
34062
|
] }),
|
|
34063
34063
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|