@vokril/ui-solid 0.2.0 → 0.3.0
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 +24 -1
- package/dist/{AttributeGrid-DIXRIlOc.cjs → AttributeGrid-DgORu6BF.cjs} +1 -1
- package/dist/{AttributeGrid-ijp495PQ.js → AttributeGrid-iOgTCpF7.js} +4 -4
- package/dist/{Button-DwrhdGJd.js → Button-CCm03bSE.js} +2 -2
- package/dist/{Button-B9GkMXVu.cjs → Button-DntBQ4fM.cjs} +1 -1
- package/dist/{CommandPalette-DYoGvfhU.cjs → CommandPalette-CF0B1C8k.cjs} +1 -1
- package/dist/{CommandPalette-BUPt-KKd.js → CommandPalette-DiCgZhOV.js} +9 -9
- package/dist/{CopyButton-MwE6Yanp.cjs → CopyButton-BxwyIJxL.cjs} +1 -1
- package/dist/{CopyButton-DNVyxYsa.js → CopyButton-ClqxiGPb.js} +1 -1
- package/dist/{DateRangePicker-Bq7tOjcy.js → DateRangePicker-Qho0OzUE.js} +4 -4
- package/dist/{DateRangePicker-1Z9ik8dX.cjs → DateRangePicker-dLlHJR71.cjs} +1 -1
- package/dist/{GuidedTour-CfdVAiPb.js → GuidedTour-C6Na3wqL.js} +1212 -1246
- package/dist/{GuidedTour-B9f4KNrW.cjs → GuidedTour-DzQoun_d.cjs} +9 -9
- package/dist/IconPicker-BreG8jKY.cjs +1 -0
- package/dist/{IconPicker-D6u_c4aZ.js → IconPicker-CO5TWhFx.js} +17 -17
- package/dist/{Input-BFQPx2vy.js → Input-BqiQPUxA.js} +1 -1
- package/dist/{Input-BGISaDoR.cjs → Input-BrxV_Xcb.cjs} +1 -1
- package/dist/{Modal-BbXTj7pn.cjs → Modal-BqajyLjD.cjs} +1 -1
- package/dist/{Modal-CymMi6pT.js → Modal-DdbgnOMR.js} +98 -98
- package/dist/{PageSkeleton-B1ilf_e0.js → PageSkeleton-DfLEHkrh.js} +9 -9
- package/dist/{PageSkeleton-CbL10kfw.cjs → PageSkeleton-VbWHl878.cjs} +3 -3
- package/dist/{SearchableSelect-DL8gN3uQ.js → SearchableSelect-CBpLrNvW.js} +3 -3
- package/dist/{SearchableSelect-DEVOuNMk.cjs → SearchableSelect-D6yjIQO1.cjs} +1 -1
- package/dist/StatusBarNotificationBell-CGW8eLXe.cjs +4 -0
- package/dist/{StatusBarNotificationBell-BWKZJj4r.js → StatusBarNotificationBell-DUiOZ0m5.js} +14 -14
- package/dist/Stepper-B_nRDFxN.cjs +1 -0
- package/dist/{Stepper-CMj6X0hu.js → Stepper-CrXi8mfh.js} +3 -3
- package/dist/{Textarea-DgVXMcvw.js → Textarea-CXFZz3Oe.js} +1 -1
- package/dist/{Textarea-DHKgbDMq.cjs → Textarea-vl5fZzJa.cjs} +1 -1
- package/dist/{TimeSeriesChart-WQ_5GGxu.cjs → TimeSeriesChart-BzzqarqB.cjs} +1 -1
- package/dist/{TimeSeriesChart-CWElte_X.js → TimeSeriesChart-D18yHUrf.js} +1 -1
- package/dist/{ToggleButton-Bd9nADaB.js → ToggleButton-BiEKoA4q.js} +6 -6
- package/dist/{ToggleButton-BrZHAmBD.cjs → ToggleButton-l1cEdv9w.cjs} +1 -1
- package/dist/_internal/app/icons/iconSetRegistry.d.cts +10 -0
- package/dist/_internal/app/icons/iconSetRegistry.d.ts +10 -0
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +27 -0
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +27 -0
- package/dist/_internal/app/keybindings/context/useListCommands.d.cts +15 -0
- package/dist/_internal/app/keybindings/context/useListCommands.d.ts +15 -0
- package/dist/_internal/app/keybindings/contextKey/builtins.d.cts +48 -2
- package/dist/_internal/app/keybindings/contextKey/builtins.d.ts +48 -2
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +30 -0
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +30 -0
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/{server/announcerService-Cz271R3_.js → announcerService-B7yicxvU.js} +1 -1
- package/dist/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
- package/dist/builtins-DM7FDxEt.cjs +1 -0
- package/dist/builtins-XOM9gfIx.js +74 -0
- package/dist/{catalogNotify-Ct4lFOLm.cjs → catalogNotify-B6x3enJ5.cjs} +3 -3
- package/dist/{catalogNotify-CpYLdvEy.js → catalogNotify-CcaMBipB.js} +52 -52
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/createResizableSidebar-_yb33Qli.cjs +1 -0
- package/dist/{createResizableSidebar-B-448Xy-.js → createResizableSidebar-onQNGhy_.js} +75 -75
- package/dist/{server/defineSettings-C1g7a15Z.js → defineSettings-By5ell8e.js} +1 -1
- package/dist/{server/defineSettings-ChU6Fp3a.cjs → defineSettings-DRv1FRbv.cjs} +1 -1
- package/dist/descriptor-7e-M9YCk.cjs +1 -0
- package/dist/descriptor-DxSLz4-c.js +1106 -0
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +5 -5
- package/dist/displayOwner-BNw2Foa_.cjs +1 -0
- package/dist/displayOwner-B_ezJv-O.js +75 -0
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +3 -3
- package/dist/{focusModality-XwqzUScC.js → focusModality-B150daiS.js} +2 -2
- package/dist/{focusModality-DP3Alh3k.cjs → focusModality-PPfeW05D.cjs} +1 -1
- package/dist/{format-CKQJNZwf.js → format-C46MmwwW.js} +3 -3
- package/dist/{format-Cj3xSpw6.cjs → format-Cy7RJpYG.cjs} +1 -1
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/forms/numberInputClamp.d.cts +1 -1
- package/dist/forms/numberInputClamp.d.ts +1 -1
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
- package/dist/{server/headerIconOverrides-BNiSWfFJ.js → headerIconOverrides-BCzeaBA1.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +3 -0
- package/dist/host/index.d.ts +3 -0
- package/dist/host/index.js +68 -62
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{server/i18n-BN4NEmw6.js → i18n-B_XRSWWN.js} +1 -1
- package/dist/{server/i18n-JhoYAx5N.cjs → i18n-DZZyw7Iu.cjs} +1 -1
- package/dist/iconSetRegistry-CMUqn1IQ.cjs +1 -0
- package/dist/{tablerIconRegistry-Da8Hw_kr.js → iconSetRegistry-r8c82MmK.js} +2 -2
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.d.cts +1 -1
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +419 -412
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/{mainRealmDom-POWe8_Pf.js → mainRealmDom-COGBiX78.js} +1 -1
- package/dist/{mainRealmDom-Ds5Zc1QE.cjs → mainRealmDom-DijAgSXt.cjs} +1 -1
- package/dist/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
- package/dist/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/navigation/pageHeaderContract.d.cts +1 -1
- package/dist/navigation/pageHeaderContract.d.ts +1 -1
- package/dist/{server/notification-CX0xc5jc.cjs → notification-CrxHMXsk.cjs} +1 -1
- package/dist/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
- package/dist/{notificationSuppressions-aS8dpNnq.js → notificationSuppressions-CBIJ4bC4.js} +53 -53
- package/dist/notificationSuppressions-DFbFpayS.cjs +1 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +7 -7
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +6 -6
- package/dist/{server/preferencesCache-Zqtds5QF.js → preferencesCache-BhUd3K9p.js} +1 -1
- package/dist/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
- package/dist/{server/rendererLogging-BFSH5YKd.cjs → rendererLogging-B4XML4_G.cjs} +2 -2
- package/dist/{server/rendererLogging-RDouoz5K.js → rendererLogging-Edo4ALXU.js} +2 -2
- package/dist/server/{AttributeGrid-_7NdS1WK.js → AttributeGrid-Bq6AC927.js} +3 -3
- package/dist/server/{AttributeGrid-piFH6Xyi.cjs → AttributeGrid-Cz49ZLQJ.cjs} +1 -1
- package/dist/server/{Button-CRfjjdJW.cjs → Button-C9c6mzTA.cjs} +1 -1
- package/dist/server/{Button-DyPAaop_.js → Button-CHjpZWyZ.js} +1 -1
- package/dist/server/{CommandPalette-CW1Xw15d.cjs → CommandPalette-CklLeIaO.cjs} +1 -1
- package/dist/server/{CommandPalette-Cr81FRAH.js → CommandPalette-Dq-wVRJf.js} +5 -5
- package/dist/server/{CopyButton-5-c3aEbO.cjs → CopyButton-C3AnCUW9.cjs} +1 -1
- package/dist/server/{CopyButton-aIjxxlvQ.js → CopyButton-DOeXnVFC.js} +1 -1
- package/dist/server/{DateRangePicker-rlcLBpJH.cjs → DateRangePicker-BZIjmD5b.cjs} +1 -1
- package/dist/server/{DateRangePicker-DQ6AkI8q.js → DateRangePicker-tEwswamx.js} +3 -3
- package/dist/server/{GuidedTour-qJV4uaFX.js → GuidedTour-CC3huRhY.js} +1078 -1113
- package/dist/server/{GuidedTour-BVElbQi6.cjs → GuidedTour-Dik03Ffv.cjs} +11 -11
- package/dist/server/IconPicker-DpsgVG2H.cjs +1 -0
- package/dist/server/{IconPicker-DHctBAMA.js → IconPicker-tGQ6T_7R.js} +18 -18
- package/dist/server/{Modal-BgwyBtzV.js → Modal-C4E01jt8.js} +2 -2
- package/dist/server/{Modal-DZlKkUDu.cjs → Modal-w2CtUJ-g.cjs} +1 -1
- package/dist/server/{PageSkeleton-Kk8oxeYs.js → PageSkeleton-BIoewFZz.js} +8 -8
- package/dist/server/{PageSkeleton-Dh_Aj1rd.cjs → PageSkeleton-t1PiXgcp.cjs} +3 -3
- package/dist/server/{SearchableSelect-y9pGwJ-n.js → SearchableSelect-CTDUjMFB.js} +2 -2
- package/dist/server/{SearchableSelect-vuDEubiH.cjs → SearchableSelect-T6iS1AYR.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-CFQiQ4EC.js → StatusBarNotificationBell-Cg9Zomfn.js} +81 -81
- package/dist/server/{StatusBarNotificationBell-CTAMHPer.cjs → StatusBarNotificationBell-DSuT1si2.cjs} +2 -2
- package/dist/server/{Stepper-DJKBsR1i.cjs → Stepper-CZ695tkt.cjs} +1 -1
- package/dist/server/{Stepper-4jnS2eXn.js → Stepper-Il_NS3YQ.js} +1 -1
- package/dist/server/{TimeSeriesChart-CZigVuc_.js → TimeSeriesChart-CWxwWo-G.js} +1 -1
- package/dist/server/{TimeSeriesChart-D2SG8Ss7.cjs → TimeSeriesChart-Cjpjciv2.cjs} +1 -1
- package/dist/server/{ToggleButton-HiS48_5d.cjs → ToggleButton-CXwvg-Hr.cjs} +1 -1
- package/dist/server/{ToggleButton-C501EuVP.js → ToggleButton-D7Qu7T2P.js} +4 -4
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/{announcerService-Cz271R3_.js → server/announcerService-B7yicxvU.js} +1 -1
- package/dist/server/{announcerService-aMJZgWvZ.cjs → announcerService-D_pFE24a.cjs} +1 -1
- package/dist/server/builtins-DM7FDxEt.cjs +1 -0
- package/dist/server/builtins-XOM9gfIx.js +74 -0
- package/dist/server/{catalogNotify-CDW-bK-M.cjs → catalogNotify-CTZ3DSTN.cjs} +4 -4
- package/dist/server/{catalogNotify-_2rg9gGZ.js → catalogNotify-Dnyfrb-0.js} +92 -92
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{createResizableSidebar-COZjMAIY.js → createResizableSidebar-CBSfZVJk.js} +20 -20
- package/dist/server/createResizableSidebar-rfcmiXuS.cjs +1 -0
- package/dist/{defineSettings-C1g7a15Z.js → server/defineSettings-By5ell8e.js} +1 -1
- package/dist/{defineSettings-ChU6Fp3a.cjs → server/defineSettings-DRv1FRbv.cjs} +1 -1
- package/dist/server/descriptor-BXVyZiT7.cjs +1 -0
- package/dist/server/descriptor-CqLXoy2i.js +992 -0
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +4 -4
- package/dist/server/displayOwner-BNw2Foa_.cjs +1 -0
- package/dist/server/displayOwner-B_ezJv-O.js +75 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +2 -2
- package/dist/server/{focusModality-BnOnbaen.cjs → focusModality-CeTPyRiF.cjs} +1 -1
- package/dist/server/{focusModality-ABJEOL1D.js → focusModality-DmOZptla.js} +2 -2
- package/dist/server/{format-BU_aMpTT.cjs → format-BWHKiXRe.cjs} +1 -1
- package/dist/server/{format-CZuUwpfB.js → format-BubrMUMq.js} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +7 -7
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/{headerIconOverrides-BnJaJqAJ.cjs → headerIconOverrides-64lFnqTt.cjs} +1 -1
- package/dist/{headerIconOverrides-BNiSWfFJ.js → server/headerIconOverrides-BCzeaBA1.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +72 -66
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/{i18n-BN4NEmw6.js → server/i18n-B_XRSWWN.js} +1 -1
- package/dist/{i18n-JhoYAx5N.cjs → server/i18n-DZZyw7Iu.cjs} +1 -1
- package/dist/server/iconSetRegistry-u0H4_7nI.cjs +1 -0
- package/dist/server/icons/index.cjs +1 -1
- package/dist/server/icons/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +722 -715
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/{menuFavorites-D6ILaBPZ.js → menuFavorites-Db1DpHX6.js} +1 -1
- package/dist/server/{menuFavorites-DAzw7zjN.cjs → menuFavorites-EluLLTfi.cjs} +1 -1
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/{notification-CX0xc5jc.cjs → server/notification-CrxHMXsk.cjs} +1 -1
- package/dist/server/{notification-Bepj_MAz.js → notification-DFbp3S_f.js} +1 -1
- package/dist/server/{notificationSuppressions-JKZaCrMN.cjs → notificationSuppressions-D7FZmJy8.cjs} +1 -1
- package/dist/server/{notificationSuppressions-FPh4wkRy.js → notificationSuppressions-DkrUMXHx.js} +2 -2
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +7 -7
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +5 -5
- package/dist/{preferencesCache-Zqtds5QF.js → server/preferencesCache-BhUd3K9p.js} +1 -1
- package/dist/server/{preferencesCache-X6b8L__G.cjs → preferencesCache-DJPCTPYx.cjs} +1 -1
- package/dist/{rendererLogging-BFSH5YKd.cjs → server/rendererLogging-B4XML4_G.cjs} +2 -2
- package/dist/{rendererLogging-RDouoz5K.js → server/rendererLogging-Edo4ALXU.js} +2 -2
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +3 -3
- package/dist/server/{settingsSearchContributor-DqYjIJVw.cjs → settingsSearchContributor-BHsOfue1.cjs} +1 -1
- package/dist/server/{settingsSearchContributor-Sae2-vbZ.js → settingsSearchContributor-xo70xEuW.js} +3 -3
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +9 -8
- package/dist/server/useListCommands-Bf7aOTXZ.js +61 -0
- package/dist/server/useListCommands-ucngC3t4.cjs +1 -0
- package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +1 -0
- package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +89 -0
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +3 -3
- package/dist/{settingsSearchContributor-DP_HU8Pd.js → settingsSearchContributor-Ba4vBBmO.js} +3 -3
- package/dist/{settingsSearchContributor-DxQyhu1R.cjs → settingsSearchContributor-CYWXZV0b.cjs} +1 -1
- package/dist/solid/_internal/app/icons/{tablerIconRegistry.js → iconSetRegistry.js} +3 -7
- package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +32 -0
- package/dist/solid/_internal/app/keybindings/context/useListCommands.js +22 -0
- package/dist/solid/_internal/app/keybindings/contextKey/builtins.js +10 -0
- package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +25 -0
- package/dist/solid/_internal/base/bestEffort.js +2 -2
- package/dist/solid/_internal/contract/catalogNotify.js +1 -1
- package/dist/solid/_internal/contract/transfer/textEncoding.js +1 -1
- package/dist/solid/_internal/platform/errors/diagnosticReport.js +1 -1
- package/dist/solid/_internal/platform/vendorErrors/index.js +2 -2
- package/dist/solid/_internal/platform/window/displayOwner.js +4 -4
- package/dist/solid/feedback/ErrorBoundary.jsx +1 -1
- package/dist/solid/forms/IconPicker.jsx +2 -2
- package/dist/solid/host/index.js +3 -0
- package/dist/solid/icons/index.jsx +1 -1
- package/dist/solid/layout/PageHeaderIcon.jsx +5 -5
- package/dist/solid/navigation/Tabs.jsx +2 -2
- package/dist/solid/notifications/NotificationPanel.jsx +2 -2
- package/dist/solid/notifications/notificationAudio.js +4 -4
- package/dist/solid/notifications/webhookDelivery.js +1 -1
- package/dist/solid/overlay/Modal.jsx +1 -1
- package/dist/solid/tree/TreeSurface.jsx +17 -0
- package/dist/solid/tree/createTreeController.js +7 -6
- package/dist/solid/tree/index.js +1 -0
- package/dist/solid/tree/selectAllInScope.js +47 -0
- package/dist/solid/tree/treeKeymap.js +0 -5
- package/dist/style.css +1 -1
- package/dist/{tooltipCoordinator-Dm4qkkL7.js → tooltipCoordinator-GV0L9lXH.js} +1 -1
- package/dist/{tooltipCoordinator-CuReoi-Y.cjs → tooltipCoordinator-y5YP3tsJ.cjs} +1 -1
- package/dist/tree/createTreeController.d.cts +5 -0
- package/dist/tree/createTreeController.d.ts +5 -0
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.d.cts +1 -0
- package/dist/tree/index.d.ts +1 -0
- package/dist/tree/index.js +9 -8
- package/dist/tree/selectAllInScope.d.cts +5 -0
- package/dist/tree/selectAllInScope.d.ts +5 -0
- package/dist/tree/treeKeymap.d.cts +2 -4
- package/dist/tree/treeKeymap.d.ts +2 -4
- package/dist/ui.css +1 -1
- package/dist/useListCommands-Bf7aOTXZ.js +61 -0
- package/dist/useListCommands-ucngC3t4.cjs +1 -0
- package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +1 -0
- package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +89 -0
- package/package.json +1 -1
- package/dist/IconPicker-CdWBUDg8.cjs +0 -1
- package/dist/StatusBarNotificationBell-DIxJNADf.cjs +0 -4
- package/dist/Stepper-DvmytRIe.cjs +0 -1
- package/dist/_internal/app/icons/tablerIconRegistry.d.cts +0 -16
- package/dist/_internal/app/icons/tablerIconRegistry.d.ts +0 -16
- package/dist/createResizableSidebar-BunLsdM1.cjs +0 -1
- package/dist/descriptor-BUfj0gQG.js +0 -1059
- package/dist/descriptor-DZKBkm2H.cjs +0 -1
- package/dist/displayOwner-B11aUTFt.cjs +0 -1
- package/dist/displayOwner-B8CAEiHu.js +0 -75
- package/dist/notificationSuppressions-DaqXCX63.cjs +0 -1
- package/dist/server/IconPicker-OkOT7sTz.cjs +0 -1
- package/dist/server/createResizableSidebar-BTjNQOi9.cjs +0 -1
- package/dist/server/descriptor-CRBceC5O.cjs +0 -1
- package/dist/server/descriptor-lk-Bhef_.js +0 -951
- package/dist/server/displayOwner-B11aUTFt.cjs +0 -1
- package/dist/server/displayOwner-B8CAEiHu.js +0 -75
- package/dist/server/tablerIconRegistry-CmYr538-.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-CZFCFSo_.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-DOZlLrpo.js +0 -113
- package/dist/tablerIconRegistry-C85jD5eX.cjs +0 -1
- package/dist/visibleBrowserRegistry-CZFCFSo_.cjs +0 -1
- package/dist/visibleBrowserRegistry-DOZlLrpo.js +0 -113
- /package/dist/server/{tablerIconRegistry-yPeAzzz7.js → iconSetRegistry-yPeAzzz7.js} +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { createContext as f, useContext as g, createSignal as l } from "solid-js";
|
|
2
|
+
import { B } from "./bugIndicatingError-h3J5qkL6.js";
|
|
3
|
+
const p = f();
|
|
4
|
+
function T() {
|
|
5
|
+
const e = g(p);
|
|
6
|
+
if (!e)
|
|
7
|
+
throw new B("useWorkspaceTabs: missing provider");
|
|
8
|
+
return e;
|
|
9
|
+
}
|
|
10
|
+
const [V, v] = l(void 0);
|
|
11
|
+
let a = null;
|
|
12
|
+
function h(e) {
|
|
13
|
+
a = e;
|
|
14
|
+
}
|
|
15
|
+
function A(e) {
|
|
16
|
+
v(e), a == null || a(e);
|
|
17
|
+
}
|
|
18
|
+
const d = f();
|
|
19
|
+
function y() {
|
|
20
|
+
return g(d);
|
|
21
|
+
}
|
|
22
|
+
const c = /* @__PURE__ */ new WeakMap();
|
|
23
|
+
function w(e) {
|
|
24
|
+
let t = c.get(e);
|
|
25
|
+
if (!t) {
|
|
26
|
+
const [r, s] = l([]);
|
|
27
|
+
t = {
|
|
28
|
+
entries: /* @__PURE__ */ new Map(),
|
|
29
|
+
activeBrowsers: r,
|
|
30
|
+
setActiveBrowsers: s
|
|
31
|
+
}, c.set(e, t);
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
function k(e, t, r, s, i, u = 0) {
|
|
36
|
+
if (!e) return;
|
|
37
|
+
const n = w(e);
|
|
38
|
+
if (s && r.width > 0 && r.height > 0) {
|
|
39
|
+
const o = n.entries.get(t);
|
|
40
|
+
if (o && o.generation > u)
|
|
41
|
+
return;
|
|
42
|
+
n.entries.set(t, {
|
|
43
|
+
tabId: t,
|
|
44
|
+
bounds: { ...r },
|
|
45
|
+
lease: i,
|
|
46
|
+
generation: u
|
|
47
|
+
});
|
|
48
|
+
} else {
|
|
49
|
+
const o = n.entries.get(t);
|
|
50
|
+
if (o && (!i || o.lease === i)) {
|
|
51
|
+
if (o.generation > u)
|
|
52
|
+
return;
|
|
53
|
+
n.entries.delete(t);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
n.setActiveBrowsers(Array.from(n.entries.values()));
|
|
57
|
+
}
|
|
58
|
+
function S(e, t, r) {
|
|
59
|
+
if (!e) return;
|
|
60
|
+
const s = c.get(e);
|
|
61
|
+
if (!s) return;
|
|
62
|
+
const i = s.entries.get(t);
|
|
63
|
+
i && (!r || i.lease === r) && (s.entries.delete(t), s.setActiveBrowsers(Array.from(s.entries.values())));
|
|
64
|
+
}
|
|
65
|
+
function x(e) {
|
|
66
|
+
return e ? w(e).activeBrowsers() : [];
|
|
67
|
+
}
|
|
68
|
+
function b(e) {
|
|
69
|
+
return x(e).length > 0;
|
|
70
|
+
}
|
|
71
|
+
function M(e) {
|
|
72
|
+
if (e) {
|
|
73
|
+
const t = c.get(e);
|
|
74
|
+
t && (t.entries.clear(), t.setActiveBrowsers([]));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
d as T,
|
|
79
|
+
p as W,
|
|
80
|
+
y as a,
|
|
81
|
+
T as b,
|
|
82
|
+
M as c,
|
|
83
|
+
x as g,
|
|
84
|
+
b as h,
|
|
85
|
+
A as o,
|
|
86
|
+
k as r,
|
|
87
|
+
h as s,
|
|
88
|
+
S as u
|
|
89
|
+
};
|
package/dist/settings/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-DRv1FRbv.cjs"),t=require("../stateDbStore-THFfFGa0.cjs"),n=require("../useSettingsSubscription-vlMrNNH9.cjs"),r=require("../notification-CrxHMXsk.cjs"),i=require("../headerIconOverrides-64lFnqTt.cjs"),o=["auto","antialiased","none"],s=["on","off"],S="autodetect",a=["sshx","sql"],g=["colorful","monochrome"],_=["colorful","normal"],O=!0,T=!0;exports.clearPluginConfigDefaults=e.clearPluginConfigDefaults;exports.defineSettings=e.defineSettings;exports.defineSettingsValue=e.defineSettingsValue;exports.deriveDefault=e.deriveDefault;exports.deriveNormalize=e.deriveNormalize;exports.deriveNormalizePartial=e.deriveNormalizePartial;exports.getContributedGroupDefault=e.getContributedGroupDefault;exports.getGroupByKey=e.getGroupByKey;exports.getRegisteredSettingsGroups=e.getRegisteredSettingsGroups;exports.hydrateRegisteredSettings=e.hydrateRegisteredSettings;exports.normalizeField=e.normalizeField;exports.onAnySettingsChange=e.onAnySettingsChange;exports.resetPluginConfigDefaultsForTest=e.resetPluginConfigDefaultsForTest;exports.resetSettingsGroupForTest=e.resetSettingsGroupForTest;exports.resolveLayers=e.resolveLayers;exports.scopeAllowsLayer=e.scopeAllowsLayer;exports.setPluginConfigDefaults=e.setPluginConfigDefaults;exports.subscribePluginConfigDefaults=e.subscribePluginConfigDefaults;exports.SCOPE_MAP=t.SCOPE_MAP;exports.StorageScope=t.StorageScope;exports.StorageTarget=t.StorageTarget;exports.configureSettingsBackend=t.configureSettingsBackend;exports.stateDbStore=t.stateDbStore;exports.useSettingsSubscription=n.useSettingsSubscription;exports.DEFAULT_NOTIFICATION_SETTINGS=r.DEFAULT_NOTIFICATION_SETTINGS;exports.MAX_LONG_RUNNING_THRESHOLD_MS=r.MAX_LONG_RUNNING_THRESHOLD_MS;exports.MIN_LONG_RUNNING_THRESHOLD_MS=r.MIN_LONG_RUNNING_THRESHOLD_MS;exports.notificationSettings=r.notificationSettings;exports.parseLongRunningThresholdMs=r.parseLongRunningThresholdMs;exports.clearHeaderIconOverride=i.clearHeaderIconOverride;exports.getHeaderIconOverride=i.getHeaderIconOverride;exports.getHeaderIconOverrides=i.getHeaderIconOverrides;exports.headerIconOverridesSettings=i.headerIconOverridesSettings;exports.setHeaderIconOverride=i.setHeaderIconOverride;exports.DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT=T;exports.DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT=O;exports.DETACHED_EDITOR_TOOLBAR_SCOPES=a;exports.EDITOR_FONT_SMOOTHINGS=o;exports.ICON_COLOR_VARIANTS=g;exports.KEYBOARD_LAYOUT_AUTODETECT=S;exports.QUICK_SUGGESTION_MODES=s;exports.STATUS_RAIL_STYLES=_;
|
package/dist/settings/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as _, d as O, a as T, b as l, e as c, f as A, g as u, h as E, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-
|
|
1
|
+
import { c as _, d as O, a as T, b as l, e as c, f as A, g as u, h as E, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-By5ell8e.js";
|
|
2
2
|
import { b as H, S as M, a as P, c as U, s as h } from "../stateDbStore-Ds3zJ4cd.js";
|
|
3
3
|
import { u as B } from "../useSettingsSubscription-cu943hND.js";
|
|
4
|
-
import { D as b, M as x, a as y, n as z, p as K } from "../notification-
|
|
5
|
-
import { c as Y, g as k, a as V, h as W, s as j } from "../headerIconOverrides-
|
|
4
|
+
import { D as b, M as x, a as y, n as z, p as K } from "../notification-DFbp3S_f.js";
|
|
5
|
+
import { c as Y, g as k, a as V, h as W, s as j } from "../headerIconOverrides-BCzeaBA1.js";
|
|
6
6
|
const e = ["auto", "antialiased", "none"], s = ["on", "off"], a = "autodetect", t = ["sshx", "sql"], o = ["colorful", "monochrome"], r = ["colorful", "normal"], n = !0, i = !0;
|
|
7
7
|
export {
|
|
8
8
|
i as DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT,
|
package/dist/{settingsSearchContributor-DP_HU8Pd.js → settingsSearchContributor-Ba4vBBmO.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSignal as T, useContext as F, onCleanup as Q, createRenderEffect as P } from "solid-js";
|
|
2
|
-
import { t as f, l as q } from "./i18n-
|
|
3
|
-
import { F as K } from "./notificationSuppressions-
|
|
4
|
-
import { W as M } from "./visibleBrowserRegistry-
|
|
2
|
+
import { t as f, l as q } from "./i18n-B_XRSWWN.js";
|
|
3
|
+
import { F as K } from "./notificationSuppressions-CBIJ4bC4.js";
|
|
4
|
+
import { W as M } from "./visibleBrowserRegistry-Dw2Y4y_I.js";
|
|
5
5
|
const J = "SCHEMA", [U, Y] = T(null);
|
|
6
6
|
function ce(c) {
|
|
7
7
|
Y(() => c);
|
package/dist/{settingsSearchContributor-DxQyhu1R.cjs → settingsSearchContributor-CYWXZV0b.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const S=require("solid-js"),m=require("./i18n-
|
|
1
|
+
"use strict";const S=require("solid-js"),m=require("./i18n-DZZyw7Iu.cjs"),H=require("./notificationSuppressions-DFbFpayS.cjs"),P=require("./visibleBrowserRegistry-BTfWUlI1.cjs"),Q="SCHEMA",[F,J]=S.createSignal(null);function K(c){J(()=>c)}const M=2,U=200,W=40;function N(c,u){const e=c.toLowerCase(),a=u.toLowerCase();return e===a?9:e.startsWith(a)?7:e.includes(a)?5:0}function Y(c){const[u,e]=S.createSignal([]),[a,r]=S.createSignal(!1),[d,i]=S.createSignal(null),o=S.useContext(P.WorkspaceTabsContext),h=()=>F(),B=()=>{if(!(o!=null&&o.activeWorkspaceTabId)||!o.workspaceTabs)return null;const n=o.activeWorkspaceTabId();return o.workspaceTabs().find(b=>b.id===n)??null},k=()=>{var n,b,C;return((b=(n=h())==null?void 0:n.getWorkspaceId)==null?void 0:b.call(n))??((C=B())==null?void 0:C.workspaceId)??null},R=()=>{var n;return!!((n=h())!=null&&n.getWorkspaceId||o!=null&&o.workspaceTabs)},L=()=>{var n;return!!((n=h())!=null&&n.hasActiveWorkspace())&&(!R()||!!k())},_=()=>{var n;return((n=h())==null?void 0:n.getSelectedSchema())??""};let j=0,y;const $=()=>{y!==void 0&&(clearTimeout(y),y=void 0)};return S.onCleanup(()=>{$(),j+=1}),S.createRenderEffect(()=>{const n=c.enabled(),b=c.query().trim();$();const C=++j;if(!n||!L()){e([]),r(!1),i(null);return}const t=h(),l=(t==null?void 0:t.getSelectedSchema())??"",v=k(),E=(t==null?void 0:t.getSchemas())??[],I=l?[l]:E,T=()=>k()===v&&h()===t&&!!(t!=null&&t.hasActiveWorkspace())&&(t==null?void 0:t.getSelectedSchema())===l,O=()=>C===j&&T()&&c.enabled();if(b.length<M){if(i(null),r(!1),l&&t){const p=t.getCachedObjectsForSchema(l);if(p&&p.length>0){const g=p.slice(0,10).map(f=>({id:`db:${l}:${f.objectType}:${f.objectName}`,kind:"database-object",title:f.objectName,description:`${f.objectType} · ${l}`,detail:l,category:m.t("Database"),objectType:f.objectType,schema:l,enabled:!0,score:1,run:()=>{T()&&t.openObject(l,f)}}));e(g);return}}e([]);return}if(e([]),I.length===0){r(!1),i(null);return}r(!0),i(null),y=setTimeout(async()=>{if(O())try{let p=[];if(v&&(t!=null&&t.searchObjects))p=[...await t.searchObjects(v,b,{limit:W,schemas:I})];else if(t&&l){let s=t.getCachedObjectsForSchema(l);if(s||(s=await t.loadObjectsForSchema(l)),s){const x=b.toLowerCase();p=s.filter(w=>w.objectName.toLowerCase().includes(x)).slice(0,W).map(w=>({owner:l,objectType:w.objectType,objectName:w.objectName,status:w.status}))}}if(!O())return;const g=b.toLowerCase(),f=E.filter(s=>s.toLowerCase().includes(g)).slice(0,3).map(s=>({id:`db:schema:${s}`,kind:"database-object",title:s,description:`${m.t("Schema")} · ${s}`,detail:m.t("Schema"),category:m.t("Database"),objectType:Q,schema:s,enabled:!0,score:N(s,b)+1,run:()=>{T()&&(t==null||t.navigateToSchema(s))}})),q=p.filter(s=>I.includes(s.owner)).map(s=>({id:`db:${s.owner}:${s.objectType}:${s.objectName}`,kind:"database-object",title:s.objectName,description:`${s.objectType} · ${s.owner}`,detail:s.owner,category:m.t("Database"),objectType:s.objectType,schema:s.owner,enabled:!0,score:N(s.objectName,b),run:()=>{T()&&(t==null||t.openObject(s.owner,s))},rawDbObject:s}));e([...f,...q]),r(!1)}catch(p){if(!O())return;const g=H.errorText(p,m.t("Failed to search database objects"));i(g),r(!1)}},U)}),{items:u,loading:a,error:d,hasWorkspaceContext:L,activeSchema:_}}let A=null;function z(c){A=c}function G(c,u){const e=u.toLowerCase();return(c.labels??[]).some(a=>m.labelText(a).toLowerCase().includes(e))}function V(c,u,e){const a=u.toLowerCase(),r=c.label.toLowerCase();if(r===a)return 8;if(r.startsWith(a))return 7;if(r.includes(a))return 6;const d=a.split(/\s+/).filter(Boolean);return d.length>1&&d.every(h=>r.includes(h))?5:c.categoryId.toLowerCase().includes(a)?4:(c.keywords??[]).some(h=>h.toLowerCase().includes(a))?3:(e.matches??G)(c,u)?2:0}function D(c,u,e){var r,d;const a=((r=e.breadcrumb)==null?void 0:r.call(e,c.categoryId))??"";return{id:`setting:${c.id}`,kind:"setting",title:((d=e.title)==null?void 0:d.call(e,c))??c.label,description:a||m.t("Settings"),category:m.t("Settings"),enabled:!0,score:u,run:()=>{e.open(c)},rawSetting:c}}function X(c,u=20){const e=A;if(!e)return[];const a=c.trim(),r=e.items();if(!a)return(e.popular?e.popular(r):r).slice(0,u).map(o=>D(o,1,e));const d=[];for(const i of r){const o=V(i,a,e);o>0&&d.push({item:i,score:o})}return d.sort((i,o)=>o.score-i.score),d.slice(0,u).map(({item:i,score:o})=>D(i,o,e))}exports.createDatabaseObjectSearch=Y;exports.searchSettings=X;exports.setDatabaseObjectSearchProvider=K;exports.setSettingsSearchSource=z;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let cached = null;
|
|
2
2
|
let pending = null;
|
|
3
|
-
export async function
|
|
3
|
+
export async function loadIconSet() {
|
|
4
4
|
if (cached)
|
|
5
5
|
return cached;
|
|
6
6
|
if (pending)
|
|
@@ -22,13 +22,9 @@ export async function loadTablerIcons() {
|
|
|
22
22
|
pending = next;
|
|
23
23
|
return next;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export function getTablerIconSync(name) {
|
|
25
|
+
export function getIconSync(name) {
|
|
27
26
|
return cached?.[name] ?? null;
|
|
28
27
|
}
|
|
29
|
-
export
|
|
30
|
-
export function isTablerLoaded() {
|
|
28
|
+
export function isIconSetLoaded() {
|
|
31
29
|
return cached !== null;
|
|
32
30
|
}
|
|
33
|
-
export const isViperIconsLoaded = isTablerLoaded;
|
|
34
|
-
export const isViperLoaded = isTablerLoaded;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { onCleanup } from 'solid-js';
|
|
2
|
+
import { useKeybindingsOptional } from './keybindingsContext';
|
|
3
|
+
import { createFocusContextKey } from './createFocusContextKey';
|
|
4
|
+
const lastFocusedClaims = new WeakMap();
|
|
5
|
+
export function useFocusClaim(options) {
|
|
6
|
+
const keybindings = useKeybindingsOptional();
|
|
7
|
+
if (!keybindings)
|
|
8
|
+
return undefined;
|
|
9
|
+
const { registry } = options;
|
|
10
|
+
const claim = {
|
|
11
|
+
...options.verbs,
|
|
12
|
+
isActive: () => lastFocusedClaims.get(registry) === claim,
|
|
13
|
+
};
|
|
14
|
+
const release = registry.set(claim);
|
|
15
|
+
onCleanup(() => {
|
|
16
|
+
release();
|
|
17
|
+
if (lastFocusedClaims.get(registry) === claim) {
|
|
18
|
+
lastFocusedClaims.delete(registry);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
createFocusContextKey({
|
|
22
|
+
contextKeys: keybindings.contextKeys,
|
|
23
|
+
key: options.key,
|
|
24
|
+
containerRef: options.container,
|
|
25
|
+
...(options.countsAsFocus ? { countsAsFocus: options.countsAsFocus } : {}),
|
|
26
|
+
onFocusIn: () => {
|
|
27
|
+
lastFocusedClaims.set(registry, claim);
|
|
28
|
+
options.onFocusIn?.();
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
return claim;
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FOCUS_CONTEXT_KEYS } from '../contextKey/builtins';
|
|
2
|
+
import { listHandlers, } from '../panelCommandsRegistry';
|
|
3
|
+
import { createFocusContextKey } from './createFocusContextKey';
|
|
4
|
+
import { useKeybindingsOptional } from './keybindingsContext';
|
|
5
|
+
import { useFocusClaim } from './useFocusClaim';
|
|
6
|
+
export function useListCommands(options) {
|
|
7
|
+
const keybindings = useKeybindingsOptional();
|
|
8
|
+
if (!keybindings)
|
|
9
|
+
return;
|
|
10
|
+
useFocusClaim({
|
|
11
|
+
key: FOCUS_CONTEXT_KEYS.listFocus,
|
|
12
|
+
registry: listHandlers,
|
|
13
|
+
container: options.container,
|
|
14
|
+
verbs: options.verbs,
|
|
15
|
+
});
|
|
16
|
+
createFocusContextKey({
|
|
17
|
+
contextKeys: keybindings.contextKeys,
|
|
18
|
+
key: FOCUS_CONTEXT_KEYS.listSupportsMultiselect,
|
|
19
|
+
containerRef: options.container,
|
|
20
|
+
countsAsFocus: () => options.supportsMultiselect(),
|
|
21
|
+
});
|
|
22
|
+
}
|
|
@@ -23,6 +23,7 @@ export const FOCUS_CONTEXT_KEYS = {
|
|
|
23
23
|
sqlEditorFocus: 'sqlEditorFocus',
|
|
24
24
|
sqlBindPromptFocus: 'sqlBindPromptFocus',
|
|
25
25
|
dashboardFocus: 'dashboardFocus',
|
|
26
|
+
dashboardCategoryFocus: 'dashboardCategoryFocus',
|
|
26
27
|
rssFeederFocus: 'rssFeederFocus',
|
|
27
28
|
rssItemSelected: 'rssItemSelected',
|
|
28
29
|
explorerFocus: 'explorerFocus',
|
|
@@ -33,7 +34,11 @@ export const FOCUS_CONTEXT_KEYS = {
|
|
|
33
34
|
gridFetching: 'gridFetching',
|
|
34
35
|
terminalFocus: 'terminalFocus',
|
|
35
36
|
sshTerminalFocus: 'sshTerminalFocus',
|
|
37
|
+
sshTerminalWorkspaceFocus: 'sshTerminalWorkspaceFocus',
|
|
38
|
+
terminalFindFocused: 'terminalFindFocused',
|
|
39
|
+
sshTerminalFindFocused: 'sshTerminalFindFocused',
|
|
36
40
|
terminalAltBufferActive: 'terminalAltBufferActive',
|
|
41
|
+
terminalAccessibleBufferFocus: 'terminalAccessibleBufferFocus',
|
|
37
42
|
terminalMultiPane: 'terminalMultiPane',
|
|
38
43
|
terminalShellType: 'terminalShellType',
|
|
39
44
|
schemaBrowserFocus: 'schemaBrowserFocus',
|
|
@@ -52,6 +57,11 @@ export const FOCUS_CONTEXT_KEYS = {
|
|
|
52
57
|
sqlSnippetsFocus: 'sqlSnippetsFocus',
|
|
53
58
|
objectCommentFocus: 'objectCommentFocus',
|
|
54
59
|
cellEditorFocus: 'cellEditorFocus',
|
|
60
|
+
cellValueFieldFocus: 'cellValueFieldFocus',
|
|
61
|
+
jsonTreeFocus: 'jsonTreeFocus',
|
|
62
|
+
jsonTreeFilterFocus: 'jsonTreeFilterFocus',
|
|
63
|
+
listFocus: 'listFocus',
|
|
64
|
+
listSupportsMultiselect: 'listSupportsMultiselect',
|
|
55
65
|
scmCommitInputFocus: 'scmCommitInputFocus',
|
|
56
66
|
terminalCommandPaletteFocus: 'terminalCommandPaletteFocus',
|
|
57
67
|
terminalCommandPaletteEntryActive: 'terminalCommandPaletteEntryActive',
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export function createPanelCommandRegistry() {
|
|
2
|
+
const stack = [];
|
|
3
|
+
const set = (handlers) => {
|
|
4
|
+
stack.push(handlers);
|
|
5
|
+
return () => {
|
|
6
|
+
const idx = stack.lastIndexOf(handlers);
|
|
7
|
+
if (idx !== -1)
|
|
8
|
+
stack.splice(idx, 1);
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
const find = (predicate) => {
|
|
12
|
+
for (let i = stack.length - 1; i >= 0; i -= 1) {
|
|
13
|
+
const handlers = stack[i];
|
|
14
|
+
if (handlers !== undefined && predicate(handlers))
|
|
15
|
+
return handlers;
|
|
16
|
+
}
|
|
17
|
+
return null;
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
set,
|
|
21
|
+
current: () => (stack.length > 0 ? (stack[stack.length - 1] ?? null) : null),
|
|
22
|
+
find,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export const listHandlers = createPanelCommandRegistry();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BugIndicatingError } from './errors/bugIndicatingError';
|
|
2
|
-
const SINK_SLOT = Symbol.for('
|
|
2
|
+
const SINK_SLOT = Symbol.for('vokril.base.bestEffortSink');
|
|
3
3
|
function realm() {
|
|
4
4
|
return globalThis;
|
|
5
5
|
}
|
|
@@ -9,7 +9,7 @@ export function provideBestEffortSink(next) {
|
|
|
9
9
|
export function bestEffortFailed(reason, error) {
|
|
10
10
|
const sink = realm()[SINK_SLOT];
|
|
11
11
|
if (sink === undefined) {
|
|
12
|
-
throw new BugIndicatingError('base/bestEffort:
|
|
12
|
+
throw new BugIndicatingError('base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup.');
|
|
13
13
|
}
|
|
14
14
|
sink(reason, error);
|
|
15
15
|
}
|
|
@@ -12,7 +12,7 @@ export function notifyFromCatalog(definition, params) {
|
|
|
12
12
|
}
|
|
13
13
|
export function progressFromCatalog(definition, params) {
|
|
14
14
|
if (definition.kind !== 'progress') {
|
|
15
|
-
throw new BugIndicatingError('catalogNotify:
|
|
15
|
+
throw new BugIndicatingError('catalogNotify: a message definition cannot be sent with progressFromCatalog.');
|
|
16
16
|
}
|
|
17
17
|
return slot().progress(definition, definition.build(params));
|
|
18
18
|
}
|
|
@@ -18,7 +18,7 @@ export const BYTE_ORDER_MARK = '\uFEFF';
|
|
|
18
18
|
const tables = new Map();
|
|
19
19
|
export function singleByteTable(encoding) {
|
|
20
20
|
if (isUnicodeEncoding(encoding)) {
|
|
21
|
-
throw new BugIndicatingError(`transfer/textEncoding: ${encoding}
|
|
21
|
+
throw new BugIndicatingError(`transfer/textEncoding: ${encoding} is not a single-byte encoding`);
|
|
22
22
|
}
|
|
23
23
|
const known = tables.get(encoding);
|
|
24
24
|
if (known !== undefined)
|
|
@@ -19,7 +19,7 @@ function formatBreadcrumbRow(crumb) {
|
|
|
19
19
|
dataStr = ` | data: ${JSON.stringify(crumb.data)}`;
|
|
20
20
|
}
|
|
21
21
|
catch (error) {
|
|
22
|
-
bestEffortFailed(
|
|
22
|
+
bestEffortFailed('breadcrumb data could not be serialised to JSON — written without data', error);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
return `[${time}] [${cat}] [${lvl}] ${crumb.message}${dataStr}`;
|
|
@@ -8,7 +8,7 @@ export function isVendorErrorSourceInstalled() {
|
|
|
8
8
|
}
|
|
9
9
|
export function getVendorErrorSource() {
|
|
10
10
|
if (installedSource === null) {
|
|
11
|
-
throw new BugIndicatingError('[vendorErrors]
|
|
11
|
+
throw new BugIndicatingError('[vendorErrors] read before a source was installed — the host must call installVendorErrorSource at startup.');
|
|
12
12
|
}
|
|
13
13
|
return installedSource;
|
|
14
14
|
}
|
|
@@ -21,7 +21,7 @@ export function resolveVendorError(ref) {
|
|
|
21
21
|
export function createVendorErrorPreview(vendorId, code, message) {
|
|
22
22
|
const helpers = getVendorErrorSource().errorHelpersFor(vendorId);
|
|
23
23
|
if (helpers === null) {
|
|
24
|
-
throw new BugIndicatingError(`[vendorErrors]
|
|
24
|
+
throw new BugIndicatingError(`[vendorErrors] unknown preview vendor: ${vendorId}`);
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
message: `${helpers.formatCode(code)}: ${message}`,
|
|
@@ -58,8 +58,8 @@ function isWindowFocused(win) {
|
|
|
58
58
|
return (mainNativeWindowId !== 0 && focusedNativeWindowId === mainNativeWindowId);
|
|
59
59
|
}
|
|
60
60
|
const aux = win;
|
|
61
|
-
if (typeof aux.
|
|
62
|
-
return aux.
|
|
61
|
+
if (typeof aux.__vokril_window_id === 'number') {
|
|
62
|
+
return aux.__vokril_window_id === focusedNativeWindowId;
|
|
63
63
|
}
|
|
64
64
|
return false;
|
|
65
65
|
}
|
|
@@ -90,11 +90,11 @@ export function registerDisplayHost(win) {
|
|
|
90
90
|
if (typeof window !== 'undefined' && win !== window) {
|
|
91
91
|
const aux = win;
|
|
92
92
|
const pending = focusSource?.hostWindowId?.(win) ?? null;
|
|
93
|
-
if (typeof aux.
|
|
93
|
+
if (typeof aux.__vokril_window_id !== 'number' && pending) {
|
|
94
94
|
void pending.then((windowId) => {
|
|
95
95
|
if (windowId === null)
|
|
96
96
|
return;
|
|
97
|
-
aux.
|
|
97
|
+
aux.__vokril_window_id = windowId;
|
|
98
98
|
scheduleRefresh();
|
|
99
99
|
}, (error) => log.warn('aux window id could not be read; display owner stays unresolved', error));
|
|
100
100
|
}
|
|
@@ -110,7 +110,7 @@ function DefaultErrorFallback(props) {
|
|
|
110
110
|
getActiveWindow().window.location.reload();
|
|
111
111
|
}
|
|
112
112
|
catch (error) {
|
|
113
|
-
bestEffortFailed('
|
|
113
|
+
bestEffortFailed('window reload failed — the error screen stays', error);
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
return (<div class={styles.fallback} role="alert">
|
|
@@ -5,13 +5,13 @@ import { Modal } from '../overlay/Modal';
|
|
|
5
5
|
import { EmptyState } from '../feedback/EmptyState';
|
|
6
6
|
import { Spinner } from '../feedback/Spinner';
|
|
7
7
|
import { Input } from './Input';
|
|
8
|
-
import {
|
|
8
|
+
import { loadIconSet } from '../_internal/app/icons/iconSetRegistry';
|
|
9
9
|
import { t } from '../i18n/i18n';
|
|
10
10
|
import styles from './IconPicker.module.css.js';
|
|
11
11
|
const MAX_RESULTS = 500;
|
|
12
12
|
export function IconPicker(props) {
|
|
13
13
|
const [search, setSearch] = createSignal('');
|
|
14
|
-
const [iconsResource] = createResource(() => (props.open() ? true : false), async () =>
|
|
14
|
+
const [iconsResource] = createResource(() => (props.open() ? true : false), async () => loadIconSet());
|
|
15
15
|
const allEntries = createMemo(() => {
|
|
16
16
|
const set = iconsResource();
|
|
17
17
|
if (!set)
|
package/dist/solid/host/index.js
CHANGED
|
@@ -16,6 +16,9 @@ export { setOpenSettingsHandler } from '../_internal/app/settings/ui/shell/openS
|
|
|
16
16
|
export { provideLayoutPreferences, } from '../_internal/platform/settings/preferencesCache';
|
|
17
17
|
export { provideNotificationSecretStore, } from '../_internal/app/settings/secrets/notificationSecrets';
|
|
18
18
|
export { KeybindingsProvider, useKeybindings, useKeybindingsOptional, } from '../_internal/app/keybindings/context/keybindingsContext';
|
|
19
|
+
export { useFocusClaim } from '../_internal/app/keybindings/context/useFocusClaim';
|
|
20
|
+
export { useListCommands } from '../_internal/app/keybindings/context/useListCommands';
|
|
21
|
+
export { createPanelCommandRegistry, listHandlers, } from '../_internal/app/keybindings/panelCommandsRegistry';
|
|
19
22
|
export { WorkspaceTabsContext, useWorkspaceTabs, } from '../_internal/app/contexts/WorkspaceTabsContext';
|
|
20
23
|
export { ToolWindowContext, useToolWindowLayout, } from '../_internal/app/contexts/toolWindow/ToolWindowContext';
|
|
21
24
|
export * from '../_internal/app/windows/window/HostWindowContext';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from '@vokril/icons';
|
|
2
|
-
export {
|
|
2
|
+
export { loadIconSet } from '../_internal/app/icons/iconSetRegistry';
|
|
@@ -2,7 +2,7 @@ import { Show, createEffect, createMemo, createSignal, onCleanup, } from 'solid-
|
|
|
2
2
|
import { Dynamic } from 'solid-js/web';
|
|
3
3
|
import { useDesktopContextMenu, } from '../context/DesktopContextMenuContext';
|
|
4
4
|
import { clearHeaderIconOverride, getHeaderIconOverrides, setHeaderIconOverride, } from '../_internal/app/settings/descriptors/headerIconOverrides';
|
|
5
|
-
import {
|
|
5
|
+
import { getIconSync, isIconSetLoaded, loadIconSet, } from '../_internal/app/icons/iconSetRegistry';
|
|
6
6
|
import { t } from '../i18n/i18n';
|
|
7
7
|
import { IconPicker } from '../forms/IconPicker';
|
|
8
8
|
export function PageHeaderIcon(props) {
|
|
@@ -24,7 +24,7 @@ export function PageHeaderIcon(props) {
|
|
|
24
24
|
setResolvedOverride(null);
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
-
const sync =
|
|
27
|
+
const sync = getIconSync(entry.name);
|
|
28
28
|
if (sync) {
|
|
29
29
|
setResolvedOverride(() => sync);
|
|
30
30
|
return;
|
|
@@ -34,7 +34,7 @@ export function PageHeaderIcon(props) {
|
|
|
34
34
|
onCleanup(() => {
|
|
35
35
|
cancelled = true;
|
|
36
36
|
});
|
|
37
|
-
void
|
|
37
|
+
void loadIconSet().then((set) => {
|
|
38
38
|
const current = overrideEntry();
|
|
39
39
|
if (cancelled || !current || current.name !== entry.name)
|
|
40
40
|
return;
|
|
@@ -48,8 +48,8 @@ export function PageHeaderIcon(props) {
|
|
|
48
48
|
event.preventDefault();
|
|
49
49
|
event.stopPropagation();
|
|
50
50
|
const scope = props.pageId;
|
|
51
|
-
if (!
|
|
52
|
-
void
|
|
51
|
+
if (!isIconSetLoaded()) {
|
|
52
|
+
void loadIconSet();
|
|
53
53
|
}
|
|
54
54
|
const entries = [];
|
|
55
55
|
const onSettings = props.onSettings;
|
|
@@ -58,7 +58,7 @@ export function Tabs(props) {
|
|
|
58
58
|
if (!props.reorderable)
|
|
59
59
|
return;
|
|
60
60
|
e.dataTransfer?.setData('text/plain', String(index()));
|
|
61
|
-
e.dataTransfer?.setData('application/x-
|
|
61
|
+
e.dataTransfer?.setData('application/x-vokril-tab', String(index()));
|
|
62
62
|
}} onDragOver={(e) => {
|
|
63
63
|
if (props.reorderable) {
|
|
64
64
|
e.preventDefault();
|
|
@@ -73,7 +73,7 @@ export function Tabs(props) {
|
|
|
73
73
|
if (!props.reorderable || !props.onReorder)
|
|
74
74
|
return;
|
|
75
75
|
e.preventDefault();
|
|
76
|
-
const rawIdx = e.dataTransfer?.getData('application/x-
|
|
76
|
+
const rawIdx = e.dataTransfer?.getData('application/x-vokril-tab') ||
|
|
77
77
|
e.dataTransfer?.getData('text/plain');
|
|
78
78
|
const fromIdx = Number(rawIdx);
|
|
79
79
|
const toIdx = index();
|
|
@@ -329,7 +329,7 @@ export function NotificationPanel(props) {
|
|
|
329
329
|
void navigator.clipboard
|
|
330
330
|
?.writeText(match.helpers.formatCode(match.code))
|
|
331
331
|
.catch((e) => {
|
|
332
|
-
log.warn('
|
|
332
|
+
log.warn('Clipboard write failed:', e);
|
|
333
333
|
});
|
|
334
334
|
},
|
|
335
335
|
},
|
|
@@ -518,7 +518,7 @@ export function NotificationPanel(props) {
|
|
|
518
518
|
}, 1400);
|
|
519
519
|
}
|
|
520
520
|
catch (e) {
|
|
521
|
-
log.warn('
|
|
521
|
+
log.warn('Timeline entry could not be copied:', e);
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
524
|
onCleanup(() => {
|
|
@@ -23,7 +23,7 @@ function getAudioContext() {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) {
|
|
25
25
|
_audioContextFailed = true;
|
|
26
|
-
log.warn('AudioContext
|
|
26
|
+
log.warn('AudioContext could not be created; notification sounds are off:', e);
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ if (import.meta.hot) {
|
|
|
31
31
|
import.meta.hot.dispose(() => {
|
|
32
32
|
if (_audioContext) {
|
|
33
33
|
void _audioContext.close().catch((e) => {
|
|
34
|
-
log.warn('HMR dispose: AudioContext
|
|
34
|
+
log.warn('HMR dispose: AudioContext could not be closed:', e);
|
|
35
35
|
});
|
|
36
36
|
_audioContext = null;
|
|
37
37
|
}
|
|
@@ -47,7 +47,7 @@ async function playCustomSound(filePath) {
|
|
|
47
47
|
await audio.play();
|
|
48
48
|
}
|
|
49
49
|
catch (e) {
|
|
50
|
-
log.warn('
|
|
50
|
+
log.warn('Custom notification sound could not be played:', e);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
function playNotificationSound(frequency = 800, duration = 200) {
|
|
@@ -67,7 +67,7 @@ function playNotificationSound(frequency = 800, duration = 200) {
|
|
|
67
67
|
osc.stop(now + duration / 1000);
|
|
68
68
|
}
|
|
69
69
|
catch (e) {
|
|
70
|
-
log.warn('
|
|
70
|
+
log.warn('Notification tone could not be played:', e);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
export function playQueryCompletedCue() {
|
|
@@ -367,7 +367,7 @@ export function Modal(props) {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
catch (error) {
|
|
370
|
-
bestEffortFailed('
|
|
370
|
+
bestEffortFailed('pointer capture may already have been released', error);
|
|
371
371
|
}
|
|
372
372
|
currentHeader.removeEventListener('lostpointercapture', onLostCapture);
|
|
373
373
|
doc.removeEventListener('pointermove', onDocMove);
|
|
@@ -6,6 +6,8 @@ import { buildTreeContainerAria, buildTreeRowAria } from './treeAria';
|
|
|
6
6
|
import { t } from '../i18n/i18n';
|
|
7
7
|
import { TreeRow } from './TreeRow';
|
|
8
8
|
import { TreeStickyHeader } from './TreeStickyHeader';
|
|
9
|
+
import { useListCommands } from '../_internal/app/keybindings/context/useListCommands';
|
|
10
|
+
import { useKeybindingsOptional } from '../_internal/app/keybindings/context/keybindingsContext';
|
|
9
11
|
import styles from './TreeSurface.module.css.js';
|
|
10
12
|
const FOCUS_MODE = 'roving-tabindex';
|
|
11
13
|
export function TreeSurface(props) {
|
|
@@ -25,6 +27,16 @@ export function TreeSurface(props) {
|
|
|
25
27
|
return -1;
|
|
26
28
|
return row.depth - 1;
|
|
27
29
|
});
|
|
30
|
+
useListCommands({
|
|
31
|
+
container: () => containerEl,
|
|
32
|
+
supportsMultiselect: () => capabilities().canMultiSelect,
|
|
33
|
+
verbs: { selectAll: () => controller().selectAll() },
|
|
34
|
+
});
|
|
35
|
+
const ownsSelectAllChord = useKeybindingsOptional() === null;
|
|
36
|
+
const isSelectAllChord = (event) => (event.key === 'a' || event.key === 'A') &&
|
|
37
|
+
(event.ctrlKey || event.metaKey) &&
|
|
38
|
+
!event.altKey &&
|
|
39
|
+
!event.shiftKey;
|
|
28
40
|
const containerAria = createMemo(() => buildTreeContainerAria({
|
|
29
41
|
treeId: descriptor().id,
|
|
30
42
|
label: descriptor().ariaLabel,
|
|
@@ -72,6 +84,11 @@ export function TreeSurface(props) {
|
|
|
72
84
|
<div ref={containerEl} {...containerAria()} class={styles.treeContainer} style={{ height: `${props.surface.scroller.totalHeight()}px` }} onKeyDown={(event) => {
|
|
73
85
|
if (isTextEntry(event.target))
|
|
74
86
|
return;
|
|
87
|
+
if (ownsSelectAllChord && isSelectAllChord(event) && capabilities().canMultiSelect) {
|
|
88
|
+
event.preventDefault();
|
|
89
|
+
controller().selectAll();
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
75
92
|
controller().handleKeyDown(event);
|
|
76
93
|
}} onFocus={(event) => {
|
|
77
94
|
if (event.target === event.currentTarget &&
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createMemo, createSignal, onCleanup } from 'solid-js';
|
|
2
2
|
import { DEFAULT_TREE_CAPABILITIES, } from './types';
|
|
3
3
|
import { findParentIndex, findTypeAheadIndex, resolveTreeIntent, } from './treeKeymap';
|
|
4
|
+
import { selectAllInScope } from './selectAllInScope';
|
|
4
5
|
import { isKey } from '../_internal/base/keys';
|
|
5
6
|
export const TYPE_AHEAD_RESET_MS = 1000;
|
|
6
7
|
export function createTreeController(options) {
|
|
@@ -174,6 +175,11 @@ export function createTreeController(options) {
|
|
|
174
175
|
selectable,
|
|
175
176
|
};
|
|
176
177
|
};
|
|
178
|
+
const selectAll = () => {
|
|
179
|
+
if (!caps().canMultiSelect)
|
|
180
|
+
return;
|
|
181
|
+
setSelectedKeys(new Set(selectAllInScope(options.rows(), cursorIndex(), selectedKeys())));
|
|
182
|
+
};
|
|
177
183
|
const openMenuAt = (index, point) => {
|
|
178
184
|
const row = options.rows()[index];
|
|
179
185
|
if (row)
|
|
@@ -260,12 +266,6 @@ export function createTreeController(options) {
|
|
|
260
266
|
});
|
|
261
267
|
return;
|
|
262
268
|
}
|
|
263
|
-
case 'selectAll':
|
|
264
|
-
event.preventDefault();
|
|
265
|
-
setSelectedKeys(new Set(rows
|
|
266
|
-
.filter((row) => row.selectable !== false)
|
|
267
|
-
.map((row) => row.key)));
|
|
268
|
-
return;
|
|
269
269
|
case 'typeAhead': {
|
|
270
270
|
const now = options.now?.() ?? Date.now();
|
|
271
271
|
const stale = now - lastTypeAheadAt > TYPE_AHEAD_RESET_MS;
|
|
@@ -305,6 +305,7 @@ export function createTreeController(options) {
|
|
|
305
305
|
selectIndex,
|
|
306
306
|
clearSelection,
|
|
307
307
|
selectChildren,
|
|
308
|
+
selectAll,
|
|
308
309
|
childKindsHomogeneous,
|
|
309
310
|
handleKeyDown,
|
|
310
311
|
openMenuAt,
|