@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.720
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-MIQLUUVF.cjs → chunk-2C72EWQR.cjs} +93 -29
- package/dist/{chunk-IWCPXJEE.js → chunk-3HZ6XSZC.js} +2 -4
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4SIZCHVZ.cjs} +13 -15
- package/dist/{chunk-BOTM373R.cjs → chunk-5XDCCQ4A.cjs} +15 -15
- package/dist/{chunk-DXCBOZVT.cjs → chunk-6BLN5WDS.cjs} +41 -41
- package/dist/{chunk-DCD5WZUF.js → chunk-6W46LVK4.js} +5 -5
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-45F7PXUI.js → chunk-7HYEQKN6.js} +6 -6
- package/dist/{chunk-N2PF5CFX.js → chunk-7IOU6BJE.js} +12 -11
- package/dist/{chunk-BWIN42ZA.cjs → chunk-7LPR4RZ3.cjs} +34 -36
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-JPD4NXH6.js → chunk-AZRI4XBP.js} +1 -1
- package/dist/{chunk-4QFWGLZO.js → chunk-B2N4YX66.js} +1 -1
- package/dist/{chunk-QXZCLQNV.js → chunk-B5LNX4GZ.js} +2 -2
- package/dist/{chunk-GN4A7PMB.cjs → chunk-DHNJSQGX.cjs} +91 -91
- package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-DOPOHO6H.cjs} +20 -20
- package/dist/{chunk-Z3CVSPO3.cjs → chunk-DYDDAA6O.cjs} +519 -518
- package/dist/{chunk-2RKFMUNW.cjs → chunk-EVMM3JE6.cjs} +64 -63
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-TTVOLEUS.js → chunk-GANIUMRU.js} +89 -2
- package/dist/{chunk-S2FUFMLW.cjs → chunk-HFEYEPOG.cjs} +27 -27
- package/dist/{chunk-LE5WKGJV.cjs → chunk-HTS46FFY.cjs} +3 -3
- package/dist/{chunk-6A43ZDWV.cjs → chunk-IL3ZWNM2.cjs} +4 -4
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-YC5COB5V.cjs → chunk-ISCZ6UNF.cjs} +85 -89
- package/dist/{chunk-XGHGGBM3.js → chunk-K2BYVPGR.js} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-KSGMZHVV.cjs} +2 -2
- package/dist/{chunk-SGFTTJKO.js → chunk-LO3KCLEF.js} +1 -1
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-NYSMDM4J.cjs} +2 -2
- package/dist/{chunk-67QBMN4R.js → chunk-O3MKJU6A.js} +6 -6
- package/dist/{chunk-APJZBDQN.js → chunk-PSMJYZMV.js} +27 -26
- package/dist/{chunk-JH2SIWPQ.js → chunk-PXAKSPLZ.js} +1586 -1263
- package/dist/{chunk-TBCZCRQ5.js → chunk-Q5327DXK.js} +13 -17
- package/dist/{chunk-EZC2F5OT.cjs → chunk-QF464PPL.cjs} +39 -39
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-RDP5UZXQ.cjs} +888 -565
- package/dist/{chunk-ETYLOZOB.cjs → chunk-RFUOIQSG.cjs} +100 -13
- package/dist/{chunk-DC4RTYWK.cjs → chunk-RZQGIWK3.cjs} +3 -3
- package/dist/{chunk-PQ6HBLZ7.js → chunk-TORERAXD.js} +105 -41
- package/dist/{chunk-6YPTUHM7.js → chunk-URW23QUM.js} +1 -1
- package/dist/{chunk-QBCDSTLE.cjs → chunk-UWJMDFDO.cjs} +18 -18
- package/dist/{chunk-YEMCCYIF.js → chunk-V6B2FBZK.js} +5 -5
- package/dist/{chunk-JIWMBIVZ.js → chunk-VBHGJFA3.js} +10 -10
- package/dist/{chunk-Z5UWW3Z2.cjs → chunk-VF2CJXZ2.cjs} +81 -65
- package/dist/{chunk-DEZDMTBM.js → chunk-VYVPII4W.js} +8 -10
- package/dist/{chunk-MM7MCIXL.js → chunk-VYZCKY5K.js} +9 -9
- package/dist/{chunk-E7YCPY7K.cjs → chunk-XSM46FHD.cjs} +3 -3
- package/dist/{chunk-NZ5BHDFZ.js → chunk-XW3Q623Q.js} +1 -1
- package/dist/{chunk-LOYPRJWA.js → chunk-YK3X74SF.js} +67 -51
- package/dist/{chunk-WALCXC7J.cjs → chunk-ZHD3F2TH.cjs} +3 -3
- package/dist/{chunk-KBJJQFYU.js → chunk-ZPHOQDAE.js} +1 -1
- package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-RKQRSDNE.js} +9 -9
- package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-UQZASXUB.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +23 -6
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +22 -5
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +13 -12
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +12 -11
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +104 -105
- package/dist/components/help-center-pages/index.js +28 -29
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +109 -197
- package/dist/components/index.js +228 -316
- package/dist/components/meeting-scheduler/index.cjs +50 -51
- package/dist/components/meeting-scheduler/index.js +12 -13
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +13 -14
- package/dist/components/onboarding-guides/index.js +12 -13
- 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 +5 -7
- package/dist/components/related-content/index.js +4 -6
- package/dist/components/related-content/related-content-section.d.ts +6 -6
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/index.cjs +26 -10
- package/dist/components/ui/index.js +25 -9
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-KRCGZMGA.cjs → devices-7Q2EUM7B.cjs} +11 -11
- package/dist/{devices-LHEX7O5T.js → devices-U3Y4IIW4.js} +9 -9
- package/dist/hooks/index.cjs +3 -4
- package/dist/hooks/index.js +2 -3
- package/dist/hooks/use-self-fetch.d.ts +3 -0
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/index.cjs +34 -14
- package/dist/index.js +33 -13
- package/dist/{knowledge-RZSFNR33.js → knowledge-NST53EXE.js} +9 -9
- package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-UYIZ74MA.cjs} +11 -11
- package/dist/{logs-OX3XTVL2.cjs → logs-HTH7X7KV.cjs} +18 -18
- package/dist/{logs-E5DOV5JO.js → logs-JVTRG232.js} +9 -9
- package/dist/{policies-MC2S4S5G.js → policies-DTXTRK56.js} +9 -9
- package/dist/{policies-FOSCIZGK.cjs → policies-MXK2HB4W.cjs} +14 -14
- package/dist/{remote-session-JQ2BPIE3.js → remote-session-LAJZKQBN.js} +3 -3
- package/dist/{remote-session-DRFE5XZE.cjs → remote-session-SKKF4PBV.cjs} +5 -5
- package/dist/{software-update-D4OEIH65.js → software-update-6RHMPM3W.js} +9 -9
- package/dist/{software-update-HOBSTWVO.cjs → software-update-P6BSM6HX.cjs} +14 -14
- package/dist/utils/index.cjs +26 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +25 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/related-content/related-content-section.tsx +46 -47
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/use-self-fetch.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-GEDY7HQI.cjs +0 -85
- package/dist/chunk-YBQQNDC7.js +0 -85
|
@@ -24,7 +24,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkVF2CJXZ2cjs = require('./chunk-VF2CJXZ2.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ var _chunkZ5UWW3Z2cjs = require('./chunk-Z5UWW3Z2.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunk4SIZCHVZcjs = require('./chunk-4SIZCHVZ.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -113,7 +113,8 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
|
|
117
|
+
var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
|
|
117
118
|
|
|
118
119
|
|
|
119
120
|
|
|
@@ -142,7 +143,7 @@ var _chunkKT3U3ZRPcjs = require('./chunk-KT3U3ZRP.cjs');
|
|
|
142
143
|
|
|
143
144
|
|
|
144
145
|
|
|
145
|
-
var
|
|
146
|
+
var _chunkRZQGIWK3cjs = require('./chunk-RZQGIWK3.cjs');
|
|
146
147
|
|
|
147
148
|
|
|
148
149
|
|
|
@@ -185,10 +186,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
185
186
|
|
|
186
187
|
|
|
187
188
|
|
|
188
|
-
var
|
|
189
|
+
var _chunkRFUOIQSGcjs = require('./chunk-RFUOIQSG.cjs');
|
|
189
190
|
|
|
190
191
|
|
|
191
|
-
var
|
|
192
|
+
var _chunkIMTY3GRRcjs = require('./chunk-IMTY3GRR.cjs');
|
|
192
193
|
|
|
193
194
|
|
|
194
195
|
|
|
@@ -207,7 +208,7 @@ var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
|
207
208
|
|
|
208
209
|
|
|
209
210
|
|
|
210
|
-
var
|
|
211
|
+
var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
|
|
211
212
|
|
|
212
213
|
|
|
213
214
|
|
|
@@ -436,7 +437,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
436
437
|
var useTheme = _nextthemes.useTheme;
|
|
437
438
|
function useThemeToggle() {
|
|
438
439
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
439
|
-
const mounted =
|
|
440
|
+
const mounted = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
440
441
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
441
442
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
442
443
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -644,7 +645,7 @@ function TimezoneSelect({
|
|
|
644
645
|
}) {
|
|
645
646
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
646
647
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
647
|
-
|
|
648
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
648
649
|
{
|
|
649
650
|
className,
|
|
650
651
|
value: value || null,
|
|
@@ -1462,20 +1463,20 @@ function DatePickerInput(props) {
|
|
|
1462
1463
|
) })
|
|
1463
1464
|
] }),
|
|
1464
1465
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1465
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1467
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1466
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1467
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "HH" }) }),
|
|
1468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: h, children: h }, h)) })
|
|
1468
1469
|
] }),
|
|
1469
1470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1470
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1471
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "MM" }) }),
|
|
1473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: m, children: m }, m)) })
|
|
1473
1474
|
] }),
|
|
1474
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1476
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1475
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1476
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "AM" }) }),
|
|
1477
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: [
|
|
1478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "PM", children: "PM" })
|
|
1479
1480
|
] })
|
|
1480
1481
|
] })
|
|
1481
1482
|
] })
|
|
@@ -1617,9 +1618,9 @@ function DatePickerInputSimple(props) {
|
|
|
1617
1618
|
}
|
|
1618
1619
|
) })
|
|
1619
1620
|
] }),
|
|
1620
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1621
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1623
1624
|
] })
|
|
1624
1625
|
] });
|
|
1625
1626
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1638,14 +1639,14 @@ function DateFilterPanel({
|
|
|
1638
1639
|
className
|
|
1639
1640
|
}) {
|
|
1640
1641
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1641
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1642
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.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: [
|
|
1643
1644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) })
|
|
1645
1646
|
] }) }),
|
|
1646
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1647
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: [
|
|
1648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "desc", children: descLabel })
|
|
1649
1650
|
] })
|
|
1650
1651
|
] }),
|
|
1651
1652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2104,7 +2105,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2104
2105
|
] });
|
|
2105
2106
|
}
|
|
2106
2107
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2107
|
-
const { copy, copied } =
|
|
2108
|
+
const { copy, copied } = _chunk4SIZCHVZcjs.useCopyToClipboard.call(void 0, );
|
|
2108
2109
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2109
2110
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2110
2111
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2388,7 +2389,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2388
2389
|
if (isEditing) {
|
|
2389
2390
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2390
2391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2391
|
-
|
|
2392
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
2392
2393
|
{
|
|
2393
2394
|
options,
|
|
2394
2395
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _34 => _34.id]), () => ( null)),
|
|
@@ -2624,15 +2625,15 @@ function MediaTypeSelector({
|
|
|
2624
2625
|
// changed) and cost an extra render pass on every change to say what the
|
|
2625
2626
|
// prop already said.
|
|
2626
2627
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2627
|
-
|
|
2628
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
2628
2629
|
{
|
|
2629
2630
|
value: value || void 0,
|
|
2630
2631
|
onValueChange,
|
|
2631
2632
|
disabled,
|
|
2632
2633
|
defaultValue: value,
|
|
2633
2634
|
children: [
|
|
2634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder }) }),
|
|
2636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
2636
2637
|
option.icon,
|
|
2637
2638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
2638
2639
|
] }) }, option.value)) })
|
|
@@ -3990,10 +3991,10 @@ function useConfirm() {
|
|
|
3990
3991
|
},
|
|
3991
3992
|
[]
|
|
3992
3993
|
);
|
|
3993
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3994
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3996
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3994
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
3995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: pending.title }) }),
|
|
3996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
3997
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: [
|
|
3997
3998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
3998
3999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
3999
4000
|
] })
|
|
@@ -4047,14 +4048,14 @@ function AdminFormDrawer({
|
|
|
4047
4048
|
else onClose();
|
|
4048
4049
|
};
|
|
4049
4050
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4050
|
-
|
|
4051
|
+
_chunkRDP5UZXQcjs.Drawer,
|
|
4051
4052
|
{
|
|
4052
4053
|
open: isOpen,
|
|
4053
4054
|
onOpenChange: (open) => {
|
|
4054
4055
|
if (!open) requestClose();
|
|
4055
4056
|
},
|
|
4056
4057
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4057
|
-
|
|
4058
|
+
_chunkRDP5UZXQcjs.DrawerContent,
|
|
4058
4059
|
{
|
|
4059
4060
|
side: "right",
|
|
4060
4061
|
resizable: true,
|
|
@@ -4063,15 +4064,15 @@ function AdminFormDrawer({
|
|
|
4063
4064
|
storageKey,
|
|
4064
4065
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4065
4066
|
children: [
|
|
4066
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4067
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4068
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4067
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRDP5UZXQcjs.DrawerHeader, { children: [
|
|
4068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.DrawerTitle, { children: title }),
|
|
4069
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4069
4070
|
] }),
|
|
4070
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4071
4072
|
"form",
|
|
4072
4073
|
{
|
|
4073
4074
|
id: formId,
|
|
4074
|
-
...
|
|
4075
|
+
..._chunkRDP5UZXQcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4075
4076
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4076
4077
|
onSubmit: (e) => {
|
|
4077
4078
|
e.preventDefault();
|
|
@@ -4198,16 +4199,16 @@ function AdminFormModal({
|
|
|
4198
4199
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4199
4200
|
});
|
|
4200
4201
|
if (!isOpen) return null;
|
|
4201
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4202
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4203
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4202
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4203
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: [
|
|
4204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: title }),
|
|
4204
4205
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4205
4206
|
] }),
|
|
4206
4207
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4207
4208
|
"form",
|
|
4208
4209
|
{
|
|
4209
4210
|
id: formId,
|
|
4210
|
-
...
|
|
4211
|
+
..._chunkRDP5UZXQcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4211
4212
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4212
4213
|
onSubmit: (e) => {
|
|
4213
4214
|
e.preventDefault();
|
|
@@ -4225,7 +4226,7 @@ function AdminFormModal({
|
|
|
4225
4226
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4226
4227
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4227
4228
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4229
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4229
4230
|
"div",
|
|
4230
4231
|
{
|
|
4231
4232
|
"aria-busy": "true",
|
|
@@ -4246,12 +4247,12 @@ function AdminFormModal({
|
|
|
4246
4247
|
]
|
|
4247
4248
|
}
|
|
4248
4249
|
) })
|
|
4249
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4250
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalContent, { className: contentClassName, children }),
|
|
4250
4251
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4251
4252
|
]
|
|
4252
4253
|
}
|
|
4253
4254
|
),
|
|
4254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4255
4256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4256
4257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4257
4258
|
footerStatus,
|
|
@@ -5436,7 +5437,7 @@ function EmbedViewerFrame({
|
|
|
5436
5437
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5437
5438
|
_react.useEffect.call(void 0, () => {
|
|
5438
5439
|
if (!fullscreenControl) return void 0;
|
|
5439
|
-
const controller = new (0,
|
|
5440
|
+
const controller = new (0, _chunkRDP5UZXQcjs.FullscreenSwitchController)({
|
|
5440
5441
|
target: () => frameRef.current,
|
|
5441
5442
|
onFullscreenChange: setIsFullscreen
|
|
5442
5443
|
});
|
|
@@ -5530,7 +5531,7 @@ var KIND_HEADING = {
|
|
|
5530
5531
|
design: "Claude Design"
|
|
5531
5532
|
};
|
|
5532
5533
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
5533
|
-
const { src: mirrorSrc, status } =
|
|
5534
|
+
const { src: mirrorSrc, status } = _chunk4SIZCHVZcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
5534
5535
|
const isProbing = status === "probing";
|
|
5535
5536
|
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkGQ7JJUITcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
5536
5537
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5997,7 +5998,7 @@ var OGLinkPreview = ({
|
|
|
5997
5998
|
const hasImage = !!resolvedImageUrl;
|
|
5998
5999
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _106 => _106.source]) === "curated";
|
|
5999
6000
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _107 => _107.source]) === "placeholder";
|
|
6000
|
-
const bgColor =
|
|
6001
|
+
const bgColor = _chunk7GRPR7XAcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6001
6002
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6002
6003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6003
6004
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6386,7 +6387,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6386
6387
|
};
|
|
6387
6388
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6388
6389
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6389
|
-
|
|
6390
|
+
_chunkRFUOIQSGcjs.Video,
|
|
6390
6391
|
{
|
|
6391
6392
|
url: item.src,
|
|
6392
6393
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7110,7 +7111,7 @@ function buildRichEmbedOverrides({
|
|
|
7110
7111
|
ogEndpointPath,
|
|
7111
7112
|
textSizes
|
|
7112
7113
|
}) {
|
|
7113
|
-
const standard =
|
|
7114
|
+
const standard = _chunkRDP5UZXQcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7114
7115
|
return {
|
|
7115
7116
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7116
7117
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7120,7 +7121,7 @@ function buildRichEmbedOverrides({
|
|
|
7120
7121
|
const language = match ? match[1] : "";
|
|
7121
7122
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7122
7123
|
if (language === "youtube-embed") {
|
|
7123
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7124
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7124
7125
|
}
|
|
7125
7126
|
if (language === "reddit-embed") {
|
|
7126
7127
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7161,7 +7162,7 @@ function buildRichEmbedOverrides({
|
|
|
7161
7162
|
"data-figma-url": figmaUrl
|
|
7162
7163
|
} = divProps;
|
|
7163
7164
|
if (className === "youtube-embed" && videoId) {
|
|
7164
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7165
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Video, { kind: "youtube", url: videoId });
|
|
7165
7166
|
}
|
|
7166
7167
|
if (className === "reddit-embed" && postUrl) {
|
|
7167
7168
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7246,14 +7247,14 @@ function buildRichEmbedOverrides({
|
|
|
7246
7247
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7247
7248
|
// elsewhere). Guard against empty `![]()`.
|
|
7248
7249
|
img: ({ src, alt }) => {
|
|
7249
|
-
if (!
|
|
7250
|
+
if (!_chunkRDP5UZXQcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7250
7251
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7251
7252
|
},
|
|
7252
7253
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7253
7254
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7254
7255
|
video: ({ src, poster, className }) => {
|
|
7255
|
-
if (!
|
|
7256
|
-
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,
|
|
7256
|
+
if (!_chunkRDP5UZXQcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7257
|
+
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, _chunkRFUOIQSGcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7257
7258
|
}
|
|
7258
7259
|
};
|
|
7259
7260
|
}
|
|
@@ -7361,7 +7362,7 @@ var processShortcodes = (content) => {
|
|
|
7361
7362
|
try {
|
|
7362
7363
|
const urlObj = new URL(url);
|
|
7363
7364
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7364
|
-
const hostIs = (domain) =>
|
|
7365
|
+
const hostIs = (domain) => _chunkRDP5UZXQcjs.hostMatches.call(void 0, hostname, domain);
|
|
7365
7366
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7366
7367
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7367
7368
|
return match;
|
|
@@ -7436,13 +7437,13 @@ var RichMarkdownInner = ({
|
|
|
7436
7437
|
},
|
|
7437
7438
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7438
7439
|
);
|
|
7439
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7440
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkRDP5UZXQcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7440
7441
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7441
7442
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7442
7443
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7443
7444
|
);
|
|
7444
7445
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7445
|
-
|
|
7446
|
+
_chunkRDP5UZXQcjs.MarkdownEngine,
|
|
7446
7447
|
{
|
|
7447
7448
|
content,
|
|
7448
7449
|
className,
|
|
@@ -7464,7 +7465,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7464
7465
|
className = "",
|
|
7465
7466
|
sectionIds,
|
|
7466
7467
|
onInternalLinkClick,
|
|
7467
|
-
brokenLinks =
|
|
7468
|
+
brokenLinks = _chunkRDP5UZXQcjs.NO_BROKEN_LINKS,
|
|
7468
7469
|
currentPath,
|
|
7469
7470
|
resolveSource = "openframe-docs",
|
|
7470
7471
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8405,7 +8406,7 @@ function FilterModal({
|
|
|
8405
8406
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _141 => _141.defaultSort]), () => ( "desc"));
|
|
8406
8407
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _142 => _142.sort]), () => ( dateDefaultSort)));
|
|
8407
8408
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _143 => _143.range]));
|
|
8408
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8409
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkRDP5UZXQcjs.useScrollFade.call(void 0, );
|
|
8409
8410
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8410
8411
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8411
8412
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8451,15 +8452,15 @@ function FilterModal({
|
|
|
8451
8452
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8452
8453
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8453
8454
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8454
|
-
|
|
8455
|
+
_chunkRZQGIWK3cjs.Modal,
|
|
8455
8456
|
{
|
|
8456
8457
|
isOpen,
|
|
8457
8458
|
onClose,
|
|
8458
8459
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
8459
8460
|
children: [
|
|
8460
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: title }) }),
|
|
8461
8462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8462
|
-
|
|
8463
|
+
_chunkRZQGIWK3cjs.ModalContent,
|
|
8463
8464
|
{
|
|
8464
8465
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
8465
8466
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8551,12 +8552,12 @@ function FilterModal({
|
|
|
8551
8552
|
] })
|
|
8552
8553
|
}
|
|
8553
8554
|
),
|
|
8554
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8555
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8555
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8556
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8556
8557
|
] })
|
|
8557
8558
|
}
|
|
8558
8559
|
),
|
|
8559
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8560
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: [
|
|
8560
8561
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8561
8562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8562
8563
|
] })
|
|
@@ -8618,7 +8619,7 @@ function renderAdvancedPageContainer({
|
|
|
8618
8619
|
};
|
|
8619
8620
|
const renderActions = () => {
|
|
8620
8621
|
if (!actions || actions.length === 0) return null;
|
|
8621
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8622
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
8622
8623
|
};
|
|
8623
8624
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
8624
8625
|
const paddingClasses = {
|
|
@@ -8641,14 +8642,14 @@ function renderAdvancedPageContainer({
|
|
|
8641
8642
|
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: [
|
|
8642
8643
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8643
8644
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8644
|
-
|
|
8645
|
+
_chunkVF2CJXZ2cjs.BackButton,
|
|
8645
8646
|
{
|
|
8646
8647
|
onClick: backButton.onClick,
|
|
8647
8648
|
label: backButton.label,
|
|
8648
8649
|
className: "hidden content-md:inline-flex"
|
|
8649
8650
|
}
|
|
8650
8651
|
),
|
|
8651
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8652
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8652
8653
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8653
8654
|
] }),
|
|
8654
8655
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -8661,14 +8662,14 @@ function renderAdvancedPageContainer({
|
|
|
8661
8662
|
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: [
|
|
8662
8663
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8663
8664
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8664
|
-
|
|
8665
|
+
_chunkVF2CJXZ2cjs.BackButton,
|
|
8665
8666
|
{
|
|
8666
8667
|
onClick: backButton.onClick,
|
|
8667
8668
|
label: backButton.label,
|
|
8668
8669
|
className: "hidden content-md:inline-flex"
|
|
8669
8670
|
}
|
|
8670
8671
|
),
|
|
8671
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8672
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8672
8673
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8673
8674
|
] }),
|
|
8674
8675
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8681,14 +8682,14 @@ function renderAdvancedPageContainer({
|
|
|
8681
8682
|
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: [
|
|
8682
8683
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8683
8684
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8684
|
-
|
|
8685
|
+
_chunkVF2CJXZ2cjs.BackButton,
|
|
8685
8686
|
{
|
|
8686
8687
|
onClick: backButton.onClick,
|
|
8687
8688
|
label: backButton.label,
|
|
8688
8689
|
className: "hidden content-md:inline-flex"
|
|
8689
8690
|
}
|
|
8690
8691
|
),
|
|
8691
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8692
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) })
|
|
8692
8693
|
] }),
|
|
8693
8694
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
8694
8695
|
headerActions,
|
|
@@ -8698,7 +8699,7 @@ function renderAdvancedPageContainer({
|
|
|
8698
8699
|
}
|
|
8699
8700
|
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: [
|
|
8700
8701
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8701
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8702
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8702
8703
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8703
8704
|
] }),
|
|
8704
8705
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9021,7 +9022,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9021
9022
|
|
|
9022
9023
|
|
|
9023
9024
|
function PlatformBrowseButton({ item }) {
|
|
9024
|
-
const linkProps =
|
|
9025
|
+
const linkProps = _chunkRDP5UZXQcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9025
9026
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9026
9027
|
"Browse ",
|
|
9027
9028
|
item.buttonText
|
|
@@ -9469,10 +9470,10 @@ var OSTypeBadge = ({
|
|
|
9469
9470
|
if (!osType) {
|
|
9470
9471
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9471
9472
|
}
|
|
9472
|
-
const normalized =
|
|
9473
|
+
const normalized = _chunkRDP5UZXQcjs.normalizeOSType.call(void 0, osType);
|
|
9473
9474
|
if (!normalized && !labelOnly) return null;
|
|
9474
|
-
const label =
|
|
9475
|
-
const IconComponent =
|
|
9475
|
+
const label = _chunkRDP5UZXQcjs.getOSLabel.call(void 0, osType);
|
|
9476
|
+
const IconComponent = _chunkRDP5UZXQcjs.getOSIcon.call(void 0, osType);
|
|
9476
9477
|
if (iconOnly && IconComponent) {
|
|
9477
9478
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9478
9479
|
}
|
|
@@ -9681,7 +9682,7 @@ function ComplianceLogo({
|
|
|
9681
9682
|
fallback = null,
|
|
9682
9683
|
className
|
|
9683
9684
|
}) {
|
|
9684
|
-
const standard =
|
|
9685
|
+
const standard = _chunkRDP5UZXQcjs.complianceStandardForName.call(void 0, ...names);
|
|
9685
9686
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
9686
9687
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
9687
9688
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9762,7 +9763,7 @@ function FeatureCardGrid({
|
|
|
9762
9763
|
if (allCardsHaveNoBorders) {
|
|
9763
9764
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
9764
9765
|
}
|
|
9765
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9766
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
9766
9767
|
const startIndex = rowIndex * itemsPerRow;
|
|
9767
9768
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
9768
9769
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -9796,7 +9797,7 @@ function FeatureCardGrid({
|
|
|
9796
9797
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
9797
9798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
9798
9799
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9799
|
-
|
|
9800
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
9800
9801
|
{
|
|
9801
9802
|
text: item.badge.text,
|
|
9802
9803
|
variant: item.badge.variant || "card",
|
|
@@ -9805,7 +9806,7 @@ function FeatureCardGrid({
|
|
|
9805
9806
|
)
|
|
9806
9807
|
] }),
|
|
9807
9808
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9808
|
-
|
|
9809
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
9809
9810
|
{
|
|
9810
9811
|
text: item.badge.text,
|
|
9811
9812
|
variant: item.badge.variant || "card",
|
|
@@ -10257,7 +10258,7 @@ function OrganizationCard({
|
|
|
10257
10258
|
}
|
|
10258
10259
|
),
|
|
10259
10260
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
10260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10261
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
10261
10262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-2", children: [
|
|
10262
10263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
10263
10264
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10307,8 +10308,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10307
10308
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
10308
10309
|
/* @__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 }),
|
|
10309
10310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
10310
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10311
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10311
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h3", children: title }),
|
|
10312
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
10312
10313
|
] })
|
|
10313
10314
|
] }),
|
|
10314
10315
|
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 })
|
|
@@ -10318,7 +10319,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10318
10319
|
}
|
|
10319
10320
|
function ServiceCardRowItem({ row }) {
|
|
10320
10321
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
10321
|
-
const { copy, copied } =
|
|
10322
|
+
const { copy, copied } = _chunk4SIZCHVZcjs.useCopyToClipboard.call(void 0, );
|
|
10322
10323
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkULWVKHSIcjs.useIsTruncated.call(void 0, row.value);
|
|
10323
10324
|
const actions = _react.useMemo.call(void 0,
|
|
10324
10325
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -10442,14 +10443,14 @@ function PersonCell({
|
|
|
10442
10443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
10443
10444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
10444
10445
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10445
|
-
|
|
10446
|
+
_chunkVF2CJXZ2cjs.TruncateText,
|
|
10446
10447
|
{
|
|
10447
10448
|
variant: scale.primary,
|
|
10448
10449
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
10449
10450
|
children: displayName
|
|
10450
10451
|
}
|
|
10451
10452
|
),
|
|
10452
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10453
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
10453
10454
|
] })
|
|
10454
10455
|
] });
|
|
10455
10456
|
if (!onClick) return row;
|
|
@@ -10481,7 +10482,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10481
10482
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
10482
10483
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.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: [
|
|
10483
10484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10484
|
-
|
|
10485
|
+
_chunkIMTY3GRRcjs.AvatarStack,
|
|
10485
10486
|
{
|
|
10486
10487
|
size: "sm",
|
|
10487
10488
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -11189,7 +11190,7 @@ function TableHeader({
|
|
|
11189
11190
|
onFilterChange
|
|
11190
11191
|
}
|
|
11191
11192
|
),
|
|
11192
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11193
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11193
11194
|
] })
|
|
11194
11195
|
) : (
|
|
11195
11196
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11215,7 +11216,7 @@ function TableHeader({
|
|
|
11215
11216
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11216
11217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11217
11218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11219
11220
|
] })
|
|
11220
11221
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11221
11222
|
getSortIcon(column)
|
|
@@ -12556,7 +12557,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12556
12557
|
// child of the cell.
|
|
12557
12558
|
_optionalChain([meta, 'optionalAccess', _229 => _229.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12558
12559
|
filterTrigger,
|
|
12559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12560
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12560
12561
|
] }) : filterTrigger
|
|
12561
12562
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12562
12563
|
"div",
|
|
@@ -12581,7 +12582,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12581
12582
|
// centred on the row.
|
|
12582
12583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12583
12584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12585
12586
|
] })
|
|
12586
12587
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12587
12588
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -12800,7 +12801,7 @@ function PhoneInput({
|
|
|
12800
12801
|
placeholder = "Phone Number (optional)",
|
|
12801
12802
|
onKeyDown
|
|
12802
12803
|
}) {
|
|
12803
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
12804
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkRDP5UZXQcjs.getCountryPhoneData.call(void 0, ), []);
|
|
12804
12805
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
12805
12806
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
12806
12807
|
[countryCode, priority, others]
|
|
@@ -12815,7 +12816,7 @@ function PhoneInput({
|
|
|
12815
12816
|
_optionalChain([onValidationChange, 'optionalCall', _242 => _242(false)]);
|
|
12816
12817
|
return;
|
|
12817
12818
|
}
|
|
12818
|
-
const invalid = !
|
|
12819
|
+
const invalid = !_chunkRDP5UZXQcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
12819
12820
|
setIsInvalid(invalid);
|
|
12820
12821
|
_optionalChain([onValidationChange, 'optionalCall', _243 => _243(invalid)]);
|
|
12821
12822
|
},
|
|
@@ -12835,7 +12836,7 @@ function PhoneInput({
|
|
|
12835
12836
|
}, []);
|
|
12836
12837
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
12837
12838
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12838
|
-
|
|
12839
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
12839
12840
|
{
|
|
12840
12841
|
value: countryCode,
|
|
12841
12842
|
onValueChange: (val) => {
|
|
@@ -12846,14 +12847,14 @@ function PhoneInput({
|
|
|
12846
12847
|
},
|
|
12847
12848
|
disabled,
|
|
12848
12849
|
children: [
|
|
12849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12850
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
12850
12851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
12851
12852
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
12852
12853
|
] }) }) }),
|
|
12853
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12854
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
12855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
12856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectSeparator, {}),
|
|
12857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
12857
12858
|
] })
|
|
12858
12859
|
]
|
|
12859
12860
|
}
|
|
@@ -12885,7 +12886,7 @@ function PhoneInput({
|
|
|
12885
12886
|
] });
|
|
12886
12887
|
}
|
|
12887
12888
|
function CountryOption({ country }) {
|
|
12888
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12889
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
12889
12890
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
12890
12891
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
12891
12892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13264,7 +13265,7 @@ function SearchInput({
|
|
|
13264
13265
|
)
|
|
13265
13266
|
] }),
|
|
13266
13267
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13267
|
-
|
|
13268
|
+
_chunkVF2CJXZ2cjs.HiddenTagsPopup,
|
|
13268
13269
|
{
|
|
13269
13270
|
ref: hiddenTagsPopupRef,
|
|
13270
13271
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -13558,7 +13559,7 @@ function TagSearchInput({
|
|
|
13558
13559
|
}
|
|
13559
13560
|
),
|
|
13560
13561
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13561
|
-
|
|
13562
|
+
_chunkVF2CJXZ2cjs.HiddenTagsPopup,
|
|
13562
13563
|
{
|
|
13563
13564
|
ref: hiddenTagsPopupRef,
|
|
13564
13565
|
items: hiddenTags,
|
|
@@ -13742,7 +13743,7 @@ function MarkdownEditor({
|
|
|
13742
13743
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
13743
13744
|
try {
|
|
13744
13745
|
const url = await onUploadFile(file);
|
|
13745
|
-
const isImage =
|
|
13746
|
+
const isImage = _chunkRFUOIQSGcjs.fileMediaType.call(void 0, file) === "image";
|
|
13746
13747
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
13747
13748
|
insertTextAtCursor(markdown);
|
|
13748
13749
|
_optionalChain([onFileUploaded, 'optionalCall', _294 => _294(url, file.name)]);
|
|
@@ -13872,7 +13873,7 @@ function MarkdownEditor({
|
|
|
13872
13873
|
type: "file",
|
|
13873
13874
|
className: "hidden",
|
|
13874
13875
|
onChange: handleFileInputChange,
|
|
13875
|
-
accept: `${
|
|
13876
|
+
accept: `${_chunkRFUOIQSGcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
13876
13877
|
}
|
|
13877
13878
|
),
|
|
13878
13879
|
!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" }) }),
|
|
@@ -14272,7 +14273,7 @@ function matchesAccept2(file, accept) {
|
|
|
14272
14273
|
return patterns.some((pattern) => {
|
|
14273
14274
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14274
14275
|
if (pattern.endsWith("/*"))
|
|
14275
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14276
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkRFUOIQSGcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14276
14277
|
return fileType === pattern;
|
|
14277
14278
|
});
|
|
14278
14279
|
}
|
|
@@ -14280,7 +14281,7 @@ function ImageUploader({
|
|
|
14280
14281
|
value,
|
|
14281
14282
|
onChange,
|
|
14282
14283
|
onRemove,
|
|
14283
|
-
accept =
|
|
14284
|
+
accept = _chunkRFUOIQSGcjs.IMAGE_FILE_ACCEPT,
|
|
14284
14285
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14285
14286
|
label = "Cover Image",
|
|
14286
14287
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -14897,7 +14898,7 @@ function formatTestRunDuration(ms) {
|
|
|
14897
14898
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
14898
14899
|
var SKELETON_COLUMNS = 6;
|
|
14899
14900
|
function TestResultsSkeleton() {
|
|
14900
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14901
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
14901
14902
|
/* @__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}`)) }),
|
|
14902
14903
|
/* @__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}`)) }) })
|
|
14903
14904
|
] }) });
|
|
@@ -14932,13 +14933,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
14932
14933
|
if (loading) {
|
|
14933
14934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
14934
14935
|
}
|
|
14935
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14936
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.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: [
|
|
14936
14937
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
14937
14938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
14938
14939
|
] }) }) });
|
|
14939
14940
|
}
|
|
14940
14941
|
function TestRunErrorBanner({ error, className }) {
|
|
14941
|
-
const { copy } =
|
|
14942
|
+
const { copy } = _chunk4SIZCHVZcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
14942
14943
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14943
14944
|
"div",
|
|
14944
14945
|
{
|
|
@@ -15038,7 +15039,7 @@ function useTestRunState(campaign) {
|
|
|
15038
15039
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15039
15040
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15040
15041
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15041
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
15042
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkRZQGIWK3cjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15042
15043
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15043
15044
|
const displayRows = _react.useMemo.call(void 0,
|
|
15044
15045
|
() => campaign.results.map(
|
|
@@ -15415,7 +15416,7 @@ function TicketInfoSection({
|
|
|
15415
15416
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15416
15417
|
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" }) }),
|
|
15417
15418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15418
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15419
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.SimpleMarkdownRenderer, { content: description }),
|
|
15419
15420
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15420
15421
|
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, _chunkF5BPGWGTcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
15421
15422
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15441,7 +15442,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
15441
15442
|
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: [
|
|
15442
15443
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15443
15444
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKT3U3ZRPcjs.ColorSwatch, { color }),
|
|
15444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15445
15446
|
] }),
|
|
15446
15447
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15447
15448
|
] });
|
|
@@ -15451,7 +15452,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
15451
15452
|
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: [
|
|
15452
15453
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15453
15454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
15454
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15455
15456
|
] }),
|
|
15456
15457
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15457
15458
|
] });
|
|
@@ -15485,9 +15486,9 @@ function TakeOverTicketModal({
|
|
|
15485
15486
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
15486
15487
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
15487
15488
|
};
|
|
15488
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15489
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15489
15490
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
15491
15492
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15492
15493
|
"The ticket ",
|
|
15493
15494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15495,7 +15496,7 @@ function TakeOverTicketModal({
|
|
|
15495
15496
|
] }),
|
|
15496
15497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15497
15498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15498
|
-
|
|
15499
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
15499
15500
|
{
|
|
15500
15501
|
label: "Status",
|
|
15501
15502
|
options: statusOptions,
|
|
@@ -15507,7 +15508,7 @@ function TakeOverTicketModal({
|
|
|
15507
15508
|
}
|
|
15508
15509
|
) }),
|
|
15509
15510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15510
|
-
|
|
15511
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
15511
15512
|
{
|
|
15512
15513
|
label: "Assigned",
|
|
15513
15514
|
options: assigneeOptions,
|
|
@@ -15529,7 +15530,7 @@ function TakeOverTicketModal({
|
|
|
15529
15530
|
}
|
|
15530
15531
|
) })
|
|
15531
15532
|
] }),
|
|
15532
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15533
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: [
|
|
15533
15534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15534
15535
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15535
15536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15588,9 +15589,9 @@ function ReopenTicketModal({
|
|
|
15588
15589
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
15589
15590
|
});
|
|
15590
15591
|
};
|
|
15591
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15592
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15592
15593
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15594
15595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15595
15596
|
"The ticket ",
|
|
15596
15597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15598,7 +15599,7 @@ function ReopenTicketModal({
|
|
|
15598
15599
|
] }),
|
|
15599
15600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15600
15601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15601
|
-
|
|
15602
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
15602
15603
|
{
|
|
15603
15604
|
label: "Status",
|
|
15604
15605
|
options: statusOptions,
|
|
@@ -15610,7 +15611,7 @@ function ReopenTicketModal({
|
|
|
15610
15611
|
}
|
|
15611
15612
|
) }),
|
|
15612
15613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15613
|
-
|
|
15614
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
15614
15615
|
{
|
|
15615
15616
|
label: "Assigned",
|
|
15616
15617
|
options: assigneeOptions,
|
|
@@ -15643,7 +15644,7 @@ function ReopenTicketModal({
|
|
|
15643
15644
|
disabled: isPending
|
|
15644
15645
|
}
|
|
15645
15646
|
) }),
|
|
15646
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15647
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: [
|
|
15647
15648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15648
15649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15649
15650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15692,9 +15693,9 @@ function ReopenTicketRequestModal({
|
|
|
15692
15693
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
15693
15694
|
});
|
|
15694
15695
|
};
|
|
15695
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15696
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15696
15697
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15697
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15698
15699
|
/* @__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." }),
|
|
15699
15700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15700
15701
|
Textarea,
|
|
@@ -15718,7 +15719,7 @@ function ReopenTicketRequestModal({
|
|
|
15718
15719
|
disabled: isPending
|
|
15719
15720
|
}
|
|
15720
15721
|
),
|
|
15721
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.ModalFooter, { children: [
|
|
15722
15723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
15723
15724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
15724
15725
|
] })
|
|
@@ -15860,7 +15861,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
15860
15861
|
gap: COLUMN_GAP_PX
|
|
15861
15862
|
};
|
|
15862
15863
|
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,
|
|
15863
|
-
|
|
15864
|
+
_chunkRDP5UZXQcjs.MarqueeWall,
|
|
15864
15865
|
{
|
|
15865
15866
|
axis: "y",
|
|
15866
15867
|
reverse: index % 2 === 1,
|
|
@@ -15951,9 +15952,9 @@ function LazyMount({
|
|
|
15951
15952
|
placeholder = null,
|
|
15952
15953
|
className,
|
|
15953
15954
|
style,
|
|
15954
|
-
rootMargin =
|
|
15955
|
+
rootMargin = _chunk7GRPR7XAcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
15955
15956
|
}) {
|
|
15956
|
-
const { ref, isNear } =
|
|
15957
|
+
const { ref, isNear } = _chunk7GRPR7XAcjs.useNearViewport.call(void 0, rootMargin);
|
|
15957
15958
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
15958
15959
|
}
|
|
15959
15960
|
|
|
@@ -16027,7 +16028,7 @@ function AnalyzingState({ label, className }) {
|
|
|
16027
16028
|
}) }),
|
|
16028
16029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
16029
16030
|
label,
|
|
16030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
16031
16032
|
] })
|
|
16032
16033
|
] });
|
|
16033
16034
|
}
|
|
@@ -16562,10 +16563,10 @@ function AccountDetailsFields({
|
|
|
16562
16563
|
onKeyDown,
|
|
16563
16564
|
layout = "stacked"
|
|
16564
16565
|
}) {
|
|
16565
|
-
const firstNameErr =
|
|
16566
|
-
const lastNameErr =
|
|
16567
|
-
const passwordErr =
|
|
16568
|
-
const confirmErr =
|
|
16566
|
+
const firstNameErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _346 => _346.firstName]), firstName);
|
|
16567
|
+
const lastNameErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _347 => _347.lastName]), lastName);
|
|
16568
|
+
const passwordErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _348 => _348.password]), password);
|
|
16569
|
+
const confirmErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _349 => _349.confirmPassword]), confirmPassword);
|
|
16569
16570
|
const names = [
|
|
16570
16571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16571
16572
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -16643,10 +16644,10 @@ function AccountDetailsFields({
|
|
|
16643
16644
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
16644
16645
|
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.";
|
|
16645
16646
|
var DEFAULT_BENEFITS = [
|
|
16646
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label:
|
|
16647
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label:
|
|
16648
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label:
|
|
16649
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label:
|
|
16647
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label: _chunkRDP5UZXQcjs.TRIAL_LABELS.noCard },
|
|
16648
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label: _chunkRDP5UZXQcjs.TRIAL_LABELS.cancel },
|
|
16649
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label: _chunkRDP5UZXQcjs.TRIAL_LABELS.length },
|
|
16650
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label: _chunkRDP5UZXQcjs.TRIAL_LABELS.noContract }
|
|
16650
16651
|
];
|
|
16651
16652
|
function AuthBenefitsPanel({
|
|
16652
16653
|
title = DEFAULT_TITLE,
|
|
@@ -16874,7 +16875,7 @@ function CompleteAccountForm({
|
|
|
16874
16875
|
),
|
|
16875
16876
|
children: [
|
|
16876
16877
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
16877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
16878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
16878
16879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
16879
16880
|
] }),
|
|
16880
16881
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17005,9 +17006,9 @@ function CreateOrganizationForm({
|
|
|
17005
17006
|
}) {
|
|
17006
17007
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
17007
17008
|
const fieldsDisabled = disabled || loading;
|
|
17008
|
-
const emailErr =
|
|
17009
|
-
const orgNameErr =
|
|
17010
|
-
const domainErr =
|
|
17009
|
+
const emailErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _351 => _351.email]), _nullishCoalesce(email, () => ( "")));
|
|
17010
|
+
const orgNameErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _352 => _352.organizationName]), organizationName);
|
|
17011
|
+
const domainErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _353 => _353.domain]), domain);
|
|
17011
17012
|
const handleKeyDown = (event) => {
|
|
17012
17013
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17013
17014
|
onSubmit();
|
|
@@ -17022,7 +17023,7 @@ function CreateOrganizationForm({
|
|
|
17022
17023
|
),
|
|
17023
17024
|
children: [
|
|
17024
17025
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17026
17027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17027
17028
|
] }),
|
|
17028
17029
|
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,
|
|
@@ -17163,7 +17164,7 @@ function InviteLinkInvalidModal({
|
|
|
17163
17164
|
),
|
|
17164
17165
|
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: [
|
|
17165
17166
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
17166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17167
17168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17168
17169
|
"button",
|
|
17169
17170
|
{
|
|
@@ -17223,7 +17224,7 @@ function LoginForm({
|
|
|
17223
17224
|
className
|
|
17224
17225
|
}) {
|
|
17225
17226
|
const fieldDisabled = disabled || loading;
|
|
17226
|
-
const emailErr =
|
|
17227
|
+
const emailErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _360 => _360.email]), email);
|
|
17227
17228
|
const handleKeyDown = (event) => {
|
|
17228
17229
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
17229
17230
|
_optionalChain([onSubmitClick, 'optionalCall', _361 => _361()]);
|
|
@@ -17237,7 +17238,7 @@ function LoginForm({
|
|
|
17237
17238
|
),
|
|
17238
17239
|
children: [
|
|
17239
17240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17241
17242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17242
17243
|
] }),
|
|
17243
17244
|
ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17332,7 +17333,7 @@ function NoAccountNotice({
|
|
|
17332
17333
|
),
|
|
17333
17334
|
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: [
|
|
17334
17335
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17335
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17336
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17336
17337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
17337
17338
|
] }),
|
|
17338
17339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -17365,8 +17366,8 @@ function OpenFrameSsoLoginForm({
|
|
|
17365
17366
|
className
|
|
17366
17367
|
}) {
|
|
17367
17368
|
const fieldsDisabled = disabled || loading;
|
|
17368
|
-
const emailErr =
|
|
17369
|
-
const passwordErr =
|
|
17369
|
+
const emailErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _364 => _364.email]), email);
|
|
17370
|
+
const passwordErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _365 => _365.password]), password);
|
|
17370
17371
|
const handleKeyDown = (event) => {
|
|
17371
17372
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17372
17373
|
onSubmit();
|
|
@@ -17381,7 +17382,7 @@ function OpenFrameSsoLoginForm({
|
|
|
17381
17382
|
),
|
|
17382
17383
|
children: [
|
|
17383
17384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17385
17386
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17386
17387
|
] }),
|
|
17387
17388
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17471,7 +17472,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17471
17472
|
className
|
|
17472
17473
|
}) {
|
|
17473
17474
|
const fieldsDisabled = disabled || loading;
|
|
17474
|
-
const emailErr =
|
|
17475
|
+
const emailErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _366 => _366.email]), email);
|
|
17475
17476
|
const handleKeyDown = (event) => {
|
|
17476
17477
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17477
17478
|
onSubmit();
|
|
@@ -17486,7 +17487,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17486
17487
|
),
|
|
17487
17488
|
children: [
|
|
17488
17489
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17490
17491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17491
17492
|
] }),
|
|
17492
17493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17576,8 +17577,8 @@ function PasswordResetForm({
|
|
|
17576
17577
|
className
|
|
17577
17578
|
}) {
|
|
17578
17579
|
const fieldsDisabled = disabled || loading;
|
|
17579
|
-
const passwordErr =
|
|
17580
|
-
const confirmErr =
|
|
17580
|
+
const passwordErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _367 => _367.password]), password);
|
|
17581
|
+
const confirmErr = _chunk4SIZCHVZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _368 => _368.confirmPassword]), confirmPassword);
|
|
17581
17582
|
const handleKeyDown = (event) => {
|
|
17582
17583
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17583
17584
|
onSubmit();
|
|
@@ -17592,7 +17593,7 @@ function PasswordResetForm({
|
|
|
17592
17593
|
),
|
|
17593
17594
|
children: [
|
|
17594
17595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17596
17597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17597
17598
|
] }),
|
|
17598
17599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17709,7 +17710,7 @@ function SsoJoinForm({
|
|
|
17709
17710
|
),
|
|
17710
17711
|
children: [
|
|
17711
17712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkRFUOIQSGcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17713
17714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17714
17715
|
] }),
|
|
17715
17716
|
/* @__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: [
|
|
@@ -17972,7 +17973,7 @@ function ChangelogManager({
|
|
|
17972
17973
|
),
|
|
17973
17974
|
/* @__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)" }) }),
|
|
17974
17975
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17975
|
-
|
|
17976
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
17976
17977
|
{
|
|
17977
17978
|
variant: "button",
|
|
17978
17979
|
singleLine: true,
|
|
@@ -18036,9 +18037,9 @@ function ChangelogManager({
|
|
|
18036
18037
|
] }),
|
|
18037
18038
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
18038
18039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
18039
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18040
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18040
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
18041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: tagLabel }) }),
|
|
18042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
18042
18043
|
] })
|
|
18043
18044
|
] })
|
|
18044
18045
|
] })
|
|
@@ -18235,7 +18236,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18235
18236
|
const label = (tag.name || "").toUpperCase();
|
|
18236
18237
|
if (basePath && tag.slug) {
|
|
18237
18238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18238
|
-
|
|
18239
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
18239
18240
|
{
|
|
18240
18241
|
text: label,
|
|
18241
18242
|
variant: "card",
|
|
@@ -18243,9 +18244,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18243
18244
|
}
|
|
18244
18245
|
) }, key);
|
|
18245
18246
|
}
|
|
18246
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18247
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
18247
18248
|
}),
|
|
18248
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18249
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
18249
18250
|
] });
|
|
18250
18251
|
}
|
|
18251
18252
|
|
|
@@ -18341,7 +18342,7 @@ var SectionButton = ({
|
|
|
18341
18342
|
}
|
|
18342
18343
|
),
|
|
18343
18344
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18344
|
-
|
|
18345
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
18345
18346
|
{
|
|
18346
18347
|
text: section.badge.text,
|
|
18347
18348
|
variant: section.badge.variant || "button",
|
|
@@ -18360,7 +18361,7 @@ var SectionButton = ({
|
|
|
18360
18361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
18361
18362
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
18362
18363
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18363
|
-
|
|
18364
|
+
_chunkRFUOIQSGcjs.StatusBadge,
|
|
18364
18365
|
{
|
|
18365
18366
|
text: section.badge.text,
|
|
18366
18367
|
variant: section.badge.variant || "button",
|
|
@@ -18677,7 +18678,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
18677
18678
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
18678
18679
|
title: config.title,
|
|
18679
18680
|
loading: "eager",
|
|
18680
|
-
...
|
|
18681
|
+
..._chunkRFUOIQSGcjs.fetchPriorityProp.call(void 0, "high")
|
|
18681
18682
|
},
|
|
18682
18683
|
iframeKey
|
|
18683
18684
|
),
|
|
@@ -19431,15 +19432,15 @@ function useLoading() {
|
|
|
19431
19432
|
|
|
19432
19433
|
|
|
19433
19434
|
function isAlreadyThere(file, existing) {
|
|
19434
|
-
const key =
|
|
19435
|
+
const key = _chunkRFUOIQSGcjs.mediaNameKey.call(void 0, file.name);
|
|
19435
19436
|
if (!key) return false;
|
|
19436
19437
|
return existing.some(
|
|
19437
|
-
(item) => (item.title ?
|
|
19438
|
+
(item) => (item.title ? _chunkRFUOIQSGcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkRFUOIQSGcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
19438
19439
|
);
|
|
19439
19440
|
}
|
|
19440
19441
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
19441
|
-
var isVideoItem = (item) =>
|
|
19442
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
19442
|
+
var isVideoItem = (item) => _chunkRFUOIQSGcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
19443
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkRFUOIQSGcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkRFUOIQSGcjs.MEDIA_FILE_ACCEPT };
|
|
19443
19444
|
var MEDIA_KIND_COPY = {
|
|
19444
19445
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
19445
19446
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -19463,12 +19464,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
19463
19464
|
const seen = /* @__PURE__ */ new Set();
|
|
19464
19465
|
const accepted = [];
|
|
19465
19466
|
for (const file of files) {
|
|
19466
|
-
const mediaType =
|
|
19467
|
+
const mediaType = _chunkRFUOIQSGcjs.fileMediaType.call(void 0, file);
|
|
19467
19468
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
19468
19469
|
unsupported.push(file.name);
|
|
19469
19470
|
continue;
|
|
19470
19471
|
}
|
|
19471
|
-
const contentKey = await
|
|
19472
|
+
const contentKey = await _chunkRFUOIQSGcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
19472
19473
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
19473
19474
|
duplicates.push(file.name);
|
|
19474
19475
|
continue;
|
|
@@ -19649,7 +19650,7 @@ function MediaGalleryManager({
|
|
|
19649
19650
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
19650
19651
|
children: [
|
|
19651
19652
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19652
|
-
|
|
19653
|
+
_chunkRFUOIQSGcjs.Card,
|
|
19653
19654
|
{
|
|
19654
19655
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
19655
19656
|
draggable: true,
|
|
@@ -19674,7 +19675,7 @@ function MediaGalleryManager({
|
|
|
19674
19675
|
) }),
|
|
19675
19676
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
19676
19677
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
19677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
19678
19679
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19679
19680
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
19680
19681
|
{
|
|
@@ -19689,17 +19690,17 @@ function MediaGalleryManager({
|
|
|
19689
19690
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
19690
19691
|
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" }),
|
|
19691
19692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19692
|
-
|
|
19693
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
19693
19694
|
{
|
|
19694
19695
|
value: item.media_type,
|
|
19695
19696
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
19696
19697
|
children: [
|
|
19697
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19698
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
19699
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
19700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "image", children: "Image" }),
|
|
19701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "video", children: "Video" }),
|
|
19702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
19703
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "demo", children: "Demo" })
|
|
19703
19704
|
] })
|
|
19704
19705
|
]
|
|
19705
19706
|
}
|
|
@@ -19726,7 +19727,7 @@ function MediaGalleryManager({
|
|
|
19726
19727
|
},
|
|
19727
19728
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
19728
19729
|
)),
|
|
19729
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19730
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRFUOIQSGcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
19730
19731
|
/* @__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" }) }),
|
|
19731
19732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
19732
19733
|
] }, `pending-${name}-${index}`))
|
|
@@ -20167,60 +20168,60 @@ function CardSkeleton({
|
|
|
20167
20168
|
function VendorCardContent({ showMetadata }) {
|
|
20168
20169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20169
20170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20170
|
-
/* @__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,
|
|
20171
|
+
/* @__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, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20171
20172
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20174
20175
|
] })
|
|
20175
20176
|
] }),
|
|
20176
20177
|
/* @__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: [
|
|
20177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20178
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20179
20180
|
] }) }),
|
|
20180
20181
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20181
20182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20182
20183
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20185
20186
|
] }),
|
|
20186
20187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20189
20190
|
] })
|
|
20190
20191
|
] }),
|
|
20191
20192
|
/* @__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: [
|
|
20192
|
-
/* @__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,
|
|
20193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20193
|
+
/* @__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, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20194
20195
|
] }) })
|
|
20195
20196
|
] })
|
|
20196
20197
|
] });
|
|
20197
20198
|
}
|
|
20198
20199
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20199
20200
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20200
|
-
/* @__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,
|
|
20201
|
+
/* @__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, _chunkRDP5UZXQcjs.MediaSkeleton.CardImage, {}) }),
|
|
20201
20202
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20202
20203
|
/* @__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: [
|
|
20203
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20204
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20205
20206
|
] }) }),
|
|
20206
20207
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20209
20210
|
] }),
|
|
20210
20211
|
/* @__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: [
|
|
20211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20213
20214
|
] }) }),
|
|
20214
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20215
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20215
20216
|
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: [
|
|
20216
20217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20219
20220
|
] }),
|
|
20220
20221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20222
20223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20224
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20224
20225
|
] })
|
|
20225
20226
|
] }) })
|
|
20226
20227
|
] })
|
|
@@ -20228,35 +20229,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20228
20229
|
}
|
|
20229
20230
|
function CategoryCardContent() {
|
|
20230
20231
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20231
|
-
/* @__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,
|
|
20232
|
+
/* @__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, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20232
20233
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20233
20234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20236
20237
|
] }),
|
|
20237
20238
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20238
20239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20241
20242
|
] }),
|
|
20242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20243
20244
|
] })
|
|
20244
20245
|
] })
|
|
20245
20246
|
] });
|
|
20246
20247
|
}
|
|
20247
20248
|
function AlternativeCardContent({ showActions }) {
|
|
20248
20249
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20250
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20250
20251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20251
20252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20254
20255
|
] }),
|
|
20255
20256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20258
20259
|
] }),
|
|
20259
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20260
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20260
20261
|
] })
|
|
20261
20262
|
] });
|
|
20262
20263
|
}
|
|
@@ -20307,12 +20308,12 @@ function HeroSkeleton() {
|
|
|
20307
20308
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20308
20309
|
},
|
|
20309
20310
|
children: [
|
|
20310
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20311
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20311
20312
|
/* @__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: [
|
|
20312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20313
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20314
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20314
20315
|
] }),
|
|
20315
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20316
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20316
20317
|
]
|
|
20317
20318
|
}
|
|
20318
20319
|
);
|
|
@@ -20323,14 +20324,14 @@ function SearchContainerSkeleton({
|
|
|
20323
20324
|
}) {
|
|
20324
20325
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20325
20326
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20328
20329
|
] }),
|
|
20329
20330
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
20330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, {}),
|
|
20332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20334
20335
|
] })
|
|
20335
20336
|
] });
|
|
20336
20337
|
}
|
|
@@ -20349,7 +20350,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20349
20350
|
{ type: "file", width: "w-36" }
|
|
20350
20351
|
];
|
|
20351
20352
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20352
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20353
20354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20354
20355
|
"div",
|
|
20355
20356
|
{
|
|
@@ -20359,12 +20360,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20359
20360
|
),
|
|
20360
20361
|
children: [
|
|
20361
20362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20364
20365
|
] }),
|
|
20365
20366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20366
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20367
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20367
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20368
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20368
20369
|
] })
|
|
20369
20370
|
]
|
|
20370
20371
|
},
|
|
@@ -20374,13 +20375,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20374
20375
|
}
|
|
20375
20376
|
function BreadcrumbSkeleton({ className }) {
|
|
20376
20377
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20380
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20383
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20384
20385
|
] });
|
|
20385
20386
|
}
|
|
20386
20387
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20391,7 +20392,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20391
20392
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20392
20393
|
className
|
|
20393
20394
|
),
|
|
20394
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20395
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20395
20396
|
}
|
|
20396
20397
|
);
|
|
20397
20398
|
}
|
|
@@ -20425,35 +20426,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20425
20426
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20426
20427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20427
20428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20428
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, {}),
|
|
20430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20430
20431
|
] }),
|
|
20431
20432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20433
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20434
20435
|
] }),
|
|
20435
20436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20436
20437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20437
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20439
20440
|
] }),
|
|
20440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20441
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20442
20443
|
] })
|
|
20443
20444
|
] }),
|
|
20444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20445
20446
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20446
20447
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20449
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20450
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20449
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20451
20452
|
] }, index)),
|
|
20452
20453
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20453
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20454
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20454
20455
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20457
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20457
20458
|
] })
|
|
20458
20459
|
] })
|
|
20459
20460
|
] })
|
|
@@ -20679,11 +20680,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20679
20680
|
className
|
|
20680
20681
|
),
|
|
20681
20682
|
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: [
|
|
20682
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20684
20685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20687
20688
|
] })
|
|
20688
20689
|
] }) }, i))
|
|
20689
20690
|
}
|
|
@@ -20838,7 +20839,7 @@ function useContentLoading(isLoading) {
|
|
|
20838
20839
|
|
|
20839
20840
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
20840
20841
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
20841
|
-
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,
|
|
20842
|
+
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, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
20842
20843
|
}
|
|
20843
20844
|
function ListSkeleton({
|
|
20844
20845
|
className,
|
|
@@ -20848,12 +20849,12 @@ function ListSkeleton({
|
|
|
20848
20849
|
}) {
|
|
20849
20850
|
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: [
|
|
20850
20851
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20851
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20852
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20853
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
20853
20854
|
] }),
|
|
20854
20855
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
20857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
20857
20858
|
] })
|
|
20858
20859
|
] }, index)) });
|
|
20859
20860
|
}
|
|
@@ -20863,13 +20864,13 @@ function TableSkeleton({
|
|
|
20863
20864
|
columns = 4
|
|
20864
20865
|
}) {
|
|
20865
20866
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20866
|
-
/* @__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,
|
|
20867
|
+
/* @__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, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
20867
20868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20868
20869
|
"div",
|
|
20869
20870
|
{
|
|
20870
20871
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
20871
20872
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
20872
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20873
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
20873
20874
|
},
|
|
20874
20875
|
rowIndex
|
|
20875
20876
|
)) })
|
|
@@ -20878,13 +20879,13 @@ function TableSkeleton({
|
|
|
20878
20879
|
function FormSkeleton({ className, fields = 4 }) {
|
|
20879
20880
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
20880
20881
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20883
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Input, {}),
|
|
20884
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
20884
20885
|
] }, index)),
|
|
20885
20886
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
20886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, {}),
|
|
20888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
20888
20889
|
] })
|
|
20889
20890
|
] });
|
|
20890
20891
|
}
|
|
@@ -20899,7 +20900,7 @@ function NavigationSkeleton({
|
|
|
20899
20900
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
20900
20901
|
role: "status",
|
|
20901
20902
|
"aria-label": "Loading navigation",
|
|
20902
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20903
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
20903
20904
|
}
|
|
20904
20905
|
);
|
|
20905
20906
|
}
|
|
@@ -20910,30 +20911,30 @@ function ProfileSkeleton({
|
|
|
20910
20911
|
}) {
|
|
20911
20912
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20912
20913
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
20913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
20914
20915
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20915
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
20918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20918
20919
|
] })
|
|
20919
20920
|
] }),
|
|
20920
20921
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20921
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
20924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20924
20925
|
] }),
|
|
20925
20926
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
20926
20927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20927
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20929
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
20929
20930
|
] }),
|
|
20930
20931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20932
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20932
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20933
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
20933
20934
|
] }),
|
|
20934
20935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20935
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20937
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
20937
20938
|
] })
|
|
20938
20939
|
] })
|
|
20939
20940
|
] });
|
|
@@ -20945,32 +20946,32 @@ function CommentSkeleton({
|
|
|
20945
20946
|
}) {
|
|
20946
20947
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
20947
20948
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20949
20950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
20950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20952
|
-
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,
|
|
20951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20953
|
+
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, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
20953
20954
|
] })
|
|
20954
20955
|
] }),
|
|
20955
20956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
20956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20958
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
20959
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20959
20960
|
] }),
|
|
20960
20961
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
20961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20964
20965
|
] }),
|
|
20965
20966
|
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: [
|
|
20966
20967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
20970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
20970
20971
|
] }),
|
|
20971
20972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
20972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20974
20975
|
] })
|
|
20975
20976
|
] }, index)) })
|
|
20976
20977
|
] });
|
|
@@ -20983,31 +20984,31 @@ function FeatureListSkeleton({
|
|
|
20983
20984
|
}) {
|
|
20984
20985
|
if (grouped) {
|
|
20985
20986
|
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: [
|
|
20986
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20987
20988
|
/* @__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: [
|
|
20988
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20989
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20990
20991
|
] }, featureIndex)) })
|
|
20991
20992
|
] }, groupIndex)) });
|
|
20992
20993
|
}
|
|
20993
20994
|
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: [
|
|
20994
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20995
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20996
20997
|
] }, index)) });
|
|
20997
20998
|
}
|
|
20998
20999
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
20999
21000
|
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: [
|
|
21000
21001
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
21001
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21002
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21002
21003
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
21003
21004
|
] }),
|
|
21004
21005
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21005
21006
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
21008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21008
21009
|
] }),
|
|
21009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21011
21012
|
] })
|
|
21012
21013
|
] }, index)) });
|
|
21013
21014
|
}
|
|
@@ -21023,16 +21024,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
21023
21024
|
className
|
|
21024
21025
|
),
|
|
21025
21026
|
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: [
|
|
21026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21027
21028
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21029
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21029
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
21030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
21030
21031
|
] }),
|
|
21031
21032
|
/* @__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: [
|
|
21032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21034
21035
|
] }, featureIndex)) }),
|
|
21035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
21036
21037
|
] }) }, index))
|
|
21037
21038
|
}
|
|
21038
21039
|
);
|
|
@@ -21068,12 +21069,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
21068
21069
|
"aria-label": "Loading MSP profile form",
|
|
21069
21070
|
children: [
|
|
21070
21071
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21072
|
-
/* @__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,
|
|
21072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21073
|
+
/* @__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, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
21073
21074
|
] }),
|
|
21074
21075
|
/* @__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: [
|
|
21075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.InteractiveSkeleton.Input, {})
|
|
21077
21078
|
] }, idx)) })
|
|
21078
21079
|
]
|
|
21079
21080
|
}
|
|
@@ -21093,13 +21094,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21093
21094
|
role: "status",
|
|
21094
21095
|
"aria-label": "Loading category card",
|
|
21095
21096
|
children: [
|
|
21096
|
-
/* @__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,
|
|
21097
|
+
/* @__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, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
21097
21098
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21100
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" })
|
|
21101
21102
|
] }),
|
|
21102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
21103
21104
|
]
|
|
21104
21105
|
}
|
|
21105
21106
|
);
|
|
@@ -21116,12 +21117,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21116
21117
|
"aria-label": "Loading category section",
|
|
21117
21118
|
children: [
|
|
21118
21119
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21121
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21121
21122
|
] }),
|
|
21122
21123
|
/* @__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: [
|
|
21123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21124
|
-
/* @__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,
|
|
21124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21125
|
+
/* @__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, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21125
21126
|
] }, idx)) })
|
|
21126
21127
|
]
|
|
21127
21128
|
}
|
|
@@ -21132,14 +21133,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21132
21133
|
|
|
21133
21134
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21134
21135
|
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: [
|
|
21135
|
-
/* @__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,
|
|
21136
|
+
/* @__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, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21136
21137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21139
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21139
21140
|
] }),
|
|
21140
21141
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21143
21144
|
] })
|
|
21144
21145
|
] });
|
|
21145
21146
|
}
|
|
@@ -21531,28 +21532,28 @@ function OrganizationCardSkeleton({
|
|
|
21531
21532
|
}
|
|
21532
21533
|
),
|
|
21533
21534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21536
21537
|
] })
|
|
21537
21538
|
] }),
|
|
21538
21539
|
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: [
|
|
21539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21541
21542
|
] }) }),
|
|
21542
21543
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21543
21544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21544
21545
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21546
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21547
21548
|
] }),
|
|
21548
21549
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21551
21552
|
] })
|
|
21552
21553
|
] }),
|
|
21553
21554
|
/* @__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: [
|
|
21554
|
-
/* @__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,
|
|
21555
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21555
|
+
/* @__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, _chunkRDP5UZXQcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21556
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21556
21557
|
] }) })
|
|
21557
21558
|
] })
|
|
21558
21559
|
] })
|
|
@@ -21629,16 +21630,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21629
21630
|
|
|
21630
21631
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21631
21632
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21632
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21633
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21633
21634
|
/* @__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: [
|
|
21634
21635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21636
21637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21639
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21639
21640
|
] })
|
|
21640
21641
|
] }),
|
|
21641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21642
21643
|
] }) }, i)) })
|
|
21643
21644
|
] });
|
|
21644
21645
|
}
|
|
@@ -21936,14 +21937,14 @@ var ConfidenceBadge = ({
|
|
|
21936
21937
|
size = "sm",
|
|
21937
21938
|
className
|
|
21938
21939
|
}) => {
|
|
21939
|
-
const level =
|
|
21940
|
+
const level = _chunkRDP5UZXQcjs.getConfidenceLevel.call(void 0, confidence);
|
|
21940
21941
|
if (level === "none") {
|
|
21941
21942
|
return null;
|
|
21942
21943
|
}
|
|
21943
|
-
const label =
|
|
21944
|
-
const borderClass =
|
|
21945
|
-
const textClass =
|
|
21946
|
-
const bgClass =
|
|
21944
|
+
const label = _chunkRDP5UZXQcjs.getConfidenceLabel.call(void 0, confidence);
|
|
21945
|
+
const borderClass = _chunkRDP5UZXQcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
21946
|
+
const textClass = _chunkRDP5UZXQcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
21947
|
+
const bgClass = _chunkRDP5UZXQcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
21947
21948
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21948
21949
|
"span",
|
|
21949
21950
|
{
|
|
@@ -21994,9 +21995,9 @@ function SEOEditorPreview({
|
|
|
21994
21995
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
21995
21996
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
21996
21997
|
const seoTitleLength = (seoTitle || "").length;
|
|
21997
|
-
const seoTitleTooLong = seoTitleLength >
|
|
21998
|
+
const seoTitleTooLong = seoTitleLength > _chunkRDP5UZXQcjs.SEO_TITLE_MAX_LENGTH;
|
|
21998
21999
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
21999
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22000
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkRDP5UZXQcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22000
22001
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22001
22002
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22002
22003
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22021,10 +22022,10 @@ function SEOEditorPreview({
|
|
|
22021
22022
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22022
22023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22023
22024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22024
|
-
|
|
22025
|
+
_chunkRDP5UZXQcjs.Field,
|
|
22025
22026
|
{
|
|
22026
22027
|
label: "SEO Title",
|
|
22027
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22028
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkRDP5UZXQcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22028
22029
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22029
22030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22030
22031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22039,7 +22040,7 @@ function SEOEditorPreview({
|
|
|
22039
22040
|
children: [
|
|
22040
22041
|
seoTitleLength,
|
|
22041
22042
|
"/",
|
|
22042
|
-
|
|
22043
|
+
_chunkRDP5UZXQcjs.SEO_TITLE_MAX_LENGTH
|
|
22043
22044
|
]
|
|
22044
22045
|
}
|
|
22045
22046
|
),
|
|
@@ -22050,7 +22051,7 @@ function SEOEditorPreview({
|
|
|
22050
22051
|
value: seoTitle || "",
|
|
22051
22052
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22052
22053
|
disabled,
|
|
22053
|
-
maxLength:
|
|
22054
|
+
maxLength: _chunkRDP5UZXQcjs.SEO_TITLE_MAX_LENGTH,
|
|
22054
22055
|
invalid: seoTitleTooLong,
|
|
22055
22056
|
placeholder: "Enter SEO meta title...",
|
|
22056
22057
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22061,7 +22062,7 @@ function SEOEditorPreview({
|
|
|
22061
22062
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22062
22063
|
] }),
|
|
22063
22064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22064
|
-
|
|
22065
|
+
_chunkRDP5UZXQcjs.Field,
|
|
22065
22066
|
{
|
|
22066
22067
|
label: "SEO Keywords",
|
|
22067
22068
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22093,10 +22094,10 @@ function SEOEditorPreview({
|
|
|
22093
22094
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22094
22095
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22095
22096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22096
|
-
|
|
22097
|
+
_chunkRDP5UZXQcjs.Field,
|
|
22097
22098
|
{
|
|
22098
22099
|
label: "SEO Description",
|
|
22099
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22100
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkRDP5UZXQcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22100
22101
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22101
22102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22102
22103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22119,7 +22120,7 @@ function SEOEditorPreview({
|
|
|
22119
22120
|
children: [
|
|
22120
22121
|
seoDescriptionLength,
|
|
22121
22122
|
"/",
|
|
22122
|
-
|
|
22123
|
+
_chunkRDP5UZXQcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22123
22124
|
]
|
|
22124
22125
|
}
|
|
22125
22126
|
),
|
|
@@ -22130,7 +22131,7 @@ function SEOEditorPreview({
|
|
|
22130
22131
|
value: seoDescription || "",
|
|
22131
22132
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22132
22133
|
disabled,
|
|
22133
|
-
maxLength:
|
|
22134
|
+
maxLength: _chunkRDP5UZXQcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22134
22135
|
invalid: seoDescriptionTooLong,
|
|
22135
22136
|
placeholder: "Enter SEO meta description...",
|
|
22136
22137
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22199,7 +22200,7 @@ function SEOEditorPreview({
|
|
|
22199
22200
|
{
|
|
22200
22201
|
ref: setFileInputRef,
|
|
22201
22202
|
type: "file",
|
|
22202
|
-
accept:
|
|
22203
|
+
accept: _chunkRFUOIQSGcjs.IMAGE_FILE_ACCEPT,
|
|
22203
22204
|
onChange: handleImageUpload,
|
|
22204
22205
|
className: "hidden",
|
|
22205
22206
|
disabled: disabled || isUploading
|
|
@@ -22278,7 +22279,7 @@ var SOCIAL_ICON_COMPONENTS = {
|
|
|
22278
22279
|
copy: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.CopyIcon, { ...props, color: "var(--color-text-primary)" })
|
|
22279
22280
|
};
|
|
22280
22281
|
function renderSocialIcon(platform) {
|
|
22281
|
-
const key = _nullishCoalesce(
|
|
22282
|
+
const key = _nullishCoalesce(_chunkRDP5UZXQcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22282
22283
|
const Icon = _nullishCoalesce(SOCIAL_ICON_COMPONENTS[key], () => ( SOCIAL_ICON_COMPONENTS.website));
|
|
22283
22284
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-5 w-5" });
|
|
22284
22285
|
}
|
|
@@ -22361,7 +22362,7 @@ function SocialLinksManager({
|
|
|
22361
22362
|
};
|
|
22362
22363
|
const getIcon = (link, platform) => {
|
|
22363
22364
|
const iconKey = _optionalChain([platform, 'optionalAccess', _433 => _433.icon_name]) || link.platform;
|
|
22364
|
-
const key =
|
|
22365
|
+
const key = _chunkRDP5UZXQcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22365
22366
|
if (!key) return null;
|
|
22366
22367
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
22367
22368
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "h-5 w-5 text-ods-text-secondary" });
|
|
@@ -22377,9 +22378,9 @@ function SocialLinksManager({
|
|
|
22377
22378
|
children: [
|
|
22378
22379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
22379
22380
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
22380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
22382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
22383
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
22383
22384
|
] }) }),
|
|
22384
22385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22385
22386
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -22397,15 +22398,15 @@ function SocialLinksManager({
|
|
|
22397
22398
|
)
|
|
22398
22399
|
] }),
|
|
22399
22400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22400
|
-
|
|
22401
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
22401
22402
|
{
|
|
22402
22403
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
22403
22404
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
22404
22405
|
children: [
|
|
22405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22406
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
22407
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: [
|
|
22408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "external", children: "Public" }),
|
|
22409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "internal", children: "Internal" })
|
|
22409
22410
|
] })
|
|
22410
22411
|
]
|
|
22411
22412
|
}
|
|
@@ -22497,7 +22498,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22497
22498
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
22498
22499
|
style: customStyle,
|
|
22499
22500
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
22500
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22501
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22501
22502
|
children
|
|
22502
22503
|
}
|
|
22503
22504
|
);
|
|
@@ -22767,11 +22768,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
22767
22768
|
|
|
22768
22769
|
function VideoBitesDisplay({
|
|
22769
22770
|
bites,
|
|
22770
|
-
title =
|
|
22771
|
+
title = _chunkRFUOIQSGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
22771
22772
|
filterPublished = true,
|
|
22772
22773
|
showTitle = true
|
|
22773
22774
|
}) {
|
|
22774
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22775
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
22775
22776
|
}
|
|
22776
22777
|
|
|
22777
22778
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -22798,7 +22799,7 @@ function WalkthroughVideo({
|
|
|
22798
22799
|
onOpenChange,
|
|
22799
22800
|
defaultOpen,
|
|
22800
22801
|
defaultOpenPaused,
|
|
22801
|
-
deepLinkParam =
|
|
22802
|
+
deepLinkParam = _chunkRDP5UZXQcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
22802
22803
|
autoPlayCard = false,
|
|
22803
22804
|
label = "Play Demo Video",
|
|
22804
22805
|
placement,
|
|
@@ -22813,7 +22814,7 @@ function WalkthroughVideo({
|
|
|
22813
22814
|
}) {
|
|
22814
22815
|
const inline = placement === "inline";
|
|
22815
22816
|
const dismissEnabled = dismissal !== false;
|
|
22816
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
22817
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkRDP5UZXQcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
22817
22818
|
const dismissalId = _optionalChain([video, 'optionalAccess', _439 => _439.id]) != null ? String(video.id) : "dismissed";
|
|
22818
22819
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
22819
22820
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -22824,7 +22825,7 @@ function WalkthroughVideo({
|
|
|
22824
22825
|
if (!hasVideo) return void 0;
|
|
22825
22826
|
const timer = setTimeout(() => {
|
|
22826
22827
|
const reveal = () => {
|
|
22827
|
-
if (dismissEnabled &&
|
|
22828
|
+
if (dismissEnabled && _chunkRDP5UZXQcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
22828
22829
|
setDismissed(true);
|
|
22829
22830
|
return;
|
|
22830
22831
|
}
|
|
@@ -22841,7 +22842,7 @@ function WalkthroughVideo({
|
|
|
22841
22842
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
22842
22843
|
};
|
|
22843
22844
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
22844
|
-
const hydrated =
|
|
22845
|
+
const hydrated = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
22845
22846
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
22846
22847
|
if (!hydrated) return false;
|
|
22847
22848
|
try {
|
|
@@ -23091,7 +23092,7 @@ function WalkthroughVideo({
|
|
|
23091
23092
|
(e) => {
|
|
23092
23093
|
e.stopPropagation();
|
|
23093
23094
|
pausePreviewNow();
|
|
23094
|
-
if (dismissEnabled)
|
|
23095
|
+
if (dismissEnabled) _chunkRDP5UZXQcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23095
23096
|
setDismissed(true);
|
|
23096
23097
|
},
|
|
23097
23098
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23240,7 +23241,7 @@ function WalkthroughVideo({
|
|
|
23240
23241
|
},
|
|
23241
23242
|
children: [
|
|
23242
23243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23243
|
-
|
|
23244
|
+
_chunkRFUOIQSGcjs.VideoHoverPreviewSurface,
|
|
23244
23245
|
{
|
|
23245
23246
|
url: video.mainVideoUrl || "",
|
|
23246
23247
|
posterUrl: video.posterUrl,
|
|
@@ -23263,7 +23264,7 @@ function WalkthroughVideo({
|
|
|
23263
23264
|
`card-${embedUrlKey}`
|
|
23264
23265
|
) }),
|
|
23265
23266
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23266
|
-
|
|
23267
|
+
_chunkRDP5UZXQcjs.CardHitLayer,
|
|
23267
23268
|
{
|
|
23268
23269
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23269
23270
|
onPointerDown: pausePreviewNow,
|
|
@@ -23272,7 +23273,7 @@ function WalkthroughVideo({
|
|
|
23272
23273
|
}
|
|
23273
23274
|
),
|
|
23274
23275
|
/* @__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: [
|
|
23275
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23276
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
23276
23277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
23277
23278
|
] }),
|
|
23278
23279
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23285,7 +23286,7 @@ function WalkthroughVideo({
|
|
|
23285
23286
|
onPointerDown: (e) => e.stopPropagation(),
|
|
23286
23287
|
onClick: onUnmuteOrPlay,
|
|
23287
23288
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
23288
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23289
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.VideoUnmuteGlyph, {})
|
|
23289
23290
|
}
|
|
23290
23291
|
),
|
|
23291
23292
|
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: [
|
|
@@ -23378,7 +23379,7 @@ function WalkthroughVideo({
|
|
|
23378
23379
|
children: [
|
|
23379
23380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23380
23381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23381
|
-
|
|
23382
|
+
_chunkRFUOIQSGcjs.Video,
|
|
23382
23383
|
{
|
|
23383
23384
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23384
23385
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23429,7 +23430,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
23429
23430
|
var _reactquery = require('@tanstack/react-query');
|
|
23430
23431
|
function useWalkthroughVideo(opts) {
|
|
23431
23432
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
23432
|
-
const captions =
|
|
23433
|
+
const captions = _chunkRDP5UZXQcjs.useCaptions.call(void 0, );
|
|
23433
23434
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23434
23435
|
queryKey: ["walkthrough-video", endpoint],
|
|
23435
23436
|
enabled,
|
|
@@ -23627,7 +23628,7 @@ function VideoSourceSelector({
|
|
|
23627
23628
|
}
|
|
23628
23629
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
23629
23630
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
23630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
23631
23632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23632
23633
|
"button",
|
|
23633
23634
|
{
|
|
@@ -24081,19 +24082,19 @@ function HighlightVideoSection({
|
|
|
24081
24082
|
/* @__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: [
|
|
24082
24083
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { children: "Target Duration" }),
|
|
24083
24084
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24084
|
-
|
|
24085
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
24085
24086
|
{
|
|
24086
24087
|
value: targetDurationSeconds.toString(),
|
|
24087
24088
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24088
24089
|
disabled,
|
|
24089
24090
|
children: [
|
|
24090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24091
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24095
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
24092
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24095
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24097
24098
|
] })
|
|
24098
24099
|
]
|
|
24099
24100
|
}
|
|
@@ -24151,7 +24152,7 @@ function HighlightVideoSection({
|
|
|
24151
24152
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24152
24153
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24153
24154
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24155
24156
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24156
24157
|
"button",
|
|
24157
24158
|
{
|
|
@@ -24178,20 +24179,20 @@ function HighlightConfigSection({
|
|
|
24178
24179
|
disabled = false,
|
|
24179
24180
|
className = ""
|
|
24180
24181
|
}) {
|
|
24181
|
-
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,
|
|
24182
|
-
|
|
24182
|
+
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, _chunkRDP5UZXQcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24183
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
24183
24184
|
{
|
|
24184
24185
|
value: targetDurationSeconds.toString(),
|
|
24185
24186
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24186
24187
|
disabled,
|
|
24187
24188
|
children: [
|
|
24188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24189
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
24190
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24195
24196
|
] })
|
|
24196
24197
|
]
|
|
24197
24198
|
}
|
|
@@ -24279,7 +24280,7 @@ var AIStatusIndicator = ({
|
|
|
24279
24280
|
}) => {
|
|
24280
24281
|
const config = statusConfig[status];
|
|
24281
24282
|
const displayText = message || config.label;
|
|
24282
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24283
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkRDP5UZXQcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24283
24284
|
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: [
|
|
24284
24285
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24285
24286
|
_chunkLLSUVPQCcjs.SparklesIcon,
|
|
@@ -24287,7 +24288,7 @@ var AIStatusIndicator = ({
|
|
|
24287
24288
|
size: 16,
|
|
24288
24289
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24289
24290
|
status === "loading" && "animate-pulse",
|
|
24290
|
-
confidence !== void 0 && status === "success" ?
|
|
24291
|
+
confidence !== void 0 && status === "success" ? _chunkRDP5UZXQcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24291
24292
|
)
|
|
24292
24293
|
}
|
|
24293
24294
|
),
|
|
@@ -24296,7 +24297,7 @@ var AIStatusIndicator = ({
|
|
|
24296
24297
|
{
|
|
24297
24298
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24298
24299
|
"text-h6",
|
|
24299
|
-
confidence !== void 0 && status === "success" ?
|
|
24300
|
+
confidence !== void 0 && status === "success" ? _chunkRDP5UZXQcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24300
24301
|
),
|
|
24301
24302
|
children: displayText
|
|
24302
24303
|
}
|
|
@@ -24306,8 +24307,8 @@ var AIStatusIndicator = ({
|
|
|
24306
24307
|
{
|
|
24307
24308
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24308
24309
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24309
|
-
|
|
24310
|
-
|
|
24310
|
+
_chunkRDP5UZXQcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24311
|
+
_chunkRDP5UZXQcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24311
24312
|
),
|
|
24312
24313
|
children: confidenceLabel
|
|
24313
24314
|
}
|
|
@@ -25144,8 +25145,8 @@ function PoliciesTable({
|
|
|
25144
25145
|
accessorKey: "name",
|
|
25145
25146
|
header: "Name",
|
|
25146
25147
|
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: [
|
|
25147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25148
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25148
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: row.original.name }),
|
|
25149
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25149
25150
|
] }),
|
|
25150
25151
|
meta: { width: "flex-1 min-w-0" }
|
|
25151
25152
|
},
|
|
@@ -25199,7 +25200,7 @@ function PoliciesTable({
|
|
|
25199
25200
|
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,
|
|
25200
25201
|
_chunkDFQYAYBHcjs.Button,
|
|
25201
25202
|
{
|
|
25202
|
-
onClick:
|
|
25203
|
+
onClick: _chunkRDP5UZXQcjs.openInNewTab.call(void 0, row.original.href),
|
|
25203
25204
|
variant: "outline",
|
|
25204
25205
|
size: "icon",
|
|
25205
25206
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -25416,7 +25417,7 @@ function toValidInstant(iso) {
|
|
|
25416
25417
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
25417
25418
|
const date = toValidInstant(iso);
|
|
25418
25419
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
25419
|
-
return now.getTime() - date.getTime() < DAY_MS ? _chunkKT3U3ZRPcjs.formatRelativeTimeFrom.call(void 0, date, now) :
|
|
25420
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunkKT3U3ZRPcjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunkRZQGIWK3cjs.formatDate.call(void 0, date);
|
|
25420
25421
|
}
|
|
25421
25422
|
function usersCountLabel(count) {
|
|
25422
25423
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -25428,7 +25429,7 @@ function usersCountLabel(count) {
|
|
|
25428
25429
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
25429
25430
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25430
25431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
25431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
25432
25433
|
] });
|
|
25433
25434
|
}
|
|
25434
25435
|
|
|
@@ -25439,9 +25440,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
25439
25440
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25440
25441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25441
25442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
25442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: name })
|
|
25443
25444
|
] }),
|
|
25444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
25445
25446
|
] });
|
|
25446
25447
|
}
|
|
25447
25448
|
|
|
@@ -25451,9 +25452,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
25451
25452
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25452
25453
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25453
25454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF5BPGWGTcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
25454
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: name })
|
|
25455
25456
|
] }),
|
|
25456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25457
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
25457
25458
|
] });
|
|
25458
25459
|
}
|
|
25459
25460
|
|
|
@@ -25525,7 +25526,7 @@ function TenantsTableView({
|
|
|
25525
25526
|
/* @__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,
|
|
25526
25527
|
_chunkDFQYAYBHcjs.Button,
|
|
25527
25528
|
{
|
|
25528
|
-
onClick:
|
|
25529
|
+
onClick: _chunkRDP5UZXQcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
25529
25530
|
variant: "outline",
|
|
25530
25531
|
size: "icon",
|
|
25531
25532
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -25603,13 +25604,13 @@ function WaitlistForm({
|
|
|
25603
25604
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
25604
25605
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
25605
25606
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
25606
|
-
const { toast } =
|
|
25607
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
25607
|
+
const { toast } = _chunk4SIZCHVZcjs.useToast.call(void 0, );
|
|
25608
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4SIZCHVZcjs.useHumanitySignals.call(void 0, );
|
|
25608
25609
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
25609
|
-
const isClient =
|
|
25610
|
+
const isClient = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
25610
25611
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
25611
25612
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
25612
|
-
const rescue =
|
|
25613
|
+
const rescue = _chunk4SIZCHVZcjs.useFormRescue.call(void 0, {
|
|
25613
25614
|
form: rescueForm,
|
|
25614
25615
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
25615
25616
|
fieldNames: ["email", "phone"],
|
|
@@ -25621,7 +25622,7 @@ function WaitlistForm({
|
|
|
25621
25622
|
_react.useEffect.call(void 0, () => {
|
|
25622
25623
|
rescue.track({ email, phone }, null);
|
|
25623
25624
|
}, [email, phone, rescue]);
|
|
25624
|
-
const isMailDomainGeneric =
|
|
25625
|
+
const isMailDomainGeneric = _chunkRDP5UZXQcjs.hasGenericEmailDomain.call(void 0, email);
|
|
25625
25626
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
25626
25627
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
25627
25628
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -25655,7 +25656,7 @@ function WaitlistForm({
|
|
|
25655
25656
|
setShowConsentError(true);
|
|
25656
25657
|
return;
|
|
25657
25658
|
}
|
|
25658
|
-
const finalPhone = phone ?
|
|
25659
|
+
const finalPhone = phone ? _chunkRDP5UZXQcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
25659
25660
|
try {
|
|
25660
25661
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
25661
25662
|
rescue.complete();
|
|
@@ -26252,7 +26253,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26252
26253
|
}, [mobileBreakpoint]);
|
|
26253
26254
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26254
26255
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26255
|
-
const { size, setSize, clampSize } =
|
|
26256
|
+
const { size, setSize, clampSize } = _chunkRDP5UZXQcjs.useResizablePanelSize.call(void 0, {
|
|
26256
26257
|
enabled: resizable,
|
|
26257
26258
|
minSize,
|
|
26258
26259
|
maxSize,
|
|
@@ -26272,7 +26273,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26272
26273
|
"data-state": open ? "open" : "closed",
|
|
26273
26274
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
26274
26275
|
"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",
|
|
26275
|
-
|
|
26276
|
+
_chunkRDP5UZXQcjs.OVERLAY_BACKDROP_CLASS,
|
|
26276
26277
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26277
26278
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26278
26279
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26313,7 +26314,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26313
26314
|
...props,
|
|
26314
26315
|
children: [
|
|
26315
26316
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26316
|
-
|
|
26317
|
+
_chunkRDP5UZXQcjs.PanelResizeHandle,
|
|
26317
26318
|
{
|
|
26318
26319
|
variant: "inLayout",
|
|
26319
26320
|
side: resolvedSide,
|
|
@@ -26352,11 +26353,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26352
26353
|
}
|
|
26353
26354
|
);
|
|
26354
26355
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26355
|
-
var AppLayoutDrawerHeader =
|
|
26356
|
-
var AppLayoutDrawerTitle =
|
|
26357
|
-
var AppLayoutDrawerDescription =
|
|
26358
|
-
var AppLayoutDrawerBody =
|
|
26359
|
-
var AppLayoutDrawerFooter =
|
|
26356
|
+
var AppLayoutDrawerHeader = _chunkRDP5UZXQcjs.DrawerHeader;
|
|
26357
|
+
var AppLayoutDrawerTitle = _chunkRDP5UZXQcjs.DrawerTitle;
|
|
26358
|
+
var AppLayoutDrawerDescription = _chunkRDP5UZXQcjs.DrawerDescription;
|
|
26359
|
+
var AppLayoutDrawerBody = _chunkRDP5UZXQcjs.DrawerBody;
|
|
26360
|
+
var AppLayoutDrawerFooter = _chunkRDP5UZXQcjs.DrawerFooter;
|
|
26360
26361
|
|
|
26361
26362
|
// src/components/features/notifications/notification-tile.tsx
|
|
26362
26363
|
|
|
@@ -26375,7 +26376,7 @@ var typeColorByVariant = {
|
|
|
26375
26376
|
error: "text-ods-error"
|
|
26376
26377
|
};
|
|
26377
26378
|
var progressColorByVariant2 = {
|
|
26378
|
-
...
|
|
26379
|
+
..._chunk4SIZCHVZcjs.progressColorByVariant,
|
|
26379
26380
|
default: "bg-ods-accent",
|
|
26380
26381
|
info: "bg-ods-accent"
|
|
26381
26382
|
};
|
|
@@ -26452,7 +26453,7 @@ function NotificationTile({
|
|
|
26452
26453
|
height: 16,
|
|
26453
26454
|
unoptimized: true
|
|
26454
26455
|
}
|
|
26455
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
26456
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full", _chunk4SIZCHVZcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
26456
26457
|
type ? lockscreen ? (
|
|
26457
26458
|
// A phone names the sender in plain words and never cuts them.
|
|
26458
26459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -26571,7 +26572,7 @@ function NotificationDrawer({
|
|
|
26571
26572
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
26572
26573
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26573
26574
|
/* @__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,
|
|
26574
|
-
|
|
26575
|
+
_chunkRDP5UZXQcjs.DrawerTitle,
|
|
26575
26576
|
{
|
|
26576
26577
|
hideClose: true,
|
|
26577
26578
|
className: "truncate",
|
|
@@ -26630,8 +26631,8 @@ function NotificationDrawer({
|
|
|
26630
26631
|
}
|
|
26631
26632
|
) });
|
|
26632
26633
|
}
|
|
26633
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26634
|
-
|
|
26634
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26635
|
+
_chunkRDP5UZXQcjs.DrawerContent,
|
|
26635
26636
|
{
|
|
26636
26637
|
side: "right",
|
|
26637
26638
|
"aria-describedby": void 0,
|
|
@@ -26736,7 +26737,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
26736
26737
|
] });
|
|
26737
26738
|
}
|
|
26738
26739
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
26739
|
-
const { supported, permission, request } =
|
|
26740
|
+
const { supported, permission, request } = _chunk4SIZCHVZcjs.useNotificationPermission.call(void 0, );
|
|
26740
26741
|
if (!supported) return null;
|
|
26741
26742
|
const blocked = permission === "denied";
|
|
26742
26743
|
const handleChange = async (value) => {
|
|
@@ -26914,13 +26915,13 @@ function getApprovalMeta(notification) {
|
|
|
26914
26915
|
function resolutionToStatus(resolution) {
|
|
26915
26916
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
26916
26917
|
case "APPROVED":
|
|
26917
|
-
return
|
|
26918
|
+
return _chunkRZQGIWK3cjs.APPROVAL_STATUS.APPROVED;
|
|
26918
26919
|
case "REJECTED":
|
|
26919
|
-
return
|
|
26920
|
+
return _chunkRZQGIWK3cjs.APPROVAL_STATUS.REJECTED;
|
|
26920
26921
|
case "CANCELLED":
|
|
26921
|
-
return
|
|
26922
|
+
return _chunkRZQGIWK3cjs.APPROVAL_STATUS.CANCELLED;
|
|
26922
26923
|
default:
|
|
26923
|
-
return
|
|
26924
|
+
return _chunkRZQGIWK3cjs.APPROVAL_STATUS.PENDING;
|
|
26924
26925
|
}
|
|
26925
26926
|
}
|
|
26926
26927
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27289,7 +27290,7 @@ function TimeTrackerPanel({
|
|
|
27289
27290
|
] }),
|
|
27290
27291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
27291
27292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27292
|
-
|
|
27293
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
27293
27294
|
{
|
|
27294
27295
|
value: selectedTicketId,
|
|
27295
27296
|
onChange: onSelectedTicketChange,
|
|
@@ -27305,7 +27306,7 @@ function TimeTrackerPanel({
|
|
|
27305
27306
|
}
|
|
27306
27307
|
),
|
|
27307
27308
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27308
|
-
|
|
27309
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
27309
27310
|
{
|
|
27310
27311
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
27311
27312
|
onChange: onSelectedCustomerChange,
|
|
@@ -27569,7 +27570,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
27569
27570
|
"data-state": isOpen ? "open" : "closed",
|
|
27570
27571
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
27571
27572
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
27572
|
-
|
|
27573
|
+
_chunkRDP5UZXQcjs.OVERLAY_BACKDROP_CLASS,
|
|
27573
27574
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
27574
27575
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
27575
27576
|
)
|
|
@@ -27744,7 +27745,7 @@ function getDeviceStatusConfig(status) {
|
|
|
27744
27745
|
}
|
|
27745
27746
|
}
|
|
27746
27747
|
function getDeviceOperatingSystem(osType) {
|
|
27747
|
-
return
|
|
27748
|
+
return _chunkRDP5UZXQcjs.getOSPlatformId.call(void 0, osType);
|
|
27748
27749
|
}
|
|
27749
27750
|
|
|
27750
27751
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -27920,8 +27921,8 @@ function DevicesFilterToolbar({
|
|
|
27920
27921
|
|
|
27921
27922
|
|
|
27922
27923
|
function formatDateTime(input) {
|
|
27923
|
-
const date =
|
|
27924
|
-
return date === "\u2014" ? date : `${date} ${
|
|
27924
|
+
const date = _chunkRZQGIWK3cjs.formatDate.call(void 0, input);
|
|
27925
|
+
return date === "\u2014" ? date : `${date} ${_chunkRZQGIWK3cjs.formatTime.call(void 0, input)}`;
|
|
27925
27926
|
}
|
|
27926
27927
|
function uniqueById(options) {
|
|
27927
27928
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -28026,7 +28027,7 @@ function DevicesTableBody({
|
|
|
28026
28027
|
function OrganizationCell({ device }) {
|
|
28027
28028
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28028
28029
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
28029
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
28030
28031
|
/* @__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 || "" }) })
|
|
28031
28032
|
] });
|
|
28032
28033
|
}
|
|
@@ -28070,7 +28071,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28070
28071
|
const device = row.original;
|
|
28071
28072
|
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: [
|
|
28072
28073
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: getDeviceName(device) }) })
|
|
28074
28075
|
] });
|
|
28075
28076
|
},
|
|
28076
28077
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -28241,7 +28242,7 @@ function CustomerCell({ device }) {
|
|
|
28241
28242
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28242
28243
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
28243
28244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28244
|
-
|
|
28245
|
+
_chunkVF2CJXZ2cjs.EntityImage,
|
|
28245
28246
|
{
|
|
28246
28247
|
src: fullImageUrl,
|
|
28247
28248
|
alt: device.organization || "Customer",
|
|
@@ -28249,8 +28250,8 @@ function CustomerCell({ device }) {
|
|
|
28249
28250
|
}
|
|
28250
28251
|
),
|
|
28251
28252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
28252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28253
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: device.organization || "" }),
|
|
28254
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
28254
28255
|
] })
|
|
28255
28256
|
] });
|
|
28256
28257
|
}
|
|
@@ -28544,8 +28545,8 @@ function DeviceSelector({
|
|
|
28544
28545
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
28545
28546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28546
28547
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
28547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28548
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: getDeviceName(device) }),
|
|
28549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
28549
28550
|
] })
|
|
28550
28551
|
] });
|
|
28551
28552
|
},
|
|
@@ -29061,7 +29062,7 @@ function DevicesList({
|
|
|
29061
29062
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
29062
29063
|
const narrowed = isNarrowed(narrowing);
|
|
29063
29064
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
29064
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
29065
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunk4SIZCHVZcjs.useStickyToolbar.call(void 0, );
|
|
29065
29066
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
29066
29067
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions ? getDeviceActionsColumn(rowActions) : void 0, [rowActions]);
|
|
29067
29068
|
return (
|
|
@@ -29283,7 +29284,7 @@ function DevicesPanelView({
|
|
|
29283
29284
|
] })
|
|
29284
29285
|
] });
|
|
29285
29286
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29286
|
-
|
|
29287
|
+
_chunkVF2CJXZ2cjs.PageLayout,
|
|
29287
29288
|
{
|
|
29288
29289
|
title,
|
|
29289
29290
|
backButton,
|
|
@@ -29291,7 +29292,7 @@ function DevicesPanelView({
|
|
|
29291
29292
|
actionsVariant: "icon-buttons",
|
|
29292
29293
|
className,
|
|
29293
29294
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29294
|
-
|
|
29295
|
+
_chunkRDP5UZXQcjs.TabSelector,
|
|
29295
29296
|
{
|
|
29296
29297
|
value: viewMode,
|
|
29297
29298
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _620 => _620(value)]),
|
|
@@ -29357,7 +29358,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
29357
29358
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
29358
29359
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
29359
29360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29360
|
-
|
|
29361
|
+
_chunkVF2CJXZ2cjs.Autocomplete,
|
|
29361
29362
|
{
|
|
29362
29363
|
label: PACKAGE_SEARCH_LABEL,
|
|
29363
29364
|
labelVariant: "large",
|
|
@@ -29412,16 +29413,16 @@ function SoftwareScheduleFields({
|
|
|
29412
29413
|
] }),
|
|
29413
29414
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29414
29415
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Time" }),
|
|
29415
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29416
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29416
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
29417
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "Select time" }) }),
|
|
29418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29418
29419
|
] })
|
|
29419
29420
|
] }),
|
|
29420
29421
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29421
29422
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
29422
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29423
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
29424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
29425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29425
29426
|
] })
|
|
29426
29427
|
] })
|
|
29427
29428
|
]
|
|
@@ -29487,22 +29488,22 @@ function newSoftwareRow(key) {
|
|
|
29487
29488
|
|
|
29488
29489
|
function InfoCell2({ value, label }) {
|
|
29489
29490
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
29490
|
-
/* @__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,
|
|
29491
|
+
/* @__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, _chunkVF2CJXZ2cjs.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" }) }) }),
|
|
29491
29492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
29492
29493
|
] });
|
|
29493
29494
|
}
|
|
29494
29495
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
29495
29496
|
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: [
|
|
29496
29497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29497
|
-
|
|
29498
|
+
_chunkVF2CJXZ2cjs.Select,
|
|
29498
29499
|
{
|
|
29499
29500
|
value: row.packageManager,
|
|
29500
29501
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
29501
29502
|
children: [
|
|
29502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29503
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, {}) }),
|
|
29504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
29504
29505
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
29505
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29506
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29506
29507
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
29507
29508
|
PACKAGE_MANAGER_LABEL[manager]
|
|
29508
29509
|
] }) }, manager);
|
|
@@ -29600,7 +29601,7 @@ function SoftwareActionForm({
|
|
|
29600
29601
|
}
|
|
29601
29602
|
);
|
|
29602
29603
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29603
|
-
|
|
29604
|
+
_chunkVF2CJXZ2cjs.PageLayout,
|
|
29604
29605
|
{
|
|
29605
29606
|
title: copy.formTitle,
|
|
29606
29607
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -29689,7 +29690,7 @@ function LogDrawer({
|
|
|
29689
29690
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
29690
29691
|
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 }) }),
|
|
29691
29692
|
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: [
|
|
29692
|
-
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,
|
|
29693
|
+
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, _chunkVF2CJXZ2cjs.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 }),
|
|
29693
29694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
29694
29695
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
29695
29696
|
children
|
|
@@ -29737,7 +29738,7 @@ function LogsPageView({
|
|
|
29737
29738
|
],
|
|
29738
29739
|
[onRefresh]
|
|
29739
29740
|
);
|
|
29740
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29741
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
29741
29742
|
!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: [
|
|
29742
29743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29743
29744
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -29807,10 +29808,10 @@ var ToolBadge = ({
|
|
|
29807
29808
|
className,
|
|
29808
29809
|
iconClassName
|
|
29809
29810
|
}) => {
|
|
29810
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
29811
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkRDP5UZXQcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
29811
29812
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWVOTC7HWcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
29812
29813
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29813
|
-
|
|
29814
|
+
_chunkRDP5UZXQcjs.NavLinkAnchorViaRuntime,
|
|
29814
29815
|
{
|
|
29815
29816
|
href,
|
|
29816
29817
|
targetPlatform,
|
|
@@ -29887,8 +29888,8 @@ function LogsTableView({
|
|
|
29887
29888
|
accessorKey: "logId",
|
|
29888
29889
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
29889
29890
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
29890
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: row.original.timestamp }),
|
|
29892
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
29892
29893
|
] }),
|
|
29893
29894
|
enableSorting: false,
|
|
29894
29895
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -29916,7 +29917,7 @@ function LogsTableView({
|
|
|
29916
29917
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29917
29918
|
ToolBadge,
|
|
29918
29919
|
{
|
|
29919
|
-
toolType:
|
|
29920
|
+
toolType: _chunkRDP5UZXQcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
29920
29921
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
29921
29922
|
}
|
|
29922
29923
|
),
|
|
@@ -29928,7 +29929,7 @@ function LogsTableView({
|
|
|
29928
29929
|
filter: {
|
|
29929
29930
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _628 => _628.toolTypes, 'access', _629 => _629.map, 'call', _630 => _630((toolType) => ({
|
|
29930
29931
|
id: toolType,
|
|
29931
|
-
label:
|
|
29932
|
+
label: _chunkRDP5UZXQcjs.toToolLabel.call(void 0, toolType),
|
|
29932
29933
|
value: toolType
|
|
29933
29934
|
}))]), () => ( []))
|
|
29934
29935
|
}
|
|
@@ -29940,8 +29941,8 @@ function LogsTableView({
|
|
|
29940
29941
|
cell: ({ row }) => {
|
|
29941
29942
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
29942
29943
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
29943
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29944
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29944
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: deviceName }),
|
|
29945
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
29945
29946
|
] });
|
|
29946
29947
|
},
|
|
29947
29948
|
enableSorting: false,
|
|
@@ -29955,7 +29956,7 @@ function LogsTableView({
|
|
|
29955
29956
|
{
|
|
29956
29957
|
accessorKey: "description",
|
|
29957
29958
|
header: "Log Details",
|
|
29958
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29959
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
29959
29960
|
enableSorting: false,
|
|
29960
29961
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
29961
29962
|
},
|
|
@@ -29986,7 +29987,7 @@ function LogsTableView({
|
|
|
29986
29987
|
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,
|
|
29987
29988
|
_chunkDFQYAYBHcjs.Button,
|
|
29988
29989
|
{
|
|
29989
|
-
onClick: getLogHref ?
|
|
29990
|
+
onClick: getLogHref ? _chunkRDP5UZXQcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
29990
29991
|
variant: "outline",
|
|
29991
29992
|
size: "icon",
|
|
29992
29993
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30215,7 +30216,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
30215
30216
|
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,
|
|
30216
30217
|
_chunkDFQYAYBHcjs.Button,
|
|
30217
30218
|
{
|
|
30218
|
-
onClick:
|
|
30219
|
+
onClick: _chunkRDP5UZXQcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
30219
30220
|
variant: "outline",
|
|
30220
30221
|
size: "icon",
|
|
30221
30222
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30241,7 +30242,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30241
30242
|
/* @__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" }) }),
|
|
30242
30243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30243
30244
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: item.name }) }),
|
|
30245
30246
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30246
30247
|
_chunkF5BPGWGTcjs.Tag,
|
|
30247
30248
|
{
|
|
@@ -30251,7 +30252,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30251
30252
|
}
|
|
30252
30253
|
)
|
|
30253
30254
|
] }),
|
|
30254
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30255
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
30255
30256
|
] })
|
|
30256
30257
|
] });
|
|
30257
30258
|
},
|
|
@@ -30266,8 +30267,8 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30266
30267
|
const ts = mode === "archive" ? _nullishCoalesce(row.original.updatedAt, () => ( row.original.createdAt)) : row.original.createdAt;
|
|
30267
30268
|
if (!ts) return null;
|
|
30268
30269
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
30269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
30270
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
30270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunkRZQGIWK3cjs.formatDate.call(void 0, ts) }),
|
|
30271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunkRZQGIWK3cjs.formatTime.call(void 0, ts) })
|
|
30271
30272
|
] });
|
|
30272
30273
|
},
|
|
30273
30274
|
enableSorting: false,
|
|
@@ -30331,7 +30332,7 @@ function KnowledgeBaseArticleView({
|
|
|
30331
30332
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
30332
30333
|
}) {
|
|
30333
30334
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30334
|
-
|
|
30335
|
+
_chunkVF2CJXZ2cjs.PageLayout,
|
|
30335
30336
|
{
|
|
30336
30337
|
title,
|
|
30337
30338
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30341,7 +30342,7 @@ function KnowledgeBaseArticleView({
|
|
|
30341
30342
|
className,
|
|
30342
30343
|
children: [
|
|
30343
30344
|
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, _chunkF5BPGWGTcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
30344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.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: [
|
|
30345
30346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30346
30347
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4HJRHEXDcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30347
30348
|
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
@@ -30354,12 +30355,12 @@ function KnowledgeBaseArticleView({
|
|
|
30354
30355
|
}
|
|
30355
30356
|
),
|
|
30356
30357
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
30358
30359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
30359
30360
|
] })
|
|
30360
30361
|
] }),
|
|
30361
30362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
30362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { children: updatedLabel }),
|
|
30363
30364
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
30364
30365
|
] }),
|
|
30365
30366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30810,7 +30811,7 @@ function Highlights({ items, className }) {
|
|
|
30810
30811
|
if (items.length === 0) return null;
|
|
30811
30812
|
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: [
|
|
30812
30813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
30813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
30814
30815
|
] }, text)) });
|
|
30815
30816
|
}
|
|
30816
30817
|
function Example({
|
|
@@ -30839,7 +30840,7 @@ function Example({
|
|
|
30839
30840
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _661 => _661.mark]), () => ( requesterMark))),
|
|
30840
30841
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
30841
30842
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _662 => _662.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _663 => _663.note]), () => ( labels.requesterNote))),
|
|
30842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
30843
30844
|
] })
|
|
30844
30845
|
] }),
|
|
30845
30846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -30848,7 +30849,7 @@ function Example({
|
|
|
30848
30849
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _665 => _665.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _666 => _666.note]), () => ( labels.responderNote))),
|
|
30849
30850
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
30850
30851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
30851
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30852
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
30852
30853
|
] })
|
|
30853
30854
|
] })
|
|
30854
30855
|
] })
|
|
@@ -30897,16 +30898,16 @@ function CapabilityExplorer({
|
|
|
30897
30898
|
),
|
|
30898
30899
|
children: [
|
|
30899
30900
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
30900
|
-
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,
|
|
30901
|
+
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, _chunkRFUOIQSGcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
30901
30902
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
30902
30903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
30903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
30904
30905
|
item.badge
|
|
30905
30906
|
] }),
|
|
30906
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30907
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
30907
30908
|
] })
|
|
30908
30909
|
] }),
|
|
30909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
30910
30911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
30911
30912
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30912
30913
|
Example,
|
|
@@ -30981,7 +30982,7 @@ function CapabilityExplorer({
|
|
|
30981
30982
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
30982
30983
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
30983
30984
|
),
|
|
30984
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30985
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
30985
30986
|
}
|
|
30986
30987
|
),
|
|
30987
30988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -31034,8 +31035,8 @@ function CapabilityExplorer({
|
|
|
31034
31035
|
),
|
|
31035
31036
|
children: [
|
|
31036
31037
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
31037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
31039
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
31039
31040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
31040
31041
|
] }),
|
|
31041
31042
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|