@acronis-platform/ui-react 3.0.0 → 4.1.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/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/components/ui/accordion/accordion.js +40 -53
- package/dist/components/ui/accordion/accordion.js.map +1 -1
- package/dist/components/ui/accordion-container/accordion-container.js +93 -141
- package/dist/components/ui/accordion-container/accordion-container.js.map +1 -1
- package/dist/components/ui/alert/alert.js +95 -156
- package/dist/components/ui/alert/alert.js.map +1 -1
- package/dist/components/ui/app-shell-chat/app-shell-chat.js +233 -332
- package/dist/components/ui/app-shell-chat/app-shell-chat.js.map +1 -1
- package/dist/components/ui/area-chart/area-chart.js +155 -238
- package/dist/components/ui/area-chart/area-chart.js.map +1 -1
- package/dist/components/ui/avatar/avatar.js +47 -84
- package/dist/components/ui/avatar/avatar.js.map +1 -1
- package/dist/components/ui/bar-chart/bar-chart.js +405 -613
- package/dist/components/ui/bar-chart/bar-chart.js.map +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb.js +68 -116
- package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/ui/button/button.js +31 -40
- package/dist/components/ui/button/button.js.map +1 -1
- package/dist/components/ui/button-group/button-group.js +33 -55
- package/dist/components/ui/button-group/button-group.js.map +1 -1
- package/dist/components/ui/button-icon/button-icon.js +26 -35
- package/dist/components/ui/button-icon/button-icon.js.map +1 -1
- package/dist/components/ui/button-icon-input/button-icon-input.js +28 -35
- package/dist/components/ui/button-icon-input/button-icon-input.js.map +1 -1
- package/dist/components/ui/button-icon-menu/button-icon-menu.js +22 -26
- package/dist/components/ui/button-icon-menu/button-icon-menu.js.map +1 -1
- package/dist/components/ui/button-menu/button-menu.js +36 -52
- package/dist/components/ui/button-menu/button-menu.js.map +1 -1
- package/dist/components/ui/calendar/calendar.js +103 -202
- package/dist/components/ui/calendar/calendar.js.map +1 -1
- package/dist/components/ui/calendar-panel/calendar-panel-utils.js +46 -57
- package/dist/components/ui/calendar-panel/calendar-panel-utils.js.map +1 -1
- package/dist/components/ui/calendar-panel/calendar-panel.js +136 -257
- package/dist/components/ui/calendar-panel/calendar-panel.js.map +1 -1
- package/dist/components/ui/card/card.js +104 -168
- package/dist/components/ui/card/card.js.map +1 -1
- package/dist/components/ui/card-filter/card-filter.js +49 -76
- package/dist/components/ui/card-filter/card-filter.js.map +1 -1
- package/dist/components/ui/card-section/card-section.js +81 -111
- package/dist/components/ui/card-section/card-section.js.map +1 -1
- package/dist/components/ui/carousel-dialog/carousel-dialog.js +49 -87
- package/dist/components/ui/carousel-dialog/carousel-dialog.js.map +1 -1
- package/dist/components/ui/category-bar/category-bar.js +122 -145
- package/dist/components/ui/category-bar/category-bar.js.map +1 -1
- package/dist/components/ui/chart/chart-format.js +117 -153
- package/dist/components/ui/chart/chart-format.js.map +1 -1
- package/dist/components/ui/chart/chart-palette.js +69 -0
- package/dist/components/ui/chart/chart-palette.js.map +1 -0
- package/dist/components/ui/chart/chart.js +178 -259
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/chart-state/chart-state-illustrations.js +412 -0
- package/dist/components/ui/chart-state/chart-state-illustrations.js.map +1 -0
- package/dist/components/ui/chart-state/chart-state.js +40 -42
- package/dist/components/ui/chart-state/chart-state.js.map +1 -1
- package/dist/components/ui/chart-widget/chart-widget.js +40 -0
- package/dist/components/ui/chart-widget/chart-widget.js.map +1 -0
- package/dist/components/ui/checkbox/checkbox.js +56 -69
- package/dist/components/ui/checkbox/checkbox.js.map +1 -1
- package/dist/components/ui/chip/chip.js +51 -70
- package/dist/components/ui/chip/chip.js.map +1 -1
- package/dist/components/ui/combobox/combobox.js +88 -151
- package/dist/components/ui/combobox/combobox.js.map +1 -1
- package/dist/components/ui/composed-chart/composed-chart.js +297 -432
- package/dist/components/ui/composed-chart/composed-chart.js.map +1 -1
- package/dist/components/ui/confidence-cone/confidence-cone.js +214 -324
- package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -1
- package/dist/components/ui/data-table/data-table-bulk-actions-bar.js +32 -37
- package/dist/components/ui/data-table/data-table-bulk-actions-bar.js.map +1 -1
- package/dist/components/ui/data-table/data-table-column-header.js +23 -38
- package/dist/components/ui/data-table/data-table-column-header.js.map +1 -1
- package/dist/components/ui/data-table/data-table-expand-trigger.js +23 -46
- package/dist/components/ui/data-table/data-table-expand-trigger.js.map +1 -1
- package/dist/components/ui/data-table/data-table-pagination.js +84 -89
- package/dist/components/ui/data-table/data-table-pagination.js.map +1 -1
- package/dist/components/ui/data-table/data-table-selection.js +7 -6
- package/dist/components/ui/data-table/data-table-selection.js.map +1 -1
- package/dist/components/ui/data-table/data-table-toolbar.js +51 -76
- package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -1
- package/dist/components/ui/data-table/data-table-view-options.js +21 -28
- package/dist/components/ui/data-table/data-table-view-options.js.map +1 -1
- package/dist/components/ui/data-table/data-table.js +304 -438
- package/dist/components/ui/data-table/data-table.js.map +1 -1
- package/dist/components/ui/date-range-picker/date-range-picker-utils.js +16 -14
- package/dist/components/ui/date-range-picker/date-range-picker-utils.js.map +1 -1
- package/dist/components/ui/date-range-picker/date-range-picker.js +77 -111
- package/dist/components/ui/date-range-picker/date-range-picker.js.map +1 -1
- package/dist/components/ui/description-list/description-list.js +44 -54
- package/dist/components/ui/description-list/description-list.js.map +1 -1
- package/dist/components/ui/dialog/dialog.js +229 -310
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js +33 -57
- package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js.map +1 -1
- package/dist/components/ui/dialog-footer-default/dialog-footer-default.js +21 -26
- package/dist/components/ui/dialog-footer-default/dialog-footer-default.js.map +1 -1
- package/dist/components/ui/dialog-welcome/dialog-welcome.js +221 -267
- package/dist/components/ui/dialog-welcome/dialog-welcome.js.map +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +101 -168
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/ui/empty/empty.js +49 -77
- package/dist/components/ui/empty/empty.js.map +1 -1
- package/dist/components/ui/empty-overlay/empty-overlay.js +43 -49
- package/dist/components/ui/empty-overlay/empty-overlay.js.map +1 -1
- package/dist/components/ui/field/field.js +95 -178
- package/dist/components/ui/field/field.js.map +1 -1
- package/dist/components/ui/filter-cards/filter-cards.js +16 -25
- package/dist/components/ui/filter-cards/filter-cards.js.map +1 -1
- package/dist/components/ui/filter-chips/filter-chips.js +36 -44
- package/dist/components/ui/filter-chips/filter-chips.js.map +1 -1
- package/dist/components/ui/filter-search/filter-search.js +139 -209
- package/dist/components/ui/filter-search/filter-search.js.map +1 -1
- package/dist/components/ui/fitted-actions/fitted-actions.js +87 -137
- package/dist/components/ui/fitted-actions/fitted-actions.js.map +1 -1
- package/dist/components/ui/form/form.js +14 -15
- package/dist/components/ui/form/form.js.map +1 -1
- package/dist/components/ui/funnel-chart/funnel-chart.js +190 -273
- package/dist/components/ui/funnel-chart/funnel-chart.js.map +1 -1
- package/dist/components/ui/grid/grid.js +61 -68
- package/dist/components/ui/grid/grid.js.map +1 -1
- package/dist/components/ui/histogram/histogram.js +107 -139
- package/dist/components/ui/histogram/histogram.js.map +1 -1
- package/dist/components/ui/input/input.js +14 -21
- package/dist/components/ui/input/input.js.map +1 -1
- package/dist/components/ui/input-date-picker/input-date-picker.js +70 -114
- package/dist/components/ui/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/components/ui/input-num-picker/input-num-picker.js +48 -0
- package/dist/components/ui/input-num-picker/input-num-picker.js.map +1 -0
- package/dist/components/ui/input-otp/input-otp.js +75 -104
- package/dist/components/ui/input-otp/input-otp.js.map +1 -1
- package/dist/components/ui/input-password/input-password.js +71 -126
- package/dist/components/ui/input-password/input-password.js.map +1 -1
- package/dist/components/ui/input-search/input-search.js +32 -56
- package/dist/components/ui/input-search/input-search.js.map +1 -1
- package/dist/components/ui/input-select/input-select.js +225 -335
- package/dist/components/ui/input-select/input-select.js.map +1 -1
- package/dist/components/ui/input-text/input-text.js +54 -98
- package/dist/components/ui/input-text/input-text.js.map +1 -1
- package/dist/components/ui/input-text-area/input-text-area.js +41 -86
- package/dist/components/ui/input-text-area/input-text-area.js.map +1 -1
- package/dist/components/ui/label/label.js +6 -12
- package/dist/components/ui/label/label.js.map +1 -1
- package/dist/components/ui/line-chart/line-chart.js +175 -275
- package/dist/components/ui/line-chart/line-chart.js.map +1 -1
- package/dist/components/ui/link/link.js +34 -54
- package/dist/components/ui/link/link.js.map +1 -1
- package/dist/components/ui/loading/loading.js +51 -78
- package/dist/components/ui/loading/loading.js.map +1 -1
- package/dist/components/ui/meter/meter.js +79 -93
- package/dist/components/ui/meter/meter.js.map +1 -1
- package/dist/components/ui/metric/metric.js +83 -200
- package/dist/components/ui/metric/metric.js.map +1 -1
- package/dist/components/ui/number-field/number-field.js +36 -60
- package/dist/components/ui/number-field/number-field.js.map +1 -1
- package/dist/components/ui/page-content/page-content.js +15 -19
- package/dist/components/ui/page-content/page-content.js.map +1 -1
- package/dist/components/ui/page-header/page-header.js +120 -181
- package/dist/components/ui/page-header/page-header.js.map +1 -1
- package/dist/components/ui/pagination/pagination.js +58 -86
- package/dist/components/ui/pagination/pagination.js.map +1 -1
- package/dist/components/ui/pie-chart/pie-chart.js +189 -262
- package/dist/components/ui/pie-chart/pie-chart.js.map +1 -1
- package/dist/components/ui/popover/popover.js +51 -96
- package/dist/components/ui/popover/popover.js.map +1 -1
- package/dist/components/ui/progress/progress.js +23 -29
- package/dist/components/ui/progress/progress.js.map +1 -1
- package/dist/components/ui/progress-circle/progress-circle.js +97 -113
- package/dist/components/ui/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/ui/radar-chart/radar-chart.js +127 -223
- package/dist/components/ui/radar-chart/radar-chart.js.map +1 -1
- package/dist/components/ui/radial-bar-chart/radial-bar-chart.js +267 -367
- package/dist/components/ui/radial-bar-chart/radial-bar-chart.js.map +1 -1
- package/dist/components/ui/radio/radio.js +22 -43
- package/dist/components/ui/radio/radio.js.map +1 -1
- package/dist/components/ui/resizable/resizable.js +20 -64
- package/dist/components/ui/resizable/resizable.js.map +1 -1
- package/dist/components/ui/sankey-chart/sankey-chart.js +155 -195
- package/dist/components/ui/sankey-chart/sankey-chart.js.map +1 -1
- package/dist/components/ui/scatter-chart/scatter-chart.js +95 -138
- package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -1
- package/dist/components/ui/scroll-area/scroll-area.js +43 -77
- package/dist/components/ui/scroll-area/scroll-area.js.map +1 -1
- package/dist/components/ui/search/search.js +58 -92
- package/dist/components/ui/search/search.js.map +1 -1
- package/dist/components/ui/section/section.js +125 -37
- package/dist/components/ui/section/section.js.map +1 -1
- package/dist/components/ui/separator/separator.js +16 -22
- package/dist/components/ui/separator/separator.js.map +1 -1
- package/dist/components/ui/sheet/sheet-details.js +55 -78
- package/dist/components/ui/sheet/sheet-details.js.map +1 -1
- package/dist/components/ui/sheet/sheet.js +80 -136
- package/dist/components/ui/sheet/sheet.js.map +1 -1
- package/dist/components/ui/sidebar-primary/sidebar-primary.js +220 -364
- package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +1 -1
- package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +459 -641
- package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +1 -1
- package/dist/components/ui/skeleton/skeleton.js +14 -21
- package/dist/components/ui/skeleton/skeleton.js.map +1 -1
- package/dist/components/ui/slider/slider.js +28 -42
- package/dist/components/ui/slider/slider.js.map +1 -1
- package/dist/components/ui/spinner/spinner.js +28 -37
- package/dist/components/ui/spinner/spinner.js.map +1 -1
- package/dist/components/ui/stack/stack.js +59 -61
- package/dist/components/ui/stack/stack.js.map +1 -1
- package/dist/components/ui/stepper/stepper.js +52 -70
- package/dist/components/ui/stepper/stepper.js.map +1 -1
- package/dist/components/ui/stepper-item/stepper-item.js +85 -97
- package/dist/components/ui/stepper-item/stepper-item.js.map +1 -1
- package/dist/components/ui/switch/switch.js +26 -40
- package/dist/components/ui/switch/switch.js.map +1 -1
- package/dist/components/ui/table/table-pagination.js +91 -106
- package/dist/components/ui/table/table-pagination.js.map +1 -1
- package/dist/components/ui/table/table-view-options.js +37 -53
- package/dist/components/ui/table/table-view-options.js.map +1 -1
- package/dist/components/ui/table/table.js +90 -177
- package/dist/components/ui/table/table.js.map +1 -1
- package/dist/components/ui/tabs/tabs.js +26 -43
- package/dist/components/ui/tabs/tabs.js.map +1 -1
- package/dist/components/ui/tag/tag.js +42 -47
- package/dist/components/ui/tag/tag.js.map +1 -1
- package/dist/components/ui/timeline/timeline.js +161 -239
- package/dist/components/ui/timeline/timeline.js.map +1 -1
- package/dist/components/ui/timer/timer.js +24 -47
- package/dist/components/ui/timer/timer.js.map +1 -1
- package/dist/components/ui/toast/toast.js +134 -189
- package/dist/components/ui/toast/toast.js.map +1 -1
- package/dist/components/ui/toggle-group/toggle-group.js +28 -46
- package/dist/components/ui/toggle-group/toggle-group.js.map +1 -1
- package/dist/components/ui/toolbar/toolbar.js +128 -201
- package/dist/components/ui/toolbar/toolbar.js.map +1 -1
- package/dist/components/ui/tooltip/tooltip.js +35 -57
- package/dist/components/ui/tooltip/tooltip.js.map +1 -1
- package/dist/components/ui/treemap/treemap.js +135 -204
- package/dist/components/ui/treemap/treemap.js.map +1 -1
- package/dist/components/ui/trend-indicator/trend-indicator.js +48 -97
- package/dist/components/ui/trend-indicator/trend-indicator.js.map +1 -1
- package/dist/components/ui/truncate-text/middle-truncate.js +19 -19
- package/dist/components/ui/truncate-text/middle-truncate.js.map +1 -1
- package/dist/components/ui/truncate-text/text-width.js +11 -10
- package/dist/components/ui/truncate-text/text-width.js.map +1 -1
- package/dist/components/ui/truncate-text/truncate-text.js +92 -152
- package/dist/components/ui/truncate-text/truncate-text.js.map +1 -1
- package/dist/components/ui/widget-placeholder/widget-placeholder.js +63 -106
- package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -1
- package/dist/components/ui/wizard/wizard.js +36 -0
- package/dist/components/ui/wizard/wizard.js.map +1 -0
- package/dist/hooks/use-intersection-observer.js +27 -25
- package/dist/hooks/use-intersection-observer.js.map +1 -1
- package/dist/hooks/use-sort-state.js +43 -33
- package/dist/hooks/use-sort-state.js.map +1 -1
- package/dist/hooks/use-table-url-state.js +100 -109
- package/dist/hooks/use-table-url-state.js.map +1 -1
- package/dist/hooks/use-wizard.js +61 -0
- package/dist/hooks/use-wizard.js.map +1 -0
- package/dist/index.js +124 -544
- package/dist/lib/breakpoints.js +8 -13
- package/dist/lib/breakpoints.js.map +1 -1
- package/dist/lib/deep-equal.js +14 -22
- package/dist/lib/deep-equal.js.map +1 -1
- package/dist/lib/portal-container.js +16 -12
- package/dist/lib/portal-container.js.map +1 -1
- package/dist/lib/use-doc-dir.js +11 -10
- package/dist/lib/use-doc-dir.js.map +1 -1
- package/dist/lib/utils.js +8 -7
- package/dist/lib/utils.js.map +1 -1
- package/dist/llms/accordion-container.md +181 -0
- package/dist/llms/accordion.md +124 -0
- package/dist/llms/alert.md +225 -0
- package/dist/llms/app-shell-chat.md +415 -0
- package/dist/llms/area-chart.md +355 -0
- package/dist/llms/avatar.md +208 -0
- package/dist/llms/bar-chart.md +406 -0
- package/dist/llms/breadcrumb.md +326 -0
- package/dist/llms/button-group.md +298 -0
- package/dist/llms/button-icon-input.md +142 -0
- package/dist/llms/button-icon-menu.md +209 -0
- package/dist/llms/button-icon.md +128 -0
- package/dist/llms/button-menu.md +172 -0
- package/dist/llms/button.md +185 -0
- package/dist/llms/calendar-panel.md +733 -0
- package/dist/llms/calendar.md +188 -0
- package/dist/llms/card-filter.md +214 -0
- package/dist/llms/card-section.md +293 -0
- package/dist/llms/card.md +447 -0
- package/dist/llms/carousel-dialog.md +156 -0
- package/dist/llms/category-bar.md +193 -0
- package/dist/llms/chart-state.md +190 -0
- package/dist/llms/chart-widget.md +209 -0
- package/dist/llms/chart.md +182 -0
- package/dist/llms/checkbox.md +257 -0
- package/dist/llms/chip.md +195 -0
- package/dist/llms/combobox.md +164 -0
- package/dist/llms/composed-chart.md +508 -0
- package/dist/llms/confidence-cone.md +277 -0
- package/dist/llms/data-table.md +474 -0
- package/dist/llms/date-range-picker.md +272 -0
- package/dist/llms/description-list.md +131 -0
- package/dist/llms/dialog-footer-carousel.md +147 -0
- package/dist/llms/dialog-footer-default.md +142 -0
- package/dist/llms/dialog-root.md +246 -0
- package/dist/llms/dialog-welcome.md +223 -0
- package/dist/llms/dialog.md +403 -0
- package/dist/llms/dropdown-menu.md +193 -0
- package/dist/llms/empty-overlay.md +146 -0
- package/dist/llms/empty.md +156 -0
- package/dist/llms/field.md +185 -0
- package/dist/llms/filter-cards.md +157 -0
- package/dist/llms/filter-chips.md +323 -0
- package/dist/llms/filter-search.md +512 -0
- package/dist/llms/form.md +154 -0
- package/dist/llms/funnel-chart.md +333 -0
- package/dist/llms/grid.md +80 -0
- package/dist/llms/histogram.md +190 -0
- package/dist/llms/input-date-picker.md +203 -0
- package/dist/llms/input-num-picker.md +180 -0
- package/dist/llms/input-otp.md +173 -0
- package/dist/llms/input-password.md +197 -0
- package/dist/llms/input-search.md +170 -0
- package/dist/llms/input-select.md +278 -0
- package/dist/llms/input-text-area.md +271 -0
- package/dist/llms/input-text.md +192 -0
- package/dist/llms/line-chart.md +369 -0
- package/dist/llms/link.md +209 -0
- package/dist/llms/loading.md +130 -0
- package/dist/llms/meter.md +177 -0
- package/dist/llms/metric.md +204 -0
- package/dist/llms/number-field.md +122 -0
- package/dist/llms/page-content.md +69 -0
- package/dist/llms/page-header.md +182 -0
- package/dist/llms/pagination.md +133 -0
- package/dist/llms/pie-chart.md +307 -0
- package/dist/llms/popover.md +252 -0
- package/dist/llms/progress-circle.md +126 -0
- package/dist/llms/progress.md +111 -0
- package/dist/llms/radar-chart.md +316 -0
- package/dist/llms/radial-bar-chart.md +319 -0
- package/dist/llms/radio.md +255 -0
- package/dist/llms/resizable.md +195 -0
- package/dist/llms/sankey-chart.md +208 -0
- package/dist/llms/scatter-chart.md +239 -0
- package/dist/llms/scroll-area.md +183 -0
- package/dist/llms/section.md +401 -0
- package/dist/llms/select.md +210 -0
- package/dist/llms/separator.md +87 -0
- package/dist/llms/sheet.md +202 -0
- package/dist/llms/sidebar-primary.md +360 -0
- package/dist/llms/sidebar-secondary.md +417 -0
- package/dist/llms/skeleton.md +81 -0
- package/dist/llms/slider.md +97 -0
- package/dist/llms/spinner.md +100 -0
- package/dist/llms/stack.md +80 -0
- package/dist/llms/stepper-item.md +309 -0
- package/dist/llms/stepper.md +251 -0
- package/dist/llms/switch.md +140 -0
- package/dist/llms/table.md +436 -0
- package/dist/llms/tabs.md +197 -0
- package/dist/llms/tag.md +139 -0
- package/dist/llms/timeline.md +361 -0
- package/dist/llms/timer.md +259 -0
- package/dist/llms/toast.md +241 -0
- package/dist/llms/toggle-group.md +121 -0
- package/dist/llms/toolbar.md +453 -0
- package/dist/llms/tooltip.md +164 -0
- package/dist/llms/treemap.md +254 -0
- package/dist/llms/trend-indicator.md +132 -0
- package/dist/llms/widget-placeholder.md +169 -0
- package/dist/llms/wizard.md +412 -0
- package/dist/llms.txt +143 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js +58 -61
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js +71 -85
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js.map +1 -1
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/index.js +6 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tz/index.js +1 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js +11 -11
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js +22 -21
- package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +36 -99
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1478 -1852
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -1
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +34 -35
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +18 -15
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js +7 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js +387 -580
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js +44 -59
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js +39 -52
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +9 -18
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js +9 -11
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js +12 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js +21 -17
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js +10 -9
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js +13 -19
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js +12 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js +12 -15
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js +9 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js +16 -16
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js +16 -16
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js +11 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js +10 -10
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js +59 -57
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js +11 -10
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js +10 -9
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js +12 -11
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js +15 -14
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js +12 -11
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js +16 -16
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js +7 -6
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js +10 -13
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js +9 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js +9 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -9
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -18
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +21 -29
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +19 -15
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -70
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -33
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js +202 -154
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js +125 -110
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js +20 -19
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js +14 -13
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js +14 -13
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js +10 -9
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js +11 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js +11 -10
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js +10 -10
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js +12 -12
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js +9 -8
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js.map +1 -1
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js +8 -7
- package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js.map +1 -1
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +25 -24
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +26 -30
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1016 -1202
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/DayPicker.js +398 -246
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/UI.js +16 -18
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +13 -19
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/DateLib.js +107 -257
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Chevron.js +14 -14
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Day.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DayButton.js +13 -10
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Dropdown.js +30 -19
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Footer.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Month.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Months.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +10 -9
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Nav.js +41 -27
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Option.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Root.js +12 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Select.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Week.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekday.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekdays.js +7 -10
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weeks.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +10 -9
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/custom-components.js +57 -52
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/custom-components.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -5
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/index.js +22 -17
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/index.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +18 -17
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +36 -41
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +10 -9
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +11 -10
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +17 -16
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDates.js +20 -19
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDays.js +11 -10
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +12 -15
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -13
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -15
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +11 -10
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +8 -13
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +35 -35
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getLabels.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +18 -13
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +25 -24
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +8 -11
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -12
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +9 -12
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +9 -12
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +14 -13
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +12 -11
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +19 -16
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/index.js +30 -25
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/index.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -5
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +8 -7
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +7 -6
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/locale/en-US.js +50 -37
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/locale/en-US.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/noonDateLib.js +101 -106
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/noonDateLib.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useMulti.js +20 -21
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useRange.js +29 -23
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useSingle.js +16 -15
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useAnimation.js +50 -56
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useAnimation.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useCalendar.js +71 -76
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useDayPicker.js +11 -12
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useFocus.js +23 -23
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useSelection.js +16 -19
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/addToRange.js +60 -32
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +24 -24
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +22 -26
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +13 -15
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +29 -28
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -9
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +9 -8
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js.map +1 -1
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/typeguards.js +15 -19
- package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js +1511 -2084
- package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +1 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -2996
- package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/react.js +124 -544
- package/dist/src/components/ui/area-chart/area-chart.d.ts +9 -4
- package/dist/src/components/ui/avatar/avatar.d.ts +1 -1
- package/dist/src/components/ui/bar-chart/bar-chart.d.ts +9 -4
- package/dist/src/components/ui/category-bar/category-bar.d.ts +10 -4
- package/dist/src/components/ui/chart/__stories__/palette-control.d.ts +48 -0
- package/dist/src/components/ui/chart/__tests__/chart-palette.test.d.ts +1 -0
- package/dist/src/components/ui/chart/chart-palette.d.ts +128 -0
- package/dist/src/components/ui/chart/chart.d.ts +66 -15
- package/dist/src/components/ui/chart/index.d.ts +4 -2
- package/dist/src/components/ui/chart-state/chart-state-illustrations.d.ts +6 -0
- package/dist/src/components/ui/chart-state/chart-state.d.ts +13 -2
- package/dist/src/components/ui/chart-state/index.d.ts +1 -0
- package/dist/src/components/ui/chart-widget/chart-widget.d.ts +64 -0
- package/dist/src/components/ui/chart-widget/index.d.ts +1 -0
- package/dist/src/components/ui/composed-chart/composed-chart.d.ts +12 -7
- package/dist/src/components/ui/confidence-cone/confidence-cone.d.ts +10 -5
- package/dist/src/components/ui/empty-overlay/empty-overlay.d.ts +1 -1
- package/dist/src/components/ui/funnel-chart/funnel-chart.d.ts +11 -5
- package/dist/src/components/ui/histogram/histogram.d.ts +10 -4
- package/dist/src/components/ui/input-num-picker/index.d.ts +1 -0
- package/dist/src/components/ui/input-num-picker/input-num-picker.d.ts +14 -0
- package/dist/src/components/ui/label/index.d.ts +1 -1
- package/dist/src/components/ui/label/label.d.ts +1 -5
- package/dist/src/components/ui/line-chart/line-chart.d.ts +9 -4
- package/dist/src/components/ui/metric/metric.d.ts +13 -14
- package/dist/src/components/ui/pie-chart/pie-chart.d.ts +17 -8
- package/dist/src/components/ui/radar-chart/radar-chart.d.ts +10 -5
- package/dist/src/components/ui/radial-bar-chart/radial-bar-chart.d.ts +17 -6
- package/dist/src/components/ui/sankey-chart/sankey-chart.d.ts +10 -5
- package/dist/src/components/ui/scatter-chart/scatter-chart.d.ts +10 -5
- package/dist/src/components/ui/section/index.d.ts +1 -1
- package/dist/src/components/ui/section/section.d.ts +75 -6
- package/dist/src/components/ui/stepper-item/stepper-item.d.ts +6 -5
- package/dist/src/components/ui/tag/tag.d.ts +1 -1
- package/dist/src/components/ui/treemap/treemap.d.ts +11 -5
- package/dist/src/components/ui/trend-indicator/trend-indicator.d.ts +3 -7
- package/dist/src/components/ui/wizard/index.d.ts +1 -0
- package/dist/src/components/ui/wizard/wizard.d.ts +6 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/use-wizard.d.ts +80 -0
- package/dist/src/index.d.ts +3 -3
- package/dist/ui-react.css +2 -1
- package/package.json +14 -8
- package/dist/components/ui/app-shell/app-shell.js +0 -75
- package/dist/components/ui/app-shell/app-shell.js.map +0 -1
- package/dist/components/ui/auth-layout/auth-layout.js +0 -56
- package/dist/components/ui/auth-layout/auth-layout.js.map +0 -1
- package/dist/components/ui/collapsible/collapsible.js +0 -22
- package/dist/components/ui/collapsible/collapsible.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/react.js.map +0 -1
- package/dist/src/components/ui/app-shell/app-shell.d.ts +0 -8
- package/dist/src/components/ui/app-shell/index.d.ts +0 -1
- package/dist/src/components/ui/auth-layout/auth-layout.d.ts +0 -6
- package/dist/src/components/ui/auth-layout/index.d.ts +0 -1
- package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -5
- package/dist/src/components/ui/collapsible/index.d.ts +0 -1
- package/dist/src/components/ui/label/label.docs.d.ts +0 -10
|
@@ -1,2093 +1,1520 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
})
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { createContext as e, useCallback as t, useContext as n, useEffect as r, useId as i, useImperativeHandle as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l, useSyncExternalStore as u } from "react";
|
|
3
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
4
|
+
//#region ../../node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js
|
|
5
|
+
function f(e, t) {
|
|
6
|
+
let n = getComputedStyle(e);
|
|
7
|
+
return t * parseFloat(n.fontSize);
|
|
8
|
+
}
|
|
9
|
+
function p(e, t) {
|
|
10
|
+
let n = getComputedStyle(e.ownerDocument.documentElement);
|
|
11
|
+
return t * parseFloat(n.fontSize);
|
|
12
|
+
}
|
|
13
|
+
function m(e) {
|
|
14
|
+
return e / 100 * window.innerHeight;
|
|
15
|
+
}
|
|
16
|
+
function h(e) {
|
|
17
|
+
return e / 100 * window.innerWidth;
|
|
18
|
+
}
|
|
19
|
+
function g(e) {
|
|
20
|
+
switch (typeof e) {
|
|
21
|
+
case "number": return [e, "px"];
|
|
22
|
+
case "string": {
|
|
23
|
+
let t = parseFloat(e);
|
|
24
|
+
return e.endsWith("%") ? [t, "%"] : e.endsWith("px") ? [t, "px"] : e.endsWith("rem") ? [t, "rem"] : e.endsWith("em") ? [t, "em"] : e.endsWith("vh") ? [t, "vh"] : e.endsWith("vw") ? [t, "vw"] : [t, "%"];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function _({ groupSize: e, panelElement: t, styleProp: n }) {
|
|
29
|
+
let r, [i, a] = g(n);
|
|
30
|
+
switch (a) {
|
|
31
|
+
case "%":
|
|
32
|
+
r = i / 100 * e;
|
|
33
|
+
break;
|
|
34
|
+
case "px":
|
|
35
|
+
r = i;
|
|
36
|
+
break;
|
|
37
|
+
case "rem":
|
|
38
|
+
r = p(t, i);
|
|
39
|
+
break;
|
|
40
|
+
case "em":
|
|
41
|
+
r = f(t, i);
|
|
42
|
+
break;
|
|
43
|
+
case "vh":
|
|
44
|
+
r = m(i);
|
|
45
|
+
break;
|
|
46
|
+
case "vw": r = h(i);
|
|
47
|
+
}
|
|
48
|
+
return r;
|
|
49
|
+
}
|
|
50
|
+
function v(e) {
|
|
51
|
+
return parseFloat(e.toFixed(3));
|
|
52
|
+
}
|
|
53
|
+
function y({ group: e }) {
|
|
54
|
+
let { orientation: t, panels: n } = e;
|
|
55
|
+
return n.reduce((e, n) => (e += t === "horizontal" ? n.element.offsetWidth : n.element.offsetHeight, e), 0);
|
|
56
|
+
}
|
|
57
|
+
function b(e) {
|
|
58
|
+
let { panels: t } = e, n = y({ group: e });
|
|
59
|
+
return n === 0 ? t.map((e) => ({
|
|
60
|
+
groupResizeBehavior: e.panelConstraints.groupResizeBehavior,
|
|
61
|
+
collapsedSize: 0,
|
|
62
|
+
collapsible: e.panelConstraints.collapsible === !0,
|
|
63
|
+
defaultSize: void 0,
|
|
64
|
+
disabled: e.panelConstraints.disabled,
|
|
65
|
+
minSize: 0,
|
|
66
|
+
maxSize: 100,
|
|
67
|
+
panelId: e.id
|
|
68
|
+
})) : t.map((e) => {
|
|
69
|
+
let { element: t, panelConstraints: r } = e, i = 0;
|
|
70
|
+
r.collapsedSize !== void 0 && (i = v(_({
|
|
71
|
+
groupSize: n,
|
|
72
|
+
panelElement: t,
|
|
73
|
+
styleProp: r.collapsedSize
|
|
74
|
+
}) / n * 100));
|
|
75
|
+
let a;
|
|
76
|
+
r.defaultSize !== void 0 && (a = v(_({
|
|
77
|
+
groupSize: n,
|
|
78
|
+
panelElement: t,
|
|
79
|
+
styleProp: r.defaultSize
|
|
80
|
+
}) / n * 100));
|
|
81
|
+
let o = 0;
|
|
82
|
+
r.minSize !== void 0 && (o = v(_({
|
|
83
|
+
groupSize: n,
|
|
84
|
+
panelElement: t,
|
|
85
|
+
styleProp: r.minSize
|
|
86
|
+
}) / n * 100));
|
|
87
|
+
let s = 100;
|
|
88
|
+
return r.maxSize !== void 0 && (s = v(_({
|
|
89
|
+
groupSize: n,
|
|
90
|
+
panelElement: t,
|
|
91
|
+
styleProp: r.maxSize
|
|
92
|
+
}) / n * 100)), {
|
|
93
|
+
groupResizeBehavior: r.groupResizeBehavior,
|
|
94
|
+
collapsedSize: i,
|
|
95
|
+
collapsible: r.collapsible === !0,
|
|
96
|
+
defaultSize: a,
|
|
97
|
+
disabled: r.disabled,
|
|
98
|
+
minSize: o,
|
|
99
|
+
maxSize: s,
|
|
100
|
+
panelId: e.id
|
|
101
|
+
};
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function x(e, t = "Assertion error") {
|
|
105
|
+
if (!e) throw Error(t);
|
|
106
|
+
}
|
|
107
|
+
function S(e, t) {
|
|
108
|
+
return Array.from(t).sort(e === "horizontal" ? C : w);
|
|
109
|
+
}
|
|
110
|
+
function C(e, t) {
|
|
111
|
+
let n = e.element.offsetLeft - t.element.offsetLeft;
|
|
112
|
+
return n === 0 ? e.element.offsetWidth - t.element.offsetWidth : n;
|
|
113
|
+
}
|
|
114
|
+
function w(e, t) {
|
|
115
|
+
let n = e.element.offsetTop - t.element.offsetTop;
|
|
116
|
+
return n === 0 ? e.element.offsetHeight - t.element.offsetHeight : n;
|
|
117
|
+
}
|
|
118
|
+
function T(e) {
|
|
119
|
+
return typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.ELEMENT_NODE;
|
|
120
|
+
}
|
|
121
|
+
function E(e, t) {
|
|
122
|
+
return {
|
|
123
|
+
x: e.x >= t.left && e.x <= t.right ? 0 : Math.min(Math.abs(e.x - t.left), Math.abs(e.x - t.right)),
|
|
124
|
+
y: e.y >= t.top && e.y <= t.bottom ? 0 : Math.min(Math.abs(e.y - t.top), Math.abs(e.y - t.bottom))
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function D({ orientation: e, rects: t, targetRect: n }) {
|
|
128
|
+
let r = {
|
|
129
|
+
x: n.x + n.width / 2,
|
|
130
|
+
y: n.y + n.height / 2
|
|
131
|
+
}, i, a = Number.MAX_VALUE;
|
|
132
|
+
for (let n of t) {
|
|
133
|
+
let { x: t, y: o } = E(r, n), s = e === "horizontal" ? t : o;
|
|
134
|
+
s < a && (a = s, i = n);
|
|
135
|
+
}
|
|
136
|
+
return x(i, "No rect found"), i;
|
|
137
|
+
}
|
|
138
|
+
var O;
|
|
139
|
+
function k() {
|
|
140
|
+
return O === void 0 && (O = typeof matchMedia == "function" && !!matchMedia("(pointer:coarse)").matches), O;
|
|
141
|
+
}
|
|
142
|
+
function A(e) {
|
|
143
|
+
let { element: t, orientation: n, panels: r, separators: i } = e, a = S(n, Array.from(t.children).filter(T).map((e) => ({ element: e }))).map(({ element: e }) => e), o = [], s = !1, c = !1, l = -1, u = -1, d = 0, f, p = [];
|
|
144
|
+
{
|
|
145
|
+
let e = -1;
|
|
146
|
+
for (let t of a) t.hasAttribute("data-panel") && (e++, t.hasAttribute("data-disabled") || (d++, l === -1 && (l = e), u = e));
|
|
147
|
+
}
|
|
148
|
+
if (d > 1) {
|
|
149
|
+
let t = -1;
|
|
150
|
+
for (let d of a) if (d.hasAttribute("data-panel")) {
|
|
151
|
+
t++;
|
|
152
|
+
let i = r.find((e) => e.element === d);
|
|
153
|
+
if (i) {
|
|
154
|
+
if (f) {
|
|
155
|
+
let r = f.element.getBoundingClientRect(), a = d.getBoundingClientRect(), m;
|
|
156
|
+
if (c) {
|
|
157
|
+
let e = n === "horizontal" ? new DOMRect(r.right, r.top, 0, r.height) : new DOMRect(r.left, r.bottom, r.width, 0), t = n === "horizontal" ? new DOMRect(a.left, a.top, 0, a.height) : new DOMRect(a.left, a.top, a.width, 0);
|
|
158
|
+
switch (p.length) {
|
|
159
|
+
case 0:
|
|
160
|
+
m = [e, t];
|
|
161
|
+
break;
|
|
162
|
+
case 1: {
|
|
163
|
+
let i = p[0];
|
|
164
|
+
m = [i, D({
|
|
165
|
+
orientation: n,
|
|
166
|
+
rects: [r, a],
|
|
167
|
+
targetRect: i.element.getBoundingClientRect()
|
|
168
|
+
}) === r ? t : e];
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
default: m = p;
|
|
172
|
+
}
|
|
173
|
+
} else m = p.length ? p : [n === "horizontal" ? new DOMRect(r.right, a.top, a.left - r.right, a.height) : new DOMRect(a.left, r.bottom, a.width, a.top - r.bottom)];
|
|
174
|
+
for (let n of m) {
|
|
175
|
+
let r = "width" in n ? n : n.element.getBoundingClientRect(), a = k() ? e.resizeTargetMinimumSize.coarse : e.resizeTargetMinimumSize.fine;
|
|
176
|
+
if (r.width < a) {
|
|
177
|
+
let e = a - r.width;
|
|
178
|
+
r = new DOMRect(r.x - e / 2, r.y, r.width + e, r.height);
|
|
179
|
+
}
|
|
180
|
+
if (r.height < a) {
|
|
181
|
+
let e = a - r.height;
|
|
182
|
+
r = new DOMRect(r.x, r.y - e / 2, r.width, r.height + e);
|
|
183
|
+
}
|
|
184
|
+
!s && !(t <= l || t > u) && o.push({
|
|
185
|
+
group: e,
|
|
186
|
+
groupSize: y({ group: e }),
|
|
187
|
+
panels: [f, i],
|
|
188
|
+
separator: "width" in n ? void 0 : n,
|
|
189
|
+
rect: r
|
|
190
|
+
}), s = !1;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
c = !1, f = i, p = [];
|
|
194
|
+
}
|
|
195
|
+
} else if (d.hasAttribute("data-separator")) {
|
|
196
|
+
d.ariaDisabled !== null && (s = !0);
|
|
197
|
+
let e = i.find((e) => e.element === d);
|
|
198
|
+
e ? p.push(e) : (f = void 0, p = []);
|
|
199
|
+
} else c = !0;
|
|
200
|
+
}
|
|
201
|
+
return o;
|
|
202
|
+
}
|
|
203
|
+
var j = class {
|
|
204
|
+
#e = {};
|
|
205
|
+
addListener(e, t) {
|
|
206
|
+
let n = this.#e[e];
|
|
207
|
+
return n === void 0 ? this.#e[e] = [t] : n.includes(t) || n.push(t), () => {
|
|
208
|
+
this.removeListener(e, t);
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
emit(e, t) {
|
|
212
|
+
let n = this.#e[e];
|
|
213
|
+
if (n !== void 0) {
|
|
214
|
+
if (n.length === 1) n[0].call(null, t);
|
|
215
|
+
else {
|
|
216
|
+
let e = !1, r = null, i = Array.from(n);
|
|
217
|
+
for (let n = 0; n < i.length; n++) {
|
|
218
|
+
let a = i[n];
|
|
219
|
+
try {
|
|
220
|
+
a.call(null, t);
|
|
221
|
+
} catch (t) {
|
|
222
|
+
r === null && (e = !0, r = t);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (e) throw r;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
removeAllListeners() {
|
|
230
|
+
this.#e = {};
|
|
231
|
+
}
|
|
232
|
+
removeListener(e, t) {
|
|
233
|
+
let n = this.#e[e];
|
|
234
|
+
if (n !== void 0) {
|
|
235
|
+
let e = n.indexOf(t);
|
|
236
|
+
e >= 0 && n.splice(e, 1);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}, M = /* @__PURE__ */ new Map(), N = new j();
|
|
240
|
+
function ee(e) {
|
|
241
|
+
M = new Map(M), M.delete(e);
|
|
242
|
+
}
|
|
243
|
+
function te(e, t) {
|
|
244
|
+
for (let [t] of M) if (t.id === e) return t;
|
|
245
|
+
}
|
|
246
|
+
function P(e, t) {
|
|
247
|
+
for (let [t, n] of M) if (t.id === e) return n;
|
|
248
|
+
if (t) throw Error(`Could not find data for Group with id ${e}`);
|
|
249
|
+
}
|
|
250
|
+
function F() {
|
|
251
|
+
return M;
|
|
252
|
+
}
|
|
253
|
+
function I(e, t) {
|
|
254
|
+
return N.addListener("groupChange", (n) => {
|
|
255
|
+
n.group.id === e && t(n);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
function L(e, t) {
|
|
259
|
+
let n = M.get(e);
|
|
260
|
+
M = new Map(M), M.set(e, t), N.emit("groupChange", {
|
|
261
|
+
group: e,
|
|
262
|
+
prev: n,
|
|
263
|
+
next: t
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
function ne(e, t, n) {
|
|
267
|
+
let r, i = {
|
|
268
|
+
x: 1 / 0,
|
|
269
|
+
y: 1 / 0
|
|
270
|
+
};
|
|
271
|
+
for (let a of t) {
|
|
272
|
+
let t = E(n, a.rect);
|
|
273
|
+
switch (e) {
|
|
274
|
+
case "horizontal":
|
|
275
|
+
t.x <= i.x && (r = a, i = t);
|
|
276
|
+
break;
|
|
277
|
+
case "vertical": t.y <= i.y && (r = a, i = t);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
return r ? {
|
|
281
|
+
distance: i,
|
|
282
|
+
hitRegion: r
|
|
283
|
+
} : void 0;
|
|
284
|
+
}
|
|
285
|
+
function re(e) {
|
|
286
|
+
return typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
287
|
+
}
|
|
288
|
+
function ie(e, t) {
|
|
289
|
+
if (e === t) throw Error("Cannot compare node with itself");
|
|
290
|
+
let n = {
|
|
291
|
+
a: ue(e),
|
|
292
|
+
b: ue(t)
|
|
293
|
+
}, r;
|
|
294
|
+
for (; n.a.at(-1) === n.b.at(-1);) r = n.a.pop(), n.b.pop();
|
|
295
|
+
x(r, "Stacking order can only be calculated for elements with a common ancestor");
|
|
296
|
+
let i = {
|
|
297
|
+
a: le(ce(n.a)),
|
|
298
|
+
b: le(ce(n.b))
|
|
299
|
+
};
|
|
300
|
+
if (i.a === i.b) {
|
|
301
|
+
let e = r.childNodes, t = {
|
|
302
|
+
a: n.a.at(-1),
|
|
303
|
+
b: n.b.at(-1)
|
|
304
|
+
}, i = e.length;
|
|
305
|
+
for (; i--;) {
|
|
306
|
+
let n = e[i];
|
|
307
|
+
if (n === t.a) return 1;
|
|
308
|
+
if (n === t.b) return -1;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
return Math.sign(i.a - i.b);
|
|
312
|
+
}
|
|
313
|
+
var ae = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
|
|
314
|
+
function oe(e) {
|
|
315
|
+
let t = getComputedStyle(de(e) ?? e).display;
|
|
316
|
+
return t === "flex" || t === "inline-flex";
|
|
317
|
+
}
|
|
318
|
+
function se(e) {
|
|
319
|
+
let t = getComputedStyle(e);
|
|
320
|
+
return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || oe(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || ae.test(t.willChange) || t.webkitOverflowScrolling === "touch");
|
|
321
|
+
}
|
|
322
|
+
function ce(e) {
|
|
323
|
+
let t = e.length;
|
|
324
|
+
for (; t--;) {
|
|
325
|
+
let n = e[t];
|
|
326
|
+
if (x(n, "Missing node"), se(n)) return n;
|
|
327
|
+
}
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
330
|
+
function le(e) {
|
|
331
|
+
return e && Number(getComputedStyle(e).zIndex) || 0;
|
|
332
|
+
}
|
|
333
|
+
function ue(e) {
|
|
334
|
+
let t = [];
|
|
335
|
+
for (; e;) t.push(e), e = de(e);
|
|
336
|
+
return t;
|
|
337
|
+
}
|
|
338
|
+
function de(e) {
|
|
339
|
+
let { parentNode: t } = e;
|
|
340
|
+
return re(t) ? t.host : t;
|
|
341
|
+
}
|
|
342
|
+
function fe(e, t) {
|
|
343
|
+
return e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
|
|
344
|
+
}
|
|
345
|
+
function pe({ groupElement: e, hitRegion: t, pointerEventTarget: n }) {
|
|
346
|
+
if (!T(n) || n.contains(e) || e.contains(n)) return !0;
|
|
347
|
+
if (ie(n, e) > 0) {
|
|
348
|
+
let r = n;
|
|
349
|
+
for (; r;) {
|
|
350
|
+
if (r.contains(e)) return !0;
|
|
351
|
+
if (fe(r.getBoundingClientRect(), t)) return !1;
|
|
352
|
+
r = r.parentElement;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
return !0;
|
|
356
|
+
}
|
|
357
|
+
function R(e, t) {
|
|
358
|
+
let n = [];
|
|
359
|
+
return t.forEach((t, r) => {
|
|
360
|
+
if (r.disabled) return;
|
|
361
|
+
let i = A(r), a = ne(r.orientation, i, {
|
|
362
|
+
x: e.clientX,
|
|
363
|
+
y: e.clientY
|
|
364
|
+
});
|
|
365
|
+
a && a.distance.x <= 0 && a.distance.y <= 0 && pe({
|
|
366
|
+
groupElement: r.element,
|
|
367
|
+
hitRegion: a.hitRegion.rect,
|
|
368
|
+
pointerEventTarget: e.target
|
|
369
|
+
}) && n.push(a.hitRegion);
|
|
370
|
+
}), n;
|
|
371
|
+
}
|
|
372
|
+
function me(e, t) {
|
|
373
|
+
if (e.length !== t.length) return !1;
|
|
374
|
+
for (let n = 0; n < e.length; n++) if (e[n] != t[n]) return !1;
|
|
375
|
+
return !0;
|
|
376
|
+
}
|
|
377
|
+
function z(e, t, n = 0) {
|
|
378
|
+
return Math.abs(v(e) - v(t)) <= n;
|
|
379
|
+
}
|
|
380
|
+
function B(e, t) {
|
|
381
|
+
return z(e, t) ? 0 : e > t ? 1 : -1;
|
|
382
|
+
}
|
|
383
|
+
function V({ overrideDisabledPanels: e, panelConstraints: t, prevSize: n, size: r }) {
|
|
384
|
+
let { collapsedSize: i = 0, collapsible: a, disabled: o, maxSize: s = 100, minSize: c = 0 } = t;
|
|
385
|
+
if (o && !e) return n;
|
|
386
|
+
if (B(r, c) < 0) {
|
|
387
|
+
if (a) {
|
|
388
|
+
let e = (i + c) / 2;
|
|
389
|
+
r = B(r, e) < 0 ? i : c;
|
|
390
|
+
} else r = c;
|
|
391
|
+
}
|
|
392
|
+
return r = Math.min(s, r), r = v(r), r;
|
|
393
|
+
}
|
|
394
|
+
function H({ delta: e, initialLayout: t, panelConstraints: n, pivotIndices: r, prevLayout: i, trigger: a }) {
|
|
395
|
+
if (z(e, 0)) return t;
|
|
396
|
+
let o = a === "imperative-api", s = Object.values(t), c = Object.values(i), l = [...s], [u, d] = r;
|
|
397
|
+
x(u != null, "Invalid first pivot index"), x(d != null, "Invalid second pivot index");
|
|
398
|
+
let f = 0;
|
|
399
|
+
switch (a) {
|
|
400
|
+
case "keyboard":
|
|
401
|
+
{
|
|
402
|
+
let t = e < 0 ? d : u, r = n[t];
|
|
403
|
+
x(r, `Panel constraints not found for index ${t}`);
|
|
404
|
+
let { collapsedSize: i = 0, collapsible: a, minSize: o = 0 } = r;
|
|
405
|
+
if (a) {
|
|
406
|
+
let n = s[t];
|
|
407
|
+
if (x(n != null, `Previous layout not found for panel index ${t}`), z(n, i)) {
|
|
408
|
+
let t = o - n;
|
|
409
|
+
B(t, Math.abs(e)) > 0 && (e = e < 0 ? 0 - t : t);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
{
|
|
414
|
+
let t = e < 0 ? u : d, r = n[t];
|
|
415
|
+
x(r, `No panel constraints found for index ${t}`);
|
|
416
|
+
let { collapsedSize: i = 0, collapsible: a, minSize: o = 0 } = r;
|
|
417
|
+
if (a) {
|
|
418
|
+
let n = s[t];
|
|
419
|
+
if (x(n != null, `Previous layout not found for panel index ${t}`), z(n, o)) {
|
|
420
|
+
let t = n - i;
|
|
421
|
+
B(t, Math.abs(e)) > 0 && (e = e < 0 ? 0 - t : t);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
break;
|
|
426
|
+
default: {
|
|
427
|
+
let t = e < 0 ? d : u, r = n[t];
|
|
428
|
+
x(r, `Panel constraints not found for index ${t}`);
|
|
429
|
+
let i = s[t], { collapsible: a, collapsedSize: o, minSize: c } = r;
|
|
430
|
+
if (a && B(i, c) < 0) {
|
|
431
|
+
if (e > 0) {
|
|
432
|
+
let t = c - o, n = t / 2;
|
|
433
|
+
B(i + e, c) < 0 && (e = B(e, n) <= 0 ? 0 : t);
|
|
434
|
+
} else {
|
|
435
|
+
let t = c - o, n = 100 - t / 2;
|
|
436
|
+
B(i - e, c) < 0 && (e = B(100 + e, n) > 0 ? 0 : -t);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
{
|
|
443
|
+
let t = e < 0 ? 1 : -1, r = e < 0 ? d : u, i = 0;
|
|
444
|
+
for (;;) {
|
|
445
|
+
let e = s[r];
|
|
446
|
+
x(e != null, `Previous layout not found for panel index ${r}`);
|
|
447
|
+
let a = V({
|
|
448
|
+
overrideDisabledPanels: o,
|
|
449
|
+
panelConstraints: n[r],
|
|
450
|
+
prevSize: e,
|
|
451
|
+
size: 100
|
|
452
|
+
}) - e;
|
|
453
|
+
if (i += a, r += t, r < 0 || r >= n.length) break;
|
|
454
|
+
}
|
|
455
|
+
let a = Math.min(Math.abs(e), Math.abs(i));
|
|
456
|
+
e = e < 0 ? 0 - a : a;
|
|
457
|
+
}
|
|
458
|
+
{
|
|
459
|
+
let t = e < 0 ? u : d;
|
|
460
|
+
for (; t >= 0 && t < n.length;) {
|
|
461
|
+
let r = Math.abs(e) - Math.abs(f), i = s[t];
|
|
462
|
+
x(i != null, `Previous layout not found for panel index ${t}`);
|
|
463
|
+
let a = i - r, c = V({
|
|
464
|
+
overrideDisabledPanels: o,
|
|
465
|
+
panelConstraints: n[t],
|
|
466
|
+
prevSize: i,
|
|
467
|
+
size: a
|
|
468
|
+
});
|
|
469
|
+
if (!z(i, c) && (f += i - c, l[t] = c, f.toFixed(3).localeCompare(Math.abs(e).toFixed(3), void 0, { numeric: !0 }) >= 0)) break;
|
|
470
|
+
e < 0 ? t-- : t++;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
if (me(c, l)) return i;
|
|
474
|
+
{
|
|
475
|
+
let t = e < 0 ? d : u, r = s[t];
|
|
476
|
+
x(r != null, `Previous layout not found for panel index ${t}`);
|
|
477
|
+
let i = r + f, a = V({
|
|
478
|
+
overrideDisabledPanels: o,
|
|
479
|
+
panelConstraints: n[t],
|
|
480
|
+
prevSize: r,
|
|
481
|
+
size: i
|
|
482
|
+
});
|
|
483
|
+
if (l[t] = a, !z(a, i)) {
|
|
484
|
+
let t = i - a, r = e < 0 ? d : u;
|
|
485
|
+
for (; r >= 0 && r < n.length;) {
|
|
486
|
+
let i = l[r];
|
|
487
|
+
x(i != null, `Previous layout not found for panel index ${r}`);
|
|
488
|
+
let a = i + t, s = V({
|
|
489
|
+
overrideDisabledPanels: o,
|
|
490
|
+
panelConstraints: n[r],
|
|
491
|
+
prevSize: i,
|
|
492
|
+
size: a
|
|
493
|
+
});
|
|
494
|
+
if (z(i, s) || (t -= s - i, l[r] = s), z(t, 0)) break;
|
|
495
|
+
e > 0 ? r-- : r++;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
if (!z(Object.values(l).reduce((e, t) => t + e, 0), 100, .1)) return i;
|
|
500
|
+
let p = Object.keys(i);
|
|
501
|
+
return l.reduce((e, t, n) => (e[p[n]] = t, e), {});
|
|
502
|
+
}
|
|
503
|
+
function U(e, t) {
|
|
504
|
+
if (Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
505
|
+
for (let n in e) if (t[n] === void 0 || B(e[n], t[n]) !== 0) return !1;
|
|
506
|
+
return !0;
|
|
507
|
+
}
|
|
508
|
+
function W({ layout: e, panelConstraints: t }) {
|
|
509
|
+
let n = Object.values(e), r = [...n], i = r.reduce((e, t) => e + t, 0);
|
|
510
|
+
if (r.length !== t.length) throw Error(`Invalid ${t.length} panel layout: ${r.map((e) => `${e}%`).join(", ")}`);
|
|
511
|
+
if (!z(i, 100) && r.length > 0) for (let e = 0; e < t.length; e++) {
|
|
512
|
+
let t = r[e];
|
|
513
|
+
x(t != null, `No layout data found for index ${e}`);
|
|
514
|
+
let n = 100 / i * t;
|
|
515
|
+
r[e] = n;
|
|
516
|
+
}
|
|
517
|
+
let a = 0;
|
|
518
|
+
for (let e = 0; e < t.length; e++) {
|
|
519
|
+
let i = n[e];
|
|
520
|
+
x(i != null, `No layout data found for index ${e}`);
|
|
521
|
+
let o = r[e];
|
|
522
|
+
x(o != null, `No layout data found for index ${e}`);
|
|
523
|
+
let s = V({
|
|
524
|
+
overrideDisabledPanels: !0,
|
|
525
|
+
panelConstraints: t[e],
|
|
526
|
+
prevSize: i,
|
|
527
|
+
size: o
|
|
528
|
+
});
|
|
529
|
+
o != s && (a += o - s, r[e] = s);
|
|
530
|
+
}
|
|
531
|
+
if (!z(a, 0)) for (let e = 0; e < t.length; e++) {
|
|
532
|
+
let n = r[e];
|
|
533
|
+
x(n != null, `No layout data found for index ${e}`);
|
|
534
|
+
let i = n + a, o = V({
|
|
535
|
+
overrideDisabledPanels: !0,
|
|
536
|
+
panelConstraints: t[e],
|
|
537
|
+
prevSize: n,
|
|
538
|
+
size: i
|
|
539
|
+
});
|
|
540
|
+
if (n !== o && (a -= o - n, r[e] = o, z(a, 0))) break;
|
|
541
|
+
}
|
|
542
|
+
let o = Object.keys(e);
|
|
543
|
+
return r.reduce((e, t, n) => (e[o[n]] = t, e), {});
|
|
544
|
+
}
|
|
545
|
+
function he({ groupId: e, panelId: t }) {
|
|
546
|
+
let n = () => {
|
|
547
|
+
let t = F();
|
|
548
|
+
for (let [n, { defaultLayoutDeferred: r, derivedPanelConstraints: i, layout: a, groupSize: o, separatorToPanels: s }] of t) if (n.id === e) return {
|
|
549
|
+
defaultLayoutDeferred: r,
|
|
550
|
+
derivedPanelConstraints: i,
|
|
551
|
+
group: n,
|
|
552
|
+
groupSize: o,
|
|
553
|
+
layout: a,
|
|
554
|
+
separatorToPanels: s
|
|
555
|
+
};
|
|
556
|
+
throw Error(`Group ${e} not found`);
|
|
557
|
+
}, r = () => {
|
|
558
|
+
let e = n().derivedPanelConstraints.find((e) => e.panelId === t);
|
|
559
|
+
if (e !== void 0) return e;
|
|
560
|
+
throw Error(`Panel constraints not found for Panel ${t}`);
|
|
561
|
+
}, i = () => {
|
|
562
|
+
let e = n().group.panels.find((e) => e.id === t);
|
|
563
|
+
if (e !== void 0) return e;
|
|
564
|
+
throw Error(`Layout not found for Panel ${t}`);
|
|
565
|
+
}, a = () => {
|
|
566
|
+
let e = n().layout[t];
|
|
567
|
+
if (e !== void 0) return e;
|
|
568
|
+
throw Error(`Layout not found for Panel ${t}`);
|
|
569
|
+
}, o = ({ nextSize: e, panels: n, prevLayout: r, derivedPanelConstraints: i }) => {
|
|
570
|
+
let o = a(), s = n.findIndex((e) => e.id === t), c = s === 0, l = s === n.length - 1;
|
|
571
|
+
if (l && e < o && (c || n.slice(0, s).every((e, t) => {
|
|
572
|
+
let n = i[t];
|
|
573
|
+
return n?.collapsible && z(n.collapsedSize, r[n.panelId]);
|
|
574
|
+
}))) {
|
|
575
|
+
let e = n.slice(0, s).reduce((e, t) => e + r[t.id], 0);
|
|
576
|
+
return {
|
|
577
|
+
...r,
|
|
578
|
+
[t]: v(100 - e)
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
return H({
|
|
582
|
+
delta: l ? o - e : e - o,
|
|
583
|
+
initialLayout: r,
|
|
584
|
+
panelConstraints: i,
|
|
585
|
+
pivotIndices: l ? [s - 1, s] : [s, s + 1],
|
|
586
|
+
prevLayout: r,
|
|
587
|
+
trigger: "imperative-api"
|
|
588
|
+
});
|
|
589
|
+
}, s = (e) => {
|
|
590
|
+
if (e === a()) return;
|
|
591
|
+
let { defaultLayoutDeferred: t, derivedPanelConstraints: r, group: i, groupSize: s, layout: c, separatorToPanels: l } = n(), u = W({
|
|
592
|
+
layout: o({
|
|
593
|
+
nextSize: e,
|
|
594
|
+
panels: i.panels,
|
|
595
|
+
prevLayout: c,
|
|
596
|
+
derivedPanelConstraints: r
|
|
597
|
+
}),
|
|
598
|
+
panelConstraints: r
|
|
599
|
+
});
|
|
600
|
+
U(c, u) || L(i, {
|
|
601
|
+
defaultLayoutDeferred: t,
|
|
602
|
+
derivedPanelConstraints: r,
|
|
603
|
+
groupSize: s,
|
|
604
|
+
layout: u,
|
|
605
|
+
separatorToPanels: l
|
|
606
|
+
});
|
|
607
|
+
};
|
|
608
|
+
return {
|
|
609
|
+
collapse: () => {
|
|
610
|
+
let { collapsible: e, collapsedSize: t } = r(), { mutableValues: n } = i(), o = a();
|
|
611
|
+
e && o !== t && (n.expandToSize = o, s(t));
|
|
612
|
+
},
|
|
613
|
+
expand: () => {
|
|
614
|
+
let { collapsible: e, collapsedSize: t, minSize: n } = r(), { mutableValues: o } = i(), c = a();
|
|
615
|
+
if (e && c === t) {
|
|
616
|
+
let e = o.expandToSize ?? n;
|
|
617
|
+
e === 0 && (e = 1), s(e);
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
getSize: () => {
|
|
621
|
+
let { group: e } = n(), t = a(), { element: r } = i();
|
|
622
|
+
return {
|
|
623
|
+
asPercentage: t,
|
|
624
|
+
inPixels: e.orientation === "horizontal" ? r.offsetWidth : r.offsetHeight
|
|
625
|
+
};
|
|
626
|
+
},
|
|
627
|
+
isCollapsed: () => {
|
|
628
|
+
let { collapsible: e, collapsedSize: t } = r(), n = a();
|
|
629
|
+
return e && z(t, n);
|
|
630
|
+
},
|
|
631
|
+
resize: (e) => {
|
|
632
|
+
let { group: t } = n(), { element: r } = i(), a = y({ group: t }), o = v(_({
|
|
633
|
+
groupSize: a,
|
|
634
|
+
panelElement: r,
|
|
635
|
+
styleProp: e
|
|
636
|
+
}) / a * 100);
|
|
637
|
+
s(o);
|
|
638
|
+
}
|
|
639
|
+
};
|
|
640
|
+
}
|
|
641
|
+
function ge(e) {
|
|
642
|
+
e.defaultPrevented || R(e, F()).forEach((t) => {
|
|
643
|
+
if (t.separator && !t.separator.disableDoubleClick) {
|
|
644
|
+
let n = t.panels.find((e) => e.panelConstraints.defaultSize !== void 0);
|
|
645
|
+
if (n) {
|
|
646
|
+
let r = n.panelConstraints.defaultSize, i = he({
|
|
647
|
+
groupId: t.group.id,
|
|
648
|
+
panelId: n.id
|
|
649
|
+
});
|
|
650
|
+
i && r !== void 0 && (i.resize(r), e.preventDefault());
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
function G(e) {
|
|
656
|
+
let t = F();
|
|
657
|
+
for (let [n] of t) if (n.separators.some((t) => t.element === e)) return n;
|
|
658
|
+
throw Error("Could not find parent Group for separator element");
|
|
659
|
+
}
|
|
660
|
+
function _e({ groupId: e }) {
|
|
661
|
+
let t = () => {
|
|
662
|
+
let t = F();
|
|
663
|
+
for (let [n, r] of t) if (n.id === e) return {
|
|
664
|
+
group: n,
|
|
665
|
+
...r
|
|
666
|
+
};
|
|
667
|
+
throw Error(`Could not find Group with id "${e}"`);
|
|
668
|
+
};
|
|
669
|
+
return {
|
|
670
|
+
getLayout() {
|
|
671
|
+
let { defaultLayoutDeferred: e, layout: n } = t();
|
|
672
|
+
return e ? {} : n;
|
|
673
|
+
},
|
|
674
|
+
setLayout(e) {
|
|
675
|
+
let { defaultLayoutDeferred: n, derivedPanelConstraints: r, group: i, groupSize: a, layout: o, separatorToPanels: s } = t(), c = W({
|
|
676
|
+
layout: e,
|
|
677
|
+
panelConstraints: r
|
|
678
|
+
});
|
|
679
|
+
return n ? o : (U(o, c) || L(i, {
|
|
680
|
+
defaultLayoutDeferred: n,
|
|
681
|
+
derivedPanelConstraints: r,
|
|
682
|
+
groupSize: a,
|
|
683
|
+
layout: c,
|
|
684
|
+
separatorToPanels: s
|
|
685
|
+
}), c);
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
function K(e, t) {
|
|
690
|
+
let n = G(e), r = P(n.id, !0), i = n.separators.find((t) => t.element === e);
|
|
691
|
+
x(i, "Matching separator not found");
|
|
692
|
+
let a = r.separatorToPanels.get(i);
|
|
693
|
+
x(a, "Matching panels not found");
|
|
694
|
+
let o = a.map((e) => n.panels.indexOf(e)), s = _e({ groupId: n.id }).getLayout(), c = W({
|
|
695
|
+
layout: H({
|
|
696
|
+
delta: t,
|
|
697
|
+
initialLayout: s,
|
|
698
|
+
panelConstraints: r.derivedPanelConstraints,
|
|
699
|
+
pivotIndices: o,
|
|
700
|
+
prevLayout: s,
|
|
701
|
+
trigger: "keyboard"
|
|
702
|
+
}),
|
|
703
|
+
panelConstraints: r.derivedPanelConstraints
|
|
704
|
+
});
|
|
705
|
+
U(s, c) || L(n, {
|
|
706
|
+
defaultLayoutDeferred: r.defaultLayoutDeferred,
|
|
707
|
+
derivedPanelConstraints: r.derivedPanelConstraints,
|
|
708
|
+
groupSize: r.groupSize,
|
|
709
|
+
layout: c,
|
|
710
|
+
separatorToPanels: r.separatorToPanels
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
function ve(e) {
|
|
714
|
+
if (e.defaultPrevented) return;
|
|
715
|
+
let t = e.currentTarget, n = G(t);
|
|
716
|
+
if (!n.disabled) switch (e.key) {
|
|
717
|
+
case "ArrowDown":
|
|
718
|
+
e.preventDefault(), n.orientation === "vertical" && K(t, 5);
|
|
719
|
+
break;
|
|
720
|
+
case "ArrowLeft":
|
|
721
|
+
e.preventDefault(), n.orientation === "horizontal" && K(t, -5);
|
|
722
|
+
break;
|
|
723
|
+
case "ArrowRight":
|
|
724
|
+
e.preventDefault(), n.orientation === "horizontal" && K(t, 5);
|
|
725
|
+
break;
|
|
726
|
+
case "ArrowUp":
|
|
727
|
+
e.preventDefault(), n.orientation === "vertical" && K(t, -5);
|
|
728
|
+
break;
|
|
729
|
+
case "End":
|
|
730
|
+
e.preventDefault(), K(t, 100);
|
|
731
|
+
break;
|
|
732
|
+
case "Enter": {
|
|
733
|
+
e.preventDefault();
|
|
734
|
+
let n = G(t), { derivedPanelConstraints: r, layout: i, separatorToPanels: a } = P(n.id, !0), o = n.separators.find((e) => e.element === t);
|
|
735
|
+
x(o, "Matching separator not found");
|
|
736
|
+
let s = a.get(o);
|
|
737
|
+
x(s, "Matching panels not found");
|
|
738
|
+
let c = s[0], l = r.find((e) => e.panelId === c.id);
|
|
739
|
+
if (x(l, "Panel metadata not found"), l.collapsible) {
|
|
740
|
+
let e = i[c.id];
|
|
741
|
+
K(t, (l.collapsedSize === e ? n.mutableState.expandedPanelSizes[c.id] ?? l.minSize : l.collapsedSize) - e);
|
|
742
|
+
}
|
|
743
|
+
break;
|
|
744
|
+
}
|
|
745
|
+
case "F6": {
|
|
746
|
+
e.preventDefault();
|
|
747
|
+
let n = G(t).separators.map((e) => e.element), r = Array.from(n).findIndex((t) => t === e.currentTarget);
|
|
748
|
+
x(r !== null, "Index not found"), n[e.shiftKey ? r > 0 ? r - 1 : n.length - 1 : r + 1 < n.length ? r + 1 : 0].focus({ preventScroll: !0 });
|
|
749
|
+
break;
|
|
750
|
+
}
|
|
751
|
+
case "Home": e.preventDefault(), K(t, -100);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
var q = {
|
|
755
|
+
cursorFlags: 0,
|
|
756
|
+
state: "inactive"
|
|
757
|
+
}, ye = new j();
|
|
367
758
|
function J() {
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
function ze(e, t) {
|
|
371
|
-
return tt.addListener("groupChange", (n) => {
|
|
372
|
-
n.group.id === e && t(n);
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
function j(e, t) {
|
|
376
|
-
const n = A.get(e);
|
|
377
|
-
A = new Map(A), A.set(e, t), tt.emit("groupChange", {
|
|
378
|
-
group: e,
|
|
379
|
-
prev: n,
|
|
380
|
-
next: t
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
function Rt(e, t, n) {
|
|
384
|
-
let o, r = {
|
|
385
|
-
x: 1 / 0,
|
|
386
|
-
y: 1 / 0
|
|
387
|
-
};
|
|
388
|
-
for (const a of t) {
|
|
389
|
-
const u = Qe(n, a.rect);
|
|
390
|
-
switch (e) {
|
|
391
|
-
case "horizontal": {
|
|
392
|
-
u.x <= r.x && (o = a, r = u);
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
case "vertical": {
|
|
396
|
-
u.y <= r.y && (o = a, r = u);
|
|
397
|
-
break;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
return o ? {
|
|
402
|
-
distance: r,
|
|
403
|
-
hitRegion: o
|
|
404
|
-
} : void 0;
|
|
405
|
-
}
|
|
406
|
-
function It(e) {
|
|
407
|
-
return e !== null && typeof e == "object" && "nodeType" in e && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
408
|
-
}
|
|
409
|
-
function Tt(e, t) {
|
|
410
|
-
if (e === t) throw new Error("Cannot compare node with itself");
|
|
411
|
-
const n = {
|
|
412
|
-
a: Fe(e),
|
|
413
|
-
b: Fe(t)
|
|
414
|
-
};
|
|
415
|
-
let o;
|
|
416
|
-
for (; n.a.at(-1) === n.b.at(-1); )
|
|
417
|
-
o = n.a.pop(), n.b.pop();
|
|
418
|
-
P(
|
|
419
|
-
o,
|
|
420
|
-
"Stacking order can only be calculated for elements with a common ancestor"
|
|
421
|
-
);
|
|
422
|
-
const r = {
|
|
423
|
-
a: Ne(Oe(n.a)),
|
|
424
|
-
b: Ne(Oe(n.b))
|
|
425
|
-
};
|
|
426
|
-
if (r.a === r.b) {
|
|
427
|
-
const a = o.childNodes, u = {
|
|
428
|
-
a: n.a.at(-1),
|
|
429
|
-
b: n.b.at(-1)
|
|
430
|
-
};
|
|
431
|
-
let s = a.length;
|
|
432
|
-
for (; s--; ) {
|
|
433
|
-
const i = a[s];
|
|
434
|
-
if (i === u.a) return 1;
|
|
435
|
-
if (i === u.b) return -1;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
return Math.sign(r.a - r.b);
|
|
439
|
-
}
|
|
440
|
-
const Ot = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
|
|
441
|
-
function Nt(e) {
|
|
442
|
-
const t = getComputedStyle(nt(e) ?? e).display;
|
|
443
|
-
return t === "flex" || t === "inline-flex";
|
|
444
|
-
}
|
|
445
|
-
function Ft(e) {
|
|
446
|
-
const t = getComputedStyle(e);
|
|
447
|
-
return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || Nt(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || Ot.test(t.willChange) || t.webkitOverflowScrolling === "touch");
|
|
448
|
-
}
|
|
449
|
-
function Oe(e) {
|
|
450
|
-
let t = e.length;
|
|
451
|
-
for (; t--; ) {
|
|
452
|
-
const n = e[t];
|
|
453
|
-
if (P(n, "Missing node"), Ft(n)) return n;
|
|
454
|
-
}
|
|
455
|
-
return null;
|
|
456
|
-
}
|
|
457
|
-
function Ne(e) {
|
|
458
|
-
return e && Number(getComputedStyle(e).zIndex) || 0;
|
|
459
|
-
}
|
|
460
|
-
function Fe(e) {
|
|
461
|
-
const t = [];
|
|
462
|
-
for (; e; )
|
|
463
|
-
t.push(e), e = nt(e);
|
|
464
|
-
return t;
|
|
465
|
-
}
|
|
466
|
-
function nt(e) {
|
|
467
|
-
const { parentNode: t } = e;
|
|
468
|
-
return It(t) ? t.host : t;
|
|
469
|
-
}
|
|
470
|
-
function At(e, t) {
|
|
471
|
-
return e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
|
|
472
|
-
}
|
|
473
|
-
function $t({
|
|
474
|
-
groupElement: e,
|
|
475
|
-
hitRegion: t,
|
|
476
|
-
pointerEventTarget: n
|
|
477
|
-
}) {
|
|
478
|
-
if (!Ke(n) || n.contains(e) || e.contains(n))
|
|
479
|
-
return !0;
|
|
480
|
-
if (Tt(n, e) > 0) {
|
|
481
|
-
let o = n;
|
|
482
|
-
for (; o; ) {
|
|
483
|
-
if (o.contains(e))
|
|
484
|
-
return !0;
|
|
485
|
-
if (At(o.getBoundingClientRect(), t))
|
|
486
|
-
return !1;
|
|
487
|
-
o = o.parentElement;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
return !0;
|
|
491
|
-
}
|
|
492
|
-
function Se(e, t) {
|
|
493
|
-
const n = [];
|
|
494
|
-
return t.forEach((o, r) => {
|
|
495
|
-
if (r.disabled)
|
|
496
|
-
return;
|
|
497
|
-
const a = _e(r), u = Rt(r.orientation, a, {
|
|
498
|
-
x: e.clientX,
|
|
499
|
-
y: e.clientY
|
|
500
|
-
});
|
|
501
|
-
u && u.distance.x <= 0 && u.distance.y <= 0 && $t({
|
|
502
|
-
groupElement: r.element,
|
|
503
|
-
hitRegion: u.hitRegion.rect,
|
|
504
|
-
pointerEventTarget: e.target
|
|
505
|
-
}) && n.push(u.hitRegion);
|
|
506
|
-
}), n;
|
|
507
|
-
}
|
|
508
|
-
function Gt(e, t) {
|
|
509
|
-
if (e.length !== t.length)
|
|
510
|
-
return !1;
|
|
511
|
-
for (let n = 0; n < e.length; n++)
|
|
512
|
-
if (e[n] != t[n])
|
|
513
|
-
return !1;
|
|
514
|
-
return !0;
|
|
515
|
-
}
|
|
516
|
-
function R(e, t, n = 0) {
|
|
517
|
-
return Math.abs(I(e) - I(t)) <= n;
|
|
518
|
-
}
|
|
519
|
-
function N(e, t) {
|
|
520
|
-
return R(e, t) ? 0 : e > t ? 1 : -1;
|
|
521
|
-
}
|
|
522
|
-
function Q({
|
|
523
|
-
overrideDisabledPanels: e,
|
|
524
|
-
panelConstraints: t,
|
|
525
|
-
prevSize: n,
|
|
526
|
-
size: o
|
|
527
|
-
}) {
|
|
528
|
-
const {
|
|
529
|
-
collapsedSize: r = 0,
|
|
530
|
-
collapsible: a,
|
|
531
|
-
disabled: u,
|
|
532
|
-
maxSize: s = 100,
|
|
533
|
-
minSize: i = 0
|
|
534
|
-
} = t;
|
|
535
|
-
if (u && !e)
|
|
536
|
-
return n;
|
|
537
|
-
if (N(o, i) < 0)
|
|
538
|
-
if (a) {
|
|
539
|
-
const l = (r + i) / 2;
|
|
540
|
-
N(o, l) < 0 ? o = r : o = i;
|
|
541
|
-
} else
|
|
542
|
-
o = i;
|
|
543
|
-
return o = Math.min(s, o), o = I(o), o;
|
|
544
|
-
}
|
|
545
|
-
function le({
|
|
546
|
-
delta: e,
|
|
547
|
-
initialLayout: t,
|
|
548
|
-
panelConstraints: n,
|
|
549
|
-
pivotIndices: o,
|
|
550
|
-
prevLayout: r,
|
|
551
|
-
trigger: a
|
|
552
|
-
}) {
|
|
553
|
-
if (R(e, 0))
|
|
554
|
-
return t;
|
|
555
|
-
const u = a === "imperative-api", s = Object.values(t), i = Object.values(r), l = [...s], [c, h] = o;
|
|
556
|
-
P(c != null, "Invalid first pivot index"), P(h != null, "Invalid second pivot index");
|
|
557
|
-
let f = 0;
|
|
558
|
-
switch (a) {
|
|
559
|
-
case "keyboard": {
|
|
560
|
-
{
|
|
561
|
-
const d = e < 0 ? h : c, g = n[d];
|
|
562
|
-
P(
|
|
563
|
-
g,
|
|
564
|
-
`Panel constraints not found for index ${d}`
|
|
565
|
-
);
|
|
566
|
-
const {
|
|
567
|
-
collapsedSize: p = 0,
|
|
568
|
-
collapsible: b,
|
|
569
|
-
minSize: z = 0
|
|
570
|
-
} = g;
|
|
571
|
-
if (b) {
|
|
572
|
-
const y = s[d];
|
|
573
|
-
if (P(
|
|
574
|
-
y != null,
|
|
575
|
-
`Previous layout not found for panel index ${d}`
|
|
576
|
-
), R(y, p)) {
|
|
577
|
-
const v = z - y;
|
|
578
|
-
N(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
{
|
|
583
|
-
const d = e < 0 ? c : h, g = n[d];
|
|
584
|
-
P(
|
|
585
|
-
g,
|
|
586
|
-
`No panel constraints found for index ${d}`
|
|
587
|
-
);
|
|
588
|
-
const {
|
|
589
|
-
collapsedSize: p = 0,
|
|
590
|
-
collapsible: b,
|
|
591
|
-
minSize: z = 0
|
|
592
|
-
} = g;
|
|
593
|
-
if (b) {
|
|
594
|
-
const y = s[d];
|
|
595
|
-
if (P(
|
|
596
|
-
y != null,
|
|
597
|
-
`Previous layout not found for panel index ${d}`
|
|
598
|
-
), R(y, z)) {
|
|
599
|
-
const v = y - p;
|
|
600
|
-
N(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
break;
|
|
605
|
-
}
|
|
606
|
-
default: {
|
|
607
|
-
const d = e < 0 ? h : c, g = n[d];
|
|
608
|
-
P(
|
|
609
|
-
g,
|
|
610
|
-
`Panel constraints not found for index ${d}`
|
|
611
|
-
);
|
|
612
|
-
const p = s[d], { collapsible: b, collapsedSize: z, minSize: y } = g;
|
|
613
|
-
if (b && N(p, y) < 0)
|
|
614
|
-
if (e > 0) {
|
|
615
|
-
const v = y - z, L = v / 2, k = p + e;
|
|
616
|
-
N(k, y) < 0 && (e = N(e, L) <= 0 ? 0 : v);
|
|
617
|
-
} else {
|
|
618
|
-
const v = y - z, L = 100 - v / 2, k = p - e;
|
|
619
|
-
N(k, y) < 0 && (e = N(100 + e, L) > 0 ? 0 : -v);
|
|
620
|
-
}
|
|
621
|
-
break;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
{
|
|
625
|
-
const d = e < 0 ? 1 : -1;
|
|
626
|
-
let g = e < 0 ? h : c, p = 0;
|
|
627
|
-
for (; ; ) {
|
|
628
|
-
const z = s[g];
|
|
629
|
-
P(
|
|
630
|
-
z != null,
|
|
631
|
-
`Previous layout not found for panel index ${g}`
|
|
632
|
-
);
|
|
633
|
-
const y = Q({
|
|
634
|
-
overrideDisabledPanels: u,
|
|
635
|
-
panelConstraints: n[g],
|
|
636
|
-
prevSize: z,
|
|
637
|
-
size: 100
|
|
638
|
-
}) - z;
|
|
639
|
-
if (p += y, g += d, g < 0 || g >= n.length)
|
|
640
|
-
break;
|
|
641
|
-
}
|
|
642
|
-
const b = Math.min(Math.abs(e), Math.abs(p));
|
|
643
|
-
e = e < 0 ? 0 - b : b;
|
|
644
|
-
}
|
|
645
|
-
{
|
|
646
|
-
let d = e < 0 ? c : h;
|
|
647
|
-
for (; d >= 0 && d < n.length; ) {
|
|
648
|
-
const g = Math.abs(e) - Math.abs(f), p = s[d];
|
|
649
|
-
P(
|
|
650
|
-
p != null,
|
|
651
|
-
`Previous layout not found for panel index ${d}`
|
|
652
|
-
);
|
|
653
|
-
const b = p - g, z = Q({
|
|
654
|
-
overrideDisabledPanels: u,
|
|
655
|
-
panelConstraints: n[d],
|
|
656
|
-
prevSize: p,
|
|
657
|
-
size: b
|
|
658
|
-
});
|
|
659
|
-
if (!R(p, z) && (f += p - z, l[d] = z, f.toFixed(3).localeCompare(Math.abs(e).toFixed(3), void 0, {
|
|
660
|
-
numeric: !0
|
|
661
|
-
}) >= 0))
|
|
662
|
-
break;
|
|
663
|
-
e < 0 ? d-- : d++;
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
if (Gt(i, l))
|
|
667
|
-
return r;
|
|
668
|
-
{
|
|
669
|
-
const d = e < 0 ? h : c, g = s[d];
|
|
670
|
-
P(
|
|
671
|
-
g != null,
|
|
672
|
-
`Previous layout not found for panel index ${d}`
|
|
673
|
-
);
|
|
674
|
-
const p = g + f, b = Q({
|
|
675
|
-
overrideDisabledPanels: u,
|
|
676
|
-
panelConstraints: n[d],
|
|
677
|
-
prevSize: g,
|
|
678
|
-
size: p
|
|
679
|
-
});
|
|
680
|
-
if (l[d] = b, !R(b, p)) {
|
|
681
|
-
let z = p - b, y = e < 0 ? h : c;
|
|
682
|
-
for (; y >= 0 && y < n.length; ) {
|
|
683
|
-
const v = l[y];
|
|
684
|
-
P(
|
|
685
|
-
v != null,
|
|
686
|
-
`Previous layout not found for panel index ${y}`
|
|
687
|
-
);
|
|
688
|
-
const L = v + z, k = Q({
|
|
689
|
-
overrideDisabledPanels: u,
|
|
690
|
-
panelConstraints: n[y],
|
|
691
|
-
prevSize: v,
|
|
692
|
-
size: L
|
|
693
|
-
});
|
|
694
|
-
if (R(v, k) || (z -= k - v, l[y] = k), R(z, 0))
|
|
695
|
-
break;
|
|
696
|
-
e > 0 ? y-- : y++;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
const S = Object.values(l).reduce(
|
|
701
|
-
(d, g) => g + d,
|
|
702
|
-
0
|
|
703
|
-
);
|
|
704
|
-
if (!R(S, 100, 0.1))
|
|
705
|
-
return r;
|
|
706
|
-
const m = Object.keys(r);
|
|
707
|
-
return l.reduce((d, g, p) => (d[m[p]] = g, d), {});
|
|
708
|
-
}
|
|
709
|
-
function Y(e, t) {
|
|
710
|
-
if (Object.keys(e).length !== Object.keys(t).length)
|
|
711
|
-
return !1;
|
|
712
|
-
for (const n in e)
|
|
713
|
-
if (t[n] === void 0 || N(e[n], t[n]) !== 0)
|
|
714
|
-
return !1;
|
|
715
|
-
return !0;
|
|
716
|
-
}
|
|
717
|
-
function X({
|
|
718
|
-
layout: e,
|
|
719
|
-
panelConstraints: t
|
|
720
|
-
}) {
|
|
721
|
-
const n = Object.values(e), o = [...n], r = o.reduce(
|
|
722
|
-
(s, i) => s + i,
|
|
723
|
-
0
|
|
724
|
-
);
|
|
725
|
-
if (o.length !== t.length)
|
|
726
|
-
throw Error(
|
|
727
|
-
`Invalid ${t.length} panel layout: ${o.map((s) => `${s}%`).join(", ")}`
|
|
728
|
-
);
|
|
729
|
-
if (!R(r, 100) && o.length > 0)
|
|
730
|
-
for (let s = 0; s < t.length; s++) {
|
|
731
|
-
const i = o[s];
|
|
732
|
-
P(i != null, `No layout data found for index ${s}`);
|
|
733
|
-
const l = 100 / r * i;
|
|
734
|
-
o[s] = l;
|
|
735
|
-
}
|
|
736
|
-
let a = 0;
|
|
737
|
-
for (let s = 0; s < t.length; s++) {
|
|
738
|
-
const i = n[s];
|
|
739
|
-
P(i != null, `No layout data found for index ${s}`);
|
|
740
|
-
const l = o[s];
|
|
741
|
-
P(l != null, `No layout data found for index ${s}`);
|
|
742
|
-
const c = Q({
|
|
743
|
-
overrideDisabledPanels: !0,
|
|
744
|
-
panelConstraints: t[s],
|
|
745
|
-
prevSize: i,
|
|
746
|
-
size: l
|
|
747
|
-
});
|
|
748
|
-
l != c && (a += l - c, o[s] = c);
|
|
749
|
-
}
|
|
750
|
-
if (!R(a, 0))
|
|
751
|
-
for (let s = 0; s < t.length; s++) {
|
|
752
|
-
const i = o[s];
|
|
753
|
-
P(i != null, `No layout data found for index ${s}`);
|
|
754
|
-
const l = i + a, c = Q({
|
|
755
|
-
overrideDisabledPanels: !0,
|
|
756
|
-
panelConstraints: t[s],
|
|
757
|
-
prevSize: i,
|
|
758
|
-
size: l
|
|
759
|
-
});
|
|
760
|
-
if (i !== c && (a -= c - i, o[s] = c, R(a, 0)))
|
|
761
|
-
break;
|
|
762
|
-
}
|
|
763
|
-
const u = Object.keys(e);
|
|
764
|
-
return o.reduce((s, i, l) => (s[u[l]] = i, s), {});
|
|
765
|
-
}
|
|
766
|
-
function ot({
|
|
767
|
-
groupId: e,
|
|
768
|
-
panelId: t
|
|
769
|
-
}) {
|
|
770
|
-
const n = () => {
|
|
771
|
-
const i = J();
|
|
772
|
-
for (const [
|
|
773
|
-
l,
|
|
774
|
-
{
|
|
775
|
-
defaultLayoutDeferred: c,
|
|
776
|
-
derivedPanelConstraints: h,
|
|
777
|
-
layout: f,
|
|
778
|
-
groupSize: S,
|
|
779
|
-
separatorToPanels: m
|
|
780
|
-
}
|
|
781
|
-
] of i)
|
|
782
|
-
if (l.id === e)
|
|
783
|
-
return {
|
|
784
|
-
defaultLayoutDeferred: c,
|
|
785
|
-
derivedPanelConstraints: h,
|
|
786
|
-
group: l,
|
|
787
|
-
groupSize: S,
|
|
788
|
-
layout: f,
|
|
789
|
-
separatorToPanels: m
|
|
790
|
-
};
|
|
791
|
-
throw Error(`Group ${e} not found`);
|
|
792
|
-
}, o = () => {
|
|
793
|
-
const i = n().derivedPanelConstraints.find(
|
|
794
|
-
(l) => l.panelId === t
|
|
795
|
-
);
|
|
796
|
-
if (i !== void 0)
|
|
797
|
-
return i;
|
|
798
|
-
throw Error(`Panel constraints not found for Panel ${t}`);
|
|
799
|
-
}, r = () => {
|
|
800
|
-
const i = n().group.panels.find((l) => l.id === t);
|
|
801
|
-
if (i !== void 0)
|
|
802
|
-
return i;
|
|
803
|
-
throw Error(`Layout not found for Panel ${t}`);
|
|
804
|
-
}, a = () => {
|
|
805
|
-
const i = n().layout[t];
|
|
806
|
-
if (i !== void 0)
|
|
807
|
-
return i;
|
|
808
|
-
throw Error(`Layout not found for Panel ${t}`);
|
|
809
|
-
}, u = ({
|
|
810
|
-
nextSize: i,
|
|
811
|
-
panels: l,
|
|
812
|
-
prevLayout: c,
|
|
813
|
-
derivedPanelConstraints: h
|
|
814
|
-
}) => {
|
|
815
|
-
const f = a(), S = l.findIndex((g) => g.id === t), m = S === 0, d = S === l.length - 1;
|
|
816
|
-
if (d && i < f && (m || l.slice(0, S).every((g, p) => {
|
|
817
|
-
const b = h[p];
|
|
818
|
-
return (b == null ? void 0 : b.collapsible) && R(b.collapsedSize, c[b.panelId]);
|
|
819
|
-
}))) {
|
|
820
|
-
const g = l.slice(0, S).reduce((p, b) => p + c[b.id], 0);
|
|
821
|
-
return {
|
|
822
|
-
...c,
|
|
823
|
-
[t]: I(100 - g)
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
return le({
|
|
827
|
-
delta: d ? f - i : i - f,
|
|
828
|
-
initialLayout: c,
|
|
829
|
-
panelConstraints: h,
|
|
830
|
-
pivotIndices: d ? [S - 1, S] : [S, S + 1],
|
|
831
|
-
prevLayout: c,
|
|
832
|
-
trigger: "imperative-api"
|
|
833
|
-
});
|
|
834
|
-
}, s = (i) => {
|
|
835
|
-
const l = a();
|
|
836
|
-
if (i === l)
|
|
837
|
-
return;
|
|
838
|
-
const {
|
|
839
|
-
defaultLayoutDeferred: c,
|
|
840
|
-
derivedPanelConstraints: h,
|
|
841
|
-
group: f,
|
|
842
|
-
groupSize: S,
|
|
843
|
-
layout: m,
|
|
844
|
-
separatorToPanels: d
|
|
845
|
-
} = n(), g = u({
|
|
846
|
-
nextSize: i,
|
|
847
|
-
panels: f.panels,
|
|
848
|
-
prevLayout: m,
|
|
849
|
-
derivedPanelConstraints: h
|
|
850
|
-
}), p = X({
|
|
851
|
-
layout: g,
|
|
852
|
-
panelConstraints: h
|
|
853
|
-
});
|
|
854
|
-
Y(m, p) || j(f, {
|
|
855
|
-
defaultLayoutDeferred: c,
|
|
856
|
-
derivedPanelConstraints: h,
|
|
857
|
-
groupSize: S,
|
|
858
|
-
layout: p,
|
|
859
|
-
separatorToPanels: d
|
|
860
|
-
});
|
|
861
|
-
};
|
|
862
|
-
return {
|
|
863
|
-
collapse: () => {
|
|
864
|
-
const { collapsible: i, collapsedSize: l } = o(), { mutableValues: c } = r(), h = a();
|
|
865
|
-
i && h !== l && (c.expandToSize = h, s(l));
|
|
866
|
-
},
|
|
867
|
-
expand: () => {
|
|
868
|
-
const { collapsible: i, collapsedSize: l, minSize: c } = o(), { mutableValues: h } = r(), f = a();
|
|
869
|
-
if (i && f === l) {
|
|
870
|
-
let S = h.expandToSize ?? c;
|
|
871
|
-
S === 0 && (S = 1), s(S);
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
getSize: () => {
|
|
875
|
-
const { group: i } = n(), l = a(), { element: c } = r(), h = i.orientation === "horizontal" ? c.offsetWidth : c.offsetHeight;
|
|
876
|
-
return {
|
|
877
|
-
asPercentage: l,
|
|
878
|
-
inPixels: h
|
|
879
|
-
};
|
|
880
|
-
},
|
|
881
|
-
isCollapsed: () => {
|
|
882
|
-
const { collapsible: i, collapsedSize: l } = o(), c = a();
|
|
883
|
-
return i && R(l, c);
|
|
884
|
-
},
|
|
885
|
-
resize: (i) => {
|
|
886
|
-
const { group: l } = n(), { element: c } = r(), h = te({ group: l }), f = ae({
|
|
887
|
-
groupSize: h,
|
|
888
|
-
panelElement: c,
|
|
889
|
-
styleProp: i
|
|
890
|
-
}), S = I(f / h * 100);
|
|
891
|
-
s(S);
|
|
892
|
-
}
|
|
893
|
-
};
|
|
894
|
-
}
|
|
895
|
-
function Ae(e) {
|
|
896
|
-
if (e.defaultPrevented)
|
|
897
|
-
return;
|
|
898
|
-
const t = J();
|
|
899
|
-
Se(e, t).forEach((n) => {
|
|
900
|
-
if (n.separator && !n.separator.disableDoubleClick) {
|
|
901
|
-
const o = n.panels.find(
|
|
902
|
-
(r) => r.panelConstraints.defaultSize !== void 0
|
|
903
|
-
);
|
|
904
|
-
if (o) {
|
|
905
|
-
const r = o.panelConstraints.defaultSize, a = ot({
|
|
906
|
-
groupId: n.group.id,
|
|
907
|
-
panelId: o.id
|
|
908
|
-
});
|
|
909
|
-
a && r !== void 0 && (a.resize(r), e.preventDefault());
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
});
|
|
913
|
-
}
|
|
914
|
-
function he(e) {
|
|
915
|
-
const t = J();
|
|
916
|
-
for (const [n] of t)
|
|
917
|
-
if (n.separators.some(
|
|
918
|
-
(o) => o.element === e
|
|
919
|
-
))
|
|
920
|
-
return n;
|
|
921
|
-
throw Error("Could not find parent Group for separator element");
|
|
922
|
-
}
|
|
923
|
-
function rt({
|
|
924
|
-
groupId: e
|
|
925
|
-
}) {
|
|
926
|
-
const t = () => {
|
|
927
|
-
const n = J();
|
|
928
|
-
for (const [o, r] of n)
|
|
929
|
-
if (o.id === e)
|
|
930
|
-
return { group: o, ...r };
|
|
931
|
-
throw Error(`Could not find Group with id "${e}"`);
|
|
932
|
-
};
|
|
933
|
-
return {
|
|
934
|
-
getLayout() {
|
|
935
|
-
const { defaultLayoutDeferred: n, layout: o } = t();
|
|
936
|
-
return n ? {} : o;
|
|
937
|
-
},
|
|
938
|
-
setLayout(n) {
|
|
939
|
-
const {
|
|
940
|
-
defaultLayoutDeferred: o,
|
|
941
|
-
derivedPanelConstraints: r,
|
|
942
|
-
group: a,
|
|
943
|
-
groupSize: u,
|
|
944
|
-
layout: s,
|
|
945
|
-
separatorToPanels: i
|
|
946
|
-
} = t(), l = X({
|
|
947
|
-
layout: n,
|
|
948
|
-
panelConstraints: r
|
|
949
|
-
});
|
|
950
|
-
return o ? s : (Y(s, l) || j(a, {
|
|
951
|
-
defaultLayoutDeferred: o,
|
|
952
|
-
derivedPanelConstraints: r,
|
|
953
|
-
groupSize: u,
|
|
954
|
-
layout: l,
|
|
955
|
-
separatorToPanels: i
|
|
956
|
-
}), l);
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
function H(e, t) {
|
|
961
|
-
const n = he(e), o = V(n.id, !0), r = n.separators.find(
|
|
962
|
-
(c) => c.element === e
|
|
963
|
-
);
|
|
964
|
-
P(r, "Matching separator not found");
|
|
965
|
-
const a = o.separatorToPanels.get(r);
|
|
966
|
-
P(a, "Matching panels not found");
|
|
967
|
-
const u = a.map((c) => n.panels.indexOf(c)), s = rt({ groupId: n.id }).getLayout(), i = le({
|
|
968
|
-
delta: t,
|
|
969
|
-
initialLayout: s,
|
|
970
|
-
panelConstraints: o.derivedPanelConstraints,
|
|
971
|
-
pivotIndices: u,
|
|
972
|
-
prevLayout: s,
|
|
973
|
-
trigger: "keyboard"
|
|
974
|
-
}), l = X({
|
|
975
|
-
layout: i,
|
|
976
|
-
panelConstraints: o.derivedPanelConstraints
|
|
977
|
-
});
|
|
978
|
-
Y(s, l) || j(n, {
|
|
979
|
-
defaultLayoutDeferred: o.defaultLayoutDeferred,
|
|
980
|
-
derivedPanelConstraints: o.derivedPanelConstraints,
|
|
981
|
-
groupSize: o.groupSize,
|
|
982
|
-
layout: l,
|
|
983
|
-
separatorToPanels: o.separatorToPanels
|
|
984
|
-
});
|
|
985
|
-
}
|
|
986
|
-
function $e(e) {
|
|
987
|
-
if (e.defaultPrevented)
|
|
988
|
-
return;
|
|
989
|
-
const t = e.currentTarget, n = he(t);
|
|
990
|
-
if (!n.disabled)
|
|
991
|
-
switch (e.key) {
|
|
992
|
-
case "ArrowDown": {
|
|
993
|
-
e.preventDefault(), n.orientation === "vertical" && H(t, 5);
|
|
994
|
-
break;
|
|
995
|
-
}
|
|
996
|
-
case "ArrowLeft": {
|
|
997
|
-
e.preventDefault(), n.orientation === "horizontal" && H(t, -5);
|
|
998
|
-
break;
|
|
999
|
-
}
|
|
1000
|
-
case "ArrowRight": {
|
|
1001
|
-
e.preventDefault(), n.orientation === "horizontal" && H(t, 5);
|
|
1002
|
-
break;
|
|
1003
|
-
}
|
|
1004
|
-
case "ArrowUp": {
|
|
1005
|
-
e.preventDefault(), n.orientation === "vertical" && H(t, -5);
|
|
1006
|
-
break;
|
|
1007
|
-
}
|
|
1008
|
-
case "End": {
|
|
1009
|
-
e.preventDefault(), H(t, 100);
|
|
1010
|
-
break;
|
|
1011
|
-
}
|
|
1012
|
-
case "Enter": {
|
|
1013
|
-
e.preventDefault();
|
|
1014
|
-
const o = he(t), r = V(o.id, !0), { derivedPanelConstraints: a, layout: u, separatorToPanels: s } = r, i = o.separators.find(
|
|
1015
|
-
(f) => f.element === t
|
|
1016
|
-
);
|
|
1017
|
-
P(i, "Matching separator not found");
|
|
1018
|
-
const l = s.get(i);
|
|
1019
|
-
P(l, "Matching panels not found");
|
|
1020
|
-
const c = l[0], h = a.find(
|
|
1021
|
-
(f) => f.panelId === c.id
|
|
1022
|
-
);
|
|
1023
|
-
if (P(h, "Panel metadata not found"), h.collapsible) {
|
|
1024
|
-
const f = u[c.id], S = h.collapsedSize === f ? o.mutableState.expandedPanelSizes[c.id] ?? h.minSize : h.collapsedSize;
|
|
1025
|
-
H(t, S - f);
|
|
1026
|
-
}
|
|
1027
|
-
break;
|
|
1028
|
-
}
|
|
1029
|
-
case "F6": {
|
|
1030
|
-
e.preventDefault();
|
|
1031
|
-
const o = he(t).separators.map(
|
|
1032
|
-
(u) => u.element
|
|
1033
|
-
), r = Array.from(o).findIndex(
|
|
1034
|
-
(u) => u === e.currentTarget
|
|
1035
|
-
);
|
|
1036
|
-
P(r !== null, "Index not found");
|
|
1037
|
-
const a = e.shiftKey ? r > 0 ? r - 1 : o.length - 1 : r + 1 < o.length ? r + 1 : 0;
|
|
1038
|
-
o[a].focus({
|
|
1039
|
-
preventScroll: !0
|
|
1040
|
-
});
|
|
1041
|
-
break;
|
|
1042
|
-
}
|
|
1043
|
-
case "Home": {
|
|
1044
|
-
e.preventDefault(), H(t, -100);
|
|
1045
|
-
break;
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
let _ = {
|
|
1050
|
-
cursorFlags: 0,
|
|
1051
|
-
state: "inactive"
|
|
1052
|
-
};
|
|
1053
|
-
const we = new et();
|
|
1054
|
-
function q() {
|
|
1055
|
-
return _;
|
|
1056
|
-
}
|
|
1057
|
-
function jt(e) {
|
|
1058
|
-
return we.addListener("change", e);
|
|
759
|
+
return q;
|
|
1059
760
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1062
|
-
n.cursorFlags = e, _ = n, we.emit("change", {
|
|
1063
|
-
prev: t,
|
|
1064
|
-
next: n
|
|
1065
|
-
});
|
|
1066
|
-
}
|
|
1067
|
-
function ee(e) {
|
|
1068
|
-
const t = _;
|
|
1069
|
-
_ = e, we.emit("change", {
|
|
1070
|
-
prev: t,
|
|
1071
|
-
next: e
|
|
1072
|
-
});
|
|
761
|
+
function be(e) {
|
|
762
|
+
return ye.addListener("change", e);
|
|
1073
763
|
}
|
|
1074
|
-
function Ge(e) {
|
|
1075
|
-
if (e.defaultPrevented || e.pointerType === "mouse" && e.button > 0)
|
|
1076
|
-
return;
|
|
1077
|
-
const t = J(), n = Se(e, t), o = /* @__PURE__ */ new Map();
|
|
1078
|
-
let r = !1;
|
|
1079
|
-
n.forEach((a) => {
|
|
1080
|
-
a.separator && (r || (r = !0, a.separator.element.focus({
|
|
1081
|
-
// @ts-expect-error https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#browser_compatibility
|
|
1082
|
-
focusVisible: !1,
|
|
1083
|
-
preventScroll: !0
|
|
1084
|
-
})));
|
|
1085
|
-
const u = t.get(a.group);
|
|
1086
|
-
u && o.set(a.group, u.layout);
|
|
1087
|
-
}), ee({
|
|
1088
|
-
cursorFlags: 0,
|
|
1089
|
-
hitRegions: n,
|
|
1090
|
-
initialLayoutMap: o,
|
|
1091
|
-
pointerDownAtPoint: { x: e.clientX, y: e.clientY },
|
|
1092
|
-
state: "active"
|
|
1093
|
-
}), n.length && e.preventDefault();
|
|
1094
|
-
}
|
|
1095
|
-
const Wt = (e) => e, me = () => {
|
|
1096
|
-
}, at = 1, it = 2, st = 4, lt = 8, je = 3, Be = 12;
|
|
1097
|
-
let fe;
|
|
1098
|
-
function We() {
|
|
1099
|
-
return fe === void 0 && (fe = !1, typeof window < "u" && (window.navigator.userAgent.includes("Chrome") || window.navigator.userAgent.includes("Firefox")) && (fe = !0)), fe;
|
|
1100
|
-
}
|
|
1101
|
-
function Vt({
|
|
1102
|
-
cursorFlags: e,
|
|
1103
|
-
groups: t,
|
|
1104
|
-
state: n
|
|
1105
|
-
}) {
|
|
1106
|
-
let o = 0, r = 0;
|
|
1107
|
-
switch (n) {
|
|
1108
|
-
case "active":
|
|
1109
|
-
case "hover":
|
|
1110
|
-
t.forEach((a) => {
|
|
1111
|
-
if (!a.mutableState.disableCursor)
|
|
1112
|
-
switch (a.orientation) {
|
|
1113
|
-
case "horizontal": {
|
|
1114
|
-
o++;
|
|
1115
|
-
break;
|
|
1116
|
-
}
|
|
1117
|
-
case "vertical": {
|
|
1118
|
-
r++;
|
|
1119
|
-
break;
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
});
|
|
1123
|
-
}
|
|
1124
|
-
if (!(o === 0 && r === 0)) {
|
|
1125
|
-
switch (n) {
|
|
1126
|
-
case "active": {
|
|
1127
|
-
if (e && We()) {
|
|
1128
|
-
const a = (e & at) !== 0, u = (e & it) !== 0, s = (e & st) !== 0, i = (e & lt) !== 0;
|
|
1129
|
-
if (a)
|
|
1130
|
-
return s ? "se-resize" : i ? "ne-resize" : "e-resize";
|
|
1131
|
-
if (u)
|
|
1132
|
-
return s ? "sw-resize" : i ? "nw-resize" : "w-resize";
|
|
1133
|
-
if (s)
|
|
1134
|
-
return "s-resize";
|
|
1135
|
-
if (i)
|
|
1136
|
-
return "n-resize";
|
|
1137
|
-
}
|
|
1138
|
-
break;
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
return We() ? o > 0 && r > 0 ? "move" : o > 0 ? "ew-resize" : "ns-resize" : o > 0 && r > 0 ? "grab" : o > 0 ? "col-resize" : "row-resize";
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
const Ve = /* @__PURE__ */ new WeakMap();
|
|
1145
764
|
function xe(e) {
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
765
|
+
let t = q, n = { ...q };
|
|
766
|
+
n.cursorFlags = e, q = n, ye.emit("change", {
|
|
767
|
+
prev: t,
|
|
768
|
+
next: n
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
function Y(e) {
|
|
772
|
+
let t = q;
|
|
773
|
+
q = e, ye.emit("change", {
|
|
774
|
+
prev: t,
|
|
775
|
+
next: e
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
function Se(e) {
|
|
779
|
+
if (e.defaultPrevented || e.pointerType === "mouse" && e.button > 0) return;
|
|
780
|
+
let t = F(), n = R(e, t), r = /* @__PURE__ */ new Map(), i = !1;
|
|
781
|
+
n.forEach((e) => {
|
|
782
|
+
e.separator && (i || (i = !0, e.separator.element.focus({
|
|
783
|
+
focusVisible: !1,
|
|
784
|
+
preventScroll: !0
|
|
785
|
+
})));
|
|
786
|
+
let n = t.get(e.group);
|
|
787
|
+
n && r.set(e.group, n.layout);
|
|
788
|
+
}), Y({
|
|
789
|
+
cursorFlags: 0,
|
|
790
|
+
hitRegions: n,
|
|
791
|
+
initialLayoutMap: r,
|
|
792
|
+
pointerDownAtPoint: {
|
|
793
|
+
x: e.clientX,
|
|
794
|
+
y: e.clientY
|
|
795
|
+
},
|
|
796
|
+
state: "active"
|
|
797
|
+
}), n.length && e.preventDefault();
|
|
798
|
+
}
|
|
799
|
+
var Ce = (e) => e, we = () => {}, Te = 1, Ee = 2, De = 4, Oe = 8, ke = 3, Ae = 12, X;
|
|
800
|
+
function je() {
|
|
801
|
+
return X === void 0 && (X = !1, typeof window < "u" && (window.navigator.userAgent.includes("Chrome") || window.navigator.userAgent.includes("Firefox")) && (X = !0)), X;
|
|
802
|
+
}
|
|
803
|
+
function Me({ cursorFlags: e, groups: t, state: n }) {
|
|
804
|
+
let r = 0, i = 0;
|
|
805
|
+
switch (n) {
|
|
806
|
+
case "active":
|
|
807
|
+
case "hover": t.forEach((e) => {
|
|
808
|
+
if (!e.mutableState.disableCursor) switch (e.orientation) {
|
|
809
|
+
case "horizontal":
|
|
810
|
+
r++;
|
|
811
|
+
break;
|
|
812
|
+
case "vertical": i++;
|
|
813
|
+
}
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
if (r !== 0 || i !== 0) {
|
|
817
|
+
if (n === "active" && e && je()) {
|
|
818
|
+
let t = (e & Te) !== 0, n = (e & Ee) !== 0, r = (e & De) !== 0, i = (e & Oe) !== 0;
|
|
819
|
+
if (t) return r ? "se-resize" : i ? "ne-resize" : "e-resize";
|
|
820
|
+
if (n) return r ? "sw-resize" : i ? "nw-resize" : "w-resize";
|
|
821
|
+
if (r) return "s-resize";
|
|
822
|
+
if (i) return "n-resize";
|
|
823
|
+
}
|
|
824
|
+
return je() ? r > 0 && i > 0 ? "move" : r > 0 ? "ew-resize" : "ns-resize" : r > 0 && i > 0 ? "grab" : r > 0 ? "col-resize" : "row-resize";
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
var Ne = /* @__PURE__ */ new WeakMap();
|
|
828
|
+
function Pe(e) {
|
|
829
|
+
if (e.defaultView === null || e.defaultView === void 0) return;
|
|
830
|
+
let { prevStyle: t, styleSheet: n } = Ne.get(e) ?? {};
|
|
831
|
+
n === void 0 && (n = new e.defaultView.CSSStyleSheet(), e.adoptedStyleSheets && (Object.isExtensible(e.adoptedStyleSheets) ? e.adoptedStyleSheets.push(n) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, n]));
|
|
832
|
+
let r = J();
|
|
833
|
+
switch (r.state) {
|
|
834
|
+
case "active":
|
|
835
|
+
case "hover": {
|
|
836
|
+
let e = Me({
|
|
837
|
+
cursorFlags: r.cursorFlags,
|
|
838
|
+
groups: r.hitRegions.map((e) => e.group),
|
|
839
|
+
state: r.state
|
|
840
|
+
}), i = `*, *:hover {cursor: ${e} !important; }`;
|
|
841
|
+
if (t === i) return;
|
|
842
|
+
t = i, e ? n.cssRules.length === 0 ? n.insertRule(i) : n.replaceSync(i) : n.cssRules.length === 1 && n.deleteRule(0);
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
case "inactive": t = void 0, n.cssRules.length === 1 && n.deleteRule(0);
|
|
846
|
+
}
|
|
847
|
+
Ne.set(e, {
|
|
848
|
+
prevStyle: t,
|
|
849
|
+
styleSheet: n
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
function Fe({ document: e, event: t, hitRegions: n, initialLayoutMap: r, mountedGroups: i, pointerDownAtPoint: a, prevCursorFlags: o }) {
|
|
853
|
+
let s = 0;
|
|
854
|
+
n.forEach((e) => {
|
|
855
|
+
let { group: n, groupSize: o } = e, { orientation: c, panels: l } = n, { disableCursor: u } = n.mutableState, d = 0;
|
|
856
|
+
d = a ? c === "horizontal" ? (t.clientX - a.x) / o * 100 : (t.clientY - a.y) / o * 100 : c === "horizontal" ? t.clientX < 0 ? -100 : 100 : t.clientY < 0 ? -100 : 100;
|
|
857
|
+
let f = r.get(n), p = i.get(n);
|
|
858
|
+
if (!f || !p) return;
|
|
859
|
+
let { defaultLayoutDeferred: m, derivedPanelConstraints: h, groupSize: g, layout: _, separatorToPanels: v } = p;
|
|
860
|
+
if (h && _ && v) {
|
|
861
|
+
let t = H({
|
|
862
|
+
delta: d,
|
|
863
|
+
initialLayout: f,
|
|
864
|
+
panelConstraints: h,
|
|
865
|
+
pivotIndices: e.panels.map((e) => l.indexOf(e)),
|
|
866
|
+
prevLayout: _,
|
|
867
|
+
trigger: "mouse-or-touch"
|
|
868
|
+
});
|
|
869
|
+
if (U(t, _)) {
|
|
870
|
+
if (d !== 0 && !u) switch (c) {
|
|
871
|
+
case "horizontal":
|
|
872
|
+
s |= d < 0 ? Te : Ee;
|
|
873
|
+
break;
|
|
874
|
+
case "vertical": s |= d < 0 ? De : Oe;
|
|
875
|
+
}
|
|
876
|
+
} else L(e.group, {
|
|
877
|
+
defaultLayoutDeferred: m,
|
|
878
|
+
derivedPanelConstraints: h,
|
|
879
|
+
groupSize: g,
|
|
880
|
+
layout: t,
|
|
881
|
+
separatorToPanels: v
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
});
|
|
885
|
+
let c = 0;
|
|
886
|
+
t.movementX === 0 ? c |= o & ke : c |= s & ke, t.movementY === 0 ? c |= o & Ae : c |= s & Ae, xe(c), Pe(e);
|
|
887
|
+
}
|
|
888
|
+
function Ie(e) {
|
|
889
|
+
let t = F(), n = J();
|
|
890
|
+
n.state === "active" && Fe({
|
|
891
|
+
document: e.currentTarget,
|
|
892
|
+
event: e,
|
|
893
|
+
hitRegions: n.hitRegions,
|
|
894
|
+
initialLayoutMap: n.initialLayoutMap,
|
|
895
|
+
mountedGroups: t,
|
|
896
|
+
prevCursorFlags: n.cursorFlags
|
|
897
|
+
});
|
|
1248
898
|
}
|
|
1249
|
-
function
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
899
|
+
function Le(e) {
|
|
900
|
+
if (e.defaultPrevented) return;
|
|
901
|
+
let t = J(), n = F();
|
|
902
|
+
switch (t.state) {
|
|
903
|
+
case "active":
|
|
904
|
+
if (e.buttons === 0) {
|
|
905
|
+
Y({
|
|
906
|
+
cursorFlags: 0,
|
|
907
|
+
state: "inactive"
|
|
908
|
+
}), t.hitRegions.forEach((e) => {
|
|
909
|
+
let t = P(e.group.id, !0);
|
|
910
|
+
L(e.group, t);
|
|
911
|
+
});
|
|
912
|
+
return;
|
|
913
|
+
}
|
|
914
|
+
for (let n of t.hitRegions) if (n.separator) {
|
|
915
|
+
let { element: t } = n.separator;
|
|
916
|
+
t.hasPointerCapture?.(e.pointerId) || t.setPointerCapture?.(e.pointerId);
|
|
917
|
+
}
|
|
918
|
+
Fe({
|
|
919
|
+
document: e.currentTarget,
|
|
920
|
+
event: e,
|
|
921
|
+
hitRegions: t.hitRegions,
|
|
922
|
+
initialLayoutMap: t.initialLayoutMap,
|
|
923
|
+
mountedGroups: n,
|
|
924
|
+
pointerDownAtPoint: t.pointerDownAtPoint,
|
|
925
|
+
prevCursorFlags: t.cursorFlags
|
|
926
|
+
});
|
|
927
|
+
break;
|
|
928
|
+
default: {
|
|
929
|
+
let r = R(e, n);
|
|
930
|
+
r.length === 0 ? t.state !== "inactive" && Y({
|
|
931
|
+
cursorFlags: 0,
|
|
932
|
+
state: "inactive"
|
|
933
|
+
}) : Y({
|
|
934
|
+
cursorFlags: 0,
|
|
935
|
+
hitRegions: r,
|
|
936
|
+
state: "hover"
|
|
937
|
+
}), Pe(e.currentTarget);
|
|
938
|
+
break;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
function Re(e) {
|
|
943
|
+
if (e.relatedTarget instanceof HTMLIFrameElement) switch (J().state) {
|
|
944
|
+
case "hover": Y({
|
|
945
|
+
cursorFlags: 0,
|
|
946
|
+
state: "inactive"
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
function ze(e) {
|
|
951
|
+
if (e.defaultPrevented || e.pointerType === "mouse" && e.button > 0) return;
|
|
952
|
+
let t = J();
|
|
953
|
+
t.state === "active" && (Y({
|
|
954
|
+
cursorFlags: 0,
|
|
955
|
+
state: "inactive"
|
|
956
|
+
}), t.hitRegions.length > 0 && (Pe(e.currentTarget), t.hitRegions.forEach((e) => {
|
|
957
|
+
let t = P(e.group.id, !0);
|
|
958
|
+
L(e.group, t);
|
|
959
|
+
}), e.preventDefault()));
|
|
960
|
+
}
|
|
961
|
+
function Be(e) {
|
|
962
|
+
let t = 0, n = 0, r = {};
|
|
963
|
+
for (let i of e) if (i.defaultSize !== void 0) {
|
|
964
|
+
t++;
|
|
965
|
+
let e = v(i.defaultSize);
|
|
966
|
+
n += e, r[i.panelId] = e;
|
|
967
|
+
} else r[i.panelId] = void 0;
|
|
968
|
+
let i = e.length - t;
|
|
969
|
+
if (i !== 0) {
|
|
970
|
+
let t = v((100 - n) / i);
|
|
971
|
+
for (let n of e) n.defaultSize === void 0 && (r[n.panelId] = t);
|
|
972
|
+
}
|
|
973
|
+
return r;
|
|
974
|
+
}
|
|
975
|
+
function Ve(e, t, n) {
|
|
976
|
+
if (!n[0]) return;
|
|
977
|
+
let r = e.panels.find((e) => e.element === t);
|
|
978
|
+
if (!r || !r.onResize) return;
|
|
979
|
+
let i = y({ group: e }), a = e.orientation === "horizontal" ? r.element.offsetWidth : r.element.offsetHeight, o = r.mutableValues.prevSize, s = {
|
|
980
|
+
asPercentage: v(a / i * 100),
|
|
981
|
+
inPixels: a
|
|
982
|
+
};
|
|
983
|
+
r.mutableValues.prevSize = s, r.onResize(s, r.id, o);
|
|
984
|
+
}
|
|
985
|
+
function He(e, t) {
|
|
986
|
+
if (Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
987
|
+
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
988
|
+
return !0;
|
|
989
|
+
}
|
|
990
|
+
function Ue({ group: e, nextGroupSize: t, prevGroupSize: n, prevLayout: r }) {
|
|
991
|
+
if (n <= 0 || t <= 0 || n === t) return r;
|
|
992
|
+
let i = 0, a = 0, o = !1, s = /* @__PURE__ */ new Map(), c = [];
|
|
993
|
+
for (let l of e.panels) {
|
|
994
|
+
let e = r[l.id] ?? 0;
|
|
995
|
+
switch (l.panelConstraints.groupResizeBehavior) {
|
|
996
|
+
case "preserve-pixel-size": {
|
|
997
|
+
o = !0;
|
|
998
|
+
let r = v(e / 100 * n / t * 100);
|
|
999
|
+
s.set(l.id, r), i += r;
|
|
1000
|
+
break;
|
|
1001
|
+
}
|
|
1002
|
+
default: c.push(l.id), a += e;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
if (!o || c.length === 0) return r;
|
|
1006
|
+
let l = 100 - i, u = { ...r };
|
|
1007
|
+
if (s.forEach((e, t) => {
|
|
1008
|
+
u[t] = e;
|
|
1009
|
+
}), a > 0) for (let e of c) u[e] = v((r[e] ?? 0) / a * l);
|
|
1010
|
+
else {
|
|
1011
|
+
let e = v(l / c.length);
|
|
1012
|
+
for (let t of c) u[t] = e;
|
|
1013
|
+
}
|
|
1014
|
+
return u;
|
|
1015
|
+
}
|
|
1016
|
+
function We(e, t) {
|
|
1017
|
+
let n = e.map((e) => e.id), r = Object.keys(t);
|
|
1018
|
+
if (n.length !== r.length) return !1;
|
|
1019
|
+
for (let e of n) if (!r.includes(e)) return !1;
|
|
1020
|
+
return !0;
|
|
1021
|
+
}
|
|
1022
|
+
var Z = /* @__PURE__ */ new Map();
|
|
1023
|
+
function Ge(e) {
|
|
1024
|
+
let t = !0;
|
|
1025
|
+
x(e.element.ownerDocument.defaultView, "Cannot register an unmounted Group");
|
|
1026
|
+
let n = e.element.ownerDocument.defaultView.ResizeObserver, r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), a = new n((n) => {
|
|
1027
|
+
for (let r of n) {
|
|
1028
|
+
let { borderBoxSize: n, target: i } = r;
|
|
1029
|
+
if (i === e.element) {
|
|
1030
|
+
if (t) {
|
|
1031
|
+
let t = y({ group: e });
|
|
1032
|
+
if (t === 0) return;
|
|
1033
|
+
let n = P(e.id);
|
|
1034
|
+
if (!n) return;
|
|
1035
|
+
let r = b(e), i = n.defaultLayoutDeferred ? Be(r) : n.layout, a = W({
|
|
1036
|
+
layout: Ue({
|
|
1037
|
+
group: e,
|
|
1038
|
+
nextGroupSize: t,
|
|
1039
|
+
prevGroupSize: n.groupSize,
|
|
1040
|
+
prevLayout: i
|
|
1041
|
+
}),
|
|
1042
|
+
panelConstraints: r
|
|
1043
|
+
});
|
|
1044
|
+
if (!n.defaultLayoutDeferred && U(n.layout, a) && He(n.derivedPanelConstraints, r) && n.groupSize === t) return;
|
|
1045
|
+
L(e, {
|
|
1046
|
+
defaultLayoutDeferred: !1,
|
|
1047
|
+
derivedPanelConstraints: r,
|
|
1048
|
+
groupSize: t,
|
|
1049
|
+
layout: a,
|
|
1050
|
+
separatorToPanels: n.separatorToPanels
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
} else Ve(e, i, n);
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
a.observe(e.element), e.panels.forEach((e) => {
|
|
1057
|
+
x(!r.has(e.id), `Panel ids must be unique; id "${e.id}" was used more than once`), r.add(e.id), e.onResize && a.observe(e.element);
|
|
1058
|
+
});
|
|
1059
|
+
let o = y({ group: e }), s = b(e), c = e.panels.map(({ id: e }) => e).join(","), l = e.mutableState.defaultLayout;
|
|
1060
|
+
l && (We(e.panels, l) || (l = void 0));
|
|
1061
|
+
let u = W({
|
|
1062
|
+
layout: e.mutableState.layouts[c] ?? l ?? Be(s),
|
|
1063
|
+
panelConstraints: s
|
|
1064
|
+
}), d = e.element.ownerDocument;
|
|
1065
|
+
Z.set(d, (Z.get(d) ?? 0) + 1);
|
|
1066
|
+
let f = /* @__PURE__ */ new Map();
|
|
1067
|
+
return A(e).forEach((e) => {
|
|
1068
|
+
e.separator && f.set(e.separator, e.panels);
|
|
1069
|
+
}), L(e, {
|
|
1070
|
+
defaultLayoutDeferred: o === 0,
|
|
1071
|
+
derivedPanelConstraints: s,
|
|
1072
|
+
groupSize: o,
|
|
1073
|
+
layout: u,
|
|
1074
|
+
separatorToPanels: f
|
|
1075
|
+
}), e.separators.forEach((e) => {
|
|
1076
|
+
x(!i.has(e.id), `Separator ids must be unique; id "${e.id}" was used more than once`), i.add(e.id), e.element.addEventListener("keydown", ve);
|
|
1077
|
+
}), Z.get(d) === 1 && (d.addEventListener("dblclick", ge, !0), d.addEventListener("pointerdown", Se, !0), d.addEventListener("pointerleave", Ie), d.addEventListener("pointermove", Le), d.addEventListener("pointerout", Re), d.addEventListener("pointerup", ze, !0)), function() {
|
|
1078
|
+
t = !1, Z.set(d, Math.max(0, (Z.get(d) ?? 0) - 1)), ee(e), e.separators.forEach((e) => {
|
|
1079
|
+
e.element.removeEventListener("keydown", ve);
|
|
1080
|
+
}), Z.get(d) || (d.removeEventListener("dblclick", ge, !0), d.removeEventListener("pointerdown", Se, !0), d.removeEventListener("pointerleave", Ie), d.removeEventListener("pointermove", Le), d.removeEventListener("pointerout", Re), d.removeEventListener("pointerup", ze, !0)), a.disconnect();
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
function Ke() {
|
|
1084
|
+
let [e, n] = l({});
|
|
1085
|
+
return [e, t(() => n({}), [])];
|
|
1308
1086
|
}
|
|
1309
1087
|
function qe(e) {
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
function
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
n += u, o[a.panelId] = u;
|
|
1332
|
-
} else
|
|
1333
|
-
o[a.panelId] = void 0;
|
|
1334
|
-
const r = e.length - t;
|
|
1335
|
-
if (r !== 0) {
|
|
1336
|
-
const a = I((100 - n) / r);
|
|
1337
|
-
for (const u of e)
|
|
1338
|
-
u.defaultSize === void 0 && (o[u.panelId] = a);
|
|
1339
|
-
}
|
|
1340
|
-
return o;
|
|
1341
|
-
}
|
|
1342
|
-
function Ht(e, t, n) {
|
|
1343
|
-
if (!n[0])
|
|
1344
|
-
return;
|
|
1345
|
-
const o = e.panels.find((i) => i.element === t);
|
|
1346
|
-
if (!o || !o.onResize)
|
|
1347
|
-
return;
|
|
1348
|
-
const r = te({ group: e }), a = e.orientation === "horizontal" ? o.element.offsetWidth : o.element.offsetHeight, u = o.mutableValues.prevSize, s = {
|
|
1349
|
-
asPercentage: I(a / r * 100),
|
|
1350
|
-
inPixels: a
|
|
1351
|
-
};
|
|
1352
|
-
o.mutableValues.prevSize = s, o.onResize(s, o.id, u);
|
|
1353
|
-
}
|
|
1354
|
-
function Yt(e, t) {
|
|
1355
|
-
if (Object.keys(e).length !== Object.keys(t).length)
|
|
1356
|
-
return !1;
|
|
1357
|
-
for (const n in e)
|
|
1358
|
-
if (e[n] !== t[n])
|
|
1359
|
-
return !1;
|
|
1360
|
-
return !0;
|
|
1361
|
-
}
|
|
1362
|
-
function Xt({
|
|
1363
|
-
group: e,
|
|
1364
|
-
nextGroupSize: t,
|
|
1365
|
-
prevGroupSize: n,
|
|
1366
|
-
prevLayout: o
|
|
1367
|
-
}) {
|
|
1368
|
-
if (n <= 0 || t <= 0 || n === t)
|
|
1369
|
-
return o;
|
|
1370
|
-
let r = 0, a = 0, u = !1;
|
|
1371
|
-
const s = /* @__PURE__ */ new Map(), i = [];
|
|
1372
|
-
for (const h of e.panels) {
|
|
1373
|
-
const f = o[h.id] ?? 0;
|
|
1374
|
-
switch (h.panelConstraints.groupResizeBehavior) {
|
|
1375
|
-
case "preserve-pixel-size": {
|
|
1376
|
-
u = !0;
|
|
1377
|
-
const S = f / 100 * n, m = I(
|
|
1378
|
-
S / t * 100
|
|
1379
|
-
);
|
|
1380
|
-
s.set(h.id, m), r += m;
|
|
1381
|
-
break;
|
|
1382
|
-
}
|
|
1383
|
-
case "preserve-relative-size":
|
|
1384
|
-
default: {
|
|
1385
|
-
i.push(h.id), a += f;
|
|
1386
|
-
break;
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
if (!u || i.length === 0)
|
|
1391
|
-
return o;
|
|
1392
|
-
const l = 100 - r, c = { ...o };
|
|
1393
|
-
if (s.forEach((h, f) => {
|
|
1394
|
-
c[f] = h;
|
|
1395
|
-
}), a > 0)
|
|
1396
|
-
for (const h of i) {
|
|
1397
|
-
const f = o[h] ?? 0;
|
|
1398
|
-
c[h] = I(
|
|
1399
|
-
f / a * l
|
|
1400
|
-
);
|
|
1401
|
-
}
|
|
1402
|
-
else {
|
|
1403
|
-
const h = I(
|
|
1404
|
-
l / i.length
|
|
1405
|
-
);
|
|
1406
|
-
for (const f of i)
|
|
1407
|
-
c[f] = h;
|
|
1408
|
-
}
|
|
1409
|
-
return c;
|
|
1410
|
-
}
|
|
1411
|
-
function qt(e, t) {
|
|
1412
|
-
const n = e.map((r) => r.id), o = Object.keys(t);
|
|
1413
|
-
if (n.length !== o.length)
|
|
1414
|
-
return !1;
|
|
1415
|
-
for (const r of n)
|
|
1416
|
-
if (!o.includes(r))
|
|
1417
|
-
return !1;
|
|
1418
|
-
return !0;
|
|
1419
|
-
}
|
|
1420
|
-
const K = /* @__PURE__ */ new Map();
|
|
1421
|
-
function Jt(e) {
|
|
1422
|
-
let t = !0;
|
|
1423
|
-
P(
|
|
1424
|
-
e.element.ownerDocument.defaultView,
|
|
1425
|
-
"Cannot register an unmounted Group"
|
|
1426
|
-
);
|
|
1427
|
-
const n = e.element.ownerDocument.defaultView.ResizeObserver, o = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), a = new n((m) => {
|
|
1428
|
-
for (const d of m) {
|
|
1429
|
-
const { borderBoxSize: g, target: p } = d;
|
|
1430
|
-
if (p === e.element) {
|
|
1431
|
-
if (t) {
|
|
1432
|
-
const b = te({ group: e });
|
|
1433
|
-
if (b === 0)
|
|
1434
|
-
return;
|
|
1435
|
-
const z = V(e.id);
|
|
1436
|
-
if (!z)
|
|
1437
|
-
return;
|
|
1438
|
-
const y = be(e), v = z.defaultLayoutDeferred ? Je(y) : z.layout, L = Xt({
|
|
1439
|
-
group: e,
|
|
1440
|
-
nextGroupSize: b,
|
|
1441
|
-
prevGroupSize: z.groupSize,
|
|
1442
|
-
prevLayout: v
|
|
1443
|
-
}), k = X({
|
|
1444
|
-
layout: L,
|
|
1445
|
-
panelConstraints: y
|
|
1446
|
-
});
|
|
1447
|
-
if (!z.defaultLayoutDeferred && Y(z.layout, k) && Yt(
|
|
1448
|
-
z.derivedPanelConstraints,
|
|
1449
|
-
y
|
|
1450
|
-
) && z.groupSize === b)
|
|
1451
|
-
return;
|
|
1452
|
-
j(e, {
|
|
1453
|
-
defaultLayoutDeferred: !1,
|
|
1454
|
-
derivedPanelConstraints: y,
|
|
1455
|
-
groupSize: b,
|
|
1456
|
-
layout: k,
|
|
1457
|
-
separatorToPanels: z.separatorToPanels
|
|
1458
|
-
});
|
|
1459
|
-
}
|
|
1460
|
-
} else
|
|
1461
|
-
Ht(e, p, g);
|
|
1462
|
-
}
|
|
1463
|
-
});
|
|
1464
|
-
a.observe(e.element), e.panels.forEach((m) => {
|
|
1465
|
-
P(
|
|
1466
|
-
!o.has(m.id),
|
|
1467
|
-
`Panel ids must be unique; id "${m.id}" was used more than once`
|
|
1468
|
-
), o.add(m.id), m.onResize && a.observe(m.element);
|
|
1469
|
-
});
|
|
1470
|
-
const u = te({ group: e }), s = be(e), i = e.panels.map(({ id: m }) => m).join(",");
|
|
1471
|
-
let l = e.mutableState.defaultLayout;
|
|
1472
|
-
l && (qt(e.panels, l) || (l = void 0));
|
|
1473
|
-
const c = e.mutableState.layouts[i] ?? l ?? Je(s), h = X({
|
|
1474
|
-
layout: c,
|
|
1475
|
-
panelConstraints: s
|
|
1476
|
-
}), f = e.element.ownerDocument;
|
|
1477
|
-
K.set(
|
|
1478
|
-
f,
|
|
1479
|
-
(K.get(f) ?? 0) + 1
|
|
1480
|
-
);
|
|
1481
|
-
const S = /* @__PURE__ */ new Map();
|
|
1482
|
-
return _e(e).forEach((m) => {
|
|
1483
|
-
m.separator && S.set(m.separator, m.panels);
|
|
1484
|
-
}), j(e, {
|
|
1485
|
-
defaultLayoutDeferred: u === 0,
|
|
1486
|
-
derivedPanelConstraints: s,
|
|
1487
|
-
groupSize: u,
|
|
1488
|
-
layout: h,
|
|
1489
|
-
separatorToPanels: S
|
|
1490
|
-
}), e.separators.forEach((m) => {
|
|
1491
|
-
P(
|
|
1492
|
-
!r.has(m.id),
|
|
1493
|
-
`Separator ids must be unique; id "${m.id}" was used more than once`
|
|
1494
|
-
), r.add(m.id), m.element.addEventListener("keydown", $e);
|
|
1495
|
-
}), K.get(f) === 1 && (f.addEventListener("dblclick", Ae, !0), f.addEventListener("pointerdown", Ge, !0), f.addEventListener("pointerleave", He), f.addEventListener("pointermove", Ye), f.addEventListener("pointerout", Xe), f.addEventListener("pointerup", qe, !0)), function() {
|
|
1496
|
-
t = !1, K.set(
|
|
1497
|
-
f,
|
|
1498
|
-
Math.max(0, (K.get(f) ?? 0) - 1)
|
|
1499
|
-
), Dt(e), e.separators.forEach((m) => {
|
|
1500
|
-
m.element.removeEventListener("keydown", $e);
|
|
1501
|
-
}), K.get(f) || (f.removeEventListener(
|
|
1502
|
-
"dblclick",
|
|
1503
|
-
Ae,
|
|
1504
|
-
!0
|
|
1505
|
-
), f.removeEventListener(
|
|
1506
|
-
"pointerdown",
|
|
1507
|
-
Ge,
|
|
1508
|
-
!0
|
|
1509
|
-
), f.removeEventListener("pointerleave", He), f.removeEventListener("pointermove", Ye), f.removeEventListener("pointerout", Xe), f.removeEventListener("pointerup", qe, !0)), a.disconnect();
|
|
1510
|
-
};
|
|
1511
|
-
}
|
|
1512
|
-
function Ut() {
|
|
1513
|
-
const [e, t] = pe({}), n = Ue(() => t({}), []);
|
|
1514
|
-
return [e, n];
|
|
1515
|
-
}
|
|
1516
|
-
function Ce(e) {
|
|
1517
|
-
const t = mt();
|
|
1518
|
-
return `${e ?? t}`;
|
|
1519
|
-
}
|
|
1520
|
-
const U = typeof window < "u" ? yt : ge;
|
|
1521
|
-
function ie(e) {
|
|
1522
|
-
const t = F(e);
|
|
1523
|
-
return U(() => {
|
|
1524
|
-
t.current = e;
|
|
1525
|
-
}, [e]), Ue(
|
|
1526
|
-
(...n) => {
|
|
1527
|
-
var o;
|
|
1528
|
-
return (o = t.current) == null ? void 0 : o.call(t, ...n);
|
|
1529
|
-
},
|
|
1530
|
-
[t]
|
|
1531
|
-
);
|
|
1532
|
-
}
|
|
1533
|
-
function Pe(...e) {
|
|
1534
|
-
return ie((t) => {
|
|
1535
|
-
e.forEach((n) => {
|
|
1536
|
-
if (n)
|
|
1537
|
-
switch (typeof n) {
|
|
1538
|
-
case "function": {
|
|
1539
|
-
n(t);
|
|
1540
|
-
break;
|
|
1541
|
-
}
|
|
1542
|
-
case "object": {
|
|
1543
|
-
n.current = t;
|
|
1544
|
-
break;
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
});
|
|
1548
|
-
});
|
|
1088
|
+
let t = i();
|
|
1089
|
+
return `${e ?? t}`;
|
|
1090
|
+
}
|
|
1091
|
+
var Q = typeof window < "u" ? o : r;
|
|
1092
|
+
function $(e) {
|
|
1093
|
+
let n = c(e);
|
|
1094
|
+
return Q(() => {
|
|
1095
|
+
n.current = e;
|
|
1096
|
+
}, [e]), t((...e) => n.current?.(...e), [n]);
|
|
1097
|
+
}
|
|
1098
|
+
function Je(...e) {
|
|
1099
|
+
return $((t) => {
|
|
1100
|
+
e.forEach((e) => {
|
|
1101
|
+
if (e) switch (typeof e) {
|
|
1102
|
+
case "function":
|
|
1103
|
+
e(t);
|
|
1104
|
+
break;
|
|
1105
|
+
case "object": e.current = t;
|
|
1106
|
+
}
|
|
1107
|
+
});
|
|
1108
|
+
});
|
|
1549
1109
|
}
|
|
1550
|
-
function
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
id: g,
|
|
1840
|
-
idIsStable: d,
|
|
1841
|
-
mutableValues: {
|
|
1842
|
-
expandToSize: void 0,
|
|
1843
|
-
prevSize: void 0
|
|
1844
|
-
},
|
|
1845
|
-
onResize: O ? $ : void 0,
|
|
1846
|
-
panelConstraints: {
|
|
1847
|
-
groupResizeBehavior: s,
|
|
1848
|
-
collapsedSize: n,
|
|
1849
|
-
collapsible: o,
|
|
1850
|
-
defaultSize: r,
|
|
1851
|
-
disabled: p.disabled,
|
|
1852
|
-
maxSize: l,
|
|
1853
|
-
minSize: c
|
|
1854
|
-
}
|
|
1855
|
-
};
|
|
1856
|
-
return k(D);
|
|
1857
|
-
}
|
|
1858
|
-
}, [
|
|
1859
|
-
s,
|
|
1860
|
-
n,
|
|
1861
|
-
o,
|
|
1862
|
-
r,
|
|
1863
|
-
O,
|
|
1864
|
-
g,
|
|
1865
|
-
d,
|
|
1866
|
-
l,
|
|
1867
|
-
c,
|
|
1868
|
-
$,
|
|
1869
|
-
k,
|
|
1870
|
-
p
|
|
1871
|
-
]), ge(() => {
|
|
1872
|
-
E(g, { disabled: a });
|
|
1873
|
-
}, [a, g, E]), Qt(g, f);
|
|
1874
|
-
const w = () => {
|
|
1875
|
-
const C = y(v, g);
|
|
1876
|
-
if (C)
|
|
1877
|
-
return JSON.stringify(C);
|
|
1878
|
-
}, x = gt(
|
|
1879
|
-
(C) => ze(v, C),
|
|
1880
|
-
w,
|
|
1881
|
-
w
|
|
1882
|
-
);
|
|
1883
|
-
let M;
|
|
1884
|
-
return x ? M = JSON.parse(x) : r !== void 0 ? M = {
|
|
1885
|
-
flexGrow: void 0,
|
|
1886
|
-
flexShrink: void 0,
|
|
1887
|
-
flexBasis: r
|
|
1888
|
-
} : M = { flexGrow: 1 }, /* @__PURE__ */ se(
|
|
1889
|
-
"div",
|
|
1890
|
-
{
|
|
1891
|
-
...m,
|
|
1892
|
-
"data-disabled": a || void 0,
|
|
1893
|
-
"data-panel": !0,
|
|
1894
|
-
"data-testid": g,
|
|
1895
|
-
id: g,
|
|
1896
|
-
ref: z,
|
|
1897
|
-
style: {
|
|
1898
|
-
...en,
|
|
1899
|
-
display: "flex",
|
|
1900
|
-
flexBasis: 0,
|
|
1901
|
-
flexShrink: 1,
|
|
1902
|
-
overflow: "visible",
|
|
1903
|
-
...M
|
|
1904
|
-
},
|
|
1905
|
-
children: /* @__PURE__ */ se(
|
|
1906
|
-
"div",
|
|
1907
|
-
{
|
|
1908
|
-
className: t,
|
|
1909
|
-
style: {
|
|
1910
|
-
maxHeight: "100%",
|
|
1911
|
-
maxWidth: "100%",
|
|
1912
|
-
flexGrow: 1,
|
|
1913
|
-
overflow: "auto",
|
|
1914
|
-
...S,
|
|
1915
|
-
// Inform the browser that the library is handling touch events for this element
|
|
1916
|
-
// but still allow users to scroll content within panels in the non-resizing direction
|
|
1917
|
-
// NOTE This is not an inherited style
|
|
1918
|
-
// See github.com/bvaughn/react-resizable-panels/issues/662
|
|
1919
|
-
touchAction: L === "horizontal" ? "pan-y" : "pan-x"
|
|
1920
|
-
},
|
|
1921
|
-
children: e
|
|
1922
|
-
}
|
|
1923
|
-
)
|
|
1924
|
-
}
|
|
1925
|
-
);
|
|
1926
|
-
}
|
|
1927
|
-
_t.displayName = "Panel";
|
|
1928
|
-
const en = {
|
|
1929
|
-
minHeight: 0,
|
|
1930
|
-
maxHeight: "100%",
|
|
1931
|
-
height: "auto",
|
|
1932
|
-
minWidth: 0,
|
|
1933
|
-
maxWidth: "100%",
|
|
1934
|
-
width: "auto",
|
|
1935
|
-
border: "none",
|
|
1936
|
-
borderWidth: 0,
|
|
1937
|
-
padding: 0,
|
|
1938
|
-
margin: 0
|
|
1939
|
-
};
|
|
1940
|
-
function tn({
|
|
1941
|
-
layout: e,
|
|
1942
|
-
panelConstraints: t,
|
|
1943
|
-
panelId: n,
|
|
1944
|
-
panelIndex: o
|
|
1945
|
-
}) {
|
|
1946
|
-
let r, a;
|
|
1947
|
-
const u = e[n], s = t.find(
|
|
1948
|
-
(i) => i.panelId === n
|
|
1949
|
-
);
|
|
1950
|
-
if (s) {
|
|
1951
|
-
const i = s.maxSize, l = s.collapsible ? s.collapsedSize : s.minSize, c = [o, o + 1];
|
|
1952
|
-
a = X({
|
|
1953
|
-
layout: le({
|
|
1954
|
-
delta: l - u,
|
|
1955
|
-
initialLayout: e,
|
|
1956
|
-
panelConstraints: t,
|
|
1957
|
-
pivotIndices: c,
|
|
1958
|
-
prevLayout: e
|
|
1959
|
-
}),
|
|
1960
|
-
panelConstraints: t
|
|
1961
|
-
})[n], r = X({
|
|
1962
|
-
layout: le({
|
|
1963
|
-
delta: i - u,
|
|
1964
|
-
initialLayout: e,
|
|
1965
|
-
panelConstraints: t,
|
|
1966
|
-
pivotIndices: c,
|
|
1967
|
-
prevLayout: e
|
|
1968
|
-
}),
|
|
1969
|
-
panelConstraints: t
|
|
1970
|
-
})[n];
|
|
1971
|
-
}
|
|
1972
|
-
return {
|
|
1973
|
-
valueControls: n,
|
|
1974
|
-
valueMax: r,
|
|
1975
|
-
valueMin: a,
|
|
1976
|
-
valueNow: u
|
|
1977
|
-
};
|
|
1978
|
-
}
|
|
1979
|
-
function nn({
|
|
1980
|
-
children: e,
|
|
1981
|
-
className: t,
|
|
1982
|
-
disabled: n,
|
|
1983
|
-
disableDoubleClick: o,
|
|
1984
|
-
elementRef: r,
|
|
1985
|
-
id: a,
|
|
1986
|
-
style: u,
|
|
1987
|
-
...s
|
|
1988
|
-
}) {
|
|
1989
|
-
const i = Ce(a), l = Le({
|
|
1990
|
-
disabled: n,
|
|
1991
|
-
disableDoubleClick: o
|
|
1992
|
-
}), [c, h] = pe({}), [f, S] = pe("inactive"), [m, d] = pe(!1), g = F(null), p = Pe(g, r), {
|
|
1993
|
-
disableCursor: b,
|
|
1994
|
-
id: z,
|
|
1995
|
-
orientation: y,
|
|
1996
|
-
registerSeparator: v,
|
|
1997
|
-
updateSeparatorProps: L
|
|
1998
|
-
} = ke(), k = y === "horizontal" ? "vertical" : "horizontal";
|
|
1999
|
-
U(() => {
|
|
2000
|
-
const $ = g.current;
|
|
2001
|
-
if ($ !== null) {
|
|
2002
|
-
const w = {
|
|
2003
|
-
disabled: l.disabled,
|
|
2004
|
-
disableDoubleClick: l.disableDoubleClick,
|
|
2005
|
-
element: $,
|
|
2006
|
-
id: i
|
|
2007
|
-
}, x = v(w), M = jt(
|
|
2008
|
-
(D) => {
|
|
2009
|
-
S(
|
|
2010
|
-
D.next.state !== "inactive" && D.next.hitRegions.some(
|
|
2011
|
-
(T) => T.separator === w
|
|
2012
|
-
) ? D.next.state : "inactive"
|
|
2013
|
-
);
|
|
2014
|
-
}
|
|
2015
|
-
), C = ze(
|
|
2016
|
-
z,
|
|
2017
|
-
(D) => {
|
|
2018
|
-
const { derivedPanelConstraints: T, layout: ne, separatorToPanels: ue } = D.next, oe = ue.get(w);
|
|
2019
|
-
if (oe) {
|
|
2020
|
-
const B = oe[0], Z = oe.indexOf(B);
|
|
2021
|
-
h(
|
|
2022
|
-
tn({
|
|
2023
|
-
layout: ne,
|
|
2024
|
-
panelConstraints: T,
|
|
2025
|
-
panelId: B.id,
|
|
2026
|
-
panelIndex: Z
|
|
2027
|
-
})
|
|
2028
|
-
);
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
);
|
|
2032
|
-
return () => {
|
|
2033
|
-
M(), C(), x();
|
|
2034
|
-
};
|
|
2035
|
-
}
|
|
2036
|
-
}, [z, i, v, l]), ge(() => {
|
|
2037
|
-
L(i, { disabled: n, disableDoubleClick: o });
|
|
2038
|
-
}, [n, o, i, L]);
|
|
2039
|
-
let E;
|
|
2040
|
-
n && !b && (E = "not-allowed");
|
|
2041
|
-
let O;
|
|
2042
|
-
if (n)
|
|
2043
|
-
O = "disabled";
|
|
2044
|
-
else
|
|
2045
|
-
switch (f) {
|
|
2046
|
-
case "active": {
|
|
2047
|
-
O = "active";
|
|
2048
|
-
break;
|
|
2049
|
-
}
|
|
2050
|
-
default:
|
|
2051
|
-
m ? O = "focus" : O = f;
|
|
2052
|
-
}
|
|
2053
|
-
return /* @__PURE__ */ se(
|
|
2054
|
-
"div",
|
|
2055
|
-
{
|
|
2056
|
-
...s,
|
|
2057
|
-
"aria-controls": c.valueControls,
|
|
2058
|
-
"aria-disabled": n || void 0,
|
|
2059
|
-
"aria-orientation": k,
|
|
2060
|
-
"aria-valuemax": c.valueMax,
|
|
2061
|
-
"aria-valuemin": c.valueMin,
|
|
2062
|
-
"aria-valuenow": c.valueNow,
|
|
2063
|
-
children: e,
|
|
2064
|
-
className: t,
|
|
2065
|
-
"data-separator": O,
|
|
2066
|
-
"data-testid": i,
|
|
2067
|
-
id: i,
|
|
2068
|
-
onBlur: () => d(!1),
|
|
2069
|
-
onFocus: () => d(!0),
|
|
2070
|
-
ref: p,
|
|
2071
|
-
role: "separator",
|
|
2072
|
-
style: {
|
|
2073
|
-
flexBasis: "auto",
|
|
2074
|
-
cursor: E,
|
|
2075
|
-
...u,
|
|
2076
|
-
flexGrow: 0,
|
|
2077
|
-
flexShrink: 0,
|
|
2078
|
-
// Inform the browser that the library is handling touch events for this element
|
|
2079
|
-
// See github.com/bvaughn/react-resizable-panels/issues/662
|
|
2080
|
-
touchAction: "none"
|
|
2081
|
-
},
|
|
2082
|
-
tabIndex: n ? void 0 : 0
|
|
2083
|
-
}
|
|
2084
|
-
);
|
|
2085
|
-
}
|
|
2086
|
-
nn.displayName = "Separator";
|
|
2087
|
-
export {
|
|
2088
|
-
Kt as Group,
|
|
2089
|
-
_t as Panel,
|
|
2090
|
-
nn as Separator,
|
|
2091
|
-
Et as isCoarsePointer
|
|
1110
|
+
function Ye(e) {
|
|
1111
|
+
let t = c({ ...e });
|
|
1112
|
+
return Q(() => {
|
|
1113
|
+
for (let n in e) t.current[n] = e[n];
|
|
1114
|
+
}, [e]), t.current;
|
|
1115
|
+
}
|
|
1116
|
+
var Xe = e(null);
|
|
1117
|
+
function Ze(e, t) {
|
|
1118
|
+
let n = c({
|
|
1119
|
+
getLayout: () => ({}),
|
|
1120
|
+
setLayout: Ce
|
|
1121
|
+
});
|
|
1122
|
+
a(t, () => n.current, []), Q(() => {
|
|
1123
|
+
Object.assign(n.current, _e({ groupId: e }));
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
function Qe({ children: e, className: t, defaultLayout: n, disableCursor: i, disabled: a, elementRef: o, groupRef: l, id: u, onLayoutChange: f, onLayoutChanged: p, orientation: m = "horizontal", resizeTargetMinimumSize: h = {
|
|
1127
|
+
coarse: 20,
|
|
1128
|
+
fine: 10
|
|
1129
|
+
}, style: g, ..._ }) {
|
|
1130
|
+
let v = c({
|
|
1131
|
+
onLayoutChange: {},
|
|
1132
|
+
onLayoutChanged: {}
|
|
1133
|
+
}), y = $((e) => {
|
|
1134
|
+
U(v.current.onLayoutChange, e) || (v.current.onLayoutChange = e, f?.(e));
|
|
1135
|
+
}), x = $((e) => {
|
|
1136
|
+
U(v.current.onLayoutChanged, e) || (v.current.onLayoutChanged = e, p?.(e));
|
|
1137
|
+
}), C = qe(u), w = c(null), [T, E] = Ke(), D = c({
|
|
1138
|
+
lastExpandedPanelSizes: {},
|
|
1139
|
+
layouts: {},
|
|
1140
|
+
panels: [],
|
|
1141
|
+
resizeTargetMinimumSize: h,
|
|
1142
|
+
separators: []
|
|
1143
|
+
}), O = Je(w, o);
|
|
1144
|
+
Ze(C, l);
|
|
1145
|
+
let k = $((e, t) => {
|
|
1146
|
+
let r = J(), i = te(e), a = P(e);
|
|
1147
|
+
if (a) {
|
|
1148
|
+
let e = !1;
|
|
1149
|
+
return r.state === "active" && (e = r.hitRegions.some((e) => e.group === i)), {
|
|
1150
|
+
flexGrow: a.layout[t] ?? 1,
|
|
1151
|
+
pointerEvents: e ? "none" : void 0
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
if (n?.[t]) return { flexGrow: n?.[t] };
|
|
1155
|
+
}), A = Ye({
|
|
1156
|
+
defaultLayout: n,
|
|
1157
|
+
disableCursor: i
|
|
1158
|
+
}), j = s(() => ({
|
|
1159
|
+
get disableCursor() {
|
|
1160
|
+
return !!A.disableCursor;
|
|
1161
|
+
},
|
|
1162
|
+
getPanelStyles: k,
|
|
1163
|
+
id: C,
|
|
1164
|
+
orientation: m,
|
|
1165
|
+
registerPanel: (e) => {
|
|
1166
|
+
let t = D.current;
|
|
1167
|
+
return t.panels = S(m, [...t.panels, e]), E(), () => {
|
|
1168
|
+
t.panels = t.panels.filter((t) => t !== e), E();
|
|
1169
|
+
};
|
|
1170
|
+
},
|
|
1171
|
+
registerSeparator: (e) => {
|
|
1172
|
+
let t = D.current;
|
|
1173
|
+
return t.separators = S(m, [...t.separators, e]), E(), () => {
|
|
1174
|
+
t.separators = t.separators.filter((t) => t !== e), E();
|
|
1175
|
+
};
|
|
1176
|
+
},
|
|
1177
|
+
updatePanelProps: (e, { disabled: t }) => {
|
|
1178
|
+
let n = D.current.panels.find((t) => t.id === e);
|
|
1179
|
+
n && (n.panelConstraints.disabled = t);
|
|
1180
|
+
let r = te(C), i = P(C);
|
|
1181
|
+
r && i && L(r, {
|
|
1182
|
+
...i,
|
|
1183
|
+
derivedPanelConstraints: b(r)
|
|
1184
|
+
});
|
|
1185
|
+
},
|
|
1186
|
+
updateSeparatorProps: (e, { disabled: t, disableDoubleClick: n }) => {
|
|
1187
|
+
let r = D.current.separators.find((t) => t.id === e);
|
|
1188
|
+
r && (r.disabled = t, r.disableDoubleClick = n);
|
|
1189
|
+
}
|
|
1190
|
+
}), [
|
|
1191
|
+
k,
|
|
1192
|
+
C,
|
|
1193
|
+
E,
|
|
1194
|
+
m,
|
|
1195
|
+
A
|
|
1196
|
+
]), M = c(null);
|
|
1197
|
+
return Q(() => {
|
|
1198
|
+
let e = w.current;
|
|
1199
|
+
if (e === null) return;
|
|
1200
|
+
let t = D.current, n;
|
|
1201
|
+
if (A.defaultLayout !== void 0 && Object.keys(A.defaultLayout).length === t.panels.length) {
|
|
1202
|
+
n = {};
|
|
1203
|
+
for (let e of t.panels) {
|
|
1204
|
+
let t = A.defaultLayout[e.id];
|
|
1205
|
+
t !== void 0 && (n[e.id] = t);
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
let r = {
|
|
1209
|
+
disabled: !!a,
|
|
1210
|
+
element: e,
|
|
1211
|
+
id: C,
|
|
1212
|
+
mutableState: {
|
|
1213
|
+
defaultLayout: n,
|
|
1214
|
+
disableCursor: !!A.disableCursor,
|
|
1215
|
+
expandedPanelSizes: D.current.lastExpandedPanelSizes,
|
|
1216
|
+
layouts: D.current.layouts
|
|
1217
|
+
},
|
|
1218
|
+
orientation: m,
|
|
1219
|
+
panels: t.panels,
|
|
1220
|
+
resizeTargetMinimumSize: t.resizeTargetMinimumSize,
|
|
1221
|
+
separators: t.separators
|
|
1222
|
+
};
|
|
1223
|
+
M.current = r;
|
|
1224
|
+
let i = Ge(r), { defaultLayoutDeferred: o, derivedPanelConstraints: s, layout: c } = P(r.id, !0);
|
|
1225
|
+
!o && s.length > 0 && (y(c), x(c));
|
|
1226
|
+
let l = I(C, (e) => {
|
|
1227
|
+
let { defaultLayoutDeferred: t, derivedPanelConstraints: n, layout: i } = e.next;
|
|
1228
|
+
if (t || n.length === 0) return;
|
|
1229
|
+
let a = r.panels.map(({ id: e }) => e).join(",");
|
|
1230
|
+
r.mutableState.layouts[a] = i, n.forEach((t) => {
|
|
1231
|
+
if (t.collapsible) {
|
|
1232
|
+
let { layout: n } = e.prev ?? {};
|
|
1233
|
+
if (n) {
|
|
1234
|
+
let e = z(t.collapsedSize, i[t.panelId]), a = z(t.collapsedSize, n[t.panelId]);
|
|
1235
|
+
e && !a && (r.mutableState.expandedPanelSizes[t.panelId] = n[t.panelId]);
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
});
|
|
1239
|
+
let o = J().state !== "active";
|
|
1240
|
+
y(i), o && x(i);
|
|
1241
|
+
});
|
|
1242
|
+
return () => {
|
|
1243
|
+
M.current = null, i(), l();
|
|
1244
|
+
};
|
|
1245
|
+
}, [
|
|
1246
|
+
a,
|
|
1247
|
+
C,
|
|
1248
|
+
x,
|
|
1249
|
+
y,
|
|
1250
|
+
m,
|
|
1251
|
+
T,
|
|
1252
|
+
A
|
|
1253
|
+
]), r(() => {
|
|
1254
|
+
let e = M.current;
|
|
1255
|
+
e && (e.mutableState.defaultLayout = n, e.mutableState.disableCursor = !!i);
|
|
1256
|
+
}), /* @__PURE__ */ d(Xe.Provider, {
|
|
1257
|
+
value: j,
|
|
1258
|
+
children: /* @__PURE__ */ d("div", {
|
|
1259
|
+
..._,
|
|
1260
|
+
className: t,
|
|
1261
|
+
"data-group": !0,
|
|
1262
|
+
"data-testid": C,
|
|
1263
|
+
id: C,
|
|
1264
|
+
ref: O,
|
|
1265
|
+
style: {
|
|
1266
|
+
height: "100%",
|
|
1267
|
+
width: "100%",
|
|
1268
|
+
overflow: "hidden",
|
|
1269
|
+
...g,
|
|
1270
|
+
display: "flex",
|
|
1271
|
+
flexDirection: m === "horizontal" ? "row" : "column",
|
|
1272
|
+
flexWrap: "nowrap",
|
|
1273
|
+
touchAction: m === "horizontal" ? "pan-y" : "pan-x"
|
|
1274
|
+
},
|
|
1275
|
+
children: e
|
|
1276
|
+
})
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
Qe.displayName = "Group";
|
|
1280
|
+
function $e() {
|
|
1281
|
+
let e = n(Xe);
|
|
1282
|
+
return x(e, "Group Context not found; did you render a Panel or Separator outside of a Group?"), e;
|
|
1283
|
+
}
|
|
1284
|
+
function et(e, t) {
|
|
1285
|
+
let { id: n } = $e(), r = c({
|
|
1286
|
+
collapse: we,
|
|
1287
|
+
expand: we,
|
|
1288
|
+
getSize: () => ({
|
|
1289
|
+
asPercentage: 0,
|
|
1290
|
+
inPixels: 0
|
|
1291
|
+
}),
|
|
1292
|
+
isCollapsed: () => !1,
|
|
1293
|
+
resize: we
|
|
1294
|
+
});
|
|
1295
|
+
a(t, () => r.current, []), Q(() => {
|
|
1296
|
+
Object.assign(r.current, he({
|
|
1297
|
+
groupId: n,
|
|
1298
|
+
panelId: e
|
|
1299
|
+
}));
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
function tt({ children: e, className: t, collapsedSize: n = "0%", collapsible: i = !1, defaultSize: a, disabled: o, elementRef: s, groupResizeBehavior: l = "preserve-relative-size", id: f, maxSize: p = "100%", minSize: m = "0%", onResize: h, panelRef: g, style: _, ...v }) {
|
|
1303
|
+
let y = !!f, b = qe(f), x = Ye({ disabled: o }), S = c(null), C = Je(S, s), { getPanelStyles: w, id: T, orientation: E, registerPanel: D, updatePanelProps: O } = $e(), k = h !== null, A = $((e, t, n) => {
|
|
1304
|
+
h?.(e, f, n);
|
|
1305
|
+
});
|
|
1306
|
+
Q(() => {
|
|
1307
|
+
let e = S.current;
|
|
1308
|
+
if (e !== null) {
|
|
1309
|
+
let t = {
|
|
1310
|
+
element: e,
|
|
1311
|
+
id: b,
|
|
1312
|
+
idIsStable: y,
|
|
1313
|
+
mutableValues: {
|
|
1314
|
+
expandToSize: void 0,
|
|
1315
|
+
prevSize: void 0
|
|
1316
|
+
},
|
|
1317
|
+
onResize: k ? A : void 0,
|
|
1318
|
+
panelConstraints: {
|
|
1319
|
+
groupResizeBehavior: l,
|
|
1320
|
+
collapsedSize: n,
|
|
1321
|
+
collapsible: i,
|
|
1322
|
+
defaultSize: a,
|
|
1323
|
+
disabled: x.disabled,
|
|
1324
|
+
maxSize: p,
|
|
1325
|
+
minSize: m
|
|
1326
|
+
}
|
|
1327
|
+
};
|
|
1328
|
+
return D(t);
|
|
1329
|
+
}
|
|
1330
|
+
}, [
|
|
1331
|
+
l,
|
|
1332
|
+
n,
|
|
1333
|
+
i,
|
|
1334
|
+
a,
|
|
1335
|
+
k,
|
|
1336
|
+
b,
|
|
1337
|
+
y,
|
|
1338
|
+
p,
|
|
1339
|
+
m,
|
|
1340
|
+
A,
|
|
1341
|
+
D,
|
|
1342
|
+
x
|
|
1343
|
+
]), r(() => {
|
|
1344
|
+
O(b, { disabled: o });
|
|
1345
|
+
}, [
|
|
1346
|
+
o,
|
|
1347
|
+
b,
|
|
1348
|
+
O
|
|
1349
|
+
]), et(b, g);
|
|
1350
|
+
let j = () => {
|
|
1351
|
+
let e = w(T, b);
|
|
1352
|
+
if (e) return JSON.stringify(e);
|
|
1353
|
+
}, M = u((e) => I(T, e), j, j), N;
|
|
1354
|
+
return N = M ? JSON.parse(M) : a === void 0 ? { flexGrow: 1 } : {
|
|
1355
|
+
flexGrow: void 0,
|
|
1356
|
+
flexShrink: void 0,
|
|
1357
|
+
flexBasis: a
|
|
1358
|
+
}, /* @__PURE__ */ d("div", {
|
|
1359
|
+
...v,
|
|
1360
|
+
"data-disabled": o || void 0,
|
|
1361
|
+
"data-panel": !0,
|
|
1362
|
+
"data-testid": b,
|
|
1363
|
+
id: b,
|
|
1364
|
+
ref: C,
|
|
1365
|
+
style: {
|
|
1366
|
+
...nt,
|
|
1367
|
+
display: "flex",
|
|
1368
|
+
flexBasis: 0,
|
|
1369
|
+
flexShrink: 1,
|
|
1370
|
+
overflow: "visible",
|
|
1371
|
+
...N
|
|
1372
|
+
},
|
|
1373
|
+
children: /* @__PURE__ */ d("div", {
|
|
1374
|
+
className: t,
|
|
1375
|
+
style: {
|
|
1376
|
+
maxHeight: "100%",
|
|
1377
|
+
maxWidth: "100%",
|
|
1378
|
+
flexGrow: 1,
|
|
1379
|
+
overflow: "auto",
|
|
1380
|
+
..._,
|
|
1381
|
+
touchAction: E === "horizontal" ? "pan-y" : "pan-x"
|
|
1382
|
+
},
|
|
1383
|
+
children: e
|
|
1384
|
+
})
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
tt.displayName = "Panel";
|
|
1388
|
+
var nt = {
|
|
1389
|
+
minHeight: 0,
|
|
1390
|
+
maxHeight: "100%",
|
|
1391
|
+
height: "auto",
|
|
1392
|
+
minWidth: 0,
|
|
1393
|
+
maxWidth: "100%",
|
|
1394
|
+
width: "auto",
|
|
1395
|
+
border: "none",
|
|
1396
|
+
borderWidth: 0,
|
|
1397
|
+
padding: 0,
|
|
1398
|
+
margin: 0
|
|
2092
1399
|
};
|
|
2093
|
-
|
|
1400
|
+
function rt({ layout: e, panelConstraints: t, panelId: n, panelIndex: r }) {
|
|
1401
|
+
let i, a, o = e[n], s = t.find((e) => e.panelId === n);
|
|
1402
|
+
if (s) {
|
|
1403
|
+
let c = s.maxSize, l = s.collapsible ? s.collapsedSize : s.minSize, u = [r, r + 1];
|
|
1404
|
+
a = W({
|
|
1405
|
+
layout: H({
|
|
1406
|
+
delta: l - o,
|
|
1407
|
+
initialLayout: e,
|
|
1408
|
+
panelConstraints: t,
|
|
1409
|
+
pivotIndices: u,
|
|
1410
|
+
prevLayout: e
|
|
1411
|
+
}),
|
|
1412
|
+
panelConstraints: t
|
|
1413
|
+
})[n], i = W({
|
|
1414
|
+
layout: H({
|
|
1415
|
+
delta: c - o,
|
|
1416
|
+
initialLayout: e,
|
|
1417
|
+
panelConstraints: t,
|
|
1418
|
+
pivotIndices: u,
|
|
1419
|
+
prevLayout: e
|
|
1420
|
+
}),
|
|
1421
|
+
panelConstraints: t
|
|
1422
|
+
})[n];
|
|
1423
|
+
}
|
|
1424
|
+
return {
|
|
1425
|
+
valueControls: n,
|
|
1426
|
+
valueMax: i,
|
|
1427
|
+
valueMin: a,
|
|
1428
|
+
valueNow: o
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
function it({ children: e, className: t, disabled: n, disableDoubleClick: i, elementRef: a, id: o, style: s, ...u }) {
|
|
1432
|
+
let f = qe(o), p = Ye({
|
|
1433
|
+
disabled: n,
|
|
1434
|
+
disableDoubleClick: i
|
|
1435
|
+
}), [m, h] = l({}), [g, _] = l("inactive"), [v, y] = l(!1), b = c(null), x = Je(b, a), { disableCursor: S, id: C, orientation: w, registerSeparator: T, updateSeparatorProps: E } = $e(), D = w === "horizontal" ? "vertical" : "horizontal";
|
|
1436
|
+
Q(() => {
|
|
1437
|
+
let e = b.current;
|
|
1438
|
+
if (e !== null) {
|
|
1439
|
+
let t = {
|
|
1440
|
+
disabled: p.disabled,
|
|
1441
|
+
disableDoubleClick: p.disableDoubleClick,
|
|
1442
|
+
element: e,
|
|
1443
|
+
id: f
|
|
1444
|
+
}, n = T(t), r = be((e) => {
|
|
1445
|
+
_(e.next.state !== "inactive" && e.next.hitRegions.some((e) => e.separator === t) ? e.next.state : "inactive");
|
|
1446
|
+
}), i = I(C, (e) => {
|
|
1447
|
+
let { derivedPanelConstraints: n, layout: r, separatorToPanels: i } = e.next, a = i.get(t);
|
|
1448
|
+
if (a) {
|
|
1449
|
+
let e = a[0], t = a.indexOf(e);
|
|
1450
|
+
h(rt({
|
|
1451
|
+
layout: r,
|
|
1452
|
+
panelConstraints: n,
|
|
1453
|
+
panelId: e.id,
|
|
1454
|
+
panelIndex: t
|
|
1455
|
+
}));
|
|
1456
|
+
}
|
|
1457
|
+
});
|
|
1458
|
+
return () => {
|
|
1459
|
+
r(), i(), n();
|
|
1460
|
+
};
|
|
1461
|
+
}
|
|
1462
|
+
}, [
|
|
1463
|
+
C,
|
|
1464
|
+
f,
|
|
1465
|
+
T,
|
|
1466
|
+
p
|
|
1467
|
+
]), r(() => {
|
|
1468
|
+
E(f, {
|
|
1469
|
+
disabled: n,
|
|
1470
|
+
disableDoubleClick: i
|
|
1471
|
+
});
|
|
1472
|
+
}, [
|
|
1473
|
+
n,
|
|
1474
|
+
i,
|
|
1475
|
+
f,
|
|
1476
|
+
E
|
|
1477
|
+
]);
|
|
1478
|
+
let O;
|
|
1479
|
+
n && !S && (O = "not-allowed");
|
|
1480
|
+
let k;
|
|
1481
|
+
if (n) k = "disabled";
|
|
1482
|
+
else switch (g) {
|
|
1483
|
+
case "active":
|
|
1484
|
+
k = "active";
|
|
1485
|
+
break;
|
|
1486
|
+
default: k = v ? "focus" : g;
|
|
1487
|
+
}
|
|
1488
|
+
return /* @__PURE__ */ d("div", {
|
|
1489
|
+
...u,
|
|
1490
|
+
"aria-controls": m.valueControls,
|
|
1491
|
+
"aria-disabled": n || void 0,
|
|
1492
|
+
"aria-orientation": D,
|
|
1493
|
+
"aria-valuemax": m.valueMax,
|
|
1494
|
+
"aria-valuemin": m.valueMin,
|
|
1495
|
+
"aria-valuenow": m.valueNow,
|
|
1496
|
+
children: e,
|
|
1497
|
+
className: t,
|
|
1498
|
+
"data-separator": k,
|
|
1499
|
+
"data-testid": f,
|
|
1500
|
+
id: f,
|
|
1501
|
+
onBlur: () => y(!1),
|
|
1502
|
+
onFocus: () => y(!0),
|
|
1503
|
+
ref: x,
|
|
1504
|
+
role: "separator",
|
|
1505
|
+
style: {
|
|
1506
|
+
flexBasis: "auto",
|
|
1507
|
+
cursor: O,
|
|
1508
|
+
...s,
|
|
1509
|
+
flexGrow: 0,
|
|
1510
|
+
flexShrink: 0,
|
|
1511
|
+
touchAction: "none"
|
|
1512
|
+
},
|
|
1513
|
+
tabIndex: n ? void 0 : 0
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
it.displayName = "Separator";
|
|
1517
|
+
//#endregion
|
|
1518
|
+
export { Qe as Group, tt as Panel, it as Separator, k as isCoarsePointer };
|
|
1519
|
+
|
|
1520
|
+
//# sourceMappingURL=react-resizable-panels.js.map
|