@vlrc-fe/components 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +10 -1
- package/bin/registry.mjs +1124 -0
- package/bin/vlrc.mjs +102 -7
- package/dist/ConfirmModal.cjs +276 -1
- package/dist/ConfirmModal.js +119 -103
- package/dist/DataTable/DataTable.cjs +203 -1
- package/dist/DataTable/DataTable.js +161 -120
- package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
- package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
- package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
- package/dist/DataTable/components/DataTablePagination.cjs +200 -1
- package/dist/DataTable/components/DataTablePagination.js +188 -91
- package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
- package/dist/DataTable/components/DataTableRowActions.js +161 -62
- package/dist/DataTable/components/DataTableTable.cjs +100 -1
- package/dist/DataTable/components/DataTableTable.js +87 -35
- package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
- package/dist/DataTable/components/DataTableToolbar.js +106 -44
- package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
- package/dist/DataTable/components/DataTableViewOptions.js +105 -44
- package/dist/DataTable/render/createColumns.cjs +84 -1
- package/dist/DataTable/render/createColumns.js +65 -44
- package/dist/DataTable/render/defaults.cjs +38 -1
- package/dist/DataTable/render/defaults.js +18 -13
- package/dist/Dropdown/Dropdown.cjs +255 -1
- package/dist/Dropdown/Dropdown.js +138 -108
- package/dist/Form/Form.cjs +439 -1
- package/dist/Form/Form.js +417 -206
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
- package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
- package/dist/Form/FormDatePicker/TimeInput.js +162 -79
- package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
- package/dist/Form/FormDatePicker/TimePicker.js +58 -43
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
- package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
- package/dist/Form/FormDatePicker/types.cjs +10 -1
- package/dist/Form/FormDatePicker/types.js +8 -3
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
- package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
- package/dist/Form/FormFileUpload/FileUpload.js +452 -306
- package/dist/Form/FormFileUpload/index.cjs +175 -1
- package/dist/Form/FormFileUpload/index.js +164 -50
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
- package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
- package/dist/Form/FormNumberInput/StepperControls.js +78 -43
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
- package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
- package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
- package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
- package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
- package/dist/Form/FormSelect/FormSelect.cjs +46 -1
- package/dist/Form/FormSelect/FormSelect.js +40 -26
- package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
- package/dist/Form/FormSelect/useFormSelect.js +52 -43
- package/dist/Icons/Icons.cjs +155 -1
- package/dist/Icons/Icons.js +142 -142
- package/dist/Modal.cjs +135 -1
- package/dist/Modal.js +67 -54
- package/dist/MultiSelect/MultiSelect.cjs +211 -1
- package/dist/MultiSelect/MultiSelect.js +127 -117
- package/dist/MultiSelect/renderers.cjs +571 -1
- package/dist/MultiSelect/renderers.js +508 -309
- package/dist/MultiSelect/useMultiSelect.cjs +243 -1
- package/dist/MultiSelect/useMultiSelect.js +207 -127
- package/dist/MultiSelect/utils.cjs +123 -1
- package/dist/MultiSelect/utils.js +79 -51
- package/dist/Select/BaseSelect.cjs +265 -1
- package/dist/Select/BaseSelect.js +165 -126
- package/dist/Select/MultiSelectTags.cjs +129 -1
- package/dist/Select/MultiSelectTags.js +82 -56
- package/dist/Typography/Blockquote.cjs +79 -1
- package/dist/Typography/Blockquote.js +40 -38
- package/dist/Typography/Code.cjs +131 -1
- package/dist/Typography/Code.js +64 -58
- package/dist/Typography/Link.cjs +141 -1
- package/dist/Typography/Link.d.ts +1 -2
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +74 -63
- package/dist/Typography/Paragraph.cjs +226 -1
- package/dist/Typography/Paragraph.d.ts +1 -2
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +119 -107
- package/dist/Typography/Text.cjs +224 -1
- package/dist/Typography/Text.d.ts +1 -2
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +117 -100
- package/dist/Typography/Title.cjs +220 -1
- package/dist/Typography/Title.d.ts +1 -2
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +125 -103
- package/dist/Typography/Typography.cjs +17 -1
- package/dist/Typography/Typography.js +14 -14
- package/dist/Typography/index.d.ts +1 -1
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +13 -13
- package/dist/Typography/tooltip.cjs +42 -1
- package/dist/Typography/tooltip.js +34 -14
- package/dist/Typography/types.cjs +20 -1
- package/dist/Typography/types.js +5 -2
- package/dist/Typography/utils.cjs +52 -1
- package/dist/Typography/utils.js +48 -21
- package/dist/Typography/weightStyles.cjs +58 -1
- package/dist/Typography/weightStyles.js +26 -25
- package/dist/_virtual/_rolldown/runtime.cjs +32 -1
- package/dist/_virtual/_rolldown/runtime.js +9 -7
- package/dist/assets/stylex.css +135 -1
- package/dist/astryx.cjs +18 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +2 -1
- package/dist/index.cjs +789 -1
- package/dist/index.js +122 -118
- package/dist/layout/Box.cjs +203 -1
- package/dist/layout/Box.d.ts +8 -8
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +138 -49
- package/dist/layout/Center.cjs +51 -1
- package/dist/layout/Center.d.ts +3 -3
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +49 -20
- package/dist/layout/Container.cjs +81 -1
- package/dist/layout/Container.d.ts +8 -8
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +34 -30
- package/dist/layout/Stack.cjs +237 -1
- package/dist/layout/Stack.d.ts +9 -9
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +220 -75
- package/dist/layout/index.js +9 -9
- package/dist/lazyLoad.cjs +13 -1
- package/dist/lazyLoad.js +9 -9
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +330 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +272 -164
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +145 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +111 -73
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +19 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +126 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +103 -72
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +134 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +113 -79
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +541 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +459 -331
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +304 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +234 -160
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +108 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +82 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +12 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +275 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +228 -127
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +53 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +215 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +171 -117
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +219 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +178 -118
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +22 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +17 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +802 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +648 -422
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +410 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +313 -212
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +741 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +602 -417
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +246 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +195 -121
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +27 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +148 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +115 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +27 -21
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +223 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -131
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +576 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +437 -308
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +202 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +160 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +159 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +125 -93
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +158 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +128 -98
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +29 -24
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +109 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +91 -68
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +28 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +22 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +33 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +25 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +7 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +25 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +18 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +47 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +38 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +19 -15
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +34 -1
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +32 -21
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +39 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +27 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +369 -2
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +282 -238
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +1033 -9
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +898 -460
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +47 -38
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +38 -64
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +13 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +9 -2
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +36 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -16
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +15 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -10
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +167 -4
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +144 -93
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +63 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +45 -35
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +14 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +11 -9
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +84 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +75 -43
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +3 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +6 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1617 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +1332 -874
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +18 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +15 -7
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +26 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +20 -10
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +40 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +29 -16
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +20 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +18 -3
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +46 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +38 -19
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +39 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +29 -11
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +18 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +13 -12
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +81 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +58 -45
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +1252 -3
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +1003 -648
- package/dist/theme/index.cjs +63 -1
- package/dist/theme/index.js +31 -31
- package/dist/theme/spacing.cjs +93 -1
- package/dist/theme/spacing.js +52 -26
- package/dist/theme/tokens.stylex.cjs +210 -1
- package/dist/theme/tokens.stylex.js +58 -26
- package/dist/theme/types.cjs +13 -1
- package/dist/theme/types.js +4 -3
- package/dist/theme/width.cjs +39 -1
- package/dist/theme/width.js +16 -4
- package/dist/theme/zIndex.cjs +64 -1
- package/dist/theme/zIndex.js +44 -15
- package/dist/theme.css +135 -1
- package/dist/ui/accordion.cjs +431 -1
- package/dist/ui/accordion.d.ts +10 -10
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +276 -136
- package/dist/ui/action-bar.cjs +274 -1
- package/dist/ui/action-bar.d.ts +11 -11
- package/dist/ui/action-bar.d.ts.map +1 -1
- package/dist/ui/action-bar.js +204 -98
- package/dist/ui/alert-dialog.cjs +538 -1
- package/dist/ui/alert-dialog.d.ts +19 -19
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +459 -167
- package/dist/ui/alert.cjs +163 -1
- package/dist/ui/alert.d.ts +7 -7
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +111 -50
- package/dist/ui/aspect-ratio.cjs +25 -1
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +22 -12
- package/dist/ui/avatar.cjs +341 -1
- package/dist/ui/avatar.d.ts +10 -10
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +226 -114
- package/dist/ui/badge-overflow.cjs +66 -1
- package/dist/ui/badge-overflow.d.ts +5 -5
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +34 -27
- package/dist/ui/badge.cjs +167 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +48 -42
- package/dist/ui/breadcrumb.cjs +508 -1
- package/dist/ui/breadcrumb.d.ts +15 -15
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +386 -159
- package/dist/ui/button.cjs +425 -1
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +137 -117
- package/dist/ui/calendar.cjs +626 -1
- package/dist/ui/calendar.d.ts +5 -5
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +309 -192
- package/dist/ui/card.cjs +401 -1
- package/dist/ui/card.d.ts +15 -15
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +300 -119
- package/dist/ui/carousel.cjs +333 -1
- package/dist/ui/carousel.d.ts +10 -10
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +245 -126
- package/dist/ui/checkbox.cjs +167 -1
- package/dist/ui/checkbox.d.ts +4 -4
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +66 -58
- package/dist/ui/circular-progress.cjs +139 -1
- package/dist/ui/circular-progress.d.ts +4 -4
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +65 -52
- package/dist/ui/code-block.cjs +819 -0
- package/dist/ui/code-block.d.ts +81 -0
- package/dist/ui/code-block.d.ts.map +1 -0
- package/dist/ui/code-block.js +809 -0
- package/dist/ui/collapsible.cjs +65 -1
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +58 -28
- package/dist/ui/command.cjs +556 -1
- package/dist/ui/command.d.ts +19 -19
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +432 -163
- package/dist/ui/compare-slider.cjs +170 -1
- package/dist/ui/compare-slider.d.ts +7 -7
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +106 -72
- package/dist/ui/context-menu.cjs +811 -1
- package/dist/ui/context-menu.d.ts +26 -26
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +693 -228
- package/dist/ui/copy-button.cjs +94 -1
- package/dist/ui/copy-button.d.ts +1 -2
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +56 -44
- package/dist/ui/dialog.cjs +409 -1
- package/dist/ui/dialog.d.ts +18 -18
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +317 -131
- package/dist/ui/drawer.cjs +476 -1
- package/dist/ui/drawer.d.ts +17 -17
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +394 -151
- package/dist/ui/dropdown-menu.cjs +638 -1
- package/dist/ui/dropdown-menu.d.ts +26 -26
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +511 -208
- package/dist/ui/editable.cjs +608 -1
- package/dist/ui/editable.d.ts +14 -14
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +478 -218
- package/dist/ui/empty.cjs +310 -1
- package/dist/ui/empty.d.ts +15 -15
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +277 -107
- package/dist/ui/field.cjs +621 -1
- package/dist/ui/field.d.ts +21 -21
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +468 -198
- package/dist/ui/file-upload-adapters.cjs +289 -1
- package/dist/ui/file-upload-adapters.d.ts +1 -2
- package/dist/ui/file-upload-adapters.d.ts.map +1 -1
- package/dist/ui/file-upload-adapters.js +244 -170
- package/dist/ui/file-upload.cjs +1481 -1
- package/dist/ui/file-upload.d.ts +22 -22
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +1064 -598
- package/dist/ui/flex.cjs +203 -1
- package/dist/ui/flex.d.ts +6 -6
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +111 -92
- package/dist/ui/form.cjs +454 -1
- package/dist/ui/form.d.ts +11 -11
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +421 -135
- package/dist/ui/gauge.cjs +127 -1
- package/dist/ui/gauge.d.ts +6 -6
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +61 -52
- package/dist/ui/grid.cjs +224 -1
- package/dist/ui/grid.d.ts +7 -7
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +125 -94
- package/dist/ui/hover-card.cjs +86 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +57 -36
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-group.cjs +328 -1
- package/dist/ui/input-group.d.ts +12 -12
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +207 -105
- package/dist/ui/input-otp.cjs +312 -1
- package/dist/ui/input-otp.d.ts +10 -10
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +217 -94
- package/dist/ui/input.cjs +388 -1
- package/dist/ui/input.d.ts +3 -3
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +137 -119
- package/dist/ui/item.cjs +585 -1
- package/dist/ui/item.d.ts +20 -20
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +460 -162
- package/dist/ui/kbd.cjs +115 -1
- package/dist/ui/kbd.d.ts +5 -5
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +42 -37
- package/dist/ui/label.cjs +67 -1
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js +51 -21
- package/dist/ui/marker.cjs +294 -0
- package/dist/ui/marker.d.ts +22 -0
- package/dist/ui/marker.d.ts.map +1 -0
- package/dist/ui/marker.js +290 -0
- package/dist/ui/masonry.cjs +58 -1
- package/dist/ui/masonry.d.ts +4 -4
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +41 -36
- package/dist/ui/menubar.cjs +908 -1
- package/dist/ui/menubar.d.ts +29 -29
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +737 -251
- package/dist/ui/navigation-menu.cjs +560 -1
- package/dist/ui/navigation-menu.d.ts +18 -18
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +442 -148
- package/dist/ui/pagination.cjs +575 -1
- package/dist/ui/pagination.d.ts +13 -13
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +422 -172
- package/dist/ui/popover.cjs +93 -1
- package/dist/ui/popover.d.ts +7 -7
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +61 -42
- package/dist/ui/progress.cjs +33 -1
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +19 -17
- package/dist/ui/questionnaire.cjs +679 -0
- package/dist/ui/questionnaire.d.ts +101 -0
- package/dist/ui/questionnaire.d.ts.map +1 -0
- package/dist/ui/questionnaire.js +667 -0
- package/dist/ui/radio-group.cjs +221 -1
- package/dist/ui/radio-group.d.ts +6 -6
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js +125 -74
- package/dist/ui/rating.cjs +191 -1
- package/dist/ui/rating.d.ts +3 -3
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +96 -78
- package/dist/ui/resizable.cjs +175 -1
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +150 -54
- package/dist/ui/responsive-dialog.cjs +400 -1
- package/dist/ui/responsive-dialog.d.ts +17 -17
- package/dist/ui/responsive-dialog.d.ts.map +1 -1
- package/dist/ui/responsive-dialog.js +372 -155
- package/dist/ui/row-col.cjs +510 -1
- package/dist/ui/row-col.d.ts +11 -11
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +238 -205
- package/dist/ui/scroll-area.cjs +142 -1
- package/dist/ui/scroll-area.d.ts +6 -6
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +103 -47
- package/dist/ui/segmented.cjs +170 -1
- package/dist/ui/segmented.d.ts +5 -5
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +75 -62
- package/dist/ui/select.cjs +484 -1
- package/dist/ui/select.d.ts +17 -17
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +353 -160
- package/dist/ui/separator.cjs +44 -1
- package/dist/ui/separator.d.ts +4 -4
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +17 -17
- package/dist/ui/sheet.cjs +460 -1
- package/dist/ui/sheet.d.ts +16 -16
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +329 -141
- package/dist/ui/sidebar.cjs +1453 -1
- package/dist/ui/sidebar.d.ts +48 -48
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +1057 -438
- package/dist/ui/signature-pad.cjs +740 -0
- package/dist/ui/signature-pad.d.ts +107 -0
- package/dist/ui/signature-pad.d.ts.map +1 -0
- package/dist/ui/signature-pad.js +730 -0
- package/dist/ui/skeleton.cjs +62 -1
- package/dist/ui/skeleton.d.ts +3 -3
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.js +50 -20
- package/dist/ui/slider.cjs +47 -1
- package/dist/ui/slider.d.ts +4 -4
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +27 -26
- package/dist/ui/sonner.cjs +28 -1
- package/dist/ui/sonner.js +24 -22
- package/dist/ui/spinner.cjs +73 -1
- package/dist/ui/spinner.d.ts +3 -3
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +29 -28
- package/dist/ui/stat.cjs +334 -1
- package/dist/ui/stat.d.ts +15 -15
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +271 -130
- package/dist/ui/stepper.cjs +785 -1
- package/dist/ui/stepper.d.ts +24 -24
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +594 -281
- package/dist/ui/switch.cjs +203 -1
- package/dist/ui/switch.d.ts +4 -4
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +83 -72
- package/dist/ui/table.cjs +435 -1
- package/dist/ui/table.d.ts +17 -17
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +369 -129
- package/dist/ui/tabs.cjs +340 -1
- package/dist/ui/tabs.d.ts +10 -10
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +204 -95
- package/dist/ui/tags-input.cjs +585 -1
- package/dist/ui/tags-input.d.ts +13 -13
- package/dist/ui/tags-input.d.ts.map +1 -1
- package/dist/ui/tags-input.js +446 -221
- package/dist/ui/textarea.cjs +119 -1
- package/dist/ui/textarea.d.ts +3 -3
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +37 -33
- package/dist/ui/timeline.cjs +583 -1
- package/dist/ui/timeline.d.ts +22 -22
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +409 -198
- package/dist/ui/toggle-group.cjs +128 -1
- package/dist/ui/toggle-group.d.ts +7 -7
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +92 -41
- package/dist/ui/toggle.cjs +145 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +38 -34
- package/dist/ui/tooltip.cjs +81 -1
- package/dist/ui/tooltip.d.ts +7 -7
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +50 -37
- package/dist/ui/useBreakpoint.cjs +91 -1
- package/dist/ui/useBreakpoint.js +66 -43
- package/dist/utils.cjs +9 -1
- package/dist/utils.js +4 -4
- package/package.json +10 -2
package/dist/ConfirmModal.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Icons
|
|
2
|
-
import { Title
|
|
3
|
-
import { Text
|
|
4
|
-
import { Button
|
|
5
|
-
import { Dialog
|
|
6
|
-
import * as
|
|
7
|
-
import { jsx
|
|
1
|
+
import { Icons } from "./Icons/Icons.js";
|
|
2
|
+
import { Title } from "./Typography/Title.js";
|
|
3
|
+
import { Text } from "./Typography/Text.js";
|
|
4
|
+
import { Button } from "./ui/button.js";
|
|
5
|
+
import { Dialog, DialogContent, DialogDescription, DialogTitle } from "./ui/dialog.js";
|
|
6
|
+
import * as stylex from "@stylexjs/stylex";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/ConfirmModal.tsx
|
|
9
|
-
var
|
|
9
|
+
var styles = {
|
|
10
10
|
dialog: {
|
|
11
11
|
kzqmXN: "xh8yej3",
|
|
12
12
|
kaIpWk: "x1ez7q3a",
|
|
@@ -20,35 +20,35 @@ var d = {
|
|
|
20
20
|
k1xSpc: "x78zum5",
|
|
21
21
|
kXwgrk: "xdt5ytf",
|
|
22
22
|
kOIVth: "x15iy025",
|
|
23
|
-
$$css:
|
|
23
|
+
$$css: true
|
|
24
24
|
},
|
|
25
25
|
sizeXxs: {
|
|
26
26
|
ks0D6T: "x1va8c73",
|
|
27
|
-
$$css:
|
|
27
|
+
$$css: true
|
|
28
28
|
},
|
|
29
29
|
sizeXs: {
|
|
30
30
|
ks0D6T: "x1dt7z5j",
|
|
31
|
-
$$css:
|
|
31
|
+
$$css: true
|
|
32
32
|
},
|
|
33
33
|
sizeSm: {
|
|
34
34
|
ks0D6T: "xq2pcee",
|
|
35
|
-
$$css:
|
|
35
|
+
$$css: true
|
|
36
36
|
},
|
|
37
37
|
sizeMd: {
|
|
38
38
|
ks0D6T: "x1ptgtm5",
|
|
39
|
-
$$css:
|
|
39
|
+
$$css: true
|
|
40
40
|
},
|
|
41
41
|
sizeLg: {
|
|
42
42
|
ks0D6T: "x11gisft",
|
|
43
|
-
$$css:
|
|
43
|
+
$$css: true
|
|
44
44
|
},
|
|
45
45
|
sizeXl: {
|
|
46
46
|
ks0D6T: "x1yjoq1l",
|
|
47
|
-
$$css:
|
|
47
|
+
$$css: true
|
|
48
48
|
},
|
|
49
49
|
sizeXxl: {
|
|
50
50
|
ks0D6T: "xyzno7u",
|
|
51
|
-
$$css:
|
|
51
|
+
$$css: true
|
|
52
52
|
},
|
|
53
53
|
title: {
|
|
54
54
|
kogj98: "x1ghz6dp",
|
|
@@ -57,14 +57,14 @@ var d = {
|
|
|
57
57
|
kLWn49: "x37zpob",
|
|
58
58
|
k63SB2: "x1s688f",
|
|
59
59
|
kMwMTN: "x84br7x",
|
|
60
|
-
$$css:
|
|
60
|
+
$$css: true
|
|
61
61
|
},
|
|
62
62
|
message: {
|
|
63
63
|
kogj98: "x1ghz6dp",
|
|
64
64
|
kGuDYH: "xkpwil5",
|
|
65
65
|
kLWn49: "x1evy7pa",
|
|
66
66
|
kMwMTN: "xw3nh4a",
|
|
67
|
-
$$css:
|
|
67
|
+
$$css: true
|
|
68
68
|
},
|
|
69
69
|
cancelBtn: {
|
|
70
70
|
kaIpWk: "xrijj7p",
|
|
@@ -82,7 +82,7 @@ var d = {
|
|
|
82
82
|
kGzVvX: "x9p52ec",
|
|
83
83
|
kYPGJ8: "x1s07b3s",
|
|
84
84
|
kWCcOm: "xijokvz",
|
|
85
|
-
$$css:
|
|
85
|
+
$$css: true
|
|
86
86
|
},
|
|
87
87
|
confirmBtn: {
|
|
88
88
|
kaIpWk: "xrijj7p",
|
|
@@ -96,162 +96,178 @@ var d = {
|
|
|
96
96
|
kGVxlE: "xfk7h2l",
|
|
97
97
|
kYPGJ8: "x1s07b3s",
|
|
98
98
|
kWCcOm: "xijokvz",
|
|
99
|
-
$$css:
|
|
99
|
+
$$css: true
|
|
100
100
|
},
|
|
101
101
|
btnWarning: {
|
|
102
102
|
kWkggS: "x1bk5gz4",
|
|
103
103
|
kKhh5M: "x18uuni6",
|
|
104
|
-
$$css:
|
|
104
|
+
$$css: true
|
|
105
105
|
},
|
|
106
106
|
btnInfo: {
|
|
107
107
|
kWkggS: "x11gp2db",
|
|
108
108
|
kKhh5M: "x18uuni6",
|
|
109
|
-
$$css:
|
|
109
|
+
$$css: true
|
|
110
110
|
},
|
|
111
111
|
btnSuccess: {
|
|
112
112
|
kWkggS: "xj3tqx0",
|
|
113
113
|
kKhh5M: "x18uuni6",
|
|
114
|
-
$$css:
|
|
114
|
+
$$css: true
|
|
115
115
|
},
|
|
116
116
|
btnDanger: {
|
|
117
117
|
kWkggS: "x57dptr",
|
|
118
118
|
kKhh5M: "x18uuni6",
|
|
119
|
-
$$css:
|
|
119
|
+
$$css: true
|
|
120
120
|
},
|
|
121
121
|
iconWarning: {
|
|
122
122
|
kMwMTN: "x7evrrw",
|
|
123
|
-
$$css:
|
|
123
|
+
$$css: true
|
|
124
124
|
},
|
|
125
125
|
iconInfo: {
|
|
126
126
|
kMwMTN: "xb343pj",
|
|
127
|
-
$$css:
|
|
127
|
+
$$css: true
|
|
128
128
|
},
|
|
129
129
|
iconSuccess: {
|
|
130
130
|
kMwMTN: "x1spsc8",
|
|
131
|
-
$$css:
|
|
131
|
+
$$css: true
|
|
132
132
|
},
|
|
133
133
|
iconDanger: {
|
|
134
134
|
kMwMTN: "xuuroe4",
|
|
135
|
-
$$css:
|
|
135
|
+
$$css: true
|
|
136
136
|
},
|
|
137
137
|
typeIcon: {
|
|
138
138
|
kzqmXN: "xvy4d1p",
|
|
139
139
|
kZKoxP: "xxk0z11",
|
|
140
|
-
$$css:
|
|
140
|
+
$$css: true
|
|
141
141
|
}
|
|
142
|
-
}, f = {
|
|
143
|
-
xxs: d.sizeXxs,
|
|
144
|
-
xs: d.sizeXs,
|
|
145
|
-
sm: d.sizeSm,
|
|
146
|
-
md: d.sizeMd,
|
|
147
|
-
lg: d.sizeLg,
|
|
148
|
-
xl: d.sizeXl,
|
|
149
|
-
xxl: d.sizeXxl
|
|
150
142
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
143
|
+
var sizeStyles = {
|
|
144
|
+
xxs: styles.sizeXxs,
|
|
145
|
+
xs: styles.sizeXs,
|
|
146
|
+
sm: styles.sizeSm,
|
|
147
|
+
md: styles.sizeMd,
|
|
148
|
+
lg: styles.sizeLg,
|
|
149
|
+
xl: styles.sizeXl,
|
|
150
|
+
xxl: styles.sizeXxl
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Confirmation dialog for critical user actions (deletions, warnings, approvals).
|
|
154
|
+
* Features smooth animations, escape-key support, semantic type palettes,
|
|
155
|
+
* 7-tier sizing scale, and unified prop conventions matching Modal.
|
|
156
|
+
*/
|
|
157
|
+
function ConfirmModal({ open, isOpen, onClose, onCancel, onConfirm, onOk, title, message, description, children, confirmText = "Confirm", cancelText = "Cancel", closeLabel = "Close", processingText, loadingText, type, variant = "warning", isLoading, loading, size = "md", width, footer, sx, className }) {
|
|
158
|
+
const isModalOpen = open ?? isOpen ?? true;
|
|
159
|
+
const isPending = isLoading ?? loading ?? false;
|
|
160
|
+
const rawType = type ?? variant ?? "warning";
|
|
161
|
+
const resolvedType = rawType === "error" ? "danger" : rawType;
|
|
162
|
+
const resolvedMessage = message ?? description;
|
|
163
|
+
const resolvedLoadingText = loadingText ?? processingText ?? "Processing...";
|
|
164
|
+
const handleDismiss = () => {
|
|
165
|
+
if (!isPending) (onCancel ?? onClose)?.();
|
|
166
|
+
};
|
|
167
|
+
const handleConfirm = () => {
|
|
168
|
+
if (!isPending) (onConfirm ?? onOk)?.();
|
|
169
|
+
};
|
|
170
|
+
const Icon = {
|
|
171
|
+
warning: Icons.AlertTriangle,
|
|
172
|
+
info: Icons.Info,
|
|
173
|
+
success: Icons.CheckCircle2,
|
|
174
|
+
danger: Icons.XCircle
|
|
175
|
+
}[resolvedType];
|
|
176
|
+
const typeStyles = {
|
|
162
177
|
warning: {
|
|
163
|
-
icon:
|
|
164
|
-
btn:
|
|
178
|
+
icon: styles.iconWarning,
|
|
179
|
+
btn: styles.btnWarning
|
|
165
180
|
},
|
|
166
181
|
info: {
|
|
167
|
-
icon:
|
|
168
|
-
btn:
|
|
182
|
+
icon: styles.iconInfo,
|
|
183
|
+
btn: styles.btnInfo
|
|
169
184
|
},
|
|
170
185
|
success: {
|
|
171
|
-
icon:
|
|
172
|
-
btn:
|
|
186
|
+
icon: styles.iconSuccess,
|
|
187
|
+
btn: styles.btnSuccess
|
|
173
188
|
},
|
|
174
189
|
danger: {
|
|
175
|
-
icon:
|
|
176
|
-
btn:
|
|
190
|
+
icon: styles.iconDanger,
|
|
191
|
+
btn: styles.btnDanger
|
|
177
192
|
}
|
|
178
|
-
}[
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
193
|
+
}[resolvedType];
|
|
194
|
+
const sizeStyle = sizeStyles[size] ?? styles.sizeMd;
|
|
195
|
+
return /* @__PURE__ */ jsx(Dialog, {
|
|
196
|
+
open: isModalOpen,
|
|
197
|
+
onOpenChange: (val) => !val && handleDismiss(),
|
|
198
|
+
children: /* @__PURE__ */ jsxs(DialogContent, {
|
|
199
|
+
showCloseButton: false,
|
|
184
200
|
sx: [
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
201
|
+
styles.dialog,
|
|
202
|
+
sizeStyle,
|
|
203
|
+
sx
|
|
188
204
|
],
|
|
189
|
-
className
|
|
190
|
-
style:
|
|
205
|
+
className,
|
|
206
|
+
style: width ? { maxWidth: width } : void 0,
|
|
191
207
|
onEscapeKeyDown: (e) => {
|
|
192
|
-
|
|
208
|
+
if (isPending) e.preventDefault();
|
|
193
209
|
},
|
|
194
|
-
onPointerDownOutside: (
|
|
195
|
-
|
|
210
|
+
onPointerDownOutside: (e_0) => {
|
|
211
|
+
if (isPending) e_0.preventDefault();
|
|
196
212
|
},
|
|
197
213
|
children: [
|
|
198
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ jsx("button", {
|
|
199
215
|
type: "button",
|
|
200
|
-
onClick:
|
|
201
|
-
disabled:
|
|
216
|
+
onClick: handleDismiss,
|
|
217
|
+
disabled: isPending,
|
|
202
218
|
className: "x10l6tqk x1u62bzc x1nwpe0i x9psvww x78pyy4 xw3nh4a xc342km xjbqb8w x1ypdohk x78zum5 x6s0dn4 xl56j7k x1a2a7pz xfyfa0t x9p52ec x8aud5w xk2swo9 x13nj1q9 x1s07b3s xijokvz",
|
|
203
|
-
"aria-label":
|
|
204
|
-
children: /* @__PURE__ */
|
|
219
|
+
"aria-label": closeLabel,
|
|
220
|
+
children: /* @__PURE__ */ jsx(Icons.X, { className: "xw4jnvo x1qx5ct2" })
|
|
205
221
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ jsxs("div", {
|
|
207
223
|
className: "x78zum5 x1cy8zhl x1fsutb xnywu7s",
|
|
208
|
-
children: [/* @__PURE__ */
|
|
224
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
209
225
|
className: "x78zum5 x6s0dn4 xl56j7k x2lah0s xrhwvvd",
|
|
210
|
-
children: /* @__PURE__ */
|
|
211
|
-
}), /* @__PURE__ */
|
|
226
|
+
children: /* @__PURE__ */ jsx(Icon, { ...stylex.props(styles.typeIcon, typeStyles.icon) })
|
|
227
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
212
228
|
className: "xeuugli x845mor",
|
|
213
229
|
children: [
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
asChild:
|
|
216
|
-
children: /* @__PURE__ */
|
|
230
|
+
/* @__PURE__ */ jsx(DialogTitle, {
|
|
231
|
+
asChild: true,
|
|
232
|
+
children: /* @__PURE__ */ jsx(Title, {
|
|
217
233
|
id: "confirm-modal-title",
|
|
218
234
|
level: 3,
|
|
219
|
-
sx:
|
|
220
|
-
children:
|
|
235
|
+
sx: styles.title,
|
|
236
|
+
children: title
|
|
221
237
|
})
|
|
222
238
|
}),
|
|
223
|
-
|
|
224
|
-
asChild:
|
|
225
|
-
children: /* @__PURE__ */
|
|
239
|
+
resolvedMessage ? /* @__PURE__ */ jsx(DialogDescription, {
|
|
240
|
+
asChild: true,
|
|
241
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
226
242
|
type: "muted",
|
|
227
|
-
sx:
|
|
228
|
-
children:
|
|
243
|
+
sx: styles.message,
|
|
244
|
+
children: resolvedMessage
|
|
229
245
|
})
|
|
230
246
|
}) : null,
|
|
231
|
-
|
|
247
|
+
children
|
|
232
248
|
]
|
|
233
249
|
})]
|
|
234
250
|
}),
|
|
235
|
-
|
|
251
|
+
footer ? footer : /* @__PURE__ */ jsxs("div", {
|
|
236
252
|
className: "x78zum5 x13a6bvl xb6y1gh xdj266r",
|
|
237
|
-
children: [/* @__PURE__ */
|
|
253
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
238
254
|
type: "button",
|
|
239
255
|
variant: "outline",
|
|
240
|
-
onClick:
|
|
241
|
-
disabled:
|
|
242
|
-
sx:
|
|
243
|
-
children:
|
|
244
|
-
}), /* @__PURE__ */
|
|
256
|
+
onClick: handleDismiss,
|
|
257
|
+
disabled: isPending,
|
|
258
|
+
sx: styles.cancelBtn,
|
|
259
|
+
children: cancelText
|
|
260
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
245
261
|
type: "button",
|
|
246
|
-
variant:
|
|
247
|
-
onClick:
|
|
248
|
-
isLoading:
|
|
249
|
-
sx: [
|
|
250
|
-
children:
|
|
262
|
+
variant: type === "danger" ? "destructive" : "default",
|
|
263
|
+
onClick: handleConfirm,
|
|
264
|
+
isLoading: isPending,
|
|
265
|
+
sx: [styles.confirmBtn, typeStyles.btn],
|
|
266
|
+
children: isPending ? resolvedLoadingText : confirmText
|
|
251
267
|
})]
|
|
252
268
|
})
|
|
253
269
|
]
|
|
254
270
|
})
|
|
255
271
|
});
|
|
256
272
|
}
|
|
257
|
-
export {
|
|
273
|
+
export { ConfirmModal, ConfirmModal as default };
|
|
@@ -1 +1,203 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_utils = require("../utils.cjs");
|
|
3
|
+
const require_DataTablePagination = require("./components/DataTablePagination.cjs");
|
|
4
|
+
const require_DataTableTable = require("./components/DataTableTable.cjs");
|
|
5
|
+
const require_DataTableToolbar = require("./components/DataTableToolbar.cjs");
|
|
6
|
+
const require_DataTableViewOptions = require("./components/DataTableViewOptions.cjs");
|
|
7
|
+
const require_defaults = require("./render/defaults.cjs");
|
|
8
|
+
let _stylexjs_stylex = require("@stylexjs/stylex");
|
|
9
|
+
_stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
let react = require("react");
|
|
12
|
+
let lodash_es = require("lodash-es");
|
|
13
|
+
let ahooks = require("ahooks");
|
|
14
|
+
let _tanstack_react_table = require("@tanstack/react-table");
|
|
15
|
+
// src/DataTable/DataTable.tsx
|
|
16
|
+
var DEFAULT_INITIAL_STATE = {
|
|
17
|
+
sorting: [],
|
|
18
|
+
columnFilters: [],
|
|
19
|
+
globalFilter: "",
|
|
20
|
+
columnVisibility: {},
|
|
21
|
+
rowSelection: {},
|
|
22
|
+
pagination: {
|
|
23
|
+
pageIndex: 0,
|
|
24
|
+
pageSize: 10
|
|
25
|
+
},
|
|
26
|
+
expanded: {}
|
|
27
|
+
};
|
|
28
|
+
var createDefaultExpand = () => ({
|
|
29
|
+
enabled: false,
|
|
30
|
+
renderSubComponent: () => null,
|
|
31
|
+
getSubRows: () => []
|
|
32
|
+
});
|
|
33
|
+
var DEFAULT_RENDER_TOOLBAR_RIGHT = () => null;
|
|
34
|
+
var DEFAULT_GET_ROW_ID = (_originalRow, index) => {
|
|
35
|
+
return String(index);
|
|
36
|
+
};
|
|
37
|
+
var DataTable = ({ data, columns, initialState, empty, search, pagination: paginationConfig, actions, api, infiniteScroll, expand, className, containerClassName, getRowId, renderToolbarRight }) => {
|
|
38
|
+
const initialConfig = initialState === void 0 ? DEFAULT_INITIAL_STATE : initialState;
|
|
39
|
+
const resolvedEmpty = empty === void 0 ? require_defaults.DEFAULT_EMPTY : empty;
|
|
40
|
+
const resolvedSearch = search === void 0 ? require_defaults.DEFAULT_SEARCH : search;
|
|
41
|
+
const resolvedPagination = paginationConfig === void 0 ? require_defaults.DEFAULT_PAGINATION : paginationConfig;
|
|
42
|
+
const resolvedActions = actions === void 0 ? require_defaults.createDefaultActions() : actions;
|
|
43
|
+
const resolvedApi = api === void 0 ? require_defaults.DEFAULT_API : api;
|
|
44
|
+
const resolvedInfinite = infiniteScroll === void 0 ? require_defaults.DEFAULT_INFINITE_SCROLL : infiniteScroll;
|
|
45
|
+
const resolvedExpand = expand === void 0 ? createDefaultExpand() : expand;
|
|
46
|
+
const resolvedGetRowId = getRowId === void 0 ? DEFAULT_GET_ROW_ID : getRowId;
|
|
47
|
+
const resolvedRenderToolbarRight = renderToolbarRight === void 0 ? DEFAULT_RENDER_TOOLBAR_RIGHT : renderToolbarRight;
|
|
48
|
+
const [sorting, setSorting] = (0, react.useState)(initialConfig.sorting);
|
|
49
|
+
const [columnFilters, setColumnFilters] = (0, react.useState)(initialConfig.columnFilters);
|
|
50
|
+
const [globalFilter, setGlobalFilter] = (0, react.useState)(initialConfig.globalFilter);
|
|
51
|
+
const [columnVisibility, setColumnVisibility] = (0, react.useState)(initialConfig.columnVisibility);
|
|
52
|
+
const [rowSelection, setRowSelection] = (0, react.useState)(initialConfig.rowSelection);
|
|
53
|
+
const [paginationState, setPaginationState] = (0, react.useState)(initialConfig.pagination);
|
|
54
|
+
const [expanded, setExpanded] = (0, react.useState)(initialConfig.expanded);
|
|
55
|
+
const manualMode = resolvedApi.mode === "server";
|
|
56
|
+
const pageCount = manualMode && paginationState.pageSize > 0 ? Math.ceil(resolvedApi.totalRows / paginationState.pageSize) : void 0;
|
|
57
|
+
const table = (0, _tanstack_react_table.useReactTable)({
|
|
58
|
+
data,
|
|
59
|
+
columns,
|
|
60
|
+
state: {
|
|
61
|
+
sorting,
|
|
62
|
+
columnFilters,
|
|
63
|
+
globalFilter,
|
|
64
|
+
columnVisibility,
|
|
65
|
+
rowSelection,
|
|
66
|
+
pagination: paginationState,
|
|
67
|
+
expanded
|
|
68
|
+
},
|
|
69
|
+
manualSorting: manualMode,
|
|
70
|
+
manualFiltering: manualMode,
|
|
71
|
+
manualPagination: manualMode,
|
|
72
|
+
pageCount,
|
|
73
|
+
meta: { getRowActions: resolvedActions.getRowActions },
|
|
74
|
+
enableRowSelection: true,
|
|
75
|
+
getRowId: (originalRow, index, parent) => resolvedGetRowId(originalRow, index, parent === void 0 ? null : parent),
|
|
76
|
+
onSortingChange: (updater) => setSorting((current) => (0, _tanstack_react_table.functionalUpdate)(updater, current)),
|
|
77
|
+
onColumnFiltersChange: (updater_0) => setColumnFilters((current_0) => (0, _tanstack_react_table.functionalUpdate)(updater_0, current_0)),
|
|
78
|
+
onGlobalFilterChange: (updater_1) => setGlobalFilter((current_1) => (0, _tanstack_react_table.functionalUpdate)(updater_1, current_1)),
|
|
79
|
+
onColumnVisibilityChange: (updater_2) => setColumnVisibility((current_2) => (0, _tanstack_react_table.functionalUpdate)(updater_2, current_2)),
|
|
80
|
+
onRowSelectionChange: (updater_3) => setRowSelection((current_3) => (0, _tanstack_react_table.functionalUpdate)(updater_3, current_3)),
|
|
81
|
+
onPaginationChange: (updater_4) => setPaginationState((current_4) => (0, _tanstack_react_table.functionalUpdate)(updater_4, current_4)),
|
|
82
|
+
onExpandedChange: (updater_5) => setExpanded((current_5) => (0, _tanstack_react_table.functionalUpdate)(updater_5, current_5)),
|
|
83
|
+
getCoreRowModel: (0, _tanstack_react_table.getCoreRowModel)(),
|
|
84
|
+
getSortedRowModel: manualMode ? void 0 : (0, _tanstack_react_table.getSortedRowModel)(),
|
|
85
|
+
getFilteredRowModel: manualMode ? void 0 : (0, _tanstack_react_table.getFilteredRowModel)(),
|
|
86
|
+
getPaginationRowModel: manualMode ? void 0 : (0, _tanstack_react_table.getPaginationRowModel)(),
|
|
87
|
+
getExpandedRowModel: (0, _tanstack_react_table.getExpandedRowModel)(),
|
|
88
|
+
getSubRows: resolvedExpand.enabled ? resolvedExpand.getSubRows : void 0,
|
|
89
|
+
getRowCanExpand: () => resolvedExpand.enabled
|
|
90
|
+
});
|
|
91
|
+
const query = {
|
|
92
|
+
sorting,
|
|
93
|
+
columnFilters,
|
|
94
|
+
globalFilter,
|
|
95
|
+
pagination: paginationState
|
|
96
|
+
};
|
|
97
|
+
(0, ahooks.useUpdateEffect)(() => {
|
|
98
|
+
if (manualMode) return;
|
|
99
|
+
setPaginationState((current_6) => ({
|
|
100
|
+
...current_6,
|
|
101
|
+
pageIndex: 0
|
|
102
|
+
}));
|
|
103
|
+
}, [
|
|
104
|
+
manualMode,
|
|
105
|
+
globalFilter,
|
|
106
|
+
columnFilters,
|
|
107
|
+
sorting
|
|
108
|
+
]);
|
|
109
|
+
(0, react.useEffect)(() => {
|
|
110
|
+
if (manualMode) return;
|
|
111
|
+
const filteredRows = table.getFilteredRowModel().rows.length;
|
|
112
|
+
const pageSize = paginationState.pageSize;
|
|
113
|
+
const computedPageCount = pageSize > 0 ? Math.ceil(filteredRows / pageSize) : 0;
|
|
114
|
+
const maxPageIndex = computedPageCount === 0 ? 0 : computedPageCount - 1;
|
|
115
|
+
setPaginationState((current_7) => ({
|
|
116
|
+
...current_7,
|
|
117
|
+
pageIndex: (0, lodash_es.clamp)(current_7.pageIndex, 0, maxPageIndex)
|
|
118
|
+
}));
|
|
119
|
+
}, [
|
|
120
|
+
manualMode,
|
|
121
|
+
paginationState.pageSize,
|
|
122
|
+
table
|
|
123
|
+
]);
|
|
124
|
+
const debouncedNotifyRef = (0, react.useRef)((0, lodash_es.debounce)((next) => {
|
|
125
|
+
resolvedApi.onQueryChange(next);
|
|
126
|
+
}, resolvedSearch.debounceMs));
|
|
127
|
+
(0, react.useEffect)(() => {
|
|
128
|
+
debouncedNotifyRef.current = (0, lodash_es.debounce)((next_0) => {
|
|
129
|
+
resolvedApi.onQueryChange(next_0);
|
|
130
|
+
}, resolvedSearch.debounceMs);
|
|
131
|
+
return () => {
|
|
132
|
+
debouncedNotifyRef.current.cancel();
|
|
133
|
+
};
|
|
134
|
+
}, [resolvedApi, resolvedSearch.debounceMs]);
|
|
135
|
+
(0, ahooks.useUpdateEffect)(() => {
|
|
136
|
+
if (resolvedApi.mode !== "server") return;
|
|
137
|
+
debouncedNotifyRef.current(query);
|
|
138
|
+
return () => {
|
|
139
|
+
debouncedNotifyRef.current.cancel();
|
|
140
|
+
};
|
|
141
|
+
}, [query, resolvedApi]);
|
|
142
|
+
const [scrollEl, setScrollEl] = (0, react.useState)(null);
|
|
143
|
+
(0, react.useEffect)(() => {
|
|
144
|
+
if (resolvedInfinite.enabled === false) return;
|
|
145
|
+
if (scrollEl === null) return;
|
|
146
|
+
const onScroll = () => {
|
|
147
|
+
if (resolvedApi.isFetching) return;
|
|
148
|
+
const scrollTop = scrollEl.scrollTop;
|
|
149
|
+
if (scrollEl.scrollHeight - (scrollTop + scrollEl.clientHeight) <= resolvedInfinite.thresholdPx) resolvedInfinite.onEndReached(query);
|
|
150
|
+
};
|
|
151
|
+
scrollEl.addEventListener("scroll", onScroll, { passive: true });
|
|
152
|
+
return () => {
|
|
153
|
+
scrollEl.removeEventListener("scroll", onScroll);
|
|
154
|
+
};
|
|
155
|
+
}, [
|
|
156
|
+
resolvedApi.isFetching,
|
|
157
|
+
resolvedInfinite,
|
|
158
|
+
query,
|
|
159
|
+
scrollEl
|
|
160
|
+
]);
|
|
161
|
+
const columnsCount = table.getVisibleLeafColumns().length;
|
|
162
|
+
const rootStyleProps = { className: "xh8yej3" };
|
|
163
|
+
const containerStyleProps = { className: "xysyzu8" };
|
|
164
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
165
|
+
...rootStyleProps,
|
|
166
|
+
className: require_utils.cn(rootStyleProps.className, className === void 0 ? "" : className),
|
|
167
|
+
children: [
|
|
168
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DataTableToolbar.DataTableToolbar, {
|
|
169
|
+
table,
|
|
170
|
+
placeholder: resolvedSearch.placeholder,
|
|
171
|
+
debounceMs: resolvedSearch.debounceMs,
|
|
172
|
+
right: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
173
|
+
className: "x8x9d4c x78zum5 x6s0dn4 x13z6uf9",
|
|
174
|
+
children: [resolvedRenderToolbarRight(table), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DataTableViewOptions.DataTableViewOptions, {
|
|
175
|
+
table,
|
|
176
|
+
columnVisibility
|
|
177
|
+
})]
|
|
178
|
+
})
|
|
179
|
+
}),
|
|
180
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
181
|
+
ref: (node) => setScrollEl(node),
|
|
182
|
+
...containerStyleProps,
|
|
183
|
+
className: require_utils.cn(containerStyleProps.className, containerClassName === void 0 ? "" : containerClassName),
|
|
184
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DataTableTable.DataTableTable, {
|
|
185
|
+
table,
|
|
186
|
+
columnVisibility,
|
|
187
|
+
expandedState: expanded,
|
|
188
|
+
expandConfig: resolvedExpand,
|
|
189
|
+
empty: resolvedEmpty,
|
|
190
|
+
columnsCount
|
|
191
|
+
})
|
|
192
|
+
}),
|
|
193
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DataTablePagination.DataTablePagination, {
|
|
194
|
+
table,
|
|
195
|
+
tableState: table.getState(),
|
|
196
|
+
pageSizeOptions: resolvedPagination.pageSizeOptions,
|
|
197
|
+
apiConfig: resolvedApi
|
|
198
|
+
})
|
|
199
|
+
]
|
|
200
|
+
});
|
|
201
|
+
};
|
|
202
|
+
exports.DataTable = DataTable;
|
|
203
|
+
exports.default = DataTable;
|