@lattice-php/lattice 0.1.0 → 0.3.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/README.md +3 -1
- package/dist/action/components/action-form.d.ts +24 -0
- package/dist/action/components/action-form.js +238 -0
- package/dist/action/components/action-form.js.map +1 -0
- package/dist/action/components/action-group.d.ts +1 -8
- package/dist/action/components/action-group.js +34 -64
- package/dist/action/components/action-group.js.map +1 -1
- package/dist/action/components/action-menu-context.d.ts +6 -0
- package/dist/action/components/action-menu-context.js +18 -0
- package/dist/action/components/action-menu-context.js.map +1 -0
- package/dist/action/components/action.d.ts +1 -24
- package/dist/action/components/action.js +73 -51
- package/dist/action/components/action.js.map +1 -1
- package/dist/action/index.d.ts +1 -1
- package/dist/action/index.js.map +1 -1
- package/dist/appearance/index.js +7 -2
- package/dist/appearance/index.js.map +1 -1
- package/dist/chat/components/chat-box.d.ts +3 -0
- package/dist/chat/components/chat-box.js +53 -0
- package/dist/chat/components/chat-box.js.map +1 -0
- package/dist/chat/components/message-list.d.ts +5 -0
- package/dist/chat/components/message-list.js +22 -0
- package/dist/chat/components/message-list.js.map +1 -0
- package/dist/chat/components/message.d.ts +5 -0
- package/dist/chat/components/message.js +20 -0
- package/dist/chat/components/message.js.map +1 -0
- package/dist/chat/components/prompt-input.d.ts +8 -0
- package/dist/chat/components/prompt-input.js +49 -0
- package/dist/chat/components/prompt-input.js.map +1 -0
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/index.js +15 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/parts/text.d.ts +3 -0
- package/dist/chat/parts/text.js +12 -0
- package/dist/chat/parts/text.js.map +1 -0
- package/dist/chat/parts/tool-call.d.ts +3 -0
- package/dist/chat/parts/tool-call.js +20 -0
- package/dist/chat/parts/tool-call.js.map +1 -0
- package/dist/chat/transport.d.ts +2 -0
- package/dist/chat/transport.js +47 -0
- package/dist/chat/transport.js.map +1 -0
- package/dist/chat/types.d.ts +39 -0
- package/dist/chat/use-chat.d.ts +15 -0
- package/dist/chat/use-chat.js +161 -0
- package/dist/chat/use-chat.js.map +1 -0
- package/dist/core/api.d.ts +18 -0
- package/dist/core/api.js +51 -0
- package/dist/core/api.js.map +1 -0
- package/dist/core/collapsed-context.d.ts +2 -0
- package/dist/core/collapsed-context.js +10 -0
- package/dist/core/collapsed-context.js.map +1 -0
- package/dist/core/column-sizing.d.ts +17 -0
- package/dist/core/column-sizing.js +61 -0
- package/dist/core/column-sizing.js.map +1 -0
- package/dist/core/components/badge.d.ts +1 -8
- package/dist/core/components/badge.js +2 -3
- package/dist/core/components/badge.js.map +1 -1
- package/dist/core/components/button.d.ts +5 -13
- package/dist/core/components/button.js +10 -9
- package/dist/core/components/button.js.map +1 -1
- package/dist/core/components/card.d.ts +1 -9
- package/dist/core/components/card.js +1 -3
- package/dist/core/components/card.js.map +1 -1
- package/dist/core/components/chart.d.ts +3 -0
- package/dist/core/components/chart.js +175 -0
- package/dist/core/components/chart.js.map +1 -0
- package/dist/{form/components/base → core/components}/checkbox.js +7 -4
- package/dist/core/components/checkbox.js.map +1 -0
- package/dist/core/components/combobox.d.ts +33 -0
- package/dist/core/components/combobox.js +99 -0
- package/dist/core/components/combobox.js.map +1 -0
- package/dist/core/components/confirm-dialog.d.ts +2 -3
- package/dist/core/components/confirm-dialog.js +17 -17
- package/dist/core/components/confirm-dialog.js.map +1 -1
- package/dist/core/components/control.d.ts +13 -0
- package/dist/core/components/control.js +27 -0
- package/dist/core/components/control.js.map +1 -0
- package/dist/core/components/dialog.d.ts +19 -0
- package/dist/core/components/dialog.js +75 -0
- package/dist/core/components/dialog.js.map +1 -0
- package/dist/core/components/dropdown-menu.d.ts +14 -0
- package/dist/core/components/dropdown-menu.js +42 -0
- package/dist/core/components/dropdown-menu.js.map +1 -0
- package/dist/core/components/floating-panel.d.ts +3 -0
- package/dist/core/components/floating-panel.js +65 -0
- package/dist/core/components/floating-panel.js.map +1 -0
- package/dist/core/components/fragment.d.ts +1 -10
- package/dist/core/components/fragment.js +29 -18
- package/dist/core/components/fragment.js.map +1 -1
- package/dist/core/components/grid.d.ts +1 -8
- package/dist/core/components/grid.js +1 -2
- package/dist/core/components/grid.js.map +1 -1
- package/dist/core/components/heading.d.ts +1 -9
- package/dist/core/components/heading.js +2 -3
- package/dist/core/components/heading.js.map +1 -1
- package/dist/core/components/icon.d.ts +3 -0
- package/dist/core/components/icon.js +31 -0
- package/dist/core/components/icon.js.map +1 -0
- package/dist/core/components/index.d.ts +1 -1
- package/dist/core/components/index.js +12 -1
- package/dist/core/components/index.js.map +1 -1
- package/dist/core/components/info-tooltip.d.ts +3 -0
- package/dist/core/components/info-tooltip.js +26 -0
- package/dist/core/components/info-tooltip.js.map +1 -0
- package/dist/core/components/link.d.ts +1 -12
- package/dist/core/components/link.js +12 -11
- package/dist/core/components/link.js.map +1 -1
- package/dist/core/components/modal.d.ts +1 -11
- package/dist/core/components/modal.js +16 -42
- package/dist/core/components/modal.js.map +1 -1
- package/dist/core/components/popover.d.ts +8 -0
- package/dist/core/components/popover.js +37 -0
- package/dist/core/components/popover.js.map +1 -0
- package/dist/core/components/raw-block.d.ts +3 -0
- package/dist/core/components/raw-block.js +10 -0
- package/dist/core/components/raw-block.js.map +1 -0
- package/dist/core/components/section.d.ts +3 -0
- package/dist/core/components/section.js +75 -0
- package/dist/core/components/section.js.map +1 -0
- package/dist/core/components/segmented-control.d.ts +1 -14
- package/dist/core/components/segmented-control.js +4 -7
- package/dist/core/components/segmented-control.js.map +1 -1
- package/dist/core/components/segmented-pills.d.ts +4 -2
- package/dist/core/components/segmented-pills.js +10 -1
- package/dist/core/components/segmented-pills.js.map +1 -1
- package/dist/core/components/skeleton.d.ts +3 -0
- package/dist/core/components/skeleton.js +16 -0
- package/dist/core/components/skeleton.js.map +1 -0
- package/dist/core/components/spinner.js +8 -4
- package/dist/core/components/spinner.js.map +1 -1
- package/dist/core/components/stack.d.ts +1 -11
- package/dist/core/components/stack.js +24 -13
- package/dist/core/components/stack.js.map +1 -1
- package/dist/core/components/tabs.d.ts +1 -19
- package/dist/core/components/tabs.js +45 -21
- package/dist/core/components/tabs.js.map +1 -1
- package/dist/core/components/text.d.ts +1 -9
- package/dist/core/components/text.js +18 -3
- package/dist/core/components/text.js.map +1 -1
- package/dist/core/headers.d.ts +1 -0
- package/dist/core/headers.js +14 -0
- package/dist/core/headers.js.map +1 -0
- package/dist/core/registry-context.d.ts +21 -0
- package/dist/core/registry-context.js +40 -0
- package/dist/core/registry-context.js.map +1 -0
- package/dist/core/registry.d.ts +12 -3
- package/dist/core/registry.js +30 -5
- package/dist/core/registry.js.map +1 -1
- package/dist/core/renderer.d.ts +8 -14
- package/dist/core/renderer.js +20 -36
- package/dist/core/renderer.js.map +1 -1
- package/dist/core/test-id.d.ts +8 -0
- package/dist/core/test-id.js +21 -0
- package/dist/core/test-id.js.map +1 -0
- package/dist/core/types.d.ts +68 -26
- package/dist/core/use-column-resizing.d.ts +27 -0
- package/dist/core/use-column-resizing.js +228 -0
- package/dist/core/use-column-resizing.js.map +1 -0
- package/dist/effects/dispatch.d.ts +20 -0
- package/dist/effects/dispatch.js +39 -0
- package/dist/effects/dispatch.js.map +1 -0
- package/dist/effects/registry.d.ts +38 -0
- package/dist/effects/registry.js +51 -0
- package/dist/effects/registry.js.map +1 -0
- package/dist/effects/use-effect-dispatcher.d.ts +8 -0
- package/dist/effects/use-effect-dispatcher.js +20 -0
- package/dist/effects/use-effect-dispatcher.js.map +1 -0
- package/dist/effects/use-flash-effects.d.ts +5 -0
- package/dist/effects/use-flash-effects.js +22 -0
- package/dist/effects/use-flash-effects.js.map +1 -0
- package/dist/events/event-bridge.d.ts +3 -7
- package/dist/events/event-bridge.js +17 -47
- package/dist/events/event-bridge.js.map +1 -1
- package/dist/events/event-names.d.ts +3 -1
- package/dist/events/event-names.js +3 -1
- package/dist/events/event-names.js.map +1 -1
- package/dist/form/components/base/field.d.ts +3 -1
- package/dist/form/components/base/field.js +21 -2
- package/dist/form/components/base/field.js.map +1 -1
- package/dist/form/components/base/input-error.js +1 -1
- package/dist/form/components/base/input-error.js.map +1 -1
- package/dist/form/components/base/input.js +2 -1
- package/dist/form/components/base/input.js.map +1 -1
- package/dist/form/components/base/label.js.map +1 -1
- package/dist/form/components/base/password-input.js +9 -2
- package/dist/form/components/base/password-input.js.map +1 -1
- package/dist/form/components/base/submit-button.d.ts +4 -4
- package/dist/form/components/base/submit-button.js +5 -3
- package/dist/form/components/base/submit-button.js.map +1 -1
- package/dist/form/components/base/textarea.js +2 -1
- package/dist/form/components/base/textarea.js.map +1 -1
- package/dist/form/components/conditions.d.ts +6 -9
- package/dist/form/components/conditions.js +10 -2
- package/dist/form/components/conditions.js.map +1 -1
- package/dist/form/components/context.d.ts +1 -4
- package/dist/form/components/context.js +2 -5
- package/dist/form/components/context.js.map +1 -1
- package/dist/form/components/field-props.d.ts +28 -0
- package/dist/form/components/field-props.js +15 -0
- package/dist/form/components/field-props.js.map +1 -0
- package/dist/form/components/field-scope.d.ts +21 -0
- package/dist/form/components/field-scope.js +54 -0
- package/dist/form/components/field-scope.js.map +1 -0
- package/dist/form/components/fields/block-add-menu.d.ts +9 -0
- package/dist/form/components/fields/block-add-menu.js +27 -0
- package/dist/form/components/fields/block-add-menu.js.map +1 -0
- package/dist/form/components/fields/builder.d.ts +2 -0
- package/dist/form/components/fields/builder.js +124 -0
- package/dist/form/components/fields/builder.js.map +1 -0
- package/dist/form/components/fields/checkbox.d.ts +2 -16
- package/dist/form/components/fields/checkbox.js +28 -30
- package/dist/form/components/fields/checkbox.js.map +1 -1
- package/dist/form/components/fields/choice.d.ts +2 -14
- package/dist/form/components/fields/choice.js +14 -20
- package/dist/form/components/fields/choice.js.map +1 -1
- package/dist/form/components/fields/date-input.d.ts +2 -20
- package/dist/form/components/fields/date-input.js +12 -16
- package/dist/form/components/fields/date-input.js.map +1 -1
- package/dist/form/components/fields/file-upload.d.ts +2 -0
- package/dist/form/components/fields/file-upload.js +250 -0
- package/dist/form/components/fields/file-upload.js.map +1 -0
- package/dist/form/components/fields/hidden-input.d.ts +2 -10
- package/dist/form/components/fields/hidden-input.js +11 -6
- package/dist/form/components/fields/hidden-input.js.map +1 -1
- package/dist/form/components/fields/number-input.d.ts +2 -23
- package/dist/form/components/fields/number-input.js +40 -41
- package/dist/form/components/fields/number-input.js.map +1 -1
- package/dist/form/components/fields/password-input.d.ts +2 -29
- package/dist/form/components/fields/password-input.js +41 -41
- package/dist/form/components/fields/password-input.js.map +1 -1
- package/dist/form/components/fields/repeater-rows.d.ts +12 -0
- package/dist/form/components/fields/repeater-rows.js +46 -0
- package/dist/form/components/fields/repeater-rows.js.map +1 -0
- package/dist/form/components/fields/repeater.d.ts +2 -0
- package/dist/form/components/fields/repeater.js +97 -0
- package/dist/form/components/fields/repeater.js.map +1 -0
- package/dist/form/components/fields/rich-editor.d.ts +2 -17
- package/dist/form/components/fields/rich-editor.js +90 -52
- package/dist/form/components/fields/rich-editor.js.map +1 -1
- package/dist/form/components/fields/row-action-menu.d.ts +17 -0
- package/dist/form/components/fields/row-action-menu.js +61 -0
- package/dist/form/components/fields/row-action-menu.js.map +1 -0
- package/dist/form/components/fields/row-actions.d.ts +10 -0
- package/dist/form/components/fields/row-actions.js +45 -0
- package/dist/form/components/fields/row-actions.js.map +1 -0
- package/dist/form/components/fields/row-item.d.ts +27 -0
- package/dist/form/components/fields/row-item.js +69 -0
- package/dist/form/components/fields/row-item.js.map +1 -0
- package/dist/form/components/fields/select.d.ts +2 -23
- package/dist/form/components/fields/select.js +97 -121
- package/dist/form/components/fields/select.js.map +1 -1
- package/dist/form/components/fields/simple-field.d.ts +9 -0
- package/dist/form/components/fields/simple-field.js +23 -0
- package/dist/form/components/fields/simple-field.js.map +1 -0
- package/dist/form/components/fields/table-rows.d.ts +32 -0
- package/dist/form/components/fields/table-rows.js +188 -0
- package/dist/form/components/fields/table-rows.js.map +1 -0
- package/dist/form/components/fields/text-input.d.ts +2 -21
- package/dist/form/components/fields/text-input.js +13 -17
- package/dist/form/components/fields/text-input.js.map +1 -1
- package/dist/form/components/fields/textarea.d.ts +2 -20
- package/dist/form/components/fields/textarea.js +12 -16
- package/dist/form/components/fields/textarea.js.map +1 -1
- package/dist/form/components/fields/use-flip-reorder.d.ts +6 -0
- package/dist/form/components/fields/use-flip-reorder.js +51 -0
- package/dist/form/components/fields/use-flip-reorder.js.map +1 -0
- package/dist/form/components/fields/use-row-collection.d.ts +11 -0
- package/dist/form/components/fields/use-row-collection.js +44 -0
- package/dist/form/components/fields/use-row-collection.js.map +1 -0
- package/dist/form/components/form-path.d.ts +5 -0
- package/dist/form/components/form-path.js +40 -0
- package/dist/form/components/form-path.js.map +1 -0
- package/dist/form/components/form-transport.d.ts +3 -4
- package/dist/form/components/form-transport.js +17 -18
- package/dist/form/components/form-transport.js.map +1 -1
- package/dist/form/components/form.d.ts +1 -20
- package/dist/form/components/form.js +47 -48
- package/dist/form/components/form.js.map +1 -1
- package/dist/form/components/index.d.ts +3 -1
- package/dist/form/components/index.js +4 -2
- package/dist/form/components/override-keys.d.ts +2 -0
- package/dist/form/components/override-keys.js +12 -0
- package/dist/form/components/override-keys.js.map +1 -0
- package/dist/form/components/prefill-context.d.ts +5 -0
- package/dist/form/components/prefill-context.js +11 -0
- package/dist/form/components/prefill-context.js.map +1 -0
- package/dist/form/components/prefill-targets.d.ts +17 -0
- package/dist/form/components/prefill-targets.js +73 -0
- package/dist/form/components/prefill-targets.js.map +1 -0
- package/dist/form/components/resolved-nodes.d.ts +1 -1
- package/dist/form/components/resolved-nodes.js +6 -3
- package/dist/form/components/resolved-nodes.js.map +1 -1
- package/dist/form/components/row-layout-context.d.ts +5 -0
- package/dist/form/components/row-layout-context.js +18 -0
- package/dist/form/components/row-layout-context.js.map +1 -0
- package/dist/form/components/types.d.ts +1 -0
- package/dist/form/components/use-controlled-field.d.ts +5 -9
- package/dist/form/components/use-controlled-field.js +17 -13
- package/dist/form/components/use-controlled-field.js.map +1 -1
- package/dist/form/components/use-dependent-field.d.ts +1 -1
- package/dist/form/components/use-dependent-field.js +14 -8
- package/dist/form/components/use-dependent-field.js.map +1 -1
- package/dist/form/components/use-field-commit.d.ts +4 -0
- package/dist/form/components/use-field-commit.js +21 -7
- package/dist/form/components/use-field-commit.js.map +1 -1
- package/dist/form/components/use-form-resolver.d.ts +7 -2
- package/dist/form/components/use-form-resolver.js +57 -17
- package/dist/form/components/use-form-resolver.js.map +1 -1
- package/dist/form/components/use-seed-default.d.ts +5 -0
- package/dist/form/components/use-seed-default.js +28 -0
- package/dist/form/components/use-seed-default.js.map +1 -0
- package/dist/form/components/values.js +20 -5
- package/dist/form/components/values.js.map +1 -1
- package/dist/form/index.d.ts +1 -1
- package/dist/form/index.js +13 -11
- package/dist/form/index.js.map +1 -1
- package/dist/form/skeleton.d.ts +1 -1
- package/dist/form/skeleton.js +5 -4
- package/dist/form/skeleton.js.map +1 -1
- package/dist/i18n/backend.d.ts +26 -0
- package/dist/i18n/backend.js +54 -0
- package/dist/i18n/backend.js.map +1 -0
- package/dist/i18n/config.d.ts +6 -0
- package/dist/i18n/config.js +36 -0
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/index.d.ts +9 -0
- package/dist/i18n/index.js +7 -0
- package/dist/i18n/instance.d.ts +27 -0
- package/dist/i18n/instance.js +95 -0
- package/dist/i18n/instance.js.map +1 -0
- package/dist/i18n/locale-reload.d.ts +3 -0
- package/dist/i18n/locale-reload.js +17 -0
- package/dist/i18n/locale-reload.js.map +1 -0
- package/dist/i18n/locale-switcher.d.ts +21 -0
- package/dist/i18n/locale-switcher.js +25 -0
- package/dist/i18n/locale-switcher.js.map +1 -0
- package/dist/i18n/locale.d.ts +9 -0
- package/dist/i18n/locale.js +93 -0
- package/dist/i18n/locale.js.map +1 -0
- package/dist/i18n/page-props.d.ts +3 -0
- package/dist/i18n/page-props.js +24 -0
- package/dist/i18n/page-props.js.map +1 -0
- package/dist/icons/icon-renderer.js +30 -5
- package/dist/icons/icon-renderer.js.map +1 -1
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -1
- package/dist/icons/sprite.d.ts +30 -0
- package/dist/icons/sprite.js +40 -0
- package/dist/icons/sprite.js.map +1 -0
- package/dist/index.d.ts +23 -9
- package/dist/index.js +22 -7
- package/dist/inertia.d.ts +3 -7
- package/dist/inertia.js +13 -10
- package/dist/inertia.js.map +1 -1
- package/dist/lattice.css +172 -15
- package/dist/layout/breadcrumbs.d.ts +3 -0
- package/dist/layout/breadcrumbs.js +34 -0
- package/dist/layout/breadcrumbs.js.map +1 -0
- package/dist/layout/callouts.d.ts +3 -0
- package/dist/layout/callouts.js +67 -0
- package/dist/layout/callouts.js.map +1 -0
- package/dist/layout/components.d.ts +1 -0
- package/dist/layout/components.js +25 -0
- package/dist/layout/components.js.map +1 -0
- package/dist/layout/context.d.ts +4 -0
- package/dist/layout/context.js +8 -0
- package/dist/layout/context.js.map +1 -0
- package/dist/layout/dropdown.d.ts +3 -0
- package/dist/layout/dropdown.js +23 -0
- package/dist/layout/dropdown.js.map +1 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.js +6 -0
- package/dist/layout/menu-item.d.ts +3 -0
- package/dist/layout/menu-item.js +101 -0
- package/dist/layout/menu-item.js.map +1 -0
- package/dist/layout/menu.d.ts +3 -0
- package/dist/layout/menu.js +13 -0
- package/dist/layout/menu.js.map +1 -0
- package/dist/layout/outlet.d.ts +6 -0
- package/dist/layout/outlet.js +14 -0
- package/dist/layout/outlet.js.map +1 -0
- package/dist/layout/popover.d.ts +17 -0
- package/dist/layout/popover.js +46 -0
- package/dist/layout/popover.js.map +1 -0
- package/dist/layout/schema-layout.d.ts +10 -0
- package/dist/layout/schema-layout.js +23 -0
- package/dist/layout/schema-layout.js.map +1 -0
- package/dist/layout/sidebar.d.ts +3 -0
- package/dist/layout/sidebar.js +48 -0
- package/dist/layout/sidebar.js.map +1 -0
- package/dist/lib/utils.d.ts +0 -2
- package/dist/lib/utils.js +1 -4
- package/dist/lib/utils.js.map +1 -1
- package/dist/page.d.ts +1 -1
- package/dist/page.js +4 -10
- package/dist/page.js.map +1 -1
- package/dist/provider.d.ts +7 -4
- package/dist/provider.js +15 -11
- package/dist/provider.js.map +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +3 -1
- package/dist/registry.js.map +1 -1
- package/dist/svg-sprite-client/index.d.ts +1 -0
- package/dist/svg-sprite-client/index.js +0 -0
- package/dist/svg-sprite-client.d.ts +1 -0
- package/dist/table/align.d.ts +4 -0
- package/dist/table/align.js +23 -0
- package/dist/table/align.js.map +1 -0
- package/dist/table/bulk.d.ts +6 -10
- package/dist/table/bulk.js +13 -35
- package/dist/table/bulk.js.map +1 -1
- package/dist/table/components/bulk-bar.js +40 -6
- package/dist/table/components/bulk-bar.js.map +1 -1
- package/dist/table/components/cells/badge-cell.d.ts +2 -0
- package/dist/table/components/cells/badge-cell.js +16 -0
- package/dist/table/components/cells/badge-cell.js.map +1 -0
- package/dist/table/components/cells/boolean-cell.d.ts +3 -0
- package/dist/table/components/cells/boolean-cell.js +23 -0
- package/dist/table/components/cells/boolean-cell.js.map +1 -0
- package/dist/table/components/cells/icon-cell.d.ts +2 -0
- package/dist/table/components/cells/icon-cell.js +21 -0
- package/dist/table/components/cells/icon-cell.js.map +1 -0
- package/dist/table/components/cells/image-cell.d.ts +2 -0
- package/dist/table/components/cells/image-cell.js +23 -0
- package/dist/table/components/cells/image-cell.js.map +1 -0
- package/dist/table/components/cells/money-cell.d.ts +2 -0
- package/dist/table/components/cells/money-cell.js +28 -0
- package/dist/table/components/cells/money-cell.js.map +1 -0
- package/dist/table/components/cells/number-cell.d.ts +2 -0
- package/dist/table/components/cells/number-cell.js +25 -0
- package/dist/table/components/cells/number-cell.js.map +1 -0
- package/dist/table/components/cells/numeric.d.ts +2 -0
- package/dist/table/components/cells/numeric.js +10 -0
- package/dist/table/components/cells/numeric.js.map +1 -0
- package/dist/table/components/cells/stack-cell.d.ts +3 -0
- package/dist/table/components/cells/stack-cell.js +17 -0
- package/dist/table/components/cells/stack-cell.js.map +1 -0
- package/dist/table/components/cells/text-cell.d.ts +2 -0
- package/dist/table/components/cells/text-cell.js +49 -0
- package/dist/table/components/cells/text-cell.js.map +1 -0
- package/dist/table/components/column-filter-control.d.ts +3 -1
- package/dist/table/components/column-filter-control.js +125 -100
- package/dist/table/components/column-filter-control.js.map +1 -1
- package/dist/table/components/column-header.d.ts +3 -1
- package/dist/table/components/column-header.js +28 -14
- package/dist/table/components/column-header.js.map +1 -1
- package/dist/table/components/filter-bar.d.ts +15 -0
- package/dist/table/components/filter-bar.js +81 -0
- package/dist/table/components/filter-bar.js.map +1 -0
- package/dist/table/components/filter-controls.d.ts +18 -0
- package/dist/table/components/filter-controls.js +256 -0
- package/dist/table/components/filter-controls.js.map +1 -0
- package/dist/table/components/filter-stack-bar.d.ts +2 -2
- package/dist/table/components/filter-stack-bar.js +10 -8
- package/dist/table/components/filter-stack-bar.js.map +1 -1
- package/dist/table/components/filter-value-input.d.ts +6 -3
- package/dist/table/components/filter-value-input.js +27 -17
- package/dist/table/components/filter-value-input.js.map +1 -1
- package/dist/table/components/pagination.d.ts +1 -1
- package/dist/table/components/pagination.js +20 -8
- package/dist/table/components/pagination.js.map +1 -1
- package/dist/table/components/sort-bar.d.ts +2 -2
- package/dist/table/components/sort-bar.js +12 -10
- package/dist/table/components/sort-bar.js.map +1 -1
- package/dist/table/components/table-action-node.d.ts +1 -1
- package/dist/table/components/table-action-node.js +1 -1
- package/dist/table/components/table-action-node.js.map +1 -1
- package/dist/table/components/table-cell.js +23 -52
- package/dist/table/components/table-cell.js.map +1 -1
- package/dist/table/components/table.d.ts +6 -2
- package/dist/table/components/table.js +198 -136
- package/dist/table/components/table.js.map +1 -1
- package/dist/table/filter-values.d.ts +13 -0
- package/dist/table/filter-values.js +30 -0
- package/dist/table/filter-values.js.map +1 -0
- package/dist/table/format.js +5 -3
- package/dist/table/format.js.map +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/index.js.map +1 -1
- package/dist/table/payload.d.ts +1 -1
- package/dist/table/payload.js +24 -3
- package/dist/table/payload.js.map +1 -1
- package/dist/table/query.d.ts +10 -2
- package/dist/table/query.js +64 -11
- package/dist/table/query.js.map +1 -1
- package/dist/table/registry.d.ts +19 -0
- package/dist/table/registry.js +14 -0
- package/dist/table/registry.js.map +1 -0
- package/dist/table/types.d.ts +43 -57
- package/dist/table/use-table.d.ts +9 -5
- package/dist/table/use-table.js +66 -27
- package/dist/table/use-table.js.map +1 -1
- package/dist/toast/callout.d.ts +6 -0
- package/dist/toast/callout.js +31 -0
- package/dist/toast/callout.js.map +1 -0
- package/dist/toast/index.d.ts +5 -0
- package/dist/toast/index.js +4 -0
- package/dist/toast/toast.d.ts +14 -0
- package/dist/toast/toast.js +51 -0
- package/dist/toast/toast.js.map +1 -0
- package/dist/toast/toaster.d.ts +3 -0
- package/dist/toast/toaster.js +62 -0
- package/dist/toast/toaster.js.map +1 -0
- package/dist/toast/variant-styles.d.ts +6 -0
- package/dist/toast/variant-styles.js +37 -0
- package/dist/toast/variant-styles.js.map +1 -0
- package/dist/types/generated.d.ts +1037 -0
- package/dist/types/generated.js +0 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/vite-env.d.ts +1 -0
- package/dist/vite.d.ts +25 -0
- package/dist/vite.js +72 -0
- package/dist/vite.js.map +1 -0
- package/package.json +125 -12
- package/resources/icons/align-center.svg +17 -0
- package/resources/icons/align-justify.svg +17 -0
- package/resources/icons/align-left.svg +17 -0
- package/resources/icons/align-right.svg +17 -0
- package/resources/icons/arrow-down.svg +16 -0
- package/resources/icons/arrow-up.svg +16 -0
- package/resources/icons/bold.svg +15 -0
- package/resources/icons/check.svg +15 -0
- package/resources/icons/chevron-down.svg +15 -0
- package/resources/icons/chevron-right.svg +15 -0
- package/resources/icons/chevrons-up-down.svg +16 -0
- package/resources/icons/circle-alert.svg +17 -0
- package/resources/icons/circle-check.svg +16 -0
- package/resources/icons/circle-help.svg +17 -0
- package/resources/icons/circle-x.svg +17 -0
- package/resources/icons/code.svg +16 -0
- package/resources/icons/columns-3.svg +17 -0
- package/resources/icons/copy.svg +16 -0
- package/resources/icons/external-link.svg +17 -0
- package/resources/icons/eye-off.svg +18 -0
- package/resources/icons/eye.svg +16 -0
- package/resources/icons/filter.svg +15 -0
- package/resources/icons/heading-1.svg +18 -0
- package/resources/icons/heading-2.svg +18 -0
- package/resources/icons/heading-3.svg +19 -0
- package/resources/icons/highlighter.svg +16 -0
- package/resources/icons/info.svg +17 -0
- package/resources/icons/italic.svg +17 -0
- package/resources/icons/layout-dashboard.svg +18 -0
- package/resources/icons/link.svg +16 -0
- package/resources/icons/list-ordered.svg +20 -0
- package/resources/icons/list.svg +20 -0
- package/resources/icons/loader-2.svg +15 -0
- package/resources/icons/minus.svg +15 -0
- package/resources/icons/more-horizontal.svg +17 -0
- package/resources/icons/panel-left.svg +16 -0
- package/resources/icons/pencil-line.svg +17 -0
- package/resources/icons/pencil.svg +16 -0
- package/resources/icons/plus.svg +16 -0
- package/resources/icons/quote.svg +16 -0
- package/resources/icons/rotate-ccw.svg +16 -0
- package/resources/icons/rows-3.svg +17 -0
- package/resources/icons/search.svg +16 -0
- package/resources/icons/send.svg +16 -0
- package/resources/icons/settings.svg +16 -0
- package/resources/icons/smile.svg +18 -0
- package/resources/icons/strikethrough.svg +17 -0
- package/resources/icons/table.svg +18 -0
- package/resources/icons/trash-2.svg +19 -0
- package/resources/icons/underline.svg +16 -0
- package/resources/icons/x.svg +16 -0
- package/dist/action/effects.d.ts +0 -30
- package/dist/action/effects.js +0 -44
- package/dist/action/effects.js.map +0 -1
- package/dist/core/props.d.ts +0 -14
- package/dist/core/props.js +0 -30
- package/dist/core/props.js.map +0 -1
- package/dist/form/components/base/checkbox.js.map +0 -1
- package/dist/form/components/fields/submit-button.d.ts +0 -10
- package/dist/form/components/fields/submit-button.js +0 -14
- package/dist/form/components/fields/submit-button.js.map +0 -1
- package/dist/generated/types.d.ts +0 -17
- package/dist/icons/default-icons.d.ts +0 -3
- package/dist/icons/default-icons.js +0 -44
- package/dist/icons/default-icons.js.map +0 -1
- package/dist/icons/dynamic-lucide-renderer.d.ts +0 -2
- package/dist/icons/dynamic-lucide-renderer.js +0 -18
- package/dist/icons/dynamic-lucide-renderer.js.map +0 -1
- package/dist/menu/index.d.ts +0 -1
- package/dist/menu/index.js +0 -2
- package/dist/menu/use-menu.d.ts +0 -2
- package/dist/menu/use-menu.js +0 -9
- package/dist/menu/use-menu.js.map +0 -1
- /package/dist/{generated → chat}/types.js +0 -0
- /package/dist/{form/components/base → core/components}/checkbox.d.ts +0 -0
|
@@ -0,0 +1,1037 @@
|
|
|
1
|
+
export type Action = {
|
|
2
|
+
confirmation: Confirmation | null;
|
|
3
|
+
effects: Effect[];
|
|
4
|
+
endpoint: string | null;
|
|
5
|
+
form: Node | null;
|
|
6
|
+
icon: string | null;
|
|
7
|
+
label: string | null;
|
|
8
|
+
lazyForm: boolean | null;
|
|
9
|
+
method: HttpMethod | null;
|
|
10
|
+
ref: string | null;
|
|
11
|
+
variant: ButtonVariant | null;
|
|
12
|
+
};
|
|
13
|
+
export type ActionGroup = {
|
|
14
|
+
label: string;
|
|
15
|
+
orientation: Orientation | null;
|
|
16
|
+
ref: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type ActionNode = {
|
|
19
|
+
type: "action";
|
|
20
|
+
key?: string;
|
|
21
|
+
id?: string;
|
|
22
|
+
props: Action;
|
|
23
|
+
} | {
|
|
24
|
+
type: "action.group";
|
|
25
|
+
key?: string;
|
|
26
|
+
id?: string;
|
|
27
|
+
props: ActionGroup;
|
|
28
|
+
schema?: Node[];
|
|
29
|
+
} | {
|
|
30
|
+
type: "bulkAction";
|
|
31
|
+
key?: string;
|
|
32
|
+
id?: string;
|
|
33
|
+
props: BulkAction;
|
|
34
|
+
};
|
|
35
|
+
export type ActionResult = {
|
|
36
|
+
readonly ok: boolean;
|
|
37
|
+
readonly data: Record<string, unknown>;
|
|
38
|
+
readonly effects: Effect[];
|
|
39
|
+
};
|
|
40
|
+
export type Align = "center" | "left" | "start" | "stretch";
|
|
41
|
+
export type Badge = {
|
|
42
|
+
label: string;
|
|
43
|
+
};
|
|
44
|
+
export type BadgeColumn = {
|
|
45
|
+
colors: Record<string | number, string> | null;
|
|
46
|
+
};
|
|
47
|
+
export type BooleanColumn = Record<string, never>;
|
|
48
|
+
export type Breadcrumbs = Record<string, never>;
|
|
49
|
+
export type Builder = {
|
|
50
|
+
addLabel: string | null;
|
|
51
|
+
columnWidth: ColumnWidth;
|
|
52
|
+
conditions: {
|
|
53
|
+
visible?: Condition[];
|
|
54
|
+
required?: Condition[];
|
|
55
|
+
readOnly?: Condition[];
|
|
56
|
+
disabled?: Condition[];
|
|
57
|
+
} | null;
|
|
58
|
+
defaultItems: number;
|
|
59
|
+
dependsOnAny: boolean;
|
|
60
|
+
dependsOnKeys: string[] | null;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
editablePrefill: boolean;
|
|
63
|
+
helperText: string | null;
|
|
64
|
+
hidden: boolean;
|
|
65
|
+
label: string | null;
|
|
66
|
+
layout: RowLayout;
|
|
67
|
+
maxItems: number | null;
|
|
68
|
+
minItems: number | null;
|
|
69
|
+
name: string;
|
|
70
|
+
prefillRefreshOn: string[] | null;
|
|
71
|
+
prefillResetOn: string[] | null;
|
|
72
|
+
readOnly: boolean;
|
|
73
|
+
reorderable: boolean;
|
|
74
|
+
required: boolean;
|
|
75
|
+
resizableColumns: boolean;
|
|
76
|
+
resizeIndicator: boolean;
|
|
77
|
+
rowActions: RowAction[] | null;
|
|
78
|
+
tooltip: string | null;
|
|
79
|
+
value: unknown;
|
|
80
|
+
};
|
|
81
|
+
export type BulkAction = {
|
|
82
|
+
confirmation: Confirmation | null;
|
|
83
|
+
effects: Effect[];
|
|
84
|
+
endpoint: string | null;
|
|
85
|
+
form: Node | null;
|
|
86
|
+
icon: string | null;
|
|
87
|
+
label: string | null;
|
|
88
|
+
lazyForm: boolean | null;
|
|
89
|
+
method: HttpMethod | null;
|
|
90
|
+
ref: string | null;
|
|
91
|
+
variant: ButtonVariant | null;
|
|
92
|
+
};
|
|
93
|
+
export type Button = {
|
|
94
|
+
buttonType: ButtonType;
|
|
95
|
+
href: string | null;
|
|
96
|
+
label: string;
|
|
97
|
+
variant: ButtonVariant | null;
|
|
98
|
+
};
|
|
99
|
+
export type ButtonType = "button" | "submit" | "reset";
|
|
100
|
+
export type ButtonVariant = "default" | "destructive" | "ghost" | "info" | "link" | "outline" | "secondary" | "success";
|
|
101
|
+
export type Callout = {
|
|
102
|
+
title: string | null;
|
|
103
|
+
dismissible: boolean;
|
|
104
|
+
action: Node | null;
|
|
105
|
+
variant: Variant;
|
|
106
|
+
message: string;
|
|
107
|
+
};
|
|
108
|
+
export type CalloutEffect = {
|
|
109
|
+
readonly callout: Callout;
|
|
110
|
+
};
|
|
111
|
+
export type Callouts = Record<string, never>;
|
|
112
|
+
export type Card = {
|
|
113
|
+
description: string | null;
|
|
114
|
+
title: string | null;
|
|
115
|
+
};
|
|
116
|
+
export type Chart = {
|
|
117
|
+
categoryKey: string | null;
|
|
118
|
+
data: Record<string, unknown>[];
|
|
119
|
+
description: string | null;
|
|
120
|
+
grid: boolean;
|
|
121
|
+
height: number;
|
|
122
|
+
legend: boolean;
|
|
123
|
+
series: ChartSeries[];
|
|
124
|
+
title: string | null;
|
|
125
|
+
tooltip: boolean;
|
|
126
|
+
xAxis: boolean;
|
|
127
|
+
yAxis: boolean;
|
|
128
|
+
};
|
|
129
|
+
export type ChartSeries = {
|
|
130
|
+
readonly type: ChartSeriesType;
|
|
131
|
+
readonly dataKey: string;
|
|
132
|
+
readonly name: string | null;
|
|
133
|
+
readonly color: string | null;
|
|
134
|
+
readonly stackId: string | null;
|
|
135
|
+
readonly nameKey: string | null;
|
|
136
|
+
};
|
|
137
|
+
export type ChartSeriesType = "area" | "bar" | "line" | "pie";
|
|
138
|
+
export type ChatBox = {
|
|
139
|
+
conversationId: string | null;
|
|
140
|
+
fill: boolean;
|
|
141
|
+
historyEndpoint: string | null;
|
|
142
|
+
placeholder: string | null;
|
|
143
|
+
streamEndpoint: string | null;
|
|
144
|
+
title: string | null;
|
|
145
|
+
};
|
|
146
|
+
export type ChatMessage = {
|
|
147
|
+
readonly id: string;
|
|
148
|
+
readonly role: ChatRole;
|
|
149
|
+
readonly parts: ChatNode[];
|
|
150
|
+
};
|
|
151
|
+
export type ChatNode = {
|
|
152
|
+
type: "chat.part.text";
|
|
153
|
+
key?: string;
|
|
154
|
+
props: TextPart;
|
|
155
|
+
} | {
|
|
156
|
+
type: "chat.part.tool-call";
|
|
157
|
+
key?: string;
|
|
158
|
+
props: ToolCallPart;
|
|
159
|
+
};
|
|
160
|
+
export type ChatRole = "user" | "assistant" | "system";
|
|
161
|
+
export type Checkbox = {
|
|
162
|
+
autoFocus: boolean;
|
|
163
|
+
columnWidth: ColumnWidth;
|
|
164
|
+
conditions: {
|
|
165
|
+
visible?: Condition[];
|
|
166
|
+
required?: Condition[];
|
|
167
|
+
readOnly?: Condition[];
|
|
168
|
+
disabled?: Condition[];
|
|
169
|
+
} | null;
|
|
170
|
+
dependsOnAny: boolean;
|
|
171
|
+
dependsOnKeys: string[] | null;
|
|
172
|
+
disabled: boolean;
|
|
173
|
+
editablePrefill: boolean;
|
|
174
|
+
helperText: string | null;
|
|
175
|
+
hidden: boolean;
|
|
176
|
+
label: string | null;
|
|
177
|
+
name: string;
|
|
178
|
+
prefillRefreshOn: string[] | null;
|
|
179
|
+
prefillResetOn: string[] | null;
|
|
180
|
+
readOnly: boolean;
|
|
181
|
+
required: boolean;
|
|
182
|
+
tabIndex: number | null;
|
|
183
|
+
tooltip: string | null;
|
|
184
|
+
value: unknown;
|
|
185
|
+
};
|
|
186
|
+
export type Choice = {
|
|
187
|
+
autoFocus: boolean;
|
|
188
|
+
columnWidth: ColumnWidth;
|
|
189
|
+
conditions: {
|
|
190
|
+
visible?: Condition[];
|
|
191
|
+
required?: Condition[];
|
|
192
|
+
readOnly?: Condition[];
|
|
193
|
+
disabled?: Condition[];
|
|
194
|
+
} | null;
|
|
195
|
+
dependsOnAny: boolean;
|
|
196
|
+
dependsOnKeys: string[] | null;
|
|
197
|
+
disabled: boolean;
|
|
198
|
+
editablePrefill: boolean;
|
|
199
|
+
helperText: string | null;
|
|
200
|
+
hidden: boolean;
|
|
201
|
+
label: string | null;
|
|
202
|
+
name: string;
|
|
203
|
+
options: Option[];
|
|
204
|
+
prefillRefreshOn: string[] | null;
|
|
205
|
+
prefillResetOn: string[] | null;
|
|
206
|
+
readOnly: boolean;
|
|
207
|
+
required: boolean;
|
|
208
|
+
tabIndex: number | null;
|
|
209
|
+
tooltip: string | null;
|
|
210
|
+
value: unknown;
|
|
211
|
+
};
|
|
212
|
+
export type CloseModalEffect = {
|
|
213
|
+
readonly modal: string | null;
|
|
214
|
+
};
|
|
215
|
+
export type Color = "default" | "muted" | "primary" | "success" | "info" | "warning" | "danger";
|
|
216
|
+
export type ColumnAlign = "start" | "center" | "end";
|
|
217
|
+
export type ColumnData = {
|
|
218
|
+
readonly key: string;
|
|
219
|
+
readonly label: string;
|
|
220
|
+
readonly type: ColumnType | string;
|
|
221
|
+
readonly width: ColumnWidth;
|
|
222
|
+
readonly align: ColumnAlign;
|
|
223
|
+
readonly sortable: boolean | null;
|
|
224
|
+
readonly filter: ColumnFilter | null;
|
|
225
|
+
readonly columns: ColumnData[] | null;
|
|
226
|
+
readonly props: Record<string, unknown> | null;
|
|
227
|
+
};
|
|
228
|
+
export type ColumnFilter = {
|
|
229
|
+
readonly enabled: boolean;
|
|
230
|
+
readonly type: FilterType;
|
|
231
|
+
readonly operators: Op[];
|
|
232
|
+
readonly defaultOperator: Op;
|
|
233
|
+
readonly control: FilterControl | null;
|
|
234
|
+
readonly options: Option[];
|
|
235
|
+
readonly multiple: boolean;
|
|
236
|
+
readonly searchable: boolean;
|
|
237
|
+
};
|
|
238
|
+
export type ColumnPropsMap = {
|
|
239
|
+
"column.badge": BadgeColumn;
|
|
240
|
+
"column.boolean": BooleanColumn;
|
|
241
|
+
"column.icon": IconColumn;
|
|
242
|
+
"column.image": ImageColumn;
|
|
243
|
+
"column.money": MoneyColumn;
|
|
244
|
+
"column.number": NumberColumn;
|
|
245
|
+
"column.text": TextColumn;
|
|
246
|
+
};
|
|
247
|
+
export type ColumnType = "column.text" | "column.boolean" | "column.number" | "column.money" | "column.stack" | "column.badge" | "column.icon" | "column.image";
|
|
248
|
+
export type ColumnWidth = "xs" | "sm" | "md" | "lg" | "xl";
|
|
249
|
+
export type Condition = {
|
|
250
|
+
readonly field: string;
|
|
251
|
+
readonly operator: Op;
|
|
252
|
+
readonly value: unknown;
|
|
253
|
+
};
|
|
254
|
+
export type Confirmation = {
|
|
255
|
+
readonly title: string;
|
|
256
|
+
readonly description: string | null;
|
|
257
|
+
readonly confirmLabel: string | null;
|
|
258
|
+
readonly cancelLabel: string | null;
|
|
259
|
+
};
|
|
260
|
+
export type CoreNode = {
|
|
261
|
+
type: "badge";
|
|
262
|
+
key?: string;
|
|
263
|
+
props: Badge;
|
|
264
|
+
} | {
|
|
265
|
+
type: "button";
|
|
266
|
+
key?: string;
|
|
267
|
+
props: Button;
|
|
268
|
+
} | {
|
|
269
|
+
type: "card";
|
|
270
|
+
key?: string;
|
|
271
|
+
props: Card;
|
|
272
|
+
schema?: Node[];
|
|
273
|
+
} | {
|
|
274
|
+
type: "chart";
|
|
275
|
+
key?: string;
|
|
276
|
+
props: Chart;
|
|
277
|
+
} | {
|
|
278
|
+
type: "chat.box";
|
|
279
|
+
key?: string;
|
|
280
|
+
props: ChatBox;
|
|
281
|
+
} | {
|
|
282
|
+
type: "floating-panel";
|
|
283
|
+
key?: string;
|
|
284
|
+
props: FloatingPanel;
|
|
285
|
+
schema?: Node[];
|
|
286
|
+
} | {
|
|
287
|
+
type: "grid";
|
|
288
|
+
key?: string;
|
|
289
|
+
props: Grid;
|
|
290
|
+
schema?: Node[];
|
|
291
|
+
} | {
|
|
292
|
+
type: "heading";
|
|
293
|
+
key?: string;
|
|
294
|
+
props: Heading;
|
|
295
|
+
} | {
|
|
296
|
+
type: "icon";
|
|
297
|
+
key?: string;
|
|
298
|
+
props: Icon;
|
|
299
|
+
} | {
|
|
300
|
+
type: "link";
|
|
301
|
+
key?: string;
|
|
302
|
+
props: Link;
|
|
303
|
+
} | {
|
|
304
|
+
type: "modal";
|
|
305
|
+
key?: string;
|
|
306
|
+
id?: string;
|
|
307
|
+
props: Modal;
|
|
308
|
+
schema?: Node[];
|
|
309
|
+
} | {
|
|
310
|
+
type: "raw-block";
|
|
311
|
+
key?: string;
|
|
312
|
+
props: RawBlock;
|
|
313
|
+
} | {
|
|
314
|
+
type: "section";
|
|
315
|
+
key?: string;
|
|
316
|
+
props: Section;
|
|
317
|
+
schema?: Node[];
|
|
318
|
+
} | {
|
|
319
|
+
type: "segmented-control";
|
|
320
|
+
key?: string;
|
|
321
|
+
props: SegmentedControl;
|
|
322
|
+
} | {
|
|
323
|
+
type: "stack";
|
|
324
|
+
key?: string;
|
|
325
|
+
props: Stack;
|
|
326
|
+
schema?: Node[];
|
|
327
|
+
} | {
|
|
328
|
+
type: "tab";
|
|
329
|
+
key?: string;
|
|
330
|
+
props: Tab;
|
|
331
|
+
schema?: Node[];
|
|
332
|
+
} | {
|
|
333
|
+
type: "tabs";
|
|
334
|
+
key?: string;
|
|
335
|
+
props: Tabs;
|
|
336
|
+
schema?: Node[];
|
|
337
|
+
} | {
|
|
338
|
+
type: "text";
|
|
339
|
+
key?: string;
|
|
340
|
+
props: Text;
|
|
341
|
+
};
|
|
342
|
+
export type DateInput = {
|
|
343
|
+
autoFocus: boolean;
|
|
344
|
+
columnWidth: ColumnWidth;
|
|
345
|
+
conditions: {
|
|
346
|
+
visible?: Condition[];
|
|
347
|
+
required?: Condition[];
|
|
348
|
+
readOnly?: Condition[];
|
|
349
|
+
disabled?: Condition[];
|
|
350
|
+
} | null;
|
|
351
|
+
dependsOnAny: boolean;
|
|
352
|
+
dependsOnKeys: string[] | null;
|
|
353
|
+
disabled: boolean;
|
|
354
|
+
editablePrefill: boolean;
|
|
355
|
+
helperText: string | null;
|
|
356
|
+
hidden: boolean;
|
|
357
|
+
label: string | null;
|
|
358
|
+
max: string | null;
|
|
359
|
+
min: string | null;
|
|
360
|
+
name: string;
|
|
361
|
+
prefillRefreshOn: string[] | null;
|
|
362
|
+
prefillResetOn: string[] | null;
|
|
363
|
+
readOnly: boolean;
|
|
364
|
+
required: boolean;
|
|
365
|
+
tabIndex: number | null;
|
|
366
|
+
tooltip: string | null;
|
|
367
|
+
value: unknown;
|
|
368
|
+
};
|
|
369
|
+
export type DownloadEffect = {
|
|
370
|
+
readonly url: string;
|
|
371
|
+
};
|
|
372
|
+
export type Dropdown = {
|
|
373
|
+
placement: Placement;
|
|
374
|
+
trigger: Node[];
|
|
375
|
+
};
|
|
376
|
+
export type Effect = ({
|
|
377
|
+
type: "callout";
|
|
378
|
+
} & CalloutEffect) | ({
|
|
379
|
+
type: "closeModal";
|
|
380
|
+
} & CloseModalEffect) | ({
|
|
381
|
+
type: "download";
|
|
382
|
+
} & DownloadEffect) | ({
|
|
383
|
+
type: "localeChange";
|
|
384
|
+
} & LocaleChangeEffect) | ({
|
|
385
|
+
type: "openModal";
|
|
386
|
+
} & OpenModalEffect) | ({
|
|
387
|
+
type: "redirect";
|
|
388
|
+
} & RedirectEffect) | ({
|
|
389
|
+
type: "reloadComponent";
|
|
390
|
+
} & ReloadComponentEffect) | ({
|
|
391
|
+
type: "reloadPage";
|
|
392
|
+
} & ReloadPageEffect) | ({
|
|
393
|
+
type: "resetForm";
|
|
394
|
+
} & ResetFormEffect) | ({
|
|
395
|
+
type: "toast";
|
|
396
|
+
} & ToastEffect);
|
|
397
|
+
export type EffectType = "toast" | "callout" | "reloadComponent" | "reloadPage" | "redirect" | "download" | "openModal" | "closeModal" | "resetForm" | "localeChange";
|
|
398
|
+
export type FieldType = "field.builder" | "field.checkbox" | "field.choice" | "field.date-input" | "field.file-upload" | "field.hidden-input" | "field.number-input" | "field.password-input" | "field.repeater" | "field.rich-editor" | "field.select" | "field.textarea" | "field.text-input";
|
|
399
|
+
export type FileUpload = {
|
|
400
|
+
accept: string | null;
|
|
401
|
+
columnWidth: ColumnWidth;
|
|
402
|
+
conditions: {
|
|
403
|
+
visible?: Condition[];
|
|
404
|
+
required?: Condition[];
|
|
405
|
+
readOnly?: Condition[];
|
|
406
|
+
disabled?: Condition[];
|
|
407
|
+
} | null;
|
|
408
|
+
dependsOnAny: boolean;
|
|
409
|
+
dependsOnKeys: string[] | null;
|
|
410
|
+
disabled: boolean;
|
|
411
|
+
editablePrefill: boolean;
|
|
412
|
+
files: {
|
|
413
|
+
key: string;
|
|
414
|
+
name: string;
|
|
415
|
+
url: string | null;
|
|
416
|
+
size: number | null;
|
|
417
|
+
token: string;
|
|
418
|
+
}[] | null;
|
|
419
|
+
helperText: string | null;
|
|
420
|
+
hidden: boolean;
|
|
421
|
+
image: boolean;
|
|
422
|
+
label: string | null;
|
|
423
|
+
maxFiles: number | null;
|
|
424
|
+
maxSize: number | null;
|
|
425
|
+
multiple: boolean;
|
|
426
|
+
name: string;
|
|
427
|
+
prefillRefreshOn: string[] | null;
|
|
428
|
+
prefillResetOn: string[] | null;
|
|
429
|
+
readOnly: boolean;
|
|
430
|
+
required: boolean;
|
|
431
|
+
signed: boolean;
|
|
432
|
+
tooltip: string | null;
|
|
433
|
+
value: unknown;
|
|
434
|
+
};
|
|
435
|
+
export type FilterClause = {
|
|
436
|
+
readonly field: string;
|
|
437
|
+
readonly operator: string;
|
|
438
|
+
readonly value: string;
|
|
439
|
+
};
|
|
440
|
+
export type FilterControl = "select" | "ternary" | "date-range" | "toggle";
|
|
441
|
+
export type FilterData = {
|
|
442
|
+
readonly key: string;
|
|
443
|
+
readonly label: string;
|
|
444
|
+
readonly type: FilterControl;
|
|
445
|
+
readonly props: Record<string, unknown>;
|
|
446
|
+
};
|
|
447
|
+
export type FilterType = "text" | "number" | "date" | "boolean";
|
|
448
|
+
export type FloatingPanel = {
|
|
449
|
+
label: string | null;
|
|
450
|
+
offset: number;
|
|
451
|
+
placement: FloatingPlacement;
|
|
452
|
+
trigger: Node[];
|
|
453
|
+
};
|
|
454
|
+
export type FloatingPlacement = "bottom-end" | "bottom-start" | "top-end" | "top-start";
|
|
455
|
+
export type Form = {
|
|
456
|
+
action: string | null;
|
|
457
|
+
errorBag: string | null;
|
|
458
|
+
method: HttpMethod | null;
|
|
459
|
+
precognitive: boolean;
|
|
460
|
+
ref: string | null;
|
|
461
|
+
resetOnError: string[] | boolean | null;
|
|
462
|
+
resetOnSuccess: string[] | boolean | null;
|
|
463
|
+
state: Record<string, unknown>;
|
|
464
|
+
status: string | null;
|
|
465
|
+
submitButton: boolean;
|
|
466
|
+
submitLabel: string | null;
|
|
467
|
+
validationSummaryLabel: string;
|
|
468
|
+
validationTimeout: number | null;
|
|
469
|
+
};
|
|
470
|
+
export type FormFieldNode = {
|
|
471
|
+
type: "field.builder";
|
|
472
|
+
key?: string;
|
|
473
|
+
props: Builder;
|
|
474
|
+
} | {
|
|
475
|
+
type: "field.checkbox";
|
|
476
|
+
key?: string;
|
|
477
|
+
props: Checkbox;
|
|
478
|
+
} | {
|
|
479
|
+
type: "field.choice";
|
|
480
|
+
key?: string;
|
|
481
|
+
props: Choice;
|
|
482
|
+
} | {
|
|
483
|
+
type: "field.date-input";
|
|
484
|
+
key?: string;
|
|
485
|
+
props: DateInput;
|
|
486
|
+
} | {
|
|
487
|
+
type: "field.file-upload";
|
|
488
|
+
key?: string;
|
|
489
|
+
props: FileUpload;
|
|
490
|
+
} | {
|
|
491
|
+
type: "field.hidden-input";
|
|
492
|
+
key?: string;
|
|
493
|
+
props: HiddenInput;
|
|
494
|
+
} | {
|
|
495
|
+
type: "field.number-input";
|
|
496
|
+
key?: string;
|
|
497
|
+
props: NumberInput;
|
|
498
|
+
} | {
|
|
499
|
+
type: "field.password-input";
|
|
500
|
+
key?: string;
|
|
501
|
+
props: PasswordInput;
|
|
502
|
+
} | {
|
|
503
|
+
type: "field.repeater";
|
|
504
|
+
key?: string;
|
|
505
|
+
props: Repeater;
|
|
506
|
+
} | {
|
|
507
|
+
type: "field.rich-editor";
|
|
508
|
+
key?: string;
|
|
509
|
+
props: RichEditor;
|
|
510
|
+
} | {
|
|
511
|
+
type: "field.select";
|
|
512
|
+
key?: string;
|
|
513
|
+
props: Select;
|
|
514
|
+
} | {
|
|
515
|
+
type: "field.text-input";
|
|
516
|
+
key?: string;
|
|
517
|
+
props: TextInput;
|
|
518
|
+
} | {
|
|
519
|
+
type: "field.textarea";
|
|
520
|
+
key?: string;
|
|
521
|
+
props: Textarea;
|
|
522
|
+
};
|
|
523
|
+
export type FormNode = FormFieldNode | {
|
|
524
|
+
type: "form";
|
|
525
|
+
key?: string;
|
|
526
|
+
id?: string;
|
|
527
|
+
props: Form;
|
|
528
|
+
schema?: Node[];
|
|
529
|
+
};
|
|
530
|
+
export type FormNodeType = FormNode["type"];
|
|
531
|
+
export type Fragment = {
|
|
532
|
+
endpoint: string | null;
|
|
533
|
+
lazy: boolean | null;
|
|
534
|
+
ref: string | null;
|
|
535
|
+
size: Size;
|
|
536
|
+
};
|
|
537
|
+
export type FragmentNode = {
|
|
538
|
+
type: "fragment";
|
|
539
|
+
key?: string;
|
|
540
|
+
id?: string;
|
|
541
|
+
props: Fragment;
|
|
542
|
+
schema?: Node[];
|
|
543
|
+
};
|
|
544
|
+
export type Gap = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
545
|
+
export type Grid = {
|
|
546
|
+
columns: number | null;
|
|
547
|
+
};
|
|
548
|
+
export type Heading = {
|
|
549
|
+
level: number;
|
|
550
|
+
text: string;
|
|
551
|
+
};
|
|
552
|
+
export type Height = "full" | "screen";
|
|
553
|
+
export type HiddenInput = {
|
|
554
|
+
columnWidth: ColumnWidth;
|
|
555
|
+
conditions: {
|
|
556
|
+
visible?: Condition[];
|
|
557
|
+
required?: Condition[];
|
|
558
|
+
readOnly?: Condition[];
|
|
559
|
+
disabled?: Condition[];
|
|
560
|
+
} | null;
|
|
561
|
+
dependsOnAny: boolean;
|
|
562
|
+
dependsOnKeys: string[] | null;
|
|
563
|
+
disabled: boolean;
|
|
564
|
+
editablePrefill: boolean;
|
|
565
|
+
helperText: string | null;
|
|
566
|
+
hidden: boolean;
|
|
567
|
+
label: string | null;
|
|
568
|
+
name: string;
|
|
569
|
+
prefillRefreshOn: string[] | null;
|
|
570
|
+
prefillResetOn: string[] | null;
|
|
571
|
+
readOnly: boolean;
|
|
572
|
+
required: boolean;
|
|
573
|
+
tooltip: string | null;
|
|
574
|
+
value: unknown;
|
|
575
|
+
};
|
|
576
|
+
export type HttpMethod = import('@inertiajs/core').Method;
|
|
577
|
+
export type I18nConfig = {
|
|
578
|
+
readonly enabled: boolean;
|
|
579
|
+
readonly saveMissing: boolean;
|
|
580
|
+
readonly locales: string[];
|
|
581
|
+
readonly preloadLocales: string[];
|
|
582
|
+
};
|
|
583
|
+
export type Icon = {
|
|
584
|
+
class: string | null;
|
|
585
|
+
color: Color | null;
|
|
586
|
+
name: string;
|
|
587
|
+
size: Size;
|
|
588
|
+
};
|
|
589
|
+
export type IconColumn = {
|
|
590
|
+
colors: Record<string | number, string> | null;
|
|
591
|
+
icon: string | null;
|
|
592
|
+
icons: Record<string | number, string> | null;
|
|
593
|
+
};
|
|
594
|
+
export type ImageColumn = {
|
|
595
|
+
circular: boolean;
|
|
596
|
+
size: number | null;
|
|
597
|
+
};
|
|
598
|
+
export type Justify = "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
599
|
+
export type LayoutNode = {
|
|
600
|
+
type: "breadcrumbs";
|
|
601
|
+
key?: string;
|
|
602
|
+
props: Breadcrumbs;
|
|
603
|
+
} | {
|
|
604
|
+
type: "callouts";
|
|
605
|
+
key?: string;
|
|
606
|
+
props: Callouts;
|
|
607
|
+
} | {
|
|
608
|
+
type: "dropdown";
|
|
609
|
+
key?: string;
|
|
610
|
+
props: Dropdown;
|
|
611
|
+
schema?: Node[];
|
|
612
|
+
} | {
|
|
613
|
+
type: "menu";
|
|
614
|
+
key?: string;
|
|
615
|
+
props: Menu;
|
|
616
|
+
schema?: Node[];
|
|
617
|
+
} | {
|
|
618
|
+
type: "menu-item";
|
|
619
|
+
key?: string;
|
|
620
|
+
props: MenuItem;
|
|
621
|
+
schema?: Node[];
|
|
622
|
+
} | {
|
|
623
|
+
type: "outlet";
|
|
624
|
+
key?: string;
|
|
625
|
+
props: Outlet;
|
|
626
|
+
} | {
|
|
627
|
+
type: "sidebar";
|
|
628
|
+
key?: string;
|
|
629
|
+
props: Sidebar;
|
|
630
|
+
schema?: Node[];
|
|
631
|
+
};
|
|
632
|
+
export type Link = {
|
|
633
|
+
href: string | null;
|
|
634
|
+
label: string;
|
|
635
|
+
method: HttpMethod | null;
|
|
636
|
+
tabIndex: number | null;
|
|
637
|
+
};
|
|
638
|
+
export type LocaleChangeEffect = {
|
|
639
|
+
readonly locale: string;
|
|
640
|
+
};
|
|
641
|
+
export type Menu = Record<string, never>;
|
|
642
|
+
export type MenuItem = {
|
|
643
|
+
href: string | null;
|
|
644
|
+
icon: string | null;
|
|
645
|
+
label: string;
|
|
646
|
+
method: HttpMethod | null;
|
|
647
|
+
};
|
|
648
|
+
export type Modal = {
|
|
649
|
+
closeLabel: string;
|
|
650
|
+
description: string | null;
|
|
651
|
+
open: boolean | null;
|
|
652
|
+
ref: string | null;
|
|
653
|
+
title: string | null;
|
|
654
|
+
};
|
|
655
|
+
export type MoneyColumn = {
|
|
656
|
+
currency: string | null;
|
|
657
|
+
currencyField: string | null;
|
|
658
|
+
maximumFractionDigits: number | null;
|
|
659
|
+
minimumFractionDigits: number | null;
|
|
660
|
+
};
|
|
661
|
+
export type Node = FormNode | CoreNode | ActionNode | FragmentNode | TableNode | LayoutNode | ChatNode;
|
|
662
|
+
export type NodeType = Node["type"];
|
|
663
|
+
export type NumberColumn = {
|
|
664
|
+
maximumFractionDigits: number | null;
|
|
665
|
+
minimumFractionDigits: number | null;
|
|
666
|
+
unit: NumberFormatUnit | null;
|
|
667
|
+
};
|
|
668
|
+
export type NumberFormatUnit = "percent" | "kilogram" | "gram" | "kilometer" | "meter" | "byte" | "kilobyte" | "megabyte" | "gigabyte" | "millisecond" | "second" | "minute" | "hour" | "celsius" | "fahrenheit";
|
|
669
|
+
export type NumberInput = {
|
|
670
|
+
autoFocus: boolean;
|
|
671
|
+
columnWidth: ColumnWidth;
|
|
672
|
+
conditions: {
|
|
673
|
+
visible?: Condition[];
|
|
674
|
+
required?: Condition[];
|
|
675
|
+
readOnly?: Condition[];
|
|
676
|
+
disabled?: Condition[];
|
|
677
|
+
} | null;
|
|
678
|
+
dependsOnAny: boolean;
|
|
679
|
+
dependsOnKeys: string[] | null;
|
|
680
|
+
disabled: boolean;
|
|
681
|
+
editablePrefill: boolean;
|
|
682
|
+
helperText: string | null;
|
|
683
|
+
hidden: boolean;
|
|
684
|
+
label: string | null;
|
|
685
|
+
max: number | null;
|
|
686
|
+
min: number | null;
|
|
687
|
+
name: string;
|
|
688
|
+
placeholder: string | null;
|
|
689
|
+
prefillRefreshOn: string[] | null;
|
|
690
|
+
prefillResetOn: string[] | null;
|
|
691
|
+
readOnly: boolean;
|
|
692
|
+
required: boolean;
|
|
693
|
+
slider: boolean;
|
|
694
|
+
step: number | null;
|
|
695
|
+
tabIndex: number | null;
|
|
696
|
+
tooltip: string | null;
|
|
697
|
+
value: unknown;
|
|
698
|
+
};
|
|
699
|
+
export type Op = "contains" | "starts_with" | "ends_with" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "not_in" | "before" | "after" | "empty" | "filled";
|
|
700
|
+
export type OpenModalEffect = {
|
|
701
|
+
readonly modal: string;
|
|
702
|
+
};
|
|
703
|
+
export type Option = {
|
|
704
|
+
readonly label: string;
|
|
705
|
+
readonly value: string;
|
|
706
|
+
};
|
|
707
|
+
export type Orientation = "horizontal" | "vertical";
|
|
708
|
+
export type Outlet = Record<string, never>;
|
|
709
|
+
export type PageContainer = "centered" | "default";
|
|
710
|
+
export type PageLayout = "app" | "auth" | "none";
|
|
711
|
+
export type PaginationType = "none" | "simple" | "table" | "infinite";
|
|
712
|
+
export type PasswordInput = {
|
|
713
|
+
autoComplete: string | null;
|
|
714
|
+
autoFocus: boolean;
|
|
715
|
+
columnWidth: ColumnWidth;
|
|
716
|
+
conditions: {
|
|
717
|
+
visible?: Condition[];
|
|
718
|
+
required?: Condition[];
|
|
719
|
+
readOnly?: Condition[];
|
|
720
|
+
disabled?: Condition[];
|
|
721
|
+
} | null;
|
|
722
|
+
confirmation: {
|
|
723
|
+
label: string;
|
|
724
|
+
name: string;
|
|
725
|
+
placeholder: string;
|
|
726
|
+
} | null;
|
|
727
|
+
dependsOnAny: boolean;
|
|
728
|
+
dependsOnKeys: string[] | null;
|
|
729
|
+
disabled: boolean;
|
|
730
|
+
editablePrefill: boolean;
|
|
731
|
+
helperText: string | null;
|
|
732
|
+
hidden: boolean;
|
|
733
|
+
label: string | null;
|
|
734
|
+
labelAction: {
|
|
735
|
+
href: string;
|
|
736
|
+
label: string;
|
|
737
|
+
tabIndex?: number;
|
|
738
|
+
} | null;
|
|
739
|
+
name: string;
|
|
740
|
+
passwordRules: string | null;
|
|
741
|
+
placeholder: string | null;
|
|
742
|
+
prefillRefreshOn: string[] | null;
|
|
743
|
+
prefillResetOn: string[] | null;
|
|
744
|
+
readOnly: boolean;
|
|
745
|
+
required: boolean;
|
|
746
|
+
tabIndex: number | null;
|
|
747
|
+
tooltip: string | null;
|
|
748
|
+
value: unknown;
|
|
749
|
+
};
|
|
750
|
+
export type Placement = "top" | "bottom" | "right";
|
|
751
|
+
export type RawBlock = {
|
|
752
|
+
html: string;
|
|
753
|
+
};
|
|
754
|
+
export type RedirectEffect = {
|
|
755
|
+
readonly url: string;
|
|
756
|
+
};
|
|
757
|
+
export type ReloadComponentEffect = {
|
|
758
|
+
readonly component: string;
|
|
759
|
+
};
|
|
760
|
+
export type ReloadPageEffect = object;
|
|
761
|
+
export type Repeater = {
|
|
762
|
+
addLabel: string | null;
|
|
763
|
+
columnWidth: ColumnWidth;
|
|
764
|
+
conditions: {
|
|
765
|
+
visible?: Condition[];
|
|
766
|
+
required?: Condition[];
|
|
767
|
+
readOnly?: Condition[];
|
|
768
|
+
disabled?: Condition[];
|
|
769
|
+
} | null;
|
|
770
|
+
defaultItems: number;
|
|
771
|
+
dependsOnAny: boolean;
|
|
772
|
+
dependsOnKeys: string[] | null;
|
|
773
|
+
disabled: boolean;
|
|
774
|
+
editablePrefill: boolean;
|
|
775
|
+
helperText: string | null;
|
|
776
|
+
hidden: boolean;
|
|
777
|
+
itemLabel: string | null;
|
|
778
|
+
label: string | null;
|
|
779
|
+
layout: RowLayout;
|
|
780
|
+
maxItems: number | null;
|
|
781
|
+
minItems: number | null;
|
|
782
|
+
name: string;
|
|
783
|
+
prefillRefreshOn: string[] | null;
|
|
784
|
+
prefillResetOn: string[] | null;
|
|
785
|
+
readOnly: boolean;
|
|
786
|
+
reorderable: boolean;
|
|
787
|
+
required: boolean;
|
|
788
|
+
resizableColumns: boolean;
|
|
789
|
+
resizeIndicator: boolean;
|
|
790
|
+
rowActions: RowAction[] | null;
|
|
791
|
+
tooltip: string | null;
|
|
792
|
+
value: unknown;
|
|
793
|
+
};
|
|
794
|
+
export type ResetFormEffect = {
|
|
795
|
+
readonly form: string | null;
|
|
796
|
+
};
|
|
797
|
+
export type RichEditor = {
|
|
798
|
+
columnWidth: ColumnWidth;
|
|
799
|
+
conditions: {
|
|
800
|
+
visible?: Condition[];
|
|
801
|
+
required?: Condition[];
|
|
802
|
+
readOnly?: Condition[];
|
|
803
|
+
disabled?: Condition[];
|
|
804
|
+
} | null;
|
|
805
|
+
dependsOnAny: boolean;
|
|
806
|
+
dependsOnKeys: string[] | null;
|
|
807
|
+
disabled: boolean;
|
|
808
|
+
editablePrefill: boolean;
|
|
809
|
+
helperText: string | null;
|
|
810
|
+
hidden: boolean;
|
|
811
|
+
label: string | null;
|
|
812
|
+
name: string;
|
|
813
|
+
placeholder: string | null;
|
|
814
|
+
prefillRefreshOn: string[] | null;
|
|
815
|
+
prefillResetOn: string[] | null;
|
|
816
|
+
readOnly: boolean;
|
|
817
|
+
required: boolean;
|
|
818
|
+
tooltip: string | null;
|
|
819
|
+
value: unknown;
|
|
820
|
+
};
|
|
821
|
+
export type RowAction = {
|
|
822
|
+
type: RowActionType;
|
|
823
|
+
key: string;
|
|
824
|
+
label: string | null;
|
|
825
|
+
icon: string | null;
|
|
826
|
+
destructive: boolean;
|
|
827
|
+
};
|
|
828
|
+
export type RowActionType = "duplicate" | "remove";
|
|
829
|
+
export type RowLayout = "stack" | "table";
|
|
830
|
+
export type Section = {
|
|
831
|
+
collapsed: boolean;
|
|
832
|
+
collapsible: boolean;
|
|
833
|
+
description: string | null;
|
|
834
|
+
headerActions: Node[];
|
|
835
|
+
rememberState: boolean;
|
|
836
|
+
title: string | null;
|
|
837
|
+
};
|
|
838
|
+
export type SegmentedControl = {
|
|
839
|
+
emits: string | null;
|
|
840
|
+
label: string | null;
|
|
841
|
+
name: string;
|
|
842
|
+
options: Option[];
|
|
843
|
+
value: string | null;
|
|
844
|
+
};
|
|
845
|
+
export type Select = {
|
|
846
|
+
autoFocus: boolean;
|
|
847
|
+
columnWidth: ColumnWidth;
|
|
848
|
+
conditions: {
|
|
849
|
+
visible?: Condition[];
|
|
850
|
+
required?: Condition[];
|
|
851
|
+
readOnly?: Condition[];
|
|
852
|
+
disabled?: Condition[];
|
|
853
|
+
} | null;
|
|
854
|
+
dependsOnAny: boolean;
|
|
855
|
+
dependsOnKeys: string[] | null;
|
|
856
|
+
disabled: boolean;
|
|
857
|
+
editablePrefill: boolean;
|
|
858
|
+
emptyLabel: string;
|
|
859
|
+
helperText: string | null;
|
|
860
|
+
hidden: boolean;
|
|
861
|
+
label: string | null;
|
|
862
|
+
multiple: boolean;
|
|
863
|
+
name: string;
|
|
864
|
+
options: Option[];
|
|
865
|
+
placeholder: string | null;
|
|
866
|
+
prefillRefreshOn: string[] | null;
|
|
867
|
+
prefillResetOn: string[] | null;
|
|
868
|
+
readOnly: boolean;
|
|
869
|
+
required: boolean;
|
|
870
|
+
searchPlaceholder: string;
|
|
871
|
+
searchable: boolean;
|
|
872
|
+
tabIndex: number | null;
|
|
873
|
+
tooltip: string | null;
|
|
874
|
+
value: unknown;
|
|
875
|
+
};
|
|
876
|
+
export type Sidebar = {
|
|
877
|
+
collapsible: boolean;
|
|
878
|
+
rememberState: boolean;
|
|
879
|
+
};
|
|
880
|
+
export type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
881
|
+
export type SortDirection = "asc" | "desc";
|
|
882
|
+
export type Stack = {
|
|
883
|
+
align: Align | null;
|
|
884
|
+
direction: string | null;
|
|
885
|
+
gap: Gap | null;
|
|
886
|
+
height: Height | null;
|
|
887
|
+
justify: Justify | null;
|
|
888
|
+
width: Width | null;
|
|
889
|
+
};
|
|
890
|
+
export type Tab = {
|
|
891
|
+
confirm: {
|
|
892
|
+
required: boolean;
|
|
893
|
+
redirectUrl: string;
|
|
894
|
+
timeout?: number;
|
|
895
|
+
} | null;
|
|
896
|
+
label: string;
|
|
897
|
+
value: string;
|
|
898
|
+
};
|
|
899
|
+
export type Table = {
|
|
900
|
+
actionsLabel: string;
|
|
901
|
+
bulkActions: Node[];
|
|
902
|
+
columns: ColumnData[];
|
|
903
|
+
emptyLabel: string;
|
|
904
|
+
endpoint: string | null;
|
|
905
|
+
filters: FilterData[];
|
|
906
|
+
layout: string | null;
|
|
907
|
+
lazy: boolean | null;
|
|
908
|
+
ref: string | null;
|
|
909
|
+
resizableColumns: boolean | null;
|
|
910
|
+
resizeIndicator: boolean;
|
|
911
|
+
striped: boolean | null;
|
|
912
|
+
};
|
|
913
|
+
export type TableNode = {
|
|
914
|
+
type: "table";
|
|
915
|
+
key?: string;
|
|
916
|
+
id?: string;
|
|
917
|
+
props: Table;
|
|
918
|
+
};
|
|
919
|
+
export type TablePagination = {
|
|
920
|
+
readonly mode: PaginationType;
|
|
921
|
+
readonly currentPage: number | null;
|
|
922
|
+
readonly lastPage: number | null;
|
|
923
|
+
readonly perPage: number | null;
|
|
924
|
+
readonly total: number | null;
|
|
925
|
+
readonly from: number | null;
|
|
926
|
+
readonly to: number | null;
|
|
927
|
+
readonly hasMore: boolean;
|
|
928
|
+
readonly nextPage: number | null;
|
|
929
|
+
};
|
|
930
|
+
export type TableQuery = {
|
|
931
|
+
readonly filters: FilterClause[];
|
|
932
|
+
readonly sorts: TableSort[];
|
|
933
|
+
readonly page: number;
|
|
934
|
+
readonly perPage: number;
|
|
935
|
+
readonly tableFilters: Record<string, unknown>;
|
|
936
|
+
};
|
|
937
|
+
export type TableSort = {
|
|
938
|
+
readonly key: string;
|
|
939
|
+
readonly direction: SortDirection;
|
|
940
|
+
};
|
|
941
|
+
export type Tabs = {
|
|
942
|
+
activeValue: string;
|
|
943
|
+
defaultValue: string | null;
|
|
944
|
+
orientation: Orientation;
|
|
945
|
+
queryKey: string;
|
|
946
|
+
};
|
|
947
|
+
export type Text = {
|
|
948
|
+
align: Align | null;
|
|
949
|
+
color: Color;
|
|
950
|
+
size: Size;
|
|
951
|
+
text: string;
|
|
952
|
+
};
|
|
953
|
+
export type TextColumn = {
|
|
954
|
+
copyable: boolean;
|
|
955
|
+
date: {
|
|
956
|
+
format: string | null;
|
|
957
|
+
} | null;
|
|
958
|
+
link: {
|
|
959
|
+
href: string | null;
|
|
960
|
+
external: boolean;
|
|
961
|
+
} | null;
|
|
962
|
+
};
|
|
963
|
+
export type TextInput = {
|
|
964
|
+
autoComplete: string | null;
|
|
965
|
+
autoFocus: boolean;
|
|
966
|
+
columnWidth: ColumnWidth;
|
|
967
|
+
conditions: {
|
|
968
|
+
visible?: Condition[];
|
|
969
|
+
required?: Condition[];
|
|
970
|
+
readOnly?: Condition[];
|
|
971
|
+
disabled?: Condition[];
|
|
972
|
+
} | null;
|
|
973
|
+
dependsOnAny: boolean;
|
|
974
|
+
dependsOnKeys: string[] | null;
|
|
975
|
+
disabled: boolean;
|
|
976
|
+
editablePrefill: boolean;
|
|
977
|
+
helperText: string | null;
|
|
978
|
+
hidden: boolean;
|
|
979
|
+
label: string | null;
|
|
980
|
+
name: string;
|
|
981
|
+
placeholder: string | null;
|
|
982
|
+
prefillRefreshOn: string[] | null;
|
|
983
|
+
prefillResetOn: string[] | null;
|
|
984
|
+
readOnly: boolean;
|
|
985
|
+
required: boolean;
|
|
986
|
+
tabIndex: number | null;
|
|
987
|
+
tooltip: string | null;
|
|
988
|
+
type: string | null;
|
|
989
|
+
value: unknown;
|
|
990
|
+
};
|
|
991
|
+
export type TextPart = {
|
|
992
|
+
text: string;
|
|
993
|
+
};
|
|
994
|
+
export type Textarea = {
|
|
995
|
+
autoFocus: boolean;
|
|
996
|
+
columnWidth: ColumnWidth;
|
|
997
|
+
conditions: {
|
|
998
|
+
visible?: Condition[];
|
|
999
|
+
required?: Condition[];
|
|
1000
|
+
readOnly?: Condition[];
|
|
1001
|
+
disabled?: Condition[];
|
|
1002
|
+
} | null;
|
|
1003
|
+
dependsOnAny: boolean;
|
|
1004
|
+
dependsOnKeys: string[] | null;
|
|
1005
|
+
disabled: boolean;
|
|
1006
|
+
editablePrefill: boolean;
|
|
1007
|
+
helperText: string | null;
|
|
1008
|
+
hidden: boolean;
|
|
1009
|
+
label: string | null;
|
|
1010
|
+
name: string;
|
|
1011
|
+
placeholder: string | null;
|
|
1012
|
+
prefillRefreshOn: string[] | null;
|
|
1013
|
+
prefillResetOn: string[] | null;
|
|
1014
|
+
readOnly: boolean;
|
|
1015
|
+
required: boolean;
|
|
1016
|
+
rows: number | null;
|
|
1017
|
+
tabIndex: number | null;
|
|
1018
|
+
tooltip: string | null;
|
|
1019
|
+
value: unknown;
|
|
1020
|
+
};
|
|
1021
|
+
export type ToastEffect = {
|
|
1022
|
+
readonly toast: ToastMessage;
|
|
1023
|
+
};
|
|
1024
|
+
export type ToastMessage = {
|
|
1025
|
+
duration: number | null;
|
|
1026
|
+
persistent: boolean;
|
|
1027
|
+
dismissible: boolean;
|
|
1028
|
+
action: Node | null;
|
|
1029
|
+
variant: Variant;
|
|
1030
|
+
message: string;
|
|
1031
|
+
};
|
|
1032
|
+
export type ToolCallPart = {
|
|
1033
|
+
args: Record<string, unknown>;
|
|
1034
|
+
name: string;
|
|
1035
|
+
};
|
|
1036
|
+
export type Variant = "success" | "info" | "warning" | "error";
|
|
1037
|
+
export type Width = "full" | "sm" | "md" | "lg" | "fill";
|