@groupteknology/vuno 1.0.1 → 3.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/README.md +227 -183
- package/dist/module.d.mts +2 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +40 -13
- package/dist/runtime/app/assets/css/dialog.css +1 -1
- package/dist/runtime/app/assets/css/main.css +1 -1
- package/dist/runtime/app/assets/css/stylesheet.css +1 -0
- package/dist/runtime/app/assets/css/theme.css +1 -1
- package/dist/runtime/app/assets/css/tokens.css +1 -1
- package/dist/runtime/app/components/Alert/Alert.d.vue.ts +20 -0
- package/dist/runtime/app/components/Alert/Alert.theme.d.ts +14 -0
- package/dist/runtime/app/components/Alert/Alert.theme.js +14 -0
- package/dist/runtime/app/components/Alert/Alert.types.d.ts +10 -0
- package/dist/runtime/app/components/Alert/Alert.vue +68 -0
- package/dist/runtime/app/components/Alert/Alert.vue.d.ts +20 -0
- package/dist/runtime/app/components/{overlays → App}/App.d.vue.ts +3 -20
- package/dist/runtime/app/components/App/App.types.d.ts +4 -0
- package/dist/runtime/app/components/{overlays → App}/App.vue +56 -41
- package/dist/runtime/app/components/{overlays → App}/App.vue.d.ts +3 -20
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.d.vue.ts +7 -0
- package/dist/runtime/app/components/{overlays → App/internal/Overlay}/Overlay.vue +5 -6
- package/dist/runtime/app/components/App/internal/Overlay/Overlay.vue.d.ts +7 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.d.vue.ts +8 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue +18 -0
- package/dist/runtime/app/components/App/internal/OverlayItem/OverlayItem.vue.d.ts +8 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toast}/Toast.d.vue.ts +3 -3
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.d.ts +13 -0
- package/dist/runtime/app/components/App/internal/Toast/Toast.theme.js +16 -0
- package/dist/runtime/app/components/App/internal/Toast/Toast.vue +55 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toast}/Toast.vue.d.ts +3 -3
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.d.vue.ts +3 -3
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.d.ts +15 -0
- package/dist/runtime/app/components/App/internal/Toaster/Toaster.theme.js +16 -0
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.vue +3 -2
- package/dist/runtime/app/components/{overlays → App/internal/Toaster}/Toaster.vue.d.ts +3 -3
- package/dist/runtime/app/components/Avatar/Avatar.d.vue.ts +10 -0
- package/dist/runtime/app/components/Avatar/Avatar.theme.d.ts +30 -0
- package/dist/runtime/app/components/Avatar/Avatar.theme.js +22 -0
- package/dist/runtime/app/components/Avatar/Avatar.types.d.ts +10 -0
- package/dist/runtime/app/components/Avatar/Avatar.types.js +0 -0
- package/dist/runtime/app/components/{actions → Avatar}/Avatar.vue +7 -5
- package/dist/runtime/app/components/Avatar/Avatar.vue.d.ts +10 -0
- package/dist/runtime/app/components/Badge/Badge.d.vue.ts +21 -0
- package/dist/runtime/app/components/Badge/Badge.theme.d.ts +40 -0
- package/dist/runtime/app/components/Badge/Badge.theme.js +22 -0
- package/dist/runtime/app/components/Badge/Badge.types.d.ts +12 -0
- package/dist/runtime/app/components/Badge/Badge.types.js +0 -0
- package/dist/runtime/app/components/{actions → Badge}/Badge.vue +3 -0
- package/dist/runtime/app/components/Badge/Badge.vue.d.ts +21 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.d.vue.ts +7 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.d.ts +15 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.theme.js +16 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.d.ts +7 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.types.js +0 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue +109 -0
- package/dist/runtime/app/components/Breadcrumb/Breadcrumb.vue.d.ts +7 -0
- package/dist/runtime/app/components/Button/Button.d.vue.ts +29 -0
- package/dist/runtime/app/components/Button/Button.theme.d.ts +102 -0
- package/dist/runtime/app/components/Button/Button.theme.js +67 -0
- package/dist/runtime/app/components/Button/Button.types.d.ts +24 -0
- package/dist/runtime/app/components/Button/Button.types.js +0 -0
- package/dist/runtime/app/components/Button/Button.vue +129 -0
- package/dist/runtime/app/components/Button/Button.vue.d.ts +29 -0
- package/dist/runtime/app/components/Card/Card.d.vue.ts +32 -0
- package/dist/runtime/app/components/Card/Card.theme.d.ts +100 -0
- package/dist/runtime/app/components/Card/Card.theme.js +82 -0
- package/dist/runtime/app/components/Card/Card.types.d.ts +12 -0
- package/dist/runtime/app/components/Card/Card.types.js +0 -0
- package/dist/runtime/app/components/Card/Card.vue +51 -0
- package/dist/runtime/app/components/Card/Card.vue.d.ts +32 -0
- package/dist/runtime/app/components/Code/Code.d.vue.ts +9 -0
- package/dist/runtime/app/components/Code/Code.theme.d.ts +11 -0
- package/dist/runtime/app/components/Code/Code.theme.js +12 -0
- package/dist/runtime/app/components/Code/Code.types.d.ts +8 -0
- package/dist/runtime/app/components/Code/Code.types.js +0 -0
- package/dist/runtime/app/components/Code/Code.vue +116 -0
- package/dist/runtime/app/components/Code/Code.vue.d.ts +9 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.d.vue.ts +31 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.d.ts +6 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.theme.js +7 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.types.d.ts +4 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.types.js +0 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.vue +72 -0
- package/dist/runtime/app/components/Collapsible/Collapsible.vue.d.ts +31 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.d.vue.ts +12 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.d.ts +13 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.types.js +0 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue +55 -0
- package/dist/runtime/app/components/ColorModeButton/ColorModeButton.vue.d.ts +12 -0
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.d.vue.ts +2 -6
- package/dist/runtime/app/components/Confirm/Confirm.theme.d.ts +12 -0
- package/dist/runtime/app/components/Confirm/Confirm.theme.js +13 -0
- package/dist/runtime/app/components/Confirm/Confirm.types.d.ts +6 -0
- package/dist/runtime/app/components/Confirm/Confirm.types.js +0 -0
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.vue +10 -5
- package/dist/runtime/app/components/{overlays → Confirm}/Confirm.vue.d.ts +2 -6
- package/dist/runtime/app/components/Container/Container.d.vue.ts +18 -0
- package/dist/runtime/app/components/Container/Container.theme.d.ts +53 -0
- package/dist/runtime/app/components/Container/Container.theme.js +31 -0
- package/dist/runtime/app/components/Container/Container.types.d.ts +9 -0
- package/dist/runtime/app/components/Container/Container.types.js +0 -0
- package/dist/runtime/app/components/{structure → Container}/Container.vue +3 -2
- package/dist/runtime/app/components/Container/Container.vue.d.ts +18 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.d.vue.ts +17 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.d.ts +16 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.theme.js +13 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.types.d.ts +9 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.types.js +0 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue +26 -0
- package/dist/runtime/app/components/ControlGroup/ControlGroup.vue.d.ts +17 -0
- package/dist/runtime/app/components/{structure/Table.d.vue.ts → DataTable/DataTable.d.vue.ts} +6 -19
- package/dist/runtime/app/components/DataTable/DataTable.theme.d.ts +17 -0
- package/dist/runtime/app/components/DataTable/DataTable.theme.js +19 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.d.ts +13 -0
- package/dist/runtime/app/components/DataTable/DataTable.types.js +0 -0
- package/dist/runtime/app/components/DataTable/DataTable.vue +356 -0
- package/dist/runtime/app/components/{structure/Table.vue.d.ts → DataTable/DataTable.vue.d.ts} +6 -19
- package/dist/runtime/app/{internal/useVunoTable.d.ts → components/DataTable/internal/useVunoDataTable.d.ts} +8 -30
- package/dist/runtime/app/{internal/useVunoTable.js → components/DataTable/internal/useVunoDataTable.js} +2 -29
- package/dist/runtime/app/components/FieldArray/FieldArray.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.d.ts +12 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.theme.js +13 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.types.js +0 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.vue +180 -0
- package/dist/runtime/app/components/FieldArray/FieldArray.vue.d.ts +13 -0
- package/dist/runtime/app/components/{forms/Switch.d.vue.ts → FieldCheckbox/FieldCheckbox.d.vue.ts} +4 -12
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.theme.js +2 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.types.js +0 -0
- package/dist/runtime/app/components/FieldCheckbox/FieldCheckbox.vue +39 -0
- package/dist/runtime/app/components/{forms/Switch.vue.d.ts → FieldCheckbox/FieldCheckbox.vue.d.ts} +4 -12
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.d.vue.ts +12 -6
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.d.ts +30 -0
- package/dist/runtime/app/components/FieldCheckbox/internal/Checkbox/Checkbox.theme.js +10 -0
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.vue +7 -4
- package/dist/runtime/app/components/{forms → FieldCheckbox/internal/Checkbox}/Checkbox.vue.d.ts +12 -6
- package/dist/runtime/app/components/FieldColor/FieldColor.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.d.ts +27 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.theme.js +18 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldColor/FieldColor.types.js +0 -0
- package/dist/runtime/app/components/{forms/fields → FieldColor}/FieldColor.vue +39 -32
- package/dist/runtime/app/components/FieldColor/FieldColor.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.theme.js +2 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.types.js +0 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue +51 -0
- package/dist/runtime/app/components/FieldCurrency/FieldCurrency.vue.d.ts +13 -0
- package/dist/runtime/app/components/{forms/fields → FieldFile}/FieldFile.d.vue.ts +11 -3
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.theme.js +2 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.types.js +0 -0
- package/dist/runtime/app/components/FieldFile/FieldFile.vue +99 -0
- package/dist/runtime/app/components/{forms/fields → FieldFile}/FieldFile.vue.d.ts +11 -3
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.d.vue.ts +26 -20
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.d.ts +89 -0
- package/dist/runtime/app/components/FieldFile/internal/FileUpload/FileUpload.theme.js +56 -0
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.vue +46 -24
- package/dist/runtime/app/components/{forms → FieldFile/internal/FileUpload}/FileUpload.vue.d.ts +26 -20
- package/dist/runtime/app/components/FieldInput/FieldInput.d.vue.ts +24 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.theme.js +2 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.types.js +0 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.vue +61 -0
- package/dist/runtime/app/components/FieldInput/FieldInput.vue.d.ts +24 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.theme.js +2 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.types.js +0 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue +47 -0
- package/dist/runtime/app/components/FieldNumber/FieldNumber.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.theme.js +2 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.types.js +0 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue +62 -0
- package/dist/runtime/app/components/FieldPassword/FieldPassword.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.d.vue.ts +14 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.theme.js +2 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.types.js +0 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue +41 -0
- package/dist/runtime/app/components/FieldRadio/FieldRadio.vue.d.ts +14 -0
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.d.vue.ts +11 -9
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.d.ts +54 -0
- package/dist/runtime/app/components/FieldRadio/internal/RadioGroup/RadioGroup.theme.js +31 -0
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.vue +12 -5
- package/dist/runtime/app/components/{forms → FieldRadio/internal/RadioGroup}/RadioGroup.vue.d.ts +11 -9
- package/dist/runtime/app/components/FieldSearch/FieldSearch.d.vue.ts +17 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.d.ts +6 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.theme.js +7 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.types.js +0 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue +74 -0
- package/dist/runtime/app/components/FieldSearch/FieldSearch.vue.d.ts +17 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.d.vue.ts +14 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.theme.js +2 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.types.js +0 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue +45 -0
- package/dist/runtime/app/components/FieldSelect/FieldSelect.vue.d.ts +14 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.d.vue.ts +97 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.d.ts +36 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.theme.js +49 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue +206 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/Select.vue.d.ts +97 -0
- package/dist/runtime/app/{utils → components/FieldSelect/internal/Select}/option.d.ts +3 -4
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.d.ts +30 -0
- package/dist/runtime/app/components/FieldSelect/internal/Select/useVunoSelectState.js +142 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.theme.js +2 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSlug/FieldSlug.types.js +0 -0
- package/dist/runtime/app/components/{forms/fields → FieldSlug}/FieldSlug.vue +58 -47
- package/dist/runtime/app/components/FieldSlug/FieldSlug.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.theme.js +2 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.types.js +0 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue +37 -0
- package/dist/runtime/app/components/FieldSwitch/FieldSwitch.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.d.vue.ts +27 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.d.ts +39 -0
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.theme.js +20 -0
- package/dist/runtime/app/components/{forms → FieldSwitch/internal/Switch}/Switch.vue +4 -2
- package/dist/runtime/app/components/FieldSwitch/internal/Switch/Switch.vue.d.ts +27 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.d.vue.ts +13 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.theme.js +2 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.types.js +0 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.vue +41 -0
- package/dist/runtime/app/components/FieldTags/FieldTags.vue.d.ts +13 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.d.vue.ts +26 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.d.ts +34 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.theme.js +20 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue +107 -0
- package/dist/runtime/app/components/FieldTags/internal/TagsInput/TagsInput.vue.d.ts +26 -0
- package/dist/runtime/app/components/{forms/fields → FieldTextarea}/FieldTextarea.d.vue.ts +11 -3
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.d.ts +5 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.theme.js +2 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.types.d.ts +2 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.types.js +0 -0
- package/dist/runtime/app/components/FieldTextarea/FieldTextarea.vue +45 -0
- package/dist/runtime/app/components/{forms/fields → FieldTextarea}/FieldTextarea.vue.d.ts +11 -3
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.d.vue.ts +12 -6
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.d.ts +36 -0
- package/dist/runtime/app/components/FieldTextarea/internal/Textarea/Textarea.theme.js +37 -0
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.vue +9 -7
- package/dist/runtime/app/components/{forms → FieldTextarea/internal/Textarea}/Textarea.vue.d.ts +12 -6
- package/dist/runtime/app/components/Form/Form.d.vue.ts +36 -0
- package/dist/runtime/app/components/Form/Form.theme.d.ts +9 -0
- package/dist/runtime/app/components/Form/Form.theme.js +10 -0
- package/dist/runtime/app/components/Form/Form.types.d.ts +8 -0
- package/dist/runtime/app/components/Form/Form.types.js +0 -0
- package/dist/runtime/app/components/{forms → Form}/Form.vue +10 -9
- package/dist/runtime/app/components/Form/Form.vue.d.ts +36 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.d.vue.ts +7 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue +67 -0
- package/dist/runtime/app/components/Form/internal/FormFieldRenderer/FormFieldRenderer.vue.d.ts +7 -0
- package/dist/runtime/app/components/Form/internal/standard-schema.d.ts +29 -0
- package/dist/runtime/app/{internal → components/Form/internal}/useVunoFormState.d.ts +5 -3
- package/dist/runtime/app/{internal → components/Form/internal}/useVunoFormState.js +4 -3
- package/dist/runtime/app/components/FormField/FormField.d.vue.ts +21 -0
- package/dist/runtime/app/components/FormField/FormField.theme.d.ts +62 -0
- package/dist/runtime/app/components/FormField/FormField.theme.js +28 -0
- package/dist/runtime/app/components/FormField/FormField.types.d.ts +14 -0
- package/dist/runtime/app/components/FormField/FormField.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormField}/FormField.vue +78 -43
- package/dist/runtime/app/components/FormField/FormField.vue.d.ts +21 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.d.vue.ts +22 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue +63 -0
- package/dist/runtime/app/components/FormField/internal/FieldShell/FieldShell.vue.d.ts +22 -0
- package/dist/runtime/app/components/FormModal/FormModal.d.vue.ts +44 -0
- package/dist/runtime/app/components/FormModal/FormModal.theme.d.ts +8 -0
- package/dist/runtime/app/components/FormModal/FormModal.theme.js +9 -0
- package/dist/runtime/app/components/FormModal/FormModal.types.d.ts +14 -0
- package/dist/runtime/app/components/FormModal/FormModal.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormModal}/FormModal.vue +27 -14
- package/dist/runtime/app/components/FormModal/FormModal.vue.d.ts +44 -0
- package/dist/runtime/app/components/FormSection/FormSection.d.vue.ts +4 -0
- package/dist/runtime/app/components/FormSection/FormSection.theme.d.ts +12 -0
- package/dist/runtime/app/components/FormSection/FormSection.theme.js +14 -0
- package/dist/runtime/app/components/FormSection/FormSection.types.d.ts +7 -0
- package/dist/runtime/app/components/FormSection/FormSection.types.js +0 -0
- package/dist/runtime/app/components/{forms → FormSection}/FormSection.vue +16 -7
- package/dist/runtime/app/components/FormSection/FormSection.vue.d.ts +4 -0
- package/dist/runtime/app/components/Icon/Icon.d.vue.ts +4 -0
- package/dist/runtime/app/components/Icon/Icon.types.d.ts +3 -0
- package/dist/runtime/app/components/Icon/Icon.types.js +0 -0
- package/dist/runtime/app/components/Icon/Icon.vue +32 -0
- package/dist/runtime/app/components/Icon/Icon.vue.d.ts +4 -0
- package/dist/runtime/app/components/Menu/Menu.d.vue.ts +19 -0
- package/dist/runtime/app/components/Menu/Menu.theme.d.ts +17 -0
- package/dist/runtime/app/components/Menu/Menu.theme.js +20 -0
- package/dist/runtime/app/components/Menu/Menu.types.d.ts +7 -0
- package/dist/runtime/app/components/Menu/Menu.types.js +0 -0
- package/dist/runtime/app/components/Menu/Menu.vue +90 -0
- package/dist/runtime/app/components/Menu/Menu.vue.d.ts +19 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.d.vue.ts +26 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue +167 -0
- package/dist/runtime/app/components/Menu/internal/MenuLevel/MenuLevel.vue.d.ts +26 -0
- package/dist/runtime/app/components/Modal/Modal.d.vue.ts +31 -0
- package/dist/runtime/app/components/Modal/Modal.theme.d.ts +63 -0
- package/dist/runtime/app/components/Modal/Modal.theme.js +43 -0
- package/dist/runtime/app/components/Modal/Modal.types.d.ts +12 -0
- package/dist/runtime/app/components/Modal/Modal.types.js +0 -0
- package/dist/runtime/app/components/Modal/Modal.vue +249 -0
- package/dist/runtime/app/components/Modal/Modal.vue.d.ts +31 -0
- package/dist/runtime/app/components/Navbar/Navbar.d.vue.ts +20 -0
- package/dist/runtime/app/components/Navbar/Navbar.theme.d.ts +30 -0
- package/dist/runtime/app/components/Navbar/Navbar.theme.js +31 -0
- package/dist/runtime/app/components/Navbar/Navbar.types.d.ts +4 -0
- package/dist/runtime/app/components/Navbar/Navbar.types.js +0 -0
- package/dist/runtime/app/components/{structure → Navbar}/Navbar.vue +1 -0
- package/dist/runtime/app/components/Navbar/Navbar.vue.d.ts +20 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.d.vue.ts +9 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.d.ts +3 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.keys.js +1 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.d.ts +32 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.theme.js +35 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.types.d.ts +9 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.types.js +0 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.vue +233 -0
- package/dist/runtime/app/components/NavigationList/NavigationList.vue.d.ts +9 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.d.vue.ts +10 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.d.ts +7 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.keys.js +3 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.d.ts +26 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.theme.js +27 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.d.ts +10 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.types.js +0 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue +268 -0
- package/dist/runtime/app/components/NavigationMenu/NavigationMenu.vue.d.ts +10 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.d.vue.ts +7 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.d.ts +9 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.theme.js +10 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.types.d.ts +7 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.types.js +0 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue +88 -0
- package/dist/runtime/app/components/NavigationToc/NavigationToc.vue.d.ts +7 -0
- package/dist/runtime/app/components/Pagination/Pagination.d.vue.ts +15 -0
- package/dist/runtime/app/components/Pagination/Pagination.theme.d.ts +13 -0
- package/dist/runtime/app/components/Pagination/Pagination.theme.js +14 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.d.ts +11 -0
- package/dist/runtime/app/components/Pagination/Pagination.types.js +0 -0
- package/dist/runtime/app/components/{structure → Pagination}/Pagination.vue +9 -3
- package/dist/runtime/app/components/Pagination/Pagination.vue.d.ts +15 -0
- package/dist/runtime/app/components/{overlays/Modal.d.vue.ts → Slideover/Slideover.d.vue.ts} +5 -22
- package/dist/runtime/app/components/Slideover/Slideover.theme.d.ts +35 -0
- package/dist/runtime/app/components/Slideover/Slideover.theme.js +24 -0
- package/dist/runtime/app/components/Slideover/Slideover.types.d.ts +12 -0
- package/dist/runtime/app/components/Slideover/Slideover.types.js +0 -0
- package/dist/runtime/app/components/Slideover/Slideover.vue +58 -0
- package/dist/runtime/app/components/{overlays/Modal.vue.d.ts → Slideover/Slideover.vue.d.ts} +5 -22
- package/dist/runtime/app/components/State/State.d.vue.ts +14 -0
- package/dist/runtime/app/components/State/State.theme.d.ts +19 -0
- package/dist/runtime/app/components/State/State.theme.js +26 -0
- package/dist/runtime/app/components/State/State.types.d.ts +15 -0
- package/dist/runtime/app/components/State/State.types.js +0 -0
- package/dist/runtime/app/components/{structure → State}/State.vue +21 -6
- package/dist/runtime/app/components/State/State.vue.d.ts +14 -0
- package/dist/runtime/app/components/Table/Table.d.vue.ts +33 -0
- package/dist/runtime/app/components/Table/Table.theme.d.ts +32 -0
- package/dist/runtime/app/components/Table/Table.theme.js +31 -0
- package/dist/runtime/app/components/Table/Table.types.d.ts +9 -0
- package/dist/runtime/app/components/Table/Table.types.js +0 -0
- package/dist/runtime/app/components/Table/Table.vue +211 -0
- package/dist/runtime/app/components/Table/Table.vue.d.ts +33 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.vue +2 -1
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.d.ts +21 -0
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.theme.js +11 -0
- package/dist/runtime/app/components/Table/internal/CellBoolean/CellBoolean.vue +42 -0
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellCurrency/CellCurrency.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.vue +9 -1
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellDate/CellDate.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.vue +9 -1
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.vue +2 -1
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.d.ts +5 -0
- package/dist/runtime/app/components/Table/internal/CellNumber/CellNumber.theme.js +4 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.vue +9 -1
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.d.ts +13 -0
- package/dist/runtime/app/components/Table/internal/CellText/CellText.theme.js +11 -0
- package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.vue +9 -1
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.d.vue.ts +2 -2
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.vue +9 -8
- package/dist/runtime/app/components/{structure → Table/internal/TableCell}/TableCell.vue.d.ts +2 -2
- package/dist/runtime/app/{utils → components/Table/internal}/column.d.ts +9 -0
- package/dist/runtime/app/components/Table/internal/column.js +20 -0
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.d.ts +21 -0
- package/dist/runtime/app/components/Table/internal/useVunoTableSelection.js +29 -0
- package/dist/runtime/app/components/{structure → Tabs}/Tabs.d.vue.ts +5 -23
- package/dist/runtime/app/components/Tabs/Tabs.theme.d.ts +41 -0
- package/dist/runtime/app/components/Tabs/Tabs.theme.js +32 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.d.ts +10 -0
- package/dist/runtime/app/components/Tabs/Tabs.types.js +0 -0
- package/dist/runtime/app/components/Tabs/Tabs.vue +193 -0
- package/dist/runtime/app/components/{structure → Tabs}/Tabs.vue.d.ts +5 -23
- package/dist/runtime/app/components/Text/Text.d.vue.ts +19 -0
- package/dist/runtime/app/components/Text/Text.theme.d.ts +55 -0
- package/dist/runtime/app/components/Text/Text.theme.js +28 -0
- package/dist/runtime/app/components/Text/Text.types.d.ts +9 -0
- package/dist/runtime/app/components/Text/Text.types.js +0 -0
- package/dist/runtime/app/components/Text/Text.vue +37 -0
- package/dist/runtime/app/components/Text/Text.vue.d.ts +19 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.d.vue.ts +17 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.d.ts +5 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.theme.js +6 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.types.d.ts +9 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.types.js +0 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.vue +76 -0
- package/dist/runtime/app/components/Toolbar/Toolbar.vue.d.ts +17 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.d.vue.ts +19 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.d.ts +12 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.theme.js +13 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.d.ts +11 -0
- package/dist/runtime/app/components/Tooltip/Tooltip.types.js +0 -0
- package/dist/runtime/app/components/{actions → Tooltip}/Tooltip.vue +10 -23
- package/dist/runtime/app/components/Tooltip/Tooltip.vue.d.ts +19 -0
- package/dist/runtime/app/composables/defineShortcuts.d.ts +19 -0
- package/dist/runtime/app/composables/defineShortcuts.js +68 -0
- package/dist/runtime/app/{internal → composables/internal}/useVunoAnchor.d.ts +6 -4
- package/dist/runtime/app/{internal → composables/internal}/useVunoAnchor.js +3 -2
- package/dist/runtime/app/composables/internal/useVunoContext.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoContext.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoControlGroup.d.ts +16 -0
- package/dist/runtime/app/composables/internal/useVunoControlGroup.js +18 -0
- package/dist/runtime/app/composables/internal/useVunoDirection.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoDirection.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoFormContext.d.ts +5 -0
- package/dist/runtime/app/composables/internal/useVunoFormContext.js +8 -0
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.d.ts +6 -0
- package/dist/runtime/app/composables/internal/useVunoOverlayBehind.js +8 -0
- package/dist/runtime/app/{internal → composables/internal}/useVunoPortal.d.ts +3 -8
- package/dist/runtime/app/composables/internal/useVunoPortal.js +12 -0
- package/dist/runtime/app/composables/useContext.js +2 -3
- package/dist/runtime/app/composables/useCrud.js +5 -4
- package/dist/runtime/app/composables/useField.d.ts +3 -3
- package/dist/runtime/app/composables/useField.js +16 -8
- package/dist/runtime/app/composables/useForm.d.ts +3 -0
- package/dist/runtime/app/composables/useForm.js +4 -5
- package/dist/runtime/app/composables/useModal.js +1 -3
- package/dist/runtime/app/composables/useTableQuery.d.ts +1 -1
- package/dist/runtime/app/composables/useTableQuery.js +29 -13
- package/dist/runtime/app/composables/useTheme.d.ts +3 -2
- package/dist/runtime/app/composables/useTheme.js +8 -3
- package/dist/runtime/app/plugins/vue-query.d.ts +8 -0
- package/dist/runtime/app/plugins/vue-query.js +13 -0
- package/dist/runtime/app/{components/forms/ControlShell.d.vue.ts → primitives/PrimitiveControl/PrimitiveControl.d.vue.ts} +12 -7
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.d.ts +50 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.theme.js +38 -0
- package/dist/runtime/app/primitives/PrimitiveControl/PrimitiveControl.vue +33 -0
- package/dist/runtime/app/{components/forms/ControlShell.vue.d.ts → primitives/PrimitiveControl/PrimitiveControl.vue.d.ts} +12 -7
- package/dist/runtime/app/{components/forms/Input.d.vue.ts → primitives/PrimitiveInput/PrimitiveInput.d.vue.ts} +18 -12
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.d.ts +30 -0
- package/dist/runtime/app/primitives/PrimitiveInput/PrimitiveInput.theme.js +21 -0
- package/dist/runtime/app/{components/forms/Input.vue → primitives/PrimitiveInput/PrimitiveInput.vue} +10 -8
- package/dist/runtime/app/{components/forms/Input.vue.d.ts → primitives/PrimitiveInput/PrimitiveInput.vue.d.ts} +18 -12
- package/dist/runtime/app/{components/forms/NumberInput.d.vue.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.d.vue.ts} +15 -10
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.d.ts +34 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.theme.js +29 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue +223 -0
- package/dist/runtime/app/{components/forms/NumberInput.vue.d.ts → primitives/PrimitiveNumberInput/PrimitiveNumberInput.vue.d.ts} +15 -10
- package/dist/runtime/app/{utils → primitives/PrimitiveNumberInput}/number.d.ts +7 -0
- package/dist/runtime/app/primitives/PrimitiveNumberInput/number.js +64 -0
- package/dist/runtime/app/theme/icons.js +4 -1
- package/dist/runtime/app/theme/index.d.ts +1320 -8
- package/dist/runtime/app/theme/index.js +124 -10
- package/dist/runtime/app/theme/messages.js +11 -3
- package/dist/runtime/app/theme/shared.d.ts +20 -3
- package/dist/runtime/app/theme/shared.js +16 -1
- package/dist/runtime/app/types/app.d.ts +4 -2
- package/dist/runtime/app/types/base.d.ts +13 -13
- package/dist/runtime/app/types/field-type.d.ts +4 -0
- package/dist/runtime/app/types/field-type.js +0 -0
- package/dist/runtime/app/types/field.d.ts +135 -27
- package/dist/runtime/app/types/form.d.ts +29 -4
- package/dist/runtime/app/types/index.d.ts +63 -12
- package/dist/runtime/app/types/menu.d.ts +22 -0
- package/dist/runtime/app/types/menu.js +0 -0
- package/dist/runtime/app/types/page.d.ts +14 -10
- package/dist/runtime/app/types/shortcuts.d.ts +44 -0
- package/dist/runtime/app/types/shortcuts.js +0 -0
- package/dist/runtime/app/types/slots.d.ts +34 -0
- package/dist/runtime/app/types/slots.js +0 -0
- package/dist/runtime/app/types/table.d.ts +31 -30
- package/dist/runtime/app/types/text.d.ts +6 -0
- package/dist/runtime/app/types/text.js +0 -0
- package/dist/runtime/app/types/theme.d.ts +64 -17
- package/dist/runtime/app/utils/format.js +5 -4
- package/dist/runtime/app/utils/path.js +5 -3
- package/dist/runtime/app/{internal → utils}/slots.d.ts +5 -2
- package/dist/runtime/app/utils/slots.js +24 -0
- package/dist/runtime/app/utils/theme.d.ts +9 -24
- package/dist/runtime/app/utils/theme.js +35 -15
- package/package.json +24 -9
- package/dist/runtime/app/components/actions/Avatar.d.vue.ts +0 -23
- package/dist/runtime/app/components/actions/Avatar.vue.d.ts +0 -23
- package/dist/runtime/app/components/actions/Badge.d.vue.ts +0 -36
- package/dist/runtime/app/components/actions/Badge.vue.d.ts +0 -36
- package/dist/runtime/app/components/actions/Button.d.vue.ts +0 -45
- package/dist/runtime/app/components/actions/Button.vue +0 -71
- package/dist/runtime/app/components/actions/Button.vue.d.ts +0 -45
- package/dist/runtime/app/components/actions/Icon.d.vue.ts +0 -6
- package/dist/runtime/app/components/actions/Icon.vue +0 -32
- package/dist/runtime/app/components/actions/Icon.vue.d.ts +0 -6
- package/dist/runtime/app/components/actions/Menu.d.vue.ts +0 -34
- package/dist/runtime/app/components/actions/Menu.vue +0 -189
- package/dist/runtime/app/components/actions/Menu.vue.d.ts +0 -34
- package/dist/runtime/app/components/actions/Tooltip.d.vue.ts +0 -40
- package/dist/runtime/app/components/actions/Tooltip.vue.d.ts +0 -40
- package/dist/runtime/app/components/forms/ControlShell.vue +0 -19
- package/dist/runtime/app/components/forms/Form.d.vue.ts +0 -53
- package/dist/runtime/app/components/forms/Form.vue.d.ts +0 -53
- package/dist/runtime/app/components/forms/FormField.d.vue.ts +0 -32
- package/dist/runtime/app/components/forms/FormField.vue.d.ts +0 -32
- package/dist/runtime/app/components/forms/FormFieldRenderer.d.vue.ts +0 -7
- package/dist/runtime/app/components/forms/FormFieldRenderer.vue +0 -88
- package/dist/runtime/app/components/forms/FormFieldRenderer.vue.d.ts +0 -7
- package/dist/runtime/app/components/forms/FormModal.d.vue.ts +0 -61
- package/dist/runtime/app/components/forms/FormModal.vue.d.ts +0 -61
- package/dist/runtime/app/components/forms/FormSection.d.vue.ts +0 -12
- package/dist/runtime/app/components/forms/FormSection.vue.d.ts +0 -12
- package/dist/runtime/app/components/forms/NumberInput.vue +0 -160
- package/dist/runtime/app/components/forms/Select.d.vue.ts +0 -61
- package/dist/runtime/app/components/forms/Select.vue +0 -336
- package/dist/runtime/app/components/forms/Select.vue.d.ts +0 -61
- package/dist/runtime/app/components/forms/fields/FieldArray.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldArray.vue +0 -129
- package/dist/runtime/app/components/forms/fields/FieldArray.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.vue +0 -31
- package/dist/runtime/app/components/forms/fields/FieldCheckbox.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldColor.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldColor.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldEmail.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldEmail.vue +0 -38
- package/dist/runtime/app/components/forms/fields/FieldEmail.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldFile.vue +0 -91
- package/dist/runtime/app/components/forms/fields/FieldNumber.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldNumber.vue +0 -39
- package/dist/runtime/app/components/forms/fields/FieldNumber.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldPassword.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldPassword.vue +0 -36
- package/dist/runtime/app/components/forms/fields/FieldPassword.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldRadio.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldRadio.vue +0 -33
- package/dist/runtime/app/components/forms/fields/FieldRadio.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSelect.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSelect.vue +0 -37
- package/dist/runtime/app/components/forms/fields/FieldSelect.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSlug.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSlug.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSwitch.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldSwitch.vue +0 -29
- package/dist/runtime/app/components/forms/fields/FieldSwitch.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldText.d.vue.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldText.vue +0 -39
- package/dist/runtime/app/components/forms/fields/FieldText.vue.d.ts +0 -5
- package/dist/runtime/app/components/forms/fields/FieldTextarea.vue +0 -37
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.d.vue.ts +0 -56
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.vue +0 -96
- package/dist/runtime/app/components/layouts/dashboard/DashboardAside.vue.d.ts +0 -56
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.d.vue.ts +0 -57
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.vue +0 -164
- package/dist/runtime/app/components/layouts/dashboard/DashboardLayout.vue.d.ts +0 -57
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.d.vue.ts +0 -49
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.vue +0 -45
- package/dist/runtime/app/components/layouts/dashboard/DashboardPage.vue.d.ts +0 -49
- package/dist/runtime/app/components/layouts/public/PublicLayout.d.vue.ts +0 -50
- package/dist/runtime/app/components/layouts/public/PublicLayout.vue +0 -56
- package/dist/runtime/app/components/layouts/public/PublicLayout.vue.d.ts +0 -50
- package/dist/runtime/app/components/overlays/Context.d.vue.ts +0 -3
- package/dist/runtime/app/components/overlays/Context.vue +0 -7
- package/dist/runtime/app/components/overlays/Context.vue.d.ts +0 -3
- package/dist/runtime/app/components/overlays/Modal.vue +0 -158
- package/dist/runtime/app/components/overlays/Overlay.d.vue.ts +0 -7
- package/dist/runtime/app/components/overlays/Overlay.vue.d.ts +0 -7
- package/dist/runtime/app/components/overlays/Toast.vue +0 -63
- package/dist/runtime/app/components/structure/Card.d.vue.ts +0 -90
- package/dist/runtime/app/components/structure/Card.vue +0 -43
- package/dist/runtime/app/components/structure/Card.vue.d.ts +0 -90
- package/dist/runtime/app/components/structure/Container.d.vue.ts +0 -42
- package/dist/runtime/app/components/structure/Container.vue.d.ts +0 -42
- package/dist/runtime/app/components/structure/Navbar.d.vue.ts +0 -49
- package/dist/runtime/app/components/structure/Navbar.vue.d.ts +0 -49
- package/dist/runtime/app/components/structure/Navigation.d.vue.ts +0 -14
- package/dist/runtime/app/components/structure/Navigation.vue +0 -147
- package/dist/runtime/app/components/structure/Navigation.vue.d.ts +0 -14
- package/dist/runtime/app/components/structure/Page.d.vue.ts +0 -39
- package/dist/runtime/app/components/structure/Page.vue +0 -124
- package/dist/runtime/app/components/structure/Page.vue.d.ts +0 -39
- package/dist/runtime/app/components/structure/Pagination.d.vue.ts +0 -32
- package/dist/runtime/app/components/structure/Pagination.vue.d.ts +0 -32
- package/dist/runtime/app/components/structure/State.d.vue.ts +0 -14
- package/dist/runtime/app/components/structure/State.vue.d.ts +0 -14
- package/dist/runtime/app/components/structure/Table.vue +0 -493
- package/dist/runtime/app/components/structure/Tabs.vue +0 -114
- package/dist/runtime/app/components/structure/cells/CellBoolean.vue +0 -26
- package/dist/runtime/app/composables/useDashboard.d.ts +0 -14
- package/dist/runtime/app/composables/useDashboard.js +0 -9
- package/dist/runtime/app/internal/keys.d.ts +0 -37
- package/dist/runtime/app/internal/keys.js +0 -5
- package/dist/runtime/app/internal/slots.js +0 -12
- package/dist/runtime/app/internal/useVunoDashboard.d.ts +0 -15
- package/dist/runtime/app/internal/useVunoDashboard.js +0 -5
- package/dist/runtime/app/internal/useVunoPortal.js +0 -8
- package/dist/runtime/app/theme/actions.d.ts +0 -2
- package/dist/runtime/app/theme/actions.js +0 -123
- package/dist/runtime/app/theme/forms.d.ts +0 -2
- package/dist/runtime/app/theme/forms.js +0 -442
- package/dist/runtime/app/theme/layouts.d.ts +0 -2
- package/dist/runtime/app/theme/layouts.js +0 -76
- package/dist/runtime/app/theme/overlays.d.ts +0 -2
- package/dist/runtime/app/theme/overlays.js +0 -90
- package/dist/runtime/app/theme/structure.d.ts +0 -2
- package/dist/runtime/app/theme/structure.js +0 -351
- package/dist/runtime/app/types/dashboard.d.ts +0 -7
- package/dist/runtime/app/types/state.d.ts +0 -35
- package/dist/runtime/app/utils/column.js +0 -5
- package/dist/runtime/app/utils/number.js +0 -30
- package/dist/runtime/app/utils/standard-schema.d.ts +0 -62
- /package/dist/runtime/app/{types/dashboard.js → components/Alert/Alert.types.js} +0 -0
- /package/dist/runtime/app/{types/state.js → components/App/App.types.js} +0 -0
- /package/dist/runtime/app/{utils → components/DataTable/internal}/query.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/DataTable/internal}/query.js +0 -0
- /package/dist/runtime/app/{utils → components/FieldSelect/internal/Select}/option.js +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/grid.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/grid.js +0 -0
- /package/dist/runtime/app/{utils → components/Form/internal}/standard-schema.js +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBadge}/CellBadge.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBoolean}/CellBoolean.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellBoolean}/CellBoolean.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellCurrency}/CellCurrency.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellDate}/CellDate.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellImage}/CellImage.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellNumber}/CellNumber.vue.d.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.d.vue.ts +0 -0
- /package/dist/runtime/app/components/{structure/cells → Table/internal/CellText}/CellText.vue.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Table/internal}/selection.d.ts +0 -0
- /package/dist/runtime/app/{utils → components/Table/internal}/selection.js +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import Switch from "#vuno/components/forms/Switch.vue";
|
|
3
|
-
import { useField } from "#vuno/composables/useField";
|
|
4
|
-
import { useTheme } from "#vuno/composables/useTheme";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
name: { type: String, required: true },
|
|
7
|
-
description: { type: String, required: false },
|
|
8
|
-
disabled: { type: Boolean, required: false },
|
|
9
|
-
help: { type: String, required: false },
|
|
10
|
-
hint: { type: String, required: false },
|
|
11
|
-
label: { type: String, required: false },
|
|
12
|
-
required: { type: Boolean, required: false },
|
|
13
|
-
size: { type: String, required: false },
|
|
14
|
-
ui: { type: Object, required: false }
|
|
15
|
-
});
|
|
16
|
-
const { value } = useField(() => props.name);
|
|
17
|
-
const ui = useTheme("fieldSwitch", () => props.ui);
|
|
18
|
-
</script>
|
|
19
|
-
|
|
20
|
-
<template>
|
|
21
|
-
<Switch
|
|
22
|
-
v-model="value"
|
|
23
|
-
:disabled="props.disabled"
|
|
24
|
-
:name="props.name"
|
|
25
|
-
:required="props.required"
|
|
26
|
-
:size="props.size"
|
|
27
|
-
:ui="ui"
|
|
28
|
-
/>
|
|
29
|
-
</template>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldSwitch } from '#vuno/types/field';
|
|
2
|
-
type __VLS_Props = Omit<VunoFieldSwitch, 'class' | 'columns'>;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
-
declare const _default: typeof __VLS_export;
|
|
5
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldText } from '#vuno/types/field';
|
|
2
|
-
type __VLS_Props = Omit<VunoFieldText, 'class' | 'columns'>;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
-
declare const _default: typeof __VLS_export;
|
|
5
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { useField } from "#vuno/composables/useField";
|
|
3
|
-
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
-
import Input from "#vuno/components/forms/Input.vue";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
name: { type: String, required: true },
|
|
7
|
-
description: { type: String, required: false },
|
|
8
|
-
disabled: { type: Boolean, required: false },
|
|
9
|
-
help: { type: String, required: false },
|
|
10
|
-
hint: { type: String, required: false },
|
|
11
|
-
label: { type: String, required: false },
|
|
12
|
-
required: { type: Boolean, required: false },
|
|
13
|
-
size: { type: String, required: false },
|
|
14
|
-
ui: { type: Object, required: false },
|
|
15
|
-
autocomplete: { type: String, required: false },
|
|
16
|
-
autofocus: { type: Boolean, required: false },
|
|
17
|
-
icon: { type: String, required: false },
|
|
18
|
-
maxlength: { type: Number, required: false },
|
|
19
|
-
placeholder: { type: String, required: false }
|
|
20
|
-
});
|
|
21
|
-
const { value } = useField(() => props.name);
|
|
22
|
-
const ui = useTheme("fieldText", () => props.ui);
|
|
23
|
-
</script>
|
|
24
|
-
|
|
25
|
-
<template>
|
|
26
|
-
<Input
|
|
27
|
-
v-model="value"
|
|
28
|
-
:autocomplete="props.autocomplete"
|
|
29
|
-
:autofocus="props.autofocus"
|
|
30
|
-
:disabled="props.disabled"
|
|
31
|
-
:icon="props.icon"
|
|
32
|
-
:maxlength="props.maxlength"
|
|
33
|
-
:name="props.name"
|
|
34
|
-
:placeholder="props.placeholder"
|
|
35
|
-
:required="props.required"
|
|
36
|
-
:size="props.size"
|
|
37
|
-
:ui="ui"
|
|
38
|
-
/>
|
|
39
|
-
</template>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { VunoFieldText } from '#vuno/types/field';
|
|
2
|
-
type __VLS_Props = Omit<VunoFieldText, 'class' | 'columns'>;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
-
declare const _default: typeof __VLS_export;
|
|
5
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { useField } from "#vuno/composables/useField";
|
|
3
|
-
import { useTheme } from "#vuno/composables/useTheme";
|
|
4
|
-
import Textarea from "#vuno/components/forms/Textarea.vue";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
name: { type: String, required: true },
|
|
7
|
-
description: { type: String, required: false },
|
|
8
|
-
disabled: { type: Boolean, required: false },
|
|
9
|
-
help: { type: String, required: false },
|
|
10
|
-
hint: { type: String, required: false },
|
|
11
|
-
label: { type: String, required: false },
|
|
12
|
-
required: { type: Boolean, required: false },
|
|
13
|
-
size: { type: String, required: false },
|
|
14
|
-
ui: { type: Object, required: false },
|
|
15
|
-
autoresize: { type: Boolean, required: false, default: true },
|
|
16
|
-
maxrows: { type: Number, required: false },
|
|
17
|
-
placeholder: { type: String, required: false },
|
|
18
|
-
rows: { type: Number, required: false }
|
|
19
|
-
});
|
|
20
|
-
const { value } = useField(() => props.name);
|
|
21
|
-
const ui = useTheme("fieldTextarea", () => props.ui);
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<template>
|
|
25
|
-
<Textarea
|
|
26
|
-
v-model="value"
|
|
27
|
-
:autoresize="props.autoresize"
|
|
28
|
-
:disabled="props.disabled"
|
|
29
|
-
:maxrows="props.maxrows"
|
|
30
|
-
:name="props.name"
|
|
31
|
-
:placeholder="props.placeholder"
|
|
32
|
-
:required="props.required"
|
|
33
|
-
:rows="props.rows"
|
|
34
|
-
:size="props.size"
|
|
35
|
-
:ui="ui"
|
|
36
|
-
/>
|
|
37
|
-
</template>
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { VunoSlots } from '#vuno/types/base';
|
|
2
|
-
/**
|
|
3
|
-
* La columna lateral del dashboard, que es dos cosas según el ancho.
|
|
4
|
-
*
|
|
5
|
-
* Mientras hay sitio es una columna más de la rejilla y se pliega a un raíl
|
|
6
|
-
* de iconos. Cuando no lo hay se convierte en un cajón que entra por encima
|
|
7
|
-
* del contenido, con un velo detrás que lo cierra al tocarlo.
|
|
8
|
-
*
|
|
9
|
-
* **Las dos son el mismo elemento y no dos copias.** Escrito como dos ramas
|
|
10
|
-
* —una para móvil y otra para escritorio— lo que hay dentro se monta dos
|
|
11
|
-
* veces: dos `VNavigation` con dos estados, y el que se ve no es
|
|
12
|
-
* necesariamente el que recuerda por dónde ibas. Aquí lo que cambia es la
|
|
13
|
-
* geometría, que sale del tema, y el contenido es uno solo.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* El `id` se declara como prop en vez de dejarlo caer por `$attrs`.
|
|
17
|
-
*
|
|
18
|
-
* Este componente tiene **dos raíces** —el velo y la columna— así que Vue no
|
|
19
|
-
* hereda los atributos a ninguna: no avisa, no falla, y el `id` simplemente
|
|
20
|
-
* no aparece. Se vio porque el `aria-controls` del botón apuntaba a un
|
|
21
|
-
* elemento que no existía, o sea un botón que dice mandar sobre algo y no
|
|
22
|
-
* manda sobre nada. Declarado, se pone donde tiene que ir.
|
|
23
|
-
*/
|
|
24
|
-
type __VLS_Props = {
|
|
25
|
-
id?: string;
|
|
26
|
-
/** Encoge la columna al raíl de iconos. Solo tiene efecto en escritorio. */
|
|
27
|
-
collapsed?: boolean;
|
|
28
|
-
ui?: VunoSlots;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_ModelProps = {
|
|
31
|
-
'open'?: boolean;
|
|
32
|
-
};
|
|
33
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
34
|
-
declare var __VLS_1: {};
|
|
35
|
-
type __VLS_Slots = {} & {
|
|
36
|
-
default?: (props: typeof __VLS_1) => any;
|
|
37
|
-
};
|
|
38
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
39
|
-
floating: import("vue").Ref<boolean, boolean>;
|
|
40
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
"update:open": (value: boolean) => any;
|
|
42
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
44
|
-
}>, {
|
|
45
|
-
id: string;
|
|
46
|
-
collapsed: boolean;
|
|
47
|
-
ui: VunoSlots;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
-
declare const _default: typeof __VLS_export;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { gsap } from "gsap";
|
|
3
|
-
import { useEventListener, usePreferredReducedMotion } from "@vueuse/core";
|
|
4
|
-
import { nextTick, onMounted, ref, useTemplateRef, watch } from "vue";
|
|
5
|
-
import { useTheme } from "#vuno/composables/useTheme";
|
|
6
|
-
const props = defineProps({
|
|
7
|
-
id: { type: String, required: false, default: void 0 },
|
|
8
|
-
collapsed: { type: Boolean, required: false, default: false },
|
|
9
|
-
ui: { type: Object, required: false, default: void 0 }
|
|
10
|
-
});
|
|
11
|
-
const open = defineModel("open", { type: Boolean, ...{ default: false } });
|
|
12
|
-
const ui = useTheme(
|
|
13
|
-
"layoutDashboard",
|
|
14
|
-
() => props.ui,
|
|
15
|
-
() => ({ collapsed: String(props.collapsed), open: String(open.value) })
|
|
16
|
-
);
|
|
17
|
-
const aside = useTemplateRef("aside");
|
|
18
|
-
const backdrop = useTemplateRef("backdrop");
|
|
19
|
-
const DURATION = 0.25;
|
|
20
|
-
const reducedMotion = usePreferredReducedMotion();
|
|
21
|
-
function duration() {
|
|
22
|
-
return reducedMotion.value === "reduce" ? 0 : DURATION;
|
|
23
|
-
}
|
|
24
|
-
async function animateFrom(before) {
|
|
25
|
-
await nextTick();
|
|
26
|
-
const element = aside.value;
|
|
27
|
-
if (!element) return;
|
|
28
|
-
const after = element.getBoundingClientRect();
|
|
29
|
-
gsap.from(element, {
|
|
30
|
-
clearProps: "width,transform",
|
|
31
|
-
duration: duration(),
|
|
32
|
-
ease: "power2.out",
|
|
33
|
-
width: before.width,
|
|
34
|
-
x: before.left - after.left
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
watch(
|
|
38
|
-
[open, () => props.collapsed],
|
|
39
|
-
() => {
|
|
40
|
-
const element = aside.value;
|
|
41
|
-
if (!element) return;
|
|
42
|
-
void animateFrom(element.getBoundingClientRect());
|
|
43
|
-
},
|
|
44
|
-
{ flush: "pre" }
|
|
45
|
-
);
|
|
46
|
-
const inert = ref(false);
|
|
47
|
-
function floats() {
|
|
48
|
-
const root = aside.value?.parentElement;
|
|
49
|
-
return !!root && globalThis.getComputedStyle?.(root).paddingLeft === "0px";
|
|
50
|
-
}
|
|
51
|
-
const floating = ref(false);
|
|
52
|
-
function syncInert() {
|
|
53
|
-
floating.value = floats();
|
|
54
|
-
inert.value = !open.value && floating.value;
|
|
55
|
-
}
|
|
56
|
-
defineExpose({ floating });
|
|
57
|
-
onMounted(syncInert);
|
|
58
|
-
useEventListener("resize", syncInert);
|
|
59
|
-
watch(open, syncInert, { flush: "post" });
|
|
60
|
-
watch(open, async (isOpen) => {
|
|
61
|
-
if (!isOpen) return;
|
|
62
|
-
await nextTick();
|
|
63
|
-
if (backdrop.value) gsap.from(backdrop.value, { duration: duration(), ease: "power2.out", opacity: 0 });
|
|
64
|
-
aside.value?.focus();
|
|
65
|
-
});
|
|
66
|
-
</script>
|
|
67
|
-
|
|
68
|
-
<template>
|
|
69
|
-
<!--
|
|
70
|
-
El velo solo existe mientras el cajón está abierto, y solo se ve donde
|
|
71
|
-
el cajón flota: en escritorio la columna ocupa su sitio y no tapa nada,
|
|
72
|
-
así que un velo ahí oscurecería la pantalla sin motivo.
|
|
73
|
-
|
|
74
|
-
Es un `div` y no un botón porque no es una acción que se anuncie: quien
|
|
75
|
-
va con teclado cierra con Escape, que es lo que esperan sus dedos, y a
|
|
76
|
-
quien va con ratón le sobra saber que el fondo es pulsable. Por eso
|
|
77
|
-
también queda fuera del recorrido del tabulador.
|
|
78
|
-
-->
|
|
79
|
-
<div
|
|
80
|
-
v-if="open"
|
|
81
|
-
ref="backdrop"
|
|
82
|
-
aria-hidden="true"
|
|
83
|
-
:class="ui.backdrop"
|
|
84
|
-
@click="open = false"
|
|
85
|
-
/>
|
|
86
|
-
|
|
87
|
-
<aside
|
|
88
|
-
:id="props.id"
|
|
89
|
-
ref="aside"
|
|
90
|
-
:class="ui.aside"
|
|
91
|
-
:inert="inert"
|
|
92
|
-
tabindex="-1"
|
|
93
|
-
>
|
|
94
|
-
<slot />
|
|
95
|
-
</aside>
|
|
96
|
-
</template>
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { VunoSlots } from '#vuno/types/base';
|
|
2
|
-
/**
|
|
3
|
-
* La columna lateral del dashboard, que es dos cosas según el ancho.
|
|
4
|
-
*
|
|
5
|
-
* Mientras hay sitio es una columna más de la rejilla y se pliega a un raíl
|
|
6
|
-
* de iconos. Cuando no lo hay se convierte en un cajón que entra por encima
|
|
7
|
-
* del contenido, con un velo detrás que lo cierra al tocarlo.
|
|
8
|
-
*
|
|
9
|
-
* **Las dos son el mismo elemento y no dos copias.** Escrito como dos ramas
|
|
10
|
-
* —una para móvil y otra para escritorio— lo que hay dentro se monta dos
|
|
11
|
-
* veces: dos `VNavigation` con dos estados, y el que se ve no es
|
|
12
|
-
* necesariamente el que recuerda por dónde ibas. Aquí lo que cambia es la
|
|
13
|
-
* geometría, que sale del tema, y el contenido es uno solo.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* El `id` se declara como prop en vez de dejarlo caer por `$attrs`.
|
|
17
|
-
*
|
|
18
|
-
* Este componente tiene **dos raíces** —el velo y la columna— así que Vue no
|
|
19
|
-
* hereda los atributos a ninguna: no avisa, no falla, y el `id` simplemente
|
|
20
|
-
* no aparece. Se vio porque el `aria-controls` del botón apuntaba a un
|
|
21
|
-
* elemento que no existía, o sea un botón que dice mandar sobre algo y no
|
|
22
|
-
* manda sobre nada. Declarado, se pone donde tiene que ir.
|
|
23
|
-
*/
|
|
24
|
-
type __VLS_Props = {
|
|
25
|
-
id?: string;
|
|
26
|
-
/** Encoge la columna al raíl de iconos. Solo tiene efecto en escritorio. */
|
|
27
|
-
collapsed?: boolean;
|
|
28
|
-
ui?: VunoSlots;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_ModelProps = {
|
|
31
|
-
'open'?: boolean;
|
|
32
|
-
};
|
|
33
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
34
|
-
declare var __VLS_1: {};
|
|
35
|
-
type __VLS_Slots = {} & {
|
|
36
|
-
default?: (props: typeof __VLS_1) => any;
|
|
37
|
-
};
|
|
38
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
39
|
-
floating: import("vue").Ref<boolean, boolean>;
|
|
40
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
"update:open": (value: boolean) => any;
|
|
42
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
44
|
-
}>, {
|
|
45
|
-
id: string;
|
|
46
|
-
collapsed: boolean;
|
|
47
|
-
ui: VunoSlots;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
-
declare const _default: typeof __VLS_export;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { VunoSlots } from '#vuno/types/base';
|
|
2
|
-
/**
|
|
3
|
-
* El esqueleto de una aplicación: barra arriba, columna lateral y contenido.
|
|
4
|
-
*
|
|
5
|
-
* **La columna y la barra flotan, y el contenido reserva su sitio con
|
|
6
|
-
* relleno.** Las dos están fuera del flujo, así que se quedan quietas
|
|
7
|
-
* mientras la página se desplaza por debajo, y el contenido se aparta con
|
|
8
|
-
* `pt` y `pl` en vez de repartirse en una rejilla.
|
|
9
|
-
*
|
|
10
|
-
* O sea que **lo que se desplaza es el documento entero**, no cada región
|
|
11
|
-
* por su cuenta. Es lo que hace falta cuando la pantalla tiene que
|
|
12
|
-
* comportarse como una página: el navegador recuerda dónde estabas al
|
|
13
|
-
* volver, su buscador llega a todo lo que hay debajo y un ancla lleva a
|
|
14
|
-
* donde dice.
|
|
15
|
-
*
|
|
16
|
-
* El precio, dicho para que nadie lo descubra a golpes: dentro de `main` un
|
|
17
|
-
* `h-full` no significa nada, porque `main` no tiene alto propio. Lo que
|
|
18
|
-
* necesite medirse toma el viewport menos la barra, y por eso ese alto vive
|
|
19
|
-
* en `--dashboard-navbar-height` y no escrito a mano en cada sitio.
|
|
20
|
-
*/
|
|
21
|
-
type __VLS_Props = {
|
|
22
|
-
ui?: VunoSlots;
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Slots = {
|
|
25
|
-
/** La columna lateral, normalmente un `VNavigation`. */
|
|
26
|
-
aside?: () => unknown;
|
|
27
|
-
default?: () => unknown;
|
|
28
|
-
/** La barra de arriba, a todo lo ancho que le deja la columna. */
|
|
29
|
-
navbar?: () => unknown;
|
|
30
|
-
/** Un panel a la derecha: detalle, filtros, ayuda. */
|
|
31
|
-
panel?: () => unknown;
|
|
32
|
-
};
|
|
33
|
-
type __VLS_ModelProps = {
|
|
34
|
-
/**
|
|
35
|
-
* Plegada la columna, que es lo que decide si ocupa sitio en escritorio.
|
|
36
|
-
*
|
|
37
|
-
* Va como modelo para que la aplicación pueda recordar la preferencia entre
|
|
38
|
-
* pantallas, que es lo que espera quien la pliega una vez.
|
|
39
|
-
*/
|
|
40
|
-
'collapsed'?: boolean;
|
|
41
|
-
};
|
|
42
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
43
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
-
"update:collapsed": (value: boolean) => any;
|
|
45
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
46
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
ui: VunoSlots;
|
|
49
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
|
-
declare const _default: typeof __VLS_export;
|
|
52
|
-
export default _default;
|
|
53
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
-
new (): {
|
|
55
|
-
$slots: S;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, nextTick, provide, ref, useId, useTemplateRef, watch } from "vue";
|
|
3
|
-
import Button from "#vuno/components/actions/Button.vue";
|
|
4
|
-
import { useIcons, useMessages, useTheme } from "#vuno/composables/useTheme";
|
|
5
|
-
import { filled } from "#vuno/internal/slots";
|
|
6
|
-
import DashboardAside from "./DashboardAside.vue";
|
|
7
|
-
import { vunoDashboardInjectionKey } from "#vuno/internal/keys";
|
|
8
|
-
import Navbar from "../../structure/Navbar.vue";
|
|
9
|
-
const props = defineProps({
|
|
10
|
-
ui: { type: Object, required: false, default: void 0 }
|
|
11
|
-
});
|
|
12
|
-
const collapsed = defineModel("collapsed", { type: Boolean, ...{ default: false } });
|
|
13
|
-
const slots = defineSlots();
|
|
14
|
-
const icons = useIcons();
|
|
15
|
-
const messages = useMessages();
|
|
16
|
-
const open = ref(false);
|
|
17
|
-
const ui = useTheme(
|
|
18
|
-
"layoutDashboard",
|
|
19
|
-
() => props.ui,
|
|
20
|
-
() => ({ collapsed: String(collapsed.value), open: String(open.value) })
|
|
21
|
-
);
|
|
22
|
-
const mainId = useId();
|
|
23
|
-
const asideId = useId();
|
|
24
|
-
const skippable = computed(() => filled(slots.navbar) || filled(slots.aside));
|
|
25
|
-
const asideRef = useTemplateRef("asideRef");
|
|
26
|
-
const behind = computed(() => open.value && (asideRef.value?.floating ?? false));
|
|
27
|
-
const drawerButton = useTemplateRef("drawerButton");
|
|
28
|
-
watch(open, async (isOpen) => {
|
|
29
|
-
if (isOpen) return;
|
|
30
|
-
await nextTick();
|
|
31
|
-
drawerButton.value?.$el?.focus?.();
|
|
32
|
-
});
|
|
33
|
-
const onKeydown = (event) => {
|
|
34
|
-
if (event.key !== "Escape" || !open.value) return;
|
|
35
|
-
event.stopPropagation();
|
|
36
|
-
open.value = false;
|
|
37
|
-
};
|
|
38
|
-
const title = ref("");
|
|
39
|
-
function setTitle(value) {
|
|
40
|
-
title.value = value || "";
|
|
41
|
-
}
|
|
42
|
-
provide(vunoDashboardInjectionKey, { setTitle });
|
|
43
|
-
</script>
|
|
44
|
-
|
|
45
|
-
<template>
|
|
46
|
-
<div
|
|
47
|
-
:class="ui.root"
|
|
48
|
-
@keydown="onKeydown"
|
|
49
|
-
>
|
|
50
|
-
<a
|
|
51
|
-
v-if="skippable"
|
|
52
|
-
:class="ui.skip"
|
|
53
|
-
:href="`#${mainId}`"
|
|
54
|
-
:inert="behind"
|
|
55
|
-
>{{ messages.skipToContent }}</a
|
|
56
|
-
>
|
|
57
|
-
|
|
58
|
-
<!--
|
|
59
|
-
La barra es un `<header>` que **contiene** un `VNavbar`, y cada uno
|
|
60
|
-
hace una cosa: el `<header>` se clava arriba, se pinta y reserva su
|
|
61
|
-
alto; la barra reparte lo que va dentro en tres regiones.
|
|
62
|
-
|
|
63
|
-
Aquí había un comentario diciendo que esto no podía ser un `<nav>`
|
|
64
|
-
porque la columna de al lado ya tiene uno y dos regiones de
|
|
65
|
-
navegación sin nombre no se distinguen. Sigue siendo cierto lo
|
|
66
|
-
segundo y ya no aplica lo primero: `VNavbar` **lleva nombre**, así
|
|
67
|
-
que las dos se anuncian distintas.
|
|
68
|
-
-->
|
|
69
|
-
<header :class="ui.navbar">
|
|
70
|
-
<Navbar>
|
|
71
|
-
<template #left>
|
|
72
|
-
<!--
|
|
73
|
-
Dos botones y no uno que cambie de significado según el
|
|
74
|
-
ancho. Cuál se ve lo decide el CSS, así que no hace falta
|
|
75
|
-
preguntarle al navegador por su tamaño —ni acertar con
|
|
76
|
-
ello en el servidor, que es de donde salen los desajustes
|
|
77
|
-
de hidratación—. Y cada uno dice lo que hace: en móvil se
|
|
78
|
-
abre un cajón y en escritorio se pliega una columna, que
|
|
79
|
-
no es lo mismo.
|
|
80
|
-
-->
|
|
81
|
-
<Button
|
|
82
|
-
v-if="filled(slots.aside)"
|
|
83
|
-
ref="drawerButton"
|
|
84
|
-
:aria-controls="asideId"
|
|
85
|
-
:aria-expanded="open"
|
|
86
|
-
:aria-label="messages.asideToggle"
|
|
87
|
-
color="neutral"
|
|
88
|
-
:icon="icons.asideToggle"
|
|
89
|
-
:ui="{ base: ui.toggleDrawer }"
|
|
90
|
-
variant="ghost"
|
|
91
|
-
@click="open = !open"
|
|
92
|
-
/>
|
|
93
|
-
|
|
94
|
-
<Button
|
|
95
|
-
v-if="filled(slots.aside)"
|
|
96
|
-
:aria-controls="asideId"
|
|
97
|
-
:aria-expanded="!collapsed"
|
|
98
|
-
:aria-label="messages.asideCollapse"
|
|
99
|
-
color="neutral"
|
|
100
|
-
:icon="icons.asideToggle"
|
|
101
|
-
:ui="{ base: ui.toggleRail }"
|
|
102
|
-
variant="ghost"
|
|
103
|
-
@click="collapsed = !collapsed"
|
|
104
|
-
/>
|
|
105
|
-
|
|
106
|
-
<span
|
|
107
|
-
v-if="title"
|
|
108
|
-
:class="ui.title"
|
|
109
|
-
>{{ title }}</span
|
|
110
|
-
>
|
|
111
|
-
</template>
|
|
112
|
-
|
|
113
|
-
<!--
|
|
114
|
-
Lo que el proyecto pone en la barra sí se aparta con el cajón
|
|
115
|
-
abierto; los dos mandos de la columna **no**, porque son
|
|
116
|
-
suyos: el de abrir es también el de cerrar, y marcarlo inerte
|
|
117
|
-
dejaría el cajón sin la única parada de teclado que lo cierra.
|
|
118
|
-
Es la misma excepción que el velo, y por el mismo motivo.
|
|
119
|
-
|
|
120
|
-
El envoltorio es `contents` para que no sea una caja: los
|
|
121
|
-
hijos del slot siguen siendo elementos de la región y su
|
|
122
|
-
reparto no cambia. `inert` no es una propiedad de pintado,
|
|
123
|
-
así que se aplica igual sobre algo que no pinta.
|
|
124
|
-
-->
|
|
125
|
-
<template #right>
|
|
126
|
-
<div
|
|
127
|
-
class="contents"
|
|
128
|
-
:inert="behind"
|
|
129
|
-
>
|
|
130
|
-
<slot name="navbar" />
|
|
131
|
-
</div>
|
|
132
|
-
</template>
|
|
133
|
-
</Navbar>
|
|
134
|
-
</header>
|
|
135
|
-
|
|
136
|
-
<DashboardAside
|
|
137
|
-
v-if="filled(slots.aside)"
|
|
138
|
-
:id="asideId"
|
|
139
|
-
ref="asideRef"
|
|
140
|
-
v-model:open="open"
|
|
141
|
-
:collapsed="collapsed"
|
|
142
|
-
:ui="props.ui"
|
|
143
|
-
>
|
|
144
|
-
<slot name="aside" />
|
|
145
|
-
</DashboardAside>
|
|
146
|
-
|
|
147
|
-
<main
|
|
148
|
-
:id="mainId"
|
|
149
|
-
:class="ui.main"
|
|
150
|
-
:inert="behind"
|
|
151
|
-
tabindex="-1"
|
|
152
|
-
>
|
|
153
|
-
<slot />
|
|
154
|
-
</main>
|
|
155
|
-
|
|
156
|
-
<aside
|
|
157
|
-
v-if="filled(slots.panel)"
|
|
158
|
-
:class="ui.panel"
|
|
159
|
-
:inert="behind"
|
|
160
|
-
>
|
|
161
|
-
<slot name="panel" />
|
|
162
|
-
</aside>
|
|
163
|
-
</div>
|
|
164
|
-
</template>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { VunoSlots } from '#vuno/types/base';
|
|
2
|
-
/**
|
|
3
|
-
* El esqueleto de una aplicación: barra arriba, columna lateral y contenido.
|
|
4
|
-
*
|
|
5
|
-
* **La columna y la barra flotan, y el contenido reserva su sitio con
|
|
6
|
-
* relleno.** Las dos están fuera del flujo, así que se quedan quietas
|
|
7
|
-
* mientras la página se desplaza por debajo, y el contenido se aparta con
|
|
8
|
-
* `pt` y `pl` en vez de repartirse en una rejilla.
|
|
9
|
-
*
|
|
10
|
-
* O sea que **lo que se desplaza es el documento entero**, no cada región
|
|
11
|
-
* por su cuenta. Es lo que hace falta cuando la pantalla tiene que
|
|
12
|
-
* comportarse como una página: el navegador recuerda dónde estabas al
|
|
13
|
-
* volver, su buscador llega a todo lo que hay debajo y un ancla lleva a
|
|
14
|
-
* donde dice.
|
|
15
|
-
*
|
|
16
|
-
* El precio, dicho para que nadie lo descubra a golpes: dentro de `main` un
|
|
17
|
-
* `h-full` no significa nada, porque `main` no tiene alto propio. Lo que
|
|
18
|
-
* necesite medirse toma el viewport menos la barra, y por eso ese alto vive
|
|
19
|
-
* en `--dashboard-navbar-height` y no escrito a mano en cada sitio.
|
|
20
|
-
*/
|
|
21
|
-
type __VLS_Props = {
|
|
22
|
-
ui?: VunoSlots;
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Slots = {
|
|
25
|
-
/** La columna lateral, normalmente un `VNavigation`. */
|
|
26
|
-
aside?: () => unknown;
|
|
27
|
-
default?: () => unknown;
|
|
28
|
-
/** La barra de arriba, a todo lo ancho que le deja la columna. */
|
|
29
|
-
navbar?: () => unknown;
|
|
30
|
-
/** Un panel a la derecha: detalle, filtros, ayuda. */
|
|
31
|
-
panel?: () => unknown;
|
|
32
|
-
};
|
|
33
|
-
type __VLS_ModelProps = {
|
|
34
|
-
/**
|
|
35
|
-
* Plegada la columna, que es lo que decide si ocupa sitio en escritorio.
|
|
36
|
-
*
|
|
37
|
-
* Va como modelo para que la aplicación pueda recordar la preferencia entre
|
|
38
|
-
* pantallas, que es lo que espera quien la pliega una vez.
|
|
39
|
-
*/
|
|
40
|
-
'collapsed'?: boolean;
|
|
41
|
-
};
|
|
42
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
43
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
-
"update:collapsed": (value: boolean) => any;
|
|
45
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
46
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
ui: VunoSlots;
|
|
49
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
|
-
declare const _default: typeof __VLS_export;
|
|
52
|
-
export default _default;
|
|
53
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
-
new (): {
|
|
55
|
-
$slots: S;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { VunoHeadingLevel, VunoSlots } from '#vuno/types/base';
|
|
2
|
-
/**
|
|
3
|
-
* Una pantalla dentro del dashboard: cabecera fija y cuerpo que se desplaza.
|
|
4
|
-
*
|
|
5
|
-
* Existe por lo mismo que el layout mide `dvh`: para que el alto siga
|
|
6
|
-
* significando algo un nivel más abajo. El layout deja el contenido en una
|
|
7
|
-
* región de alto conocido, y esto lo reparte en dos —lo que se queda y lo
|
|
8
|
-
* que rueda—, de modo que una tabla de dentro puede decir `h-full` y llenar
|
|
9
|
-
* lo que le toca en vez de empujar la página hacia abajo.
|
|
10
|
-
*
|
|
11
|
-
* Sin esto, cada pantalla vuelve a inventarse el mismo `flex` con el mismo
|
|
12
|
-
* `min-h-0`, y **el que se olvida del `min-h-0` no se entera**: un item de
|
|
13
|
-
* flex no encoge por debajo de su contenido, así que la cabecera se va
|
|
14
|
-
* scrolleando con la tabla y parece un fallo de la tabla.
|
|
15
|
-
*/
|
|
16
|
-
type __VLS_Props = {
|
|
17
|
-
/**
|
|
18
|
-
* El nivel del título. `1` por defecto, que es lo correcto cuando
|
|
19
|
-
* esto **es** la pantalla del dashboard.
|
|
20
|
-
*
|
|
21
|
-
* Se baja cuando no lo es, y el caso que lo hizo falta es el
|
|
22
|
-
* catálogo: dos instancias embebidas en una ficha que ya tiene su
|
|
23
|
-
* `h1` dejaban tres `h1` en la misma página. El aspecto no cambia
|
|
24
|
-
* —el tamaño y el peso los pone `ui.title`, no la etiqueta—, que es
|
|
25
|
-
* justo lo que hace que este defecto no se vea; se oye.
|
|
26
|
-
*/
|
|
27
|
-
level?: VunoHeadingLevel;
|
|
28
|
-
/** El título de la pantalla. Sin él, la cabecera solo sale si hay acciones. */
|
|
29
|
-
title?: string;
|
|
30
|
-
ui?: VunoSlots;
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Slots = {
|
|
33
|
-
/** A la derecha de la cabecera: crear, exportar, filtrar. */
|
|
34
|
-
actions?: () => unknown;
|
|
35
|
-
default?: () => unknown;
|
|
36
|
-
};
|
|
37
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
38
|
-
title: string;
|
|
39
|
-
ui: VunoSlots;
|
|
40
|
-
level: VunoHeadingLevel;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
-
declare const _default: typeof __VLS_export;
|
|
44
|
-
export default _default;
|
|
45
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
-
new (): {
|
|
47
|
-
$slots: S;
|
|
48
|
-
};
|
|
49
|
-
};
|