@hiai-gg/docsmint 2.2.4 → 2.2.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/README.md +10 -8
- package/dist/backend/index.js +59983 -40737
- package/dist/frontend/CategoryDialog-CtBDBrmR.js +603 -0
- package/dist/frontend/ConfirmDialog-B7rUgX7M.js +219 -0
- package/dist/frontend/CreateSnapshotDialog-bUKdc0Zb.js +219 -0
- package/dist/frontend/DatePicker-CKTDDpVx.js +291 -0
- package/dist/frontend/DeleteDialog-D28HGxN7.js +175 -0
- package/dist/frontend/FolderNode-CVd22MJS.js +291 -0
- package/dist/frontend/FolderTreeSelector-DObSptCD.js +102 -0
- package/dist/frontend/HiAiEditor--V0-gKwv.js +3266 -0
- package/dist/frontend/HiaiDocsExtensionProvider-B1bCAtpa.js +13 -0
- package/dist/frontend/{Icon-CiHcxcpv.js → Icon-DNapb_KY.js} +3 -2
- package/dist/frontend/SettingsDialog-CN-PrNpM.js +979 -0
- package/dist/frontend/ShareDialog-UO_6vvoT.js +272 -0
- package/dist/frontend/Sidebar-CAxrqTAQ.js +2169 -0
- package/dist/frontend/TagCreateDialog-BdWu4bPX.js +268 -0
- package/dist/frontend/{action_cancel-BdsWzQKU.js → action_cancel-DxbRD-bG.js} +1 -1
- package/dist/frontend/{action_close-CVhfLPRQ.js → action_close-Ct6lVumm.js} +1 -1
- package/dist/frontend/{action_create-ByaroO1_.js → action_create-DKOlnVyX.js} +1 -1
- package/dist/frontend/{action_delete-SRloglWY.js → action_delete-DRb7fBnB.js} +1 -1
- package/dist/frontend/{action_go_to-DO1bicF-.js → action_go_to-D0fF5t1d.js} +1 -1
- package/dist/frontend/{action_loading-iQ0KsN6i.js → action_loading-YGvDyzYG.js} +1 -1
- package/dist/frontend/{action_save-DeqrZQwV.js → action_save-BHYTeFmm.js} +1 -1
- package/dist/frontend/api/categories.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/api/tags.js +1 -1
- package/dist/frontend/app-shell.js +177 -176
- package/dist/frontend/{auth-client-Dx7d9Tzo.js → auth-client-DahfoSYo.js} +297 -277
- package/dist/frontend/{bundle-mjs-clTO1WW-.js → bundle-mjs-654jE5XN.js} +397 -300
- package/dist/frontend/{camera-DsdOPOcD.js → camera-C6JuKKhr.js} +9 -8
- package/dist/frontend/{categories-CusvHb5Y.js → categories-CUfKlgrs.js} +1 -1
- package/dist/frontend/{categories_update_error-Cn8DBBHv.js → categories_update_error-BrLD-j9s.js} +1 -1
- package/dist/frontend/check-B_e1XqT2.js +25 -0
- package/dist/frontend/chevron-down-BsnN2mp2.js +25 -0
- package/dist/frontend/circle-check-CJH5zxd9.js +29 -0
- package/dist/frontend/clock-CU0gCiiM.js +29 -0
- package/dist/frontend/collaboration.js +113 -113
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +5 -4
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/editor/document-title.js +3 -2
- package/dist/frontend/components/editor/docx-serializer.js +8359 -12358
- package/dist/frontend/components/editor/extensions.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +33 -32
- package/dist/frontend/components/editor/markdown.js +1 -1
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/folder-tree-selector.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +168 -167
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +252 -251
- package/dist/frontend/{copy-Bag46YaR.js → copy-DYNRCHgk.js} +9 -8
- package/dist/frontend/dashboard.js +1301 -1300
- package/dist/frontend/db-yN0Vve_2.js +4296 -0
- package/dist/frontend/{dialog-C0Bpok1d.js → dialog-Dqp04jso.js} +11 -10
- package/dist/frontend/dist-4xBCgXNT.js +40 -0
- package/dist/frontend/{dist-DjId3RKL.js → dist-BaAULhmK.js} +3 -9
- package/dist/frontend/dist-C1oIyJLI.js +302 -0
- package/dist/frontend/dndzone-CWg1kmdZ.js +1483 -0
- package/dist/frontend/{doc_title_label-BOuZzvqv.js → doc_title_label-BPlghiRM.js} +1 -1
- package/dist/frontend/{doc_title_placeholder-ZxpdWWEn.js → doc_title_placeholder-D-LfSoC5.js} +1 -1
- package/dist/frontend/dropdown-menu-HePwCxoQ.js +1429 -0
- package/dist/frontend/{editorExtensions-DbiFj4tn.js → editorExtensions-QKIFSqEG.js} +9 -9
- package/dist/frontend/{editor_markdown_placeholder-BztIY9Ci.js → editor_markdown_placeholder-BXRPm7JG.js} +1 -1
- package/dist/frontend/{ellipsis-vertical-Oymsv1R4.js → ellipsis-vertical-CR25MyeP.js} +9 -8
- package/dist/frontend/{error_dismiss-C651ZdWI.js → error_dismiss-Ckia7GQe.js} +1 -1
- package/dist/frontend/{error_generic-BlWqOE-a.js → error_generic-gyQMdET_.js} +1 -1
- package/dist/frontend/extension.js +1 -1
- package/dist/frontend/{folder-BpmB_sAy.js → folder-BpA690ie.js} +4 -3
- package/dist/frontend/{folders_rename-Cxbg5GIw.js → folders_rename-BHa_gSXw.js} +1 -1
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +29 -29
- package/dist/frontend/{identity-B7HeOzDJ.js → identity-ndFYB8Nt.js} +1 -1
- package/dist/frontend/{input-CbeB9220.js → input-Cv3qF4J3.js} +9 -8
- package/dist/frontend/label-DXjefKfF.js +30 -0
- package/dist/frontend/{lib-CITdCbKa.js → lib-DJthN0w9.js} +7108 -5196
- package/dist/frontend/loader-circle-CvWX1HHL.js +25 -0
- package/dist/frontend/{markdown-6E9TWC6V.js → markdown-CksQVQ6a.js} +2 -2
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/popper-layer-force-mount-DS--Cvfo.js +3493 -0
- package/dist/frontend/rolldown-runtime-DKYsOz5J.js +19 -0
- package/dist/frontend/{rotate-ccw-DAUX7np7.js → rotate-ccw-Box7QP5X.js} +9 -8
- package/dist/frontend/{runtime-CGUiMzK6.js → runtime-CJv8UGYl.js} +1 -4
- package/dist/frontend/{schemas-YXxhj5o8.js → schemas-BYbeR0Ky.js} +11 -11
- package/dist/frontend/{scroll_to_top_aria-lJc2RSx_.js → scroll_to_top_aria-CP7_oyCo.js} +1 -1
- package/dist/frontend/search.js +650 -649
- package/dist/frontend/{search_title-BETwQYJq.js → search_title-C2aOzN_J.js} +1 -1
- package/dist/frontend/select-value-DAMTi0zc.js +1473 -0
- package/dist/frontend/{settings-DyePuqjp.js → settings-DTsCVJEi.js} +1 -1
- package/dist/frontend/{share-context-C2xyVP9M.js → share-context-CtRMIIhL.js} +15 -14
- package/dist/frontend/{share_copied-BuAnmpbz.js → share_copied-BHb_9sOo.js} +1 -1
- package/dist/frontend/{share_toggle_password-LEYUeHWr.js → share_toggle_password-DjCMq4Eq.js} +1 -1
- package/dist/frontend/shared-document.js +49 -48
- package/dist/frontend/{sidebar_uncategorized-C5PGOflV.js → sidebar_uncategorized-BJSB_sc9.js} +1 -1
- package/dist/frontend/{sort_relevance-DpCVLby_.js → sort_relevance-CXuNTq6L.js} +1 -1
- package/dist/frontend/{tag-Wdfe0rKU.js → tag-BPOFgBQw.js} +4 -3
- package/dist/frontend/tag-store.svelte-DyqQNx7H.js +28 -0
- package/dist/frontend/{tags-DlDVothf.js → tags-DwilrkrM.js} +1 -1
- package/dist/frontend/{tags_load_error-BINNpPPV.js → tags_load_error-BOyuQEGc.js} +1 -1
- package/dist/frontend/{tags_new-Dw0Uy43-.js → tags_new-CGF3Hi1j.js} +1 -1
- package/dist/frontend/textarea-DDdgNvnf.js +23 -0
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/{theme.svelte-BiXvrqwh.js → theme.svelte-Dx01qWc3.js} +2 -2
- package/dist/frontend/{theme_system-YIfa_2Xt.js → theme_system-Bt9ItDgj.js} +1 -1
- package/dist/frontend/utils/dndzone.js +1 -1
- package/dist/frontend/{utils-CnAmIMwr.js → utils-BQMesoNf.js} +1 -1
- package/dist/frontend/utils-BavN35Bw.js +6 -0
- package/dist/frontend/utils.js +1 -1
- package/dist/frontend/{version_create_snapshot-D8xjbuCq.js → version_create_snapshot-BvoOuUeh.js} +1 -1
- package/dist/frontend/{version_restored_from-DYFFSuQj.js → version_restored_from-BIEEKFbx.js} +1 -1
- package/dist/frontend/{version_snapshot_label_placeholder-BhKq1NQ7.js → version_snapshot_label_placeholder-h9r2_0u3.js} +1 -1
- package/dist/frontend/{weekday_we-BxbzNVWR.js → weekday_we-DsuVW6rh.js} +1 -1
- package/dist/frontend/x-hIpDH7DU.js +25 -0
- package/dist/frontend/{yjs-BbwnvxgY.js → yjs--VgxqIlB.js} +607 -628
- package/dist/frontend-ssr/api/categories.js +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/api/tags.js +1 -1
- package/dist/frontend-ssr/app-shell.js +11 -11
- package/dist/frontend-ssr/assets/{CategoryDialog-2CCX508O.js → CategoryDialog-DRItbO_9.js} +13 -13
- package/dist/frontend-ssr/assets/{ConfirmDialog-Cc6lcY1N.js → ConfirmDialog-B0NXRrel.js} +8 -8
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-BB8fXF9W.js → CreateSnapshotDialog-nj8PjuON.js} +7 -7
- package/dist/frontend-ssr/assets/{DatePicker-CfzKzipR.js → DatePicker-CdUKLPtP.js} +8 -8
- package/dist/frontend-ssr/assets/{DeleteDialog-DRU4UgOW.js → DeleteDialog-B83NoxAg.js} +3 -3
- package/dist/frontend-ssr/assets/{FolderNode-CyOrLJ2Y.js → FolderNode-CSeC3051.js} +10 -10
- package/dist/frontend-ssr/assets/{FolderTreeSelector-D0reTdFS.js → FolderTreeSelector-Dh-ViJPU.js} +4 -4
- package/dist/frontend-ssr/assets/{HiAiEditor-BQGlGd3z.js → HiAiEditor-DB2PjHm9.js} +41 -41
- package/dist/frontend-ssr/assets/{Icon-CrIRbT5O.js → Icon-CBEeswQ2.js} +4 -4
- package/dist/frontend-ssr/assets/{SettingsDialog-BpHY3IMb.js → SettingsDialog-kc3O9PXG.js} +21 -21
- package/dist/frontend-ssr/assets/{ShareDialog-CY40nWZJ.js → ShareDialog-Dmrj55QP.js} +4 -4
- package/dist/frontend-ssr/assets/{Sidebar-dTp4DyW4.js → Sidebar-CDQcIuyv.js} +45 -45
- package/dist/frontend-ssr/assets/{TagCreateDialog-C2tpdEuj.js → TagCreateDialog-CP-yYfpQ.js} +11 -11
- package/dist/frontend-ssr/assets/{action_cancel-CsBbxW0m.js → action_cancel-B8i5P3wt.js} +1 -1
- package/dist/frontend-ssr/assets/{action_close-lFKBqBwg.js → action_close-DPgIB-cY.js} +1 -1
- package/dist/frontend-ssr/assets/{action_create-BV4ZOcQW.js → action_create-DAlNPFeN.js} +1 -1
- package/dist/frontend-ssr/assets/{action_delete-CNmRhKQP.js → action_delete-C6lsQCtY.js} +1 -1
- package/dist/frontend-ssr/assets/{action_go_to-tN5I26xM.js → action_go_to-C6tegi-k.js} +1 -1
- package/dist/frontend-ssr/assets/{action_save-YCfMiKb4.js → action_save-BQCej1sh.js} +1 -1
- package/dist/frontend-ssr/assets/{auth-client-BnnnJDAb.js → auth-client-CwXGsJIQ.js} +44 -38
- package/dist/frontend-ssr/assets/{camera-OYNSMvMd.js → camera-kjjsHmQu.js} +2 -2
- package/dist/frontend-ssr/assets/{categories_update_error-Bfx5vtvt.js → categories_update_error-Kq8q_FJp.js} +1 -1
- package/dist/frontend-ssr/assets/{chevron-down-DB6YsSbQ.js → chevron-down-DPc-Owbl.js} +2 -2
- package/dist/frontend-ssr/assets/{chevron-right-DOt2uY6b.js → chevron-right-C-jY4mqk.js} +2 -2
- package/dist/frontend-ssr/assets/{circle-check-DQhTm9YR.js → circle-check-CnueRXrc.js} +2 -2
- package/dist/frontend-ssr/assets/{clock-B08dVWtf.js → clock-CoRtIDhT.js} +2 -2
- package/dist/frontend-ssr/assets/{copy-2jsznHar.js → copy-CDNZIGVg.js} +2 -2
- package/dist/frontend-ssr/assets/{db-BEKLU5Fc.js → db-NhMsSg1f.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-C6U-DqLr.js → dialog-B09MN2S-.js} +9 -9
- package/dist/frontend-ssr/assets/{dist-DqXTz_zE.js → dist-D4MAfF0i.js} +13 -13
- package/dist/frontend-ssr/assets/{dist-ip9bPdma.js → dist-cDG_u5EF.js} +8 -8
- package/dist/frontend-ssr/assets/{dndzone-C7KnICM0.js → dndzone-DyM8UtoT.js} +378 -216
- package/dist/frontend-ssr/assets/{doc_title_label-CE_l-Gum.js → doc_title_label-BqCuH3eY.js} +1 -1
- package/dist/frontend-ssr/assets/{doc_title_placeholder-7_i7PtG6.js → doc_title_placeholder-C3tGSpRB.js} +1 -1
- package/dist/frontend-ssr/assets/dropdown-menu-C9H45F9X.js +1721 -0
- package/dist/frontend-ssr/assets/{editor_markdown_placeholder-CAeLJjFT.js → editor_markdown_placeholder-Cxa5uq87.js} +1 -1
- package/dist/frontend-ssr/assets/{editor_toolbar_undo-CVCfQIS1.js → editor_toolbar_undo-D-gLz88j.js} +1 -1
- package/dist/frontend-ssr/assets/{ellipsis-vertical-IFHt2NM1.js → ellipsis-vertical-oBvMj3Jm.js} +2 -2
- package/dist/frontend-ssr/assets/{error_generic-BB80i0Vk.js → error_generic-BSoVZ_4p.js} +1 -1
- package/dist/frontend-ssr/assets/{folder-CXa1_bm5.js → folder-Ptjeaody.js} +2 -2
- package/dist/frontend-ssr/assets/{folders_rename-ydbfwQlj.js → folders_rename-DBtQcf2R.js} +1 -1
- package/dist/frontend-ssr/assets/{identity-DTz1SQwC.js → identity-CigCqYEA.js} +1 -1
- package/dist/frontend-ssr/assets/{input-Bxw9sFF0.js → input-Cc45dG_S.js} +2 -2
- package/dist/frontend-ssr/assets/{label-CMWedjs6.js → label-C1_J2397.js} +2 -2
- package/dist/frontend-ssr/assets/{loader-circle-zbKj9Qb-.js → loader-circle-CK3McH5n.js} +2 -2
- package/dist/frontend-ssr/assets/{markdown-BmIhDQp7.js → markdown-WQsa_gay.js} +1 -1
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-CSHZsG2E.js → popper-layer-force-mount-CGKwdZaZ.js} +1448 -2402
- package/dist/frontend-ssr/assets/{rotate-ccw-B7SaTFWf.js → rotate-ccw-B1lCxJ5d.js} +2 -2
- package/dist/frontend-ssr/assets/{runtime-BX6-jTn_.js → runtime-CoxALrm1.js} +2 -28
- package/dist/frontend-ssr/assets/{scroll_to_top_aria-CAYSiGHO.js → scroll_to_top_aria-CmLwsPln.js} +1 -1
- package/dist/frontend-ssr/assets/{search_title-C7NVXXq3.js → search_title-CZIl0wkq.js} +1 -1
- package/dist/frontend-ssr/assets/{search_toggle_filters-Bq_YVD8s.js → search_toggle_filters-BG-CRM9G.js} +1 -1
- package/dist/frontend-ssr/assets/{select-value-TgslfiUB.js → select-value-BeUHHkLq.js} +157 -66
- package/dist/frontend-ssr/assets/{settings-B1MA_FjO.js → settings-BqyemuQv.js} +1 -1
- package/dist/frontend-ssr/assets/{share-context-RVh8AExX.js → share-context-BM1sUnlP.js} +15 -15
- package/dist/frontend-ssr/assets/{share_copied-CrwEwkb3.js → share_copied-BVGtm9Ud.js} +1 -1
- package/dist/frontend-ssr/assets/{share_toggle_password-Co56z0Ha.js → share_toggle_password-z0gwy0TG.js} +1 -1
- package/dist/frontend-ssr/assets/{sidebar_uncategorized-COWdmZ3d.js → sidebar_uncategorized-rpbsgLVr.js} +1 -1
- package/dist/frontend-ssr/assets/{tag-BGhtDKpP.js → tag-D_ZqINN3.js} +3 -3
- package/dist/frontend-ssr/assets/{tags_load_error-DW4FbHvr.js → tags_load_error-DvhlyMMY.js} +1 -1
- package/dist/frontend-ssr/assets/{tags_new-Dr3ByMPZ.js → tags_new-DStxzBII.js} +1 -1
- package/dist/frontend-ssr/assets/{textarea-Bz5Tz4rw.js → textarea-S9uzw6je.js} +2 -2
- package/dist/frontend-ssr/assets/{theme.svelte-CdHah46l.js → theme.svelte-CqAzqvik.js} +2 -2
- package/dist/frontend-ssr/assets/{theme_system-E97FASeq.js → theme_system-DjbsL0RQ.js} +1 -1
- package/dist/frontend-ssr/assets/{utils-DF6CmRDX.js → utils-DF93j6z-.js} +1 -1
- package/dist/frontend-ssr/assets/{version_create_snapshot-DeeYB7bb.js → version_create_snapshot-SwYsTZ56.js} +1 -1
- package/dist/frontend-ssr/assets/{version_restored_from-CTt2LM4A.js → version_restored_from-pYBnudye.js} +1 -1
- package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-BbGD9YuN.js → version_snapshot_label_placeholder-DtDnHip8.js} +1 -1
- package/dist/frontend-ssr/assets/{weekday_we-BzGQ-iFc.js → weekday_we-CV1TMROW.js} +1 -1
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-title.js +2 -2
- package/dist/frontend-ssr/components/editor/extensions.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +3 -3
- package/dist/frontend-ssr/components/editor/markdown.js +1 -1
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +10 -10
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +17 -17
- package/dist/frontend-ssr/dashboard.js +61 -158
- package/dist/frontend-ssr/extension.js +1 -1
- package/dist/frontend-ssr/i18n.js +31 -31
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +13 -13
- package/dist/frontend-ssr/shared-document.js +1 -1
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/frontend-ssr/utils/dndzone.js +1 -1
- package/dist/lifecycle-runtime.js +17769 -11203
- package/dist/mcp-cli.js +1 -1
- package/dist/mcp-server.js +1 -1
- package/package.json +13 -13
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CVJi5PJu.js +0 -602
- package/dist/frontend/ConfirmDialog-0JwB8mKN.js +0 -218
- package/dist/frontend/CreateSnapshotDialog-BLrtuYs5.js +0 -218
- package/dist/frontend/DatePicker-BwSb8TRv.js +0 -326
- package/dist/frontend/DeleteDialog-s7Dr6bXg.js +0 -174
- package/dist/frontend/FolderNode-Ds0LDfK3.js +0 -290
- package/dist/frontend/FolderTreeSelector-BR3lYmPU.js +0 -101
- package/dist/frontend/HiAiEditor-BHz46Iqd.js +0 -3078
- package/dist/frontend/HiaiDocsExtensionProvider-A2nGddUR.js +0 -12
- package/dist/frontend/SettingsDialog-BvS74JZu.js +0 -978
- package/dist/frontend/ShareDialog-Bo50h_Oe.js +0 -271
- package/dist/frontend/Sidebar-DerKtpWB.js +0 -2168
- package/dist/frontend/TagCreateDialog-DhKfsfv3.js +0 -267
- package/dist/frontend/check-DiMZRkKS.js +0 -24
- package/dist/frontend/chevron-down-CxFrMFDJ.js +0 -24
- package/dist/frontend/circle-check-B4F_qgPx.js +0 -28
- package/dist/frontend/clock-dcpueRk-.js +0 -28
- package/dist/frontend/db-B1ZV452J.js +0 -3792
- package/dist/frontend/dist-BlcV_BOY.js +0 -39
- package/dist/frontend/dist-Dl9qg10h.js +0 -301
- package/dist/frontend/dndzone-B9jA0yIS.js +0 -1372
- package/dist/frontend/dropdown-menu-B3nk2aM-.js +0 -482
- package/dist/frontend/label-CfBWf3gI.js +0 -29
- package/dist/frontend/loader-circle-skKwfRCB.js +0 -24
- package/dist/frontend/popper-layer-force-mount-BG0eyrCk.js +0 -4255
- package/dist/frontend/rolldown-runtime-CwxnZyOB.js +0 -22
- package/dist/frontend/select-value-BY5Hw6Rl.js +0 -1412
- package/dist/frontend/tag-store.svelte-C9VYWqLQ.js +0 -28
- package/dist/frontend/textarea-D6emvAwM.js +0 -22
- package/dist/frontend/utils-DH0uqK40.js +0 -6
- package/dist/frontend/x-CBUgPygC.js +0 -24
- package/dist/frontend-ssr/assets/dropdown-menu-BS5fcN9l.js +0 -446
- package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-D6cGL-9s.js → HiaiDocsExtensionProvider-BdfQP817.js} +1 -1
- package/dist/frontend-ssr/assets/{categories-bBPviKjl.js → categories-CMmudpEk.js} +1 -1
- package/dist/frontend-ssr/assets/{editorExtensions-2O7O2Nhv.js → editorExtensions-DOPTTKUS.js} +2 -2
- package/dist/frontend-ssr/assets/{tag-store.svelte-CUUgAaDD.js → tag-store.svelte-Djpf1W0n.js} +1 -1
- package/dist/frontend-ssr/assets/{tags-C7u-LBsl.js → tags-GQOEtqET.js} +1 -1
|
@@ -1,1412 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./utils-DH0uqK40.js";
|
|
2
|
-
import { $ as t, B as n, C as r, E as i, G as a, H as o, I as s, J as c, K as l, L as u, P as d, Q as f, S as p, T as m, U as h, V as g, W as _, X as v, Y as y, Z as b, _ as x, a as S, b as C, et as w, g as T, h as E, i as ee, k as te, m as D, n as O, q as k, r as ne, t as A, v as j, x as M, y as N, z as P } from "./popper-layer-force-mount-BG0eyrCk.js";
|
|
3
|
-
import "svelte/internal/disclose-version";
|
|
4
|
-
import * as F from "svelte/internal/client";
|
|
5
|
-
import { untrack as re } from "svelte";
|
|
6
|
-
import { on as ie } from "svelte/events";
|
|
7
|
-
// ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
|
|
8
|
-
var I = {
|
|
9
|
-
position: "absolute",
|
|
10
|
-
width: "1px",
|
|
11
|
-
height: "1px",
|
|
12
|
-
padding: "0",
|
|
13
|
-
margin: "-1px",
|
|
14
|
-
overflow: "hidden",
|
|
15
|
-
clip: "rect(0, 0, 0, 0)",
|
|
16
|
-
whiteSpace: "nowrap",
|
|
17
|
-
borderWidth: "0",
|
|
18
|
-
transform: "translateX(-100%)"
|
|
19
|
-
};
|
|
20
|
-
t(I);
|
|
21
|
-
// ../node_modules/.bun/svelte-toolbelt@0.10.6+049bff67fe79e627/node_modules/svelte-toolbelt/dist/utils/on-mount-effect.svelte.js
|
|
22
|
-
function L(e) {
|
|
23
|
-
F.user_effect(() => re(() => e()));
|
|
24
|
-
}
|
|
25
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte
|
|
26
|
-
var R = /* @__PURE__ */ new Set([
|
|
27
|
-
"$$slots",
|
|
28
|
-
"$$events",
|
|
29
|
-
"$$legacy",
|
|
30
|
-
"value"
|
|
31
|
-
]), z = F.from_html("<input/>");
|
|
32
|
-
function B(e, t) {
|
|
33
|
-
F.push(t, !0);
|
|
34
|
-
let n = F.prop(t, "value", 15), r = F.rest_props(t, R), i = F.derived(() => f(r, {
|
|
35
|
-
"aria-hidden": "true",
|
|
36
|
-
tabindex: -1,
|
|
37
|
-
style: {
|
|
38
|
-
...I,
|
|
39
|
-
position: "absolute",
|
|
40
|
-
top: "0",
|
|
41
|
-
left: "0"
|
|
42
|
-
}
|
|
43
|
-
}));
|
|
44
|
-
var a = F.comment(), o = F.first_child(a), s = (e) => {
|
|
45
|
-
var t = z();
|
|
46
|
-
F.attribute_effect(t, () => ({
|
|
47
|
-
...F.get(i),
|
|
48
|
-
value: n()
|
|
49
|
-
}), void 0, void 0, void 0, void 0, !0), F.append(e, t);
|
|
50
|
-
}, c = (e) => {
|
|
51
|
-
var t = z();
|
|
52
|
-
F.attribute_effect(t, () => ({ ...F.get(i) }), void 0, void 0, void 0, void 0, !0), F.bind_value(t, n), F.append(e, t);
|
|
53
|
-
};
|
|
54
|
-
F.if(o, (e) => {
|
|
55
|
-
F.get(i).type === "checkbox" ? e(s) : e(c, -1);
|
|
56
|
-
}), F.append(e, a), F.pop();
|
|
57
|
-
}
|
|
58
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
|
|
59
|
-
var V = class {
|
|
60
|
-
#e;
|
|
61
|
-
#t = F.derived(() => this.#e.candidateValues());
|
|
62
|
-
#n;
|
|
63
|
-
constructor(e) {
|
|
64
|
-
this.#e = e, this.#n = E("", {
|
|
65
|
-
afterMs: 1e3,
|
|
66
|
-
getWindow: this.#e.getWindow
|
|
67
|
-
}), this.handleTypeaheadSearch = this.handleTypeaheadSearch.bind(this), this.resetTypeahead = this.resetTypeahead.bind(this);
|
|
68
|
-
}
|
|
69
|
-
handleTypeaheadSearch(e) {
|
|
70
|
-
if (!this.#e.enabled() || !F.get(this.#t).length) return;
|
|
71
|
-
this.#n.current = this.#n.current + e;
|
|
72
|
-
let t = this.#e.getCurrentItem(), n = F.get(this.#t).find((e) => e === t) ?? "", r = F.get(this.#t).map((e) => e ?? ""), i = j(r, this.#n.current, n), a = F.get(this.#t).find((e) => e === i);
|
|
73
|
-
return a && this.#e.onMatch(a), a;
|
|
74
|
-
}
|
|
75
|
-
resetTypeahead() {
|
|
76
|
-
this.#n.current = "";
|
|
77
|
-
}
|
|
78
|
-
}, H = [
|
|
79
|
-
i,
|
|
80
|
-
u,
|
|
81
|
-
d
|
|
82
|
-
], U = [
|
|
83
|
-
te,
|
|
84
|
-
s,
|
|
85
|
-
"End"
|
|
86
|
-
], W = [...H, ...U], G = o({
|
|
87
|
-
component: "select",
|
|
88
|
-
parts: [
|
|
89
|
-
"trigger",
|
|
90
|
-
"content",
|
|
91
|
-
"item",
|
|
92
|
-
"viewport",
|
|
93
|
-
"scroll-up-button",
|
|
94
|
-
"scroll-down-button",
|
|
95
|
-
"group",
|
|
96
|
-
"group-label",
|
|
97
|
-
"separator",
|
|
98
|
-
"arrow",
|
|
99
|
-
"input",
|
|
100
|
-
"content-wrapper",
|
|
101
|
-
"item-text",
|
|
102
|
-
"value"
|
|
103
|
-
]
|
|
104
|
-
}), K = new b("Select.Root | Combobox.Root");
|
|
105
|
-
new b("Select.Group | Combobox.Group");
|
|
106
|
-
var q = new b("Select.Content | Combobox.Content"), J = class {
|
|
107
|
-
opts;
|
|
108
|
-
#e = F.state(!1);
|
|
109
|
-
get touchedInput() {
|
|
110
|
-
return F.get(this.#e);
|
|
111
|
-
}
|
|
112
|
-
set touchedInput(e) {
|
|
113
|
-
F.set(this.#e, e, !0);
|
|
114
|
-
}
|
|
115
|
-
#t = F.state(null);
|
|
116
|
-
get inputNode() {
|
|
117
|
-
return F.get(this.#t);
|
|
118
|
-
}
|
|
119
|
-
set inputNode(e) {
|
|
120
|
-
F.set(this.#t, e, !0);
|
|
121
|
-
}
|
|
122
|
-
#n = F.state(null);
|
|
123
|
-
get contentNode() {
|
|
124
|
-
return F.get(this.#n);
|
|
125
|
-
}
|
|
126
|
-
set contentNode(e) {
|
|
127
|
-
F.set(this.#n, e, !0);
|
|
128
|
-
}
|
|
129
|
-
contentPresence;
|
|
130
|
-
#r = F.state(null);
|
|
131
|
-
get viewportNode() {
|
|
132
|
-
return F.get(this.#r);
|
|
133
|
-
}
|
|
134
|
-
set viewportNode(e) {
|
|
135
|
-
F.set(this.#r, e, !0);
|
|
136
|
-
}
|
|
137
|
-
#i = F.state(null);
|
|
138
|
-
get triggerNode() {
|
|
139
|
-
return F.get(this.#i);
|
|
140
|
-
}
|
|
141
|
-
set triggerNode(e) {
|
|
142
|
-
F.set(this.#i, e, !0);
|
|
143
|
-
}
|
|
144
|
-
#a = F.state(null);
|
|
145
|
-
get valueNode() {
|
|
146
|
-
return F.get(this.#a);
|
|
147
|
-
}
|
|
148
|
-
set valueNode(e) {
|
|
149
|
-
F.set(this.#a, e, !0);
|
|
150
|
-
}
|
|
151
|
-
#o = F.state("");
|
|
152
|
-
get valueId() {
|
|
153
|
-
return F.get(this.#o);
|
|
154
|
-
}
|
|
155
|
-
set valueId(e) {
|
|
156
|
-
F.set(this.#o, e, !0);
|
|
157
|
-
}
|
|
158
|
-
#s = F.state(null);
|
|
159
|
-
get highlightedNode() {
|
|
160
|
-
return F.get(this.#s);
|
|
161
|
-
}
|
|
162
|
-
set highlightedNode(e) {
|
|
163
|
-
F.set(this.#s, e, !0);
|
|
164
|
-
}
|
|
165
|
-
#c = F.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-value") : null);
|
|
166
|
-
get highlightedValue() {
|
|
167
|
-
return F.get(this.#c);
|
|
168
|
-
}
|
|
169
|
-
set highlightedValue(e) {
|
|
170
|
-
F.set(this.#c, e);
|
|
171
|
-
}
|
|
172
|
-
#l = F.derived(() => {
|
|
173
|
-
if (this.highlightedNode) return this.highlightedNode.id;
|
|
174
|
-
});
|
|
175
|
-
get highlightedId() {
|
|
176
|
-
return F.get(this.#l);
|
|
177
|
-
}
|
|
178
|
-
set highlightedId(e) {
|
|
179
|
-
F.set(this.#l, e);
|
|
180
|
-
}
|
|
181
|
-
#u = F.derived(() => this.highlightedNode ? this.highlightedNode.getAttribute("data-label") : null);
|
|
182
|
-
get highlightedLabel() {
|
|
183
|
-
return F.get(this.#u);
|
|
184
|
-
}
|
|
185
|
-
set highlightedLabel(e) {
|
|
186
|
-
F.set(this.#u, e);
|
|
187
|
-
}
|
|
188
|
-
#d = F.state(!1);
|
|
189
|
-
get contentIsPositioned() {
|
|
190
|
-
return F.get(this.#d);
|
|
191
|
-
}
|
|
192
|
-
set contentIsPositioned(e) {
|
|
193
|
-
F.set(this.#d, e, !0);
|
|
194
|
-
}
|
|
195
|
-
isUsingKeyboard = !1;
|
|
196
|
-
isCombobox = !1;
|
|
197
|
-
domContext = new l(() => null);
|
|
198
|
-
constructor(e) {
|
|
199
|
-
this.opts = e, this.isCombobox = e.isCombobox, this.contentPresence = new r({
|
|
200
|
-
ref: w(() => this.contentNode),
|
|
201
|
-
open: this.opts.open,
|
|
202
|
-
onComplete: () => {
|
|
203
|
-
this.opts.onOpenChangeComplete.current(this.opts.open.current);
|
|
204
|
-
}
|
|
205
|
-
}), F.user_pre_effect(() => {
|
|
206
|
-
this.opts.open.current || this.setHighlightedNode(null);
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
setHighlightedNode(e, t = !1) {
|
|
210
|
-
this.highlightedNode = e, e && (this.isUsingKeyboard || t) && this.scrollHighlightedNodeIntoView(e);
|
|
211
|
-
}
|
|
212
|
-
scrollHighlightedNodeIntoView(e) {
|
|
213
|
-
this.viewportNode && this.contentIsPositioned && e.scrollIntoView({ block: this.opts.scrollAlignment.current });
|
|
214
|
-
}
|
|
215
|
-
getCandidateNodes() {
|
|
216
|
-
let e = this.contentNode;
|
|
217
|
-
return e ? Array.from(e.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)) : [];
|
|
218
|
-
}
|
|
219
|
-
setHighlightedToFirstCandidate(e = !1) {
|
|
220
|
-
this.setHighlightedNode(null);
|
|
221
|
-
let t = this.getCandidateNodes();
|
|
222
|
-
if (t.length) {
|
|
223
|
-
if (this.viewportNode) {
|
|
224
|
-
let e = this.viewportNode.getBoundingClientRect();
|
|
225
|
-
t = t.filter((t) => {
|
|
226
|
-
if (!this.viewportNode) return !1;
|
|
227
|
-
let n = t.getBoundingClientRect();
|
|
228
|
-
return n.right <= e.right && n.left >= e.left && n.bottom <= e.bottom && n.top >= e.top;
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
this.setHighlightedNode(t[0], e);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
getNodeByValue(e) {
|
|
235
|
-
return this.getCandidateNodes().find((t) => t.dataset.value === e) ?? null;
|
|
236
|
-
}
|
|
237
|
-
getLabelForValue(e) {
|
|
238
|
-
if (e === "") return "";
|
|
239
|
-
let t = this.opts.items.current.find((t) => t.value === e)?.label;
|
|
240
|
-
if (t !== void 0) return t;
|
|
241
|
-
let n = this.getNodeByValue(e);
|
|
242
|
-
if (n) {
|
|
243
|
-
let t = n.getAttribute("data-label");
|
|
244
|
-
return t !== null && t !== "" ? t : n.textContent?.trim() ?? e;
|
|
245
|
-
}
|
|
246
|
-
return e;
|
|
247
|
-
}
|
|
248
|
-
setOpen(e) {
|
|
249
|
-
this.opts.open.current = e;
|
|
250
|
-
}
|
|
251
|
-
toggleOpen() {
|
|
252
|
-
this.opts.open.current = !this.opts.open.current;
|
|
253
|
-
}
|
|
254
|
-
handleOpen() {
|
|
255
|
-
this.setOpen(!0);
|
|
256
|
-
}
|
|
257
|
-
handleClose() {
|
|
258
|
-
this.setHighlightedNode(null), this.setOpen(!1);
|
|
259
|
-
}
|
|
260
|
-
toggleMenu() {
|
|
261
|
-
this.toggleOpen();
|
|
262
|
-
}
|
|
263
|
-
getBitsAttr = (e) => G.getAttr(e, this.isCombobox ? "combobox" : void 0);
|
|
264
|
-
}, Y = class extends J {
|
|
265
|
-
opts;
|
|
266
|
-
isMulti = !1;
|
|
267
|
-
#e = F.derived(() => this.opts.value.current !== "");
|
|
268
|
-
get hasValue() {
|
|
269
|
-
return F.get(this.#e);
|
|
270
|
-
}
|
|
271
|
-
set hasValue(e) {
|
|
272
|
-
F.set(this.#e, e);
|
|
273
|
-
}
|
|
274
|
-
#t = F.derived(() => this.opts.items.current.length ? this.opts.items.current.find((e) => e.value === this.opts.value.current)?.label ?? "" : "");
|
|
275
|
-
get currentLabel() {
|
|
276
|
-
return F.get(this.#t);
|
|
277
|
-
}
|
|
278
|
-
set currentLabel(e) {
|
|
279
|
-
F.set(this.#t, e);
|
|
280
|
-
}
|
|
281
|
-
#n = F.derived(() => this.opts.items.current.length ? this.opts.items.current.filter((e) => !e.disabled).map((e) => e.label) : []);
|
|
282
|
-
get candidateLabels() {
|
|
283
|
-
return F.get(this.#n);
|
|
284
|
-
}
|
|
285
|
-
set candidateLabels(e) {
|
|
286
|
-
F.set(this.#n, e);
|
|
287
|
-
}
|
|
288
|
-
#r = F.derived(() => !(this.isMulti || this.opts.items.current.length === 0));
|
|
289
|
-
get dataTypeaheadEnabled() {
|
|
290
|
-
return F.get(this.#r);
|
|
291
|
-
}
|
|
292
|
-
set dataTypeaheadEnabled(e) {
|
|
293
|
-
F.set(this.#r, e);
|
|
294
|
-
}
|
|
295
|
-
constructor(e) {
|
|
296
|
-
super(e), this.opts = e, F.user_effect(() => {
|
|
297
|
-
!this.opts.open.current && this.highlightedNode && this.setHighlightedNode(null);
|
|
298
|
-
}), v(() => this.opts.open.current, () => {
|
|
299
|
-
this.opts.open.current && this.setInitialHighlightedNode();
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
includesItem(e) {
|
|
303
|
-
return this.opts.value.current === e;
|
|
304
|
-
}
|
|
305
|
-
toggleItem(e, t = e) {
|
|
306
|
-
let n = this.includesItem(e) ? "" : e;
|
|
307
|
-
this.opts.value.current = n, n !== "" && (this.opts.inputValue.current = t);
|
|
308
|
-
}
|
|
309
|
-
setInitialHighlightedNode() {
|
|
310
|
-
k(() => {
|
|
311
|
-
if (!(this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode))) {
|
|
312
|
-
if (this.opts.value.current !== "") {
|
|
313
|
-
let e = this.getNodeByValue(this.opts.value.current);
|
|
314
|
-
if (e) {
|
|
315
|
-
this.setHighlightedNode(e, !0);
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
this.setHighlightedToFirstCandidate(!0);
|
|
320
|
-
}
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
}, ae = class extends J {
|
|
324
|
-
opts;
|
|
325
|
-
isMulti = !0;
|
|
326
|
-
#e = F.derived(() => this.opts.value.current.length > 0);
|
|
327
|
-
get hasValue() {
|
|
328
|
-
return F.get(this.#e);
|
|
329
|
-
}
|
|
330
|
-
set hasValue(e) {
|
|
331
|
-
F.set(this.#e, e);
|
|
332
|
-
}
|
|
333
|
-
constructor(e) {
|
|
334
|
-
super(e), this.opts = e, F.user_effect(() => {
|
|
335
|
-
!this.opts.open.current && this.highlightedNode && this.setHighlightedNode(null);
|
|
336
|
-
}), v(() => this.opts.open.current, () => {
|
|
337
|
-
this.opts.open.current && this.setInitialHighlightedNode();
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
includesItem(e) {
|
|
341
|
-
return this.opts.value.current.includes(e);
|
|
342
|
-
}
|
|
343
|
-
toggleItem(e, t = e) {
|
|
344
|
-
this.includesItem(e) ? this.opts.value.current = this.opts.value.current.filter((t) => t !== e) : this.opts.value.current = [...this.opts.value.current, e], this.opts.inputValue.current = t;
|
|
345
|
-
}
|
|
346
|
-
setInitialHighlightedNode() {
|
|
347
|
-
k(() => {
|
|
348
|
-
if (this.domContext && !(this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode))) {
|
|
349
|
-
if (this.opts.value.current.length && this.opts.value.current[0] !== "") {
|
|
350
|
-
let e = this.getNodeByValue(this.opts.value.current[0]);
|
|
351
|
-
if (e) {
|
|
352
|
-
this.setHighlightedNode(e, !0);
|
|
353
|
-
return;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
this.setHighlightedToFirstCandidate(!0);
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
}, oe = class {
|
|
361
|
-
static create(e) {
|
|
362
|
-
let { type: t, ...n } = e, r = t === "single" ? new Y(n) : new ae(n);
|
|
363
|
-
return K.set(r);
|
|
364
|
-
}
|
|
365
|
-
}, se = class e {
|
|
366
|
-
static create(t) {
|
|
367
|
-
return new e(t, K.get());
|
|
368
|
-
}
|
|
369
|
-
root;
|
|
370
|
-
opts;
|
|
371
|
-
attachment;
|
|
372
|
-
constructor(e, t) {
|
|
373
|
-
this.root = t, this.opts = e, this.attachment = a(e.ref, (e) => this.root.valueNode = e), this.setValue = this.setValue.bind(this);
|
|
374
|
-
}
|
|
375
|
-
setValue(e) {
|
|
376
|
-
this.root.isMulti && !Array.isArray(e) || !this.root.isMulti && typeof e != "string" || (this.root.opts.value.current = e);
|
|
377
|
-
}
|
|
378
|
-
#e = F.derived(() => {
|
|
379
|
-
if (this.root.isMulti) return {
|
|
380
|
-
selection: {
|
|
381
|
-
type: "multiple",
|
|
382
|
-
selected: this.root.opts.value.current.length > 0 ? this.root.opts.value.current.map((e) => ({
|
|
383
|
-
value: e,
|
|
384
|
-
label: this.root.getLabelForValue(e)
|
|
385
|
-
})) : [],
|
|
386
|
-
setValue: this.setValue
|
|
387
|
-
},
|
|
388
|
-
placeholder: this.opts.placeholder.current ?? null,
|
|
389
|
-
disabled: this.root.opts.disabled.current
|
|
390
|
-
};
|
|
391
|
-
let e = this.root.opts.value.current;
|
|
392
|
-
return {
|
|
393
|
-
selection: {
|
|
394
|
-
type: "single",
|
|
395
|
-
selected: e === "" ? void 0 : {
|
|
396
|
-
value: e,
|
|
397
|
-
label: e === "" ? "" : this.root.getLabelForValue(e)
|
|
398
|
-
},
|
|
399
|
-
setValue: this.setValue
|
|
400
|
-
},
|
|
401
|
-
placeholder: this.opts.placeholder.current ?? null,
|
|
402
|
-
disabled: this.root.opts.disabled.current
|
|
403
|
-
};
|
|
404
|
-
});
|
|
405
|
-
get snippetProps() {
|
|
406
|
-
return F.get(this.#e);
|
|
407
|
-
}
|
|
408
|
-
set snippetProps(e) {
|
|
409
|
-
F.set(this.#e, e);
|
|
410
|
-
}
|
|
411
|
-
#t = F.derived(() => ({
|
|
412
|
-
id: this.opts.id.current,
|
|
413
|
-
"data-placeholder": this.root.hasValue ? void 0 : "",
|
|
414
|
-
"data-select-value": "",
|
|
415
|
-
...this.attachment
|
|
416
|
-
}));
|
|
417
|
-
get props() {
|
|
418
|
-
return F.get(this.#t);
|
|
419
|
-
}
|
|
420
|
-
set props(e) {
|
|
421
|
-
F.set(this.#t, e);
|
|
422
|
-
}
|
|
423
|
-
}, ce = class e {
|
|
424
|
-
static create(t) {
|
|
425
|
-
return new e(t, K.get());
|
|
426
|
-
}
|
|
427
|
-
opts;
|
|
428
|
-
root;
|
|
429
|
-
attachment;
|
|
430
|
-
#e;
|
|
431
|
-
#t;
|
|
432
|
-
constructor(e, t) {
|
|
433
|
-
this.opts = e, this.root = t, this.attachment = a(e.ref, (e) => this.root.triggerNode = e), this.root.domContext = new l(e.ref), this.#e = new D({
|
|
434
|
-
getCurrentItem: () => this.root.highlightedNode,
|
|
435
|
-
onMatch: (e) => {
|
|
436
|
-
this.root.setHighlightedNode(e);
|
|
437
|
-
},
|
|
438
|
-
getActiveElement: () => this.root.domContext.getActiveElement(),
|
|
439
|
-
getWindow: () => this.root.domContext.getWindow()
|
|
440
|
-
}), this.#t = new V({
|
|
441
|
-
getCurrentItem: () => this.root.isMulti ? "" : this.root.currentLabel,
|
|
442
|
-
onMatch: (e) => {
|
|
443
|
-
if (this.root.isMulti || !this.root.opts.items.current) return;
|
|
444
|
-
let t = this.root.opts.items.current.find((t) => t.label === e);
|
|
445
|
-
t && (this.root.opts.value.current = t.value);
|
|
446
|
-
},
|
|
447
|
-
enabled: () => !this.root.isMulti && this.root.dataTypeaheadEnabled,
|
|
448
|
-
candidateValues: () => this.root.isMulti ? [] : this.root.candidateLabels,
|
|
449
|
-
getWindow: () => this.root.domContext.getWindow()
|
|
450
|
-
}), this.onkeydown = this.onkeydown.bind(this), this.onpointerdown = this.onpointerdown.bind(this), this.onpointerup = this.onpointerup.bind(this), this.onclick = this.onclick.bind(this);
|
|
451
|
-
}
|
|
452
|
-
#n() {
|
|
453
|
-
this.root.opts.open.current = !0, this.#t.resetTypeahead(), this.#e.resetTypeahead();
|
|
454
|
-
}
|
|
455
|
-
#r(e) {
|
|
456
|
-
this.#n();
|
|
457
|
-
}
|
|
458
|
-
#i() {
|
|
459
|
-
let e = this.root.highlightedValue === this.root.opts.value.current;
|
|
460
|
-
return !this.root.opts.allowDeselect.current && e && !this.root.isMulti || (this.root.highlightedValue !== null && this.root.toggleItem(this.root.highlightedValue, this.root.highlightedLabel ?? void 0), !this.root.isMulti && !e) ? (this.root.handleClose(), !0) : !1;
|
|
461
|
-
}
|
|
462
|
-
onkeydown(e) {
|
|
463
|
-
if (this.root.isUsingKeyboard = !0, (e.key === "ArrowUp" || e.key === "ArrowDown") && e.preventDefault(), !this.root.opts.open.current) {
|
|
464
|
-
if (e.key === "Enter" || e.key === " " || e.key === "ArrowDown" || e.key === "ArrowUp") e.preventDefault(), this.root.handleOpen();
|
|
465
|
-
else if (!this.root.isMulti && this.root.dataTypeaheadEnabled) {
|
|
466
|
-
this.#t.handleTypeaheadSearch(e.key);
|
|
467
|
-
return;
|
|
468
|
-
}
|
|
469
|
-
if (this.root.hasValue) return;
|
|
470
|
-
let t = this.root.getCandidateNodes();
|
|
471
|
-
if (!t.length) return;
|
|
472
|
-
if (e.key === "ArrowDown") {
|
|
473
|
-
let e = t[0];
|
|
474
|
-
this.root.setHighlightedNode(e);
|
|
475
|
-
} else if (e.key === "ArrowUp") {
|
|
476
|
-
let e = t[t.length - 1];
|
|
477
|
-
this.root.setHighlightedNode(e);
|
|
478
|
-
}
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
if (e.key === "Tab") {
|
|
482
|
-
this.root.handleClose();
|
|
483
|
-
return;
|
|
484
|
-
}
|
|
485
|
-
if ((e.key === "Enter" || e.key === " " && this.#e.search === "") && !e.isComposing && (e.preventDefault(), this.#i())) return;
|
|
486
|
-
if (e.key === "ArrowUp" && e.altKey && this.root.handleClose(), W.includes(e.key)) {
|
|
487
|
-
e.preventDefault();
|
|
488
|
-
let t = this.root.getCandidateNodes(), n = this.root.highlightedNode, r = n ? t.indexOf(n) : -1, i = this.root.opts.loop.current, a;
|
|
489
|
-
if (e.key === "ArrowDown" ? a = N(t, r, i) : e.key === "ArrowUp" ? a = C(t, r, i) : e.key === "PageDown" ? a = x(t, r, 10, i) : e.key === "PageUp" ? a = T(t, r, 10, i) : e.key === "Home" ? a = t[0] : e.key === "End" && (a = t[t.length - 1]), !a) return;
|
|
490
|
-
this.root.setHighlightedNode(a);
|
|
491
|
-
return;
|
|
492
|
-
}
|
|
493
|
-
let t = e.ctrlKey || e.altKey || e.metaKey, n = e.key.length === 1, r = e.key === " ", i = this.root.getCandidateNodes();
|
|
494
|
-
e.key !== "Tab" && (!t && (n || r) ? !this.#e.handleTypeaheadSearch(e.key, i) && r && (e.preventDefault(), this.#i()) : this.root.highlightedNode || this.root.setHighlightedToFirstCandidate());
|
|
495
|
-
}
|
|
496
|
-
onclick(e) {
|
|
497
|
-
e.currentTarget.focus();
|
|
498
|
-
}
|
|
499
|
-
onpointerdown(e) {
|
|
500
|
-
if (this.root.opts.disabled.current) return;
|
|
501
|
-
if (e.pointerType === "touch") return e.preventDefault();
|
|
502
|
-
let t = e.target;
|
|
503
|
-
t?.hasPointerCapture(e.pointerId) && t?.releasePointerCapture(e.pointerId), e.button === 0 && e.ctrlKey === !1 && (this.root.opts.open.current === !1 ? this.#r(e) : this.root.handleClose());
|
|
504
|
-
}
|
|
505
|
-
onpointerup(e) {
|
|
506
|
-
this.root.opts.disabled.current || (e.preventDefault(), e.pointerType === "touch" && (this.root.opts.open.current === !1 ? this.#r(e) : this.root.handleClose()));
|
|
507
|
-
}
|
|
508
|
-
#a = F.derived(() => ({
|
|
509
|
-
id: this.opts.id.current,
|
|
510
|
-
disabled: this.root.opts.disabled.current ? !0 : void 0,
|
|
511
|
-
"aria-haspopup": "listbox",
|
|
512
|
-
"aria-expanded": n(this.root.opts.open.current),
|
|
513
|
-
"aria-activedescendant": this.root.highlightedId,
|
|
514
|
-
"data-state": h(this.root.opts.open.current),
|
|
515
|
-
"data-disabled": P(this.root.opts.disabled.current),
|
|
516
|
-
"data-placeholder": this.root.hasValue ? void 0 : "",
|
|
517
|
-
[this.root.getBitsAttr("trigger")]: "",
|
|
518
|
-
onpointerdown: this.onpointerdown,
|
|
519
|
-
onkeydown: this.onkeydown,
|
|
520
|
-
onclick: this.onclick,
|
|
521
|
-
onpointerup: this.onpointerup,
|
|
522
|
-
...this.attachment
|
|
523
|
-
}));
|
|
524
|
-
get props() {
|
|
525
|
-
return F.get(this.#a);
|
|
526
|
-
}
|
|
527
|
-
set props(e) {
|
|
528
|
-
F.set(this.#a, e);
|
|
529
|
-
}
|
|
530
|
-
}, le = class e {
|
|
531
|
-
static create(t) {
|
|
532
|
-
return q.set(new e(t, K.get()));
|
|
533
|
-
}
|
|
534
|
-
opts;
|
|
535
|
-
root;
|
|
536
|
-
attachment;
|
|
537
|
-
#e = F.state(!1);
|
|
538
|
-
get isPositioned() {
|
|
539
|
-
return F.get(this.#e);
|
|
540
|
-
}
|
|
541
|
-
set isPositioned(e) {
|
|
542
|
-
F.set(this.#e, e, !0);
|
|
543
|
-
}
|
|
544
|
-
domContext;
|
|
545
|
-
constructor(e, t) {
|
|
546
|
-
this.opts = e, this.root = t, this.attachment = a(e.ref, (e) => this.root.contentNode = e), this.domContext = new l(this.opts.ref), this.root.domContext === null && (this.root.domContext = this.domContext), c(() => {
|
|
547
|
-
this.root.contentNode = null, this.root.contentIsPositioned = !1, this.isPositioned = !1;
|
|
548
|
-
}), v(() => this.root.opts.open.current, () => {
|
|
549
|
-
this.root.opts.open.current || (this.root.contentIsPositioned = !1, this.isPositioned = !1);
|
|
550
|
-
}), v([() => this.isPositioned, () => this.root.highlightedNode], () => {
|
|
551
|
-
this.isPositioned && this.root.highlightedNode && this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode);
|
|
552
|
-
}), this.onpointermove = this.onpointermove.bind(this);
|
|
553
|
-
}
|
|
554
|
-
onpointermove(e) {
|
|
555
|
-
this.root.isUsingKeyboard = !1;
|
|
556
|
-
}
|
|
557
|
-
#t = F.derived(() => S(this.root.isCombobox ? "combobox" : "select"));
|
|
558
|
-
onInteractOutside = (e) => {
|
|
559
|
-
e.target === this.root.triggerNode || e.target === this.root.inputNode ? e.preventDefault() : (this.opts.onInteractOutside.current(e), e.defaultPrevented || this.root.handleClose());
|
|
560
|
-
};
|
|
561
|
-
onEscapeKeydown = (e) => {
|
|
562
|
-
this.opts.onEscapeKeydown.current(e), e.defaultPrevented || this.root.handleClose();
|
|
563
|
-
};
|
|
564
|
-
onOpenAutoFocus = (e) => {
|
|
565
|
-
e.preventDefault();
|
|
566
|
-
};
|
|
567
|
-
onCloseAutoFocus = (e) => {
|
|
568
|
-
e.preventDefault();
|
|
569
|
-
};
|
|
570
|
-
get shouldRender() {
|
|
571
|
-
return this.root.contentPresence.shouldRender;
|
|
572
|
-
}
|
|
573
|
-
#n = F.derived(() => ({ open: this.root.opts.open.current }));
|
|
574
|
-
get snippetProps() {
|
|
575
|
-
return F.get(this.#n);
|
|
576
|
-
}
|
|
577
|
-
set snippetProps(e) {
|
|
578
|
-
F.set(this.#n, e);
|
|
579
|
-
}
|
|
580
|
-
#r = F.derived(() => ({
|
|
581
|
-
id: this.opts.id.current,
|
|
582
|
-
role: "listbox",
|
|
583
|
-
"aria-multiselectable": this.root.isMulti ? "true" : void 0,
|
|
584
|
-
"data-state": h(this.root.opts.open.current),
|
|
585
|
-
..._(this.root.contentPresence.transitionStatus),
|
|
586
|
-
[this.root.getBitsAttr("content")]: "",
|
|
587
|
-
style: {
|
|
588
|
-
display: "flex",
|
|
589
|
-
flexDirection: "column",
|
|
590
|
-
outline: "none",
|
|
591
|
-
boxSizing: "border-box",
|
|
592
|
-
pointerEvents: "auto",
|
|
593
|
-
...F.get(this.#t)
|
|
594
|
-
},
|
|
595
|
-
onpointermove: this.onpointermove,
|
|
596
|
-
...this.attachment
|
|
597
|
-
}));
|
|
598
|
-
get props() {
|
|
599
|
-
return F.get(this.#r);
|
|
600
|
-
}
|
|
601
|
-
set props(e) {
|
|
602
|
-
F.set(this.#r, e);
|
|
603
|
-
}
|
|
604
|
-
popperProps = {
|
|
605
|
-
onInteractOutside: this.onInteractOutside,
|
|
606
|
-
onEscapeKeydown: this.onEscapeKeydown,
|
|
607
|
-
onOpenAutoFocus: this.onOpenAutoFocus,
|
|
608
|
-
onCloseAutoFocus: this.onCloseAutoFocus,
|
|
609
|
-
trapFocus: !1,
|
|
610
|
-
loop: !1,
|
|
611
|
-
onPlaced: () => {
|
|
612
|
-
this.root.opts.open.current && (this.root.contentIsPositioned = !0, this.isPositioned = !0);
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
}, ue = class e {
|
|
616
|
-
static create(t) {
|
|
617
|
-
return new e(t, K.get());
|
|
618
|
-
}
|
|
619
|
-
opts;
|
|
620
|
-
root;
|
|
621
|
-
attachment;
|
|
622
|
-
#e = F.derived(() => this.root.includesItem(this.opts.value.current));
|
|
623
|
-
get isSelected() {
|
|
624
|
-
return F.get(this.#e);
|
|
625
|
-
}
|
|
626
|
-
set isSelected(e) {
|
|
627
|
-
F.set(this.#e, e);
|
|
628
|
-
}
|
|
629
|
-
#t = F.derived(() => this.root.highlightedValue === this.opts.value.current);
|
|
630
|
-
get isHighlighted() {
|
|
631
|
-
return F.get(this.#t);
|
|
632
|
-
}
|
|
633
|
-
set isHighlighted(e) {
|
|
634
|
-
F.set(this.#t, e);
|
|
635
|
-
}
|
|
636
|
-
prevHighlighted = new y(() => this.isHighlighted);
|
|
637
|
-
#n = F.state(!1);
|
|
638
|
-
get mounted() {
|
|
639
|
-
return F.get(this.#n);
|
|
640
|
-
}
|
|
641
|
-
set mounted(e) {
|
|
642
|
-
F.set(this.#n, e, !0);
|
|
643
|
-
}
|
|
644
|
-
constructor(e, t) {
|
|
645
|
-
this.opts = e, this.root = t, this.attachment = a(e.ref), v([() => this.isHighlighted, () => this.prevHighlighted.current], () => {
|
|
646
|
-
this.isHighlighted ? this.opts.onHighlight.current() : this.prevHighlighted.current && this.opts.onUnhighlight.current();
|
|
647
|
-
}), v(() => this.mounted, () => {
|
|
648
|
-
this.mounted && this.root.setInitialHighlightedNode();
|
|
649
|
-
}), this.onpointerdown = this.onpointerdown.bind(this), this.onpointerup = this.onpointerup.bind(this), this.onpointermove = this.onpointermove.bind(this);
|
|
650
|
-
}
|
|
651
|
-
handleSelect() {
|
|
652
|
-
if (this.opts.disabled.current) return;
|
|
653
|
-
let e = this.opts.value.current === this.root.opts.value.current;
|
|
654
|
-
!this.root.opts.allowDeselect.current && e && !this.root.isMulti ? this.root.handleClose() : (this.root.toggleItem(this.opts.value.current, this.opts.label.current), !this.root.isMulti && !e && this.root.handleClose());
|
|
655
|
-
}
|
|
656
|
-
#r = F.derived(() => ({
|
|
657
|
-
selected: this.isSelected,
|
|
658
|
-
highlighted: this.isHighlighted
|
|
659
|
-
}));
|
|
660
|
-
get snippetProps() {
|
|
661
|
-
return F.get(this.#r);
|
|
662
|
-
}
|
|
663
|
-
set snippetProps(e) {
|
|
664
|
-
F.set(this.#r, e);
|
|
665
|
-
}
|
|
666
|
-
onpointerdown(e) {
|
|
667
|
-
e.preventDefault();
|
|
668
|
-
}
|
|
669
|
-
onpointerup(e) {
|
|
670
|
-
!e.defaultPrevented && this.opts.ref.current && (e.pointerType === "touch" && !m ? ie(this.opts.ref.current, "click", () => {
|
|
671
|
-
this.handleSelect(), this.root.setHighlightedNode(this.opts.ref.current);
|
|
672
|
-
}, { once: !0 }) : (e.preventDefault(), this.handleSelect(), e.pointerType === "touch" && this.root.setHighlightedNode(this.opts.ref.current)));
|
|
673
|
-
}
|
|
674
|
-
onpointermove(e) {
|
|
675
|
-
e.pointerType !== "touch" && this.root.highlightedNode !== this.opts.ref.current && this.root.setHighlightedNode(this.opts.ref.current);
|
|
676
|
-
}
|
|
677
|
-
#i = F.derived(() => ({
|
|
678
|
-
id: this.opts.id.current,
|
|
679
|
-
role: "option",
|
|
680
|
-
"aria-selected": this.root.includesItem(this.opts.value.current) ? "true" : void 0,
|
|
681
|
-
"data-value": this.opts.value.current,
|
|
682
|
-
"data-disabled": P(this.opts.disabled.current),
|
|
683
|
-
"data-highlighted": this.root.highlightedValue === this.opts.value.current && !this.opts.disabled.current ? "" : void 0,
|
|
684
|
-
"data-selected": this.root.includesItem(this.opts.value.current) ? "" : void 0,
|
|
685
|
-
"data-label": this.opts.label.current,
|
|
686
|
-
[this.root.getBitsAttr("item")]: "",
|
|
687
|
-
onpointermove: this.onpointermove,
|
|
688
|
-
onpointerdown: this.onpointerdown,
|
|
689
|
-
onpointerup: this.onpointerup,
|
|
690
|
-
...this.attachment
|
|
691
|
-
}));
|
|
692
|
-
get props() {
|
|
693
|
-
return F.get(this.#i);
|
|
694
|
-
}
|
|
695
|
-
set props(e) {
|
|
696
|
-
F.set(this.#i, e);
|
|
697
|
-
}
|
|
698
|
-
}, de = class e {
|
|
699
|
-
static create(t) {
|
|
700
|
-
return new e(t, K.get());
|
|
701
|
-
}
|
|
702
|
-
opts;
|
|
703
|
-
root;
|
|
704
|
-
#e = F.derived(() => this.root.opts.name.current !== "");
|
|
705
|
-
get shouldRender() {
|
|
706
|
-
return F.get(this.#e);
|
|
707
|
-
}
|
|
708
|
-
set shouldRender(e) {
|
|
709
|
-
F.set(this.#e, e);
|
|
710
|
-
}
|
|
711
|
-
constructor(e, t) {
|
|
712
|
-
this.opts = e, this.root = t, this.onfocus = this.onfocus.bind(this);
|
|
713
|
-
}
|
|
714
|
-
onfocus(e) {
|
|
715
|
-
e.preventDefault(), this.root.isCombobox ? this.root.inputNode?.focus() : this.root.triggerNode?.focus();
|
|
716
|
-
}
|
|
717
|
-
#t = F.derived(() => ({
|
|
718
|
-
disabled: g(this.root.opts.disabled.current),
|
|
719
|
-
required: g(this.root.opts.required.current),
|
|
720
|
-
name: this.root.opts.name.current,
|
|
721
|
-
value: this.opts.value.current,
|
|
722
|
-
onfocus: this.onfocus
|
|
723
|
-
}));
|
|
724
|
-
get props() {
|
|
725
|
-
return F.get(this.#t);
|
|
726
|
-
}
|
|
727
|
-
set props(e) {
|
|
728
|
-
F.set(this.#t, e);
|
|
729
|
-
}
|
|
730
|
-
}, fe = class e {
|
|
731
|
-
static create(t) {
|
|
732
|
-
return new e(t, q.get());
|
|
733
|
-
}
|
|
734
|
-
opts;
|
|
735
|
-
content;
|
|
736
|
-
root;
|
|
737
|
-
attachment;
|
|
738
|
-
#e = F.state(0);
|
|
739
|
-
get prevScrollTop() {
|
|
740
|
-
return F.get(this.#e);
|
|
741
|
-
}
|
|
742
|
-
set prevScrollTop(e) {
|
|
743
|
-
F.set(this.#e, e, !0);
|
|
744
|
-
}
|
|
745
|
-
constructor(e, t) {
|
|
746
|
-
this.opts = e, this.content = t, this.root = t.root, this.attachment = a(e.ref, (e) => {
|
|
747
|
-
this.root.viewportNode = e;
|
|
748
|
-
});
|
|
749
|
-
}
|
|
750
|
-
#t = F.derived(() => ({
|
|
751
|
-
id: this.opts.id.current,
|
|
752
|
-
role: "presentation",
|
|
753
|
-
[this.root.getBitsAttr("viewport")]: "",
|
|
754
|
-
style: {
|
|
755
|
-
position: "relative",
|
|
756
|
-
flex: 1,
|
|
757
|
-
overflow: "auto"
|
|
758
|
-
},
|
|
759
|
-
...this.attachment
|
|
760
|
-
}));
|
|
761
|
-
get props() {
|
|
762
|
-
return F.get(this.#t);
|
|
763
|
-
}
|
|
764
|
-
set props(e) {
|
|
765
|
-
F.set(this.#t, e);
|
|
766
|
-
}
|
|
767
|
-
};
|
|
768
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
|
|
769
|
-
function X(e, t) {
|
|
770
|
-
F.push(t, !0);
|
|
771
|
-
let n = F.prop(t, "value", 15), r = de.create({ value: w(() => n()) });
|
|
772
|
-
var i = F.comment(), a = F.first_child(i), o = (e) => {
|
|
773
|
-
B(e, F.spread_props(() => r.props, {
|
|
774
|
-
get autocomplete() {
|
|
775
|
-
return t.autocomplete;
|
|
776
|
-
},
|
|
777
|
-
get value() {
|
|
778
|
-
return n();
|
|
779
|
-
},
|
|
780
|
-
set value(e) {
|
|
781
|
-
n(e);
|
|
782
|
-
}
|
|
783
|
-
}));
|
|
784
|
-
};
|
|
785
|
-
F.if(a, (e) => {
|
|
786
|
-
r.shouldRender && e(o);
|
|
787
|
-
}), F.append(e, i), F.pop();
|
|
788
|
-
}
|
|
789
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
|
|
790
|
-
var pe = /* @__PURE__ */ new Set([
|
|
791
|
-
"$$slots",
|
|
792
|
-
"$$events",
|
|
793
|
-
"$$legacy",
|
|
794
|
-
"id",
|
|
795
|
-
"ref",
|
|
796
|
-
"forceMount",
|
|
797
|
-
"side",
|
|
798
|
-
"onInteractOutside",
|
|
799
|
-
"onEscapeKeydown",
|
|
800
|
-
"children",
|
|
801
|
-
"child",
|
|
802
|
-
"preventScroll",
|
|
803
|
-
"style"
|
|
804
|
-
]), Z = F.from_html("<div><div><!></div></div>");
|
|
805
|
-
function me(e, t) {
|
|
806
|
-
let n = F.props_id();
|
|
807
|
-
F.push(t, !0);
|
|
808
|
-
let r = F.prop(t, "id", 19, () => M(n)), i = F.prop(t, "ref", 15, null), a = F.prop(t, "forceMount", 3, !1), o = F.prop(t, "side", 3, "bottom"), s = F.prop(t, "onInteractOutside", 3, p), c = F.prop(t, "onEscapeKeydown", 3, p), l = F.prop(t, "preventScroll", 3, !1), u = F.rest_props(t, pe), d = le.create({
|
|
809
|
-
id: w(() => r()),
|
|
810
|
-
ref: w(() => i(), (e) => i(e)),
|
|
811
|
-
onInteractOutside: w(() => s()),
|
|
812
|
-
onEscapeKeydown: w(() => c())
|
|
813
|
-
}), m = F.derived(() => f(u, d.props));
|
|
814
|
-
var h = F.comment(), g = F.first_child(h), _ = (e) => {
|
|
815
|
-
A(e, F.spread_props(() => F.get(m), () => d.popperProps, {
|
|
816
|
-
get ref() {
|
|
817
|
-
return d.opts.ref;
|
|
818
|
-
},
|
|
819
|
-
get side() {
|
|
820
|
-
return o();
|
|
821
|
-
},
|
|
822
|
-
get enabled() {
|
|
823
|
-
return d.root.opts.open.current;
|
|
824
|
-
},
|
|
825
|
-
get id() {
|
|
826
|
-
return r();
|
|
827
|
-
},
|
|
828
|
-
get preventScroll() {
|
|
829
|
-
return l();
|
|
830
|
-
},
|
|
831
|
-
forceMount: !0,
|
|
832
|
-
get shouldRender() {
|
|
833
|
-
return d.shouldRender;
|
|
834
|
-
},
|
|
835
|
-
popper: (e, n) => {
|
|
836
|
-
let r = () => (n?.()).props, i = () => (n?.()).wrapperProps, a = F.derived(() => f(r(), { style: d.props.style }, { style: t.style }));
|
|
837
|
-
var o = F.comment(), s = F.first_child(o), c = (e) => {
|
|
838
|
-
var n = F.comment(), r = F.first_child(n);
|
|
839
|
-
{
|
|
840
|
-
let e = F.derived(() => ({
|
|
841
|
-
props: F.get(a),
|
|
842
|
-
wrapperProps: i(),
|
|
843
|
-
...d.snippetProps
|
|
844
|
-
}));
|
|
845
|
-
F.snippet(r, () => t.child, () => F.get(e));
|
|
846
|
-
}
|
|
847
|
-
F.append(e, n);
|
|
848
|
-
}, l = (e) => {
|
|
849
|
-
var n = Z();
|
|
850
|
-
F.attribute_effect(n, () => ({ ...i() }));
|
|
851
|
-
var r = F.child(n);
|
|
852
|
-
F.attribute_effect(r, () => ({ ...F.get(a) }));
|
|
853
|
-
var o = F.child(r);
|
|
854
|
-
F.snippet(o, () => t.children ?? F.noop), F.reset(r), F.reset(n), F.append(e, n);
|
|
855
|
-
};
|
|
856
|
-
F.if(s, (e) => {
|
|
857
|
-
t.child ? e(c) : e(l, -1);
|
|
858
|
-
}), F.append(e, o);
|
|
859
|
-
},
|
|
860
|
-
$$slots: { popper: !0 }
|
|
861
|
-
}));
|
|
862
|
-
}, v = (e) => {
|
|
863
|
-
O(e, F.spread_props(() => F.get(m), () => d.popperProps, {
|
|
864
|
-
get ref() {
|
|
865
|
-
return d.opts.ref;
|
|
866
|
-
},
|
|
867
|
-
get side() {
|
|
868
|
-
return o();
|
|
869
|
-
},
|
|
870
|
-
get open() {
|
|
871
|
-
return d.root.opts.open.current;
|
|
872
|
-
},
|
|
873
|
-
get id() {
|
|
874
|
-
return r();
|
|
875
|
-
},
|
|
876
|
-
get preventScroll() {
|
|
877
|
-
return l();
|
|
878
|
-
},
|
|
879
|
-
forceMount: !1,
|
|
880
|
-
get shouldRender() {
|
|
881
|
-
return d.shouldRender;
|
|
882
|
-
},
|
|
883
|
-
popper: (e, n) => {
|
|
884
|
-
let r = () => (n?.()).props, i = () => (n?.()).wrapperProps, a = F.derived(() => f(r(), { style: d.props.style }, { style: t.style }));
|
|
885
|
-
var o = F.comment(), s = F.first_child(o), c = (e) => {
|
|
886
|
-
var n = F.comment(), r = F.first_child(n);
|
|
887
|
-
{
|
|
888
|
-
let e = F.derived(() => ({
|
|
889
|
-
props: F.get(a),
|
|
890
|
-
wrapperProps: i(),
|
|
891
|
-
...d.snippetProps
|
|
892
|
-
}));
|
|
893
|
-
F.snippet(r, () => t.child, () => F.get(e));
|
|
894
|
-
}
|
|
895
|
-
F.append(e, n);
|
|
896
|
-
}, l = (e) => {
|
|
897
|
-
var n = Z();
|
|
898
|
-
F.attribute_effect(n, () => ({ ...i() }));
|
|
899
|
-
var r = F.child(n);
|
|
900
|
-
F.attribute_effect(r, () => ({ ...F.get(a) }));
|
|
901
|
-
var o = F.child(r);
|
|
902
|
-
F.snippet(o, () => t.children ?? F.noop), F.reset(r), F.reset(n), F.append(e, n);
|
|
903
|
-
};
|
|
904
|
-
F.if(s, (e) => {
|
|
905
|
-
t.child ? e(c) : e(l, -1);
|
|
906
|
-
}), F.append(e, o);
|
|
907
|
-
},
|
|
908
|
-
$$slots: { popper: !0 }
|
|
909
|
-
}));
|
|
910
|
-
};
|
|
911
|
-
F.if(g, (e) => {
|
|
912
|
-
a() ? e(_) : a() || e(v, 1);
|
|
913
|
-
}), F.append(e, h), F.pop();
|
|
914
|
-
}
|
|
915
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
|
|
916
|
-
function he(e, t) {
|
|
917
|
-
F.push(t, !0);
|
|
918
|
-
let n = F.prop(t, "mounted", 15, !1), r = F.prop(t, "onMountedChange", 3, p);
|
|
919
|
-
L(() => (n(!0), r()(!0), () => {
|
|
920
|
-
n(!1), r()(!1);
|
|
921
|
-
})), F.pop();
|
|
922
|
-
}
|
|
923
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
|
|
924
|
-
var ge = /* @__PURE__ */ new Set([
|
|
925
|
-
"$$slots",
|
|
926
|
-
"$$events",
|
|
927
|
-
"$$legacy",
|
|
928
|
-
"id",
|
|
929
|
-
"ref",
|
|
930
|
-
"value",
|
|
931
|
-
"label",
|
|
932
|
-
"disabled",
|
|
933
|
-
"children",
|
|
934
|
-
"child",
|
|
935
|
-
"onHighlight",
|
|
936
|
-
"onUnhighlight"
|
|
937
|
-
]), _e = F.from_html("<div><!></div>"), ve = F.from_html("<!> <!>", 1);
|
|
938
|
-
function ye(e, t) {
|
|
939
|
-
let n = F.props_id();
|
|
940
|
-
F.push(t, !0);
|
|
941
|
-
let r = F.prop(t, "id", 19, () => M(n)), i = F.prop(t, "ref", 15, null), a = F.prop(t, "label", 19, () => t.value), o = F.prop(t, "disabled", 3, !1), s = F.prop(t, "onHighlight", 3, p), c = F.prop(t, "onUnhighlight", 3, p), l = F.rest_props(t, ge), u = ue.create({
|
|
942
|
-
id: w(() => r()),
|
|
943
|
-
ref: w(() => i(), (e) => i(e)),
|
|
944
|
-
value: w(() => t.value),
|
|
945
|
-
disabled: w(() => o()),
|
|
946
|
-
label: w(() => a()),
|
|
947
|
-
onHighlight: w(() => s()),
|
|
948
|
-
onUnhighlight: w(() => c())
|
|
949
|
-
}), d = F.derived(() => f(l, u.props));
|
|
950
|
-
var m = ve(), h = F.first_child(m), g = (e) => {
|
|
951
|
-
var n = F.comment(), r = F.first_child(n);
|
|
952
|
-
{
|
|
953
|
-
let e = F.derived(() => ({
|
|
954
|
-
props: F.get(d),
|
|
955
|
-
...u.snippetProps
|
|
956
|
-
}));
|
|
957
|
-
F.snippet(r, () => t.child, () => F.get(e));
|
|
958
|
-
}
|
|
959
|
-
F.append(e, n);
|
|
960
|
-
}, _ = (e) => {
|
|
961
|
-
var n = _e();
|
|
962
|
-
F.attribute_effect(n, () => ({ ...F.get(d) }));
|
|
963
|
-
var r = F.child(n);
|
|
964
|
-
F.snippet(r, () => t.children ?? F.noop, () => u.snippetProps), F.reset(n), F.append(e, n);
|
|
965
|
-
};
|
|
966
|
-
F.if(h, (e) => {
|
|
967
|
-
t.child ? e(g) : e(_, -1);
|
|
968
|
-
}), he(F.sibling(h, 2), {
|
|
969
|
-
get mounted() {
|
|
970
|
-
return u.mounted;
|
|
971
|
-
},
|
|
972
|
-
set mounted(e) {
|
|
973
|
-
u.mounted = e;
|
|
974
|
-
}
|
|
975
|
-
}), F.append(e, m), F.pop();
|
|
976
|
-
}
|
|
977
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
|
|
978
|
-
var be = /* @__PURE__ */ new Set([
|
|
979
|
-
"$$slots",
|
|
980
|
-
"$$events",
|
|
981
|
-
"$$legacy",
|
|
982
|
-
"id",
|
|
983
|
-
"ref",
|
|
984
|
-
"children",
|
|
985
|
-
"child"
|
|
986
|
-
]), xe = F.from_html("<div><!></div>");
|
|
987
|
-
function Se(e, t) {
|
|
988
|
-
let n = F.props_id();
|
|
989
|
-
F.push(t, !0);
|
|
990
|
-
let r = F.prop(t, "id", 19, () => M(n)), i = F.prop(t, "ref", 15, null), a = F.rest_props(t, be), o = fe.create({
|
|
991
|
-
id: w(() => r()),
|
|
992
|
-
ref: w(() => i(), (e) => i(e))
|
|
993
|
-
}), s = F.derived(() => f(a, o.props));
|
|
994
|
-
var c = F.comment(), l = F.first_child(c), u = (e) => {
|
|
995
|
-
var n = F.comment(), r = F.first_child(n);
|
|
996
|
-
F.snippet(r, () => t.child, () => ({ props: F.get(s) })), F.append(e, n);
|
|
997
|
-
}, d = (e) => {
|
|
998
|
-
var n = xe();
|
|
999
|
-
F.attribute_effect(n, () => ({ ...F.get(s) }));
|
|
1000
|
-
var r = F.child(n);
|
|
1001
|
-
F.snippet(r, () => t.children ?? F.noop), F.reset(n), F.append(e, n);
|
|
1002
|
-
};
|
|
1003
|
-
F.if(l, (e) => {
|
|
1004
|
-
t.child ? e(u) : e(d, -1);
|
|
1005
|
-
}), F.append(e, c), F.pop();
|
|
1006
|
-
}
|
|
1007
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select.svelte
|
|
1008
|
-
var Ce = F.from_html("<!> <!>", 1);
|
|
1009
|
-
function we(e, t) {
|
|
1010
|
-
F.push(t, !0);
|
|
1011
|
-
let n = F.prop(t, "value", 15), r = F.prop(t, "onValueChange", 3, p), i = F.prop(t, "name", 3, ""), a = F.prop(t, "disabled", 3, !1), o = F.prop(t, "open", 15, !1), s = F.prop(t, "onOpenChange", 3, p), c = F.prop(t, "onOpenChangeComplete", 3, p), l = F.prop(t, "loop", 3, !1), u = F.prop(t, "scrollAlignment", 3, "nearest"), d = F.prop(t, "required", 3, !1), f = F.prop(t, "items", 19, () => []), m = F.prop(t, "allowDeselect", 3, !1);
|
|
1012
|
-
function h() {
|
|
1013
|
-
n() === void 0 && n(t.type === "single" ? "" : []);
|
|
1014
|
-
}
|
|
1015
|
-
h(), v.pre(() => n(), () => {
|
|
1016
|
-
h();
|
|
1017
|
-
});
|
|
1018
|
-
let g = F.state(""), _ = oe.create({
|
|
1019
|
-
type: t.type,
|
|
1020
|
-
value: w(() => n(), (e) => {
|
|
1021
|
-
n(e), r()(e);
|
|
1022
|
-
}),
|
|
1023
|
-
disabled: w(() => a()),
|
|
1024
|
-
required: w(() => d()),
|
|
1025
|
-
open: w(() => o(), (e) => {
|
|
1026
|
-
o(e), s()(e);
|
|
1027
|
-
}),
|
|
1028
|
-
loop: w(() => l()),
|
|
1029
|
-
scrollAlignment: w(() => u()),
|
|
1030
|
-
name: w(() => i()),
|
|
1031
|
-
isCombobox: !1,
|
|
1032
|
-
items: w(() => f()),
|
|
1033
|
-
allowDeselect: w(() => m()),
|
|
1034
|
-
inputValue: w(() => F.get(g), (e) => F.set(g, e, !0)),
|
|
1035
|
-
onOpenChangeComplete: w(() => c())
|
|
1036
|
-
});
|
|
1037
|
-
var y = Ce(), b = F.first_child(y);
|
|
1038
|
-
ee(b, {
|
|
1039
|
-
children: (e, n) => {
|
|
1040
|
-
var r = F.comment(), i = F.first_child(r);
|
|
1041
|
-
F.snippet(i, () => t.children ?? F.noop), F.append(e, r);
|
|
1042
|
-
},
|
|
1043
|
-
$$slots: { default: !0 }
|
|
1044
|
-
});
|
|
1045
|
-
var x = F.sibling(b, 2), S = (e) => {
|
|
1046
|
-
var n = F.comment(), r = F.first_child(n), i = (e) => {
|
|
1047
|
-
X(e, { get autocomplete() {
|
|
1048
|
-
return t.autocomplete;
|
|
1049
|
-
} });
|
|
1050
|
-
}, a = (e) => {
|
|
1051
|
-
var n = F.comment(), r = F.first_child(n);
|
|
1052
|
-
F.each(r, 16, () => _.opts.value.current, (e) => e, (e, n) => {
|
|
1053
|
-
X(e, {
|
|
1054
|
-
get value() {
|
|
1055
|
-
return n;
|
|
1056
|
-
},
|
|
1057
|
-
get autocomplete() {
|
|
1058
|
-
return t.autocomplete;
|
|
1059
|
-
}
|
|
1060
|
-
});
|
|
1061
|
-
}), F.append(e, n);
|
|
1062
|
-
};
|
|
1063
|
-
F.if(r, (e) => {
|
|
1064
|
-
_.opts.value.current.length === 0 ? e(i) : e(a, -1);
|
|
1065
|
-
}), F.append(e, n);
|
|
1066
|
-
}, C = F.derived(() => Array.isArray(_.opts.value.current)), T = (e) => {
|
|
1067
|
-
X(e, {
|
|
1068
|
-
get autocomplete() {
|
|
1069
|
-
return t.autocomplete;
|
|
1070
|
-
},
|
|
1071
|
-
get value() {
|
|
1072
|
-
return _.opts.value.current;
|
|
1073
|
-
},
|
|
1074
|
-
set value(e) {
|
|
1075
|
-
_.opts.value.current = e;
|
|
1076
|
-
}
|
|
1077
|
-
});
|
|
1078
|
-
};
|
|
1079
|
-
F.if(x, (e) => {
|
|
1080
|
-
F.get(C) ? e(S) : e(T, -1);
|
|
1081
|
-
}), F.append(e, y), F.pop();
|
|
1082
|
-
}
|
|
1083
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-value.svelte
|
|
1084
|
-
var Te = /* @__PURE__ */ new Set([
|
|
1085
|
-
"$$slots",
|
|
1086
|
-
"$$events",
|
|
1087
|
-
"$$legacy",
|
|
1088
|
-
"ref",
|
|
1089
|
-
"id",
|
|
1090
|
-
"placeholder",
|
|
1091
|
-
"child",
|
|
1092
|
-
"children"
|
|
1093
|
-
]), Ee = F.from_html("<span><!></span>");
|
|
1094
|
-
function Q(e, t) {
|
|
1095
|
-
let n = F.props_id();
|
|
1096
|
-
F.push(t, !0);
|
|
1097
|
-
let r = F.prop(t, "ref", 15, null), i = F.prop(t, "id", 19, () => M(n)), a = F.rest_props(t, Te), o = se.create({
|
|
1098
|
-
id: w(() => i()),
|
|
1099
|
-
ref: w(() => r(), (e) => r(e)),
|
|
1100
|
-
placeholder: w(() => t.placeholder)
|
|
1101
|
-
}), s = F.derived(() => f(a, o.props));
|
|
1102
|
-
var c = F.comment(), l = F.first_child(c), u = (e) => {
|
|
1103
|
-
var n = F.comment(), r = F.first_child(n);
|
|
1104
|
-
{
|
|
1105
|
-
let e = F.derived(() => ({
|
|
1106
|
-
props: F.get(s),
|
|
1107
|
-
...o.snippetProps
|
|
1108
|
-
}));
|
|
1109
|
-
F.snippet(r, () => t.child, () => F.get(e));
|
|
1110
|
-
}
|
|
1111
|
-
F.append(e, n);
|
|
1112
|
-
}, d = (e) => {
|
|
1113
|
-
var n = Ee();
|
|
1114
|
-
F.attribute_effect(n, () => ({ ...F.get(s) }));
|
|
1115
|
-
var r = F.child(n), i = (e) => {
|
|
1116
|
-
var n = F.comment(), r = F.first_child(n);
|
|
1117
|
-
F.snippet(r, () => t.children ?? F.noop, () => o.snippetProps), F.append(e, n);
|
|
1118
|
-
}, a = (e) => {
|
|
1119
|
-
var n = F.text();
|
|
1120
|
-
F.template_effect(() => F.set_text(n, o.snippetProps.selection.selected?.label ?? t.placeholder)), F.append(e, n);
|
|
1121
|
-
}, c = (e) => {
|
|
1122
|
-
var n = F.text();
|
|
1123
|
-
F.template_effect((e) => F.set_text(n, e), [() => o.snippetProps.selection.selected.length > 0 ? o.snippetProps.selection.selected.map((e) => e.label).join(", ") : t.placeholder]), F.append(e, n);
|
|
1124
|
-
}, l = (e) => {
|
|
1125
|
-
var n = F.text();
|
|
1126
|
-
F.template_effect(() => F.set_text(n, t.placeholder)), F.append(e, n);
|
|
1127
|
-
};
|
|
1128
|
-
F.if(r, (e) => {
|
|
1129
|
-
t.children ? e(i) : o.snippetProps.selection.type === "single" ? e(a, 1) : o.snippetProps.selection.type === "multiple" && o.snippetProps.selection.selected ? e(c, 2) : e(l, -1);
|
|
1130
|
-
}), F.reset(n), F.append(e, n);
|
|
1131
|
-
};
|
|
1132
|
-
F.if(l, (e) => {
|
|
1133
|
-
t.child ? e(u) : e(d, -1);
|
|
1134
|
-
}), F.append(e, c), F.pop();
|
|
1135
|
-
}
|
|
1136
|
-
// ../node_modules/.bun/bits-ui@2.19.0+c45836e0534e7f3d/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
|
|
1137
|
-
var De = /* @__PURE__ */ new Set([
|
|
1138
|
-
"$$slots",
|
|
1139
|
-
"$$events",
|
|
1140
|
-
"$$legacy",
|
|
1141
|
-
"id",
|
|
1142
|
-
"ref",
|
|
1143
|
-
"child",
|
|
1144
|
-
"children",
|
|
1145
|
-
"type"
|
|
1146
|
-
]), Oe = F.from_html("<button><!></button>");
|
|
1147
|
-
function $(e, t) {
|
|
1148
|
-
let n = F.props_id();
|
|
1149
|
-
F.push(t, !0);
|
|
1150
|
-
let r = F.prop(t, "id", 19, () => M(n)), i = F.prop(t, "ref", 15, null), a = F.prop(t, "type", 3, "button"), o = F.rest_props(t, De), s = ce.create({
|
|
1151
|
-
id: w(() => r()),
|
|
1152
|
-
ref: w(() => i(), (e) => i(e))
|
|
1153
|
-
}), c = F.derived(() => f(o, s.props, { type: a() }));
|
|
1154
|
-
var l = F.comment(), u = F.first_child(l);
|
|
1155
|
-
F.component(u, () => ne, (e, n) => {
|
|
1156
|
-
n(e, {
|
|
1157
|
-
get id() {
|
|
1158
|
-
return r();
|
|
1159
|
-
},
|
|
1160
|
-
get ref() {
|
|
1161
|
-
return s.opts.ref;
|
|
1162
|
-
},
|
|
1163
|
-
children: (e, n) => {
|
|
1164
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1165
|
-
var n = F.comment(), r = F.first_child(n);
|
|
1166
|
-
F.snippet(r, () => t.child, () => ({ props: F.get(c) })), F.append(e, n);
|
|
1167
|
-
}, o = (e) => {
|
|
1168
|
-
var n = Oe();
|
|
1169
|
-
F.attribute_effect(n, () => ({ ...F.get(c) }));
|
|
1170
|
-
var r = F.child(n);
|
|
1171
|
-
F.snippet(r, () => t.children ?? F.noop), F.reset(n), F.append(e, n);
|
|
1172
|
-
};
|
|
1173
|
-
F.if(i, (e) => {
|
|
1174
|
-
t.child ? e(a) : e(o, -1);
|
|
1175
|
-
}), F.append(e, r);
|
|
1176
|
-
},
|
|
1177
|
-
$$slots: { default: !0 }
|
|
1178
|
-
});
|
|
1179
|
-
}), F.append(e, l), F.pop();
|
|
1180
|
-
}
|
|
1181
|
-
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select.svelte
|
|
1182
|
-
var ke = /* @__PURE__ */ new Set([
|
|
1183
|
-
"$$slots",
|
|
1184
|
-
"$$events",
|
|
1185
|
-
"$$legacy",
|
|
1186
|
-
"value",
|
|
1187
|
-
"children"
|
|
1188
|
-
]);
|
|
1189
|
-
function Ae(e, t) {
|
|
1190
|
-
F.push(t, !0);
|
|
1191
|
-
let n = F.prop(t, "value", 15), r = F.rest_props(t, ke);
|
|
1192
|
-
var i = F.comment(), a = F.first_child(i);
|
|
1193
|
-
F.component(a, () => we, (e, i) => {
|
|
1194
|
-
i(e, F.spread_props(() => r, {
|
|
1195
|
-
get value() {
|
|
1196
|
-
return n();
|
|
1197
|
-
},
|
|
1198
|
-
set value(e) {
|
|
1199
|
-
n(e);
|
|
1200
|
-
},
|
|
1201
|
-
children: (e, n) => {
|
|
1202
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1203
|
-
var n = F.comment(), r = F.first_child(n);
|
|
1204
|
-
F.snippet(r, () => t.children), F.append(e, n);
|
|
1205
|
-
};
|
|
1206
|
-
F.if(i, (e) => {
|
|
1207
|
-
t.children && e(a);
|
|
1208
|
-
}), F.append(e, r);
|
|
1209
|
-
},
|
|
1210
|
-
$$slots: { default: !0 }
|
|
1211
|
-
}));
|
|
1212
|
-
}), F.append(e, i), F.pop();
|
|
1213
|
-
}
|
|
1214
|
-
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-content.svelte
|
|
1215
|
-
var je = /* @__PURE__ */ new Set([
|
|
1216
|
-
"$$slots",
|
|
1217
|
-
"$$events",
|
|
1218
|
-
"$$legacy",
|
|
1219
|
-
"ref",
|
|
1220
|
-
"class",
|
|
1221
|
-
"sideOffset",
|
|
1222
|
-
"children"
|
|
1223
|
-
]);
|
|
1224
|
-
function Me(t, n) {
|
|
1225
|
-
F.push(n, !0);
|
|
1226
|
-
let r = F.prop(n, "ref", 15, null), i = F.prop(n, "sideOffset", 3, 4), a = F.rest_props(n, je);
|
|
1227
|
-
var o = F.comment(), s = F.first_child(o);
|
|
1228
|
-
{
|
|
1229
|
-
let t = F.derived(() => e("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md", n.class));
|
|
1230
|
-
F.component(s, () => me, (e, o) => {
|
|
1231
|
-
o(e, F.spread_props({
|
|
1232
|
-
get sideOffset() {
|
|
1233
|
-
return i();
|
|
1234
|
-
},
|
|
1235
|
-
get class() {
|
|
1236
|
-
return F.get(t);
|
|
1237
|
-
}
|
|
1238
|
-
}, () => a, {
|
|
1239
|
-
get ref() {
|
|
1240
|
-
return r();
|
|
1241
|
-
},
|
|
1242
|
-
set ref(e) {
|
|
1243
|
-
r(e);
|
|
1244
|
-
},
|
|
1245
|
-
children: (e, t) => {
|
|
1246
|
-
var r = F.comment(), i = F.first_child(r);
|
|
1247
|
-
F.component(i, () => Se, (e, t) => {
|
|
1248
|
-
t(e, {
|
|
1249
|
-
class: "p-1",
|
|
1250
|
-
children: (e, t) => {
|
|
1251
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1252
|
-
var t = F.comment(), r = F.first_child(t);
|
|
1253
|
-
F.snippet(r, () => n.children), F.append(e, t);
|
|
1254
|
-
};
|
|
1255
|
-
F.if(i, (e) => {
|
|
1256
|
-
n.children && e(a);
|
|
1257
|
-
}), F.append(e, r);
|
|
1258
|
-
},
|
|
1259
|
-
$$slots: { default: !0 }
|
|
1260
|
-
});
|
|
1261
|
-
}), F.append(e, r);
|
|
1262
|
-
},
|
|
1263
|
-
$$slots: { default: !0 }
|
|
1264
|
-
}));
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
F.append(t, o), F.pop();
|
|
1268
|
-
}
|
|
1269
|
-
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-item.svelte
|
|
1270
|
-
var Ne = /* @__PURE__ */ new Set([
|
|
1271
|
-
"$$slots",
|
|
1272
|
-
"$$events",
|
|
1273
|
-
"$$legacy",
|
|
1274
|
-
"ref",
|
|
1275
|
-
"class",
|
|
1276
|
-
"children"
|
|
1277
|
-
]);
|
|
1278
|
-
function Pe(t, n) {
|
|
1279
|
-
F.push(n, !0);
|
|
1280
|
-
let r = F.prop(n, "ref", 15, null), i = F.rest_props(n, Ne);
|
|
1281
|
-
var a = F.comment(), o = F.first_child(a);
|
|
1282
|
-
{
|
|
1283
|
-
let t = F.derived(() => e("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 pr-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", n.class));
|
|
1284
|
-
F.component(o, () => ye, (e, a) => {
|
|
1285
|
-
a(e, F.spread_props({ get class() {
|
|
1286
|
-
return F.get(t);
|
|
1287
|
-
} }, () => i, {
|
|
1288
|
-
get ref() {
|
|
1289
|
-
return r();
|
|
1290
|
-
},
|
|
1291
|
-
set ref(e) {
|
|
1292
|
-
r(e);
|
|
1293
|
-
},
|
|
1294
|
-
children: (e, t) => {
|
|
1295
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1296
|
-
var t = F.comment(), r = F.first_child(t);
|
|
1297
|
-
F.snippet(r, () => n.children), F.append(e, t);
|
|
1298
|
-
};
|
|
1299
|
-
F.if(i, (e) => {
|
|
1300
|
-
n.children && e(a);
|
|
1301
|
-
}), F.append(e, r);
|
|
1302
|
-
},
|
|
1303
|
-
$$slots: { default: !0 }
|
|
1304
|
-
}));
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
F.append(t, a), F.pop();
|
|
1308
|
-
}
|
|
1309
|
-
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-trigger.svelte
|
|
1310
|
-
var Fe = /* @__PURE__ */ new Set([
|
|
1311
|
-
"$$slots",
|
|
1312
|
-
"$$events",
|
|
1313
|
-
"$$legacy",
|
|
1314
|
-
"ref",
|
|
1315
|
-
"class",
|
|
1316
|
-
"child",
|
|
1317
|
-
"children"
|
|
1318
|
-
]);
|
|
1319
|
-
function Ie(t, n) {
|
|
1320
|
-
F.push(n, !0);
|
|
1321
|
-
let r = F.prop(n, "ref", 15, null), i = F.rest_props(n, Fe);
|
|
1322
|
-
var a = F.comment(), o = F.first_child(a), s = (t) => {
|
|
1323
|
-
let a = (e, t = F.noop) => {
|
|
1324
|
-
var r = F.comment(), i = F.first_child(r);
|
|
1325
|
-
F.snippet(i, () => n.child ?? F.noop, t), F.append(e, r);
|
|
1326
|
-
};
|
|
1327
|
-
var o = F.comment(), s = F.first_child(o);
|
|
1328
|
-
{
|
|
1329
|
-
let t = F.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
|
|
1330
|
-
F.component(s, () => $, (e, n) => {
|
|
1331
|
-
n(e, F.spread_props(() => i, {
|
|
1332
|
-
get child() {
|
|
1333
|
-
return a;
|
|
1334
|
-
},
|
|
1335
|
-
get class() {
|
|
1336
|
-
return F.get(t);
|
|
1337
|
-
},
|
|
1338
|
-
get ref() {
|
|
1339
|
-
return r();
|
|
1340
|
-
},
|
|
1341
|
-
set ref(e) {
|
|
1342
|
-
r(e);
|
|
1343
|
-
}
|
|
1344
|
-
}));
|
|
1345
|
-
});
|
|
1346
|
-
}
|
|
1347
|
-
F.append(t, o);
|
|
1348
|
-
}, c = (t) => {
|
|
1349
|
-
var a = F.comment(), o = F.first_child(a);
|
|
1350
|
-
{
|
|
1351
|
-
let t = F.derived(() => e("flex h-9 items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", n.class));
|
|
1352
|
-
F.component(o, () => $, (e, a) => {
|
|
1353
|
-
a(e, F.spread_props(() => i, {
|
|
1354
|
-
get class() {
|
|
1355
|
-
return F.get(t);
|
|
1356
|
-
},
|
|
1357
|
-
get ref() {
|
|
1358
|
-
return r();
|
|
1359
|
-
},
|
|
1360
|
-
set ref(e) {
|
|
1361
|
-
r(e);
|
|
1362
|
-
},
|
|
1363
|
-
children: (e, t) => {
|
|
1364
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1365
|
-
var t = F.comment(), r = F.first_child(t);
|
|
1366
|
-
F.snippet(r, () => n.children), F.append(e, t);
|
|
1367
|
-
};
|
|
1368
|
-
F.if(i, (e) => {
|
|
1369
|
-
n.children && e(a);
|
|
1370
|
-
}), F.append(e, r);
|
|
1371
|
-
},
|
|
1372
|
-
$$slots: { default: !0 }
|
|
1373
|
-
}));
|
|
1374
|
-
});
|
|
1375
|
-
}
|
|
1376
|
-
F.append(t, a);
|
|
1377
|
-
};
|
|
1378
|
-
F.if(o, (e) => {
|
|
1379
|
-
n.child ? e(s) : e(c, -1);
|
|
1380
|
-
}), F.append(t, a), F.pop();
|
|
1381
|
-
}
|
|
1382
|
-
// ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+07527d1d107142bd/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-value.svelte
|
|
1383
|
-
var Le = /* @__PURE__ */ new Set([
|
|
1384
|
-
"$$slots",
|
|
1385
|
-
"$$events",
|
|
1386
|
-
"$$legacy",
|
|
1387
|
-
"children"
|
|
1388
|
-
]);
|
|
1389
|
-
function Re(e, t) {
|
|
1390
|
-
let n = F.rest_props(t, Le);
|
|
1391
|
-
var r = F.comment(), i = F.first_child(r), a = (e) => {
|
|
1392
|
-
var r = F.comment(), i = F.first_child(r);
|
|
1393
|
-
F.component(i, () => Q, (e, r) => {
|
|
1394
|
-
r(e, F.spread_props(() => n, {
|
|
1395
|
-
children: (e, n) => {
|
|
1396
|
-
var r = F.comment(), i = F.first_child(r);
|
|
1397
|
-
F.snippet(i, () => t.children), F.append(e, r);
|
|
1398
|
-
},
|
|
1399
|
-
$$slots: { default: !0 }
|
|
1400
|
-
}));
|
|
1401
|
-
}), F.append(e, r);
|
|
1402
|
-
}, o = (e) => {
|
|
1403
|
-
var t = F.comment(), r = F.first_child(t);
|
|
1404
|
-
F.component(r, () => Q, (e, t) => {
|
|
1405
|
-
t(e, F.spread_props(() => n));
|
|
1406
|
-
}), F.append(e, t);
|
|
1407
|
-
};
|
|
1408
|
-
F.if(i, (e) => {
|
|
1409
|
-
t.children ? e(a) : e(o, -1);
|
|
1410
|
-
}), F.append(e, r);
|
|
1411
|
-
}
|
|
1412
|
-
export { Ae as a, Me as i, Ie as n, Pe as r, Re as t };
|