@vlrc-fe/components 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +10 -1
- package/bin/registry.mjs +1124 -0
- package/bin/vlrc.mjs +102 -7
- package/dist/ConfirmModal.cjs +276 -1
- package/dist/ConfirmModal.js +119 -103
- package/dist/DataTable/DataTable.cjs +203 -1
- package/dist/DataTable/DataTable.js +161 -120
- package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
- package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
- package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
- package/dist/DataTable/components/DataTablePagination.cjs +200 -1
- package/dist/DataTable/components/DataTablePagination.js +188 -91
- package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
- package/dist/DataTable/components/DataTableRowActions.js +161 -62
- package/dist/DataTable/components/DataTableTable.cjs +100 -1
- package/dist/DataTable/components/DataTableTable.js +87 -35
- package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
- package/dist/DataTable/components/DataTableToolbar.js +106 -44
- package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
- package/dist/DataTable/components/DataTableViewOptions.js +105 -44
- package/dist/DataTable/render/createColumns.cjs +84 -1
- package/dist/DataTable/render/createColumns.js +65 -44
- package/dist/DataTable/render/defaults.cjs +38 -1
- package/dist/DataTable/render/defaults.js +18 -13
- package/dist/Dropdown/Dropdown.cjs +255 -1
- package/dist/Dropdown/Dropdown.js +138 -108
- package/dist/Form/Form.cjs +439 -1
- package/dist/Form/Form.js +417 -206
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
- package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
- package/dist/Form/FormDatePicker/TimeInput.js +162 -79
- package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
- package/dist/Form/FormDatePicker/TimePicker.js +58 -43
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
- package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
- package/dist/Form/FormDatePicker/types.cjs +10 -1
- package/dist/Form/FormDatePicker/types.js +8 -3
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
- package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
- package/dist/Form/FormFileUpload/FileUpload.js +452 -306
- package/dist/Form/FormFileUpload/index.cjs +175 -1
- package/dist/Form/FormFileUpload/index.js +164 -50
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
- package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
- package/dist/Form/FormNumberInput/StepperControls.js +78 -43
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
- package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
- package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
- package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
- package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
- package/dist/Form/FormSelect/FormSelect.cjs +46 -1
- package/dist/Form/FormSelect/FormSelect.js +40 -26
- package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
- package/dist/Form/FormSelect/useFormSelect.js +52 -43
- package/dist/Icons/Icons.cjs +155 -1
- package/dist/Icons/Icons.js +142 -142
- package/dist/Modal.cjs +135 -1
- package/dist/Modal.js +67 -54
- package/dist/MultiSelect/MultiSelect.cjs +211 -1
- package/dist/MultiSelect/MultiSelect.js +127 -117
- package/dist/MultiSelect/renderers.cjs +571 -1
- package/dist/MultiSelect/renderers.js +508 -309
- package/dist/MultiSelect/useMultiSelect.cjs +243 -1
- package/dist/MultiSelect/useMultiSelect.js +207 -127
- package/dist/MultiSelect/utils.cjs +123 -1
- package/dist/MultiSelect/utils.js +79 -51
- package/dist/Select/BaseSelect.cjs +265 -1
- package/dist/Select/BaseSelect.js +165 -126
- package/dist/Select/MultiSelectTags.cjs +129 -1
- package/dist/Select/MultiSelectTags.js +82 -56
- package/dist/Typography/Blockquote.cjs +79 -1
- package/dist/Typography/Blockquote.js +40 -38
- package/dist/Typography/Code.cjs +131 -1
- package/dist/Typography/Code.js +64 -58
- package/dist/Typography/Link.cjs +141 -1
- package/dist/Typography/Link.d.ts +1 -2
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +74 -63
- package/dist/Typography/Paragraph.cjs +226 -1
- package/dist/Typography/Paragraph.d.ts +1 -2
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +119 -107
- package/dist/Typography/Text.cjs +224 -1
- package/dist/Typography/Text.d.ts +1 -2
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +117 -100
- package/dist/Typography/Title.cjs +220 -1
- package/dist/Typography/Title.d.ts +1 -2
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +125 -103
- package/dist/Typography/Typography.cjs +17 -1
- package/dist/Typography/Typography.js +14 -14
- package/dist/Typography/index.d.ts +1 -1
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +13 -13
- package/dist/Typography/tooltip.cjs +42 -1
- package/dist/Typography/tooltip.js +34 -14
- package/dist/Typography/types.cjs +20 -1
- package/dist/Typography/types.js +5 -2
- package/dist/Typography/utils.cjs +52 -1
- package/dist/Typography/utils.js +48 -21
- package/dist/Typography/weightStyles.cjs +58 -1
- package/dist/Typography/weightStyles.js +26 -25
- package/dist/_virtual/_rolldown/runtime.cjs +32 -1
- package/dist/_virtual/_rolldown/runtime.js +9 -7
- package/dist/assets/stylex.css +135 -1
- package/dist/astryx.cjs +18 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +2 -1
- package/dist/index.cjs +789 -1
- package/dist/index.js +122 -118
- package/dist/layout/Box.cjs +203 -1
- package/dist/layout/Box.d.ts +8 -8
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +138 -49
- package/dist/layout/Center.cjs +51 -1
- package/dist/layout/Center.d.ts +3 -3
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +49 -20
- package/dist/layout/Container.cjs +81 -1
- package/dist/layout/Container.d.ts +8 -8
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +34 -30
- package/dist/layout/Stack.cjs +237 -1
- package/dist/layout/Stack.d.ts +9 -9
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +220 -75
- package/dist/layout/index.js +9 -9
- package/dist/lazyLoad.cjs +13 -1
- package/dist/lazyLoad.js +9 -9
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +330 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +272 -164
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +145 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +111 -73
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +19 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +126 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +103 -72
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +134 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +113 -79
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +541 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +459 -331
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +304 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +234 -160
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +108 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +82 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +12 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +275 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +228 -127
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +53 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +215 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +171 -117
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +219 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +178 -118
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +22 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +17 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +802 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +648 -422
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +410 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +313 -212
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +741 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +602 -417
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +246 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +195 -121
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +27 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +148 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +115 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +27 -21
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +223 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -131
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +576 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +437 -308
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +202 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +160 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +159 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +125 -93
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +158 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +128 -98
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +29 -24
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +109 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +91 -68
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +28 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +22 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +33 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +25 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +7 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +25 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +18 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +47 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +38 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +19 -15
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +34 -1
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +32 -21
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +39 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +27 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +369 -2
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +282 -238
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +1033 -9
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +898 -460
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +47 -38
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +38 -64
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +13 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +9 -2
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +36 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -16
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +15 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -10
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +167 -4
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +144 -93
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +63 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +45 -35
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +14 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +11 -9
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +84 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +75 -43
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +3 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +6 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1617 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +1332 -874
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +18 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +15 -7
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +26 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +20 -10
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +40 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +29 -16
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +20 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +18 -3
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +46 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +38 -19
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +39 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +29 -11
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +18 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +13 -12
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +81 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +58 -45
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +1252 -3
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +1003 -648
- package/dist/theme/index.cjs +63 -1
- package/dist/theme/index.js +31 -31
- package/dist/theme/spacing.cjs +93 -1
- package/dist/theme/spacing.js +52 -26
- package/dist/theme/tokens.stylex.cjs +210 -1
- package/dist/theme/tokens.stylex.js +58 -26
- package/dist/theme/types.cjs +13 -1
- package/dist/theme/types.js +4 -3
- package/dist/theme/width.cjs +39 -1
- package/dist/theme/width.js +16 -4
- package/dist/theme/zIndex.cjs +64 -1
- package/dist/theme/zIndex.js +44 -15
- package/dist/theme.css +135 -1
- package/dist/ui/accordion.cjs +431 -1
- package/dist/ui/accordion.d.ts +10 -10
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +276 -136
- package/dist/ui/action-bar.cjs +274 -1
- package/dist/ui/action-bar.d.ts +11 -11
- package/dist/ui/action-bar.d.ts.map +1 -1
- package/dist/ui/action-bar.js +204 -98
- package/dist/ui/alert-dialog.cjs +538 -1
- package/dist/ui/alert-dialog.d.ts +19 -19
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +459 -167
- package/dist/ui/alert.cjs +163 -1
- package/dist/ui/alert.d.ts +7 -7
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +111 -50
- package/dist/ui/aspect-ratio.cjs +25 -1
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +22 -12
- package/dist/ui/avatar.cjs +341 -1
- package/dist/ui/avatar.d.ts +10 -10
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +226 -114
- package/dist/ui/badge-overflow.cjs +66 -1
- package/dist/ui/badge-overflow.d.ts +5 -5
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +34 -27
- package/dist/ui/badge.cjs +167 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +48 -42
- package/dist/ui/breadcrumb.cjs +508 -1
- package/dist/ui/breadcrumb.d.ts +15 -15
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +386 -159
- package/dist/ui/button.cjs +425 -1
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +137 -117
- package/dist/ui/calendar.cjs +626 -1
- package/dist/ui/calendar.d.ts +5 -5
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +309 -192
- package/dist/ui/card.cjs +401 -1
- package/dist/ui/card.d.ts +15 -15
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +300 -119
- package/dist/ui/carousel.cjs +333 -1
- package/dist/ui/carousel.d.ts +10 -10
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +245 -126
- package/dist/ui/checkbox.cjs +167 -1
- package/dist/ui/checkbox.d.ts +4 -4
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +66 -58
- package/dist/ui/circular-progress.cjs +139 -1
- package/dist/ui/circular-progress.d.ts +4 -4
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +65 -52
- package/dist/ui/code-block.cjs +819 -0
- package/dist/ui/code-block.d.ts +81 -0
- package/dist/ui/code-block.d.ts.map +1 -0
- package/dist/ui/code-block.js +809 -0
- package/dist/ui/collapsible.cjs +65 -1
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +58 -28
- package/dist/ui/command.cjs +556 -1
- package/dist/ui/command.d.ts +19 -19
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +432 -163
- package/dist/ui/compare-slider.cjs +170 -1
- package/dist/ui/compare-slider.d.ts +7 -7
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +106 -72
- package/dist/ui/context-menu.cjs +811 -1
- package/dist/ui/context-menu.d.ts +26 -26
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +693 -228
- package/dist/ui/copy-button.cjs +94 -1
- package/dist/ui/copy-button.d.ts +1 -2
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +56 -44
- package/dist/ui/dialog.cjs +409 -1
- package/dist/ui/dialog.d.ts +18 -18
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +317 -131
- package/dist/ui/drawer.cjs +476 -1
- package/dist/ui/drawer.d.ts +17 -17
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +394 -151
- package/dist/ui/dropdown-menu.cjs +638 -1
- package/dist/ui/dropdown-menu.d.ts +26 -26
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +511 -208
- package/dist/ui/editable.cjs +608 -1
- package/dist/ui/editable.d.ts +14 -14
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +478 -218
- package/dist/ui/empty.cjs +310 -1
- package/dist/ui/empty.d.ts +15 -15
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +277 -107
- package/dist/ui/field.cjs +621 -1
- package/dist/ui/field.d.ts +21 -21
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +468 -198
- package/dist/ui/file-upload-adapters.cjs +289 -1
- package/dist/ui/file-upload-adapters.d.ts +1 -2
- package/dist/ui/file-upload-adapters.d.ts.map +1 -1
- package/dist/ui/file-upload-adapters.js +244 -170
- package/dist/ui/file-upload.cjs +1481 -1
- package/dist/ui/file-upload.d.ts +22 -22
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +1064 -598
- package/dist/ui/flex.cjs +203 -1
- package/dist/ui/flex.d.ts +6 -6
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +111 -92
- package/dist/ui/form.cjs +454 -1
- package/dist/ui/form.d.ts +11 -11
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +421 -135
- package/dist/ui/gauge.cjs +127 -1
- package/dist/ui/gauge.d.ts +6 -6
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +61 -52
- package/dist/ui/grid.cjs +224 -1
- package/dist/ui/grid.d.ts +7 -7
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +125 -94
- package/dist/ui/hover-card.cjs +86 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +57 -36
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-group.cjs +328 -1
- package/dist/ui/input-group.d.ts +12 -12
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +207 -105
- package/dist/ui/input-otp.cjs +312 -1
- package/dist/ui/input-otp.d.ts +10 -10
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +217 -94
- package/dist/ui/input.cjs +388 -1
- package/dist/ui/input.d.ts +3 -3
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +137 -119
- package/dist/ui/item.cjs +585 -1
- package/dist/ui/item.d.ts +20 -20
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +460 -162
- package/dist/ui/kbd.cjs +115 -1
- package/dist/ui/kbd.d.ts +5 -5
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +42 -37
- package/dist/ui/label.cjs +67 -1
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js +51 -21
- package/dist/ui/marker.cjs +294 -0
- package/dist/ui/marker.d.ts +22 -0
- package/dist/ui/marker.d.ts.map +1 -0
- package/dist/ui/marker.js +290 -0
- package/dist/ui/masonry.cjs +58 -1
- package/dist/ui/masonry.d.ts +4 -4
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +41 -36
- package/dist/ui/menubar.cjs +908 -1
- package/dist/ui/menubar.d.ts +29 -29
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +737 -251
- package/dist/ui/navigation-menu.cjs +560 -1
- package/dist/ui/navigation-menu.d.ts +18 -18
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +442 -148
- package/dist/ui/pagination.cjs +575 -1
- package/dist/ui/pagination.d.ts +13 -13
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +422 -172
- package/dist/ui/popover.cjs +93 -1
- package/dist/ui/popover.d.ts +7 -7
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +61 -42
- package/dist/ui/progress.cjs +33 -1
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +19 -17
- package/dist/ui/questionnaire.cjs +679 -0
- package/dist/ui/questionnaire.d.ts +101 -0
- package/dist/ui/questionnaire.d.ts.map +1 -0
- package/dist/ui/questionnaire.js +667 -0
- package/dist/ui/radio-group.cjs +221 -1
- package/dist/ui/radio-group.d.ts +6 -6
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js +125 -74
- package/dist/ui/rating.cjs +191 -1
- package/dist/ui/rating.d.ts +3 -3
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +96 -78
- package/dist/ui/resizable.cjs +175 -1
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +150 -54
- package/dist/ui/responsive-dialog.cjs +400 -1
- package/dist/ui/responsive-dialog.d.ts +17 -17
- package/dist/ui/responsive-dialog.d.ts.map +1 -1
- package/dist/ui/responsive-dialog.js +372 -155
- package/dist/ui/row-col.cjs +510 -1
- package/dist/ui/row-col.d.ts +11 -11
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +238 -205
- package/dist/ui/scroll-area.cjs +142 -1
- package/dist/ui/scroll-area.d.ts +6 -6
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +103 -47
- package/dist/ui/segmented.cjs +170 -1
- package/dist/ui/segmented.d.ts +5 -5
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +75 -62
- package/dist/ui/select.cjs +484 -1
- package/dist/ui/select.d.ts +17 -17
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +353 -160
- package/dist/ui/separator.cjs +44 -1
- package/dist/ui/separator.d.ts +4 -4
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +17 -17
- package/dist/ui/sheet.cjs +460 -1
- package/dist/ui/sheet.d.ts +16 -16
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +329 -141
- package/dist/ui/sidebar.cjs +1453 -1
- package/dist/ui/sidebar.d.ts +48 -48
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +1057 -438
- package/dist/ui/signature-pad.cjs +740 -0
- package/dist/ui/signature-pad.d.ts +107 -0
- package/dist/ui/signature-pad.d.ts.map +1 -0
- package/dist/ui/signature-pad.js +730 -0
- package/dist/ui/skeleton.cjs +62 -1
- package/dist/ui/skeleton.d.ts +3 -3
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.js +50 -20
- package/dist/ui/slider.cjs +47 -1
- package/dist/ui/slider.d.ts +4 -4
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +27 -26
- package/dist/ui/sonner.cjs +28 -1
- package/dist/ui/sonner.js +24 -22
- package/dist/ui/spinner.cjs +73 -1
- package/dist/ui/spinner.d.ts +3 -3
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +29 -28
- package/dist/ui/stat.cjs +334 -1
- package/dist/ui/stat.d.ts +15 -15
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +271 -130
- package/dist/ui/stepper.cjs +785 -1
- package/dist/ui/stepper.d.ts +24 -24
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +594 -281
- package/dist/ui/switch.cjs +203 -1
- package/dist/ui/switch.d.ts +4 -4
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +83 -72
- package/dist/ui/table.cjs +435 -1
- package/dist/ui/table.d.ts +17 -17
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +369 -129
- package/dist/ui/tabs.cjs +340 -1
- package/dist/ui/tabs.d.ts +10 -10
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +204 -95
- package/dist/ui/tags-input.cjs +585 -1
- package/dist/ui/tags-input.d.ts +13 -13
- package/dist/ui/tags-input.d.ts.map +1 -1
- package/dist/ui/tags-input.js +446 -221
- package/dist/ui/textarea.cjs +119 -1
- package/dist/ui/textarea.d.ts +3 -3
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +37 -33
- package/dist/ui/timeline.cjs +583 -1
- package/dist/ui/timeline.d.ts +22 -22
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +409 -198
- package/dist/ui/toggle-group.cjs +128 -1
- package/dist/ui/toggle-group.d.ts +7 -7
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +92 -41
- package/dist/ui/toggle.cjs +145 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +38 -34
- package/dist/ui/tooltip.cjs +81 -1
- package/dist/ui/tooltip.d.ts +7 -7
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +50 -37
- package/dist/ui/useBreakpoint.cjs +91 -1
- package/dist/ui/useBreakpoint.js +66 -43
- package/dist/utils.cjs +9 -1
- package/dist/utils.js +4 -4
- package/package.json +10 -2
package/dist/ui/sidebar.cjs
CHANGED
|
@@ -1 +1,1453 @@
|
|
|
1
|
-
"use client";const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("./tooltip.cjs"),n=require("./button.cjs"),r=require("../utils.cjs"),i=require("./separator.cjs"),a=require("./input.cjs"),o=require("./sheet.cjs"),s=require("./skeleton.cjs");let c=require("@stylexjs/stylex");c=e.__toESM(c,1);let l=require("lucide-react"),u=require("react/jsx-runtime"),d=require("react"),f=e.__toESM(d,1);d=e.__toESM(d);let p=require("react/compiler-runtime"),m=require("@radix-ui/react-slot");function h(){return f.useSyncExternalStore(v,_,g)}function g(){return!1}function _(){return window.matchMedia(`(max-width: 767px)`).matches}function v(e){let t=window.matchMedia(`(max-width: 767px)`);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)}var y=`sidebar_state`,b=604800,x=`16rem`,S=`18rem`,C=`3rem`,w=`b`,T={provider:{k1xSpc:`x78zum5`,kAzted:`xg6iff7`,kzqmXN:`xh8yej3`,$$css:!0},sidebarNone:{kWkggS:`xcywfst`,kMwMTN:`x152gyff`,k1xSpc:`x78zum5`,kZKoxP:`x5yr21d`,kzqmXN:`x1ce5aun`,kXwgrk:`xdt5ytf`,$$css:!0},desktopContainer:{kVAEAm:`xixxii4`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kY2c9j:`x1n327nk`,k1xSpc:`x78zum5`,kZKoxP:`x1dr59a3`,kzqmXN:`x1ce5aun`,k1ekBW:`x24pemh`,kIyJzY:`x13dflua`,kAMwcw:`xcj1dhv`,$$css:!0},trigger:{kzqmXN:`xh29eag`,kZKoxP:`xb8l8e1`,$$css:!0},rail:{kVAEAm:`x10l6tqk`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kY2c9j:`x1355qak`,kzqmXN:`xcdlrvm`,k3aq6I:`xuuh30`,k1ekBW:`xfagghw`,kIyJzY:`x13dflua`,kAMwcw:`xcj1dhv`,$$css:!0},inset:{kWkggS:`x1mlyrtw`,kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,kUk6DE:`x98rzlu`,kXwgrk:`xdt5ytf`,$$css:!0},input:{kWkggS:`x1mlyrtw`,kZKoxP:`xettwda`,kzqmXN:`xh8yej3`,kGVxlE:`x4qz2uc`,$$css:!0},header:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x13z6uf9`,kmVPX3:`x7gbtqy`,$$css:!0},footer:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x13z6uf9`,kmVPX3:`x7gbtqy`,$$css:!0},separator:{kWkggS:`xf0tell`,kUOVxO:`x1wboj75`,kzqmXN:`x14atkfc`,$$css:!0},content:{k1xSpc:`x78zum5`,kAzted:`x2lwn1j`,kUk6DE:`x98rzlu`,kXwgrk:`xdt5ytf`,kOIVth:`x13z6uf9`,kVQacm:`xysyzu8`,$$css:!0},group:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,k7Eaqz:`xeuugli`,kXwgrk:`xdt5ytf`,kmVPX3:`x7gbtqy`,$$css:!0},groupLabel:{kMwMTN:`x152gyff`,kSiTet:`x1ks1olk`,k1xSpc:`x78zum5`,kZKoxP:`xettwda`,kmuXW:`x2lah0s`,kGNEyG:`x6s0dn4`,kaIpWk:`xrijj7p`,kg3NbH:`x97vtpp`,kGuDYH:`xboafo0`,k63SB2:`xk50ysn`,kI3sdo:`x1a2a7pz`,k1ekBW:`x1ju8a0s`,kIyJzY:`x13dflua`,kAMwcw:`xcj1dhv`,$$css:!0},groupAction:{kMwMTN:`x152gyff`,kVAEAm:`x10l6tqk`,k87sOh:`xaksmix`,kCIrl2:`x1suesbl`,k1xSpc:`x78zum5`,kOBAk4:`x1y5e3q9`,kzqmXN:`xwqq7k2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xrijj7p`,kmVPX3:`x1717udv`,kI3sdo:`x1a2a7pz`,k1ekBW:`x11xpdln`,kGzVvX:`x181o6qj`,kDPRdz:`xb44yzd`,$$css:!0},groupContent:{kzqmXN:`xh8yej3`,kGuDYH:`xkpwil5`,$$css:!0},menu:{k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,k7Eaqz:`xeuugli`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,$$css:!0},menuItem:{kVAEAm:`x1n2onr6`,$$css:!0},menuButtonBase:{k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kVQacm:`xb3r6kr`,kaIpWk:`xrijj7p`,kmVPX3:`x7gbtqy`,k9WMMc:`xdpxx8g`,kGuDYH:`xkpwil5`,kI3sdo:`x1a2a7pz`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,kMwMTN:`x152gyff`,kkrTdU:`x1ypdohk`,k1ekBW:`xs2xxs2`,kIyJzY:`x1g2r6go`,kGzVvX:`x181o6qj`,kDPRdz:`xb44yzd`,kSReZ0:`x17noblp`,kc7ZrP:`x4bdkwq`,k7HAVu:`xaqnwrm`,kWCcOm:`xijokvz`,$$css:!0},menuButtonOutline:{kWkggS:`x1mlyrtw`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xs49bvh`,$$css:!0},menuButtonActive:{kWkggS:`x6nzc14`,kMwMTN:`xfcdvjf`,k63SB2:`xk50ysn`,$$css:!0},sizeDefault:{kZKoxP:`xettwda`,kGuDYH:`xkpwil5`,$$css:!0},sizeSm:{kZKoxP:`xb8l8e1`,kGuDYH:`xboafo0`,$$css:!0},sizeLg:{kZKoxP:`x1pizb70`,kGuDYH:`xkpwil5`,$$css:!0},menuAction:{kMwMTN:`x152gyff`,kVAEAm:`x10l6tqk`,k87sOh:`x2g408t`,kCIrl2:`x5qeokm`,k1xSpc:`x78zum5`,kOBAk4:`x1y5e3q9`,kzqmXN:`xwqq7k2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xrijj7p`,kmVPX3:`x1717udv`,kI3sdo:`x1a2a7pz`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,kkrTdU:`x1ypdohk`,k1ekBW:`x101pvzj`,kIyJzY:`x1g2r6go`,kGzVvX:`x181o6qj`,kDPRdz:`xb44yzd`,$$css:!0},menuBadge:{kMwMTN:`x152gyff`,kfzvcC:`x47corl`,kVAEAm:`x10l6tqk`,kCIrl2:`x5qeokm`,k1xSpc:`x78zum5`,kZKoxP:`xmll18r`,k7Eaqz:`x199i5n0`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xrijj7p`,kg3NbH:`xllzysa`,kGuDYH:`xboafo0`,k63SB2:`xk50ysn`,kfSwDN:`x87ps6o`,$$css:!0},skeletonContainer:{k1xSpc:`x78zum5`,kZKoxP:`xettwda`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kaIpWk:`xrijj7p`,kg3NbH:`x97vtpp`,$$css:!0},skeletonIcon:{kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,kaIpWk:`xrijj7p`,$$css:!0},skeletonText:{kZKoxP:`x1l36t39`,kUk6DE:`x98rzlu`,$$css:!0},menuSub:{keTefX:`x1ur9hgs`,k1xSpc:`x78zum5`,k7Eaqz:`xeuugli`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,kZ1KPB:`xe0pwq`,k4WBpm:`x19ypqd9`,kaZRDh:`xgk82rk`,kZCmMZ:`xd1uisr`,k8WAf4:`x1dus959`,$$css:!0},menuSubItem:{kVAEAm:`x1n2onr6`,$$css:!0},menuSubButton:{kMwMTN:`x152gyff`,k1xSpc:`x78zum5`,kZKoxP:`xb8l8e1`,k7Eaqz:`xeuugli`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kVQacm:`xb3r6kr`,kaIpWk:`xrijj7p`,kg3NbH:`x97vtpp`,kI3sdo:`x1a2a7pz`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk`,k1ekBW:`xs2xxs2`,kIyJzY:`x1g2r6go`,kGzVvX:`x181o6qj`,kDPRdz:`xb44yzd`,kSReZ0:`x17noblp`,kc7ZrP:`x4bdkwq`,$$css:!0},subBtnActive:{kWkggS:`x6nzc14`,kMwMTN:`xfcdvjf`,$$css:!0},subBtnSm:{kGuDYH:`xboafo0`,$$css:!0},subBtnMd:{kGuDYH:`xkpwil5`,$$css:!0}},E=f.createContext(null);function D(){let e=f.useContext(E);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function O({defaultOpen:e=!0,open:n,onOpenChange:i,className:a,style:o,children:s,sx:l,...d}){let p=h(),[m,g]=f.useState(!1),[_,v]=f.useState(e),S=n??_,D=f.useCallback(e=>{let t=typeof e==`function`?e(S):e;i?i(t):v(t),document.cookie=`${y}=${t}; path=/; max-age=${b}`},[i,S]),O=f.useCallback(()=>p?g(e=>!e):D(e=>!e),[p,D,g]);f.useEffect(()=>{let e=e=>{e.key===w&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),O())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[O]);let k=S?`expanded`:`collapsed`,A=f.useMemo(()=>({state:k,open:S,setOpen:D,isMobile:p,openMobile:m,setOpenMobile:g,toggleSidebar:O}),[k,S,D,p,m,g,O]),j=c.props(T.provider,l);return(0,u.jsx)(E.Provider,{value:A,children:(0,u.jsx)(t.TooltipProvider,{delayDuration:0,children:(0,u.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":x,"--sidebar-width-icon":C,...o},...j,className:r.cn(j.className,a),...d,children:s})})})}function k({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:i,children:a,sx:s,...l}){let{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=D();if(n===`none`){let e=c.props(T.sidebarNone,s);return(0,u.jsx)(`div`,{"data-slot":`sidebar`,...e,className:r.cn(e.className,i),...l,children:a})}if(d)return(0,u.jsx)(o.Sheet,{open:p,onOpenChange:m,...l,children:(0,u.jsxs)(o.SheetContent,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`xcywfst x152gyff x1k3g8fe x1717udv`,style:{"--sidebar-width":S},side:e,children:[(0,u.jsxs)(o.SheetHeader,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:[(0,u.jsx)(o.SheetTitle,{children:`Sidebar`}),(0,u.jsx)(o.SheetDescription,{children:`Displays the mobile sidebar.`})]}),(0,u.jsx)(`div`,{className:`x78zum5 x5yr21d xh8yej3 xdt5ytf`,children:a})]})});let h=c.props(T.desktopContainer,s);return(0,u.jsxs)(`div`,{className:`x152gyff`,"data-state":f,"data-collapsible":f===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[(0,u.jsx)(`div`,{"data-slot":`sidebar-gap`,className:`x1n2onr6 x1ce5aun xjbqb8w xxrbq2n x13dflua xcj1dhv`}),(0,u.jsx)(`div`,{"data-slot":`sidebar-container`,...h,style:{[e]:0,...l.style||{}},className:r.cn(h.className,i),...l,children:(0,u.jsx)(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:`xcywfst x78zum5 x5yr21d xh8yej3 xdt5ytf`,children:a})})]})}function A(e){let t=(0,p.c)(17),r,i,a,o;t[0]===e?(r=t[1],i=t[2],a=t[3],o=t[4]):({className:r,onClick:i,sx:o,...a}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=a,t[4]=o);let{toggleSidebar:s}=D(),c;t[5]===o?c=t[6]:(c=[T.trigger,o],t[5]=o,t[6]=c);let d;t[7]!==i||t[8]!==s?(d=e=>{i?.(e),s()},t[7]=i,t[8]=s,t[9]=d):d=t[9];let f,m;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,u.jsx)(l.PanelLeftIcon,{}),m=(0,u.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Toggle Sidebar`}),t[10]=f,t[11]=m):(f=t[10],m=t[11]);let h;return t[12]!==r||t[13]!==a||t[14]!==c||t[15]!==d?(h=(0,u.jsxs)(n.Button,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon`,sx:c,className:r,onClick:d,...a,children:[f,m]}),t[12]=r,t[13]=a,t[14]=c,t[15]=d,t[16]=h):h=t[16],h}function j(e){let t=(0,p.c)(25),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let{toggleSidebar:o}=D(),s,l,d,f,m,h,g,_;if(t[4]!==n||t[5]!==a||t[6]!==o){let e=c.props(T.rail,a);s=`rail`,l=`sidebar-rail`,d=`Toggle Sidebar`,f=-1,m=o,h=`Toggle Sidebar`,g=e,_=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d,t[10]=f,t[11]=m,t[12]=h,t[13]=g,t[14]=_}else s=t[7],l=t[8],d=t[9],f=t[10],m=t[11],h=t[12],g=t[13],_=t[14];let v;return t[15]!==i||t[16]!==s||t[17]!==l||t[18]!==d||t[19]!==f||t[20]!==m||t[21]!==h||t[22]!==g||t[23]!==_?(v=(0,u.jsx)(`button`,{"data-sidebar":s,"data-slot":l,"aria-label":d,tabIndex:f,onClick:m,title:h,...g,className:_,...i}),t[15]=i,t[16]=s,t[17]=l,t[18]=d,t[19]=f,t[20]=m,t[21]=h,t[22]=g,t[23]=_,t[24]=v):v=t[24],v}function M(e){let t=(0,p.c)(14),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l;if(t[4]!==n||t[5]!==a){let e=c.props(T.inset,a);o=`sidebar-inset`,s=e,l=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l}else o=t[6],s=t[7],l=t[8];let d;return t[9]!==i||t[10]!==o||t[11]!==s||t[12]!==l?(d=(0,u.jsx)(`main`,{"data-slot":o,...s,className:l,...i}),t[9]=i,t[10]=o,t[11]=s,t[12]=l,t[13]=d):d=t[13],d}function N(e){let t=(0,p.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let o;t[4]===i?o=t[5]:(o=[T.input,i],t[4]=i,t[5]=o);let s;return t[6]!==n||t[7]!==r||t[8]!==o?(s=(0,u.jsx)(a.Input,{"data-slot":`sidebar-input`,"data-sidebar":`input`,sx:o,className:n,...r}),t[6]=n,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}function P(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.header,a);o=`sidebar-header`,s=`header`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function F(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.footer,a);o=`sidebar-footer`,s=`footer`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function I(e){let t=(0,p.c)(10),n,r,a;t[0]===e?(n=t[1],r=t[2],a=t[3]):({className:n,sx:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=a);let o;t[4]===a?o=t[5]:(o=[T.separator,a],t[4]=a,t[5]=o);let s;return t[6]!==n||t[7]!==r||t[8]!==o?(s=(0,u.jsx)(i.Separator,{"data-slot":`sidebar-separator`,"data-sidebar":`separator`,sx:o,className:n,...r}),t[6]=n,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}function L(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.content,a);o=`sidebar-content`,s=`content`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function R(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.group,a);o=`sidebar-group`,s=`group`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function z({className:e,asChild:t=!1,sx:n,...i}){let a=t?m.Slot:`div`,o=c.props(T.groupLabel,n);return(0,u.jsx)(a,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,...o,className:r.cn(o.className,e),...i})}function B({className:e,asChild:t=!1,sx:n,...i}){let a=t?m.Slot:`button`,o=c.props(T.groupAction,n);return(0,u.jsx)(a,{"data-slot":`sidebar-group-action`,"data-sidebar":`group-action`,...o,className:r.cn(o.className,e),...i})}function V(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.groupContent,a);o=`sidebar-group-content`,s=`group-content`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function H(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.menu,a);o=`sidebar-menu`,s=`menu`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`ul`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function U(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.menuItem,a);o=`sidebar-menu-item`,s=`menu-item`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`li`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}var W=()=>``;function G({asChild:e=!1,isActive:n=!1,variant:i=`default`,size:a=`default`,tooltip:o,className:s,sx:l,...d}){let f=e?m.Slot:`button`,{isMobile:p,state:h}=D(),g=a===`sm`?T.sizeSm:a===`lg`?T.sizeLg:T.sizeDefault,_=i===`outline`?T.menuButtonOutline:void 0,v=n?T.menuButtonActive:void 0,y=c.props(T.menuButtonBase,_,g,v,l),b=(0,u.jsx)(f,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":a,"data-active":n,...y,className:r.cn(y.className,s),...d});return o?(typeof o==`string`&&(o={children:o}),(0,u.jsxs)(t.Tooltip,{children:[(0,u.jsx)(t.TooltipTrigger,{asChild:!0,children:b}),(0,u.jsx)(t.TooltipContent,{side:`right`,align:`center`,hidden:h!==`collapsed`||p,...o})]})):b}function K({className:e,asChild:t=!1,showOnHover:n=!1,sx:i,...a}){let o=t?m.Slot:`button`,s=c.props(T.menuAction,i);return(0,u.jsx)(o,{"data-slot":`sidebar-menu-action`,"data-sidebar":`menu-action`,...s,className:r.cn(s.className,e),...a})}function q(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.menuBadge,a);o=`sidebar-menu-badge`,s=`menu-badge`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`div`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function J({className:e,showIcon:t=!1,sx:n,...i}){let a=f.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]),o=c.props(T.skeletonContainer,n);return(0,u.jsxs)(`div`,{"data-slot":`sidebar-menu-skeleton`,"data-sidebar":`menu-skeleton`,...o,className:r.cn(o.className,e),...i,children:[t&&(0,u.jsx)(s.Skeleton,{sx:T.skeletonIcon,"data-sidebar":`menu-skeleton-icon`}),(0,u.jsx)(s.Skeleton,{sx:T.skeletonText,"data-sidebar":`menu-skeleton-text`,style:{"--skeleton-width":a,width:a}})]})}function Y(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.menuSub,a);o=`sidebar-menu-sub`,s=`menu-sub`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`ul`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function X(e){let t=(0,p.c)(16),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:n,sx:a,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let o,s,l,d;if(t[4]!==n||t[5]!==a){let e=c.props(T.menuSubItem,a);o=`sidebar-menu-sub-item`,s=`menu-sub-item`,l=e,d=r.cn(e.className,n),t[4]=n,t[5]=a,t[6]=o,t[7]=s,t[8]=l,t[9]=d}else o=t[6],s=t[7],l=t[8],d=t[9];let f;return t[10]!==i||t[11]!==o||t[12]!==s||t[13]!==l||t[14]!==d?(f=(0,u.jsx)(`li`,{"data-slot":o,"data-sidebar":s,...l,className:d,...i}),t[10]=i,t[11]=o,t[12]=s,t[13]=l,t[14]=d,t[15]=f):f=t[15],f}function Z({asChild:e=!1,size:t=`md`,isActive:n=!1,className:i,sx:a,...o}){let s=e?m.Slot:`a`,l=t===`sm`?T.subBtnSm:T.subBtnMd,d=n?T.subBtnActive:void 0,f=c.props(T.menuSubButton,l,d,a);return(0,u.jsx)(s,{"data-slot":`sidebar-menu-sub-button`,"data-sidebar":`menu-sub-button`,"data-size":t,"data-active":n,...f,className:r.cn(f.className,i),...o})}exports.Sidebar=k,exports.SidebarContent=L,exports.SidebarFooter=F,exports.SidebarGroup=R,exports.SidebarGroupAction=B,exports.SidebarGroupContent=V,exports.SidebarGroupLabel=z,exports.SidebarHeader=P,exports.SidebarInput=N,exports.SidebarInset=M,exports.SidebarMenu=H,exports.SidebarMenuAction=K,exports.SidebarMenuBadge=q,exports.SidebarMenuButton=G,exports.SidebarMenuItem=U,exports.SidebarMenuSkeleton=J,exports.SidebarMenuSub=Y,exports.SidebarMenuSubButton=Z,exports.SidebarMenuSubItem=X,exports.SidebarProvider=O,exports.SidebarRail=j,exports.SidebarSeparator=I,exports.SidebarTrigger=A,exports.sidebarMenuButtonVariants=W,exports.useSidebar=D;
|
|
1
|
+
"use client";
|
|
2
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_tooltip = require("./tooltip.cjs");
|
|
4
|
+
const require_button = require("./button.cjs");
|
|
5
|
+
const require_utils = require("../utils.cjs");
|
|
6
|
+
const require_separator = require("./separator.cjs");
|
|
7
|
+
const require_input = require("./input.cjs");
|
|
8
|
+
const require_sheet = require("./sheet.cjs");
|
|
9
|
+
const require_skeleton = require("./skeleton.cjs");
|
|
10
|
+
let _stylexjs_stylex = require("@stylexjs/stylex");
|
|
11
|
+
_stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
|
|
12
|
+
let lucide_react = require("lucide-react");
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
+
let react = require("react");
|
|
15
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
16
|
+
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
17
|
+
// src/ui/sidebar.tsx
|
|
18
|
+
function useIsMobile() {
|
|
19
|
+
return (0, react.useSyncExternalStore)(_temp, _temp2, _temp3);
|
|
20
|
+
}
|
|
21
|
+
function _temp3() {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
function _temp2() {
|
|
25
|
+
return window.matchMedia(`(max-width: 767px)`).matches;
|
|
26
|
+
}
|
|
27
|
+
function _temp(callback) {
|
|
28
|
+
const mql = window.matchMedia(`(max-width: 767px)`);
|
|
29
|
+
mql.addEventListener("change", callback);
|
|
30
|
+
return () => mql.removeEventListener("change", callback);
|
|
31
|
+
}
|
|
32
|
+
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
33
|
+
var SIDEBAR_COOKIE_MAX_AGE = 604800;
|
|
34
|
+
var SIDEBAR_WIDTH = "16rem";
|
|
35
|
+
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
36
|
+
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
37
|
+
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
38
|
+
var styles = {
|
|
39
|
+
provider: {
|
|
40
|
+
k1xSpc: "x78zum5",
|
|
41
|
+
kAzted: "xg6iff7",
|
|
42
|
+
kzqmXN: "xh8yej3",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
sidebarNone: {
|
|
46
|
+
kWkggS: "xcywfst",
|
|
47
|
+
kMwMTN: "x152gyff",
|
|
48
|
+
k1xSpc: "x78zum5",
|
|
49
|
+
kZKoxP: "x5yr21d",
|
|
50
|
+
kzqmXN: "x1ce5aun",
|
|
51
|
+
kXwgrk: "xdt5ytf",
|
|
52
|
+
$$css: true
|
|
53
|
+
},
|
|
54
|
+
desktopContainer: {
|
|
55
|
+
kVAEAm: "xixxii4",
|
|
56
|
+
k87sOh: "x13vifvy",
|
|
57
|
+
krVfgx: "x1ey2m1c",
|
|
58
|
+
kY2c9j: "x1n327nk",
|
|
59
|
+
k1xSpc: "x78zum5",
|
|
60
|
+
kZKoxP: "x1dr59a3",
|
|
61
|
+
kzqmXN: "x1ce5aun",
|
|
62
|
+
k1ekBW: "x24pemh",
|
|
63
|
+
kIyJzY: "x13dflua",
|
|
64
|
+
kAMwcw: "xcj1dhv",
|
|
65
|
+
$$css: true
|
|
66
|
+
},
|
|
67
|
+
trigger: {
|
|
68
|
+
kzqmXN: "xh29eag",
|
|
69
|
+
kZKoxP: "xb8l8e1",
|
|
70
|
+
$$css: true
|
|
71
|
+
},
|
|
72
|
+
rail: {
|
|
73
|
+
kVAEAm: "x10l6tqk",
|
|
74
|
+
k87sOh: "x13vifvy",
|
|
75
|
+
krVfgx: "x1ey2m1c",
|
|
76
|
+
kY2c9j: "x1355qak",
|
|
77
|
+
kzqmXN: "xcdlrvm",
|
|
78
|
+
k3aq6I: "xuuh30",
|
|
79
|
+
k1ekBW: "xfagghw",
|
|
80
|
+
kIyJzY: "x13dflua",
|
|
81
|
+
kAMwcw: "xcj1dhv",
|
|
82
|
+
$$css: true
|
|
83
|
+
},
|
|
84
|
+
inset: {
|
|
85
|
+
kWkggS: "x1mlyrtw",
|
|
86
|
+
kVAEAm: "x1n2onr6",
|
|
87
|
+
k1xSpc: "x78zum5",
|
|
88
|
+
kzqmXN: "xh8yej3",
|
|
89
|
+
kUk6DE: "x98rzlu",
|
|
90
|
+
kXwgrk: "xdt5ytf",
|
|
91
|
+
$$css: true
|
|
92
|
+
},
|
|
93
|
+
input: {
|
|
94
|
+
kWkggS: "x1mlyrtw",
|
|
95
|
+
kZKoxP: "xettwda",
|
|
96
|
+
kzqmXN: "xh8yej3",
|
|
97
|
+
kGVxlE: "x4qz2uc",
|
|
98
|
+
$$css: true
|
|
99
|
+
},
|
|
100
|
+
header: {
|
|
101
|
+
k1xSpc: "x78zum5",
|
|
102
|
+
kXwgrk: "xdt5ytf",
|
|
103
|
+
kOIVth: "x13z6uf9",
|
|
104
|
+
kmVPX3: "x7gbtqy",
|
|
105
|
+
$$css: true
|
|
106
|
+
},
|
|
107
|
+
footer: {
|
|
108
|
+
k1xSpc: "x78zum5",
|
|
109
|
+
kXwgrk: "xdt5ytf",
|
|
110
|
+
kOIVth: "x13z6uf9",
|
|
111
|
+
kmVPX3: "x7gbtqy",
|
|
112
|
+
$$css: true
|
|
113
|
+
},
|
|
114
|
+
separator: {
|
|
115
|
+
kWkggS: "xf0tell",
|
|
116
|
+
kUOVxO: "x1wboj75",
|
|
117
|
+
kzqmXN: "x14atkfc",
|
|
118
|
+
$$css: true
|
|
119
|
+
},
|
|
120
|
+
content: {
|
|
121
|
+
k1xSpc: "x78zum5",
|
|
122
|
+
kAzted: "x2lwn1j",
|
|
123
|
+
kUk6DE: "x98rzlu",
|
|
124
|
+
kXwgrk: "xdt5ytf",
|
|
125
|
+
kOIVth: "x13z6uf9",
|
|
126
|
+
kVQacm: "xysyzu8",
|
|
127
|
+
$$css: true
|
|
128
|
+
},
|
|
129
|
+
group: {
|
|
130
|
+
kVAEAm: "x1n2onr6",
|
|
131
|
+
k1xSpc: "x78zum5",
|
|
132
|
+
kzqmXN: "xh8yej3",
|
|
133
|
+
k7Eaqz: "xeuugli",
|
|
134
|
+
kXwgrk: "xdt5ytf",
|
|
135
|
+
kmVPX3: "x7gbtqy",
|
|
136
|
+
$$css: true
|
|
137
|
+
},
|
|
138
|
+
groupLabel: {
|
|
139
|
+
kMwMTN: "x152gyff",
|
|
140
|
+
kSiTet: "x1ks1olk",
|
|
141
|
+
k1xSpc: "x78zum5",
|
|
142
|
+
kZKoxP: "xettwda",
|
|
143
|
+
kmuXW: "x2lah0s",
|
|
144
|
+
kGNEyG: "x6s0dn4",
|
|
145
|
+
kaIpWk: "xrijj7p",
|
|
146
|
+
kg3NbH: "x97vtpp",
|
|
147
|
+
kGuDYH: "xboafo0",
|
|
148
|
+
k63SB2: "xk50ysn",
|
|
149
|
+
kI3sdo: "x1a2a7pz",
|
|
150
|
+
k1ekBW: "x1ju8a0s",
|
|
151
|
+
kIyJzY: "x13dflua",
|
|
152
|
+
kAMwcw: "xcj1dhv",
|
|
153
|
+
$$css: true
|
|
154
|
+
},
|
|
155
|
+
groupAction: {
|
|
156
|
+
kMwMTN: "x152gyff",
|
|
157
|
+
kVAEAm: "x10l6tqk",
|
|
158
|
+
k87sOh: "xaksmix",
|
|
159
|
+
kCIrl2: "x1suesbl",
|
|
160
|
+
k1xSpc: "x78zum5",
|
|
161
|
+
kOBAk4: "x1y5e3q9",
|
|
162
|
+
kzqmXN: "xwqq7k2",
|
|
163
|
+
kGNEyG: "x6s0dn4",
|
|
164
|
+
kjj79g: "xl56j7k",
|
|
165
|
+
kaIpWk: "xrijj7p",
|
|
166
|
+
kmVPX3: "x1717udv",
|
|
167
|
+
kI3sdo: "x1a2a7pz",
|
|
168
|
+
k1ekBW: "x11xpdln",
|
|
169
|
+
kGzVvX: "x181o6qj",
|
|
170
|
+
kDPRdz: "xb44yzd",
|
|
171
|
+
$$css: true
|
|
172
|
+
},
|
|
173
|
+
groupContent: {
|
|
174
|
+
kzqmXN: "xh8yej3",
|
|
175
|
+
kGuDYH: "xkpwil5",
|
|
176
|
+
$$css: true
|
|
177
|
+
},
|
|
178
|
+
menu: {
|
|
179
|
+
k1xSpc: "x78zum5",
|
|
180
|
+
kzqmXN: "xh8yej3",
|
|
181
|
+
k7Eaqz: "xeuugli",
|
|
182
|
+
kXwgrk: "xdt5ytf",
|
|
183
|
+
kOIVth: "xvh977a",
|
|
184
|
+
$$css: true
|
|
185
|
+
},
|
|
186
|
+
menuItem: {
|
|
187
|
+
kVAEAm: "x1n2onr6",
|
|
188
|
+
$$css: true
|
|
189
|
+
},
|
|
190
|
+
menuButtonBase: {
|
|
191
|
+
k1xSpc: "x78zum5",
|
|
192
|
+
kzqmXN: "xh8yej3",
|
|
193
|
+
kGNEyG: "x6s0dn4",
|
|
194
|
+
kOIVth: "x13z6uf9",
|
|
195
|
+
kVQacm: "xb3r6kr",
|
|
196
|
+
kaIpWk: "xrijj7p",
|
|
197
|
+
kmVPX3: "x7gbtqy",
|
|
198
|
+
k9WMMc: "xdpxx8g",
|
|
199
|
+
kGuDYH: "xkpwil5",
|
|
200
|
+
kI3sdo: "x1a2a7pz",
|
|
201
|
+
kMzoRj: "xc342km",
|
|
202
|
+
kWkggS: "xjbqb8w",
|
|
203
|
+
kMwMTN: "x152gyff",
|
|
204
|
+
kkrTdU: "x1ypdohk",
|
|
205
|
+
k1ekBW: "xs2xxs2",
|
|
206
|
+
kIyJzY: "x1g2r6go",
|
|
207
|
+
kGzVvX: "x181o6qj",
|
|
208
|
+
kDPRdz: "xb44yzd",
|
|
209
|
+
kSReZ0: "x17noblp",
|
|
210
|
+
kc7ZrP: "x4bdkwq",
|
|
211
|
+
k7HAVu: "xaqnwrm",
|
|
212
|
+
kWCcOm: "xijokvz",
|
|
213
|
+
$$css: true
|
|
214
|
+
},
|
|
215
|
+
menuButtonOutline: {
|
|
216
|
+
kWkggS: "x1mlyrtw",
|
|
217
|
+
kMzoRj: "xmkeg23",
|
|
218
|
+
ksu8eU: "x1y0btm7",
|
|
219
|
+
kVAM5u: "xs49bvh",
|
|
220
|
+
$$css: true
|
|
221
|
+
},
|
|
222
|
+
menuButtonActive: {
|
|
223
|
+
kWkggS: "x6nzc14",
|
|
224
|
+
kMwMTN: "xfcdvjf",
|
|
225
|
+
k63SB2: "xk50ysn",
|
|
226
|
+
$$css: true
|
|
227
|
+
},
|
|
228
|
+
sizeDefault: {
|
|
229
|
+
kZKoxP: "xettwda",
|
|
230
|
+
kGuDYH: "xkpwil5",
|
|
231
|
+
$$css: true
|
|
232
|
+
},
|
|
233
|
+
sizeSm: {
|
|
234
|
+
kZKoxP: "xb8l8e1",
|
|
235
|
+
kGuDYH: "xboafo0",
|
|
236
|
+
$$css: true
|
|
237
|
+
},
|
|
238
|
+
sizeLg: {
|
|
239
|
+
kZKoxP: "x1pizb70",
|
|
240
|
+
kGuDYH: "xkpwil5",
|
|
241
|
+
$$css: true
|
|
242
|
+
},
|
|
243
|
+
menuAction: {
|
|
244
|
+
kMwMTN: "x152gyff",
|
|
245
|
+
kVAEAm: "x10l6tqk",
|
|
246
|
+
k87sOh: "x2g408t",
|
|
247
|
+
kCIrl2: "x5qeokm",
|
|
248
|
+
k1xSpc: "x78zum5",
|
|
249
|
+
kOBAk4: "x1y5e3q9",
|
|
250
|
+
kzqmXN: "xwqq7k2",
|
|
251
|
+
kGNEyG: "x6s0dn4",
|
|
252
|
+
kjj79g: "xl56j7k",
|
|
253
|
+
kaIpWk: "xrijj7p",
|
|
254
|
+
kmVPX3: "x1717udv",
|
|
255
|
+
kI3sdo: "x1a2a7pz",
|
|
256
|
+
kMzoRj: "xc342km",
|
|
257
|
+
kWkggS: "xjbqb8w",
|
|
258
|
+
kkrTdU: "x1ypdohk",
|
|
259
|
+
k1ekBW: "x101pvzj",
|
|
260
|
+
kIyJzY: "x1g2r6go",
|
|
261
|
+
kGzVvX: "x181o6qj",
|
|
262
|
+
kDPRdz: "xb44yzd",
|
|
263
|
+
$$css: true
|
|
264
|
+
},
|
|
265
|
+
menuBadge: {
|
|
266
|
+
kMwMTN: "x152gyff",
|
|
267
|
+
kfzvcC: "x47corl",
|
|
268
|
+
kVAEAm: "x10l6tqk",
|
|
269
|
+
kCIrl2: "x5qeokm",
|
|
270
|
+
k1xSpc: "x78zum5",
|
|
271
|
+
kZKoxP: "xmll18r",
|
|
272
|
+
k7Eaqz: "x199i5n0",
|
|
273
|
+
kGNEyG: "x6s0dn4",
|
|
274
|
+
kjj79g: "xl56j7k",
|
|
275
|
+
kaIpWk: "xrijj7p",
|
|
276
|
+
kg3NbH: "xllzysa",
|
|
277
|
+
kGuDYH: "xboafo0",
|
|
278
|
+
k63SB2: "xk50ysn",
|
|
279
|
+
kfSwDN: "x87ps6o",
|
|
280
|
+
$$css: true
|
|
281
|
+
},
|
|
282
|
+
skeletonContainer: {
|
|
283
|
+
k1xSpc: "x78zum5",
|
|
284
|
+
kZKoxP: "xettwda",
|
|
285
|
+
kGNEyG: "x6s0dn4",
|
|
286
|
+
kOIVth: "x13z6uf9",
|
|
287
|
+
kaIpWk: "xrijj7p",
|
|
288
|
+
kg3NbH: "x97vtpp",
|
|
289
|
+
$$css: true
|
|
290
|
+
},
|
|
291
|
+
skeletonIcon: {
|
|
292
|
+
kzqmXN: "xcdlrvm",
|
|
293
|
+
kZKoxP: "x1l36t39",
|
|
294
|
+
kaIpWk: "xrijj7p",
|
|
295
|
+
$$css: true
|
|
296
|
+
},
|
|
297
|
+
skeletonText: {
|
|
298
|
+
kZKoxP: "x1l36t39",
|
|
299
|
+
kUk6DE: "x98rzlu",
|
|
300
|
+
$$css: true
|
|
301
|
+
},
|
|
302
|
+
menuSub: {
|
|
303
|
+
keTefX: "x1ur9hgs",
|
|
304
|
+
k1xSpc: "x78zum5",
|
|
305
|
+
k7Eaqz: "xeuugli",
|
|
306
|
+
kXwgrk: "xdt5ytf",
|
|
307
|
+
kOIVth: "xvh977a",
|
|
308
|
+
kZ1KPB: "xe0pwq",
|
|
309
|
+
k4WBpm: "x19ypqd9",
|
|
310
|
+
kaZRDh: "xgk82rk",
|
|
311
|
+
kZCmMZ: "xd1uisr",
|
|
312
|
+
k8WAf4: "x1dus959",
|
|
313
|
+
$$css: true
|
|
314
|
+
},
|
|
315
|
+
menuSubItem: {
|
|
316
|
+
kVAEAm: "x1n2onr6",
|
|
317
|
+
$$css: true
|
|
318
|
+
},
|
|
319
|
+
menuSubButton: {
|
|
320
|
+
kMwMTN: "x152gyff",
|
|
321
|
+
k1xSpc: "x78zum5",
|
|
322
|
+
kZKoxP: "xb8l8e1",
|
|
323
|
+
k7Eaqz: "xeuugli",
|
|
324
|
+
kGNEyG: "x6s0dn4",
|
|
325
|
+
kOIVth: "x13z6uf9",
|
|
326
|
+
kVQacm: "xb3r6kr",
|
|
327
|
+
kaIpWk: "xrijj7p",
|
|
328
|
+
kg3NbH: "x97vtpp",
|
|
329
|
+
kI3sdo: "x1a2a7pz",
|
|
330
|
+
kybGjl: "x1hl2dhg",
|
|
331
|
+
kkrTdU: "x1ypdohk",
|
|
332
|
+
k1ekBW: "xs2xxs2",
|
|
333
|
+
kIyJzY: "x1g2r6go",
|
|
334
|
+
kGzVvX: "x181o6qj",
|
|
335
|
+
kDPRdz: "xb44yzd",
|
|
336
|
+
kSReZ0: "x17noblp",
|
|
337
|
+
kc7ZrP: "x4bdkwq",
|
|
338
|
+
$$css: true
|
|
339
|
+
},
|
|
340
|
+
subBtnActive: {
|
|
341
|
+
kWkggS: "x6nzc14",
|
|
342
|
+
kMwMTN: "xfcdvjf",
|
|
343
|
+
$$css: true
|
|
344
|
+
},
|
|
345
|
+
subBtnSm: {
|
|
346
|
+
kGuDYH: "xboafo0",
|
|
347
|
+
$$css: true
|
|
348
|
+
},
|
|
349
|
+
subBtnMd: {
|
|
350
|
+
kGuDYH: "xkpwil5",
|
|
351
|
+
$$css: true
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
var SidebarContext = (0, react.createContext)(null);
|
|
355
|
+
function useSidebar() {
|
|
356
|
+
const context = (0, react.useContext)(SidebarContext);
|
|
357
|
+
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
358
|
+
return context;
|
|
359
|
+
}
|
|
360
|
+
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, sx, ...props }) {
|
|
361
|
+
const isMobile = useIsMobile();
|
|
362
|
+
const [openMobile, setOpenMobile] = (0, react.useState)(false);
|
|
363
|
+
const [_open, _setOpen] = (0, react.useState)(defaultOpen);
|
|
364
|
+
const open = openProp ?? _open;
|
|
365
|
+
const setOpen = (0, react.useCallback)((value) => {
|
|
366
|
+
const openState = typeof value === "function" ? value(open) : value;
|
|
367
|
+
if (setOpenProp) setOpenProp(openState);
|
|
368
|
+
else _setOpen(openState);
|
|
369
|
+
document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
370
|
+
}, [setOpenProp, open]);
|
|
371
|
+
const toggleSidebar = (0, react.useCallback)(() => {
|
|
372
|
+
return isMobile ? setOpenMobile((open_0) => !open_0) : setOpen((open_1) => !open_1);
|
|
373
|
+
}, [
|
|
374
|
+
isMobile,
|
|
375
|
+
setOpen,
|
|
376
|
+
setOpenMobile
|
|
377
|
+
]);
|
|
378
|
+
(0, react.useEffect)(() => {
|
|
379
|
+
const handleKeyDown = (event) => {
|
|
380
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
381
|
+
event.preventDefault();
|
|
382
|
+
toggleSidebar();
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
386
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
387
|
+
}, [toggleSidebar]);
|
|
388
|
+
const state = open ? "expanded" : "collapsed";
|
|
389
|
+
const contextValue = (0, react.useMemo)(() => ({
|
|
390
|
+
state,
|
|
391
|
+
open,
|
|
392
|
+
setOpen,
|
|
393
|
+
isMobile,
|
|
394
|
+
openMobile,
|
|
395
|
+
setOpenMobile,
|
|
396
|
+
toggleSidebar
|
|
397
|
+
}), [
|
|
398
|
+
state,
|
|
399
|
+
open,
|
|
400
|
+
setOpen,
|
|
401
|
+
isMobile,
|
|
402
|
+
openMobile,
|
|
403
|
+
setOpenMobile,
|
|
404
|
+
toggleSidebar
|
|
405
|
+
]);
|
|
406
|
+
const styleProps = _stylexjs_stylex.props(styles.provider, sx);
|
|
407
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarContext.Provider, {
|
|
408
|
+
value: contextValue,
|
|
409
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tooltip.TooltipProvider, {
|
|
410
|
+
delayDuration: 0,
|
|
411
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
412
|
+
"data-slot": "sidebar-wrapper",
|
|
413
|
+
style: {
|
|
414
|
+
"--sidebar-width": SIDEBAR_WIDTH,
|
|
415
|
+
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
416
|
+
...style
|
|
417
|
+
},
|
|
418
|
+
...styleProps,
|
|
419
|
+
className: require_utils.cn(styleProps.className, className),
|
|
420
|
+
...props,
|
|
421
|
+
children
|
|
422
|
+
})
|
|
423
|
+
})
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, sx, ...props }) {
|
|
427
|
+
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
428
|
+
if (collapsible === "none") {
|
|
429
|
+
const styleProps = _stylexjs_stylex.props(styles.sidebarNone, sx);
|
|
430
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
431
|
+
"data-slot": "sidebar",
|
|
432
|
+
...styleProps,
|
|
433
|
+
className: require_utils.cn(styleProps.className, className),
|
|
434
|
+
...props,
|
|
435
|
+
children
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
if (isMobile) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sheet.Sheet, {
|
|
439
|
+
open: openMobile,
|
|
440
|
+
onOpenChange: setOpenMobile,
|
|
441
|
+
...props,
|
|
442
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_sheet.SheetContent, {
|
|
443
|
+
"data-sidebar": "sidebar",
|
|
444
|
+
"data-slot": "sidebar",
|
|
445
|
+
"data-mobile": "true",
|
|
446
|
+
className: "xcywfst x152gyff x1k3g8fe x1717udv",
|
|
447
|
+
style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
|
|
448
|
+
side,
|
|
449
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_sheet.SheetHeader, {
|
|
450
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
451
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sheet.SheetTitle, { children: "Sidebar" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_sheet.SheetDescription, { children: "Displays the mobile sidebar." })]
|
|
452
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
453
|
+
className: "x78zum5 x5yr21d xh8yej3 xdt5ytf",
|
|
454
|
+
children
|
|
455
|
+
})]
|
|
456
|
+
})
|
|
457
|
+
});
|
|
458
|
+
const containerStyleProps = _stylexjs_stylex.props(styles.desktopContainer, sx);
|
|
459
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
460
|
+
className: "x152gyff",
|
|
461
|
+
"data-state": state,
|
|
462
|
+
"data-collapsible": state === "collapsed" ? collapsible : "",
|
|
463
|
+
"data-variant": variant,
|
|
464
|
+
"data-side": side,
|
|
465
|
+
"data-slot": "sidebar",
|
|
466
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
467
|
+
"data-slot": "sidebar-gap",
|
|
468
|
+
className: "x1n2onr6 x1ce5aun xjbqb8w xxrbq2n x13dflua xcj1dhv"
|
|
469
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
470
|
+
"data-slot": "sidebar-container",
|
|
471
|
+
...containerStyleProps,
|
|
472
|
+
style: {
|
|
473
|
+
[side]: 0,
|
|
474
|
+
...props.style || {}
|
|
475
|
+
},
|
|
476
|
+
className: require_utils.cn(containerStyleProps.className, className),
|
|
477
|
+
...props,
|
|
478
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
479
|
+
"data-sidebar": "sidebar",
|
|
480
|
+
"data-slot": "sidebar-inner",
|
|
481
|
+
className: "xcywfst x78zum5 x5yr21d xh8yej3 xdt5ytf",
|
|
482
|
+
children
|
|
483
|
+
})
|
|
484
|
+
})]
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
function SidebarTrigger(t0) {
|
|
488
|
+
const $ = (0, react_compiler_runtime.c)(17);
|
|
489
|
+
let className;
|
|
490
|
+
let onClick;
|
|
491
|
+
let props;
|
|
492
|
+
let sx;
|
|
493
|
+
if ($[0] !== t0) {
|
|
494
|
+
({className, onClick, sx, ...props} = t0);
|
|
495
|
+
$[0] = t0;
|
|
496
|
+
$[1] = className;
|
|
497
|
+
$[2] = onClick;
|
|
498
|
+
$[3] = props;
|
|
499
|
+
$[4] = sx;
|
|
500
|
+
} else {
|
|
501
|
+
className = $[1];
|
|
502
|
+
onClick = $[2];
|
|
503
|
+
props = $[3];
|
|
504
|
+
sx = $[4];
|
|
505
|
+
}
|
|
506
|
+
const { toggleSidebar } = useSidebar();
|
|
507
|
+
let t1;
|
|
508
|
+
if ($[5] !== sx) {
|
|
509
|
+
t1 = [styles.trigger, sx];
|
|
510
|
+
$[5] = sx;
|
|
511
|
+
$[6] = t1;
|
|
512
|
+
} else t1 = $[6];
|
|
513
|
+
let t2;
|
|
514
|
+
if ($[7] !== onClick || $[8] !== toggleSidebar) {
|
|
515
|
+
t2 = (event) => {
|
|
516
|
+
onClick?.(event);
|
|
517
|
+
toggleSidebar();
|
|
518
|
+
};
|
|
519
|
+
$[7] = onClick;
|
|
520
|
+
$[8] = toggleSidebar;
|
|
521
|
+
$[9] = t2;
|
|
522
|
+
} else t2 = $[9];
|
|
523
|
+
let t3;
|
|
524
|
+
let t4;
|
|
525
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
526
|
+
t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.PanelLeftIcon, {});
|
|
527
|
+
t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
528
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
529
|
+
children: "Toggle Sidebar"
|
|
530
|
+
});
|
|
531
|
+
$[10] = t3;
|
|
532
|
+
$[11] = t4;
|
|
533
|
+
} else {
|
|
534
|
+
t3 = $[10];
|
|
535
|
+
t4 = $[11];
|
|
536
|
+
}
|
|
537
|
+
let t5;
|
|
538
|
+
if ($[12] !== className || $[13] !== props || $[14] !== t1 || $[15] !== t2) {
|
|
539
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_button.Button, {
|
|
540
|
+
"data-sidebar": "trigger",
|
|
541
|
+
"data-slot": "sidebar-trigger",
|
|
542
|
+
variant: "ghost",
|
|
543
|
+
size: "icon",
|
|
544
|
+
sx: t1,
|
|
545
|
+
className,
|
|
546
|
+
onClick: t2,
|
|
547
|
+
...props,
|
|
548
|
+
children: [t3, t4]
|
|
549
|
+
});
|
|
550
|
+
$[12] = className;
|
|
551
|
+
$[13] = props;
|
|
552
|
+
$[14] = t1;
|
|
553
|
+
$[15] = t2;
|
|
554
|
+
$[16] = t5;
|
|
555
|
+
} else t5 = $[16];
|
|
556
|
+
return t5;
|
|
557
|
+
}
|
|
558
|
+
function SidebarRail(t0) {
|
|
559
|
+
const $ = (0, react_compiler_runtime.c)(25);
|
|
560
|
+
let className;
|
|
561
|
+
let props;
|
|
562
|
+
let sx;
|
|
563
|
+
if ($[0] !== t0) {
|
|
564
|
+
({className, sx, ...props} = t0);
|
|
565
|
+
$[0] = t0;
|
|
566
|
+
$[1] = className;
|
|
567
|
+
$[2] = props;
|
|
568
|
+
$[3] = sx;
|
|
569
|
+
} else {
|
|
570
|
+
className = $[1];
|
|
571
|
+
props = $[2];
|
|
572
|
+
sx = $[3];
|
|
573
|
+
}
|
|
574
|
+
const { toggleSidebar } = useSidebar();
|
|
575
|
+
let t1;
|
|
576
|
+
let t2;
|
|
577
|
+
let t3;
|
|
578
|
+
let t4;
|
|
579
|
+
let t5;
|
|
580
|
+
let t6;
|
|
581
|
+
let t7;
|
|
582
|
+
let t8;
|
|
583
|
+
if ($[4] !== className || $[5] !== sx || $[6] !== toggleSidebar) {
|
|
584
|
+
const styleProps = _stylexjs_stylex.props(styles.rail, sx);
|
|
585
|
+
t1 = "rail";
|
|
586
|
+
t2 = "sidebar-rail";
|
|
587
|
+
t3 = "Toggle Sidebar";
|
|
588
|
+
t4 = -1;
|
|
589
|
+
t5 = toggleSidebar;
|
|
590
|
+
t6 = "Toggle Sidebar";
|
|
591
|
+
t7 = styleProps;
|
|
592
|
+
t8 = require_utils.cn(styleProps.className, className);
|
|
593
|
+
$[4] = className;
|
|
594
|
+
$[5] = sx;
|
|
595
|
+
$[6] = toggleSidebar;
|
|
596
|
+
$[7] = t1;
|
|
597
|
+
$[8] = t2;
|
|
598
|
+
$[9] = t3;
|
|
599
|
+
$[10] = t4;
|
|
600
|
+
$[11] = t5;
|
|
601
|
+
$[12] = t6;
|
|
602
|
+
$[13] = t7;
|
|
603
|
+
$[14] = t8;
|
|
604
|
+
} else {
|
|
605
|
+
t1 = $[7];
|
|
606
|
+
t2 = $[8];
|
|
607
|
+
t3 = $[9];
|
|
608
|
+
t4 = $[10];
|
|
609
|
+
t5 = $[11];
|
|
610
|
+
t6 = $[12];
|
|
611
|
+
t7 = $[13];
|
|
612
|
+
t8 = $[14];
|
|
613
|
+
}
|
|
614
|
+
let t9;
|
|
615
|
+
if ($[15] !== props || $[16] !== t1 || $[17] !== t2 || $[18] !== t3 || $[19] !== t4 || $[20] !== t5 || $[21] !== t6 || $[22] !== t7 || $[23] !== t8) {
|
|
616
|
+
t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
617
|
+
"data-sidebar": t1,
|
|
618
|
+
"data-slot": t2,
|
|
619
|
+
"aria-label": t3,
|
|
620
|
+
tabIndex: t4,
|
|
621
|
+
onClick: t5,
|
|
622
|
+
title: t6,
|
|
623
|
+
...t7,
|
|
624
|
+
className: t8,
|
|
625
|
+
...props
|
|
626
|
+
});
|
|
627
|
+
$[15] = props;
|
|
628
|
+
$[16] = t1;
|
|
629
|
+
$[17] = t2;
|
|
630
|
+
$[18] = t3;
|
|
631
|
+
$[19] = t4;
|
|
632
|
+
$[20] = t5;
|
|
633
|
+
$[21] = t6;
|
|
634
|
+
$[22] = t7;
|
|
635
|
+
$[23] = t8;
|
|
636
|
+
$[24] = t9;
|
|
637
|
+
} else t9 = $[24];
|
|
638
|
+
return t9;
|
|
639
|
+
}
|
|
640
|
+
function SidebarInset(t0) {
|
|
641
|
+
const $ = (0, react_compiler_runtime.c)(14);
|
|
642
|
+
let className;
|
|
643
|
+
let props;
|
|
644
|
+
let sx;
|
|
645
|
+
if ($[0] !== t0) {
|
|
646
|
+
({className, sx, ...props} = t0);
|
|
647
|
+
$[0] = t0;
|
|
648
|
+
$[1] = className;
|
|
649
|
+
$[2] = props;
|
|
650
|
+
$[3] = sx;
|
|
651
|
+
} else {
|
|
652
|
+
className = $[1];
|
|
653
|
+
props = $[2];
|
|
654
|
+
sx = $[3];
|
|
655
|
+
}
|
|
656
|
+
let t1;
|
|
657
|
+
let t2;
|
|
658
|
+
let t3;
|
|
659
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
660
|
+
const styleProps = _stylexjs_stylex.props(styles.inset, sx);
|
|
661
|
+
t1 = "sidebar-inset";
|
|
662
|
+
t2 = styleProps;
|
|
663
|
+
t3 = require_utils.cn(styleProps.className, className);
|
|
664
|
+
$[4] = className;
|
|
665
|
+
$[5] = sx;
|
|
666
|
+
$[6] = t1;
|
|
667
|
+
$[7] = t2;
|
|
668
|
+
$[8] = t3;
|
|
669
|
+
} else {
|
|
670
|
+
t1 = $[6];
|
|
671
|
+
t2 = $[7];
|
|
672
|
+
t3 = $[8];
|
|
673
|
+
}
|
|
674
|
+
let t4;
|
|
675
|
+
if ($[9] !== props || $[10] !== t1 || $[11] !== t2 || $[12] !== t3) {
|
|
676
|
+
t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("main", {
|
|
677
|
+
"data-slot": t1,
|
|
678
|
+
...t2,
|
|
679
|
+
className: t3,
|
|
680
|
+
...props
|
|
681
|
+
});
|
|
682
|
+
$[9] = props;
|
|
683
|
+
$[10] = t1;
|
|
684
|
+
$[11] = t2;
|
|
685
|
+
$[12] = t3;
|
|
686
|
+
$[13] = t4;
|
|
687
|
+
} else t4 = $[13];
|
|
688
|
+
return t4;
|
|
689
|
+
}
|
|
690
|
+
function SidebarInput(t0) {
|
|
691
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
692
|
+
let className;
|
|
693
|
+
let props;
|
|
694
|
+
let sx;
|
|
695
|
+
if ($[0] !== t0) {
|
|
696
|
+
({className, sx, ...props} = t0);
|
|
697
|
+
$[0] = t0;
|
|
698
|
+
$[1] = className;
|
|
699
|
+
$[2] = props;
|
|
700
|
+
$[3] = sx;
|
|
701
|
+
} else {
|
|
702
|
+
className = $[1];
|
|
703
|
+
props = $[2];
|
|
704
|
+
sx = $[3];
|
|
705
|
+
}
|
|
706
|
+
let t1;
|
|
707
|
+
if ($[4] !== sx) {
|
|
708
|
+
t1 = [styles.input, sx];
|
|
709
|
+
$[4] = sx;
|
|
710
|
+
$[5] = t1;
|
|
711
|
+
} else t1 = $[5];
|
|
712
|
+
let t2;
|
|
713
|
+
if ($[6] !== className || $[7] !== props || $[8] !== t1) {
|
|
714
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_input.Input, {
|
|
715
|
+
"data-slot": "sidebar-input",
|
|
716
|
+
"data-sidebar": "input",
|
|
717
|
+
sx: t1,
|
|
718
|
+
className,
|
|
719
|
+
...props
|
|
720
|
+
});
|
|
721
|
+
$[6] = className;
|
|
722
|
+
$[7] = props;
|
|
723
|
+
$[8] = t1;
|
|
724
|
+
$[9] = t2;
|
|
725
|
+
} else t2 = $[9];
|
|
726
|
+
return t2;
|
|
727
|
+
}
|
|
728
|
+
function SidebarHeader(t0) {
|
|
729
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
730
|
+
let className;
|
|
731
|
+
let props;
|
|
732
|
+
let sx;
|
|
733
|
+
if ($[0] !== t0) {
|
|
734
|
+
({className, sx, ...props} = t0);
|
|
735
|
+
$[0] = t0;
|
|
736
|
+
$[1] = className;
|
|
737
|
+
$[2] = props;
|
|
738
|
+
$[3] = sx;
|
|
739
|
+
} else {
|
|
740
|
+
className = $[1];
|
|
741
|
+
props = $[2];
|
|
742
|
+
sx = $[3];
|
|
743
|
+
}
|
|
744
|
+
let t1;
|
|
745
|
+
let t2;
|
|
746
|
+
let t3;
|
|
747
|
+
let t4;
|
|
748
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
749
|
+
const styleProps = _stylexjs_stylex.props(styles.header, sx);
|
|
750
|
+
t1 = "sidebar-header";
|
|
751
|
+
t2 = "header";
|
|
752
|
+
t3 = styleProps;
|
|
753
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
754
|
+
$[4] = className;
|
|
755
|
+
$[5] = sx;
|
|
756
|
+
$[6] = t1;
|
|
757
|
+
$[7] = t2;
|
|
758
|
+
$[8] = t3;
|
|
759
|
+
$[9] = t4;
|
|
760
|
+
} else {
|
|
761
|
+
t1 = $[6];
|
|
762
|
+
t2 = $[7];
|
|
763
|
+
t3 = $[8];
|
|
764
|
+
t4 = $[9];
|
|
765
|
+
}
|
|
766
|
+
let t5;
|
|
767
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
768
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
769
|
+
"data-slot": t1,
|
|
770
|
+
"data-sidebar": t2,
|
|
771
|
+
...t3,
|
|
772
|
+
className: t4,
|
|
773
|
+
...props
|
|
774
|
+
});
|
|
775
|
+
$[10] = props;
|
|
776
|
+
$[11] = t1;
|
|
777
|
+
$[12] = t2;
|
|
778
|
+
$[13] = t3;
|
|
779
|
+
$[14] = t4;
|
|
780
|
+
$[15] = t5;
|
|
781
|
+
} else t5 = $[15];
|
|
782
|
+
return t5;
|
|
783
|
+
}
|
|
784
|
+
function SidebarFooter(t0) {
|
|
785
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
786
|
+
let className;
|
|
787
|
+
let props;
|
|
788
|
+
let sx;
|
|
789
|
+
if ($[0] !== t0) {
|
|
790
|
+
({className, sx, ...props} = t0);
|
|
791
|
+
$[0] = t0;
|
|
792
|
+
$[1] = className;
|
|
793
|
+
$[2] = props;
|
|
794
|
+
$[3] = sx;
|
|
795
|
+
} else {
|
|
796
|
+
className = $[1];
|
|
797
|
+
props = $[2];
|
|
798
|
+
sx = $[3];
|
|
799
|
+
}
|
|
800
|
+
let t1;
|
|
801
|
+
let t2;
|
|
802
|
+
let t3;
|
|
803
|
+
let t4;
|
|
804
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
805
|
+
const styleProps = _stylexjs_stylex.props(styles.footer, sx);
|
|
806
|
+
t1 = "sidebar-footer";
|
|
807
|
+
t2 = "footer";
|
|
808
|
+
t3 = styleProps;
|
|
809
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
810
|
+
$[4] = className;
|
|
811
|
+
$[5] = sx;
|
|
812
|
+
$[6] = t1;
|
|
813
|
+
$[7] = t2;
|
|
814
|
+
$[8] = t3;
|
|
815
|
+
$[9] = t4;
|
|
816
|
+
} else {
|
|
817
|
+
t1 = $[6];
|
|
818
|
+
t2 = $[7];
|
|
819
|
+
t3 = $[8];
|
|
820
|
+
t4 = $[9];
|
|
821
|
+
}
|
|
822
|
+
let t5;
|
|
823
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
824
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
825
|
+
"data-slot": t1,
|
|
826
|
+
"data-sidebar": t2,
|
|
827
|
+
...t3,
|
|
828
|
+
className: t4,
|
|
829
|
+
...props
|
|
830
|
+
});
|
|
831
|
+
$[10] = props;
|
|
832
|
+
$[11] = t1;
|
|
833
|
+
$[12] = t2;
|
|
834
|
+
$[13] = t3;
|
|
835
|
+
$[14] = t4;
|
|
836
|
+
$[15] = t5;
|
|
837
|
+
} else t5 = $[15];
|
|
838
|
+
return t5;
|
|
839
|
+
}
|
|
840
|
+
function SidebarSeparator(t0) {
|
|
841
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
842
|
+
let className;
|
|
843
|
+
let props;
|
|
844
|
+
let sx;
|
|
845
|
+
if ($[0] !== t0) {
|
|
846
|
+
({className, sx, ...props} = t0);
|
|
847
|
+
$[0] = t0;
|
|
848
|
+
$[1] = className;
|
|
849
|
+
$[2] = props;
|
|
850
|
+
$[3] = sx;
|
|
851
|
+
} else {
|
|
852
|
+
className = $[1];
|
|
853
|
+
props = $[2];
|
|
854
|
+
sx = $[3];
|
|
855
|
+
}
|
|
856
|
+
let t1;
|
|
857
|
+
if ($[4] !== sx) {
|
|
858
|
+
t1 = [styles.separator, sx];
|
|
859
|
+
$[4] = sx;
|
|
860
|
+
$[5] = t1;
|
|
861
|
+
} else t1 = $[5];
|
|
862
|
+
let t2;
|
|
863
|
+
if ($[6] !== className || $[7] !== props || $[8] !== t1) {
|
|
864
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_separator.Separator, {
|
|
865
|
+
"data-slot": "sidebar-separator",
|
|
866
|
+
"data-sidebar": "separator",
|
|
867
|
+
sx: t1,
|
|
868
|
+
className,
|
|
869
|
+
...props
|
|
870
|
+
});
|
|
871
|
+
$[6] = className;
|
|
872
|
+
$[7] = props;
|
|
873
|
+
$[8] = t1;
|
|
874
|
+
$[9] = t2;
|
|
875
|
+
} else t2 = $[9];
|
|
876
|
+
return t2;
|
|
877
|
+
}
|
|
878
|
+
function SidebarContent(t0) {
|
|
879
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
880
|
+
let className;
|
|
881
|
+
let props;
|
|
882
|
+
let sx;
|
|
883
|
+
if ($[0] !== t0) {
|
|
884
|
+
({className, sx, ...props} = t0);
|
|
885
|
+
$[0] = t0;
|
|
886
|
+
$[1] = className;
|
|
887
|
+
$[2] = props;
|
|
888
|
+
$[3] = sx;
|
|
889
|
+
} else {
|
|
890
|
+
className = $[1];
|
|
891
|
+
props = $[2];
|
|
892
|
+
sx = $[3];
|
|
893
|
+
}
|
|
894
|
+
let t1;
|
|
895
|
+
let t2;
|
|
896
|
+
let t3;
|
|
897
|
+
let t4;
|
|
898
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
899
|
+
const styleProps = _stylexjs_stylex.props(styles.content, sx);
|
|
900
|
+
t1 = "sidebar-content";
|
|
901
|
+
t2 = "content";
|
|
902
|
+
t3 = styleProps;
|
|
903
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
904
|
+
$[4] = className;
|
|
905
|
+
$[5] = sx;
|
|
906
|
+
$[6] = t1;
|
|
907
|
+
$[7] = t2;
|
|
908
|
+
$[8] = t3;
|
|
909
|
+
$[9] = t4;
|
|
910
|
+
} else {
|
|
911
|
+
t1 = $[6];
|
|
912
|
+
t2 = $[7];
|
|
913
|
+
t3 = $[8];
|
|
914
|
+
t4 = $[9];
|
|
915
|
+
}
|
|
916
|
+
let t5;
|
|
917
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
918
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
919
|
+
"data-slot": t1,
|
|
920
|
+
"data-sidebar": t2,
|
|
921
|
+
...t3,
|
|
922
|
+
className: t4,
|
|
923
|
+
...props
|
|
924
|
+
});
|
|
925
|
+
$[10] = props;
|
|
926
|
+
$[11] = t1;
|
|
927
|
+
$[12] = t2;
|
|
928
|
+
$[13] = t3;
|
|
929
|
+
$[14] = t4;
|
|
930
|
+
$[15] = t5;
|
|
931
|
+
} else t5 = $[15];
|
|
932
|
+
return t5;
|
|
933
|
+
}
|
|
934
|
+
function SidebarGroup(t0) {
|
|
935
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
936
|
+
let className;
|
|
937
|
+
let props;
|
|
938
|
+
let sx;
|
|
939
|
+
if ($[0] !== t0) {
|
|
940
|
+
({className, sx, ...props} = t0);
|
|
941
|
+
$[0] = t0;
|
|
942
|
+
$[1] = className;
|
|
943
|
+
$[2] = props;
|
|
944
|
+
$[3] = sx;
|
|
945
|
+
} else {
|
|
946
|
+
className = $[1];
|
|
947
|
+
props = $[2];
|
|
948
|
+
sx = $[3];
|
|
949
|
+
}
|
|
950
|
+
let t1;
|
|
951
|
+
let t2;
|
|
952
|
+
let t3;
|
|
953
|
+
let t4;
|
|
954
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
955
|
+
const styleProps = _stylexjs_stylex.props(styles.group, sx);
|
|
956
|
+
t1 = "sidebar-group";
|
|
957
|
+
t2 = "group";
|
|
958
|
+
t3 = styleProps;
|
|
959
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
960
|
+
$[4] = className;
|
|
961
|
+
$[5] = sx;
|
|
962
|
+
$[6] = t1;
|
|
963
|
+
$[7] = t2;
|
|
964
|
+
$[8] = t3;
|
|
965
|
+
$[9] = t4;
|
|
966
|
+
} else {
|
|
967
|
+
t1 = $[6];
|
|
968
|
+
t2 = $[7];
|
|
969
|
+
t3 = $[8];
|
|
970
|
+
t4 = $[9];
|
|
971
|
+
}
|
|
972
|
+
let t5;
|
|
973
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
974
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
975
|
+
"data-slot": t1,
|
|
976
|
+
"data-sidebar": t2,
|
|
977
|
+
...t3,
|
|
978
|
+
className: t4,
|
|
979
|
+
...props
|
|
980
|
+
});
|
|
981
|
+
$[10] = props;
|
|
982
|
+
$[11] = t1;
|
|
983
|
+
$[12] = t2;
|
|
984
|
+
$[13] = t3;
|
|
985
|
+
$[14] = t4;
|
|
986
|
+
$[15] = t5;
|
|
987
|
+
} else t5 = $[15];
|
|
988
|
+
return t5;
|
|
989
|
+
}
|
|
990
|
+
function SidebarGroupLabel({ className, asChild = false, sx, ...props }) {
|
|
991
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "div";
|
|
992
|
+
const styleProps = _stylexjs_stylex.props(styles.groupLabel, sx);
|
|
993
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
994
|
+
"data-slot": "sidebar-group-label",
|
|
995
|
+
"data-sidebar": "group-label",
|
|
996
|
+
...styleProps,
|
|
997
|
+
className: require_utils.cn(styleProps.className, className),
|
|
998
|
+
...props
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
function SidebarGroupAction({ className, asChild = false, sx, ...props }) {
|
|
1002
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "button";
|
|
1003
|
+
const styleProps = _stylexjs_stylex.props(styles.groupAction, sx);
|
|
1004
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
1005
|
+
"data-slot": "sidebar-group-action",
|
|
1006
|
+
"data-sidebar": "group-action",
|
|
1007
|
+
...styleProps,
|
|
1008
|
+
className: require_utils.cn(styleProps.className, className),
|
|
1009
|
+
...props
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1012
|
+
function SidebarGroupContent(t0) {
|
|
1013
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1014
|
+
let className;
|
|
1015
|
+
let props;
|
|
1016
|
+
let sx;
|
|
1017
|
+
if ($[0] !== t0) {
|
|
1018
|
+
({className, sx, ...props} = t0);
|
|
1019
|
+
$[0] = t0;
|
|
1020
|
+
$[1] = className;
|
|
1021
|
+
$[2] = props;
|
|
1022
|
+
$[3] = sx;
|
|
1023
|
+
} else {
|
|
1024
|
+
className = $[1];
|
|
1025
|
+
props = $[2];
|
|
1026
|
+
sx = $[3];
|
|
1027
|
+
}
|
|
1028
|
+
let t1;
|
|
1029
|
+
let t2;
|
|
1030
|
+
let t3;
|
|
1031
|
+
let t4;
|
|
1032
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1033
|
+
const styleProps = _stylexjs_stylex.props(styles.groupContent, sx);
|
|
1034
|
+
t1 = "sidebar-group-content";
|
|
1035
|
+
t2 = "group-content";
|
|
1036
|
+
t3 = styleProps;
|
|
1037
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1038
|
+
$[4] = className;
|
|
1039
|
+
$[5] = sx;
|
|
1040
|
+
$[6] = t1;
|
|
1041
|
+
$[7] = t2;
|
|
1042
|
+
$[8] = t3;
|
|
1043
|
+
$[9] = t4;
|
|
1044
|
+
} else {
|
|
1045
|
+
t1 = $[6];
|
|
1046
|
+
t2 = $[7];
|
|
1047
|
+
t3 = $[8];
|
|
1048
|
+
t4 = $[9];
|
|
1049
|
+
}
|
|
1050
|
+
let t5;
|
|
1051
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1052
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1053
|
+
"data-slot": t1,
|
|
1054
|
+
"data-sidebar": t2,
|
|
1055
|
+
...t3,
|
|
1056
|
+
className: t4,
|
|
1057
|
+
...props
|
|
1058
|
+
});
|
|
1059
|
+
$[10] = props;
|
|
1060
|
+
$[11] = t1;
|
|
1061
|
+
$[12] = t2;
|
|
1062
|
+
$[13] = t3;
|
|
1063
|
+
$[14] = t4;
|
|
1064
|
+
$[15] = t5;
|
|
1065
|
+
} else t5 = $[15];
|
|
1066
|
+
return t5;
|
|
1067
|
+
}
|
|
1068
|
+
function SidebarMenu(t0) {
|
|
1069
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1070
|
+
let className;
|
|
1071
|
+
let props;
|
|
1072
|
+
let sx;
|
|
1073
|
+
if ($[0] !== t0) {
|
|
1074
|
+
({className, sx, ...props} = t0);
|
|
1075
|
+
$[0] = t0;
|
|
1076
|
+
$[1] = className;
|
|
1077
|
+
$[2] = props;
|
|
1078
|
+
$[3] = sx;
|
|
1079
|
+
} else {
|
|
1080
|
+
className = $[1];
|
|
1081
|
+
props = $[2];
|
|
1082
|
+
sx = $[3];
|
|
1083
|
+
}
|
|
1084
|
+
let t1;
|
|
1085
|
+
let t2;
|
|
1086
|
+
let t3;
|
|
1087
|
+
let t4;
|
|
1088
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1089
|
+
const styleProps = _stylexjs_stylex.props(styles.menu, sx);
|
|
1090
|
+
t1 = "sidebar-menu";
|
|
1091
|
+
t2 = "menu";
|
|
1092
|
+
t3 = styleProps;
|
|
1093
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1094
|
+
$[4] = className;
|
|
1095
|
+
$[5] = sx;
|
|
1096
|
+
$[6] = t1;
|
|
1097
|
+
$[7] = t2;
|
|
1098
|
+
$[8] = t3;
|
|
1099
|
+
$[9] = t4;
|
|
1100
|
+
} else {
|
|
1101
|
+
t1 = $[6];
|
|
1102
|
+
t2 = $[7];
|
|
1103
|
+
t3 = $[8];
|
|
1104
|
+
t4 = $[9];
|
|
1105
|
+
}
|
|
1106
|
+
let t5;
|
|
1107
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1108
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
1109
|
+
"data-slot": t1,
|
|
1110
|
+
"data-sidebar": t2,
|
|
1111
|
+
...t3,
|
|
1112
|
+
className: t4,
|
|
1113
|
+
...props
|
|
1114
|
+
});
|
|
1115
|
+
$[10] = props;
|
|
1116
|
+
$[11] = t1;
|
|
1117
|
+
$[12] = t2;
|
|
1118
|
+
$[13] = t3;
|
|
1119
|
+
$[14] = t4;
|
|
1120
|
+
$[15] = t5;
|
|
1121
|
+
} else t5 = $[15];
|
|
1122
|
+
return t5;
|
|
1123
|
+
}
|
|
1124
|
+
function SidebarMenuItem(t0) {
|
|
1125
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1126
|
+
let className;
|
|
1127
|
+
let props;
|
|
1128
|
+
let sx;
|
|
1129
|
+
if ($[0] !== t0) {
|
|
1130
|
+
({className, sx, ...props} = t0);
|
|
1131
|
+
$[0] = t0;
|
|
1132
|
+
$[1] = className;
|
|
1133
|
+
$[2] = props;
|
|
1134
|
+
$[3] = sx;
|
|
1135
|
+
} else {
|
|
1136
|
+
className = $[1];
|
|
1137
|
+
props = $[2];
|
|
1138
|
+
sx = $[3];
|
|
1139
|
+
}
|
|
1140
|
+
let t1;
|
|
1141
|
+
let t2;
|
|
1142
|
+
let t3;
|
|
1143
|
+
let t4;
|
|
1144
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1145
|
+
const styleProps = _stylexjs_stylex.props(styles.menuItem, sx);
|
|
1146
|
+
t1 = "sidebar-menu-item";
|
|
1147
|
+
t2 = "menu-item";
|
|
1148
|
+
t3 = styleProps;
|
|
1149
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1150
|
+
$[4] = className;
|
|
1151
|
+
$[5] = sx;
|
|
1152
|
+
$[6] = t1;
|
|
1153
|
+
$[7] = t2;
|
|
1154
|
+
$[8] = t3;
|
|
1155
|
+
$[9] = t4;
|
|
1156
|
+
} else {
|
|
1157
|
+
t1 = $[6];
|
|
1158
|
+
t2 = $[7];
|
|
1159
|
+
t3 = $[8];
|
|
1160
|
+
t4 = $[9];
|
|
1161
|
+
}
|
|
1162
|
+
let t5;
|
|
1163
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1164
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
1165
|
+
"data-slot": t1,
|
|
1166
|
+
"data-sidebar": t2,
|
|
1167
|
+
...t3,
|
|
1168
|
+
className: t4,
|
|
1169
|
+
...props
|
|
1170
|
+
});
|
|
1171
|
+
$[10] = props;
|
|
1172
|
+
$[11] = t1;
|
|
1173
|
+
$[12] = t2;
|
|
1174
|
+
$[13] = t3;
|
|
1175
|
+
$[14] = t4;
|
|
1176
|
+
$[15] = t5;
|
|
1177
|
+
} else t5 = $[15];
|
|
1178
|
+
return t5;
|
|
1179
|
+
}
|
|
1180
|
+
var sidebarMenuButtonVariants = () => {
|
|
1181
|
+
return "";
|
|
1182
|
+
};
|
|
1183
|
+
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, sx, ...props }) {
|
|
1184
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "button";
|
|
1185
|
+
const { isMobile, state } = useSidebar();
|
|
1186
|
+
const sizeStyle = size === "sm" ? styles.sizeSm : size === "lg" ? styles.sizeLg : styles.sizeDefault;
|
|
1187
|
+
const variantStyle = variant === "outline" ? styles.menuButtonOutline : void 0;
|
|
1188
|
+
const activeStyle = isActive ? styles.menuButtonActive : void 0;
|
|
1189
|
+
const styleProps = _stylexjs_stylex.props(styles.menuButtonBase, variantStyle, sizeStyle, activeStyle, sx);
|
|
1190
|
+
const button = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
1191
|
+
"data-slot": "sidebar-menu-button",
|
|
1192
|
+
"data-sidebar": "menu-button",
|
|
1193
|
+
"data-size": size,
|
|
1194
|
+
"data-active": isActive,
|
|
1195
|
+
...styleProps,
|
|
1196
|
+
className: require_utils.cn(styleProps.className, className),
|
|
1197
|
+
...props
|
|
1198
|
+
});
|
|
1199
|
+
if (!tooltip) return button;
|
|
1200
|
+
if (typeof tooltip === "string") tooltip = { children: tooltip };
|
|
1201
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tooltip.Tooltip, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tooltip.TooltipTrigger, {
|
|
1202
|
+
asChild: true,
|
|
1203
|
+
children: button
|
|
1204
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_tooltip.TooltipContent, {
|
|
1205
|
+
side: "right",
|
|
1206
|
+
align: "center",
|
|
1207
|
+
hidden: state !== "collapsed" || isMobile,
|
|
1208
|
+
...tooltip
|
|
1209
|
+
})] });
|
|
1210
|
+
}
|
|
1211
|
+
function SidebarMenuAction({ className, asChild = false, showOnHover = false, sx, ...props }) {
|
|
1212
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "button";
|
|
1213
|
+
const styleProps = _stylexjs_stylex.props(styles.menuAction, sx);
|
|
1214
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
1215
|
+
"data-slot": "sidebar-menu-action",
|
|
1216
|
+
"data-sidebar": "menu-action",
|
|
1217
|
+
...styleProps,
|
|
1218
|
+
className: require_utils.cn(styleProps.className, className),
|
|
1219
|
+
...props
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
function SidebarMenuBadge(t0) {
|
|
1223
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1224
|
+
let className;
|
|
1225
|
+
let props;
|
|
1226
|
+
let sx;
|
|
1227
|
+
if ($[0] !== t0) {
|
|
1228
|
+
({className, sx, ...props} = t0);
|
|
1229
|
+
$[0] = t0;
|
|
1230
|
+
$[1] = className;
|
|
1231
|
+
$[2] = props;
|
|
1232
|
+
$[3] = sx;
|
|
1233
|
+
} else {
|
|
1234
|
+
className = $[1];
|
|
1235
|
+
props = $[2];
|
|
1236
|
+
sx = $[3];
|
|
1237
|
+
}
|
|
1238
|
+
let t1;
|
|
1239
|
+
let t2;
|
|
1240
|
+
let t3;
|
|
1241
|
+
let t4;
|
|
1242
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1243
|
+
const styleProps = _stylexjs_stylex.props(styles.menuBadge, sx);
|
|
1244
|
+
t1 = "sidebar-menu-badge";
|
|
1245
|
+
t2 = "menu-badge";
|
|
1246
|
+
t3 = styleProps;
|
|
1247
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1248
|
+
$[4] = className;
|
|
1249
|
+
$[5] = sx;
|
|
1250
|
+
$[6] = t1;
|
|
1251
|
+
$[7] = t2;
|
|
1252
|
+
$[8] = t3;
|
|
1253
|
+
$[9] = t4;
|
|
1254
|
+
} else {
|
|
1255
|
+
t1 = $[6];
|
|
1256
|
+
t2 = $[7];
|
|
1257
|
+
t3 = $[8];
|
|
1258
|
+
t4 = $[9];
|
|
1259
|
+
}
|
|
1260
|
+
let t5;
|
|
1261
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1262
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1263
|
+
"data-slot": t1,
|
|
1264
|
+
"data-sidebar": t2,
|
|
1265
|
+
...t3,
|
|
1266
|
+
className: t4,
|
|
1267
|
+
...props
|
|
1268
|
+
});
|
|
1269
|
+
$[10] = props;
|
|
1270
|
+
$[11] = t1;
|
|
1271
|
+
$[12] = t2;
|
|
1272
|
+
$[13] = t3;
|
|
1273
|
+
$[14] = t4;
|
|
1274
|
+
$[15] = t5;
|
|
1275
|
+
} else t5 = $[15];
|
|
1276
|
+
return t5;
|
|
1277
|
+
}
|
|
1278
|
+
function SidebarMenuSkeleton({ className, showIcon = false, sx, ...props }) {
|
|
1279
|
+
const width = (0, react.useMemo)(() => {
|
|
1280
|
+
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
1281
|
+
}, []);
|
|
1282
|
+
const styleProps = _stylexjs_stylex.props(styles.skeletonContainer, sx);
|
|
1283
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1284
|
+
"data-slot": "sidebar-menu-skeleton",
|
|
1285
|
+
"data-sidebar": "menu-skeleton",
|
|
1286
|
+
...styleProps,
|
|
1287
|
+
className: require_utils.cn(styleProps.className, className),
|
|
1288
|
+
...props,
|
|
1289
|
+
children: [showIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_skeleton.Skeleton, {
|
|
1290
|
+
sx: styles.skeletonIcon,
|
|
1291
|
+
"data-sidebar": "menu-skeleton-icon"
|
|
1292
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_skeleton.Skeleton, {
|
|
1293
|
+
sx: styles.skeletonText,
|
|
1294
|
+
"data-sidebar": "menu-skeleton-text",
|
|
1295
|
+
style: {
|
|
1296
|
+
"--skeleton-width": width,
|
|
1297
|
+
width
|
|
1298
|
+
}
|
|
1299
|
+
})]
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
function SidebarMenuSub(t0) {
|
|
1303
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1304
|
+
let className;
|
|
1305
|
+
let props;
|
|
1306
|
+
let sx;
|
|
1307
|
+
if ($[0] !== t0) {
|
|
1308
|
+
({className, sx, ...props} = t0);
|
|
1309
|
+
$[0] = t0;
|
|
1310
|
+
$[1] = className;
|
|
1311
|
+
$[2] = props;
|
|
1312
|
+
$[3] = sx;
|
|
1313
|
+
} else {
|
|
1314
|
+
className = $[1];
|
|
1315
|
+
props = $[2];
|
|
1316
|
+
sx = $[3];
|
|
1317
|
+
}
|
|
1318
|
+
let t1;
|
|
1319
|
+
let t2;
|
|
1320
|
+
let t3;
|
|
1321
|
+
let t4;
|
|
1322
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1323
|
+
const styleProps = _stylexjs_stylex.props(styles.menuSub, sx);
|
|
1324
|
+
t1 = "sidebar-menu-sub";
|
|
1325
|
+
t2 = "menu-sub";
|
|
1326
|
+
t3 = styleProps;
|
|
1327
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1328
|
+
$[4] = className;
|
|
1329
|
+
$[5] = sx;
|
|
1330
|
+
$[6] = t1;
|
|
1331
|
+
$[7] = t2;
|
|
1332
|
+
$[8] = t3;
|
|
1333
|
+
$[9] = t4;
|
|
1334
|
+
} else {
|
|
1335
|
+
t1 = $[6];
|
|
1336
|
+
t2 = $[7];
|
|
1337
|
+
t3 = $[8];
|
|
1338
|
+
t4 = $[9];
|
|
1339
|
+
}
|
|
1340
|
+
let t5;
|
|
1341
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1342
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
1343
|
+
"data-slot": t1,
|
|
1344
|
+
"data-sidebar": t2,
|
|
1345
|
+
...t3,
|
|
1346
|
+
className: t4,
|
|
1347
|
+
...props
|
|
1348
|
+
});
|
|
1349
|
+
$[10] = props;
|
|
1350
|
+
$[11] = t1;
|
|
1351
|
+
$[12] = t2;
|
|
1352
|
+
$[13] = t3;
|
|
1353
|
+
$[14] = t4;
|
|
1354
|
+
$[15] = t5;
|
|
1355
|
+
} else t5 = $[15];
|
|
1356
|
+
return t5;
|
|
1357
|
+
}
|
|
1358
|
+
function SidebarMenuSubItem(t0) {
|
|
1359
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
1360
|
+
let className;
|
|
1361
|
+
let props;
|
|
1362
|
+
let sx;
|
|
1363
|
+
if ($[0] !== t0) {
|
|
1364
|
+
({className, sx, ...props} = t0);
|
|
1365
|
+
$[0] = t0;
|
|
1366
|
+
$[1] = className;
|
|
1367
|
+
$[2] = props;
|
|
1368
|
+
$[3] = sx;
|
|
1369
|
+
} else {
|
|
1370
|
+
className = $[1];
|
|
1371
|
+
props = $[2];
|
|
1372
|
+
sx = $[3];
|
|
1373
|
+
}
|
|
1374
|
+
let t1;
|
|
1375
|
+
let t2;
|
|
1376
|
+
let t3;
|
|
1377
|
+
let t4;
|
|
1378
|
+
if ($[4] !== className || $[5] !== sx) {
|
|
1379
|
+
const styleProps = _stylexjs_stylex.props(styles.menuSubItem, sx);
|
|
1380
|
+
t1 = "sidebar-menu-sub-item";
|
|
1381
|
+
t2 = "menu-sub-item";
|
|
1382
|
+
t3 = styleProps;
|
|
1383
|
+
t4 = require_utils.cn(styleProps.className, className);
|
|
1384
|
+
$[4] = className;
|
|
1385
|
+
$[5] = sx;
|
|
1386
|
+
$[6] = t1;
|
|
1387
|
+
$[7] = t2;
|
|
1388
|
+
$[8] = t3;
|
|
1389
|
+
$[9] = t4;
|
|
1390
|
+
} else {
|
|
1391
|
+
t1 = $[6];
|
|
1392
|
+
t2 = $[7];
|
|
1393
|
+
t3 = $[8];
|
|
1394
|
+
t4 = $[9];
|
|
1395
|
+
}
|
|
1396
|
+
let t5;
|
|
1397
|
+
if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4) {
|
|
1398
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
1399
|
+
"data-slot": t1,
|
|
1400
|
+
"data-sidebar": t2,
|
|
1401
|
+
...t3,
|
|
1402
|
+
className: t4,
|
|
1403
|
+
...props
|
|
1404
|
+
});
|
|
1405
|
+
$[10] = props;
|
|
1406
|
+
$[11] = t1;
|
|
1407
|
+
$[12] = t2;
|
|
1408
|
+
$[13] = t3;
|
|
1409
|
+
$[14] = t4;
|
|
1410
|
+
$[15] = t5;
|
|
1411
|
+
} else t5 = $[15];
|
|
1412
|
+
return t5;
|
|
1413
|
+
}
|
|
1414
|
+
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className, sx, ...props }) {
|
|
1415
|
+
const Comp = asChild ? _radix_ui_react_slot.Slot : "a";
|
|
1416
|
+
const sizeStyle = size === "sm" ? styles.subBtnSm : styles.subBtnMd;
|
|
1417
|
+
const activeStyle = isActive ? styles.subBtnActive : void 0;
|
|
1418
|
+
const styleProps = _stylexjs_stylex.props(styles.menuSubButton, sizeStyle, activeStyle, sx);
|
|
1419
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
|
|
1420
|
+
"data-slot": "sidebar-menu-sub-button",
|
|
1421
|
+
"data-sidebar": "menu-sub-button",
|
|
1422
|
+
"data-size": size,
|
|
1423
|
+
"data-active": isActive,
|
|
1424
|
+
...styleProps,
|
|
1425
|
+
className: require_utils.cn(styleProps.className, className),
|
|
1426
|
+
...props
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
exports.Sidebar = Sidebar;
|
|
1430
|
+
exports.SidebarContent = SidebarContent;
|
|
1431
|
+
exports.SidebarFooter = SidebarFooter;
|
|
1432
|
+
exports.SidebarGroup = SidebarGroup;
|
|
1433
|
+
exports.SidebarGroupAction = SidebarGroupAction;
|
|
1434
|
+
exports.SidebarGroupContent = SidebarGroupContent;
|
|
1435
|
+
exports.SidebarGroupLabel = SidebarGroupLabel;
|
|
1436
|
+
exports.SidebarHeader = SidebarHeader;
|
|
1437
|
+
exports.SidebarInput = SidebarInput;
|
|
1438
|
+
exports.SidebarInset = SidebarInset;
|
|
1439
|
+
exports.SidebarMenu = SidebarMenu;
|
|
1440
|
+
exports.SidebarMenuAction = SidebarMenuAction;
|
|
1441
|
+
exports.SidebarMenuBadge = SidebarMenuBadge;
|
|
1442
|
+
exports.SidebarMenuButton = SidebarMenuButton;
|
|
1443
|
+
exports.SidebarMenuItem = SidebarMenuItem;
|
|
1444
|
+
exports.SidebarMenuSkeleton = SidebarMenuSkeleton;
|
|
1445
|
+
exports.SidebarMenuSub = SidebarMenuSub;
|
|
1446
|
+
exports.SidebarMenuSubButton = SidebarMenuSubButton;
|
|
1447
|
+
exports.SidebarMenuSubItem = SidebarMenuSubItem;
|
|
1448
|
+
exports.SidebarProvider = SidebarProvider;
|
|
1449
|
+
exports.SidebarRail = SidebarRail;
|
|
1450
|
+
exports.SidebarSeparator = SidebarSeparator;
|
|
1451
|
+
exports.SidebarTrigger = SidebarTrigger;
|
|
1452
|
+
exports.sidebarMenuButtonVariants = sidebarMenuButtonVariants;
|
|
1453
|
+
exports.useSidebar = useSidebar;
|