@qredence/fleet 0.5.1 → 0.5.7
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/CHANGELOG.md +19 -0
- package/bin/fleet-prime.mjs +6 -0
- package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +1 -0
- package/dist/web/client/assets/agent-activity-CDcDNVC6.js +1 -0
- package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +1 -0
- package/dist/web/client/assets/analytics-stub-B8MIkiDB.js +1 -0
- package/dist/web/client/assets/{artifacts-panel-CX62LQ13.js → artifacts-panel-CmHYXfoo.js} +1 -1
- package/dist/web/client/assets/button-BV9NafmI.js +1 -0
- package/dist/web/client/assets/{chat-CsepBQwy.js → chat-W-yOMyG_.js} +1 -1
- package/dist/web/client/assets/chat-command-palette-DiG-i3uJ.js +1 -0
- package/dist/web/client/assets/check-JjHKAZas.js +1 -0
- package/dist/web/client/assets/chevron-up-CnSvySGH.js +1 -0
- package/dist/web/client/assets/circle-alert-CONlFReH.js +1 -0
- package/dist/web/client/assets/circle-x-CkKCB__4.js +1 -0
- package/dist/web/client/assets/citations-CpTFUvx7.js +2 -0
- package/dist/web/client/assets/collapsible-BoXtZZWN.js +1 -0
- package/dist/web/client/assets/command-Cx-UYeQ9.js +1 -0
- package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +1 -0
- package/dist/web/client/assets/dialog-Dh7WpGIu.js +1 -0
- package/dist/web/client/assets/dist-BPaFisIZ.js +41 -0
- package/dist/web/client/assets/earth-DGZXAN5r.js +1 -0
- package/dist/web/client/assets/ease-u56MhKYS.js +1 -0
- package/dist/web/client/assets/file-text-T-NcAlZs.js +1 -0
- package/dist/web/client/assets/fleet-message-queue-B6zAK-hX.js +1 -0
- package/dist/web/client/assets/{fleet-pi-tool-renderer-BD_ZAjlG.js → fleet-pi-tool-renderer-Btq9mDUe.js} +29 -29
- package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +1 -0
- package/dist/web/client/assets/fleet-subagent-list-iszvrvy_.js +1 -0
- package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +1 -0
- package/dist/web/client/assets/{fork-picker-dialog-C2cVJUbf.js → fork-picker-dialog-CAhWx0G5.js} +1 -1
- package/dist/web/client/assets/gauge-DNpstbBn.js +1 -0
- package/dist/web/client/assets/generative-text-renderer-C1JrmYfx.js +6 -0
- package/dist/web/client/assets/globals-Bfr0jrPq.css +2 -0
- package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +1 -0
- package/dist/web/client/assets/image-BbPmlw-n.js +1 -0
- package/dist/web/client/assets/index-QgUwd4m8.js +12 -0
- package/dist/web/client/assets/input-Bol3TP4v.js +1 -0
- package/dist/web/client/assets/input-group-D5gi9zBK.js +1 -0
- package/dist/web/client/assets/{ipython-tool-BfeIa0nK.js → ipython-tool-BrMePqD-.js} +1 -1
- package/dist/web/client/assets/{markdown-DG7pUdsX.js → markdown-RD_ydkyD.js} +2 -2
- package/dist/web/client/assets/{markdown-code-BgMzpy7O.js → markdown-code-ETqXqY8E.js} +1 -1
- package/dist/web/client/assets/message-square-hbDao-A1.js +1 -0
- package/dist/web/client/assets/model-selector-list-CJY9pyt2.js +1 -0
- package/dist/web/client/assets/notify-DKTqXChG.js +1 -0
- package/dist/web/client/assets/{openui-renderer-DlUo6ehT.js → openui-renderer-BZMghkzQ.js} +8 -8
- package/dist/web/client/assets/{prime-agent-artifacts-CHGb5V_j.js → prime-agent-artifacts-C-g1VPiW.js} +1 -1
- package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +1 -0
- package/dist/web/client/assets/provider-catalog-CHKFGwHr.js +1 -0
- package/dist/web/client/assets/provider-label-KkqVX1CI.js +1 -0
- package/dist/web/client/assets/range-BWOHiLNe.js +1 -0
- package/dist/web/client/assets/refresh-cw-IThTJ3j-.js +1 -0
- package/dist/web/client/assets/repl-panel-CCh4ly7J.js +1 -0
- package/dist/web/client/assets/{resource-helpers-ULlyU8qK.js → resource-helpers-Q2T0YCMO.js} +1 -1
- package/dist/web/client/assets/resources-panel-Bo8dfUdm.js +1 -0
- package/dist/web/client/assets/right-panel-context-B2VAZ2p4.js +1 -0
- package/dist/web/client/assets/right-panel-registry-C5fQcBKw.js +2 -0
- package/dist/web/client/assets/routes-C1hRkRkv.js +16 -0
- package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +1 -0
- package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +1 -0
- package/dist/web/client/assets/settings-dialog-CvvM6T0m.js +1 -0
- package/dist/web/client/assets/{sparkles-C5H3Jtgf.js → shield-check-CkA2viVW.js} +1 -1
- package/dist/web/client/assets/{skeleton-loaders-fStjEeRP.js → skeleton-loaders-DjGv9LLA.js} +1 -1
- package/dist/web/client/assets/sparkles-DuclzqlE.js +1 -0
- package/dist/web/client/assets/subagent-chat-panel-tGCg6gcn.js +1 -0
- package/dist/web/client/assets/subagent-transcript-NO0PR8RU.js +1 -0
- package/dist/web/client/assets/subagent-utils-CQbaJ1g-.js +1 -0
- package/dist/web/client/assets/subagents-panel-BkFLsQQY.js +1 -0
- package/dist/web/client/assets/surfaces-cW-gp56p.js +1 -0
- package/dist/web/client/assets/switch-CcOFiQBK.js +1 -0
- package/dist/web/client/assets/terminal-DOS1s1gm.js +1 -0
- package/dist/web/client/assets/toast-ATq44uAL.js +1 -0
- package/dist/web/client/assets/tool-result-pklnrxSW.js +4 -0
- package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +9 -0
- package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +1 -0
- package/dist/web/client/assets/useControlled-CJJ9BOQB.js +1 -0
- package/dist/web/client/assets/workspace-panel-BmMW7h7b.js +1 -0
- package/dist/web/client/assets/wrench-BJNNe07k.js +1 -0
- package/dist/web/client/assets/x-CsRC_tCI.js +1 -0
- package/dist/web/client/bundle-budget.json +10 -0
- package/dist/web/server/_tanstack-start-manifest_v-B4BnRTa_-DR7WQTT5.js +90 -0
- package/dist/web/server/agent-activity-Dx6AlDhN-JXOL2EXK.js +514 -0
- package/dist/web/server/{artifacts-panel-D9w1DHAN-FGRDCYU2.js → artifacts-panel-CloS3-ij-XWYXKL6A.js} +30 -22
- package/dist/web/server/{chat-command-palette-BaenPkCN-BHSOPGU4.js → chat-command-palette-Cc0uGvNm-GKENKTO7.js} +48 -22
- package/dist/web/server/{chunk-KPNGZR2R.js → chunk-3B6M63AO.js} +206 -209
- package/dist/web/server/chunk-3D4Z32XA.js +22 -0
- package/dist/web/server/chunk-3SSHBMDS.js +196 -0
- package/dist/web/server/chunk-4PQ6OD6J.js +22 -0
- package/dist/web/server/{chunk-5AVQZ4AZ.js → chunk-4UBOIY2S.js} +2 -1
- package/dist/web/server/chunk-56SEDI5N.js +19 -0
- package/dist/web/server/chunk-6QNW66XR.js +19 -0
- package/dist/web/server/chunk-744IIIDL.js +19 -0
- package/dist/web/server/{chunk-52SJQXO4.js → chunk-7PQTPSEE.js} +568 -568
- package/dist/web/server/{chunk-XYYNYFFD.js → chunk-7SR6WDM2.js} +2 -2
- package/dist/web/server/chunk-ANL4B775.js +60 -0
- package/dist/web/server/chunk-BNQWMQHD.js +35 -0
- package/dist/web/server/{chunk-X2TUFLTP.js → chunk-C5X6G26O.js} +436 -454
- package/dist/web/server/chunk-C66BSNA6.js +42 -0
- package/dist/web/server/{chunk-3GSFXWL5.js → chunk-DEUBJJZN.js} +4 -59
- package/dist/web/server/chunk-E365EOXJ.js +35 -0
- package/dist/web/server/{chunk-5WZFFNFY.js → chunk-EFAGCVZ3.js} +2 -23
- package/dist/web/server/{chunk-Y6LJ4WBI.js → chunk-EGQ6ZX4D.js} +563 -830
- package/dist/web/server/{chunk-DO3TVNGA.js → chunk-EKBKGAWX.js} +12 -10
- package/dist/web/server/{chunk-RPROZ2JC.js → chunk-F6MGAW3L.js} +133 -133
- package/dist/web/server/chunk-GABXCOY3.js +37 -0
- package/dist/web/server/chunk-GV7DJIHY.js +36 -0
- package/dist/web/server/{chunk-PWK2HJIV.js → chunk-HSJMLO36.js} +5 -252
- package/dist/web/server/{chunk-46VQY7SG.js → chunk-HU4AIJV3.js} +4 -4
- package/dist/web/server/{chunk-H64JLONZ.js → chunk-HZY3LBGP.js} +146 -2
- package/dist/web/server/{chunk-3IKSPTYI.js → chunk-J6MRJXUH.js} +22 -15
- package/dist/web/server/{chunk-FE4KN6T2.js → chunk-JOSTE7WK.js} +7 -5
- package/dist/web/server/{chunk-QJBEWT4E.js → chunk-K3BXQG3N.js} +27 -292
- package/dist/web/server/chunk-K4ESBQ3R.js +20 -0
- package/dist/web/server/chunk-KOIPYBJF.js +3773 -0
- package/dist/web/server/{chunk-44IVTHDV.js → chunk-KZSM3BHO.js} +28 -119
- package/dist/web/server/chunk-L46H6IDX.js +13 -0
- package/dist/web/server/chunk-LNGWHEE6.js +206 -0
- package/dist/web/server/{chunk-2U7PWSJX.js → chunk-MOSVTKH5.js} +262 -3661
- package/dist/web/server/{chunk-MDYA4NXK.js → chunk-NJRYX4A2.js} +4 -4
- package/dist/web/server/chunk-NNMZQN7Q.js +296 -0
- package/dist/web/server/{chunk-VHCAD46L.js → chunk-NPPG2GTW.js} +7 -7
- package/dist/web/server/{chunk-AZZHUVJR.js → chunk-PJNYH5SR.js} +7 -303
- package/dist/web/server/{chunk-7APYEQIO.js → chunk-QAE5SXDK.js} +1 -24
- package/dist/web/server/chunk-QTFCJGOY.js +189 -0
- package/dist/web/server/{chunk-FBOO3G67.js → chunk-RANJ6OJ3.js} +9 -9
- package/dist/web/server/chunk-RPBSDXJ4.js +62 -0
- package/dist/web/server/{chunk-PCJ5EKFE.js → chunk-RYHIJMFD.js} +63 -34
- package/dist/web/server/{chunk-NLIUTTKL.js → chunk-S3PQ6HKH.js} +1 -16
- package/dist/web/server/chunk-SG4W4SPQ.js +31 -0
- package/dist/web/server/{chunk-LESNF5O4.js → chunk-T23OO4SC.js} +2 -11
- package/dist/web/server/{chunk-FVWDJNXR.js → chunk-UNZJQ7CY.js} +6 -4
- package/dist/web/server/chunk-V3S6BVXO.js +22 -0
- package/dist/web/server/{chunk-M2FGGPNA.js → chunk-VGDP4YDU.js} +70 -45
- package/dist/web/server/{chunk-WK7CQS2N.js → chunk-W5GRNHV5.js} +51 -49
- package/dist/web/server/{chunk-HBZ6YKRB.js → chunk-WN77JNYY.js} +2 -2
- package/dist/web/server/{chunk-B2F6MLVZ.js → chunk-XFVL5ITL.js} +2246 -2228
- package/dist/web/server/{chunk-EIVNRYP3.js → chunk-XKYEXPLQ.js} +2 -17
- package/dist/web/server/{chunk-6GMKRR3C.js → chunk-XNYQSCB2.js} +2 -2
- package/dist/web/server/chunk-YHXAXJ6I.js +22 -0
- package/dist/web/server/chunk-YLMXYMLG.js +86 -0
- package/dist/web/server/chunk-YNGDUWCF.js +56 -0
- package/dist/web/server/chunk-ZJFA4F5X.js +280 -0
- package/dist/web/server/fleet-message-queue-Bn0_3Efe-G4BZR2EU.js +74 -0
- package/dist/web/server/fleet-pi-tool-renderer-C52SZmPx-CIAH3IV7.js +51 -0
- package/dist/web/server/fleet-reasoning-panel-C_e7wzVm-SDHEWDQT.js +199 -0
- package/dist/web/server/fleet-subagent-list-CQltKswG-EKCMQHDI.js +18 -0
- package/dist/web/server/fleet-tool-timeline-KENErMKg-HTN7SW3D.js +16 -0
- package/dist/web/server/{fork-picker-dialog-BZzfxdQd-Y725VJ7G.js → fork-picker-dialog-DK9YGQuB-4QEFWRU4.js} +6 -5
- package/dist/web/server/{markdown-Boni3lHk-AZGKDNAR.js → markdown-QcSUaLyd-6DJUK5NC.js} +1 -1
- package/dist/web/server/{markdown-code-BrWukbg3-D2GN4Y77.js → markdown-code-Dyo1_13a-52ZQZSPE.js} +2 -2
- package/dist/web/server/model-selector-list-CEfWjRc--GBW2GUO6.js +289 -0
- package/dist/web/server/{openui-renderer-Cg4RSE9k-7BTJIYZJ.js → openui-renderer-Dk0Ak9cW-MUJQHDAS.js} +19 -16
- package/dist/web/server/prompt-suggestions-BOmHi4-J-C563CHFU.js +30 -0
- package/dist/web/server/{repl-panel-BEQrC2ef-V3YEZ7EO.js → repl-panel-D9E8nkQy-L45ZNG2V.js} +4 -3
- package/dist/web/server/{resources-panel-CwKh4U9f-D3VDEMDW.js → resources-panel-B03M8bEp-SZG726N5.js} +7 -6
- package/dist/web/server/{router-CEahIUpn-SRG7XKIH.js → router-BE9HcX2W-JMQ3JWE5.js} +1756 -1374
- package/dist/web/server/{routes-BznemByz-F4DJAYIM.js → routes-CJTRGB1Z-WJKXJFFT.js} +3748 -3955
- package/dist/web/server/server.js +3 -3
- package/dist/web/server/{session-insights-panel-JfeTHE0d-3HZB3ZWI.js → session-insights-panel-BHZyKDTo-LRMAMA3O.js} +4 -2
- package/dist/web/server/{settings-dialog-DgeBMORv-7SRSENPM.js → settings-dialog-yDibpbBH-TCLJ7NRJ.js} +172 -161
- package/dist/web/server/{start-CLAD7RcD-56S4BWMM.js → start-BYVnok_H-IA6TWGA3.js} +1 -1
- package/dist/web/server/subagent-chat-panel-B1YoZIKO-DFRUDQJ2.js +82 -0
- package/dist/web/server/subagents-panel-dJJwpsEL-FTWWCHND.js +200 -0
- package/dist/web/server/{workspace-panel-y54P79_B-VPIYUXF6.js → workspace-panel-BC_H8Jri-5MHAEQQS.js} +22 -18
- package/package.json +5 -5
- package/dist/web/client/assets/analytics-stub-Jh3lkb8P.js +0 -1
- package/dist/web/client/assets/button-0At5xSyU.js +0 -1
- package/dist/web/client/assets/chat-command-palette-C4sSf8Kg.js +0 -1
- package/dist/web/client/assets/collapsible-DmyYcezk.js +0 -1
- package/dist/web/client/assets/command-CB6emP8m.js +0 -2
- package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +0 -6
- package/dist/web/client/assets/dialog-DZ44tBtH.js +0 -1
- package/dist/web/client/assets/dist-MNgIFxqY.js +0 -41
- package/dist/web/client/assets/ease-vFBiNFNK.js +0 -9
- package/dist/web/client/assets/file-text-BhQ0ZnoU.js +0 -1
- package/dist/web/client/assets/globals-CqqQdk2S.css +0 -2
- package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +0 -1
- package/dist/web/client/assets/index-DweoFRMs.js +0 -12
- package/dist/web/client/assets/input-CqC82Agz.js +0 -1
- package/dist/web/client/assets/input-group-H0TG-mkU.js +0 -1
- package/dist/web/client/assets/notify-Duj26eeZ.js +0 -1
- package/dist/web/client/assets/provider-catalog-BZhZuKSz.js +0 -1
- package/dist/web/client/assets/provider-label-jKm8v18u.js +0 -1
- package/dist/web/client/assets/range-vSJ7Ux_5.js +0 -2
- package/dist/web/client/assets/repl-panel-DiGS6uCw.js +0 -1
- package/dist/web/client/assets/resources-panel-DSU7VGX2.js +0 -1
- package/dist/web/client/assets/routes-CxlNCi_v.js +0 -16
- package/dist/web/client/assets/safe-external-url-Bl_78dpZ.js +0 -1
- package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +0 -1
- package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +0 -1
- package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +0 -1
- package/dist/web/client/assets/switch-BFEBpUEU.js +0 -1
- package/dist/web/client/assets/toast-C4s7FYYa.js +0 -1
- package/dist/web/client/assets/tool-result-CBzwwUE9.js +0 -4
- package/dist/web/client/assets/useBaseUiId-B9f7fokB.js +0 -1
- package/dist/web/client/assets/useControlled-CoY1jSuL.js +0 -1
- package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +0 -1
- package/dist/web/client/assets/x-BgciQ7_C.js +0 -1
- package/dist/web/server/_tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js +0 -82
- package/dist/web/server/chunk-ZEVZFLIY.js +0 -334
- package/dist/web/server/fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js +0 -35
- package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +0 -332
|
@@ -8,11 +8,7 @@ import {
|
|
|
8
8
|
useLabelableContext,
|
|
9
9
|
useLabelableId,
|
|
10
10
|
useRegisterFieldControl
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
Check,
|
|
14
|
-
useControlled
|
|
15
|
-
} from "./chunk-NLIUTTKL.js";
|
|
11
|
+
} from "./chunk-NPPG2GTW.js";
|
|
16
12
|
import {
|
|
17
13
|
COMPOSITE_KEYS,
|
|
18
14
|
FOCUSABLE_POPUP_PROPS,
|
|
@@ -35,7 +31,7 @@ import {
|
|
|
35
31
|
useFloatingTree,
|
|
36
32
|
useScrollLock,
|
|
37
33
|
useSurface
|
|
38
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JOSTE7WK.js";
|
|
39
35
|
import {
|
|
40
36
|
ARROW_DOWN,
|
|
41
37
|
ARROW_LEFT,
|
|
@@ -66,11 +62,17 @@ import {
|
|
|
66
62
|
visuallyHidden,
|
|
67
63
|
visuallyHiddenInput,
|
|
68
64
|
webkit
|
|
69
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-F6MGAW3L.js";
|
|
66
|
+
import {
|
|
67
|
+
Check
|
|
68
|
+
} from "./chunk-6QNW66XR.js";
|
|
69
|
+
import {
|
|
70
|
+
useControlled
|
|
71
|
+
} from "./chunk-S3PQ6HKH.js";
|
|
70
72
|
import {
|
|
71
73
|
useTransitionStatus,
|
|
72
74
|
useValueAsRef
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-7SR6WDM2.js";
|
|
74
76
|
import {
|
|
75
77
|
EMPTY_ARRAY,
|
|
76
78
|
EMPTY_OBJECT,
|
|
@@ -112,12 +114,12 @@ import {
|
|
|
112
114
|
useRenderElement,
|
|
113
115
|
useStableCallback,
|
|
114
116
|
windowResize
|
|
115
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-C5X6G26O.js";
|
|
116
118
|
import {
|
|
117
119
|
cn
|
|
118
120
|
} from "./chunk-DJMHPJBP.js";
|
|
119
121
|
|
|
120
|
-
// web/app/dist/server/assets/select-
|
|
122
|
+
// web/app/dist/server/assets/select-z_tHDChF.js
|
|
121
123
|
import * as React$1 from "react";
|
|
122
124
|
import { useLayoutEffect } from "react";
|
|
123
125
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
useRefWithInit,
|
|
18
18
|
useRenderElement,
|
|
19
19
|
useStableCallback
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-C5X6G26O.js";
|
|
21
21
|
import {
|
|
22
22
|
cn
|
|
23
23
|
} from "./chunk-DJMHPJBP.js";
|
|
@@ -30,20 +30,110 @@ import {
|
|
|
30
30
|
__toESM
|
|
31
31
|
} from "./chunk-L547YHC4.js";
|
|
32
32
|
|
|
33
|
-
// web/app/dist/server/assets/
|
|
34
|
-
import * as React$
|
|
33
|
+
// web/app/dist/server/assets/FloatingPortal-DaxE20ip.js
|
|
34
|
+
import * as React$3 from "react";
|
|
35
35
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
36
36
|
import * as ReactDOM from "react-dom";
|
|
37
|
+
function ownerDocument(node) {
|
|
38
|
+
return node?.ownerDocument || document;
|
|
39
|
+
}
|
|
40
|
+
var Button$1 = /* @__PURE__ */ React$3.forwardRef(function Button(componentProps, forwardedRef) {
|
|
41
|
+
const { render, className, disabled = false, focusableWhenDisabled = false, nativeButton = true, style, ...elementProps } = componentProps;
|
|
42
|
+
const { getButtonProps, buttonRef } = useButton({
|
|
43
|
+
disabled,
|
|
44
|
+
focusableWhenDisabled,
|
|
45
|
+
native: nativeButton
|
|
46
|
+
});
|
|
47
|
+
return useRenderElement("button", componentProps, {
|
|
48
|
+
state: { disabled },
|
|
49
|
+
ref: [forwardedRef, buttonRef],
|
|
50
|
+
props: [elementProps, getButtonProps]
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
54
|
+
var cx = clsx;
|
|
55
|
+
var cva = (base, config) => (props) => {
|
|
56
|
+
var _config_compoundVariants;
|
|
57
|
+
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
58
|
+
const { variants, defaultVariants } = config;
|
|
59
|
+
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
60
|
+
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
61
|
+
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
62
|
+
if (variantProp === null) return null;
|
|
63
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
64
|
+
return variants[variant][variantKey];
|
|
65
|
+
});
|
|
66
|
+
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
67
|
+
let [key, value] = param;
|
|
68
|
+
if (value === void 0) return acc;
|
|
69
|
+
acc[key] = value;
|
|
70
|
+
return acc;
|
|
71
|
+
}, {});
|
|
72
|
+
return cx(base, getVariantClassNames, config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
73
|
+
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
74
|
+
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
75
|
+
let [key, value] = param2;
|
|
76
|
+
return Array.isArray(value) ? value.includes({
|
|
77
|
+
...defaultVariants,
|
|
78
|
+
...propsWithoutUndefined
|
|
79
|
+
}[key]) : {
|
|
80
|
+
...defaultVariants,
|
|
81
|
+
...propsWithoutUndefined
|
|
82
|
+
}[key] === value;
|
|
83
|
+
}) ? [
|
|
84
|
+
...acc,
|
|
85
|
+
cvClass,
|
|
86
|
+
cvClassName
|
|
87
|
+
] : acc;
|
|
88
|
+
}, []), props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
89
|
+
};
|
|
90
|
+
var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
91
|
+
variants: {
|
|
92
|
+
variant: {
|
|
93
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
94
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
95
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
96
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
97
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
98
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
99
|
+
},
|
|
100
|
+
size: {
|
|
101
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
102
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
103
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
104
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
105
|
+
icon: "size-8",
|
|
106
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
107
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
108
|
+
"icon-lg": "size-9"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
defaultVariants: {
|
|
112
|
+
variant: "default",
|
|
113
|
+
size: "default"
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
function Button2({ className, variant = "default", size = "default", ...props }) {
|
|
117
|
+
return /* @__PURE__ */ jsx(Button$1, {
|
|
118
|
+
"data-slot": "button",
|
|
119
|
+
className: cn(buttonVariants({
|
|
120
|
+
variant,
|
|
121
|
+
size,
|
|
122
|
+
className
|
|
123
|
+
})),
|
|
124
|
+
...props
|
|
125
|
+
});
|
|
126
|
+
}
|
|
37
127
|
var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
38
|
-
var React$
|
|
128
|
+
var React$2 = __require("react");
|
|
39
129
|
function is(x, y) {
|
|
40
130
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
41
131
|
}
|
|
42
132
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
43
|
-
var useState2 = React$
|
|
44
|
-
var useEffect2 = React$
|
|
45
|
-
var useLayoutEffect = React$
|
|
46
|
-
var useDebugValue2 = React$
|
|
133
|
+
var useState2 = React$2.useState;
|
|
134
|
+
var useEffect2 = React$2.useEffect;
|
|
135
|
+
var useLayoutEffect = React$2.useLayoutEffect;
|
|
136
|
+
var useDebugValue2 = React$2.useDebugValue;
|
|
47
137
|
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
48
138
|
var value = getSnapshot(), _useState = useState2({ inst: {
|
|
49
139
|
value,
|
|
@@ -81,23 +171,23 @@ var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJS
|
|
|
81
171
|
return getSnapshot();
|
|
82
172
|
}
|
|
83
173
|
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
84
|
-
exports.useSyncExternalStore = void 0 !== React$
|
|
174
|
+
exports.useSyncExternalStore = void 0 !== React$2.useSyncExternalStore ? React$2.useSyncExternalStore : shim;
|
|
85
175
|
}));
|
|
86
176
|
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
87
177
|
module.exports = require_use_sync_external_store_shim_production();
|
|
88
178
|
}));
|
|
89
179
|
var require_with_selector_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
90
|
-
var React$
|
|
180
|
+
var React$1 = __require("react");
|
|
91
181
|
var shim = require_shim();
|
|
92
182
|
function is(x, y) {
|
|
93
183
|
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
94
184
|
}
|
|
95
185
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
96
186
|
var useSyncExternalStore = shim.useSyncExternalStore;
|
|
97
|
-
var useRef2 = React$
|
|
98
|
-
var useEffect2 = React$
|
|
99
|
-
var useMemo2 = React$
|
|
100
|
-
var useDebugValue2 = React$
|
|
187
|
+
var useRef2 = React$1.useRef;
|
|
188
|
+
var useEffect2 = React$1.useEffect;
|
|
189
|
+
var useMemo2 = React$1.useMemo;
|
|
190
|
+
var useDebugValue2 = React$1.useDebugValue;
|
|
101
191
|
exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
102
192
|
var instRef = useRef2(null);
|
|
103
193
|
if (null === instRef.current) {
|
|
@@ -179,7 +269,7 @@ function fastComponent(fn) {
|
|
|
179
269
|
return FastComponent;
|
|
180
270
|
}
|
|
181
271
|
function fastComponentRef(fn) {
|
|
182
|
-
return /* @__PURE__ */ React$
|
|
272
|
+
return /* @__PURE__ */ React$3.forwardRef(fastComponent(fn));
|
|
183
273
|
}
|
|
184
274
|
function createInstance() {
|
|
185
275
|
return { didInitialize: false };
|
|
@@ -189,7 +279,7 @@ function useStore(store, selector, a1, a2, a3) {
|
|
|
189
279
|
return useStoreImplementation(store, selector, a1, a2, a3);
|
|
190
280
|
}
|
|
191
281
|
function useStoreR19(store, selector, a1, a2, a3) {
|
|
192
|
-
const getSelection = React$
|
|
282
|
+
const getSelection = React$3.useCallback(() => selector(store.getSnapshot(), a1, a2, a3), [
|
|
193
283
|
store,
|
|
194
284
|
selector,
|
|
195
285
|
a1,
|
|
@@ -378,7 +468,7 @@ var ReactStore = class extends Store {
|
|
|
378
468
|
* by `useState` is updated before the next render (similarly to React's `useState`).
|
|
379
469
|
*/
|
|
380
470
|
useSyncedValue(key, value) {
|
|
381
|
-
React$
|
|
471
|
+
React$3.useDebugValue(key);
|
|
382
472
|
const store = this;
|
|
383
473
|
useIsoLayoutEffect(() => {
|
|
384
474
|
if (store.state[key] !== value) store.set(key, value);
|
|
@@ -426,7 +516,7 @@ var ReactStore = class extends Store {
|
|
|
426
516
|
* is non-undefined, the store's state at `key` is updated to match `controlled`.
|
|
427
517
|
*/
|
|
428
518
|
useControlledProp(key, controlled) {
|
|
429
|
-
React$
|
|
519
|
+
React$3.useDebugValue(key);
|
|
430
520
|
const store = this;
|
|
431
521
|
const isControlled = controlled !== void 0;
|
|
432
522
|
useIsoLayoutEffect(() => {
|
|
@@ -457,7 +547,7 @@ var ReactStore = class extends Store {
|
|
|
457
547
|
* @param key Key of the selector to use.
|
|
458
548
|
*/
|
|
459
549
|
useState(key, a1, a2, a3) {
|
|
460
|
-
React$
|
|
550
|
+
React$3.useDebugValue(key);
|
|
461
551
|
return useStore(this, this.selectors[key], a1, a2, a3);
|
|
462
552
|
}
|
|
463
553
|
/**
|
|
@@ -468,7 +558,7 @@ var ReactStore = class extends Store {
|
|
|
468
558
|
* @param fn Function to assign.
|
|
469
559
|
*/
|
|
470
560
|
useContextCallback(key, fn) {
|
|
471
|
-
React$
|
|
561
|
+
React$3.useDebugValue(key);
|
|
472
562
|
const stableFunction = useStableCallback(fn ?? NOOP);
|
|
473
563
|
this.context[key] = stableFunction;
|
|
474
564
|
}
|
|
@@ -479,7 +569,7 @@ var ReactStore = class extends Store {
|
|
|
479
569
|
* @param key Key of the state to set.
|
|
480
570
|
*/
|
|
481
571
|
useStateSetter(key) {
|
|
482
|
-
const ref = React$
|
|
572
|
+
const ref = React$3.useRef(void 0);
|
|
483
573
|
if (ref.current === void 0) ref.current = (value) => {
|
|
484
574
|
this.set(key, value);
|
|
485
575
|
};
|
|
@@ -515,9 +605,6 @@ function mergeCleanups(...cleanups) {
|
|
|
515
605
|
}
|
|
516
606
|
};
|
|
517
607
|
}
|
|
518
|
-
function ownerDocument(node) {
|
|
519
|
-
return node?.ownerDocument || document;
|
|
520
|
-
}
|
|
521
608
|
var EMPTY = 0;
|
|
522
609
|
var Timeout = class Timeout2 {
|
|
523
610
|
static create() {
|
|
@@ -844,8 +931,8 @@ var visuallyHiddenInput = {
|
|
|
844
931
|
...visuallyHiddenBase,
|
|
845
932
|
position: "absolute"
|
|
846
933
|
};
|
|
847
|
-
var FocusGuard = /* @__PURE__ */ React$
|
|
848
|
-
const [role, setRole] = React$
|
|
934
|
+
var FocusGuard = /* @__PURE__ */ React$3.forwardRef(function FocusGuard2(props, ref) {
|
|
935
|
+
const [role, setRole] = React$3.useState();
|
|
849
936
|
useIsoLayoutEffect(() => {
|
|
850
937
|
if (voiceOver && webkit) setRole("button");
|
|
851
938
|
}, []);
|
|
@@ -883,19 +970,19 @@ var ownerVisuallyHidden = {
|
|
|
883
970
|
function createAttribute(name) {
|
|
884
971
|
return `data-base-ui-${name}`;
|
|
885
972
|
}
|
|
886
|
-
var PortalContext = /* @__PURE__ */ React$
|
|
887
|
-
var usePortalContext = () => React$
|
|
973
|
+
var PortalContext = /* @__PURE__ */ React$3.createContext(null);
|
|
974
|
+
var usePortalContext = () => React$3.useContext(PortalContext);
|
|
888
975
|
var attr = createAttribute("portal");
|
|
889
976
|
function useFloatingPortalNode(props = {}) {
|
|
890
977
|
const { ref, container: containerProp, componentProps = EMPTY_OBJECT, elementProps } = props;
|
|
891
978
|
const uniqueId = useId$1();
|
|
892
979
|
const parentPortalNode = usePortalContext()?.portalNode;
|
|
893
|
-
const [containerElement, setContainerElement] = React$
|
|
894
|
-
const [portalNode, setPortalNode] = React$
|
|
980
|
+
const [containerElement, setContainerElement] = React$3.useState(null);
|
|
981
|
+
const [portalNode, setPortalNode] = React$3.useState(null);
|
|
895
982
|
const setPortalNodeRef = useStableCallback((node) => {
|
|
896
983
|
if (node !== null) setPortalNode(node);
|
|
897
984
|
});
|
|
898
|
-
const containerRef = React$
|
|
985
|
+
const containerRef = React$3.useRef(null);
|
|
899
986
|
useIsoLayoutEffect(() => {
|
|
900
987
|
if (containerProp === null) {
|
|
901
988
|
if (containerRef.current) {
|
|
@@ -930,11 +1017,11 @@ function useFloatingPortalNode(props = {}) {
|
|
|
930
1017
|
const portalSubtree = containerElement && portalElement ? /* @__PURE__ */ ReactDOM.createPortal(portalElement, containerElement) : null;
|
|
931
1018
|
return {
|
|
932
1019
|
node: portalNode,
|
|
933
|
-
nodeId: /* @__PURE__ */ React$
|
|
1020
|
+
nodeId: /* @__PURE__ */ React$3.isValidElement(portalElement) ? portalElement.props.id : void 0,
|
|
934
1021
|
subtree: portalSubtree
|
|
935
1022
|
};
|
|
936
1023
|
}
|
|
937
|
-
var FloatingPortal = /* @__PURE__ */ React$
|
|
1024
|
+
var FloatingPortal = /* @__PURE__ */ React$3.forwardRef(function FloatingPortal2(componentProps, forwardedRef) {
|
|
938
1025
|
const { render, className, style, children, container, ...elementProps } = componentProps;
|
|
939
1026
|
const { node: portalNode, nodeId: portalNodeId, subtree: portalSubtree } = useFloatingPortalNode({
|
|
940
1027
|
container,
|
|
@@ -942,16 +1029,16 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
942
1029
|
componentProps,
|
|
943
1030
|
elementProps
|
|
944
1031
|
});
|
|
945
|
-
const beforeOutsideRef = React$
|
|
946
|
-
const afterOutsideRef = React$
|
|
947
|
-
const beforeInsideRef = React$
|
|
948
|
-
const afterInsideRef = React$
|
|
949
|
-
const [focusManagerState, setFocusManagerState] = React$
|
|
950
|
-
const focusInsideDisabledRef = React$
|
|
1032
|
+
const beforeOutsideRef = React$3.useRef(null);
|
|
1033
|
+
const afterOutsideRef = React$3.useRef(null);
|
|
1034
|
+
const beforeInsideRef = React$3.useRef(null);
|
|
1035
|
+
const afterInsideRef = React$3.useRef(null);
|
|
1036
|
+
const [focusManagerState, setFocusManagerState] = React$3.useState(null);
|
|
1037
|
+
const focusInsideDisabledRef = React$3.useRef(false);
|
|
951
1038
|
const modal = focusManagerState?.modal;
|
|
952
1039
|
const open = focusManagerState?.open;
|
|
953
1040
|
const shouldRenderGuards = !!focusManagerState && !focusManagerState.modal && focusManagerState.open && !!portalNode;
|
|
954
|
-
React$
|
|
1041
|
+
React$3.useEffect(() => {
|
|
955
1042
|
if (!portalNode || modal) return;
|
|
956
1043
|
function onFocus(event) {
|
|
957
1044
|
if (portalNode && event.relatedTarget && isOutsideEvent(event)) {
|
|
@@ -973,7 +1060,7 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
973
1060
|
enableFocusInside(portalNode);
|
|
974
1061
|
focusInsideDisabledRef.current = false;
|
|
975
1062
|
}, [open, portalNode]);
|
|
976
|
-
const portalContextValue = React$
|
|
1063
|
+
const portalContextValue = React$3.useMemo(() => ({
|
|
977
1064
|
beforeOutsideRef,
|
|
978
1065
|
afterOutsideRef,
|
|
979
1066
|
beforeInsideRef,
|
|
@@ -981,7 +1068,7 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
981
1068
|
portalNode,
|
|
982
1069
|
setFocusManagerState
|
|
983
1070
|
}), [portalNode]);
|
|
984
|
-
return /* @__PURE__ */ jsxs(React$
|
|
1071
|
+
return /* @__PURE__ */ jsxs(React$3.Fragment, { children: [portalSubtree, /* @__PURE__ */ jsxs(PortalContext.Provider, {
|
|
985
1072
|
value: portalContextValue,
|
|
986
1073
|
children: [
|
|
987
1074
|
shouldRenderGuards && portalNode && /* @__PURE__ */ jsx(FocusGuard, {
|
|
@@ -1011,95 +1098,11 @@ var FloatingPortal = /* @__PURE__ */ React$1.forwardRef(function FloatingPortal2
|
|
|
1011
1098
|
]
|
|
1012
1099
|
})] });
|
|
1013
1100
|
});
|
|
1014
|
-
var Button$1 = /* @__PURE__ */ React$1.forwardRef(function Button(componentProps, forwardedRef) {
|
|
1015
|
-
const { render, className, disabled = false, focusableWhenDisabled = false, nativeButton = true, style, ...elementProps } = componentProps;
|
|
1016
|
-
const { getButtonProps, buttonRef } = useButton({
|
|
1017
|
-
disabled,
|
|
1018
|
-
focusableWhenDisabled,
|
|
1019
|
-
native: nativeButton
|
|
1020
|
-
});
|
|
1021
|
-
return useRenderElement("button", componentProps, {
|
|
1022
|
-
state: { disabled },
|
|
1023
|
-
ref: [forwardedRef, buttonRef],
|
|
1024
|
-
props: [elementProps, getButtonProps]
|
|
1025
|
-
});
|
|
1026
|
-
});
|
|
1027
|
-
var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
1028
|
-
var cx = clsx;
|
|
1029
|
-
var cva = (base, config) => (props) => {
|
|
1030
|
-
var _config_compoundVariants;
|
|
1031
|
-
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
1032
|
-
const { variants, defaultVariants } = config;
|
|
1033
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
1034
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
1035
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
1036
|
-
if (variantProp === null) return null;
|
|
1037
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
1038
|
-
return variants[variant][variantKey];
|
|
1039
|
-
});
|
|
1040
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
1041
|
-
let [key, value] = param;
|
|
1042
|
-
if (value === void 0) return acc;
|
|
1043
|
-
acc[key] = value;
|
|
1044
|
-
return acc;
|
|
1045
|
-
}, {});
|
|
1046
|
-
return cx(base, getVariantClassNames, config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
1047
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
1048
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
1049
|
-
let [key, value] = param2;
|
|
1050
|
-
return Array.isArray(value) ? value.includes({
|
|
1051
|
-
...defaultVariants,
|
|
1052
|
-
...propsWithoutUndefined
|
|
1053
|
-
}[key]) : {
|
|
1054
|
-
...defaultVariants,
|
|
1055
|
-
...propsWithoutUndefined
|
|
1056
|
-
}[key] === value;
|
|
1057
|
-
}) ? [
|
|
1058
|
-
...acc,
|
|
1059
|
-
cvClass,
|
|
1060
|
-
cvClassName
|
|
1061
|
-
] : acc;
|
|
1062
|
-
}, []), props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
1063
|
-
};
|
|
1064
|
-
var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
1065
|
-
variants: {
|
|
1066
|
-
variant: {
|
|
1067
|
-
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
1068
|
-
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
1069
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
1070
|
-
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
1071
|
-
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
1072
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
1073
|
-
},
|
|
1074
|
-
size: {
|
|
1075
|
-
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
1076
|
-
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
1077
|
-
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
1078
|
-
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
1079
|
-
icon: "size-8",
|
|
1080
|
-
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
1081
|
-
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
1082
|
-
"icon-lg": "size-9"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
defaultVariants: {
|
|
1086
|
-
variant: "default",
|
|
1087
|
-
size: "default"
|
|
1088
|
-
}
|
|
1089
|
-
});
|
|
1090
|
-
function Button2({ className, variant = "default", size = "default", ...props }) {
|
|
1091
|
-
return /* @__PURE__ */ jsx(Button$1, {
|
|
1092
|
-
"data-slot": "button",
|
|
1093
|
-
className: cn(buttonVariants({
|
|
1094
|
-
variant,
|
|
1095
|
-
size,
|
|
1096
|
-
className
|
|
1097
|
-
})),
|
|
1098
|
-
...props
|
|
1099
|
-
});
|
|
1100
|
-
}
|
|
1101
1101
|
|
|
1102
1102
|
export {
|
|
1103
|
+
ownerDocument,
|
|
1104
|
+
cva,
|
|
1105
|
+
Button2 as Button,
|
|
1103
1106
|
require_shim,
|
|
1104
1107
|
require_with_selector,
|
|
1105
1108
|
fastComponent,
|
|
@@ -1107,7 +1110,6 @@ export {
|
|
|
1107
1110
|
useStore,
|
|
1108
1111
|
ReactStore,
|
|
1109
1112
|
mergeCleanups,
|
|
1110
|
-
ownerDocument,
|
|
1111
1113
|
Timeout,
|
|
1112
1114
|
useTimeout,
|
|
1113
1115
|
ios,
|
|
@@ -1158,9 +1160,7 @@ export {
|
|
|
1158
1160
|
createAttribute,
|
|
1159
1161
|
usePortalContext,
|
|
1160
1162
|
useFloatingPortalNode,
|
|
1161
|
-
FloatingPortal
|
|
1162
|
-
cva,
|
|
1163
|
-
Button2 as Button
|
|
1163
|
+
FloatingPortal
|
|
1164
1164
|
};
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @license React
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createLucideIcon
|
|
3
|
+
} from "./chunk-E26EAQIM.js";
|
|
4
|
+
|
|
5
|
+
// web/app/dist/server/assets/circle-alert-D-qawIoC.js
|
|
6
|
+
var CircleAlert = createLucideIcon("circle-alert", [
|
|
7
|
+
["circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "10",
|
|
11
|
+
key: "1mglay"
|
|
12
|
+
}],
|
|
13
|
+
["line", {
|
|
14
|
+
x1: "12",
|
|
15
|
+
x2: "12",
|
|
16
|
+
y1: "8",
|
|
17
|
+
y2: "12",
|
|
18
|
+
key: "1pkeuh"
|
|
19
|
+
}],
|
|
20
|
+
["line", {
|
|
21
|
+
x1: "12",
|
|
22
|
+
x2: "12.01",
|
|
23
|
+
y1: "16",
|
|
24
|
+
y2: "16",
|
|
25
|
+
key: "4dfq90"
|
|
26
|
+
}]
|
|
27
|
+
]);
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
CircleAlert
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v1.33.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createLucideIcon
|
|
3
|
+
} from "./chunk-E26EAQIM.js";
|
|
4
|
+
|
|
5
|
+
// web/app/dist/server/assets/image-pElzIMTi.js
|
|
6
|
+
var Image = createLucideIcon("image", [
|
|
7
|
+
["rect", {
|
|
8
|
+
width: "18",
|
|
9
|
+
height: "18",
|
|
10
|
+
x: "3",
|
|
11
|
+
y: "3",
|
|
12
|
+
rx: "2",
|
|
13
|
+
ry: "2",
|
|
14
|
+
key: "1m3agn"
|
|
15
|
+
}],
|
|
16
|
+
["circle", {
|
|
17
|
+
cx: "9",
|
|
18
|
+
cy: "9",
|
|
19
|
+
r: "2",
|
|
20
|
+
key: "af1f0g"
|
|
21
|
+
}],
|
|
22
|
+
["path", {
|
|
23
|
+
d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
|
|
24
|
+
key: "1xmnt7"
|
|
25
|
+
}]
|
|
26
|
+
]);
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
Image
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @license lucide-react v1.33.0 - ISC
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the ISC license.
|
|
35
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/
|