@flamingo-stack/openframe-frontend-core 0.0.724 → 0.0.726
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-N2PX26BZ.js → chunk-2MMZTACD.js} +2 -2
- package/dist/{chunk-2HLGX6JF.js → chunk-3UZET2G7.js} +5 -5
- package/dist/{chunk-NLZZUWR6.js → chunk-3XDVGHL4.js} +4 -4
- package/dist/{chunk-L5CAET76.cjs → chunk-4ND65E2B.cjs} +64 -64
- package/dist/{chunk-OFOBVPDV.js → chunk-4VRHDFF2.js} +2 -2
- package/dist/{chunk-QJ67GFF3.cjs → chunk-5SWQ2ZU5.cjs} +32 -32
- package/dist/{chunk-CJENFR5T.js → chunk-6EFNWQRY.js} +1 -1
- package/dist/{chunk-7CNGNPBI.js → chunk-AZKVHJA5.js} +3 -3
- package/dist/{chunk-QN3OXRTM.js → chunk-C5KMQLJP.js} +5 -5
- package/dist/{chunk-MU5F5QXJ.js → chunk-COFT3YPA.js} +6 -6
- package/dist/{chunk-ZKL52ALL.cjs → chunk-DXDLCYCM.cjs} +3 -3
- package/dist/{chunk-3MMKIVWZ.cjs → chunk-EHYAOIE4.cjs} +23 -23
- package/dist/{chunk-5CJGNPTT.cjs → chunk-FMFCPX3R.cjs} +35 -35
- package/dist/{chunk-DGNGABNG.cjs → chunk-HEQ4GPYE.cjs} +4 -4
- package/dist/{chunk-JKWQWHNV.cjs → chunk-IITB5TJR.cjs} +4 -1
- package/dist/{chunk-MRBPJ4NB.js → chunk-JXJFUGJY.js} +1 -1
- package/dist/{chunk-BWMEQ7IZ.js → chunk-JYJBL7GD.js} +1 -1
- package/dist/{chunk-YKV45BSJ.cjs → chunk-KLCOSY7B.cjs} +4 -4
- package/dist/{chunk-QUI7DKBW.cjs → chunk-KNLRL63O.cjs} +41 -41
- package/dist/{chunk-PF4WAKCS.js → chunk-MM66P4X4.js} +4 -4
- package/dist/{chunk-6QO6BIX7.js → chunk-MQ3ZM7FJ.js} +1 -1
- package/dist/{chunk-OWFDXYEO.js → chunk-MSPXMSMY.js} +1 -1
- package/dist/{chunk-SOTXV3T5.cjs → chunk-MZ3TMXIX.cjs} +3 -3
- package/dist/{chunk-BIWG3CYN.cjs → chunk-MZY6LBM5.cjs} +3 -3
- package/dist/{chunk-7AXOAA5T.cjs → chunk-NJV3LIDE.cjs} +3 -3
- package/dist/{chunk-IUQKIU5A.js → chunk-NLWIBA55.js} +6 -6
- package/dist/{chunk-4N5DLIEC.js → chunk-NZYMMYWN.js} +1 -1
- package/dist/{chunk-GRB5HVEV.cjs → chunk-Q2G7NVFH.cjs} +505 -505
- package/dist/{chunk-IPUDFAU5.cjs → chunk-R3BOJNZI.cjs} +31 -31
- package/dist/{chunk-SVDXNMBL.cjs → chunk-RSE3MU4G.cjs} +16 -16
- package/dist/{chunk-3NVSC3BU.cjs → chunk-RVSNXG6J.cjs} +246 -267
- package/dist/{chunk-S4SVKXHN.js → chunk-SBPPM65Y.js} +54 -75
- package/dist/{chunk-KKO4GRM3.js → chunk-SCTS3EMJ.js} +4 -4
- package/dist/{chunk-VLPGV5WH.js → chunk-TU5LEF6A.js} +1 -1
- package/dist/{chunk-N4NGKXUU.cjs → chunk-U6LRRG2E.cjs} +15 -15
- package/dist/{chunk-6BKDXUOQ.js → chunk-VKR56R3U.js} +6 -6
- package/dist/{chunk-FR4MFSH5.cjs → chunk-VPABPC2M.cjs} +19 -19
- package/dist/{chunk-2A4AGW7Z.cjs → chunk-X2PG6XWF.cjs} +11 -11
- package/dist/{chunk-JQ7A7PO5.cjs → chunk-XEIDJ6SL.cjs} +76 -76
- package/dist/{chunk-ZQKN2Z6W.js → chunk-YQDKVGKO.js} +4 -1
- package/dist/{chunk-XDTD6YGG.js → chunk-YVWJ3TRY.js} +7 -7
- package/dist/{chunk-A4WHVIYZ.cjs → chunk-Z3VAFLYK.cjs} +17 -17
- package/dist/{cloud-tenants-UMZJZTMB.cjs → cloud-tenants-5JTQ2ENQ.cjs} +7 -7
- package/dist/{cloud-tenants-5MINXS5J.js → cloud-tenants-NH7VE7KE.js} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/case-studies/index.js +7 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/docs/index.js +10 -10
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/index.js +6 -6
- package/dist/components/help-center-pages/index.cjs +106 -106
- package/dist/components/help-center-pages/index.js +18 -18
- package/dist/components/index.cjs +55 -55
- package/dist/components/index.js +18 -18
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +6 -6
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.js +9 -9
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/{devices-FSSUAUQN.js → devices-OC7JEI6U.js} +6 -6
- package/dist/{devices-HOT7YSDN.cjs → devices-PV76NGQO.cjs} +8 -8
- package/dist/index.cjs +11 -11
- package/dist/index.js +10 -10
- package/dist/{knowledge-3N6HCFLU.cjs → knowledge-5AYFIVKD.cjs} +8 -8
- package/dist/{knowledge-7HRUJX26.js → knowledge-L7WQ7IEP.js} +6 -6
- package/dist/{logs-75M5YP6V.cjs → logs-4F77RJXJ.cjs} +15 -15
- package/dist/{logs-T25OE2QW.js → logs-MGFHGVIE.js} +6 -6
- package/dist/{policies-BTG7UJJC.cjs → policies-VCGM3C5Z.cjs} +11 -11
- package/dist/{policies-4OK4XTD4.js → policies-WRDZFNIB.js} +6 -6
- package/dist/{remote-session-4DTOM3QD.cjs → remote-session-CSX6ESSG.cjs} +5 -5
- package/dist/{remote-session-AZJXG7ZF.js → remote-session-ZBCWD5A5.js} +3 -3
- package/dist/{software-update-5SOV4FIR.js → software-update-WVG2GDZO.js} +6 -6
- package/dist/{software-update-OZURO4VK.cjs → software-update-YD2MNL3K.cjs} +11 -11
- package/dist/utils/index.cjs +17 -18
- package/dist/utils/index.js +17 -18
- package/dist/utils/source-grouping.d.ts +15 -5
- package/dist/utils/source-grouping.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +47 -58
- package/src/components/chat/utils/icon-library.tsx +8 -3
- package/src/components/chat/utils/source-row-cta.ts +3 -3
- package/src/utils/source-grouping.ts +24 -14
- package/src/utils/source-icons.ts +16 -16
|
@@ -24,7 +24,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -121,7 +121,7 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
var
|
|
124
|
+
var _chunkRVSNXG6Jcjs = require('./chunk-RVSNXG6J.cjs');
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
@@ -150,7 +150,7 @@ var _chunkHP4UUBJCcjs = require('./chunk-HP4UUBJC.cjs');
|
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
var
|
|
153
|
+
var _chunkNJV3LIDEcjs = require('./chunk-NJV3LIDE.cjs');
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
@@ -193,11 +193,11 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
|
|
196
|
-
var
|
|
196
|
+
var _chunkHEQ4GPYEcjs = require('./chunk-HEQ4GPYE.cjs');
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
|
|
200
|
-
var
|
|
200
|
+
var _chunkIITB5TJRcjs = require('./chunk-IITB5TJR.cjs');
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
|
|
@@ -447,7 +447,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
447
447
|
var useTheme = _nextthemes.useTheme;
|
|
448
448
|
function useThemeToggle() {
|
|
449
449
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
450
|
-
const mounted =
|
|
450
|
+
const mounted = _chunkRVSNXG6Jcjs.useIsHydrated.call(void 0, );
|
|
451
451
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
452
452
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
453
453
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -655,7 +655,7 @@ function TimezoneSelect({
|
|
|
655
655
|
}) {
|
|
656
656
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
657
657
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
658
|
-
|
|
658
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
659
659
|
{
|
|
660
660
|
className,
|
|
661
661
|
value: value || null,
|
|
@@ -1473,20 +1473,20 @@ function DatePickerInput(props) {
|
|
|
1473
1473
|
) })
|
|
1474
1474
|
] }),
|
|
1475
1475
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1476
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1476
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1477
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "HH" }) }),
|
|
1478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: h, children: h }, h)) })
|
|
1479
1479
|
] }),
|
|
1480
1480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1481
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1482
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1481
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "MM" }) }),
|
|
1483
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: m, children: m }, m)) })
|
|
1484
1484
|
] }),
|
|
1485
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1487
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1485
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "AM" }) }),
|
|
1487
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: [
|
|
1488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "PM", children: "PM" })
|
|
1490
1490
|
] })
|
|
1491
1491
|
] })
|
|
1492
1492
|
] })
|
|
@@ -1628,9 +1628,9 @@ function DatePickerInputSimple(props) {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
) })
|
|
1630
1630
|
] }),
|
|
1631
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1633
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1631
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1634
1634
|
] })
|
|
1635
1635
|
] });
|
|
1636
1636
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1649,14 +1649,14 @@ function DateFilterPanel({
|
|
|
1649
1649
|
className
|
|
1650
1650
|
}) {
|
|
1651
1651
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1652
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1653
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1652
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1653
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.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: [
|
|
1654
1654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1655
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) })
|
|
1656
1656
|
] }) }),
|
|
1657
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1657
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: [
|
|
1658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "desc", children: descLabel })
|
|
1660
1660
|
] })
|
|
1661
1661
|
] }),
|
|
1662
1662
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2399,7 +2399,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2399
2399
|
if (isEditing) {
|
|
2400
2400
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2401
2401
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2402
|
-
|
|
2402
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
2403
2403
|
{
|
|
2404
2404
|
options,
|
|
2405
2405
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _34 => _34.id]), () => ( null)),
|
|
@@ -2635,15 +2635,15 @@ function MediaTypeSelector({
|
|
|
2635
2635
|
// changed) and cost an extra render pass on every change to say what the
|
|
2636
2636
|
// prop already said.
|
|
2637
2637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2638
|
-
|
|
2638
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
2639
2639
|
{
|
|
2640
2640
|
value: value || void 0,
|
|
2641
2641
|
onValueChange,
|
|
2642
2642
|
disabled,
|
|
2643
2643
|
defaultValue: value,
|
|
2644
2644
|
children: [
|
|
2645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder }) }),
|
|
2646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
2647
2647
|
option.icon,
|
|
2648
2648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
2649
2649
|
] }) }, option.value)) })
|
|
@@ -4001,10 +4001,10 @@ function useConfirm() {
|
|
|
4001
4001
|
},
|
|
4002
4002
|
[]
|
|
4003
4003
|
);
|
|
4004
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4005
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4007
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4004
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4005
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: pending.title }) }),
|
|
4006
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4007
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
4008
4008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4009
4009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4010
4010
|
] })
|
|
@@ -4058,14 +4058,14 @@ function AdminFormDrawer({
|
|
|
4058
4058
|
else onClose();
|
|
4059
4059
|
};
|
|
4060
4060
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4061
|
-
|
|
4061
|
+
_chunkRVSNXG6Jcjs.Drawer,
|
|
4062
4062
|
{
|
|
4063
4063
|
open: isOpen,
|
|
4064
4064
|
onOpenChange: (open) => {
|
|
4065
4065
|
if (!open) requestClose();
|
|
4066
4066
|
},
|
|
4067
4067
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4068
|
-
|
|
4068
|
+
_chunkRVSNXG6Jcjs.DrawerContent,
|
|
4069
4069
|
{
|
|
4070
4070
|
side: "right",
|
|
4071
4071
|
resizable: true,
|
|
@@ -4074,15 +4074,15 @@ function AdminFormDrawer({
|
|
|
4074
4074
|
storageKey,
|
|
4075
4075
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4076
4076
|
children: [
|
|
4077
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4079
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4077
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRVSNXG6Jcjs.DrawerHeader, { children: [
|
|
4078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.DrawerTitle, { children: title }),
|
|
4079
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4080
4080
|
] }),
|
|
4081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4082
4082
|
"form",
|
|
4083
4083
|
{
|
|
4084
4084
|
id: formId,
|
|
4085
|
-
...
|
|
4085
|
+
..._chunkRVSNXG6Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4086
4086
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4087
4087
|
onSubmit: (e) => {
|
|
4088
4088
|
e.preventDefault();
|
|
@@ -4209,16 +4209,16 @@ function AdminFormModal({
|
|
|
4209
4209
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4210
4210
|
});
|
|
4211
4211
|
if (!isOpen) return null;
|
|
4212
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4213
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4212
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4213
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: [
|
|
4214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: title }),
|
|
4215
4215
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4216
4216
|
] }),
|
|
4217
4217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4218
4218
|
"form",
|
|
4219
4219
|
{
|
|
4220
4220
|
id: formId,
|
|
4221
|
-
...
|
|
4221
|
+
..._chunkRVSNXG6Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4222
4222
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4223
4223
|
onSubmit: (e) => {
|
|
4224
4224
|
e.preventDefault();
|
|
@@ -4236,7 +4236,7 @@ function AdminFormModal({
|
|
|
4236
4236
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4237
4237
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4238
4238
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4240
4240
|
"div",
|
|
4241
4241
|
{
|
|
4242
4242
|
"aria-busy": "true",
|
|
@@ -4257,12 +4257,12 @@ function AdminFormModal({
|
|
|
4257
4257
|
]
|
|
4258
4258
|
}
|
|
4259
4259
|
) })
|
|
4260
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4260
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalContent, { className: contentClassName, children }),
|
|
4261
4261
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4262
4262
|
]
|
|
4263
4263
|
}
|
|
4264
4264
|
),
|
|
4265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4266
4266
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4267
4267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4268
4268
|
footerStatus,
|
|
@@ -5447,7 +5447,7 @@ function EmbedViewerFrame({
|
|
|
5447
5447
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5448
5448
|
_react.useEffect.call(void 0, () => {
|
|
5449
5449
|
if (!fullscreenControl) return void 0;
|
|
5450
|
-
const controller = new (0,
|
|
5450
|
+
const controller = new (0, _chunkRVSNXG6Jcjs.FullscreenSwitchController)({
|
|
5451
5451
|
target: () => frameRef.current,
|
|
5452
5452
|
onFullscreenChange: setIsFullscreen
|
|
5453
5453
|
});
|
|
@@ -6397,7 +6397,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6397
6397
|
};
|
|
6398
6398
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6399
6399
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6400
|
-
|
|
6400
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
6401
6401
|
{
|
|
6402
6402
|
url: item.src,
|
|
6403
6403
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7121,7 +7121,7 @@ function buildRichEmbedOverrides({
|
|
|
7121
7121
|
ogEndpointPath,
|
|
7122
7122
|
textSizes
|
|
7123
7123
|
}) {
|
|
7124
|
-
const standard =
|
|
7124
|
+
const standard = _chunkRVSNXG6Jcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7125
7125
|
return {
|
|
7126
7126
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7127
7127
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7131,7 +7131,7 @@ function buildRichEmbedOverrides({
|
|
|
7131
7131
|
const language = match ? match[1] : "";
|
|
7132
7132
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7133
7133
|
if (language === "youtube-embed") {
|
|
7134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7135
7135
|
}
|
|
7136
7136
|
if (language === "reddit-embed") {
|
|
7137
7137
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7172,7 +7172,7 @@ function buildRichEmbedOverrides({
|
|
|
7172
7172
|
"data-figma-url": figmaUrl
|
|
7173
7173
|
} = divProps;
|
|
7174
7174
|
if (className === "youtube-embed" && videoId) {
|
|
7175
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7175
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Video, { kind: "youtube", url: videoId });
|
|
7176
7176
|
}
|
|
7177
7177
|
if (className === "reddit-embed" && postUrl) {
|
|
7178
7178
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7257,14 +7257,14 @@ function buildRichEmbedOverrides({
|
|
|
7257
7257
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7258
7258
|
// elsewhere). Guard against empty `![]()`.
|
|
7259
7259
|
img: ({ src, alt }) => {
|
|
7260
|
-
if (!
|
|
7260
|
+
if (!_chunkRVSNXG6Jcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7261
7261
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7262
7262
|
},
|
|
7263
7263
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7264
7264
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7265
7265
|
video: ({ src, poster, className }) => {
|
|
7266
|
-
if (!
|
|
7267
|
-
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,
|
|
7266
|
+
if (!_chunkRVSNXG6Jcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7267
|
+
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, _chunkHEQ4GPYEcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7268
7268
|
}
|
|
7269
7269
|
};
|
|
7270
7270
|
}
|
|
@@ -7372,7 +7372,7 @@ var processShortcodes = (content) => {
|
|
|
7372
7372
|
try {
|
|
7373
7373
|
const urlObj = new URL(url);
|
|
7374
7374
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7375
|
-
const hostIs = (domain) =>
|
|
7375
|
+
const hostIs = (domain) => _chunkRVSNXG6Jcjs.hostMatches.call(void 0, hostname, domain);
|
|
7376
7376
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7377
7377
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7378
7378
|
return match;
|
|
@@ -7447,13 +7447,13 @@ var RichMarkdownInner = ({
|
|
|
7447
7447
|
},
|
|
7448
7448
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7449
7449
|
);
|
|
7450
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7450
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkRVSNXG6Jcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7451
7451
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7452
7452
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7453
7453
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7454
7454
|
);
|
|
7455
7455
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7456
|
-
|
|
7456
|
+
_chunkRVSNXG6Jcjs.MarkdownEngine,
|
|
7457
7457
|
{
|
|
7458
7458
|
content,
|
|
7459
7459
|
className,
|
|
@@ -7475,7 +7475,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7475
7475
|
className = "",
|
|
7476
7476
|
sectionIds,
|
|
7477
7477
|
onInternalLinkClick,
|
|
7478
|
-
brokenLinks =
|
|
7478
|
+
brokenLinks = _chunkRVSNXG6Jcjs.NO_BROKEN_LINKS,
|
|
7479
7479
|
currentPath,
|
|
7480
7480
|
resolveSource = "openframe-docs",
|
|
7481
7481
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8433,7 +8433,7 @@ function FilterModal({
|
|
|
8433
8433
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _141 => _141.defaultSort]), () => ( "desc"));
|
|
8434
8434
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _142 => _142.sort]), () => ( dateDefaultSort)));
|
|
8435
8435
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _143 => _143.range]));
|
|
8436
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8436
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkRVSNXG6Jcjs.useScrollFade.call(void 0, );
|
|
8437
8437
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8438
8438
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8439
8439
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8479,15 +8479,15 @@ function FilterModal({
|
|
|
8479
8479
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8480
8480
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8481
8481
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8482
|
-
|
|
8482
|
+
_chunkNJV3LIDEcjs.Modal,
|
|
8483
8483
|
{
|
|
8484
8484
|
isOpen,
|
|
8485
8485
|
onClose,
|
|
8486
8486
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
8487
8487
|
children: [
|
|
8488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: title }) }),
|
|
8489
8489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8490
|
-
|
|
8490
|
+
_chunkNJV3LIDEcjs.ModalContent,
|
|
8491
8491
|
{
|
|
8492
8492
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
8493
8493
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8579,12 +8579,12 @@ function FilterModal({
|
|
|
8579
8579
|
] })
|
|
8580
8580
|
}
|
|
8581
8581
|
),
|
|
8582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8584
8584
|
] })
|
|
8585
8585
|
}
|
|
8586
8586
|
),
|
|
8587
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8587
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
8588
8588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8589
8589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8590
8590
|
] })
|
|
@@ -8646,7 +8646,7 @@ function renderAdvancedPageContainer({
|
|
|
8646
8646
|
};
|
|
8647
8647
|
const renderActions = () => {
|
|
8648
8648
|
if (!actions || actions.length === 0) return null;
|
|
8649
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8649
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
8650
8650
|
};
|
|
8651
8651
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
8652
8652
|
const paddingClasses = {
|
|
@@ -8669,14 +8669,14 @@ function renderAdvancedPageContainer({
|
|
|
8669
8669
|
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: [
|
|
8670
8670
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8671
8671
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8672
|
-
|
|
8672
|
+
_chunkU6LRRG2Ecjs.BackButton,
|
|
8673
8673
|
{
|
|
8674
8674
|
onClick: backButton.onClick,
|
|
8675
8675
|
label: backButton.label,
|
|
8676
8676
|
className: "hidden content-md:inline-flex"
|
|
8677
8677
|
}
|
|
8678
8678
|
),
|
|
8679
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8679
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8680
8680
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8681
8681
|
] }),
|
|
8682
8682
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -8689,14 +8689,14 @@ function renderAdvancedPageContainer({
|
|
|
8689
8689
|
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: [
|
|
8690
8690
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8691
8691
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8692
|
-
|
|
8692
|
+
_chunkU6LRRG2Ecjs.BackButton,
|
|
8693
8693
|
{
|
|
8694
8694
|
onClick: backButton.onClick,
|
|
8695
8695
|
label: backButton.label,
|
|
8696
8696
|
className: "hidden content-md:inline-flex"
|
|
8697
8697
|
}
|
|
8698
8698
|
),
|
|
8699
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8699
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8700
8700
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8701
8701
|
] }),
|
|
8702
8702
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8709,14 +8709,14 @@ function renderAdvancedPageContainer({
|
|
|
8709
8709
|
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: [
|
|
8710
8710
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8711
8711
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8712
|
-
|
|
8712
|
+
_chunkU6LRRG2Ecjs.BackButton,
|
|
8713
8713
|
{
|
|
8714
8714
|
onClick: backButton.onClick,
|
|
8715
8715
|
label: backButton.label,
|
|
8716
8716
|
className: "hidden content-md:inline-flex"
|
|
8717
8717
|
}
|
|
8718
8718
|
),
|
|
8719
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8719
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) })
|
|
8720
8720
|
] }),
|
|
8721
8721
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
8722
8722
|
headerActions,
|
|
@@ -8726,7 +8726,7 @@ function renderAdvancedPageContainer({
|
|
|
8726
8726
|
}
|
|
8727
8727
|
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: [
|
|
8728
8728
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8729
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8729
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8730
8730
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8731
8731
|
] }),
|
|
8732
8732
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9049,7 +9049,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9049
9049
|
|
|
9050
9050
|
|
|
9051
9051
|
function PlatformBrowseButton({ item }) {
|
|
9052
|
-
const linkProps =
|
|
9052
|
+
const linkProps = _chunkRVSNXG6Jcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9053
9053
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9054
9054
|
"Browse ",
|
|
9055
9055
|
item.buttonText
|
|
@@ -9497,10 +9497,10 @@ var OSTypeBadge = ({
|
|
|
9497
9497
|
if (!osType) {
|
|
9498
9498
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9499
9499
|
}
|
|
9500
|
-
const normalized =
|
|
9500
|
+
const normalized = _chunkRVSNXG6Jcjs.normalizeOSType.call(void 0, osType);
|
|
9501
9501
|
if (!normalized && !labelOnly) return null;
|
|
9502
|
-
const label =
|
|
9503
|
-
const IconComponent =
|
|
9502
|
+
const label = _chunkRVSNXG6Jcjs.getOSLabel.call(void 0, osType);
|
|
9503
|
+
const IconComponent = _chunkRVSNXG6Jcjs.getOSIcon.call(void 0, osType);
|
|
9504
9504
|
if (iconOnly && IconComponent) {
|
|
9505
9505
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9506
9506
|
}
|
|
@@ -9732,7 +9732,7 @@ function ComplianceLogo({
|
|
|
9732
9732
|
fallback = null,
|
|
9733
9733
|
className
|
|
9734
9734
|
}) {
|
|
9735
|
-
const standard =
|
|
9735
|
+
const standard = _chunkRVSNXG6Jcjs.complianceStandardForName.call(void 0, ...names);
|
|
9736
9736
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
9737
9737
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
9738
9738
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9813,7 +9813,7 @@ function FeatureCardGrid({
|
|
|
9813
9813
|
if (allCardsHaveNoBorders) {
|
|
9814
9814
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
9815
9815
|
}
|
|
9816
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9816
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
9817
9817
|
const startIndex = rowIndex * itemsPerRow;
|
|
9818
9818
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
9819
9819
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -9847,7 +9847,7 @@ function FeatureCardGrid({
|
|
|
9847
9847
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
9848
9848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
9849
9849
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9850
|
-
|
|
9850
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
9851
9851
|
{
|
|
9852
9852
|
text: item.badge.text,
|
|
9853
9853
|
variant: item.badge.variant || "card",
|
|
@@ -9856,7 +9856,7 @@ function FeatureCardGrid({
|
|
|
9856
9856
|
)
|
|
9857
9857
|
] }),
|
|
9858
9858
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9859
|
-
|
|
9859
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
9860
9860
|
{
|
|
9861
9861
|
text: item.badge.text,
|
|
9862
9862
|
variant: item.badge.variant || "card",
|
|
@@ -10308,7 +10308,7 @@ function OrganizationCard({
|
|
|
10308
10308
|
}
|
|
10309
10309
|
),
|
|
10310
10310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
10311
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10311
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
10312
10312
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-2", children: [
|
|
10313
10313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
10314
10314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10358,8 +10358,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10358
10358
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
10359
10359
|
/* @__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 }),
|
|
10360
10360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
10361
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10362
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h3", children: title }),
|
|
10362
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
10363
10363
|
] })
|
|
10364
10364
|
] }),
|
|
10365
10365
|
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 })
|
|
@@ -10493,14 +10493,14 @@ function PersonCell({
|
|
|
10493
10493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
10494
10494
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
10495
10495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10496
|
-
|
|
10496
|
+
_chunkU6LRRG2Ecjs.TruncateText,
|
|
10497
10497
|
{
|
|
10498
10498
|
variant: scale.primary,
|
|
10499
10499
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
10500
10500
|
children: displayName
|
|
10501
10501
|
}
|
|
10502
10502
|
),
|
|
10503
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
10504
10504
|
] })
|
|
10505
10505
|
] });
|
|
10506
10506
|
if (!onClick) return row;
|
|
@@ -10532,7 +10532,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10532
10532
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
10533
10533
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
10534
10534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10535
|
-
|
|
10535
|
+
_chunkIITB5TJRcjs.AvatarStack,
|
|
10536
10536
|
{
|
|
10537
10537
|
size: "sm",
|
|
10538
10538
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -11240,7 +11240,7 @@ function TableHeader({
|
|
|
11240
11240
|
onFilterChange
|
|
11241
11241
|
}
|
|
11242
11242
|
),
|
|
11243
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11243
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11244
11244
|
] })
|
|
11245
11245
|
) : (
|
|
11246
11246
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11266,7 +11266,7 @@ function TableHeader({
|
|
|
11266
11266
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11267
11267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11268
11268
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11270
11270
|
] })
|
|
11271
11271
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11272
11272
|
getSortIcon(column)
|
|
@@ -12607,7 +12607,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12607
12607
|
// child of the cell.
|
|
12608
12608
|
_optionalChain([meta, 'optionalAccess', _229 => _229.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12609
12609
|
filterTrigger,
|
|
12610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12611
12611
|
] }) : filterTrigger
|
|
12612
12612
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12613
12613
|
"div",
|
|
@@ -12632,7 +12632,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12632
12632
|
// centred on the row.
|
|
12633
12633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12634
12634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12636
12636
|
] })
|
|
12637
12637
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12638
12638
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -12851,7 +12851,7 @@ function PhoneInput({
|
|
|
12851
12851
|
placeholder = "Phone Number (optional)",
|
|
12852
12852
|
onKeyDown
|
|
12853
12853
|
}) {
|
|
12854
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
12854
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkRVSNXG6Jcjs.getCountryPhoneData.call(void 0, ), []);
|
|
12855
12855
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
12856
12856
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
12857
12857
|
[countryCode, priority, others]
|
|
@@ -12866,7 +12866,7 @@ function PhoneInput({
|
|
|
12866
12866
|
_optionalChain([onValidationChange, 'optionalCall', _242 => _242(false)]);
|
|
12867
12867
|
return;
|
|
12868
12868
|
}
|
|
12869
|
-
const invalid = !
|
|
12869
|
+
const invalid = !_chunkRVSNXG6Jcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
12870
12870
|
setIsInvalid(invalid);
|
|
12871
12871
|
_optionalChain([onValidationChange, 'optionalCall', _243 => _243(invalid)]);
|
|
12872
12872
|
},
|
|
@@ -12886,7 +12886,7 @@ function PhoneInput({
|
|
|
12886
12886
|
}, []);
|
|
12887
12887
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
12888
12888
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12889
|
-
|
|
12889
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
12890
12890
|
{
|
|
12891
12891
|
value: countryCode,
|
|
12892
12892
|
onValueChange: (val) => {
|
|
@@ -12897,14 +12897,14 @@ function PhoneInput({
|
|
|
12897
12897
|
},
|
|
12898
12898
|
disabled,
|
|
12899
12899
|
children: [
|
|
12900
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
12901
12901
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
12902
12902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
12903
12903
|
] }) }) }),
|
|
12904
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12904
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
12905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
12906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectSeparator, {}),
|
|
12907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
12908
12908
|
] })
|
|
12909
12909
|
]
|
|
12910
12910
|
}
|
|
@@ -12936,7 +12936,7 @@ function PhoneInput({
|
|
|
12936
12936
|
] });
|
|
12937
12937
|
}
|
|
12938
12938
|
function CountryOption({ country }) {
|
|
12939
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12939
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
12940
12940
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
12941
12941
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
12942
12942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13315,7 +13315,7 @@ function SearchInput({
|
|
|
13315
13315
|
)
|
|
13316
13316
|
] }),
|
|
13317
13317
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13318
|
-
|
|
13318
|
+
_chunkU6LRRG2Ecjs.HiddenTagsPopup,
|
|
13319
13319
|
{
|
|
13320
13320
|
ref: hiddenTagsPopupRef,
|
|
13321
13321
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -13609,7 +13609,7 @@ function TagSearchInput({
|
|
|
13609
13609
|
}
|
|
13610
13610
|
),
|
|
13611
13611
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13612
|
-
|
|
13612
|
+
_chunkU6LRRG2Ecjs.HiddenTagsPopup,
|
|
13613
13613
|
{
|
|
13614
13614
|
ref: hiddenTagsPopupRef,
|
|
13615
13615
|
items: hiddenTags,
|
|
@@ -13793,7 +13793,7 @@ function MarkdownEditor({
|
|
|
13793
13793
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
13794
13794
|
try {
|
|
13795
13795
|
const url = await onUploadFile(file);
|
|
13796
|
-
const isImage =
|
|
13796
|
+
const isImage = _chunkHEQ4GPYEcjs.fileMediaType.call(void 0, file) === "image";
|
|
13797
13797
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
13798
13798
|
insertTextAtCursor(markdown);
|
|
13799
13799
|
_optionalChain([onFileUploaded, 'optionalCall', _294 => _294(url, file.name)]);
|
|
@@ -13923,7 +13923,7 @@ function MarkdownEditor({
|
|
|
13923
13923
|
type: "file",
|
|
13924
13924
|
className: "hidden",
|
|
13925
13925
|
onChange: handleFileInputChange,
|
|
13926
|
-
accept: `${
|
|
13926
|
+
accept: `${_chunkHEQ4GPYEcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
13927
13927
|
}
|
|
13928
13928
|
),
|
|
13929
13929
|
!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" }) }),
|
|
@@ -14323,7 +14323,7 @@ function matchesAccept2(file, accept) {
|
|
|
14323
14323
|
return patterns.some((pattern) => {
|
|
14324
14324
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14325
14325
|
if (pattern.endsWith("/*"))
|
|
14326
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14326
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkHEQ4GPYEcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14327
14327
|
return fileType === pattern;
|
|
14328
14328
|
});
|
|
14329
14329
|
}
|
|
@@ -14331,7 +14331,7 @@ function ImageUploader({
|
|
|
14331
14331
|
value,
|
|
14332
14332
|
onChange,
|
|
14333
14333
|
onRemove,
|
|
14334
|
-
accept =
|
|
14334
|
+
accept = _chunkHEQ4GPYEcjs.IMAGE_FILE_ACCEPT,
|
|
14335
14335
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14336
14336
|
label = "Cover Image",
|
|
14337
14337
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -14948,7 +14948,7 @@ function formatTestRunDuration(ms) {
|
|
|
14948
14948
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
14949
14949
|
var SKELETON_COLUMNS = 6;
|
|
14950
14950
|
function TestResultsSkeleton() {
|
|
14951
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14951
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
14952
14952
|
/* @__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, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
14953
14953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse 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, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
14954
14954
|
] }) });
|
|
@@ -14983,7 +14983,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
14983
14983
|
if (loading) {
|
|
14984
14984
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
14985
14985
|
}
|
|
14986
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14986
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.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: [
|
|
14987
14987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
14988
14988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
14989
14989
|
] }) }) });
|
|
@@ -15089,7 +15089,7 @@ function useTestRunState(campaign) {
|
|
|
15089
15089
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15090
15090
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15091
15091
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15092
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
15092
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkNJV3LIDEcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15093
15093
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15094
15094
|
const displayRows = _react.useMemo.call(void 0,
|
|
15095
15095
|
() => campaign.results.map(
|
|
@@ -15466,7 +15466,7 @@ function TicketInfoSection({
|
|
|
15466
15466
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15467
15467
|
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" }) }),
|
|
15468
15468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15469
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15469
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.SimpleMarkdownRenderer, { content: description }),
|
|
15470
15470
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15471
15471
|
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, _chunkTKFTWM3Vcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
15472
15472
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15492,7 +15492,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
15492
15492
|
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: [
|
|
15493
15493
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15494
15494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color }),
|
|
15495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15495
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15496
15496
|
] }),
|
|
15497
15497
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15498
15498
|
] });
|
|
@@ -15502,7 +15502,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
15502
15502
|
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: [
|
|
15503
15503
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15504
15504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
15505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15506
15506
|
] }),
|
|
15507
15507
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15508
15508
|
] });
|
|
@@ -15536,9 +15536,9 @@ function TakeOverTicketModal({
|
|
|
15536
15536
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
15537
15537
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
15538
15538
|
};
|
|
15539
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15539
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15540
15540
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
15542
15542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15543
15543
|
"The ticket ",
|
|
15544
15544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15546,7 +15546,7 @@ function TakeOverTicketModal({
|
|
|
15546
15546
|
] }),
|
|
15547
15547
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15548
15548
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15549
|
-
|
|
15549
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
15550
15550
|
{
|
|
15551
15551
|
label: "Status",
|
|
15552
15552
|
options: statusOptions,
|
|
@@ -15558,7 +15558,7 @@ function TakeOverTicketModal({
|
|
|
15558
15558
|
}
|
|
15559
15559
|
) }),
|
|
15560
15560
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15561
|
-
|
|
15561
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
15562
15562
|
{
|
|
15563
15563
|
label: "Assigned",
|
|
15564
15564
|
options: assigneeOptions,
|
|
@@ -15580,7 +15580,7 @@ function TakeOverTicketModal({
|
|
|
15580
15580
|
}
|
|
15581
15581
|
) })
|
|
15582
15582
|
] }),
|
|
15583
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15583
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
15584
15584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15585
15585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15586
15586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15639,9 +15639,9 @@ function ReopenTicketModal({
|
|
|
15639
15639
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
15640
15640
|
});
|
|
15641
15641
|
};
|
|
15642
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15642
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15643
15643
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15645
15645
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15646
15646
|
"The ticket ",
|
|
15647
15647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15649,7 +15649,7 @@ function ReopenTicketModal({
|
|
|
15649
15649
|
] }),
|
|
15650
15650
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15651
15651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15652
|
-
|
|
15652
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
15653
15653
|
{
|
|
15654
15654
|
label: "Status",
|
|
15655
15655
|
options: statusOptions,
|
|
@@ -15661,7 +15661,7 @@ function ReopenTicketModal({
|
|
|
15661
15661
|
}
|
|
15662
15662
|
) }),
|
|
15663
15663
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15664
|
-
|
|
15664
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
15665
15665
|
{
|
|
15666
15666
|
label: "Assigned",
|
|
15667
15667
|
options: assigneeOptions,
|
|
@@ -15694,7 +15694,7 @@ function ReopenTicketModal({
|
|
|
15694
15694
|
disabled: isPending
|
|
15695
15695
|
}
|
|
15696
15696
|
) }),
|
|
15697
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15697
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
15698
15698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15699
15699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15700
15700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15743,9 +15743,9 @@ function ReopenTicketRequestModal({
|
|
|
15743
15743
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
15744
15744
|
});
|
|
15745
15745
|
};
|
|
15746
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15746
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15747
15747
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15748
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15749
15749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
15750
15750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15751
15751
|
Textarea,
|
|
@@ -15769,7 +15769,7 @@ function ReopenTicketRequestModal({
|
|
|
15769
15769
|
disabled: isPending
|
|
15770
15770
|
}
|
|
15771
15771
|
),
|
|
15772
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15772
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
15773
15773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
15774
15774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
15775
15775
|
] })
|
|
@@ -15911,7 +15911,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
15911
15911
|
gap: COLUMN_GAP_PX
|
|
15912
15912
|
};
|
|
15913
15913
|
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,
|
|
15914
|
-
|
|
15914
|
+
_chunkRVSNXG6Jcjs.MarqueeWall,
|
|
15915
15915
|
{
|
|
15916
15916
|
axis: "y",
|
|
15917
15917
|
reverse: index % 2 === 1,
|
|
@@ -16078,7 +16078,7 @@ function AnalyzingState({ label, className }) {
|
|
|
16078
16078
|
}) }),
|
|
16079
16079
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
16080
16080
|
label,
|
|
16081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
16082
16082
|
] })
|
|
16083
16083
|
] });
|
|
16084
16084
|
}
|
|
@@ -16694,10 +16694,10 @@ function AccountDetailsFields({
|
|
|
16694
16694
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
16695
16695
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
16696
16696
|
var DEFAULT_BENEFITS = [
|
|
16697
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label:
|
|
16698
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label:
|
|
16699
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label:
|
|
16700
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label:
|
|
16697
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label: _chunkRVSNXG6Jcjs.TRIAL_LABELS.noCard },
|
|
16698
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label: _chunkRVSNXG6Jcjs.TRIAL_LABELS.cancel },
|
|
16699
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label: _chunkRVSNXG6Jcjs.TRIAL_LABELS.length },
|
|
16700
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label: _chunkRVSNXG6Jcjs.TRIAL_LABELS.noContract }
|
|
16701
16701
|
];
|
|
16702
16702
|
function AuthBenefitsPanel({
|
|
16703
16703
|
title = DEFAULT_TITLE,
|
|
@@ -16925,7 +16925,7 @@ function CompleteAccountForm({
|
|
|
16925
16925
|
),
|
|
16926
16926
|
children: [
|
|
16927
16927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
16928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
16928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
16929
16929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
16930
16930
|
] }),
|
|
16931
16931
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17073,7 +17073,7 @@ function CreateOrganizationForm({
|
|
|
17073
17073
|
),
|
|
17074
17074
|
children: [
|
|
17075
17075
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17077
17077
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17078
17078
|
] }),
|
|
17079
17079
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17214,7 +17214,7 @@ function InviteLinkInvalidModal({
|
|
|
17214
17214
|
),
|
|
17215
17215
|
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: [
|
|
17216
17216
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
17217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17218
17218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17219
17219
|
"button",
|
|
17220
17220
|
{
|
|
@@ -17288,7 +17288,7 @@ function LoginForm({
|
|
|
17288
17288
|
),
|
|
17289
17289
|
children: [
|
|
17290
17290
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17292
17292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17293
17293
|
] }),
|
|
17294
17294
|
ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17383,7 +17383,7 @@ function NoAccountNotice({
|
|
|
17383
17383
|
),
|
|
17384
17384
|
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: [
|
|
17385
17385
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17387
17387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
17388
17388
|
] }),
|
|
17389
17389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -17432,7 +17432,7 @@ function OpenFrameSsoLoginForm({
|
|
|
17432
17432
|
),
|
|
17433
17433
|
children: [
|
|
17434
17434
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17435
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17436
17436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17437
17437
|
] }),
|
|
17438
17438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17537,7 +17537,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17537
17537
|
),
|
|
17538
17538
|
children: [
|
|
17539
17539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17541
17541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17542
17542
|
] }),
|
|
17543
17543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17643,7 +17643,7 @@ function PasswordResetForm({
|
|
|
17643
17643
|
),
|
|
17644
17644
|
children: [
|
|
17645
17645
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17647
17647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17648
17648
|
] }),
|
|
17649
17649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17760,7 +17760,7 @@ function SsoJoinForm({
|
|
|
17760
17760
|
),
|
|
17761
17761
|
children: [
|
|
17762
17762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17764
17764
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17765
17765
|
] }),
|
|
17766
17766
|
/* @__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: [
|
|
@@ -18023,7 +18023,7 @@ function ChangelogManager({
|
|
|
18023
18023
|
),
|
|
18024
18024
|
/* @__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)" }) }),
|
|
18025
18025
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18026
|
-
|
|
18026
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
18027
18027
|
{
|
|
18028
18028
|
variant: "button",
|
|
18029
18029
|
singleLine: true,
|
|
@@ -18087,9 +18087,9 @@ function ChangelogManager({
|
|
|
18087
18087
|
] }),
|
|
18088
18088
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
18089
18089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
18090
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18090
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
18091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: tagLabel }) }),
|
|
18092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
18093
18093
|
] })
|
|
18094
18094
|
] })
|
|
18095
18095
|
] })
|
|
@@ -18286,7 +18286,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18286
18286
|
const label = (tag.name || "").toUpperCase();
|
|
18287
18287
|
if (basePath && tag.slug) {
|
|
18288
18288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18289
|
-
|
|
18289
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
18290
18290
|
{
|
|
18291
18291
|
text: label,
|
|
18292
18292
|
variant: "card",
|
|
@@ -18294,9 +18294,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18294
18294
|
}
|
|
18295
18295
|
) }, key);
|
|
18296
18296
|
}
|
|
18297
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18297
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
18298
18298
|
}),
|
|
18299
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18299
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
18300
18300
|
] });
|
|
18301
18301
|
}
|
|
18302
18302
|
|
|
@@ -18392,7 +18392,7 @@ var SectionButton = ({
|
|
|
18392
18392
|
}
|
|
18393
18393
|
),
|
|
18394
18394
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18395
|
-
|
|
18395
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
18396
18396
|
{
|
|
18397
18397
|
text: section.badge.text,
|
|
18398
18398
|
variant: section.badge.variant || "button",
|
|
@@ -18411,7 +18411,7 @@ var SectionButton = ({
|
|
|
18411
18411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
18412
18412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
18413
18413
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18414
|
-
|
|
18414
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
18415
18415
|
{
|
|
18416
18416
|
text: section.badge.text,
|
|
18417
18417
|
variant: section.badge.variant || "button",
|
|
@@ -18728,7 +18728,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
18728
18728
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
18729
18729
|
title: config.title,
|
|
18730
18730
|
loading: "eager",
|
|
18731
|
-
...
|
|
18731
|
+
..._chunkHEQ4GPYEcjs.fetchPriorityProp.call(void 0, "high")
|
|
18732
18732
|
},
|
|
18733
18733
|
iframeKey
|
|
18734
18734
|
),
|
|
@@ -19482,15 +19482,15 @@ function useLoading() {
|
|
|
19482
19482
|
|
|
19483
19483
|
|
|
19484
19484
|
function isAlreadyThere(file, existing) {
|
|
19485
|
-
const key =
|
|
19485
|
+
const key = _chunkHEQ4GPYEcjs.mediaNameKey.call(void 0, file.name);
|
|
19486
19486
|
if (!key) return false;
|
|
19487
19487
|
return existing.some(
|
|
19488
|
-
(item) => (item.title ?
|
|
19488
|
+
(item) => (item.title ? _chunkHEQ4GPYEcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkHEQ4GPYEcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
19489
19489
|
);
|
|
19490
19490
|
}
|
|
19491
19491
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
19492
|
-
var isVideoItem = (item) =>
|
|
19493
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
19492
|
+
var isVideoItem = (item) => _chunkHEQ4GPYEcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
19493
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkHEQ4GPYEcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkHEQ4GPYEcjs.MEDIA_FILE_ACCEPT };
|
|
19494
19494
|
var MEDIA_KIND_COPY = {
|
|
19495
19495
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
19496
19496
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -19514,12 +19514,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
19514
19514
|
const seen = /* @__PURE__ */ new Set();
|
|
19515
19515
|
const accepted = [];
|
|
19516
19516
|
for (const file of files) {
|
|
19517
|
-
const mediaType =
|
|
19517
|
+
const mediaType = _chunkHEQ4GPYEcjs.fileMediaType.call(void 0, file);
|
|
19518
19518
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
19519
19519
|
unsupported.push(file.name);
|
|
19520
19520
|
continue;
|
|
19521
19521
|
}
|
|
19522
|
-
const contentKey = await
|
|
19522
|
+
const contentKey = await _chunkHEQ4GPYEcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
19523
19523
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
19524
19524
|
duplicates.push(file.name);
|
|
19525
19525
|
continue;
|
|
@@ -19700,7 +19700,7 @@ function MediaGalleryManager({
|
|
|
19700
19700
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
19701
19701
|
children: [
|
|
19702
19702
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19703
|
-
|
|
19703
|
+
_chunkHEQ4GPYEcjs.Card,
|
|
19704
19704
|
{
|
|
19705
19705
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
19706
19706
|
draggable: true,
|
|
@@ -19725,7 +19725,7 @@ function MediaGalleryManager({
|
|
|
19725
19725
|
) }),
|
|
19726
19726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
19727
19727
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
19728
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
19729
19729
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19730
19730
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
19731
19731
|
{
|
|
@@ -19740,17 +19740,17 @@ function MediaGalleryManager({
|
|
|
19740
19740
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
19741
19741
|
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" }),
|
|
19742
19742
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19743
|
-
|
|
19743
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
19744
19744
|
{
|
|
19745
19745
|
value: item.media_type,
|
|
19746
19746
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
19747
19747
|
children: [
|
|
19748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19749
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19753
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19748
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
19749
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { className: "bg-ods-card", children: [
|
|
19750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "image", children: "Image" }),
|
|
19751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "video", children: "Video" }),
|
|
19752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
19753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "demo", children: "Demo" })
|
|
19754
19754
|
] })
|
|
19755
19755
|
]
|
|
19756
19756
|
}
|
|
@@ -19777,7 +19777,7 @@ function MediaGalleryManager({
|
|
|
19777
19777
|
},
|
|
19778
19778
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
19779
19779
|
)),
|
|
19780
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19780
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHEQ4GPYEcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
19781
19781
|
/* @__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" }) }),
|
|
19782
19782
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
19783
19783
|
] }, `pending-${name}-${index}`))
|
|
@@ -19832,60 +19832,60 @@ function CardSkeleton({
|
|
|
19832
19832
|
function VendorCardContent({ showMetadata }) {
|
|
19833
19833
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
19834
19834
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
19835
|
-
/* @__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,
|
|
19835
|
+
/* @__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, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
19836
19836
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
19837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
19838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
19839
19839
|
] })
|
|
19840
19840
|
] }),
|
|
19841
19841
|
/* @__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: [
|
|
19842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
19843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
19844
19844
|
] }) }),
|
|
19845
19845
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
19846
19846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
19847
19847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
19848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19848
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
19849
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
19850
19850
|
] }),
|
|
19851
19851
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
19852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19852
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
19853
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
19854
19854
|
] })
|
|
19855
19855
|
] }),
|
|
19856
19856
|
/* @__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: [
|
|
19857
|
-
/* @__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,
|
|
19858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19857
|
+
/* @__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, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
19858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
19859
19859
|
] }) })
|
|
19860
19860
|
] })
|
|
19861
19861
|
] });
|
|
19862
19862
|
}
|
|
19863
19863
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
19864
19864
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19865
|
-
/* @__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,
|
|
19865
|
+
/* @__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, _chunkRVSNXG6Jcjs.MediaSkeleton.CardImage, {}) }),
|
|
19866
19866
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
19867
19867
|
/* @__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: [
|
|
19868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19869
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
19869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
19870
19870
|
] }) }),
|
|
19871
19871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
19872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19873
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
19873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
19874
19874
|
] }),
|
|
19875
19875
|
/* @__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: [
|
|
19876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
19877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
19878
19878
|
] }) }),
|
|
19879
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19879
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
19880
19880
|
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: [
|
|
19881
19881
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
19882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
19883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
19884
19884
|
] }),
|
|
19885
19885
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
19886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
19887
19887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
19888
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
19889
19889
|
] })
|
|
19890
19890
|
] }) })
|
|
19891
19891
|
] })
|
|
@@ -19893,35 +19893,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
19893
19893
|
}
|
|
19894
19894
|
function CategoryCardContent() {
|
|
19895
19895
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
19896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
19897
19897
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
19898
19898
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19900
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
19900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
19901
19901
|
] }),
|
|
19902
19902
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
19903
19903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
19904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
19905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
19906
19906
|
] }),
|
|
19907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
19908
19908
|
] })
|
|
19909
19909
|
] })
|
|
19910
19910
|
] });
|
|
19911
19911
|
}
|
|
19912
19912
|
function AlternativeCardContent({ showActions }) {
|
|
19913
19913
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
19914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
19915
19915
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
19916
19916
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
19917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
19918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
19919
19919
|
] }),
|
|
19920
19920
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19921
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
19922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
19923
19923
|
] }),
|
|
19924
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19924
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
19925
19925
|
] })
|
|
19926
19926
|
] });
|
|
19927
19927
|
}
|
|
@@ -19972,12 +19972,12 @@ function HeroSkeleton() {
|
|
|
19972
19972
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
19973
19973
|
},
|
|
19974
19974
|
children: [
|
|
19975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
19976
19976
|
/* @__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: [
|
|
19977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19978
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
19978
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
19979
19979
|
] }),
|
|
19980
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19980
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
19981
19981
|
]
|
|
19982
19982
|
}
|
|
19983
19983
|
);
|
|
@@ -19988,14 +19988,14 @@ function SearchContainerSkeleton({
|
|
|
19988
19988
|
}) {
|
|
19989
19989
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
19990
19990
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
19991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
19992
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
19993
19993
|
] }),
|
|
19994
19994
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
19995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, {}),
|
|
19996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
19997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
19998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
19999
19999
|
] })
|
|
20000
20000
|
] });
|
|
20001
20001
|
}
|
|
@@ -20014,7 +20014,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20014
20014
|
{ type: "file", width: "w-36" }
|
|
20015
20015
|
];
|
|
20016
20016
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20018
20018
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20019
20019
|
"div",
|
|
20020
20020
|
{
|
|
@@ -20024,12 +20024,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20024
20024
|
),
|
|
20025
20025
|
children: [
|
|
20026
20026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20029
20029
|
] }),
|
|
20030
20030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20031
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20032
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20031
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20032
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20033
20033
|
] })
|
|
20034
20034
|
]
|
|
20035
20035
|
},
|
|
@@ -20039,13 +20039,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20039
20039
|
}
|
|
20040
20040
|
function BreadcrumbSkeleton({ className }) {
|
|
20041
20041
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20043
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20045
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20045
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20049
20049
|
] });
|
|
20050
20050
|
}
|
|
20051
20051
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20056,7 +20056,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20056
20056
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20057
20057
|
className
|
|
20058
20058
|
),
|
|
20059
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20059
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20060
20060
|
}
|
|
20061
20061
|
);
|
|
20062
20062
|
}
|
|
@@ -20090,35 +20090,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20090
20090
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20091
20091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20092
20092
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, {}),
|
|
20094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20095
20095
|
] }),
|
|
20096
20096
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20099
20099
|
] }),
|
|
20100
20100
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20101
20101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20104
20104
|
] }),
|
|
20105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20107
20107
|
] })
|
|
20108
20108
|
] }),
|
|
20109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20110
20110
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20111
20111
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20113
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20114
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20115
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20116
20116
|
] }, index)),
|
|
20117
20117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20119
20119
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20121
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20121
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20122
20122
|
] })
|
|
20123
20123
|
] })
|
|
20124
20124
|
] })
|
|
@@ -20344,11 +20344,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20344
20344
|
className
|
|
20345
20345
|
),
|
|
20346
20346
|
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: [
|
|
20347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20349
20349
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20352
20352
|
] })
|
|
20353
20353
|
] }) }, i))
|
|
20354
20354
|
}
|
|
@@ -20503,7 +20503,7 @@ function useContentLoading(isLoading) {
|
|
|
20503
20503
|
|
|
20504
20504
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
20505
20505
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
20506
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20506
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
20507
20507
|
}
|
|
20508
20508
|
function ListSkeleton({
|
|
20509
20509
|
className,
|
|
@@ -20513,12 +20513,12 @@ function ListSkeleton({
|
|
|
20513
20513
|
}) {
|
|
20514
20514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20515
20515
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20516
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20516
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
20518
20518
|
] }),
|
|
20519
20519
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
20521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
20522
20522
|
] })
|
|
20523
20523
|
] }, index)) });
|
|
20524
20524
|
}
|
|
@@ -20528,13 +20528,13 @@ function TableSkeleton({
|
|
|
20528
20528
|
columns = 4
|
|
20529
20529
|
}) {
|
|
20530
20530
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
20532
20532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20533
20533
|
"div",
|
|
20534
20534
|
{
|
|
20535
20535
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
20536
20536
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
20537
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20537
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
20538
20538
|
},
|
|
20539
20539
|
rowIndex
|
|
20540
20540
|
)) })
|
|
@@ -20543,13 +20543,13 @@ function TableSkeleton({
|
|
|
20543
20543
|
function FormSkeleton({ className, fields = 4 }) {
|
|
20544
20544
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
20545
20545
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20546
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20548
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Input, {}),
|
|
20548
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
20549
20549
|
] }, index)),
|
|
20550
20550
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
20551
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, {}),
|
|
20552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
20553
20553
|
] })
|
|
20554
20554
|
] });
|
|
20555
20555
|
}
|
|
@@ -20564,7 +20564,7 @@ function NavigationSkeleton({
|
|
|
20564
20564
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
20565
20565
|
role: "status",
|
|
20566
20566
|
"aria-label": "Loading navigation",
|
|
20567
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20567
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
20568
20568
|
}
|
|
20569
20569
|
);
|
|
20570
20570
|
}
|
|
@@ -20575,30 +20575,30 @@ function ProfileSkeleton({
|
|
|
20575
20575
|
}) {
|
|
20576
20576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20577
20577
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
20578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20578
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
20579
20579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
20582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20583
20583
|
] })
|
|
20584
20584
|
] }),
|
|
20585
20585
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
20588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20589
20589
|
] }),
|
|
20590
20590
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
20591
20591
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
20594
20594
|
] }),
|
|
20595
20595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
20598
20598
|
] }),
|
|
20599
20599
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20601
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20600
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20601
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
20602
20602
|
] })
|
|
20603
20603
|
] })
|
|
20604
20604
|
] });
|
|
@@ -20610,32 +20610,32 @@ function CommentSkeleton({
|
|
|
20610
20610
|
}) {
|
|
20611
20611
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
20612
20612
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20613
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20614
20614
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
20615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20617
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20617
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
20618
20618
|
] })
|
|
20619
20619
|
] }),
|
|
20620
20620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
20621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
20623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20624
20624
|
] }),
|
|
20625
20625
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
20626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20629
20629
|
] }),
|
|
20630
20630
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20631
20631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20633
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
20634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
20635
20635
|
] }),
|
|
20636
20636
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
20637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20639
20639
|
] })
|
|
20640
20640
|
] }, index)) })
|
|
20641
20641
|
] });
|
|
@@ -20648,31 +20648,31 @@ function FeatureListSkeleton({
|
|
|
20648
20648
|
}) {
|
|
20649
20649
|
if (grouped) {
|
|
20650
20650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20651
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20651
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20652
20652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20653
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20653
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20654
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20655
20655
|
] }, featureIndex)) })
|
|
20656
20656
|
] }, groupIndex)) });
|
|
20657
20657
|
}
|
|
20658
20658
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20659
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20659
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20661
20661
|
] }, index)) });
|
|
20662
20662
|
}
|
|
20663
20663
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
20664
20664
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
20665
20665
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
20666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20667
20667
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
20668
20668
|
] }),
|
|
20669
20669
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20670
20670
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
20672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20673
20673
|
] }),
|
|
20674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20676
20676
|
] })
|
|
20677
20677
|
] }, index)) });
|
|
20678
20678
|
}
|
|
@@ -20688,16 +20688,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
20688
20688
|
className
|
|
20689
20689
|
),
|
|
20690
20690
|
children: Array.from({ length: plans }).map((_, index) => /* @__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: [
|
|
20691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20692
20692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20693
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
20694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
20695
20695
|
] }),
|
|
20696
20696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20697
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20697
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20699
20699
|
] }, featureIndex)) }),
|
|
20700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
20701
20701
|
] }) }, index))
|
|
20702
20702
|
}
|
|
20703
20703
|
);
|
|
@@ -20733,12 +20733,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
20733
20733
|
"aria-label": "Loading MSP profile form",
|
|
20734
20734
|
children: [
|
|
20735
20735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
20736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20737
|
-
/* @__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,
|
|
20736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
20737
|
+
/* @__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, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
20738
20738
|
] }),
|
|
20739
20739
|
/* @__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: [
|
|
20740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
20741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.InteractiveSkeleton.Input, {})
|
|
20742
20742
|
] }, idx)) })
|
|
20743
20743
|
]
|
|
20744
20744
|
}
|
|
@@ -20758,13 +20758,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
20758
20758
|
role: "status",
|
|
20759
20759
|
"aria-label": "Loading category card",
|
|
20760
20760
|
children: [
|
|
20761
|
-
/* @__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,
|
|
20761
|
+
/* @__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, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
20762
20762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
20763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
20764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
20765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" })
|
|
20766
20766
|
] }),
|
|
20767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20767
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
20768
20768
|
]
|
|
20769
20769
|
}
|
|
20770
20770
|
);
|
|
@@ -20781,12 +20781,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
20781
20781
|
"aria-label": "Loading category section",
|
|
20782
20782
|
children: [
|
|
20783
20783
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
20784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
20785
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20786
20786
|
] }),
|
|
20787
20787
|
/* @__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: [
|
|
20788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20789
|
-
/* @__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,
|
|
20788
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20789
|
+
/* @__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, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
20790
20790
|
] }, idx)) })
|
|
20791
20791
|
]
|
|
20792
20792
|
}
|
|
@@ -20797,14 +20797,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
20797
20797
|
|
|
20798
20798
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
20799
20799
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
20800
|
-
/* @__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,
|
|
20800
|
+
/* @__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, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
20801
20801
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
20802
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20803
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20802
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
20803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20804
20804
|
] }),
|
|
20805
20805
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
20806
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
20807
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
20808
20808
|
] })
|
|
20809
20809
|
] });
|
|
20810
20810
|
}
|
|
@@ -21196,28 +21196,28 @@ function OrganizationCardSkeleton({
|
|
|
21196
21196
|
}
|
|
21197
21197
|
),
|
|
21198
21198
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21199
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21200
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21199
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21201
21201
|
] })
|
|
21202
21202
|
] }),
|
|
21203
21203
|
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: [
|
|
21204
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21206
21206
|
] }) }),
|
|
21207
21207
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21208
21208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21209
21209
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21212
21212
|
] }),
|
|
21213
21213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21216
21216
|
] })
|
|
21217
21217
|
] }),
|
|
21218
21218
|
/* @__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: [
|
|
21219
|
-
/* @__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,
|
|
21220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21219
|
+
/* @__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, _chunkRVSNXG6Jcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21221
21221
|
] }) })
|
|
21222
21222
|
] })
|
|
21223
21223
|
] })
|
|
@@ -21294,16 +21294,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21294
21294
|
|
|
21295
21295
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21296
21296
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21297
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21297
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21298
21298
|
/* @__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: [
|
|
21299
21299
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21300
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21300
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21301
21301
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21303
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21303
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21304
21304
|
] })
|
|
21305
21305
|
] }),
|
|
21306
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21306
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21307
21307
|
] }) }, i)) })
|
|
21308
21308
|
] });
|
|
21309
21309
|
}
|
|
@@ -21555,14 +21555,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21555
21555
|
empty: "No token rates are in effect right now."
|
|
21556
21556
|
};
|
|
21557
21557
|
function providerMark(providerType, stated, className) {
|
|
21558
|
-
const Mark =
|
|
21558
|
+
const Mark = _chunkIITB5TJRcjs.findIcon.call(void 0, _chunkRVSNXG6Jcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21559
21559
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21560
21560
|
}
|
|
21561
21561
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
21562
21562
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
21563
21563
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21564
21564
|
function useProviderGroup(rates) {
|
|
21565
|
-
const groups =
|
|
21565
|
+
const groups = _chunkRVSNXG6Jcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21566
21566
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21567
21567
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21568
21568
|
}
|
|
@@ -21573,7 +21573,7 @@ function ProviderTabs({
|
|
|
21573
21573
|
className
|
|
21574
21574
|
}) {
|
|
21575
21575
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21576
|
-
|
|
21576
|
+
_chunkRVSNXG6Jcjs.TabSelector,
|
|
21577
21577
|
{
|
|
21578
21578
|
variant: "secondary",
|
|
21579
21579
|
scrollable: true,
|
|
@@ -21581,7 +21581,7 @@ function ProviderTabs({
|
|
|
21581
21581
|
onValueChange,
|
|
21582
21582
|
items: groups.map((candidate) => ({
|
|
21583
21583
|
id: candidate.providerType,
|
|
21584
|
-
label:
|
|
21584
|
+
label: _chunkRVSNXG6Jcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _424 => _424.rates, 'access', _425 => _425[0], 'optionalAccess', _426 => _426.providerLabel])),
|
|
21585
21585
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _427 => _427.rates, 'access', _428 => _428[0], 'optionalAccess', _429 => _429.providerIcon]), "size-full")
|
|
21586
21586
|
})),
|
|
21587
21587
|
className
|
|
@@ -21682,8 +21682,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21682
21682
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
21683
21683
|
children: [
|
|
21684
21684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkRVSNXG6Jcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkRVSNXG6Jcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21687
21687
|
]
|
|
21688
21688
|
},
|
|
21689
21689
|
rate.modelName
|
|
@@ -21755,7 +21755,7 @@ function modelOption(rate) {
|
|
|
21755
21755
|
return {
|
|
21756
21756
|
label: rate.displayName || rate.modelName,
|
|
21757
21757
|
value: rate.modelName,
|
|
21758
|
-
description:
|
|
21758
|
+
description: _chunkRVSNXG6Jcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21759
21759
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21760
21760
|
};
|
|
21761
21761
|
}
|
|
@@ -21809,8 +21809,8 @@ function ModelTokenExchange({
|
|
|
21809
21809
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21810
21810
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _430 => _430.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21811
21811
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21812
|
-
const tokens =
|
|
21813
|
-
const cost =
|
|
21812
|
+
const tokens = _chunkRVSNXG6Jcjs.formatTokenAmount.call(void 0, balance);
|
|
21813
|
+
const cost = _chunkRVSNXG6Jcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21814
21814
|
const balancePrice = cost === null ? null : _chunkTKFTWM3Vcjs.formatPrice.call(void 0, cost);
|
|
21815
21815
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21816
21816
|
const options = models.map(modelOption);
|
|
@@ -21852,7 +21852,7 @@ function ModelTokenExchange({
|
|
|
21852
21852
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21853
21853
|
size: "small",
|
|
21854
21854
|
onClick: () => setChosen(preset.tokens),
|
|
21855
|
-
children: copy.buy.preset(
|
|
21855
|
+
children: copy.buy.preset(_chunkRVSNXG6Jcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21856
21856
|
},
|
|
21857
21857
|
preset.label
|
|
21858
21858
|
)) })
|
|
@@ -21871,7 +21871,7 @@ function ModelTokenExchange({
|
|
|
21871
21871
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _431 => _431.providerType]) === providerType ? rate : null)));
|
|
21872
21872
|
return {
|
|
21873
21873
|
id: providerType,
|
|
21874
|
-
name:
|
|
21874
|
+
name: _chunkRVSNXG6Jcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _432 => _432.providerLabel])),
|
|
21875
21875
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _433 => _433.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21876
21876
|
};
|
|
21877
21877
|
}),
|
|
@@ -21883,7 +21883,7 @@ function ModelTokenExchange({
|
|
|
21883
21883
|
}
|
|
21884
21884
|
),
|
|
21885
21885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21886
|
-
|
|
21886
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
21887
21887
|
{
|
|
21888
21888
|
label: copy.use.model,
|
|
21889
21889
|
value: _nullishCoalesce(_optionalChain([rate, 'optionalAccess', _435 => _435.modelName]), () => ( null)),
|
|
@@ -21909,7 +21909,7 @@ function ModelTokenExchange({
|
|
|
21909
21909
|
{
|
|
21910
21910
|
size: "plain",
|
|
21911
21911
|
loading,
|
|
21912
|
-
figure:
|
|
21912
|
+
figure: _chunkRVSNXG6Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _438 => _438.inputTokenRate])),
|
|
21913
21913
|
words: copy.charge.input
|
|
21914
21914
|
}
|
|
21915
21915
|
),
|
|
@@ -21918,7 +21918,7 @@ function ModelTokenExchange({
|
|
|
21918
21918
|
{
|
|
21919
21919
|
size: "plain",
|
|
21920
21920
|
loading,
|
|
21921
|
-
figure:
|
|
21921
|
+
figure: _chunkRVSNXG6Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _439 => _439.outputTokenRate])),
|
|
21922
21922
|
words: copy.charge.output
|
|
21923
21923
|
}
|
|
21924
21924
|
)
|
|
@@ -21930,9 +21930,9 @@ function ModelTokenExchange({
|
|
|
21930
21930
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21931
21931
|
children: [
|
|
21932
21932
|
/* @__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, Bar, { className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
21933
|
-
/* @__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, Bar, { className: "w-40" }) :
|
|
21933
|
+
/* @__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, Bar, { className: "w-40" }) : _chunkRVSNXG6Jcjs.formatTokenAmount.call(void 0, _chunkRVSNXG6Jcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21934
21934
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21935
|
-
/* @__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, Bar, { className: "w-48" }) : copy.charge.orWritten(
|
|
21935
|
+
/* @__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, Bar, { className: "w-48" }) : copy.charge.orWritten(_chunkRVSNXG6Jcjs.formatTokenAmount.call(void 0, _chunkRVSNXG6Jcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21936
21936
|
]
|
|
21937
21937
|
}
|
|
21938
21938
|
)
|
|
@@ -22430,14 +22430,14 @@ var ConfidenceBadge = ({
|
|
|
22430
22430
|
size = "sm",
|
|
22431
22431
|
className
|
|
22432
22432
|
}) => {
|
|
22433
|
-
const level =
|
|
22433
|
+
const level = _chunkRVSNXG6Jcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22434
22434
|
if (level === "none") {
|
|
22435
22435
|
return null;
|
|
22436
22436
|
}
|
|
22437
|
-
const label =
|
|
22438
|
-
const borderClass =
|
|
22439
|
-
const textClass =
|
|
22440
|
-
const bgClass =
|
|
22437
|
+
const label = _chunkRVSNXG6Jcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22438
|
+
const borderClass = _chunkRVSNXG6Jcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22439
|
+
const textClass = _chunkRVSNXG6Jcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22440
|
+
const bgClass = _chunkRVSNXG6Jcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22441
22441
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22442
22442
|
"span",
|
|
22443
22443
|
{
|
|
@@ -22488,9 +22488,9 @@ function SEOEditorPreview({
|
|
|
22488
22488
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22489
22489
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22490
22490
|
const seoTitleLength = (seoTitle || "").length;
|
|
22491
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22491
|
+
const seoTitleTooLong = seoTitleLength > _chunkRVSNXG6Jcjs.SEO_TITLE_MAX_LENGTH;
|
|
22492
22492
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22493
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22493
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkRVSNXG6Jcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22494
22494
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22495
22495
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22496
22496
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22515,10 +22515,10 @@ function SEOEditorPreview({
|
|
|
22515
22515
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22516
22516
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22517
22517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22518
|
-
|
|
22518
|
+
_chunkRVSNXG6Jcjs.Field,
|
|
22519
22519
|
{
|
|
22520
22520
|
label: "SEO Title",
|
|
22521
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22521
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkRVSNXG6Jcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22522
22522
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22523
22523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22524
22524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22533,7 +22533,7 @@ function SEOEditorPreview({
|
|
|
22533
22533
|
children: [
|
|
22534
22534
|
seoTitleLength,
|
|
22535
22535
|
"/",
|
|
22536
|
-
|
|
22536
|
+
_chunkRVSNXG6Jcjs.SEO_TITLE_MAX_LENGTH
|
|
22537
22537
|
]
|
|
22538
22538
|
}
|
|
22539
22539
|
),
|
|
@@ -22544,7 +22544,7 @@ function SEOEditorPreview({
|
|
|
22544
22544
|
value: seoTitle || "",
|
|
22545
22545
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22546
22546
|
disabled,
|
|
22547
|
-
maxLength:
|
|
22547
|
+
maxLength: _chunkRVSNXG6Jcjs.SEO_TITLE_MAX_LENGTH,
|
|
22548
22548
|
invalid: seoTitleTooLong,
|
|
22549
22549
|
placeholder: "Enter SEO meta title...",
|
|
22550
22550
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22555,7 +22555,7 @@ function SEOEditorPreview({
|
|
|
22555
22555
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22556
22556
|
] }),
|
|
22557
22557
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22558
|
-
|
|
22558
|
+
_chunkRVSNXG6Jcjs.Field,
|
|
22559
22559
|
{
|
|
22560
22560
|
label: "SEO Keywords",
|
|
22561
22561
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22587,10 +22587,10 @@ function SEOEditorPreview({
|
|
|
22587
22587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22588
22588
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22589
22589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22590
|
-
|
|
22590
|
+
_chunkRVSNXG6Jcjs.Field,
|
|
22591
22591
|
{
|
|
22592
22592
|
label: "SEO Description",
|
|
22593
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22593
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkRVSNXG6Jcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22594
22594
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22595
22595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22596
22596
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22613,7 +22613,7 @@ function SEOEditorPreview({
|
|
|
22613
22613
|
children: [
|
|
22614
22614
|
seoDescriptionLength,
|
|
22615
22615
|
"/",
|
|
22616
|
-
|
|
22616
|
+
_chunkRVSNXG6Jcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22617
22617
|
]
|
|
22618
22618
|
}
|
|
22619
22619
|
),
|
|
@@ -22624,7 +22624,7 @@ function SEOEditorPreview({
|
|
|
22624
22624
|
value: seoDescription || "",
|
|
22625
22625
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22626
22626
|
disabled,
|
|
22627
|
-
maxLength:
|
|
22627
|
+
maxLength: _chunkRVSNXG6Jcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22628
22628
|
invalid: seoDescriptionTooLong,
|
|
22629
22629
|
placeholder: "Enter SEO meta description...",
|
|
22630
22630
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22693,7 +22693,7 @@ function SEOEditorPreview({
|
|
|
22693
22693
|
{
|
|
22694
22694
|
ref: setFileInputRef,
|
|
22695
22695
|
type: "file",
|
|
22696
|
-
accept:
|
|
22696
|
+
accept: _chunkHEQ4GPYEcjs.IMAGE_FILE_ACCEPT,
|
|
22697
22697
|
onChange: handleImageUpload,
|
|
22698
22698
|
className: "hidden",
|
|
22699
22699
|
disabled: disabled || isUploading
|
|
@@ -22772,7 +22772,7 @@ var SOCIAL_ICON_COMPONENTS = {
|
|
|
22772
22772
|
copy: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.CopyIcon, { ...props, color: "var(--color-text-primary)" })
|
|
22773
22773
|
};
|
|
22774
22774
|
function renderSocialIcon(platform) {
|
|
22775
|
-
const key = _nullishCoalesce(
|
|
22775
|
+
const key = _nullishCoalesce(_chunkRVSNXG6Jcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22776
22776
|
const Icon = _nullishCoalesce(SOCIAL_ICON_COMPONENTS[key], () => ( SOCIAL_ICON_COMPONENTS.website));
|
|
22777
22777
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-5 w-5" });
|
|
22778
22778
|
}
|
|
@@ -22855,7 +22855,7 @@ function SocialLinksManager({
|
|
|
22855
22855
|
};
|
|
22856
22856
|
const getIcon = (link, platform) => {
|
|
22857
22857
|
const iconKey = _optionalChain([platform, 'optionalAccess', _449 => _449.icon_name]) || link.platform;
|
|
22858
|
-
const key =
|
|
22858
|
+
const key = _chunkRVSNXG6Jcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22859
22859
|
if (!key) return null;
|
|
22860
22860
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
22861
22861
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "h-5 w-5 text-ods-text-secondary" });
|
|
@@ -22871,9 +22871,9 @@ function SocialLinksManager({
|
|
|
22871
22871
|
children: [
|
|
22872
22872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
22873
22873
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
22874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
22875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
22876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
22877
22877
|
] }) }),
|
|
22878
22878
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22879
22879
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -22891,15 +22891,15 @@ function SocialLinksManager({
|
|
|
22891
22891
|
)
|
|
22892
22892
|
] }),
|
|
22893
22893
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22894
|
-
|
|
22894
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
22895
22895
|
{
|
|
22896
22896
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
22897
22897
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
22898
22898
|
children: [
|
|
22899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22900
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
22900
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: [
|
|
22901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "external", children: "Public" }),
|
|
22902
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "internal", children: "Internal" })
|
|
22903
22903
|
] })
|
|
22904
22904
|
]
|
|
22905
22905
|
}
|
|
@@ -22991,7 +22991,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22991
22991
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
22992
22992
|
style: customStyle,
|
|
22993
22993
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
22994
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22994
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22995
22995
|
children
|
|
22996
22996
|
}
|
|
22997
22997
|
);
|
|
@@ -23261,11 +23261,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23261
23261
|
|
|
23262
23262
|
function VideoBitesDisplay({
|
|
23263
23263
|
bites,
|
|
23264
|
-
title =
|
|
23264
|
+
title = _chunkHEQ4GPYEcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23265
23265
|
filterPublished = true,
|
|
23266
23266
|
showTitle = true
|
|
23267
23267
|
}) {
|
|
23268
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23268
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23269
23269
|
}
|
|
23270
23270
|
|
|
23271
23271
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23292,7 +23292,7 @@ function WalkthroughVideo({
|
|
|
23292
23292
|
onOpenChange,
|
|
23293
23293
|
defaultOpen,
|
|
23294
23294
|
defaultOpenPaused,
|
|
23295
|
-
deepLinkParam =
|
|
23295
|
+
deepLinkParam = _chunkRVSNXG6Jcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23296
23296
|
autoPlayCard = false,
|
|
23297
23297
|
label = "Play Demo Video",
|
|
23298
23298
|
placement,
|
|
@@ -23307,7 +23307,7 @@ function WalkthroughVideo({
|
|
|
23307
23307
|
}) {
|
|
23308
23308
|
const inline = placement === "inline";
|
|
23309
23309
|
const dismissEnabled = dismissal !== false;
|
|
23310
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23310
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkRVSNXG6Jcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23311
23311
|
const dismissalId = _optionalChain([video, 'optionalAccess', _455 => _455.id]) != null ? String(video.id) : "dismissed";
|
|
23312
23312
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23313
23313
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23318,7 +23318,7 @@ function WalkthroughVideo({
|
|
|
23318
23318
|
if (!hasVideo) return void 0;
|
|
23319
23319
|
const timer = setTimeout(() => {
|
|
23320
23320
|
const reveal = () => {
|
|
23321
|
-
if (dismissEnabled &&
|
|
23321
|
+
if (dismissEnabled && _chunkRVSNXG6Jcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23322
23322
|
setDismissed(true);
|
|
23323
23323
|
return;
|
|
23324
23324
|
}
|
|
@@ -23335,7 +23335,7 @@ function WalkthroughVideo({
|
|
|
23335
23335
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23336
23336
|
};
|
|
23337
23337
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
23338
|
-
const hydrated =
|
|
23338
|
+
const hydrated = _chunkRVSNXG6Jcjs.useIsHydrated.call(void 0, );
|
|
23339
23339
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23340
23340
|
if (!hydrated) return false;
|
|
23341
23341
|
try {
|
|
@@ -23585,7 +23585,7 @@ function WalkthroughVideo({
|
|
|
23585
23585
|
(e) => {
|
|
23586
23586
|
e.stopPropagation();
|
|
23587
23587
|
pausePreviewNow();
|
|
23588
|
-
if (dismissEnabled)
|
|
23588
|
+
if (dismissEnabled) _chunkRVSNXG6Jcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23589
23589
|
setDismissed(true);
|
|
23590
23590
|
},
|
|
23591
23591
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23734,7 +23734,7 @@ function WalkthroughVideo({
|
|
|
23734
23734
|
},
|
|
23735
23735
|
children: [
|
|
23736
23736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23737
|
-
|
|
23737
|
+
_chunkHEQ4GPYEcjs.VideoHoverPreviewSurface,
|
|
23738
23738
|
{
|
|
23739
23739
|
url: video.mainVideoUrl || "",
|
|
23740
23740
|
posterUrl: video.posterUrl,
|
|
@@ -23757,7 +23757,7 @@ function WalkthroughVideo({
|
|
|
23757
23757
|
`card-${embedUrlKey}`
|
|
23758
23758
|
) }),
|
|
23759
23759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23760
|
-
|
|
23760
|
+
_chunkRVSNXG6Jcjs.CardHitLayer,
|
|
23761
23761
|
{
|
|
23762
23762
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23763
23763
|
onPointerDown: pausePreviewNow,
|
|
@@ -23766,7 +23766,7 @@ function WalkthroughVideo({
|
|
|
23766
23766
|
}
|
|
23767
23767
|
),
|
|
23768
23768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
23769
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23769
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
23770
23770
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
23771
23771
|
] }),
|
|
23772
23772
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23779,7 +23779,7 @@ function WalkthroughVideo({
|
|
|
23779
23779
|
onPointerDown: (e) => e.stopPropagation(),
|
|
23780
23780
|
onClick: onUnmuteOrPlay,
|
|
23781
23781
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
23782
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.VideoUnmuteGlyph, {})
|
|
23783
23783
|
}
|
|
23784
23784
|
),
|
|
23785
23785
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -23872,7 +23872,7 @@ function WalkthroughVideo({
|
|
|
23872
23872
|
children: [
|
|
23873
23873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23874
23874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23875
|
-
|
|
23875
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
23876
23876
|
{
|
|
23877
23877
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23878
23878
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23923,7 +23923,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
23923
23923
|
var _reactquery = require('@tanstack/react-query');
|
|
23924
23924
|
function useWalkthroughVideo(opts) {
|
|
23925
23925
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
23926
|
-
const captions =
|
|
23926
|
+
const captions = _chunkRVSNXG6Jcjs.useCaptions.call(void 0, );
|
|
23927
23927
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23928
23928
|
queryKey: ["walkthrough-video", endpoint],
|
|
23929
23929
|
enabled,
|
|
@@ -24121,7 +24121,7 @@ function VideoSourceSelector({
|
|
|
24121
24121
|
}
|
|
24122
24122
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24123
24123
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24125
24125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24126
24126
|
"button",
|
|
24127
24127
|
{
|
|
@@ -24575,19 +24575,19 @@ function HighlightVideoSection({
|
|
|
24575
24575
|
/* @__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: [
|
|
24576
24576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { children: "Target Duration" }),
|
|
24577
24577
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24578
|
-
|
|
24578
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
24579
24579
|
{
|
|
24580
24580
|
value: targetDurationSeconds.toString(),
|
|
24581
24581
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24582
24582
|
disabled,
|
|
24583
24583
|
children: [
|
|
24584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24585
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24590
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
24585
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24590
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24591
24591
|
] })
|
|
24592
24592
|
]
|
|
24593
24593
|
}
|
|
@@ -24645,7 +24645,7 @@ function HighlightVideoSection({
|
|
|
24645
24645
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24646
24646
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24647
24647
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24649
24649
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24650
24650
|
"button",
|
|
24651
24651
|
{
|
|
@@ -24672,20 +24672,20 @@ function HighlightConfigSection({
|
|
|
24672
24672
|
disabled = false,
|
|
24673
24673
|
className = ""
|
|
24674
24674
|
}) {
|
|
24675
|
-
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,
|
|
24676
|
-
|
|
24675
|
+
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, _chunkRVSNXG6Jcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24676
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
24677
24677
|
{
|
|
24678
24678
|
value: targetDurationSeconds.toString(),
|
|
24679
24679
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24680
24680
|
disabled,
|
|
24681
24681
|
children: [
|
|
24682
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24683
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24682
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
24683
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24688
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24689
24689
|
] })
|
|
24690
24690
|
]
|
|
24691
24691
|
}
|
|
@@ -24773,7 +24773,7 @@ var AIStatusIndicator = ({
|
|
|
24773
24773
|
}) => {
|
|
24774
24774
|
const config = statusConfig[status];
|
|
24775
24775
|
const displayText = message || config.label;
|
|
24776
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24776
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkRVSNXG6Jcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24777
24777
|
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: [
|
|
24778
24778
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24779
24779
|
_chunkLLSUVPQCcjs.SparklesIcon,
|
|
@@ -24781,7 +24781,7 @@ var AIStatusIndicator = ({
|
|
|
24781
24781
|
size: 16,
|
|
24782
24782
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24783
24783
|
status === "loading" && "animate-pulse",
|
|
24784
|
-
confidence !== void 0 && status === "success" ?
|
|
24784
|
+
confidence !== void 0 && status === "success" ? _chunkRVSNXG6Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24785
24785
|
)
|
|
24786
24786
|
}
|
|
24787
24787
|
),
|
|
@@ -24790,7 +24790,7 @@ var AIStatusIndicator = ({
|
|
|
24790
24790
|
{
|
|
24791
24791
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24792
24792
|
"text-h6",
|
|
24793
|
-
confidence !== void 0 && status === "success" ?
|
|
24793
|
+
confidence !== void 0 && status === "success" ? _chunkRVSNXG6Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24794
24794
|
),
|
|
24795
24795
|
children: displayText
|
|
24796
24796
|
}
|
|
@@ -24800,8 +24800,8 @@ var AIStatusIndicator = ({
|
|
|
24800
24800
|
{
|
|
24801
24801
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24802
24802
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24803
|
-
|
|
24804
|
-
|
|
24803
|
+
_chunkRVSNXG6Jcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24804
|
+
_chunkRVSNXG6Jcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24805
24805
|
),
|
|
24806
24806
|
children: confidenceLabel
|
|
24807
24807
|
}
|
|
@@ -25638,8 +25638,8 @@ function PoliciesTable({
|
|
|
25638
25638
|
accessorKey: "name",
|
|
25639
25639
|
header: "Name",
|
|
25640
25640
|
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: [
|
|
25641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25642
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25641
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: row.original.name }),
|
|
25642
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25643
25643
|
] }),
|
|
25644
25644
|
meta: { width: "flex-1 min-w-0" }
|
|
25645
25645
|
},
|
|
@@ -25693,7 +25693,7 @@ function PoliciesTable({
|
|
|
25693
25693
|
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,
|
|
25694
25694
|
_chunkHQIOMFJHcjs.Button,
|
|
25695
25695
|
{
|
|
25696
|
-
onClick:
|
|
25696
|
+
onClick: _chunkRVSNXG6Jcjs.openInNewTab.call(void 0, row.original.href),
|
|
25697
25697
|
variant: "outline",
|
|
25698
25698
|
size: "icon",
|
|
25699
25699
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -25910,7 +25910,7 @@ function toValidInstant(iso) {
|
|
|
25910
25910
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
25911
25911
|
const date = toValidInstant(iso);
|
|
25912
25912
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
25913
|
-
return now.getTime() - date.getTime() < DAY_MS ? _chunkHP4UUBJCcjs.formatRelativeTimeFrom.call(void 0, date, now) :
|
|
25913
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunkHP4UUBJCcjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunkNJV3LIDEcjs.formatDate.call(void 0, date);
|
|
25914
25914
|
}
|
|
25915
25915
|
function usersCountLabel(count) {
|
|
25916
25916
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -25922,7 +25922,7 @@ function usersCountLabel(count) {
|
|
|
25922
25922
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
25923
25923
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25924
25924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
25925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
25926
25926
|
] });
|
|
25927
25927
|
}
|
|
25928
25928
|
|
|
@@ -25933,9 +25933,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
25933
25933
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25934
25934
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25935
25935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
25936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: name })
|
|
25937
25937
|
] }),
|
|
25938
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25938
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
25939
25939
|
] });
|
|
25940
25940
|
}
|
|
25941
25941
|
|
|
@@ -25945,9 +25945,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
25945
25945
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25946
25946
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25947
25947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
25948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: name })
|
|
25949
25949
|
] }),
|
|
25950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
25951
25951
|
] });
|
|
25952
25952
|
}
|
|
25953
25953
|
|
|
@@ -26019,7 +26019,7 @@ function TenantsTableView({
|
|
|
26019
26019
|
/* @__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,
|
|
26020
26020
|
_chunkHQIOMFJHcjs.Button,
|
|
26021
26021
|
{
|
|
26022
|
-
onClick:
|
|
26022
|
+
onClick: _chunkRVSNXG6Jcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26023
26023
|
variant: "outline",
|
|
26024
26024
|
size: "icon",
|
|
26025
26025
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26100,7 +26100,7 @@ function WaitlistForm({
|
|
|
26100
26100
|
const { toast } = _chunk4LY6R4TNcjs.useToast.call(void 0, );
|
|
26101
26101
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
26102
26102
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26103
|
-
const isClient =
|
|
26103
|
+
const isClient = _chunkRVSNXG6Jcjs.useIsHydrated.call(void 0, );
|
|
26104
26104
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26105
26105
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26106
26106
|
const rescue = _chunk4LY6R4TNcjs.useFormRescue.call(void 0, {
|
|
@@ -26115,7 +26115,7 @@ function WaitlistForm({
|
|
|
26115
26115
|
_react.useEffect.call(void 0, () => {
|
|
26116
26116
|
rescue.track({ email, phone }, null);
|
|
26117
26117
|
}, [email, phone, rescue]);
|
|
26118
|
-
const isMailDomainGeneric =
|
|
26118
|
+
const isMailDomainGeneric = _chunkRVSNXG6Jcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26119
26119
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26120
26120
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26121
26121
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26149,7 +26149,7 @@ function WaitlistForm({
|
|
|
26149
26149
|
setShowConsentError(true);
|
|
26150
26150
|
return;
|
|
26151
26151
|
}
|
|
26152
|
-
const finalPhone = phone ?
|
|
26152
|
+
const finalPhone = phone ? _chunkRVSNXG6Jcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26153
26153
|
try {
|
|
26154
26154
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26155
26155
|
rescue.complete();
|
|
@@ -26746,7 +26746,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26746
26746
|
}, [mobileBreakpoint]);
|
|
26747
26747
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26748
26748
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26749
|
-
const { size, setSize, clampSize } =
|
|
26749
|
+
const { size, setSize, clampSize } = _chunkRVSNXG6Jcjs.useResizablePanelSize.call(void 0, {
|
|
26750
26750
|
enabled: resizable,
|
|
26751
26751
|
minSize,
|
|
26752
26752
|
maxSize,
|
|
@@ -26766,7 +26766,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26766
26766
|
"data-state": open ? "open" : "closed",
|
|
26767
26767
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
26768
26768
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
26769
|
-
|
|
26769
|
+
_chunkRVSNXG6Jcjs.OVERLAY_BACKDROP_CLASS,
|
|
26770
26770
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26771
26771
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26772
26772
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26807,7 +26807,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26807
26807
|
...props,
|
|
26808
26808
|
children: [
|
|
26809
26809
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26810
|
-
|
|
26810
|
+
_chunkRVSNXG6Jcjs.PanelResizeHandle,
|
|
26811
26811
|
{
|
|
26812
26812
|
variant: "inLayout",
|
|
26813
26813
|
side: resolvedSide,
|
|
@@ -26846,11 +26846,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26846
26846
|
}
|
|
26847
26847
|
);
|
|
26848
26848
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26849
|
-
var AppLayoutDrawerHeader =
|
|
26850
|
-
var AppLayoutDrawerTitle =
|
|
26851
|
-
var AppLayoutDrawerDescription =
|
|
26852
|
-
var AppLayoutDrawerBody =
|
|
26853
|
-
var AppLayoutDrawerFooter =
|
|
26849
|
+
var AppLayoutDrawerHeader = _chunkRVSNXG6Jcjs.DrawerHeader;
|
|
26850
|
+
var AppLayoutDrawerTitle = _chunkRVSNXG6Jcjs.DrawerTitle;
|
|
26851
|
+
var AppLayoutDrawerDescription = _chunkRVSNXG6Jcjs.DrawerDescription;
|
|
26852
|
+
var AppLayoutDrawerBody = _chunkRVSNXG6Jcjs.DrawerBody;
|
|
26853
|
+
var AppLayoutDrawerFooter = _chunkRVSNXG6Jcjs.DrawerFooter;
|
|
26854
26854
|
|
|
26855
26855
|
// src/components/features/notifications/notification-tile.tsx
|
|
26856
26856
|
|
|
@@ -27065,7 +27065,7 @@ function NotificationDrawer({
|
|
|
27065
27065
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27066
27066
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27067
27067
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27068
|
-
|
|
27068
|
+
_chunkRVSNXG6Jcjs.DrawerTitle,
|
|
27069
27069
|
{
|
|
27070
27070
|
hideClose: true,
|
|
27071
27071
|
className: "truncate",
|
|
@@ -27124,8 +27124,8 @@ function NotificationDrawer({
|
|
|
27124
27124
|
}
|
|
27125
27125
|
) });
|
|
27126
27126
|
}
|
|
27127
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27128
|
-
|
|
27127
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRVSNXG6Jcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27128
|
+
_chunkRVSNXG6Jcjs.DrawerContent,
|
|
27129
27129
|
{
|
|
27130
27130
|
side: "right",
|
|
27131
27131
|
"aria-describedby": void 0,
|
|
@@ -27408,13 +27408,13 @@ function getApprovalMeta(notification) {
|
|
|
27408
27408
|
function resolutionToStatus(resolution) {
|
|
27409
27409
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27410
27410
|
case "APPROVED":
|
|
27411
|
-
return
|
|
27411
|
+
return _chunkNJV3LIDEcjs.APPROVAL_STATUS.APPROVED;
|
|
27412
27412
|
case "REJECTED":
|
|
27413
|
-
return
|
|
27413
|
+
return _chunkNJV3LIDEcjs.APPROVAL_STATUS.REJECTED;
|
|
27414
27414
|
case "CANCELLED":
|
|
27415
|
-
return
|
|
27415
|
+
return _chunkNJV3LIDEcjs.APPROVAL_STATUS.CANCELLED;
|
|
27416
27416
|
default:
|
|
27417
|
-
return
|
|
27417
|
+
return _chunkNJV3LIDEcjs.APPROVAL_STATUS.PENDING;
|
|
27418
27418
|
}
|
|
27419
27419
|
}
|
|
27420
27420
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27783,7 +27783,7 @@ function TimeTrackerPanel({
|
|
|
27783
27783
|
] }),
|
|
27784
27784
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
27785
27785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27786
|
-
|
|
27786
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
27787
27787
|
{
|
|
27788
27788
|
value: selectedTicketId,
|
|
27789
27789
|
onChange: onSelectedTicketChange,
|
|
@@ -27799,7 +27799,7 @@ function TimeTrackerPanel({
|
|
|
27799
27799
|
}
|
|
27800
27800
|
),
|
|
27801
27801
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27802
|
-
|
|
27802
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
27803
27803
|
{
|
|
27804
27804
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
27805
27805
|
onChange: onSelectedCustomerChange,
|
|
@@ -28063,7 +28063,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28063
28063
|
"data-state": isOpen ? "open" : "closed",
|
|
28064
28064
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
28065
28065
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28066
|
-
|
|
28066
|
+
_chunkRVSNXG6Jcjs.OVERLAY_BACKDROP_CLASS,
|
|
28067
28067
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28068
28068
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28069
28069
|
)
|
|
@@ -28238,7 +28238,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28238
28238
|
}
|
|
28239
28239
|
}
|
|
28240
28240
|
function getDeviceOperatingSystem(osType) {
|
|
28241
|
-
return
|
|
28241
|
+
return _chunkRVSNXG6Jcjs.getOSPlatformId.call(void 0, osType);
|
|
28242
28242
|
}
|
|
28243
28243
|
|
|
28244
28244
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -28414,8 +28414,8 @@ function DevicesFilterToolbar({
|
|
|
28414
28414
|
|
|
28415
28415
|
|
|
28416
28416
|
function formatDateTime(input) {
|
|
28417
|
-
const date =
|
|
28418
|
-
return date === "\u2014" ? date : `${date} ${
|
|
28417
|
+
const date = _chunkNJV3LIDEcjs.formatDate.call(void 0, input);
|
|
28418
|
+
return date === "\u2014" ? date : `${date} ${_chunkNJV3LIDEcjs.formatTime.call(void 0, input)}`;
|
|
28419
28419
|
}
|
|
28420
28420
|
function uniqueById(options) {
|
|
28421
28421
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -28520,7 +28520,7 @@ function DevicesTableBody({
|
|
|
28520
28520
|
function OrganizationCell({ device }) {
|
|
28521
28521
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28522
28522
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
28523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
28524
28524
|
/* @__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 || "" }) })
|
|
28525
28525
|
] });
|
|
28526
28526
|
}
|
|
@@ -28564,7 +28564,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28564
28564
|
const device = row.original;
|
|
28565
28565
|
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: [
|
|
28566
28566
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: getDeviceName(device) }) })
|
|
28568
28568
|
] });
|
|
28569
28569
|
},
|
|
28570
28570
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -28735,7 +28735,7 @@ function CustomerCell({ device }) {
|
|
|
28735
28735
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28736
28736
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
28737
28737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28738
|
-
|
|
28738
|
+
_chunkU6LRRG2Ecjs.EntityImage,
|
|
28739
28739
|
{
|
|
28740
28740
|
src: fullImageUrl,
|
|
28741
28741
|
alt: device.organization || "Customer",
|
|
@@ -28743,8 +28743,8 @@ function CustomerCell({ device }) {
|
|
|
28743
28743
|
}
|
|
28744
28744
|
),
|
|
28745
28745
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
28746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28747
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: device.organization || "" }),
|
|
28747
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
28748
28748
|
] })
|
|
28749
28749
|
] });
|
|
28750
28750
|
}
|
|
@@ -29038,8 +29038,8 @@ function DeviceSelector({
|
|
|
29038
29038
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29039
29039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29040
29040
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: getDeviceName(device) }),
|
|
29042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
29043
29043
|
] })
|
|
29044
29044
|
] });
|
|
29045
29045
|
},
|
|
@@ -29777,7 +29777,7 @@ function DevicesPanelView({
|
|
|
29777
29777
|
] })
|
|
29778
29778
|
] });
|
|
29779
29779
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29780
|
-
|
|
29780
|
+
_chunkU6LRRG2Ecjs.PageLayout,
|
|
29781
29781
|
{
|
|
29782
29782
|
title,
|
|
29783
29783
|
backButton,
|
|
@@ -29785,7 +29785,7 @@ function DevicesPanelView({
|
|
|
29785
29785
|
actionsVariant: "icon-buttons",
|
|
29786
29786
|
className,
|
|
29787
29787
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29788
|
-
|
|
29788
|
+
_chunkRVSNXG6Jcjs.TabSelector,
|
|
29789
29789
|
{
|
|
29790
29790
|
value: viewMode,
|
|
29791
29791
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _636 => _636(value)]),
|
|
@@ -29851,7 +29851,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
29851
29851
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
29852
29852
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
29853
29853
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29854
|
-
|
|
29854
|
+
_chunkU6LRRG2Ecjs.Autocomplete,
|
|
29855
29855
|
{
|
|
29856
29856
|
label: PACKAGE_SEARCH_LABEL,
|
|
29857
29857
|
labelVariant: "large",
|
|
@@ -29906,16 +29906,16 @@ function SoftwareScheduleFields({
|
|
|
29906
29906
|
] }),
|
|
29907
29907
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29908
29908
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Time" }),
|
|
29909
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
29910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "Select time" }) }),
|
|
29911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29912
29912
|
] })
|
|
29913
29913
|
] }),
|
|
29914
29914
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29915
29915
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
29916
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29916
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
29917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
29918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29919
29919
|
] })
|
|
29920
29920
|
] })
|
|
29921
29921
|
]
|
|
@@ -29981,22 +29981,22 @@ function newSoftwareRow(key) {
|
|
|
29981
29981
|
|
|
29982
29982
|
function InfoCell2({ value, label }) {
|
|
29983
29983
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
29984
|
-
/* @__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,
|
|
29984
|
+
/* @__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, _chunkU6LRRG2Ecjs.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" }) }) }),
|
|
29985
29985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
29986
29986
|
] });
|
|
29987
29987
|
}
|
|
29988
29988
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
29989
29989
|
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: [
|
|
29990
29990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29991
|
-
|
|
29991
|
+
_chunkU6LRRG2Ecjs.Select,
|
|
29992
29992
|
{
|
|
29993
29993
|
value: row.packageManager,
|
|
29994
29994
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
29995
29995
|
children: [
|
|
29996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, {}) }),
|
|
29997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
29998
29998
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
29999
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29999
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30000
30000
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30001
30001
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30002
30002
|
] }) }, manager);
|
|
@@ -30094,7 +30094,7 @@ function SoftwareActionForm({
|
|
|
30094
30094
|
}
|
|
30095
30095
|
);
|
|
30096
30096
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30097
|
-
|
|
30097
|
+
_chunkU6LRRG2Ecjs.PageLayout,
|
|
30098
30098
|
{
|
|
30099
30099
|
title: copy.formTitle,
|
|
30100
30100
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30183,7 +30183,7 @@ function LogDrawer({
|
|
|
30183
30183
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30184
30184
|
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 }) }),
|
|
30185
30185
|
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: [
|
|
30186
|
-
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,
|
|
30186
|
+
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, _chunkU6LRRG2Ecjs.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 }),
|
|
30187
30187
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30188
30188
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30189
30189
|
children
|
|
@@ -30231,7 +30231,7 @@ function LogsPageView({
|
|
|
30231
30231
|
],
|
|
30232
30232
|
[onRefresh]
|
|
30233
30233
|
);
|
|
30234
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30234
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
30235
30235
|
!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: [
|
|
30236
30236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30237
30237
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -30301,10 +30301,10 @@ var ToolBadge = ({
|
|
|
30301
30301
|
className,
|
|
30302
30302
|
iconClassName
|
|
30303
30303
|
}) => {
|
|
30304
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30304
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkRVSNXG6Jcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30305
30305
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWVOTC7HWcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30306
30306
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30307
|
-
|
|
30307
|
+
_chunkRVSNXG6Jcjs.NavLinkAnchorViaRuntime,
|
|
30308
30308
|
{
|
|
30309
30309
|
href,
|
|
30310
30310
|
targetPlatform,
|
|
@@ -30381,8 +30381,8 @@ function LogsTableView({
|
|
|
30381
30381
|
accessorKey: "logId",
|
|
30382
30382
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
30383
30383
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
30384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: row.original.timestamp }),
|
|
30385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
30386
30386
|
] }),
|
|
30387
30387
|
enableSorting: false,
|
|
30388
30388
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -30410,7 +30410,7 @@ function LogsTableView({
|
|
|
30410
30410
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30411
30411
|
ToolBadge,
|
|
30412
30412
|
{
|
|
30413
|
-
toolType:
|
|
30413
|
+
toolType: _chunkRVSNXG6Jcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30414
30414
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30415
30415
|
}
|
|
30416
30416
|
),
|
|
@@ -30422,7 +30422,7 @@ function LogsTableView({
|
|
|
30422
30422
|
filter: {
|
|
30423
30423
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _644 => _644.toolTypes, 'access', _645 => _645.map, 'call', _646 => _646((toolType) => ({
|
|
30424
30424
|
id: toolType,
|
|
30425
|
-
label:
|
|
30425
|
+
label: _chunkRVSNXG6Jcjs.toToolLabel.call(void 0, toolType),
|
|
30426
30426
|
value: toolType
|
|
30427
30427
|
}))]), () => ( []))
|
|
30428
30428
|
}
|
|
@@ -30434,8 +30434,8 @@ function LogsTableView({
|
|
|
30434
30434
|
cell: ({ row }) => {
|
|
30435
30435
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
30436
30436
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
30437
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30438
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30437
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: deviceName }),
|
|
30438
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
30439
30439
|
] });
|
|
30440
30440
|
},
|
|
30441
30441
|
enableSorting: false,
|
|
@@ -30449,7 +30449,7 @@ function LogsTableView({
|
|
|
30449
30449
|
{
|
|
30450
30450
|
accessorKey: "description",
|
|
30451
30451
|
header: "Log Details",
|
|
30452
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30452
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
30453
30453
|
enableSorting: false,
|
|
30454
30454
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
30455
30455
|
},
|
|
@@ -30480,7 +30480,7 @@ function LogsTableView({
|
|
|
30480
30480
|
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,
|
|
30481
30481
|
_chunkHQIOMFJHcjs.Button,
|
|
30482
30482
|
{
|
|
30483
|
-
onClick: getLogHref ?
|
|
30483
|
+
onClick: getLogHref ? _chunkRVSNXG6Jcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30484
30484
|
variant: "outline",
|
|
30485
30485
|
size: "icon",
|
|
30486
30486
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30709,7 +30709,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
30709
30709
|
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,
|
|
30710
30710
|
_chunkHQIOMFJHcjs.Button,
|
|
30711
30711
|
{
|
|
30712
|
-
onClick:
|
|
30712
|
+
onClick: _chunkRVSNXG6Jcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
30713
30713
|
variant: "outline",
|
|
30714
30714
|
size: "icon",
|
|
30715
30715
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30735,7 +30735,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30735
30735
|
/* @__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" }) }),
|
|
30736
30736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30737
30737
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30738
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: item.name }) }),
|
|
30739
30739
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30740
30740
|
_chunkTKFTWM3Vcjs.Tag,
|
|
30741
30741
|
{
|
|
@@ -30745,7 +30745,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30745
30745
|
}
|
|
30746
30746
|
)
|
|
30747
30747
|
] }),
|
|
30748
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30748
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
30749
30749
|
] })
|
|
30750
30750
|
] });
|
|
30751
30751
|
},
|
|
@@ -30760,8 +30760,8 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30760
30760
|
const ts = mode === "archive" ? _nullishCoalesce(row.original.updatedAt, () => ( row.original.createdAt)) : row.original.createdAt;
|
|
30761
30761
|
if (!ts) return null;
|
|
30762
30762
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
30763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
30764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
30763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunkNJV3LIDEcjs.formatDate.call(void 0, ts) }),
|
|
30764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunkNJV3LIDEcjs.formatTime.call(void 0, ts) })
|
|
30765
30765
|
] });
|
|
30766
30766
|
},
|
|
30767
30767
|
enableSorting: false,
|
|
@@ -30825,7 +30825,7 @@ function KnowledgeBaseArticleView({
|
|
|
30825
30825
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
30826
30826
|
}) {
|
|
30827
30827
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30828
|
-
|
|
30828
|
+
_chunkU6LRRG2Ecjs.PageLayout,
|
|
30829
30829
|
{
|
|
30830
30830
|
title,
|
|
30831
30831
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30835,7 +30835,7 @@ function KnowledgeBaseArticleView({
|
|
|
30835
30835
|
className,
|
|
30836
30836
|
children: [
|
|
30837
30837
|
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, _chunkTKFTWM3Vcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
30838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.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: [
|
|
30839
30839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30840
30840
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABSWD4PQcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30841
30841
|
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
@@ -30848,12 +30848,12 @@ function KnowledgeBaseArticleView({
|
|
|
30848
30848
|
}
|
|
30849
30849
|
),
|
|
30850
30850
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30851
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30851
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
30852
30852
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
30853
30853
|
] })
|
|
30854
30854
|
] }),
|
|
30855
30855
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
30856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { children: updatedLabel }),
|
|
30857
30857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
30858
30858
|
] }),
|
|
30859
30859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31304,7 +31304,7 @@ function Highlights({ items, className }) {
|
|
|
31304
31304
|
if (items.length === 0) return null;
|
|
31305
31305
|
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: [
|
|
31306
31306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
31307
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31307
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
31308
31308
|
] }, text)) });
|
|
31309
31309
|
}
|
|
31310
31310
|
function Example({
|
|
@@ -31333,7 +31333,7 @@ function Example({
|
|
|
31333
31333
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _677 => _677.mark]), () => ( requesterMark))),
|
|
31334
31334
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
31335
31335
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _678 => _678.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _679 => _679.note]), () => ( labels.requesterNote))),
|
|
31336
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31336
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
31337
31337
|
] })
|
|
31338
31338
|
] }),
|
|
31339
31339
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -31342,7 +31342,7 @@ function Example({
|
|
|
31342
31342
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _681 => _681.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _682 => _682.note]), () => ( labels.responderNote))),
|
|
31343
31343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
31344
31344
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
31345
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
31346
31346
|
] })
|
|
31347
31347
|
] })
|
|
31348
31348
|
] })
|
|
@@ -31391,16 +31391,16 @@ function CapabilityExplorer({
|
|
|
31391
31391
|
),
|
|
31392
31392
|
children: [
|
|
31393
31393
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
31394
|
-
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,
|
|
31394
|
+
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, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
31395
31395
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
31396
31396
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
31397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
31398
31398
|
item.badge
|
|
31399
31399
|
] }),
|
|
31400
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31400
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
31401
31401
|
] })
|
|
31402
31402
|
] }),
|
|
31403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
31404
31404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
31405
31405
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31406
31406
|
Example,
|
|
@@ -31475,7 +31475,7 @@ function CapabilityExplorer({
|
|
|
31475
31475
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
31476
31476
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
31477
31477
|
),
|
|
31478
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31478
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
31479
31479
|
}
|
|
31480
31480
|
),
|
|
31481
31481
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -31528,8 +31528,8 @@ function CapabilityExplorer({
|
|
|
31528
31528
|
),
|
|
31529
31529
|
children: [
|
|
31530
31530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
31531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
31532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
31533
31533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
31534
31534
|
] }),
|
|
31535
31535
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|