@flamingo-stack/openframe-frontend-core 0.0.781 → 0.0.783
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/case-study-card-WYZPBDDM.cjs +23 -0
- package/dist/{chunk-RJX33Y4Q.cjs → chunk-3INHO6GP.cjs} +22 -22
- package/dist/{chunk-TH5X2BXK.cjs → chunk-3PKORICR.cjs} +115 -115
- package/dist/{chunk-JHDPEYZH.cjs → chunk-4DKPNN2A.cjs} +17 -17
- package/dist/{chunk-L4XOCV7S.cjs → chunk-4DQ4CNAG.cjs} +10 -10
- package/dist/{chunk-HTSRCFXP.cjs → chunk-4MQASMIU.cjs} +7 -7
- package/dist/{chunk-3VINTJPE.cjs → chunk-5WMRVMXH.cjs} +5 -5
- package/dist/{chunk-OHXB6HUX.cjs → chunk-5XAWVXNI.cjs} +320 -320
- package/dist/{chunk-HLZUBJPL.cjs → chunk-62TMGBRO.cjs} +197 -197
- package/dist/{chunk-B6EQVH7D.cjs → chunk-6NEWJ6I2.cjs} +51 -51
- package/dist/{chunk-FWJ5YECN.cjs → chunk-7OJMOG34.cjs} +546 -544
- package/dist/{chunk-63OCO2G5.cjs → chunk-A3UZFFR3.cjs} +4 -4
- package/dist/{chunk-XHJI7R4J.cjs → chunk-AFSVWR3X.cjs} +46 -46
- package/dist/{chunk-LDGR5VCK.cjs → chunk-APO7GMZQ.cjs} +4 -4
- package/dist/{chunk-PID7LUDP.cjs → chunk-BAJB3JF3.cjs} +31 -31
- package/dist/{chunk-T7SDYBST.cjs → chunk-BE4OUWTA.cjs} +54 -54
- package/dist/{chunk-ZV6RQNXE.cjs → chunk-CBKXU77H.cjs} +46 -46
- package/dist/{chunk-IYU2ZH2J.cjs → chunk-CS5SZJFV.cjs} +2 -2
- package/dist/{chunk-Q7HXTF2C.cjs → chunk-DYF6XB27.cjs} +4 -4
- package/dist/{chunk-AKCBLZAO.cjs → chunk-E2ZZOYSM.cjs} +74 -62
- package/dist/{chunk-57NE7SHG.cjs → chunk-EFCWHAYC.cjs} +8 -8
- package/dist/{chunk-KWV23THO.cjs → chunk-EHQ2UGT4.cjs} +14 -14
- package/dist/{chunk-DJTPDK3W.cjs → chunk-F2FFJWOQ.cjs} +4 -4
- package/dist/{chunk-CDBFQVPA.cjs → chunk-FLS6DZEN.cjs} +46 -43
- package/dist/{chunk-VZKAAXU3.cjs → chunk-FS7CBRF4.cjs} +23 -23
- package/dist/{chunk-X6TXMWBV.cjs → chunk-H3RHAN6B.cjs} +61 -61
- package/dist/{chunk-HPGCUYAZ.cjs → chunk-KRXHRL3W.cjs} +110 -110
- package/dist/{chunk-D46WFWWI.cjs → chunk-LGISRUGF.cjs} +41 -39
- package/dist/{chunk-2OYKOHFK.cjs → chunk-LUWYWYNC.cjs} +2 -2
- package/dist/{chunk-N6YCOBLK.cjs → chunk-MGEUZRNQ.cjs} +101 -9
- package/dist/{chunk-YEJWNHD3.cjs → chunk-MKF6XX5A.cjs} +63 -63
- package/dist/{chunk-3IHGS44W.cjs → chunk-N2SVJJLU.cjs} +5 -5
- package/dist/{chunk-TZ6MTHUC.cjs → chunk-N5TPRCSS.cjs} +60 -60
- package/dist/{chunk-YNDH72VU.cjs → chunk-NNNRN4OF.cjs} +14 -14
- package/dist/{chunk-JQWYXC2E.cjs → chunk-ODDUGLYF.cjs} +110 -110
- package/dist/{chunk-T4ZVKEDP.cjs → chunk-OMTH355I.cjs} +3 -3
- package/dist/{chunk-OFX6XEVN.cjs → chunk-PQSTPJQQ.cjs} +13 -13
- package/dist/{chunk-YKJ4JN6T.cjs → chunk-RL45AU2C.cjs} +42 -42
- package/dist/{chunk-DIY4SJZI.cjs → chunk-RT6QATX4.cjs} +19 -19
- package/dist/{chunk-ODZ5XGWA.cjs → chunk-THOGSAFH.cjs} +2076 -2052
- package/dist/{chunk-UONQCE5N.cjs → chunk-TS6TISIF.cjs} +209 -208
- package/dist/{chunk-SMEX3BWO.cjs → chunk-UPQMFK5B.cjs} +7 -7
- package/dist/{chunk-5PBWAF2D.cjs → chunk-URFAMWCA.cjs} +44 -44
- package/dist/{chunk-VDTLVFCV.cjs → chunk-WHNI4QTG.cjs} +13 -13
- package/dist/{chunk-EYNQE2XN.cjs → chunk-WS7IDGEL.cjs} +6 -6
- package/dist/{chunk-QD7SKYCQ.cjs → chunk-WSBWP7IW.cjs} +3 -3
- package/dist/{chunk-RYIWADIB.cjs → chunk-XAA5LUHC.cjs} +12 -12
- package/dist/{chunk-XYKVOBIP.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
- package/dist/{chunk-A7FSNBNV.cjs → chunk-YU23M33V.cjs} +173 -172
- package/dist/{chunk-ZPYFPLPD.cjs → chunk-YXZOP726.cjs} +10 -10
- package/dist/{chunk-4XDYSGRL.cjs → chunk-ZFOMRALU.cjs} +17 -17
- package/dist/{chunk-AFJEUBDS.cjs → chunk-ZJS45HQZ.cjs} +29 -29
- package/dist/{cloud-tenants-UAFVHKX7.cjs → cloud-tenants-QYW3MPPP.cjs} +32 -32
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/index.cjs +52 -52
- package/dist/components/category-card.d.ts.map +1 -1
- package/dist/components/category-card.js +1 -0
- package/dist/components/chat/ask-display.js +2 -2
- package/dist/components/chat/chat-context-memory-bar.js +2 -2
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +4 -2
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-input.js +2 -1
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.js +12 -1
- package/dist/components/chat/embeddable-chat.js +120 -98
- package/dist/components/chat/guide-mode-banner.js +1 -1
- package/dist/components/chat/index.cjs +26 -26
- package/dist/components/chat/mingo-welcome.js +1 -1
- package/dist/components/contact/index.cjs +33 -33
- package/dist/components/docs/index.cjs +36 -36
- package/dist/components/embeds/index.cjs +33 -33
- package/dist/components/faq/index.cjs +34 -34
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +11 -1
- package/dist/components/features/command-box.js +1 -1
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid-filters.js +15 -4
- package/dist/components/features/filters-dropdown.d.ts.map +1 -1
- package/dist/components/features/filters-dropdown.js +6 -5
- package/dist/components/features/index.cjs +32 -32
- package/dist/components/features/model-token-rates.js +1 -1
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-drawer.js +1 -0
- package/dist/components/features/notifications/notification-tile.js +1 -1
- package/dist/components/features/paths-display.js +1 -1
- package/dist/components/features/remote-session/remote-session-events.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-events.js +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +1 -1
- package/dist/components/features/select-button.js +0 -1
- package/dist/components/features/tags-selector.js +1 -1
- package/dist/components/help-center-pages/index.cjs +163 -163
- package/dist/components/index.cjs +205 -204
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -2
- package/dist/components/meeting-scheduler/index.cjs +187 -187
- package/dist/components/navigation/index.cjs +35 -35
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/mobile-burger-menu.js +2 -1
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/navigation/multi-level-navigation.js +4 -2
- package/dist/components/navigation/navigation-sidebar-item.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +35 -35
- package/dist/components/product-demo/index.cjs +45 -45
- package/dist/components/related-content/index.cjs +17 -17
- package/dist/components/tickets/index.cjs +39 -39
- package/dist/components/ui/allowed-domains-input.d.ts.map +1 -1
- package/dist/components/ui/allowed-domains-input.js +1 -0
- package/dist/components/ui/button/button-styles.d.ts +12 -4
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +99 -7
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +3 -0
- package/dist/components/ui/file-manager/file-manager-breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-breadcrumb.js +1 -0
- package/dist/components/ui/file-manager/index.cjs +56 -55
- package/dist/components/ui/file-upload.d.ts.map +1 -1
- package/dist/components/ui/file-upload.js +5 -3
- package/dist/components/ui/hidden-tags-popup.js +1 -1
- package/dist/components/ui/hover-dropdown.js +1 -1
- package/dist/components/ui/index.cjs +32 -32
- package/dist/components/ui/info-card.js +1 -1
- package/dist/components/ui/info-section.d.ts.map +1 -1
- package/dist/components/ui/info-section.js +1 -0
- package/dist/components/ui/loading-scope.d.ts.map +1 -1
- package/dist/components/ui/loading-scope.js +2 -2
- package/dist/components/ui/modal-v2.js +1 -1
- package/dist/components/ui/organization-card.d.ts.map +1 -1
- package/dist/components/ui/organization-card.js +2 -1
- package/dist/components/ui/page-actions.d.ts +2 -2
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/password-input.js +1 -1
- package/dist/components/ui/service-card.js +3 -3
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.js +3 -3
- package/dist/components/ui/test-run.d.ts.map +1 -1
- package/dist/components/ui/test-run.js +2 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +2 -1
- package/dist/components/ui/ticket-attachments-list.d.ts.map +1 -1
- package/dist/components/ui/ticket-attachments-list.js +3 -2
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-info-section.js +1 -0
- package/dist/components/ui/ticket-note-card.d.ts.map +1 -1
- package/dist/components/ui/ticket-note-card.js +6 -4
- package/dist/components/ui/ticket-status-config-row.d.ts.map +1 -1
- package/dist/components/ui/ticket-status-config-row.js +1 -10
- package/dist/components/ui/toaster.js +1 -1
- package/dist/components/vendor-display-button.js +1 -1
- package/dist/{devices-TDKCKWRP.cjs → devices-DMMMEO2B.cjs} +33 -33
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/{embeddable-chat-HEL4Z2FL.cjs → embeddable-chat-OSSPL7L4.cjs} +226 -204
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +48 -48
- package/dist/{knowledge-A5KJ4CAD.cjs → knowledge-XQQXVV6C.cjs} +33 -33
- package/dist/{logs-6WRBPIMM.cjs → logs-BHKMDCBP.cjs} +41 -41
- package/dist/{policies-ICRXHW3H.cjs → policies-5IY7QUED.cjs} +36 -36
- package/dist/{remote-session-MEV5JL2Z.cjs → remote-session-IEOWFBF7.cjs} +17 -17
- package/dist/{scripts-AZVCZE6C.cjs → scripts-ZQXRBGVK.cjs} +39 -39
- package/dist/{software-update-4ZBCGJGA.cjs → software-update-RGFRYL3N.cjs} +36 -36
- package/dist/{tickets-board-BJPQD3HE.cjs → tickets-board-EYKLSB36.cjs} +17 -17
- package/dist/{video-file-player-DETXW4OJ.cjs → video-file-player-ZU666VUY.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/category-card.tsx +2 -0
- package/src/components/chat/ask-display.tsx +2 -2
- package/src/components/chat/chat-context-memory-bar.tsx +2 -2
- package/src/components/chat/chat-context-picker.tsx +4 -2
- package/src/components/chat/chat-input.tsx +3 -1
- package/src/components/chat/chat-nav-sidebar.tsx +10 -1
- package/src/components/chat/embeddable-chat.tsx +21 -4
- package/src/components/chat/guide-mode-banner.tsx +1 -1
- package/src/components/chat/mingo-welcome.tsx +1 -1
- package/src/components/features/capability-explorer.tsx +8 -1
- package/src/components/features/command-box.tsx +1 -1
- package/src/components/features/devices/devices-grid-filters.tsx +8 -1
- package/src/components/features/filters-dropdown.tsx +6 -1
- package/src/components/features/model-token-rates.tsx +1 -1
- package/src/components/features/notifications/notification-drawer.tsx +1 -0
- package/src/components/features/notifications/notification-tile.tsx +1 -1
- package/src/components/features/paths-display.tsx +1 -1
- package/src/components/features/remote-session/remote-session-events.tsx +2 -0
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +1 -1
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +1 -1
- package/src/components/features/select-button.tsx +2 -2
- package/src/components/features/tags-selector.tsx +1 -1
- package/src/components/loading/loading-region.tsx +4 -1
- package/src/components/navigation/mobile-burger-menu.tsx +3 -1
- package/src/components/navigation/multi-level-navigation.tsx +6 -2
- package/src/components/navigation/navigation-sidebar-item.tsx +5 -5
- package/src/components/ui/allowed-domains-input.tsx +1 -0
- package/src/components/ui/button/button-styles.ts +106 -9
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/file-manager/file-manager-breadcrumb.tsx +1 -0
- package/src/components/ui/file-upload.tsx +5 -3
- package/src/components/ui/hidden-tags-popup.tsx +1 -1
- package/src/components/ui/hover-dropdown.tsx +1 -1
- package/src/components/ui/info-card.tsx +1 -1
- package/src/components/ui/info-section.tsx +2 -0
- package/src/components/ui/loading-scope.tsx +2 -1
- package/src/components/ui/modal-v2.tsx +1 -1
- package/src/components/ui/organization-card.tsx +3 -1
- package/src/components/ui/page-actions.tsx +14 -2
- package/src/components/ui/password-input.tsx +1 -1
- package/src/components/ui/service-card.tsx +3 -3
- package/src/components/ui/tab-selector.tsx +5 -3
- package/src/components/ui/test-run.tsx +2 -1
- package/src/components/ui/textarea.tsx +3 -1
- package/src/components/ui/ticket-attachments-list.tsx +3 -2
- package/src/components/ui/ticket-info-section.tsx +1 -0
- package/src/components/ui/ticket-note-card.tsx +6 -4
- package/src/components/ui/ticket-status-config-row.tsx +1 -6
- package/src/components/ui/toaster.tsx +1 -1
- package/src/components/vendor-display-button.tsx +1 -1
- package/dist/case-study-card-CYJ3JXU6.cjs +0 -23
|
@@ -29,7 +29,7 @@ var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkN2SVJJLUcjs = require('./chunk-N2SVJJLU.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -41,7 +41,7 @@ var _chunk3IHGS44Wcjs = require('./chunk-3IHGS44W.cjs');
|
|
|
41
41
|
var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkLUWYWYNCcjs = require('./chunk-LUWYWYNC.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
@@ -67,11 +67,11 @@ var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
|
|
|
67
67
|
var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkFLS6DZENcjs = require('./chunk-FLS6DZEN.cjs');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
var
|
|
74
|
+
var _chunkMGEUZRNQcjs = require('./chunk-MGEUZRNQ.cjs');
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
var _chunkKHKPLOU4cjs = require('./chunk-KHKPLOU4.cjs');
|
|
@@ -808,7 +808,7 @@ function usePlatformConfig() {
|
|
|
808
808
|
label: platform.label
|
|
809
809
|
}))
|
|
810
810
|
];
|
|
811
|
-
const selectableOptions =
|
|
811
|
+
const selectableOptions = _chunkN2SVJJLUcjs.transformPlatformConfigsToOptions.call(void 0, platforms);
|
|
812
812
|
return {
|
|
813
813
|
platforms,
|
|
814
814
|
platformOptions,
|
|
@@ -857,8 +857,8 @@ function ToastHeader({
|
|
|
857
857
|
className,
|
|
858
858
|
showProgress = true
|
|
859
859
|
}) {
|
|
860
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
860
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "relative flex w-full items-start gap-2 overflow-hidden bg-ods-card p-3", className), children: [
|
|
861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "size-[9px] rounded-full", dotColorByVariant[variant]) }) }),
|
|
862
862
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
863
863
|
title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
864
864
|
"p",
|
|
@@ -878,9 +878,9 @@ function ToastHeader({
|
|
|
878
878
|
) : null
|
|
879
879
|
] }),
|
|
880
880
|
dismissible ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
|
|
881
|
+
_chunkFLS6DZENcjs.Button,
|
|
882
882
|
{
|
|
883
|
-
variant: "
|
|
883
|
+
variant: "bare",
|
|
884
884
|
size: "icon-sm",
|
|
885
885
|
type: "button",
|
|
886
886
|
"aria-label": "Close",
|
|
@@ -892,7 +892,7 @@ function ToastHeader({
|
|
|
892
892
|
showProgress && duration !== Infinity && duration > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
893
|
"div",
|
|
894
894
|
{
|
|
895
|
-
className:
|
|
895
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "absolute inset-x-0 bottom-0 h-1 origin-left", progressColorByVariant[variant]),
|
|
896
896
|
style: {
|
|
897
897
|
animation: `toast-progress ${duration}ms linear forwards`
|
|
898
898
|
}
|
|
@@ -913,7 +913,7 @@ function ToastCard({
|
|
|
913
913
|
"div",
|
|
914
914
|
{
|
|
915
915
|
role: "status",
|
|
916
|
-
className:
|
|
916
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
917
917
|
"w-[368px] max-w-[calc(100vw-32px)] overflow-hidden rounded-md border border-ods-border bg-ods-card shadow-lg",
|
|
918
918
|
className
|
|
919
919
|
),
|
|
@@ -961,7 +961,7 @@ function CommandApprovalToast({
|
|
|
961
961
|
"div",
|
|
962
962
|
{
|
|
963
963
|
role: "status",
|
|
964
|
-
className:
|
|
964
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
965
965
|
"flex w-[368px] max-w-[calc(100vw-32px)] flex-col overflow-hidden rounded-md border border-ods-border bg-ods-bg shadow-lg",
|
|
966
966
|
className
|
|
967
967
|
),
|
|
@@ -988,13 +988,13 @@ function CommandApprovalToast({
|
|
|
988
988
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden", children: [
|
|
989
989
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-11 w-full items-center gap-2 border-b border-ods-border bg-ods-card px-3 py-2", children: [
|
|
990
990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h6", title: command, children: command }),
|
|
991
|
-
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
991
|
+
toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLUWYWYNCcjs.ToolIcon, { toolType, size: 16 }) : null
|
|
992
992
|
] }),
|
|
993
993
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 bg-ods-bg p-3", children: [
|
|
994
994
|
approvalDescription ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: approvalDescription }) : null,
|
|
995
995
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4", children: [
|
|
996
996
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
997
|
-
|
|
997
|
+
_chunkFLS6DZENcjs.Button,
|
|
998
998
|
{
|
|
999
999
|
variant: "accent",
|
|
1000
1000
|
size: "small",
|
|
@@ -1006,7 +1006,7 @@ function CommandApprovalToast({
|
|
|
1006
1006
|
}
|
|
1007
1007
|
),
|
|
1008
1008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1009
|
-
|
|
1009
|
+
_chunkFLS6DZENcjs.Button,
|
|
1010
1010
|
{
|
|
1011
1011
|
variant: "outline",
|
|
1012
1012
|
size: "small",
|
|
@@ -1022,7 +1022,7 @@ function CommandApprovalToast({
|
|
|
1022
1022
|
] })
|
|
1023
1023
|
}
|
|
1024
1024
|
),
|
|
1025
|
-
expanded ? null : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1025
|
+
expanded ? null : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "row", type: "button", onClick: () => setExpanded(true), "aria-expanded": false, children: [
|
|
1026
1026
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1", children: "Show Command" }),
|
|
1027
1027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSKI6NKOEcjs.Chevron02DownIcon, { size: 16 })
|
|
1028
1028
|
] })
|
|
@@ -1290,7 +1290,7 @@ function useDownloads({
|
|
|
1290
1290
|
initialData,
|
|
1291
1291
|
enabled: enabledGiven = true
|
|
1292
1292
|
} = {}) {
|
|
1293
|
-
const held =
|
|
1293
|
+
const held = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, );
|
|
1294
1294
|
const enabled = enabledGiven && !held;
|
|
1295
1295
|
const entry = entryFor(endpoint);
|
|
1296
1296
|
if (initialData && entry.state.data !== initialData && !entry.request) {
|
|
@@ -1323,10 +1323,10 @@ function useDownloads({
|
|
|
1323
1323
|
}
|
|
1324
1324
|
function useVisitorDesktopDownload(options = {}) {
|
|
1325
1325
|
const enabled = _nullishCoalesce(options.enabled, () => ( true));
|
|
1326
|
-
const visitor =
|
|
1326
|
+
const visitor = _chunkN2SVJJLUcjs.useVisitorOs.call(void 0, );
|
|
1327
1327
|
const { data, error } = useDownloads(options);
|
|
1328
1328
|
if (!enabled || !visitor.known || !data && !error) return { known: false, download: null };
|
|
1329
|
-
const os =
|
|
1329
|
+
const os = _chunkN2SVJJLUcjs.desktopOsOf.call(void 0, visitor.os);
|
|
1330
1330
|
const download = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.desktop, 'access', _23 => _23.find, 'call', _24 => _24((row) => row.kind === "binary" && row.url && row.os === os)]), () => ( null));
|
|
1331
1331
|
return { known: true, download };
|
|
1332
1332
|
}
|
|
@@ -2628,7 +2628,7 @@ function useAccessCodeIntegration() {
|
|
|
2628
2628
|
const validate = async (email, code) => {
|
|
2629
2629
|
setIsValidating(true);
|
|
2630
2630
|
try {
|
|
2631
|
-
return await
|
|
2631
|
+
return await _chunkN2SVJJLUcjs.validateAccessCode.call(void 0, email, code, endpoints);
|
|
2632
2632
|
} finally {
|
|
2633
2633
|
setIsValidating(false);
|
|
2634
2634
|
}
|
|
@@ -2636,7 +2636,7 @@ function useAccessCodeIntegration() {
|
|
|
2636
2636
|
const consume = async (email, code) => {
|
|
2637
2637
|
setIsConsuming(true);
|
|
2638
2638
|
try {
|
|
2639
|
-
return await
|
|
2639
|
+
return await _chunkN2SVJJLUcjs.consumeAccessCode.call(void 0, email, code, endpoints);
|
|
2640
2640
|
} finally {
|
|
2641
2641
|
setIsConsuming(false);
|
|
2642
2642
|
}
|
|
@@ -2645,7 +2645,7 @@ function useAccessCodeIntegration() {
|
|
|
2645
2645
|
setIsValidating(true);
|
|
2646
2646
|
setIsConsuming(true);
|
|
2647
2647
|
try {
|
|
2648
|
-
return await
|
|
2648
|
+
return await _chunkN2SVJJLUcjs.validateAndConsumeAccessCode.call(void 0, email, code, endpoints);
|
|
2649
2649
|
} finally {
|
|
2650
2650
|
setIsValidating(false);
|
|
2651
2651
|
setIsConsuming(false);
|
|
@@ -2675,7 +2675,7 @@ async function revalidateMirror(mirrorPath) {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
function useClaudeMirrorSrc(url) {
|
|
2677
2677
|
const endpoints = _chunkMZ4KBSH7cjs.useEndpointsRuntime.call(void 0, );
|
|
2678
|
-
const mirrorPath =
|
|
2678
|
+
const mirrorPath = _chunkN2SVJJLUcjs.toClaudeMirrorPath.call(void 0, url, _optionalChain([endpoints, 'optionalAccess', _32 => _32.storageViewBaseUrl]));
|
|
2679
2679
|
const [resolved, setResolved] = _react.useState.call(void 0, null);
|
|
2680
2680
|
const state = resolved && resolved.key === mirrorPath ? resolved.value : { src: null, status: mirrorPath ? "probing" : "absent" };
|
|
2681
2681
|
_react.useEffect.call(void 0, () => {
|
|
@@ -2778,8 +2778,8 @@ function useHumanitySignals() {
|
|
|
2778
2778
|
const startedAtRef = _react.useRef.call(void 0, mountedAt);
|
|
2779
2779
|
const getSignals = _react.useCallback.call(void 0,
|
|
2780
2780
|
() => ({
|
|
2781
|
-
[
|
|
2782
|
-
[
|
|
2781
|
+
[_chunkN2SVJJLUcjs.HONEYPOT_FIELD]: _nullishCoalesce(_optionalChain([ref, 'access', _34 => _34.current, 'optionalAccess', _35 => _35.value]), () => ( "")),
|
|
2782
|
+
[_chunkN2SVJJLUcjs.ELAPSED_MS_FIELD]: typeof performance !== "undefined" ? Math.round(performance.now() - startedAtRef.current) : 0
|
|
2783
2783
|
}),
|
|
2784
2784
|
[]
|
|
2785
2785
|
);
|
|
@@ -2787,7 +2787,7 @@ function useHumanitySignals() {
|
|
|
2787
2787
|
if (ref.current) ref.current.value = "";
|
|
2788
2788
|
if (typeof performance !== "undefined") startedAtRef.current = performance.now();
|
|
2789
2789
|
}, []);
|
|
2790
|
-
return { honeypotInputProps: { ref, name:
|
|
2790
|
+
return { honeypotInputProps: { ref, name: _chunkN2SVJJLUcjs.HONEYPOT_FIELD }, getSignals, resetSignals };
|
|
2791
2791
|
}
|
|
2792
2792
|
|
|
2793
2793
|
// src/hooks/use-form-rescue.ts
|
|
@@ -2800,9 +2800,9 @@ function readLocalDraft(formId) {
|
|
|
2800
2800
|
const raw = window.localStorage.getItem(STORAGE_PREFIX + formId);
|
|
2801
2801
|
if (!raw) return null;
|
|
2802
2802
|
const parsed = JSON.parse(raw);
|
|
2803
|
-
if (!
|
|
2803
|
+
if (!_chunkN2SVJJLUcjs.isFormAttemptId.call(void 0, parsed.attemptId) || typeof parsed.savedAt !== "number") return null;
|
|
2804
2804
|
if (Date.now() - parsed.savedAt > LOCAL_DRAFT_TTL_MS) return null;
|
|
2805
|
-
return { attemptId: parsed.attemptId, values:
|
|
2805
|
+
return { attemptId: parsed.attemptId, values: _chunkN2SVJJLUcjs.sanitizeRescueValues.call(void 0, parsed.values), savedAt: parsed.savedAt };
|
|
2806
2806
|
} catch (e8) {
|
|
2807
2807
|
return null;
|
|
2808
2808
|
}
|
|
@@ -2822,9 +2822,9 @@ function clearLocalDraft(formId) {
|
|
|
2822
2822
|
function completeFormRescue(form, attemptId) {
|
|
2823
2823
|
if (!form || typeof window === "undefined") return;
|
|
2824
2824
|
const local = readLocalDraft(form.id);
|
|
2825
|
-
|
|
2825
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.submitted, {
|
|
2826
2826
|
form_id: form.id,
|
|
2827
|
-
attempt_id:
|
|
2827
|
+
attempt_id: _chunkN2SVJJLUcjs.isFormAttemptId.call(void 0, attemptId) ? attemptId : _nullishCoalesce(_optionalChain([local, 'optionalAccess', _36 => _36.attemptId]), () => ( null))
|
|
2828
2828
|
});
|
|
2829
2829
|
clearLocalDraft(form.id);
|
|
2830
2830
|
}
|
|
@@ -2885,7 +2885,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2885
2885
|
}).catch(() => void 0);
|
|
2886
2886
|
} catch (e12) {
|
|
2887
2887
|
}
|
|
2888
|
-
|
|
2888
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.progress, {
|
|
2889
2889
|
form_id: formId,
|
|
2890
2890
|
attempt_id: attemptId(),
|
|
2891
2891
|
fields_filled: body.fields_filled,
|
|
@@ -2898,14 +2898,14 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2898
2898
|
_react.useEffect.call(void 0, () => {
|
|
2899
2899
|
if (!formId || typeof window === "undefined") return void 0;
|
|
2900
2900
|
let cancelled = false;
|
|
2901
|
-
const token = new URLSearchParams(window.location.search).get(
|
|
2901
|
+
const token = new URLSearchParams(window.location.search).get(_chunkN2SVJJLUcjs.FORM_RESCUE_RESUME_PARAM);
|
|
2902
2902
|
const restoreLocal = () => {
|
|
2903
2903
|
const local = readLocalDraft(formId);
|
|
2904
2904
|
if (!local) return;
|
|
2905
2905
|
attemptIdRef.current = local.attemptId;
|
|
2906
2906
|
if (Object.keys(local.values).length) _optionalChain([onRestoreRef, 'access', _41 => _41.current, 'optionalCall', _42 => _42(local.values)]);
|
|
2907
2907
|
};
|
|
2908
|
-
if (
|
|
2908
|
+
if (_chunkN2SVJJLUcjs.isResumeToken.call(void 0, token) && draftsUrl) {
|
|
2909
2909
|
_chunk7PNRXJX2cjs.contentFetch.call(void 0, `${draftsUrl}/resume/${encodeURIComponent(token)}`).then(async (res) => res.ok ? await res.json() : null).then((data) => {
|
|
2910
2910
|
if (cancelled) return;
|
|
2911
2911
|
if (!data || data.form_id !== formId) {
|
|
@@ -2913,8 +2913,8 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2913
2913
|
return;
|
|
2914
2914
|
}
|
|
2915
2915
|
resumeTokenRef.current = token;
|
|
2916
|
-
_optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(
|
|
2917
|
-
|
|
2916
|
+
_optionalChain([onRestoreRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44(_chunkN2SVJJLUcjs.sanitizeRescueValues.call(void 0, data.values))]);
|
|
2917
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.resumed, { form_id: formId, attempt_id: attemptId() });
|
|
2918
2918
|
}).catch(() => {
|
|
2919
2919
|
if (!cancelled) restoreLocal();
|
|
2920
2920
|
});
|
|
@@ -2934,7 +2934,7 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2934
2934
|
timerRef.current = null;
|
|
2935
2935
|
}
|
|
2936
2936
|
send(true);
|
|
2937
|
-
|
|
2937
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.abandoned, {
|
|
2938
2938
|
form_id: formId,
|
|
2939
2939
|
attempt_id: attemptId(),
|
|
2940
2940
|
last_field: _nullishCoalesce(_optionalChain([latestRef, 'access', _45 => _45.current, 'optionalAccess', _46 => _46.last_field]), () => ( null)),
|
|
@@ -2958,22 +2958,22 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2958
2958
|
const names = fieldNamesRef.current;
|
|
2959
2959
|
const visible = {};
|
|
2960
2960
|
for (const name of names) visible[name] = values[name];
|
|
2961
|
-
const filled =
|
|
2961
|
+
const filled = _chunkN2SVJJLUcjs.filledRescueFields.call(void 0, visible, names);
|
|
2962
2962
|
if (!filled.length) return;
|
|
2963
2963
|
if (!startedRef.current) {
|
|
2964
2964
|
startedRef.current = true;
|
|
2965
|
-
|
|
2965
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.started, { form_id: formId, attempt_id: attemptId() });
|
|
2966
2966
|
}
|
|
2967
|
-
const clean =
|
|
2968
|
-
if (!leadCapturedRef.current &&
|
|
2967
|
+
const clean = _chunkN2SVJJLUcjs.sanitizeRescueValues.call(void 0, visible);
|
|
2968
|
+
if (!leadCapturedRef.current && _chunkN2SVJJLUcjs.isRescueEmail.call(void 0, clean.email)) {
|
|
2969
2969
|
leadCapturedRef.current = true;
|
|
2970
|
-
|
|
2970
|
+
_chunkN2SVJJLUcjs.captureFormRescueEvent.call(void 0, _chunkN2SVJJLUcjs.FORM_RESCUE_EVENTS.leadCaptured, { form_id: formId, attempt_id: attemptId() });
|
|
2971
2971
|
}
|
|
2972
2972
|
latestRef.current = {
|
|
2973
2973
|
values: clean,
|
|
2974
2974
|
fields_filled: filled,
|
|
2975
|
-
last_field:
|
|
2976
|
-
completion_pct:
|
|
2975
|
+
last_field: _chunkN2SVJJLUcjs.sanitizeRescueFieldName.call(void 0, lastField),
|
|
2976
|
+
completion_pct: _chunkN2SVJJLUcjs.rescueCompletionPct.call(void 0, filled.length, names.length)
|
|
2977
2977
|
};
|
|
2978
2978
|
dirtyRef.current = true;
|
|
2979
2979
|
writeLocalDraft(formId, { attemptId: attemptId(), values: clean, savedAt: Date.now() });
|
|
@@ -2981,15 +2981,15 @@ function useFormRescue({ form, fieldNames, onRestore, getSignals }) {
|
|
|
2981
2981
|
timerRef.current = setTimeout(() => {
|
|
2982
2982
|
timerRef.current = null;
|
|
2983
2983
|
send(false);
|
|
2984
|
-
},
|
|
2984
|
+
}, _chunkN2SVJJLUcjs.FORM_RESCUE_DEBOUNCE_MS);
|
|
2985
2985
|
},
|
|
2986
2986
|
[attemptId, formId, send]
|
|
2987
2987
|
);
|
|
2988
2988
|
const submitFields = _react.useCallback.call(void 0, () => {
|
|
2989
2989
|
if (!formId) return {};
|
|
2990
2990
|
return {
|
|
2991
|
-
[
|
|
2992
|
-
...resumeTokenRef.current ? { [
|
|
2991
|
+
[_chunkN2SVJJLUcjs.FORM_RESCUE_ATTEMPT_FIELD]: attemptId(),
|
|
2992
|
+
...resumeTokenRef.current ? { [_chunkN2SVJJLUcjs.FORM_RESCUE_RESUME_FIELD]: resumeTokenRef.current } : {}
|
|
2993
2993
|
};
|
|
2994
2994
|
}, [attemptId, formId]);
|
|
2995
2995
|
const complete = _react.useCallback.call(void 0, () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMGEUZRNQcjs = require('./chunk-MGEUZRNQ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/components/chat/utils/icon-loading.tsx
|
|
7
7
|
var _react = require('react');
|
|
@@ -528,7 +528,7 @@ function getDynamicIcon(iconName, size = "md", className) {
|
|
|
528
528
|
return _react.createElement.call(void 0, NamedIcon, { icon: GLOBE, className: SIZE_CLASSES[size] });
|
|
529
529
|
}
|
|
530
530
|
const sizeClass = SIZE_CLASSES[size];
|
|
531
|
-
const finalClassName =
|
|
531
|
+
const finalClassName = _chunkMGEUZRNQcjs.cn.call(void 0, sizeClass, className);
|
|
532
532
|
const canonicalKey = normalizeIconKey(iconName);
|
|
533
533
|
if (Object.prototype.hasOwnProperty.call(ICON_REGISTRY, canonicalKey)) {
|
|
534
534
|
const colorConfig = ICON_COLORS[canonicalKey] || {};
|
|
@@ -8,7 +8,7 @@ var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkCS5SZJFVcjs = require('./chunk-CS5SZJFV.cjs');
|
|
12
12
|
|
|
13
13
|
// src/utils/color-analysis.ts
|
|
14
14
|
var DESIGN_PALETTE = [
|
|
@@ -243,13 +243,13 @@ function getSemanticColor(semanticName, platform) {
|
|
|
243
243
|
}
|
|
244
244
|
function getPlatformConfig(platform) {
|
|
245
245
|
const currentPlatform = platform || getCurrentPlatform();
|
|
246
|
-
const isDarkTheme =
|
|
246
|
+
const isDarkTheme = _chunkCS5SZJFVcjs.PLATFORM_THEME === "dark";
|
|
247
247
|
return {
|
|
248
248
|
platform: currentPlatform,
|
|
249
|
-
accentColor:
|
|
249
|
+
accentColor: _chunkCS5SZJFVcjs.getPlatformAccentColor.call(void 0, currentPlatform),
|
|
250
250
|
isDarkTheme,
|
|
251
251
|
isLightTheme: !isDarkTheme,
|
|
252
|
-
brandName:
|
|
252
|
+
brandName: _chunkCS5SZJFVcjs.getPlatformDisplayName.call(void 0, currentPlatform)
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function usePlatformColors(platform) {
|