@sequenceholdings/atlas-ui 3.5.0 → 3.6.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.mjs +20 -0
- package/dist/charts.mjs +7 -1440
- package/dist/index.d.ts +62 -6
- package/dist/index.mjs +96 -21755
- package/dist/shared/components/calendar-grid.mjs +70 -0
- package/dist/shared/components/ui/alert-dialog.mjs +89 -0
- package/dist/shared/components/ui/app-status-badge.mjs +23 -0
- package/dist/shared/components/ui/artifact-app-shell.mjs +25 -0
- package/dist/shared/components/ui/artifact-offline-control.mjs +39 -0
- package/dist/shared/components/ui/artifact-offline-status.mjs +38 -0
- package/dist/shared/components/ui/artifact-overlay-bridge.mjs +31 -0
- package/dist/shared/components/ui/async-action-button.mjs +55 -0
- package/dist/shared/components/ui/badge.mjs +42 -0
- package/dist/shared/components/ui/breadcrumb-nav.mjs +177 -0
- package/dist/shared/components/ui/breadcrumb.mjs +79 -0
- package/dist/shared/components/ui/button.mjs +51 -0
- package/dist/shared/components/ui/calendar.mjs +42 -0
- package/dist/shared/components/ui/card.mjs +42 -0
- package/dist/shared/components/ui/chart-card.mjs +21 -0
- package/dist/shared/components/ui/chart-legend.mjs +21 -0
- package/dist/shared/components/ui/chart.mjs +185 -0
- package/dist/shared/components/ui/checkbox-group.mjs +30 -0
- package/dist/shared/components/ui/checkbox.mjs +27 -0
- package/dist/shared/components/ui/choice-card.mjs +75 -0
- package/dist/shared/components/ui/citation-chip.mjs +49 -0
- package/dist/shared/components/ui/code-badge.mjs +21 -0
- package/dist/shared/components/ui/collapsible.mjs +6 -0
- package/dist/shared/components/ui/command.mjs +84 -0
- package/dist/shared/components/ui/confirm-dialog.mjs +28 -0
- package/dist/shared/components/ui/context-menu.mjs +79 -0
- package/dist/shared/components/ui/dashboard-shell.mjs +29 -0
- package/dist/shared/components/ui/date-field-calendar.mjs +96 -0
- package/dist/shared/components/ui/date-field.mjs +373 -0
- package/dist/shared/components/ui/dialog-layer.mjs +37 -0
- package/dist/shared/components/ui/dialog.mjs +98 -0
- package/dist/shared/components/ui/donut-chart.mjs +79 -0
- package/dist/shared/components/ui/dropdown-menu.mjs +104 -0
- package/dist/shared/components/ui/due-date.mjs +14 -0
- package/dist/shared/components/ui/editor-page-header.mjs +56 -0
- package/dist/shared/components/ui/editor-side-nav.mjs +71 -0
- package/dist/shared/components/ui/editor-top-bar.mjs +94 -0
- package/dist/shared/components/ui/error-state.mjs +12 -0
- package/dist/shared/components/ui/field.mjs +110 -0
- package/dist/shared/components/ui/file-dropzone.mjs +181 -0
- package/dist/shared/components/ui/filter-menu.mjs +59 -0
- package/dist/shared/components/ui/filter-select.mjs +65 -0
- package/dist/shared/components/ui/form-dialog.mjs +39 -0
- package/dist/shared/components/ui/form-field.mjs +40 -0
- package/dist/shared/components/ui/heatmap-table.mjs +179 -0
- package/dist/shared/components/ui/hover-card.mjs +20 -0
- package/dist/shared/components/ui/inline-text-cell.mjs +69 -0
- package/dist/shared/components/ui/input/compound.mjs +8 -0
- package/dist/shared/components/ui/input/percentage.mjs +77 -0
- package/dist/shared/components/ui/input/sensitive.mjs +54 -0
- package/dist/shared/components/ui/input-currency.mjs +28 -0
- package/dist/shared/components/ui/input.mjs +81 -0
- package/dist/shared/components/ui/kpi-tile.mjs +92 -0
- package/dist/shared/components/ui/label.mjs +16 -0
- package/dist/shared/components/ui/loading-state.mjs +46 -0
- package/dist/shared/components/ui/metric-area-chart.mjs +142 -0
- package/dist/shared/components/ui/metric-card.mjs +28 -0
- package/dist/shared/components/ui/metric-grid.mjs +18 -0
- package/dist/shared/components/ui/mobile-action-bar.mjs +13 -0
- package/dist/shared/components/ui/mobile-app-nav.mjs +41 -0
- package/dist/shared/components/ui/mobile-list-row.mjs +43 -0
- package/dist/shared/components/ui/mobile-page-header.mjs +43 -0
- package/dist/shared/components/ui/multi-select.mjs +242 -0
- package/dist/shared/components/ui/overlay-scrim.mjs +4 -0
- package/dist/shared/components/ui/page-skeleton.mjs +152 -0
- package/dist/shared/components/ui/page-state.mjs +76 -0
- package/dist/shared/components/ui/popover.mjs +31 -0
- package/dist/shared/components/ui/pro-data-table.mjs +1377 -0
- package/dist/shared/components/ui/progress-bar.mjs +19 -0
- package/dist/shared/components/ui/radio-group.mjs +26 -0
- package/dist/shared/components/ui/required-marker.mjs +12 -0
- package/dist/shared/components/ui/route-loading.mjs +16 -0
- package/dist/shared/components/ui/scroll-area.mjs +30 -0
- package/dist/shared/components/ui/search-input.mjs +57 -0
- package/dist/shared/components/ui/section-header.mjs +21 -0
- package/dist/shared/components/ui/segmented-control.mjs +18 -0
- package/dist/shared/components/ui/select.mjs +91 -0
- package/dist/shared/components/ui/separator.mjs +16 -0
- package/dist/shared/components/ui/sheet.mjs +95 -0
- package/dist/shared/components/ui/skeleton.mjs +12 -0
- package/dist/shared/components/ui/slider.mjs +22 -0
- package/dist/shared/components/ui/sonner.mjs +26 -0
- package/dist/shared/components/ui/spinner.mjs +36 -0
- package/dist/shared/components/ui/stacked-bar-chart.mjs +144 -0
- package/dist/shared/components/ui/status-dot.mjs +22 -0
- package/dist/shared/components/ui/switch.mjs +14 -0
- package/dist/shared/components/ui/table.mjs +67 -0
- package/dist/shared/components/ui/tabs.mjs +47 -0
- package/dist/shared/components/ui/task-create-dialog.mjs +200 -0
- package/dist/shared/components/ui/task-field.mjs +40 -0
- package/dist/shared/components/ui/task-list.mjs +501 -0
- package/dist/shared/components/ui/task-row.mjs +621 -0
- package/dist/shared/components/ui/textarea.mjs +16 -0
- package/dist/shared/components/ui/timeseries-line-chart.mjs +135 -0
- package/dist/shared/components/ui/toggle-group.mjs +37 -0
- package/dist/shared/components/ui/toggle.mjs +34 -0
- package/dist/shared/components/ui/tooltip.mjs +34 -0
- package/dist/shared/components/ui/trend-badge.mjs +29 -0
- package/dist/shared/components/ui/truncated-text.mjs +62 -0
- package/dist/shared/components/ui/use-overlay-portal-target.mjs +25 -0
- package/dist/shared/components/ui/user-avatar.mjs +76 -0
- package/dist/shared/components/ui/user-chip.mjs +73 -0
- package/dist/shared/contexts/PortalContainerContext.mjs +28 -0
- package/dist/shared/hooks/useEditableDraft.mjs +22 -0
- package/dist/shared/hooks/useOptimisticList.mjs +134 -0
- package/dist/shared/hooks/useOptimisticResource.mjs +125 -0
- package/dist/shared/hooks/usePersistentTabValue.mjs +30 -0
- package/dist/shared/lib/chart-styles.mjs +55 -0
- package/dist/shared/lib/date-parser.mjs +468 -0
- package/dist/shared/lib/format.mjs +52 -0
- package/dist/shared/lib/iso-date.mjs +29 -0
- package/dist/shared/lib/useIsMobileViewport.mjs +25 -0
- package/dist/shared/lib/utils.mjs +57 -0
- package/dist/src/mention-tokens.mjs +37 -0
- package/dist/vendor/@date-fns_tz@1.4.1/date/index.mjs +57 -0
- package/dist/vendor/@date-fns_tz@1.4.1/date/mini.mjs +60 -0
- package/dist/vendor/@date-fns_tz@1.4.1/index.mjs +6 -0
- package/dist/vendor/@date-fns_tz@1.4.1/tz/index.mjs +1 -0
- package/dist/vendor/@date-fns_tz@1.4.1/tzName/index.mjs +10 -0
- package/dist/vendor/@date-fns_tz@1.4.1/tzOffset/index.mjs +22 -0
- package/dist/vendor/@floating-ui_core@1.7.5/dist/floating-ui.core.mjs +359 -0
- package/dist/vendor/@floating-ui_dom@1.7.6/dist/floating-ui.dom.mjs +328 -0
- package/dist/vendor/@floating-ui_react-dom@2.1.8_react-dom@19.2.6_react@19.2.6__react@19.2.6/dist/floating-ui.react-dom.mjs +212 -0
- package/dist/vendor/@floating-ui_utils@0.2.11/dist/floating-ui.utils.dom.mjs +97 -0
- package/dist/vendor/@floating-ui_utils@0.2.11/dist/floating-ui.utils.mjs +106 -0
- package/dist/vendor/@radix-ui_number@1.1.1/dist/index.mjs +6 -0
- package/dist/vendor/@radix-ui_primitive@1.1.3/dist/index.mjs +8 -0
- package/dist/vendor/@radix-ui_react-alert-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@type_91d5036573779c1b9f41b61cd4660f3d/dist/index.mjs +119 -0
- package/dist/vendor/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_07ab85c571739f89808dad9390df6d71/dist/index.mjs +20 -0
- package/dist/vendor/@radix-ui_react-checkbox@1.3.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_36946c77eec45f5a9fc04b1442c78a6c/dist/index.mjs +158 -0
- package/dist/vendor/@radix-ui_react-collapsible@1.1.12_@types_react-dom@19.2.3_@types_react@19.2.14__@types_e6de6020dad09a1b58742342f76b372e/dist/index.mjs +97 -0
- package/dist/vendor/@radix-ui_react-collection@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_r_b94f5365b88697a700662930c56ccffc/dist/index.mjs +62 -0
- package/dist/vendor/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.6/dist/index.mjs +25 -0
- package/dist/vendor/@radix-ui_react-context-menu@2.2.16_@types_react-dom@19.2.3_@types_react@19.2.14__@type_f37cfa1787d19448013098dea4e28ec1/dist/index.mjs +230 -0
- package/dist/vendor/@radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.6/dist/index.mjs +76 -0
- package/dist/vendor/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_340425d8afbecb0b8c61fd2281bc18a1/dist/index.mjs +225 -0
- package/dist/vendor/@radix-ui_react-direction@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +10 -0
- package/dist/vendor/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___9e4771d0900293d89694eff7a0933149/dist/index.mjs +108 -0
- package/dist/vendor/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@typ_4a94a496ca8ecf7aa0a759c94ddf8d47/dist/index.mjs +225 -0
- package/dist/vendor/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.14_react@19.2.6/dist/index.mjs +18 -0
- package/dist/vendor/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types__c6061abe6ab403e0e04cce9bd67455fb/dist/index.mjs +146 -0
- package/dist/vendor/@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types__613291aa3f9ccfdc80950d764372b215/dist/index.mjs +161 -0
- package/dist/vendor/@radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +12 -0
- package/dist/vendor/@radix-ui_react-label@2.1.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_8d35ec453e0b59eefe06771bb1432577/dist/index.mjs +16 -0
- package/dist/vendor/@radix-ui_react-menu@2.1.16_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_6e090c4710b0b40304301dfd6649d716/dist/index.mjs +566 -0
- package/dist/vendor/@radix-ui_react-popover@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_70579f2082d5a15782122fa6c39e7d95/dist/index.mjs +199 -0
- package/dist/vendor/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_505ed917ba38a18b4046dabcb3d6a2bb/dist/index.mjs +189 -0
- package/dist/vendor/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_266ca67294f168fbf2e025541d323e69/dist/index.mjs +19 -0
- package/dist/vendor/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_abbc8bcf75333b39bfe32b13ef7abc0e/dist/index.mjs +67 -0
- package/dist/vendor/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_0935c7b95cefcdb4f10a34e92035e5e3/dist/index.mjs +41 -0
- package/dist/vendor/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_c8c8fd2647f03197dbf56370d7498033/dist/index.mjs +38 -0
- package/dist/vendor/@radix-ui_react-radio-group@1.3.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types__c07779e275d27cb5d99f86b5919e57c8/dist/index.mjs +178 -0
- package/dist/vendor/@radix-ui_react-roving-focus@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_b849ea542e77d5b397b1fe12d9f00b2e/dist/index.mjs +154 -0
- package/dist/vendor/@radix-ui_react-scroll-area@1.2.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_3f2ac5445210224aefd6333ca2197426/dist/index.mjs +505 -0
- package/dist/vendor/@radix-ui_react-select@2.2.6_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_682a989a3617012ce093f43297729adf/dist/index.mjs +689 -0
- package/dist/vendor/@radix-ui_react-separator@1.1.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_1c2d14dd6f3e6960869b5d7d9355f1a3/dist/index.mjs +23 -0
- package/dist/vendor/@radix-ui_react-slider@1.3.6_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_4168059ceb0ad18c50e861ed8102d508/dist/index.mjs +358 -0
- package/dist/vendor/@radix-ui_react-slot@1.2.3_@types_react@19.2.14_react@19.2.6/dist/index.mjs +68 -0
- package/dist/vendor/@radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.6/dist/index.mjs +73 -0
- package/dist/vendor/@radix-ui_react-switch@1.2.6_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_fb4779bfc166cf9d3db05474981c0df1/dist/index.mjs +98 -0
- package/dist/vendor/@radix-ui_react-tabs@1.1.13_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_08684373bbac196273bdefb5472f93a8/dist/index.mjs +120 -0
- package/dist/vendor/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14__@type_f53932d1010514ee55ce15134943c7f6/dist/index.mjs +125 -0
- package/dist/vendor/@radix-ui_react-toggle@1.1.10_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_1170d6428188a43ba2f1794b2158e623/dist/index.mjs +30 -0
- package/dist/vendor/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_8c33d96ab4033e6041e8b8646beae976/dist/index.mjs +351 -0
- package/dist/vendor/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +10 -0
- package/dist/vendor/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.6/dist/index.mjs +45 -0
- package/dist/vendor/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +14 -0
- package/dist/vendor/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +5 -0
- package/dist/vendor/@radix-ui_react-use-previous@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +11 -0
- package/dist/vendor/@radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.6/dist/index.mjs +29 -0
- package/dist/vendor/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_d1be9c417e0b55d219bafdc186d26ce0/dist/index.mjs +27 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/createReactComponent.mjs +28 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/defaultAttributes.mjs +24 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconAlertTriangle.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconArrowDown.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconArrowDownRight.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconArrowLeft.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconArrowUp.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconArrowUpRight.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconCalendar.mjs +30 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconCheck.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronDown.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronLeft.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronRight.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronUp.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconCircle.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconCircleCheckFilled.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconCircleX.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconDotsVertical.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconFilter2.mjs +18 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconLoader.mjs +38 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconLoader2.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconMinus.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconPencil.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconPlayerPlayFilled.mjs +8 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconPlus.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconSelector.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconUser.mjs +11 -0
- package/dist/vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconX.mjs +11 -0
- package/dist/vendor/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/build/lib/index.mjs +39 -0
- package/dist/vendor/@tanstack_react-virtual@3.13.24_react-dom@19.2.6_react@19.2.6__react@19.2.6/dist/esm/index.mjs +26 -0
- package/dist/vendor/@tanstack_table-core@8.21.3/build/lib/index.mjs +1517 -0
- package/dist/vendor/@tanstack_virtual-core@3.14.0/dist/esm/index.mjs +461 -0
- package/dist/vendor/@tanstack_virtual-core@3.14.0/dist/esm/utils.mjs +38 -0
- package/dist/vendor/aria-hidden@1.2.6/dist/es2015/index.mjs +46 -0
- package/dist/vendor/class-variance-authority@0.7.1/dist/index.mjs +33 -0
- package/dist/vendor/clsx@2.1.1/dist/clsx.mjs +16 -0
- package/dist/vendor/cmdk@1.1.1_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@19.2.14_react-dom_66be394aff8225a06cf994aefac200c6/dist/chunk-NZJY6EH4.mjs +17 -0
- package/dist/vendor/cmdk@1.1.1_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@19.2.14_react-dom_66be394aff8225a06cf994aefac200c6/dist/index.mjs +444 -0
- package/dist/vendor/d3-array@3.2.4/src/ascending.mjs +6 -0
- package/dist/vendor/d3-array@3.2.4/src/bisect.mjs +8 -0
- package/dist/vendor/d3-array@3.2.4/src/bisector.mjs +41 -0
- package/dist/vendor/d3-array@3.2.4/src/descending.mjs +6 -0
- package/dist/vendor/d3-array@3.2.4/src/max.mjs +12 -0
- package/dist/vendor/d3-array@3.2.4/src/min.mjs +12 -0
- package/dist/vendor/d3-array@3.2.4/src/number.mjs +13 -0
- package/dist/vendor/d3-array@3.2.4/src/quantile.mjs +23 -0
- package/dist/vendor/d3-array@3.2.4/src/quickselect.mjs +24 -0
- package/dist/vendor/d3-array@3.2.4/src/range.mjs +8 -0
- package/dist/vendor/d3-array@3.2.4/src/sort.mjs +15 -0
- package/dist/vendor/d3-array@3.2.4/src/ticks.mjs +32 -0
- package/dist/vendor/d3-color@3.1.0/src/color.mjs +289 -0
- package/dist/vendor/d3-color@3.1.0/src/define.mjs +11 -0
- package/dist/vendor/d3-format@3.1.2/src/defaultLocale.mjs +13 -0
- package/dist/vendor/d3-format@3.1.2/src/exponent.mjs +7 -0
- package/dist/vendor/d3-format@3.1.2/src/formatDecimal.mjs +11 -0
- package/dist/vendor/d3-format@3.1.2/src/formatGroup.mjs +9 -0
- package/dist/vendor/d3-format@3.1.2/src/formatNumerals.mjs +10 -0
- package/dist/vendor/d3-format@3.1.2/src/formatPrefixAuto.mjs +11 -0
- package/dist/vendor/d3-format@3.1.2/src/formatRounded.mjs +10 -0
- package/dist/vendor/d3-format@3.1.2/src/formatSpecifier.mjs +27 -0
- package/dist/vendor/d3-format@3.1.2/src/formatTrim.mjs +18 -0
- package/dist/vendor/d3-format@3.1.2/src/formatTypes.mjs +21 -0
- package/dist/vendor/d3-format@3.1.2/src/identity.mjs +6 -0
- package/dist/vendor/d3-format@3.1.2/src/locale.mjs +84 -0
- package/dist/vendor/d3-format@3.1.2/src/precisionFixed.mjs +7 -0
- package/dist/vendor/d3-format@3.1.2/src/precisionPrefix.mjs +7 -0
- package/dist/vendor/d3-format@3.1.2/src/precisionRound.mjs +7 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/array.mjs +13 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/basis.mjs +14 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/basisClosed.mjs +11 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/color.mjs +23 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/constant.mjs +4 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/date.mjs +9 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/number.mjs +8 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/numberArray.mjs +14 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/object.mjs +12 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/piecewise.mjs +12 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/rgb.mjs +17 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/round.mjs +8 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/string.mjs +26 -0
- package/dist/vendor/d3-interpolate@3.0.1/src/value.mjs +16 -0
- package/dist/vendor/d3-path@3.1.0/src/path.mjs +63 -0
- package/dist/vendor/d3-scale@4.0.2/src/band.mjs +50 -0
- package/dist/vendor/d3-scale@4.0.2/src/constant.mjs +8 -0
- package/dist/vendor/d3-scale@4.0.2/src/continuous.mjs +71 -0
- package/dist/vendor/d3-scale@4.0.2/src/diverging.mjs +80 -0
- package/dist/vendor/d3-scale@4.0.2/src/identity.mjs +18 -0
- package/dist/vendor/d3-scale@4.0.2/src/init.mjs +27 -0
- package/dist/vendor/d3-scale@4.0.2/src/linear.mjs +34 -0
- package/dist/vendor/d3-scale@4.0.2/src/log.mjs +75 -0
- package/dist/vendor/d3-scale@4.0.2/src/nice.mjs +8 -0
- package/dist/vendor/d3-scale@4.0.2/src/number.mjs +6 -0
- package/dist/vendor/d3-scale@4.0.2/src/ordinal.mjs +29 -0
- package/dist/vendor/d3-scale@4.0.2/src/pow.mjs +35 -0
- package/dist/vendor/d3-scale@4.0.2/src/quantile.mjs +35 -0
- package/dist/vendor/d3-scale@4.0.2/src/quantize.mjs +31 -0
- package/dist/vendor/d3-scale@4.0.2/src/radial.mjs +37 -0
- package/dist/vendor/d3-scale@4.0.2/src/sequential.mjs +65 -0
- package/dist/vendor/d3-scale@4.0.2/src/sequentialQuantile.mjs +28 -0
- package/dist/vendor/d3-scale@4.0.2/src/symlog.mjs +28 -0
- package/dist/vendor/d3-scale@4.0.2/src/threshold.mjs +23 -0
- package/dist/vendor/d3-scale@4.0.2/src/tickFormat.mjs +29 -0
- package/dist/vendor/d3-scale@4.0.2/src/time.mjs +45 -0
- package/dist/vendor/d3-scale@4.0.2/src/utcTime.mjs +17 -0
- package/dist/vendor/d3-shape@3.2.0/src/area.mjs +53 -0
- package/dist/vendor/d3-shape@3.2.0/src/array.mjs +6 -0
- package/dist/vendor/d3-shape@3.2.0/src/constant.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/basis.mjs +47 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/basisClosed.mjs +48 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/basisOpen.mjs +44 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/bump.mjs +38 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/linear.mjs +34 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/linearClosed.mjs +23 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/monotone.mjs +92 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/natural.mjs +37 -0
- package/dist/vendor/d3-shape@3.2.0/src/curve/step.mjs +45 -0
- package/dist/vendor/d3-shape@3.2.0/src/line.mjs +28 -0
- package/dist/vendor/d3-shape@3.2.0/src/math.mjs +6 -0
- package/dist/vendor/d3-shape@3.2.0/src/noop.mjs +4 -0
- package/dist/vendor/d3-shape@3.2.0/src/offset/expand.mjs +13 -0
- package/dist/vendor/d3-shape@3.2.0/src/offset/none.mjs +6 -0
- package/dist/vendor/d3-shape@3.2.0/src/offset/silhouette.mjs +13 -0
- package/dist/vendor/d3-shape@3.2.0/src/offset/wiggle.mjs +19 -0
- package/dist/vendor/d3-shape@3.2.0/src/order/none.mjs +7 -0
- package/dist/vendor/d3-shape@3.2.0/src/path.mjs +17 -0
- package/dist/vendor/d3-shape@3.2.0/src/point.mjs +9 -0
- package/dist/vendor/d3-shape@3.2.0/src/stack.mjs +32 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/circle.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/cross.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/diamond.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/square.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/star.mjs +13 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/triangle.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol/wye.mjs +8 -0
- package/dist/vendor/d3-shape@3.2.0/src/symbol.mjs +21 -0
- package/dist/vendor/d3-time-format@4.1.0/src/defaultLocale.mjs +60 -0
- package/dist/vendor/d3-time-format@4.1.0/src/locale.mjs +488 -0
- package/dist/vendor/d3-time@3.1.0/src/day.mjs +19 -0
- package/dist/vendor/d3-time@3.1.0/src/duration.mjs +4 -0
- package/dist/vendor/d3-time@3.1.0/src/hour.mjs +17 -0
- package/dist/vendor/d3-time@3.1.0/src/interval.mjs +26 -0
- package/dist/vendor/d3-time@3.1.0/src/millisecond.mjs +12 -0
- package/dist/vendor/d3-time@3.1.0/src/minute.mjs +17 -0
- package/dist/vendor/d3-time@3.1.0/src/month.mjs +16 -0
- package/dist/vendor/d3-time@3.1.0/src/second.mjs +11 -0
- package/dist/vendor/d3-time@3.1.0/src/ticks.mjs +123 -0
- package/dist/vendor/d3-time@3.1.0/src/week.mjs +23 -0
- package/dist/vendor/d3-time@3.1.0/src/year.mjs +24 -0
- package/dist/vendor/date-fns@4.1.0/_lib/addLeadingZeros.mjs +6 -0
- package/dist/vendor/date-fns@4.1.0/_lib/defaultOptions.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/_lib/format/formatters.mjs +382 -0
- package/dist/vendor/date-fns@4.1.0/_lib/format/lightFormatters.mjs +43 -0
- package/dist/vendor/date-fns@4.1.0/_lib/format/longFormatters.mjs +40 -0
- package/dist/vendor/date-fns@4.1.0/_lib/getTimezoneOffsetInMilliseconds.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/_lib/normalizeDates.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/_lib/normalizeInterval.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/_lib/protectedTokens.mjs +23 -0
- package/dist/vendor/date-fns@4.1.0/addDays.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/addMonths.mjs +12 -0
- package/dist/vendor/date-fns@4.1.0/addWeeks.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/addYears.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/constants.mjs +10 -0
- package/dist/vendor/date-fns@4.1.0/constructFrom.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/differenceInCalendarDays.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/differenceInCalendarMonths.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/eachMonthOfInterval.mjs +15 -0
- package/dist/vendor/date-fns@4.1.0/eachYearOfInterval.mjs +15 -0
- package/dist/vendor/date-fns@4.1.0/endOfISOWeek.mjs +10 -0
- package/dist/vendor/date-fns@4.1.0/endOfMonth.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/endOfWeek.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/endOfYear.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/format.mjs +59 -0
- package/dist/vendor/date-fns@4.1.0/getDayOfYear.mjs +10 -0
- package/dist/vendor/date-fns@4.1.0/getDaysInMonth.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/getISOWeek.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/getISOWeekYear.mjs +14 -0
- package/dist/vendor/date-fns@4.1.0/getMonth.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/getWeek.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/getWeekYear.mjs +15 -0
- package/dist/vendor/date-fns@4.1.0/getYear.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/isAfter.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/isBefore.mjs +7 -0
- package/dist/vendor/date-fns@4.1.0/isDate.mjs +6 -0
- package/dist/vendor/date-fns@4.1.0/isSameDay.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/isSameMonth.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/isSameYear.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/isValid.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/locale/_lib/buildFormatLongFn.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/locale/_lib/buildLocalizeFn.mjs +17 -0
- package/dist/vendor/date-fns@4.1.0/locale/_lib/buildMatchFn.mjs +22 -0
- package/dist/vendor/date-fns@4.1.0/locale/_lib/buildMatchPatternFn.mjs +18 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US/_lib/formatDistance.mjs +69 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US/_lib/formatLong.mjs +32 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US/_lib/formatRelative.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US/_lib/localize.mjs +202 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US/_lib/match.mjs +124 -0
- package/dist/vendor/date-fns@4.1.0/locale/en-US.mjs +20 -0
- package/dist/vendor/date-fns@4.1.0/max.mjs +13 -0
- package/dist/vendor/date-fns@4.1.0/min.mjs +13 -0
- package/dist/vendor/date-fns@4.1.0/parseISO.mjs +117 -0
- package/dist/vendor/date-fns@4.1.0/setMonth.mjs +12 -0
- package/dist/vendor/date-fns@4.1.0/setYear.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/startOfDay.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/startOfISOWeek.mjs +10 -0
- package/dist/vendor/date-fns@4.1.0/startOfISOWeekYear.mjs +10 -0
- package/dist/vendor/date-fns@4.1.0/startOfMonth.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/startOfWeek.mjs +9 -0
- package/dist/vendor/date-fns@4.1.0/startOfWeekYear.mjs +11 -0
- package/dist/vendor/date-fns@4.1.0/startOfYear.mjs +8 -0
- package/dist/vendor/date-fns@4.1.0/toDate.mjs +7 -0
- package/dist/vendor/decimal.js-light@2.5.1/decimal.mjs +376 -0
- package/dist/vendor/eventemitter3@4.0.7/index.mjs +93 -0
- package/dist/vendor/fast-equals@5.4.0/dist/es/index.mjs +265 -0
- package/dist/vendor/get-nonce@1.0.1/dist/es2015/index.mjs +7 -0
- package/dist/vendor/internmap@2.0.3/src/index.mjs +38 -0
- package/dist/vendor/lodash@4.18.1/_DataView.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_Hash.mjs +21 -0
- package/dist/vendor/lodash@4.18.1/_ListCache.mjs +21 -0
- package/dist/vendor/lodash@4.18.1/_Map.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_MapCache.mjs +21 -0
- package/dist/vendor/lodash@4.18.1/_Promise.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_Set.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_SetCache.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_Stack.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_Symbol.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_Uint8Array.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_WeakMap.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_apply.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_arrayEvery.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_arrayFilter.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_arrayIncludes.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_arrayIncludesWith.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_arrayLikeKeys.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/_arrayMap.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_arrayPush.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_arraySome.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_asciiToArray.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_assocIndexOf.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_baseAssignValue.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_baseEach.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_baseEvery.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_baseExtremum.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_baseFindIndex.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_baseFlatten.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_baseFor.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_baseForOwn.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_baseGet.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_baseGetAllKeys.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_baseGetTag.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_baseGt.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_baseHasIn.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_baseIndexOf.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_baseIsArguments.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_baseIsEqual.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_baseIsEqualDeep.mjs +35 -0
- package/dist/vendor/lodash@4.18.1/_baseIsMatch.mjs +31 -0
- package/dist/vendor/lodash@4.18.1/_baseIsNaN.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_baseIsNative.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_baseIsTypedArray.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_baseIteratee.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_baseKeys.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_baseLt.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_baseMap.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_baseMatches.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_baseMatchesProperty.mjs +22 -0
- package/dist/vendor/lodash@4.18.1/_baseOrderBy.mjs +37 -0
- package/dist/vendor/lodash@4.18.1/_baseProperty.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_basePropertyDeep.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_baseRange.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_baseRest.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_baseSetToString.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_baseSlice.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_baseSome.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_baseSortBy.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_baseTimes.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_baseToString.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/_baseTrim.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_baseUnary.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_baseUniq.mjs +32 -0
- package/dist/vendor/lodash@4.18.1/_cacheHas.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_castPath.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_castSlice.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_compareAscending.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_compareMultiple.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_coreJsData.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_createBaseEach.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_createBaseFor.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_createCaseFirst.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/_createFind.mjs +25 -0
- package/dist/vendor/lodash@4.18.1/_createRange.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/_createSet.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_defineProperty.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_equalArrays.mjs +40 -0
- package/dist/vendor/lodash@4.18.1/_equalByTag.mjs +40 -0
- package/dist/vendor/lodash@4.18.1/_equalObjects.mjs +37 -0
- package/dist/vendor/lodash@4.18.1/_freeGlobal.mjs +8 -0
- package/dist/vendor/lodash@4.18.1/_getAllKeys.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_getMapData.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_getMatchData.mjs +22 -0
- package/dist/vendor/lodash@4.18.1/_getNative.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_getPrototype.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_getRawTag.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_getSymbols.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_getTag.mjs +26 -0
- package/dist/vendor/lodash@4.18.1/_getValue.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_hasPath.mjs +24 -0
- package/dist/vendor/lodash@4.18.1/_hasUnicode.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_hashClear.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_hashDelete.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_hashGet.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_hashHas.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_hashSet.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_isFlattenable.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_isIndex.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_isIterateeCall.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_isKey.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_isKeyable.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_isMasked.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_isPrototype.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_isStrictComparable.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_listCacheClear.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_listCacheDelete.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_listCacheGet.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_listCacheHas.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_listCacheSet.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_mapCacheClear.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_mapCacheDelete.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_mapCacheGet.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_mapCacheHas.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_mapCacheSet.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_mapToArray.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_matchesStrictComparable.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_memoizeCapped.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/_nativeCreate.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_nativeKeys.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/_nodeUtil.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_objectToString.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_overArg.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_overRest.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/_root.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/_setCacheAdd.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_setCacheHas.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_setToArray.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/_setToString.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_shortOut.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/_stackClear.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_stackDelete.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_stackGet.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_stackHas.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/_stackSet.mjs +21 -0
- package/dist/vendor/lodash@4.18.1/_strictIndexOf.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/_stringToArray.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_stringToPath.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_toKey.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/_toSource.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/_trimmedEndIndex.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/_unicodeToArray.mjs +22 -0
- package/dist/vendor/lodash@4.18.1/constant.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/debounce.mjs +55 -0
- package/dist/vendor/lodash@4.18.1/eq.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/every.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/find.mjs +10 -0
- package/dist/vendor/lodash@4.18.1/findIndex.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/flatMap.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/get.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/hasIn.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/identity.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/isArguments.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/isArray.mjs +8 -0
- package/dist/vendor/lodash@4.18.1/isArrayLike.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/isBoolean.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/isBuffer.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/isEqual.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/isFunction.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/isLength.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/isNaN.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/isNil.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/isNumber.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/isObject.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/isObjectLike.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/isPlainObject.mjs +19 -0
- package/dist/vendor/lodash@4.18.1/isString.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/isSymbol.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/isTypedArray.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/keys.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/last.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/map.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/mapValues.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/max.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/maxBy.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/memoize.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/min.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/minBy.mjs +15 -0
- package/dist/vendor/lodash@4.18.1/noop.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/now.mjs +12 -0
- package/dist/vendor/lodash@4.18.1/property.mjs +16 -0
- package/dist/vendor/lodash@4.18.1/range.mjs +9 -0
- package/dist/vendor/lodash@4.18.1/some.mjs +18 -0
- package/dist/vendor/lodash@4.18.1/sortBy.mjs +17 -0
- package/dist/vendor/lodash@4.18.1/stubArray.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/stubFalse.mjs +11 -0
- package/dist/vendor/lodash@4.18.1/throttle.mjs +20 -0
- package/dist/vendor/lodash@4.18.1/toFinite.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/toInteger.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/toNumber.mjs +24 -0
- package/dist/vendor/lodash@4.18.1/toString.mjs +13 -0
- package/dist/vendor/lodash@4.18.1/uniqBy.mjs +14 -0
- package/dist/vendor/lodash@4.18.1/upperFirst.mjs +9 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/Icon.mjs +17 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/createLucideIcon.mjs +15 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/defaultAttributes.mjs +14 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/check.mjs +8 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/chevron-down.mjs +8 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/chevron-right.mjs +8 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/chevron-up.mjs +8 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/circle.mjs +10 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/cloud-upload.mjs +18 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/ellipsis.mjs +24 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/eye-off.mjs +22 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/eye.mjs +13 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/file.mjs +11 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/globe.mjs +20 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/minus.mjs +8 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/plus.mjs +11 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/rows-3.mjs +22 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/search.mjs +13 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/square-pen.mjs +11 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/triangle-alert.mjs +18 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/user.mjs +13 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/x.mjs +11 -0
- package/dist/vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/shared/src/utils.mjs +9 -0
- package/dist/vendor/object-assign@4.1.1/index.mjs +39 -0
- package/dist/vendor/prop-types@15.8.1/checkPropTypes.mjs +44 -0
- package/dist/vendor/prop-types@15.8.1/factoryWithThrowingShims.mjs +47 -0
- package/dist/vendor/prop-types@15.8.1/factoryWithTypeCheckers.mjs +270 -0
- package/dist/vendor/prop-types@15.8.1/index.mjs +14 -0
- package/dist/vendor/prop-types@15.8.1/lib/ReactPropTypesSecret.mjs +8 -0
- package/dist/vendor/prop-types@15.8.1/lib/has.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/DayPicker.mjs +387 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/UI.mjs +19 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/classes/CalendarDay.mjs +12 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/classes/CalendarMonth.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/classes/CalendarWeek.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/classes/DateLib.mjs +107 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Button.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/CaptionLabel.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Chevron.mjs +13 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Day.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/DayButton.mjs +13 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Dropdown.mjs +26 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/DropdownNav.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Footer.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Month.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/MonthCaption.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/MonthGrid.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Months.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/MonthsDropdown.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Nav.mjs +36 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/NextMonthButton.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Option.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/PreviousMonthButton.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Root.mjs +11 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Select.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Week.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/WeekNumber.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/WeekNumberHeader.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Weekday.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Weekdays.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/Weeks.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/YearsDropdown.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/components/custom-components.mjs +58 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatCaption.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatDay.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatMonthDropdown.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatWeekNumber.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatWeekNumberHeader.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatWeekdayName.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/formatYearDropdown.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/formatters/index.mjs +22 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/calculateFocusTarget.mjs +19 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/createGetModifiers.mjs +36 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/endOfBroadcastWeek.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getBroadcastWeeksInMonth.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getClassNamesForModifiers.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getComponents.mjs +10 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getDataAttributes.mjs +16 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getDates.mjs +19 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getDays.mjs +10 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getDefaultClassNames.mjs +12 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getDisplayMonths.mjs +12 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getFocusableDate.mjs +14 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getFormatters.mjs +10 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getInitialMonth.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getLabels.mjs +34 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getMonthOptions.mjs +17 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getMonths.mjs +24 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getNavMonth.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getNextFocus.mjs +11 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getNextMonth.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getPreviousMonth.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getStyleForModifiers.mjs +13 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getWeekdays.mjs +11 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getWeeks.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/getYearOptions.mjs +18 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/startOfBroadcastWeek.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/helpers/useControlledValue.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/index.mjs +30 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelDayButton.mjs +9 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelGrid.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelGridcell.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelMonthDropdown.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelNav.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelNext.mjs +5 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelPrevious.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelWeekNumber.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelWeekNumberHeader.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelWeekday.mjs +7 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/labels/labelYearDropdown.mjs +6 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/locale/en-US.mjs +49 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/noonDateLib.mjs +88 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/selection/useMulti.mjs +19 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/selection/useRange.mjs +28 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/selection/useSingle.mjs +15 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/useAnimation.mjs +49 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/useCalendar.mjs +70 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/useDayPicker.mjs +10 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/useFocus.mjs +22 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/useSelection.mjs +15 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/addToRange.mjs +57 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/convertMatchersToTimeZone.mjs +25 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/dateMatchModifiers.mjs +21 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/rangeContainsDayOfWeek.mjs +12 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/rangeContainsModifiers.mjs +28 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/rangeIncludesDate.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/rangeOverlaps.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/toTimeZone.mjs +8 -0
- package/dist/vendor/react-day-picker@9.14.0_react@19.2.6/dist/esm/utils/typeguards.mjs +21 -0
- package/dist/vendor/react-is@16.13.1/cjs/react-is.development.mjs +82 -0
- package/dist/vendor/react-is@16.13.1/cjs/react-is.production.min.mjs +62 -0
- package/dist/vendor/react-is@16.13.1/index.mjs +10 -0
- package/dist/vendor/react-is@18.3.1/cjs/react-is.development.mjs +85 -0
- package/dist/vendor/react-is@18.3.1/cjs/react-is.production.min.mjs +63 -0
- package/dist/vendor/react-is@18.3.1/index.mjs +10 -0
- package/dist/vendor/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.6/dist/es2015/component.mjs +70 -0
- package/dist/vendor/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.6/dist/es2015/constants.mjs +4 -0
- package/dist/vendor/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.6/dist/es2015/index.mjs +4 -0
- package/dist/vendor/react-remove-scroll-bar@2.3.8_@types_react@19.2.14_react@19.2.6/dist/es2015/utils.mjs +27 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/Combination.mjs +14 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/SideEffect.mjs +116 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/UI.mjs +52 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/aggresiveCapture.mjs +13 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/handleScroll.mjs +52 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/medium.mjs +5 -0
- package/dist/vendor/react-remove-scroll@2.7.2_@types_react@19.2.14_react@19.2.6/dist/es2015/sidecar.mjs +7 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/Animate.mjs +372 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/AnimateManager.mjs +71 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/configUpdate.mjs +171 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/easing.mjs +150 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/index.mjs +7 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/setRafTimeout.mjs +12 -0
- package/dist/vendor/react-smooth@4.0.4_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util.mjs +90 -0
- package/dist/vendor/react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.6/dist/es2015/component.mjs +11 -0
- package/dist/vendor/react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.6/dist/es2015/hook.mjs +15 -0
- package/dist/vendor/react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.6/dist/es2015/index.mjs +4 -0
- package/dist/vendor/react-style-singleton@2.2.3_@types_react@19.2.14_react@19.2.6/dist/es2015/singleton.mjs +28 -0
- package/dist/vendor/recharts-scale@0.4.5/es6/getNiceTickValues.mjs +130 -0
- package/dist/vendor/recharts-scale@0.4.5/es6/index.mjs +2 -0
- package/dist/vendor/recharts-scale@0.4.5/es6/util/arithmetic.mjs +30 -0
- package/dist/vendor/recharts-scale@0.4.5/es6/util/utils.mjs +77 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/Area.mjs +433 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/Bar.mjs +385 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/Brush.mjs +497 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/CartesianAxis.mjs +335 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/CartesianGrid.mjs +303 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/ErrorBar.mjs +241 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/ReferenceArea.mjs +171 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/ReferenceDot.mjs +176 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/ReferenceLine.mjs +252 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/XAxis.mjs +142 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/YAxis.mjs +141 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/getEquidistantTicks.mjs +16 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/cartesian/getTicks.mjs +119 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/chart/AccessibilityManager.mjs +99 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/chart/AreaChart.mjs +20 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/chart/BarChart.mjs +22 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/chart/PieChart.mjs +32 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/chart/generateCategoricalChart.mjs +1244 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Cell.mjs +7 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Cursor.mjs +91 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/DefaultLegendContent.mjs +235 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/DefaultTooltipContent.mjs +169 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Label.mjs +351 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/LabelList.mjs +164 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Legend.mjs +232 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/ResponsiveContainer.mjs +185 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Text.mjs +223 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/Tooltip.mjs +180 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/component/TooltipBoundingBox.mjs +196 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/container/Layer.mjs +38 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/container/Surface.mjs +58 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/context/chartLayoutContext.mjs +55 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/polar/Pie.mjs +433 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/polar/PolarAngleAxis.mjs +213 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/polar/PolarRadiusAxis.mjs +266 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Cross.mjs +110 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Curve.mjs +134 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Dot.mjs +25 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Polygon.mjs +110 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Rectangle.mjs +203 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Sector.mjs +190 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Symbols.mjs +141 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/shape/Trapezoid.mjs +173 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/ActiveShapeUtils.mjs +179 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/BarUtils.mjs +109 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/CartesianUtils.mjs +232 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/ChartUtils.mjs +560 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/CssPrefixUtils.mjs +68 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/DOMUtils.mjs +106 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/DataUtils.mjs +49 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/DetectReferenceElementsDomain.mjs +56 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/Events.mjs +5 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/Global.mjs +19 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/IfOverflowMatches.mjs +7 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/LogUtils.mjs +13 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/PolarUtils.mjs +196 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/ReactUtils.mjs +135 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/ReduceCSSCalc.mjs +179 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/ShallowEqual.mjs +8 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/TickUtils.mjs +29 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/calculateViewBox.mjs +23 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/cursor/getCursorPoints.mjs +21 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/cursor/getCursorRectangle.mjs +14 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/cursor/getRadialCursorPoints.mjs +15 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/getEveryNthWithCondition.mjs +10 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/getLegendProps.mjs +86 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/isDomainSpecifiedByUser.mjs +11 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/payload/getUniqPayload.mjs +10 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/tooltip/translate.mjs +85 -0
- package/dist/vendor/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/es6/util/types.mjs +41 -0
- package/dist/vendor/sonner@2.0.7_react-dom@19.2.6_react@19.2.6__react@19.2.6/dist/index.mjs +616 -0
- package/dist/vendor/tailwind-merge@3.5.0/dist/bundle-mjs.mjs +1681 -0
- package/dist/vendor/tiny-invariant@1.3.3/dist/esm/tiny-invariant.mjs +11 -0
- package/dist/vendor/tslib@2.8.1/tslib.es6.mjs +19 -0
- package/dist/vendor/use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.6/dist/es2015/assignRef.mjs +6 -0
- package/dist/vendor/use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.6/dist/es2015/useMergeRef.mjs +26 -0
- package/dist/vendor/use-callback-ref@1.3.3_@types_react@19.2.14_react@19.2.6/dist/es2015/useRef.mjs +22 -0
- package/dist/vendor/use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.6/dist/es2015/exports.mjs +16 -0
- package/dist/vendor/use-sidecar@1.1.3_@types_react@19.2.14_react@19.2.6/dist/es2015/medium.mjs +69 -0
- package/dist/vendor/victory-vendor@36.9.2/es/d3-scale.mjs +51 -0
- package/package.json +1 -1
- package/dist/chart-MKHqrHfu.js +0 -18380
|
@@ -0,0 +1,1377 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/utils.mjs";
|
|
2
|
+
import { Button as t } from "./button.mjs";
|
|
3
|
+
import { SearchInput as n } from "./search-input.mjs";
|
|
4
|
+
import { Tooltip as r, TooltipContent as i, TooltipProvider as a, TooltipTrigger as o, useGatedTooltipOpen as s } from "./tooltip.mjs";
|
|
5
|
+
import { CodeBadge as c } from "./code-badge.mjs";
|
|
6
|
+
import l from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronDown.mjs";
|
|
7
|
+
import u from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronLeft.mjs";
|
|
8
|
+
import d from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronRight.mjs";
|
|
9
|
+
import f from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconChevronUp.mjs";
|
|
10
|
+
import p from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconDotsVertical.mjs";
|
|
11
|
+
import m from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconSelector.mjs";
|
|
12
|
+
import h from "../../../vendor/@tabler_icons-react@3.45.0_react@19.2.6/dist/esm/icons/IconX.mjs";
|
|
13
|
+
import { DropdownMenu as g, DropdownMenuContent as _, DropdownMenuItem as ee, DropdownMenuSeparator as v, DropdownMenuTrigger as y } from "./dropdown-menu.mjs";
|
|
14
|
+
import { Spinner as te } from "./spinner.mjs";
|
|
15
|
+
import { getCoreRowModel as ne, getFilteredRowModel as re, getPaginationRowModel as ie, getSortedRowModel as ae } from "../../../vendor/@tanstack_table-core@8.21.3/build/lib/index.mjs";
|
|
16
|
+
import { flexRender as oe, useReactTable as se } from "../../../vendor/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/build/lib/index.mjs";
|
|
17
|
+
import { TableBody as ce, TableCell as b, TableHead as le, TableHeader as ue, TableRow as x } from "./table.mjs";
|
|
18
|
+
import { Checkbox as de } from "./checkbox.mjs";
|
|
19
|
+
import { Popover as S, PopoverContent as fe, PopoverTrigger as pe } from "./popover.mjs";
|
|
20
|
+
import { MultiSelectList as me, SingleSelectList as C } from "./multi-select.mjs";
|
|
21
|
+
import { FilterMenu as he } from "./filter-menu.mjs";
|
|
22
|
+
import { StatusDot as ge } from "./status-dot.mjs";
|
|
23
|
+
import * as w from "react";
|
|
24
|
+
import { Fragment as _e, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
25
|
+
//#region ../../../atlas/src/shared/components/ui/pro-data-table.tsx
|
|
26
|
+
var ve = 80;
|
|
27
|
+
function ye(e) {
|
|
28
|
+
return e == null ? "" : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? e.toISOString() : String(e);
|
|
29
|
+
}
|
|
30
|
+
function be(e, t) {
|
|
31
|
+
if (t == null) return !0;
|
|
32
|
+
let n = ye(e);
|
|
33
|
+
return Array.isArray(t) ? t.length === 0 || t.includes(n) : t === "" || n === t;
|
|
34
|
+
}
|
|
35
|
+
function xe(e, t) {
|
|
36
|
+
return e == null || e === t ? void 0 : e;
|
|
37
|
+
}
|
|
38
|
+
function Se(e, t, n) {
|
|
39
|
+
let r = e;
|
|
40
|
+
if (typeof r.accessorFn == "function") return r.accessorFn(t, n);
|
|
41
|
+
let i = r.accessorKey;
|
|
42
|
+
if (i != null) return i.includes(".") ? i.split(".").reduce((e, t) => e == null ? e : e[t], t) : t[i];
|
|
43
|
+
}
|
|
44
|
+
function D(e) {
|
|
45
|
+
let t = e.meta ?? {};
|
|
46
|
+
return t.width ?? t.minWidth ?? (typeof e.size == "number" ? e.size : void 0) ?? ve;
|
|
47
|
+
}
|
|
48
|
+
function Ce(e) {
|
|
49
|
+
return e.minWidth ?? e.width ?? ve;
|
|
50
|
+
}
|
|
51
|
+
var O = "pro-data-table:column-sizing:";
|
|
52
|
+
function we(e, t = () => 0) {
|
|
53
|
+
if (!e || typeof window > "u") return {};
|
|
54
|
+
try {
|
|
55
|
+
let n = window.localStorage.getItem(O + e);
|
|
56
|
+
if (!n) return {};
|
|
57
|
+
let r = JSON.parse(n);
|
|
58
|
+
if (typeof r != "object" || !r) return {};
|
|
59
|
+
let i = {};
|
|
60
|
+
for (let [e, n] of Object.entries(r)) typeof n == "number" && Number.isFinite(n) && n > 0 && (i[e] = Math.max(n, t(e)));
|
|
61
|
+
return i;
|
|
62
|
+
} catch {
|
|
63
|
+
return {};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function Te(e, t) {
|
|
67
|
+
if (!(!e || typeof window > "u")) try {
|
|
68
|
+
Object.keys(t).length === 0 ? window.localStorage.removeItem(O + e) : window.localStorage.setItem(O + e, JSON.stringify(t));
|
|
69
|
+
} catch {}
|
|
70
|
+
}
|
|
71
|
+
function Ee(e) {
|
|
72
|
+
if (!e.interactive) return;
|
|
73
|
+
let t = (e) => e.stopPropagation();
|
|
74
|
+
return {
|
|
75
|
+
onClick: t,
|
|
76
|
+
onAuxClick: t
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
var De = "bg-surface", Oe = "group-hover:bg-surface-hover", ke = "transition-shadow duration-150 ease-out", Ae = e("[scrollbar-width:thin]", "[&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar]:w-2", "[&::-webkit-scrollbar-track]:bg-transparent", "[&::-webkit-scrollbar-thumb]:rounded-full", "[&::-webkit-scrollbar-thumb]:bg-border", "hover:[&::-webkit-scrollbar-thumb]:bg-muted-foreground");
|
|
80
|
+
function k(e) {
|
|
81
|
+
return e.sticky === !0 || e.sticky === "left" ? "left" : e.sticky === "right" ? "right" : null;
|
|
82
|
+
}
|
|
83
|
+
function A(e) {
|
|
84
|
+
let t = e;
|
|
85
|
+
return t.id == null ? t.accessorKey == null ? typeof t.header == "string" ? t.header : "" : String(t.accessorKey).replace(/\./g, "_") : t.id;
|
|
86
|
+
}
|
|
87
|
+
function je(e, t = D) {
|
|
88
|
+
let n = /* @__PURE__ */ new Map(), r = 0, i = !1, a = [];
|
|
89
|
+
for (let o of e) {
|
|
90
|
+
let e = o.meta ?? {}, s = k(e), c = A(o);
|
|
91
|
+
if (s !== "left") {
|
|
92
|
+
i ||= !0;
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
if (i) {
|
|
96
|
+
process.env.NODE_ENV !== "production" && console.warn(`[ProDataTable] Column "${c}" was marked \`sticky: 'left'\` but follows a non-sticky column. Left-sticky columns must form a contiguous block starting from the leftmost column. Ignoring.`);
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
j(e, c), n.set(c, {
|
|
100
|
+
side: "left",
|
|
101
|
+
offset: r,
|
|
102
|
+
isEdge: !1
|
|
103
|
+
}), a.push(c), r += t(o);
|
|
104
|
+
}
|
|
105
|
+
if (a.length > 0) {
|
|
106
|
+
let e = a[a.length - 1], t = n.get(e);
|
|
107
|
+
t && n.set(e, {
|
|
108
|
+
...t,
|
|
109
|
+
isEdge: !0
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
let o = 0, s = !1, c = [];
|
|
113
|
+
for (let r = e.length - 1; r >= 0; r--) {
|
|
114
|
+
let i = e[r], a = i.meta ?? {}, l = k(a), u = A(i);
|
|
115
|
+
if (l !== "right") {
|
|
116
|
+
s ||= !0;
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if (s) {
|
|
120
|
+
process.env.NODE_ENV !== "production" && console.warn(`[ProDataTable] Column "${u}" was marked \`sticky: 'right'\` but precedes a non-sticky column. Right-sticky columns must form a contiguous block ending at the rightmost column. Ignoring.`);
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
j(a, u), !n.has(u) && (n.set(u, {
|
|
124
|
+
side: "right",
|
|
125
|
+
offset: o,
|
|
126
|
+
isEdge: !1
|
|
127
|
+
}), c.push(u), o += t(i));
|
|
128
|
+
}
|
|
129
|
+
if (c.length > 0) {
|
|
130
|
+
let e = c[c.length - 1], t = n.get(e);
|
|
131
|
+
t && n.set(e, {
|
|
132
|
+
...t,
|
|
133
|
+
isEdge: !0
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
return n;
|
|
137
|
+
}
|
|
138
|
+
function j(e, t) {
|
|
139
|
+
e.grow === !0 && process.env.NODE_ENV !== "production" && console.warn(`[ProDataTable] Column "${t}" is sticky and has \`grow: true\`. Sticky columns must have a deterministic width — \`grow\` is ignored. Set an explicit \`width\` (and optional \`minWidth\`) instead.`);
|
|
140
|
+
}
|
|
141
|
+
function Me(e, t = !1, n) {
|
|
142
|
+
let r = Ce(e);
|
|
143
|
+
return n == null ? e.grow && !t ? {
|
|
144
|
+
minWidth: r,
|
|
145
|
+
width: "100%"
|
|
146
|
+
} : {
|
|
147
|
+
minWidth: r,
|
|
148
|
+
width: e.width ?? r
|
|
149
|
+
} : {
|
|
150
|
+
minWidth: r,
|
|
151
|
+
width: n
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
var Ne = "__select__", Pe = "__row_actions__", Fe = 44, M = 48, Ie = "text-muted-foreground opacity-0 hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100";
|
|
155
|
+
function Le({ actions: n, label: r }) {
|
|
156
|
+
let i = n.filter((e) => !e.hidden);
|
|
157
|
+
if (i.length === 0) return null;
|
|
158
|
+
let a = i.filter((e) => !e.destructive), o = i.filter((e) => e.destructive), s = (e, t) => /* @__PURE__ */ E(ee, {
|
|
159
|
+
variant: e.destructive ? "destructive" : void 0,
|
|
160
|
+
disabled: e.disabled,
|
|
161
|
+
onSelect: () => e.onSelect(),
|
|
162
|
+
children: [e.icon, e.label]
|
|
163
|
+
}, t);
|
|
164
|
+
return /* @__PURE__ */ E(g, { children: [/* @__PURE__ */ T(y, {
|
|
165
|
+
asChild: !0,
|
|
166
|
+
children: /* @__PURE__ */ T(t, {
|
|
167
|
+
variant: "ghost",
|
|
168
|
+
size: "icon-sm",
|
|
169
|
+
"aria-label": r ? `Actions for ${r}` : "Row actions",
|
|
170
|
+
className: e(Ie, "data-[state=open]:opacity-100 data-[state=open]:text-foreground"),
|
|
171
|
+
children: /* @__PURE__ */ T(p, { stroke: 1.75 })
|
|
172
|
+
})
|
|
173
|
+
}), /* @__PURE__ */ E(_, {
|
|
174
|
+
align: "end",
|
|
175
|
+
className: "w-44",
|
|
176
|
+
children: [
|
|
177
|
+
a.map((e, t) => s(e, t)),
|
|
178
|
+
o.length > 0 && a.length > 0 && /* @__PURE__ */ T(v, {}),
|
|
179
|
+
o.map((e, t) => s(e, a.length + t))
|
|
180
|
+
]
|
|
181
|
+
})] });
|
|
182
|
+
}
|
|
183
|
+
function Re(e) {
|
|
184
|
+
return {
|
|
185
|
+
id: Ne,
|
|
186
|
+
enableSorting: !1,
|
|
187
|
+
enableHiding: !1,
|
|
188
|
+
header: ({ table: e }) => /* @__PURE__ */ T(de, {
|
|
189
|
+
"aria-label": "Select all rows",
|
|
190
|
+
checked: e.getIsAllPageRowsSelected() ? !0 : e.getIsSomePageRowsSelected() ? "indeterminate" : !1,
|
|
191
|
+
onCheckedChange: (t) => t ? e.toggleAllPageRowsSelected(!0) : e.setRowSelection({})
|
|
192
|
+
}),
|
|
193
|
+
cell: ({ row: t }) => /* @__PURE__ */ T(de, {
|
|
194
|
+
"aria-label": e ? `Select ${e(t.original)}` : "Select row",
|
|
195
|
+
checked: t.getIsSelected(),
|
|
196
|
+
disabled: !t.getCanSelect(),
|
|
197
|
+
onCheckedChange: (e) => t.toggleSelected(!!e)
|
|
198
|
+
}),
|
|
199
|
+
meta: {
|
|
200
|
+
sticky: "left",
|
|
201
|
+
width: Fe,
|
|
202
|
+
minWidth: Fe,
|
|
203
|
+
align: "left",
|
|
204
|
+
enableResizing: !1,
|
|
205
|
+
interactive: !0
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function ze(e, t) {
|
|
210
|
+
return {
|
|
211
|
+
id: Pe,
|
|
212
|
+
enableSorting: !1,
|
|
213
|
+
enableHiding: !1,
|
|
214
|
+
header: () => null,
|
|
215
|
+
cell: ({ row: n }) => /* @__PURE__ */ T(Le, {
|
|
216
|
+
actions: e(n.original),
|
|
217
|
+
label: t?.(n.original)
|
|
218
|
+
}),
|
|
219
|
+
meta: {
|
|
220
|
+
sticky: "right",
|
|
221
|
+
width: M,
|
|
222
|
+
minWidth: M,
|
|
223
|
+
align: "center",
|
|
224
|
+
enableResizing: !1,
|
|
225
|
+
interactive: !0
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function Be(e) {
|
|
230
|
+
let t = e?.value, n = !!e?.onChange && t != null, [r, i] = w.useState(t ?? ""), [a, o] = w.useState(null), s = n ? a ?? t ?? "" : r, c = w.useRef(null), l = w.useCallback(() => {
|
|
231
|
+
c.current != null && (window.clearTimeout(c.current), c.current = null);
|
|
232
|
+
}, []);
|
|
233
|
+
return w.useEffect(() => l, [l]), w.useEffect(() => {
|
|
234
|
+
n && (l(), o(null));
|
|
235
|
+
}, [
|
|
236
|
+
n,
|
|
237
|
+
t,
|
|
238
|
+
l
|
|
239
|
+
]), {
|
|
240
|
+
searchQuery: s,
|
|
241
|
+
handleSearchInput: w.useCallback((t) => {
|
|
242
|
+
let r = e?.onChange, a = e?.debounceMs ?? 300, s = !!r && a <= 0;
|
|
243
|
+
if (n ? o(s ? null : t) : i(t), r) {
|
|
244
|
+
if (l(), s) {
|
|
245
|
+
r(t);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
c.current = window.setTimeout(() => {
|
|
249
|
+
c.current = null, r(t), o(null);
|
|
250
|
+
}, a);
|
|
251
|
+
}
|
|
252
|
+
}, [
|
|
253
|
+
n,
|
|
254
|
+
e?.onChange,
|
|
255
|
+
e?.debounceMs,
|
|
256
|
+
l
|
|
257
|
+
])
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function Ve({ rows: e, groupBy: t, isGroupExpanded: n, groupKeys: r }) {
|
|
261
|
+
let i = /* @__PURE__ */ new Map();
|
|
262
|
+
for (let n of e) {
|
|
263
|
+
let e = t(n.original), r = i.get(e);
|
|
264
|
+
r ? r.push(n) : i.set(e, [n]);
|
|
265
|
+
}
|
|
266
|
+
let a = r ? [...r] : [...i.keys()];
|
|
267
|
+
if (r) for (let e of i.keys()) r.includes(e) || a.push(e);
|
|
268
|
+
if (a.length === 0) return [];
|
|
269
|
+
let o = [];
|
|
270
|
+
for (let e of a) if (n(e)) for (let t of i.get(e) ?? []) o.push(t.id);
|
|
271
|
+
let s = o[o.length - 1], c = [];
|
|
272
|
+
for (let e of a) {
|
|
273
|
+
let t = i.get(e) ?? [];
|
|
274
|
+
if (c.push({
|
|
275
|
+
kind: "header",
|
|
276
|
+
groupKey: e,
|
|
277
|
+
rows: t
|
|
278
|
+
}), n(e)) for (let e of t) c.push({
|
|
279
|
+
kind: "row",
|
|
280
|
+
row: e,
|
|
281
|
+
isLastVisible: e.id === s
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
return c;
|
|
285
|
+
}
|
|
286
|
+
function He({ defaultExpandedGroups: e, groupKeys: t }) {
|
|
287
|
+
return e === "all" ? new Set(t) : e === "none" ? /* @__PURE__ */ new Set() : new Set(e);
|
|
288
|
+
}
|
|
289
|
+
function Ue(e) {
|
|
290
|
+
if (Array.isArray(e.columns)) return;
|
|
291
|
+
let t = e.children == null ? `Received ${e.columns === null ? "null" : typeof e.columns}.` : "It was given `children`, so this is probably composition markup: use `<TablePrimitive.Root>` (with TableHeader/TableRow/TableCell) for a static table, or pass `columns` + `data` to use this one.";
|
|
292
|
+
throw Error(`Table: \`columns\` must be an array. ${t}`);
|
|
293
|
+
}
|
|
294
|
+
function N(t) {
|
|
295
|
+
Ue(t);
|
|
296
|
+
let { columns: r, data: i, selectable: a = !1, getRowId: o, selectedRowIds: s, onSelectionChange: c, enableRowSelection: l, rowActions: u, getRowLabel: d, searchable: f, filters: p, toolbar: m, actions: h, footer: g, pageSize: _ = 50, disablePagination: ee, resizableColumns: v = !1, columnSizingStorageKey: y, defaultSort: de, manualPagination: S = !1, rowCount: fe, pageIndex: pe, onPageChange: me, manualSorting: C = !1, sorting: ge, onSortingChange: O, manualFiltering: k = !1, columnFilters: j, onColumnFiltersChange: Ne, loading: Pe = !1, emptyMessage: Fe = "No data", onRowClick: M, rowHref: Ie, rowClassName: Le, minWidth: N, height: P, bordered: Ze = !0, variant: F = "table", ariaLabel: $e, className: et, groupBy: I, groupKeys: L, renderGroupHeader: tt, collapsibleGroups: R = !1, expandedGroups: z, defaultExpandedGroups: B = "all", onExpandedGroupsChange: nt } = t, V = !!(ee || I && !S), H = w.useRef(!1);
|
|
297
|
+
w.useEffect(() => {
|
|
298
|
+
process.env.NODE_ENV === "production" || !I || ee === !0 || S || H.current || (H.current = !0, console.warn("ProDataTable: `groupBy` forces pagination off (v1). Pass `disablePagination` explicitly to silence this."));
|
|
299
|
+
}, [
|
|
300
|
+
I,
|
|
301
|
+
ee,
|
|
302
|
+
S
|
|
303
|
+
]);
|
|
304
|
+
let U = w.useMemo(() => f ? typeof f == "object" ? f : {} : null, [f]), [rt, it] = w.useState(de ?? []), at = C ? ge ?? [] : rt, ot = w.useCallback((e) => {
|
|
305
|
+
if (C) {
|
|
306
|
+
let t = typeof e == "function" ? e(ge ?? []) : e;
|
|
307
|
+
O?.(t);
|
|
308
|
+
} else it(e);
|
|
309
|
+
}, [
|
|
310
|
+
C,
|
|
311
|
+
ge,
|
|
312
|
+
O
|
|
313
|
+
]), [st, ct] = w.useState({
|
|
314
|
+
pageIndex: 0,
|
|
315
|
+
pageSize: _
|
|
316
|
+
}), lt = S ? {
|
|
317
|
+
pageIndex: pe ?? 0,
|
|
318
|
+
pageSize: _
|
|
319
|
+
} : st, ut = w.useCallback((e) => {
|
|
320
|
+
if (S) {
|
|
321
|
+
let t = {
|
|
322
|
+
pageIndex: pe ?? 0,
|
|
323
|
+
pageSize: _
|
|
324
|
+
}, n = typeof e == "function" ? e(t) : e;
|
|
325
|
+
n.pageIndex !== t.pageIndex && me?.(n.pageIndex);
|
|
326
|
+
} else ct(e);
|
|
327
|
+
}, [
|
|
328
|
+
S,
|
|
329
|
+
pe,
|
|
330
|
+
_,
|
|
331
|
+
me
|
|
332
|
+
]), { searchQuery: W, handleSearchInput: dt } = Be(U), [G, ft] = w.useState(() => /* @__PURE__ */ new Set()), pt = w.useRef(!1), K = W.trim().length > 0, q = z != null, mt = w.useCallback((e) => {
|
|
333
|
+
q || ft(e), nt?.(e);
|
|
334
|
+
}, [q, nt]), ht = w.useCallback((e) => {
|
|
335
|
+
if (!R || K) return;
|
|
336
|
+
let t = new Set(q ? z : G);
|
|
337
|
+
t.has(e) ? t.delete(e) : t.add(e), mt(t);
|
|
338
|
+
}, [
|
|
339
|
+
R,
|
|
340
|
+
K,
|
|
341
|
+
q,
|
|
342
|
+
z,
|
|
343
|
+
G,
|
|
344
|
+
mt
|
|
345
|
+
]), J = !S || k, [gt, _t] = w.useState([]), vt = w.useMemo(() => k ? j ?? [] : gt, [
|
|
346
|
+
k,
|
|
347
|
+
j,
|
|
348
|
+
gt
|
|
349
|
+
]), yt = w.useCallback((e) => {
|
|
350
|
+
if (k) {
|
|
351
|
+
let t = typeof e == "function" ? e(j ?? []) : e;
|
|
352
|
+
Ne?.(t);
|
|
353
|
+
} else _t(e);
|
|
354
|
+
}, [
|
|
355
|
+
k,
|
|
356
|
+
j,
|
|
357
|
+
Ne
|
|
358
|
+
]), bt = w.useCallback((e, t, n) => be(e.getValue(t), n), []), xt = w.useCallback((e, t, n) => be(e.getValue(t), n), []), [Y, St] = w.useState(() => {
|
|
359
|
+
if (!v) return {};
|
|
360
|
+
let e = new Map(r.map((e) => [A(e), Ce(e.meta ?? {})]));
|
|
361
|
+
return we(y, (t) => e.get(t) ?? 0);
|
|
362
|
+
});
|
|
363
|
+
w.useEffect(() => {
|
|
364
|
+
v && Te(y, Y);
|
|
365
|
+
}, [
|
|
366
|
+
v,
|
|
367
|
+
y,
|
|
368
|
+
Y
|
|
369
|
+
]);
|
|
370
|
+
let [Ct, wt] = w.useState({}), Tt = s != null, Et = w.useMemo(() => {
|
|
371
|
+
if (!Tt) return Ct;
|
|
372
|
+
let e = {};
|
|
373
|
+
for (let t of s ?? []) e[t] = !0;
|
|
374
|
+
return e;
|
|
375
|
+
}, [
|
|
376
|
+
Tt,
|
|
377
|
+
s,
|
|
378
|
+
Ct
|
|
379
|
+
]), Dt = w.useCallback((e) => {
|
|
380
|
+
let t = typeof e == "function" ? e(Et) : e;
|
|
381
|
+
Tt || wt(t), c?.(Object.keys(t).filter((e) => t[e]));
|
|
382
|
+
}, [
|
|
383
|
+
Et,
|
|
384
|
+
Tt,
|
|
385
|
+
c
|
|
386
|
+
]);
|
|
387
|
+
process.env.NODE_ENV !== "production" && a && !o && console.warn("ProDataTable: `selectable` without `getRowId` keys selection by row index — selection will not survive sort/filter/paging. Pass `getRowId`.");
|
|
388
|
+
let X = w.useMemo(() => {
|
|
389
|
+
let e = [
|
|
390
|
+
...a ? [Re(d)] : [],
|
|
391
|
+
...r,
|
|
392
|
+
...u ? [ze(u, d)] : []
|
|
393
|
+
];
|
|
394
|
+
return !v && !J ? e : e.map((e) => {
|
|
395
|
+
let t = e.meta ?? {}, n = e;
|
|
396
|
+
return v && (n = {
|
|
397
|
+
...n,
|
|
398
|
+
size: D(e),
|
|
399
|
+
minSize: Ce(t),
|
|
400
|
+
enableResizing: t.enableResizing !== !1
|
|
401
|
+
}), J && t.filter && n.filterFn == null && (n = {
|
|
402
|
+
...n,
|
|
403
|
+
enableColumnFilter: !0,
|
|
404
|
+
filterFn: t.filter.type === "single" ? xt : bt
|
|
405
|
+
}), n;
|
|
406
|
+
});
|
|
407
|
+
}, [
|
|
408
|
+
r,
|
|
409
|
+
a,
|
|
410
|
+
u,
|
|
411
|
+
d,
|
|
412
|
+
v,
|
|
413
|
+
J,
|
|
414
|
+
xt,
|
|
415
|
+
bt
|
|
416
|
+
]), Ot = w.useRef(null), [kt, At] = w.useState(!1), Z = w.useCallback(() => {
|
|
417
|
+
let e = Ot.current;
|
|
418
|
+
if (!e) return;
|
|
419
|
+
let t = e.scrollWidth - e.clientWidth;
|
|
420
|
+
At(e.scrollLeft < t - 1);
|
|
421
|
+
}, []);
|
|
422
|
+
w.useEffect(() => {
|
|
423
|
+
let e = Ot.current;
|
|
424
|
+
if (!e) return;
|
|
425
|
+
Z(), e.addEventListener("scroll", Z, { passive: !0 });
|
|
426
|
+
let t = 0, n = new ResizeObserver(() => {
|
|
427
|
+
cancelAnimationFrame(t), t = requestAnimationFrame(Z);
|
|
428
|
+
});
|
|
429
|
+
return n.observe(e), () => {
|
|
430
|
+
cancelAnimationFrame(t), e.removeEventListener("scroll", Z), n.disconnect();
|
|
431
|
+
};
|
|
432
|
+
}, [Z]), w.useEffect(() => {
|
|
433
|
+
Z();
|
|
434
|
+
}, [Y, Z]);
|
|
435
|
+
let jt = w.useMemo(() => {
|
|
436
|
+
if (!U || U.onChange) return i;
|
|
437
|
+
let e = W.trim().toLowerCase();
|
|
438
|
+
if (!e) return i;
|
|
439
|
+
let t = U.accessor ?? ((e) => JSON.stringify(e).toLowerCase());
|
|
440
|
+
return i.filter((n) => t(n).toLowerCase().includes(e));
|
|
441
|
+
}, [
|
|
442
|
+
i,
|
|
443
|
+
W,
|
|
444
|
+
U
|
|
445
|
+
]), Q = se({
|
|
446
|
+
data: jt,
|
|
447
|
+
columns: X,
|
|
448
|
+
state: {
|
|
449
|
+
sorting: at,
|
|
450
|
+
pagination: lt,
|
|
451
|
+
...v ? { columnSizing: Y } : {},
|
|
452
|
+
...J ? { columnFilters: vt } : {},
|
|
453
|
+
...a ? { rowSelection: Et } : {}
|
|
454
|
+
},
|
|
455
|
+
getRowId: o ? (e) => o(e) : void 0,
|
|
456
|
+
enableRowSelection: a ? l ? (e) => l(e.original) : !0 : !1,
|
|
457
|
+
onRowSelectionChange: a ? Dt : void 0,
|
|
458
|
+
onSortingChange: ot,
|
|
459
|
+
onPaginationChange: ut,
|
|
460
|
+
onColumnFiltersChange: J ? yt : void 0,
|
|
461
|
+
getFilteredRowModel: J && !k ? re() : void 0,
|
|
462
|
+
manualFiltering: k || void 0,
|
|
463
|
+
onColumnSizingChange: v ? St : void 0,
|
|
464
|
+
enableColumnResizing: v,
|
|
465
|
+
columnResizeMode: "onChange",
|
|
466
|
+
manualSorting: C,
|
|
467
|
+
manualPagination: S,
|
|
468
|
+
...S ? { rowCount: fe ?? jt.length } : {},
|
|
469
|
+
getCoreRowModel: ne(),
|
|
470
|
+
getSortedRowModel: C ? void 0 : ae(),
|
|
471
|
+
getPaginationRowModel: V || S ? void 0 : ie()
|
|
472
|
+
}), $ = Q.getRowModel();
|
|
473
|
+
w.useEffect(() => {
|
|
474
|
+
if (!I || q || pt.current) return;
|
|
475
|
+
let e = L !== void 0, t = e ? [...L] : [...new Set(i.map((e) => I(e)))];
|
|
476
|
+
t.length === 0 && !e || (pt.current = !0, ft(He({
|
|
477
|
+
defaultExpandedGroups: B,
|
|
478
|
+
groupKeys: t
|
|
479
|
+
})));
|
|
480
|
+
}, [
|
|
481
|
+
I,
|
|
482
|
+
L,
|
|
483
|
+
q,
|
|
484
|
+
i,
|
|
485
|
+
B
|
|
486
|
+
]);
|
|
487
|
+
let Mt = w.useCallback((e) => !R || K || !q && !pt.current && B === "all" ? !0 : (q ? z : G).has(e), [
|
|
488
|
+
R,
|
|
489
|
+
K,
|
|
490
|
+
q,
|
|
491
|
+
z,
|
|
492
|
+
G,
|
|
493
|
+
B
|
|
494
|
+
]), Nt = w.useMemo(() => {
|
|
495
|
+
if (!I) return null;
|
|
496
|
+
let e = !K && L && L.length > 0 ? L : void 0;
|
|
497
|
+
return Ve({
|
|
498
|
+
rows: $.rows,
|
|
499
|
+
groupBy: I,
|
|
500
|
+
isGroupExpanded: Mt,
|
|
501
|
+
groupKeys: e
|
|
502
|
+
});
|
|
503
|
+
}, [
|
|
504
|
+
I,
|
|
505
|
+
L,
|
|
506
|
+
K,
|
|
507
|
+
$.rows,
|
|
508
|
+
Mt
|
|
509
|
+
]), Pt = X.length + +!!v, Ft = F === "list" ? "top-0" : "top-10";
|
|
510
|
+
w.useEffect(() => {
|
|
511
|
+
!J || S || V || ct((e) => e.pageIndex === 0 ? e : {
|
|
512
|
+
...e,
|
|
513
|
+
pageIndex: 0
|
|
514
|
+
});
|
|
515
|
+
}, [
|
|
516
|
+
vt,
|
|
517
|
+
J,
|
|
518
|
+
S,
|
|
519
|
+
V
|
|
520
|
+
]);
|
|
521
|
+
let It = v ? Q.getState().columnSizingInfo.isResizingColumn : null, Lt = w.useRef(!1), Rt = w.useRef(null), zt = w.useCallback(() => {
|
|
522
|
+
Lt.current = !0, Rt.current != null && window.clearTimeout(Rt.current), Rt.current = window.setTimeout(() => {
|
|
523
|
+
Lt.current = !1, Rt.current = null;
|
|
524
|
+
}, 0);
|
|
525
|
+
}, []), Bt = w.useCallback((e, t, n) => {
|
|
526
|
+
if (v && !(t.grow && !n && Y[e.id] == null)) return e.getSize();
|
|
527
|
+
}, [v, Y]), Vt = w.useCallback((e) => {
|
|
528
|
+
if (!v) return D(e);
|
|
529
|
+
let t = A(e), n = Y[t];
|
|
530
|
+
return typeof n == "number" && n > 0 ? n : D(e);
|
|
531
|
+
}, [v, Y]), Ht = w.useMemo(() => je(X, Vt), [X, Vt]), Ut = w.useMemo(() => {
|
|
532
|
+
let e = /* @__PURE__ */ new Map();
|
|
533
|
+
if (!J) return e;
|
|
534
|
+
for (let t of r) {
|
|
535
|
+
let n = t.meta ?? {};
|
|
536
|
+
if (!n.filter || n.filter.options) continue;
|
|
537
|
+
if (k) {
|
|
538
|
+
process.env.NODE_ENV !== "production" && console.warn(`[ProDataTable] Column "${A(t)}" opts into server-side filtering (manualFiltering) but supplies no meta.filter.options — the facet will be empty. Provide options explicitly.`);
|
|
539
|
+
continue;
|
|
540
|
+
}
|
|
541
|
+
let r = /* @__PURE__ */ new Set();
|
|
542
|
+
i.forEach((e, n) => {
|
|
543
|
+
let i = ye(Se(t, e, n));
|
|
544
|
+
i !== "" && r.add(i);
|
|
545
|
+
});
|
|
546
|
+
let a = Array.from(r).sort((e, t) => e.localeCompare(t)).map((e) => ({
|
|
547
|
+
value: e,
|
|
548
|
+
label: e
|
|
549
|
+
}));
|
|
550
|
+
e.set(A(t), a);
|
|
551
|
+
}
|
|
552
|
+
return e;
|
|
553
|
+
}, [
|
|
554
|
+
r,
|
|
555
|
+
i,
|
|
556
|
+
J,
|
|
557
|
+
k
|
|
558
|
+
]), Wt = w.useMemo(() => {
|
|
559
|
+
if (!J) return [];
|
|
560
|
+
let e = new Map(vt.map((e) => [e.id, e.value])), t = [];
|
|
561
|
+
for (let n of r) {
|
|
562
|
+
let r = (n.meta ?? {}).filter;
|
|
563
|
+
if (!r) continue;
|
|
564
|
+
let i = A(n), a = Q.getColumn(i);
|
|
565
|
+
if (!a) continue;
|
|
566
|
+
let o = r.options ?? Ut.get(i) ?? [], s = r.label ?? (typeof n.header == "string" ? n.header : i), c = r.searchPlaceholder;
|
|
567
|
+
if (r.type === "single") {
|
|
568
|
+
let n = e.get(i);
|
|
569
|
+
t.push({
|
|
570
|
+
type: "single",
|
|
571
|
+
key: i,
|
|
572
|
+
label: s,
|
|
573
|
+
searchPlaceholder: c,
|
|
574
|
+
options: o,
|
|
575
|
+
defaultValue: r.defaultValue,
|
|
576
|
+
value: n ?? r.defaultValue ?? null,
|
|
577
|
+
onChange: (e) => a.setFilterValue(xe(e, r.defaultValue))
|
|
578
|
+
});
|
|
579
|
+
} else t.push({
|
|
580
|
+
type: "multi",
|
|
581
|
+
key: i,
|
|
582
|
+
label: s,
|
|
583
|
+
searchPlaceholder: c,
|
|
584
|
+
options: o,
|
|
585
|
+
selected: e.get(i) ?? [],
|
|
586
|
+
onChange: (e) => a.setFilterValue(e.length > 0 ? e : void 0)
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
return t;
|
|
590
|
+
}, [
|
|
591
|
+
r,
|
|
592
|
+
Q,
|
|
593
|
+
Ut,
|
|
594
|
+
J,
|
|
595
|
+
vt
|
|
596
|
+
]), Gt = !!(U || p || m || h || Wt.length > 0), Kt = P == null ? void 0 : typeof P == "number" ? `${P}px` : P, qt = w.useMemo(() => {
|
|
597
|
+
if (N != null) return N;
|
|
598
|
+
let e = 0;
|
|
599
|
+
for (let t of X) e += v ? Vt(t) : (t.meta ?? {}).minWidth ?? (t.meta ?? {}).width ?? ve;
|
|
600
|
+
return e;
|
|
601
|
+
}, [
|
|
602
|
+
X,
|
|
603
|
+
N,
|
|
604
|
+
v,
|
|
605
|
+
Vt
|
|
606
|
+
]);
|
|
607
|
+
return /* @__PURE__ */ E("div", {
|
|
608
|
+
"data-slot": "table",
|
|
609
|
+
className: e(et, "flex flex-col min-h-0 bg-card", P == null && "flex-1 h-full", Ze && "rounded-surface border border-border overflow-hidden"),
|
|
610
|
+
style: Kt == null ? void 0 : { height: Kt },
|
|
611
|
+
children: [
|
|
612
|
+
Gt && /* @__PURE__ */ T("div", {
|
|
613
|
+
className: "shrink-0 border-b border-border",
|
|
614
|
+
children: /* @__PURE__ */ E(Je, { children: [
|
|
615
|
+
U && /* @__PURE__ */ T(n, {
|
|
616
|
+
containerClassName: "shrink-0",
|
|
617
|
+
style: { width: U.width ?? 240 },
|
|
618
|
+
value: W,
|
|
619
|
+
onChange: (e) => dt(e.currentTarget.value),
|
|
620
|
+
placeholder: U.placeholder ?? "Search",
|
|
621
|
+
className: "h-8 text-body"
|
|
622
|
+
}),
|
|
623
|
+
Wt.length > 0 && /* @__PURE__ */ E(_e, { children: [/* @__PURE__ */ T(he, {
|
|
624
|
+
facets: Wt,
|
|
625
|
+
align: "start",
|
|
626
|
+
onClearAll: () => Q.resetColumnFilters()
|
|
627
|
+
}), Wt.filter(Xe).map((e) => /* @__PURE__ */ T(Qe, { facet: e }, e.key))] }),
|
|
628
|
+
p && /* @__PURE__ */ T(Ye, { filters: p }),
|
|
629
|
+
m,
|
|
630
|
+
h && /* @__PURE__ */ T("div", {
|
|
631
|
+
className: "ml-auto flex items-center gap-2",
|
|
632
|
+
children: h
|
|
633
|
+
})
|
|
634
|
+
] })
|
|
635
|
+
}),
|
|
636
|
+
/* @__PURE__ */ E("div", {
|
|
637
|
+
className: "relative flex min-h-0 flex-1 flex-col",
|
|
638
|
+
children: [/* @__PURE__ */ T("div", {
|
|
639
|
+
ref: Ot,
|
|
640
|
+
className: e("flex-1 min-h-0 overflow-auto", Ae),
|
|
641
|
+
children: /* @__PURE__ */ E("table", {
|
|
642
|
+
"aria-label": $e,
|
|
643
|
+
className: "caption-bottom w-full text-cell",
|
|
644
|
+
style: {
|
|
645
|
+
tableLayout: "fixed",
|
|
646
|
+
minWidth: qt
|
|
647
|
+
},
|
|
648
|
+
children: [F !== "list" && /* @__PURE__ */ T(ue, {
|
|
649
|
+
className: "sticky top-0 z-[2]",
|
|
650
|
+
children: Q.getHeaderGroups().map((t) => /* @__PURE__ */ E(x, {
|
|
651
|
+
className: "border-b-0 bg-surface hover:bg-surface",
|
|
652
|
+
children: [t.headers.map((t) => {
|
|
653
|
+
let n = t.column.columnDef.meta ?? {}, r = n.align ?? "left", i = t.column.getCanSort(), a = t.column.getIsSorted(), o = Ht.get(t.column.id), s = v && t.column.getCanResize(), c = It === t.column.id;
|
|
654
|
+
return /* @__PURE__ */ E(le, {
|
|
655
|
+
onClick: i ? (e) => {
|
|
656
|
+
if (It || Lt.current) {
|
|
657
|
+
Lt.current = !1;
|
|
658
|
+
return;
|
|
659
|
+
}
|
|
660
|
+
t.column.getToggleSortingHandler()?.(e);
|
|
661
|
+
} : void 0,
|
|
662
|
+
className: e(v && "relative select-none", "min-h-10 py-2 px-3 text-eyebrow text-muted-foreground align-middle", "first:pl-4 last:pr-4", r === "right" && "text-right", r === "center" && "text-center", i && "cursor-pointer select-none hover:text-foreground", o && ["sticky z-[3]", De], o && s && "hover:z-[4]", o && s && c && "z-[4]", o?.isEdge && ke, n.headerMono && "font-mono", n.headerClassName),
|
|
663
|
+
style: {
|
|
664
|
+
...Me(n, !!o, Bt(t.column, n, !!o)),
|
|
665
|
+
...o ? o.side === "left" ? { left: `${o.offset}px` } : { right: `${o.offset}px` } : null,
|
|
666
|
+
boxShadow: [o?.isEdge && o.side === "left" ? "8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null, o?.isEdge && o.side === "right" && kt ? "-8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null].filter(Boolean).join(", ")
|
|
667
|
+
},
|
|
668
|
+
children: [/* @__PURE__ */ E("span", {
|
|
669
|
+
className: e("flex w-full items-center gap-inline", r === "right" && "justify-end", r === "center" && "justify-center"),
|
|
670
|
+
children: [typeof t.column.columnDef.header == "string" ? /* @__PURE__ */ T(Ge, {
|
|
671
|
+
label: t.column.columnDef.header,
|
|
672
|
+
align: r
|
|
673
|
+
}) : /* @__PURE__ */ T("span", {
|
|
674
|
+
className: e("min-w-0 line-clamp-2", r === "right" && "text-right", r === "center" && "text-center"),
|
|
675
|
+
children: oe(t.column.columnDef.header, t.getContext())
|
|
676
|
+
}), i && !n.hideSortIndicator && /* @__PURE__ */ T("span", {
|
|
677
|
+
className: "shrink-0",
|
|
678
|
+
children: /* @__PURE__ */ T(Ke, { direction: a })
|
|
679
|
+
})]
|
|
680
|
+
}), s && /* @__PURE__ */ T(We, {
|
|
681
|
+
header: t,
|
|
682
|
+
isResizing: c,
|
|
683
|
+
armSuppressSortClick: zt
|
|
684
|
+
})]
|
|
685
|
+
}, t.id);
|
|
686
|
+
}), v && /* @__PURE__ */ T(le, {
|
|
687
|
+
"aria-hidden": !0,
|
|
688
|
+
className: "p-0",
|
|
689
|
+
style: { minWidth: 0 }
|
|
690
|
+
})]
|
|
691
|
+
}, t.id))
|
|
692
|
+
}), /* @__PURE__ */ E(ce, { children: [Nt ? Nt.map((t) => {
|
|
693
|
+
if (t.kind === "header") {
|
|
694
|
+
let n = Mt(t.groupKey), r = tt ? tt({
|
|
695
|
+
groupKey: t.groupKey,
|
|
696
|
+
rows: t.rows.map((e) => e.original),
|
|
697
|
+
expanded: n,
|
|
698
|
+
toggle: () => ht(t.groupKey)
|
|
699
|
+
}) : /* @__PURE__ */ T("div", {
|
|
700
|
+
className: "px-default py-compact text-body font-medium",
|
|
701
|
+
children: t.groupKey
|
|
702
|
+
});
|
|
703
|
+
return /* @__PURE__ */ T(x, {
|
|
704
|
+
"data-slot": "table-group-header",
|
|
705
|
+
"data-group-key": t.groupKey,
|
|
706
|
+
"data-expanded": n ? "true" : "false",
|
|
707
|
+
className: e("group sticky z-[1] border-b-0 bg-muted", R ? "hover:bg-accent" : "hover:bg-muted", Ft),
|
|
708
|
+
children: /* @__PURE__ */ T(b, {
|
|
709
|
+
colSpan: Pt,
|
|
710
|
+
className: "p-0 align-middle",
|
|
711
|
+
style: { boxShadow: "inset 0 -1px 0 var(--color-border)" },
|
|
712
|
+
children: r
|
|
713
|
+
})
|
|
714
|
+
}, `group:${t.groupKey}`);
|
|
715
|
+
}
|
|
716
|
+
let n = t.row, r = t.isLastVisible, i = Ie?.(n.original);
|
|
717
|
+
return /* @__PURE__ */ E(x, {
|
|
718
|
+
onClick: M || i ? (e) => {
|
|
719
|
+
if (i && (e.metaKey || e.ctrlKey || e.shiftKey)) {
|
|
720
|
+
e.preventDefault(), window.open(i, "_blank", "noopener,noreferrer");
|
|
721
|
+
return;
|
|
722
|
+
}
|
|
723
|
+
M?.(n.original);
|
|
724
|
+
} : void 0,
|
|
725
|
+
onAuxClick: i ? (e) => {
|
|
726
|
+
e.button === 1 && (e.preventDefault(), window.open(i, "_blank", "noopener,noreferrer"));
|
|
727
|
+
} : void 0,
|
|
728
|
+
className: e("group border-b-0 hover:bg-surface-hover transition-none", (M || i) && "cursor-pointer", Le?.(n)),
|
|
729
|
+
children: [n.getVisibleCells().map((t) => {
|
|
730
|
+
let n = t.column.columnDef.meta ?? {}, i = n.align ?? "left", a = Ht.get(t.column.id);
|
|
731
|
+
return /* @__PURE__ */ T(b, {
|
|
732
|
+
...Ee(n),
|
|
733
|
+
className: e("py-default px-3 align-middle text-cell text-foreground overflow-hidden first:pl-4 last:pr-4", i === "right" && "text-right", i === "center" && "text-center", a && ["sticky z-[1] bg-card", Oe], a?.isEdge && ke, n.cellClassName),
|
|
734
|
+
style: {
|
|
735
|
+
...Me(n, !!a, Bt(t.column, n, !!a)),
|
|
736
|
+
...a ? a.side === "left" ? { left: `${a.offset}px` } : { right: `${a.offset}px` } : null,
|
|
737
|
+
boxShadow: [
|
|
738
|
+
r ? null : "inset 0 -1px 0 var(--color-border)",
|
|
739
|
+
a?.isEdge && a.side === "left" ? "8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null,
|
|
740
|
+
a?.isEdge && a.side === "right" && kt ? "-8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null
|
|
741
|
+
].filter(Boolean).join(", ") || void 0
|
|
742
|
+
},
|
|
743
|
+
children: oe(t.column.columnDef.cell, t.getContext())
|
|
744
|
+
}, t.id);
|
|
745
|
+
}), v && /* @__PURE__ */ T(b, {
|
|
746
|
+
"aria-hidden": !0,
|
|
747
|
+
className: "p-0",
|
|
748
|
+
style: {
|
|
749
|
+
minWidth: 0,
|
|
750
|
+
boxShadow: r ? void 0 : "inset 0 -1px 0 var(--color-border)"
|
|
751
|
+
}
|
|
752
|
+
})]
|
|
753
|
+
}, n.id);
|
|
754
|
+
}) : $.rows.map((t, n) => {
|
|
755
|
+
let r = n === $.rows.length - 1, i = Ie?.(t.original);
|
|
756
|
+
return /* @__PURE__ */ E(x, {
|
|
757
|
+
onClick: M || i ? (e) => {
|
|
758
|
+
if (i && (e.metaKey || e.ctrlKey || e.shiftKey)) {
|
|
759
|
+
e.preventDefault(), window.open(i, "_blank", "noopener,noreferrer");
|
|
760
|
+
return;
|
|
761
|
+
}
|
|
762
|
+
M?.(t.original);
|
|
763
|
+
} : void 0,
|
|
764
|
+
onAuxClick: i ? (e) => {
|
|
765
|
+
e.button === 1 && (e.preventDefault(), window.open(i, "_blank", "noopener,noreferrer"));
|
|
766
|
+
} : void 0,
|
|
767
|
+
className: e("group border-b-0 hover:bg-surface-hover transition-none", (M || i) && "cursor-pointer", Le?.(t)),
|
|
768
|
+
children: [t.getVisibleCells().map((t) => {
|
|
769
|
+
let n = t.column.columnDef.meta ?? {}, i = n.align ?? "left", a = Ht.get(t.column.id);
|
|
770
|
+
return /* @__PURE__ */ T(b, {
|
|
771
|
+
...Ee(n),
|
|
772
|
+
className: e("py-default px-3 align-middle text-cell text-foreground overflow-hidden first:pl-4 last:pr-4", i === "right" && "text-right", i === "center" && "text-center", a && ["sticky z-[1] bg-card", Oe], a?.isEdge && ke, n.cellClassName),
|
|
773
|
+
style: {
|
|
774
|
+
...Me(n, !!a, Bt(t.column, n, !!a)),
|
|
775
|
+
...a ? a.side === "left" ? { left: `${a.offset}px` } : { right: `${a.offset}px` } : null,
|
|
776
|
+
boxShadow: [
|
|
777
|
+
r ? null : "inset 0 -1px 0 var(--color-border)",
|
|
778
|
+
a?.isEdge && a.side === "left" ? "8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null,
|
|
779
|
+
a?.isEdge && a.side === "right" && kt ? "-8px 0 12px -6px rgba(9, 10, 12, 0.14)" : null
|
|
780
|
+
].filter(Boolean).join(", ") || void 0
|
|
781
|
+
},
|
|
782
|
+
children: oe(t.column.columnDef.cell, t.getContext())
|
|
783
|
+
}, t.id);
|
|
784
|
+
}), v && /* @__PURE__ */ T(b, {
|
|
785
|
+
"aria-hidden": !0,
|
|
786
|
+
className: "p-0",
|
|
787
|
+
style: {
|
|
788
|
+
minWidth: 0,
|
|
789
|
+
boxShadow: r ? void 0 : "inset 0 -1px 0 var(--color-border)"
|
|
790
|
+
}
|
|
791
|
+
})]
|
|
792
|
+
}, t.id);
|
|
793
|
+
}), $.rows.length === 0 && !(Nt && Nt.length > 0) && /* @__PURE__ */ T(x, {
|
|
794
|
+
className: "hover:bg-transparent",
|
|
795
|
+
children: /* @__PURE__ */ T(b, {
|
|
796
|
+
colSpan: Pt,
|
|
797
|
+
className: "h-24 px-4 text-center text-cell text-muted-foreground",
|
|
798
|
+
children: Fe
|
|
799
|
+
})
|
|
800
|
+
})] })]
|
|
801
|
+
})
|
|
802
|
+
}), Pe && /* @__PURE__ */ T("div", {
|
|
803
|
+
"aria-hidden": !0,
|
|
804
|
+
className: "absolute inset-0 z-[5] flex items-center justify-center bg-card/70",
|
|
805
|
+
children: /* @__PURE__ */ T(te, { size: "sm" })
|
|
806
|
+
})]
|
|
807
|
+
}),
|
|
808
|
+
g && /* @__PURE__ */ T("div", {
|
|
809
|
+
className: "shrink-0",
|
|
810
|
+
children: g
|
|
811
|
+
}),
|
|
812
|
+
!V && !g && (S ? (fe ?? 0) > lt.pageSize : i.length > lt.pageSize) && /* @__PURE__ */ T("div", {
|
|
813
|
+
className: "shrink-0",
|
|
814
|
+
children: /* @__PURE__ */ T(qe, {
|
|
815
|
+
table: Q,
|
|
816
|
+
total: S ? fe ?? 0 : void 0
|
|
817
|
+
})
|
|
818
|
+
})
|
|
819
|
+
]
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
function We({ header: t, isResizing: n, armSuppressSortClick: r }) {
|
|
823
|
+
let i = t.getResizeHandler();
|
|
824
|
+
return /* @__PURE__ */ T("div", {
|
|
825
|
+
"aria-hidden": !0,
|
|
826
|
+
"data-slot": "column-resize-handle",
|
|
827
|
+
onClick: (e) => e.stopPropagation(),
|
|
828
|
+
onMouseDown: (e) => {
|
|
829
|
+
let t = () => {}, n = () => {
|
|
830
|
+
r(), t();
|
|
831
|
+
}, a = () => {
|
|
832
|
+
t();
|
|
833
|
+
};
|
|
834
|
+
t = () => {
|
|
835
|
+
document.removeEventListener("mouseup", n, !0), window.removeEventListener("blur", a, !0);
|
|
836
|
+
}, document.addEventListener("mouseup", n, !0), window.addEventListener("blur", a, !0), i(e);
|
|
837
|
+
},
|
|
838
|
+
onTouchStart: (e) => {
|
|
839
|
+
let t = () => {}, n = () => {
|
|
840
|
+
r(), t();
|
|
841
|
+
}, a = () => {
|
|
842
|
+
t();
|
|
843
|
+
}, o = () => {
|
|
844
|
+
t();
|
|
845
|
+
};
|
|
846
|
+
t = () => {
|
|
847
|
+
document.removeEventListener("touchend", n, !0), document.removeEventListener("touchcancel", a, !0), window.removeEventListener("blur", o, !0);
|
|
848
|
+
}, document.addEventListener("touchend", n, !0), document.addEventListener("touchcancel", a, !0), window.addEventListener("blur", o, !0), i(e);
|
|
849
|
+
},
|
|
850
|
+
onDoubleClick: (e) => {
|
|
851
|
+
e.stopPropagation(), t.column.resetSize();
|
|
852
|
+
},
|
|
853
|
+
className: e("group/resize absolute right-0 top-0 z-[1] flex h-full w-3 cursor-col-resize touch-none select-none justify-end"),
|
|
854
|
+
children: /* @__PURE__ */ T("span", {
|
|
855
|
+
"aria-hidden": !0,
|
|
856
|
+
className: e("h-full w-0.5 transition-colors", n ? "bg-muted-foreground" : "bg-transparent group-hover/resize:bg-border")
|
|
857
|
+
})
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
function Ge({ label: t, align: n }) {
|
|
861
|
+
let c = w.useRef(null), [l, u] = w.useState(!1);
|
|
862
|
+
return w.useEffect(() => {
|
|
863
|
+
let e = c.current;
|
|
864
|
+
if (!e) return;
|
|
865
|
+
let t = () => u(e.scrollHeight > e.clientHeight + 1 || e.scrollWidth > e.clientWidth + 1);
|
|
866
|
+
t();
|
|
867
|
+
let n = new ResizeObserver(t);
|
|
868
|
+
return n.observe(e), () => n.disconnect();
|
|
869
|
+
}, [t]), /* @__PURE__ */ T(a, {
|
|
870
|
+
delayDuration: 200,
|
|
871
|
+
children: /* @__PURE__ */ E(r, {
|
|
872
|
+
...s(l),
|
|
873
|
+
children: [/* @__PURE__ */ T(o, {
|
|
874
|
+
asChild: !0,
|
|
875
|
+
children: /* @__PURE__ */ T("span", {
|
|
876
|
+
ref: c,
|
|
877
|
+
className: e("min-w-0 line-clamp-2", n === "right" && "text-right", n === "center" && "text-center"),
|
|
878
|
+
children: t
|
|
879
|
+
})
|
|
880
|
+
}), /* @__PURE__ */ T(i, {
|
|
881
|
+
side: "top",
|
|
882
|
+
className: "max-w-64 text-caption",
|
|
883
|
+
children: t
|
|
884
|
+
})]
|
|
885
|
+
})
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
function Ke({ direction: e }) {
|
|
889
|
+
return e === "asc" ? /* @__PURE__ */ T(f, {
|
|
890
|
+
strokeWidth: 2,
|
|
891
|
+
className: "size-icon-sm text-foreground"
|
|
892
|
+
}) : e === "desc" ? /* @__PURE__ */ T(l, {
|
|
893
|
+
strokeWidth: 2,
|
|
894
|
+
className: "size-icon-sm text-foreground"
|
|
895
|
+
}) : /* @__PURE__ */ T(m, {
|
|
896
|
+
strokeWidth: 1.6,
|
|
897
|
+
className: "size-icon-sm text-muted-foreground"
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
function qe({ table: n, className: r, totalLabel: i, total: a }) {
|
|
901
|
+
let o = a ?? n.getFilteredRowModel().rows.length, { pageIndex: s, pageSize: c } = n.getState().pagination, l = o === 0 ? 0 : s * c + 1, f = Math.min((s + 1) * c, o);
|
|
902
|
+
return /* @__PURE__ */ E("div", {
|
|
903
|
+
className: e("flex items-center gap-2 border-t border-border bg-surface px-4 py-compact text-caption text-muted-foreground", r),
|
|
904
|
+
children: [
|
|
905
|
+
/* @__PURE__ */ T("span", { children: i ? i({
|
|
906
|
+
from: l,
|
|
907
|
+
to: f,
|
|
908
|
+
total: o
|
|
909
|
+
}) : `Showing ${l}–${f} of ${o}` }),
|
|
910
|
+
/* @__PURE__ */ T("div", { className: "flex-1" }),
|
|
911
|
+
/* @__PURE__ */ T(t, {
|
|
912
|
+
type: "button",
|
|
913
|
+
variant: "ghost",
|
|
914
|
+
size: "icon-sm",
|
|
915
|
+
onClick: () => n.previousPage(),
|
|
916
|
+
disabled: !n.getCanPreviousPage(),
|
|
917
|
+
"aria-label": "Previous page",
|
|
918
|
+
children: /* @__PURE__ */ T(u, { size: 14 })
|
|
919
|
+
}),
|
|
920
|
+
/* @__PURE__ */ E("span", {
|
|
921
|
+
className: "text-code tabular-nums text-muted-foreground",
|
|
922
|
+
children: [
|
|
923
|
+
s + 1,
|
|
924
|
+
" / ",
|
|
925
|
+
Math.max(1, n.getPageCount())
|
|
926
|
+
]
|
|
927
|
+
}),
|
|
928
|
+
/* @__PURE__ */ T(t, {
|
|
929
|
+
type: "button",
|
|
930
|
+
variant: "ghost",
|
|
931
|
+
size: "icon-sm",
|
|
932
|
+
onClick: () => n.nextPage(),
|
|
933
|
+
disabled: !n.getCanNextPage(),
|
|
934
|
+
"aria-label": "Next page",
|
|
935
|
+
children: /* @__PURE__ */ T(d, { size: 14 })
|
|
936
|
+
})
|
|
937
|
+
]
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
function Je({ className: t, children: n }) {
|
|
941
|
+
return /* @__PURE__ */ T("div", {
|
|
942
|
+
className: e("flex flex-wrap items-center gap-2 px-4 py-2", t),
|
|
943
|
+
children: n
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
function Ye({ filters: t }) {
|
|
947
|
+
return /* @__PURE__ */ T("div", {
|
|
948
|
+
className: "flex items-center gap-inline",
|
|
949
|
+
role: "group",
|
|
950
|
+
"aria-label": t.ariaLabel ?? "Filter",
|
|
951
|
+
children: t.options.map((n) => /* @__PURE__ */ T("button", {
|
|
952
|
+
type: "button",
|
|
953
|
+
onClick: () => t.onChange(n.id),
|
|
954
|
+
"aria-pressed": t.value === n.id,
|
|
955
|
+
className: e("rounded-control border border-border px-default py-compact text-control-sm transition-colors", t.value === n.id ? "bg-accent text-foreground" : "text-muted-foreground hover:bg-accent hover:text-foreground"),
|
|
956
|
+
children: n.label
|
|
957
|
+
}, n.id))
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
function Xe(e) {
|
|
961
|
+
return e.type === "multi" ? e.selected.length > 0 : e.value != null && e.value !== (e.defaultValue ?? null);
|
|
962
|
+
}
|
|
963
|
+
function P(e) {
|
|
964
|
+
let t = (t) => e.options.find((e) => e.value === t)?.label ?? t;
|
|
965
|
+
return e.type === "single" ? e.value == null ? "" : t(e.value) : e.selected.length === 1 ? t(e.selected[0]) : `${e.selected.length} selected`;
|
|
966
|
+
}
|
|
967
|
+
function Ze(e) {
|
|
968
|
+
e.type === "multi" ? e.onChange([]) : e.onChange(e.defaultValue ?? null);
|
|
969
|
+
}
|
|
970
|
+
function Qe({ facet: e }) {
|
|
971
|
+
return /* @__PURE__ */ E("div", {
|
|
972
|
+
className: "inline-flex h-8 items-center rounded-sm border border-border bg-background text-control-sm",
|
|
973
|
+
children: [/* @__PURE__ */ E(S, { children: [/* @__PURE__ */ T(pe, {
|
|
974
|
+
asChild: !0,
|
|
975
|
+
children: /* @__PURE__ */ E("button", {
|
|
976
|
+
type: "button",
|
|
977
|
+
className: "flex h-full items-center gap-1 rounded-l-sm pl-2 pr-1.5 transition-colors hover:bg-accent data-[state=open]:bg-accent",
|
|
978
|
+
children: [/* @__PURE__ */ T("span", {
|
|
979
|
+
className: "font-normal text-muted-foreground",
|
|
980
|
+
children: e.label
|
|
981
|
+
}), /* @__PURE__ */ T("span", {
|
|
982
|
+
className: "text-foreground",
|
|
983
|
+
children: P(e)
|
|
984
|
+
})]
|
|
985
|
+
})
|
|
986
|
+
}), /* @__PURE__ */ T(fe, {
|
|
987
|
+
align: "start",
|
|
988
|
+
className: "w-64 p-0",
|
|
989
|
+
children: e.type === "multi" ? /* @__PURE__ */ T(me, {
|
|
990
|
+
options: e.options,
|
|
991
|
+
selected: e.selected,
|
|
992
|
+
onChange: e.onChange,
|
|
993
|
+
searchPlaceholder: e.searchPlaceholder ?? e.label
|
|
994
|
+
}) : /* @__PURE__ */ T(C, {
|
|
995
|
+
options: e.options,
|
|
996
|
+
value: e.value,
|
|
997
|
+
onChange: e.onChange,
|
|
998
|
+
searchPlaceholder: e.searchPlaceholder ?? e.label,
|
|
999
|
+
clearable: e.defaultValue == null
|
|
1000
|
+
})
|
|
1001
|
+
})] }), /* @__PURE__ */ T("button", {
|
|
1002
|
+
type: "button",
|
|
1003
|
+
"aria-label": `Remove ${e.label} filter`,
|
|
1004
|
+
onClick: () => Ze(e),
|
|
1005
|
+
className: "flex h-full items-center rounded-r-sm border-l border-border px-1.5 text-muted-foreground transition-colors hover:bg-accent hover:text-muted-foreground",
|
|
1006
|
+
children: /* @__PURE__ */ T(h, { className: "size-icon-sm" })
|
|
1007
|
+
})]
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
var F = {
|
|
1011
|
+
"identity-1": {
|
|
1012
|
+
bg: "bg-identity-1",
|
|
1013
|
+
fg: "text-identity-1-text"
|
|
1014
|
+
},
|
|
1015
|
+
"identity-2": {
|
|
1016
|
+
bg: "bg-identity-2",
|
|
1017
|
+
fg: "text-identity-2-text"
|
|
1018
|
+
},
|
|
1019
|
+
"identity-3": {
|
|
1020
|
+
bg: "bg-identity-3",
|
|
1021
|
+
fg: "text-identity-3-text"
|
|
1022
|
+
},
|
|
1023
|
+
"identity-4": {
|
|
1024
|
+
bg: "bg-identity-4",
|
|
1025
|
+
fg: "text-identity-4-text"
|
|
1026
|
+
},
|
|
1027
|
+
"identity-5": {
|
|
1028
|
+
bg: "bg-identity-5",
|
|
1029
|
+
fg: "text-identity-5-text"
|
|
1030
|
+
},
|
|
1031
|
+
"identity-6": {
|
|
1032
|
+
bg: "bg-identity-6",
|
|
1033
|
+
fg: "text-identity-6-text"
|
|
1034
|
+
},
|
|
1035
|
+
"identity-7": {
|
|
1036
|
+
bg: "bg-identity-7",
|
|
1037
|
+
fg: "text-identity-7-text"
|
|
1038
|
+
},
|
|
1039
|
+
"identity-8": {
|
|
1040
|
+
bg: "bg-identity-8",
|
|
1041
|
+
fg: "text-identity-8-text"
|
|
1042
|
+
},
|
|
1043
|
+
neutral: {
|
|
1044
|
+
bg: "bg-muted",
|
|
1045
|
+
fg: "text-foreground"
|
|
1046
|
+
}
|
|
1047
|
+
}, $e = [
|
|
1048
|
+
"identity-1",
|
|
1049
|
+
"identity-2",
|
|
1050
|
+
"identity-3",
|
|
1051
|
+
"identity-4",
|
|
1052
|
+
"identity-5",
|
|
1053
|
+
"identity-6",
|
|
1054
|
+
"identity-7",
|
|
1055
|
+
"identity-8"
|
|
1056
|
+
];
|
|
1057
|
+
function et(e) {
|
|
1058
|
+
let t = 0;
|
|
1059
|
+
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
1060
|
+
return $e[Math.abs(t) % $e.length];
|
|
1061
|
+
}
|
|
1062
|
+
function I({ icon: t, initials: n, title: r, subtitle: i, tag: a, tint: o = "neutral", rightSlot: s, className: l }) {
|
|
1063
|
+
let u = F[o] ?? F.neutral;
|
|
1064
|
+
return /* @__PURE__ */ E("div", {
|
|
1065
|
+
className: e("flex items-center gap-inline-loose min-w-0", l),
|
|
1066
|
+
children: [/* @__PURE__ */ T("div", {
|
|
1067
|
+
className: e("size-8 rounded-badge shrink-0 grid place-items-center text-xs font-semibold", "[&>svg]:size-[18px]", u.bg, u.fg),
|
|
1068
|
+
children: t ?? n
|
|
1069
|
+
}), /* @__PURE__ */ E("div", {
|
|
1070
|
+
className: "min-w-0 flex-1",
|
|
1071
|
+
children: [/* @__PURE__ */ E("div", {
|
|
1072
|
+
className: "flex items-center gap-1.5",
|
|
1073
|
+
children: [
|
|
1074
|
+
/* @__PURE__ */ T("span", {
|
|
1075
|
+
className: "text-record-name text-foreground truncate",
|
|
1076
|
+
children: r
|
|
1077
|
+
}),
|
|
1078
|
+
a && /* @__PURE__ */ T(c, { children: a }),
|
|
1079
|
+
s
|
|
1080
|
+
]
|
|
1081
|
+
}), i && /* @__PURE__ */ T("div", {
|
|
1082
|
+
className: "text-cell text-muted-foreground mt-0.5 truncate",
|
|
1083
|
+
children: i
|
|
1084
|
+
})]
|
|
1085
|
+
})]
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
var L = {
|
|
1089
|
+
healthy: {
|
|
1090
|
+
bg: "bg-success-tint",
|
|
1091
|
+
fg: "text-success-text",
|
|
1092
|
+
dot: "bg-success"
|
|
1093
|
+
},
|
|
1094
|
+
active: {
|
|
1095
|
+
bg: "bg-success-tint",
|
|
1096
|
+
fg: "text-success-text",
|
|
1097
|
+
dot: "bg-success"
|
|
1098
|
+
},
|
|
1099
|
+
completed: {
|
|
1100
|
+
bg: "bg-success-tint",
|
|
1101
|
+
fg: "text-success-text",
|
|
1102
|
+
dot: "bg-success"
|
|
1103
|
+
},
|
|
1104
|
+
success: {
|
|
1105
|
+
bg: "bg-success-tint",
|
|
1106
|
+
fg: "text-success-text",
|
|
1107
|
+
dot: "bg-success"
|
|
1108
|
+
},
|
|
1109
|
+
running: {
|
|
1110
|
+
bg: "bg-info-tint",
|
|
1111
|
+
fg: "text-info-text",
|
|
1112
|
+
dot: "bg-info"
|
|
1113
|
+
},
|
|
1114
|
+
info: {
|
|
1115
|
+
bg: "bg-info-tint",
|
|
1116
|
+
fg: "text-info-text",
|
|
1117
|
+
dot: "bg-info"
|
|
1118
|
+
},
|
|
1119
|
+
queued: {
|
|
1120
|
+
bg: "bg-info-tint",
|
|
1121
|
+
fg: "text-info-text",
|
|
1122
|
+
dot: "bg-info"
|
|
1123
|
+
},
|
|
1124
|
+
drift: {
|
|
1125
|
+
bg: "bg-warning-tint",
|
|
1126
|
+
fg: "text-warning-text",
|
|
1127
|
+
dot: "bg-warning"
|
|
1128
|
+
},
|
|
1129
|
+
warn: {
|
|
1130
|
+
bg: "bg-warning-tint",
|
|
1131
|
+
fg: "text-warning-text",
|
|
1132
|
+
dot: "bg-warning"
|
|
1133
|
+
},
|
|
1134
|
+
failing: {
|
|
1135
|
+
bg: "bg-danger-tint",
|
|
1136
|
+
fg: "text-danger-text",
|
|
1137
|
+
dot: "bg-danger"
|
|
1138
|
+
},
|
|
1139
|
+
failed: {
|
|
1140
|
+
bg: "bg-danger-tint",
|
|
1141
|
+
fg: "text-danger-text",
|
|
1142
|
+
dot: "bg-danger"
|
|
1143
|
+
},
|
|
1144
|
+
error: {
|
|
1145
|
+
bg: "bg-danger-tint",
|
|
1146
|
+
fg: "text-danger-text",
|
|
1147
|
+
dot: "bg-danger"
|
|
1148
|
+
},
|
|
1149
|
+
paused: {
|
|
1150
|
+
bg: "bg-muted",
|
|
1151
|
+
fg: "text-muted-foreground",
|
|
1152
|
+
dot: "bg-muted-foreground"
|
|
1153
|
+
},
|
|
1154
|
+
neutral: {
|
|
1155
|
+
bg: "bg-muted",
|
|
1156
|
+
fg: "text-muted-foreground",
|
|
1157
|
+
dot: "bg-muted-foreground"
|
|
1158
|
+
}
|
|
1159
|
+
};
|
|
1160
|
+
function tt({ tone: t, label: n, pulse: r, className: i }) {
|
|
1161
|
+
let a = L[t] ?? L.neutral;
|
|
1162
|
+
return /* @__PURE__ */ E("span", {
|
|
1163
|
+
className: e("inline-flex items-center gap-1.5 px-2 py-0.5 rounded-badge text-badge", a.bg, a.fg, i),
|
|
1164
|
+
children: [/* @__PURE__ */ T(ge, {
|
|
1165
|
+
size: "sm",
|
|
1166
|
+
className: a.dot,
|
|
1167
|
+
pulse: r
|
|
1168
|
+
}), n]
|
|
1169
|
+
});
|
|
1170
|
+
}
|
|
1171
|
+
function R({ values: t, highlightTail: n = 0, label: r, width: i = 60, height: a = 22, scaleMax: o, className: s }) {
|
|
1172
|
+
let c = o ?? Math.max(1, ...t), l = t.length - n;
|
|
1173
|
+
return /* @__PURE__ */ E("div", {
|
|
1174
|
+
className: e("flex items-center gap-2 min-w-0", s),
|
|
1175
|
+
children: [/* @__PURE__ */ T("div", {
|
|
1176
|
+
className: "flex items-end gap-[1.5px] shrink-0",
|
|
1177
|
+
style: {
|
|
1178
|
+
width: i,
|
|
1179
|
+
height: a
|
|
1180
|
+
},
|
|
1181
|
+
children: t.map((t, r) => {
|
|
1182
|
+
let i = (o == null ? t : Math.min(o, Math.max(0, t))) / c * 100;
|
|
1183
|
+
return /* @__PURE__ */ T("div", {
|
|
1184
|
+
className: e("flex-1 rounded-[1px] min-h-[1.5px]", n > 0 && r >= l ? "bg-rose-500" : "bg-muted-foreground/30"),
|
|
1185
|
+
style: { height: `${i}%` }
|
|
1186
|
+
}, r);
|
|
1187
|
+
})
|
|
1188
|
+
}), r != null && /* @__PURE__ */ T("span", {
|
|
1189
|
+
className: "text-code tabular-nums text-foreground",
|
|
1190
|
+
children: r
|
|
1191
|
+
})]
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
function z({ values: t, width: n = 140, height: r = 40, scaleMax: i = 100, color: a = "#6366f1", label: o, className: s }) {
|
|
1195
|
+
let c = {
|
|
1196
|
+
top: 4,
|
|
1197
|
+
right: 4,
|
|
1198
|
+
bottom: 4,
|
|
1199
|
+
left: 4
|
|
1200
|
+
}, l = Math.max(1, n - c.left - c.right), u = Math.max(1, r - c.top - c.bottom);
|
|
1201
|
+
if (t.length === 0) return /* @__PURE__ */ E("div", {
|
|
1202
|
+
className: e("flex items-center gap-2 min-w-0", s),
|
|
1203
|
+
children: [/* @__PURE__ */ T("svg", {
|
|
1204
|
+
width: n,
|
|
1205
|
+
height: r,
|
|
1206
|
+
className: "shrink-0 text-muted-foreground/40",
|
|
1207
|
+
"aria-hidden": !0,
|
|
1208
|
+
children: /* @__PURE__ */ T("line", {
|
|
1209
|
+
x1: c.left,
|
|
1210
|
+
y1: r - c.bottom,
|
|
1211
|
+
x2: n - c.right,
|
|
1212
|
+
y2: r - c.bottom,
|
|
1213
|
+
stroke: "currentColor",
|
|
1214
|
+
strokeWidth: 1
|
|
1215
|
+
})
|
|
1216
|
+
}), o == null ? null : /* @__PURE__ */ T("span", {
|
|
1217
|
+
className: "text-code tabular-nums text-foreground",
|
|
1218
|
+
children: o
|
|
1219
|
+
})]
|
|
1220
|
+
});
|
|
1221
|
+
let d = t.map((e, n) => {
|
|
1222
|
+
let r = Math.min(i, Math.max(0, e));
|
|
1223
|
+
return {
|
|
1224
|
+
x: t.length === 1 ? c.left + l / 2 : c.left + n / (t.length - 1) * l,
|
|
1225
|
+
y: c.top + u - r / i * u
|
|
1226
|
+
};
|
|
1227
|
+
}), f = d.map((e, t) => `${t === 0 ? "M" : "L"} ${e.x} ${e.y}`).join(" "), p = c.top + u, m = `${f} L ${d[d.length - 1].x} ${p} L ${d[0].x} ${p} Z`, h = c.top + u / 2;
|
|
1228
|
+
return /* @__PURE__ */ E("div", {
|
|
1229
|
+
className: e("flex items-center gap-2 min-w-0", s),
|
|
1230
|
+
children: [/* @__PURE__ */ E("svg", {
|
|
1231
|
+
width: n,
|
|
1232
|
+
height: r,
|
|
1233
|
+
className: "shrink-0",
|
|
1234
|
+
"aria-hidden": !0,
|
|
1235
|
+
children: [
|
|
1236
|
+
/* @__PURE__ */ T("line", {
|
|
1237
|
+
x1: c.left,
|
|
1238
|
+
y1: p,
|
|
1239
|
+
x2: n - c.right,
|
|
1240
|
+
y2: p,
|
|
1241
|
+
className: "stroke-border",
|
|
1242
|
+
strokeWidth: 1
|
|
1243
|
+
}),
|
|
1244
|
+
/* @__PURE__ */ T("line", {
|
|
1245
|
+
x1: c.left,
|
|
1246
|
+
y1: h,
|
|
1247
|
+
x2: n - c.right,
|
|
1248
|
+
y2: h,
|
|
1249
|
+
className: "stroke-border",
|
|
1250
|
+
strokeWidth: 1,
|
|
1251
|
+
strokeDasharray: "3 3"
|
|
1252
|
+
}),
|
|
1253
|
+
/* @__PURE__ */ T("path", {
|
|
1254
|
+
d: m,
|
|
1255
|
+
fill: a,
|
|
1256
|
+
fillOpacity: .14
|
|
1257
|
+
}),
|
|
1258
|
+
/* @__PURE__ */ T("path", {
|
|
1259
|
+
d: f,
|
|
1260
|
+
fill: "none",
|
|
1261
|
+
stroke: a,
|
|
1262
|
+
strokeWidth: 2,
|
|
1263
|
+
strokeLinejoin: "round"
|
|
1264
|
+
})
|
|
1265
|
+
]
|
|
1266
|
+
}), o == null ? null : /* @__PURE__ */ T("span", {
|
|
1267
|
+
className: "text-code tabular-nums text-foreground",
|
|
1268
|
+
children: o
|
|
1269
|
+
})]
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1272
|
+
function B({ value: t, total: n, label: r, tone: i = "neutral", className: a }) {
|
|
1273
|
+
let o = n === 0 ? 0 : Math.min(100, t / n * 100), s = i === "running" ? "bg-sky-500" : i === "success" ? "bg-emerald-500" : i === "danger" ? "bg-rose-500" : "bg-foreground";
|
|
1274
|
+
return /* @__PURE__ */ E("div", {
|
|
1275
|
+
className: e("flex items-center gap-2", a),
|
|
1276
|
+
children: [/* @__PURE__ */ T("div", {
|
|
1277
|
+
className: "flex-1 h-[5px] rounded bg-accent overflow-hidden",
|
|
1278
|
+
children: /* @__PURE__ */ T("div", {
|
|
1279
|
+
className: e("h-full", s),
|
|
1280
|
+
style: { width: `${o}%` }
|
|
1281
|
+
})
|
|
1282
|
+
}), r != null && /* @__PURE__ */ T("span", {
|
|
1283
|
+
className: "text-code tabular-nums text-muted-foreground whitespace-nowrap",
|
|
1284
|
+
children: r
|
|
1285
|
+
})]
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
function nt({ passed: t, warn: n = 0, failed: r = 0, className: i }) {
|
|
1289
|
+
let a = Math.max(1, t + n + r);
|
|
1290
|
+
return /* @__PURE__ */ E("div", {
|
|
1291
|
+
className: e("flex items-center gap-1.5", i),
|
|
1292
|
+
children: [
|
|
1293
|
+
/* @__PURE__ */ T("span", {
|
|
1294
|
+
className: "text-code tabular-nums text-emerald-700 min-w-[18px] text-right dark:text-emerald-300",
|
|
1295
|
+
children: t
|
|
1296
|
+
}),
|
|
1297
|
+
/* @__PURE__ */ E("div", {
|
|
1298
|
+
className: "flex-1 h-[5px] rounded overflow-hidden bg-accent flex",
|
|
1299
|
+
children: [
|
|
1300
|
+
/* @__PURE__ */ T("div", {
|
|
1301
|
+
className: "h-full bg-emerald-500",
|
|
1302
|
+
style: { width: `${t / a * 100}%` }
|
|
1303
|
+
}),
|
|
1304
|
+
/* @__PURE__ */ T("div", {
|
|
1305
|
+
className: "h-full bg-amber-500",
|
|
1306
|
+
style: { width: `${n / a * 100}%` }
|
|
1307
|
+
}),
|
|
1308
|
+
/* @__PURE__ */ T("div", {
|
|
1309
|
+
className: "h-full bg-rose-500",
|
|
1310
|
+
style: { width: `${r / a * 100}%` }
|
|
1311
|
+
})
|
|
1312
|
+
]
|
|
1313
|
+
}),
|
|
1314
|
+
/* @__PURE__ */ T("span", {
|
|
1315
|
+
className: e("text-code tabular-nums min-w-[14px]", r > 0 ? "text-rose-700 dark:text-rose-300" : "text-muted-foreground"),
|
|
1316
|
+
children: r
|
|
1317
|
+
})
|
|
1318
|
+
]
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
var V = {
|
|
1322
|
+
pass: .78,
|
|
1323
|
+
partial: .5
|
|
1324
|
+
};
|
|
1325
|
+
function H(e, t = V) {
|
|
1326
|
+
return e < t.partial ? "red" : e < t.pass ? "amber" : "green";
|
|
1327
|
+
}
|
|
1328
|
+
function U({ value: t, className: n, bands: r }) {
|
|
1329
|
+
if (t == null) return /* @__PURE__ */ T("span", {
|
|
1330
|
+
className: "text-code text-muted-foreground",
|
|
1331
|
+
children: "—"
|
|
1332
|
+
});
|
|
1333
|
+
let i = H(t, r), a = i === "green" ? "text-emerald-700 dark:text-emerald-400" : i === "amber" ? "text-amber-700 dark:text-amber-400" : "text-rose-700 dark:text-rose-400", o = i === "green" ? "bg-emerald-500" : i === "amber" ? "bg-amber-500" : "bg-rose-500";
|
|
1334
|
+
return /* @__PURE__ */ E("div", {
|
|
1335
|
+
className: e("inline-flex flex-col min-w-13", n),
|
|
1336
|
+
children: [/* @__PURE__ */ T("div", {
|
|
1337
|
+
className: e("text-code tabular-nums font-semibold text-center", a),
|
|
1338
|
+
children: t.toFixed(2)
|
|
1339
|
+
}), /* @__PURE__ */ T("div", {
|
|
1340
|
+
className: "h-[3px] rounded mt-1 bg-accent overflow-hidden",
|
|
1341
|
+
children: /* @__PURE__ */ T("div", {
|
|
1342
|
+
className: e("h-full", o),
|
|
1343
|
+
style: { width: `${t * 100}%` }
|
|
1344
|
+
})
|
|
1345
|
+
})]
|
|
1346
|
+
});
|
|
1347
|
+
}
|
|
1348
|
+
function rt({ value: t, dangerBelow: n = 90, className: r }) {
|
|
1349
|
+
return t == null ? /* @__PURE__ */ T("span", {
|
|
1350
|
+
className: "text-muted-foreground",
|
|
1351
|
+
children: "—"
|
|
1352
|
+
}) : /* @__PURE__ */ E("span", {
|
|
1353
|
+
className: e("text-code tabular-nums", t < n ? "text-rose-700 dark:text-rose-400" : "text-foreground", r),
|
|
1354
|
+
children: [t.toFixed(0), "%"]
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
function it({ value: e, className: t }) {
|
|
1358
|
+
return /* @__PURE__ */ T(c, {
|
|
1359
|
+
size: "md",
|
|
1360
|
+
className: t,
|
|
1361
|
+
children: e
|
|
1362
|
+
});
|
|
1363
|
+
}
|
|
1364
|
+
function at({ primary: t, secondary: n, className: r }) {
|
|
1365
|
+
return /* @__PURE__ */ E("div", {
|
|
1366
|
+
className: e("flex flex-col leading-tight", r),
|
|
1367
|
+
children: [/* @__PURE__ */ T("span", {
|
|
1368
|
+
className: "text-cell text-foreground",
|
|
1369
|
+
children: t
|
|
1370
|
+
}), n && /* @__PURE__ */ T("span", {
|
|
1371
|
+
className: "text-cell text-muted-foreground truncate",
|
|
1372
|
+
children: n
|
|
1373
|
+
})]
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
//#endregion
|
|
1377
|
+
export { F as AGENT_TINTS, I as AvatarTextCell, it as CodePillCell, V as DEFAULT_SCORE_BANDS, z as LineSparklineCell, rt as PercentCell, N as ProDataTable, N as Table, qe as ProDataTablePagination, Je as ProDataTableToolbar, B as ProgressBarCell, at as RelativeTimeCell, nt as ResultsBarCell, L as STATUS_TONES, U as ScoreBarCell, R as SparklineCell, tt as StatusDotBadge, be as facetFilterMatches, Xe as facetIsActive, Ie as rowActionTriggerClasses, H as scoreBand, xe as singleFilterValue, et as tintForString };
|