@iamsaroj/smart-ui 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/LICENSE +21 -0
- package/README.md +49 -0
- package/dist/calendar-engine/agenda-view.d.ts +8 -0
- package/dist/calendar-engine/agenda-view.d.ts.map +1 -0
- package/dist/calendar-engine/agenda-view.js +26 -0
- package/dist/calendar-engine/agenda-view.js.map +1 -0
- package/dist/calendar-engine/booking.d.ts +13 -0
- package/dist/calendar-engine/booking.d.ts.map +1 -0
- package/dist/calendar-engine/booking.js +45 -0
- package/dist/calendar-engine/booking.js.map +1 -0
- package/dist/calendar-engine/calendar-utils.d.ts +74 -0
- package/dist/calendar-engine/calendar-utils.d.ts.map +1 -0
- package/dist/calendar-engine/calendar-utils.js +221 -0
- package/dist/calendar-engine/calendar-utils.js.map +1 -0
- package/dist/calendar-engine/calendar.d.ts +62 -0
- package/dist/calendar-engine/calendar.d.ts.map +1 -0
- package/dist/calendar-engine/calendar.js +81 -0
- package/dist/calendar-engine/calendar.js.map +1 -0
- package/dist/calendar-engine/event-color.d.ts +20 -0
- package/dist/calendar-engine/event-color.d.ts.map +1 -0
- package/dist/calendar-engine/event-color.js +59 -0
- package/dist/calendar-engine/event-color.js.map +1 -0
- package/dist/calendar-engine/index.d.ts +11 -0
- package/dist/calendar-engine/index.d.ts.map +1 -0
- package/dist/calendar-engine/index.js +6 -0
- package/dist/calendar-engine/index.js.map +1 -0
- package/dist/calendar-engine/month-view.d.ts +10 -0
- package/dist/calendar-engine/month-view.d.ts.map +1 -0
- package/dist/calendar-engine/month-view.js +72 -0
- package/dist/calendar-engine/month-view.js.map +1 -0
- package/dist/calendar-engine/recurrence.d.ts +47 -0
- package/dist/calendar-engine/recurrence.d.ts.map +1 -0
- package/dist/calendar-engine/recurrence.js +209 -0
- package/dist/calendar-engine/recurrence.js.map +1 -0
- package/dist/calendar-engine/shared.d.ts +72 -0
- package/dist/calendar-engine/shared.d.ts.map +1 -0
- package/dist/calendar-engine/shared.js +34 -0
- package/dist/calendar-engine/shared.js.map +1 -0
- package/dist/calendar-engine/time-grid-view.d.ts +13 -0
- package/dist/calendar-engine/time-grid-view.d.ts.map +1 -0
- package/dist/calendar-engine/time-grid-view.js +203 -0
- package/dist/calendar-engine/time-grid-view.js.map +1 -0
- package/dist/calendar-engine/types.d.ts +138 -0
- package/dist/calendar-engine/types.d.ts.map +1 -0
- package/dist/calendar-engine/types.js +2 -0
- package/dist/calendar-engine/types.js.map +1 -0
- package/dist/calendar-engine/use-calendar.d.ts +7 -0
- package/dist/calendar-engine/use-calendar.d.ts.map +1 -0
- package/dist/calendar-engine/use-calendar.js +25 -0
- package/dist/calendar-engine/use-calendar.js.map +1 -0
- package/dist/components/accordion.d.ts +7 -0
- package/dist/components/accordion.d.ts.map +1 -0
- package/dist/components/accordion.js +10 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-dialog.d.ts +19 -0
- package/dist/components/alert-dialog.d.ts.map +1 -0
- package/dist/components/alert-dialog.js +18 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.d.ts +11 -0
- package/dist/components/alert.d.ts.map +1 -0
- package/dist/components/alert.js +20 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/aspect-ratio.d.ts +5 -0
- package/dist/components/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio.js +7 -0
- package/dist/components/aspect-ratio.js.map +1 -0
- package/dist/components/avatar.d.ts +12 -0
- package/dist/components/avatar.d.ts.map +1 -0
- package/dist/components/avatar.js +11 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.d.ts +8 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.js +33 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/breadcrumb.d.ts +11 -0
- package/dist/components/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb.js +23 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button.d.ts +9 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/button.js +34 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/calendar.d.ts +11 -0
- package/dist/components/calendar.d.ts.map +1 -0
- package/dist/components/calendar.js +77 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card.d.ts +12 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/card.js +11 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/carousel.d.ts +29 -0
- package/dist/components/carousel.d.ts.map +1 -0
- package/dist/components/carousel.js +94 -0
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/chart.d.ts +45 -0
- package/dist/components/chart.d.ts.map +1 -0
- package/dist/components/chart.js +133 -0
- package/dist/components/chart.js.map +1 -0
- package/dist/components/checkbox.d.ts +4 -0
- package/dist/components/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox.js +8 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/collapsible.d.ts +6 -0
- package/dist/components/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible.js +7 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/components/combobox.d.ts +35 -0
- package/dist/components/combobox.d.ts.map +1 -0
- package/dist/components/combobox.js +45 -0
- package/dist/components/combobox.js.map +1 -0
- package/dist/components/command.d.ts +20 -0
- package/dist/components/command.d.ts.map +1 -0
- package/dist/components/command.js +18 -0
- package/dist/components/command.js.map +1 -0
- package/dist/components/context-menu.d.ts +30 -0
- package/dist/components/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu.js +22 -0
- package/dist/components/context-menu.js.map +1 -0
- package/dist/components/data-table.d.ts +12 -0
- package/dist/components/data-table.d.ts.map +1 -0
- package/dist/components/data-table.js +44 -0
- package/dist/components/data-table.js.map +1 -0
- package/dist/components/date-picker.d.ts +33 -0
- package/dist/components/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker.js +29 -0
- package/dist/components/date-picker.js.map +1 -0
- package/dist/components/dialog.d.ts +18 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.js +18 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/drawer.d.ts +14 -0
- package/dist/components/drawer.d.ts.map +1 -0
- package/dist/components/drawer.js +15 -0
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown-menu.d.ts +30 -0
- package/dist/components/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu.js +22 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/hover-card.d.ts +6 -0
- package/dist/components/hover-card.d.ts.map +1 -0
- package/dist/components/hover-card.js +8 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/input-group.d.ts +19 -0
- package/dist/components/input-group.d.ts.map +1 -0
- package/dist/components/input-group.js +46 -0
- package/dist/components/input-group.js.map +1 -0
- package/dist/components/input-otp.d.ts +12 -0
- package/dist/components/input-otp.d.ts.map +1 -0
- package/dist/components/input-otp.js +16 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/input.d.ts +4 -0
- package/dist/components/input.d.ts.map +1 -0
- package/dist/components/input.js +6 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/kbd.d.ts +5 -0
- package/dist/components/kbd.d.ts.map +1 -0
- package/dist/components/kbd.js +6 -0
- package/dist/components/kbd.js.map +1 -0
- package/dist/components/label.d.ts +4 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/components/label.js +5 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/menubar.d.ts +30 -0
- package/dist/components/menubar.d.ts.map +1 -0
- package/dist/components/menubar.js +24 -0
- package/dist/components/menubar.js.map +1 -0
- package/dist/components/navigation-menu.d.ts +12 -0
- package/dist/components/navigation-menu.d.ts.map +1 -0
- package/dist/components/navigation-menu.js +18 -0
- package/dist/components/navigation-menu.js.map +1 -0
- package/dist/components/pagination.d.ts +18 -0
- package/dist/components/pagination.d.ts.map +1 -0
- package/dist/components/pagination.js +13 -0
- package/dist/components/pagination.js.map +1 -0
- package/dist/components/popover.d.ts +10 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/popover.js +12 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +8 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/components/progress.js +10 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/radio-group.d.ts +6 -0
- package/dist/components/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group.js +9 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/scroll-area.d.ts +5 -0
- package/dist/components/scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area.js +8 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/select.d.ts +16 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/select.js +16 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/components/separator.js +6 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/components/sheet.d.ts +15 -0
- package/dist/components/sheet.d.ts.map +1 -0
- package/dist/components/sheet.js +18 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/sidebar.d.ts +64 -0
- package/dist/components/sidebar.d.ts.map +1 -0
- package/dist/components/sidebar.js +224 -0
- package/dist/components/sidebar.js.map +1 -0
- package/dist/components/skeleton.d.ts +3 -0
- package/dist/components/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton.js +5 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.d.ts +4 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/slider.js +13 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sonner.d.ts +4 -0
- package/dist/components/sonner.d.ts.map +1 -0
- package/dist/components/sonner.js +25 -0
- package/dist/components/sonner.js.map +1 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +7 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +11 -0
- package/dist/components/table.d.ts.map +1 -0
- package/dist/components/table.js +12 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tabs.js +23 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/textarea.d.ts +4 -0
- package/dist/components/textarea.d.ts.map +1 -0
- package/dist/components/textarea.js +5 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/toggle-group.d.ts +11 -0
- package/dist/components/toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group.js +22 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.d.ts +9 -0
- package/dist/components/toggle.d.ts.map +1 -0
- package/dist/components/toggle.js +25 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip.js +10 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/data-grid/action-column-cell.d.ts +41 -0
- package/dist/data-grid/action-column-cell.d.ts.map +1 -0
- package/dist/data-grid/action-column-cell.js +114 -0
- package/dist/data-grid/action-column-cell.js.map +1 -0
- package/dist/data-grid/action-column.d.ts +144 -0
- package/dist/data-grid/action-column.d.ts.map +1 -0
- package/dist/data-grid/action-column.js +156 -0
- package/dist/data-grid/action-column.js.map +1 -0
- package/dist/data-grid/create-page-fetcher.d.ts +57 -0
- package/dist/data-grid/create-page-fetcher.d.ts.map +1 -0
- package/dist/data-grid/create-page-fetcher.js +41 -0
- package/dist/data-grid/create-page-fetcher.js.map +1 -0
- package/dist/data-grid/data-grid.d.ts +65 -0
- package/dist/data-grid/data-grid.d.ts.map +1 -0
- package/dist/data-grid/data-grid.js +95 -0
- package/dist/data-grid/data-grid.js.map +1 -0
- package/dist/data-grid/empty-state.d.ts +13 -0
- package/dist/data-grid/empty-state.d.ts.map +1 -0
- package/dist/data-grid/empty-state.js +6 -0
- package/dist/data-grid/empty-state.js.map +1 -0
- package/dist/data-grid/formula-guard.d.ts +22 -0
- package/dist/data-grid/formula-guard.d.ts.map +1 -0
- package/dist/data-grid/formula-guard.js +28 -0
- package/dist/data-grid/formula-guard.js.map +1 -0
- package/dist/data-grid/grid-internals.d.ts +16 -0
- package/dist/data-grid/grid-internals.d.ts.map +1 -0
- package/dist/data-grid/grid-internals.js +73 -0
- package/dist/data-grid/grid-internals.js.map +1 -0
- package/dist/data-grid/grid-theme.d.ts +8 -0
- package/dist/data-grid/grid-theme.d.ts.map +1 -0
- package/dist/data-grid/grid-theme.js +23 -0
- package/dist/data-grid/grid-theme.js.map +1 -0
- package/dist/data-grid/grid-toolbar.d.ts +40 -0
- package/dist/data-grid/grid-toolbar.d.ts.map +1 -0
- package/dist/data-grid/grid-toolbar.js +13 -0
- package/dist/data-grid/grid-toolbar.js.map +1 -0
- package/dist/data-grid/index.d.ts +10 -0
- package/dist/data-grid/index.d.ts.map +1 -0
- package/dist/data-grid/index.js +9 -0
- package/dist/data-grid/index.js.map +1 -0
- package/dist/data-grid/pagination.d.ts +146 -0
- package/dist/data-grid/pagination.d.ts.map +1 -0
- package/dist/data-grid/pagination.js +128 -0
- package/dist/data-grid/pagination.js.map +1 -0
- package/dist/data-grid/server-data-grid.d.ts +109 -0
- package/dist/data-grid/server-data-grid.d.ts.map +1 -0
- package/dist/data-grid/server-data-grid.js +240 -0
- package/dist/data-grid/server-data-grid.js.map +1 -0
- package/dist/data-grid/server-grid-internals.d.ts +79 -0
- package/dist/data-grid/server-grid-internals.d.ts.map +1 -0
- package/dist/data-grid/server-grid-internals.js +137 -0
- package/dist/data-grid/server-grid-internals.js.map +1 -0
- package/dist/data-grid/use-action-column.d.ts +22 -0
- package/dist/data-grid/use-action-column.d.ts.map +1 -0
- package/dist/data-grid/use-action-column.js +63 -0
- package/dist/data-grid/use-action-column.js.map +1 -0
- package/dist/data-grid/use-server-grid-selection.d.ts +35 -0
- package/dist/data-grid/use-server-grid-selection.d.ts.map +1 -0
- package/dist/data-grid/use-server-grid-selection.js +81 -0
- package/dist/data-grid/use-server-grid-selection.js.map +1 -0
- package/dist/form-engine/base.d.ts +19 -0
- package/dist/form-engine/base.d.ts.map +1 -0
- package/dist/form-engine/base.js +2 -0
- package/dist/form-engine/base.js.map +1 -0
- package/dist/form-engine/field-registry.d.ts +285 -0
- package/dist/form-engine/field-registry.d.ts.map +1 -0
- package/dist/form-engine/field-registry.js +306 -0
- package/dist/form-engine/field-registry.js.map +1 -0
- package/dist/form-engine/field-types.d.ts +201 -0
- package/dist/form-engine/field-types.d.ts.map +1 -0
- package/dist/form-engine/field-types.js +14 -0
- package/dist/form-engine/field-types.js.map +1 -0
- package/dist/form-engine/index.d.ts +20 -0
- package/dist/form-engine/index.d.ts.map +1 -0
- package/dist/form-engine/index.js +21 -0
- package/dist/form-engine/index.js.map +1 -0
- package/dist/form-engine/smart-checkbox-field.d.ts +5 -0
- package/dist/form-engine/smart-checkbox-field.d.ts.map +1 -0
- package/dist/form-engine/smart-checkbox-field.js +9 -0
- package/dist/form-engine/smart-checkbox-field.js.map +1 -0
- package/dist/form-engine/smart-checkbox-group-field.d.ts +10 -0
- package/dist/form-engine/smart-checkbox-group-field.d.ts.map +1 -0
- package/dist/form-engine/smart-checkbox-group-field.js +5 -0
- package/dist/form-engine/smart-checkbox-group-field.js.map +1 -0
- package/dist/form-engine/smart-combobox-field.d.ts +11 -0
- package/dist/form-engine/smart-combobox-field.d.ts.map +1 -0
- package/dist/form-engine/smart-combobox-field.js +5 -0
- package/dist/form-engine/smart-combobox-field.js.map +1 -0
- package/dist/form-engine/smart-date-field.d.ts +8 -0
- package/dist/form-engine/smart-date-field.d.ts.map +1 -0
- package/dist/form-engine/smart-date-field.js +17 -0
- package/dist/form-engine/smart-date-field.js.map +1 -0
- package/dist/form-engine/smart-date-range-field.d.ts +15 -0
- package/dist/form-engine/smart-date-range-field.d.ts.map +1 -0
- package/dist/form-engine/smart-date-range-field.js +25 -0
- package/dist/form-engine/smart-date-range-field.js.map +1 -0
- package/dist/form-engine/smart-datetime-field.d.ts +12 -0
- package/dist/form-engine/smart-datetime-field.d.ts.map +1 -0
- package/dist/form-engine/smart-datetime-field.js +12 -0
- package/dist/form-engine/smart-datetime-field.js.map +1 -0
- package/dist/form-engine/smart-form-internals.d.ts +14 -0
- package/dist/form-engine/smart-form-internals.d.ts.map +1 -0
- package/dist/form-engine/smart-form-internals.js +64 -0
- package/dist/form-engine/smart-form-internals.js.map +1 -0
- package/dist/form-engine/smart-form.d.ts +55 -0
- package/dist/form-engine/smart-form.d.ts.map +1 -0
- package/dist/form-engine/smart-form.js +229 -0
- package/dist/form-engine/smart-form.js.map +1 -0
- package/dist/form-engine/smart-input-field.d.ts +9 -0
- package/dist/form-engine/smart-input-field.d.ts.map +1 -0
- package/dist/form-engine/smart-input-field.js +5 -0
- package/dist/form-engine/smart-input-field.js.map +1 -0
- package/dist/form-engine/smart-month-field.d.ts +8 -0
- package/dist/form-engine/smart-month-field.d.ts.map +1 -0
- package/dist/form-engine/smart-month-field.js +12 -0
- package/dist/form-engine/smart-month-field.js.map +1 -0
- package/dist/form-engine/smart-multi-select-field.d.ts +11 -0
- package/dist/form-engine/smart-multi-select-field.d.ts.map +1 -0
- package/dist/form-engine/smart-multi-select-field.js +5 -0
- package/dist/form-engine/smart-multi-select-field.js.map +1 -0
- package/dist/form-engine/smart-number-field.d.ts +22 -0
- package/dist/form-engine/smart-number-field.d.ts.map +1 -0
- package/dist/form-engine/smart-number-field.js +115 -0
- package/dist/form-engine/smart-number-field.js.map +1 -0
- package/dist/form-engine/smart-password-field.d.ts +7 -0
- package/dist/form-engine/smart-password-field.d.ts.map +1 -0
- package/dist/form-engine/smart-password-field.js +5 -0
- package/dist/form-engine/smart-password-field.js.map +1 -0
- package/dist/form-engine/smart-radio-group-field.d.ts +10 -0
- package/dist/form-engine/smart-radio-group-field.d.ts.map +1 -0
- package/dist/form-engine/smart-radio-group-field.js +5 -0
- package/dist/form-engine/smart-radio-group-field.js.map +1 -0
- package/dist/form-engine/smart-segmented-field.d.ts +9 -0
- package/dist/form-engine/smart-segmented-field.d.ts.map +1 -0
- package/dist/form-engine/smart-segmented-field.js +5 -0
- package/dist/form-engine/smart-segmented-field.js.map +1 -0
- package/dist/form-engine/smart-select-field.d.ts +10 -0
- package/dist/form-engine/smart-select-field.d.ts.map +1 -0
- package/dist/form-engine/smart-select-field.js +5 -0
- package/dist/form-engine/smart-select-field.js.map +1 -0
- package/dist/form-engine/smart-slug-field.d.ts +12 -0
- package/dist/form-engine/smart-slug-field.d.ts.map +1 -0
- package/dist/form-engine/smart-slug-field.js +14 -0
- package/dist/form-engine/smart-slug-field.js.map +1 -0
- package/dist/form-engine/smart-switch-field.d.ts +5 -0
- package/dist/form-engine/smart-switch-field.d.ts.map +1 -0
- package/dist/form-engine/smart-switch-field.js +9 -0
- package/dist/form-engine/smart-switch-field.js.map +1 -0
- package/dist/form-engine/smart-tel-field.d.ts +7 -0
- package/dist/form-engine/smart-tel-field.d.ts.map +1 -0
- package/dist/form-engine/smart-tel-field.js +6 -0
- package/dist/form-engine/smart-tel-field.js.map +1 -0
- package/dist/form-engine/smart-text-editor-field.d.ts +15 -0
- package/dist/form-engine/smart-text-editor-field.d.ts.map +1 -0
- package/dist/form-engine/smart-text-editor-field.js +5 -0
- package/dist/form-engine/smart-text-editor-field.js.map +1 -0
- package/dist/form-engine/smart-textarea-field.d.ts +8 -0
- package/dist/form-engine/smart-textarea-field.d.ts.map +1 -0
- package/dist/form-engine/smart-textarea-field.js +5 -0
- package/dist/form-engine/smart-textarea-field.js.map +1 -0
- package/dist/form-engine/smart-time-field.d.ts +10 -0
- package/dist/form-engine/smart-time-field.d.ts.map +1 -0
- package/dist/form-engine/smart-time-field.js +5 -0
- package/dist/form-engine/smart-time-field.js.map +1 -0
- package/dist/form-engine/smart-time-range-field.d.ts +13 -0
- package/dist/form-engine/smart-time-range-field.d.ts.map +1 -0
- package/dist/form-engine/smart-time-range-field.js +5 -0
- package/dist/form-engine/smart-time-range-field.js.map +1 -0
- package/dist/form-engine/smart-year-field.d.ts +8 -0
- package/dist/form-engine/smart-year-field.d.ts.map +1 -0
- package/dist/form-engine/smart-year-field.js +5 -0
- package/dist/form-engine/smart-year-field.js.map +1 -0
- package/dist/form-engine/smart-yesno-field.d.ts +12 -0
- package/dist/form-engine/smart-yesno-field.d.ts.map +1 -0
- package/dist/form-engine/smart-yesno-field.js +14 -0
- package/dist/form-engine/smart-yesno-field.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +17 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/lexical-text-editor/SmartTextEditor.d.ts +61 -0
- package/dist/lexical-text-editor/SmartTextEditor.d.ts.map +1 -0
- package/dist/lexical-text-editor/SmartTextEditor.js +145 -0
- package/dist/lexical-text-editor/SmartTextEditor.js.map +1 -0
- package/dist/lexical-text-editor/editor-nodes.d.ts +3 -0
- package/dist/lexical-text-editor/editor-nodes.d.ts.map +1 -0
- package/dist/lexical-text-editor/editor-nodes.js +25 -0
- package/dist/lexical-text-editor/editor-nodes.js.map +1 -0
- package/dist/lexical-text-editor/editor-theme.d.ts +3 -0
- package/dist/lexical-text-editor/editor-theme.d.ts.map +1 -0
- package/dist/lexical-text-editor/editor-theme.js +78 -0
- package/dist/lexical-text-editor/editor-theme.js.map +1 -0
- package/dist/lexical-text-editor/index.d.ts +8 -0
- package/dist/lexical-text-editor/index.d.ts.map +1 -0
- package/dist/lexical-text-editor/index.js +6 -0
- package/dist/lexical-text-editor/index.js.map +1 -0
- package/dist/lexical-text-editor/nodes/image-node.d.ts +41 -0
- package/dist/lexical-text-editor/nodes/image-node.d.ts.map +1 -0
- package/dist/lexical-text-editor/nodes/image-node.js +89 -0
- package/dist/lexical-text-editor/nodes/image-node.js.map +1 -0
- package/dist/lexical-text-editor/nodes/page-break-node.d.ts +25 -0
- package/dist/lexical-text-editor/nodes/page-break-node.d.ts.map +1 -0
- package/dist/lexical-text-editor/nodes/page-break-node.js +84 -0
- package/dist/lexical-text-editor/nodes/page-break-node.js.map +1 -0
- package/dist/lexical-text-editor/plugins/auto-link-plugin.d.ts +3 -0
- package/dist/lexical-text-editor/plugins/auto-link-plugin.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/auto-link-plugin.js +12 -0
- package/dist/lexical-text-editor/plugins/auto-link-plugin.js.map +1 -0
- package/dist/lexical-text-editor/plugins/code-highlight-plugin.d.ts +6 -0
- package/dist/lexical-text-editor/plugins/code-highlight-plugin.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/code-highlight-plugin.js +14 -0
- package/dist/lexical-text-editor/plugins/code-highlight-plugin.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/align-menu.d.ts +7 -0
- package/dist/lexical-text-editor/plugins/toolbar/align-menu.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/align-menu.js +8 -0
- package/dist/lexical-text-editor/plugins/toolbar/align-menu.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/block-format-menu.d.ts +20 -0
- package/dist/lexical-text-editor/plugins/toolbar/block-format-menu.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/block-format-menu.js +78 -0
- package/dist/lexical-text-editor/plugins/toolbar/block-format-menu.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/constants.d.ts +36 -0
- package/dist/lexical-text-editor/plugins/toolbar/constants.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/constants.js +67 -0
- package/dist/lexical-text-editor/plugins/toolbar/constants.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/inline-marks.d.ts +14 -0
- package/dist/lexical-text-editor/plugins/toolbar/inline-marks.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/inline-marks.js +129 -0
- package/dist/lexical-text-editor/plugins/toolbar/inline-marks.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/insert-menu.d.ts +8 -0
- package/dist/lexical-text-editor/plugins/toolbar/insert-menu.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/insert-menu.js +87 -0
- package/dist/lexical-text-editor/plugins/toolbar/insert-menu.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/link-editor.d.ts +11 -0
- package/dist/lexical-text-editor/plugins/toolbar/link-editor.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/link-editor.js +51 -0
- package/dist/lexical-text-editor/plugins/toolbar/link-editor.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/primitives.d.ts +39 -0
- package/dist/lexical-text-editor/plugins/toolbar/primitives.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/primitives.js +47 -0
- package/dist/lexical-text-editor/plugins/toolbar/primitives.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-insert-commands.d.ts +9 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-insert-commands.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-insert-commands.js +29 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-insert-commands.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-toolbar-state.d.ts +30 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-toolbar-state.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-toolbar-state.js +128 -0
- package/dist/lexical-text-editor/plugins/toolbar/use-toolbar-state.js.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar-plugin.d.ts +8 -0
- package/dist/lexical-text-editor/plugins/toolbar-plugin.d.ts.map +1 -0
- package/dist/lexical-text-editor/plugins/toolbar-plugin.js +51 -0
- package/dist/lexical-text-editor/plugins/toolbar-plugin.js.map +1 -0
- package/dist/lexical-text-editor/sanitize.d.ts +24 -0
- package/dist/lexical-text-editor/sanitize.d.ts.map +1 -0
- package/dist/lexical-text-editor/sanitize.js +140 -0
- package/dist/lexical-text-editor/sanitize.js.map +1 -0
- package/dist/lib/format.d.ts +17 -0
- package/dist/lib/format.d.ts.map +1 -0
- package/dist/lib/format.js +40 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/leading-space.d.ts +28 -0
- package/dist/lib/leading-space.d.ts.map +1 -0
- package/dist/lib/leading-space.js +34 -0
- package/dist/lib/leading-space.js.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +4 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/xlsx.d.ts +80 -0
- package/dist/lib/xlsx.d.ts.map +1 -0
- package/dist/lib/xlsx.js +377 -0
- package/dist/lib/xlsx.js.map +1 -0
- package/dist/search-engine/build-query.d.ts +29 -0
- package/dist/search-engine/build-query.d.ts.map +1 -0
- package/dist/search-engine/build-query.js +51 -0
- package/dist/search-engine/build-query.js.map +1 -0
- package/dist/search-engine/index.d.ts +15 -0
- package/dist/search-engine/index.d.ts.map +1 -0
- package/dist/search-engine/index.js +13 -0
- package/dist/search-engine/index.js.map +1 -0
- package/dist/search-engine/smart-search-form.d.ts +92 -0
- package/dist/search-engine/smart-search-form.d.ts.map +1 -0
- package/dist/search-engine/smart-search-form.js +136 -0
- package/dist/search-engine/smart-search-form.js.map +1 -0
- package/dist/search-engine/types.d.ts +40 -0
- package/dist/search-engine/types.d.ts.map +1 -0
- package/dist/search-engine/types.js +11 -0
- package/dist/search-engine/types.js.map +1 -0
- package/dist/smart-components/buttons/action-button.d.ts +66 -0
- package/dist/smart-components/buttons/action-button.d.ts.map +1 -0
- package/dist/smart-components/buttons/action-button.js +79 -0
- package/dist/smart-components/buttons/action-button.js.map +1 -0
- package/dist/smart-components/buttons/action-buttons.d.ts +122 -0
- package/dist/smart-components/buttons/action-buttons.d.ts.map +1 -0
- package/dist/smart-components/buttons/action-buttons.js +42 -0
- package/dist/smart-components/buttons/action-buttons.js.map +1 -0
- package/dist/smart-components/buttons/action-config.d.ts +181 -0
- package/dist/smart-components/buttons/action-config.d.ts.map +1 -0
- package/dist/smart-components/buttons/action-config.js +128 -0
- package/dist/smart-components/buttons/action-config.js.map +1 -0
- package/dist/smart-components/buttons/index.d.ts +4 -0
- package/dist/smart-components/buttons/index.d.ts.map +1 -0
- package/dist/smart-components/buttons/index.js +7 -0
- package/dist/smart-components/buttons/index.js.map +1 -0
- package/dist/smart-components/loading-overlay.d.ts +16 -0
- package/dist/smart-components/loading-overlay.d.ts.map +1 -0
- package/dist/smart-components/loading-overlay.js +13 -0
- package/dist/smart-components/loading-overlay.js.map +1 -0
- package/dist/smart-components/page/index.d.ts +19 -0
- package/dist/smart-components/page/index.d.ts.map +1 -0
- package/dist/smart-components/page/index.js +33 -0
- package/dist/smart-components/page/index.js.map +1 -0
- package/dist/smart-components/page/layouts/page-states.d.ts +17 -0
- package/dist/smart-components/page/layouts/page-states.d.ts.map +1 -0
- package/dist/smart-components/page/layouts/page-states.js +12 -0
- package/dist/smart-components/page/layouts/page-states.js.map +1 -0
- package/dist/smart-components/page/layouts/slot-buckets.d.ts +21 -0
- package/dist/smart-components/page/layouts/slot-buckets.d.ts.map +1 -0
- package/dist/smart-components/page/layouts/slot-buckets.js +2 -0
- package/dist/smart-components/page/layouts/slot-buckets.js.map +1 -0
- package/dist/smart-components/page/layouts/split-layout.d.ts +13 -0
- package/dist/smart-components/page/layouts/split-layout.d.ts.map +1 -0
- package/dist/smart-components/page/layouts/split-layout.js +14 -0
- package/dist/smart-components/page/layouts/split-layout.js.map +1 -0
- package/dist/smart-components/page/layouts/standard-layout.d.ts +18 -0
- package/dist/smart-components/page/layouts/standard-layout.d.ts.map +1 -0
- package/dist/smart-components/page/layouts/standard-layout.js +61 -0
- package/dist/smart-components/page/layouts/standard-layout.js.map +1 -0
- package/dist/smart-components/page/page-context.d.ts +51 -0
- package/dist/smart-components/page/page-context.d.ts.map +1 -0
- package/dist/smart-components/page/page-context.js +21 -0
- package/dist/smart-components/page/page-context.js.map +1 -0
- package/dist/smart-components/page/slot.d.ts +19 -0
- package/dist/smart-components/page/slot.d.ts.map +1 -0
- package/dist/smart-components/page/slot.js +18 -0
- package/dist/smart-components/page/slot.js.map +1 -0
- package/dist/smart-components/page/smart-grid-area.d.ts +75 -0
- package/dist/smart-components/page/smart-grid-area.d.ts.map +1 -0
- package/dist/smart-components/page/smart-grid-area.js +61 -0
- package/dist/smart-components/page/smart-grid-area.js.map +1 -0
- package/dist/smart-components/page/smart-page-container.d.ts +66 -0
- package/dist/smart-components/page/smart-page-container.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-container.js +93 -0
- package/dist/smart-components/page/smart-page-container.js.map +1 -0
- package/dist/smart-components/page/smart-page-content.d.ts +70 -0
- package/dist/smart-components/page/smart-page-content.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-content.js +78 -0
- package/dist/smart-components/page/smart-page-content.js.map +1 -0
- package/dist/smart-components/page/smart-page-empty.d.ts +47 -0
- package/dist/smart-components/page/smart-page-empty.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-empty.js +37 -0
- package/dist/smart-components/page/smart-page-empty.js.map +1 -0
- package/dist/smart-components/page/smart-page-error.d.ts +59 -0
- package/dist/smart-components/page/smart-page-error.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-error.js +45 -0
- package/dist/smart-components/page/smart-page-error.js.map +1 -0
- package/dist/smart-components/page/smart-page-filters.d.ts +38 -0
- package/dist/smart-components/page/smart-page-filters.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-filters.js +33 -0
- package/dist/smart-components/page/smart-page-filters.js.map +1 -0
- package/dist/smart-components/page/smart-page-footer.d.ts +49 -0
- package/dist/smart-components/page/smart-page-footer.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-footer.js +49 -0
- package/dist/smart-components/page/smart-page-footer.js.map +1 -0
- package/dist/smart-components/page/smart-page-header.d.ts +145 -0
- package/dist/smart-components/page/smart-page-header.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-header.js +129 -0
- package/dist/smart-components/page/smart-page-header.js.map +1 -0
- package/dist/smart-components/page/smart-page-hero.d.ts +43 -0
- package/dist/smart-components/page/smart-page-hero.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-hero.js +42 -0
- package/dist/smart-components/page/smart-page-hero.js.map +1 -0
- package/dist/smart-components/page/smart-page-loading.d.ts +31 -0
- package/dist/smart-components/page/smart-page-loading.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-loading.js +29 -0
- package/dist/smart-components/page/smart-page-loading.js.map +1 -0
- package/dist/smart-components/page/smart-page-search.d.ts +39 -0
- package/dist/smart-components/page/smart-page-search.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-search.js +38 -0
- package/dist/smart-components/page/smart-page-search.js.map +1 -0
- package/dist/smart-components/page/smart-page-section.d.ts +55 -0
- package/dist/smart-components/page/smart-page-section.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-section.js +41 -0
- package/dist/smart-components/page/smart-page-section.js.map +1 -0
- package/dist/smart-components/page/smart-page-status-bar.d.ts +34 -0
- package/dist/smart-components/page/smart-page-status-bar.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-status-bar.js +33 -0
- package/dist/smart-components/page/smart-page-status-bar.js.map +1 -0
- package/dist/smart-components/page/smart-page-tabs.d.ts +93 -0
- package/dist/smart-components/page/smart-page-tabs.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page-tabs.js +87 -0
- package/dist/smart-components/page/smart-page-tabs.js.map +1 -0
- package/dist/smart-components/page/smart-page.d.ts +141 -0
- package/dist/smart-components/page/smart-page.d.ts.map +1 -0
- package/dist/smart-components/page/smart-page.js +295 -0
- package/dist/smart-components/page/smart-page.js.map +1 -0
- package/dist/smart-components/page/smart-sidebar.d.ts +70 -0
- package/dist/smart-components/page/smart-sidebar.d.ts.map +1 -0
- package/dist/smart-components/page/smart-sidebar.js +54 -0
- package/dist/smart-components/page/smart-sidebar.js.map +1 -0
- package/dist/smart-components/page/smart-toolbar.d.ts +40 -0
- package/dist/smart-components/page/smart-toolbar.d.ts.map +1 -0
- package/dist/smart-components/page/smart-toolbar.js +39 -0
- package/dist/smart-components/page/smart-toolbar.js.map +1 -0
- package/dist/smart-components/search-input.d.ts +20 -0
- package/dist/smart-components/search-input.d.ts.map +1 -0
- package/dist/smart-components/search-input.js +12 -0
- package/dist/smart-components/search-input.js.map +1 -0
- package/dist/smart-components/smart-accordion.d.ts +53 -0
- package/dist/smart-components/smart-accordion.d.ts.map +1 -0
- package/dist/smart-components/smart-accordion.js +33 -0
- package/dist/smart-components/smart-accordion.js.map +1 -0
- package/dist/smart-components/smart-alert.d.ts +44 -0
- package/dist/smart-components/smart-alert.d.ts.map +1 -0
- package/dist/smart-components/smart-alert.js +27 -0
- package/dist/smart-components/smart-alert.js.map +1 -0
- package/dist/smart-components/smart-avatar.d.ts +3 -0
- package/dist/smart-components/smart-avatar.d.ts.map +1 -0
- package/dist/smart-components/smart-avatar.js +4 -0
- package/dist/smart-components/smart-avatar.js.map +1 -0
- package/dist/smart-components/smart-badge.d.ts +28 -0
- package/dist/smart-components/smart-badge.d.ts.map +1 -0
- package/dist/smart-components/smart-badge.js +24 -0
- package/dist/smart-components/smart-badge.js.map +1 -0
- package/dist/smart-components/smart-breadcrumb.d.ts +43 -0
- package/dist/smart-components/smart-breadcrumb.d.ts.map +1 -0
- package/dist/smart-components/smart-breadcrumb.js +37 -0
- package/dist/smart-components/smart-breadcrumb.js.map +1 -0
- package/dist/smart-components/smart-button.d.ts +22 -0
- package/dist/smart-components/smart-button.d.ts.map +1 -0
- package/dist/smart-components/smart-button.js +15 -0
- package/dist/smart-components/smart-button.js.map +1 -0
- package/dist/smart-components/smart-calendar.d.ts +78 -0
- package/dist/smart-components/smart-calendar.d.ts.map +1 -0
- package/dist/smart-components/smart-calendar.js +45 -0
- package/dist/smart-components/smart-calendar.js.map +1 -0
- package/dist/smart-components/smart-card.d.ts +55 -0
- package/dist/smart-components/smart-card.d.ts.map +1 -0
- package/dist/smart-components/smart-card.js +37 -0
- package/dist/smart-components/smart-card.js.map +1 -0
- package/dist/smart-components/smart-checkbox-group.d.ts +48 -0
- package/dist/smart-components/smart-checkbox-group.d.ts.map +1 -0
- package/dist/smart-components/smart-checkbox-group.js +48 -0
- package/dist/smart-components/smart-checkbox-group.js.map +1 -0
- package/dist/smart-components/smart-checkbox.d.ts +34 -0
- package/dist/smart-components/smart-checkbox.d.ts.map +1 -0
- package/dist/smart-components/smart-checkbox.js +34 -0
- package/dist/smart-components/smart-checkbox.js.map +1 -0
- package/dist/smart-components/smart-combobox.d.ts +36 -0
- package/dist/smart-components/smart-combobox.d.ts.map +1 -0
- package/dist/smart-components/smart-combobox.js +32 -0
- package/dist/smart-components/smart-combobox.js.map +1 -0
- package/dist/smart-components/smart-confirm-dialog.d.ts +63 -0
- package/dist/smart-components/smart-confirm-dialog.d.ts.map +1 -0
- package/dist/smart-components/smart-confirm-dialog.js +45 -0
- package/dist/smart-components/smart-confirm-dialog.js.map +1 -0
- package/dist/smart-components/smart-context-menu.d.ts +58 -0
- package/dist/smart-components/smart-context-menu.d.ts.map +1 -0
- package/dist/smart-components/smart-context-menu.js +38 -0
- package/dist/smart-components/smart-context-menu.js.map +1 -0
- package/dist/smart-components/smart-date-picker.d.ts +99 -0
- package/dist/smart-components/smart-date-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-date-picker.js +78 -0
- package/dist/smart-components/smart-date-picker.js.map +1 -0
- package/dist/smart-components/smart-date-range-picker.d.ts +37 -0
- package/dist/smart-components/smart-date-range-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-date-range-picker.js +38 -0
- package/dist/smart-components/smart-date-range-picker.js.map +1 -0
- package/dist/smart-components/smart-dialog.d.ts +75 -0
- package/dist/smart-components/smart-dialog.d.ts.map +1 -0
- package/dist/smart-components/smart-dialog.js +61 -0
- package/dist/smart-components/smart-dialog.js.map +1 -0
- package/dist/smart-components/smart-drawer.d.ts +48 -0
- package/dist/smart-components/smart-drawer.d.ts.map +1 -0
- package/dist/smart-components/smart-drawer.js +32 -0
- package/dist/smart-components/smart-drawer.js.map +1 -0
- package/dist/smart-components/smart-field.d.ts +47 -0
- package/dist/smart-components/smart-field.d.ts.map +1 -0
- package/dist/smart-components/smart-field.js +44 -0
- package/dist/smart-components/smart-field.js.map +1 -0
- package/dist/smart-components/smart-input-group.d.ts +60 -0
- package/dist/smart-components/smart-input-group.d.ts.map +1 -0
- package/dist/smart-components/smart-input-group.js +40 -0
- package/dist/smart-components/smart-input-group.js.map +1 -0
- package/dist/smart-components/smart-input.d.ts +46 -0
- package/dist/smart-components/smart-input.d.ts.map +1 -0
- package/dist/smart-components/smart-input.js +36 -0
- package/dist/smart-components/smart-input.js.map +1 -0
- package/dist/smart-components/smart-label.d.ts +22 -0
- package/dist/smart-components/smart-label.d.ts.map +1 -0
- package/dist/smart-components/smart-label.js +17 -0
- package/dist/smart-components/smart-label.js.map +1 -0
- package/dist/smart-components/smart-month-picker.d.ts +30 -0
- package/dist/smart-components/smart-month-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-month-picker.js +53 -0
- package/dist/smart-components/smart-month-picker.js.map +1 -0
- package/dist/smart-components/smart-multi-select.d.ts +38 -0
- package/dist/smart-components/smart-multi-select.d.ts.map +1 -0
- package/dist/smart-components/smart-multi-select.js +56 -0
- package/dist/smart-components/smart-multi-select.js.map +1 -0
- package/dist/smart-components/smart-native-select.d.ts +45 -0
- package/dist/smart-components/smart-native-select.d.ts.map +1 -0
- package/dist/smart-components/smart-native-select.js +33 -0
- package/dist/smart-components/smart-native-select.js.map +1 -0
- package/dist/smart-components/smart-nav-sidebar.d.ts +47 -0
- package/dist/smart-components/smart-nav-sidebar.d.ts.map +1 -0
- package/dist/smart-components/smart-nav-sidebar.js +37 -0
- package/dist/smart-components/smart-nav-sidebar.js.map +1 -0
- package/dist/smart-components/smart-password-input.d.ts +31 -0
- package/dist/smart-components/smart-password-input.d.ts.map +1 -0
- package/dist/smart-components/smart-password-input.js +30 -0
- package/dist/smart-components/smart-password-input.js.map +1 -0
- package/dist/smart-components/smart-radio-group.d.ts +58 -0
- package/dist/smart-components/smart-radio-group.d.ts.map +1 -0
- package/dist/smart-components/smart-radio-group.js +49 -0
- package/dist/smart-components/smart-radio-group.js.map +1 -0
- package/dist/smart-components/smart-segmented.d.ts +33 -0
- package/dist/smart-components/smart-segmented.d.ts.map +1 -0
- package/dist/smart-components/smart-segmented.js +25 -0
- package/dist/smart-components/smart-segmented.js.map +1 -0
- package/dist/smart-components/smart-select.d.ts +71 -0
- package/dist/smart-components/smart-select.d.ts.map +1 -0
- package/dist/smart-components/smart-select.js +44 -0
- package/dist/smart-components/smart-select.js.map +1 -0
- package/dist/smart-components/smart-separator.d.ts +3 -0
- package/dist/smart-components/smart-separator.d.ts.map +1 -0
- package/dist/smart-components/smart-separator.js +4 -0
- package/dist/smart-components/smart-separator.js.map +1 -0
- package/dist/smart-components/smart-sheet.d.ts +79 -0
- package/dist/smart-components/smart-sheet.d.ts.map +1 -0
- package/dist/smart-components/smart-sheet.js +47 -0
- package/dist/smart-components/smart-sheet.js.map +1 -0
- package/dist/smart-components/smart-stat-card.d.ts +47 -0
- package/dist/smart-components/smart-stat-card.d.ts.map +1 -0
- package/dist/smart-components/smart-stat-card.js +35 -0
- package/dist/smart-components/smart-stat-card.js.map +1 -0
- package/dist/smart-components/smart-stepper.d.ts +24 -0
- package/dist/smart-components/smart-stepper.d.ts.map +1 -0
- package/dist/smart-components/smart-stepper.js +24 -0
- package/dist/smart-components/smart-stepper.js.map +1 -0
- package/dist/smart-components/smart-switch.d.ts +34 -0
- package/dist/smart-components/smart-switch.d.ts.map +1 -0
- package/dist/smart-components/smart-switch.js +34 -0
- package/dist/smart-components/smart-switch.js.map +1 -0
- package/dist/smart-components/smart-textarea.d.ts +38 -0
- package/dist/smart-components/smart-textarea.d.ts.map +1 -0
- package/dist/smart-components/smart-textarea.js +28 -0
- package/dist/smart-components/smart-textarea.js.map +1 -0
- package/dist/smart-components/smart-time-picker.d.ts +59 -0
- package/dist/smart-components/smart-time-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-time-picker.js +129 -0
- package/dist/smart-components/smart-time-picker.js.map +1 -0
- package/dist/smart-components/smart-time-range-picker.d.ts +39 -0
- package/dist/smart-components/smart-time-range-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-time-range-picker.js +26 -0
- package/dist/smart-components/smart-time-range-picker.js.map +1 -0
- package/dist/smart-components/smart-toaster.d.ts +10 -0
- package/dist/smart-components/smart-toaster.d.ts.map +1 -0
- package/dist/smart-components/smart-toaster.js +21 -0
- package/dist/smart-components/smart-toaster.js.map +1 -0
- package/dist/smart-components/smart-year-picker.d.ts +29 -0
- package/dist/smart-components/smart-year-picker.d.ts.map +1 -0
- package/dist/smart-components/smart-year-picker.js +43 -0
- package/dist/smart-components/smart-year-picker.js.map +1 -0
- package/dist/smart-components/spinner.d.ts +10 -0
- package/dist/smart-components/spinner.d.ts.map +1 -0
- package/dist/smart-components/spinner.js +5 -0
- package/dist/smart-components/spinner.js.map +1 -0
- package/dist/transfer-list-engine/index.d.ts +5 -0
- package/dist/transfer-list-engine/index.d.ts.map +1 -0
- package/dist/transfer-list-engine/index.js +3 -0
- package/dist/transfer-list-engine/index.js.map +1 -0
- package/dist/transfer-list-engine/transfer-list.d.ts +53 -0
- package/dist/transfer-list-engine/transfer-list.d.ts.map +1 -0
- package/dist/transfer-list-engine/transfer-list.js +190 -0
- package/dist/transfer-list-engine/transfer-list.js.map +1 -0
- package/dist/transfer-list-engine/transfer-utils.d.ts +30 -0
- package/dist/transfer-list-engine/transfer-utils.d.ts.map +1 -0
- package/dist/transfer-list-engine/transfer-utils.js +69 -0
- package/dist/transfer-list-engine/transfer-utils.js.map +1 -0
- package/dist/transfer-list-engine/types.d.ts +51 -0
- package/dist/transfer-list-engine/types.d.ts.map +1 -0
- package/dist/transfer-list-engine/types.js +2 -0
- package/dist/transfer-list-engine/types.js.map +1 -0
- package/dist/tree-engine/index.d.ts +6 -0
- package/dist/tree-engine/index.d.ts.map +1 -0
- package/dist/tree-engine/index.js +3 -0
- package/dist/tree-engine/index.js.map +1 -0
- package/dist/tree-engine/tree-utils.d.ts +84 -0
- package/dist/tree-engine/tree-utils.d.ts.map +1 -0
- package/dist/tree-engine/tree-utils.js +271 -0
- package/dist/tree-engine/tree-utils.js.map +1 -0
- package/dist/tree-engine/tree.d.ts +98 -0
- package/dist/tree-engine/tree.d.ts.map +1 -0
- package/dist/tree-engine/tree.js +430 -0
- package/dist/tree-engine/tree.js.map +1 -0
- package/dist/tree-engine/types.d.ts +85 -0
- package/dist/tree-engine/types.d.ts.map +1 -0
- package/dist/tree-engine/types.js +2 -0
- package/dist/tree-engine/types.js.map +1 -0
- package/dist/tree-engine/use-tree.d.ts +12 -0
- package/dist/tree-engine/use-tree.d.ts.map +1 -0
- package/dist/tree-engine/use-tree.js +34 -0
- package/dist/tree-engine/use-tree.js.map +1 -0
- package/package.json +158 -0
- package/src/styles/globals.css +161 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-buttons.js","sourceRoot":"","sources":["../../../src/smart-components/buttons/action-buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;AAC/D,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;AAC3E,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAA;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;AACrE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;AACrE,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;AAC3E,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;AACrE,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAA;AAC9E,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAC/C,WAAW,EACX,iBAAiB,CAClB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { SmartButtonProps } from "@iamsaroj/smart-ui/smart-components/smart-button";
|
|
3
|
+
export type ActionButtonVariant = NonNullable<SmartButtonProps["variant"]>;
|
|
4
|
+
/** Per-action defaults. Everything here is overridable per instance. */
|
|
5
|
+
export interface ActionDefaults {
|
|
6
|
+
/** Default visible label; also the aria-label / tooltip fallback for icon-only buttons. */
|
|
7
|
+
label: string;
|
|
8
|
+
icon: LucideIcon;
|
|
9
|
+
variant: ActionButtonVariant;
|
|
10
|
+
/** Label swapped in while `loading` (see `SmartButton`). */
|
|
11
|
+
loadingText?: string;
|
|
12
|
+
/** Which side of the label the icon renders on. @default "start" */
|
|
13
|
+
iconSide?: "start" | "end";
|
|
14
|
+
/** Native button type. @default "button" */
|
|
15
|
+
type?: "button" | "submit" | "reset";
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Single source of truth for every action button. Adding a new action means
|
|
19
|
+
* adding one entry here plus one `createActionButton` line in
|
|
20
|
+
* `action-buttons.tsx` — `ActionKind` and the `ActionButton` `action` prop
|
|
21
|
+
* pick it up automatically.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ACTION_BUTTON_CONFIG: {
|
|
24
|
+
readonly add: {
|
|
25
|
+
readonly label: "Add";
|
|
26
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
readonly variant: "default";
|
|
28
|
+
readonly loadingText: "Adding…";
|
|
29
|
+
};
|
|
30
|
+
readonly edit: {
|
|
31
|
+
readonly label: "Edit";
|
|
32
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
readonly variant: "outline";
|
|
34
|
+
};
|
|
35
|
+
readonly delete: {
|
|
36
|
+
readonly label: "Delete";
|
|
37
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
38
|
+
readonly variant: "destructive";
|
|
39
|
+
readonly loadingText: "Deleting…";
|
|
40
|
+
};
|
|
41
|
+
readonly save: {
|
|
42
|
+
readonly label: "Save";
|
|
43
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
44
|
+
readonly variant: "default";
|
|
45
|
+
readonly loadingText: "Saving…";
|
|
46
|
+
};
|
|
47
|
+
readonly cancel: {
|
|
48
|
+
readonly label: "Cancel";
|
|
49
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
50
|
+
readonly variant: "ghost";
|
|
51
|
+
};
|
|
52
|
+
readonly search: {
|
|
53
|
+
readonly label: "Search";
|
|
54
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
55
|
+
readonly variant: "default";
|
|
56
|
+
readonly loadingText: "Searching…";
|
|
57
|
+
};
|
|
58
|
+
readonly refresh: {
|
|
59
|
+
readonly label: "Refresh";
|
|
60
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
61
|
+
readonly variant: "outline";
|
|
62
|
+
readonly loadingText: "Refreshing…";
|
|
63
|
+
};
|
|
64
|
+
readonly sync: {
|
|
65
|
+
readonly label: "Sync";
|
|
66
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
67
|
+
readonly variant: "outline";
|
|
68
|
+
readonly loadingText: "Syncing…";
|
|
69
|
+
};
|
|
70
|
+
readonly download: {
|
|
71
|
+
readonly label: "Download";
|
|
72
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
73
|
+
readonly variant: "outline";
|
|
74
|
+
readonly loadingText: "Downloading…";
|
|
75
|
+
};
|
|
76
|
+
readonly upload: {
|
|
77
|
+
readonly label: "Upload";
|
|
78
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
79
|
+
readonly variant: "outline";
|
|
80
|
+
readonly loadingText: "Uploading…";
|
|
81
|
+
};
|
|
82
|
+
readonly import: {
|
|
83
|
+
readonly label: "Import";
|
|
84
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
85
|
+
readonly variant: "outline";
|
|
86
|
+
readonly loadingText: "Importing…";
|
|
87
|
+
};
|
|
88
|
+
readonly export: {
|
|
89
|
+
readonly label: "Export";
|
|
90
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
91
|
+
readonly variant: "outline";
|
|
92
|
+
readonly loadingText: "Exporting…";
|
|
93
|
+
};
|
|
94
|
+
readonly copy: {
|
|
95
|
+
readonly label: "Copy";
|
|
96
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
97
|
+
readonly variant: "outline";
|
|
98
|
+
readonly loadingText: "Copying…";
|
|
99
|
+
};
|
|
100
|
+
readonly print: {
|
|
101
|
+
readonly label: "Print";
|
|
102
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
103
|
+
readonly variant: "outline";
|
|
104
|
+
readonly loadingText: "Printing…";
|
|
105
|
+
};
|
|
106
|
+
readonly filter: {
|
|
107
|
+
readonly label: "Filter";
|
|
108
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
109
|
+
readonly variant: "outline";
|
|
110
|
+
};
|
|
111
|
+
readonly reset: {
|
|
112
|
+
readonly label: "Reset";
|
|
113
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
114
|
+
readonly variant: "ghost";
|
|
115
|
+
};
|
|
116
|
+
readonly submit: {
|
|
117
|
+
readonly label: "Submit";
|
|
118
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
119
|
+
readonly variant: "default";
|
|
120
|
+
readonly loadingText: "Submitting…";
|
|
121
|
+
readonly type: "submit";
|
|
122
|
+
};
|
|
123
|
+
readonly approve: {
|
|
124
|
+
readonly label: "Approve";
|
|
125
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
126
|
+
readonly variant: "default";
|
|
127
|
+
readonly loadingText: "Approving…";
|
|
128
|
+
};
|
|
129
|
+
readonly reject: {
|
|
130
|
+
readonly label: "Reject";
|
|
131
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
132
|
+
readonly variant: "destructive";
|
|
133
|
+
readonly loadingText: "Rejecting…";
|
|
134
|
+
};
|
|
135
|
+
readonly view: {
|
|
136
|
+
readonly label: "View";
|
|
137
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
138
|
+
readonly variant: "outline";
|
|
139
|
+
};
|
|
140
|
+
readonly close: {
|
|
141
|
+
readonly label: "Close";
|
|
142
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
143
|
+
readonly variant: "ghost";
|
|
144
|
+
};
|
|
145
|
+
readonly back: {
|
|
146
|
+
readonly label: "Back";
|
|
147
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
148
|
+
readonly variant: "ghost";
|
|
149
|
+
};
|
|
150
|
+
readonly next: {
|
|
151
|
+
readonly label: "Next";
|
|
152
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
153
|
+
readonly variant: "outline";
|
|
154
|
+
readonly iconSide: "end";
|
|
155
|
+
};
|
|
156
|
+
readonly previous: {
|
|
157
|
+
readonly label: "Previous";
|
|
158
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
159
|
+
readonly variant: "outline";
|
|
160
|
+
};
|
|
161
|
+
readonly duplicate: {
|
|
162
|
+
readonly label: "Duplicate";
|
|
163
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
164
|
+
readonly variant: "outline";
|
|
165
|
+
readonly loadingText: "Duplicating…";
|
|
166
|
+
};
|
|
167
|
+
readonly archive: {
|
|
168
|
+
readonly label: "Archive";
|
|
169
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
170
|
+
readonly variant: "outline";
|
|
171
|
+
readonly loadingText: "Archiving…";
|
|
172
|
+
};
|
|
173
|
+
readonly restore: {
|
|
174
|
+
readonly label: "Restore";
|
|
175
|
+
readonly icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
176
|
+
readonly variant: "outline";
|
|
177
|
+
readonly loadingText: "Restoring…";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
export type ActionKind = keyof typeof ACTION_BUTTON_CONFIG;
|
|
181
|
+
//# sourceMappingURL=action-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-config.d.ts","sourceRoot":"","sources":["../../../src/smart-components/buttons/action-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA8B9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAA;AAExF,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAA;AAE1E,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,2FAA2F;IAC3F,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;IAChB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC1B,4CAA4C;IAC5C,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACrC;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHkB,CAAA;AAEnD,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Archive, ArchiveRestore, ArrowLeft, Ban, Check, ChevronLeft, ChevronRight, Copy, Download, Eye, FileInput, FileOutput, Files, Filter, Pencil, Plus, Printer, RefreshCcw, RefreshCw, RotateCcw, Save, Search, Send, Trash2, Upload, X, } from "lucide-react";
|
|
2
|
+
/**
|
|
3
|
+
* Single source of truth for every action button. Adding a new action means
|
|
4
|
+
* adding one entry here plus one `createActionButton` line in
|
|
5
|
+
* `action-buttons.tsx` — `ActionKind` and the `ActionButton` `action` prop
|
|
6
|
+
* pick it up automatically.
|
|
7
|
+
*/
|
|
8
|
+
export const ACTION_BUTTON_CONFIG = {
|
|
9
|
+
add: { label: "Add", icon: Plus, variant: "default", loadingText: "Adding…" },
|
|
10
|
+
edit: { label: "Edit", icon: Pencil, variant: "outline" },
|
|
11
|
+
delete: {
|
|
12
|
+
label: "Delete",
|
|
13
|
+
icon: Trash2,
|
|
14
|
+
variant: "destructive",
|
|
15
|
+
loadingText: "Deleting…",
|
|
16
|
+
},
|
|
17
|
+
save: {
|
|
18
|
+
label: "Save",
|
|
19
|
+
icon: Save,
|
|
20
|
+
variant: "default",
|
|
21
|
+
loadingText: "Saving…",
|
|
22
|
+
},
|
|
23
|
+
cancel: { label: "Cancel", icon: X, variant: "ghost" },
|
|
24
|
+
search: {
|
|
25
|
+
label: "Search",
|
|
26
|
+
icon: Search,
|
|
27
|
+
variant: "default",
|
|
28
|
+
loadingText: "Searching…",
|
|
29
|
+
},
|
|
30
|
+
refresh: {
|
|
31
|
+
label: "Refresh",
|
|
32
|
+
icon: RefreshCw,
|
|
33
|
+
variant: "outline",
|
|
34
|
+
loadingText: "Refreshing…",
|
|
35
|
+
},
|
|
36
|
+
sync: {
|
|
37
|
+
label: "Sync",
|
|
38
|
+
icon: RefreshCcw,
|
|
39
|
+
variant: "outline",
|
|
40
|
+
loadingText: "Syncing…",
|
|
41
|
+
},
|
|
42
|
+
download: {
|
|
43
|
+
label: "Download",
|
|
44
|
+
icon: Download,
|
|
45
|
+
variant: "outline",
|
|
46
|
+
loadingText: "Downloading…",
|
|
47
|
+
},
|
|
48
|
+
upload: {
|
|
49
|
+
label: "Upload",
|
|
50
|
+
icon: Upload,
|
|
51
|
+
variant: "outline",
|
|
52
|
+
loadingText: "Uploading…",
|
|
53
|
+
},
|
|
54
|
+
import: {
|
|
55
|
+
label: "Import",
|
|
56
|
+
icon: FileInput,
|
|
57
|
+
variant: "outline",
|
|
58
|
+
loadingText: "Importing…",
|
|
59
|
+
},
|
|
60
|
+
export: {
|
|
61
|
+
label: "Export",
|
|
62
|
+
icon: FileOutput,
|
|
63
|
+
variant: "outline",
|
|
64
|
+
loadingText: "Exporting…",
|
|
65
|
+
},
|
|
66
|
+
copy: {
|
|
67
|
+
label: "Copy",
|
|
68
|
+
icon: Copy,
|
|
69
|
+
variant: "outline",
|
|
70
|
+
loadingText: "Copying…",
|
|
71
|
+
},
|
|
72
|
+
print: {
|
|
73
|
+
label: "Print",
|
|
74
|
+
icon: Printer,
|
|
75
|
+
variant: "outline",
|
|
76
|
+
loadingText: "Printing…",
|
|
77
|
+
},
|
|
78
|
+
filter: { label: "Filter", icon: Filter, variant: "outline" },
|
|
79
|
+
reset: { label: "Reset", icon: RotateCcw, variant: "ghost" },
|
|
80
|
+
submit: {
|
|
81
|
+
label: "Submit",
|
|
82
|
+
icon: Send,
|
|
83
|
+
variant: "default",
|
|
84
|
+
loadingText: "Submitting…",
|
|
85
|
+
type: "submit",
|
|
86
|
+
},
|
|
87
|
+
approve: {
|
|
88
|
+
label: "Approve",
|
|
89
|
+
icon: Check,
|
|
90
|
+
variant: "default",
|
|
91
|
+
loadingText: "Approving…",
|
|
92
|
+
},
|
|
93
|
+
reject: {
|
|
94
|
+
label: "Reject",
|
|
95
|
+
icon: Ban,
|
|
96
|
+
variant: "destructive",
|
|
97
|
+
loadingText: "Rejecting…",
|
|
98
|
+
},
|
|
99
|
+
view: { label: "View", icon: Eye, variant: "outline" },
|
|
100
|
+
close: { label: "Close", icon: X, variant: "ghost" },
|
|
101
|
+
back: { label: "Back", icon: ArrowLeft, variant: "ghost" },
|
|
102
|
+
next: {
|
|
103
|
+
label: "Next",
|
|
104
|
+
icon: ChevronRight,
|
|
105
|
+
variant: "outline",
|
|
106
|
+
iconSide: "end",
|
|
107
|
+
},
|
|
108
|
+
previous: { label: "Previous", icon: ChevronLeft, variant: "outline" },
|
|
109
|
+
duplicate: {
|
|
110
|
+
label: "Duplicate",
|
|
111
|
+
icon: Files,
|
|
112
|
+
variant: "outline",
|
|
113
|
+
loadingText: "Duplicating…",
|
|
114
|
+
},
|
|
115
|
+
archive: {
|
|
116
|
+
label: "Archive",
|
|
117
|
+
icon: Archive,
|
|
118
|
+
variant: "outline",
|
|
119
|
+
loadingText: "Archiving…",
|
|
120
|
+
},
|
|
121
|
+
restore: {
|
|
122
|
+
label: "Restore",
|
|
123
|
+
icon: ArchiveRestore,
|
|
124
|
+
variant: "outline",
|
|
125
|
+
loadingText: "Restoring…",
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=action-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-config.js","sourceRoot":"","sources":["../../../src/smart-components/buttons/action-config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EACT,GAAG,EACH,KAAK,EACL,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,SAAS,EACT,UAAU,EACV,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,UAAU,EACV,SAAS,EACT,SAAS,EACT,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,MAAM,EACN,MAAM,EACN,CAAC,GACF,MAAM,cAAc,CAAA;AAoBrB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE;IAC7E,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE;IACzD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,WAAW;KACzB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,SAAS;KACvB;IACD,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE;IACtD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,aAAa;KAC3B;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,UAAU;KACxB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,cAAc;KAC5B;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,UAAU;KACxB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,WAAW;KACzB;IACD,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE;IAC7D,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE;IAC5D,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,YAAY;KAC1B;IACD,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE;IACtD,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE;IACpD,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE;IAC1D,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,KAAK;KAChB;IACD,QAAQ,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE;IACtE,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,cAAc;KAC5B;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,YAAY;KAC1B;CACgD,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ACTION_BUTTON_CONFIG, type ActionKind, type ActionDefaults, type ActionButtonVariant, } from "./action-config";
|
|
2
|
+
export { ActionButton, ActionPermissionProvider, createActionButton, type ActionButtonProps, type ActionButtonPresetProps, type ActionPermissionChecker, } from "./action-button";
|
|
3
|
+
export { AddButton, EditButton, DeleteButton, SaveButton, CancelButton, SearchButton, RefreshButton, SyncButton, DownloadButton, UploadButton, ImportButton, ExportButton, CopyButton, PrintButton, FilterButton, ResetButton, SubmitButton, ApproveButton, RejectButton, ViewButton, CloseButton, BackButton, NextButton, PreviousButton, DuplicateButton, ArchiveButton, RestoreButton, } from "./action-buttons";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/smart-components/buttons/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,GACd,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// ─── Config (single source of truth for action defaults) ─────────────────────
|
|
2
|
+
export { ACTION_BUTTON_CONFIG, } from "./action-config";
|
|
3
|
+
// ─── Generic action button + permission gate + preset factory ────────────────
|
|
4
|
+
export { ActionButton, ActionPermissionProvider, createActionButton, } from "./action-button";
|
|
5
|
+
// ─── Named presets ────────────────────────────────────────────────────────────
|
|
6
|
+
export { AddButton, EditButton, DeleteButton, SaveButton, CancelButton, SearchButton, RefreshButton, SyncButton, DownloadButton, UploadButton, ImportButton, ExportButton, CopyButton, PrintButton, FilterButton, ResetButton, SubmitButton, ApproveButton, RejectButton, ViewButton, CloseButton, BackButton, NextButton, PreviousButton, DuplicateButton, ArchiveButton, RestoreButton, } from "./action-buttons";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/smart-components/buttons/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,OAAO,EACL,oBAAoB,GAIrB,MAAM,iBAAiB,CAAA;AAExB,gFAAgF;AAChF,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,GAInB,MAAM,iBAAiB,CAAA;AAExB,iFAAiF;AACjF,OAAO,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,GACd,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface SmartLoadingOverlayProps {
|
|
3
|
+
/** When true, the overlay is shown. */
|
|
4
|
+
loading: boolean;
|
|
5
|
+
/** Content to dim behind the overlay. When omitted, the overlay renders standalone. */
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/** Accessible status text (also displayed under the spinner). */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** Cover the whole viewport instead of the nearest positioned ancestor. */
|
|
10
|
+
fullscreen?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Blocks interaction and shows a spinner while an async region is busy. */
|
|
14
|
+
declare const SmartLoadingOverlay: ({ loading, children, label, fullscreen, className, }: SmartLoadingOverlayProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export { SmartLoadingOverlay };
|
|
16
|
+
//# sourceMappingURL=loading-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-overlay.d.ts","sourceRoot":"","sources":["../../src/smart-components/loading-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,wBAAwB;IACvC,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAA;IAChB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2EAA2E;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,4EAA4E;AAC5E,QAAA,MAAM,mBAAmB,GAAI,sDAM1B,wBAAwB,mDA4B1B,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "@iamsaroj/smart-ui/lib/utils";
|
|
3
|
+
import { SmartSpinner } from "@iamsaroj/smart-ui/smart-components/spinner";
|
|
4
|
+
/** Blocks interaction and shows a spinner while an async region is busy. */
|
|
5
|
+
const SmartLoadingOverlay = ({ loading, children, label = "Loading…", fullscreen = false, className, }) => {
|
|
6
|
+
const overlay = loading ? (_jsxs("div", { role: "status", "aria-live": "polite", className: cn("z-50 flex flex-col items-center justify-center gap-3 bg-background/60 backdrop-blur-sm", fullscreen ? "fixed inset-0" : "absolute inset-0", className), children: [_jsx(SmartSpinner, { size: 28, className: "text-primary" }), label ? (_jsx("p", { className: "text-sm font-medium text-muted-foreground", children: label })) : null] })) : null;
|
|
7
|
+
if (children === undefined) {
|
|
8
|
+
return overlay;
|
|
9
|
+
}
|
|
10
|
+
return (_jsxs("div", { className: "relative", children: [children, overlay] }));
|
|
11
|
+
};
|
|
12
|
+
export { SmartLoadingOverlay };
|
|
13
|
+
//# sourceMappingURL=loading-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-overlay.js","sourceRoot":"","sources":["../../src/smart-components/loading-overlay.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,8BAA8B,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAA;AAc1E,4EAA4E;AAC5E,MAAM,mBAAmB,GAAG,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,KAAK,GAAG,UAAU,EAClB,UAAU,GAAG,KAAK,EAClB,SAAS,GACgB,EAAE,EAAE;IAC7B,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CACxB,eACE,IAAI,EAAC,QAAQ,eACH,QAAQ,EAClB,SAAS,EAAE,EAAE,CACX,wFAAwF,EACxF,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,kBAAkB,EACjD,SAAS,CACV,aAED,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,cAAc,GAAG,EAClD,KAAK,CAAC,CAAC,CAAC,CACP,YAAG,SAAS,EAAC,2CAA2C,YAAE,KAAK,GAAK,CACrE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAA;IAER,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,UAAU,aACtB,QAAQ,EACR,OAAO,IACJ,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { PageContext, usePageContext, type PageLayout, type ScrollMode, type PaddingSize, type PageContextValue, } from "./page-context";
|
|
2
|
+
export { SmartPage, SMART_PAGE_SLOT, type SmartPageProps, type PageSlot, } from "./smart-page";
|
|
3
|
+
export { SmartPageHeader, SmartPageTitle, SmartPageDescription, SmartPageActions, SmartPageBreadcrumb, type SmartPageHeaderProps, type SmartPageTitleProps, type SmartPageBreadcrumbProps, type SmartPageBreadcrumbItem, } from "./smart-page-header";
|
|
4
|
+
export { SmartPageHero, type SmartPageHeroProps } from "./smart-page-hero";
|
|
5
|
+
export { SmartToolbar, type SmartToolbarProps } from "./smart-toolbar";
|
|
6
|
+
export { SmartPageSearch, type SmartPageSearchProps } from "./smart-page-search";
|
|
7
|
+
export { SmartPageFilters, type SmartPageFiltersProps, } from "./smart-page-filters";
|
|
8
|
+
export { SmartPageTabs, SmartPageTab, SmartPageTabPanel, type SmartPageTabsProps, type SmartPageTabProps, type SmartPageTabPanelProps, } from "./smart-page-tabs";
|
|
9
|
+
export { SmartPageContent, type SmartPageContentProps, } from "./smart-page-content";
|
|
10
|
+
export { SmartPageSection, type SmartPageSectionProps, } from "./smart-page-section";
|
|
11
|
+
export { SmartSidebar, type SmartSidebarProps } from "./smart-sidebar";
|
|
12
|
+
export { SmartGridArea, type SmartGridAreaProps } from "./smart-grid-area";
|
|
13
|
+
export { SmartPageStatusBar, type SmartPageStatusBarProps, } from "./smart-page-status-bar";
|
|
14
|
+
export { SmartPageFooter, type SmartPageFooterProps } from "./smart-page-footer";
|
|
15
|
+
export { SmartPageEmpty, type SmartPageEmptyProps } from "./smart-page-empty";
|
|
16
|
+
export { SmartPageLoading, type SmartPageLoadingProps, } from "./smart-page-loading";
|
|
17
|
+
export { SmartPageError, type SmartPageErrorProps } from "./smart-page-error";
|
|
18
|
+
export { SmartPageContainer, type SmartPageContainerProps, } from "./smart-page-container";
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/smart-components/page/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,cAAc,EACd,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAA;AAGvB,OAAO,EACL,SAAS,EACT,eAAe,EACf,KAAK,cAAc,EACnB,KAAK,QAAQ,GACd,MAAM,cAAc,CAAA;AAGrB,OAAO,EACL,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,qBAAqB,CAAA;AAG5B,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAG1E,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAGtE,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAEhF,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EACL,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAG1E,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAGhF,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAE7E,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAG7E,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// ─── Context ──────────────────────────────────────────────────────────────────
|
|
2
|
+
export { PageContext, usePageContext, } from "./page-context";
|
|
3
|
+
// ─── Page (orchestrator) ──────────────────────────────────────────────────────
|
|
4
|
+
export { SmartPage, SMART_PAGE_SLOT, } from "./smart-page";
|
|
5
|
+
// ─── Header zone ──────────────────────────────────────────────────────────────
|
|
6
|
+
export { SmartPageHeader, SmartPageTitle, SmartPageDescription, SmartPageActions, SmartPageBreadcrumb, } from "./smart-page-header";
|
|
7
|
+
// ─── Hero ─────────────────────────────────────────────────────────────────────
|
|
8
|
+
export { SmartPageHero } from "./smart-page-hero";
|
|
9
|
+
// ─── Toolbar ──────────────────────────────────────────────────────────────────
|
|
10
|
+
export { SmartToolbar } from "./smart-toolbar";
|
|
11
|
+
// ─── Search + Filters ─────────────────────────────────────────────────────────
|
|
12
|
+
export { SmartPageSearch } from "./smart-page-search";
|
|
13
|
+
export { SmartPageFilters, } from "./smart-page-filters";
|
|
14
|
+
// ─── Tabs ─────────────────────────────────────────────────────────────────────
|
|
15
|
+
export { SmartPageTabs, SmartPageTab, SmartPageTabPanel, } from "./smart-page-tabs";
|
|
16
|
+
// ─── Content ──────────────────────────────────────────────────────────────────
|
|
17
|
+
export { SmartPageContent, } from "./smart-page-content";
|
|
18
|
+
export { SmartPageSection, } from "./smart-page-section";
|
|
19
|
+
// ─── Sidebar ──────────────────────────────────────────────────────────────────
|
|
20
|
+
export { SmartSidebar } from "./smart-sidebar";
|
|
21
|
+
// ─── Grid area ────────────────────────────────────────────────────────────────
|
|
22
|
+
export { SmartGridArea } from "./smart-grid-area";
|
|
23
|
+
// ─── Status bar ───────────────────────────────────────────────────────────────
|
|
24
|
+
export { SmartPageStatusBar, } from "./smart-page-status-bar";
|
|
25
|
+
// ─── Footer ───────────────────────────────────────────────────────────────────
|
|
26
|
+
export { SmartPageFooter } from "./smart-page-footer";
|
|
27
|
+
// ─── States ───────────────────────────────────────────────────────────────────
|
|
28
|
+
export { SmartPageEmpty } from "./smart-page-empty";
|
|
29
|
+
export { SmartPageLoading, } from "./smart-page-loading";
|
|
30
|
+
export { SmartPageError } from "./smart-page-error";
|
|
31
|
+
// ─── Container (compound wrapper) ─────────────────────────────────────────────
|
|
32
|
+
export { SmartPageContainer, } from "./smart-page-container";
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/smart-components/page/index.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EACL,WAAW,EACX,cAAc,GAKf,MAAM,gBAAgB,CAAA;AAEvB,iFAAiF;AACjF,OAAO,EACL,SAAS,EACT,eAAe,GAGhB,MAAM,cAAc,CAAA;AAErB,iFAAiF;AACjF,OAAO,EACL,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,GAKpB,MAAM,qBAAqB,CAAA;AAE5B,iFAAiF;AACjF,OAAO,EAAE,aAAa,EAA2B,MAAM,mBAAmB,CAAA;AAE1E,iFAAiF;AACjF,OAAO,EAAE,YAAY,EAA0B,MAAM,iBAAiB,CAAA;AAEtE,iFAAiF;AACjF,OAAO,EAAE,eAAe,EAA6B,MAAM,qBAAqB,CAAA;AAEhF,OAAO,EACL,gBAAgB,GAEjB,MAAM,sBAAsB,CAAA;AAE7B,iFAAiF;AACjF,OAAO,EACL,aAAa,EACb,YAAY,EACZ,iBAAiB,GAIlB,MAAM,mBAAmB,CAAA;AAE1B,iFAAiF;AACjF,OAAO,EACL,gBAAgB,GAEjB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EACL,gBAAgB,GAEjB,MAAM,sBAAsB,CAAA;AAE7B,iFAAiF;AACjF,OAAO,EAAE,YAAY,EAA0B,MAAM,iBAAiB,CAAA;AAEtE,iFAAiF;AACjF,OAAO,EAAE,aAAa,EAA2B,MAAM,mBAAmB,CAAA;AAE1E,iFAAiF;AACjF,OAAO,EACL,kBAAkB,GAEnB,MAAM,yBAAyB,CAAA;AAEhC,iFAAiF;AACjF,OAAO,EAAE,eAAe,EAA6B,MAAM,qBAAqB,CAAA;AAEhF,iFAAiF;AACjF,OAAO,EAAE,cAAc,EAA4B,MAAM,oBAAoB,CAAA;AAE7E,OAAO,EACL,gBAAgB,GAEjB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,cAAc,EAA4B,MAAM,oBAAoB,CAAA;AAE7E,iFAAiF;AACjF,OAAO,EACL,kBAAkB,GAEnB,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Inline full-page state renderers for {@link SmartPage}'s `loading` / `error` /
|
|
4
|
+
* `empty` props. Kept as thin wrappers (separate from the richer
|
|
5
|
+
* `SmartPageLoading` / `SmartPageError` / `SmartPageEmpty` components users can
|
|
6
|
+
* drop in directly) so `smart-page.tsx` doesn't import those and risk a cycle.
|
|
7
|
+
*/
|
|
8
|
+
export declare const PageLoadingState: ({ label, }: {
|
|
9
|
+
label?: string;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const PageErrorState: ({ children }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const PageEmptyState: ({ children }: {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=page-states.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-states.d.ts","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/page-states.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;GAKG;AAEH,eAAO,MAAM,gBAAgB,GAAI,YAE9B;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,4CAYA,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAEzE,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAEzE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/**
|
|
4
|
+
* Inline full-page state renderers for {@link SmartPage}'s `loading` / `error` /
|
|
5
|
+
* `empty` props. Kept as thin wrappers (separate from the richer
|
|
6
|
+
* `SmartPageLoading` / `SmartPageError` / `SmartPageEmpty` components users can
|
|
7
|
+
* drop in directly) so `smart-page.tsx` doesn't import those and risk a cycle.
|
|
8
|
+
*/
|
|
9
|
+
export const PageLoadingState = ({ label = "Loading…", }) => (_jsxs("div", { role: "status", "aria-live": "polite", className: "flex flex-1 flex-col items-center justify-center gap-3 py-16", children: [_jsx("span", { className: "inline-block size-8 animate-spin rounded-full border-2 border-current border-t-transparent text-primary", "aria-hidden": "true" }), _jsx("p", { className: "text-sm text-muted-foreground", children: label })] }));
|
|
10
|
+
export const PageErrorState = ({ children }) => (_jsx("div", { className: "flex flex-1 items-center justify-center p-8", children: children }));
|
|
11
|
+
export const PageEmptyState = ({ children }) => (_jsx("div", { className: "flex flex-1 items-center justify-center p-8", children: children }));
|
|
12
|
+
//# sourceMappingURL=page-states.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-states.js","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/page-states.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAIZ;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC/B,KAAK,GAAG,UAAU,GAGnB,EAAE,EAAE,CAAC,CACJ,eACE,IAAI,EAAC,QAAQ,eACH,QAAQ,EAClB,SAAS,EAAC,8DAA8D,aAExE,eACE,SAAS,EAAC,yGAAyG,iBACvG,MAAM,GAClB,EACF,YAAG,SAAS,EAAC,+BAA+B,YAAE,KAAK,GAAK,IACpD,CACP,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAiC,EAAE,EAAE,CAAC,CAC7E,cAAK,SAAS,EAAC,6CAA6C,YAAE,QAAQ,GAAO,CAC9E,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAiC,EAAE,EAAE,CAAC,CAC7E,cAAK,SAAS,EAAC,6CAA6C,YAAE,QAAQ,GAAO,CAC9E,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Children of {@link SmartPage} bucketed by their `SMART_PAGE_SLOT` tag. Built
|
|
4
|
+
* once by `collectSlots` in `smart-page.tsx` and handed to the layout renderers,
|
|
5
|
+
* which are the only readers — so the shape lives here, shared between them.
|
|
6
|
+
*/
|
|
7
|
+
export interface SlotBuckets {
|
|
8
|
+
header: React.ReactNode[];
|
|
9
|
+
hero: React.ReactNode[];
|
|
10
|
+
toolbar: React.ReactNode[];
|
|
11
|
+
search: React.ReactNode[];
|
|
12
|
+
filters: React.ReactNode[];
|
|
13
|
+
tabs: React.ReactNode[];
|
|
14
|
+
content: React.ReactNode[];
|
|
15
|
+
sidebar: React.ReactNode[];
|
|
16
|
+
gridArea: React.ReactNode[];
|
|
17
|
+
statusBar: React.ReactNode[];
|
|
18
|
+
footer: React.ReactNode[];
|
|
19
|
+
body: React.ReactNode[];
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=slot-buckets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-buckets.d.ts","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/slot-buckets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACzB,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACzB,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC1B,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC3B,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACzB,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-buckets.js","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/slot-buckets.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PageContextValue, ScrollMode } from "../page-context";
|
|
2
|
+
import type { SlotBuckets } from "./slot-buckets";
|
|
3
|
+
/**
|
|
4
|
+
* The `split` preset: an optional full-width header above a horizontal split of
|
|
5
|
+
* a flexible main column (toolbar / search / filters / tabs / content) and a
|
|
6
|
+
* fixed-width sidebar on the right, with status bar and footer below.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SplitLayout: ({ buckets: b, scroll, ctx, }: {
|
|
9
|
+
buckets: SlotBuckets;
|
|
10
|
+
scroll: ScrollMode;
|
|
11
|
+
ctx: PageContextValue;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=split-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-layout.d.ts","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/split-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,8BAIzB;IACD,OAAO,EAAE,WAAW,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,GAAG,EAAE,gBAAgB,CAAA;CACtB,4CAgCA,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@iamsaroj/smart-ui/lib/utils";
|
|
4
|
+
/**
|
|
5
|
+
* The `split` preset: an optional full-width header above a horizontal split of
|
|
6
|
+
* a flexible main column (toolbar / search / filters / tabs / content) and a
|
|
7
|
+
* fixed-width sidebar on the right, with status bar and footer below.
|
|
8
|
+
*/
|
|
9
|
+
export const SplitLayout = ({ buckets: b, scroll, ctx, }) => {
|
|
10
|
+
const mainContent = b.content.length > 0 ? b.content : b.body;
|
|
11
|
+
const mainClasses = cn("min-w-0 flex-1", scroll === "content" && "min-h-0 overflow-y-auto");
|
|
12
|
+
return (_jsxs(_Fragment, { children: [b.header.length > 0 && (_jsx("div", { className: cn(ctx.stickyHeader && scroll !== "page" && "shrink-0"), children: b.header })), _jsxs("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: [_jsxs("div", { className: mainClasses, children: [b.toolbar, b.search, b.filters, b.tabs, mainContent] }), b.sidebar.length > 0 && (_jsx("div", { className: "shrink-0 overflow-y-auto border-l", children: b.sidebar }))] }), b.statusBar, b.footer] }));
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=split-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-layout.js","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/split-layout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,EAAE,EAAE,MAAM,8BAA8B,CAAA;AAIjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,OAAO,EAAE,CAAC,EACV,MAAM,EACN,GAAG,GAKJ,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAC7D,MAAM,WAAW,GAAG,EAAE,CACpB,gBAAgB,EAChB,MAAM,KAAK,SAAS,IAAI,yBAAyB,CAClD,CAAA;IAED,OAAO,CACL,8BACG,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,CACtB,cACE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,IAAI,MAAM,KAAK,MAAM,IAAI,UAAU,CAAC,YAEjE,CAAC,CAAC,MAAM,GACL,CACP,EACD,eAAK,SAAS,EAAC,qCAAqC,aAClD,eAAK,SAAS,EAAE,WAAW,aACxB,CAAC,CAAC,OAAO,EACT,CAAC,CAAC,MAAM,EACR,CAAC,CAAC,OAAO,EACT,CAAC,CAAC,IAAI,EACN,WAAW,IACR,EACL,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CACvB,cAAK,SAAS,EAAC,mCAAmC,YAAE,CAAC,CAAC,OAAO,GAAO,CACrE,IACG,EACL,CAAC,CAAC,SAAS,EACX,CAAC,CAAC,MAAM,IACR,CACJ,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { PageContextValue, ScrollMode } from "../page-context";
|
|
2
|
+
import type { SlotBuckets } from "./slot-buckets";
|
|
3
|
+
/**
|
|
4
|
+
* The default vertical layout, used for the `document`, `dashboard`, and `grid`
|
|
5
|
+
* presets: optional sticky header/toolbar/search/filter band on top, a single
|
|
6
|
+
* flexible main region (grid area → content → loose body, in priority order),
|
|
7
|
+
* and a sticky-or-flowing status-bar/footer band on the bottom.
|
|
8
|
+
*
|
|
9
|
+
* Sticky positioning only applies in `page` scroll mode — in contained modes
|
|
10
|
+
* (`content` / `grid`) the bands sit outside the scroll container and are
|
|
11
|
+
* naturally pinned by flexbox, so pinning them again would double up.
|
|
12
|
+
*/
|
|
13
|
+
export declare const StandardLayout: ({ buckets: b, scroll, ctx, }: {
|
|
14
|
+
buckets: SlotBuckets;
|
|
15
|
+
scroll: ScrollMode;
|
|
16
|
+
ctx: PageContextValue;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=standard-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standard-layout.d.ts","sourceRoot":"","sources":["../../../../src/smart-components/page/layouts/standard-layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GAAI,8BAI5B;IACD,OAAO,EAAE,WAAW,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,GAAG,EAAE,gBAAgB,CAAA;CACtB,4CAkEA,CAAA"}
|