@vokril/ui-solid 0.29.0 → 0.32.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 +121 -0
- package/README.md +90 -0
- package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
- package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
- package/dist/Button-CX7mylBT.js +308 -0
- package/dist/Button-lMUW5P3O.cjs +1 -0
- package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
- package/dist/CommandPalette-DlLcdd4o.js +4029 -0
- package/dist/CopyButton-BVvv5M8g.js +63 -0
- package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
- package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
- package/dist/DateRangePicker-CHmUU4PA.js +552 -0
- package/dist/GuidedTour-9rqvNB_m.js +483 -0
- package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
- package/dist/{HostPortal-CXGUUhP8.js → HostPortal-De65s6CU.js} +1 -1
- package/dist/HostPortal-Dm4BmY8M.cjs +1 -0
- package/dist/{IconPicker-DYqNi5ud.js → IconPicker-CsYW8CXe.js} +4 -4
- package/dist/IconPicker-D-GU1mD3.cjs +1 -0
- package/dist/Input-C3rEQffK.js +382 -0
- package/dist/Input-CHtvL4_4.cjs +1 -0
- package/dist/Modal-3L6p7Dwt.js +599 -0
- package/dist/Modal-CtrWEnJ7.cjs +1 -0
- package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
- package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
- package/dist/{PageSkeleton-CLnJO6uD.js → PageSkeleton-BRuqaDzr.js} +372 -371
- package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
- package/dist/Popover-CLTXG8W0.cjs +1 -0
- package/dist/Popover-DkqGvMNy.js +207 -0
- package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
- package/dist/SearchableSelect-Du12kcI9.js +328 -0
- package/dist/StatusBarNotificationBell-CNs_obmZ.cjs +50 -0
- package/dist/{StatusBarNotificationBell-7Izs_msz.js → StatusBarNotificationBell-CgsYrrpj.js} +5205 -4850
- package/dist/Stepper-DzI-gtKd.js +586 -0
- package/dist/Stepper-rpu7lpzB.cjs +1 -0
- package/dist/{Textarea-CeAGf08O.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
- package/dist/{Textarea-B5QqqKnI.js → Textarea-DOzZCc-O.js} +1 -1
- package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
- package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
- package/dist/ToggleButton-B-hBpdzk.js +2144 -0
- package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
- package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
- package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
- package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
- package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
- package/dist/_internal/contract/notification.d.cts +28 -3
- package/dist/_internal/contract/notification.d.ts +28 -3
- package/dist/_internal/contract/notificationCatalog.d.cts +2 -0
- package/dist/_internal/contract/notificationCatalog.d.ts +2 -0
- package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -8
- package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -8
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/anchoredLayout-CBjQ1etD.cjs +1 -0
- package/dist/anchoredLayout-E0mqCWxk.js +233 -0
- package/dist/base.css +3 -3
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/context/DesktopContextMenuContext.d.cts +8 -1
- package/dist/context/DesktopContextMenuContext.d.ts +8 -1
- package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
- package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
- package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
- package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +229 -228
- package/dist/dialogFocusRestore-BhxVTSiP.js +10 -0
- package/dist/dialogFocusRestore-DP5b1bDo.cjs +1 -0
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +4 -4
- package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
- package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
- package/dist/forms/Input.d.cts +20 -0
- package/dist/forms/Input.d.ts +20 -0
- package/dist/forms/InputMessage.d.cts +19 -0
- package/dist/forms/InputMessage.d.ts +19 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +1 -0
- package/dist/host/index.d.ts +1 -0
- package/dist/host/index.js +38 -39
- package/dist/host/kitHost.d.cts +8 -0
- package/dist/host/kitHost.d.ts +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +936 -928
- package/dist/kitHost-BMMWpU4w.js +47 -0
- package/dist/kitHost-u0-mKvEK.cjs +1 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/layout/resizeCarry.d.cts +17 -0
- package/dist/layout/resizeCarry.d.ts +17 -0
- package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
- package/dist/mainRealmDom-DydRT2Us.js +54 -0
- package/dist/nativeTitleHold-A9jUISgQ.js +170 -0
- package/dist/nativeTitleHold-B7Ou-W9b.cjs +1 -0
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notificationCatalog-CRERhjp6.js +168 -0
- package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
- package/dist/notifications/NotificationItem.d.cts +9 -0
- package/dist/notifications/NotificationItem.d.ts +9 -0
- package/dist/notifications/NotificationsCenter.d.cts +18 -0
- package/dist/notifications/NotificationsCenter.d.ts +18 -0
- package/dist/notifications/RunningProgressCards.d.cts +3 -0
- package/dist/notifications/RunningProgressCards.d.ts +3 -0
- package/dist/notifications/fireNotification.d.cts +35 -16
- package/dist/notifications/fireNotification.d.ts +35 -16
- package/dist/notifications/holdWhileShown.d.cts +18 -0
- package/dist/notifications/holdWhileShown.d.ts +18 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +1 -0
- package/dist/notifications/index.d.ts +1 -0
- package/dist/notifications/index.js +55 -52
- package/dist/notifications/nativeEngine.d.cts +38 -5
- package/dist/notifications/nativeEngine.d.ts +38 -5
- package/dist/notifications/notificationEntryList.d.cts +104 -0
- package/dist/notifications/notificationEntryList.d.ts +104 -0
- package/dist/notifications/notificationService.d.cts +23 -2
- package/dist/notifications/notificationService.d.ts +23 -2
- package/dist/notifications/toast.d.cts +3 -0
- package/dist/notifications/toast.d.ts +3 -0
- package/dist/notifications/toastCorner.d.cts +8 -0
- package/dist/notifications/toastCorner.d.ts +8 -0
- package/dist/notifications/toastFilterPolicy.d.cts +33 -1
- package/dist/notifications/toastFilterPolicy.d.ts +33 -1
- package/dist/overlay/Modal.d.cts +19 -0
- package/dist/overlay/Modal.d.ts +19 -0
- package/dist/overlay/backgroundInert.d.cts +6 -2
- package/dist/overlay/backgroundInert.d.ts +6 -2
- package/dist/overlay/command-palette/CommandPalette.d.cts +12 -0
- package/dist/overlay/command-palette/CommandPalette.d.ts +12 -0
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +2 -1
- package/dist/overlay/index.d.ts +2 -1
- package/dist/overlay/index.js +80 -75
- package/dist/overlay/modalDefaults.d.cts +23 -0
- package/dist/overlay/modalDefaults.d.ts +23 -0
- package/dist/overlay/modalViewport.d.cts +16 -2
- package/dist/overlay/modalViewport.d.ts +16 -2
- package/dist/overlay/nativeTitleHold.d.cts +24 -0
- package/dist/overlay/nativeTitleHold.d.ts +24 -0
- package/dist/ownerAnimationFrame-DzFcMSmn.js +19 -0
- package/dist/ownerAnimationFrame-T6jf6qYC.cjs +1 -0
- package/dist/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
- package/dist/rowSource-BRGZHclZ.js +1231 -0
- package/dist/rowSource-C3zlzAtR.cjs +1 -0
- package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
- package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
- package/dist/server/Button-DHefmmYz.cjs +1 -0
- package/dist/server/Button-ft_8RNJj.js +226 -0
- package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
- package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
- package/dist/server/CopyButton-CiYcsQcI.js +64 -0
- package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
- package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
- package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
- package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
- package/dist/server/GuidedTour-DYBhprVK.js +400 -0
- package/dist/server/{HostPortal-CXGUUhP8.js → HostPortal-C4xdfRyM.js} +1 -1
- package/dist/server/HostPortal-CwyePpDX.cjs +1 -0
- package/dist/server/{IconPicker-B4aXspLw.js → IconPicker--Xso9fUf.js} +5 -5
- package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
- package/dist/server/Input-UX0Hk53M.cjs +1 -0
- package/dist/server/Input-V9Szcw6w.js +249 -0
- package/dist/server/Modal-CBnNlaTx.cjs +1 -0
- package/dist/server/Modal-D9CjieKK.js +426 -0
- package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
- package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
- package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
- package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
- package/dist/server/Popover-BBDBIpT6.cjs +1 -0
- package/dist/server/Popover-e9JpRh11.js +439 -0
- package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
- package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
- package/dist/server/{StatusBarNotificationBell-D8Jt3PXI.js → StatusBarNotificationBell-CJJFE4rf.js} +5043 -4698
- package/dist/server/StatusBarNotificationBell-Cxs_bVKX.cjs +49 -0
- package/dist/server/Stepper-C04rOZcI.cjs +1 -0
- package/dist/server/Stepper-CVAOsf3o.js +381 -0
- package/dist/server/{Textarea-BQf2lL59.cjs → Textarea-BG6F8taO.cjs} +1 -1
- package/dist/server/{Textarea-BTH48NET.js → Textarea-DM4zpgWo.js} +1 -1
- package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
- package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
- package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
- package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
- package/dist/server/{VpTrash-Dlq8o6Uv.js → VpTrash-CZMWCIpF.js} +84 -70
- package/dist/server/VpTrash-DiczWhwm.cjs +1 -0
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
- package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
- package/dist/server/{createResizableSidebar-BImbKlLe.js → createResizableSidebar-CIrhLNKW.js} +104 -102
- package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +154 -153
- package/dist/server/dialogFocusRestore-BhxVTSiP.js +10 -0
- package/dist/server/dialogFocusRestore-DP5b1bDo.cjs +1 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +4 -4
- package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
- package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +9 -9
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +38 -39
- package/dist/server/{index-UIjsx3oJ.js → index-CPUZyKo7.js} +3604 -3617
- package/dist/server/index-CVbkasNJ.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +656 -649
- package/dist/server/kitHost-BMMWpU4w.js +47 -0
- package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
- package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
- package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +55 -52
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +72 -68
- package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/server/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
- package/dist/server/rowSource-C1F4l0xZ.cjs +1 -0
- package/dist/server/rowSource-CoeHYNsV.js +1123 -0
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +29 -26
- package/dist/server/tokens/palette/index.cjs +1 -0
- package/dist/server/tokens/palette/index.js +31 -0
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
- package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
- package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
- package/dist/solid/desktop/WindowControls.jsx +6 -3
- package/dist/solid/feedback/Badge.jsx +12 -19
- package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
- package/dist/solid/forms/Button.jsx +18 -23
- package/dist/solid/forms/Checkbox.jsx +5 -4
- package/dist/solid/forms/Combobox.jsx +12 -10
- package/dist/solid/forms/CopyButton.jsx +7 -4
- package/dist/solid/forms/DatePicker.jsx +12 -7
- package/dist/solid/forms/Dropzone.jsx +17 -13
- package/dist/solid/forms/FilePickerButton.jsx +5 -4
- package/dist/solid/forms/HiddenFileInput.jsx +3 -1
- package/dist/solid/forms/Input.jsx +31 -5
- package/dist/solid/forms/Input.module.css.js +1 -0
- package/dist/solid/forms/InputMessage.jsx +87 -0
- package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
- package/dist/solid/forms/NumberInput.jsx +25 -19
- package/dist/solid/forms/Picker.jsx +8 -6
- package/dist/solid/forms/PressableSurface.jsx +17 -23
- package/dist/solid/forms/RadioGroup.jsx +4 -3
- package/dist/solid/forms/SearchInput.jsx +4 -3
- package/dist/solid/forms/SearchableSelect.jsx +4 -3
- package/dist/solid/forms/SegmentedControl.jsx +4 -3
- package/dist/solid/forms/TagInput.jsx +22 -16
- package/dist/solid/forms/ToggleButton.jsx +4 -3
- package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
- package/dist/solid/grid/Pagination.jsx +7 -3
- package/dist/solid/host/kitHost.jsx +5 -1
- package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
- package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
- package/dist/solid/layout/ResizeHandle.jsx +15 -4
- package/dist/solid/layout/resizeCarry.js +31 -0
- package/dist/solid/navigation/Accordion.jsx +8 -5
- package/dist/solid/navigation/Tabs.jsx +11 -8
- package/dist/solid/notifications/NotificationHost.jsx +5 -18
- package/dist/solid/notifications/NotificationItem.jsx +62 -58
- package/dist/solid/notifications/NotificationPanel.jsx +27 -9
- package/dist/solid/notifications/NotificationsCenter.jsx +72 -12
- package/dist/solid/notifications/RunningProgressCards.jsx +1 -1
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +12 -6
- package/dist/solid/notifications/catalogAdapter.js +1 -0
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
- package/dist/solid/notifications/fireNotification.js +21 -16
- package/dist/solid/notifications/holdWhileShown.js +30 -0
- package/dist/solid/notifications/index.js +1 -0
- package/dist/solid/notifications/nativeEngine.js +52 -1
- package/dist/solid/notifications/notificationEntryList.js +184 -0
- package/dist/solid/notifications/notificationService.js +20 -4
- package/dist/solid/notifications/toast.js +58 -7
- package/dist/solid/notifications/toastCorner.js +3 -0
- package/dist/solid/notifications/toastFilterPolicy.js +12 -0
- package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
- package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
- package/dist/solid/overlay/Disclosure.jsx +4 -3
- package/dist/solid/overlay/Drawer.jsx +2 -1
- package/dist/solid/overlay/DropdownMenu.jsx +6 -4
- package/dist/solid/overlay/FloatingWindow.jsx +3 -3
- package/dist/solid/overlay/HoverTooltip.jsx +9 -7
- package/dist/solid/overlay/Modal.jsx +81 -34
- package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
- package/dist/solid/overlay/Tooltip.jsx +5 -4
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +11 -11
- package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +73 -57
- package/dist/solid/overlay/index.js +2 -1
- package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
- package/dist/solid/overlay/modalDefaults.jsx +10 -0
- package/dist/solid/overlay/modalViewport.js +17 -4
- package/dist/solid/overlay/nativeTitleHold.js +33 -0
- package/dist/solid/overlay/popover/Popover.jsx +17 -11
- package/dist/solid/overlay/tooltipDirective.js +3 -11
- package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
- package/dist/solid/tokens/index.js +1 -0
- package/dist/solid/tokens/palette/index.js +1 -0
- package/dist/solid/tokens/palette/paletteContract.js +27 -0
- package/dist/solid/tree/TreeRow.jsx +19 -16
- package/dist/solid/tree/TreeSurface.jsx +15 -14
- package/dist/solid/widgets/SettingsField.jsx +11 -10
- package/dist/style.css +4 -3
- package/dist/theme.css +3 -2
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +1 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.js +29 -26
- package/dist/tokens/palette/index.cjs +1 -0
- package/dist/tokens/palette/index.d.cts +12 -0
- package/dist/tokens/palette/index.d.ts +12 -0
- package/dist/tokens/palette/index.js +31 -0
- package/dist/tokens/palette/paletteContract.d.cts +17 -0
- package/dist/tokens/palette/paletteContract.d.ts +17 -0
- package/dist/tokens/tokens.css +3 -2
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +25 -1
- package/dist/AttributeGrid-CASILa4u.js +0 -320
- package/dist/AttributeGrid-eND8YDby.cjs +0 -1
- package/dist/Button-Bb68ymNP.cjs +0 -1
- package/dist/Button-D-T0tyGF.js +0 -305
- package/dist/CommandPalette-5FQRgPG9.cjs +0 -2
- package/dist/CommandPalette-Cj618AOz.js +0 -4017
- package/dist/CopyButton-B5gS2ft3.cjs +0 -1
- package/dist/CopyButton-g-WSiBDZ.js +0 -63
- package/dist/DateRangePicker-CJD9ADgB.js +0 -550
- package/dist/DateRangePicker-Frc0HVxp.cjs +0 -9
- package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
- package/dist/EmptyState-Dph6HU74.js +0 -50
- package/dist/GuidedTour-B6q7lYhn.cjs +0 -1
- package/dist/GuidedTour-CFCvRJN4.js +0 -483
- package/dist/HostPortal-CgJwxt-f.cjs +0 -1
- package/dist/IconPicker-CIbJb1ei.cjs +0 -1
- package/dist/Input-CZruORyy.cjs +0 -1
- package/dist/Input-DkPhsdfk.js +0 -227
- package/dist/Modal-CY6ePolt.cjs +0 -1
- package/dist/Modal-NzZzHSwb.js +0 -559
- package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
- package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
- package/dist/PageSkeleton-BPbb28-H.cjs +0 -30
- package/dist/Popover-CWrR51eG.cjs +0 -1
- package/dist/Popover-Cttb6NYT.js +0 -206
- package/dist/SearchableSelect-BvCm4enQ.js +0 -327
- package/dist/SearchableSelect-CVqdVMOC.cjs +0 -1
- package/dist/StatusBarNotificationBell-BJiORN4s.cjs +0 -50
- package/dist/Stepper-Ci5JpLbS.cjs +0 -1
- package/dist/Stepper-D9i1Xclm.js +0 -583
- package/dist/TimeSeriesChart-DOwi2lJs.js +0 -441
- package/dist/TimeSeriesChart-huvheefm.cjs +0 -1
- package/dist/ToggleButton-BFWh1_o5.cjs +0 -1
- package/dist/ToggleButton-CFM8P3JY.js +0 -2137
- package/dist/anchoredLayout-Dstwa5OH.cjs +0 -1
- package/dist/anchoredLayout-FC-qv8xm.js +0 -250
- package/dist/createDialogShellFocus-B4piXDU4.js +0 -282
- package/dist/createDialogShellFocus-CJaw9-B9.cjs +0 -1
- package/dist/createResizableSidebar-BDUlX9-G.js +0 -472
- package/dist/createResizableSidebar-BVJBU2kP.cjs +0 -1
- package/dist/dialogFocusRestore--dH59ER2.js +0 -35
- package/dist/dialogFocusRestore-CL-ExfAA.cjs +0 -1
- package/dist/kitHost-BfJExE1G.cjs +0 -1
- package/dist/kitHost-CVAEi9sF.js +0 -23
- package/dist/mainRealmDom-C12lr9lm.js +0 -171
- package/dist/mainRealmDom-S6teqEr4.cjs +0 -1
- package/dist/pageTourState-CrbEU7QW.cjs +0 -5
- package/dist/rowSource-D__7o4h0.js +0 -1230
- package/dist/rowSource-DiwTu_r8.cjs +0 -1
- package/dist/server/AttributeGrid-B7sb3btp.cjs +0 -1
- package/dist/server/AttributeGrid-CMi-UtWb.js +0 -281
- package/dist/server/Button-0AXWRw9Q.cjs +0 -1
- package/dist/server/Button-3yNrnn4P.js +0 -220
- package/dist/server/CommandPalette-CozogFlk.js +0 -3265
- package/dist/server/CommandPalette-DQK6N98N.cjs +0 -1
- package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
- package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
- package/dist/server/DateRangePicker-C35q8BTw.js +0 -484
- package/dist/server/DateRangePicker-KLZzyuPJ.cjs +0 -9
- package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
- package/dist/server/GuidedTour-DfV0yzqh.cjs +0 -1
- package/dist/server/GuidedTour-DmLbBttx.js +0 -400
- package/dist/server/HostPortal-CgJwxt-f.cjs +0 -1
- package/dist/server/IconPicker-B1soopAp.cjs +0 -1
- package/dist/server/Input-CjvD8w18.cjs +0 -1
- package/dist/server/Input-DaEN2JJd.js +0 -127
- package/dist/server/Modal-BheFQLs1.js +0 -415
- package/dist/server/Modal-BswxV8Pn.cjs +0 -1
- package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
- package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
- package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
- package/dist/server/Popover-BsxIKBbl.cjs +0 -1
- package/dist/server/Popover-Cg28aPUZ.js +0 -439
- package/dist/server/SearchableSelect-09ECcDlB.cjs +0 -1
- package/dist/server/SearchableSelect-vjhS4c-H.js +0 -205
- package/dist/server/StatusBarNotificationBell-LJHLMT9F.cjs +0 -49
- package/dist/server/Stepper-DxNrskdq.cjs +0 -1
- package/dist/server/Stepper-n5f9r-ye.js +0 -375
- package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
- package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
- package/dist/server/ToggleButton-FywO2CCI.js +0 -1335
- package/dist/server/ToggleButton-TE3Xf2yD.cjs +0 -1
- package/dist/server/VpTrash-D49oUUJh.cjs +0 -1
- package/dist/server/createDialogShellFocus-BFo8awdj.js +0 -369
- package/dist/server/createDialogShellFocus-BiBAZOCI.cjs +0 -1
- package/dist/server/createResizableSidebar-GFgZIj-5.cjs +0 -1
- package/dist/server/dialogFocusRestore--dH59ER2.js +0 -35
- package/dist/server/dialogFocusRestore-CL-ExfAA.cjs +0 -1
- package/dist/server/index-2mQPVEDR.cjs +0 -1
- package/dist/server/kitHost-BfJExE1G.cjs +0 -1
- package/dist/server/kitHost-CVAEi9sF.js +0 -23
- package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
- package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
- package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
- package/dist/server/rowSource-D-wcDmFU.js +0 -1122
- package/dist/server/rowSource-DltiY0o3.cjs +0 -1
- package/dist/tooltipCoordinator-BzxEyKhA.js +0 -144
- package/dist/tooltipCoordinator-DslqMlsI.cjs +0 -1
package/dist/desktop/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var ge = Object.defineProperty;
|
|
2
2
|
var be = (n, r, l) => r in n ? ge(n, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : n[r] = l;
|
|
3
|
-
var
|
|
4
|
-
import { createComponent as
|
|
5
|
-
import { createSignal as
|
|
6
|
-
import { I as
|
|
3
|
+
var L = (n, r, l) => be(n, typeof r != "symbol" ? r + "" : r, l);
|
|
4
|
+
import { createComponent as v, use as ie, insert as _, effect as I, className as $, memo as O, setStyleProperty as ne, template as M, delegateEvents as fe, setAttribute as ke, mergeProps as pe } from "solid-js/web";
|
|
5
|
+
import { createSignal as D, createMemo as R, onMount as se, onCleanup as le, Show as T, For as he } from "solid-js";
|
|
6
|
+
import { I as _e, P as q } from "../Input-C3rEQffK.js";
|
|
7
7
|
import { a as Ce } from "../HostWindowContext-B2m0bVra.js";
|
|
8
8
|
import { H as Nt, u as Ht } from "../HostWindowContext-B2m0bVra.js";
|
|
9
|
-
import { t as
|
|
9
|
+
import { t as W } from "../i18n-CBlUGOyu.js";
|
|
10
10
|
import { i as Ie } from "../actions-wwAHs3ZU.js";
|
|
11
11
|
import { r as Vt } from "../actions-wwAHs3ZU.js";
|
|
12
12
|
import { a as $e } from "../window-CUK6x8Pj.js";
|
|
13
|
-
import { H as Me } from "../HostPortal-
|
|
14
|
-
import { VpChevronRight as xe, VpCheck as
|
|
15
|
-
import { O as
|
|
16
|
-
import { u as
|
|
13
|
+
import { H as Me } from "../HostPortal-De65s6CU.js";
|
|
14
|
+
import { VpChevronRight as xe, VpCheck as ye } from "@vokril/icons";
|
|
15
|
+
import { O as Ee } from "../OverlayScrollArea-CrrPFLq9.js";
|
|
16
|
+
import { u as Se } from "../kitHost-BMMWpU4w.js";
|
|
17
17
|
import { i as F, n as Ae } from "../keys-B2nlkpqc.js";
|
|
18
|
-
import { r as me } from "../dialogFocusRestore
|
|
18
|
+
import { r as me } from "../dialogFocusRestore-BhxVTSiP.js";
|
|
19
19
|
import { g as Le } from "../windowRegistry-DeGmXt6W.js";
|
|
20
20
|
const We = 500;
|
|
21
21
|
function Te(n) {
|
|
@@ -26,15 +26,15 @@ function Pe(n, r, l, f, u = We) {
|
|
|
26
26
|
}
|
|
27
27
|
function De(n, r, l) {
|
|
28
28
|
if (r.length === 0 || n.length === 0) return -1;
|
|
29
|
-
const f = [...r].every((
|
|
30
|
-
for (let
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
33
|
-
return
|
|
29
|
+
const f = [...r].every((p) => p === r[0]), u = f ? r[0] ?? "" : r, d = f ? l : l - 1, k = n.length;
|
|
30
|
+
for (let p = 1; p <= k; p += 1) {
|
|
31
|
+
const b = ((d + p) % k + k) % k, x = n[b];
|
|
32
|
+
if (x != null && x.trim().toLowerCase().startsWith(u))
|
|
33
|
+
return b;
|
|
34
34
|
}
|
|
35
35
|
return -1;
|
|
36
36
|
}
|
|
37
|
-
const Re = "vk_bar_-iKpX", Fe = "vk_trigger_tlFs1", Oe = "vk_triggerActive_vSu0q", Be = "vk_mnemonic_-vCZs", ze = "vk_panel_Pxyi6 vk_surface_3ZOnl", Ne = "vk_panelViewport_IbURv vk_viewport_B94pk", He = "vk_panelSearchRow_qCROg", Ke = "vk_panelSearchInput_1G-KK", Ve = "vk_itemIcon_oQ56l vk_itemIcon_bv6oS", Ue = "vk_favoriteBackdrop_yMPes", qe = "vk_favoritePopover_M-iaT", Ge = "vk_row_N-Bqh vk_item_neWq-",
|
|
37
|
+
const Re = "vk_bar_-iKpX", Fe = "vk_trigger_tlFs1", Oe = "vk_triggerActive_vSu0q", Be = "vk_mnemonic_-vCZs", ze = "vk_panel_Pxyi6 vk_surface_3ZOnl", Ne = "vk_panelViewport_IbURv vk_viewport_B94pk", He = "vk_panelSearchRow_qCROg", Ke = "vk_panelSearchInput_1G-KK", Ve = "vk_itemIcon_oQ56l vk_itemIcon_bv6oS", Ue = "vk_favoriteBackdrop_yMPes", qe = "vk_favoritePopover_M-iaT", Ge = "vk_row_N-Bqh vk_item_neWq-", Qe = "vk_rowDisabled_otjbn vk_itemDisabled_OROlk", Xe = "vk_rowSubmenu_2uyLs", Ye = "vk_checkmark_fL5-O vk_check_dO3aK", je = "vk_label_trn8V vk_label_zTITb", Je = "vk_shortcut_DjpeI vk_shortcut_S1oQc", Ze = "vk_submenuArrow_b5WSa vk_chevron_pb9D1", et = "vk_separator_dpxJB vk_separator_zMw59", w = {
|
|
38
38
|
bar: Re,
|
|
39
39
|
trigger: Fe,
|
|
40
40
|
triggerActive: Oe,
|
|
@@ -47,130 +47,130 @@ const Re = "vk_bar_-iKpX", Fe = "vk_trigger_tlFs1", Oe = "vk_triggerActive_vSu0q
|
|
|
47
47
|
favoriteBackdrop: Ue,
|
|
48
48
|
favoritePopover: qe,
|
|
49
49
|
row: Ge,
|
|
50
|
-
rowDisabled:
|
|
51
|
-
rowSubmenu:
|
|
50
|
+
rowDisabled: Qe,
|
|
51
|
+
rowSubmenu: Xe,
|
|
52
52
|
checkmark: Ye,
|
|
53
53
|
label: je,
|
|
54
54
|
shortcut: Je,
|
|
55
55
|
submenuArrow: Ze,
|
|
56
56
|
separator: et
|
|
57
57
|
};
|
|
58
|
-
var tt = /* @__PURE__ */
|
|
58
|
+
var tt = /* @__PURE__ */ M("<div role=presentation>"), ue = /* @__PURE__ */ M("<div role=menu>"), de = /* @__PURE__ */ M("<div tabindex=-1 role=presentation>"), nt = /* @__PURE__ */ M("<div role=separator>"), re = /* @__PURE__ */ M("<span>"), oe = /* @__PURE__ */ M("<span aria-hidden=true>");
|
|
59
59
|
const rt = 8, ot = 80, it = 160;
|
|
60
60
|
function ve(n) {
|
|
61
61
|
const {
|
|
62
62
|
menuFavorites: r
|
|
63
|
-
} =
|
|
64
|
-
let
|
|
65
|
-
const
|
|
66
|
-
let
|
|
67
|
-
const
|
|
63
|
+
} = Se(), [l, f] = D(null), [u, d] = D(null), [k, p] = D(-1), [b, x] = D(""), [N, H] = D(null);
|
|
64
|
+
let h, C;
|
|
65
|
+
const G = [];
|
|
66
|
+
let Q = null, B = null;
|
|
67
|
+
const X = R(() => st(n.items)), ee = R(() => X().some((i) => i.kind === "item" && i.checked !== void 0)), Y = R(() => {
|
|
68
68
|
const i = n.searchScope;
|
|
69
69
|
return i === "local" || i === "global";
|
|
70
|
-
}),
|
|
71
|
-
const i =
|
|
72
|
-
return s ? n.searchScope === "global" && n.globalEntries ? n.globalEntries().filter((
|
|
70
|
+
}), P = R(() => {
|
|
71
|
+
const i = X(), s = b().trim().toLowerCase();
|
|
72
|
+
return s ? n.searchScope === "global" && n.globalEntries ? n.globalEntries().filter((m) => m.label.toLowerCase().includes(s)) : n.searchScope === "local" ? i.filter((e) => e.kind === "separator" ? !1 : e.label.toLowerCase().includes(s)) : i : i;
|
|
73
73
|
}), z = (i, s) => {
|
|
74
|
-
const e =
|
|
74
|
+
const e = P();
|
|
75
75
|
if (e.length === 0) return -1;
|
|
76
|
-
const
|
|
76
|
+
const m = e.length;
|
|
77
77
|
let a = i;
|
|
78
|
-
for (let
|
|
79
|
-
a = (a + s +
|
|
78
|
+
for (let U = 0; U < m; U++) {
|
|
79
|
+
a = (a + s + m) % m;
|
|
80
80
|
const J = e[a];
|
|
81
81
|
if (J && J.kind !== "separator") return a;
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
const s =
|
|
84
|
+
}, K = (i) => {
|
|
85
|
+
p(i);
|
|
86
|
+
const s = G[i];
|
|
87
87
|
s && s.focus({
|
|
88
88
|
preventScroll: !1
|
|
89
89
|
});
|
|
90
90
|
}, t = () => {
|
|
91
|
-
|
|
91
|
+
Q && (clearTimeout(Q), Q = null);
|
|
92
92
|
}, o = () => {
|
|
93
93
|
B && (clearTimeout(B), B = null);
|
|
94
94
|
}, c = () => {
|
|
95
95
|
t(), o(), f(null), d(null);
|
|
96
|
-
},
|
|
96
|
+
}, g = () => {
|
|
97
97
|
o(), B = setTimeout(() => {
|
|
98
98
|
B = null, f(null), d(null);
|
|
99
99
|
}, it);
|
|
100
|
-
},
|
|
101
|
-
t(), o(), l() !== i.id && (
|
|
100
|
+
}, y = (i, s) => {
|
|
101
|
+
t(), o(), l() !== i.id && (Q = setTimeout(() => {
|
|
102
102
|
const e = s.getBoundingClientRect();
|
|
103
103
|
f(i.id), d({
|
|
104
104
|
left: Math.round(e.right - 4),
|
|
105
105
|
top: Math.round(e.top - 4)
|
|
106
106
|
});
|
|
107
107
|
}, ot));
|
|
108
|
-
},
|
|
108
|
+
}, S = (i) => {
|
|
109
109
|
var s;
|
|
110
110
|
i.enabled && (n.onClose(), (s = n.onItemActivate) == null || s.call(n), i.onSelect());
|
|
111
|
-
},
|
|
111
|
+
}, A = (i, s) => {
|
|
112
112
|
const e = s.id;
|
|
113
|
-
Ie(e) && (i.preventDefault(), i.stopPropagation(),
|
|
113
|
+
Ie(e) && (i.preventDefault(), i.stopPropagation(), H({
|
|
114
114
|
left: i.clientX,
|
|
115
115
|
top: i.clientY,
|
|
116
116
|
actionId: e,
|
|
117
117
|
isPinned: r.has(e)
|
|
118
118
|
}));
|
|
119
119
|
}, E = () => {
|
|
120
|
-
const i =
|
|
121
|
-
i && (i.isPinned ? r.remove(i.actionId) : r.add(i.actionId),
|
|
122
|
-
},
|
|
123
|
-
|
|
120
|
+
const i = N();
|
|
121
|
+
i && (i.isPinned ? r.remove(i.actionId) : r.add(i.actionId), H(null));
|
|
122
|
+
}, V = () => {
|
|
123
|
+
H(null);
|
|
124
124
|
};
|
|
125
125
|
let j = "", te = 0;
|
|
126
126
|
const we = (i) => {
|
|
127
|
-
const s =
|
|
127
|
+
const s = P();
|
|
128
128
|
if (s.length !== 0)
|
|
129
129
|
switch (Ae(i)) {
|
|
130
130
|
case "ArrowDown": {
|
|
131
131
|
i.preventDefault();
|
|
132
|
-
const e = z(
|
|
133
|
-
e >= 0 &&
|
|
132
|
+
const e = z(k(), 1);
|
|
133
|
+
e >= 0 && K(e);
|
|
134
134
|
break;
|
|
135
135
|
}
|
|
136
136
|
case "ArrowUp": {
|
|
137
137
|
i.preventDefault();
|
|
138
|
-
const e = z(
|
|
139
|
-
e >= 0 &&
|
|
138
|
+
const e = z(k() < 0 ? 0 : k(), -1);
|
|
139
|
+
e >= 0 && K(e);
|
|
140
140
|
break;
|
|
141
141
|
}
|
|
142
142
|
case "Home": {
|
|
143
143
|
i.preventDefault();
|
|
144
144
|
const e = z(-1, 1);
|
|
145
|
-
e >= 0 &&
|
|
145
|
+
e >= 0 && K(e);
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
148
148
|
case "End": {
|
|
149
149
|
i.preventDefault();
|
|
150
150
|
const e = z(0, -1);
|
|
151
|
-
e >= 0 &&
|
|
151
|
+
e >= 0 && K(e);
|
|
152
152
|
break;
|
|
153
153
|
}
|
|
154
154
|
case "Enter": {
|
|
155
|
-
if (
|
|
155
|
+
if (b().trim() && k() < 0) {
|
|
156
156
|
const e = z(-1, 1);
|
|
157
157
|
if (e >= 0) {
|
|
158
158
|
i.preventDefault();
|
|
159
|
-
const
|
|
160
|
-
|
|
159
|
+
const m = P()[e];
|
|
160
|
+
m && m.kind === "item" && S(m);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
165
|
case "Escape": {
|
|
166
|
-
i.preventDefault(), i.stopPropagation(),
|
|
166
|
+
i.preventDefault(), i.stopPropagation(), b().trim() ? (x(""), C == null || C.focus()) : n.onClose();
|
|
167
167
|
break;
|
|
168
168
|
}
|
|
169
169
|
case "ArrowRight": {
|
|
170
|
-
const e =
|
|
170
|
+
const e = k();
|
|
171
171
|
if (e < 0) break;
|
|
172
|
-
const
|
|
173
|
-
|
|
172
|
+
const m = s[e], a = G[e];
|
|
173
|
+
m && m.kind === "submenu" && a && (i.preventDefault(), y(m, a));
|
|
174
174
|
break;
|
|
175
175
|
}
|
|
176
176
|
case "ArrowLeft": {
|
|
@@ -180,78 +180,78 @@ function ve(n) {
|
|
|
180
180
|
default: {
|
|
181
181
|
const e = i.target;
|
|
182
182
|
if (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || !Te(i)) break;
|
|
183
|
-
const
|
|
184
|
-
j = a, te =
|
|
185
|
-
const
|
|
186
|
-
J >= 0 && (i.preventDefault(),
|
|
183
|
+
const m = Date.now(), a = Pe(j, te, i.key, m);
|
|
184
|
+
j = a, te = m;
|
|
185
|
+
const U = s.map((ce) => ce.kind === "separator" ? null : ce.label), J = De(U, a, k());
|
|
186
|
+
J >= 0 && (i.preventDefault(), K(J));
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
se(() => {
|
|
192
|
-
Y() &&
|
|
192
|
+
Y() && C ? C.focus() : h == null || h.focus();
|
|
193
193
|
}), le(() => {
|
|
194
194
|
t(), o();
|
|
195
195
|
});
|
|
196
|
-
const ae =
|
|
196
|
+
const ae = R(() => {
|
|
197
197
|
const i = l();
|
|
198
198
|
if (!i) return null;
|
|
199
|
-
for (const s of
|
|
199
|
+
for (const s of P())
|
|
200
200
|
if (s.kind === "submenu" && s.id === i) return s;
|
|
201
201
|
return null;
|
|
202
202
|
});
|
|
203
|
-
return
|
|
203
|
+
return v(Me, {
|
|
204
204
|
type: "menu",
|
|
205
|
-
element: () =>
|
|
205
|
+
element: () => h,
|
|
206
206
|
idPrefix: "menu-panel",
|
|
207
207
|
get children() {
|
|
208
208
|
return [(() => {
|
|
209
209
|
var i = de();
|
|
210
210
|
return i.addEventListener("mouseleave", () => {
|
|
211
211
|
var s;
|
|
212
|
-
|
|
212
|
+
g(), (s = n.onPanelMouseLeave) == null || s.call(n);
|
|
213
213
|
}), i.addEventListener("mouseenter", () => {
|
|
214
214
|
var s;
|
|
215
215
|
o(), (s = n.onPanelMouseEnter) == null || s.call(n);
|
|
216
|
-
}), i.$$keydown = we, ie((s) =>
|
|
216
|
+
}), i.$$keydown = we, ie((s) => h = s, i), _(i, v(T, {
|
|
217
217
|
get when() {
|
|
218
218
|
return Y();
|
|
219
219
|
},
|
|
220
220
|
get children() {
|
|
221
221
|
var s = tt();
|
|
222
|
-
return
|
|
223
|
-
ref: (e) =>
|
|
222
|
+
return _(s, v(_e, {
|
|
223
|
+
ref: (e) => C = e,
|
|
224
224
|
get class() {
|
|
225
225
|
return w.panelSearchInput;
|
|
226
226
|
},
|
|
227
227
|
type: "search",
|
|
228
228
|
placeholder: "Filter menu...",
|
|
229
229
|
get value() {
|
|
230
|
-
return
|
|
230
|
+
return b();
|
|
231
231
|
},
|
|
232
|
-
onInput: (e) =>
|
|
232
|
+
onInput: (e) => x(e.currentTarget.value),
|
|
233
233
|
onKeyDown: (e) => {
|
|
234
234
|
F(e, "ArrowDown") || F(e, "ArrowUp") || F(e, "Enter") || F(e, "Escape") || e.stopPropagation();
|
|
235
235
|
}
|
|
236
|
-
})),
|
|
236
|
+
})), I(() => $(s, w.panelSearchRow)), s;
|
|
237
237
|
}
|
|
238
|
-
}), null),
|
|
238
|
+
}), null), _(i, v(Ee, {
|
|
239
239
|
get viewportClass() {
|
|
240
240
|
return w.panelViewport;
|
|
241
241
|
},
|
|
242
242
|
get children() {
|
|
243
243
|
var s = ue();
|
|
244
|
-
return
|
|
244
|
+
return _(s, v(he, {
|
|
245
245
|
get each() {
|
|
246
|
-
return
|
|
246
|
+
return P();
|
|
247
247
|
},
|
|
248
|
-
children: (e,
|
|
248
|
+
children: (e, m) => e.kind === "separator" ? (() => {
|
|
249
249
|
var a = nt();
|
|
250
|
-
return
|
|
251
|
-
})() : e.kind === "submenu" ?
|
|
250
|
+
return I(() => $(a, w.separator)), a;
|
|
251
|
+
})() : e.kind === "submenu" ? v(q, {
|
|
252
252
|
type: "button",
|
|
253
253
|
ref: (a) => {
|
|
254
|
-
|
|
254
|
+
G[m()] = a ?? null;
|
|
255
255
|
},
|
|
256
256
|
get class() {
|
|
257
257
|
return `${w.row} ${w.rowSubmenu}`;
|
|
@@ -262,26 +262,26 @@ function ve(n) {
|
|
|
262
262
|
return l() === e.id ? "true" : "false";
|
|
263
263
|
},
|
|
264
264
|
tabIndex: -1,
|
|
265
|
-
onFocus: () =>
|
|
265
|
+
onFocus: () => p(m()),
|
|
266
266
|
onMouseEnter: (a) => {
|
|
267
|
-
|
|
267
|
+
p(m()), y(e, a.currentTarget);
|
|
268
268
|
},
|
|
269
|
-
onClick: (a) =>
|
|
269
|
+
onClick: (a) => y(e, a.currentTarget),
|
|
270
270
|
get children() {
|
|
271
271
|
return [(() => {
|
|
272
272
|
var a = re();
|
|
273
|
-
return
|
|
274
|
-
})(),
|
|
273
|
+
return _(a, () => e.label), I(() => $(a, w.label)), a;
|
|
274
|
+
})(), v(xe, {
|
|
275
275
|
get class() {
|
|
276
276
|
return w.submenuArrow;
|
|
277
277
|
},
|
|
278
278
|
"aria-hidden": "true"
|
|
279
279
|
})];
|
|
280
280
|
}
|
|
281
|
-
}) :
|
|
281
|
+
}) : v(q, {
|
|
282
282
|
type: "button",
|
|
283
283
|
ref: (a) => {
|
|
284
|
-
|
|
284
|
+
G[m()] = a ?? null;
|
|
285
285
|
},
|
|
286
286
|
get class() {
|
|
287
287
|
return `${w.row} ${e.enabled ? "" : w.rowDisabled}`;
|
|
@@ -294,82 +294,82 @@ function ve(n) {
|
|
|
294
294
|
return O(() => !!e.shortcut)() ? `${e.label} (${e.shortcut})` : e.label;
|
|
295
295
|
},
|
|
296
296
|
tabIndex: -1,
|
|
297
|
-
onFocus: () =>
|
|
297
|
+
onFocus: () => p(m()),
|
|
298
298
|
onMouseEnter: () => {
|
|
299
|
-
|
|
299
|
+
p(m()), g();
|
|
300
300
|
},
|
|
301
|
-
onClick: () =>
|
|
302
|
-
onContextMenu: (a) =>
|
|
301
|
+
onClick: () => S(e),
|
|
302
|
+
onContextMenu: (a) => A(a, e),
|
|
303
303
|
get children() {
|
|
304
|
-
return [
|
|
304
|
+
return [v(T, {
|
|
305
305
|
get when() {
|
|
306
306
|
return ee();
|
|
307
307
|
},
|
|
308
308
|
get children() {
|
|
309
309
|
var a = oe();
|
|
310
|
-
return
|
|
310
|
+
return _(a, v(T, {
|
|
311
311
|
get when() {
|
|
312
312
|
return e.checked;
|
|
313
313
|
},
|
|
314
314
|
get children() {
|
|
315
|
-
return
|
|
315
|
+
return v(ye, {});
|
|
316
316
|
}
|
|
317
|
-
})),
|
|
317
|
+
})), I(() => $(a, w.checkmark)), a;
|
|
318
318
|
}
|
|
319
|
-
}),
|
|
319
|
+
}), v(T, {
|
|
320
320
|
get when() {
|
|
321
321
|
return e.icon;
|
|
322
322
|
},
|
|
323
323
|
get children() {
|
|
324
324
|
var a = oe();
|
|
325
|
-
return
|
|
325
|
+
return _(a, () => e.icon), I(() => $(a, w.itemIcon)), a;
|
|
326
326
|
}
|
|
327
327
|
}), (() => {
|
|
328
328
|
var a = re();
|
|
329
|
-
return
|
|
330
|
-
})(),
|
|
329
|
+
return _(a, () => e.label), I(() => $(a, w.label)), a;
|
|
330
|
+
})(), v(T, {
|
|
331
331
|
get when() {
|
|
332
332
|
return e.shortcut;
|
|
333
333
|
},
|
|
334
334
|
get children() {
|
|
335
335
|
var a = oe();
|
|
336
|
-
return
|
|
336
|
+
return _(a, () => e.shortcut), I(() => $(a, w.shortcut)), a;
|
|
337
337
|
}
|
|
338
338
|
})];
|
|
339
339
|
}
|
|
340
340
|
})
|
|
341
341
|
})), s;
|
|
342
342
|
}
|
|
343
|
-
}), null),
|
|
344
|
-
var e = w.panel,
|
|
345
|
-
return e !== s.e &&
|
|
343
|
+
}), null), I((s) => {
|
|
344
|
+
var e = w.panel, m = `${n.anchor.left}px`, a = `${n.anchor.top}px`, U = `calc(100vh - ${n.anchor.top + rt}px)`;
|
|
345
|
+
return e !== s.e && $(i, s.e = e), m !== s.t && ne(i, "left", s.t = m), a !== s.a && ne(i, "top", s.a = a), U !== s.o && ne(i, "max-height", s.o = U), s;
|
|
346
346
|
}, {
|
|
347
347
|
e: void 0,
|
|
348
348
|
t: void 0,
|
|
349
349
|
a: void 0,
|
|
350
350
|
o: void 0
|
|
351
351
|
}), i;
|
|
352
|
-
})(),
|
|
352
|
+
})(), v(T, {
|
|
353
353
|
get when() {
|
|
354
|
-
return
|
|
354
|
+
return N();
|
|
355
355
|
},
|
|
356
356
|
get children() {
|
|
357
357
|
return (() => {
|
|
358
|
-
const i =
|
|
358
|
+
const i = N();
|
|
359
359
|
return i ? [(() => {
|
|
360
360
|
var s = de();
|
|
361
361
|
return s.$$contextmenu = (e) => {
|
|
362
|
-
e.preventDefault(),
|
|
362
|
+
e.preventDefault(), V();
|
|
363
363
|
}, s.$$keydown = (e) => {
|
|
364
|
-
F(e, "Escape") && (e.stopPropagation(),
|
|
364
|
+
F(e, "Escape") && (e.stopPropagation(), V());
|
|
365
365
|
}, s.$$click = (e) => {
|
|
366
|
-
e.stopPropagation(),
|
|
367
|
-
},
|
|
366
|
+
e.stopPropagation(), V();
|
|
367
|
+
}, I(() => $(s, w.favoriteBackdrop)), s;
|
|
368
368
|
})(), (() => {
|
|
369
369
|
var s = ue();
|
|
370
370
|
return ie((e) => {
|
|
371
371
|
e && (e.style.setProperty("--favorite-popover-left", `${i.left}px`), e.style.setProperty("--favorite-popover-top", `${i.top}px`));
|
|
372
|
-
}, s),
|
|
372
|
+
}, s), _(s, v(q, {
|
|
373
373
|
type: "button",
|
|
374
374
|
get class() {
|
|
375
375
|
return w.row;
|
|
@@ -378,23 +378,23 @@ function ve(n) {
|
|
|
378
378
|
onClick: E,
|
|
379
379
|
get children() {
|
|
380
380
|
var e = re();
|
|
381
|
-
return
|
|
382
|
-
var
|
|
383
|
-
return () =>
|
|
384
|
-
})()),
|
|
381
|
+
return _(e, (() => {
|
|
382
|
+
var m = O(() => !!i.isPinned);
|
|
383
|
+
return () => m() ? W("Unpin from Favorites") : W("Pin to Favorites");
|
|
384
|
+
})()), I(() => $(e, w.label)), e;
|
|
385
385
|
}
|
|
386
|
-
})),
|
|
386
|
+
})), I(() => $(s, w.favoritePopover)), s;
|
|
387
387
|
})()] : null;
|
|
388
388
|
})();
|
|
389
389
|
}
|
|
390
|
-
}),
|
|
390
|
+
}), v(T, {
|
|
391
391
|
get when() {
|
|
392
392
|
return O(() => !!ae())() && u();
|
|
393
393
|
},
|
|
394
394
|
get children() {
|
|
395
395
|
return (() => {
|
|
396
396
|
const i = ae(), s = u();
|
|
397
|
-
return !i || !s ? null :
|
|
397
|
+
return !i || !s ? null : v(ve, {
|
|
398
398
|
get items() {
|
|
399
399
|
return i.items;
|
|
400
400
|
},
|
|
@@ -410,7 +410,7 @@ function ve(n) {
|
|
|
410
410
|
},
|
|
411
411
|
onPanelMouseLeave: () => {
|
|
412
412
|
var e;
|
|
413
|
-
|
|
413
|
+
g(), (e = n.onPanelMouseLeave) == null || e.call(n);
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
416
|
})();
|
|
@@ -461,18 +461,18 @@ function at(n) {
|
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
|
-
var ct = /* @__PURE__ */
|
|
464
|
+
var ct = /* @__PURE__ */ M("<u>"), ut = /* @__PURE__ */ M("<div role=menubar>");
|
|
465
465
|
function Dt(n) {
|
|
466
|
-
const [r, l] =
|
|
466
|
+
const [r, l] = D(null), [f, u] = D(!1);
|
|
467
467
|
let d;
|
|
468
|
-
const
|
|
469
|
-
const o =
|
|
468
|
+
const k = /* @__PURE__ */ new Map(), p = at((t) => d !== void 0 && d.contains(t)), b = R(() => n.groups.filter((t) => t.items.some((o) => o.kind !== "separator"))), x = (t) => (t.mnemonic ?? t.label.charAt(0)).toLowerCase(), N = (t) => {
|
|
469
|
+
const o = x(t), c = t.label.toLowerCase().indexOf(o);
|
|
470
470
|
return c < 0 ? O(() => t.label) : [O(() => t.label.slice(0, c)), (() => {
|
|
471
|
-
var
|
|
472
|
-
return
|
|
471
|
+
var g = ct();
|
|
472
|
+
return _(g, () => t.label.charAt(c)), I(() => $(g, w.mnemonic)), g;
|
|
473
473
|
})(), O(() => t.label.slice(c + 1))];
|
|
474
|
-
},
|
|
475
|
-
const o =
|
|
474
|
+
}, H = (t) => {
|
|
475
|
+
const o = k.get(t);
|
|
476
476
|
if (!o) return null;
|
|
477
477
|
const c = o.getBoundingClientRect();
|
|
478
478
|
return {
|
|
@@ -480,54 +480,54 @@ function Dt(n) {
|
|
|
480
480
|
left: Math.round(c.left),
|
|
481
481
|
top: Math.round(c.bottom)
|
|
482
482
|
};
|
|
483
|
-
},
|
|
484
|
-
const o =
|
|
483
|
+
}, h = (t) => {
|
|
484
|
+
const o = H(t);
|
|
485
485
|
o && l(o);
|
|
486
|
-
},
|
|
486
|
+
}, C = () => {
|
|
487
487
|
var o, c;
|
|
488
488
|
const t = ((o = r()) == null ? void 0 : o.groupId) ?? null;
|
|
489
|
-
l(null),
|
|
490
|
-
},
|
|
489
|
+
l(null), p.restore() || lt(t, k), (c = n.onClose) == null || c.call(n);
|
|
490
|
+
}, G = (t) => {
|
|
491
491
|
const o = r();
|
|
492
492
|
if ((o == null ? void 0 : o.groupId) === t) {
|
|
493
|
-
|
|
493
|
+
C();
|
|
494
494
|
return;
|
|
495
495
|
}
|
|
496
|
-
|
|
497
|
-
},
|
|
496
|
+
h(t);
|
|
497
|
+
}, Q = (t) => {
|
|
498
498
|
var o;
|
|
499
|
-
r() && ((o = r()) == null ? void 0 : o.groupId) !== t &&
|
|
499
|
+
r() && ((o = r()) == null ? void 0 : o.groupId) !== t && h(t);
|
|
500
500
|
}, B = (t) => {
|
|
501
501
|
if (!r()) return;
|
|
502
502
|
const o = t.target;
|
|
503
|
-
o && (d != null && d.contains(o) || o instanceof HTMLElement && o.closest('[role="menu"]') ||
|
|
504
|
-
},
|
|
503
|
+
o && (d != null && d.contains(o) || o instanceof HTMLElement && o.closest('[role="menu"]') || C());
|
|
504
|
+
}, X = (t) => {
|
|
505
505
|
var o;
|
|
506
506
|
if (!t.defaultPrevented && t.altKey && !t.ctrlKey && !t.metaKey && !t.shiftKey && t.key.length === 1) {
|
|
507
507
|
const c = t.target;
|
|
508
508
|
if (!(c instanceof HTMLElement && (c.tagName === "INPUT" || c.tagName === "TEXTAREA" || c.tagName === "SELECT" || c.isContentEditable))) {
|
|
509
|
-
const
|
|
510
|
-
if (
|
|
509
|
+
const y = t.key.toLowerCase(), A = b().filter((E) => x(E) === y);
|
|
510
|
+
if (A.length > 0) {
|
|
511
511
|
t.preventDefault();
|
|
512
|
-
const E = (o = r()) == null ? void 0 : o.groupId,
|
|
513
|
-
j &&
|
|
512
|
+
const E = (o = r()) == null ? void 0 : o.groupId, V = A.findIndex((te) => te.id === E), j = A[(V + 1) % A.length];
|
|
513
|
+
j && h(j.id);
|
|
514
514
|
return;
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
if (r()) {
|
|
519
519
|
if (F(t, "Escape")) {
|
|
520
|
-
t.preventDefault(),
|
|
520
|
+
t.preventDefault(), C();
|
|
521
521
|
return;
|
|
522
522
|
}
|
|
523
523
|
if (F(t, "ArrowLeft") || F(t, "ArrowRight")) {
|
|
524
|
-
const c =
|
|
524
|
+
const c = b(), g = c.findIndex((A) => {
|
|
525
525
|
var E;
|
|
526
|
-
return
|
|
526
|
+
return A.id === ((E = r()) == null ? void 0 : E.groupId);
|
|
527
527
|
});
|
|
528
|
-
if (
|
|
529
|
-
const
|
|
530
|
-
|
|
528
|
+
if (g === -1) return;
|
|
529
|
+
const y = F(t, "ArrowRight") ? (g + 1) % c.length : (g - 1 + c.length) % c.length, S = c[y];
|
|
530
|
+
S && (t.preventDefault(), h(S.id));
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}, ee = (t) => {
|
|
@@ -535,49 +535,49 @@ function Dt(n) {
|
|
|
535
535
|
}, Y = (t) => {
|
|
536
536
|
t.altKey || u(!1);
|
|
537
537
|
};
|
|
538
|
-
let
|
|
538
|
+
let P = null;
|
|
539
539
|
se(() => {
|
|
540
540
|
const t = Le(d);
|
|
541
|
-
if (
|
|
542
|
-
const o =
|
|
543
|
-
o && queueMicrotask(() =>
|
|
541
|
+
if (P = t, t.addEventListener("pointerdown", B), t.addEventListener("keydown", X), t.addEventListener("keydown", ee), t.addEventListener("keyup", Y), n.autoOpenFirst) {
|
|
542
|
+
const o = b()[0];
|
|
543
|
+
o && queueMicrotask(() => h(o.id));
|
|
544
544
|
}
|
|
545
545
|
}), le(() => {
|
|
546
|
-
const t =
|
|
547
|
-
t && (t.removeEventListener("pointerdown", B), t.removeEventListener("keydown",
|
|
546
|
+
const t = P;
|
|
547
|
+
t && (t.removeEventListener("pointerdown", B), t.removeEventListener("keydown", X), t.removeEventListener("keydown", ee), t.removeEventListener("keyup", Y), P = null), u(!1);
|
|
548
548
|
});
|
|
549
|
-
const z =
|
|
549
|
+
const z = R(() => {
|
|
550
550
|
const t = r();
|
|
551
|
-
return t ?
|
|
552
|
-
}),
|
|
553
|
-
const t = [], o = (c,
|
|
554
|
-
for (const
|
|
555
|
-
if (
|
|
556
|
-
if (
|
|
557
|
-
const E =
|
|
558
|
-
o(E.items,
|
|
551
|
+
return t ? b().find((o) => o.id === t.groupId) ?? null : null;
|
|
552
|
+
}), K = () => {
|
|
553
|
+
const t = [], o = (c, g) => {
|
|
554
|
+
for (const y of c) {
|
|
555
|
+
if (y.kind === "separator") continue;
|
|
556
|
+
if (y.kind === "submenu") {
|
|
557
|
+
const E = y, V = g ? `${g} → ${E.label}` : E.label;
|
|
558
|
+
o(E.items, V);
|
|
559
559
|
continue;
|
|
560
560
|
}
|
|
561
|
-
const
|
|
562
|
-
...
|
|
563
|
-
label:
|
|
561
|
+
const S = y, A = {
|
|
562
|
+
...S,
|
|
563
|
+
label: g ? `${g} → ${S.label}` : S.label
|
|
564
564
|
};
|
|
565
|
-
t.push(
|
|
565
|
+
t.push(A);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
|
-
for (const c of
|
|
568
|
+
for (const c of b())
|
|
569
569
|
o(c.items, c.label);
|
|
570
570
|
return t;
|
|
571
571
|
};
|
|
572
572
|
return [(() => {
|
|
573
573
|
var t = ut();
|
|
574
|
-
return t.$$focusout = (o) =>
|
|
574
|
+
return t.$$focusout = (o) => p.forget(o.relatedTarget), t.$$focusin = (o) => p.remember(o.relatedTarget), ie((o) => d = o, t), _(t, v(he, {
|
|
575
575
|
get each() {
|
|
576
|
-
return
|
|
576
|
+
return b();
|
|
577
577
|
},
|
|
578
|
-
children: (o) =>
|
|
578
|
+
children: (o) => v(q, {
|
|
579
579
|
ref: (c) => {
|
|
580
|
-
c ?
|
|
580
|
+
c ? k.set(o.id, c) : k.delete(o.id);
|
|
581
581
|
},
|
|
582
582
|
type: "button",
|
|
583
583
|
get class() {
|
|
@@ -591,22 +591,22 @@ function Dt(n) {
|
|
|
591
591
|
return ((c = r()) == null ? void 0 : c.groupId) === o.id;
|
|
592
592
|
},
|
|
593
593
|
get "aria-keyshortcuts"() {
|
|
594
|
-
return `Alt+${
|
|
594
|
+
return `Alt+${x(o)}`;
|
|
595
595
|
},
|
|
596
|
-
onClick: () =>
|
|
597
|
-
onMouseEnter: () =>
|
|
596
|
+
onClick: () => G(o.id),
|
|
597
|
+
onMouseEnter: () => Q(o.id),
|
|
598
598
|
get children() {
|
|
599
|
-
return
|
|
599
|
+
return N(o);
|
|
600
600
|
}
|
|
601
601
|
})
|
|
602
|
-
})),
|
|
603
|
-
var c = `${w.bar} ${n.class ?? ""}`,
|
|
604
|
-
return c !== o.e &&
|
|
602
|
+
})), I((o) => {
|
|
603
|
+
var c = `${w.bar} ${n.class ?? ""}`, g = f() ? "true" : void 0;
|
|
604
|
+
return c !== o.e && $(t, o.e = c), g !== o.t && ke(t, "data-show-mnemonics", o.t = g), o;
|
|
605
605
|
}, {
|
|
606
606
|
e: void 0,
|
|
607
607
|
t: void 0
|
|
608
608
|
}), t;
|
|
609
|
-
})(),
|
|
609
|
+
})(), v(T, {
|
|
610
610
|
get when() {
|
|
611
611
|
return O(() => !!z())() && r();
|
|
612
612
|
},
|
|
@@ -615,7 +615,7 @@ function Dt(n) {
|
|
|
615
615
|
const t = z(), o = r();
|
|
616
616
|
if (!t || !o) return null;
|
|
617
617
|
const c = t.searchScope ?? "none";
|
|
618
|
-
return
|
|
618
|
+
return v(ve, pe({
|
|
619
619
|
get items() {
|
|
620
620
|
return t.items;
|
|
621
621
|
},
|
|
@@ -625,10 +625,10 @@ function Dt(n) {
|
|
|
625
625
|
top: o.top
|
|
626
626
|
};
|
|
627
627
|
},
|
|
628
|
-
onClose:
|
|
628
|
+
onClose: C,
|
|
629
629
|
searchScope: c
|
|
630
630
|
}, c === "global" ? {
|
|
631
|
-
globalEntries:
|
|
631
|
+
globalEntries: K
|
|
632
632
|
} : {}));
|
|
633
633
|
})();
|
|
634
634
|
}
|
|
@@ -640,67 +640,68 @@ const dt = "vk_windowControls_UUBWX", ft = "vk_windowControlButton_ohJen", ht =
|
|
|
640
640
|
windowControlButton: ft,
|
|
641
641
|
windowControlClose: ht
|
|
642
642
|
};
|
|
643
|
-
var mt = /* @__PURE__ */
|
|
643
|
+
var mt = /* @__PURE__ */ M('<svg width=10 height=1 viewBox="0 0 10 1"><rect width=10 height=1 fill=currentColor>'), vt = /* @__PURE__ */ M('<svg width=10 height=10 viewBox="0 0 10 10"><path d="M0 2a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2H2a2 2 0 01-2-2V2zm1 0v6a1 1 0 001 1h6a1 1 0 001-1V2a1 1 0 00-1-1H2a1 1 0 00-1 1z"fill=currentColor>'), wt = /* @__PURE__ */ M('<svg width=10 height=10 viewBox="0 0 10 10"><path d="M1.293.293a1 1 0 011.414 0L5 2.586 7.293.293a1 1 0 111.414 1.414L6.414 4l2.293 2.293a1 1 0 01-1.414 1.414L5 5.414 2.707 7.707a1 1 0 01-1.414-1.414L3.586 4 1.293 1.707a1 1 0 010-1.414z"fill=currentColor>'), gt = /* @__PURE__ */ M("<div>"), bt = /* @__PURE__ */ M('<svg width=10 height=10 viewBox="0 0 10 10"><path d="M4 0h4a2 2 0 012 2v4a2 2 0 01-2 2h-1v-1h1a1 1 0 001-1V2a1 1 0 00-1-1H4a1 1 0 00-1 1v1H2V2a2 2 0 012-2z"fill=currentColor></path><path d="M0 4a2 2 0 012-2h4a2 2 0 012 2v4a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm1 0v4a1 1 0 001 1h4a1 1 0 001-1V4a1 1 0 00-1-1H2a1 1 0 00-1 1z"fill=currentColor>');
|
|
644
644
|
function kt(n) {
|
|
645
645
|
var l;
|
|
646
646
|
const r = ((l = n.navigator) == null ? void 0 : l.userAgent) ?? "";
|
|
647
647
|
return /Mac OS X|Macintosh/i.test(r) ? "darwin" : /Windows/i.test(r) ? "win32" : "linux";
|
|
648
648
|
}
|
|
649
649
|
function Rt(n = {}) {
|
|
650
|
-
const r = Ce(), [
|
|
651
|
-
var
|
|
652
|
-
|
|
650
|
+
const r = R(() => n.isMaximized), l = R(() => n.beforeClose), f = Ce(), [u, d] = D(!1), p = (n.platform ?? kt(f.window)) === "darwin", b = async () => {
|
|
651
|
+
var h;
|
|
652
|
+
d(await ((h = r()) == null ? void 0 : h()) ?? !1);
|
|
653
653
|
};
|
|
654
654
|
se(() => {
|
|
655
|
-
|
|
655
|
+
b(), f.window.addEventListener("resize", b);
|
|
656
656
|
}), le(() => {
|
|
657
|
-
|
|
657
|
+
f.window.removeEventListener("resize", b);
|
|
658
658
|
});
|
|
659
|
-
const
|
|
660
|
-
var
|
|
661
|
-
return void ((
|
|
662
|
-
},
|
|
663
|
-
var
|
|
664
|
-
await ((
|
|
665
|
-
},
|
|
666
|
-
var
|
|
667
|
-
|
|
659
|
+
const x = () => {
|
|
660
|
+
var h;
|
|
661
|
+
return void ((h = n.onMinimize) == null ? void 0 : h.call(n));
|
|
662
|
+
}, N = async () => {
|
|
663
|
+
var h;
|
|
664
|
+
await ((h = n.onToggleMaximize) == null ? void 0 : h.call(n)), await b();
|
|
665
|
+
}, H = () => {
|
|
666
|
+
var C;
|
|
667
|
+
const h = l();
|
|
668
|
+
h && !h() || (C = n.onClose) == null || C.call(n);
|
|
668
669
|
};
|
|
669
|
-
return
|
|
670
|
-
when: !
|
|
670
|
+
return v(T, {
|
|
671
|
+
when: !p,
|
|
671
672
|
get children() {
|
|
672
|
-
var
|
|
673
|
-
return
|
|
673
|
+
var h = gt();
|
|
674
|
+
return _(h, v(q, {
|
|
674
675
|
type: "button",
|
|
675
676
|
get class() {
|
|
676
677
|
return Z.windowControlButton;
|
|
677
678
|
},
|
|
678
|
-
onClick:
|
|
679
|
+
onClick: x,
|
|
679
680
|
get "aria-label"() {
|
|
680
|
-
return
|
|
681
|
+
return W("Minimize");
|
|
681
682
|
},
|
|
682
683
|
get title() {
|
|
683
|
-
return
|
|
684
|
+
return W("Minimize");
|
|
684
685
|
},
|
|
685
686
|
get children() {
|
|
686
687
|
return mt();
|
|
687
688
|
}
|
|
688
|
-
}), null),
|
|
689
|
+
}), null), _(h, v(q, {
|
|
689
690
|
type: "button",
|
|
690
691
|
get class() {
|
|
691
692
|
return Z.windowControlButton;
|
|
692
693
|
},
|
|
693
|
-
onClick:
|
|
694
|
+
onClick: N,
|
|
694
695
|
get "aria-label"() {
|
|
695
|
-
return O(() => !!
|
|
696
|
+
return O(() => !!u())() ? W("Restore") : W("Maximize");
|
|
696
697
|
},
|
|
697
698
|
get title() {
|
|
698
|
-
return O(() => !!
|
|
699
|
+
return O(() => !!u())() ? W("Restore") : W("Maximize");
|
|
699
700
|
},
|
|
700
701
|
get children() {
|
|
701
|
-
return
|
|
702
|
+
return v(T, {
|
|
702
703
|
get when() {
|
|
703
|
-
return !
|
|
704
|
+
return !u();
|
|
704
705
|
},
|
|
705
706
|
get fallback() {
|
|
706
707
|
return bt();
|
|
@@ -710,22 +711,22 @@ function Rt(n = {}) {
|
|
|
710
711
|
}
|
|
711
712
|
});
|
|
712
713
|
}
|
|
713
|
-
}), null),
|
|
714
|
+
}), null), _(h, v(q, {
|
|
714
715
|
type: "button",
|
|
715
716
|
get class() {
|
|
716
717
|
return `${Z.windowControlButton} ${Z.windowControlClose}`;
|
|
717
718
|
},
|
|
718
|
-
onClick:
|
|
719
|
+
onClick: H,
|
|
719
720
|
get "aria-label"() {
|
|
720
|
-
return
|
|
721
|
+
return W("Close");
|
|
721
722
|
},
|
|
722
723
|
get title() {
|
|
723
|
-
return
|
|
724
|
+
return W("Close");
|
|
724
725
|
},
|
|
725
726
|
get children() {
|
|
726
727
|
return wt();
|
|
727
728
|
}
|
|
728
|
-
}), null),
|
|
729
|
+
}), null), I(() => $(h, Z.windowControls)), h;
|
|
729
730
|
}
|
|
730
731
|
});
|
|
731
732
|
}
|
|
@@ -737,17 +738,17 @@ const Ft = {
|
|
|
737
738
|
};
|
|
738
739
|
class Ot {
|
|
739
740
|
constructor(r, l) {
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
741
|
+
L(this, "hosts", []);
|
|
742
|
+
L(this, "ownerWindow");
|
|
743
|
+
L(this, "setOwnerWindow");
|
|
744
|
+
L(this, "nativeIds", /* @__PURE__ */ new WeakMap());
|
|
745
|
+
L(this, "focusSubscription");
|
|
746
|
+
L(this, "pendingRefresh");
|
|
747
|
+
L(this, "focusedNativeWindowId", null);
|
|
748
|
+
L(this, "mainNativeWindowId", 0);
|
|
749
|
+
L(this, "nativeFocusRevision", 0);
|
|
749
750
|
this.source = r, this.log = l;
|
|
750
|
-
const [f, u] =
|
|
751
|
+
const [f, u] = D(null);
|
|
751
752
|
this.ownerWindow = f, this.setOwnerWindow = u, this.focusSubscription = r.onFocusChanged((d) => {
|
|
752
753
|
d.revision < this.nativeFocusRevision || (this.nativeFocusRevision = d.revision, this.focusedNativeWindowId = d.focusedWindowId, this.scheduleRefresh());
|
|
753
754
|
}), r.getFocusState().then(
|