@g4rcez/components 4.1.3 → 5.0.1
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/ai/docs/AnimatedList.md +1 -1
- package/ai/docs/Autocomplete.md +2 -2
- package/ai/docs/Button.md +1 -1
- package/ai/docs/Card.md +7 -7
- package/ai/docs/DatePicker.md +2 -2
- package/ai/docs/Dropdown.md +7 -7
- package/ai/docs/Expand.md +5 -5
- package/ai/docs/Input.md +3 -3
- package/ai/docs/InputField.md +24 -14
- package/ai/docs/List.md +1 -1
- package/ai/docs/Modal.md +4 -4
- package/ai/docs/MultiSelect.md +2 -2
- package/ai/docs/PageCalendar.md +2 -2
- package/ai/docs/Polymorph.md +1 -1
- package/ai/docs/Resizable.md +3 -3
- package/ai/docs/Select.md +2 -2
- package/ai/docs/Skeleton.md +1 -1
- package/ai/docs/Slot.md +3 -3
- package/ai/docs/Spinner.md +1 -1
- package/ai/docs/Stats.md +1 -1
- package/ai/docs/Step.md +1 -1
- package/ai/docs/Tabs.md +1 -1
- package/ai/docs/Tag.md +1 -1
- package/ai/docs/TaskList.md +3 -3
- package/ai/docs/Textarea.md +2 -2
- package/ai/docs/Tooltip.md +13 -9
- package/ai/docs/Typography.md +1 -1
- package/ai/docs/index.md +17 -17
- package/dist/CaretDown.es-BXl0Ixp3.js +23 -0
- package/dist/CaretDown.es-BXl0Ixp3.js.map +1 -0
- package/dist/CaretRight.es-B2mpMfqU.js +23 -0
- package/dist/CaretRight.es-B2mpMfqU.js.map +1 -0
- package/dist/CheckCircle.es-BB91gLT-.js +23 -0
- package/dist/CheckCircle.es-BB91gLT-.js.map +1 -0
- package/dist/File.es-CjNVQ00B.js +23 -0
- package/dist/File.es-CjNVQ00B.js.map +1 -0
- package/dist/IconBase.es-BlJQ9IXo.js +27 -0
- package/dist/IconBase.es-BlJQ9IXo.js.map +1 -0
- package/dist/Info.es-Dvln8pws.js +23 -0
- package/dist/Info.es-Dvln8pws.js.map +1 -0
- package/dist/MotionConfig-DKKYqBH2.js +27 -0
- package/dist/MotionConfig-DKKYqBH2.js.map +1 -0
- package/dist/MotionConfigContext-BORpSKe8.js +2571 -0
- package/dist/MotionConfigContext-BORpSKe8.js.map +1 -0
- package/dist/Warning.es-B_xCn-P5.js +23 -0
- package/dist/Warning.es-B_xCn-P5.js.map +1 -0
- package/dist/X.es-Cjq2a_OA.js +23 -0
- package/dist/X.es-Cjq2a_OA.js.map +1 -0
- package/dist/animate-BNYgkk_j.js +387 -0
- package/dist/animate-BNYgkk_j.js.map +1 -0
- package/dist/autocomplete-D3VOTihi.js +415 -0
- package/dist/autocomplete-D3VOTihi.js.map +1 -0
- package/dist/calendar-PCCZDUIL.js +1678 -0
- package/dist/calendar-PCCZDUIL.js.map +1 -0
- package/dist/components/core/button.js +75 -75
- package/dist/components/core/button.js.map +1 -1
- package/dist/components/core/tag.js +66 -66
- package/dist/components/core/tag.js.map +1 -1
- package/dist/components/display/alert.js +133 -95
- package/dist/components/display/alert.js.map +1 -1
- package/dist/components/display/calendar.js +3 -15
- package/dist/components/display/card.js +73 -82
- package/dist/components/display/card.js.map +1 -1
- package/dist/components/display/list.js +153 -93
- package/dist/components/display/list.js.map +1 -1
- package/dist/components/display/notifications.js +3 -15
- package/dist/components/display/stats.js +30 -16
- package/dist/components/display/stats.js.map +1 -1
- package/dist/components/display/tabs.js +3 -12
- package/dist/components/display/timeline.js +47 -28
- package/dist/components/display/timeline.js.map +1 -1
- package/dist/components/floating/dropdown.js +76 -65
- package/dist/components/floating/dropdown.js.map +1 -1
- package/dist/components/floating/expand.js +62 -40
- package/dist/components/floating/expand.js.map +1 -1
- package/dist/components/floating/menu.js +195 -177
- package/dist/components/floating/menu.js.map +1 -1
- package/dist/components/floating/modal.js +3 -301
- package/dist/components/floating/tooltip.js +63 -73
- package/dist/components/floating/tooltip.js.map +1 -1
- package/dist/components/form/autocomplete.js +3 -16
- package/dist/components/form/checkbox.js +34 -44
- package/dist/components/form/checkbox.js.map +1 -1
- package/dist/components/form/date-picker.js +3 -12
- package/dist/components/form/file-upload.js +3 -11
- package/dist/components/form/form.js +16 -7
- package/dist/components/form/form.js.map +1 -1
- package/dist/components/form/input.js +3 -5
- package/dist/components/form/radiobox.js +19 -30
- package/dist/components/form/radiobox.js.map +1 -1
- package/dist/components/form/select.js +77 -106
- package/dist/components/form/select.js.map +1 -1
- package/dist/components/form/switch.js +73 -64
- package/dist/components/form/switch.js.map +1 -1
- package/dist/components/form/task-list.js +3 -68
- package/dist/components/table/table.js +3 -10
- package/dist/date-picker-BhKEFZew.js +1498 -0
- package/dist/date-picker-BhKEFZew.js.map +1 -0
- package/dist/dist-BHFtgf5x.js +2593 -0
- package/dist/dist-BHFtgf5x.js.map +1 -0
- package/dist/dist-BrGpYRaj.js +178 -0
- package/dist/dist-BrGpYRaj.js.map +1 -0
- package/dist/dist-NmFtbuK4.js +35 -0
- package/dist/dist-NmFtbuK4.js.map +1 -0
- package/dist/dom-Bn4wY_Zx.js +2168 -0
- package/dist/dom-Bn4wY_Zx.js.map +1 -0
- package/dist/file-upload-DWbZfeG5.js +2966 -0
- package/dist/file-upload-DWbZfeG5.js.map +1 -0
- package/dist/floating-ui.react-CwXtBJ_y.js +3381 -0
- package/dist/floating-ui.react-CwXtBJ_y.js.map +1 -0
- package/dist/floating-ui.utils-CUrVRSbA.js +204 -0
- package/dist/floating-ui.utils-CUrVRSbA.js.map +1 -0
- package/dist/fns-KbsWlOTG.js +29 -0
- package/dist/fns-KbsWlOTG.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +7932 -20
- package/dist/index.js.map +1 -1
- package/dist/input-B7jqwPG4.js +473 -0
- package/dist/input-B7jqwPG4.js.map +1 -0
- package/dist/input-field-B_whI66Q.js +137 -0
- package/dist/input-field-B_whI66Q.js.map +1 -0
- package/dist/modal-Bz-61ays.js +373 -0
- package/dist/modal-Bz-61ays.js.map +1 -0
- package/dist/notifications-MT4XkLov.js +2203 -0
- package/dist/notifications-MT4XkLov.js.map +1 -0
- package/dist/polymorph-BLXhrn9n.js +14 -0
- package/dist/polymorph-BLXhrn9n.js.map +1 -0
- package/dist/preset/preset.tailwind.d.ts.map +1 -1
- package/dist/preset/preset.tailwind.js +40 -4
- package/dist/preset/src/styles/common.d.ts +0 -2
- package/dist/preset/src/styles/common.d.ts.map +1 -1
- package/dist/preset/src/styles/common.js +0 -9
- package/dist/preset/src/styles/components.d.ts +3 -0
- package/dist/preset/src/styles/components.d.ts.map +1 -0
- package/dist/preset/src/styles/components.js +400 -0
- package/dist/preset/src/styles/dark.d.ts.map +1 -1
- package/dist/preset/src/styles/dark.js +5 -3
- package/dist/preset/src/styles/default-tokens.d.ts +74 -0
- package/dist/preset/src/styles/default-tokens.d.ts.map +1 -0
- package/dist/preset/src/styles/default-tokens.js +44 -0
- package/dist/preset/src/styles/design-tokens.d.ts +1 -1
- package/dist/preset/src/styles/design-tokens.d.ts.map +1 -1
- package/dist/preset/src/styles/design-tokens.js +6 -2
- package/dist/preset/src/styles/light.d.ts.map +1 -1
- package/dist/preset/src/styles/light.js +22 -20
- package/dist/preset/src/styles/theme.types.d.ts +433 -8
- package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
- package/dist/proxy-BcJ_5Dwq.js +2530 -0
- package/dist/proxy-BcJ_5Dwq.js.map +1 -0
- package/dist/skeleton-CBYEq3lM.js +26 -0
- package/dist/skeleton-CBYEq3lM.js.map +1 -0
- package/dist/slot-pC8kH9De.js +96 -0
- package/dist/slot-pC8kH9De.js.map +1 -0
- package/dist/styles/common.d.ts +0 -2
- package/dist/styles/common.d.ts.map +1 -1
- package/dist/styles/common.js +0 -9
- package/dist/styles/components.d.ts +3 -0
- package/dist/styles/components.d.ts.map +1 -0
- package/dist/styles/components.js +400 -0
- package/dist/styles/dark.d.ts.map +1 -1
- package/dist/styles/dark.js +5 -3
- package/dist/styles/default-tokens.d.ts +74 -0
- package/dist/styles/default-tokens.d.ts.map +1 -0
- package/dist/styles/default-tokens.js +44 -0
- package/dist/styles/design-tokens.d.ts +1 -1
- package/dist/styles/design-tokens.d.ts.map +1 -1
- package/dist/styles/design-tokens.js +6 -2
- package/dist/styles/light.d.ts.map +1 -1
- package/dist/styles/light.js +22 -20
- package/dist/styles/theme.types.d.ts +433 -8
- package/dist/styles/theme.types.d.ts.map +1 -1
- package/dist/table-CUFbAI2k.js +1914 -0
- package/dist/table-CUFbAI2k.js.map +1 -0
- package/dist/tabs-Ciy0l9OF.js +122 -0
- package/dist/tabs-Ciy0l9OF.js.map +1 -0
- package/dist/task-list-tKumO4WH.js +96 -0
- package/dist/task-list-tKumO4WH.js.map +1 -0
- package/dist/use-motion-value-BqPF1j90.js +15 -0
- package/dist/use-motion-value-BqPF1j90.js.map +1 -0
- package/dist/use-stable-ref-D5LFCx0u.js +12 -0
- package/dist/use-stable-ref-D5LFCx0u.js.map +1 -0
- package/dist/use-translations-DTLfPE3_.js +177 -0
- package/dist/use-translations-DTLfPE3_.js.map +1 -0
- package/package.json +17 -17
- package/dist/CaretDown.es-Cj7klWI3.js +0 -33
- package/dist/CaretDown.es-Cj7klWI3.js.map +0 -1
- package/dist/CaretRight.es-0-M8D9y8.js +0 -33
- package/dist/CaretRight.es-0-M8D9y8.js.map +0 -1
- package/dist/CheckCircle.es-C6QWLfk_.js +0 -33
- package/dist/CheckCircle.es-C6QWLfk_.js.map +0 -1
- package/dist/File.es-CA-vuPED.js +0 -33
- package/dist/File.es-CA-vuPED.js.map +0 -1
- package/dist/IconBase.es-DJ1oCtpo.js +0 -50
- package/dist/IconBase.es-DJ1oCtpo.js.map +0 -1
- package/dist/Info.es-CrZKs4q4.js +0 -33
- package/dist/Info.es-CrZKs4q4.js.map +0 -1
- package/dist/MotionConfigContext-C7MqlSdv.js +0 -2713
- package/dist/MotionConfigContext-C7MqlSdv.js.map +0 -1
- package/dist/Warning.es-D_eI6tLe.js +0 -39
- package/dist/Warning.es-D_eI6tLe.js.map +0 -1
- package/dist/X.es-BJ1O93El.js +0 -39
- package/dist/X.es-BJ1O93El.js.map +0 -1
- package/dist/autocomplete-DcTNOwyg.js +0 -393
- package/dist/autocomplete-DcTNOwyg.js.map +0 -1
- package/dist/calendar-BJMHRoy2.js +0 -1746
- package/dist/calendar-BJMHRoy2.js.map +0 -1
- package/dist/components/core/button.d.ts +0 -77
- package/dist/components/core/button.d.ts.map +0 -1
- package/dist/components/core/button.jsx +0 -79
- package/dist/components/core/heading.d.ts +0 -3
- package/dist/components/core/heading.d.ts.map +0 -1
- package/dist/components/core/heading.jsx +0 -4
- package/dist/components/core/polymorph.d.ts +0 -10
- package/dist/components/core/polymorph.d.ts.map +0 -1
- package/dist/components/core/polymorph.jsx +0 -5
- package/dist/components/core/render-on-view.d.ts +0 -7
- package/dist/components/core/render-on-view.d.ts.map +0 -1
- package/dist/components/core/render-on-view.jsx +0 -31
- package/dist/components/core/resizable.d.ts +0 -3
- package/dist/components/core/resizable.d.ts.map +0 -1
- package/dist/components/core/resizable.jsx +0 -51
- package/dist/components/core/slot.d.ts +0 -16
- package/dist/components/core/slot.d.ts.map +0 -1
- package/dist/components/core/slot.jsx +0 -156
- package/dist/components/core/tag.d.ts +0 -35
- package/dist/components/core/tag.d.ts.map +0 -1
- package/dist/components/core/tag.jsx +0 -51
- package/dist/components/core/typography.d.ts +0 -25
- package/dist/components/core/typography.d.ts.map +0 -1
- package/dist/components/core/typography.jsx +0 -18
- package/dist/components/display/alert.d.ts +0 -28
- package/dist/components/display/alert.d.ts.map +0 -1
- package/dist/components/display/alert.jsx +0 -61
- package/dist/components/display/calendar.d.ts +0 -42
- package/dist/components/display/calendar.d.ts.map +0 -1
- package/dist/components/display/calendar.js.map +0 -1
- package/dist/components/display/calendar.jsx +0 -299
- package/dist/components/display/card.d.ts +0 -29
- package/dist/components/display/card.d.ts.map +0 -1
- package/dist/components/display/card.jsx +0 -43
- package/dist/components/display/empty.d.ts +0 -8
- package/dist/components/display/empty.d.ts.map +0 -1
- package/dist/components/display/empty.jsx +0 -11
- package/dist/components/display/list.d.ts +0 -16
- package/dist/components/display/list.d.ts.map +0 -1
- package/dist/components/display/list.jsx +0 -81
- package/dist/components/display/notifications.d.ts +0 -27
- package/dist/components/display/notifications.d.ts.map +0 -1
- package/dist/components/display/notifications.js.map +0 -1
- package/dist/components/display/notifications.jsx +0 -126
- package/dist/components/display/progress.d.ts +0 -13
- package/dist/components/display/progress.d.ts.map +0 -1
- package/dist/components/display/progress.jsx +0 -11
- package/dist/components/display/shortcut.d.ts +0 -4
- package/dist/components/display/shortcut.d.ts.map +0 -1
- package/dist/components/display/shortcut.jsx +0 -23
- package/dist/components/display/skeleton.d.ts +0 -12
- package/dist/components/display/skeleton.d.ts.map +0 -1
- package/dist/components/display/skeleton.jsx +0 -19
- package/dist/components/display/spinner.d.ts +0 -5
- package/dist/components/display/spinner.d.ts.map +0 -1
- package/dist/components/display/spinner.jsx +0 -11
- package/dist/components/display/stats.d.ts +0 -12
- package/dist/components/display/stats.d.ts.map +0 -1
- package/dist/components/display/stats.jsx +0 -20
- package/dist/components/display/step.d.ts +0 -24
- package/dist/components/display/step.d.ts.map +0 -1
- package/dist/components/display/step.jsx +0 -131
- package/dist/components/display/tabs.d.ts +0 -24
- package/dist/components/display/tabs.d.ts.map +0 -1
- package/dist/components/display/tabs.js.map +0 -1
- package/dist/components/display/tabs.jsx +0 -125
- package/dist/components/display/timeline.d.ts +0 -10
- package/dist/components/display/timeline.d.ts.map +0 -1
- package/dist/components/display/timeline.jsx +0 -25
- package/dist/components/floating/command-palette.d.ts +0 -49
- package/dist/components/floating/command-palette.d.ts.map +0 -1
- package/dist/components/floating/command-palette.jsx +0 -197
- package/dist/components/floating/dropdown.d.ts +0 -15
- package/dist/components/floating/dropdown.d.ts.map +0 -1
- package/dist/components/floating/dropdown.jsx +0 -56
- package/dist/components/floating/expand.d.ts +0 -11
- package/dist/components/floating/expand.d.ts.map +0 -1
- package/dist/components/floating/expand.jsx +0 -44
- package/dist/components/floating/menu.d.ts +0 -52
- package/dist/components/floating/menu.d.ts.map +0 -1
- package/dist/components/floating/menu.jsx +0 -147
- package/dist/components/floating/modal.d.ts +0 -60
- package/dist/components/floating/modal.d.ts.map +0 -1
- package/dist/components/floating/modal.js.map +0 -1
- package/dist/components/floating/modal.jsx +0 -301
- package/dist/components/floating/toolbar.d.ts +0 -6
- package/dist/components/floating/toolbar.d.ts.map +0 -1
- package/dist/components/floating/toolbar.jsx +0 -5
- package/dist/components/floating/tooltip.d.ts +0 -17
- package/dist/components/floating/tooltip.d.ts.map +0 -1
- package/dist/components/floating/tooltip.jsx +0 -58
- package/dist/components/floating/wizard.d.ts +0 -26
- package/dist/components/floating/wizard.d.ts.map +0 -1
- package/dist/components/floating/wizard.jsx +0 -161
- package/dist/components/form/autocomplete.d.ts +0 -16
- package/dist/components/form/autocomplete.d.ts.map +0 -1
- package/dist/components/form/autocomplete.js.map +0 -1
- package/dist/components/form/autocomplete.jsx +0 -278
- package/dist/components/form/checkbox.d.ts +0 -12
- package/dist/components/form/checkbox.d.ts.map +0 -1
- package/dist/components/form/checkbox.jsx +0 -12
- package/dist/components/form/date-picker.d.ts +0 -10
- package/dist/components/form/date-picker.d.ts.map +0 -1
- package/dist/components/form/date-picker.js.map +0 -1
- package/dist/components/form/date-picker.jsx +0 -115
- package/dist/components/form/file-upload.d.ts +0 -15
- package/dist/components/form/file-upload.d.ts.map +0 -1
- package/dist/components/form/file-upload.js.map +0 -1
- package/dist/components/form/file-upload.jsx +0 -134
- package/dist/components/form/form.d.ts +0 -3
- package/dist/components/form/form.d.ts.map +0 -1
- package/dist/components/form/form.jsx +0 -10
- package/dist/components/form/formReset.d.ts +0 -2
- package/dist/components/form/formReset.d.ts.map +0 -1
- package/dist/components/form/formReset.jsx +0 -17
- package/dist/components/form/free-text.d.ts +0 -11
- package/dist/components/form/free-text.d.ts.map +0 -1
- package/dist/components/form/free-text.jsx +0 -41
- package/dist/components/form/input-field.d.ts +0 -34
- package/dist/components/form/input-field.d.ts.map +0 -1
- package/dist/components/form/input-field.jsx +0 -58
- package/dist/components/form/input.d.ts +0 -52
- package/dist/components/form/input.d.ts.map +0 -1
- package/dist/components/form/input.js.map +0 -1
- package/dist/components/form/input.jsx +0 -36
- package/dist/components/form/multi-select.d.ts +0 -19
- package/dist/components/form/multi-select.d.ts.map +0 -1
- package/dist/components/form/multi-select.jsx +0 -336
- package/dist/components/form/radiobox.d.ts +0 -7
- package/dist/components/form/radiobox.d.ts.map +0 -1
- package/dist/components/form/radiobox.jsx +0 -6
- package/dist/components/form/select.d.ts +0 -13
- package/dist/components/form/select.d.ts.map +0 -1
- package/dist/components/form/select.jsx +0 -42
- package/dist/components/form/slider.d.ts +0 -7
- package/dist/components/form/slider.d.ts.map +0 -1
- package/dist/components/form/slider.jsx +0 -45
- package/dist/components/form/switch.d.ts +0 -9
- package/dist/components/form/switch.d.ts.map +0 -1
- package/dist/components/form/switch.jsx +0 -46
- package/dist/components/form/task-list.d.ts +0 -3
- package/dist/components/form/task-list.d.ts.map +0 -1
- package/dist/components/form/task-list.js.map +0 -1
- package/dist/components/form/task-list.jsx +0 -26
- package/dist/components/form/textarea.d.ts +0 -6
- package/dist/components/form/textarea.d.ts.map +0 -1
- package/dist/components/form/textarea.jsx +0 -12
- package/dist/components/index.d.ts +0 -45
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -44
- package/dist/components/page-calendar/calendar-header.d.ts +0 -16
- package/dist/components/page-calendar/calendar-header.d.ts.map +0 -1
- package/dist/components/page-calendar/calendar-header.jsx +0 -83
- package/dist/components/page-calendar/day-view.d.ts +0 -12
- package/dist/components/page-calendar/day-view.d.ts.map +0 -1
- package/dist/components/page-calendar/day-view.jsx +0 -94
- package/dist/components/page-calendar/event-pill.d.ts +0 -9
- package/dist/components/page-calendar/event-pill.d.ts.map +0 -1
- package/dist/components/page-calendar/event-pill.jsx +0 -25
- package/dist/components/page-calendar/index.d.ts +0 -4
- package/dist/components/page-calendar/index.d.ts.map +0 -1
- package/dist/components/page-calendar/index.js +0 -2
- package/dist/components/page-calendar/month-view.d.ts +0 -11
- package/dist/components/page-calendar/month-view.d.ts.map +0 -1
- package/dist/components/page-calendar/month-view.jsx +0 -46
- package/dist/components/page-calendar/page-calendar.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.jsx +0 -41
- package/dist/components/page-calendar/page-calendar.types.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.types.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.types.js +0 -1
- package/dist/components/page-calendar/page-calendar.utils.d.ts +0 -24
- package/dist/components/page-calendar/page-calendar.utils.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.utils.js +0 -93
- package/dist/components/page-calendar/week-view.d.ts +0 -11
- package/dist/components/page-calendar/week-view.d.ts.map +0 -1
- package/dist/components/page-calendar/week-view.jsx +0 -71
- package/dist/components/table/filter.d.ts +0 -42
- package/dist/components/table/filter.d.ts.map +0 -1
- package/dist/components/table/filter.jsx +0 -141
- package/dist/components/table/group.d.ts +0 -17
- package/dist/components/table/group.d.ts.map +0 -1
- package/dist/components/table/group.jsx +0 -68
- package/dist/components/table/index.d.ts +0 -19
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/table/index.jsx +0 -60
- package/dist/components/table/inner-table.d.ts +0 -29
- package/dist/components/table/inner-table.d.ts.map +0 -1
- package/dist/components/table/inner-table.jsx +0 -102
- package/dist/components/table/metadata.d.ts +0 -4
- package/dist/components/table/metadata.d.ts.map +0 -1
- package/dist/components/table/metadata.jsx +0 -36
- package/dist/components/table/pagination.d.ts +0 -5
- package/dist/components/table/pagination.d.ts.map +0 -1
- package/dist/components/table/pagination.jsx +0 -74
- package/dist/components/table/row.d.ts +0 -11
- package/dist/components/table/row.d.ts.map +0 -1
- package/dist/components/table/row.jsx +0 -49
- package/dist/components/table/sort.d.ts +0 -28
- package/dist/components/table/sort.d.ts.map +0 -1
- package/dist/components/table/sort.jsx +0 -109
- package/dist/components/table/table-lib.d.ts +0 -135
- package/dist/components/table/table-lib.d.ts.map +0 -1
- package/dist/components/table/table-lib.js +0 -83
- package/dist/components/table/table.context.d.ts +0 -10
- package/dist/components/table/table.context.d.ts.map +0 -1
- package/dist/components/table/table.context.jsx +0 -4
- package/dist/components/table/table.js.map +0 -1
- package/dist/components/table/thead.d.ts +0 -9
- package/dist/components/table/thead.d.ts.map +0 -1
- package/dist/components/table/thead.jsx +0 -103
- package/dist/config/context.d.ts +0 -21
- package/dist/config/context.d.ts.map +0 -1
- package/dist/config/context.js +0 -12
- package/dist/config/default-translations.d.ts +0 -94
- package/dist/config/default-translations.d.ts.map +0 -1
- package/dist/config/default-translations.jsx +0 -87
- package/dist/config/default-tweaks.d.ts +0 -13
- package/dist/config/default-tweaks.d.ts.map +0 -1
- package/dist/config/default-tweaks.js +0 -4
- package/dist/constants-r-AHn273.js +0 -6
- package/dist/constants-r-AHn273.js.map +0 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -2
- package/dist/date-picker-Bnl07nd8.js +0 -1628
- package/dist/date-picker-Bnl07nd8.js.map +0 -1
- package/dist/dom-CyQHY7ID.js +0 -2838
- package/dist/dom-CyQHY7ID.js.map +0 -1
- package/dist/file-upload-93d5DR4q.js +0 -3255
- package/dist/file-upload-93d5DR4q.js.map +0 -1
- package/dist/floating-ui.react-M2PGXLDp.js +0 -3706
- package/dist/floating-ui.react-M2PGXLDp.js.map +0 -1
- package/dist/fns-C7Dt27Qd.js +0 -33
- package/dist/fns-C7Dt27Qd.js.map +0 -1
- package/dist/hooks/use-click-outside.d.ts +0 -3
- package/dist/hooks/use-click-outside.d.ts.map +0 -1
- package/dist/hooks/use-click-outside.js +0 -17
- package/dist/hooks/use-color-parser.d.ts +0 -2
- package/dist/hooks/use-color-parser.d.ts.map +0 -1
- package/dist/hooks/use-color-parser.js +0 -9
- package/dist/hooks/use-components-provider.d.ts +0 -15
- package/dist/hooks/use-components-provider.d.ts.map +0 -1
- package/dist/hooks/use-components-provider.jsx +0 -22
- package/dist/hooks/use-debounce.d.ts +0 -5
- package/dist/hooks/use-debounce.d.ts.map +0 -1
- package/dist/hooks/use-debounce.js +0 -12
- package/dist/hooks/use-floating-ref.d.ts +0 -2
- package/dist/hooks/use-floating-ref.d.ts.map +0 -1
- package/dist/hooks/use-floating-ref.js +0 -6
- package/dist/hooks/use-form.d.ts +0 -394
- package/dist/hooks/use-form.d.ts.map +0 -1
- package/dist/hooks/use-form.js +0 -563
- package/dist/hooks/use-hover.d.ts +0 -3
- package/dist/hooks/use-hover.d.ts.map +0 -1
- package/dist/hooks/use-hover.js +0 -18
- package/dist/hooks/use-input-id.d.ts +0 -4
- package/dist/hooks/use-input-id.d.ts.map +0 -1
- package/dist/hooks/use-input-id.js +0 -5
- package/dist/hooks/use-is-coarse-device.d.ts +0 -2
- package/dist/hooks/use-is-coarse-device.d.ts.map +0 -1
- package/dist/hooks/use-is-coarse-device.js +0 -12
- package/dist/hooks/use-locale.d.ts +0 -3
- package/dist/hooks/use-locale.d.ts.map +0 -1
- package/dist/hooks/use-locale.js +0 -10
- package/dist/hooks/use-media-query.d.ts +0 -2
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-media-query.js +0 -25
- package/dist/hooks/use-on-event.d.ts +0 -4
- package/dist/hooks/use-on-event.d.ts.map +0 -1
- package/dist/hooks/use-on-event.js +0 -7
- package/dist/hooks/use-parent.d.ts +0 -3
- package/dist/hooks/use-parent.d.ts.map +0 -1
- package/dist/hooks/use-parent.js +0 -21
- package/dist/hooks/use-preferences.d.ts +0 -2
- package/dist/hooks/use-preferences.d.ts.map +0 -1
- package/dist/hooks/use-preferences.js +0 -23
- package/dist/hooks/use-previous.d.ts +0 -2
- package/dist/hooks/use-previous.d.ts.map +0 -1
- package/dist/hooks/use-previous.js +0 -9
- package/dist/hooks/use-reactive.d.ts +0 -2
- package/dist/hooks/use-reactive.d.ts.map +0 -1
- package/dist/hooks/use-reactive.js +0 -9
- package/dist/hooks/use-remove-scroll.d.ts +0 -4
- package/dist/hooks/use-remove-scroll.d.ts.map +0 -1
- package/dist/hooks/use-remove-scroll.js +0 -48
- package/dist/hooks/use-resize-observer.d.ts +0 -2
- package/dist/hooks/use-resize-observer.d.ts.map +0 -1
- package/dist/hooks/use-resize-observer.js +0 -17
- package/dist/hooks/use-stable-ref.d.ts +0 -2
- package/dist/hooks/use-stable-ref.d.ts.map +0 -1
- package/dist/hooks/use-stable-ref.js +0 -9
- package/dist/hooks/use-swipe.d.ts +0 -8
- package/dist/hooks/use-swipe.d.ts.map +0 -1
- package/dist/hooks/use-swipe.js +0 -17
- package/dist/hooks/use-translations.d.ts +0 -92
- package/dist/hooks/use-translations.d.ts.map +0 -1
- package/dist/hooks/use-translations.js +0 -9
- package/dist/hooks/use-tweaks.d.ts +0 -3
- package/dist/hooks/use-tweaks.d.ts.map +0 -1
- package/dist/hooks/use-tweaks.js +0 -9
- package/dist/hooks/use-window-size.d.ts +0 -5
- package/dist/hooks/use-window-size.d.ts.map +0 -1
- package/dist/hooks/use-window-size.js +0 -14
- package/dist/index-0YMC-_Lt.js +0 -20
- package/dist/index-0YMC-_Lt.js.map +0 -1
- package/dist/index-BJ1ayTam.js +0 -126
- package/dist/index-BJ1ayTam.js.map +0 -1
- package/dist/index-C-PuFUZi.js +0 -3416
- package/dist/index-C-PuFUZi.js.map +0 -1
- package/dist/index-DDeQW0JW.js +0 -1816
- package/dist/index-DDeQW0JW.js.map +0 -1
- package/dist/index-DE4shK8D.js +0 -215
- package/dist/index-DE4shK8D.js.map +0 -1
- package/dist/index-DlJ_2RBL.js +0 -35
- package/dist/index-DlJ_2RBL.js.map +0 -1
- package/dist/index-t1qLJTt5.js +0 -351
- package/dist/index-t1qLJTt5.js.map +0 -1
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.esm-BaIwleSE.js +0 -343
- package/dist/index.esm-BaIwleSE.js.map +0 -1
- package/dist/input-_MVxmIpu.js +0 -443
- package/dist/input-_MVxmIpu.js.map +0 -1
- package/dist/input-field-CDCOODOl.js +0 -182
- package/dist/input-field-CDCOODOl.js.map +0 -1
- package/dist/lib/combi-keys.d.ts +0 -15
- package/dist/lib/combi-keys.d.ts.map +0 -1
- package/dist/lib/combi-keys.js +0 -60
- package/dist/lib/dict.d.ts +0 -9
- package/dist/lib/dict.d.ts.map +0 -1
- package/dist/lib/dict.js +0 -28
- package/dist/lib/dom.d.ts +0 -20
- package/dist/lib/dom.d.ts.map +0 -1
- package/dist/lib/dom.js +0 -66
- package/dist/lib/fns.d.ts +0 -11
- package/dist/lib/fns.d.ts.map +0 -1
- package/dist/lib/fns.js +0 -46
- package/dist/lib/fzf.d.ts +0 -16
- package/dist/lib/fzf.d.ts.map +0 -1
- package/dist/lib/fzf.js +0 -115
- package/dist/lib/keyboard-area.d.ts +0 -16
- package/dist/lib/keyboard-area.d.ts.map +0 -1
- package/dist/lib/keyboard-area.js +0 -14
- package/dist/notifications-Dp0ydKJS.js +0 -2576
- package/dist/notifications-Dp0ydKJS.js.map +0 -1
- package/dist/polymorph-B5n9fs_K.js +0 -10
- package/dist/polymorph-B5n9fs_K.js.map +0 -1
- package/dist/proxy-BZcQiBrp.js +0 -2495
- package/dist/proxy-BZcQiBrp.js.map +0 -1
- package/dist/skeleton-BjJobYYf.js +0 -24
- package/dist/skeleton-BjJobYYf.js.map +0 -1
- package/dist/slot-CRyweuj0.js +0 -79
- package/dist/slot-CRyweuj0.js.map +0 -1
- package/dist/tabs-B0g7YtQv.js +0 -123
- package/dist/tabs-B0g7YtQv.js.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
- package/dist/types.d.ts +0 -26
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/use-motion-value-eGwNuWuw.js +0 -14
- package/dist/use-motion-value-eGwNuWuw.js.map +0 -1
- package/dist/use-stable-ref-CYh-YkID.js +0 -11
- package/dist/use-stable-ref-CYh-YkID.js.map +0 -1
- package/dist/use-translations-DSltA7H_.js +0 -169
- package/dist/use-translations-DSltA7H_.js.map +0 -1
package/dist/index-DDeQW0JW.js
DELETED
|
@@ -1,1816 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import * as n from "react";
|
|
3
|
-
import P, { createContext as oe, useRef as F, useState as D, useCallback as W, useContext as B, useMemo as V, forwardRef as Re, useEffect as se, useId as dt, Fragment as M, createElement as mt } from "react";
|
|
4
|
-
import { u as ke } from "./index-BJ1ayTam.js";
|
|
5
|
-
import { u as Pe } from "./input-field-CDCOODOl.js";
|
|
6
|
-
import { X as ht } from "./index-C-PuFUZi.js";
|
|
7
|
-
import { I as De, k as ft } from "./dom-CyQHY7ID.js";
|
|
8
|
-
import { u as te } from "./use-stable-ref-CYh-YkID.js";
|
|
9
|
-
import { o as gt } from "./File.es-CA-vuPED.js";
|
|
10
|
-
import { u as x } from "./use-translations-DSltA7H_.js";
|
|
11
|
-
import { S as Oe } from "./skeleton-BjJobYYf.js";
|
|
12
|
-
import { P as J } from "./polymorph-B5n9fs_K.js";
|
|
13
|
-
import { p as pt, i as re, u as ie } from "./fns-C7Dt27Qd.js";
|
|
14
|
-
import { p as H } from "./IconBase.es-DJ1oCtpo.js";
|
|
15
|
-
import { Dropdown as j } from "./components/floating/dropdown.js";
|
|
16
|
-
import { Select as L } from "./components/form/select.js";
|
|
17
|
-
import { I as Ge } from "./input-_MVxmIpu.js";
|
|
18
|
-
import { u as ze, L as Ae, m as ce, A as ue } from "./proxy-BZcQiBrp.js";
|
|
19
|
-
import { B as yt, C as We, D as bt, E as K, u as q, m as At, F as vt, l as Be, d as wt } from "./MotionConfigContext-C7MqlSdv.js";
|
|
20
|
-
import { u as de } from "./use-motion-value-eGwNuWuw.js";
|
|
21
|
-
import { Button as Zt } from "./components/core/button.js";
|
|
22
|
-
const Et = /* @__PURE__ */ new Map([
|
|
23
|
-
[
|
|
24
|
-
"bold",
|
|
25
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z" }))
|
|
26
|
-
],
|
|
27
|
-
[
|
|
28
|
-
"duotone",
|
|
29
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M80,176h96l-48,48ZM128,32,80,80h96Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z" }))
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
"fill",
|
|
33
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z" }))
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
"light",
|
|
37
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48Z" }))
|
|
38
|
-
],
|
|
39
|
-
[
|
|
40
|
-
"regular",
|
|
41
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,85.66Z" }))
|
|
42
|
-
],
|
|
43
|
-
[
|
|
44
|
-
"thin",
|
|
45
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66Z" }))
|
|
46
|
-
]
|
|
47
|
-
]), Mt = /* @__PURE__ */ new Map([
|
|
48
|
-
[
|
|
49
|
-
"bold",
|
|
50
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M108,60A16,16,0,1,1,92,44,16,16,0,0,1,108,60Zm56,16a16,16,0,1,0-16-16A16,16,0,0,0,164,76ZM92,112a16,16,0,1,0,16,16A16,16,0,0,0,92,112Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,112ZM92,180a16,16,0,1,0,16,16A16,16,0,0,0,92,180Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,180Z" }))
|
|
51
|
-
],
|
|
52
|
-
[
|
|
53
|
-
"duotone",
|
|
54
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
55
|
-
"path",
|
|
56
|
-
{
|
|
57
|
-
d: "M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",
|
|
58
|
-
opacity: "0.2"
|
|
59
|
-
}
|
|
60
|
-
), /* @__PURE__ */ n.createElement("path", { d: "M104,60A12,12,0,1,1,92,48,12,12,0,0,1,104,60Zm60,12a12,12,0,1,0-12-12A12,12,0,0,0,164,72ZM92,116a12,12,0,1,0,12,12A12,12,0,0,0,92,116Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,116ZM92,184a12,12,0,1,0,12,12A12,12,0,0,0,92,184Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,184Z" }))
|
|
61
|
-
],
|
|
62
|
-
[
|
|
63
|
-
"fill",
|
|
64
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM100,200a12,12,0,1,1,12-12A12,12,0,0,1,100,200Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,100,140Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,100,80Zm56,120a12,12,0,1,1,12-12A12,12,0,0,1,156,200Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,156,140Zm0-60a12,12,0,1,1,12-12A12,12,0,0,1,156,80Z" }))
|
|
65
|
-
],
|
|
66
|
-
[
|
|
67
|
-
"light",
|
|
68
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M102,60A10,10,0,1,1,92,50,10,10,0,0,1,102,60Zm62,10a10,10,0,1,0-10-10A10,10,0,0,0,164,70ZM92,118a10,10,0,1,0,10,10A10,10,0,0,0,92,118Zm72,0a10,10,0,1,0,10,10A10,10,0,0,0,164,118ZM92,186a10,10,0,1,0,10,10A10,10,0,0,0,92,186Zm72,0a10,10,0,1,0,10,10A10,10,0,0,0,164,186Z" }))
|
|
69
|
-
],
|
|
70
|
-
[
|
|
71
|
-
"regular",
|
|
72
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M104,60A12,12,0,1,1,92,48,12,12,0,0,1,104,60Zm60,12a12,12,0,1,0-12-12A12,12,0,0,0,164,72ZM92,116a12,12,0,1,0,12,12A12,12,0,0,0,92,116Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,116ZM92,184a12,12,0,1,0,12,12A12,12,0,0,0,92,184Zm72,0a12,12,0,1,0,12,12A12,12,0,0,0,164,184Z" }))
|
|
73
|
-
],
|
|
74
|
-
[
|
|
75
|
-
"thin",
|
|
76
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M100,60a8,8,0,1,1-8-8A8,8,0,0,1,100,60Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,68ZM92,120a8,8,0,1,0,8,8A8,8,0,0,0,92,120Zm72,0a8,8,0,1,0,8,8A8,8,0,0,0,164,120ZM92,188a8,8,0,1,0,8,8A8,8,0,0,0,92,188Zm72,0a8,8,0,1,0,8,8A8,8,0,0,0,164,188Z" }))
|
|
77
|
-
]
|
|
78
|
-
]), Ht = /* @__PURE__ */ new Map([
|
|
79
|
-
[
|
|
80
|
-
"bold",
|
|
81
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z" }))
|
|
82
|
-
],
|
|
83
|
-
[
|
|
84
|
-
"duotone",
|
|
85
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
86
|
-
"path",
|
|
87
|
-
{
|
|
88
|
-
d: "M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",
|
|
89
|
-
opacity: "0.2"
|
|
90
|
-
}
|
|
91
|
-
), /* @__PURE__ */ n.createElement("path", { d: "M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z" }))
|
|
92
|
-
],
|
|
93
|
-
[
|
|
94
|
-
"fill",
|
|
95
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z" }))
|
|
96
|
-
],
|
|
97
|
-
[
|
|
98
|
-
"light",
|
|
99
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z" }))
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
"regular",
|
|
103
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z" }))
|
|
104
|
-
],
|
|
105
|
-
[
|
|
106
|
-
"thin",
|
|
107
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z" }))
|
|
108
|
-
]
|
|
109
|
-
]), St = /* @__PURE__ */ new Map([
|
|
110
|
-
[
|
|
111
|
-
"bold",
|
|
112
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z" }))
|
|
113
|
-
],
|
|
114
|
-
[
|
|
115
|
-
"duotone",
|
|
116
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z" }))
|
|
117
|
-
],
|
|
118
|
-
[
|
|
119
|
-
"fill",
|
|
120
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z" }))
|
|
121
|
-
],
|
|
122
|
-
[
|
|
123
|
-
"light",
|
|
124
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z" }))
|
|
125
|
-
],
|
|
126
|
-
[
|
|
127
|
-
"regular",
|
|
128
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z" }))
|
|
129
|
-
],
|
|
130
|
-
[
|
|
131
|
-
"thin",
|
|
132
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z" }))
|
|
133
|
-
]
|
|
134
|
-
]), Ft = /* @__PURE__ */ new Map([
|
|
135
|
-
[
|
|
136
|
-
"bold",
|
|
137
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M156,112a12,12,0,0,1-12,12H80a12,12,0,0,1,0-24h64A12,12,0,0,1,156,112Zm76.49,120.49a12,12,0,0,1-17,0L168,185a92.12,92.12,0,1,1,17-17l47.54,47.53A12,12,0,0,1,232.49,232.49ZM112,180a68,68,0,1,0-68-68A68.08,68.08,0,0,0,112,180Z" }))
|
|
138
|
-
],
|
|
139
|
-
[
|
|
140
|
-
"duotone",
|
|
141
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Zm112,0a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Z" }))
|
|
142
|
-
],
|
|
143
|
-
[
|
|
144
|
-
"fill",
|
|
145
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM144,120H80a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z" }))
|
|
146
|
-
],
|
|
147
|
-
[
|
|
148
|
-
"light",
|
|
149
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M150,112a6,6,0,0,1-6,6H80a6,6,0,0,1,0-12h64A6,6,0,0,1,150,112Zm78.24,116.24a6,6,0,0,1-8.48,0l-51.38-51.38a86.15,86.15,0,1,1,8.48-8.48l51.38,51.38A6,6,0,0,1,228.24,228.24ZM112,186a74,74,0,1,0-74-74A74.09,74.09,0,0,0,112,186Z" }))
|
|
150
|
-
],
|
|
151
|
-
[
|
|
152
|
-
"regular",
|
|
153
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M152,112a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z" }))
|
|
154
|
-
],
|
|
155
|
-
[
|
|
156
|
-
"thin",
|
|
157
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M148,112a4,4,0,0,1-4,4H80a4,4,0,0,1,0-8h64A4,4,0,0,1,148,112Zm78.83,114.83a4,4,0,0,1-5.66,0l-52.7-52.7a84.1,84.1,0,1,1,5.66-5.66l52.7,52.7A4,4,0,0,1,226.83,226.83ZM112,188a76,76,0,1,0-76-76A76.08,76.08,0,0,0,112,188Z" }))
|
|
158
|
-
]
|
|
159
|
-
]), xt = /* @__PURE__ */ new Map([
|
|
160
|
-
[
|
|
161
|
-
"bold",
|
|
162
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z" }))
|
|
163
|
-
],
|
|
164
|
-
[
|
|
165
|
-
"duotone",
|
|
166
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
167
|
-
"path",
|
|
168
|
-
{
|
|
169
|
-
d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
|
|
170
|
-
opacity: "0.2"
|
|
171
|
-
}
|
|
172
|
-
), /* @__PURE__ */ n.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z" }))
|
|
173
|
-
],
|
|
174
|
-
[
|
|
175
|
-
"fill",
|
|
176
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z" }))
|
|
177
|
-
],
|
|
178
|
-
[
|
|
179
|
-
"light",
|
|
180
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z" }))
|
|
181
|
-
],
|
|
182
|
-
[
|
|
183
|
-
"regular",
|
|
184
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z" }))
|
|
185
|
-
],
|
|
186
|
-
[
|
|
187
|
-
"thin",
|
|
188
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z" }))
|
|
189
|
-
]
|
|
190
|
-
]), Nt = /* @__PURE__ */ new Map([
|
|
191
|
-
[
|
|
192
|
-
"bold",
|
|
193
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M128,128a12,12,0,0,1-12,12H48a12,12,0,0,1,0-24h68A12,12,0,0,1,128,128ZM48,76H180a12,12,0,0,0,0-24H48a12,12,0,0,0,0,24Zm52,104H48a12,12,0,0,0,0,24h52a12,12,0,0,0,0-24Zm132.49-20.49a12,12,0,0,0-17,0L196,179V112a12,12,0,0,0-24,0v67l-19.51-19.52a12,12,0,0,0-17,17l40,40a12,12,0,0,0,17,0l40-40A12,12,0,0,0,232.49,159.51Z" }))
|
|
194
|
-
],
|
|
195
|
-
[
|
|
196
|
-
"duotone",
|
|
197
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,80v88l-24,24H48V64H208A16,16,0,0,1,224,80Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z" }))
|
|
198
|
-
],
|
|
199
|
-
[
|
|
200
|
-
"fill",
|
|
201
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,72h96a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm40,112H72a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Zm8-48H72a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm77.66,29.66-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L160,164.69V120a8,8,0,0,1,16,0v44.69l10.34-10.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
202
|
-
],
|
|
203
|
-
[
|
|
204
|
-
"light",
|
|
205
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M126,128a6,6,0,0,1-6,6H48a6,6,0,0,1,0-12h72A6,6,0,0,1,126,128ZM48,70H184a6,6,0,0,0,0-12H48a6,6,0,0,0,0,12Zm56,116H48a6,6,0,0,0,0,12h56a6,6,0,0,0,0-12Zm124.24-22.24a6,6,0,0,0-8.48,0L190,193.51V112a6,6,0,0,0-12,0v81.51l-29.76-29.75a6,6,0,0,0-8.48,8.48l40,40a6,6,0,0,0,8.48,0l40-40A6,6,0,0,0,228.24,163.76Z" }))
|
|
206
|
-
],
|
|
207
|
-
[
|
|
208
|
-
"regular",
|
|
209
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z" }))
|
|
210
|
-
],
|
|
211
|
-
[
|
|
212
|
-
"thin",
|
|
213
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M124,128a4,4,0,0,1-4,4H48a4,4,0,0,1,0-8h72A4,4,0,0,1,124,128ZM48,68H184a4,4,0,0,0,0-8H48a4,4,0,0,0,0,8Zm56,120H48a4,4,0,0,0,0,8h56a4,4,0,0,0,0-8Zm122.83-22.83a4,4,0,0,0-5.66,0L188,198.34V112a4,4,0,0,0-8,0v86.34l-33.17-33.17a4,4,0,0,0-5.66,5.66l40,40a4,4,0,0,0,5.66,0l40-40A4,4,0,0,0,226.83,165.17Z" }))
|
|
214
|
-
]
|
|
215
|
-
]), Vt = /* @__PURE__ */ new Map([
|
|
216
|
-
[
|
|
217
|
-
"bold",
|
|
218
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M36,128a12,12,0,0,1,12-12h68a12,12,0,0,1,0,24H48A12,12,0,0,1,36,128ZM48,76h52a12,12,0,0,0,0-24H48a12,12,0,0,0,0,24ZM180,180H48a12,12,0,0,0,0,24H180a12,12,0,0,0,0-24ZM232.49,79.51l-40-40a12,12,0,0,0-17,0l-40,40a12,12,0,0,0,17,17L172,77v67a12,12,0,0,0,24,0V77l19.51,19.52a12,12,0,0,0,17-17Z" }))
|
|
219
|
-
],
|
|
220
|
-
[
|
|
221
|
-
"duotone",
|
|
222
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,88v88a16,16,0,0,1-16,16H48V64H200Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M40,128a8,8,0,0,1,8-8h72a8,8,0,0,1,0,16H48A8,8,0,0,1,40,128Zm8-56h56a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16ZM184,184H48a8,8,0,0,0,0,16H184a8,8,0,0,0,0-16ZM229.66,82.34l-40-40a8,8,0,0,0-11.32,0l-40,40a8,8,0,0,0,11.32,11.32L176,67.31V144a8,8,0,0,0,16,0V67.31l26.34,26.35a8,8,0,0,0,11.32-11.32Z" }))
|
|
223
|
-
],
|
|
224
|
-
[
|
|
225
|
-
"fill",
|
|
226
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,72h40a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm0,48h48a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm96,64H72a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm29.66-82.34a8,8,0,0,1-11.32,0L176,91.31V136a8,8,0,0,1-16,0V91.31l-10.34,10.35a8,8,0,0,1-11.32-11.32l24-24a8,8,0,0,1,11.32,0l24,24A8,8,0,0,1,197.66,101.66Z" }))
|
|
227
|
-
],
|
|
228
|
-
[
|
|
229
|
-
"light",
|
|
230
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M42,128a6,6,0,0,1,6-6h72a6,6,0,0,1,0,12H48A6,6,0,0,1,42,128Zm6-58h56a6,6,0,0,0,0-12H48a6,6,0,0,0,0,12ZM184,186H48a6,6,0,0,0,0,12H184a6,6,0,0,0,0-12ZM228.24,83.76l-40-40a6,6,0,0,0-8.48,0l-40,40a6,6,0,0,0,8.48,8.48L178,62.49V144a6,6,0,0,0,12,0V62.49l29.76,29.75a6,6,0,0,0,8.48-8.48Z" }))
|
|
231
|
-
],
|
|
232
|
-
[
|
|
233
|
-
"regular",
|
|
234
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M40,128a8,8,0,0,1,8-8h72a8,8,0,0,1,0,16H48A8,8,0,0,1,40,128Zm8-56h56a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16ZM184,184H48a8,8,0,0,0,0,16H184a8,8,0,0,0,0-16ZM229.66,82.34l-40-40a8,8,0,0,0-11.32,0l-40,40a8,8,0,0,0,11.32,11.32L176,67.31V144a8,8,0,0,0,16,0V67.31l26.34,26.35a8,8,0,0,0,11.32-11.32Z" }))
|
|
235
|
-
],
|
|
236
|
-
[
|
|
237
|
-
"thin",
|
|
238
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M44,128a4,4,0,0,1,4-4h72a4,4,0,0,1,0,8H48A4,4,0,0,1,44,128Zm4-60h56a4,4,0,0,0,0-8H48a4,4,0,0,0,0,8ZM184,188H48a4,4,0,0,0,0,8H184a4,4,0,0,0,0-8ZM226.83,85.17l-40-40a4,4,0,0,0-5.66,0l-40,40a4,4,0,0,0,5.66,5.66L180,57.66V144a4,4,0,0,0,8,0V57.66l33.17,33.17a4,4,0,1,0,5.66-5.66Z" }))
|
|
239
|
-
]
|
|
240
|
-
]), Ct = /* @__PURE__ */ new Map([
|
|
241
|
-
[
|
|
242
|
-
"bold",
|
|
243
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M240,200a12,12,0,0,1-12,12H188a12,12,0,0,1,0-24h40A12,12,0,0,1,240,200ZM218,117.63,128,170.11,38.05,117.63A12,12,0,0,0,26,138.37l96,56a12,12,0,0,0,12.1,0l96-56A12,12,0,1,0,218,117.63ZM20,80a12,12,0,0,1,6-10.37l96-56a12.06,12.06,0,0,1,12.1,0l96,56a12,12,0,0,1,0,20.74l-96,56a12,12,0,0,1-12.1,0l-96-56A12,12,0,0,1,20,80Zm35.82,0L128,122.11,200.18,80,128,37.89ZM138,212.3,128,218.11,38.05,165.63A12,12,0,0,0,26,186.37l96,56a12,12,0,0,0,12.1,0l16-9.34A12,12,0,1,0,138,212.3Z" }))
|
|
244
|
-
],
|
|
245
|
-
[
|
|
246
|
-
"duotone",
|
|
247
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,80l-96,56L32,80l96-56Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M240,200a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16h48A8,8,0,0,1,240,200Zm-20-78.91-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26ZM140,215.76l-12,7L36,169.09A8,8,0,0,0,28,182.91l96,56a8,8,0,0,0,8.06,0l16-9.33A8,8,0,1,0,140,215.76Z" }))
|
|
248
|
-
],
|
|
249
|
-
[
|
|
250
|
-
"fill",
|
|
251
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M230.91,124A8,8,0,0,1,228,134.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,121.09l92,53.65,92-53.65A8,8,0,0,1,230.91,124ZM28,86.91l96,56a8,8,0,0,0,8.06,0l96-56a8,8,0,0,0,0-13.82l-96-56a8,8,0,0,0-8.06,0l-96,56a8,8,0,0,0,0,13.82ZM232,192H184a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Zm-92,23.76-12,7L36,169.09A8,8,0,0,0,28,182.91l96,56a8,8,0,0,0,8.06,0l16-9.33A8,8,0,1,0,140,215.76Z" }))
|
|
252
|
-
],
|
|
253
|
-
[
|
|
254
|
-
"light",
|
|
255
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M238,200a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h48A6,6,0,0,1,238,200Zm-17-77.18-93,54.23L35,122.82a6,6,0,0,0-6,10.36l96,56a6,6,0,0,0,6,0l96-56a6,6,0,0,0-6-10.36ZM26,80a6,6,0,0,1,3-5.18l96-56a6,6,0,0,1,6,0l96,56a6,6,0,0,1,0,10.36l-96,56a6,6,0,0,1-6,0l-96-56A6,6,0,0,1,26,80Zm17.91,0L128,129.05,212.09,80,128,31ZM141,217.48l-13,7.57L35,170.82a6,6,0,0,0-6,10.36l96,56a6,6,0,0,0,6,0l16-9.33a6,6,0,0,0-6-10.37Z" }))
|
|
256
|
-
],
|
|
257
|
-
[
|
|
258
|
-
"regular",
|
|
259
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M230.91,124A8,8,0,0,1,228,134.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,121.09l92,53.65,92-53.65A8,8,0,0,1,230.91,124ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26ZM232,192H184a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Zm-92,23.76-12,7L36,169.09A8,8,0,0,0,28,182.91l96,56a8,8,0,0,0,8.06,0l16-9.33A8,8,0,1,0,140,215.76Z" }))
|
|
260
|
-
],
|
|
261
|
-
[
|
|
262
|
-
"thin",
|
|
263
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M236,200a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h48A4,4,0,0,1,236,200Zm-14-75.46-94,54.83L34,124.54a4,4,0,0,0-4,6.92l96,56a4,4,0,0,0,4,0l96-56a4,4,0,1,0-4-6.92ZM28,80a4,4,0,0,1,2-3.46l96-56a4,4,0,0,1,4,0l96,56a4,4,0,0,1,0,6.92l-96,56a4,4,0,0,1-4,0l-96-56A4,4,0,0,1,28,80Zm11.94,0L128,131.37,216.06,80,128,28.63ZM142,219.21l-14,8.16L34,172.54a4,4,0,0,0-4,6.92l96,56a4,4,0,0,0,4,0l16-9.34a4,4,0,1,0-4-6.91Z" }))
|
|
264
|
-
]
|
|
265
|
-
]), Lt = /* @__PURE__ */ new Map([
|
|
266
|
-
[
|
|
267
|
-
"bold",
|
|
268
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z" }))
|
|
269
|
-
],
|
|
270
|
-
[
|
|
271
|
-
"duotone",
|
|
272
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z" }))
|
|
273
|
-
],
|
|
274
|
-
[
|
|
275
|
-
"fill",
|
|
276
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z" }))
|
|
277
|
-
],
|
|
278
|
-
[
|
|
279
|
-
"light",
|
|
280
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z" }))
|
|
281
|
-
],
|
|
282
|
-
[
|
|
283
|
-
"regular",
|
|
284
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z" }))
|
|
285
|
-
],
|
|
286
|
-
[
|
|
287
|
-
"thin",
|
|
288
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z" }))
|
|
289
|
-
]
|
|
290
|
-
]), me = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Et }));
|
|
291
|
-
me.displayName = "CaretUpDownIcon";
|
|
292
|
-
const _e = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Mt }));
|
|
293
|
-
_e.displayName = "DotsSixVerticalIcon";
|
|
294
|
-
const je = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Ht }));
|
|
295
|
-
je.displayName = "FunnelIcon";
|
|
296
|
-
const qe = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: St }));
|
|
297
|
-
qe.displayName = "MagnifyingGlassIcon";
|
|
298
|
-
const Ue = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Ft }));
|
|
299
|
-
Ue.displayName = "MagnifyingGlassMinusIcon";
|
|
300
|
-
const U = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: xt }));
|
|
301
|
-
U.displayName = "PlusIcon";
|
|
302
|
-
const Xe = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Nt }));
|
|
303
|
-
Xe.displayName = "SortAscendingIcon";
|
|
304
|
-
const Je = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Vt }));
|
|
305
|
-
Je.displayName = "SortDescendingIcon";
|
|
306
|
-
const Ke = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Ct }));
|
|
307
|
-
Ke.displayName = "StackMinusIcon";
|
|
308
|
-
const O = n.forwardRef((e, t) => /* @__PURE__ */ n.createElement(H, { ref: t, ...e, weights: Lt }));
|
|
309
|
-
O.displayName = "TrashIcon";
|
|
310
|
-
function It(...e) {
|
|
311
|
-
const t = !Array.isArray(e[0]), r = t ? 0 : -1, a = e[0 + r], l = e[1 + r], o = e[2 + r], s = e[3 + r], u = yt(l, o, s);
|
|
312
|
-
return t ? u(a) : u;
|
|
313
|
-
}
|
|
314
|
-
const Tt = (e) => !e.isLayoutDirty && e.willUpdate(!1);
|
|
315
|
-
function ve() {
|
|
316
|
-
const e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), r = () => e.forEach(Tt);
|
|
317
|
-
return {
|
|
318
|
-
add: (a) => {
|
|
319
|
-
e.add(a), t.set(a, a.addEventListener("willUpdate", r));
|
|
320
|
-
},
|
|
321
|
-
remove: (a) => {
|
|
322
|
-
e.delete(a);
|
|
323
|
-
const l = t.get(a);
|
|
324
|
-
l && (l(), t.delete(a)), r();
|
|
325
|
-
},
|
|
326
|
-
dirty: r
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
const $t = oe(null);
|
|
330
|
-
function Rt() {
|
|
331
|
-
const e = F(!1);
|
|
332
|
-
return ze(() => (e.current = !0, () => {
|
|
333
|
-
e.current = !1;
|
|
334
|
-
}), []), e;
|
|
335
|
-
}
|
|
336
|
-
function kt() {
|
|
337
|
-
const e = Rt(), [t, r] = D(0), a = W(() => {
|
|
338
|
-
e.current && r(t + 1);
|
|
339
|
-
}, [t]);
|
|
340
|
-
return [W(() => We.postRender(a), [a]), t];
|
|
341
|
-
}
|
|
342
|
-
const Ye = (e) => e === !0, Pt = (e) => Ye(e === !0) || e === "id", Dt = ({ children: e, id: t, inherit: r = !0 }) => {
|
|
343
|
-
const a = B(Ae), l = B($t), [o, s] = kt(), u = F(null), c = a.id || l;
|
|
344
|
-
u.current === null && (Pt(r) && c && (t = t ? c + "-" + t : c), u.current = {
|
|
345
|
-
id: t,
|
|
346
|
-
group: Ye(r) && a.group || ve()
|
|
347
|
-
});
|
|
348
|
-
const m = V(() => ({ ...u.current, forceRender: o }), [s]);
|
|
349
|
-
return i(Ae.Provider, { value: m, children: e });
|
|
350
|
-
};
|
|
351
|
-
function Qe(e, t) {
|
|
352
|
-
const r = de(t()), a = () => r.set(t());
|
|
353
|
-
return a(), ze(() => {
|
|
354
|
-
const l = () => We.preRender(a, !1, !0), o = e.map((s) => s.on("change", l));
|
|
355
|
-
return () => {
|
|
356
|
-
o.forEach((s) => s()), bt(a);
|
|
357
|
-
};
|
|
358
|
-
}), r;
|
|
359
|
-
}
|
|
360
|
-
function Ot(e) {
|
|
361
|
-
K.current = [], e();
|
|
362
|
-
const t = Qe(K.current, e);
|
|
363
|
-
return K.current = void 0, t;
|
|
364
|
-
}
|
|
365
|
-
function Gt(e, t, r, a) {
|
|
366
|
-
if (typeof e == "function")
|
|
367
|
-
return Ot(e);
|
|
368
|
-
const o = typeof t == "function" ? t : It(t, r, a), s = Array.isArray(e) ? we(e, o) : we([e], ([c]) => o(c)), u = Array.isArray(e) ? void 0 : e.accelerate;
|
|
369
|
-
return u && !u.isTransformed && typeof t != "function" && Array.isArray(r) && a?.clamp !== !1 && (s.accelerate = {
|
|
370
|
-
...u,
|
|
371
|
-
times: t,
|
|
372
|
-
keyframes: r,
|
|
373
|
-
isTransformed: !0
|
|
374
|
-
}), s;
|
|
375
|
-
}
|
|
376
|
-
function we(e, t) {
|
|
377
|
-
const r = q(() => []);
|
|
378
|
-
return Qe(e, () => {
|
|
379
|
-
r.length = 0;
|
|
380
|
-
const a = e.length;
|
|
381
|
-
for (let l = 0; l < a; l++)
|
|
382
|
-
r[l] = e[l].get();
|
|
383
|
-
return t(r);
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
class zt {
|
|
387
|
-
constructor() {
|
|
388
|
-
this.componentControls = /* @__PURE__ */ new Set();
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Subscribe a component's internal `VisualElementDragControls` to the user-facing API.
|
|
392
|
-
*
|
|
393
|
-
* @internal
|
|
394
|
-
*/
|
|
395
|
-
subscribe(t) {
|
|
396
|
-
return this.componentControls.add(t), () => this.componentControls.delete(t);
|
|
397
|
-
}
|
|
398
|
-
/**
|
|
399
|
-
* Start a drag gesture on every `motion` component that has this set of drag controls
|
|
400
|
-
* passed into it via the `dragControls` prop.
|
|
401
|
-
*
|
|
402
|
-
* ```jsx
|
|
403
|
-
* dragControls.start(e, {
|
|
404
|
-
* snapToCursor: true
|
|
405
|
-
* })
|
|
406
|
-
* ```
|
|
407
|
-
*
|
|
408
|
-
* @param event - PointerEvent
|
|
409
|
-
* @param options - Options
|
|
410
|
-
*
|
|
411
|
-
* @public
|
|
412
|
-
*/
|
|
413
|
-
start(t, r) {
|
|
414
|
-
this.componentControls.forEach((a) => {
|
|
415
|
-
a.start(t.nativeEvent || t, r);
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
/**
|
|
419
|
-
* Cancels a drag gesture.
|
|
420
|
-
*
|
|
421
|
-
* ```jsx
|
|
422
|
-
* dragControls.cancel()
|
|
423
|
-
* ```
|
|
424
|
-
*
|
|
425
|
-
* @public
|
|
426
|
-
*/
|
|
427
|
-
cancel() {
|
|
428
|
-
this.componentControls.forEach((t) => {
|
|
429
|
-
t.cancel();
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* Stops a drag gesture.
|
|
434
|
-
*
|
|
435
|
-
* ```jsx
|
|
436
|
-
* dragControls.stop()
|
|
437
|
-
* ```
|
|
438
|
-
*
|
|
439
|
-
* @public
|
|
440
|
-
*/
|
|
441
|
-
stop() {
|
|
442
|
-
this.componentControls.forEach((t) => {
|
|
443
|
-
t.stop();
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
const Wt = () => new zt();
|
|
448
|
-
function Bt() {
|
|
449
|
-
return q(Wt);
|
|
450
|
-
}
|
|
451
|
-
const et = oe(null);
|
|
452
|
-
function _t(e, t, r, a) {
|
|
453
|
-
if (!a)
|
|
454
|
-
return e;
|
|
455
|
-
const l = e.findIndex((h) => h.value === t);
|
|
456
|
-
if (l === -1)
|
|
457
|
-
return e;
|
|
458
|
-
const o = a > 0 ? 1 : -1, s = e[l + o];
|
|
459
|
-
if (!s)
|
|
460
|
-
return e;
|
|
461
|
-
const u = e[l], c = s.layout, m = At(c.min, c.max, 0.5);
|
|
462
|
-
return o === 1 && u.layout.max + r > m || o === -1 && u.layout.min + r < m ? vt(e, l, l + o) : e;
|
|
463
|
-
}
|
|
464
|
-
function jt({ children: e, as: t = "ul", axis: r = "y", onReorder: a, values: l, ...o }, s) {
|
|
465
|
-
const u = q(() => ce[t]), c = [], m = F(!1), h = F(null);
|
|
466
|
-
Be(!!l, "Reorder.Group must be provided a values prop", "reorder-values");
|
|
467
|
-
const g = {
|
|
468
|
-
axis: r,
|
|
469
|
-
groupRef: h,
|
|
470
|
-
registerItem: (Z, p) => {
|
|
471
|
-
const d = c.findIndex((f) => Z === f.value);
|
|
472
|
-
d !== -1 ? c[d].layout = p[r] : c.push({ value: Z, layout: p[r] }), c.sort(Ut);
|
|
473
|
-
},
|
|
474
|
-
updateOrder: (Z, p, d) => {
|
|
475
|
-
if (m.current)
|
|
476
|
-
return;
|
|
477
|
-
const f = _t(c, Z, p, d);
|
|
478
|
-
c !== f && (m.current = !0, a(f.map(qt).filter((b) => l.indexOf(b) !== -1)));
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
se(() => {
|
|
482
|
-
m.current = !1;
|
|
483
|
-
});
|
|
484
|
-
const y = (Z) => {
|
|
485
|
-
h.current = Z, typeof s == "function" ? s(Z) : s && (s.current = Z);
|
|
486
|
-
}, w = {
|
|
487
|
-
overflowAnchor: "none",
|
|
488
|
-
...o.style
|
|
489
|
-
};
|
|
490
|
-
return i(u, { ...o, style: w, ref: y, ignoreStrict: !0, children: i(et.Provider, { value: g, children: e }) });
|
|
491
|
-
}
|
|
492
|
-
const tt = /* @__PURE__ */ Re(jt);
|
|
493
|
-
function qt(e) {
|
|
494
|
-
return e.value;
|
|
495
|
-
}
|
|
496
|
-
function Ut(e, t) {
|
|
497
|
-
return e.layout.min - t.layout.min;
|
|
498
|
-
}
|
|
499
|
-
const G = 50, Ze = 25, Xt = /* @__PURE__ */ new Set(["auto", "scroll"]), $ = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
|
|
500
|
-
let T = null;
|
|
501
|
-
function Jt() {
|
|
502
|
-
if (T) {
|
|
503
|
-
const e = ae(T, "y");
|
|
504
|
-
e && (R.delete(e), $.delete(e));
|
|
505
|
-
const t = ae(T, "x");
|
|
506
|
-
t && t !== e && (R.delete(t), $.delete(t)), T = null;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
function Kt(e, t) {
|
|
510
|
-
const r = getComputedStyle(e), a = t === "x" ? r.overflowX : r.overflowY, l = e === document.body || e === document.documentElement;
|
|
511
|
-
return Xt.has(a) || l;
|
|
512
|
-
}
|
|
513
|
-
function ae(e, t) {
|
|
514
|
-
let r = e?.parentElement;
|
|
515
|
-
for (; r; ) {
|
|
516
|
-
if (Kt(r, t))
|
|
517
|
-
return r;
|
|
518
|
-
r = r.parentElement;
|
|
519
|
-
}
|
|
520
|
-
return null;
|
|
521
|
-
}
|
|
522
|
-
function Yt(e, t, r) {
|
|
523
|
-
const a = t.getBoundingClientRect(), l = r === "x" ? Math.max(0, a.left) : Math.max(0, a.top), o = r === "x" ? Math.min(window.innerWidth, a.right) : Math.min(window.innerHeight, a.bottom), s = e - l, u = o - e;
|
|
524
|
-
if (s < G) {
|
|
525
|
-
const c = 1 - s / G;
|
|
526
|
-
return { amount: -Ze * c * c, edge: "start" };
|
|
527
|
-
} else if (u < G) {
|
|
528
|
-
const c = 1 - u / G;
|
|
529
|
-
return { amount: Ze * c * c, edge: "end" };
|
|
530
|
-
}
|
|
531
|
-
return { amount: 0, edge: null };
|
|
532
|
-
}
|
|
533
|
-
function Qt(e, t, r, a) {
|
|
534
|
-
if (!e)
|
|
535
|
-
return;
|
|
536
|
-
T = e;
|
|
537
|
-
const l = ae(e, r);
|
|
538
|
-
if (!l)
|
|
539
|
-
return;
|
|
540
|
-
const o = t - (r === "x" ? window.scrollX : window.scrollY), { amount: s, edge: u } = Yt(o, l, r);
|
|
541
|
-
if (u === null) {
|
|
542
|
-
R.delete(l), $.delete(l);
|
|
543
|
-
return;
|
|
544
|
-
}
|
|
545
|
-
const c = R.get(l), m = l === document.body || l === document.documentElement;
|
|
546
|
-
if (c !== u) {
|
|
547
|
-
if (!(u === "start" && a < 0 || u === "end" && a > 0))
|
|
548
|
-
return;
|
|
549
|
-
R.set(l, u);
|
|
550
|
-
const g = r === "x" ? l.scrollWidth - (m ? window.innerWidth : l.clientWidth) : l.scrollHeight - (m ? window.innerHeight : l.clientHeight);
|
|
551
|
-
$.set(l, g);
|
|
552
|
-
}
|
|
553
|
-
if (s > 0) {
|
|
554
|
-
const h = $.get(l);
|
|
555
|
-
if ((r === "x" ? m ? window.scrollX : l.scrollLeft : m ? window.scrollY : l.scrollTop) >= h)
|
|
556
|
-
return;
|
|
557
|
-
}
|
|
558
|
-
r === "x" ? m ? window.scrollBy({ left: s }) : l.scrollLeft += s : m ? window.scrollBy({ top: s }) : l.scrollTop += s;
|
|
559
|
-
}
|
|
560
|
-
function Ee(e, t = 0) {
|
|
561
|
-
return wt(e) ? e : de(t);
|
|
562
|
-
}
|
|
563
|
-
function e0({ children: e, style: t = {}, value: r, as: a = "li", onDrag: l, onDragEnd: o, layout: s = !0, ...u }, c) {
|
|
564
|
-
const m = q(() => ce[a]), h = B(et), g = {
|
|
565
|
-
x: Ee(t.x),
|
|
566
|
-
y: Ee(t.y)
|
|
567
|
-
}, y = Gt([g.x, g.y], ([f, b]) => f || b ? 1 : "unset");
|
|
568
|
-
Be(!!h, "Reorder.Item must be a child of Reorder.Group", "reorder-item-child");
|
|
569
|
-
const { axis: w, registerItem: Z, updateOrder: p, groupRef: d } = h;
|
|
570
|
-
return i(m, { drag: w, ...u, dragSnapToOrigin: !0, style: { ...t, x: g.x, y: g.y, zIndex: y }, layout: s, onDrag: (f, b) => {
|
|
571
|
-
const { velocity: v, point: E } = b, S = g[w].get();
|
|
572
|
-
p(r, S, v[w]), Qt(d.current, E[w], w, v[w]), l && l(f, b);
|
|
573
|
-
}, onDragEnd: (f, b) => {
|
|
574
|
-
Jt(), o && o(f, b);
|
|
575
|
-
}, onLayoutMeasure: (f) => {
|
|
576
|
-
Z(r, f);
|
|
577
|
-
}, ref: c, ignoreStrict: !0, children: e });
|
|
578
|
-
}
|
|
579
|
-
const rt = /* @__PURE__ */ Re(e0);
|
|
580
|
-
var t0 = Object.defineProperty, Me = Object.getOwnPropertySymbols, r0 = Object.prototype.hasOwnProperty, a0 = Object.prototype.propertyIsEnumerable, He = (e, t, r) => t in e ? t0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n0 = (e, t) => {
|
|
581
|
-
for (var r in t || (t = {}))
|
|
582
|
-
r0.call(t, r) && He(e, r, t[r]);
|
|
583
|
-
if (Me)
|
|
584
|
-
for (var r of Me(t))
|
|
585
|
-
a0.call(t, r) && He(e, r, t[r]);
|
|
586
|
-
return e;
|
|
587
|
-
}, he = (e, t) => {
|
|
588
|
-
const r = e.length;
|
|
589
|
-
for (let a = 0; a < r; a++)
|
|
590
|
-
if (t(e[a], a, e))
|
|
591
|
-
return !0;
|
|
592
|
-
return !1;
|
|
593
|
-
}, l0 = (e, t, r, a) => X(he, e, t, r, a), I = (e) => typeof e == "object", N = (e, t) => {
|
|
594
|
-
if (e === t)
|
|
595
|
-
return !0;
|
|
596
|
-
if (e instanceof Date && t instanceof Date)
|
|
597
|
-
return e.getTime() === t.getTime();
|
|
598
|
-
if (!e || !t || !I(e) && !I(t))
|
|
599
|
-
return e === t;
|
|
600
|
-
if (e.prototype !== t.prototype)
|
|
601
|
-
return !1;
|
|
602
|
-
const r = Object.keys(e);
|
|
603
|
-
return r.length !== Object.keys(t).length ? !1 : r.every((a) => N(e[a], t[a]));
|
|
604
|
-
}, o0 = (e, t) => (I(e) || Array.isArray(e)) && t ? e[t] : e, s0 = (e) => (t, r) => t[e] === r[e] ? 0 : t[e] > r[e] ? 1 : -1, _ = (e) => /[0-9.]+/.test(e), Se = (e) => ["string", "number"].includes(typeof e), Fe = (e) => e == null || e?.length === 0 || e === "", xe = {
|
|
605
|
-
eq: N,
|
|
606
|
-
is: Object.is,
|
|
607
|
-
"!=": (e, t) => e != t,
|
|
608
|
-
"!==": (e, t) => e !== t,
|
|
609
|
-
"<": (e, t) => e < t,
|
|
610
|
-
"<=": (e, t) => e <= t,
|
|
611
|
-
"==": (e, t) => e == t,
|
|
612
|
-
"===": (e, t) => e === t,
|
|
613
|
-
">": (e, t) => e > t,
|
|
614
|
-
">=": (e, t) => e >= t,
|
|
615
|
-
includes: (e, t) => `${e}`.includes(t),
|
|
616
|
-
notIncludes: (e, t) => !`${e}`.includes(t),
|
|
617
|
-
startsWith: (e, t) => `${e}`.startsWith(t),
|
|
618
|
-
endsWith: (e, t) => `${e}`.endsWith(t),
|
|
619
|
-
like: (e, t) => new RegExp(`.*${t}.*`, "gi").test(`${e}`),
|
|
620
|
-
alphabetical: (e, t) => e.toString().localeCompare(t.toString()),
|
|
621
|
-
empty: Fe,
|
|
622
|
-
notEmpty: (e) => !Fe(e),
|
|
623
|
-
in: (e, t) => he(t, (r) => N(e, r)),
|
|
624
|
-
notIn: (e, t) => at(t, (r) => !N(e, r))
|
|
625
|
-
}, i0 = (e) => {
|
|
626
|
-
if (e in xe)
|
|
627
|
-
return xe[e];
|
|
628
|
-
throw new Error("Linq - Symbol not found");
|
|
629
|
-
}, C = (e, t) => {
|
|
630
|
-
const r = [], a = e.length;
|
|
631
|
-
for (let l = 0; l < a; l++)
|
|
632
|
-
t(e[l], l, e) && r.push(e[l]);
|
|
633
|
-
return r;
|
|
634
|
-
}, X = (e, t, r, a, l) => {
|
|
635
|
-
if (typeof r == "function")
|
|
636
|
-
return e(t, r);
|
|
637
|
-
const o = i0(a);
|
|
638
|
-
return r && a && l !== void 0 ? e(t, (s) => o(s[r], l)) : e(t, (s) => o(s, l));
|
|
639
|
-
}, c0 = (e, t, r, a) => X(C, e, t, r, a), at = (e, t) => {
|
|
640
|
-
for (let r = 0; r < e.length; r++)
|
|
641
|
-
if (!t(e[r], r, e))
|
|
642
|
-
return !1;
|
|
643
|
-
return !0;
|
|
644
|
-
}, u0 = (e, t, r, a) => X(at, e, t, r, a), nt = (e) => {
|
|
645
|
-
if (e === null)
|
|
646
|
-
return null;
|
|
647
|
-
const t = n0({}, e);
|
|
648
|
-
return Object.keys(t).forEach((r) => t[r] = I(e[r]) ? nt(e[r]) : e[r]), Array.isArray(e) && e.length ? (t.length = e.length) && Array.from(t) : Array.isArray(e) ? Array.from(e) : t;
|
|
649
|
-
}, Ne = (e, t) => {
|
|
650
|
-
if (I(t)) {
|
|
651
|
-
for (let r = 0; r < e.length; r++) {
|
|
652
|
-
const a = e[r];
|
|
653
|
-
if (N(t, a))
|
|
654
|
-
return !0;
|
|
655
|
-
}
|
|
656
|
-
return !1;
|
|
657
|
-
}
|
|
658
|
-
for (let r = 0; r < e.length; r++) {
|
|
659
|
-
const a = e[r];
|
|
660
|
-
if (N(t, a))
|
|
661
|
-
return !0;
|
|
662
|
-
}
|
|
663
|
-
return !1;
|
|
664
|
-
}, d0 = (e, t) => {
|
|
665
|
-
const r = new Map(e.map((a) => [a[t], a]));
|
|
666
|
-
return Object.fromEntries(r.entries());
|
|
667
|
-
}, m0 = (e) => C(
|
|
668
|
-
e,
|
|
669
|
-
(t, r, a) => I(t) ? r === a.findIndex((l) => N(l, t)) : r === a.indexOf(t)
|
|
670
|
-
), h0 = (e, t) => {
|
|
671
|
-
const r = e.length;
|
|
672
|
-
for (let a = 0; a < r; a++)
|
|
673
|
-
if (t(e[a], a, e))
|
|
674
|
-
return e[a];
|
|
675
|
-
}, lt = (e, t) => {
|
|
676
|
-
const r = /* @__PURE__ */ new Map();
|
|
677
|
-
return e.forEach((a) => {
|
|
678
|
-
const l = t(a), o = r.get(l) || [];
|
|
679
|
-
o.push(a), r.set(l, o);
|
|
680
|
-
}), Object.fromEntries(r.entries());
|
|
681
|
-
}, f0 = (e, t) => lt(e, (r) => r[t]), Ve = (e, t) => {
|
|
682
|
-
const r = [];
|
|
683
|
-
let a = 0;
|
|
684
|
-
const l = e.length;
|
|
685
|
-
for (a; a < l; a++) {
|
|
686
|
-
const o = t(e[a], a, e);
|
|
687
|
-
r.push(o);
|
|
688
|
-
}
|
|
689
|
-
return r;
|
|
690
|
-
}, g0 = (e, t) => {
|
|
691
|
-
let r = Number.parseInt(e, 10), a = Number.parseInt(t, 10);
|
|
692
|
-
return r > a ? [a, r] : [r, a];
|
|
693
|
-
}, p0 = (e, t, r = 1) => {
|
|
694
|
-
const a = [];
|
|
695
|
-
let l = e.charCodeAt(0);
|
|
696
|
-
const o = t.charCodeAt(0);
|
|
697
|
-
for (; l <= o; l += r)
|
|
698
|
-
a.push(String.fromCharCode(l));
|
|
699
|
-
return _(e) && _(t) ? a.map((s) => Number.parseInt(s)) : a;
|
|
700
|
-
}, Y = (e, t, r = 1) => {
|
|
701
|
-
let a = Math.abs(r);
|
|
702
|
-
if ((e.length > 1 || t.length > 1) && _(e) && _(t)) {
|
|
703
|
-
const l = [], [o, s] = g0(e, t);
|
|
704
|
-
for (let u = o; u <= s; u += a)
|
|
705
|
-
l.push(u);
|
|
706
|
-
return l;
|
|
707
|
-
}
|
|
708
|
-
return p0(e, t, a);
|
|
709
|
-
}, y0 = (e, t, r = 1) => {
|
|
710
|
-
if (t === void 0) {
|
|
711
|
-
const [a, l, o] = e.split("..");
|
|
712
|
-
return o === void 0 ? Y(a, l, 1) : Y(a, o, Number.parseInt(l, 10));
|
|
713
|
-
}
|
|
714
|
-
return Se(e) && Se(t) ? Y(`${e}`, `${t}`, r) : Array.from({ length: e }, (a, l) => l * Math.abs(t));
|
|
715
|
-
}, Q = (e, t, r) => {
|
|
716
|
-
let a = t;
|
|
717
|
-
const l = r.length;
|
|
718
|
-
for (let o = 0; o < l; o++) {
|
|
719
|
-
const s = r[o];
|
|
720
|
-
a = e(a, s, o, r);
|
|
721
|
-
}
|
|
722
|
-
return a;
|
|
723
|
-
}, Ce = (e) => {
|
|
724
|
-
const t = Array.from(e.values());
|
|
725
|
-
let r = null, a = null, l = t.length;
|
|
726
|
-
for (r = 0; r < l / 2; r += 1) {
|
|
727
|
-
a = l - 1 - r;
|
|
728
|
-
let o = t[r];
|
|
729
|
-
t[r] = t[a], t[a] = o;
|
|
730
|
-
}
|
|
731
|
-
return t;
|
|
732
|
-
}, b0 = (e, t) => {
|
|
733
|
-
if (typeof t == "number")
|
|
734
|
-
return e.slice(t);
|
|
735
|
-
let r = e.length;
|
|
736
|
-
for (let a = 0; a < r; a++) {
|
|
737
|
-
const l = e[a];
|
|
738
|
-
if (t(l, a, e))
|
|
739
|
-
return e.slice(a);
|
|
740
|
-
}
|
|
741
|
-
return e.slice(0);
|
|
742
|
-
}, A0 = (e, t, r, a) => X(b0, e, t, r, a), Le = (e, t) => {
|
|
743
|
-
const r = [...e];
|
|
744
|
-
return t === void 0 ? r.sort() : typeof t == "function" ? r.toSorted(t) : r.toSorted(s0(t));
|
|
745
|
-
}, ot = /* @__PURE__ */ ((e) => (e.Asc = "asc", e.Desc = "desc", e))(ot || {}), v0 = (e) => (t, r) => e.reduce((a, l) => {
|
|
746
|
-
const o = l.type === "desc" ? -1 : 1, s = l.key, u = t[s] > r[s] ? o : t[s] < r[s] ? -o : 0;
|
|
747
|
-
return a !== 0 ? a : u;
|
|
748
|
-
}, 0), w0 = (e, t) => e.sort(v0(t)), Z0 = (e, t) => {
|
|
749
|
-
if (t === void 0)
|
|
750
|
-
return [...new Set(e).values()];
|
|
751
|
-
const r = /* @__PURE__ */ new Set();
|
|
752
|
-
return Array.isArray(t) ? [...new Set(t)] : C(e, (a) => {
|
|
753
|
-
const l = t ? r.has(a[t]) : r.has(t);
|
|
754
|
-
return t && (l || r.add(a[t])), !l;
|
|
755
|
-
});
|
|
756
|
-
}, E0 = class ne {
|
|
757
|
-
constructor(t = []) {
|
|
758
|
-
this.array = t;
|
|
759
|
-
}
|
|
760
|
-
static Range(...t) {
|
|
761
|
-
return y0(...t);
|
|
762
|
-
}
|
|
763
|
-
static New(t) {
|
|
764
|
-
return new ne(t);
|
|
765
|
-
}
|
|
766
|
-
Where(t, r, a) {
|
|
767
|
-
return this.array = c0(this.array, t, r, a), this;
|
|
768
|
-
}
|
|
769
|
-
Some(t, r, a) {
|
|
770
|
-
return l0(this.array, t, r, a);
|
|
771
|
-
}
|
|
772
|
-
All(t, r, a) {
|
|
773
|
-
return u0(this.array, t, r, a);
|
|
774
|
-
}
|
|
775
|
-
Reverse() {
|
|
776
|
-
return this.array = Ce(this.array), this;
|
|
777
|
-
}
|
|
778
|
-
Add(t) {
|
|
779
|
-
return this.array = Array.isArray(t) ? this.array.concat(t) : this.array.concat([t]), this;
|
|
780
|
-
}
|
|
781
|
-
Prepend(t) {
|
|
782
|
-
return this.array = Array.isArray(t) ? t.concat(this.array) : [t].concat(this.array), this;
|
|
783
|
-
}
|
|
784
|
-
Select(t) {
|
|
785
|
-
return t === void 0 ? this.array : this.array.map(t);
|
|
786
|
-
}
|
|
787
|
-
Take(t, r) {
|
|
788
|
-
return r !== void 0 ? this.array = this.array.slice(t, Math.max(0, r)) : this.array = this.array.slice(t), this;
|
|
789
|
-
}
|
|
790
|
-
Head() {
|
|
791
|
-
return this.array[0];
|
|
792
|
-
}
|
|
793
|
-
Tail() {
|
|
794
|
-
return this.Skip(1);
|
|
795
|
-
}
|
|
796
|
-
Skip(t, r, a) {
|
|
797
|
-
return this.array = A0(this.array, t, r, a), this;
|
|
798
|
-
}
|
|
799
|
-
Distinct() {
|
|
800
|
-
return this.array = m0(this.array), this;
|
|
801
|
-
}
|
|
802
|
-
First(t) {
|
|
803
|
-
return t === void 0 ? this.array[0] : h0(this.array, t) || null;
|
|
804
|
-
}
|
|
805
|
-
Last(t) {
|
|
806
|
-
const r = this.array.length;
|
|
807
|
-
if (t === void 0)
|
|
808
|
-
return this.array[r - 1];
|
|
809
|
-
for (let a = r; a !== 0; a--)
|
|
810
|
-
if (t(this.array[a], a, this.array))
|
|
811
|
-
return this.array[a];
|
|
812
|
-
}
|
|
813
|
-
Sum(t) {
|
|
814
|
-
return t === void 0 ? Q((r, a) => r + a, 0, this.array) : Q((r, a) => r + o0(a, t), 0, this.array);
|
|
815
|
-
}
|
|
816
|
-
Average(t) {
|
|
817
|
-
return this.Sum(t) / this.array.length;
|
|
818
|
-
}
|
|
819
|
-
GroupBy(t) {
|
|
820
|
-
return f0(this.array, t);
|
|
821
|
-
}
|
|
822
|
-
GroupWith(t) {
|
|
823
|
-
return lt(this.array, t);
|
|
824
|
-
}
|
|
825
|
-
Except(t) {
|
|
826
|
-
return C(this.array, (r) => !Ne(t, r));
|
|
827
|
-
}
|
|
828
|
-
Intersect(t) {
|
|
829
|
-
return C(this.array, (r) => Ne(t, r));
|
|
830
|
-
}
|
|
831
|
-
OrderBy(t, r) {
|
|
832
|
-
let a;
|
|
833
|
-
return a = t ? Le(this.array, t) : this.array.toSorted(), this.array = r === "desc" ? Ce(a) : a, this;
|
|
834
|
-
}
|
|
835
|
-
Includes(t) {
|
|
836
|
-
return he(this.array, (r) => N(r, t));
|
|
837
|
-
}
|
|
838
|
-
In(t) {
|
|
839
|
-
const r = t.length;
|
|
840
|
-
for (let a = 0; a < r; a++) {
|
|
841
|
-
const l = t[a];
|
|
842
|
-
if (this.Includes(l))
|
|
843
|
-
return !0;
|
|
844
|
-
}
|
|
845
|
-
return !1;
|
|
846
|
-
}
|
|
847
|
-
Reduce(t, r) {
|
|
848
|
-
return Q(t, r ?? this.array[0], this.array);
|
|
849
|
-
}
|
|
850
|
-
Empty() {
|
|
851
|
-
return this.array.length === 0;
|
|
852
|
-
}
|
|
853
|
-
ToMap(t) {
|
|
854
|
-
return new Map(Ve(this.array, (r) => [t, r]));
|
|
855
|
-
}
|
|
856
|
-
Zip(t, r) {
|
|
857
|
-
return Ve(this.array, (a, l) => r(a, t[l]));
|
|
858
|
-
}
|
|
859
|
-
Count(t) {
|
|
860
|
-
return t === void 0 ? this.array.length : C(this.array, t).length;
|
|
861
|
-
}
|
|
862
|
-
Get(t) {
|
|
863
|
-
return this.array[t];
|
|
864
|
-
}
|
|
865
|
-
Clone() {
|
|
866
|
-
return new ne(nt(this.array));
|
|
867
|
-
}
|
|
868
|
-
ToObject(t) {
|
|
869
|
-
return d0(this.array, t);
|
|
870
|
-
}
|
|
871
|
-
Sort(t) {
|
|
872
|
-
return Array.isArray(t) ? w0(this.array, t) : Le(this.array, t);
|
|
873
|
-
}
|
|
874
|
-
Unique(t) {
|
|
875
|
-
return Z0(this.array, t);
|
|
876
|
-
}
|
|
877
|
-
}, st = E0;
|
|
878
|
-
const M0 = (e) => {
|
|
879
|
-
const t = e.Icon ?? gt, r = x();
|
|
880
|
-
return /* @__PURE__ */ A("div", { className: "flex w-full flex-col items-center justify-center gap-4 px-8 py-12", children: [
|
|
881
|
-
/* @__PURE__ */ i(t, { size: 64, className: "text-disabled" }),
|
|
882
|
-
/* @__PURE__ */ i("p", { className: "text-disabled", children: e.message ?? r.emptyDataMessage })
|
|
883
|
-
] });
|
|
884
|
-
};
|
|
885
|
-
function H0(e, t) {
|
|
886
|
-
if (!e || !t) return [];
|
|
887
|
-
const r = [1];
|
|
888
|
-
if (e === 1 && t === 1) return r;
|
|
889
|
-
e > 4 && r.push("-");
|
|
890
|
-
const a = 2, l = e - a, o = e + a;
|
|
891
|
-
for (let u = l > 2 ? l : 2; u <= Math.min(t, o); u++) r.push(u);
|
|
892
|
-
const s = t - 2;
|
|
893
|
-
return o + 1 !== s && o + 1 < t && r.push("_"), o < t && (r.push(t - 2), r.push(t - 1), r.push(t)), Array.from(new Set(r));
|
|
894
|
-
}
|
|
895
|
-
const S0 = (e) => {
|
|
896
|
-
const t = dt(), r = x(), a = V(() => H0(e.current, e.pages), [e.current, e.pages]), l = e.current < e.pages, o = e.asLink ?? "button";
|
|
897
|
-
return /* @__PURE__ */ A("footer", { className: "flex flex-wrap items-center justify-center gap-4 border-t-muted p-3 text-sm lg:flex-nowrap lg:justify-between", children: [
|
|
898
|
-
/* @__PURE__ */ i("p", { children: /* @__PURE__ */ i(
|
|
899
|
-
r.tablePaginationFooter,
|
|
900
|
-
{
|
|
901
|
-
...e,
|
|
902
|
-
sizes: e.sizes,
|
|
903
|
-
select: e.onChangeSize && Array.isArray(e.sizes) ? /* @__PURE__ */ A(M, { children: [
|
|
904
|
-
/* @__PURE__ */ i("label", { htmlFor: t, children: r.tablePaginationSelectLabel }),
|
|
905
|
-
/* @__PURE__ */ i(
|
|
906
|
-
"select",
|
|
907
|
-
{
|
|
908
|
-
id: t,
|
|
909
|
-
value: e.size,
|
|
910
|
-
className: "cursor-pointer bg-transparent",
|
|
911
|
-
onChange: (s) => {
|
|
912
|
-
e.onChangeSize?.(Number(s.target.value));
|
|
913
|
-
},
|
|
914
|
-
children: e.sizes.map((s) => /* @__PURE__ */ i("option", { value: s, children: s }, `pagination-opt-${s}`))
|
|
915
|
-
}
|
|
916
|
-
),
|
|
917
|
-
" "
|
|
918
|
-
] }) : null
|
|
919
|
-
}
|
|
920
|
-
) }),
|
|
921
|
-
/* @__PURE__ */ i("nav", { children: /* @__PURE__ */ A("ul", { className: "flex items-center gap-2", children: [
|
|
922
|
-
e.current > 1 ? /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(J, { as: o, href: "previous", className: "", children: r.tablePaginationPrevious }) }) : null,
|
|
923
|
-
a.map((s) => s === null ? null : /* @__PURE__ */ i(M, { children: typeof s == "string" ? /* @__PURE__ */ i("li", { children: "..." }) : /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(
|
|
924
|
-
J,
|
|
925
|
-
{
|
|
926
|
-
href: s,
|
|
927
|
-
as: o,
|
|
928
|
-
className: `cursor-pointer border-b-2 px-3 py-1 proportional-nums transition-colors hover:border-primary-subtle hover:text-primary-subtle ${s === e.current ? "border-primary text-primary" : "border-transparent"}`,
|
|
929
|
-
children: s
|
|
930
|
-
}
|
|
931
|
-
) }) }, `pagination-${s}`)),
|
|
932
|
-
l ? /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(J, { as: o, href: "next", className: "", children: r.tablePaginationNext }) }) : null
|
|
933
|
-
] }) })
|
|
934
|
-
] });
|
|
935
|
-
}, F0 = (e) => {
|
|
936
|
-
const t = F(null), r = F(null), [a, l] = D("opacity-0"), o = a === "opacity-0";
|
|
937
|
-
return /* @__PURE__ */ i(
|
|
938
|
-
"div",
|
|
939
|
-
{
|
|
940
|
-
ref: t,
|
|
941
|
-
onMouseEnter: () => {
|
|
942
|
-
const c = r.current, m = t.current;
|
|
943
|
-
c !== null && m !== null && (m.style.left = `-${c.getBoundingClientRect().width + 4}px`), l("opacity-100");
|
|
944
|
-
},
|
|
945
|
-
onMouseLeave: () => l("opacity-0"),
|
|
946
|
-
"data-component": "cell-aside",
|
|
947
|
-
inert: o ? !0 : void 0,
|
|
948
|
-
tabIndex: o ? -1 : void 0,
|
|
949
|
-
className: `group-table-cell-aside absolute inset-0 top-0 flex h-full w-full items-stretch transition-opacity duration-300 ease-in-out ${a}`,
|
|
950
|
-
children: /* @__PURE__ */ i("div", { ref: r, className: "isolate block", children: e.children })
|
|
951
|
-
}
|
|
952
|
-
);
|
|
953
|
-
}, x0 = (e, t, r) => {
|
|
954
|
-
const a = r.cols, l = r.loading;
|
|
955
|
-
return /* @__PURE__ */ i(M, { children: a.map((o, s) => {
|
|
956
|
-
const u = `${s},${e}`, c = pt(t, o.id), m = o.Element, h = o.cellProps?.className || "", g = s === 0 && r.Aside && l === !1, y = r.Aside;
|
|
957
|
-
return /* @__PURE__ */ mt(
|
|
958
|
-
"td",
|
|
959
|
-
{
|
|
960
|
-
...o.cellProps,
|
|
961
|
-
role: "cell",
|
|
962
|
-
"data-matrix": u,
|
|
963
|
-
key: `accessor-${e}-${s}`,
|
|
964
|
-
className: `typography group-table-cell flex border-collapse flex-col whitespace-pre-wrap border border-y border-b border-table-border p-[var(--table-cell-padding)] md:table-cell md:border-b-0 md:border-r md:border-l-transparent md:last:border-r-transparent ${h}`
|
|
965
|
-
},
|
|
966
|
-
g ? /* @__PURE__ */ i(F0, { children: /* @__PURE__ */ i(y, { col: o, row: t, rowIndex: e }) }) : null,
|
|
967
|
-
/* @__PURE__ */ i("span", { className: "block text-sm font-bold leading-tight md:hidden", children: o.thead }),
|
|
968
|
-
/* @__PURE__ */ i("span", { className: "relative", children: l ? Oe : m ? /* @__PURE__ */ i(M, { children: /* @__PURE__ */ i(
|
|
969
|
-
m,
|
|
970
|
-
{
|
|
971
|
-
row: t,
|
|
972
|
-
matrix: u,
|
|
973
|
-
col: o,
|
|
974
|
-
rowIndex: e,
|
|
975
|
-
value: c
|
|
976
|
-
}
|
|
977
|
-
) }) : /* @__PURE__ */ i(M, { children: De.nil(c) ? "" : c }) })
|
|
978
|
-
);
|
|
979
|
-
}) });
|
|
980
|
-
};
|
|
981
|
-
var ee = {}, Ie;
|
|
982
|
-
function N0() {
|
|
983
|
-
return Ie || (Ie = 1, (function(e) {
|
|
984
|
-
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
985
|
-
const t = (d, f) => {
|
|
986
|
-
try {
|
|
987
|
-
Object.keys(d).forEach(f);
|
|
988
|
-
} catch (b) {
|
|
989
|
-
window.console.log(b);
|
|
990
|
-
}
|
|
991
|
-
}, r = (d) => d == null, a = (d) => {
|
|
992
|
-
const f = typeof d;
|
|
993
|
-
return f === "string" || f === "number" || f === "boolean" || r(d);
|
|
994
|
-
}, l = (d, f) => {
|
|
995
|
-
const b = f.getItem(d);
|
|
996
|
-
try {
|
|
997
|
-
return JSON.parse(b);
|
|
998
|
-
} catch {
|
|
999
|
-
return b ?? null;
|
|
1000
|
-
}
|
|
1001
|
-
}, o = (d) => Object.keys(d).reduce((f, b) => ({ ...f, [b]: l(b, d) }), {}), s = (d) => d instanceof Date ? d : typeof d == "number" ? new Date(/* @__PURE__ */ new Date() * 1 + d * 864e5) : d, u = "1969-12-31T23:59:59.000Z", c = () => document.cookie === "" ? {} : document.cookie.split("; ").map((d) => d.split("=")).reduce((d, f) => (d[decodeURIComponent(f[0].trim())] = decodeURIComponent(f[1].trim()), d), {}), m = /* @__PURE__ */ new Set(), h = () => {
|
|
1002
|
-
const d = c();
|
|
1003
|
-
m.forEach((f) => f(d));
|
|
1004
|
-
}, g = [{ name: "expires", parse: (d) => `expires=${s(d.expires ?? u)}` }, { name: "maxAge", parse: (d) => d.maxAge ? `max-age=${s(d.expires ?? u)}` : "" }, { name: "path", parse: (d) => `path=${d.path ?? "/"}` }, { name: "sameSite", parse: (d) => `samesite=${d.sameSite ?? "strict"}` }, { name: "useSecure", parse: (d) => `${d.useSecure ?? !0 ? "secure" : ""}` }, { name: "domain", parse: (d) => {
|
|
1005
|
-
const f = d.domain ?? "";
|
|
1006
|
-
return f === "" ? "" : `domain=${d.multiDomain ? "." : ""}${f}`;
|
|
1007
|
-
} }, { name: "partitioned", parse: (d) => d.partitioned ? "Partitioned" : "" }], y = { json: c, listener: (d) => (m.add(d), () => m.delete(d)), clearListeners: () => m.clear(), has: (d) => document.cookie.split(";").some((f) => f.trim().startsWith(`${d}=`)), deleteAll: () => {
|
|
1008
|
-
document.cookie.split(";").forEach((d) => {
|
|
1009
|
-
document.cookie = d.replace(/^ +/, "").replace(/=.*/, `=;expires=${(/* @__PURE__ */ new Date()).toUTCString()};path=/`);
|
|
1010
|
-
}), h();
|
|
1011
|
-
}, get: (d) => {
|
|
1012
|
-
const f = y.json()[d];
|
|
1013
|
-
if (r(f)) return null;
|
|
1014
|
-
try {
|
|
1015
|
-
return JSON.parse(decodeURIComponent(f));
|
|
1016
|
-
} catch {
|
|
1017
|
-
return f;
|
|
1018
|
-
}
|
|
1019
|
-
}, delete: (d) => {
|
|
1020
|
-
document.cookie = `${encodeURIComponent(d)}=;expires=${(/* @__PURE__ */ new Date()).toUTCString()}`, h();
|
|
1021
|
-
}, set: (d, f, b = {}) => {
|
|
1022
|
-
const v = a(f) ? f : encodeURIComponent(JSON.stringify(f)), E = g.reduce((S, ye) => {
|
|
1023
|
-
const be = ye.parse(b);
|
|
1024
|
-
return be === "" ? S : S.concat(be);
|
|
1025
|
-
}, [`${encodeURIComponent(d)}=${v}`]).join(";");
|
|
1026
|
-
document.cookie = E, h();
|
|
1027
|
-
} }, w = (d) => {
|
|
1028
|
-
const f = /* @__PURE__ */ new Set(), b = (v) => {
|
|
1029
|
-
d().removeItem(v);
|
|
1030
|
-
const E = o(d());
|
|
1031
|
-
f.forEach((S) => S(E));
|
|
1032
|
-
};
|
|
1033
|
-
return { delete: b, listener: (v) => (f.add(v), () => f.delete(v)), clearListeners: () => f.clear(), json: (v = !1) => v ? o(d()) : d(), has: (v) => {
|
|
1034
|
-
const E = d().getItem(v);
|
|
1035
|
-
return !r(E);
|
|
1036
|
-
}, deleteAll: () => {
|
|
1037
|
-
t(d(), b), f.forEach((v) => v(d()));
|
|
1038
|
-
}, get: (v) => l(v, d()), set: (v, E) => {
|
|
1039
|
-
d().setItem(v, JSON.stringify(E)), f.forEach((S) => S(d()));
|
|
1040
|
-
} };
|
|
1041
|
-
}, Z = w(() => window.sessionStorage), p = w(() => window.localStorage);
|
|
1042
|
-
e.Cookie = y, e.LocalStorage = p, e.SessionStorage = Z, e.createStorage = w;
|
|
1043
|
-
})(ee)), ee;
|
|
1044
|
-
}
|
|
1045
|
-
var Te = N0();
|
|
1046
|
-
const fe = (e) => e.headerLabel ?? e.thead ?? e.id, it = (e) => e.map((t) => ({
|
|
1047
|
-
value: t.id,
|
|
1048
|
-
label: t.thead ?? t.headerLabel ?? t.id
|
|
1049
|
-
}));
|
|
1050
|
-
var k = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.Number = "number", e.Select = "select", e.Text = "text", e))(k || {});
|
|
1051
|
-
const ge = (e) => e.type === "number" ? e.valueAsNumber : e.value, Mr = (e) => {
|
|
1052
|
-
let t = [];
|
|
1053
|
-
return e({ add: (s, u, c) => t.push({ ...c, id: s, thead: u }), remove: (s) => t = t.filter((u) => u.id !== s), getAll: () => Array.from(t), filter: (s) => t = Array.from(t.filter(s)) }), t;
|
|
1054
|
-
}, V0 = {}, C0 = (e, t) => {
|
|
1055
|
-
if (!Array.isArray(t)) return e;
|
|
1056
|
-
const r = new Set(t.map((l) => l.id));
|
|
1057
|
-
if (!e.every((l) => r.has(l.id)))
|
|
1058
|
-
return e;
|
|
1059
|
-
const a = new Map(e.map((l) => [l.id, l]));
|
|
1060
|
-
return t.map((l, o) => {
|
|
1061
|
-
const s = a.get(l.id);
|
|
1062
|
-
return s === void 0 ? e[o] : s;
|
|
1063
|
-
});
|
|
1064
|
-
}, Hr = (e, t, r = V0) => {
|
|
1065
|
-
const a = re() ? null : Te.LocalStorage.get(`@components/table-${e}`) || null, [l, o] = ke(
|
|
1066
|
-
{
|
|
1067
|
-
name: e,
|
|
1068
|
-
groups: r.groups || a?.groups || [],
|
|
1069
|
-
sorters: r.sorters || a?.sorters || [],
|
|
1070
|
-
filters: r.filters || a?.filters || [],
|
|
1071
|
-
cols: C0(t, a?.cols)
|
|
1072
|
-
},
|
|
1073
|
-
(s) => {
|
|
1074
|
-
const u = (c) => {
|
|
1075
|
-
const m = s.state(), h = { ...m, ...c };
|
|
1076
|
-
return re() || Te.LocalStorage.set(`@components/table-${m.name}`, h), h;
|
|
1077
|
-
};
|
|
1078
|
-
return u(s.state()), {
|
|
1079
|
-
set: (c) => u(c)
|
|
1080
|
-
};
|
|
1081
|
-
}
|
|
1082
|
-
);
|
|
1083
|
-
return { ...l, ...o, name: e };
|
|
1084
|
-
}, L0 = (e) => {
|
|
1085
|
-
const t = te(e), r = F(null), a = W(
|
|
1086
|
-
(l) => {
|
|
1087
|
-
t.current(l), l.forEach((o) => {
|
|
1088
|
-
const s = r.current.querySelector(`th[data-tableheader="${o.id}"]`);
|
|
1089
|
-
s && (s.style.width = "auto");
|
|
1090
|
-
});
|
|
1091
|
-
},
|
|
1092
|
-
[t]
|
|
1093
|
-
);
|
|
1094
|
-
return [r, a];
|
|
1095
|
-
}, Sr = () => re() ? void 0 : document.querySelector('[data-component="modal-body"]'), I0 = (e) => (t, r) => e.reduce((a, l) => {
|
|
1096
|
-
const o = l.type === "desc" ? -1 : 1, s = l.value, u = t[s] > r[s] ? o : t[s] < r[s] ? -o : 0;
|
|
1097
|
-
return a !== 0 ? a : u;
|
|
1098
|
-
}, 0), T0 = (e, t) => (e.sort(I0(t)), e), ct = (e, t, r) => ({
|
|
1099
|
-
label: t,
|
|
1100
|
-
id: ie(),
|
|
1101
|
-
type: r,
|
|
1102
|
-
value: e.id
|
|
1103
|
-
}), $0 = (e) => {
|
|
1104
|
-
const t = x(), r = {
|
|
1105
|
-
asc: {
|
|
1106
|
-
label: t.tableSortAsc,
|
|
1107
|
-
value: "asc"
|
|
1108
|
-
/* Asc */
|
|
1109
|
-
},
|
|
1110
|
-
desc: {
|
|
1111
|
-
label: t.tableSortDesc,
|
|
1112
|
-
value: "desc"
|
|
1113
|
-
/* Desc */
|
|
1114
|
-
}
|
|
1115
|
-
}, a = [r.asc, r.desc], l = () => {
|
|
1116
|
-
const c = e.cols[0];
|
|
1117
|
-
c && e.set((m) => [...m, ct(c, r.asc.label, r.asc.value)]);
|
|
1118
|
-
}, o = (c) => (m) => {
|
|
1119
|
-
const h = m.target.value;
|
|
1120
|
-
e.set((g) => g.map((y) => y.id === c ? { ...y, value: h } : y));
|
|
1121
|
-
}, s = (c) => (m) => {
|
|
1122
|
-
const h = m.target.value;
|
|
1123
|
-
e.set((g) => g.map((y) => y.id === c ? { ...y, type: h } : y));
|
|
1124
|
-
}, u = (c) => {
|
|
1125
|
-
const m = c.currentTarget.dataset.id || "";
|
|
1126
|
-
e.set((h) => h.filter((g) => g.id !== m));
|
|
1127
|
-
};
|
|
1128
|
-
return /* @__PURE__ */ i(M, { children: /* @__PURE__ */ i(
|
|
1129
|
-
j,
|
|
1130
|
-
{
|
|
1131
|
-
title: t.tableSortDropdownTitle,
|
|
1132
|
-
trigger: /* @__PURE__ */ A("span", { className: "flex items-center gap-1 proportional-nums", children: [
|
|
1133
|
-
/* @__PURE__ */ i(me, { size: 14 }),
|
|
1134
|
-
t.tableSortOrderByLabel,
|
|
1135
|
-
" ",
|
|
1136
|
-
e.sorters.length === 0 ? "" : ` (${e.sorters.length})`
|
|
1137
|
-
] }),
|
|
1138
|
-
children: /* @__PURE__ */ A("ul", { className: "mt-4 space-y-2", children: [
|
|
1139
|
-
e.sorters.map((c) => /* @__PURE__ */ A("li", { className: "flex flex-nowrap gap-3", children: [
|
|
1140
|
-
/* @__PURE__ */ i(
|
|
1141
|
-
L,
|
|
1142
|
-
{
|
|
1143
|
-
options: e.options,
|
|
1144
|
-
value: c.value,
|
|
1145
|
-
onChange: o(c.id),
|
|
1146
|
-
title: t.tableSortOrderInputTitle,
|
|
1147
|
-
placeholder: t.tableSortOrderInputPlaceholder
|
|
1148
|
-
}
|
|
1149
|
-
),
|
|
1150
|
-
/* @__PURE__ */ i(
|
|
1151
|
-
L,
|
|
1152
|
-
{
|
|
1153
|
-
onChange: s(c.id),
|
|
1154
|
-
value: c.type,
|
|
1155
|
-
options: a,
|
|
1156
|
-
title: t.tableSortTypeInputTitle,
|
|
1157
|
-
placeholder: t.tableSortTypeInputPlaceholder
|
|
1158
|
-
}
|
|
1159
|
-
),
|
|
1160
|
-
/* @__PURE__ */ i("button", { className: "mt-4", "data-id": c.id, onClick: u, children: /* @__PURE__ */ i(O, { className: "text-danger", size: 14 }) })
|
|
1161
|
-
] }, `sorter-select-${c.id}`)),
|
|
1162
|
-
/* @__PURE__ */ i("li", { children: /* @__PURE__ */ A("button", { type: "button", onClick: l, className: "flex items-center gap-1 text-primary", children: [
|
|
1163
|
-
/* @__PURE__ */ i(U, { size: 14 }),
|
|
1164
|
-
" ",
|
|
1165
|
-
t.tableSortAddButton
|
|
1166
|
-
] }) })
|
|
1167
|
-
] })
|
|
1168
|
-
}
|
|
1169
|
-
) });
|
|
1170
|
-
}, R0 = (e) => {
|
|
1171
|
-
const t = x(), [r, a] = D(() => {
|
|
1172
|
-
const u = e.sorters.find((c) => c.value === e.col.id);
|
|
1173
|
-
return u ? u.type : "undefined";
|
|
1174
|
-
}), l = () => {
|
|
1175
|
-
const u = r === "undefined" ? "asc" : r === "asc" ? "desc" : "undefined";
|
|
1176
|
-
a(u), e.setSorters((c) => {
|
|
1177
|
-
if (u === "undefined") return c.filter((g) => g.value !== e.col.id);
|
|
1178
|
-
const m = c.findIndex((g) => g.value === e.col.id), h = ct(e.col, u, u);
|
|
1179
|
-
return m === -1 ? [...c, h] : (c[m] = h, [...c]);
|
|
1180
|
-
});
|
|
1181
|
-
}, o = `${e.col.id}-sorter-id`, s = fe(e.col);
|
|
1182
|
-
return /* @__PURE__ */ A("button", { "aria-labelledby": o, className: "isolate flex items-center", onClick: l, type: "button", children: [
|
|
1183
|
-
/* @__PURE__ */ A("span", { id: o, className: "sr-only", children: [
|
|
1184
|
-
t.tableSortDropdownTitle,
|
|
1185
|
-
" ",
|
|
1186
|
-
s
|
|
1187
|
-
] }),
|
|
1188
|
-
r === "asc" ? /* @__PURE__ */ i(Xe, { size: 14 }) : null,
|
|
1189
|
-
r === "desc" ? /* @__PURE__ */ i(Je, { size: 14 }) : null,
|
|
1190
|
-
r === "undefined" ? /* @__PURE__ */ i(me, { size: 14 }) : null
|
|
1191
|
-
] });
|
|
1192
|
-
}, ut = oe({}), k0 = ut.Provider, P0 = () => B(ut), le = (e, t, r, a = {}) => {
|
|
1193
|
-
const l = e.id, o = e.type ?? k.Text, s = t[o] ?? [], u = s.find((m) => m["data-default"])?.value ?? s[0]?.value, c = r[u];
|
|
1194
|
-
return { id: ie(), operation: c, label: fe(e), name: l, type: o, value: "", ...a };
|
|
1195
|
-
}, pe = () => {
|
|
1196
|
-
const e = x(), t = V(
|
|
1197
|
-
() => ({
|
|
1198
|
-
contains: {
|
|
1199
|
-
value: "contains",
|
|
1200
|
-
label: e.tableFilterTypeContains,
|
|
1201
|
-
symbol: "includes",
|
|
1202
|
-
"data-default": "true"
|
|
1203
|
-
},
|
|
1204
|
-
is: { value: "is", label: e.tableFilterTypeIs, symbol: "is" },
|
|
1205
|
-
isNot: { value: "isNot", label: e.tableFilterTypeIsNot, symbol: "!==" },
|
|
1206
|
-
notContains: {
|
|
1207
|
-
value: "notContains",
|
|
1208
|
-
label: e.tableFilterTypeNotContains,
|
|
1209
|
-
symbol: "notIncludes"
|
|
1210
|
-
},
|
|
1211
|
-
lessThan: { value: "lessThan", label: e.tableFilterTypeLessThan, symbol: "<=" },
|
|
1212
|
-
greaterThan: { value: "greaterThan", label: e.tableFilterTypeGreaterThan, symbol: ">=" },
|
|
1213
|
-
startsWith: { value: "startsWith", label: e.tableFilterTypeStartsWith, symbol: "startsWith" },
|
|
1214
|
-
endsWith: { value: "endsWith", label: e.tableFilterTypeEndsWith, symbol: "endsWith" }
|
|
1215
|
-
}),
|
|
1216
|
-
[e]
|
|
1217
|
-
);
|
|
1218
|
-
return { options: V(
|
|
1219
|
-
() => ({
|
|
1220
|
-
[k.Text]: [
|
|
1221
|
-
t.is,
|
|
1222
|
-
t.isNot,
|
|
1223
|
-
t.contains,
|
|
1224
|
-
t.notContains,
|
|
1225
|
-
t.startsWith,
|
|
1226
|
-
t.endsWith
|
|
1227
|
-
],
|
|
1228
|
-
[k.Boolean]: [t.is, t.isNot],
|
|
1229
|
-
[k.Number]: [t.is, t.isNot, t.greaterThan, t.lessThan]
|
|
1230
|
-
}),
|
|
1231
|
-
[t]
|
|
1232
|
-
), operations: t };
|
|
1233
|
-
}, D0 = (e) => {
|
|
1234
|
-
const t = x(), r = pe(), a = () => {
|
|
1235
|
-
const c = e.cols.at(0);
|
|
1236
|
-
e.set((m) => [...m, le(c, r.options, r.operations)]);
|
|
1237
|
-
}, l = (c) => {
|
|
1238
|
-
const m = c.target.dataset.id || "", h = c.target.value;
|
|
1239
|
-
e.set(
|
|
1240
|
-
(g) => g.map((y) => {
|
|
1241
|
-
if (m !== y.id) return y;
|
|
1242
|
-
const w = e.cols.find((Z) => h === Z.id);
|
|
1243
|
-
return le(w, r.options, r.operations, { value: "" });
|
|
1244
|
-
})
|
|
1245
|
-
);
|
|
1246
|
-
}, o = (c) => {
|
|
1247
|
-
const m = c.target.dataset.id || "", h = c.target.value;
|
|
1248
|
-
e.set(
|
|
1249
|
-
(g) => g.map(
|
|
1250
|
-
(y) => y.id === m ? {
|
|
1251
|
-
...y,
|
|
1252
|
-
operation: r.operations[h]
|
|
1253
|
-
} : y
|
|
1254
|
-
)
|
|
1255
|
-
);
|
|
1256
|
-
}, s = (c) => {
|
|
1257
|
-
const m = c.currentTarget.dataset.id || "";
|
|
1258
|
-
e.set((h) => h.filter((g) => g.id !== m));
|
|
1259
|
-
}, u = (c) => {
|
|
1260
|
-
const m = c.target.dataset.id || "", h = ge(c.target);
|
|
1261
|
-
e.set((g) => g.map((y) => y.id === m ? { ...y, value: h } : y));
|
|
1262
|
-
};
|
|
1263
|
-
return /* @__PURE__ */ i(M, { children: /* @__PURE__ */ i(
|
|
1264
|
-
j,
|
|
1265
|
-
{
|
|
1266
|
-
arrow: !0,
|
|
1267
|
-
title: t.tableFilterDropdownTitle,
|
|
1268
|
-
trigger: /* @__PURE__ */ A("span", { className: "flex items-center gap-1 proportional-nums", children: [
|
|
1269
|
-
/* @__PURE__ */ i(je, { size: 14 }),
|
|
1270
|
-
t.tableFilterLabel,
|
|
1271
|
-
" ",
|
|
1272
|
-
e.filters.length === 0 ? "" : ` (${e.filters.length})`
|
|
1273
|
-
] }),
|
|
1274
|
-
children: /* @__PURE__ */ A("ul", { className: "mt-4 space-y-2", children: [
|
|
1275
|
-
e.filters.map((c) => {
|
|
1276
|
-
const m = r.options[c.type];
|
|
1277
|
-
return /* @__PURE__ */ A("li", { className: "flex flex-nowrap gap-3", children: [
|
|
1278
|
-
/* @__PURE__ */ i(
|
|
1279
|
-
L,
|
|
1280
|
-
{
|
|
1281
|
-
options: e.options,
|
|
1282
|
-
title: t.tableFilterColumnTitle,
|
|
1283
|
-
placeholder: t.tableFilterColumnPlaceholder,
|
|
1284
|
-
value: c.name,
|
|
1285
|
-
"data-id": c.id,
|
|
1286
|
-
onChange: l
|
|
1287
|
-
}
|
|
1288
|
-
),
|
|
1289
|
-
/* @__PURE__ */ i(
|
|
1290
|
-
L,
|
|
1291
|
-
{
|
|
1292
|
-
"data-id": c.id,
|
|
1293
|
-
onChange: o,
|
|
1294
|
-
value: c.operation.value,
|
|
1295
|
-
options: m,
|
|
1296
|
-
title: t.tableFilterOperatorTitle,
|
|
1297
|
-
placeholder: t.tableFilterOperatorPlaceholder
|
|
1298
|
-
}
|
|
1299
|
-
),
|
|
1300
|
-
/* @__PURE__ */ i(
|
|
1301
|
-
Ge,
|
|
1302
|
-
{
|
|
1303
|
-
optionalText: "",
|
|
1304
|
-
"data-id": c.id,
|
|
1305
|
-
onChange: u,
|
|
1306
|
-
value: c.value,
|
|
1307
|
-
type: c.type,
|
|
1308
|
-
title: t.tableFilterValueTitle,
|
|
1309
|
-
placeholder: t.tableFilterValuePlaceholder
|
|
1310
|
-
}
|
|
1311
|
-
),
|
|
1312
|
-
/* @__PURE__ */ i("div", { className: "mt-5 flex items-center justify-center", children: /* @__PURE__ */ i("button", { "data-id": c.id, type: "button", onClick: s, children: /* @__PURE__ */ i(O, { className: "text-danger", size: 16 }) }) })
|
|
1313
|
-
] }, `filter-select-${c.id}`);
|
|
1314
|
-
}),
|
|
1315
|
-
/* @__PURE__ */ i("li", { children: /* @__PURE__ */ A("button", { type: "button", onClick: a, className: "flex items-center gap-1 text-primary", children: [
|
|
1316
|
-
/* @__PURE__ */ i(U, { size: 14 }),
|
|
1317
|
-
" ",
|
|
1318
|
-
t.tableFilterNewFilter
|
|
1319
|
-
] }) })
|
|
1320
|
-
] })
|
|
1321
|
-
}
|
|
1322
|
-
) });
|
|
1323
|
-
}, O0 = ({ filter: e, onDelete: t, set: r }) => {
|
|
1324
|
-
const a = x(), l = pe(), o = (u) => {
|
|
1325
|
-
const c = u.target.value, m = u.target.dataset.id || "";
|
|
1326
|
-
r(
|
|
1327
|
-
(h) => h.map(
|
|
1328
|
-
(g) => g.id === m ? {
|
|
1329
|
-
...g,
|
|
1330
|
-
operation: l.operations[c]
|
|
1331
|
-
} : g
|
|
1332
|
-
)
|
|
1333
|
-
);
|
|
1334
|
-
}, s = (u) => {
|
|
1335
|
-
const c = u.target.dataset.id || "", m = ge(u.target);
|
|
1336
|
-
r((h) => h.map((g) => g.id === c ? { ...g, value: m } : g));
|
|
1337
|
-
};
|
|
1338
|
-
return /* @__PURE__ */ A("div", { className: "flex flex-nowrap items-center gap-4 py-2", children: [
|
|
1339
|
-
/* @__PURE__ */ i(
|
|
1340
|
-
L,
|
|
1341
|
-
{
|
|
1342
|
-
"data-id": e.id,
|
|
1343
|
-
onChange: o,
|
|
1344
|
-
value: e.operation.value,
|
|
1345
|
-
options: l.options[e.type],
|
|
1346
|
-
title: a.tableFilterColumnTitle,
|
|
1347
|
-
placeholder: a.tableFilterColumnPlaceholder
|
|
1348
|
-
}
|
|
1349
|
-
),
|
|
1350
|
-
/* @__PURE__ */ i(
|
|
1351
|
-
Ge,
|
|
1352
|
-
{
|
|
1353
|
-
optionalText: " ",
|
|
1354
|
-
"data-id": e.id,
|
|
1355
|
-
onChange: s,
|
|
1356
|
-
value: e.value,
|
|
1357
|
-
type: e.type,
|
|
1358
|
-
title: a.tableFilterValueTitle,
|
|
1359
|
-
placeholder: a.tableFilterValueTitle
|
|
1360
|
-
}
|
|
1361
|
-
),
|
|
1362
|
-
/* @__PURE__ */ i("button", { onClick: t, "data-id": e.id, type: "button", className: "mt-4", children: /* @__PURE__ */ i(O, { className: "text-danger", size: 14 }) })
|
|
1363
|
-
] });
|
|
1364
|
-
}, G0 = { top: 0, left: 0, right: 0, bottom: -1 }, z0 = (e) => {
|
|
1365
|
-
const t = Pe(), r = x(), a = e.filters.filter((p) => p.name === e.header.id), l = a.length > 0, o = e.header.allowSort ?? t.table.sorters ?? !0, s = e.header.allowFilter ?? t.table.filters ?? !0, u = pe(), c = l ? qe : Ue, m = F(null), h = (p) => {
|
|
1366
|
-
const d = p.currentTarget.dataset.id || "";
|
|
1367
|
-
return e.setFilters((f) => f.filter((b) => b.id !== d));
|
|
1368
|
-
}, g = W((p) => {
|
|
1369
|
-
if (p === null) return;
|
|
1370
|
-
m.current = p;
|
|
1371
|
-
const d = new AbortController();
|
|
1372
|
-
return p.addEventListener(
|
|
1373
|
-
"pointerdown",
|
|
1374
|
-
(f) => {
|
|
1375
|
-
if (f.target.dataset.type === "resizer")
|
|
1376
|
-
return f.stopPropagation(), f.stopImmediatePropagation();
|
|
1377
|
-
},
|
|
1378
|
-
{ signal: d.signal }
|
|
1379
|
-
), () => d.abort();
|
|
1380
|
-
}, []), y = e.sorters.find((p) => e.header.id === p.value), w = y?.type ? y.type === ot.Asc ? "ascending" : "descending" : "none", Z = fe(e.header);
|
|
1381
|
-
return /* @__PURE__ */ A(
|
|
1382
|
-
rt,
|
|
1383
|
-
{
|
|
1384
|
-
...e.header.thProps,
|
|
1385
|
-
as: "th",
|
|
1386
|
-
ref: g,
|
|
1387
|
-
initial: !1,
|
|
1388
|
-
dragSnapToOrigin: !0,
|
|
1389
|
-
dragDirectionLock: !0,
|
|
1390
|
-
role: "columnheader",
|
|
1391
|
-
"aria-sort": w,
|
|
1392
|
-
value: e.header,
|
|
1393
|
-
"aria-busy": e.loading,
|
|
1394
|
-
"data-tableheader": e.header.id,
|
|
1395
|
-
whileDrag: { cursor: "grabbing" },
|
|
1396
|
-
className: `typography relative min-w-0 cursor-grab overflow-clip border-r-[1px] border-table-border bg-table-header font-medium first:rounded-tl-lg last:rounded-tr-lg last:border-r-transparent md:h-14 ${e.header.thProps?.className ?? ""}`,
|
|
1397
|
-
children: [
|
|
1398
|
-
/* @__PURE__ */ i(
|
|
1399
|
-
"span",
|
|
1400
|
-
{
|
|
1401
|
-
className: `flex h-full items-center justify-between bg-table-header p-[var(--table-cell-padding)] ${e.isLast ? "rounded-tr-lg" : ""} ${e.index === 0 ? "rounded-tl-lg" : ""}`,
|
|
1402
|
-
children: /* @__PURE__ */ A("span", { className: "flex items-center gap-1", children: [
|
|
1403
|
-
e.inlineFilter && s ? /* @__PURE__ */ i(
|
|
1404
|
-
j,
|
|
1405
|
-
{
|
|
1406
|
-
arrow: !0,
|
|
1407
|
-
trigger: /* @__PURE__ */ A("span", { children: [
|
|
1408
|
-
/* @__PURE__ */ A("span", { id: `${e.header.id}-filter-dropdown-button`, className: "sr-only", children: [
|
|
1409
|
-
r.tableFilterDropdownTitleUnique,
|
|
1410
|
-
" ",
|
|
1411
|
-
Z
|
|
1412
|
-
] }),
|
|
1413
|
-
/* @__PURE__ */ i(c, { "aria-labelledby": `${e.header.id}-filter-dropdown-button`, size: 14 })
|
|
1414
|
-
] }),
|
|
1415
|
-
title: /* @__PURE__ */ A("span", { className: "text-lg", children: [
|
|
1416
|
-
r.tableFilterDropdownTitleUnique,
|
|
1417
|
-
" ",
|
|
1418
|
-
/* @__PURE__ */ i("span", { className: "font-medium", children: Z })
|
|
1419
|
-
] }),
|
|
1420
|
-
children: /* @__PURE__ */ A("ul", { className: "font-medium", children: [
|
|
1421
|
-
a.length === 0 ? null : /* @__PURE__ */ i(M, { children: a.map((p) => /* @__PURE__ */ i("li", { className: "my-1", children: /* @__PURE__ */ i(O0, { onDelete: h, filter: p, set: e.setFilters }) }, `thead-filter-${p.id}`)) }),
|
|
1422
|
-
/* @__PURE__ */ i("li", { children: /* @__PURE__ */ A(
|
|
1423
|
-
"button",
|
|
1424
|
-
{
|
|
1425
|
-
type: "button",
|
|
1426
|
-
className: "flex items-center gap-1 text-primary",
|
|
1427
|
-
onClick: () => e.setFilters(
|
|
1428
|
-
(p) => p.concat(le(e.header, u.options, u.operations))
|
|
1429
|
-
),
|
|
1430
|
-
children: [
|
|
1431
|
-
/* @__PURE__ */ i(U, { size: 14 }),
|
|
1432
|
-
" ",
|
|
1433
|
-
r.tableFilterNewFilter
|
|
1434
|
-
]
|
|
1435
|
-
}
|
|
1436
|
-
) })
|
|
1437
|
-
] })
|
|
1438
|
-
}
|
|
1439
|
-
) : null,
|
|
1440
|
-
/* @__PURE__ */ i("span", { className: "pointer-events-auto text-balance text-base", children: e.header.thead }),
|
|
1441
|
-
e.inlineSorter && o ? /* @__PURE__ */ i(R0, { col: e.header, setSorters: e.setSorters, sorters: e.sorters }) : null
|
|
1442
|
-
] })
|
|
1443
|
-
}
|
|
1444
|
-
),
|
|
1445
|
-
e.isLast ? null : /* @__PURE__ */ i(
|
|
1446
|
-
ce.button,
|
|
1447
|
-
{
|
|
1448
|
-
drag: "x",
|
|
1449
|
-
draggable: !0,
|
|
1450
|
-
dragListener: !0,
|
|
1451
|
-
dragMomentum: !0,
|
|
1452
|
-
type: "button",
|
|
1453
|
-
animate: !1,
|
|
1454
|
-
dragElastic: 0,
|
|
1455
|
-
dragPropagation: !0,
|
|
1456
|
-
initial: !1,
|
|
1457
|
-
dragSnapToOrigin: !0,
|
|
1458
|
-
dragDirectionLock: !0,
|
|
1459
|
-
"data-type": "resizer",
|
|
1460
|
-
title: e.header.id,
|
|
1461
|
-
dragConstraints: G0,
|
|
1462
|
-
className: "absolute -right-[0.5px] top-0 z-calendar block h-full w-[1px] cursor-col-resize bg-transparent hover:w-1.5 hover:bg-primary active:w-1.5 active:bg-primary",
|
|
1463
|
-
onClick: (p) => {
|
|
1464
|
-
p.currentTarget.focus();
|
|
1465
|
-
},
|
|
1466
|
-
onKeyDown: (p) => {
|
|
1467
|
-
if (p.key === "ArrowLeft" || p.key === "ArrowRight") {
|
|
1468
|
-
if (m.current === null) return;
|
|
1469
|
-
m.current.setAttribute("data-resized", "true");
|
|
1470
|
-
const d = m.current.getBoundingClientRect().width, b = (p.shiftKey ? 50 : 10) * (p.key === "ArrowLeft" ? -1 : 1);
|
|
1471
|
-
m.current.style.width = `${Math.abs(d + b)}px`;
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
onDoubleClick: () => {
|
|
1475
|
-
m.current !== null && (m.current.style.width = "auto");
|
|
1476
|
-
},
|
|
1477
|
-
onDrag: (p, d) => {
|
|
1478
|
-
if (m.current === null) return;
|
|
1479
|
-
m.current.setAttribute("data-resized", "true");
|
|
1480
|
-
const f = m.current.getBoundingClientRect().width, b = d.delta.x;
|
|
1481
|
-
m.current.style.width = `${Math.abs(f + b)}px`;
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
)
|
|
1485
|
-
]
|
|
1486
|
-
}
|
|
1487
|
-
);
|
|
1488
|
-
}, W0 = (e) => {
|
|
1489
|
-
const [t, r] = L0(e.setCols);
|
|
1490
|
-
return /* @__PURE__ */ i(tt, { layout: !0, as: "tr", axis: "x", drag: "x", ref: t, layoutRoot: !0, role: "row", layoutScroll: !0, onReorder: r, values: e.headers, children: /* @__PURE__ */ i(ue, { children: e.headers.map((a, l) => /* @__PURE__ */ i(
|
|
1491
|
-
z0,
|
|
1492
|
-
{
|
|
1493
|
-
index: l,
|
|
1494
|
-
header: a,
|
|
1495
|
-
filters: e.filters,
|
|
1496
|
-
loading: e.loading,
|
|
1497
|
-
sorters: e.sorters,
|
|
1498
|
-
setFilters: e.setFilters,
|
|
1499
|
-
setSorters: e.setSorters,
|
|
1500
|
-
inlineFilter: e.inlineFilter,
|
|
1501
|
-
inlineSorter: e.inlineSorter,
|
|
1502
|
-
isLast: l === e.headers.length - 1
|
|
1503
|
-
},
|
|
1504
|
-
`header-child-item-${a.id}`
|
|
1505
|
-
)) }) });
|
|
1506
|
-
}, B0 = P.forwardRef(
|
|
1507
|
-
({ context: e, className: t = "", ...r }, a) => /* @__PURE__ */ i("tbody", { ...r, role: "rowgroup", className: `divide-y divide-table-border ${t}`, ref: a, children: /* @__PURE__ */ i(ue, { children: r.children }) })
|
|
1508
|
-
), _0 = P.forwardRef(({ context: e, className: t = "", ...r }, a) => /* @__PURE__ */ i(
|
|
1509
|
-
"table",
|
|
1510
|
-
{
|
|
1511
|
-
...r,
|
|
1512
|
-
role: "table",
|
|
1513
|
-
ref: a,
|
|
1514
|
-
style: { ...r.style, "--table-cell-padding": "0.75rem" },
|
|
1515
|
-
className: `table w-full table-fixed border-separate border-spacing-0 text-left ${t ?? ""}`
|
|
1516
|
-
}
|
|
1517
|
-
)), j0 = P.forwardRef(({ context: e, ...t }, r) => {
|
|
1518
|
-
const a = P0(), l = {
|
|
1519
|
-
...t.style,
|
|
1520
|
-
top: De.number(a.sticky) ? `${a.sticky}px` : void 0
|
|
1521
|
-
};
|
|
1522
|
-
return /* @__PURE__ */ i("thead", { ...t, ref: r, style: l, role: "rowgroup", className: "group:sticky top-0 hidden bg-transparent md:table-header-group" });
|
|
1523
|
-
}), q0 = P.forwardRef(({ context: e, item: t, className: r, ...a }, l) => {
|
|
1524
|
-
const o = t ? e?.getRowProps?.(t) : void 0, s = { ...a, ...o };
|
|
1525
|
-
return /* @__PURE__ */ i(
|
|
1526
|
-
"tr",
|
|
1527
|
-
{
|
|
1528
|
-
...s,
|
|
1529
|
-
role: "row",
|
|
1530
|
-
ref: l,
|
|
1531
|
-
className: `group-table-row flex h-fit flex-col flex-wrap justify-center gap-1 pb-4 md:table-row ${[r, o?.className].filter(Boolean).join(" ")}`
|
|
1532
|
-
}
|
|
1533
|
-
);
|
|
1534
|
-
}), U0 = P.forwardRef(({ context: e, ...t }, r) => e?.loadingMore ? /* @__PURE__ */ i("tfoot", { ...t, ref: r, className: "bg-card-background", children: /* @__PURE__ */ i("tr", { role: "row", className: "bg-card-background", children: /* @__PURE__ */ i("td", { colSpan: 999, className: "h-14 bg-card-background px-2", children: /* @__PURE__ */ i("span", { className: "block h-2 w-full animate-pulse rounded bg-foreground opacity-60" }) }) }) }) : null), X0 = {
|
|
1535
|
-
TableRow: q0,
|
|
1536
|
-
TableFoot: U0,
|
|
1537
|
-
TableHead: j0,
|
|
1538
|
-
Table: _0,
|
|
1539
|
-
TableBody: B0
|
|
1540
|
-
}, J0 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], K0 = (e) => /* @__PURE__ */ i("div", { className: "flex h-48 w-full items-center justify-center px-2", children: e.loading ? Oe : /* @__PURE__ */ i(M0, {}) }), Y0 = () => /* @__PURE__ */ i(M, {}), Q0 = [], $e = ({
|
|
1541
|
-
cols: e,
|
|
1542
|
-
filters: t,
|
|
1543
|
-
setCols: r,
|
|
1544
|
-
sorters: a,
|
|
1545
|
-
setFilters: l,
|
|
1546
|
-
setSorters: o,
|
|
1547
|
-
onScrollEnd: s,
|
|
1548
|
-
getScrollRef: u,
|
|
1549
|
-
pagination: c = null,
|
|
1550
|
-
useControl: m = !1,
|
|
1551
|
-
...h
|
|
1552
|
-
}) => {
|
|
1553
|
-
const g = F(null), [, y] = D(!1), w = te(s), Z = te(h.loadingMore), p = V(() => {
|
|
1554
|
-
if (h.loading) return J0;
|
|
1555
|
-
if (m) return h.rows;
|
|
1556
|
-
const b = new st(h.rows);
|
|
1557
|
-
return t.length > 0 && t.forEach(
|
|
1558
|
-
(v) => v.value === "" || Number.isNaN(v.value) ? void 0 : b.Where(v.name, v.operation.symbol, v.value)
|
|
1559
|
-
), a.length === 0 ? b.Select() : T0(b.Select(), a);
|
|
1560
|
-
}, [h.loading, h.rows, m, t, a]);
|
|
1561
|
-
se(() => {
|
|
1562
|
-
if (g.current === null) return () => {
|
|
1563
|
-
};
|
|
1564
|
-
const b = g.current, v = new IntersectionObserver((E) => E[E.length - 1].isIntersecting && Z.current ? (w.current?.(), void y(!0)) : y(!1));
|
|
1565
|
-
return v.observe(b), () => v.disconnect();
|
|
1566
|
-
}, [Z, w]);
|
|
1567
|
-
const d = p.length === 0, f = {
|
|
1568
|
-
cols: e,
|
|
1569
|
-
Aside: h.Aside,
|
|
1570
|
-
loading: h.loading,
|
|
1571
|
-
getRowProps: h.getRowProps,
|
|
1572
|
-
loadingMore: h.loadingMore
|
|
1573
|
-
};
|
|
1574
|
-
return /* @__PURE__ */ A("div", { className: "group relative flex w-full flex-col whitespace-nowrap rounded-lg bg-table-background", children: [
|
|
1575
|
-
/* @__PURE__ */ i(
|
|
1576
|
-
ht,
|
|
1577
|
-
{
|
|
1578
|
-
components: X0,
|
|
1579
|
-
context: f,
|
|
1580
|
-
totalCount: p.length,
|
|
1581
|
-
itemContent: d ? Y0 : x0,
|
|
1582
|
-
data: d ? Q0 : p,
|
|
1583
|
-
useWindowScroll: !u,
|
|
1584
|
-
customScrollParent: u ? u() : void 0,
|
|
1585
|
-
fixedHeaderContent: () => /* @__PURE__ */ i(
|
|
1586
|
-
W0,
|
|
1587
|
-
{
|
|
1588
|
-
headers: e,
|
|
1589
|
-
filters: t,
|
|
1590
|
-
setCols: r,
|
|
1591
|
-
sorters: a,
|
|
1592
|
-
setFilters: l,
|
|
1593
|
-
setSorters: o,
|
|
1594
|
-
loading: !!h.loading,
|
|
1595
|
-
inlineFilter: h.inlineFilter,
|
|
1596
|
-
inlineSorter: h.inlineSorter
|
|
1597
|
-
}
|
|
1598
|
-
)
|
|
1599
|
-
}
|
|
1600
|
-
),
|
|
1601
|
-
d ? /* @__PURE__ */ i(K0, { loading: h.loading }) : null,
|
|
1602
|
-
/* @__PURE__ */ i("div", { "aria-hidden": "true", ref: g, className: "h-0.5 w-full" }),
|
|
1603
|
-
c !== null ? /* @__PURE__ */ i(S0, { ...c }) : null
|
|
1604
|
-
] });
|
|
1605
|
-
}, er = ({ item: e, onPointerDown: t }) => {
|
|
1606
|
-
const r = de(0);
|
|
1607
|
-
return /* @__PURE__ */ A(
|
|
1608
|
-
rt,
|
|
1609
|
-
{
|
|
1610
|
-
onPointerDown: t,
|
|
1611
|
-
id: e.groupId,
|
|
1612
|
-
className: "flex flex-row items-center gap-2",
|
|
1613
|
-
value: e,
|
|
1614
|
-
style: { y: r },
|
|
1615
|
-
children: [
|
|
1616
|
-
/* @__PURE__ */ i("button", { type: "button", className: "cursor-grab", children: /* @__PURE__ */ i(_e, { size: 14 }) }),
|
|
1617
|
-
/* @__PURE__ */ i("span", { children: e.groupName })
|
|
1618
|
-
]
|
|
1619
|
-
},
|
|
1620
|
-
e.groupId
|
|
1621
|
-
);
|
|
1622
|
-
}, tr = (e) => {
|
|
1623
|
-
const t = x(), r = it(e.cols), a = Bt(), [l, o] = D(e.groups[0]?.thead || ""), s = (c) => {
|
|
1624
|
-
const m = c.target, h = m.value, g = m.options.selectedIndex, y = m.options.item(g)?.label || "";
|
|
1625
|
-
o(y);
|
|
1626
|
-
const w = new st(e.rows).GroupBy(h), Z = e.cols.find((p) => p.id === h);
|
|
1627
|
-
e.setGroups(
|
|
1628
|
-
ft(w).map((p, d) => {
|
|
1629
|
-
const f = w[p];
|
|
1630
|
-
return { ...Z, groupId: ie(), groupKey: h, index: d, rows: f, groupName: p };
|
|
1631
|
-
})
|
|
1632
|
-
);
|
|
1633
|
-
}, u = () => e.setGroups([]);
|
|
1634
|
-
return /* @__PURE__ */ i(M, { children: /* @__PURE__ */ A(
|
|
1635
|
-
j,
|
|
1636
|
-
{
|
|
1637
|
-
arrow: !1,
|
|
1638
|
-
title: t.tableGroupLabel,
|
|
1639
|
-
trigger: /* @__PURE__ */ A("span", { className: "flex items-center gap-1 proportional-nums", children: [
|
|
1640
|
-
/* @__PURE__ */ i(Ke, { size: 14 }),
|
|
1641
|
-
t.tableGroupLabelWithCount,
|
|
1642
|
-
e.groups.length > 0 ? ` - ${l}(${e.groups.length})` : ""
|
|
1643
|
-
] }),
|
|
1644
|
-
children: [
|
|
1645
|
-
/* @__PURE__ */ A("div", { className: "flex flex-nowrap items-center", children: [
|
|
1646
|
-
/* @__PURE__ */ i(L, { value: l, title: "Tipo de agrupamento", onChange: s, options: r, placeholder: "Agrupar por..." }),
|
|
1647
|
-
/* @__PURE__ */ i(Zt, { className: "mt-4", onClick: u, theme: "raw", "data-id": l, children: /* @__PURE__ */ i(O, { size: 16, className: "text-danger" }) })
|
|
1648
|
-
] }),
|
|
1649
|
-
e.groups.length > 0 ? /* @__PURE__ */ A("section", { className: "my-4", children: [
|
|
1650
|
-
/* @__PURE__ */ i("header", { children: /* @__PURE__ */ i("h2", { className: "text-xl font-medium", children: "Order groups" }) }),
|
|
1651
|
-
/* @__PURE__ */ i(Dt, { children: /* @__PURE__ */ i(
|
|
1652
|
-
tt,
|
|
1653
|
-
{
|
|
1654
|
-
axis: "y",
|
|
1655
|
-
className: "relative space-y-2",
|
|
1656
|
-
drag: !0,
|
|
1657
|
-
dragControls: a,
|
|
1658
|
-
dragListener: !1,
|
|
1659
|
-
layoutScroll: !0,
|
|
1660
|
-
onReorder: e.setGroups,
|
|
1661
|
-
values: e.groups,
|
|
1662
|
-
children: e.groups.map((c) => /* @__PURE__ */ i(
|
|
1663
|
-
er,
|
|
1664
|
-
{
|
|
1665
|
-
item: c,
|
|
1666
|
-
onPointerDown: (m) => {
|
|
1667
|
-
a.start(m), e.setGroups([...e.groups]);
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1670
|
-
c.groupId
|
|
1671
|
-
))
|
|
1672
|
-
}
|
|
1673
|
-
) })
|
|
1674
|
-
] }) : null
|
|
1675
|
-
]
|
|
1676
|
-
}
|
|
1677
|
-
) });
|
|
1678
|
-
}, rr = (e) => /* @__PURE__ */ i("header", { className: "mb-1 min-w-full", children: /* @__PURE__ */ A("div", { className: "flex min-w-full flex-wrap items-center justify-between gap-x-4 gap-y-1", children: [
|
|
1679
|
-
/* @__PURE__ */ A("div", { className: "items-centeend flex w-fit gap-4 whitespace-nowrap py-2", children: [
|
|
1680
|
-
/* @__PURE__ */ i("span", { children: /* @__PURE__ */ i(D0, { cols: e.cols, options: e.options, filters: e.filters, set: e.setFilters }) }),
|
|
1681
|
-
/* @__PURE__ */ i("span", { children: /* @__PURE__ */ i($0, { options: e.options, cols: e.cols, sorters: e.sorters, set: e.setSorters }) }),
|
|
1682
|
-
/* @__PURE__ */ i("span", { children: /* @__PURE__ */ i(tr, { rows: e.rows, groups: e.groups, setGroups: e.setGroups, options: e.options, cols: e.cols }) })
|
|
1683
|
-
] }),
|
|
1684
|
-
/* @__PURE__ */ i("ul", { className: "flex w-full flex-1 flex-grow flex-row flex-wrap items-center gap-4 md:justify-end", children: e.filters.map((t) => /* @__PURE__ */ A("li", { className: "flex items-center gap-1 rounded-xl border border-card-border px-4 py-0.5", children: [
|
|
1685
|
-
/* @__PURE__ */ A("span", { children: [
|
|
1686
|
-
/* @__PURE__ */ i("span", { className: "mr-2 inline-block aspect-square size-3 rounded-full bg-primary", "aria-hidden": "true" }),
|
|
1687
|
-
t.label,
|
|
1688
|
-
" ",
|
|
1689
|
-
t.operation.label.toLowerCase(),
|
|
1690
|
-
":"
|
|
1691
|
-
] }),
|
|
1692
|
-
/* @__PURE__ */ A("div", { className: "relative w-min min-w-[1ch]", children: [
|
|
1693
|
-
/* @__PURE__ */ i("span", { "aria-hidden": "true", className: "invisible whitespace-pre p-0", children: t.value || " " }),
|
|
1694
|
-
/* @__PURE__ */ i(
|
|
1695
|
-
"input",
|
|
1696
|
-
{
|
|
1697
|
-
type: t.type,
|
|
1698
|
-
value: t.value,
|
|
1699
|
-
className: "absolute left-0 top-0 m-0 inline-block w-full bg-transparent p-0 placeholder-primary/70 outline-none [appearance:textfield] after:empty:text-primary/70 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
1700
|
-
onChange: (r) => {
|
|
1701
|
-
const a = ge(r.target);
|
|
1702
|
-
e.setFilters((l) => l.map((o) => t.id === o.id ? { ...o, value: a } : o));
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
)
|
|
1706
|
-
] })
|
|
1707
|
-
] }, `filter-table-${t.id}`)) })
|
|
1708
|
-
] }) }), ar = (e, t) => typeof t == "function" ? t(e) : t, z = (e, t, r) => e === t ? void 0 : r?.(t), Fr = (e) => {
|
|
1709
|
-
const t = Pe(), r = V(
|
|
1710
|
-
() => ({
|
|
1711
|
-
sticky: e.sticky === void 0 ? t.table.sticky ?? void 0 : e.sticky ?? void 0
|
|
1712
|
-
}),
|
|
1713
|
-
[e.sticky, t.table.sticky]
|
|
1714
|
-
), a = e.operations ?? t.table.operations ?? !0, l = V(() => it(e.cols), [e.cols]), [o, s] = ke(
|
|
1715
|
-
{
|
|
1716
|
-
cols: e.cols,
|
|
1717
|
-
sorters: e.sorters ?? [],
|
|
1718
|
-
groups: e.groups ?? [],
|
|
1719
|
-
filters: e.filters ?? []
|
|
1720
|
-
},
|
|
1721
|
-
(u) => {
|
|
1722
|
-
const c = (m) => (h) => {
|
|
1723
|
-
const g = u.state();
|
|
1724
|
-
return { ...g, [m]: ar(g[m], h) };
|
|
1725
|
-
};
|
|
1726
|
-
return {
|
|
1727
|
-
cols: c("cols"),
|
|
1728
|
-
sorters: c("sorters"),
|
|
1729
|
-
groups: c("groups"),
|
|
1730
|
-
filters: c("filters")
|
|
1731
|
-
};
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
postMiddleware: [
|
|
1735
|
-
(u, c) => (e.set?.(u), z(c?.filters ?? [], u.filters ?? [], e.setFilters), z(c?.sorters ?? [], u.sorters ?? [], e.setSorters), z(c?.groups ?? [], u.groups ?? [], e.setGroups), z(c?.cols ?? [], u.cols ?? [], e.setCols), u)
|
|
1736
|
-
]
|
|
1737
|
-
}
|
|
1738
|
-
);
|
|
1739
|
-
return se(() => {
|
|
1740
|
-
s.cols(e.cols);
|
|
1741
|
-
}, [e.cols]), /* @__PURE__ */ i(k0, { value: r, children: /* @__PURE__ */ A(ue, { propagate: !0, initial: !1, children: [
|
|
1742
|
-
a ? /* @__PURE__ */ i(
|
|
1743
|
-
rr,
|
|
1744
|
-
{
|
|
1745
|
-
cols: o.cols,
|
|
1746
|
-
rows: e.rows,
|
|
1747
|
-
options: l,
|
|
1748
|
-
groups: o.groups,
|
|
1749
|
-
filters: o.filters,
|
|
1750
|
-
setCols: s.cols,
|
|
1751
|
-
sorters: o.sorters,
|
|
1752
|
-
setGroups: s.groups,
|
|
1753
|
-
setFilters: s.filters,
|
|
1754
|
-
setSorters: s.sorters,
|
|
1755
|
-
pagination: e.pagination ?? null,
|
|
1756
|
-
inlineFilter: e.inlineFilter ?? !0,
|
|
1757
|
-
inlineSorter: e.inlineSorter ?? !0
|
|
1758
|
-
}
|
|
1759
|
-
) : null,
|
|
1760
|
-
o.groups.length === 0 ? /* @__PURE__ */ i(
|
|
1761
|
-
$e,
|
|
1762
|
-
{
|
|
1763
|
-
...e,
|
|
1764
|
-
index: 0,
|
|
1765
|
-
cols: o.cols,
|
|
1766
|
-
options: l,
|
|
1767
|
-
groups: o.groups,
|
|
1768
|
-
filters: o.filters,
|
|
1769
|
-
optionCols: l,
|
|
1770
|
-
setCols: s.cols,
|
|
1771
|
-
sorters: o.sorters,
|
|
1772
|
-
setGroups: s.groups,
|
|
1773
|
-
setFilters: s.filters,
|
|
1774
|
-
setSorters: s.sorters,
|
|
1775
|
-
onScrollEnd: e.onScrollEnd,
|
|
1776
|
-
pagination: e.pagination ?? null,
|
|
1777
|
-
inlineFilter: e.inlineFilter ?? !0,
|
|
1778
|
-
inlineSorter: e.inlineSorter ?? !0
|
|
1779
|
-
}
|
|
1780
|
-
) : /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-4", children: o.groups.map((u, c) => /* @__PURE__ */ i("div", { className: "min-w-full", children: /* @__PURE__ */ i(
|
|
1781
|
-
$e,
|
|
1782
|
-
{
|
|
1783
|
-
...e,
|
|
1784
|
-
group: u,
|
|
1785
|
-
index: c,
|
|
1786
|
-
cols: o.cols,
|
|
1787
|
-
pagination: null,
|
|
1788
|
-
rows: u.rows,
|
|
1789
|
-
options: l,
|
|
1790
|
-
groups: o.groups,
|
|
1791
|
-
filters: o.filters,
|
|
1792
|
-
optionCols: l,
|
|
1793
|
-
setCols: s.cols,
|
|
1794
|
-
sorters: o.sorters,
|
|
1795
|
-
setGroups: s.groups,
|
|
1796
|
-
setFilters: s.filters,
|
|
1797
|
-
setSorters: s.sorters,
|
|
1798
|
-
onScrollEnd: e.onScrollEnd,
|
|
1799
|
-
inlineFilter: e.inlineFilter ?? !0,
|
|
1800
|
-
inlineSorter: e.inlineSorter ?? !0
|
|
1801
|
-
}
|
|
1802
|
-
) }, `group-${u.groupId}`)) })
|
|
1803
|
-
] }) });
|
|
1804
|
-
};
|
|
1805
|
-
export {
|
|
1806
|
-
k as C,
|
|
1807
|
-
M0 as E,
|
|
1808
|
-
Fr as T,
|
|
1809
|
-
it as a,
|
|
1810
|
-
Mr as c,
|
|
1811
|
-
Te as d,
|
|
1812
|
-
Sr as g,
|
|
1813
|
-
je as o,
|
|
1814
|
-
Hr as u
|
|
1815
|
-
};
|
|
1816
|
-
//# sourceMappingURL=index-DDeQW0JW.js.map
|