nuxt-ui-tools 0.1.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +2 -0
- package/dist/module.json +5 -5
- package/dist/module.mjs +239 -67
- package/dist/runtime/form/components/actions/{FormActions.vue → form-actions.vue} +45 -22
- package/dist/runtime/form/components/layout/{DrawerLayout.vue → drawer-layout.vue} +13 -10
- package/dist/runtime/form/components/layout/{FullscreenLayout.vue → fullscreen-layout.vue} +1 -1
- package/dist/runtime/form/components/layout/{ModalLayout.vue → modal-layout.vue} +7 -5
- package/dist/runtime/form/components/provider/{FormOverlayHost.vue → form-overlay-host.vue} +7 -5
- package/dist/runtime/form/components/provider/{FormProvider.vue → form-provider.vue} +2 -2
- package/dist/runtime/form/components/renderer/{FormCompositeControl.vue → form-composite-control.vue} +1 -1
- package/dist/runtime/{spreadsheet/components/shared/SpreadsheetObjectPreviewTable.d.vue.ts → form/components/renderer/form-field-error.d.vue.ts} +2 -1
- package/dist/runtime/form/components/renderer/form-field-error.vue +16 -0
- package/dist/runtime/{spreadsheet/components/shared/SpreadsheetObjectPreviewTable.vue.d.ts → form/components/renderer/form-field-error.vue.d.ts} +2 -1
- package/dist/runtime/form/components/renderer/{FormFieldRenderer.d.vue.ts → form-field-renderer.d.vue.ts} +2 -1
- package/dist/runtime/form/components/renderer/{FormFieldRenderer.vue → form-field-renderer.vue} +64 -15
- package/dist/runtime/form/components/renderer/{FormFieldRenderer.vue.d.ts → form-field-renderer.vue.d.ts} +2 -1
- package/dist/runtime/form/components/renderer/{FormFieldShell.d.vue.ts → form-field-shell.d.vue.ts} +7 -7
- package/dist/runtime/form/components/renderer/{FormFieldShell.vue → form-field-shell.vue} +120 -18
- package/dist/runtime/form/components/renderer/{FormFieldShell.vue.d.ts → form-field-shell.vue.d.ts} +7 -7
- package/dist/runtime/form/components/renderer/form-field-status.d.vue.ts +22 -0
- package/dist/runtime/form/components/renderer/form-field-status.vue +24 -0
- package/dist/runtime/form/components/renderer/form-field-status.vue.d.ts +22 -0
- package/dist/runtime/form/components/root/{Form.d.vue.ts → form.d.vue.ts} +12 -13
- package/dist/runtime/form/components/root/form.vue +510 -0
- package/dist/runtime/form/components/root/{Form.vue.d.ts → form.vue.d.ts} +12 -13
- package/dist/runtime/form/components/utils/form-directional-transition.d.vue.ts +22 -0
- package/dist/runtime/form/components/utils/form-directional-transition.vue +26 -0
- package/dist/runtime/form/components/utils/form-directional-transition.vue.d.ts +22 -0
- package/dist/runtime/form/components/utils/form-file-preview.d.vue.ts +10 -0
- package/dist/runtime/form/components/utils/form-file-preview.vue +127 -0
- package/dist/runtime/form/components/utils/form-file-preview.vue.d.ts +10 -0
- package/dist/runtime/form/components/utils/form-option-item-label.d.vue.ts +7 -0
- package/dist/runtime/form/components/utils/form-option-item-label.vue +30 -0
- package/dist/runtime/form/components/utils/form-option-item-label.vue.d.ts +7 -0
- package/dist/runtime/form/components/utils/form-option-menu-footer.d.vue.ts +14 -0
- package/dist/runtime/form/components/utils/form-option-menu-footer.vue +120 -0
- package/dist/runtime/form/components/utils/form-option-menu-footer.vue.d.ts +14 -0
- package/dist/runtime/form/composables/use-field-control.d.ts +48 -18
- package/dist/runtime/form/composables/use-field-control.js +193 -86
- package/dist/runtime/form/composables/use-field-effects.d.ts +2 -0
- package/dist/runtime/form/composables/use-field-effects.js +74 -0
- package/dist/runtime/form/composables/use-field-options.d.ts +23 -11
- package/dist/runtime/form/composables/use-field-options.js +199 -67
- package/dist/runtime/form/composables/use-form-actions.js +51 -26
- package/dist/runtime/form/composables/use-form-api.js +45 -28
- package/dist/runtime/form/composables/use-form-context-resources.d.ts +2 -2
- package/dist/runtime/form/composables/use-form-context-resources.js +37 -27
- package/dist/runtime/form/composables/use-form-focus.d.ts +3 -3
- package/dist/runtime/form/composables/use-form-focus.js +22 -11
- package/dist/runtime/form/composables/use-form-layout.d.ts +1 -1
- package/dist/runtime/form/composables/use-form-option-registry.d.ts +1 -1
- package/dist/runtime/form/composables/use-form-option-registry.js +35 -17
- package/dist/runtime/form/composables/use-form-overlay-controller.d.ts +6 -6
- package/dist/runtime/form/composables/use-form-overlay-controller.js +18 -12
- package/dist/runtime/form/composables/use-form-runtime.d.ts +1 -2
- package/dist/runtime/form/composables/use-form-runtime.js +388 -188
- package/dist/runtime/form/composables/use-form-state.d.ts +14 -10
- package/dist/runtime/form/composables/use-form-state.js +47 -14
- package/dist/runtime/form/composables/use-form-submission.d.ts +13 -0
- package/dist/runtime/form/composables/use-form-submission.js +74 -0
- package/dist/runtime/form/composables/use-form-ui.d.ts +5 -5
- package/dist/runtime/form/composables/use-form-ui.js +6 -4
- package/dist/runtime/form/composables/use-form-upload-registry.d.ts +1 -1
- package/dist/runtime/form/composables/use-form-upload-registry.js +4 -2
- package/dist/runtime/form/composables/use-form-validation.d.ts +22 -12
- package/dist/runtime/form/composables/use-form-validation.js +1012 -55
- package/dist/runtime/form/composables/use-form.d.ts +2 -2
- package/dist/runtime/form/composables/use-form.js +53 -44
- package/dist/runtime/form/composables/use-remote-field-options.d.ts +29 -0
- package/dist/runtime/form/composables/use-remote-field-options.js +468 -0
- package/dist/runtime/form/fields/array-collapse/component.d.vue.ts +8 -0
- package/dist/runtime/form/fields/array-collapse/component.vue +295 -0
- package/dist/runtime/form/fields/array-collapse/component.vue.d.ts +8 -0
- package/dist/runtime/form/fields/array-collapse/config.d.ts +12 -0
- package/dist/runtime/form/fields/array-collapse/config.js +7 -0
- package/dist/runtime/form/fields/array-collapse/index.d.ts +2 -0
- package/dist/runtime/form/fields/array-collapse/index.js +1 -0
- package/dist/runtime/form/fields/array-collapse/types.d.ts +13 -0
- package/dist/runtime/form/fields/array-collapse/types.js +0 -0
- package/dist/runtime/form/fields/array-list/component.vue +223 -330
- package/dist/runtime/form/fields/array-list/config.d.ts +6 -6
- package/dist/runtime/form/fields/array-list/config.js +3 -3
- package/dist/runtime/form/fields/array-list/types.d.ts +23 -15
- package/dist/runtime/form/fields/array-list/use-array-items.d.ts +56 -0
- package/dist/runtime/form/fields/array-list/use-array-items.js +263 -0
- package/dist/runtime/form/fields/array-primitive/component.d.vue.ts +8 -0
- package/dist/runtime/form/fields/array-primitive/component.vue +274 -0
- package/dist/runtime/form/fields/array-primitive/component.vue.d.ts +8 -0
- package/dist/runtime/form/fields/array-primitive/config.d.ts +14 -0
- package/dist/runtime/form/fields/array-primitive/config.js +9 -0
- package/dist/runtime/form/fields/array-primitive/index.d.ts +2 -0
- package/dist/runtime/form/fields/array-primitive/index.js +1 -0
- package/dist/runtime/form/fields/array-primitive/types.d.ts +52 -0
- package/dist/runtime/form/fields/array-primitive/types.js +0 -0
- package/dist/runtime/form/fields/array-table/component.vue +192 -271
- package/dist/runtime/form/fields/array-table/config.d.ts +6 -6
- package/dist/runtime/form/fields/array-table/config.js +3 -3
- package/dist/runtime/form/fields/array-table/types.d.ts +5 -3
- package/dist/runtime/form/fields/array-tabs/config.d.ts +6 -6
- package/dist/runtime/form/fields/array-tabs/config.js +3 -3
- package/dist/runtime/form/fields/array-tabs/types.d.ts +7 -5
- package/dist/runtime/form/fields/array-variant/config.d.ts +6 -6
- package/dist/runtime/form/fields/array-variant/config.js +3 -3
- package/dist/runtime/form/fields/array-variant/types.d.ts +9 -11
- package/dist/runtime/form/fields/auto-complete/component.vue +72 -50
- package/dist/runtime/form/fields/auto-complete/config.d.ts +8 -8
- package/dist/runtime/form/fields/auto-complete/config.js +5 -5
- package/dist/runtime/form/fields/auto-complete/types.d.ts +8 -6
- package/dist/runtime/form/fields/button/component.vue +4 -4
- package/dist/runtime/form/fields/button/config.d.ts +2 -2
- package/dist/runtime/form/fields/button/config.js +2 -2
- package/dist/runtime/form/fields/button/types.d.ts +4 -2
- package/dist/runtime/form/fields/card/component.vue +6 -5
- package/dist/runtime/form/fields/card/config.d.ts +6 -6
- package/dist/runtime/form/fields/card/config.js +3 -3
- package/dist/runtime/form/fields/card/types.d.ts +1 -1
- package/dist/runtime/form/fields/cascader/config.d.ts +8 -8
- package/dist/runtime/form/fields/cascader/config.js +5 -5
- package/dist/runtime/form/fields/checkbox/component.vue +1 -1
- package/dist/runtime/form/fields/checkbox/config.d.ts +6 -6
- package/dist/runtime/form/fields/checkbox/config.js +5 -5
- package/dist/runtime/form/fields/checkbox/types.d.ts +1 -1
- package/dist/runtime/form/fields/checkbox-card/component.vue +16 -6
- package/dist/runtime/form/fields/checkbox-card/config.d.ts +8 -8
- package/dist/runtime/form/fields/checkbox-card/config.js +5 -5
- package/dist/runtime/form/fields/checkbox-card/types.d.ts +9 -4
- package/dist/runtime/form/fields/checkbox-group/component.vue +17 -7
- package/dist/runtime/form/fields/checkbox-group/config.d.ts +8 -8
- package/dist/runtime/form/fields/checkbox-group/config.js +5 -5
- package/dist/runtime/form/fields/checkbox-group/types.d.ts +4 -2
- package/dist/runtime/form/fields/color-picker/component.vue +41 -16
- package/dist/runtime/form/fields/color-picker/config.d.ts +6 -6
- package/dist/runtime/form/fields/color-picker/config.js +5 -5
- package/dist/runtime/form/fields/color-picker/types.d.ts +2 -1
- package/dist/runtime/form/fields/column/component.vue +1 -1
- package/dist/runtime/form/fields/column/config.d.ts +3 -3
- package/dist/runtime/form/fields/column/config.js +2 -2
- package/dist/runtime/form/fields/column/types.d.ts +1 -1
- package/dist/runtime/form/fields/custom-component/component.vue +1 -1
- package/dist/runtime/form/fields/custom-component/config.d.ts +6 -6
- package/dist/runtime/form/fields/custom-component/config.js +5 -5
- package/dist/runtime/form/fields/custom-component/types.d.ts +3 -2
- package/dist/runtime/form/fields/date/component.d.vue.ts +1 -1
- package/dist/runtime/form/fields/date/component.vue +3 -323
- package/dist/runtime/form/fields/date/component.vue.d.ts +1 -1
- package/dist/runtime/form/fields/date/config.d.ts +6 -6
- package/dist/runtime/form/fields/date/config.js +5 -5
- package/dist/runtime/form/fields/date/types.d.ts +7 -13
- package/dist/runtime/form/fields/date-family/component.d.vue.ts +2 -1
- package/dist/runtime/form/fields/date-family/component.vue +500 -95
- package/dist/runtime/form/fields/date-family/component.vue.d.ts +2 -1
- package/dist/runtime/form/fields/date-family/types.d.ts +28 -12
- package/dist/runtime/form/fields/date-family/utils.d.ts +33 -0
- package/dist/runtime/form/fields/date-family/utils.js +370 -0
- package/dist/runtime/form/fields/date-range/config.d.ts +6 -6
- package/dist/runtime/form/fields/date-range/config.js +5 -5
- package/dist/runtime/form/fields/date-time/config.d.ts +6 -6
- package/dist/runtime/form/fields/date-time/config.js +5 -5
- package/dist/runtime/form/fields/date-time-range/config.d.ts +6 -6
- package/dist/runtime/form/fields/date-time-range/config.js +5 -5
- package/dist/runtime/form/fields/divider/config.d.ts +2 -2
- package/dist/runtime/form/fields/divider/config.js +2 -2
- package/dist/runtime/form/fields/divider/types.d.ts +1 -1
- package/dist/runtime/form/fields/file/component.vue +63 -12
- package/dist/runtime/form/fields/file/config.d.ts +6 -6
- package/dist/runtime/form/fields/file/config.js +5 -5
- package/dist/runtime/form/fields/file/types.d.ts +13 -3
- package/dist/runtime/form/fields/group/component.vue +7 -3
- package/dist/runtime/form/fields/group/config.d.ts +6 -6
- package/dist/runtime/form/fields/group/config.js +3 -3
- package/dist/runtime/form/fields/group/types.d.ts +1 -1
- package/dist/runtime/form/fields/hidden/component.vue +7 -2
- package/dist/runtime/form/fields/hidden/config.d.ts +2 -2
- package/dist/runtime/form/fields/hidden/config.js +3 -3
- package/dist/runtime/form/fields/hidden/types.d.ts +3 -3
- package/dist/runtime/form/fields/hierarchy/component.vue +230 -80
- package/dist/runtime/form/fields/hierarchy/{SelectionRadio.vue → selection-radio.vue} +1 -1
- package/dist/runtime/form/fields/hierarchy/types.d.ts +21 -11
- package/dist/runtime/form/fields/hierarchy/utils.d.ts +1 -1
- package/dist/runtime/form/fields/hierarchy/utils.js +18 -7
- package/dist/runtime/form/fields/index.d.ts +236 -246
- package/dist/runtime/form/fields/index.js +9 -49
- package/dist/runtime/form/fields/info/component.vue +12 -10
- package/dist/runtime/form/fields/info/config.d.ts +2 -2
- package/dist/runtime/form/fields/info/config.js +2 -2
- package/dist/runtime/form/fields/info/types.d.ts +8 -2
- package/dist/runtime/form/fields/input-group/component.vue +50 -4
- package/dist/runtime/form/fields/input-group/config.d.ts +6 -6
- package/dist/runtime/form/fields/input-group/config.js +3 -3
- package/dist/runtime/form/fields/input-group/types.d.ts +3 -1
- package/dist/runtime/form/fields/matrix/component.vue +44 -9
- package/dist/runtime/form/fields/matrix/config.d.ts +7 -7
- package/dist/runtime/form/fields/matrix/config.js +5 -5
- package/dist/runtime/form/fields/matrix/types.d.ts +9 -2
- package/dist/runtime/form/fields/month/config.d.ts +6 -6
- package/dist/runtime/form/fields/month/config.js +5 -5
- package/dist/runtime/form/fields/month-range/config.d.ts +6 -6
- package/dist/runtime/form/fields/month-range/config.js +5 -5
- package/dist/runtime/form/fields/number/component.vue +115 -21
- package/dist/runtime/form/fields/number/config.d.ts +6 -6
- package/dist/runtime/form/fields/number/config.js +5 -5
- package/dist/runtime/form/fields/number/types.d.ts +8 -1
- package/dist/runtime/form/fields/object/component.vue +3 -3
- package/dist/runtime/form/fields/object/config.d.ts +7 -7
- package/dist/runtime/form/fields/object/config.js +4 -4
- package/dist/runtime/form/fields/object/types.d.ts +3 -2
- package/dist/runtime/form/fields/one-time-code/component.vue +21 -9
- package/dist/runtime/form/fields/one-time-code/config.d.ts +6 -6
- package/dist/runtime/form/fields/one-time-code/config.js +5 -5
- package/dist/runtime/form/fields/one-time-code/types.d.ts +2 -1
- package/dist/runtime/form/fields/password/component.vue +66 -10
- package/dist/runtime/form/fields/password/config.d.ts +6 -6
- package/dist/runtime/form/fields/password/config.js +5 -5
- package/dist/runtime/form/fields/password/types.d.ts +10 -1
- package/dist/runtime/form/fields/phone-number/component.vue +95 -34
- package/dist/runtime/form/fields/phone-number/config.d.ts +6 -6
- package/dist/runtime/form/fields/phone-number/config.js +5 -5
- package/dist/runtime/form/fields/phone-number/types.d.ts +4 -1
- package/dist/runtime/form/fields/radio/component.vue +9 -3
- package/dist/runtime/form/fields/radio/config.d.ts +8 -8
- package/dist/runtime/form/fields/radio/config.js +5 -5
- package/dist/runtime/form/fields/radio/types.d.ts +6 -1
- package/dist/runtime/form/fields/radio-card/component.vue +24 -5
- package/dist/runtime/form/fields/radio-card/config.d.ts +8 -8
- package/dist/runtime/form/fields/radio-card/config.js +5 -5
- package/dist/runtime/form/fields/radio-card/types.d.ts +4 -2
- package/dist/runtime/form/fields/rating/component.vue +25 -15
- package/dist/runtime/form/fields/rating/config.d.ts +6 -6
- package/dist/runtime/form/fields/rating/config.js +5 -5
- package/dist/runtime/form/fields/rating/types.d.ts +2 -1
- package/dist/runtime/form/fields/section/component.d.vue.ts +8 -0
- package/dist/runtime/form/fields/section/component.vue +46 -0
- package/dist/runtime/form/fields/section/component.vue.d.ts +8 -0
- package/dist/runtime/form/fields/section/config.d.ts +7 -0
- package/dist/runtime/form/fields/section/config.js +6 -0
- package/dist/runtime/form/fields/section/index.d.ts +2 -0
- package/dist/runtime/form/fields/section/index.js +1 -0
- package/dist/runtime/form/fields/section/types.d.ts +10 -0
- package/dist/runtime/form/fields/section/types.js +0 -0
- package/dist/runtime/form/fields/select/component.vue +103 -87
- package/dist/runtime/form/fields/select/config.d.ts +8 -8
- package/dist/runtime/form/fields/select/config.js +5 -5
- package/dist/runtime/form/fields/select/types.d.ts +9 -6
- package/dist/runtime/form/fields/slider/component.vue +16 -11
- package/dist/runtime/form/fields/slider/config.d.ts +6 -6
- package/dist/runtime/form/fields/slider/config.js +5 -5
- package/dist/runtime/form/fields/slider/types.d.ts +4 -2
- package/dist/runtime/form/fields/switch/component.vue +10 -9
- package/dist/runtime/form/fields/switch/config.d.ts +6 -6
- package/dist/runtime/form/fields/switch/config.js +5 -5
- package/dist/runtime/form/fields/switch/types.d.ts +6 -9
- package/dist/runtime/form/fields/switch-group/component.vue +7 -6
- package/dist/runtime/form/fields/switch-group/config.d.ts +8 -8
- package/dist/runtime/form/fields/switch-group/config.js +5 -5
- package/dist/runtime/form/fields/switch-group/types.d.ts +4 -2
- package/dist/runtime/form/fields/tabs/component.d.vue.ts +9 -0
- package/dist/runtime/form/fields/tabs/component.vue +116 -0
- package/dist/runtime/form/fields/tabs/component.vue.d.ts +9 -0
- package/dist/runtime/form/fields/tabs/config.d.ts +8 -0
- package/dist/runtime/form/fields/tabs/config.js +6 -0
- package/dist/runtime/form/fields/tabs/index.d.ts +2 -0
- package/dist/runtime/form/fields/tabs/index.js +1 -0
- package/dist/runtime/form/fields/tabs/types.d.ts +21 -0
- package/dist/runtime/form/fields/tabs/types.js +0 -0
- package/dist/runtime/form/fields/tag/component.vue +3 -2
- package/dist/runtime/form/fields/tag/config.d.ts +6 -6
- package/dist/runtime/form/fields/tag/config.js +5 -5
- package/dist/runtime/form/fields/tag/types.d.ts +1 -1
- package/dist/runtime/form/fields/text/component.vue +104 -15
- package/dist/runtime/form/fields/text/config.d.ts +6 -6
- package/dist/runtime/form/fields/text/config.js +5 -5
- package/dist/runtime/form/fields/text/types.d.ts +13 -1
- package/dist/runtime/form/fields/textarea/component.vue +9 -4
- package/dist/runtime/form/fields/textarea/config.d.ts +6 -6
- package/dist/runtime/form/fields/textarea/config.js +5 -5
- package/dist/runtime/form/fields/textarea/types.d.ts +6 -1
- package/dist/runtime/form/fields/time/component.vue +73 -182
- package/dist/runtime/form/fields/time/config.d.ts +6 -6
- package/dist/runtime/form/fields/time/config.js +5 -5
- package/dist/runtime/form/fields/time/types.d.ts +2 -1
- package/dist/runtime/form/fields/tree/config.d.ts +8 -8
- package/dist/runtime/form/fields/tree/config.js +5 -5
- package/dist/runtime/form/fields/tree-select/config.d.ts +8 -8
- package/dist/runtime/form/fields/tree-select/config.js +5 -5
- package/dist/runtime/form/fields/upload/component.vue +96 -20
- package/dist/runtime/form/fields/upload/config.d.ts +6 -6
- package/dist/runtime/form/fields/upload/config.js +5 -5
- package/dist/runtime/form/fields/upload/types.d.ts +20 -10
- package/dist/runtime/form/fields/year/config.d.ts +6 -6
- package/dist/runtime/form/fields/year/config.js +5 -5
- package/dist/runtime/form/index.d.ts +0 -1
- package/dist/runtime/form/index.js +0 -1
- package/dist/runtime/form/schema/index.d.ts +14 -14
- package/dist/runtime/form/types/actions.d.ts +3 -3
- package/dist/runtime/form/types/api.d.ts +80 -24
- package/dist/runtime/form/types/callbacks.d.ts +3 -2
- package/dist/runtime/form/types/context.d.ts +12 -9
- package/dist/runtime/form/types/controller.d.ts +13 -12
- package/dist/runtime/form/types/dependencies.d.ts +5 -4
- package/dist/runtime/form/types/field-base.d.ts +59 -26
- package/dist/runtime/form/types/field-output-utils.d.ts +3 -0
- package/dist/runtime/form/types/field-output.d.ts +8 -2
- package/dist/runtime/form/types/field.d.ts +9 -1
- package/dist/runtime/form/types/form-api.d.ts +14 -7
- package/dist/runtime/form/types/layout.d.ts +11 -0
- package/dist/runtime/form/types/options-runtime.d.ts +30 -23
- package/dist/runtime/form/types/options.d.ts +76 -5
- package/dist/runtime/form/types/output.d.ts +29 -16
- package/dist/runtime/form/types/overlay.d.ts +3 -2
- package/dist/runtime/form/types/runtime.d.ts +11 -8
- package/dist/runtime/form/types/schema.d.ts +31 -13
- package/dist/runtime/form/types/transform.d.ts +2 -1
- package/dist/runtime/form/types/ui.d.ts +54 -0
- package/dist/runtime/form/types/upload-runtime.d.ts +2 -1
- package/dist/runtime/form/types/utils.d.ts +2 -0
- package/dist/runtime/form/types/validation.d.ts +11 -3
- package/dist/runtime/form/utils/api.js +6 -5
- package/dist/runtime/form/utils/array.d.ts +2 -2
- package/dist/runtime/form/utils/array.js +11 -3
- package/dist/runtime/form/utils/compare.d.ts +2 -0
- package/dist/runtime/form/utils/compare.js +27 -0
- package/dist/runtime/form/utils/dependencies.js +16 -5
- package/dist/runtime/form/utils/field-instance.d.ts +1 -1
- package/dist/runtime/form/utils/field-instance.js +55 -29
- package/dist/runtime/form/utils/focus.js +22 -9
- package/dist/runtime/form/utils/layout.js +10 -3
- package/dist/runtime/form/utils/mask.d.ts +7 -0
- package/dist/runtime/form/utils/mask.js +44 -0
- package/dist/runtime/form/utils/options.d.ts +11 -5
- package/dist/runtime/form/utils/options.js +57 -19
- package/dist/runtime/form/utils/overlay.d.ts +8 -8
- package/dist/runtime/form/utils/overlay.js +22 -7
- package/dist/runtime/form/utils/predicate.d.ts +9 -0
- package/dist/runtime/form/utils/predicate.js +35 -0
- package/dist/runtime/form/utils/state.d.ts +21 -9
- package/dist/runtime/form/utils/state.js +504 -134
- package/dist/runtime/form/utils/text.d.ts +8 -1
- package/dist/runtime/form/utils/text.js +37 -2
- package/dist/runtime/form/utils/ui.d.ts +2 -2
- package/dist/runtime/form/utils/ui.js +30 -17
- package/dist/runtime/i18n/define-locale.js +14 -9
- package/dist/runtime/i18n/locales/en.js +291 -208
- package/dist/runtime/i18n/locales/fr.js +291 -208
- package/dist/runtime/i18n/types.d.ts +83 -0
- package/dist/runtime/i18n/use-locale.d.ts +1 -1
- package/dist/runtime/i18n/use-locale.js +9 -6
- package/dist/runtime/i18n/utils.d.ts +1 -1
- package/dist/runtime/i18n/utils.js +8 -5
- package/dist/runtime/query-prefetch/index.d.ts +2 -0
- package/dist/runtime/query-prefetch/index.js +2 -0
- package/dist/runtime/query-prefetch/plugins/link-prefetch.client.d.ts +2 -0
- package/dist/runtime/query-prefetch/plugins/link-prefetch.client.js +8 -0
- package/dist/runtime/query-prefetch/types/index.d.ts +2 -0
- package/dist/runtime/query-prefetch/types/index.js +2 -0
- package/dist/runtime/query-prefetch/types/page.d.ts +55 -0
- package/dist/runtime/query-prefetch/types/page.js +0 -0
- package/dist/runtime/query-prefetch/types/plan.d.ts +55 -0
- package/dist/runtime/query-prefetch/types/plan.js +0 -0
- package/dist/runtime/query-prefetch/utils/index.d.ts +3 -0
- package/dist/runtime/query-prefetch/utils/index.js +3 -0
- package/dist/runtime/query-prefetch/utils/page.d.ts +24 -0
- package/dist/runtime/query-prefetch/utils/page.js +63 -0
- package/dist/runtime/query-prefetch/utils/plan.d.ts +29 -0
- package/dist/runtime/query-prefetch/utils/plan.js +67 -0
- package/dist/runtime/query-prefetch/utils/prefetch-page.d.ts +17 -0
- package/dist/runtime/query-prefetch/utils/prefetch-page.js +57 -0
- package/dist/runtime/query-state/client.d.ts +6 -6
- package/dist/runtime/query-state/client.js +39 -20
- package/dist/runtime/query-state/codecs.js +13 -5
- package/dist/runtime/query-state/composables.d.ts +10 -8
- package/dist/runtime/query-state/composables.js +46 -25
- package/dist/runtime/shared/composables/use-range-select.d.ts +1 -1
- package/dist/runtime/shared/composables/use-range-select.js +4 -2
- package/dist/runtime/shared/composables/use-responsive-value.d.ts +4 -3
- package/dist/runtime/shared/composables/use-responsive-value.js +20 -11
- package/dist/runtime/shared/styles/scrollbars.css +1 -0
- package/dist/runtime/shared/styles/tokens.css +1 -0
- package/dist/runtime/shared/types/utils.d.ts +15 -12
- package/dist/runtime/shared/utils/object.d.ts +6 -4
- package/dist/runtime/shared/utils/object.js +53 -33
- package/dist/runtime/shared/utils/path.d.ts +6 -4
- package/dist/runtime/shared/utils/path.js +31 -13
- package/dist/runtime/shared/utils/predicate.d.ts +102 -209
- package/dist/runtime/shared/utils/predicate.js +50 -28
- package/dist/runtime/shared/utils/registry.js +1 -0
- package/dist/runtime/shared/utils/render.d.ts +1 -1
- package/dist/runtime/shared/utils/render.js +12 -4
- package/dist/runtime/shared/utils/responsive.d.ts +4 -3
- package/dist/runtime/shared/utils/responsive.js +45 -15
- package/dist/runtime/spreadsheet/components/shared/spreadsheet-object-preview-table.d.vue.ts +7 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetObjectPreviewTable.vue → spreadsheet-object-preview-table.vue} +11 -8
- package/dist/runtime/spreadsheet/components/shared/spreadsheet-object-preview-table.vue.d.ts +7 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetRawPreviewTable.vue → spreadsheet-raw-preview-table.vue} +2 -2
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetSummaryStats.d.vue.ts → spreadsheet-summary-stats.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetSummaryStats.vue.d.ts → spreadsheet-summary-stats.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/shared/spreadsheet-value-preview.d.vue.ts +10 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetValuePreview.vue → spreadsheet-value-preview.vue} +10 -3
- package/dist/runtime/spreadsheet/components/shared/spreadsheet-value-preview.vue.d.ts +10 -0
- package/dist/runtime/spreadsheet/components/{SpreadsheetImport.vue → spreadsheet-import.vue} +50 -26
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingSummary.d.vue.ts → spreadsheet-matching-summary.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingSummary.vue → spreadsheet-matching-summary.vue} +9 -3
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingSummary.vue.d.ts → spreadsheet-matching-summary.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingTable.d.vue.ts → spreadsheet-matching-table.d.vue.ts} +6 -6
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingTable.vue → spreadsheet-matching-table.vue} +18 -12
- package/dist/runtime/spreadsheet/components/steps/matching/{SpreadsheetMatchingTable.vue.d.ts → spreadsheet-matching-table.vue.d.ts} +6 -6
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesAccordion.d.vue.ts → spreadsheet-references-accordion.d.vue.ts} +4 -4
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesAccordion.vue.d.ts → spreadsheet-references-accordion.vue.d.ts} +4 -4
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesSummary.d.vue.ts → spreadsheet-references-summary.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesSummary.vue.d.ts → spreadsheet-references-summary.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewInspection.d.vue.ts → spreadsheet-review-inspection.d.vue.ts} +6 -6
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewInspection.vue → spreadsheet-review-inspection.vue} +13 -9
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewInspection.vue.d.ts → spreadsheet-review-inspection.vue.d.ts} +6 -6
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewStats.d.vue.ts → spreadsheet-review-stats.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewStats.vue.d.ts → spreadsheet-review-stats.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportMatchingStep.vue → spreadsheet-import-matching-step.vue} +30 -25
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReferencesStep.vue → spreadsheet-import-references-step.vue} +63 -41
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReviewStep.vue → spreadsheet-import-review-step.vue} +14 -9
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportStructureStep.vue → spreadsheet-import-structure-step.vue} +4 -4
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportUploadStep.vue → spreadsheet-import-upload-step.vue} +10 -5
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructurePreviewTable.d.vue.ts → spreadsheet-structure-preview-table.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructurePreviewTable.vue → spreadsheet-structure-preview-table.vue} +3 -3
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructurePreviewTable.vue.d.ts → spreadsheet-structure-preview-table.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructureSheetList.d.vue.ts → spreadsheet-structure-sheet-list.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructureSheetList.vue.d.ts → spreadsheet-structure-sheet-list.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.d.ts +9 -9
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.js +7 -7
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.d.ts +10 -10
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.js +5 -5
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.d.ts +2 -2
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.js +32 -30
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.d.ts +336 -336
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.js +13 -17
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.d.ts +21 -21
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.js +23 -21
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.d.ts +83 -83
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.js +129 -100
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.d.ts +7 -7
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.js +15 -11
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.d.ts +12 -12
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.js +5 -5
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.d.ts +8 -8
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.js +17 -13
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.d.ts +2 -2
- package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.js +42 -36
- package/dist/runtime/spreadsheet/schema/index.d.ts +2 -2
- package/dist/runtime/spreadsheet/schema/index.js +3 -1
- package/dist/runtime/spreadsheet/schema/normalize.d.ts +26 -26
- package/dist/runtime/spreadsheet/schema/normalize.js +48 -39
- package/dist/runtime/spreadsheet/types/columns.d.ts +18 -24
- package/dist/runtime/spreadsheet/types/inference.d.ts +5 -5
- package/dist/runtime/spreadsheet/types/reference-session.d.ts +2 -1
- package/dist/runtime/spreadsheet/types/references.d.ts +8 -7
- package/dist/runtime/spreadsheet/types/resolution.d.ts +4 -4
- package/dist/runtime/spreadsheet/types/rows.d.ts +2 -2
- package/dist/runtime/spreadsheet/types/schema.d.ts +2 -1
- package/dist/runtime/spreadsheet/types/shared.d.ts +7 -0
- package/dist/runtime/spreadsheet/types/validation.d.ts +12 -12
- package/dist/runtime/spreadsheet/utils/builders/core.js +86 -74
- package/dist/runtime/spreadsheet/utils/context.d.ts +3 -3
- package/dist/runtime/spreadsheet/utils/context.js +1 -1
- package/dist/runtime/spreadsheet/utils/display.d.ts +2 -1
- package/dist/runtime/spreadsheet/utils/display.js +17 -7
- package/dist/runtime/spreadsheet/utils/object.d.ts +9 -8
- package/dist/runtime/spreadsheet/utils/object.js +23 -8
- package/dist/runtime/spreadsheet/utils/options.d.ts +9 -7
- package/dist/runtime/spreadsheet/utils/options.js +24 -8
- package/dist/runtime/spreadsheet/utils/references/candidates.js +11 -5
- package/dist/runtime/spreadsheet/utils/references/guards.d.ts +3 -3
- package/dist/runtime/spreadsheet/utils/references/guards.js +10 -6
- package/dist/runtime/spreadsheet/utils/references/resolutions.d.ts +7 -7
- package/dist/runtime/spreadsheet/utils/references/resolutions.js +60 -41
- package/dist/runtime/spreadsheet/utils/references/shared.d.ts +2 -1
- package/dist/runtime/spreadsheet/utils/references/shared.js +16 -6
- package/dist/runtime/spreadsheet/utils/references/sources.d.ts +5 -5
- package/dist/runtime/spreadsheet/utils/references/sources.js +11 -7
- package/dist/runtime/spreadsheet/utils/rows/headers.js +2 -2
- package/dist/runtime/spreadsheet/utils/rows/matching.d.ts +1 -2
- package/dist/runtime/spreadsheet/utils/rows/matching.js +79 -39
- package/dist/runtime/spreadsheet/utils/rows/parsing.d.ts +2 -3
- package/dist/runtime/spreadsheet/utils/rows/parsing.js +72 -42
- package/dist/runtime/spreadsheet/utils/rows/shared.d.ts +11 -12
- package/dist/runtime/spreadsheet/utils/rows/shared.js +133 -83
- package/dist/runtime/spreadsheet/utils/rows/summary.js +3 -3
- package/dist/runtime/spreadsheet/utils/source/core.js +22 -11
- package/dist/runtime/spreadsheet/utils/validation/core.d.ts +2 -2
- package/dist/runtime/spreadsheet/utils/validation/core.js +107 -88
- package/dist/runtime/table/builders/index.d.ts +1 -1
- package/dist/runtime/table/builders/index.js +24 -20
- package/dist/runtime/table/components/actions/{RowActions.d.vue.ts → row-actions.d.vue.ts} +7 -2
- package/dist/runtime/table/components/actions/row-actions.vue +111 -0
- package/dist/runtime/table/components/actions/{RowActions.vue.d.ts → row-actions.vue.d.ts} +7 -2
- package/dist/runtime/table/components/actions/{TableRowScopeProvider.d.vue.ts → table-row-scope-provider.d.vue.ts} +1 -1
- package/dist/runtime/table/components/actions/{TableRowScopeProvider.vue → table-row-scope-provider.vue} +1 -3
- package/dist/runtime/table/components/actions/{TableRowScopeProvider.vue.d.ts → table-row-scope-provider.vue.d.ts} +1 -1
- package/dist/runtime/table/components/{filters/panel/FilterPanel.d.vue.ts → data-list/data-list-actions-dropdown.d.vue.ts} +9 -8
- package/dist/runtime/table/components/data-list/data-list-actions-dropdown.vue +57 -0
- package/dist/runtime/table/components/{filters/panel/FilterPanel.vue.d.ts → data-list/data-list-actions-dropdown.vue.d.ts} +9 -8
- package/dist/runtime/table/components/data-list/data-list-actions-toolbar.d.vue.ts +15 -0
- package/dist/runtime/table/components/data-list/data-list-actions-toolbar.vue +23 -0
- package/dist/runtime/table/components/data-list/data-list-actions-toolbar.vue.d.ts +15 -0
- package/dist/runtime/table/components/data-list/{DataListAddFilter.vue → data-list-add-filter.vue} +1 -1
- package/dist/runtime/table/components/data-list/{DataListColumnPanel.d.vue.ts → data-list-column-panel.d.vue.ts} +6 -2
- package/dist/runtime/table/components/data-list/data-list-column-panel.vue +26 -0
- package/dist/runtime/table/components/data-list/{DataListColumnPanel.vue.d.ts → data-list-column-panel.vue.d.ts} +6 -2
- package/dist/runtime/table/components/data-list/{DataListContent.d.vue.ts → data-list-content.d.vue.ts} +7 -4
- package/dist/runtime/table/components/data-list/{DataListContent.vue → data-list-content.vue} +45 -17
- package/dist/runtime/table/components/data-list/{DataListContent.vue.d.ts → data-list-content.vue.d.ts} +7 -4
- package/dist/runtime/table/components/data-list/{DataListDefault.d.vue.ts → data-list-default.d.vue.ts} +20 -20
- package/dist/runtime/table/components/data-list/{DataListDefault.vue → data-list-default.vue} +32 -23
- package/dist/runtime/table/components/data-list/{DataListDefault.vue.d.ts → data-list-default.vue.d.ts} +20 -20
- package/dist/runtime/table/components/data-list/{DataListFilterPanel.d.vue.ts → data-list-filter-panel.d.vue.ts} +6 -1
- package/dist/runtime/table/components/data-list/data-list-filter-panel.vue +37 -0
- package/dist/runtime/table/components/data-list/{DataListFilterPanel.vue.d.ts → data-list-filter-panel.vue.d.ts} +6 -1
- package/dist/runtime/table/components/data-list/{DataListFilterTags.d.vue.ts → data-list-filter-tags.d.vue.ts} +9 -6
- package/dist/runtime/table/components/data-list/{DataListFilterTags.vue → data-list-filter-tags.vue} +7 -2
- package/dist/runtime/table/components/data-list/{DataListFilterTags.vue.d.ts → data-list-filter-tags.vue.d.ts} +9 -6
- package/dist/runtime/table/components/data-list/{DataListGrid.d.vue.ts → data-list-grid.d.vue.ts} +3 -1
- package/dist/runtime/table/components/data-list/{DataListGrid.vue → data-list-grid.vue} +7 -2
- package/dist/runtime/table/components/data-list/{DataListGrid.vue.d.ts → data-list-grid.vue.d.ts} +3 -1
- package/dist/runtime/table/components/data-list/{DataListInfiniteLoader.d.vue.ts → data-list-infinite-loader.d.vue.ts} +12 -12
- package/dist/runtime/table/components/data-list/{DataListInfiniteLoader.vue → data-list-infinite-loader.vue} +15 -3
- package/dist/runtime/table/components/data-list/{DataListInfiniteLoader.vue.d.ts → data-list-infinite-loader.vue.d.ts} +12 -12
- package/dist/runtime/table/components/data-list/{DataListLayoutSwitch.d.vue.ts → data-list-layout-switch.d.vue.ts} +5 -2
- package/dist/runtime/table/components/data-list/{DataListLayoutSwitch.vue → data-list-layout-switch.vue} +31 -9
- package/dist/runtime/table/components/data-list/{DataListLayoutSwitch.vue.d.ts → data-list-layout-switch.vue.d.ts} +5 -2
- package/dist/runtime/table/components/data-list/{DataListPagination.d.vue.ts → data-list-pagination.d.vue.ts} +8 -7
- package/dist/runtime/table/components/data-list/{DataListPagination.vue → data-list-pagination.vue} +4 -3
- package/dist/runtime/table/components/data-list/{DataListPagination.vue.d.ts → data-list-pagination.vue.d.ts} +8 -7
- package/dist/runtime/table/components/data-list/{DataListRefresh.d.vue.ts → data-list-refresh.d.vue.ts} +2 -1
- package/dist/runtime/table/components/data-list/{DataListRefresh.vue → data-list-refresh.vue} +26 -7
- package/dist/runtime/table/components/data-list/{DataListRefresh.vue.d.ts → data-list-refresh.vue.d.ts} +2 -1
- package/dist/runtime/table/components/data-list/{DataListResultCount.d.vue.ts → data-list-result-count.d.vue.ts} +2 -1
- package/dist/runtime/table/components/data-list/{DataListResultCount.vue → data-list-result-count.vue} +9 -2
- package/dist/runtime/table/components/data-list/{DataListResultCount.vue.d.ts → data-list-result-count.vue.d.ts} +2 -1
- package/dist/runtime/table/components/data-list/{DataListRoot.d.vue.ts → data-list-root.d.vue.ts} +5 -4
- package/dist/runtime/table/components/data-list/{DataListRoot.vue → data-list-root.vue} +30 -9
- package/dist/runtime/table/components/data-list/{DataListRoot.vue.d.ts → data-list-root.vue.d.ts} +5 -4
- package/dist/runtime/table/components/data-list/{DataListSearch.d.vue.ts → data-list-search.d.vue.ts} +2 -1
- package/dist/runtime/table/components/data-list/{DataListSearch.vue → data-list-search.vue} +8 -2
- package/dist/runtime/table/components/data-list/{DataListSearch.vue.d.ts → data-list-search.vue.d.ts} +2 -1
- package/dist/runtime/table/components/data-list/data-list-selection-actions.d.vue.ts +36 -0
- package/dist/runtime/table/components/data-list/data-list-selection-actions.vue +242 -0
- package/dist/runtime/table/components/data-list/data-list-selection-actions.vue.d.ts +36 -0
- package/dist/runtime/table/components/data-list/{DataListSortMenu.d.vue.ts → data-list-sort-menu.d.vue.ts} +11 -7
- package/dist/runtime/table/components/data-list/data-list-sort-menu.vue +187 -0
- package/dist/runtime/table/components/data-list/{DataListSortMenu.vue.d.ts → data-list-sort-menu.vue.d.ts} +11 -7
- package/dist/runtime/table/components/data-list/{DataListTable.d.vue.ts → data-list-table.d.vue.ts} +3 -1
- package/dist/runtime/table/components/data-list/{DataListTable.vue → data-list-table.vue} +7 -2
- package/dist/runtime/table/components/data-list/{DataListTable.vue.d.ts → data-list-table.vue.d.ts} +3 -1
- package/dist/runtime/table/components/data-list/sort-menu-panel.d.vue.ts +18 -0
- package/dist/runtime/table/components/data-list/sort-menu-panel.vue +86 -0
- package/dist/runtime/table/components/data-list/sort-menu-panel.vue.d.ts +18 -0
- package/dist/runtime/table/components/{DataList.d.vue.ts → data-list.d.vue.ts} +6 -5
- package/dist/runtime/table/components/{DataList.vue → data-list.vue} +4 -3
- package/dist/runtime/table/components/{DataList.vue.d.ts → data-list.vue.d.ts} +6 -5
- package/dist/runtime/table/components/drawers/{ColumnPanel.d.vue.ts → column-panel.d.vue.ts} +4 -2
- package/dist/runtime/table/components/drawers/column-panel.vue +431 -0
- package/dist/runtime/table/components/drawers/{ColumnPanel.vue.d.ts → column-panel.vue.d.ts} +4 -2
- package/dist/runtime/table/components/filters/panel/{BooleanFilterPanelField.d.vue.ts → boolean-filter-panel-field.d.vue.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/boolean-filter-panel-field.vue +69 -0
- package/dist/runtime/table/components/filters/panel/{BooleanFilterPanelField.vue.d.ts → boolean-filter-panel-field.vue.d.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{DateFilterPanelField.d.vue.ts → date-filter-panel-field.d.vue.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{DateFilterPanelField.vue → date-filter-panel-field.vue} +44 -19
- package/dist/runtime/table/components/filters/panel/{DateFilterPanelField.vue.d.ts → date-filter-panel-field.vue.d.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/filter-panel-chips.d.vue.ts +23 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-chips.vue +74 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-chips.vue.d.ts +23 -0
- package/dist/runtime/table/components/filters/panel/{FilterPanelFieldShell.d.vue.ts → filter-panel-field-shell.d.vue.ts} +4 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-field-shell.vue +56 -0
- package/dist/runtime/table/components/filters/panel/{FilterPanelFieldShell.vue.d.ts → filter-panel-field-shell.vue.d.ts} +4 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-fields.d.vue.ts +8 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-fields.vue +46 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-fields.vue.d.ts +8 -0
- package/dist/runtime/table/components/filters/panel/{FilterPanelInputTrigger.d.vue.ts → filter-panel-input-trigger.d.vue.ts} +2 -0
- package/dist/runtime/table/components/filters/panel/filter-panel-input-trigger.vue +26 -0
- package/dist/runtime/table/components/filters/panel/{FilterPanelInputTrigger.vue.d.ts → filter-panel-input-trigger.vue.d.ts} +2 -0
- package/dist/runtime/table/components/filters/panel/filter-panel.d.vue.ts +35 -0
- package/dist/runtime/table/components/filters/panel/filter-panel.vue +330 -0
- package/dist/runtime/table/components/filters/panel/filter-panel.vue.d.ts +35 -0
- package/dist/runtime/table/components/filters/panel/{NumberFilterPanelField.d.vue.ts → number-filter-panel-field.d.vue.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{NumberFilterPanelField.vue → number-filter-panel-field.vue} +37 -20
- package/dist/runtime/table/components/filters/panel/{NumberFilterPanelField.vue.d.ts → number-filter-panel-field.vue.d.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{OptionFilterPanelField.d.vue.ts → option-filter-panel-field.d.vue.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{OptionFilterPanelField.vue → option-filter-panel-field.vue} +75 -20
- package/dist/runtime/table/components/filters/panel/{OptionFilterPanelField.vue.d.ts → option-filter-panel-field.vue.d.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/registry.js +6 -6
- package/dist/runtime/table/components/filters/panel/{TextFilterPanelField.d.vue.ts → text-filter-panel-field.d.vue.ts} +3 -1
- package/dist/runtime/table/components/filters/panel/{TextFilterPanelField.vue → text-filter-panel-field.vue} +23 -11
- package/dist/runtime/table/components/filters/panel/{TextFilterPanelField.vue.d.ts → text-filter-panel-field.vue.d.ts} +3 -1
- package/dist/runtime/table/components/filters/shared/{DynamicFilterPicker.vue → dynamic-filter-picker.vue} +100 -31
- package/dist/runtime/table/components/filters/shared/{FilterMatchModeButton.d.vue.ts → filter-match-mode-button.d.vue.ts} +5 -4
- package/dist/runtime/table/components/filters/shared/filter-match-mode-button.vue +120 -0
- package/dist/runtime/table/components/filters/shared/{FilterMatchModeButton.vue.d.ts → filter-match-mode-button.vue.d.ts} +5 -4
- package/dist/runtime/table/components/filters/shared/{FilterMatchModePanel.d.vue.ts → filter-match-mode-panel.d.vue.ts} +3 -2
- package/dist/runtime/table/components/filters/shared/filter-match-mode-panel.vue +81 -0
- package/dist/runtime/table/components/filters/shared/{FilterMatchModePanel.vue.d.ts → filter-match-mode-panel.vue.d.ts} +3 -2
- package/dist/runtime/table/components/filters/shared/{FilterOptionRow.d.vue.ts → filter-option-loading-list.d.vue.ts} +4 -8
- package/dist/runtime/table/components/filters/shared/filter-option-loading-list.vue +42 -0
- package/dist/runtime/table/components/filters/shared/{FilterOptionRow.vue.d.ts → filter-option-loading-list.vue.d.ts} +4 -8
- package/dist/runtime/table/components/filters/shared/{FilterOptionMultipleList.d.vue.ts → filter-option-multiple-list.d.vue.ts} +2 -2
- package/dist/runtime/table/components/filters/shared/filter-option-multiple-list.vue +115 -0
- package/dist/runtime/table/components/filters/shared/{FilterOptionMultipleList.vue.d.ts → filter-option-multiple-list.vue.d.ts} +2 -2
- package/dist/runtime/table/components/filters/shared/{FilterOptionPickerContent.d.vue.ts → filter-option-picker-content.d.vue.ts} +1 -1
- package/dist/runtime/table/components/filters/shared/{FilterOptionPickerContent.vue → filter-option-picker-content.vue} +32 -47
- package/dist/runtime/table/components/filters/shared/{FilterOptionPickerContent.vue.d.ts → filter-option-picker-content.vue.d.ts} +1 -1
- package/dist/runtime/table/components/filters/shared/{FilterOptionSingleList.d.vue.ts → filter-option-single-list.d.vue.ts} +2 -2
- package/dist/runtime/table/components/filters/shared/{FilterOptionSingleList.vue → filter-option-single-list.vue} +12 -4
- package/dist/runtime/table/components/filters/shared/{FilterOptionSingleList.vue.d.ts → filter-option-single-list.vue.d.ts} +2 -2
- package/dist/runtime/table/components/filters/shared/{FilterOptionTreeContent.d.vue.ts → filter-option-tree-content.d.vue.ts} +4 -4
- package/dist/runtime/table/components/filters/shared/filter-option-tree-content.vue +222 -0
- package/dist/runtime/table/components/filters/shared/{FilterOptionTreeContent.vue.d.ts → filter-option-tree-content.vue.d.ts} +4 -4
- package/dist/runtime/table/components/filters/shared/{FilterPopoverShell.vue → filter-popover-shell.vue} +9 -2
- package/dist/runtime/table/components/filters/shared/{FilterSearchablePanel.vue → filter-searchable-panel.vue} +1 -1
- package/dist/runtime/table/components/filters/shared/{FilterStageTransition.vue → filter-stage-transition.vue} +6 -2
- package/dist/runtime/table/components/filters/shared/{FilterTriggerTag.d.vue.ts → filter-trigger-tag.d.vue.ts} +8 -2
- package/dist/runtime/table/components/filters/shared/filter-trigger-tag.vue +227 -0
- package/dist/runtime/table/components/filters/shared/{FilterTriggerTag.vue.d.ts → filter-trigger-tag.vue.d.ts} +8 -2
- package/dist/runtime/{spreadsheet/components/shared/SpreadsheetValuePreview.d.vue.ts → table/components/filters/sheet/filter-sheet.d.vue.ts} +2 -3
- package/dist/runtime/table/components/filters/sheet/filter-sheet.vue +239 -0
- package/dist/runtime/{spreadsheet/components/shared/SpreadsheetValuePreview.vue.d.ts → table/components/filters/sheet/filter-sheet.vue.d.ts} +2 -3
- package/dist/runtime/table/components/filters/tags/{BooleanFilterTag.d.vue.ts → boolean-filter-tag.d.vue.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{BooleanFilterTag.vue → boolean-filter-tag.vue} +56 -39
- package/dist/runtime/table/components/filters/tags/{BooleanFilterTag.vue.d.ts → boolean-filter-tag.vue.d.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{DateFilterTag.d.vue.ts → date-filter-tag.d.vue.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{DateFilterTag.vue → date-filter-tag.vue} +138 -67
- package/dist/runtime/table/components/filters/tags/{DateFilterTag.vue.d.ts → date-filter-tag.vue.d.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{FilterTagsBar.d.vue.ts → filter-tags-bar.d.vue.ts} +6 -6
- package/dist/runtime/table/components/filters/tags/{FilterTagsBar.vue → filter-tags-bar.vue} +47 -14
- package/dist/runtime/table/components/filters/tags/{FilterTagsBar.vue.d.ts → filter-tags-bar.vue.d.ts} +6 -6
- package/dist/runtime/table/components/filters/tags/{NumberFilterTag.d.vue.ts → number-filter-tag.d.vue.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{NumberFilterTag.vue → number-filter-tag.vue} +57 -50
- package/dist/runtime/table/components/filters/tags/{NumberFilterTag.vue.d.ts → number-filter-tag.vue.d.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{OptionFilterTag.d.vue.ts → option-filter-tag.d.vue.ts} +14 -2
- package/dist/runtime/table/components/filters/tags/{OptionFilterTag.vue → option-filter-tag.vue} +93 -40
- package/dist/runtime/table/components/filters/tags/{OptionFilterTag.vue.d.ts → option-filter-tag.vue.d.ts} +14 -2
- package/dist/runtime/table/components/filters/tags/registry.js +6 -6
- package/dist/runtime/table/components/filters/tags/{TextFilterTag.d.vue.ts → text-filter-tag.d.vue.ts} +8 -1
- package/dist/runtime/table/components/filters/tags/{TextFilterTag.vue → text-filter-tag.vue} +32 -20
- package/dist/runtime/table/components/filters/tags/{TextFilterTag.vue.d.ts → text-filter-tag.vue.d.ts} +8 -1
- package/dist/runtime/table/components/grid/{GridCard.vue → grid-card.vue} +5 -5
- package/dist/runtime/table/components/grid/{GridRenderer.d.vue.ts → grid-renderer.d.vue.ts} +5 -5
- package/dist/runtime/table/components/grid/grid-renderer.vue +386 -0
- package/dist/runtime/table/components/grid/{GridRenderer.vue.d.ts → grid-renderer.vue.d.ts} +5 -5
- package/dist/runtime/table/components/grid/grid-skeleton.vue +40 -0
- package/dist/runtime/table/components/layout/{TableFooter.d.vue.ts → table-footer.d.vue.ts} +18 -12
- package/dist/runtime/table/components/layout/table-footer.vue +280 -0
- package/dist/runtime/table/components/layout/{TableFooter.vue.d.ts → table-footer.vue.d.ts} +18 -12
- package/dist/runtime/table/components/layout/{TableHeader.vue → table-header.vue} +11 -8
- package/dist/runtime/table/components/table/{TableCellEllipsis.js → table-cell-ellipsis.js} +11 -11
- package/dist/runtime/table/components/table/table-cell.d.ts +12 -0
- package/dist/runtime/table/components/table/table-cell.js +4 -0
- package/dist/runtime/table/components/table/table-column-header.d.vue.ts +25 -0
- package/dist/runtime/table/components/table/table-column-header.vue +80 -0
- package/dist/runtime/table/components/table/table-column-header.vue.d.ts +25 -0
- package/dist/runtime/table/components/table/{TableRenderer.d.vue.ts → table-empty-state.d.vue.ts} +5 -5
- package/dist/runtime/table/components/table/table-empty-state.vue +87 -0
- package/dist/runtime/table/components/table/{TableRenderer.vue.d.ts → table-empty-state.vue.d.ts} +5 -5
- package/dist/runtime/table/components/table/{TableEmptyState.d.vue.ts → table-loading-state.d.vue.ts} +2 -0
- package/dist/runtime/table/components/table/table-loading-state.vue +111 -0
- package/dist/runtime/table/components/table/{TableEmptyState.vue.d.ts → table-loading-state.vue.d.ts} +2 -0
- package/dist/runtime/table/components/table/table-overlay-scrollbars.d.vue.ts +9 -0
- package/dist/runtime/table/components/table/table-overlay-scrollbars.vue +180 -0
- package/dist/runtime/table/components/table/table-overlay-scrollbars.vue.d.ts +9 -0
- package/dist/runtime/table/components/table/table-renderer.d.vue.ts +44 -0
- package/dist/runtime/table/components/table/table-renderer.vue +844 -0
- package/dist/runtime/table/components/table/table-renderer.vue.d.ts +44 -0
- package/dist/runtime/table/components/table/table-row-actions-control.d.vue.ts +3 -0
- package/dist/runtime/table/components/table/table-row-actions-control.vue +42 -0
- package/dist/runtime/table/components/table/table-row-actions-control.vue.d.ts +3 -0
- package/dist/runtime/table/components/table/table-selection-control.d.vue.ts +11 -0
- package/dist/runtime/table/components/table/table-selection-control.vue +34 -0
- package/dist/runtime/table/components/table/table-selection-control.vue.d.ts +11 -0
- package/dist/runtime/table/components/utils/{SearchQueryInput.d.vue.ts → search-query-input.d.vue.ts} +3 -2
- package/dist/runtime/table/components/utils/{SearchQueryInput.vue → search-query-input.vue} +23 -10
- package/dist/runtime/table/components/utils/{SearchQueryInput.vue.d.ts → search-query-input.vue.d.ts} +3 -2
- package/dist/runtime/table/composables/use-data-list-breakpoint.d.ts +19 -0
- package/dist/runtime/table/composables/use-data-list-breakpoint.js +32 -0
- package/dist/runtime/table/composables/use-data-list-ui.d.ts +5 -5
- package/dist/runtime/table/composables/use-data-list-ui.js +17 -6
- package/dist/runtime/table/composables/use-data-list-viewport.js +3 -1
- package/dist/runtime/table/composables/use-filter-tag-session.d.ts +3 -3
- package/dist/runtime/table/composables/use-filter-tag-session.js +21 -9
- package/dist/runtime/table/composables/use-option-filter-editor-state.d.ts +55 -51
- package/dist/runtime/table/composables/use-option-filter-editor-state.js +139 -68
- package/dist/runtime/table/composables/use-query-state.d.ts +14 -14
- package/dist/runtime/table/composables/use-query-state.js +48 -38
- package/dist/runtime/table/composables/use-table-actions.d.ts +28 -0
- package/dist/runtime/table/composables/use-table-actions.js +111 -0
- package/dist/runtime/table/composables/use-table-api.d.ts +4 -3
- package/dist/runtime/table/composables/use-table-api.js +54 -48
- package/dist/runtime/table/composables/use-table-columns.d.ts +120 -119
- package/dist/runtime/table/composables/use-table-columns.js +125 -60
- package/dist/runtime/table/composables/use-table-controls.d.ts +33 -5
- package/dist/runtime/table/composables/use-table-controls.js +51 -9
- package/dist/runtime/table/composables/use-table-data.d.ts +8 -8
- package/dist/runtime/table/composables/use-table-data.js +230 -168
- package/dist/runtime/table/composables/use-table-filter-options.d.ts +10 -10
- package/dist/runtime/table/composables/use-table-filter-options.js +106 -82
- package/dist/runtime/table/composables/use-table-filter-presentation.d.ts +32 -26
- package/dist/runtime/table/composables/use-table-filter-presentation.js +92 -51
- package/dist/runtime/table/composables/use-table-filters.d.ts +49 -37
- package/dist/runtime/table/composables/use-table-filters.js +80 -51
- package/dist/runtime/table/composables/use-table-grid.d.ts +5 -5
- package/dist/runtime/table/composables/use-table-grid.js +17 -11
- package/dist/runtime/table/composables/use-table-internals.d.ts +1343 -1019
- package/dist/runtime/table/composables/use-table-internals.js +58 -37
- package/dist/runtime/table/composables/use-table-layout.d.ts +5 -5
- package/dist/runtime/table/composables/use-table-layout.js +34 -15
- package/dist/runtime/table/composables/use-table-pagination.d.ts +42 -19
- package/dist/runtime/table/composables/use-table-pagination.js +79 -31
- package/dist/runtime/table/composables/use-table-row-actions.d.ts +3 -3
- package/dist/runtime/table/composables/use-table-search.d.ts +3 -3
- package/dist/runtime/table/composables/use-table-search.js +4 -4
- package/dist/runtime/table/composables/use-table-selection.d.ts +19 -17
- package/dist/runtime/table/composables/use-table-selection.js +40 -22
- package/dist/runtime/table/composables/use-table-startup.d.ts +4 -4
- package/dist/runtime/table/composables/use-table-startup.js +18 -13
- package/dist/runtime/table/composables/use-table-state.d.ts +14 -14
- package/dist/runtime/table/composables/use-table-state.js +2 -2
- package/dist/runtime/table/composables/use-table-summaries.d.ts +30 -0
- package/dist/runtime/table/composables/use-table-summaries.js +223 -0
- package/dist/runtime/table/composables/use-table.d.ts +1 -1
- package/dist/runtime/table/composables/use-table.js +2 -2
- package/dist/runtime/table/composables/use-tanstack-table.d.ts +50 -0
- package/dist/runtime/table/composables/use-tanstack-table.js +64 -0
- package/dist/runtime/table/constants/grid.d.ts +3 -3
- package/dist/runtime/table/constants/grid.js +4 -4
- package/dist/runtime/table/constants/query-state.d.ts +10 -5
- package/dist/runtime/table/constants/query-state.js +7 -7
- package/dist/runtime/table/schema/index.js +5 -4
- package/dist/runtime/table/types/actions.d.ts +25 -0
- package/dist/runtime/table/types/columns.d.ts +37 -5
- package/dist/runtime/table/types/context.d.ts +1 -1
- package/dist/runtime/table/types/data-list.d.ts +199 -25
- package/dist/runtime/table/types/filters.d.ts +14 -8
- package/dist/runtime/table/types/layout.d.ts +24 -9
- package/dist/runtime/table/types/query-state.d.ts +4 -5
- package/dist/runtime/table/types/source.d.ts +15 -3
- package/dist/runtime/table/types/table-api.d.ts +15 -4
- package/dist/runtime/table/types/utils.d.ts +12 -9
- package/dist/runtime/table/utils/actions.d.ts +17 -3
- package/dist/runtime/table/utils/actions.js +69 -24
- package/dist/runtime/table/utils/builders/table-source.d.ts +60 -0
- package/dist/runtime/table/utils/builders/table-source.js +3 -0
- package/dist/runtime/table/utils/client-query.js +161 -103
- package/dist/runtime/table/utils/columns/defs.d.ts +6 -0
- package/dist/runtime/table/utils/columns/defs.js +94 -0
- package/dist/runtime/table/utils/columns/menu.d.ts +3 -2
- package/dist/runtime/table/utils/columns/menu.js +51 -59
- package/dist/runtime/table/utils/columns/render.d.ts +78 -43
- package/dist/runtime/table/utils/columns/render.js +141 -230
- package/dist/runtime/table/utils/columns/schema.d.ts +3 -3
- package/dist/runtime/table/utils/columns/schema.js +30 -21
- package/dist/runtime/table/utils/columns/state.d.ts +38 -38
- package/dist/runtime/table/utils/columns/state.js +33 -35
- package/dist/runtime/table/utils/columns/types.d.ts +49 -8
- package/dist/runtime/table/utils/columns/types.js +5 -2
- package/dist/runtime/table/utils/cursor-query.d.ts +2 -0
- package/dist/runtime/table/utils/cursor-query.js +3 -0
- package/dist/runtime/table/utils/data-list-ui.d.ts +124 -2
- package/dist/runtime/table/utils/data-list-ui.js +198 -23
- package/dist/runtime/table/utils/facets.d.ts +4 -0
- package/dist/runtime/table/utils/facets.js +34 -0
- package/dist/runtime/table/utils/filter-presentation.d.ts +16 -0
- package/dist/runtime/table/utils/filter-presentation.js +11 -0
- package/dist/runtime/table/utils/filters/common.d.ts +18 -18
- package/dist/runtime/table/utils/filters/common.js +26 -26
- package/dist/runtime/table/utils/filters/date.js +92 -65
- package/dist/runtime/table/utils/filters/editor-size.d.ts +51 -0
- package/dist/runtime/table/utils/filters/editor-size.js +57 -32
- package/dist/runtime/table/utils/filters/options.d.ts +6 -6
- package/dist/runtime/table/utils/filters/options.js +59 -41
- package/dist/runtime/table/utils/filters/presentation.d.ts +1 -1
- package/dist/runtime/table/utils/filters/presentation.js +8 -3
- package/dist/runtime/table/utils/filters/preview/date-preview.js +6 -4
- package/dist/runtime/table/utils/filters/preview/index.d.ts +1 -1
- package/dist/runtime/table/utils/filters/preview/index.js +5 -4
- package/dist/runtime/table/utils/filters/preview/number-preview.js +13 -9
- package/dist/runtime/table/utils/filters/preview/option-preview.js +27 -11
- package/dist/runtime/table/utils/filters/preview/text-preview.js +4 -3
- package/dist/runtime/table/utils/filters/preview/types.d.ts +8 -0
- package/dist/runtime/table/utils/filters/registry.js +12 -6
- package/dist/runtime/table/utils/filters/tree.d.ts +1 -1
- package/dist/runtime/table/utils/filters/tree.js +35 -24
- package/dist/runtime/table/utils/filters/ui.js +196 -191
- package/dist/runtime/table/utils/index.d.ts +4 -0
- package/dist/runtime/table/utils/index.js +4 -0
- package/dist/runtime/table/utils/pagination.d.ts +1 -1
- package/dist/runtime/table/utils/pagination.js +19 -8
- package/dist/runtime/table/utils/prefetch.d.ts +25 -0
- package/dist/runtime/table/utils/prefetch.js +272 -0
- package/dist/runtime/table/utils/query-state.d.ts +13 -1
- package/dist/runtime/table/utils/query-state.js +125 -61
- package/dist/runtime/table/utils/resolved-filters.d.ts +5 -5
- package/dist/runtime/table/utils/resolved-filters.js +10 -9
- package/dist/runtime/table/utils/rows.d.ts +2 -2
- package/dist/runtime/table/utils/rows.js +5 -4
- package/dist/runtime/table/utils/schema.d.ts +1 -1
- package/dist/runtime/table/utils/schema.js +8 -14
- package/package.json +65 -31
- package/dist/runtime/form/components/root/Form.vue +0 -312
- package/dist/runtime/form/composables/use-form-submit.d.ts +0 -23
- package/dist/runtime/form/composables/use-form-submit.js +0 -71
- package/dist/runtime/table/components/actions/RowActions.vue +0 -56
- package/dist/runtime/table/components/data-list/DataListColumnPanel.vue +0 -17
- package/dist/runtime/table/components/data-list/DataListFilterPanel.vue +0 -17
- package/dist/runtime/table/components/data-list/DataListSortMenu.vue +0 -110
- package/dist/runtime/table/components/drawers/ColumnPanel.vue +0 -379
- package/dist/runtime/table/components/filters/panel/BooleanFilterPanelField.vue +0 -108
- package/dist/runtime/table/components/filters/panel/FilterPanel.vue +0 -132
- package/dist/runtime/table/components/filters/panel/FilterPanelFieldShell.vue +0 -25
- package/dist/runtime/table/components/filters/panel/FilterPanelInputTrigger.vue +0 -22
- package/dist/runtime/table/components/filters/shared/FilterMatchModeButton.vue +0 -58
- package/dist/runtime/table/components/filters/shared/FilterMatchModePanel.vue +0 -47
- package/dist/runtime/table/components/filters/shared/FilterOptionMultipleList.vue +0 -49
- package/dist/runtime/table/components/filters/shared/FilterOptionRow.vue +0 -75
- package/dist/runtime/table/components/filters/shared/FilterOptionTreeContent.vue +0 -180
- package/dist/runtime/table/components/filters/shared/FilterTriggerTag.vue +0 -139
- package/dist/runtime/table/components/grid/GridRenderer.vue +0 -526
- package/dist/runtime/table/components/grid/GridSkeleton.vue +0 -46
- package/dist/runtime/table/components/layout/TableFooter.vue +0 -172
- package/dist/runtime/table/components/table/TableEmptyState.vue +0 -21
- package/dist/runtime/table/components/table/TableLoadingState.d.vue.ts +0 -6
- package/dist/runtime/table/components/table/TableLoadingState.vue +0 -68
- package/dist/runtime/table/components/table/TableLoadingState.vue.d.ts +0 -6
- package/dist/runtime/table/components/table/TableRenderer.vue +0 -160
- package/dist/runtime/form/components/actions/{FormActions.d.vue.ts → form-actions.d.vue.ts} +0 -0
- package/dist/runtime/form/components/actions/{FormActions.vue.d.ts → form-actions.vue.d.ts} +0 -0
- package/dist/runtime/form/components/layout/{DrawerLayout.d.vue.ts → drawer-layout.d.vue.ts} +0 -0
- package/dist/runtime/form/components/layout/{DrawerLayout.vue.d.ts → drawer-layout.vue.d.ts} +0 -0
- package/dist/runtime/form/components/layout/{FullscreenLayout.d.vue.ts → fullscreen-layout.d.vue.ts} +0 -0
- package/dist/runtime/form/components/layout/{FullscreenLayout.vue.d.ts → fullscreen-layout.vue.d.ts} +0 -0
- package/dist/runtime/form/components/layout/{ModalLayout.d.vue.ts → modal-layout.d.vue.ts} +0 -0
- package/dist/runtime/form/components/layout/{ModalLayout.vue.d.ts → modal-layout.vue.d.ts} +0 -0
- package/dist/runtime/form/components/provider/{FormOverlayHost.d.vue.ts → form-overlay-host.d.vue.ts} +0 -0
- package/dist/runtime/form/components/provider/{FormOverlayHost.vue.d.ts → form-overlay-host.vue.d.ts} +0 -0
- package/dist/runtime/form/components/provider/{FormProvider.d.vue.ts → form-provider.d.vue.ts} +0 -0
- package/dist/runtime/form/components/provider/{FormProvider.vue.d.ts → form-provider.vue.d.ts} +0 -0
- package/dist/runtime/form/components/renderer/{FormCompositeControl.d.vue.ts → form-composite-control.d.vue.ts} +0 -0
- package/dist/runtime/form/components/renderer/{FormCompositeControl.vue.d.ts → form-composite-control.vue.d.ts} +0 -0
- package/dist/runtime/form/fields/hierarchy/{SelectionCheckbox.d.vue.ts → selection-checkbox.d.vue.ts} +0 -0
- package/dist/runtime/form/fields/hierarchy/{SelectionCheckbox.vue → selection-checkbox.vue} +0 -0
- package/dist/runtime/form/fields/hierarchy/{SelectionCheckbox.vue.d.ts → selection-checkbox.vue.d.ts} +0 -0
- package/dist/runtime/form/fields/hierarchy/{SelectionRadio.d.vue.ts → selection-radio.d.vue.ts} +0 -0
- package/dist/runtime/form/fields/hierarchy/{SelectionRadio.vue.d.ts → selection-radio.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFileBar.d.vue.ts → spreadsheet-import-file-bar.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFileBar.vue → spreadsheet-import-file-bar.vue} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFileBar.vue.d.ts → spreadsheet-import-file-bar.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFooter.d.vue.ts → spreadsheet-import-footer.d.vue.ts} +2 -2
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFooter.vue → spreadsheet-import-footer.vue} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportFooter.vue.d.ts → spreadsheet-import-footer.vue.d.ts} +2 -2
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportHeader.d.vue.ts → spreadsheet-import-header.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportHeader.vue → spreadsheet-import-header.vue} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportHeader.vue.d.ts → spreadsheet-import-header.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportSidebar.d.vue.ts → spreadsheet-import-sidebar.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportSidebar.vue → spreadsheet-import-sidebar.vue} +0 -0
- package/dist/runtime/spreadsheet/components/layout/{SpreadsheetImportSidebar.vue.d.ts → spreadsheet-import-sidebar.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetRawPreviewTable.d.vue.ts → spreadsheet-raw-preview-table.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetRawPreviewTable.vue.d.ts → spreadsheet-raw-preview-table.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/shared/{SpreadsheetSummaryStats.vue → spreadsheet-summary-stats.vue} +0 -0
- package/dist/runtime/spreadsheet/components/{SpreadsheetImport.d.vue.ts → spreadsheet-import.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/{SpreadsheetImport.vue.d.ts → spreadsheet-import.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesAccordion.vue → spreadsheet-references-accordion.vue} +0 -0
- package/dist/runtime/spreadsheet/components/steps/references/{SpreadsheetReferencesSummary.vue → spreadsheet-references-summary.vue} +0 -0
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewOverflowAlert.d.vue.ts → spreadsheet-review-overflow-alert.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewOverflowAlert.vue → spreadsheet-review-overflow-alert.vue} +0 -0
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewOverflowAlert.vue.d.ts → spreadsheet-review-overflow-alert.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/review/{SpreadsheetReviewStats.vue → spreadsheet-review-stats.vue} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportMatchingStep.d.vue.ts → spreadsheet-import-matching-step.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportMatchingStep.vue.d.ts → spreadsheet-import-matching-step.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReferencesStep.d.vue.ts → spreadsheet-import-references-step.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReferencesStep.vue.d.ts → spreadsheet-import-references-step.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReviewStep.d.vue.ts → spreadsheet-import-review-step.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportReviewStep.vue.d.ts → spreadsheet-import-review-step.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportStructureStep.d.vue.ts → spreadsheet-import-structure-step.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportStructureStep.vue.d.ts → spreadsheet-import-structure-step.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportUploadStep.d.vue.ts → spreadsheet-import-upload-step.d.vue.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/{SpreadsheetImportUploadStep.vue.d.ts → spreadsheet-import-upload-step.vue.d.ts} +0 -0
- package/dist/runtime/spreadsheet/components/steps/structure/{SpreadsheetStructureSheetList.vue → spreadsheet-structure-sheet-list.vue} +0 -0
- package/dist/runtime/table/components/data-list/{DataListAddFilter.d.vue.ts → data-list-add-filter.d.vue.ts} +0 -0
- package/dist/runtime/table/components/data-list/{DataListAddFilter.vue.d.ts → data-list-add-filter.vue.d.ts} +0 -0
- package/dist/runtime/table/components/data-list/{DataListClearFilters.d.vue.ts → data-list-clear-filters.d.vue.ts} +0 -0
- package/dist/runtime/table/components/data-list/{DataListClearFilters.vue → data-list-clear-filters.vue} +0 -0
- package/dist/runtime/table/components/data-list/{DataListClearFilters.vue.d.ts → data-list-clear-filters.vue.d.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{DynamicFilterPicker.d.vue.ts → dynamic-filter-picker.d.vue.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{DynamicFilterPicker.vue.d.ts → dynamic-filter-picker.vue.d.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterPopoverShell.d.vue.ts → filter-popover-shell.d.vue.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterPopoverShell.vue.d.ts → filter-popover-shell.vue.d.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterSearchablePanel.d.vue.ts → filter-searchable-panel.d.vue.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterSearchablePanel.vue.d.ts → filter-searchable-panel.vue.d.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterStageTransition.d.vue.ts → filter-stage-transition.d.vue.ts} +0 -0
- package/dist/runtime/table/components/filters/shared/{FilterStageTransition.vue.d.ts → filter-stage-transition.vue.d.ts} +0 -0
- package/dist/runtime/table/components/grid/{GridCard.d.vue.ts → grid-card.d.vue.ts} +0 -0
- package/dist/runtime/table/components/grid/{GridCard.vue.d.ts → grid-card.vue.d.ts} +0 -0
- package/dist/runtime/table/components/grid/{GridSkeleton.d.vue.ts → grid-skeleton.d.vue.ts} +0 -0
- package/dist/runtime/table/components/grid/{GridSkeleton.vue.d.ts → grid-skeleton.vue.d.ts} +0 -0
- package/dist/runtime/table/components/layout/{TableHeader.d.vue.ts → table-header.d.vue.ts} +0 -0
- package/dist/runtime/table/components/layout/{TableHeader.vue.d.ts → table-header.vue.d.ts} +0 -0
- package/dist/runtime/table/components/table/{TableCellEllipsis.d.ts → table-cell-ellipsis.d.ts} +13 -13
|
@@ -2,146 +2,195 @@ import type { MaybeComputedRef, TableApi, TableSchemaView } from '../types/index
|
|
|
2
2
|
declare function createTableInternals<TSchema>(options: {
|
|
3
3
|
rawSchema: MaybeComputedRef<TSchema>;
|
|
4
4
|
}): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
actions: {
|
|
6
|
+
actions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
7
|
+
bulkActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
8
|
+
definitions: import("vue").ComputedRef<(import("../types/index.js").TableBulkAction<object, {
|
|
9
|
+
[x: string]: unknown;
|
|
10
|
+
}, {
|
|
11
|
+
[x: string]: unknown;
|
|
12
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
}, {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
}>)[]>;
|
|
17
|
+
execute: (definition: import("../types/index.js").TableBulkAction<object, {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
}, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
}, {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
}>) => Promise<void>;
|
|
26
|
+
runningKeys: import("vue").Ref<string[], string[]>;
|
|
27
|
+
toolbarActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
18
28
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
readonly mode: "cursor";
|
|
28
|
-
readonly cursor: null;
|
|
29
|
-
readonly pageSize: number;
|
|
30
|
-
readonly count: "exact" | "none";
|
|
31
|
-
readonly pageIndex?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
readonly mode: "offset";
|
|
34
|
-
readonly pageIndex: number;
|
|
35
|
-
readonly pageSize: number;
|
|
36
|
-
readonly count: "exact";
|
|
37
|
-
readonly cursor?: undefined;
|
|
29
|
+
controls: {
|
|
30
|
+
columnsPanelOpen: import("vue").Ref<boolean, boolean>;
|
|
31
|
+
columnsPanelSearch: import("vue").Ref<string, string>;
|
|
32
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
33
|
+
headerControls: import("vue").ComputedRef<Record<keyof import("../types/index.js").TableControlsSchema, boolean>>;
|
|
34
|
+
layoutState: import("vue").ComputedRef<{
|
|
35
|
+
active: import("../types/index.js").TableLayout;
|
|
36
|
+
available: import("../types/index.js").TableLayout[];
|
|
38
37
|
}>;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
rawControls: {
|
|
39
|
+
actions: {
|
|
40
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
41
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
42
|
+
};
|
|
43
|
+
columns: {
|
|
44
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
45
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
46
|
+
};
|
|
47
|
+
filters: {
|
|
48
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
49
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
50
|
+
};
|
|
51
|
+
layout: {
|
|
52
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
53
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
54
|
+
};
|
|
55
|
+
refresh: {
|
|
56
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
57
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
58
|
+
};
|
|
59
|
+
sort: {
|
|
60
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
61
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
setTableLayout: (layout: import("../types/index.js").TableLayout) => void;
|
|
65
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
66
|
+
tableLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
67
|
+
};
|
|
68
|
+
filterPresentation: {
|
|
69
|
+
activateDynamicFilter: (input: {
|
|
47
70
|
key: string;
|
|
48
|
-
|
|
49
|
-
|
|
71
|
+
}) => void;
|
|
72
|
+
activeDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
73
|
+
activePanelCount: import("vue").ComputedRef<number>;
|
|
74
|
+
applyPanelDraft: () => void;
|
|
75
|
+
clearPanelDraft: () => void;
|
|
76
|
+
clearPanelFilter: (input: {
|
|
50
77
|
key: string;
|
|
51
|
-
dir: "asc" | "desc";
|
|
52
|
-
} | null>;
|
|
53
|
-
filters: import("vue").WritableComputedRef<{
|
|
54
|
-
search: string;
|
|
55
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
56
|
-
}, {
|
|
57
|
-
search: string;
|
|
58
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
59
|
-
}>;
|
|
60
|
-
};
|
|
61
|
-
resolvedFilterState: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterGroup<string>>;
|
|
62
|
-
queryContent: import("./use-table-data.js").UseTableDataReturn;
|
|
63
|
-
tableApi: TableApi<TSchema>;
|
|
64
|
-
selection: {
|
|
65
|
-
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
66
|
-
rowSelection: import("vue").WritableComputedRef<{
|
|
67
|
-
[k: string]: boolean;
|
|
68
|
-
}, Record<string, boolean> | undefined>;
|
|
69
|
-
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
70
|
-
selectedRows: import("vue").ComputedRef<object[]>;
|
|
71
|
-
selectedCount: import("vue").ComputedRef<number>;
|
|
72
|
-
allSelected: import("vue").ComputedRef<boolean>;
|
|
73
|
-
partiallySelected: import("vue").ComputedRef<boolean>;
|
|
74
|
-
lastTouchedRowId: import("vue").Ref<string | null, string | null>;
|
|
75
|
-
getRowId: (params: {
|
|
76
|
-
row: import("../types/index.js").GenericObject;
|
|
77
|
-
index?: number;
|
|
78
|
-
}) => string;
|
|
79
|
-
isRowSelected: (params: {
|
|
80
|
-
rowId: string;
|
|
81
|
-
}) => boolean;
|
|
82
|
-
setRowSelection: (params: {
|
|
83
|
-
selection: Record<string, boolean>;
|
|
84
78
|
}) => void;
|
|
85
|
-
|
|
86
|
-
|
|
79
|
+
closePanel: () => void;
|
|
80
|
+
commitPanelDraft: (input?: {
|
|
81
|
+
close?: boolean;
|
|
87
82
|
}) => void;
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
dormantDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
84
|
+
dynamicSessionDefinition: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition | undefined>;
|
|
85
|
+
getPanelDraftFilterState: (input: {
|
|
86
|
+
key: string;
|
|
87
|
+
}) => {
|
|
88
|
+
key: string;
|
|
89
|
+
operator?: import("../types/index.js").TableFilterOperator | undefined;
|
|
90
|
+
value: string | number | boolean | Date | import("../types/index.js").TableFilterPrimitiveValue[] | {
|
|
91
|
+
from?: number | undefined;
|
|
92
|
+
to?: number | undefined;
|
|
93
|
+
} | {
|
|
94
|
+
from?: Date | undefined;
|
|
95
|
+
to?: Date | undefined;
|
|
96
|
+
};
|
|
97
|
+
} | undefined;
|
|
98
|
+
getPanelFilterOperator: (input: {
|
|
99
|
+
key: string;
|
|
100
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
101
|
+
hasPanelFilters: import("vue").ComputedRef<boolean>;
|
|
102
|
+
openPanel: () => void;
|
|
103
|
+
panelCommitMode: import("vue").Ref<import("../types/index.js").DataListFilterPanelCommitMode, import("../types/index.js").DataListFilterPanelCommitMode>;
|
|
104
|
+
panelDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
105
|
+
panelOpen: import("vue").Ref<boolean, boolean>;
|
|
106
|
+
panelSections: import("vue").ComputedRef<{
|
|
107
|
+
items: import("../types/index.js").TableUiFilterDefinition[];
|
|
108
|
+
label: string;
|
|
109
|
+
}[]>;
|
|
110
|
+
releaseDynamicSession: (input: {
|
|
111
|
+
key: string;
|
|
90
112
|
}) => void;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
113
|
+
resetPanelDraft: () => void;
|
|
114
|
+
resolved: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterPresentation<string>[]>;
|
|
115
|
+
setPanelCommitMode: (mode: import("../types/index.js").DataListFilterPanelCommitMode) => void;
|
|
116
|
+
setPanelFilterOperator: (input: {
|
|
117
|
+
key: string;
|
|
118
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
95
119
|
}) => void;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
120
|
+
setPanelOptionFilterValues: (input: {
|
|
121
|
+
key: string;
|
|
122
|
+
values: (string | number | boolean)[];
|
|
123
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
124
|
+
}) => void;
|
|
125
|
+
setPanelScalarFilterValue: (input: {
|
|
126
|
+
key: string;
|
|
127
|
+
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
128
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
100
129
|
}) => void;
|
|
130
|
+
tagDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
101
131
|
};
|
|
102
132
|
filters: {
|
|
103
|
-
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
104
|
-
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
105
|
-
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
106
|
-
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
107
133
|
activeUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
108
|
-
|
|
134
|
+
clearAllFilters: () => void;
|
|
135
|
+
clearFilter: (input: {
|
|
136
|
+
key: string;
|
|
137
|
+
}) => void;
|
|
138
|
+
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
139
|
+
effectiveUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
140
|
+
getActiveFilterState: (input: {
|
|
141
|
+
key: string;
|
|
142
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
143
|
+
getDefaultFilterState: (input: {
|
|
144
|
+
key: string;
|
|
145
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
146
|
+
getDefaultFilterValueForOperator: (input: {
|
|
147
|
+
key: string;
|
|
148
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
149
|
+
}) => import("../types/index.js").TableQueryStateFilterValue;
|
|
109
150
|
getDefinition: (input: {
|
|
110
151
|
key: string;
|
|
111
152
|
}) => import("../types/index.js").TableUiFilterDefinition | undefined;
|
|
112
|
-
|
|
153
|
+
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
154
|
+
getFilterOperator: (input: {
|
|
113
155
|
key: string;
|
|
114
|
-
}) => import("../types/index.js").
|
|
156
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
157
|
+
getFilterOperatorOptions: (input: {
|
|
158
|
+
key: string;
|
|
159
|
+
}) => {
|
|
160
|
+
label: string;
|
|
161
|
+
value: import("../types/index.js").TableFilterOperator;
|
|
162
|
+
}[];
|
|
115
163
|
getFilterOptionEntries: (input: {
|
|
116
164
|
key: string;
|
|
117
165
|
entries?: import("../types/index.js").TableFilterOptionEntry[];
|
|
118
|
-
facetCounts?:
|
|
166
|
+
facetCounts?: {
|
|
119
167
|
value: string | number | boolean;
|
|
120
168
|
count: number;
|
|
121
|
-
}
|
|
169
|
+
}[];
|
|
122
170
|
}) => (import("../types/index.js").TableResolvedFilterOptionEntry<import("../types/index.js").TableFilterPrimitiveValue> & {
|
|
123
171
|
value: string | number | boolean;
|
|
124
172
|
})[];
|
|
125
173
|
getFilterPreview: (input: {
|
|
126
174
|
key: string;
|
|
127
|
-
entries?:
|
|
128
|
-
label: string;
|
|
129
|
-
value: string | number | boolean;
|
|
130
|
-
}>;
|
|
131
|
-
}) => import("../utils/index.js").FilterPreviewResult;
|
|
132
|
-
getFilterOperator: (input: {
|
|
133
|
-
key: string;
|
|
134
|
-
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
135
|
-
getFilterOperatorOptions: (input: {
|
|
136
|
-
key: string;
|
|
175
|
+
entries?: import("../utils/index.js").FilterPreviewOptionEntry[];
|
|
137
176
|
}) => {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
177
|
+
active: boolean;
|
|
178
|
+
dirty: boolean;
|
|
179
|
+
count: number;
|
|
180
|
+
tags: string[];
|
|
181
|
+
entries: import("../utils/filters/preview/types.js").FilterPreviewEntry[];
|
|
182
|
+
summary: string;
|
|
183
|
+
};
|
|
184
|
+
getFilterState: (input: {
|
|
142
185
|
key: string;
|
|
143
|
-
|
|
144
|
-
|
|
186
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
187
|
+
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
188
|
+
hasActiveUiFilters: import("vue").ComputedRef<boolean>;
|
|
189
|
+
replaceFilters: (input: {
|
|
190
|
+
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
191
|
+
}) => void;
|
|
192
|
+
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
193
|
+
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
145
194
|
setFilterOperator: (input: {
|
|
146
195
|
key: string;
|
|
147
196
|
operator: import("../types/index.js").TableFilterOperator;
|
|
@@ -151,211 +200,305 @@ declare function createTableInternals<TSchema>(options: {
|
|
|
151
200
|
values: import("../types/index.js").TableFilterPrimitiveValue[];
|
|
152
201
|
operator?: import("../types/index.js").TableFilterOperator;
|
|
153
202
|
}) => void;
|
|
154
|
-
toggleOptionFilterValue: (input: {
|
|
155
|
-
key: string;
|
|
156
|
-
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
157
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
158
|
-
}) => void;
|
|
159
203
|
setScalarFilterValue: (input: {
|
|
160
204
|
key: string;
|
|
161
205
|
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
162
206
|
operator?: import("../types/index.js").TableFilterOperator;
|
|
163
207
|
}) => void;
|
|
164
|
-
|
|
208
|
+
toggleOptionFilterValue: (input: {
|
|
165
209
|
key: string;
|
|
210
|
+
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
211
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
166
212
|
}) => void;
|
|
167
|
-
clearAllFilters: () => void;
|
|
168
|
-
replaceFilters: (input: {
|
|
169
|
-
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
170
|
-
}) => void;
|
|
171
|
-
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
172
213
|
};
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
214
|
+
grid: {
|
|
215
|
+
cardsPerRow: import("vue").ComputedRef<number>;
|
|
216
|
+
columnCount: import("vue").ComputedRef<number>;
|
|
217
|
+
itemColumnSpan: import("vue").ComputedRef<number>;
|
|
218
|
+
mode: import("vue").ComputedRef<import("../types/index.js").TableGridMode>;
|
|
219
|
+
rowChunks: import("vue").ComputedRef<import("./use-table-grid.js").GridRowChunk<object>[]>;
|
|
220
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
221
|
+
};
|
|
222
|
+
layout: {
|
|
223
|
+
activeLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
224
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
225
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
226
|
+
};
|
|
227
|
+
pagination: {
|
|
228
|
+
canNextPage: import("vue").ComputedRef<boolean>;
|
|
229
|
+
canPreviousPage: import("vue").ComputedRef<boolean>;
|
|
230
|
+
currentPage: import("vue").ComputedRef<number>;
|
|
231
|
+
cursorState: import("vue").ComputedRef<{
|
|
232
|
+
hasNextPage: boolean;
|
|
233
|
+
isLoadingMore: boolean;
|
|
234
|
+
loadMoreError: unknown;
|
|
235
|
+
loadedCount: number;
|
|
236
|
+
mode: "cursor";
|
|
237
|
+
totalCount: number | null;
|
|
238
|
+
}>;
|
|
239
|
+
isLoadingMore: import("vue").ComputedRef<boolean>;
|
|
240
|
+
loadMore: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverRefetchErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverSuccessResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverLoadingErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPendingResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPlaceholderResult<unknown, unknown> | undefined>;
|
|
241
|
+
loadMoreError: import("vue").ComputedRef<unknown>;
|
|
242
|
+
loadedCount: import("vue").ComputedRef<number>;
|
|
243
|
+
mode: import("vue").ComputedRef<"none" | "offset" | "cursor">;
|
|
244
|
+
next: () => void;
|
|
245
|
+
noneState: import("vue").ComputedRef<{
|
|
246
|
+
loadedCount: number;
|
|
247
|
+
mode: "none";
|
|
248
|
+
totalCount: number | null;
|
|
249
|
+
}>;
|
|
250
|
+
offsetState: import("vue").ComputedRef<{
|
|
251
|
+
hasNextPage: boolean;
|
|
252
|
+
hasPreviousPage: boolean;
|
|
253
|
+
loadedCount: number;
|
|
254
|
+
mode: "offset";
|
|
255
|
+
pageCount: number;
|
|
256
|
+
pageIndex: number;
|
|
257
|
+
pageSize: number;
|
|
258
|
+
totalCount: number;
|
|
259
|
+
}>;
|
|
260
|
+
pageSize: import("vue").ComputedRef<number>;
|
|
261
|
+
pageSizeOptions: import("vue").ComputedRef<number[]>;
|
|
262
|
+
previous: () => void;
|
|
263
|
+
reset: () => void;
|
|
264
|
+
rowCount: import("vue").ComputedRef<number | null>;
|
|
265
|
+
setPage: (page: number) => void;
|
|
266
|
+
setPageSize: (nextPageSize: number) => void;
|
|
267
|
+
state: import("vue").ComputedRef<{
|
|
268
|
+
hasNextPage: boolean;
|
|
269
|
+
hasPreviousPage: boolean;
|
|
270
|
+
isLoadingMore: boolean;
|
|
271
|
+
loadMoreError: unknown;
|
|
272
|
+
loadedCount: number;
|
|
273
|
+
mode: "none" | "offset" | "cursor";
|
|
274
|
+
pageCount: number;
|
|
275
|
+
pageIndex: number;
|
|
276
|
+
pageSize: number;
|
|
277
|
+
totalCount: number | null;
|
|
278
|
+
}>;
|
|
279
|
+
totalPages: import("vue").ComputedRef<number>;
|
|
280
|
+
};
|
|
281
|
+
queryContent: import("./use-table-data.js").UseTableDataReturn;
|
|
282
|
+
queryState: {
|
|
283
|
+
filters: import("vue").WritableComputedRef<{
|
|
284
|
+
search: string;
|
|
285
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
286
|
+
}, {
|
|
287
|
+
search: string;
|
|
288
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
289
|
+
}>;
|
|
290
|
+
pagination: import("vue").ComputedRef<{
|
|
291
|
+
readonly mode: "none";
|
|
292
|
+
readonly count?: undefined;
|
|
293
|
+
readonly cursor?: undefined;
|
|
294
|
+
readonly pageSize?: undefined;
|
|
295
|
+
readonly pageIndex?: undefined;
|
|
296
|
+
} | {
|
|
297
|
+
readonly count: "exact" | "none";
|
|
298
|
+
readonly cursor: null;
|
|
299
|
+
readonly mode: "cursor";
|
|
300
|
+
readonly pageSize: number;
|
|
301
|
+
readonly pageIndex?: undefined;
|
|
302
|
+
} | {
|
|
303
|
+
readonly count: "exact";
|
|
304
|
+
readonly mode: "offset";
|
|
305
|
+
readonly pageIndex: number;
|
|
306
|
+
readonly pageSize: number;
|
|
307
|
+
readonly cursor?: undefined;
|
|
308
|
+
}>;
|
|
309
|
+
paginationMode: "none" | "offset" | "cursor";
|
|
310
|
+
paginationRevision: import("vue").Ref<number, number>;
|
|
311
|
+
resetPagination: () => void;
|
|
312
|
+
setOffsetPagination: (value: {
|
|
313
|
+
pageIndex: number;
|
|
314
|
+
pageSize: number;
|
|
315
|
+
}) => void;
|
|
316
|
+
sorting: import("vue").WritableComputedRef<{
|
|
317
|
+
dir: "desc" | "asc";
|
|
212
318
|
key: string;
|
|
213
|
-
}
|
|
214
|
-
setPanelFilterOperator: (input: {
|
|
319
|
+
} | null, {
|
|
215
320
|
key: string;
|
|
216
|
-
|
|
321
|
+
dir: "asc" | "desc";
|
|
322
|
+
} | null>;
|
|
323
|
+
};
|
|
324
|
+
resolvedFilterState: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterGroup<string>>;
|
|
325
|
+
schema: import("vue").ComputedRef<TableSchemaView>;
|
|
326
|
+
selection: {
|
|
327
|
+
allSelected: import("vue").ComputedRef<boolean>;
|
|
328
|
+
bulkScope: import("vue").Ref<"selection" | "all", "selection" | "all">;
|
|
329
|
+
clearSelection: () => void;
|
|
330
|
+
getRowId: (params: {
|
|
331
|
+
row: import("../types/index.js").GenericObject;
|
|
332
|
+
index?: number;
|
|
333
|
+
}) => string;
|
|
334
|
+
isRowSelected: (params: {
|
|
335
|
+
rowId: string;
|
|
336
|
+
}) => boolean;
|
|
337
|
+
lastTouchedRowId: import("vue").Ref<string | null, string | null>;
|
|
338
|
+
partiallySelected: import("vue").ComputedRef<boolean>;
|
|
339
|
+
rowSelection: import("vue").WritableComputedRef<{
|
|
340
|
+
[k: string]: boolean;
|
|
341
|
+
}, Record<string, boolean> | undefined>;
|
|
342
|
+
selectAllRows: () => void;
|
|
343
|
+
selectRows: (params: {
|
|
344
|
+
rowIds: string[];
|
|
217
345
|
}) => void;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
346
|
+
selectedCount: import("vue").ComputedRef<number>;
|
|
347
|
+
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
348
|
+
selectedRows: import("vue").ComputedRef<object[]>;
|
|
349
|
+
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
350
|
+
setBulkScope: (scope: "selection" | "all") => void;
|
|
351
|
+
setRowSelection: (params: {
|
|
352
|
+
selection: Record<string, boolean>;
|
|
222
353
|
}) => void;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
values: Array<string | number | boolean>;
|
|
226
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
354
|
+
toggleAllRows: (params: {
|
|
355
|
+
selected: boolean;
|
|
227
356
|
}) => void;
|
|
228
|
-
|
|
229
|
-
|
|
357
|
+
toggleRowSelection: (params: {
|
|
358
|
+
rowId: string;
|
|
359
|
+
selected?: boolean;
|
|
360
|
+
shiftKey?: boolean;
|
|
361
|
+
}) => void;
|
|
362
|
+
unselectRows: (params: {
|
|
363
|
+
rowIds: string[];
|
|
230
364
|
}) => void;
|
|
231
365
|
};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
366
|
+
startup: {
|
|
367
|
+
dispose: () => void;
|
|
368
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
369
|
+
isBooting: import("vue").ComputedRef<boolean>;
|
|
370
|
+
phase: import("vue").ShallowRef<"active" | "booting" | "scheduled", "active" | "booting" | "scheduled">;
|
|
371
|
+
scheduleStart: () => void;
|
|
372
|
+
start: () => void;
|
|
239
373
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
374
|
+
summaries: {
|
|
375
|
+
cell: (columnId: string) => import("./use-table-summaries.js").TableSummaryCell;
|
|
376
|
+
cells: import("vue").ShallowRef<Record<string, import("./use-table-summaries.js").TableSummaryCell>, Record<string, import("./use-table-summaries.js").TableSummaryCell>>;
|
|
377
|
+
columns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
378
|
+
count: import("vue").ComputedRef<number>;
|
|
379
|
+
enabled: import("vue").ComputedRef<boolean>;
|
|
380
|
+
format: (columnId: string) => import("../types/index.js").TableSummaryValue;
|
|
381
|
+
label: import("vue").ComputedRef<import("../types/index.js").LazyTextValue | undefined>;
|
|
382
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
383
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
384
|
+
scope: import("vue").Ref<import("../types/index.js").TableSummaryScope, import("../types/index.js").TableSummaryScope>;
|
|
385
|
+
scopes: import("vue").ComputedRef<import("../types/index.js").TableSummaryScope[]>;
|
|
386
|
+
setScope: (next: import("../types/index.js").TableSummaryScope) => void;
|
|
250
387
|
};
|
|
388
|
+
tableApi: TableApi<TSchema>;
|
|
251
389
|
tableColumns: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
sorting: {
|
|
289
|
-
id: string;
|
|
290
|
-
desc: boolean;
|
|
291
|
-
}[];
|
|
390
|
+
clearSorting: () => void;
|
|
391
|
+
columnDefs: import("vue").ComputedRef<import("../utils/index.js").DataListColumnDef[]>;
|
|
392
|
+
getMenuItems: (options: {
|
|
393
|
+
columnId: string;
|
|
394
|
+
}) => import("@nuxt/ui/runtime/components/DropdownMenu.d.vue.js").DropdownMenuItem[][];
|
|
395
|
+
getPinnedState: (options: {
|
|
396
|
+
columnId: string;
|
|
397
|
+
}) => "right" | "left" | null;
|
|
398
|
+
getSortState: (options: {
|
|
399
|
+
columnId: string;
|
|
400
|
+
}) => "desc" | "asc" | null;
|
|
401
|
+
orderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
402
|
+
reset: () => void;
|
|
403
|
+
runtimeColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
404
|
+
setOrder: (options: {
|
|
405
|
+
columnIds: string[];
|
|
406
|
+
}) => void;
|
|
407
|
+
setPinning: (options: {
|
|
408
|
+
columnId: string;
|
|
409
|
+
pinned?: "left" | "right";
|
|
410
|
+
}) => void;
|
|
411
|
+
setSortDirection: (direction: "asc" | "desc") => void;
|
|
412
|
+
setSortKey: (key?: string) => void;
|
|
413
|
+
setSorting: (sorting: {
|
|
414
|
+
key: string;
|
|
415
|
+
dir: "asc" | "desc";
|
|
416
|
+
} | null) => void;
|
|
417
|
+
setVisibility: (options: {
|
|
418
|
+
columnId: string;
|
|
419
|
+
visible: boolean;
|
|
420
|
+
}) => void;
|
|
421
|
+
sortKeys: import("vue").ComputedRef<string[]>;
|
|
422
|
+
sortingState: import("vue").ComputedRef<{
|
|
423
|
+
active: boolean;
|
|
424
|
+
dir: "desc" | "asc" | undefined;
|
|
425
|
+
key: string | undefined;
|
|
292
426
|
}>;
|
|
293
427
|
tableColumns: import("vue").ComputedRef<({
|
|
294
|
-
id: string;
|
|
295
|
-
header: () => import("vue/jsx-runtime").JSX.Element;
|
|
296
428
|
cell: ({ row }: {
|
|
297
429
|
row: {
|
|
298
430
|
id: string;
|
|
299
431
|
};
|
|
300
432
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
301
|
-
size: number;
|
|
302
|
-
enableSorting: boolean;
|
|
303
433
|
enableHiding: boolean;
|
|
304
434
|
enablePinning: boolean;
|
|
305
435
|
enableResizing: boolean;
|
|
436
|
+
enableSorting: boolean;
|
|
437
|
+
header: () => import("vue/jsx-runtime").JSX.Element;
|
|
438
|
+
id: string;
|
|
306
439
|
meta: {
|
|
307
440
|
class: {
|
|
308
|
-
th: string;
|
|
309
441
|
td: string;
|
|
442
|
+
th: string;
|
|
310
443
|
};
|
|
311
444
|
style: {
|
|
312
|
-
th: () => {
|
|
313
|
-
width: string;
|
|
314
|
-
minWidth: string;
|
|
315
|
-
maxWidth: string;
|
|
316
|
-
};
|
|
317
445
|
td: () => {
|
|
318
|
-
|
|
446
|
+
maxWidth: string;
|
|
319
447
|
minWidth: string;
|
|
448
|
+
width: string;
|
|
449
|
+
};
|
|
450
|
+
th: () => {
|
|
320
451
|
maxWidth: string;
|
|
452
|
+
minWidth: string;
|
|
453
|
+
width: string;
|
|
321
454
|
};
|
|
322
455
|
};
|
|
323
456
|
};
|
|
457
|
+
size: number;
|
|
324
458
|
} | {
|
|
325
|
-
id: string;
|
|
326
|
-
header: () => null;
|
|
327
459
|
cell: ({ row }: {
|
|
328
460
|
row: {
|
|
329
461
|
original: import("../types/index.js").GenericObject;
|
|
330
462
|
index: number;
|
|
331
463
|
};
|
|
332
464
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
333
|
-
size: number;
|
|
334
|
-
enableSorting: boolean;
|
|
335
465
|
enableHiding: boolean;
|
|
336
466
|
enablePinning: boolean;
|
|
337
467
|
enableResizing: boolean;
|
|
468
|
+
enableSorting: boolean;
|
|
469
|
+
header: () => null;
|
|
470
|
+
id: string;
|
|
338
471
|
meta: {
|
|
339
472
|
class: {
|
|
340
|
-
th: string;
|
|
341
473
|
td: string;
|
|
474
|
+
th: string;
|
|
342
475
|
};
|
|
343
476
|
style: {
|
|
344
|
-
th: () => {
|
|
345
|
-
width: string;
|
|
346
|
-
minWidth: string;
|
|
347
|
-
maxWidth: string;
|
|
348
|
-
};
|
|
349
477
|
td: () => {
|
|
350
|
-
|
|
478
|
+
maxWidth: string;
|
|
351
479
|
minWidth: string;
|
|
480
|
+
width: string;
|
|
481
|
+
};
|
|
482
|
+
th: () => {
|
|
352
483
|
maxWidth: string;
|
|
484
|
+
minWidth: string;
|
|
485
|
+
width: string;
|
|
353
486
|
};
|
|
354
487
|
};
|
|
355
488
|
};
|
|
489
|
+
size: number;
|
|
356
490
|
} | {
|
|
357
|
-
id: string;
|
|
358
491
|
accessorFn: ((row: import("../types/index.js").GenericObject) => unknown) | undefined;
|
|
492
|
+
cell: ({ row }: {
|
|
493
|
+
row: {
|
|
494
|
+
original: import("../types/index.js").GenericObject;
|
|
495
|
+
index: number;
|
|
496
|
+
};
|
|
497
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
498
|
+
enableHiding: boolean;
|
|
499
|
+
enablePinning: boolean;
|
|
500
|
+
enableResizing: boolean;
|
|
501
|
+
enableSorting: boolean;
|
|
359
502
|
header: ({ column: tableColumn, header, }: {
|
|
360
503
|
column: {
|
|
361
504
|
getCanHide?: () => boolean;
|
|
@@ -366,261 +509,275 @@ declare function createTableInternals<TSchema>(options: {
|
|
|
366
509
|
getResizeHandler?: () => (event: Event) => void;
|
|
367
510
|
};
|
|
368
511
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
369
|
-
|
|
370
|
-
row: {
|
|
371
|
-
original: import("../types/index.js").GenericObject;
|
|
372
|
-
index: number;
|
|
373
|
-
};
|
|
374
|
-
}) => import("vue/jsx-runtime").JSX.Element;
|
|
375
|
-
enableSorting: boolean;
|
|
376
|
-
enableHiding: boolean;
|
|
377
|
-
enablePinning: boolean;
|
|
378
|
-
enableResizing: boolean;
|
|
379
|
-
size: number | undefined;
|
|
380
|
-
minSize: number;
|
|
512
|
+
id: string;
|
|
381
513
|
maxSize: number | undefined;
|
|
382
514
|
meta: {
|
|
383
515
|
class: {
|
|
384
|
-
th: string;
|
|
385
516
|
td: string;
|
|
517
|
+
th: string;
|
|
386
518
|
};
|
|
387
519
|
style: {
|
|
388
|
-
|
|
520
|
+
td: ({ column: cellColumn }: {
|
|
389
521
|
column: {
|
|
390
522
|
getSize: () => number;
|
|
391
523
|
};
|
|
392
524
|
}) => {
|
|
393
|
-
width: string;
|
|
394
|
-
minWidth: string;
|
|
395
525
|
maxWidth: string;
|
|
526
|
+
minWidth: string;
|
|
527
|
+
width: string;
|
|
396
528
|
};
|
|
397
|
-
|
|
529
|
+
th: ({ column: headerColumn }: {
|
|
398
530
|
column: {
|
|
399
531
|
getSize: () => number;
|
|
400
532
|
};
|
|
401
533
|
}) => {
|
|
402
|
-
width: string;
|
|
403
|
-
minWidth: string;
|
|
404
534
|
maxWidth: string;
|
|
535
|
+
minWidth: string;
|
|
536
|
+
width: string;
|
|
405
537
|
};
|
|
406
538
|
};
|
|
407
539
|
};
|
|
540
|
+
minSize: number;
|
|
541
|
+
size: number | undefined;
|
|
408
542
|
})[]>;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
543
|
+
tableState: import("vue").Ref<{
|
|
544
|
+
columnOrder: string[];
|
|
545
|
+
columnVisibility: Record<string, boolean>;
|
|
546
|
+
columnPinning: {
|
|
547
|
+
left?: string[] | undefined;
|
|
548
|
+
right?: string[] | undefined;
|
|
549
|
+
};
|
|
550
|
+
columnSizing: Record<string, number>;
|
|
551
|
+
columnSizingInfo: {
|
|
552
|
+
startOffset: number | null;
|
|
553
|
+
startSize: number | null;
|
|
554
|
+
deltaOffset: number | null;
|
|
555
|
+
deltaPercentage: number | null;
|
|
556
|
+
isResizingColumn: false | string;
|
|
557
|
+
columnSizingStart: [string, number][];
|
|
558
|
+
};
|
|
559
|
+
sorting: {
|
|
560
|
+
id: string;
|
|
561
|
+
desc: boolean;
|
|
562
|
+
}[];
|
|
563
|
+
}, import("../utils/index.js").TableColumnState | {
|
|
564
|
+
columnOrder: string[];
|
|
565
|
+
columnVisibility: Record<string, boolean>;
|
|
566
|
+
columnPinning: {
|
|
567
|
+
left?: string[] | undefined;
|
|
568
|
+
right?: string[] | undefined;
|
|
569
|
+
};
|
|
570
|
+
columnSizing: Record<string, number>;
|
|
571
|
+
columnSizingInfo: {
|
|
572
|
+
startOffset: number | null;
|
|
573
|
+
startSize: number | null;
|
|
574
|
+
deltaOffset: number | null;
|
|
575
|
+
deltaPercentage: number | null;
|
|
576
|
+
isResizingColumn: false | string;
|
|
577
|
+
columnSizingStart: [string, number][];
|
|
578
|
+
};
|
|
579
|
+
sorting: {
|
|
580
|
+
id: string;
|
|
581
|
+
desc: boolean;
|
|
582
|
+
}[];
|
|
437
583
|
}>;
|
|
438
|
-
sortKeys: import("vue").ComputedRef<string[]>;
|
|
439
|
-
setSorting: (sorting: {
|
|
440
|
-
key: string;
|
|
441
|
-
dir: "asc" | "desc";
|
|
442
|
-
} | null) => void;
|
|
443
|
-
setSortKey: (key?: string) => void;
|
|
444
|
-
setSortDirection: (direction: "asc" | "desc") => void;
|
|
445
|
-
clearSorting: () => void;
|
|
446
584
|
toggleSorting: (key: string) => void;
|
|
447
|
-
|
|
448
|
-
pagination: {
|
|
449
|
-
mode: import("vue").ComputedRef<"offset" | "cursor" | "none">;
|
|
450
|
-
rowCount: import("vue").ComputedRef<number | null>;
|
|
451
|
-
loadedCount: import("vue").ComputedRef<number>;
|
|
452
|
-
currentPage: import("vue").ComputedRef<number>;
|
|
453
|
-
pageSize: import("vue").ComputedRef<number>;
|
|
454
|
-
totalPages: import("vue").ComputedRef<number>;
|
|
455
|
-
canPreviousPage: import("vue").ComputedRef<boolean>;
|
|
456
|
-
canNextPage: import("vue").ComputedRef<boolean>;
|
|
457
|
-
isLoadingMore: import("vue").ComputedRef<boolean>;
|
|
458
|
-
loadMoreError: import("vue").ComputedRef<unknown>;
|
|
459
|
-
state: import("vue").ComputedRef<{
|
|
460
|
-
mode: "offset" | "cursor" | "none";
|
|
461
|
-
pageIndex: number;
|
|
462
|
-
pageSize: number;
|
|
463
|
-
pageCount: number;
|
|
464
|
-
loadedCount: number;
|
|
465
|
-
totalCount: number | null;
|
|
466
|
-
hasNextPage: boolean;
|
|
467
|
-
hasPreviousPage: boolean;
|
|
468
|
-
isLoadingMore: boolean;
|
|
469
|
-
loadMoreError: unknown;
|
|
470
|
-
}>;
|
|
471
|
-
pageSizeOptions: import("vue").ComputedRef<number[]>;
|
|
472
|
-
setPage: (page: number) => void;
|
|
473
|
-
setPageSize: (nextPageSize: number) => void;
|
|
474
|
-
next: () => void;
|
|
475
|
-
previous: () => void;
|
|
476
|
-
reset: () => void;
|
|
477
|
-
loadMore: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverRefetchErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverSuccessResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverLoadingErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPendingResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPlaceholderResult<unknown, unknown> | undefined>;
|
|
585
|
+
visibleOrderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
478
586
|
};
|
|
479
587
|
};
|
|
480
588
|
declare function provideTableInternals(internals: TableInternals): void;
|
|
481
589
|
declare function useProvideTableInternals<TSchema>(options: {
|
|
482
590
|
rawSchema: MaybeComputedRef<TSchema>;
|
|
483
591
|
}): {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
592
|
+
actions: {
|
|
593
|
+
actions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
594
|
+
bulkActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
595
|
+
definitions: import("vue").ComputedRef<(import("../types/index.js").TableBulkAction<object, {
|
|
596
|
+
[x: string]: unknown;
|
|
597
|
+
}, {
|
|
598
|
+
[x: string]: unknown;
|
|
599
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
600
|
+
[x: string]: unknown;
|
|
601
|
+
}, {
|
|
602
|
+
[x: string]: unknown;
|
|
603
|
+
}>)[]>;
|
|
604
|
+
execute: (definition: import("../types/index.js").TableBulkAction<object, {
|
|
605
|
+
[x: string]: unknown;
|
|
606
|
+
}, {
|
|
607
|
+
[x: string]: unknown;
|
|
608
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
609
|
+
[x: string]: unknown;
|
|
610
|
+
}, {
|
|
611
|
+
[x: string]: unknown;
|
|
612
|
+
}>) => Promise<void>;
|
|
613
|
+
runningKeys: import("vue").Ref<string[], string[]>;
|
|
614
|
+
toolbarActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
497
615
|
};
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
readonly mode: "cursor";
|
|
507
|
-
readonly cursor: null;
|
|
508
|
-
readonly pageSize: number;
|
|
509
|
-
readonly count: "exact" | "none";
|
|
510
|
-
readonly pageIndex?: undefined;
|
|
511
|
-
} | {
|
|
512
|
-
readonly mode: "offset";
|
|
513
|
-
readonly pageIndex: number;
|
|
514
|
-
readonly pageSize: number;
|
|
515
|
-
readonly count: "exact";
|
|
516
|
-
readonly cursor?: undefined;
|
|
616
|
+
controls: {
|
|
617
|
+
columnsPanelOpen: import("vue").Ref<boolean, boolean>;
|
|
618
|
+
columnsPanelSearch: import("vue").Ref<string, string>;
|
|
619
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
620
|
+
headerControls: import("vue").ComputedRef<Record<keyof import("../types/index.js").TableControlsSchema, boolean>>;
|
|
621
|
+
layoutState: import("vue").ComputedRef<{
|
|
622
|
+
active: import("../types/index.js").TableLayout;
|
|
623
|
+
available: import("../types/index.js").TableLayout[];
|
|
517
624
|
}>;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
625
|
+
rawControls: {
|
|
626
|
+
actions: {
|
|
627
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
628
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
629
|
+
};
|
|
630
|
+
columns: {
|
|
631
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
632
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
633
|
+
};
|
|
634
|
+
filters: {
|
|
635
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
636
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
637
|
+
};
|
|
638
|
+
layout: {
|
|
639
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
640
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
641
|
+
};
|
|
642
|
+
refresh: {
|
|
643
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
644
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
645
|
+
};
|
|
646
|
+
sort: {
|
|
647
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
648
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
setTableLayout: (layout: import("../types/index.js").TableLayout) => void;
|
|
652
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
653
|
+
tableLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
654
|
+
};
|
|
655
|
+
filterPresentation: {
|
|
656
|
+
activateDynamicFilter: (input: {
|
|
657
|
+
key: string;
|
|
524
658
|
}) => void;
|
|
525
|
-
|
|
659
|
+
activeDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
660
|
+
activePanelCount: import("vue").ComputedRef<number>;
|
|
661
|
+
applyPanelDraft: () => void;
|
|
662
|
+
clearPanelDraft: () => void;
|
|
663
|
+
clearPanelFilter: (input: {
|
|
526
664
|
key: string;
|
|
527
|
-
|
|
528
|
-
|
|
665
|
+
}) => void;
|
|
666
|
+
closePanel: () => void;
|
|
667
|
+
commitPanelDraft: (input?: {
|
|
668
|
+
close?: boolean;
|
|
669
|
+
}) => void;
|
|
670
|
+
dormantDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
671
|
+
dynamicSessionDefinition: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition | undefined>;
|
|
672
|
+
getPanelDraftFilterState: (input: {
|
|
673
|
+
key: string;
|
|
674
|
+
}) => {
|
|
675
|
+
key: string;
|
|
676
|
+
operator?: import("../types/index.js").TableFilterOperator | undefined;
|
|
677
|
+
value: string | number | boolean | Date | import("../types/index.js").TableFilterPrimitiveValue[] | {
|
|
678
|
+
from?: number | undefined;
|
|
679
|
+
to?: number | undefined;
|
|
680
|
+
} | {
|
|
681
|
+
from?: Date | undefined;
|
|
682
|
+
to?: Date | undefined;
|
|
683
|
+
};
|
|
684
|
+
} | undefined;
|
|
685
|
+
getPanelFilterOperator: (input: {
|
|
686
|
+
key: string;
|
|
687
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
688
|
+
hasPanelFilters: import("vue").ComputedRef<boolean>;
|
|
689
|
+
openPanel: () => void;
|
|
690
|
+
panelCommitMode: import("vue").Ref<import("../types/index.js").DataListFilterPanelCommitMode, import("../types/index.js").DataListFilterPanelCommitMode>;
|
|
691
|
+
panelDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
692
|
+
panelOpen: import("vue").Ref<boolean, boolean>;
|
|
693
|
+
panelSections: import("vue").ComputedRef<{
|
|
694
|
+
items: import("../types/index.js").TableUiFilterDefinition[];
|
|
695
|
+
label: string;
|
|
696
|
+
}[]>;
|
|
697
|
+
releaseDynamicSession: (input: {
|
|
529
698
|
key: string;
|
|
530
|
-
dir: "asc" | "desc";
|
|
531
|
-
} | null>;
|
|
532
|
-
filters: import("vue").WritableComputedRef<{
|
|
533
|
-
search: string;
|
|
534
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
535
|
-
}, {
|
|
536
|
-
search: string;
|
|
537
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
538
|
-
}>;
|
|
539
|
-
};
|
|
540
|
-
resolvedFilterState: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterGroup<string>>;
|
|
541
|
-
queryContent: import("./use-table-data.js").UseTableDataReturn;
|
|
542
|
-
tableApi: TableApi<TSchema>;
|
|
543
|
-
selection: {
|
|
544
|
-
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
545
|
-
rowSelection: import("vue").WritableComputedRef<{
|
|
546
|
-
[k: string]: boolean;
|
|
547
|
-
}, Record<string, boolean> | undefined>;
|
|
548
|
-
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
549
|
-
selectedRows: import("vue").ComputedRef<object[]>;
|
|
550
|
-
selectedCount: import("vue").ComputedRef<number>;
|
|
551
|
-
allSelected: import("vue").ComputedRef<boolean>;
|
|
552
|
-
partiallySelected: import("vue").ComputedRef<boolean>;
|
|
553
|
-
lastTouchedRowId: import("vue").Ref<string | null, string | null>;
|
|
554
|
-
getRowId: (params: {
|
|
555
|
-
row: import("../types/index.js").GenericObject;
|
|
556
|
-
index?: number;
|
|
557
|
-
}) => string;
|
|
558
|
-
isRowSelected: (params: {
|
|
559
|
-
rowId: string;
|
|
560
|
-
}) => boolean;
|
|
561
|
-
setRowSelection: (params: {
|
|
562
|
-
selection: Record<string, boolean>;
|
|
563
|
-
}) => void;
|
|
564
|
-
selectRows: (params: {
|
|
565
|
-
rowIds: string[];
|
|
566
699
|
}) => void;
|
|
567
|
-
|
|
568
|
-
|
|
700
|
+
resetPanelDraft: () => void;
|
|
701
|
+
resolved: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterPresentation<string>[]>;
|
|
702
|
+
setPanelCommitMode: (mode: import("../types/index.js").DataListFilterPanelCommitMode) => void;
|
|
703
|
+
setPanelFilterOperator: (input: {
|
|
704
|
+
key: string;
|
|
705
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
569
706
|
}) => void;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
707
|
+
setPanelOptionFilterValues: (input: {
|
|
708
|
+
key: string;
|
|
709
|
+
values: (string | number | boolean)[];
|
|
710
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
574
711
|
}) => void;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
712
|
+
setPanelScalarFilterValue: (input: {
|
|
713
|
+
key: string;
|
|
714
|
+
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
715
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
579
716
|
}) => void;
|
|
717
|
+
tagDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
580
718
|
};
|
|
581
719
|
filters: {
|
|
582
|
-
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
583
|
-
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
584
|
-
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
585
|
-
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
586
720
|
activeUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
587
|
-
|
|
721
|
+
clearAllFilters: () => void;
|
|
722
|
+
clearFilter: (input: {
|
|
723
|
+
key: string;
|
|
724
|
+
}) => void;
|
|
725
|
+
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
726
|
+
effectiveUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
727
|
+
getActiveFilterState: (input: {
|
|
728
|
+
key: string;
|
|
729
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
730
|
+
getDefaultFilterState: (input: {
|
|
731
|
+
key: string;
|
|
732
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
733
|
+
getDefaultFilterValueForOperator: (input: {
|
|
734
|
+
key: string;
|
|
735
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
736
|
+
}) => import("../types/index.js").TableQueryStateFilterValue;
|
|
588
737
|
getDefinition: (input: {
|
|
589
738
|
key: string;
|
|
590
739
|
}) => import("../types/index.js").TableUiFilterDefinition | undefined;
|
|
591
|
-
|
|
740
|
+
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
741
|
+
getFilterOperator: (input: {
|
|
592
742
|
key: string;
|
|
593
|
-
}) => import("../types/index.js").
|
|
743
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
744
|
+
getFilterOperatorOptions: (input: {
|
|
745
|
+
key: string;
|
|
746
|
+
}) => {
|
|
747
|
+
label: string;
|
|
748
|
+
value: import("../types/index.js").TableFilterOperator;
|
|
749
|
+
}[];
|
|
594
750
|
getFilterOptionEntries: (input: {
|
|
595
751
|
key: string;
|
|
596
752
|
entries?: import("../types/index.js").TableFilterOptionEntry[];
|
|
597
|
-
facetCounts?:
|
|
753
|
+
facetCounts?: {
|
|
598
754
|
value: string | number | boolean;
|
|
599
755
|
count: number;
|
|
600
|
-
}
|
|
756
|
+
}[];
|
|
601
757
|
}) => (import("../types/index.js").TableResolvedFilterOptionEntry<import("../types/index.js").TableFilterPrimitiveValue> & {
|
|
602
758
|
value: string | number | boolean;
|
|
603
759
|
})[];
|
|
604
760
|
getFilterPreview: (input: {
|
|
605
761
|
key: string;
|
|
606
|
-
entries?:
|
|
607
|
-
label: string;
|
|
608
|
-
value: string | number | boolean;
|
|
609
|
-
}>;
|
|
610
|
-
}) => import("../utils/index.js").FilterPreviewResult;
|
|
611
|
-
getFilterOperator: (input: {
|
|
612
|
-
key: string;
|
|
613
|
-
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
614
|
-
getFilterOperatorOptions: (input: {
|
|
615
|
-
key: string;
|
|
762
|
+
entries?: import("../utils/index.js").FilterPreviewOptionEntry[];
|
|
616
763
|
}) => {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
764
|
+
active: boolean;
|
|
765
|
+
dirty: boolean;
|
|
766
|
+
count: number;
|
|
767
|
+
tags: string[];
|
|
768
|
+
entries: import("../utils/filters/preview/types.js").FilterPreviewEntry[];
|
|
769
|
+
summary: string;
|
|
770
|
+
};
|
|
771
|
+
getFilterState: (input: {
|
|
621
772
|
key: string;
|
|
622
|
-
|
|
623
|
-
|
|
773
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
774
|
+
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
775
|
+
hasActiveUiFilters: import("vue").ComputedRef<boolean>;
|
|
776
|
+
replaceFilters: (input: {
|
|
777
|
+
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
778
|
+
}) => void;
|
|
779
|
+
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
780
|
+
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
624
781
|
setFilterOperator: (input: {
|
|
625
782
|
key: string;
|
|
626
783
|
operator: import("../types/index.js").TableFilterOperator;
|
|
@@ -630,211 +787,305 @@ declare function useProvideTableInternals<TSchema>(options: {
|
|
|
630
787
|
values: import("../types/index.js").TableFilterPrimitiveValue[];
|
|
631
788
|
operator?: import("../types/index.js").TableFilterOperator;
|
|
632
789
|
}) => void;
|
|
633
|
-
toggleOptionFilterValue: (input: {
|
|
634
|
-
key: string;
|
|
635
|
-
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
636
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
637
|
-
}) => void;
|
|
638
790
|
setScalarFilterValue: (input: {
|
|
639
791
|
key: string;
|
|
640
792
|
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
641
793
|
operator?: import("../types/index.js").TableFilterOperator;
|
|
642
794
|
}) => void;
|
|
643
|
-
|
|
644
|
-
key: string;
|
|
645
|
-
}) => void;
|
|
646
|
-
clearAllFilters: () => void;
|
|
647
|
-
replaceFilters: (input: {
|
|
648
|
-
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
649
|
-
}) => void;
|
|
650
|
-
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
651
|
-
};
|
|
652
|
-
filterPresentation: {
|
|
653
|
-
resolved: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterPresentation<string>[]>;
|
|
654
|
-
tagDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
655
|
-
activeDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
656
|
-
dormantDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
657
|
-
dynamicSessionDefinition: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition | undefined>;
|
|
658
|
-
panelDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
659
|
-
panelSections: import("vue").ComputedRef<{
|
|
660
|
-
label: string;
|
|
661
|
-
items: import("../types/index.js").TableUiFilterDefinition[];
|
|
662
|
-
}[]>;
|
|
663
|
-
hasPanelFilters: import("vue").ComputedRef<boolean>;
|
|
664
|
-
activePanelCount: import("vue").ComputedRef<number>;
|
|
665
|
-
panelOpen: import("vue").Ref<boolean, boolean>;
|
|
666
|
-
activateDynamicFilter: (input: {
|
|
667
|
-
key: string;
|
|
668
|
-
}) => void;
|
|
669
|
-
releaseDynamicSession: (input: {
|
|
670
|
-
key: string;
|
|
671
|
-
}) => void;
|
|
672
|
-
openPanel: () => void;
|
|
673
|
-
closePanel: () => void;
|
|
674
|
-
resetPanelDraft: () => void;
|
|
675
|
-
clearPanelDraft: () => void;
|
|
676
|
-
applyPanelDraft: () => void;
|
|
677
|
-
getPanelDraftFilterState: (input: {
|
|
678
|
-
key: string;
|
|
679
|
-
}) => {
|
|
680
|
-
key: string;
|
|
681
|
-
operator?: import("../types/index.js").TableFilterOperator | undefined;
|
|
682
|
-
value: string | number | boolean | Date | import("../types/index.js").TableFilterPrimitiveValue[] | {
|
|
683
|
-
from?: number | undefined;
|
|
684
|
-
to?: number | undefined;
|
|
685
|
-
} | {
|
|
686
|
-
from?: Date | undefined;
|
|
687
|
-
to?: Date | undefined;
|
|
688
|
-
};
|
|
689
|
-
} | undefined;
|
|
690
|
-
getPanelFilterOperator: (input: {
|
|
691
|
-
key: string;
|
|
692
|
-
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
693
|
-
setPanelFilterOperator: (input: {
|
|
694
|
-
key: string;
|
|
695
|
-
operator: import("../types/index.js").TableFilterOperator;
|
|
696
|
-
}) => void;
|
|
697
|
-
setPanelScalarFilterValue: (input: {
|
|
698
|
-
key: string;
|
|
699
|
-
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
700
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
701
|
-
}) => void;
|
|
702
|
-
setPanelOptionFilterValues: (input: {
|
|
795
|
+
toggleOptionFilterValue: (input: {
|
|
703
796
|
key: string;
|
|
704
|
-
|
|
797
|
+
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
705
798
|
operator?: import("../types/index.js").TableFilterOperator;
|
|
706
799
|
}) => void;
|
|
707
|
-
clearPanelFilter: (input: {
|
|
708
|
-
key: string;
|
|
709
|
-
}) => void;
|
|
710
800
|
};
|
|
711
801
|
grid: {
|
|
712
|
-
|
|
713
|
-
rows: import("vue").ComputedRef<object[]>;
|
|
714
|
-
rowChunks: import("vue").ComputedRef<import("./use-table-grid.js").GridRowChunk<object>[]>;
|
|
802
|
+
cardsPerRow: import("vue").ComputedRef<number>;
|
|
715
803
|
columnCount: import("vue").ComputedRef<number>;
|
|
716
804
|
itemColumnSpan: import("vue").ComputedRef<number>;
|
|
717
|
-
|
|
805
|
+
mode: import("vue").ComputedRef<import("../types/index.js").TableGridMode>;
|
|
806
|
+
rowChunks: import("vue").ComputedRef<import("./use-table-grid.js").GridRowChunk<object>[]>;
|
|
807
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
718
808
|
};
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
gridEnabled: import("vue").ComputedRef<string | boolean | (() => boolean | string) | null>;
|
|
724
|
-
layoutState: import("vue").ComputedRef<{
|
|
725
|
-
active: "table" | "grid";
|
|
726
|
-
available: import("../types/index.js").TableLayout[];
|
|
727
|
-
}>;
|
|
728
|
-
setTableLayout: (layout: import("../types/index.js").TableLayout) => void;
|
|
809
|
+
layout: {
|
|
810
|
+
activeLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
811
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
812
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
729
813
|
};
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
startSize: number | null;
|
|
742
|
-
deltaOffset: number | null;
|
|
743
|
-
deltaPercentage: number | null;
|
|
744
|
-
isResizingColumn: false | string;
|
|
745
|
-
columnSizingStart: Array<[string, number]>;
|
|
746
|
-
};
|
|
747
|
-
sorting: {
|
|
748
|
-
id: string;
|
|
749
|
-
desc: boolean;
|
|
750
|
-
}[];
|
|
751
|
-
}, import("../utils/index.js").TableColumnState | {
|
|
752
|
-
columnOrder: string[];
|
|
753
|
-
columnVisibility: Record<string, boolean>;
|
|
754
|
-
columnPinning: {
|
|
755
|
-
left?: string[] | undefined;
|
|
756
|
-
right?: string[] | undefined;
|
|
757
|
-
};
|
|
758
|
-
columnSizing: Record<string, number>;
|
|
759
|
-
columnSizingInfo: {
|
|
760
|
-
startOffset: number | null;
|
|
761
|
-
startSize: number | null;
|
|
762
|
-
deltaOffset: number | null;
|
|
763
|
-
deltaPercentage: number | null;
|
|
764
|
-
isResizingColumn: false | string;
|
|
765
|
-
columnSizingStart: Array<[string, number]>;
|
|
766
|
-
};
|
|
767
|
-
sorting: {
|
|
768
|
-
id: string;
|
|
769
|
-
desc: boolean;
|
|
770
|
-
}[];
|
|
814
|
+
pagination: {
|
|
815
|
+
canNextPage: import("vue").ComputedRef<boolean>;
|
|
816
|
+
canPreviousPage: import("vue").ComputedRef<boolean>;
|
|
817
|
+
currentPage: import("vue").ComputedRef<number>;
|
|
818
|
+
cursorState: import("vue").ComputedRef<{
|
|
819
|
+
hasNextPage: boolean;
|
|
820
|
+
isLoadingMore: boolean;
|
|
821
|
+
loadMoreError: unknown;
|
|
822
|
+
loadedCount: number;
|
|
823
|
+
mode: "cursor";
|
|
824
|
+
totalCount: number | null;
|
|
771
825
|
}>;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
826
|
+
isLoadingMore: import("vue").ComputedRef<boolean>;
|
|
827
|
+
loadMore: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverRefetchErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverSuccessResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverLoadingErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPendingResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPlaceholderResult<unknown, unknown> | undefined>;
|
|
828
|
+
loadMoreError: import("vue").ComputedRef<unknown>;
|
|
829
|
+
loadedCount: import("vue").ComputedRef<number>;
|
|
830
|
+
mode: import("vue").ComputedRef<"none" | "offset" | "cursor">;
|
|
831
|
+
next: () => void;
|
|
832
|
+
noneState: import("vue").ComputedRef<{
|
|
833
|
+
loadedCount: number;
|
|
834
|
+
mode: "none";
|
|
835
|
+
totalCount: number | null;
|
|
836
|
+
}>;
|
|
837
|
+
offsetState: import("vue").ComputedRef<{
|
|
838
|
+
hasNextPage: boolean;
|
|
839
|
+
hasPreviousPage: boolean;
|
|
840
|
+
loadedCount: number;
|
|
841
|
+
mode: "offset";
|
|
842
|
+
pageCount: number;
|
|
843
|
+
pageIndex: number;
|
|
844
|
+
pageSize: number;
|
|
845
|
+
totalCount: number;
|
|
846
|
+
}>;
|
|
847
|
+
pageSize: import("vue").ComputedRef<number>;
|
|
848
|
+
pageSizeOptions: import("vue").ComputedRef<number[]>;
|
|
849
|
+
previous: () => void;
|
|
850
|
+
reset: () => void;
|
|
851
|
+
rowCount: import("vue").ComputedRef<number | null>;
|
|
852
|
+
setPage: (page: number) => void;
|
|
853
|
+
setPageSize: (nextPageSize: number) => void;
|
|
854
|
+
state: import("vue").ComputedRef<{
|
|
855
|
+
hasNextPage: boolean;
|
|
856
|
+
hasPreviousPage: boolean;
|
|
857
|
+
isLoadingMore: boolean;
|
|
858
|
+
loadMoreError: unknown;
|
|
859
|
+
loadedCount: number;
|
|
860
|
+
mode: "none" | "offset" | "cursor";
|
|
861
|
+
pageCount: number;
|
|
862
|
+
pageIndex: number;
|
|
863
|
+
pageSize: number;
|
|
864
|
+
totalCount: number | null;
|
|
865
|
+
}>;
|
|
866
|
+
totalPages: import("vue").ComputedRef<number>;
|
|
867
|
+
};
|
|
868
|
+
queryContent: import("./use-table-data.js").UseTableDataReturn;
|
|
869
|
+
queryState: {
|
|
870
|
+
filters: import("vue").WritableComputedRef<{
|
|
871
|
+
search: string;
|
|
872
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
873
|
+
}, {
|
|
874
|
+
search: string;
|
|
875
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
876
|
+
}>;
|
|
877
|
+
pagination: import("vue").ComputedRef<{
|
|
878
|
+
readonly mode: "none";
|
|
879
|
+
readonly count?: undefined;
|
|
880
|
+
readonly cursor?: undefined;
|
|
881
|
+
readonly pageSize?: undefined;
|
|
882
|
+
readonly pageIndex?: undefined;
|
|
883
|
+
} | {
|
|
884
|
+
readonly count: "exact" | "none";
|
|
885
|
+
readonly cursor: null;
|
|
886
|
+
readonly mode: "cursor";
|
|
887
|
+
readonly pageSize: number;
|
|
888
|
+
readonly pageIndex?: undefined;
|
|
889
|
+
} | {
|
|
890
|
+
readonly count: "exact";
|
|
891
|
+
readonly mode: "offset";
|
|
892
|
+
readonly pageIndex: number;
|
|
893
|
+
readonly pageSize: number;
|
|
894
|
+
readonly cursor?: undefined;
|
|
895
|
+
}>;
|
|
896
|
+
paginationMode: "none" | "offset" | "cursor";
|
|
897
|
+
paginationRevision: import("vue").Ref<number, number>;
|
|
898
|
+
resetPagination: () => void;
|
|
899
|
+
setOffsetPagination: (value: {
|
|
900
|
+
pageIndex: number;
|
|
901
|
+
pageSize: number;
|
|
902
|
+
}) => void;
|
|
903
|
+
sorting: import("vue").WritableComputedRef<{
|
|
904
|
+
dir: "desc" | "asc";
|
|
905
|
+
key: string;
|
|
906
|
+
} | null, {
|
|
907
|
+
key: string;
|
|
908
|
+
dir: "asc" | "desc";
|
|
909
|
+
} | null>;
|
|
910
|
+
};
|
|
911
|
+
resolvedFilterState: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterGroup<string>>;
|
|
912
|
+
schema: import("vue").ComputedRef<TableSchemaView>;
|
|
913
|
+
selection: {
|
|
914
|
+
allSelected: import("vue").ComputedRef<boolean>;
|
|
915
|
+
bulkScope: import("vue").Ref<"selection" | "all", "selection" | "all">;
|
|
916
|
+
clearSelection: () => void;
|
|
917
|
+
getRowId: (params: {
|
|
918
|
+
row: import("../types/index.js").GenericObject;
|
|
919
|
+
index?: number;
|
|
920
|
+
}) => string;
|
|
921
|
+
isRowSelected: (params: {
|
|
922
|
+
rowId: string;
|
|
923
|
+
}) => boolean;
|
|
924
|
+
lastTouchedRowId: import("vue").Ref<string | null, string | null>;
|
|
925
|
+
partiallySelected: import("vue").ComputedRef<boolean>;
|
|
926
|
+
rowSelection: import("vue").WritableComputedRef<{
|
|
927
|
+
[k: string]: boolean;
|
|
928
|
+
}, Record<string, boolean> | undefined>;
|
|
929
|
+
selectAllRows: () => void;
|
|
930
|
+
selectRows: (params: {
|
|
931
|
+
rowIds: string[];
|
|
932
|
+
}) => void;
|
|
933
|
+
selectedCount: import("vue").ComputedRef<number>;
|
|
934
|
+
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
935
|
+
selectedRows: import("vue").ComputedRef<object[]>;
|
|
936
|
+
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
937
|
+
setBulkScope: (scope: "selection" | "all") => void;
|
|
938
|
+
setRowSelection: (params: {
|
|
939
|
+
selection: Record<string, boolean>;
|
|
940
|
+
}) => void;
|
|
941
|
+
toggleAllRows: (params: {
|
|
942
|
+
selected: boolean;
|
|
943
|
+
}) => void;
|
|
944
|
+
toggleRowSelection: (params: {
|
|
945
|
+
rowId: string;
|
|
946
|
+
selected?: boolean;
|
|
947
|
+
shiftKey?: boolean;
|
|
948
|
+
}) => void;
|
|
949
|
+
unselectRows: (params: {
|
|
950
|
+
rowIds: string[];
|
|
951
|
+
}) => void;
|
|
952
|
+
};
|
|
953
|
+
startup: {
|
|
954
|
+
dispose: () => void;
|
|
955
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
956
|
+
isBooting: import("vue").ComputedRef<boolean>;
|
|
957
|
+
phase: import("vue").ShallowRef<"active" | "booting" | "scheduled", "active" | "booting" | "scheduled">;
|
|
958
|
+
scheduleStart: () => void;
|
|
959
|
+
start: () => void;
|
|
960
|
+
};
|
|
961
|
+
summaries: {
|
|
962
|
+
cell: (columnId: string) => import("./use-table-summaries.js").TableSummaryCell;
|
|
963
|
+
cells: import("vue").ShallowRef<Record<string, import("./use-table-summaries.js").TableSummaryCell>, Record<string, import("./use-table-summaries.js").TableSummaryCell>>;
|
|
964
|
+
columns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
965
|
+
count: import("vue").ComputedRef<number>;
|
|
966
|
+
enabled: import("vue").ComputedRef<boolean>;
|
|
967
|
+
format: (columnId: string) => import("../types/index.js").TableSummaryValue;
|
|
968
|
+
label: import("vue").ComputedRef<import("../types/index.js").LazyTextValue | undefined>;
|
|
969
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
970
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
971
|
+
scope: import("vue").Ref<import("../types/index.js").TableSummaryScope, import("../types/index.js").TableSummaryScope>;
|
|
972
|
+
scopes: import("vue").ComputedRef<import("../types/index.js").TableSummaryScope[]>;
|
|
973
|
+
setScope: (next: import("../types/index.js").TableSummaryScope) => void;
|
|
974
|
+
};
|
|
975
|
+
tableApi: TableApi<TSchema>;
|
|
976
|
+
tableColumns: {
|
|
977
|
+
clearSorting: () => void;
|
|
978
|
+
columnDefs: import("vue").ComputedRef<import("../utils/index.js").DataListColumnDef[]>;
|
|
979
|
+
getMenuItems: (options: {
|
|
980
|
+
columnId: string;
|
|
981
|
+
}) => import("@nuxt/ui/runtime/components/DropdownMenu.d.vue.js").DropdownMenuItem[][];
|
|
982
|
+
getPinnedState: (options: {
|
|
983
|
+
columnId: string;
|
|
984
|
+
}) => "right" | "left" | null;
|
|
985
|
+
getSortState: (options: {
|
|
986
|
+
columnId: string;
|
|
987
|
+
}) => "desc" | "asc" | null;
|
|
988
|
+
orderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
989
|
+
reset: () => void;
|
|
990
|
+
runtimeColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
991
|
+
setOrder: (options: {
|
|
992
|
+
columnIds: string[];
|
|
993
|
+
}) => void;
|
|
994
|
+
setPinning: (options: {
|
|
995
|
+
columnId: string;
|
|
996
|
+
pinned?: "left" | "right";
|
|
997
|
+
}) => void;
|
|
998
|
+
setSortDirection: (direction: "asc" | "desc") => void;
|
|
999
|
+
setSortKey: (key?: string) => void;
|
|
1000
|
+
setSorting: (sorting: {
|
|
1001
|
+
key: string;
|
|
1002
|
+
dir: "asc" | "desc";
|
|
1003
|
+
} | null) => void;
|
|
1004
|
+
setVisibility: (options: {
|
|
1005
|
+
columnId: string;
|
|
1006
|
+
visible: boolean;
|
|
1007
|
+
}) => void;
|
|
1008
|
+
sortKeys: import("vue").ComputedRef<string[]>;
|
|
1009
|
+
sortingState: import("vue").ComputedRef<{
|
|
1010
|
+
active: boolean;
|
|
1011
|
+
dir: "desc" | "asc" | undefined;
|
|
1012
|
+
key: string | undefined;
|
|
1013
|
+
}>;
|
|
1014
|
+
tableColumns: import("vue").ComputedRef<({
|
|
1015
|
+
cell: ({ row }: {
|
|
1016
|
+
row: {
|
|
1017
|
+
id: string;
|
|
1018
|
+
};
|
|
1019
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1020
|
+
enableHiding: boolean;
|
|
1021
|
+
enablePinning: boolean;
|
|
784
1022
|
enableResizing: boolean;
|
|
1023
|
+
enableSorting: boolean;
|
|
1024
|
+
header: () => import("vue/jsx-runtime").JSX.Element;
|
|
1025
|
+
id: string;
|
|
785
1026
|
meta: {
|
|
786
1027
|
class: {
|
|
787
|
-
th: string;
|
|
788
1028
|
td: string;
|
|
1029
|
+
th: string;
|
|
789
1030
|
};
|
|
790
1031
|
style: {
|
|
791
|
-
th: () => {
|
|
792
|
-
width: string;
|
|
793
|
-
minWidth: string;
|
|
794
|
-
maxWidth: string;
|
|
795
|
-
};
|
|
796
1032
|
td: () => {
|
|
797
|
-
|
|
1033
|
+
maxWidth: string;
|
|
798
1034
|
minWidth: string;
|
|
1035
|
+
width: string;
|
|
1036
|
+
};
|
|
1037
|
+
th: () => {
|
|
799
1038
|
maxWidth: string;
|
|
1039
|
+
minWidth: string;
|
|
1040
|
+
width: string;
|
|
800
1041
|
};
|
|
801
1042
|
};
|
|
802
1043
|
};
|
|
1044
|
+
size: number;
|
|
803
1045
|
} | {
|
|
804
|
-
id: string;
|
|
805
|
-
header: () => null;
|
|
806
1046
|
cell: ({ row }: {
|
|
807
1047
|
row: {
|
|
808
1048
|
original: import("../types/index.js").GenericObject;
|
|
809
1049
|
index: number;
|
|
810
1050
|
};
|
|
811
1051
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
812
|
-
size: number;
|
|
813
|
-
enableSorting: boolean;
|
|
814
1052
|
enableHiding: boolean;
|
|
815
1053
|
enablePinning: boolean;
|
|
816
1054
|
enableResizing: boolean;
|
|
1055
|
+
enableSorting: boolean;
|
|
1056
|
+
header: () => null;
|
|
1057
|
+
id: string;
|
|
817
1058
|
meta: {
|
|
818
1059
|
class: {
|
|
819
|
-
th: string;
|
|
820
1060
|
td: string;
|
|
1061
|
+
th: string;
|
|
821
1062
|
};
|
|
822
1063
|
style: {
|
|
823
|
-
th: () => {
|
|
824
|
-
width: string;
|
|
825
|
-
minWidth: string;
|
|
826
|
-
maxWidth: string;
|
|
827
|
-
};
|
|
828
1064
|
td: () => {
|
|
829
|
-
|
|
1065
|
+
maxWidth: string;
|
|
830
1066
|
minWidth: string;
|
|
1067
|
+
width: string;
|
|
1068
|
+
};
|
|
1069
|
+
th: () => {
|
|
831
1070
|
maxWidth: string;
|
|
1071
|
+
minWidth: string;
|
|
1072
|
+
width: string;
|
|
832
1073
|
};
|
|
833
1074
|
};
|
|
834
1075
|
};
|
|
1076
|
+
size: number;
|
|
835
1077
|
} | {
|
|
836
|
-
id: string;
|
|
837
1078
|
accessorFn: ((row: import("../types/index.js").GenericObject) => unknown) | undefined;
|
|
1079
|
+
cell: ({ row }: {
|
|
1080
|
+
row: {
|
|
1081
|
+
original: import("../types/index.js").GenericObject;
|
|
1082
|
+
index: number;
|
|
1083
|
+
};
|
|
1084
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1085
|
+
enableHiding: boolean;
|
|
1086
|
+
enablePinning: boolean;
|
|
1087
|
+
enableResizing: boolean;
|
|
1088
|
+
enableSorting: boolean;
|
|
838
1089
|
header: ({ column: tableColumn, header, }: {
|
|
839
1090
|
column: {
|
|
840
1091
|
getCanHide?: () => boolean;
|
|
@@ -845,153 +1096,388 @@ declare function useProvideTableInternals<TSchema>(options: {
|
|
|
845
1096
|
getResizeHandler?: () => (event: Event) => void;
|
|
846
1097
|
};
|
|
847
1098
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
848
|
-
|
|
849
|
-
row: {
|
|
850
|
-
original: import("../types/index.js").GenericObject;
|
|
851
|
-
index: number;
|
|
852
|
-
};
|
|
853
|
-
}) => import("vue/jsx-runtime").JSX.Element;
|
|
854
|
-
enableSorting: boolean;
|
|
855
|
-
enableHiding: boolean;
|
|
856
|
-
enablePinning: boolean;
|
|
857
|
-
enableResizing: boolean;
|
|
858
|
-
size: number | undefined;
|
|
859
|
-
minSize: number;
|
|
1099
|
+
id: string;
|
|
860
1100
|
maxSize: number | undefined;
|
|
861
1101
|
meta: {
|
|
862
1102
|
class: {
|
|
863
|
-
th: string;
|
|
864
1103
|
td: string;
|
|
1104
|
+
th: string;
|
|
865
1105
|
};
|
|
866
1106
|
style: {
|
|
867
|
-
|
|
1107
|
+
td: ({ column: cellColumn }: {
|
|
868
1108
|
column: {
|
|
869
1109
|
getSize: () => number;
|
|
870
1110
|
};
|
|
871
1111
|
}) => {
|
|
872
|
-
width: string;
|
|
873
|
-
minWidth: string;
|
|
874
1112
|
maxWidth: string;
|
|
1113
|
+
minWidth: string;
|
|
1114
|
+
width: string;
|
|
875
1115
|
};
|
|
876
|
-
|
|
1116
|
+
th: ({ column: headerColumn }: {
|
|
877
1117
|
column: {
|
|
878
1118
|
getSize: () => number;
|
|
879
1119
|
};
|
|
880
1120
|
}) => {
|
|
881
|
-
width: string;
|
|
882
|
-
minWidth: string;
|
|
883
1121
|
maxWidth: string;
|
|
1122
|
+
minWidth: string;
|
|
1123
|
+
width: string;
|
|
884
1124
|
};
|
|
885
1125
|
};
|
|
886
1126
|
};
|
|
1127
|
+
minSize: number;
|
|
1128
|
+
size: number | undefined;
|
|
887
1129
|
})[]>;
|
|
888
|
-
|
|
889
|
-
|
|
1130
|
+
tableState: import("vue").Ref<{
|
|
1131
|
+
columnOrder: string[];
|
|
1132
|
+
columnVisibility: Record<string, boolean>;
|
|
1133
|
+
columnPinning: {
|
|
1134
|
+
left?: string[] | undefined;
|
|
1135
|
+
right?: string[] | undefined;
|
|
1136
|
+
};
|
|
1137
|
+
columnSizing: Record<string, number>;
|
|
1138
|
+
columnSizingInfo: {
|
|
1139
|
+
startOffset: number | null;
|
|
1140
|
+
startSize: number | null;
|
|
1141
|
+
deltaOffset: number | null;
|
|
1142
|
+
deltaPercentage: number | null;
|
|
1143
|
+
isResizingColumn: false | string;
|
|
1144
|
+
columnSizingStart: [string, number][];
|
|
1145
|
+
};
|
|
1146
|
+
sorting: {
|
|
1147
|
+
id: string;
|
|
1148
|
+
desc: boolean;
|
|
1149
|
+
}[];
|
|
1150
|
+
}, import("../utils/index.js").TableColumnState | {
|
|
1151
|
+
columnOrder: string[];
|
|
1152
|
+
columnVisibility: Record<string, boolean>;
|
|
1153
|
+
columnPinning: {
|
|
1154
|
+
left?: string[] | undefined;
|
|
1155
|
+
right?: string[] | undefined;
|
|
1156
|
+
};
|
|
1157
|
+
columnSizing: Record<string, number>;
|
|
1158
|
+
columnSizingInfo: {
|
|
1159
|
+
startOffset: number | null;
|
|
1160
|
+
startSize: number | null;
|
|
1161
|
+
deltaOffset: number | null;
|
|
1162
|
+
deltaPercentage: number | null;
|
|
1163
|
+
isResizingColumn: false | string;
|
|
1164
|
+
columnSizingStart: [string, number][];
|
|
1165
|
+
};
|
|
1166
|
+
sorting: {
|
|
1167
|
+
id: string;
|
|
1168
|
+
desc: boolean;
|
|
1169
|
+
}[];
|
|
1170
|
+
}>;
|
|
1171
|
+
toggleSorting: (key: string) => void;
|
|
890
1172
|
visibleOrderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
declare function useTableInternals(): {
|
|
1176
|
+
actions: {
|
|
1177
|
+
actions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
1178
|
+
bulkActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
1179
|
+
definitions: import("vue").ComputedRef<(import("../types/index.js").TableBulkAction<object, {
|
|
1180
|
+
[x: string]: unknown;
|
|
1181
|
+
}, {
|
|
1182
|
+
[x: string]: unknown;
|
|
1183
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
1184
|
+
[x: string]: unknown;
|
|
1185
|
+
}, {
|
|
1186
|
+
[x: string]: unknown;
|
|
1187
|
+
}>)[]>;
|
|
1188
|
+
execute: (definition: import("../types/index.js").TableBulkAction<object, {
|
|
1189
|
+
[x: string]: unknown;
|
|
1190
|
+
}, {
|
|
1191
|
+
[x: string]: unknown;
|
|
1192
|
+
}> | import("../types/index.js").TableToolbarAction<object, {
|
|
1193
|
+
[x: string]: unknown;
|
|
1194
|
+
}, {
|
|
1195
|
+
[x: string]: unknown;
|
|
1196
|
+
}>) => Promise<void>;
|
|
1197
|
+
runningKeys: import("vue").Ref<string[], string[]>;
|
|
1198
|
+
toolbarActions: import("vue").ComputedRef<import("./use-table-actions.js").TableActionController[]>;
|
|
1199
|
+
};
|
|
1200
|
+
controls: {
|
|
1201
|
+
columnsPanelOpen: import("vue").Ref<boolean, boolean>;
|
|
1202
|
+
columnsPanelSearch: import("vue").Ref<string, string>;
|
|
1203
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
1204
|
+
headerControls: import("vue").ComputedRef<Record<keyof import("../types/index.js").TableControlsSchema, boolean>>;
|
|
1205
|
+
layoutState: import("vue").ComputedRef<{
|
|
1206
|
+
active: import("../types/index.js").TableLayout;
|
|
1207
|
+
available: import("../types/index.js").TableLayout[];
|
|
1208
|
+
}>;
|
|
1209
|
+
rawControls: {
|
|
1210
|
+
actions: {
|
|
1211
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1212
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1213
|
+
};
|
|
1214
|
+
columns: {
|
|
1215
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1216
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1217
|
+
};
|
|
1218
|
+
filters: {
|
|
1219
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1220
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1221
|
+
};
|
|
1222
|
+
layout: {
|
|
1223
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1224
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1225
|
+
};
|
|
1226
|
+
refresh: {
|
|
1227
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1228
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1229
|
+
};
|
|
1230
|
+
sort: {
|
|
1231
|
+
grid: import("vue").ComputedRef<boolean | null>;
|
|
1232
|
+
table: import("vue").ComputedRef<boolean | null>;
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
setTableLayout: (layout: import("../types/index.js").TableLayout) => void;
|
|
1236
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
1237
|
+
tableLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
1238
|
+
};
|
|
1239
|
+
filterPresentation: {
|
|
1240
|
+
activateDynamicFilter: (input: {
|
|
1241
|
+
key: string;
|
|
895
1242
|
}) => void;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1243
|
+
activeDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1244
|
+
activePanelCount: import("vue").ComputedRef<number>;
|
|
1245
|
+
applyPanelDraft: () => void;
|
|
1246
|
+
clearPanelDraft: () => void;
|
|
1247
|
+
clearPanelFilter: (input: {
|
|
1248
|
+
key: string;
|
|
899
1249
|
}) => void;
|
|
900
|
-
|
|
901
|
-
|
|
1250
|
+
closePanel: () => void;
|
|
1251
|
+
commitPanelDraft: (input?: {
|
|
1252
|
+
close?: boolean;
|
|
902
1253
|
}) => void;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
1254
|
+
dormantDynamicDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1255
|
+
dynamicSessionDefinition: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition | undefined>;
|
|
1256
|
+
getPanelDraftFilterState: (input: {
|
|
1257
|
+
key: string;
|
|
1258
|
+
}) => {
|
|
1259
|
+
key: string;
|
|
1260
|
+
operator?: import("../types/index.js").TableFilterOperator | undefined;
|
|
1261
|
+
value: string | number | boolean | Date | import("../types/index.js").TableFilterPrimitiveValue[] | {
|
|
1262
|
+
from?: number | undefined;
|
|
1263
|
+
to?: number | undefined;
|
|
1264
|
+
} | {
|
|
1265
|
+
from?: Date | undefined;
|
|
1266
|
+
to?: Date | undefined;
|
|
1267
|
+
};
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
getPanelFilterOperator: (input: {
|
|
1270
|
+
key: string;
|
|
1271
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
1272
|
+
hasPanelFilters: import("vue").ComputedRef<boolean>;
|
|
1273
|
+
openPanel: () => void;
|
|
1274
|
+
panelCommitMode: import("vue").Ref<import("../types/index.js").DataListFilterPanelCommitMode, import("../types/index.js").DataListFilterPanelCommitMode>;
|
|
1275
|
+
panelDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1276
|
+
panelOpen: import("vue").Ref<boolean, boolean>;
|
|
1277
|
+
panelSections: import("vue").ComputedRef<{
|
|
1278
|
+
items: import("../types/index.js").TableUiFilterDefinition[];
|
|
1279
|
+
label: string;
|
|
1280
|
+
}[]>;
|
|
1281
|
+
releaseDynamicSession: (input: {
|
|
1282
|
+
key: string;
|
|
1283
|
+
}) => void;
|
|
1284
|
+
resetPanelDraft: () => void;
|
|
1285
|
+
resolved: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterPresentation<string>[]>;
|
|
1286
|
+
setPanelCommitMode: (mode: import("../types/index.js").DataListFilterPanelCommitMode) => void;
|
|
1287
|
+
setPanelFilterOperator: (input: {
|
|
1288
|
+
key: string;
|
|
1289
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
1290
|
+
}) => void;
|
|
1291
|
+
setPanelOptionFilterValues: (input: {
|
|
1292
|
+
key: string;
|
|
1293
|
+
values: (string | number | boolean)[];
|
|
1294
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
1295
|
+
}) => void;
|
|
1296
|
+
setPanelScalarFilterValue: (input: {
|
|
1297
|
+
key: string;
|
|
1298
|
+
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
1299
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
1300
|
+
}) => void;
|
|
1301
|
+
tagDefinitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1302
|
+
};
|
|
1303
|
+
filters: {
|
|
1304
|
+
activeUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
1305
|
+
clearAllFilters: () => void;
|
|
1306
|
+
clearFilter: (input: {
|
|
1307
|
+
key: string;
|
|
1308
|
+
}) => void;
|
|
1309
|
+
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1310
|
+
effectiveUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
1311
|
+
getActiveFilterState: (input: {
|
|
1312
|
+
key: string;
|
|
1313
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
1314
|
+
getDefaultFilterState: (input: {
|
|
1315
|
+
key: string;
|
|
1316
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
1317
|
+
getDefaultFilterValueForOperator: (input: {
|
|
1318
|
+
key: string;
|
|
1319
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
1320
|
+
}) => import("../types/index.js").TableQueryStateFilterValue;
|
|
1321
|
+
getDefinition: (input: {
|
|
1322
|
+
key: string;
|
|
1323
|
+
}) => import("../types/index.js").TableUiFilterDefinition | undefined;
|
|
1324
|
+
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
1325
|
+
getFilterOperator: (input: {
|
|
1326
|
+
key: string;
|
|
1327
|
+
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
1328
|
+
getFilterOperatorOptions: (input: {
|
|
1329
|
+
key: string;
|
|
1330
|
+
}) => {
|
|
1331
|
+
label: string;
|
|
1332
|
+
value: import("../types/index.js").TableFilterOperator;
|
|
1333
|
+
}[];
|
|
1334
|
+
getFilterOptionEntries: (input: {
|
|
1335
|
+
key: string;
|
|
1336
|
+
entries?: import("../types/index.js").TableFilterOptionEntry[];
|
|
1337
|
+
facetCounts?: {
|
|
1338
|
+
value: string | number | boolean;
|
|
1339
|
+
count: number;
|
|
1340
|
+
}[];
|
|
1341
|
+
}) => (import("../types/index.js").TableResolvedFilterOptionEntry<import("../types/index.js").TableFilterPrimitiveValue> & {
|
|
1342
|
+
value: string | number | boolean;
|
|
1343
|
+
})[];
|
|
1344
|
+
getFilterPreview: (input: {
|
|
1345
|
+
key: string;
|
|
1346
|
+
entries?: import("../utils/index.js").FilterPreviewOptionEntry[];
|
|
1347
|
+
}) => {
|
|
915
1348
|
active: boolean;
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
1349
|
+
dirty: boolean;
|
|
1350
|
+
count: number;
|
|
1351
|
+
tags: string[];
|
|
1352
|
+
entries: import("../utils/filters/preview/types.js").FilterPreviewEntry[];
|
|
1353
|
+
summary: string;
|
|
1354
|
+
};
|
|
1355
|
+
getFilterState: (input: {
|
|
919
1356
|
key: string;
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
1357
|
+
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
1358
|
+
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
1359
|
+
hasActiveUiFilters: import("vue").ComputedRef<boolean>;
|
|
1360
|
+
replaceFilters: (input: {
|
|
1361
|
+
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
1362
|
+
}) => void;
|
|
1363
|
+
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
1364
|
+
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
1365
|
+
setFilterOperator: (input: {
|
|
1366
|
+
key: string;
|
|
1367
|
+
operator: import("../types/index.js").TableFilterOperator;
|
|
1368
|
+
}) => void;
|
|
1369
|
+
setOptionFilterValues: (input: {
|
|
1370
|
+
key: string;
|
|
1371
|
+
values: import("../types/index.js").TableFilterPrimitiveValue[];
|
|
1372
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
1373
|
+
}) => void;
|
|
1374
|
+
setScalarFilterValue: (input: {
|
|
1375
|
+
key: string;
|
|
1376
|
+
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
1377
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
1378
|
+
}) => void;
|
|
1379
|
+
toggleOptionFilterValue: (input: {
|
|
1380
|
+
key: string;
|
|
1381
|
+
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
1382
|
+
operator?: import("../types/index.js").TableFilterOperator;
|
|
1383
|
+
}) => void;
|
|
926
1384
|
};
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
1385
|
+
grid: {
|
|
1386
|
+
cardsPerRow: import("vue").ComputedRef<number>;
|
|
1387
|
+
columnCount: import("vue").ComputedRef<number>;
|
|
1388
|
+
itemColumnSpan: import("vue").ComputedRef<number>;
|
|
1389
|
+
mode: import("vue").ComputedRef<import("../types/index.js").TableGridMode>;
|
|
1390
|
+
rowChunks: import("vue").ComputedRef<import("./use-table-grid.js").GridRowChunk<object>[]>;
|
|
1391
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
1392
|
+
};
|
|
1393
|
+
layout: {
|
|
1394
|
+
activeLayout: import("vue").WritableComputedRef<import("../types/index.js").TableLayout, import("../types/index.js").TableLayout>;
|
|
1395
|
+
gridEnabled: import("vue").ComputedRef<boolean>;
|
|
1396
|
+
tableEnabled: import("vue").ComputedRef<boolean>;
|
|
1397
|
+
};
|
|
1398
|
+
pagination: {
|
|
935
1399
|
canNextPage: import("vue").ComputedRef<boolean>;
|
|
1400
|
+
canPreviousPage: import("vue").ComputedRef<boolean>;
|
|
1401
|
+
currentPage: import("vue").ComputedRef<number>;
|
|
1402
|
+
cursorState: import("vue").ComputedRef<{
|
|
1403
|
+
hasNextPage: boolean;
|
|
1404
|
+
isLoadingMore: boolean;
|
|
1405
|
+
loadMoreError: unknown;
|
|
1406
|
+
loadedCount: number;
|
|
1407
|
+
mode: "cursor";
|
|
1408
|
+
totalCount: number | null;
|
|
1409
|
+
}>;
|
|
936
1410
|
isLoadingMore: import("vue").ComputedRef<boolean>;
|
|
1411
|
+
loadMore: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverRefetchErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverSuccessResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverLoadingErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPendingResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPlaceholderResult<unknown, unknown> | undefined>;
|
|
937
1412
|
loadMoreError: import("vue").ComputedRef<unknown>;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
pageCount: number;
|
|
1413
|
+
loadedCount: import("vue").ComputedRef<number>;
|
|
1414
|
+
mode: import("vue").ComputedRef<"none" | "offset" | "cursor">;
|
|
1415
|
+
next: () => void;
|
|
1416
|
+
noneState: import("vue").ComputedRef<{
|
|
943
1417
|
loadedCount: number;
|
|
1418
|
+
mode: "none";
|
|
944
1419
|
totalCount: number | null;
|
|
1420
|
+
}>;
|
|
1421
|
+
offsetState: import("vue").ComputedRef<{
|
|
945
1422
|
hasNextPage: boolean;
|
|
946
1423
|
hasPreviousPage: boolean;
|
|
947
|
-
|
|
948
|
-
|
|
1424
|
+
loadedCount: number;
|
|
1425
|
+
mode: "offset";
|
|
1426
|
+
pageCount: number;
|
|
1427
|
+
pageIndex: number;
|
|
1428
|
+
pageSize: number;
|
|
1429
|
+
totalCount: number;
|
|
949
1430
|
}>;
|
|
1431
|
+
pageSize: import("vue").ComputedRef<number>;
|
|
950
1432
|
pageSizeOptions: import("vue").ComputedRef<number[]>;
|
|
951
|
-
setPage: (page: number) => void;
|
|
952
|
-
setPageSize: (nextPageSize: number) => void;
|
|
953
|
-
next: () => void;
|
|
954
1433
|
previous: () => void;
|
|
955
1434
|
reset: () => void;
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
dispose: () => void;
|
|
1435
|
+
rowCount: import("vue").ComputedRef<number | null>;
|
|
1436
|
+
setPage: (page: number) => void;
|
|
1437
|
+
setPageSize: (nextPageSize: number) => void;
|
|
1438
|
+
state: import("vue").ComputedRef<{
|
|
1439
|
+
hasNextPage: boolean;
|
|
1440
|
+
hasPreviousPage: boolean;
|
|
1441
|
+
isLoadingMore: boolean;
|
|
1442
|
+
loadMoreError: unknown;
|
|
1443
|
+
loadedCount: number;
|
|
1444
|
+
mode: "none" | "offset" | "cursor";
|
|
1445
|
+
pageCount: number;
|
|
1446
|
+
pageIndex: number;
|
|
1447
|
+
pageSize: number;
|
|
1448
|
+
totalCount: number | null;
|
|
1449
|
+
}>;
|
|
1450
|
+
totalPages: import("vue").ComputedRef<number>;
|
|
973
1451
|
};
|
|
1452
|
+
queryContent: import("./use-table-data.js").UseTableDataReturn;
|
|
974
1453
|
queryState: {
|
|
1454
|
+
filters: import("vue").WritableComputedRef<{
|
|
1455
|
+
search: string;
|
|
1456
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
1457
|
+
}, {
|
|
1458
|
+
search: string;
|
|
1459
|
+
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
1460
|
+
}>;
|
|
975
1461
|
pagination: import("vue").ComputedRef<{
|
|
976
1462
|
readonly mode: "none";
|
|
1463
|
+
readonly count?: undefined;
|
|
977
1464
|
readonly cursor?: undefined;
|
|
978
1465
|
readonly pageSize?: undefined;
|
|
979
|
-
readonly count?: undefined;
|
|
980
1466
|
readonly pageIndex?: undefined;
|
|
981
1467
|
} | {
|
|
982
|
-
readonly
|
|
1468
|
+
readonly count: "exact" | "none";
|
|
983
1469
|
readonly cursor: null;
|
|
1470
|
+
readonly mode: "cursor";
|
|
984
1471
|
readonly pageSize: number;
|
|
985
|
-
readonly count: "exact" | "none";
|
|
986
1472
|
readonly pageIndex?: undefined;
|
|
987
1473
|
} | {
|
|
1474
|
+
readonly count: "exact";
|
|
988
1475
|
readonly mode: "offset";
|
|
989
1476
|
readonly pageIndex: number;
|
|
990
1477
|
readonly pageSize: number;
|
|
991
|
-
readonly count: "exact";
|
|
992
1478
|
readonly cursor?: undefined;
|
|
993
1479
|
}>;
|
|
994
|
-
paginationMode: "
|
|
1480
|
+
paginationMode: "none" | "offset" | "cursor";
|
|
995
1481
|
paginationRevision: import("vue").Ref<number, number>;
|
|
996
1482
|
resetPagination: () => void;
|
|
997
1483
|
setOffsetPagination: (value: {
|
|
@@ -999,34 +1485,19 @@ declare function useTableInternals(): {
|
|
|
999
1485
|
pageSize: number;
|
|
1000
1486
|
}) => void;
|
|
1001
1487
|
sorting: import("vue").WritableComputedRef<{
|
|
1488
|
+
dir: "desc" | "asc";
|
|
1002
1489
|
key: string;
|
|
1003
|
-
dir: "asc" | "desc";
|
|
1004
1490
|
} | null, {
|
|
1005
1491
|
key: string;
|
|
1006
1492
|
dir: "asc" | "desc";
|
|
1007
1493
|
} | null>;
|
|
1008
|
-
filters: import("vue").WritableComputedRef<{
|
|
1009
|
-
search: string;
|
|
1010
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
1011
|
-
}, {
|
|
1012
|
-
search: string;
|
|
1013
|
-
ui: import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[];
|
|
1014
|
-
}>;
|
|
1015
1494
|
};
|
|
1016
1495
|
resolvedFilterState: import("vue").ComputedRef<import("../types/index.js").TableResolvedFilterGroup<string>>;
|
|
1017
|
-
|
|
1018
|
-
tableApi: TableApi<unknown>;
|
|
1496
|
+
schema: import("vue").ComputedRef<TableSchemaView>;
|
|
1019
1497
|
selection: {
|
|
1020
|
-
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
1021
|
-
rowSelection: import("vue").WritableComputedRef<{
|
|
1022
|
-
[k: string]: boolean;
|
|
1023
|
-
}, Record<string, boolean> | undefined>;
|
|
1024
|
-
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
1025
|
-
selectedRows: import("vue").ComputedRef<object[]>;
|
|
1026
|
-
selectedCount: import("vue").ComputedRef<number>;
|
|
1027
1498
|
allSelected: import("vue").ComputedRef<boolean>;
|
|
1028
|
-
|
|
1029
|
-
|
|
1499
|
+
bulkScope: import("vue").Ref<"selection" | "all", "selection" | "all">;
|
|
1500
|
+
clearSelection: () => void;
|
|
1030
1501
|
getRowId: (params: {
|
|
1031
1502
|
row: import("../types/index.js").GenericObject;
|
|
1032
1503
|
index?: number;
|
|
@@ -1034,17 +1505,23 @@ declare function useTableInternals(): {
|
|
|
1034
1505
|
isRowSelected: (params: {
|
|
1035
1506
|
rowId: string;
|
|
1036
1507
|
}) => boolean;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1508
|
+
lastTouchedRowId: import("vue").Ref<string | null, string | null>;
|
|
1509
|
+
partiallySelected: import("vue").ComputedRef<boolean>;
|
|
1510
|
+
rowSelection: import("vue").WritableComputedRef<{
|
|
1511
|
+
[k: string]: boolean;
|
|
1512
|
+
}, Record<string, boolean> | undefined>;
|
|
1513
|
+
selectAllRows: () => void;
|
|
1040
1514
|
selectRows: (params: {
|
|
1041
1515
|
rowIds: string[];
|
|
1042
1516
|
}) => void;
|
|
1043
|
-
|
|
1044
|
-
|
|
1517
|
+
selectedCount: import("vue").ComputedRef<number>;
|
|
1518
|
+
selectedKeys: import("vue").Ref<string[], string[]>;
|
|
1519
|
+
selectedRows: import("vue").ComputedRef<object[]>;
|
|
1520
|
+
selectionEnabled: import("vue").ComputedRef<boolean>;
|
|
1521
|
+
setBulkScope: (scope: "selection" | "all") => void;
|
|
1522
|
+
setRowSelection: (params: {
|
|
1523
|
+
selection: Record<string, boolean>;
|
|
1045
1524
|
}) => void;
|
|
1046
|
-
clearSelection: () => void;
|
|
1047
|
-
selectAllRows: () => void;
|
|
1048
1525
|
toggleAllRows: (params: {
|
|
1049
1526
|
selected: boolean;
|
|
1050
1527
|
}) => void;
|
|
@@ -1053,264 +1530,146 @@ declare function useTableInternals(): {
|
|
|
1053
1530
|
selected?: boolean;
|
|
1054
1531
|
shiftKey?: boolean;
|
|
1055
1532
|
}) => void;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
searchQuery: import("vue").WritableComputedRef<string, string>;
|
|
1059
|
-
searchPlaceholder: import("vue").ComputedRef<string>;
|
|
1060
|
-
hasActiveSearch: import("vue").ComputedRef<boolean>;
|
|
1061
|
-
definitions: import("vue").ComputedRef<import("../types/index.js").TableUiFilterDefinition[]>;
|
|
1062
|
-
activeUiFilters: import("vue").ComputedRef<import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue>[]>;
|
|
1063
|
-
hasActiveUiFilters: import("vue").ComputedRef<boolean>;
|
|
1064
|
-
getDefinition: (input: {
|
|
1065
|
-
key: string;
|
|
1066
|
-
}) => import("../types/index.js").TableUiFilterDefinition | undefined;
|
|
1067
|
-
getFilterState: (input: {
|
|
1068
|
-
key: string;
|
|
1069
|
-
}) => import("../types/index.js").TableQueryStateFilterRule<string, import("../types/index.js").TableFilterOperator, import("../types/index.js").TableQueryStateFilterValue> | undefined;
|
|
1070
|
-
getFilterOptionEntries: (input: {
|
|
1071
|
-
key: string;
|
|
1072
|
-
entries?: import("../types/index.js").TableFilterOptionEntry[];
|
|
1073
|
-
facetCounts?: Array<{
|
|
1074
|
-
value: string | number | boolean;
|
|
1075
|
-
count: number;
|
|
1076
|
-
}>;
|
|
1077
|
-
}) => (import("../types/index.js").TableResolvedFilterOptionEntry<import("../types/index.js").TableFilterPrimitiveValue> & {
|
|
1078
|
-
value: string | number | boolean;
|
|
1079
|
-
})[];
|
|
1080
|
-
getFilterPreview: (input: {
|
|
1081
|
-
key: string;
|
|
1082
|
-
entries?: Array<{
|
|
1083
|
-
label: string;
|
|
1084
|
-
value: string | number | boolean;
|
|
1085
|
-
}>;
|
|
1086
|
-
}) => import("../utils/index.js").FilterPreviewResult;
|
|
1087
|
-
getFilterOperator: (input: {
|
|
1088
|
-
key: string;
|
|
1089
|
-
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
1090
|
-
getFilterOperatorOptions: (input: {
|
|
1091
|
-
key: string;
|
|
1092
|
-
}) => {
|
|
1093
|
-
value: import("../types/index.js").TableFilterOperator;
|
|
1094
|
-
label: string;
|
|
1095
|
-
}[];
|
|
1096
|
-
getDefaultFilterValueForOperator: (input: {
|
|
1097
|
-
key: string;
|
|
1098
|
-
operator: import("../types/index.js").TableFilterOperator;
|
|
1099
|
-
}) => import("../types/index.js").TableQueryStateFilterValue;
|
|
1100
|
-
setFilterOperator: (input: {
|
|
1101
|
-
key: string;
|
|
1102
|
-
operator: import("../types/index.js").TableFilterOperator;
|
|
1103
|
-
}) => void;
|
|
1104
|
-
setOptionFilterValues: (input: {
|
|
1105
|
-
key: string;
|
|
1106
|
-
values: import("../types/index.js").TableFilterPrimitiveValue[];
|
|
1107
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
1108
|
-
}) => void;
|
|
1109
|
-
toggleOptionFilterValue: (input: {
|
|
1110
|
-
key: string;
|
|
1111
|
-
value: import("../types/index.js").TableFilterPrimitiveValue;
|
|
1112
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
1113
|
-
}) => void;
|
|
1114
|
-
setScalarFilterValue: (input: {
|
|
1115
|
-
key: string;
|
|
1116
|
-
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
1117
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
1118
|
-
}) => void;
|
|
1119
|
-
clearFilter: (input: {
|
|
1120
|
-
key: string;
|
|
1121
|
-
}) => void;
|
|
1122
|
-
clearAllFilters: () => void;
|
|
1123
|
-
replaceFilters: (input: {
|
|
1124
|
-
rules: import("../types/index.js").TableQueryStateFilterRule[];
|
|
1533
|
+
unselectRows: (params: {
|
|
1534
|
+
rowIds: string[];
|
|
1125
1535
|
}) => void;
|
|
1126
|
-
getFilterLabelText: typeof import("../utils/index.js").getFilterLabelText;
|
|
1127
1536
|
};
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
}) => import("../types/index.js").TableFilterOperator | undefined;
|
|
1169
|
-
setPanelFilterOperator: (input: {
|
|
1170
|
-
key: string;
|
|
1171
|
-
operator: import("../types/index.js").TableFilterOperator;
|
|
1172
|
-
}) => void;
|
|
1173
|
-
setPanelScalarFilterValue: (input: {
|
|
1174
|
-
key: string;
|
|
1175
|
-
value: import("../types/index.js").TableQueryStateFilterValue | null | undefined;
|
|
1176
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
1537
|
+
startup: {
|
|
1538
|
+
dispose: () => void;
|
|
1539
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
1540
|
+
isBooting: import("vue").ComputedRef<boolean>;
|
|
1541
|
+
phase: import("vue").ShallowRef<"active" | "booting" | "scheduled", "active" | "booting" | "scheduled">;
|
|
1542
|
+
scheduleStart: () => void;
|
|
1543
|
+
start: () => void;
|
|
1544
|
+
};
|
|
1545
|
+
summaries: {
|
|
1546
|
+
cell: (columnId: string) => import("./use-table-summaries.js").TableSummaryCell;
|
|
1547
|
+
cells: import("vue").ShallowRef<Record<string, import("./use-table-summaries.js").TableSummaryCell>, Record<string, import("./use-table-summaries.js").TableSummaryCell>>;
|
|
1548
|
+
columns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
1549
|
+
count: import("vue").ComputedRef<number>;
|
|
1550
|
+
enabled: import("vue").ComputedRef<boolean>;
|
|
1551
|
+
format: (columnId: string) => import("../types/index.js").TableSummaryValue;
|
|
1552
|
+
label: import("vue").ComputedRef<import("../types/index.js").LazyTextValue | undefined>;
|
|
1553
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
1554
|
+
rows: import("vue").ComputedRef<object[]>;
|
|
1555
|
+
scope: import("vue").Ref<import("../types/index.js").TableSummaryScope, import("../types/index.js").TableSummaryScope>;
|
|
1556
|
+
scopes: import("vue").ComputedRef<import("../types/index.js").TableSummaryScope[]>;
|
|
1557
|
+
setScope: (next: import("../types/index.js").TableSummaryScope) => void;
|
|
1558
|
+
};
|
|
1559
|
+
tableApi: TableApi<unknown>;
|
|
1560
|
+
tableColumns: {
|
|
1561
|
+
clearSorting: () => void;
|
|
1562
|
+
columnDefs: import("vue").ComputedRef<import("../utils/index.js").DataListColumnDef[]>;
|
|
1563
|
+
getMenuItems: (options: {
|
|
1564
|
+
columnId: string;
|
|
1565
|
+
}) => import("@nuxt/ui/runtime/components/DropdownMenu.d.vue.js").DropdownMenuItem[][];
|
|
1566
|
+
getPinnedState: (options: {
|
|
1567
|
+
columnId: string;
|
|
1568
|
+
}) => "right" | "left" | null;
|
|
1569
|
+
getSortState: (options: {
|
|
1570
|
+
columnId: string;
|
|
1571
|
+
}) => "desc" | "asc" | null;
|
|
1572
|
+
orderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
1573
|
+
reset: () => void;
|
|
1574
|
+
runtimeColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
1575
|
+
setOrder: (options: {
|
|
1576
|
+
columnIds: string[];
|
|
1177
1577
|
}) => void;
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
operator?: import("../types/index.js").TableFilterOperator;
|
|
1578
|
+
setPinning: (options: {
|
|
1579
|
+
columnId: string;
|
|
1580
|
+
pinned?: "left" | "right";
|
|
1182
1581
|
}) => void;
|
|
1183
|
-
|
|
1582
|
+
setSortDirection: (direction: "asc" | "desc") => void;
|
|
1583
|
+
setSortKey: (key?: string) => void;
|
|
1584
|
+
setSorting: (sorting: {
|
|
1184
1585
|
key: string;
|
|
1586
|
+
dir: "asc" | "desc";
|
|
1587
|
+
} | null) => void;
|
|
1588
|
+
setVisibility: (options: {
|
|
1589
|
+
columnId: string;
|
|
1590
|
+
visible: boolean;
|
|
1185
1591
|
}) => void;
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
columnCount: import("vue").ComputedRef<number>;
|
|
1192
|
-
itemColumnSpan: import("vue").ComputedRef<number>;
|
|
1193
|
-
cardsPerRow: import("vue").ComputedRef<number>;
|
|
1194
|
-
};
|
|
1195
|
-
controls: {
|
|
1196
|
-
columnsPanelOpen: import("vue").Ref<boolean, boolean>;
|
|
1197
|
-
columnsPanelSearch: import("vue").Ref<string, string>;
|
|
1198
|
-
tableLayout: import("vue").WritableComputedRef<"table" | "grid", "table" | "grid">;
|
|
1199
|
-
gridEnabled: import("vue").ComputedRef<string | boolean | (() => boolean | string) | null>;
|
|
1200
|
-
layoutState: import("vue").ComputedRef<{
|
|
1201
|
-
active: "table" | "grid";
|
|
1202
|
-
available: import("../types/index.js").TableLayout[];
|
|
1203
|
-
}>;
|
|
1204
|
-
setTableLayout: (layout: import("../types/index.js").TableLayout) => void;
|
|
1205
|
-
};
|
|
1206
|
-
tableColumns: {
|
|
1207
|
-
tableState: import("vue").Ref<{
|
|
1208
|
-
columnOrder: string[];
|
|
1209
|
-
columnVisibility: Record<string, boolean>;
|
|
1210
|
-
columnPinning: {
|
|
1211
|
-
left?: string[] | undefined;
|
|
1212
|
-
right?: string[] | undefined;
|
|
1213
|
-
};
|
|
1214
|
-
columnSizing: Record<string, number>;
|
|
1215
|
-
columnSizingInfo: {
|
|
1216
|
-
startOffset: number | null;
|
|
1217
|
-
startSize: number | null;
|
|
1218
|
-
deltaOffset: number | null;
|
|
1219
|
-
deltaPercentage: number | null;
|
|
1220
|
-
isResizingColumn: false | string;
|
|
1221
|
-
columnSizingStart: Array<[string, number]>;
|
|
1222
|
-
};
|
|
1223
|
-
sorting: {
|
|
1224
|
-
id: string;
|
|
1225
|
-
desc: boolean;
|
|
1226
|
-
}[];
|
|
1227
|
-
}, import("../utils/index.js").TableColumnState | {
|
|
1228
|
-
columnOrder: string[];
|
|
1229
|
-
columnVisibility: Record<string, boolean>;
|
|
1230
|
-
columnPinning: {
|
|
1231
|
-
left?: string[] | undefined;
|
|
1232
|
-
right?: string[] | undefined;
|
|
1233
|
-
};
|
|
1234
|
-
columnSizing: Record<string, number>;
|
|
1235
|
-
columnSizingInfo: {
|
|
1236
|
-
startOffset: number | null;
|
|
1237
|
-
startSize: number | null;
|
|
1238
|
-
deltaOffset: number | null;
|
|
1239
|
-
deltaPercentage: number | null;
|
|
1240
|
-
isResizingColumn: false | string;
|
|
1241
|
-
columnSizingStart: Array<[string, number]>;
|
|
1242
|
-
};
|
|
1243
|
-
sorting: {
|
|
1244
|
-
id: string;
|
|
1245
|
-
desc: boolean;
|
|
1246
|
-
}[];
|
|
1592
|
+
sortKeys: import("vue").ComputedRef<string[]>;
|
|
1593
|
+
sortingState: import("vue").ComputedRef<{
|
|
1594
|
+
active: boolean;
|
|
1595
|
+
dir: "desc" | "asc" | undefined;
|
|
1596
|
+
key: string | undefined;
|
|
1247
1597
|
}>;
|
|
1248
1598
|
tableColumns: import("vue").ComputedRef<({
|
|
1249
|
-
id: string;
|
|
1250
|
-
header: () => import("vue/jsx-runtime").JSX.Element;
|
|
1251
1599
|
cell: ({ row }: {
|
|
1252
1600
|
row: {
|
|
1253
1601
|
id: string;
|
|
1254
1602
|
};
|
|
1255
1603
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1256
|
-
size: number;
|
|
1257
|
-
enableSorting: boolean;
|
|
1258
1604
|
enableHiding: boolean;
|
|
1259
1605
|
enablePinning: boolean;
|
|
1260
1606
|
enableResizing: boolean;
|
|
1607
|
+
enableSorting: boolean;
|
|
1608
|
+
header: () => import("vue/jsx-runtime").JSX.Element;
|
|
1609
|
+
id: string;
|
|
1261
1610
|
meta: {
|
|
1262
1611
|
class: {
|
|
1263
|
-
th: string;
|
|
1264
1612
|
td: string;
|
|
1613
|
+
th: string;
|
|
1265
1614
|
};
|
|
1266
1615
|
style: {
|
|
1267
|
-
th: () => {
|
|
1268
|
-
width: string;
|
|
1269
|
-
minWidth: string;
|
|
1270
|
-
maxWidth: string;
|
|
1271
|
-
};
|
|
1272
1616
|
td: () => {
|
|
1273
|
-
|
|
1617
|
+
maxWidth: string;
|
|
1274
1618
|
minWidth: string;
|
|
1619
|
+
width: string;
|
|
1620
|
+
};
|
|
1621
|
+
th: () => {
|
|
1275
1622
|
maxWidth: string;
|
|
1623
|
+
minWidth: string;
|
|
1624
|
+
width: string;
|
|
1276
1625
|
};
|
|
1277
1626
|
};
|
|
1278
1627
|
};
|
|
1628
|
+
size: number;
|
|
1279
1629
|
} | {
|
|
1280
|
-
id: string;
|
|
1281
|
-
header: () => null;
|
|
1282
1630
|
cell: ({ row }: {
|
|
1283
1631
|
row: {
|
|
1284
1632
|
original: import("../types/index.js").GenericObject;
|
|
1285
1633
|
index: number;
|
|
1286
1634
|
};
|
|
1287
1635
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1288
|
-
size: number;
|
|
1289
|
-
enableSorting: boolean;
|
|
1290
1636
|
enableHiding: boolean;
|
|
1291
1637
|
enablePinning: boolean;
|
|
1292
1638
|
enableResizing: boolean;
|
|
1639
|
+
enableSorting: boolean;
|
|
1640
|
+
header: () => null;
|
|
1641
|
+
id: string;
|
|
1293
1642
|
meta: {
|
|
1294
1643
|
class: {
|
|
1295
|
-
th: string;
|
|
1296
1644
|
td: string;
|
|
1645
|
+
th: string;
|
|
1297
1646
|
};
|
|
1298
1647
|
style: {
|
|
1299
|
-
th: () => {
|
|
1300
|
-
width: string;
|
|
1301
|
-
minWidth: string;
|
|
1302
|
-
maxWidth: string;
|
|
1303
|
-
};
|
|
1304
1648
|
td: () => {
|
|
1305
|
-
|
|
1649
|
+
maxWidth: string;
|
|
1306
1650
|
minWidth: string;
|
|
1651
|
+
width: string;
|
|
1652
|
+
};
|
|
1653
|
+
th: () => {
|
|
1307
1654
|
maxWidth: string;
|
|
1655
|
+
minWidth: string;
|
|
1656
|
+
width: string;
|
|
1308
1657
|
};
|
|
1309
1658
|
};
|
|
1310
1659
|
};
|
|
1660
|
+
size: number;
|
|
1311
1661
|
} | {
|
|
1312
|
-
id: string;
|
|
1313
1662
|
accessorFn: ((row: import("../types/index.js").GenericObject) => unknown) | undefined;
|
|
1663
|
+
cell: ({ row }: {
|
|
1664
|
+
row: {
|
|
1665
|
+
original: import("../types/index.js").GenericObject;
|
|
1666
|
+
index: number;
|
|
1667
|
+
};
|
|
1668
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1669
|
+
enableHiding: boolean;
|
|
1670
|
+
enablePinning: boolean;
|
|
1671
|
+
enableResizing: boolean;
|
|
1672
|
+
enableSorting: boolean;
|
|
1314
1673
|
header: ({ column: tableColumn, header, }: {
|
|
1315
1674
|
column: {
|
|
1316
1675
|
getCanHide?: () => boolean;
|
|
@@ -1321,115 +1680,80 @@ declare function useTableInternals(): {
|
|
|
1321
1680
|
getResizeHandler?: () => (event: Event) => void;
|
|
1322
1681
|
};
|
|
1323
1682
|
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1324
|
-
|
|
1325
|
-
row: {
|
|
1326
|
-
original: import("../types/index.js").GenericObject;
|
|
1327
|
-
index: number;
|
|
1328
|
-
};
|
|
1329
|
-
}) => import("vue/jsx-runtime").JSX.Element;
|
|
1330
|
-
enableSorting: boolean;
|
|
1331
|
-
enableHiding: boolean;
|
|
1332
|
-
enablePinning: boolean;
|
|
1333
|
-
enableResizing: boolean;
|
|
1334
|
-
size: number | undefined;
|
|
1335
|
-
minSize: number;
|
|
1683
|
+
id: string;
|
|
1336
1684
|
maxSize: number | undefined;
|
|
1337
1685
|
meta: {
|
|
1338
1686
|
class: {
|
|
1339
|
-
th: string;
|
|
1340
1687
|
td: string;
|
|
1688
|
+
th: string;
|
|
1341
1689
|
};
|
|
1342
1690
|
style: {
|
|
1343
|
-
|
|
1691
|
+
td: ({ column: cellColumn }: {
|
|
1344
1692
|
column: {
|
|
1345
1693
|
getSize: () => number;
|
|
1346
1694
|
};
|
|
1347
1695
|
}) => {
|
|
1348
|
-
width: string;
|
|
1349
|
-
minWidth: string;
|
|
1350
1696
|
maxWidth: string;
|
|
1697
|
+
minWidth: string;
|
|
1698
|
+
width: string;
|
|
1351
1699
|
};
|
|
1352
|
-
|
|
1700
|
+
th: ({ column: headerColumn }: {
|
|
1353
1701
|
column: {
|
|
1354
1702
|
getSize: () => number;
|
|
1355
1703
|
};
|
|
1356
1704
|
}) => {
|
|
1357
|
-
width: string;
|
|
1358
|
-
minWidth: string;
|
|
1359
1705
|
maxWidth: string;
|
|
1706
|
+
minWidth: string;
|
|
1707
|
+
width: string;
|
|
1360
1708
|
};
|
|
1361
1709
|
};
|
|
1362
1710
|
};
|
|
1711
|
+
minSize: number;
|
|
1712
|
+
size: number | undefined;
|
|
1363
1713
|
})[]>;
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1714
|
+
tableState: import("vue").Ref<{
|
|
1715
|
+
columnOrder: string[];
|
|
1716
|
+
columnVisibility: Record<string, boolean>;
|
|
1717
|
+
columnPinning: {
|
|
1718
|
+
left?: string[] | undefined;
|
|
1719
|
+
right?: string[] | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
columnSizing: Record<string, number>;
|
|
1722
|
+
columnSizingInfo: {
|
|
1723
|
+
startOffset: number | null;
|
|
1724
|
+
startSize: number | null;
|
|
1725
|
+
deltaOffset: number | null;
|
|
1726
|
+
deltaPercentage: number | null;
|
|
1727
|
+
isResizingColumn: false | string;
|
|
1728
|
+
columnSizingStart: [string, number][];
|
|
1729
|
+
};
|
|
1730
|
+
sorting: {
|
|
1731
|
+
id: string;
|
|
1732
|
+
desc: boolean;
|
|
1733
|
+
}[];
|
|
1734
|
+
}, import("../utils/index.js").TableColumnState | {
|
|
1735
|
+
columnOrder: string[];
|
|
1736
|
+
columnVisibility: Record<string, boolean>;
|
|
1737
|
+
columnPinning: {
|
|
1738
|
+
left?: string[] | undefined;
|
|
1739
|
+
right?: string[] | undefined;
|
|
1740
|
+
};
|
|
1741
|
+
columnSizing: Record<string, number>;
|
|
1742
|
+
columnSizingInfo: {
|
|
1743
|
+
startOffset: number | null;
|
|
1744
|
+
startSize: number | null;
|
|
1745
|
+
deltaOffset: number | null;
|
|
1746
|
+
deltaPercentage: number | null;
|
|
1747
|
+
isResizingColumn: false | string;
|
|
1748
|
+
columnSizingStart: [string, number][];
|
|
1749
|
+
};
|
|
1750
|
+
sorting: {
|
|
1751
|
+
id: string;
|
|
1752
|
+
desc: boolean;
|
|
1753
|
+
}[];
|
|
1392
1754
|
}>;
|
|
1393
|
-
sortKeys: import("vue").ComputedRef<string[]>;
|
|
1394
|
-
setSorting: (sorting: {
|
|
1395
|
-
key: string;
|
|
1396
|
-
dir: "asc" | "desc";
|
|
1397
|
-
} | null) => void;
|
|
1398
|
-
setSortKey: (key?: string) => void;
|
|
1399
|
-
setSortDirection: (direction: "asc" | "desc") => void;
|
|
1400
|
-
clearSorting: () => void;
|
|
1401
1755
|
toggleSorting: (key: string) => void;
|
|
1402
|
-
|
|
1403
|
-
pagination: {
|
|
1404
|
-
mode: import("vue").ComputedRef<"offset" | "cursor" | "none">;
|
|
1405
|
-
rowCount: import("vue").ComputedRef<number | null>;
|
|
1406
|
-
loadedCount: import("vue").ComputedRef<number>;
|
|
1407
|
-
currentPage: import("vue").ComputedRef<number>;
|
|
1408
|
-
pageSize: import("vue").ComputedRef<number>;
|
|
1409
|
-
totalPages: import("vue").ComputedRef<number>;
|
|
1410
|
-
canPreviousPage: import("vue").ComputedRef<boolean>;
|
|
1411
|
-
canNextPage: import("vue").ComputedRef<boolean>;
|
|
1412
|
-
isLoadingMore: import("vue").ComputedRef<boolean>;
|
|
1413
|
-
loadMoreError: import("vue").ComputedRef<unknown>;
|
|
1414
|
-
state: import("vue").ComputedRef<{
|
|
1415
|
-
mode: "offset" | "cursor" | "none";
|
|
1416
|
-
pageIndex: number;
|
|
1417
|
-
pageSize: number;
|
|
1418
|
-
pageCount: number;
|
|
1419
|
-
loadedCount: number;
|
|
1420
|
-
totalCount: number | null;
|
|
1421
|
-
hasNextPage: boolean;
|
|
1422
|
-
hasPreviousPage: boolean;
|
|
1423
|
-
isLoadingMore: boolean;
|
|
1424
|
-
loadMoreError: unknown;
|
|
1425
|
-
}>;
|
|
1426
|
-
pageSizeOptions: import("vue").ComputedRef<number[]>;
|
|
1427
|
-
setPage: (page: number) => void;
|
|
1428
|
-
setPageSize: (nextPageSize: number) => void;
|
|
1429
|
-
next: () => void;
|
|
1430
|
-
previous: () => void;
|
|
1431
|
-
reset: () => void;
|
|
1432
|
-
loadMore: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverRefetchErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverSuccessResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverLoadingErrorResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPendingResult<unknown, unknown> | import("@tanstack/vue-query").InfiniteQueryObserverPlaceholderResult<unknown, unknown> | undefined>;
|
|
1756
|
+
visibleOrderedColumns: import("vue").ComputedRef<import("../utils/index.js").TableRuntimeColumn[]>;
|
|
1433
1757
|
};
|
|
1434
1758
|
};
|
|
1435
1759
|
export type TableInternals = ReturnType<typeof createTableInternals>;
|