@vlrc-fe/components 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +127 -209
- package/bin/vlrc.mjs +15 -0
- package/dist/ConfirmModal.cjs +1 -0
- package/dist/ConfirmModal.d.ts +2 -3
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +257 -0
- package/dist/DataTable/DataTable.cjs +1 -0
- package/dist/DataTable/DataTable.js +159 -0
- package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
- package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
- package/dist/DataTable/components/DataTablePagination.cjs +1 -0
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.js +101 -0
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
- package/dist/DataTable/components/DataTableRowActions.js +71 -0
- package/dist/DataTable/components/DataTableTable.cjs +1 -0
- package/dist/DataTable/components/DataTableTable.js +46 -0
- package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
- package/dist/DataTable/components/DataTableToolbar.js +48 -0
- package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
- package/dist/DataTable/components/DataTableViewOptions.js +50 -0
- package/dist/DataTable/render/createColumns.cjs +1 -0
- package/dist/DataTable/render/createColumns.js +59 -0
- package/dist/DataTable/render/defaults.cjs +1 -0
- package/dist/Dropdown/Dropdown.cjs +1 -0
- package/dist/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.js +221 -0
- package/dist/Dropdown/types.d.ts +1 -1
- package/dist/Dropdown/types.d.ts.map +1 -1
- package/dist/Form/Form.cjs +1 -0
- package/dist/Form/Form.js +221 -0
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
- package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.js +86 -0
- package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.js +89 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
- package/dist/Form/FormDatePicker/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
- package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
- package/dist/Form/FormFileUpload/FileUpload.js +422 -0
- package/dist/Form/FormFileUpload/index.cjs +1 -0
- package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
- package/dist/Form/FormFileUpload/index.js +30 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
- package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
- package/dist/Form/FormNumberInput/StepperControls.js +67 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
- package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
- package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
- package/dist/Form/FormSelect/FormSelect.cjs +1 -0
- package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/Form/FormSelect/FormSelect.js +30 -0
- package/dist/Form/FormSelect/types.d.ts +1 -1
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
- package/dist/Modal.cjs +1 -0
- package/dist/Modal.js +120 -0
- package/dist/MultiSelect/MultiSelect.cjs +1 -0
- package/dist/MultiSelect/MultiSelect.d.ts +3 -31
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +199 -0
- package/dist/MultiSelect/renderers.cjs +1 -0
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.js +367 -0
- package/dist/MultiSelect/type.d.ts +1 -0
- package/dist/MultiSelect/type.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +163 -0
- package/dist/Select/BaseSelect.cjs +1 -0
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +222 -0
- package/dist/Select/MultiSelectTags.cjs +1 -0
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.js +101 -0
- package/dist/Select/type.d.ts +1 -1
- package/dist/Select/type.d.ts.map +1 -1
- package/dist/Typography/Blockquote.cjs +1 -0
- package/dist/Typography/Blockquote.js +75 -0
- package/dist/Typography/Code.cjs +1 -0
- package/dist/Typography/Code.d.ts.map +1 -1
- package/dist/Typography/Code.js +123 -0
- package/dist/Typography/Link.cjs +1 -0
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +128 -0
- package/dist/Typography/Paragraph.cjs +1 -0
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +212 -0
- package/dist/Typography/Text.cjs +1 -0
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +205 -0
- package/dist/Typography/Title.cjs +1 -0
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +199 -0
- package/dist/Typography/Typography.cjs +1 -0
- package/dist/Typography/Typography.js +16 -0
- package/dist/Typography/index.d.ts +1 -0
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +13 -0
- package/dist/Typography/tooltip.cjs +1 -0
- package/dist/Typography/tooltip.js +18 -0
- package/dist/Typography/types.d.ts +37 -1
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/utils.cjs +1 -0
- package/dist/Typography/utils.d.ts +3 -2
- package/dist/Typography/utils.d.ts.map +1 -1
- package/dist/Typography/utils.js +24 -0
- package/dist/Typography/weightStyles.cjs +1 -0
- package/dist/assets/stylex.css +369 -298
- package/dist/astryx.cjs +1 -0
- package/dist/astryx.d.ts +3 -0
- package/dist/astryx.d.ts.map +1 -0
- package/dist/astryx.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -111
- package/dist/layout/Box.cjs +1 -0
- package/dist/layout/Box.d.ts +19 -0
- package/dist/layout/Box.d.ts.map +1 -0
- package/dist/layout/Box.js +112 -0
- package/dist/layout/Center.cjs +1 -0
- package/dist/layout/Center.d.ts +9 -0
- package/dist/layout/Center.d.ts.map +1 -0
- package/dist/layout/Center.js +22 -0
- package/dist/layout/Container.cjs +1 -0
- package/dist/layout/Container.d.ts +17 -0
- package/dist/layout/Container.d.ts.map +1 -0
- package/dist/layout/Container.js +75 -0
- package/dist/layout/Stack.cjs +1 -0
- package/dist/layout/Stack.d.ts +26 -0
- package/dist/layout/Stack.d.ts.map +1 -0
- package/dist/layout/Stack.js +89 -0
- package/dist/layout/index.d.ts +6 -1
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/index.js +9 -0
- package/dist/lazyLoad.cjs +1 -0
- package/dist/lazyLoad.js +13 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
- 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 +1 -0
- 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 +211 -0
- 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 +1 -0
- 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 +87 -0
- 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 +1 -0
- 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 +31 -0
- 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 +1 -0
- 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 +87 -0
- 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 +1 -0
- 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 +94 -0
- 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 +1 -0
- 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 +409 -0
- 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 +1 -0
- 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 +1 -0
- 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 +198 -0
- 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 +1 -0
- 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 +89 -0
- 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 +1 -0
- 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 +14 -0
- 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 +1 -0
- 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 +170 -0
- 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 +1 -0
- 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 +1 -0
- 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 +158 -0
- 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 +1 -0
- 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 +149 -0
- 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 +1 -0
- 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 +15 -0
- 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 +1 -0
- 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 +543 -0
- 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 +1 -0
- 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 +275 -0
- 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 +1 -0
- 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 +537 -0
- 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 +1 -0
- 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 +163 -0
- 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 +1 -0
- 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 -0
- 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 +1 -0
- 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 +97 -0
- 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 +1 -0
- 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 +44 -0
- 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 +1 -0
- 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 +168 -0
- 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 +1 -0
- 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 +431 -0
- 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 +1 -0
- 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 +155 -0
- 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 +1 -0
- 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 +117 -0
- 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 +1 -0
- 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 +122 -0
- 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 +1 -0
- 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 +30 -0
- 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 +1 -0
- 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 +1 -0
- 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 +82 -0
- 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 +1 -0
- 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 +20 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +34 -0
- 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 +1 -0
- 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 +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
- 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 +1 -0
- 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 +23 -0
- 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 +20 -0
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
- 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 +9 -0
- 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 +38 -0
- 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 +69 -0
- 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 +1 -0
- 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.js +3 -0
- 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 +1 -0
- 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 +13 -0
- 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 +4 -0
- 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 +112 -0
- 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 +1 -0
- 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 +51 -0
- 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 +1 -0
- 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 +4 -0
- 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 +1 -0
- 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 +6 -0
- 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 +1 -0
- 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 +1 -0
- 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 +10 -0
- 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 +1 -0
- 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 +14 -0
- 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 +1 -0
- 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.js +3 -0
- 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 +1 -0
- 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 +27 -0
- 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 +1 -0
- 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 +25 -0
- 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 +1 -0
- 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 +15 -0
- 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 +1 -0
- 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 +68 -0
- 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 +3 -0
- package/dist/richtext/index.d.ts +2 -0
- package/dist/richtext/index.d.ts.map +1 -0
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.js +34 -0
- package/dist/theme/tokens.stylex.cjs +1 -0
- package/dist/theme/tokens.stylex.d.ts +175 -5
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +166 -0
- package/dist/theme/zIndex.cjs +1 -0
- package/dist/theme/zIndex.js +30 -0
- package/dist/theme.css +52 -138
- package/dist/ui/accordion.cjs +1 -0
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +286 -0
- package/dist/ui/action-bar.cjs +1 -0
- package/dist/ui/action-bar.js +161 -0
- package/dist/ui/alert-dialog.cjs +1 -0
- package/dist/ui/alert-dialog.js +234 -0
- package/dist/ui/alert.cjs +1 -0
- package/dist/ui/alert.js +97 -0
- package/dist/ui/aspect-ratio.cjs +1 -0
- package/dist/ui/aspect-ratio.js +15 -0
- package/dist/ui/avatar.cjs +1 -0
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +224 -0
- package/dist/ui/badge-overflow.cjs +1 -0
- package/dist/ui/badge-overflow.js +57 -0
- package/dist/ui/badge.cjs +1 -0
- package/dist/ui/badge.d.ts +2 -0
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +146 -0
- package/dist/ui/breadcrumb.cjs +1 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +273 -0
- package/dist/ui/button.cjs +1 -0
- package/dist/ui/button.d.ts +2 -0
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +372 -0
- package/dist/ui/calendar.cjs +1 -0
- package/dist/ui/calendar.d.ts +1 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +506 -0
- package/dist/ui/card.cjs +1 -0
- package/dist/ui/card.js +211 -0
- package/dist/ui/carousel.cjs +1 -0
- package/dist/ui/carousel.js +208 -0
- package/dist/ui/checkbox.cjs +1 -0
- package/dist/ui/checkbox.js +157 -0
- package/dist/ui/circular-progress.cjs +1 -0
- package/dist/ui/circular-progress.js +124 -0
- package/dist/ui/collapsible.cjs +1 -0
- package/dist/ui/collapsible.js +33 -0
- package/dist/ui/command.cjs +1 -0
- package/dist/ui/command.d.ts +1 -1
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +277 -0
- package/dist/ui/compare-slider.cjs +1 -0
- package/dist/ui/compare-slider.js +134 -0
- package/dist/ui/context-menu.cjs +1 -0
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +330 -0
- package/dist/ui/copy-button.cjs +1 -0
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +80 -0
- package/dist/ui/dialog.cjs +1 -0
- package/dist/ui/dialog.js +212 -0
- package/dist/ui/drawer.cjs +1 -0
- package/dist/ui/drawer.js +222 -0
- package/dist/ui/dropdown-menu.cjs +1 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +319 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +339 -0
- package/dist/ui/empty.cjs +1 -0
- package/dist/ui/empty.js +134 -0
- package/dist/ui/field.cjs +1 -0
- package/dist/ui/field.d.ts +2 -0
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +316 -0
- package/dist/ui/file-upload-adapters.cjs +1 -0
- package/dist/ui/file-upload.cjs +1 -0
- package/dist/ui/file-upload.js +997 -0
- package/dist/ui/flex.cjs +1 -0
- package/dist/ui/flex.js +182 -0
- package/dist/ui/form.cjs +1 -0
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +159 -0
- package/dist/ui/gauge.cjs +1 -0
- package/dist/ui/gauge.js +116 -0
- package/dist/ui/grid.cjs +1 -0
- package/dist/ui/grid.js +190 -0
- package/dist/ui/hover-card.cjs +1 -0
- package/dist/ui/hover-card.js +61 -0
- package/dist/ui/input-group.cjs +1 -0
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +219 -0
- package/dist/ui/input-otp.cjs +1 -0
- package/dist/ui/input-otp.d.ts +1 -1
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +184 -0
- package/dist/ui/input.cjs +1 -0
- package/dist/ui/input.js +368 -0
- package/dist/ui/item.cjs +1 -0
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +276 -0
- package/dist/ui/kbd.cjs +1 -0
- package/dist/ui/kbd.js +107 -0
- package/dist/ui/label.cjs +1 -0
- package/dist/ui/label.js +35 -0
- package/dist/ui/masonry.cjs +1 -0
- package/dist/ui/masonry.js +51 -0
- package/dist/ui/menubar.cjs +1 -0
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +405 -0
- package/dist/ui/navigation-menu.cjs +1 -0
- package/dist/ui/navigation-menu.js +256 -0
- package/dist/ui/pagination.cjs +1 -0
- package/dist/ui/pagination.d.ts +3 -1
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +317 -0
- package/dist/ui/popover.cjs +1 -0
- package/dist/ui/popover.js +69 -0
- package/dist/ui/progress.cjs +1 -0
- package/dist/ui/progress.js +29 -0
- package/dist/ui/radio-group.cjs +1 -0
- package/dist/ui/radio-group.js +167 -0
- package/dist/ui/rating.cjs +1 -0
- package/dist/ui/rating.js +171 -0
- package/dist/ui/resizable.cjs +1 -0
- package/dist/ui/resizable.js +75 -0
- package/dist/ui/responsive-dialog.cjs +1 -0
- package/dist/ui/responsive-dialog.js +175 -0
- package/dist/ui/row-col.cjs +1 -0
- package/dist/ui/row-col.js +471 -0
- package/dist/ui/scroll-area.cjs +1 -0
- package/dist/ui/scroll-area.js +83 -0
- package/dist/ui/segmented.cjs +1 -0
- package/dist/ui/segmented.js +155 -0
- package/dist/ui/select.cjs +1 -0
- package/dist/ui/select.js +280 -0
- package/dist/ui/separator.cjs +1 -0
- package/dist/ui/separator.d.ts +2 -0
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +36 -0
- package/dist/ui/sheet.cjs +1 -0
- package/dist/ui/sheet.js +263 -0
- package/dist/ui/sidebar.cjs +1 -0
- package/dist/ui/sidebar.js +808 -0
- package/dist/ui/skeleton.cjs +1 -0
- package/dist/ui/skeleton.js +30 -0
- package/dist/ui/slider.cjs +1 -0
- package/dist/ui/slider.js +44 -0
- package/dist/ui/sonner.cjs +1 -0
- package/dist/ui/sonner.d.ts +1 -1
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +24 -0
- package/dist/ui/spinner.cjs +1 -0
- package/dist/ui/spinner.js +70 -0
- package/dist/ui/stat.cjs +1 -0
- package/dist/ui/stat.js +185 -0
- package/dist/ui/stepper.cjs +1 -0
- package/dist/ui/stepper.js +459 -0
- package/dist/ui/switch.cjs +1 -0
- package/dist/ui/switch.js +190 -0
- package/dist/ui/table.cjs +1 -0
- package/dist/ui/table.js +186 -0
- package/dist/ui/tabs.cjs +1 -0
- package/dist/ui/tabs.js +226 -0
- package/dist/ui/tags-input.cjs +1 -0
- package/dist/ui/tags-input.js +353 -0
- package/dist/ui/textarea.cjs +1 -0
- package/dist/ui/textarea.js +113 -0
- package/dist/ui/timeline.cjs +1 -0
- package/dist/ui/timeline.js +361 -0
- package/dist/ui/toggle-group.cjs +1 -0
- package/dist/ui/toggle-group.d.ts +1 -1
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +74 -0
- package/dist/ui/toggle.cjs +1 -0
- package/dist/ui/toggle.d.ts +2 -2
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +136 -0
- package/dist/ui/tooltip.cjs +1 -0
- package/dist/ui/tooltip.js +63 -0
- package/dist/ui/useBreakpoint.cjs +1 -0
- package/dist/ui/useBreakpoint.d.ts +0 -4
- package/dist/ui/useBreakpoint.d.ts.map +1 -1
- package/dist/ui/useBreakpoint.js +65 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +7 -0
- package/dist/vlrc-theme.css +316 -0
- package/package.json +51 -52
- package/dist/index10.cjs +0 -1
- package/dist/index100.cjs +0 -1
- package/dist/index100.js +0 -13
- package/dist/index101.cjs +0 -1
- package/dist/index101.js +0 -543
- package/dist/index102.cjs +0 -1
- package/dist/index102.js +0 -198
- package/dist/index103.cjs +0 -1
- package/dist/index103.js +0 -326
- package/dist/index104.cjs +0 -1
- package/dist/index104.js +0 -80
- package/dist/index105.cjs +0 -3
- package/dist/index106.cjs +0 -1
- package/dist/index106.js +0 -222
- package/dist/index107.cjs +0 -1
- package/dist/index107.js +0 -322
- package/dist/index108.cjs +0 -1
- package/dist/index108.js +0 -336
- package/dist/index109.cjs +0 -1
- package/dist/index109.js +0 -134
- package/dist/index11.cjs +0 -1
- package/dist/index11.js +0 -183
- package/dist/index110.cjs +0 -1
- package/dist/index110.js +0 -35
- package/dist/index111.cjs +0 -1
- package/dist/index111.js +0 -35
- package/dist/index112.cjs +0 -1
- package/dist/index112.js +0 -307
- package/dist/index113.cjs +0 -1
- package/dist/index114.cjs +0 -1
- package/dist/index114.js +0 -997
- package/dist/index115.cjs +0 -1
- package/dist/index116.cjs +0 -1
- package/dist/index116.js +0 -154
- package/dist/index117.cjs +0 -1
- package/dist/index117.js +0 -116
- package/dist/index118.cjs +0 -1
- package/dist/index118.js +0 -65
- package/dist/index119.cjs +0 -1
- package/dist/index119.js +0 -471
- package/dist/index12.cjs +0 -1
- package/dist/index12.js +0 -155
- package/dist/index120.cjs +0 -1
- package/dist/index120.js +0 -190
- package/dist/index121.cjs +0 -1
- package/dist/index121.js +0 -149
- package/dist/index122.cjs +0 -1
- package/dist/index122.js +0 -61
- package/dist/index123.cjs +0 -1
- package/dist/index123.js +0 -368
- package/dist/index124.cjs +0 -1
- package/dist/index124.js +0 -215
- package/dist/index125.cjs +0 -20
- package/dist/index126.cjs +0 -1
- package/dist/index126.js +0 -187
- package/dist/index127.cjs +0 -1
- package/dist/index127.js +0 -269
- package/dist/index128.cjs +0 -1
- package/dist/index128.js +0 -51
- package/dist/index129.cjs +0 -1
- package/dist/index129.js +0 -275
- package/dist/index13.cjs +0 -1
- package/dist/index13.js +0 -184
- package/dist/index130.cjs +0 -1
- package/dist/index130.js +0 -401
- package/dist/index131.cjs +0 -1
- package/dist/index132.cjs +0 -1
- package/dist/index132.js +0 -29
- package/dist/index133.cjs +0 -1
- package/dist/index133.js +0 -537
- package/dist/index134.cjs +0 -1
- package/dist/index134.js +0 -256
- package/dist/index135.cjs +0 -1
- package/dist/index135.js +0 -303
- package/dist/index136.cjs +0 -1
- package/dist/index136.js +0 -29
- package/dist/index137.cjs +0 -1
- package/dist/index137.js +0 -167
- package/dist/index138.cjs +0 -1
- package/dist/index138.js +0 -171
- package/dist/index139.cjs +0 -1
- package/dist/index14.cjs +0 -1
- package/dist/index14.js +0 -131
- package/dist/index140.cjs +0 -1
- package/dist/index140.js +0 -75
- package/dist/index141.cjs +0 -1
- package/dist/index141.js +0 -175
- package/dist/index142.cjs +0 -1
- package/dist/index142.js +0 -83
- package/dist/index143.cjs +0 -1
- package/dist/index143.js +0 -155
- package/dist/index144.cjs +0 -1
- package/dist/index144.js +0 -280
- package/dist/index145.cjs +0 -1
- package/dist/index145.js +0 -263
- package/dist/index146.cjs +0 -1
- package/dist/index146.js +0 -30
- package/dist/index147.cjs +0 -1
- package/dist/index147.js +0 -808
- package/dist/index149.cjs +0 -1
- package/dist/index149.js +0 -431
- package/dist/index15.cjs +0 -1
- package/dist/index15.js +0 -75
- package/dist/index150.cjs +0 -1
- package/dist/index150.js +0 -44
- package/dist/index151.cjs +0 -1
- package/dist/index151.js +0 -28
- package/dist/index152.cjs +0 -1
- package/dist/index152.js +0 -70
- package/dist/index153.cjs +0 -1
- package/dist/index153.js +0 -185
- package/dist/index154.cjs +0 -1
- package/dist/index154.js +0 -459
- package/dist/index155.cjs +0 -1
- package/dist/index155.js +0 -155
- package/dist/index156.cjs +0 -1
- package/dist/index156.js +0 -190
- package/dist/index157.cjs +0 -1
- package/dist/index157.js +0 -186
- package/dist/index158.cjs +0 -1
- package/dist/index158.js +0 -117
- package/dist/index159.cjs +0 -1
- package/dist/index159.js +0 -226
- package/dist/index16.cjs +0 -1
- package/dist/index16.js +0 -106
- package/dist/index160.cjs +0 -1
- package/dist/index160.js +0 -353
- package/dist/index161.cjs +0 -1
- package/dist/index161.js +0 -113
- package/dist/index162.cjs +0 -1
- package/dist/index162.js +0 -361
- package/dist/index163.cjs +0 -1
- package/dist/index163.js +0 -30
- package/dist/index164.cjs +0 -1
- package/dist/index164.js +0 -136
- package/dist/index165.cjs +0 -1
- package/dist/index165.js +0 -122
- package/dist/index166.cjs +0 -1
- package/dist/index166.js +0 -74
- package/dist/index167.cjs +0 -1
- package/dist/index167.js +0 -120
- package/dist/index168.cjs +0 -1
- package/dist/index168.js +0 -13
- package/dist/index169.cjs +0 -1
- package/dist/index169.js +0 -92
- package/dist/index17.cjs +0 -1
- package/dist/index17.js +0 -16
- package/dist/index170.cjs +0 -1
- package/dist/index170.js +0 -46
- package/dist/index171.cjs +0 -1
- package/dist/index171.js +0 -48
- package/dist/index172.cjs +0 -1
- package/dist/index172.js +0 -50
- package/dist/index173.cjs +0 -1
- package/dist/index174.cjs +0 -1
- package/dist/index174.js +0 -159
- package/dist/index175.cjs +0 -1
- package/dist/index175.js +0 -71
- package/dist/index176.cjs +0 -1
- package/dist/index176.js +0 -59
- package/dist/index177.cjs +0 -1
- package/dist/index177.js +0 -201
- package/dist/index178.cjs +0 -1
- package/dist/index178.js +0 -114
- package/dist/index179.cjs +0 -1
- package/dist/index179.js +0 -221
- package/dist/index18.cjs +0 -1
- package/dist/index18.js +0 -269
- package/dist/index181.cjs +0 -1
- package/dist/index181.js +0 -356
- package/dist/index182.cjs +0 -1
- package/dist/index182.js +0 -163
- package/dist/index183.cjs +0 -1
- package/dist/index183.js +0 -199
- package/dist/index184.cjs +0 -1
- package/dist/index184.js +0 -25
- package/dist/index19.cjs +0 -1
- package/dist/index19.js +0 -281
- package/dist/index190.cjs +0 -1
- package/dist/index190.js +0 -6
- package/dist/index191.cjs +0 -1
- package/dist/index191.js +0 -7
- package/dist/index193.cjs +0 -1
- package/dist/index193.js +0 -6
- package/dist/index194.cjs +0 -1
- package/dist/index194.js +0 -8
- package/dist/index197.cjs +0 -1
- package/dist/index197.js +0 -201
- package/dist/index198.cjs +0 -1
- package/dist/index198.js +0 -123
- package/dist/index199.cjs +0 -1
- package/dist/index199.js +0 -31
- package/dist/index200.cjs +0 -1
- package/dist/index200.js +0 -19
- package/dist/index201.cjs +0 -1
- package/dist/index201.js +0 -68
- package/dist/index202.cjs +0 -1
- package/dist/index202.js +0 -31
- package/dist/index203.cjs +0 -1
- package/dist/index203.js +0 -10
- package/dist/index204.cjs +0 -1
- package/dist/index204.js +0 -279
- package/dist/index205.cjs +0 -1
- package/dist/index205.js +0 -156
- package/dist/index206.cjs +0 -1
- package/dist/index206.js +0 -19
- package/dist/index207.cjs +0 -1
- package/dist/index207.js +0 -9
- package/dist/index208.cjs +0 -1
- package/dist/index208.js +0 -13
- package/dist/index209.cjs +0 -1
- package/dist/index209.js +0 -7
- package/dist/index210.cjs +0 -1
- package/dist/index210.js +0 -7
- package/dist/index211.cjs +0 -1
- package/dist/index211.js +0 -10
- package/dist/index212.cjs +0 -1
- package/dist/index212.js +0 -9
- package/dist/index214.cjs +0 -1
- package/dist/index214.js +0 -7
- package/dist/index215.cjs +0 -1
- package/dist/index215.js +0 -7
- package/dist/index216.cjs +0 -1
- package/dist/index216.js +0 -9
- package/dist/index217.cjs +0 -1
- package/dist/index217.js +0 -10
- package/dist/index218.cjs +0 -1
- package/dist/index218.js +0 -14
- package/dist/index219.cjs +0 -1
- package/dist/index219.js +0 -10
- package/dist/index220.cjs +0 -1
- package/dist/index220.js +0 -10
- package/dist/index222.cjs +0 -1
- package/dist/index222.js +0 -42
- package/dist/index223.cjs +0 -1
- package/dist/index223.js +0 -388
- package/dist/index226.cjs +0 -1
- package/dist/index226.js +0 -58
- package/dist/index227.cjs +0 -1
- package/dist/index227.js +0 -40
- package/dist/index228.cjs +0 -1
- package/dist/index228.js +0 -124
- package/dist/index229.cjs +0 -1
- package/dist/index229.js +0 -77
- package/dist/index23.cjs +0 -1
- package/dist/index23.js +0 -29
- package/dist/index230.cjs +0 -1
- package/dist/index230.js +0 -71
- package/dist/index231.cjs +0 -1
- package/dist/index231.js +0 -116
- package/dist/index232.cjs +0 -1
- package/dist/index232.js +0 -100
- package/dist/index233.cjs +0 -1
- package/dist/index233.js +0 -150
- package/dist/index234.cjs +0 -1
- package/dist/index234.js +0 -71
- package/dist/index235.cjs +0 -9
- package/dist/index236.cjs +0 -1
- package/dist/index236.js +0 -67
- package/dist/index237.cjs +0 -1
- package/dist/index237.js +0 -43
- package/dist/index238.cjs +0 -1
- package/dist/index238.js +0 -67
- package/dist/index24.cjs +0 -1
- package/dist/index24.js +0 -369
- package/dist/index240.cjs +0 -1
- package/dist/index240.js +0 -97
- package/dist/index241.cjs +0 -1
- package/dist/index241.js +0 -212
- package/dist/index242.cjs +0 -1
- package/dist/index242.js +0 -25
- package/dist/index244.cjs +0 -1
- package/dist/index244.js +0 -63
- package/dist/index245.cjs +0 -1
- package/dist/index245.js +0 -422
- package/dist/index246.cjs +0 -1
- package/dist/index246.js +0 -25
- package/dist/index247.cjs +0 -1
- package/dist/index247.js +0 -209
- package/dist/index25.cjs +0 -1
- package/dist/index25.js +0 -182
- package/dist/index26.cjs +0 -1
- package/dist/index26.js +0 -107
- package/dist/index27.cjs +0 -1
- package/dist/index27.js +0 -161
- package/dist/index28.cjs +0 -1
- package/dist/index28.js +0 -97
- package/dist/index29.cjs +0 -1
- package/dist/index29.js +0 -89
- package/dist/index3.cjs +0 -1
- package/dist/index3.js +0 -63
- package/dist/index30.cjs +0 -1
- package/dist/index32.cjs +0 -1
- package/dist/index32.js +0 -87
- package/dist/index33.cjs +0 -1
- package/dist/index33.js +0 -234
- package/dist/index34.cjs +0 -1
- package/dist/index34.js +0 -44
- package/dist/index35.cjs +0 -1
- package/dist/index35.js +0 -31
- package/dist/index36.cjs +0 -1
- package/dist/index36.js +0 -15
- package/dist/index37.cjs +0 -1
- package/dist/index38.cjs +0 -1
- package/dist/index39.cjs +0 -1
- package/dist/index39.js +0 -87
- package/dist/index40.cjs +0 -1
- package/dist/index40.js +0 -178
- package/dist/index41.cjs +0 -1
- package/dist/index41.js +0 -145
- package/dist/index42.cjs +0 -1
- package/dist/index42.js +0 -69
- package/dist/index43.cjs +0 -1
- package/dist/index43.js +0 -57
- package/dist/index44.cjs +0 -1
- package/dist/index44.js +0 -270
- package/dist/index45.cjs +0 -1
- package/dist/index45.js +0 -8
- package/dist/index47.cjs +0 -1
- package/dist/index47.js +0 -504
- package/dist/index48.cjs +0 -1
- package/dist/index48.js +0 -211
- package/dist/index51.cjs +0 -1
- package/dist/index51.js +0 -23
- package/dist/index52.cjs +0 -1
- package/dist/index52.js +0 -208
- package/dist/index53.cjs +0 -1
- package/dist/index53.js +0 -157
- package/dist/index54.cjs +0 -1
- package/dist/index54.js +0 -124
- package/dist/index55.cjs +0 -1
- package/dist/index55.js +0 -20
- package/dist/index56.cjs +0 -1
- package/dist/index56.js +0 -82
- package/dist/index57.cjs +0 -1
- package/dist/index57.js +0 -97
- package/dist/index58.cjs +0 -1
- package/dist/index58.js +0 -15
- package/dist/index59.cjs +0 -1
- package/dist/index59.js +0 -94
- package/dist/index6.cjs +0 -1
- package/dist/index6.js +0 -6
- package/dist/index60.cjs +0 -1
- package/dist/index60.js +0 -33
- package/dist/index61.cjs +0 -1
- package/dist/index61.js +0 -212
- package/dist/index62.cjs +0 -1
- package/dist/index62.js +0 -253
- package/dist/index63.cjs +0 -1
- package/dist/index63.js +0 -134
- package/dist/index64.cjs +0 -1
- package/dist/index64.js +0 -409
- package/dist/index65.cjs +0 -1
- package/dist/index65.js +0 -170
- package/dist/index66.cjs +0 -1
- package/dist/index67.cjs +0 -1
- package/dist/index67.js +0 -158
- package/dist/index69.cjs +0 -1
- package/dist/index69.js +0 -336
- package/dist/index7.cjs +0 -1
- package/dist/index7.js +0 -30
- package/dist/index71.cjs +0 -1
- package/dist/index71.js +0 -321
- package/dist/index72.cjs +0 -1
- package/dist/index72.js +0 -211
- package/dist/index73.cjs +0 -1
- package/dist/index73.js +0 -34
- package/dist/index74.cjs +0 -1
- package/dist/index74.js +0 -163
- package/dist/index75.cjs +0 -1
- package/dist/index75.js +0 -20
- package/dist/index76.cjs +0 -1
- package/dist/index77.cjs +0 -1
- package/dist/index77.js +0 -168
- package/dist/index8.cjs +0 -1
- package/dist/index8.js +0 -63
- package/dist/index83.cjs +0 -1
- package/dist/index83.js +0 -25
- package/dist/index84.cjs +0 -1
- package/dist/index84.js +0 -68
- package/dist/index85.cjs +0 -1
- package/dist/index85.js +0 -15
- package/dist/index86.cjs +0 -1
- package/dist/index86.js +0 -4
- package/dist/index87.cjs +0 -1
- package/dist/index87.js +0 -51
- package/dist/index89.cjs +0 -1
- package/dist/index89.js +0 -27
- package/dist/index9.cjs +0 -1
- package/dist/index9.js +0 -18
- package/dist/index90.cjs +0 -1
- package/dist/index90.js +0 -14
- package/dist/index91.cjs +0 -1
- package/dist/index91.js +0 -10
- package/dist/index92.cjs +0 -1
- package/dist/index92.js +0 -3
- package/dist/index94.cjs +0 -38
- package/dist/index94.js +0 -69
- package/dist/index95.cjs +0 -1
- package/dist/index95.js +0 -3
- package/dist/index98.cjs +0 -4
- package/dist/index98.js +0 -112
- package/dist/index99.cjs +0 -1
- package/dist/index99.js +0 -6
- /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
- /package/dist/{index46.cjs → Form/FormDatePicker/types.cjs} +0 -0
- /package/dist/{index46.js → Form/FormDatePicker/types.js} +0 -0
- /package/dist/{index243.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
- /package/dist/{index243.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
- /package/dist/{index239.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
- /package/dist/{index239.js → Form/FormSelect/useFormSelect.js} +0 -0
- /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
- /package/dist/{index4.js → Icons/Icons.js} +0 -0
- /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
- /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
- /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
- /package/dist/{index5.js → Typography/types.js} +0 -0
- /package/dist/{index10.js → Typography/weightStyles.js} +0 -0
- /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
- /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
- /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
- /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
- /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
- /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
- /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
- /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
- /package/dist/{index31.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
- /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
- /package/dist/{index30.js → 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} +0 -0
- /package/dist/{index66.js → 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} +0 -0
- /package/dist/{index37.js → 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} +0 -0
- /package/dist/{index76.js → 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} +0 -0
- /package/dist/{index38.js → 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} +0 -0
- /package/dist/{index131.js → 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} +0 -0
- /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
- /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
- /package/dist/{index221.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
- /package/dist/{index221.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
- /package/dist/{index192.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
- /package/dist/{index192.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
- /package/dist/{index224.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
- /package/dist/{index224.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
- /package/dist/{index225.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
- /package/dist/{index225.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
- /package/dist/{index189.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
- /package/dist/{index189.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
- /package/dist/{index213.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
- /package/dist/{index213.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
- /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
- /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
- /package/dist/{index186.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
- /package/dist/{index186.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
- /package/dist/{index187.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
- /package/dist/{index187.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
- /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
- /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
- /package/dist/{index195.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
- /package/dist/{index195.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
- /package/dist/{index196.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
- /package/dist/{index196.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
- /package/dist/{index49.cjs → 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} +0 -0
- /package/dist/{index49.js → 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} +0 -0
- /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
- /package/dist/{index50.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
- /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
- /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
- /package/dist/{index125.js → 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} +0 -0
- /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
- /package/dist/{index235.js → 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} +0 -0
- /package/dist/{index80.cjs → 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} +0 -0
- /package/dist/{index80.js → 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} +0 -0
- /package/dist/{index93.cjs → 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} +0 -0
- /package/dist/{index93.js → 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} +0 -0
- /package/dist/{index96.cjs → 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} +0 -0
- /package/dist/{index96.js → 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} +0 -0
- /package/dist/{index97.cjs → 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} +0 -0
- /package/dist/{index97.js → 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} +0 -0
- /package/dist/{index139.js → 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} +0 -0
- /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
- /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
- /package/dist/{index81.cjs → 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} +0 -0
- /package/dist/{index81.js → 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} +0 -0
- /package/dist/{index82.cjs → 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} +0 -0
- /package/dist/{index82.js → 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} +0 -0
- /package/dist/{index105.js → 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} +0 -0
- /package/dist/{index22.cjs → theme/spacing.cjs} +0 -0
- /package/dist/{index22.js → theme/spacing.js} +0 -0
- /package/dist/{index20.cjs → theme/types.cjs} +0 -0
- /package/dist/{index20.js → theme/types.js} +0 -0
- /package/dist/{index21.cjs → theme/width.cjs} +0 -0
- /package/dist/{index21.js → theme/width.js} +0 -0
- /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
package/dist/index174.js
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { cn as e } from "./index45.js";
|
|
2
|
-
import { DataTablePagination as t } from "./index169.js";
|
|
3
|
-
import { DataTableTable as n } from "./index170.js";
|
|
4
|
-
import { DataTableToolbar as r } from "./index171.js";
|
|
5
|
-
import { DataTableViewOptions as ee } from "./index172.js";
|
|
6
|
-
import { DEFAULT_API as te, DEFAULT_EMPTY as ne, DEFAULT_INFINITE_SCROLL as re, DEFAULT_PAGINATION as ie, DEFAULT_SEARCH as ae, createDefaultActions as oe } from "./index173.js";
|
|
7
|
-
import { useEffect as i, useRef as se, useState as a } from "react";
|
|
8
|
-
import "@stylexjs/stylex";
|
|
9
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
10
|
-
import { clamp as ce, debounce as c } from "lodash-es";
|
|
11
|
-
import { useUpdateEffect as l } from "ahooks";
|
|
12
|
-
import { functionalUpdate as u, getCoreRowModel as le, getExpandedRowModel as ue, getFilteredRowModel as de, getPaginationRowModel as fe, getSortedRowModel as pe, useReactTable as d } from "@tanstack/react-table";
|
|
13
|
-
// src/DataTable/DataTable.tsx
|
|
14
|
-
var f = {
|
|
15
|
-
sorting: [],
|
|
16
|
-
columnFilters: [],
|
|
17
|
-
globalFilter: "",
|
|
18
|
-
columnVisibility: {},
|
|
19
|
-
rowSelection: {},
|
|
20
|
-
pagination: {
|
|
21
|
-
pageIndex: 0,
|
|
22
|
-
pageSize: 10
|
|
23
|
-
},
|
|
24
|
-
expanded: {}
|
|
25
|
-
}, p = () => ({
|
|
26
|
-
enabled: !1,
|
|
27
|
-
renderSubComponent: () => null,
|
|
28
|
-
getSubRows: () => []
|
|
29
|
-
}), m = () => null, h = (e, t) => String(t), g = ({ data: g, columns: me, initialState: _, empty: v, search: y, pagination: b, actions: x, api: S, infiniteScroll: C, expand: w, className: T, containerClassName: E, getRowId: D, renderToolbarRight: O }) => {
|
|
30
|
-
let k = _ === void 0 ? f : _, A = v === void 0 ? ne : v, j = y === void 0 ? ae : y, M = b === void 0 ? ie : b, N = x === void 0 ? oe() : x, P = S === void 0 ? te : S, F = C === void 0 ? re : C, I = w === void 0 ? p() : w, L = D === void 0 ? h : D, R = O === void 0 ? m : O, [z, he] = a(k.sorting), [B, ge] = a(k.columnFilters), [V, _e] = a(k.globalFilter), [H, ve] = a(k.columnVisibility), [ye, be] = a(k.rowSelection), [U, W] = a(k.pagination), [G, K] = a(k.expanded), q = P.mode === "server", xe = q && U.pageSize > 0 ? Math.ceil(P.totalRows / U.pageSize) : void 0, J = d({
|
|
31
|
-
data: g,
|
|
32
|
-
columns: me,
|
|
33
|
-
state: {
|
|
34
|
-
sorting: z,
|
|
35
|
-
columnFilters: B,
|
|
36
|
-
globalFilter: V,
|
|
37
|
-
columnVisibility: H,
|
|
38
|
-
rowSelection: ye,
|
|
39
|
-
pagination: U,
|
|
40
|
-
expanded: G
|
|
41
|
-
},
|
|
42
|
-
manualSorting: q,
|
|
43
|
-
manualFiltering: q,
|
|
44
|
-
manualPagination: q,
|
|
45
|
-
pageCount: xe,
|
|
46
|
-
meta: { getRowActions: N.getRowActions },
|
|
47
|
-
enableRowSelection: !0,
|
|
48
|
-
getRowId: (e, t, n) => L(e, t, n === void 0 ? null : n),
|
|
49
|
-
onSortingChange: (e) => he((t) => u(e, t)),
|
|
50
|
-
onColumnFiltersChange: (e) => ge((t) => u(e, t)),
|
|
51
|
-
onGlobalFilterChange: (e) => _e((t) => u(e, t)),
|
|
52
|
-
onColumnVisibilityChange: (e) => ve((t) => u(e, t)),
|
|
53
|
-
onRowSelectionChange: (e) => be((t) => u(e, t)),
|
|
54
|
-
onPaginationChange: (e) => W((t) => u(e, t)),
|
|
55
|
-
onExpandedChange: (e) => K((t) => u(e, t)),
|
|
56
|
-
getCoreRowModel: le(),
|
|
57
|
-
getSortedRowModel: q ? void 0 : pe(),
|
|
58
|
-
getFilteredRowModel: q ? void 0 : de(),
|
|
59
|
-
getPaginationRowModel: q ? void 0 : fe(),
|
|
60
|
-
getExpandedRowModel: ue(),
|
|
61
|
-
getSubRows: I.enabled ? I.getSubRows : void 0,
|
|
62
|
-
getRowCanExpand: () => I.enabled
|
|
63
|
-
}), Y = {
|
|
64
|
-
sorting: z,
|
|
65
|
-
columnFilters: B,
|
|
66
|
-
globalFilter: V,
|
|
67
|
-
pagination: U
|
|
68
|
-
};
|
|
69
|
-
l(() => {
|
|
70
|
-
q || W((e) => ({
|
|
71
|
-
...e,
|
|
72
|
-
pageIndex: 0
|
|
73
|
-
}));
|
|
74
|
-
}, [
|
|
75
|
-
q,
|
|
76
|
-
V,
|
|
77
|
-
B,
|
|
78
|
-
z
|
|
79
|
-
]), i(() => {
|
|
80
|
-
if (q) return;
|
|
81
|
-
let e = J.getFilteredRowModel().rows.length, t = U.pageSize, n = t > 0 ? Math.ceil(e / t) : 0, r = n === 0 ? 0 : n - 1;
|
|
82
|
-
W((e) => ({
|
|
83
|
-
...e,
|
|
84
|
-
pageIndex: ce(e.pageIndex, 0, r)
|
|
85
|
-
}));
|
|
86
|
-
}, [
|
|
87
|
-
q,
|
|
88
|
-
U.pageSize,
|
|
89
|
-
J
|
|
90
|
-
]);
|
|
91
|
-
let X = se(c((e) => {
|
|
92
|
-
P.onQueryChange(e);
|
|
93
|
-
}, j.debounceMs));
|
|
94
|
-
i(() => (X.current = c((e) => {
|
|
95
|
-
P.onQueryChange(e);
|
|
96
|
-
}, j.debounceMs), () => {
|
|
97
|
-
X.current.cancel();
|
|
98
|
-
}), [P, j.debounceMs]), l(() => {
|
|
99
|
-
if (P.mode === "server") return X.current(Y), () => {
|
|
100
|
-
X.current.cancel();
|
|
101
|
-
};
|
|
102
|
-
}, [Y, P]);
|
|
103
|
-
let [Z, Se] = a(null);
|
|
104
|
-
i(() => {
|
|
105
|
-
if (F.enabled === !1 || Z === null) return;
|
|
106
|
-
let e = () => {
|
|
107
|
-
if (P.isFetching) return;
|
|
108
|
-
let e = Z.scrollTop;
|
|
109
|
-
Z.scrollHeight - (e + Z.clientHeight) <= F.thresholdPx && F.onEndReached(Y);
|
|
110
|
-
};
|
|
111
|
-
return Z.addEventListener("scroll", e, { passive: !0 }), () => {
|
|
112
|
-
Z.removeEventListener("scroll", e);
|
|
113
|
-
};
|
|
114
|
-
}, [
|
|
115
|
-
P.isFetching,
|
|
116
|
-
F,
|
|
117
|
-
Y,
|
|
118
|
-
Z
|
|
119
|
-
]);
|
|
120
|
-
let Ce = J.getVisibleLeafColumns().length, Q = { className: "xh8yej3" }, $ = { className: "xysyzu8" };
|
|
121
|
-
return /* @__PURE__ */ s("div", {
|
|
122
|
-
...Q,
|
|
123
|
-
className: e(Q.className, T === void 0 ? "" : T),
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ o(r, {
|
|
126
|
-
table: J,
|
|
127
|
-
placeholder: j.placeholder,
|
|
128
|
-
debounceMs: j.debounceMs,
|
|
129
|
-
right: /* @__PURE__ */ s("div", {
|
|
130
|
-
className: "x8x9d4c x78zum5 x6s0dn4 x13z6uf9",
|
|
131
|
-
children: [R(J), /* @__PURE__ */ o(ee, {
|
|
132
|
-
table: J,
|
|
133
|
-
columnVisibility: H
|
|
134
|
-
})]
|
|
135
|
-
})
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ o("div", {
|
|
138
|
-
ref: (e) => Se(e),
|
|
139
|
-
...$,
|
|
140
|
-
className: e($.className, E === void 0 ? "" : E),
|
|
141
|
-
children: /* @__PURE__ */ o(n, {
|
|
142
|
-
table: J,
|
|
143
|
-
columnVisibility: H,
|
|
144
|
-
expandedState: G,
|
|
145
|
-
expandConfig: I,
|
|
146
|
-
empty: A,
|
|
147
|
-
columnsCount: Ce
|
|
148
|
-
})
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ o(t, {
|
|
151
|
-
table: J,
|
|
152
|
-
tableState: J.getState(),
|
|
153
|
-
pageSizeOptions: M.pageSizeOptions,
|
|
154
|
-
apiConfig: P
|
|
155
|
-
})
|
|
156
|
-
]
|
|
157
|
-
});
|
|
158
|
-
};
|
|
159
|
-
export { g as DataTable, g as default };
|
package/dist/index175.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index24.cjs"),n=require("./index107.cjs");let r=require("react"),i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("lucide-react"),o=require("react/jsx-runtime"),s=require("react/compiler-runtime"),c=require("lodash-es"),l=require("react-i18next");var u={triggerOpen:{kWkggS:`xr2cb9l`,kMwMTN:`x2mg7mp`,$$css:!0}},d=e=>{let i=(0,s.c)(42),{row:d,table:f}=e,[p,m]=(0,r.useState)(!1),{t:h}=(0,l.useTranslation)(),g=f.options.meta,_,v,y,b,x,S,C,w,T,E;if(i[0]!==g||i[1]!==p||i[2]!==d||i[3]!==h){E=Symbol.for(`react.early_return_sentinel`);bb0:{let e=(0,c.get)(g,`getRowActions`),r=e===void 0?[]:e(d);if((0,c.isEmpty)(r)){E=null;break bb0}v=n.DropdownMenu,C=p,w=m;let s=p?`secondary`:`ghost`,l=p?u.triggerOpen:void 0,f;i[14]===h?f=i[15]:(f=h(`datatable_open_menu`),i[14]=h,i[15]=f);let D;i[16]===f?D=i[17]:(D=(0,o.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:f}),i[16]=f,i[17]=D);let O;i[18]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,o.jsx)(a.MoreHorizontal,{className:`x1kky2od xlup9mm`}),i[18]=O):O=i[18],i[19]!==l||i[20]!==D||i[21]!==s?(T=(0,o.jsx)(n.DropdownMenuTrigger,{asChild:!0,children:(0,o.jsxs)(t.Button,{variant:s,size:`icon-sm`,sx:l,children:[D,O]})}),i[19]=l,i[20]=D,i[21]=s,i[22]=T):T=i[22],_=n.DropdownMenuContent,y=`end`;let k;i[23]===h?k=i[24]:(k=h(`datatable_actions`),i[23]=h,i[24]=k),i[25]===k?b=i[26]:(b=(0,o.jsx)(n.DropdownMenuLabel,{children:k}),i[25]=k,i[26]=b),i[27]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,o.jsx)(n.DropdownMenuSeparator,{}),i[27]=x):x=i[27];let A;i[28]===d?A=i[29]:(A=e=>(0,o.jsx)(n.DropdownMenuItem,{disabled:e.disabled,onClick:()=>e.onSelect(d),children:e.label},e.id),i[28]=d,i[29]=A),S=(0,c.map)(r,A)}i[0]=g,i[1]=p,i[2]=d,i[3]=h,i[4]=_,i[5]=v,i[6]=y,i[7]=b,i[8]=x,i[9]=S,i[10]=C,i[11]=w,i[12]=T,i[13]=E}else _=i[4],v=i[5],y=i[6],b=i[7],x=i[8],S=i[9],C=i[10],w=i[11],T=i[12],E=i[13];if(E!==Symbol.for(`react.early_return_sentinel`))return E;let D;i[30]!==_||i[31]!==y||i[32]!==b||i[33]!==x||i[34]!==S?(D=(0,o.jsxs)(_,{align:y,children:[b,x,S]}),i[30]=_,i[31]=y,i[32]=b,i[33]=x,i[34]=S,i[35]=D):D=i[35];let O;return i[36]!==v||i[37]!==C||i[38]!==w||i[39]!==T||i[40]!==D?(O=(0,o.jsxs)(v,{open:C,onOpenChange:w,children:[T,D]}),i[36]=v,i[37]=C,i[38]=w,i[39]=T,i[40]=D,i[41]=O):O=i[41],O};exports.DataTableRowActions=d;
|
package/dist/index175.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "./index24.js";
|
|
2
|
-
import { DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r, DropdownMenuLabel as i, DropdownMenuSeparator as a, DropdownMenuTrigger as o } from "./index107.js";
|
|
3
|
-
import { useState as s } from "react";
|
|
4
|
-
import "@stylexjs/stylex";
|
|
5
|
-
import { MoreHorizontal as c } from "lucide-react";
|
|
6
|
-
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
|
-
import { c as d } from "react/compiler-runtime";
|
|
8
|
-
import { get as f, isEmpty as p, map as m } from "lodash-es";
|
|
9
|
-
import { useTranslation as h } from "react-i18next";
|
|
10
|
-
// src/DataTable/components/DataTableRowActions.tsx
|
|
11
|
-
var g = { triggerOpen: {
|
|
12
|
-
kWkggS: "xr2cb9l",
|
|
13
|
-
kMwMTN: "x2mg7mp",
|
|
14
|
-
$$css: !0
|
|
15
|
-
} }, _ = (_) => {
|
|
16
|
-
let v = d(42), { row: y, table: b } = _, [x, S] = s(!1), { t: C } = h(), w = b.options.meta, T, E, D, O, k, A, j, M, N, P;
|
|
17
|
-
if (v[0] !== w || v[1] !== x || v[2] !== y || v[3] !== C) {
|
|
18
|
-
P = Symbol.for("react.early_return_sentinel");
|
|
19
|
-
bb0: {
|
|
20
|
-
let s = f(w, "getRowActions"), d = s === void 0 ? [] : s(y);
|
|
21
|
-
if (p(d)) {
|
|
22
|
-
P = null;
|
|
23
|
-
break bb0;
|
|
24
|
-
}
|
|
25
|
-
E = t, j = x, M = S;
|
|
26
|
-
let h = x ? "secondary" : "ghost", _ = x ? g.triggerOpen : void 0, b;
|
|
27
|
-
v[14] === C ? b = v[15] : (b = C("datatable_open_menu"), v[14] = C, v[15] = b);
|
|
28
|
-
let F;
|
|
29
|
-
v[16] === b ? F = v[17] : (F = /* @__PURE__ */ l("span", {
|
|
30
|
-
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
31
|
-
children: b
|
|
32
|
-
}), v[16] = b, v[17] = F);
|
|
33
|
-
let I;
|
|
34
|
-
v[18] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ l(c, { className: "x1kky2od xlup9mm" }), v[18] = I) : I = v[18], v[19] !== _ || v[20] !== F || v[21] !== h ? (N = /* @__PURE__ */ l(o, {
|
|
35
|
-
asChild: !0,
|
|
36
|
-
children: /* @__PURE__ */ u(e, {
|
|
37
|
-
variant: h,
|
|
38
|
-
size: "icon-sm",
|
|
39
|
-
sx: _,
|
|
40
|
-
children: [F, I]
|
|
41
|
-
})
|
|
42
|
-
}), v[19] = _, v[20] = F, v[21] = h, v[22] = N) : N = v[22], T = n, D = "end";
|
|
43
|
-
let L;
|
|
44
|
-
v[23] === C ? L = v[24] : (L = C("datatable_actions"), v[23] = C, v[24] = L), v[25] === L ? O = v[26] : (O = /* @__PURE__ */ l(i, { children: L }), v[25] = L, v[26] = O), v[27] === Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ l(a, {}), v[27] = k) : k = v[27];
|
|
45
|
-
let R;
|
|
46
|
-
v[28] === y ? R = v[29] : (R = (e) => /* @__PURE__ */ l(r, {
|
|
47
|
-
disabled: e.disabled,
|
|
48
|
-
onClick: () => e.onSelect(y),
|
|
49
|
-
children: e.label
|
|
50
|
-
}, e.id), v[28] = y, v[29] = R), A = m(d, R);
|
|
51
|
-
}
|
|
52
|
-
v[0] = w, v[1] = x, v[2] = y, v[3] = C, v[4] = T, v[5] = E, v[6] = D, v[7] = O, v[8] = k, v[9] = A, v[10] = j, v[11] = M, v[12] = N, v[13] = P;
|
|
53
|
-
} else T = v[4], E = v[5], D = v[6], O = v[7], k = v[8], A = v[9], j = v[10], M = v[11], N = v[12], P = v[13];
|
|
54
|
-
if (P !== Symbol.for("react.early_return_sentinel")) return P;
|
|
55
|
-
let F;
|
|
56
|
-
v[30] !== T || v[31] !== D || v[32] !== O || v[33] !== k || v[34] !== A ? (F = /* @__PURE__ */ u(T, {
|
|
57
|
-
align: D,
|
|
58
|
-
children: [
|
|
59
|
-
O,
|
|
60
|
-
k,
|
|
61
|
-
A
|
|
62
|
-
]
|
|
63
|
-
}), v[30] = T, v[31] = D, v[32] = O, v[33] = k, v[34] = A, v[35] = F) : F = v[35];
|
|
64
|
-
let I;
|
|
65
|
-
return v[36] !== E || v[37] !== j || v[38] !== M || v[39] !== N || v[40] !== F ? (I = /* @__PURE__ */ u(E, {
|
|
66
|
-
open: j,
|
|
67
|
-
onOpenChange: M,
|
|
68
|
-
children: [N, F]
|
|
69
|
-
}), v[36] = E, v[37] = j, v[38] = M, v[39] = N, v[40] = F, v[41] = I) : I = v[41], I;
|
|
70
|
-
};
|
|
71
|
-
export { _ as DataTableRowActions };
|
package/dist/index176.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index24.cjs"),n=require("./index53.cjs"),r=require("./index175.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("lucide-react"),o=require("react/jsx-runtime"),s=require("react/compiler-runtime");var c=()=>({id:`select`,header:({table:e})=>(0,o.jsx)(n.Checkbox,{checked:e.getIsAllPageRowsSelected()||(e.getIsSomePageRowsSelected()?`indeterminate`:!1),onCheckedChange:t=>e.toggleAllPageRowsSelected(!!t),"aria-label":`Select all`}),cell:({row:e})=>(0,o.jsx)(n.Checkbox,{checked:e.getIsSelected(),onCheckedChange:t=>e.toggleSelected(!!t),"aria-label":`Select row`}),enableSorting:!1,enableHiding:!1}),l=()=>({id:`expand`,enableSorting:!1,enableHiding:!1,header:()=>null,cell:({row:e})=>(0,o.jsx)(u,{row:e})}),u=e=>{let n=(0,s.c)(8),{row:r}=e;if(r.getCanExpand()){let e;n[0]===r?e=n[1]:(e=()=>r.toggleExpanded(),n[0]=r,n[1]=e);let i;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,o.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Toggle`}),n[2]=i):i=n[2];let s;n[3]===r?s=n[4]:(s=r.getIsExpanded()?(0,o.jsx)(a.ChevronDown,{className:`x1kky2od xlup9mm`}):(0,o.jsx)(a.ChevronRight,{className:`x1kky2od xlup9mm`}),n[3]=r,n[4]=s);let c;return n[5]!==e||n[6]!==s?(c=(0,o.jsxs)(t.Button,{variant:`ghost`,size:`icon-sm`,onClick:e,children:[i,s]}),n[5]=e,n[6]=s,n[7]=c):c=n[7],c}return null},d=()=>({id:`actions`,enableHiding:!1,header:()=>null,cell:({row:e,table:t})=>(0,o.jsx)(r.DataTableRowActions,{row:e,table:t})});exports.createExpanderColumn=l,exports.createRowActionsColumn=d,exports.createSelectionColumn=c;
|
package/dist/index176.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "./index24.js";
|
|
2
|
-
import { Checkbox as t } from "./index53.js";
|
|
3
|
-
import { DataTableRowActions as n } from "./index175.js";
|
|
4
|
-
import "@stylexjs/stylex";
|
|
5
|
-
import { ChevronDown as r, ChevronRight as i } from "lucide-react";
|
|
6
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
import { c as s } from "react/compiler-runtime";
|
|
8
|
-
// src/DataTable/render/createColumns.tsx
|
|
9
|
-
var c = () => ({
|
|
10
|
-
id: "select",
|
|
11
|
-
header: ({ table: e }) => /* @__PURE__ */ a(t, {
|
|
12
|
-
checked: e.getIsAllPageRowsSelected() || (e.getIsSomePageRowsSelected() ? "indeterminate" : !1),
|
|
13
|
-
onCheckedChange: (t) => e.toggleAllPageRowsSelected(!!t),
|
|
14
|
-
"aria-label": "Select all"
|
|
15
|
-
}),
|
|
16
|
-
cell: ({ row: e }) => /* @__PURE__ */ a(t, {
|
|
17
|
-
checked: e.getIsSelected(),
|
|
18
|
-
onCheckedChange: (t) => e.toggleSelected(!!t),
|
|
19
|
-
"aria-label": "Select row"
|
|
20
|
-
}),
|
|
21
|
-
enableSorting: !1,
|
|
22
|
-
enableHiding: !1
|
|
23
|
-
}), l = () => ({
|
|
24
|
-
id: "expand",
|
|
25
|
-
enableSorting: !1,
|
|
26
|
-
enableHiding: !1,
|
|
27
|
-
header: () => null,
|
|
28
|
-
cell: ({ row: e }) => /* @__PURE__ */ a(u, { row: e })
|
|
29
|
-
}), u = (t) => {
|
|
30
|
-
let n = s(8), { row: c } = t;
|
|
31
|
-
if (c.getCanExpand()) {
|
|
32
|
-
let t;
|
|
33
|
-
n[0] === c ? t = n[1] : (t = () => c.toggleExpanded(), n[0] = c, n[1] = t);
|
|
34
|
-
let s;
|
|
35
|
-
n[2] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ a("span", {
|
|
36
|
-
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
37
|
-
children: "Toggle"
|
|
38
|
-
}), n[2] = s) : s = n[2];
|
|
39
|
-
let l;
|
|
40
|
-
n[3] === c ? l = n[4] : (l = c.getIsExpanded() ? /* @__PURE__ */ a(r, { className: "x1kky2od xlup9mm" }) : /* @__PURE__ */ a(i, { className: "x1kky2od xlup9mm" }), n[3] = c, n[4] = l);
|
|
41
|
-
let u;
|
|
42
|
-
return n[5] !== t || n[6] !== l ? (u = /* @__PURE__ */ o(e, {
|
|
43
|
-
variant: "ghost",
|
|
44
|
-
size: "icon-sm",
|
|
45
|
-
onClick: t,
|
|
46
|
-
children: [s, l]
|
|
47
|
-
}), n[5] = t, n[6] = l, n[7] = u) : u = n[7], u;
|
|
48
|
-
}
|
|
49
|
-
return null;
|
|
50
|
-
}, d = () => ({
|
|
51
|
-
id: "actions",
|
|
52
|
-
enableHiding: !1,
|
|
53
|
-
header: () => null,
|
|
54
|
-
cell: ({ row: e, table: t }) => /* @__PURE__ */ a(n, {
|
|
55
|
-
row: e,
|
|
56
|
-
table: t
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
export { l as createExpanderColumn, d as createRowActionsColumn, c as createSelectionColumn };
|
package/dist/index177.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index24.cjs"),n=require("./index41.cjs"),r=require("./index42.cjs"),i=require("./index62.cjs"),a=require("./index111.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("@stylexjs/stylex");s=e.__toESM(s,1);let c=require("react/jsx-runtime"),l=require("react/compiler-runtime");var u={trigger:{kZKoxP:`xettwda`,ksu8eU:`xbsl7fq`,kGuDYH:`xboafo0`,kOIVth:`x1m5ztt4`,$$css:!0}};function d(e){let o=(0,l.c)(49),{column:d,title:p,options:m,selectedValues:h,onValueChange:g,sx:_}=e,v;o[0]===d?v=o[1]:(v=d?.getFilterValue(),o[0]=d,o[1]=v);let y=v,b;bb0:{if(h!==void 0){let e;o[2]===h?e=o[3]:(e=new Set(h),o[2]=h,o[3]=e),b=e;break bb0}if(Array.isArray(y)){let e;o[4]===y?e=o[5]:(e=new Set(y.map(String)),o[4]=y,o[5]=e),b=e;break bb0}let e;o[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=new Set,o[6]=e):e=o[6],b=e}let x=b,S;o[7]!==d||o[8]!==g?(S=e=>{let t=Array.from(e);d&&d.setFilterValue(t.length?t:void 0),g?.(t)},o[7]=d,o[8]=g,o[9]=S):S=o[9];let C=S,w;o[10]!==x||o[11]!==C?(w=e=>{let t=new Set(x);t.has(e)?t.delete(e):t.add(e),C(t)},o[10]=x,o[11]=C,o[12]=w):w=o[12];let T=w,E;o[13]===C?E=o[14]:(E=()=>{C(new Set)},o[13]=C,o[14]=E);let D=E,O;o[15]===_?O=o[16]:(O=s.props(u.trigger,_),o[15]=_,o[16]=O);let k=O,A;o[17]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,c.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,c.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,c.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`16`}),(0,c.jsx)(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`})]}),o[17]=A):A=o[17];let j;o[18]!==m||o[19]!==x?(j=x.size>0&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.Separator,{orientation:`vertical`,style:{height:`1rem`,marginInline:`0.25rem`}}),(0,c.jsx)(n.Badge,{variant:`secondary`,size:`xxs`,children:x.size}),(0,c.jsx)(`div`,{className:`x78zum5 x6s0dn4 xvh977a`,children:x.size>2?(0,c.jsxs)(n.Badge,{variant:`secondary`,size:`xxs`,children:[x.size,` selected`]}):m.filter(e=>x.has(e.value)).map(f)})]}),o[18]=m,o[19]=x,o[20]=j):j=o[20];let M;o[21]!==j||o[22]!==p||o[23]!==k?(M=(0,c.jsx)(r.PopoverTrigger,{asChild:!0,children:(0,c.jsxs)(t.Button,{variant:`outline`,size:`sm`,"data-slot":`data-table-faceted-filter-trigger`,...k,children:[A,p,j]})}),o[21]=j,o[22]=p,o[23]=k,o[24]=M):M=o[24];let N;o[25]===p?N=o[26]:(N=(0,c.jsx)(i.CommandInput,{placeholder:p}),o[25]=p,o[26]=N);let P;o[27]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,c.jsx)(i.CommandEmpty,{children:`No results found.`}),o[27]=P):P=o[27];let F;if(o[28]!==T||o[29]!==m||o[30]!==x){let e;o[32]!==T||o[33]!==x?(e=e=>{let t=x.has(e.value),n=e.icon;return(0,c.jsxs)(i.CommandItem,{onSelect:()=>T(e.value),children:[(0,c.jsx)(`div`,{...{0:{className:`x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s`},1:{className:`x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xvcdwul x2lah0s x1j7ufkg x1khvrlk xstwp1q`}}[!!t|0],children:t&&(0,c.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,c.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),n&&(0,c.jsx)(`span`,{style:{marginRight:`0.5rem`,display:`flex`,alignItems:`center`},children:(0,c.jsx)(n,{})}),(0,c.jsx)(`span`,{className:`x98rzlu xb3r6kr xlyipyv xuxw1ft`,children:e.label}),e.count!==void 0&&(0,c.jsx)(`span`,{className:`x8x9d4c x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1ey7xld x12lo8hy xw3nh4a`,children:e.count})]},e.value)},o[32]=T,o[33]=x,o[34]=e):e=o[34],F=m.map(e),o[28]=T,o[29]=m,o[30]=x,o[31]=F}else F=o[31];let I;o[35]===F?I=o[36]:(I=(0,c.jsx)(i.CommandGroup,{children:F}),o[35]=F,o[36]=I);let L;o[37]!==D||o[38]!==x.size?(L=x.size>0&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.CommandSeparator,{}),(0,c.jsx)(i.CommandGroup,{children:(0,c.jsx)(i.CommandItem,{onSelect:D,className:`xl56j7k x2b8uid xk50ysn`,children:`Clear filters`})})]}),o[37]=D,o[38]=x.size,o[39]=L):L=o[39];let R;o[40]!==I||o[41]!==L?(R=(0,c.jsxs)(i.CommandList,{children:[P,I,L]}),o[40]=I,o[41]=L,o[42]=R):R=o[42];let z;o[43]!==N||o[44]!==R?(z=(0,c.jsx)(r.PopoverContent,{align:`start`,className:`xj1jc7a x1717udv`,children:(0,c.jsxs)(i.Command,{children:[N,R]})}),o[43]=N,o[44]=R,o[45]=z):z=o[45];let B;return o[46]!==z||o[47]!==M?(B=(0,c.jsxs)(r.Popover,{children:[M,z]}),o[46]=z,o[47]=M,o[48]=B):B=o[48],B}function f(e){return(0,c.jsx)(n.Badge,{variant:`secondary`,size:`xxs`,children:e.label},e.value)}exports.DataTableFacetedFilter=d;
|
package/dist/index177.js
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "./index24.js";
|
|
2
|
-
import { Badge as t } from "./index41.js";
|
|
3
|
-
import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "./index42.js";
|
|
4
|
-
import { Command as a, CommandEmpty as o, CommandGroup as s, CommandInput as c, CommandItem as l, CommandList as u, CommandSeparator as d } from "./index62.js";
|
|
5
|
-
import { Separator as f } from "./index111.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import * as p from "@stylexjs/stylex";
|
|
8
|
-
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
9
|
-
import { c as _ } from "react/compiler-runtime";
|
|
10
|
-
// src/DataTable/components/DataTableFacetedFilter.tsx
|
|
11
|
-
var v = { trigger: {
|
|
12
|
-
kZKoxP: "xettwda",
|
|
13
|
-
ksu8eU: "xbsl7fq",
|
|
14
|
-
kGuDYH: "xboafo0",
|
|
15
|
-
kOIVth: "x1m5ztt4",
|
|
16
|
-
$$css: !0
|
|
17
|
-
} };
|
|
18
|
-
function y(y) {
|
|
19
|
-
let x = _(49), { column: S, title: C, options: w, selectedValues: T, onValueChange: E, sx: D } = y, O;
|
|
20
|
-
x[0] === S ? O = x[1] : (O = S?.getFilterValue(), x[0] = S, x[1] = O);
|
|
21
|
-
let k = O, A;
|
|
22
|
-
bb0: {
|
|
23
|
-
if (T !== void 0) {
|
|
24
|
-
let e;
|
|
25
|
-
x[2] === T ? e = x[3] : (e = new Set(T), x[2] = T, x[3] = e), A = e;
|
|
26
|
-
break bb0;
|
|
27
|
-
}
|
|
28
|
-
if (Array.isArray(k)) {
|
|
29
|
-
let e;
|
|
30
|
-
x[4] === k ? e = x[5] : (e = new Set(k.map(String)), x[4] = k, x[5] = e), A = e;
|
|
31
|
-
break bb0;
|
|
32
|
-
}
|
|
33
|
-
let e;
|
|
34
|
-
x[6] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ new Set(), x[6] = e) : e = x[6], A = e;
|
|
35
|
-
}
|
|
36
|
-
let j = A, M;
|
|
37
|
-
x[7] !== S || x[8] !== E ? (M = (e) => {
|
|
38
|
-
let t = Array.from(e);
|
|
39
|
-
S && S.setFilterValue(t.length ? t : void 0), E?.(t);
|
|
40
|
-
}, x[7] = S, x[8] = E, x[9] = M) : M = x[9];
|
|
41
|
-
let N = M, P;
|
|
42
|
-
x[10] !== j || x[11] !== N ? (P = (e) => {
|
|
43
|
-
let t = new Set(j);
|
|
44
|
-
t.has(e) ? t.delete(e) : t.add(e), N(t);
|
|
45
|
-
}, x[10] = j, x[11] = N, x[12] = P) : P = x[12];
|
|
46
|
-
let F = P, I;
|
|
47
|
-
x[13] === N ? I = x[14] : (I = () => {
|
|
48
|
-
N(/* @__PURE__ */ new Set());
|
|
49
|
-
}, x[13] = N, x[14] = I);
|
|
50
|
-
let L = I, R;
|
|
51
|
-
x[15] === D ? R = x[16] : (R = p.props(v.trigger, D), x[15] = D, x[16] = R);
|
|
52
|
-
let z = R, B;
|
|
53
|
-
x[17] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ g("svg", {
|
|
54
|
-
width: "14",
|
|
55
|
-
height: "14",
|
|
56
|
-
viewBox: "0 0 24 24",
|
|
57
|
-
fill: "none",
|
|
58
|
-
stroke: "currentColor",
|
|
59
|
-
strokeWidth: "2",
|
|
60
|
-
strokeLinecap: "round",
|
|
61
|
-
strokeLinejoin: "round",
|
|
62
|
-
"aria-hidden": "true",
|
|
63
|
-
children: [
|
|
64
|
-
/* @__PURE__ */ h("circle", {
|
|
65
|
-
cx: "12",
|
|
66
|
-
cy: "12",
|
|
67
|
-
r: "10"
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ h("line", {
|
|
70
|
-
x1: "12",
|
|
71
|
-
y1: "8",
|
|
72
|
-
x2: "12",
|
|
73
|
-
y2: "16"
|
|
74
|
-
}),
|
|
75
|
-
/* @__PURE__ */ h("line", {
|
|
76
|
-
x1: "8",
|
|
77
|
-
y1: "12",
|
|
78
|
-
x2: "16",
|
|
79
|
-
y2: "12"
|
|
80
|
-
})
|
|
81
|
-
]
|
|
82
|
-
}), x[17] = B) : B = x[17];
|
|
83
|
-
let V;
|
|
84
|
-
x[18] !== w || x[19] !== j ? (V = j.size > 0 && /* @__PURE__ */ g(m, { children: [
|
|
85
|
-
/* @__PURE__ */ h(f, {
|
|
86
|
-
orientation: "vertical",
|
|
87
|
-
style: {
|
|
88
|
-
height: "1rem",
|
|
89
|
-
marginInline: "0.25rem"
|
|
90
|
-
}
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ h(t, {
|
|
93
|
-
variant: "secondary",
|
|
94
|
-
size: "xxs",
|
|
95
|
-
children: j.size
|
|
96
|
-
}),
|
|
97
|
-
/* @__PURE__ */ h("div", {
|
|
98
|
-
className: "x78zum5 x6s0dn4 xvh977a",
|
|
99
|
-
children: j.size > 2 ? /* @__PURE__ */ g(t, {
|
|
100
|
-
variant: "secondary",
|
|
101
|
-
size: "xxs",
|
|
102
|
-
children: [j.size, " selected"]
|
|
103
|
-
}) : w.filter((e) => j.has(e.value)).map(b)
|
|
104
|
-
})
|
|
105
|
-
] }), x[18] = w, x[19] = j, x[20] = V) : V = x[20];
|
|
106
|
-
let H;
|
|
107
|
-
x[21] !== V || x[22] !== C || x[23] !== z ? (H = /* @__PURE__ */ h(i, {
|
|
108
|
-
asChild: !0,
|
|
109
|
-
children: /* @__PURE__ */ g(e, {
|
|
110
|
-
variant: "outline",
|
|
111
|
-
size: "sm",
|
|
112
|
-
"data-slot": "data-table-faceted-filter-trigger",
|
|
113
|
-
...z,
|
|
114
|
-
children: [
|
|
115
|
-
B,
|
|
116
|
-
C,
|
|
117
|
-
V
|
|
118
|
-
]
|
|
119
|
-
})
|
|
120
|
-
}), x[21] = V, x[22] = C, x[23] = z, x[24] = H) : H = x[24];
|
|
121
|
-
let U;
|
|
122
|
-
x[25] === C ? U = x[26] : (U = /* @__PURE__ */ h(c, { placeholder: C }), x[25] = C, x[26] = U);
|
|
123
|
-
let W;
|
|
124
|
-
x[27] === Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ h(o, { children: "No results found." }), x[27] = W) : W = x[27];
|
|
125
|
-
let G;
|
|
126
|
-
if (x[28] !== F || x[29] !== w || x[30] !== j) {
|
|
127
|
-
let e;
|
|
128
|
-
x[32] !== F || x[33] !== j ? (e = (e) => {
|
|
129
|
-
let t = j.has(e.value), n = e.icon;
|
|
130
|
-
return /* @__PURE__ */ g(l, {
|
|
131
|
-
onSelect: () => F(e.value),
|
|
132
|
-
children: [
|
|
133
|
-
/* @__PURE__ */ h("div", {
|
|
134
|
-
...{
|
|
135
|
-
0: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s" },
|
|
136
|
-
1: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xvcdwul x2lah0s x1j7ufkg x1khvrlk xstwp1q" }
|
|
137
|
-
}[!!t | 0],
|
|
138
|
-
children: t && /* @__PURE__ */ h("svg", {
|
|
139
|
-
width: "10",
|
|
140
|
-
height: "10",
|
|
141
|
-
viewBox: "0 0 24 24",
|
|
142
|
-
fill: "none",
|
|
143
|
-
stroke: "currentColor",
|
|
144
|
-
strokeWidth: "3",
|
|
145
|
-
strokeLinecap: "round",
|
|
146
|
-
strokeLinejoin: "round",
|
|
147
|
-
"aria-hidden": "true",
|
|
148
|
-
children: /* @__PURE__ */ h("polyline", { points: "20 6 9 17 4 12" })
|
|
149
|
-
})
|
|
150
|
-
}),
|
|
151
|
-
n && /* @__PURE__ */ h("span", {
|
|
152
|
-
style: {
|
|
153
|
-
marginRight: "0.5rem",
|
|
154
|
-
display: "flex",
|
|
155
|
-
alignItems: "center"
|
|
156
|
-
},
|
|
157
|
-
children: /* @__PURE__ */ h(n, {})
|
|
158
|
-
}),
|
|
159
|
-
/* @__PURE__ */ h("span", {
|
|
160
|
-
className: "x98rzlu xb3r6kr xlyipyv xuxw1ft",
|
|
161
|
-
children: e.label
|
|
162
|
-
}),
|
|
163
|
-
e.count !== void 0 && /* @__PURE__ */ h("span", {
|
|
164
|
-
className: "x8x9d4c x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1ey7xld x12lo8hy xw3nh4a",
|
|
165
|
-
children: e.count
|
|
166
|
-
})
|
|
167
|
-
]
|
|
168
|
-
}, e.value);
|
|
169
|
-
}, x[32] = F, x[33] = j, x[34] = e) : e = x[34], G = w.map(e), x[28] = F, x[29] = w, x[30] = j, x[31] = G;
|
|
170
|
-
} else G = x[31];
|
|
171
|
-
let K;
|
|
172
|
-
x[35] === G ? K = x[36] : (K = /* @__PURE__ */ h(s, { children: G }), x[35] = G, x[36] = K);
|
|
173
|
-
let q;
|
|
174
|
-
x[37] !== L || x[38] !== j.size ? (q = j.size > 0 && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(d, {}), /* @__PURE__ */ h(s, { children: /* @__PURE__ */ h(l, {
|
|
175
|
-
onSelect: L,
|
|
176
|
-
className: "xl56j7k x2b8uid xk50ysn",
|
|
177
|
-
children: "Clear filters"
|
|
178
|
-
}) })] }), x[37] = L, x[38] = j.size, x[39] = q) : q = x[39];
|
|
179
|
-
let J;
|
|
180
|
-
x[40] !== K || x[41] !== q ? (J = /* @__PURE__ */ g(u, { children: [
|
|
181
|
-
W,
|
|
182
|
-
K,
|
|
183
|
-
q
|
|
184
|
-
] }), x[40] = K, x[41] = q, x[42] = J) : J = x[42];
|
|
185
|
-
let Y;
|
|
186
|
-
x[43] !== U || x[44] !== J ? (Y = /* @__PURE__ */ h(r, {
|
|
187
|
-
align: "start",
|
|
188
|
-
className: "xj1jc7a x1717udv",
|
|
189
|
-
children: /* @__PURE__ */ g(a, { children: [U, J] })
|
|
190
|
-
}), x[43] = U, x[44] = J, x[45] = Y) : Y = x[45];
|
|
191
|
-
let X;
|
|
192
|
-
return x[46] !== Y || x[47] !== H ? (X = /* @__PURE__ */ g(n, { children: [H, Y] }), x[46] = Y, x[47] = H, x[48] = X) : X = x[48], X;
|
|
193
|
-
}
|
|
194
|
-
function b(e) {
|
|
195
|
-
return /* @__PURE__ */ h(t, {
|
|
196
|
-
variant: "secondary",
|
|
197
|
-
size: "xxs",
|
|
198
|
-
children: e.label
|
|
199
|
-
}, e.value);
|
|
200
|
-
}
|
|
201
|
-
export { y as DataTableFacetedFilter };
|
package/dist/index178.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index13.cjs"),n=require("./index24.cjs"),r=require("./index25.cjs"),i=require("./index107.cjs");let a=require("react");a=e.__toESM(a,1);let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("lucide-react"),c=require("react/jsx-runtime"),l=require("react/compiler-runtime");var u={root:{kZKoxP:`xettwda`,koQZXg:`xxyw1jk`,$$css:!0}};function d(e){let a=(0,l.c)(47),o,d,f,p,m;if(a[0]===e?(o=a[1],d=a[2],f=a[3],p=a[4],m=a[5]):({column:d,title:m,sx:p,className:o,...f}=e,a[0]=e,a[1]=o,a[2]=d,a[3]=f,a[4]=p,a[5]=m),!d.getCanSort()){let e;a[6]===m?e=a[7]:(e=(0,c.jsx)(t.Text,{size:`sm`,weight:`medium`,children:m}),a[6]=m,a[7]=e);let n;return a[8]!==o||a[9]!==f||a[10]!==p||a[11]!==e?(n=(0,c.jsx)(r.Flex,{align:`center`,"data-slot":`data-table-column-header`,sx:p,className:o,...f,children:e}),a[8]=o,a[9]=f,a[10]=p,a[11]=e,a[12]=n):n=a[12],n}let h;a[13]===d?h=a[14]:(h=d.getIsSorted(),a[13]=d,a[14]=h);let g=h,_;a[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=[u.root],a[15]=_):_=a[15];let v;a[16]===m?v=a[17]:(v=(0,c.jsx)(t.Text,{size:`sm`,weight:`medium`,children:m}),a[16]=m,a[17]=v);let y;a[18]===g?y=a[19]:(y=g===`desc`?(0,c.jsx)(s.ArrowDown,{"data-slot":`sort-icon-desc`,className:`x1xvt488 xf08kfj xko4hcy`}):g===`asc`?(0,c.jsx)(s.ArrowUp,{"data-slot":`sort-icon-asc`,className:`x1xvt488 xf08kfj xko4hcy`}):(0,c.jsx)(s.ArrowUpDown,{"data-slot":`sort-icon-none`,className:`x1xvt488 xf08kfj xko4hcy`}),a[18]=g,a[19]=y);let b;a[20]!==v||a[21]!==y?(b=(0,c.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:(0,c.jsxs)(n.Button,{variant:`ghost`,size:`sm`,"data-slot":`data-table-column-header-trigger`,sx:_,children:[v,y]})}),a[20]=v,a[21]=y,a[22]=b):b=a[22];let x;a[23]===d?x=a[24]:(x=()=>d.toggleSorting(!1),a[23]=d,a[24]=x);let S;a[25]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,c.jsx)(s.ArrowUp,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),a[25]=S):S=a[25];let C;a[26]===x?C=a[27]:(C=(0,c.jsxs)(i.DropdownMenuItem,{"data-slot":`sort-asc`,onClick:x,children:[S,`Asc`]}),a[26]=x,a[27]=C);let w;a[28]===d?w=a[29]:(w=()=>d.toggleSorting(!0),a[28]=d,a[29]=w);let T;a[30]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,c.jsx)(s.ArrowDown,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),a[30]=T):T=a[30];let E;a[31]===w?E=a[32]:(E=(0,c.jsxs)(i.DropdownMenuItem,{"data-slot":`sort-desc`,onClick:w,children:[T,`Desc`]}),a[31]=w,a[32]=E);let D;a[33]===d?D=a[34]:(D=d.getCanHide()&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.DropdownMenuSeparator,{}),(0,c.jsxs)(i.DropdownMenuItem,{"data-slot":`hide-column`,onClick:()=>d.toggleVisibility(!1),children:[(0,c.jsx)(s.EyeOff,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),`Hide`]})]}),a[33]=d,a[34]=D);let O;a[35]!==E||a[36]!==D||a[37]!==C?(O=(0,c.jsxs)(i.DropdownMenuContent,{align:`start`,children:[C,E,D]}),a[35]=E,a[36]=D,a[37]=C,a[38]=O):O=a[38];let k;a[39]!==O||a[40]!==b?(k=(0,c.jsxs)(i.DropdownMenu,{children:[b,O]}),a[39]=O,a[40]=b,a[41]=k):k=a[41];let A;return a[42]!==o||a[43]!==f||a[44]!==p||a[45]!==k?(A=(0,c.jsx)(r.Flex,{align:`center`,"data-slot":`data-table-column-header`,sx:p,className:o,...f,children:k}),a[42]=o,a[43]=f,a[44]=p,a[45]=k,a[46]=A):A=a[46],A}exports.DataTableColumnHeader=d;
|
package/dist/index178.js
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { Text as e } from "./index13.js";
|
|
2
|
-
import { Button as t } from "./index24.js";
|
|
3
|
-
import { Flex as n } from "./index25.js";
|
|
4
|
-
import { DropdownMenu as r, DropdownMenuContent as i, DropdownMenuItem as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "./index107.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "@stylexjs/stylex";
|
|
7
|
-
import { ArrowDown as c, ArrowUp as l, ArrowUpDown as u, EyeOff as d } from "lucide-react";
|
|
8
|
-
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
9
|
-
import { c as h } from "react/compiler-runtime";
|
|
10
|
-
// src/DataTable/components/DataTableColumnHeader.tsx
|
|
11
|
-
var g = { root: {
|
|
12
|
-
kZKoxP: "xettwda",
|
|
13
|
-
koQZXg: "xxyw1jk",
|
|
14
|
-
$$css: !0
|
|
15
|
-
} };
|
|
16
|
-
function _(_) {
|
|
17
|
-
let v = h(47), y, b, x, S, C;
|
|
18
|
-
if (v[0] === _ ? (y = v[1], b = v[2], x = v[3], S = v[4], C = v[5]) : ({column: b, title: C, sx: S, className: y, ...x} = _, v[0] = _, v[1] = y, v[2] = b, v[3] = x, v[4] = S, v[5] = C), !b.getCanSort()) {
|
|
19
|
-
let t;
|
|
20
|
-
v[6] === C ? t = v[7] : (t = /* @__PURE__ */ p(e, {
|
|
21
|
-
size: "sm",
|
|
22
|
-
weight: "medium",
|
|
23
|
-
children: C
|
|
24
|
-
}), v[6] = C, v[7] = t);
|
|
25
|
-
let r;
|
|
26
|
-
return v[8] !== y || v[9] !== x || v[10] !== S || v[11] !== t ? (r = /* @__PURE__ */ p(n, {
|
|
27
|
-
align: "center",
|
|
28
|
-
"data-slot": "data-table-column-header",
|
|
29
|
-
sx: S,
|
|
30
|
-
className: y,
|
|
31
|
-
...x,
|
|
32
|
-
children: t
|
|
33
|
-
}), v[8] = y, v[9] = x, v[10] = S, v[11] = t, v[12] = r) : r = v[12], r;
|
|
34
|
-
}
|
|
35
|
-
let w;
|
|
36
|
-
v[13] === b ? w = v[14] : (w = b.getIsSorted(), v[13] = b, v[14] = w);
|
|
37
|
-
let T = w, E;
|
|
38
|
-
v[15] === Symbol.for("react.memo_cache_sentinel") ? (E = [g.root], v[15] = E) : E = v[15];
|
|
39
|
-
let D;
|
|
40
|
-
v[16] === C ? D = v[17] : (D = /* @__PURE__ */ p(e, {
|
|
41
|
-
size: "sm",
|
|
42
|
-
weight: "medium",
|
|
43
|
-
children: C
|
|
44
|
-
}), v[16] = C, v[17] = D);
|
|
45
|
-
let O;
|
|
46
|
-
v[18] === T ? O = v[19] : (O = T === "desc" ? /* @__PURE__ */ p(c, {
|
|
47
|
-
"data-slot": "sort-icon-desc",
|
|
48
|
-
className: "x1xvt488 xf08kfj xko4hcy"
|
|
49
|
-
}) : T === "asc" ? /* @__PURE__ */ p(l, {
|
|
50
|
-
"data-slot": "sort-icon-asc",
|
|
51
|
-
className: "x1xvt488 xf08kfj xko4hcy"
|
|
52
|
-
}) : /* @__PURE__ */ p(u, {
|
|
53
|
-
"data-slot": "sort-icon-none",
|
|
54
|
-
className: "x1xvt488 xf08kfj xko4hcy"
|
|
55
|
-
}), v[18] = T, v[19] = O);
|
|
56
|
-
let k;
|
|
57
|
-
v[20] !== D || v[21] !== O ? (k = /* @__PURE__ */ p(s, {
|
|
58
|
-
asChild: !0,
|
|
59
|
-
children: /* @__PURE__ */ m(t, {
|
|
60
|
-
variant: "ghost",
|
|
61
|
-
size: "sm",
|
|
62
|
-
"data-slot": "data-table-column-header-trigger",
|
|
63
|
-
sx: E,
|
|
64
|
-
children: [D, O]
|
|
65
|
-
})
|
|
66
|
-
}), v[20] = D, v[21] = O, v[22] = k) : k = v[22];
|
|
67
|
-
let A;
|
|
68
|
-
v[23] === b ? A = v[24] : (A = () => b.toggleSorting(!1), v[23] = b, v[24] = A);
|
|
69
|
-
let j;
|
|
70
|
-
v[25] === Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ p(l, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), v[25] = j) : j = v[25];
|
|
71
|
-
let M;
|
|
72
|
-
v[26] === A ? M = v[27] : (M = /* @__PURE__ */ m(a, {
|
|
73
|
-
"data-slot": "sort-asc",
|
|
74
|
-
onClick: A,
|
|
75
|
-
children: [j, "Asc"]
|
|
76
|
-
}), v[26] = A, v[27] = M);
|
|
77
|
-
let N;
|
|
78
|
-
v[28] === b ? N = v[29] : (N = () => b.toggleSorting(!0), v[28] = b, v[29] = N);
|
|
79
|
-
let P;
|
|
80
|
-
v[30] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ p(c, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), v[30] = P) : P = v[30];
|
|
81
|
-
let F;
|
|
82
|
-
v[31] === N ? F = v[32] : (F = /* @__PURE__ */ m(a, {
|
|
83
|
-
"data-slot": "sort-desc",
|
|
84
|
-
onClick: N,
|
|
85
|
-
children: [P, "Desc"]
|
|
86
|
-
}), v[31] = N, v[32] = F);
|
|
87
|
-
let I;
|
|
88
|
-
v[33] === b ? I = v[34] : (I = b.getCanHide() && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(o, {}), /* @__PURE__ */ m(a, {
|
|
89
|
-
"data-slot": "hide-column",
|
|
90
|
-
onClick: () => b.toggleVisibility(!1),
|
|
91
|
-
children: [/* @__PURE__ */ p(d, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), "Hide"]
|
|
92
|
-
})] }), v[33] = b, v[34] = I);
|
|
93
|
-
let L;
|
|
94
|
-
v[35] !== F || v[36] !== I || v[37] !== M ? (L = /* @__PURE__ */ m(i, {
|
|
95
|
-
align: "start",
|
|
96
|
-
children: [
|
|
97
|
-
M,
|
|
98
|
-
F,
|
|
99
|
-
I
|
|
100
|
-
]
|
|
101
|
-
}), v[35] = F, v[36] = I, v[37] = M, v[38] = L) : L = v[38];
|
|
102
|
-
let R;
|
|
103
|
-
v[39] !== L || v[40] !== k ? (R = /* @__PURE__ */ m(r, { children: [k, L] }), v[39] = L, v[40] = k, v[41] = R) : R = v[41];
|
|
104
|
-
let z;
|
|
105
|
-
return v[42] !== y || v[43] !== x || v[44] !== S || v[45] !== R ? (z = /* @__PURE__ */ p(n, {
|
|
106
|
-
align: "center",
|
|
107
|
-
"data-slot": "data-table-column-header",
|
|
108
|
-
sx: S,
|
|
109
|
-
className: y,
|
|
110
|
-
...x,
|
|
111
|
-
children: R
|
|
112
|
-
}), v[42] = y, v[43] = x, v[44] = S, v[45] = R, v[46] = z) : z = v[46], z;
|
|
113
|
-
}
|
|
114
|
-
export { _ as DataTableColumnHeader };
|
package/dist/index179.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index13.cjs"),r=require("./index24.cjs"),i=require("./index53.cjs"),a=require("./index112.cjs"),o=require("./index115.cjs"),s=require("./index123.cjs"),c=require("./index144.cjs"),l=require("./index156.cjs"),u=require("./index161.cjs");let d=require("react"),f=require("@stylexjs/stylex");f=e.__toESM(f,1);let p=require("react/jsx-runtime"),m=require("react/compiler-runtime");var h=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,g=/^(0|\+84)(3|5|7|8|9)[0-9]{8}$/,_=(e,t)=>{let n=e.toLowerCase();if(t===`password`)return n.includes(`confirm`)||n.includes(`new`)?`new-password`:`current-password`;if(t===`email`||n.includes(`email`))return`email`;if(t===`tel`||n.includes(`phone`))return`tel`;if(n.includes(`name`))return`name`;if(n.includes(`username`))return`username`},v={fieldHorizontalTop:{kGNEyG:`x1cy8zhl`,$$css:!0},controlTopOffset:{keoZOQ:`x72edsj`,$$css:!0}};function y(e){let t=(0,m.c)(21),{children:r,label:i,control:s,name:c,htmlType:l,description:u,controlFirst:d,horizontal:f,rules:_,className:y,width:b}=e,x;if(t[0]!==l||t[1]!==_){if(x={..._},l===`email`&&!_?.pattern){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={value:h,message:`Invalid email address`},t[3]=e):e=t[3],x.pattern=e}if(l===`tel`&&!_?.pattern){let e;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(e={value:g,message:`Invalid phone number`},t[4]=e):e=t[4],x.pattern=e}if(_?.required!==void 0&&_.required!==!1){if(typeof _.required==`string`)x.required=_.required;else if(typeof _.required==`object`){if(!_.required.message){let e;t[5]===_.required?e=t[6]:(e={..._.required,message:`This field is required`},t[5]=_.required,t[6]=e),x.required=e}}else x.required=`This field is required`}t[0]=l,t[1]=_,t[2]=x}else x=t[2];let S=x,C;t[7]!==r||t[8]!==y||t[9]!==d||t[10]!==u||t[11]!==f||t[12]!==i||t[13]!==_?.required||t[14]!==b?(C=e=>{let{field:t,fieldState:o}=e,s=(0,p.jsxs)(p.Fragment,{children:[i&&(0,p.jsx)(a.FieldLabel,{htmlFor:t.name,children:(0,p.jsx)(n.Text,{as:`span`,weight:`medium`,size:`sm`,required:!!_?.required,children:i})}),u&&(0,p.jsx)(a.FieldDescription,{children:u})]}),c=r({...t,id:t.name,"aria-invalid":o.invalid}),l=o.invalid&&(0,p.jsx)(a.FieldError,{errors:[o.error]});return(0,p.jsx)(a.Field,{className:y,width:b,"data-invalid":o.invalid,orientation:f?`horizontal`:void 0,sx:f&&u?v.fieldHorizontalTop:void 0,children:d?(0,p.jsxs)(p.Fragment,{children:[c,(0,p.jsxs)(a.FieldContent,{children:[s,l]})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.FieldContent,{children:s}),c,l]})})},t[7]=r,t[8]=y,t[9]=d,t[10]=u,t[11]=f,t[12]=i,t[13]=_?.required,t[14]=b,t[15]=C):C=t[15];let w;return t[16]!==s||t[17]!==c||t[18]!==S||t[19]!==C?(w=(0,p.jsx)(o.Controller,{control:s,name:c,rules:S,render:C}),t[16]=s,t[17]=c,t[18]=S,t[19]=C,t[20]=w):w=t[20],w}var b=e=>{let n=(0,m.c)(55),i,a,o,c,l,u,f,h,g,v,b,x,S,C,w,T,E,D,O;n[0]===e?(i=n[1],a=n[2],o=n[3],c=n[4],l=n[5],u=n[6],f=n[7],h=n[8],g=n[9],v=n[10],b=n[11],x=n[12],S=n[13],C=n[14],w=n[15],T=n[16],E=n[17],D=n[18],O=n[19]):({inputClassName:f,wrapperClassName:O,className:o,leftIcon:h,rightIcon:S,prefix:g,prefixIcon:b,prefixButton:v,suffix:C,suffixIcon:T,suffixButton:w,buttonSize:a,iconSize:u,autoComplete:i,htmlType:l,htmlSize:c,sx:E,width:D,...x}=e,n[0]=e,n[1]=i,n[2]=a,n[3]=o,n[4]=c,n[5]=l,n[6]=u,n[7]=f,n[8]=h,n[9]=g,n[10]=v,n[11]=b,n[12]=x,n[13]=S,n[14]=C,n[15]=w,n[16]=T,n[17]=E,n[18]=D,n[19]=O);let[k,A]=(0,d.useState)(!1),j=l??x.type,M=j===`password`,N;n[20]!==i||n[21]!==j||n[22]!==x.name?(N=i??_(String(x.name),j),n[20]=i,n[21]=j,n[22]=x.name,n[23]=N):N=n[23];let P=N,F=g??b??h,I=C??T??S,L;n[24]!==a||n[25]!==M||n[26]!==k?(L=M?(0,p.jsx)(r.Button,{type:`button`,htmlType:`button`,variant:`ghost`,size:a?`icon-${a}`:`icon-sm`,onClick:()=>A(!k),tabIndex:-1,children:k?(0,p.jsx)(t.Icons.EyeOff,{className:`xcdlrvm x1l36t39`}):(0,p.jsx)(t.Icons.Eye,{className:`xcdlrvm x1l36t39`})}):void 0,n[24]=a,n[25]=M,n[26]=k,n[27]=L):L=n[27];let R=w??L,z;n[28]!==a||n[29]!==o||n[30]!==c||n[31]!==u||n[32]!==f||n[33]!==j||n[34]!==M||n[35]!==v||n[36]!==x||n[37]!==P||n[38]!==F||n[39]!==I||n[40]!==R||n[41]!==k||n[42]!==E||n[43]!==D?(z=e=>(0,p.jsx)(s.Input,{...e,...x,width:D,type:M&&k?`text`:j,htmlType:M&&k?`text`:j,htmlSize:c,autoComplete:P,buttonSize:a,iconSize:u,prefix:F,prefixButton:v,suffix:I,suffixButton:R,className:f??o,sx:E}),n[28]=a,n[29]=o,n[30]=c,n[31]=u,n[32]=f,n[33]=j,n[34]=M,n[35]=v,n[36]=x,n[37]=P,n[38]=F,n[39]=I,n[40]=R,n[41]=k,n[42]=E,n[43]=D,n[44]=z):z=n[44];let B;return n[45]!==j||n[46]!==x.control||n[47]!==x.description||n[48]!==x.label||n[49]!==x.name||n[50]!==x.rules||n[51]!==z||n[52]!==D||n[53]!==O?(B=(0,p.jsx)(y,{name:x.name,control:x.control,label:x.label,description:x.description,rules:x.rules,htmlType:j,className:O,width:D,children:z}),n[45]=j,n[46]=x.control,n[47]=x.description,n[48]=x.label,n[49]=x.name,n[50]=x.rules,n[51]=z,n[52]=D,n[53]=O,n[54]=B):B=n[54],B},x=e=>{let t=(0,m.c)(22),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({textareaClassName:a,wrapperClassName:s,className:n,sx:i,width:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c;t[7]!==n||t[8]!==r||t[9]!==i||t[10]!==a||t[11]!==o?(c=e=>(0,p.jsx)(u.Textarea,{...e,...r,width:o,className:a??n,sx:i}),t[7]=n,t[8]=r,t[9]=i,t[10]=a,t[11]=o,t[12]=c):c=t[12];let l;return t[13]!==r.control||t[14]!==r.description||t[15]!==r.label||t[16]!==r.name||t[17]!==r.rules||t[18]!==c||t[19]!==o||t[20]!==s?(l=(0,p.jsx)(y,{name:r.name,control:r.control,label:r.label,description:r.description,rules:r.rules,className:s,width:o,children:c}),t[13]=r.control,t[14]=r.description,t[15]=r.label,t[16]=r.name,t[17]=r.rules,t[18]=c,t[19]=o,t[20]=s,t[21]=l):l=t[21],l},S=({children:e,width:t=`full`,...n})=>(0,p.jsx)(y,{...n,width:t,children:({onChange:n,onBlur:r,...i})=>(0,p.jsxs)(c.Select,{...i,onValueChange:n,children:[(0,p.jsx)(c.SelectTrigger,{"aria-invalid":i[`aria-invalid`],id:i.id,onBlur:r,width:t,children:(0,p.jsx)(c.SelectValue,{})}),(0,p.jsx)(c.SelectContent,{children:e})]})}),C=({checkboxClassName:e,wrapperClassName:t,className:n,sx:r,disabled:a,size:o=`md`,...s})=>(0,p.jsx)(y,{name:s.name,control:s.control,label:s.label,description:s.description,rules:s.rules,horizontal:!0,controlFirst:!0,className:t,children:({onChange:t,value:c,...l})=>(0,p.jsx)(i.Checkbox,{...l,...s,checked:c,onCheckedChange:t,disabled:a,size:o,className:e??n,sx:s.description?[v.controlTopOffset,r]:r})}),w=({switchClassName:e,wrapperClassName:t,className:n,sx:r,disabled:i,size:a=`md`,...o})=>(0,p.jsx)(y,{name:o.name,control:o.control,label:o.label,description:o.description,rules:o.rules,horizontal:!0,controlFirst:!0,className:t,children:({onChange:t,value:s,...c})=>(0,p.jsx)(l.Switch,{...c,...o,checked:s,onCheckedChange:t,disabled:i,size:a,className:e??n,sx:r})});exports.FormBase=y,exports.FormCheckbox=C,exports.FormInput=b,exports.FormSimpleSelect=S,exports.FormSwitch=w,exports.FormTextarea=x;
|