@antify/ui-module 1.7.2 → 1.8.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 +43 -52
- package/dist/module.d.mts +1 -259
- package/dist/module.d.ts +1 -259
- package/dist/module.json +1 -1
- package/dist/module.mjs +97 -430
- package/dist/runtime/composables/useUiClient.d.ts +2 -2
- package/dist/runtime/composables/useUiClient.mjs +1 -2
- package/dist/runtime/plugins/ui-module.mjs +3 -2
- package/dist/runtime/tailwind.config.d.ts +2 -3
- package/dist/runtime/tailwind.config.mjs +20 -204
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +10 -40
- package/dist/runtime/components/AntAccordion.vue +0 -64
- package/dist/runtime/components/AntAccordionItem.vue +0 -81
- package/dist/runtime/components/AntAlert.vue +0 -146
- package/dist/runtime/components/AntCard.vue +0 -34
- package/dist/runtime/components/AntContent.vue +0 -16
- package/dist/runtime/components/AntDropdown.vue +0 -79
- package/dist/runtime/components/AntIcon.vue +0 -56
- package/dist/runtime/components/AntKeycap.vue +0 -45
- package/dist/runtime/components/AntListGroup.vue +0 -24
- package/dist/runtime/components/AntListGroupItem.vue +0 -83
- package/dist/runtime/components/AntModal.vue +0 -88
- package/dist/runtime/components/AntPagination.vue +0 -206
- package/dist/runtime/components/AntPopover.vue +0 -114
- package/dist/runtime/components/AntSkeleton.vue +0 -38
- package/dist/runtime/components/AntSpinner.vue +0 -101
- package/dist/runtime/components/AntTag.vue +0 -114
- package/dist/runtime/components/AntToast.vue +0 -119
- package/dist/runtime/components/AntToaster.vue +0 -51
- package/dist/runtime/components/AntTooltip.vue +0 -189
- package/dist/runtime/components/Main.mdx +0 -11
- package/dist/runtime/components/Main.stories.d.ts +0 -7
- package/dist/runtime/components/Main.stories.mjs +0 -8
- package/dist/runtime/components/__stories/AntAccordion.stories.d.ts +0 -9
- package/dist/runtime/components/__stories/AntAccordion.stories.mjs +0 -101
- package/dist/runtime/components/__stories/AntAlert.stories.d.ts +0 -11
- package/dist/runtime/components/__stories/AntAlert.stories.mjs +0 -81
- package/dist/runtime/components/__stories/AntCard.stories.d.ts +0 -7
- package/dist/runtime/components/__stories/AntCard.stories.mjs +0 -87
- package/dist/runtime/components/__stories/AntContent.stories.d.ts +0 -6
- package/dist/runtime/components/__stories/AntContent.stories.mjs +0 -26
- package/dist/runtime/components/__stories/AntDropdown.stories.d.ts +0 -6
- package/dist/runtime/components/__stories/AntDropdown.stories.mjs +0 -52
- package/dist/runtime/components/__stories/AntIcon.stories.d.ts +0 -8
- package/dist/runtime/components/__stories/AntIcon.stories.mjs +0 -93
- package/dist/runtime/components/__stories/AntKeycap.stories.d.ts +0 -9
- package/dist/runtime/components/__stories/AntKeycap.stories.mjs +0 -69
- package/dist/runtime/components/__stories/AntListGroup.stories.d.ts +0 -7
- package/dist/runtime/components/__stories/AntListGroup.stories.mjs +0 -36
- package/dist/runtime/components/__stories/AntListGroupItem.stories.d.ts +0 -10
- package/dist/runtime/components/__stories/AntListGroupItem.stories.mjs +0 -62
- package/dist/runtime/components/__stories/AntModal.stories.d.ts +0 -7
- package/dist/runtime/components/__stories/AntModal.stories.mjs +0 -78
- package/dist/runtime/components/__stories/AntPagination.stories.d.ts +0 -8
- package/dist/runtime/components/__stories/AntPagination.stories.mjs +0 -39
- package/dist/runtime/components/__stories/AntPopover.stories.d.ts +0 -6
- package/dist/runtime/components/__stories/AntPopover.stories.mjs +0 -47
- package/dist/runtime/components/__stories/AntSkeleton.stories.d.ts +0 -8
- package/dist/runtime/components/__stories/AntSkeleton.stories.mjs +0 -43
- package/dist/runtime/components/__stories/AntSpinner.stories.d.ts +0 -6
- package/dist/runtime/components/__stories/AntSpinner.stories.mjs +0 -34
- package/dist/runtime/components/__stories/AntTag.stories.d.ts +0 -7
- package/dist/runtime/components/__stories/AntTag.stories.mjs +0 -43
- package/dist/runtime/components/__stories/AntToast.stories.d.ts +0 -8
- package/dist/runtime/components/__stories/AntToast.stories.mjs +0 -66
- package/dist/runtime/components/__stories/AntToaster.stories.d.ts +0 -34
- package/dist/runtime/components/__stories/AntToaster.stories.mjs +0 -42
- package/dist/runtime/components/__stories/AntTooltip.stories.d.ts +0 -16
- package/dist/runtime/components/__stories/AntTooltip.stories.mjs +0 -241
- package/dist/runtime/components/__types/AntAccordion.types.d.ts +0 -4
- package/dist/runtime/components/__types/AntAccordion.types.mjs +0 -5
- package/dist/runtime/components/__types/AntIcon.types.d.ts +0 -8
- package/dist/runtime/components/__types/AntIcon.types.mjs +0 -9
- package/dist/runtime/components/__types/AntKeycap.types.d.ts +0 -4
- package/dist/runtime/components/__types/AntKeycap.types.mjs +0 -5
- package/dist/runtime/components/__types/AntListGroupItem.types.d.ts +0 -9
- package/dist/runtime/components/__types/AntListGroupItem.types.mjs +0 -10
- package/dist/runtime/components/__types/AntSpinner.types.d.ts +0 -10
- package/dist/runtime/components/__types/AntSpinner.types.mjs +0 -11
- package/dist/runtime/components/__types/AntTag.types.d.ts +0 -17
- package/dist/runtime/components/__types/AntTag.types.mjs +0 -19
- package/dist/runtime/components/__types/AntToaster.types.d.ts +0 -8
- package/dist/runtime/components/__types/AntToaster.types.mjs +0 -0
- package/dist/runtime/components/__types/index.d.ts +0 -7
- package/dist/runtime/components/__types/index.mjs +0 -7
- package/dist/runtime/components/buttons/AntActionButton.vue +0 -74
- package/dist/runtime/components/buttons/AntButton.vue +0 -257
- package/dist/runtime/components/buttons/AntCreateButton.vue +0 -54
- package/dist/runtime/components/buttons/AntDeleteButton.vue +0 -54
- package/dist/runtime/components/buttons/AntDuplicateButton.vue +0 -54
- package/dist/runtime/components/buttons/AntEditButton.vue +0 -54
- package/dist/runtime/components/buttons/AntSaveAndNewButton.vue +0 -56
- package/dist/runtime/components/buttons/AntSaveButton.vue +0 -55
- package/dist/runtime/components/buttons/__stories/AntActionButton.stories.d.ts +0 -11
- package/dist/runtime/components/buttons/__stories/AntActionButton.stories.mjs +0 -86
- package/dist/runtime/components/buttons/__stories/AntButton.stories.d.ts +0 -16
- package/dist/runtime/components/buttons/__stories/AntButton.stories.mjs +0 -313
- package/dist/runtime/components/buttons/__stories/AntCreateButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntCreateButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__stories/AntDeleteButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntDeleteButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__stories/AntDuplicateButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntDuplicateButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__stories/AntEditButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntEditButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__stories/AntSaveAndNewButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntSaveAndNewButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__stories/AntSaveButton.stories.d.ts +0 -12
- package/dist/runtime/components/buttons/__stories/AntSaveButton.stories.mjs +0 -76
- package/dist/runtime/components/buttons/__types/AntButton.types.d.ts +0 -4
- package/dist/runtime/components/buttons/__types/AntButton.types.mjs +0 -5
- package/dist/runtime/components/buttons/__types/index.d.ts +0 -1
- package/dist/runtime/components/buttons/__types/index.mjs +0 -1
- package/dist/runtime/components/crud/AntCrud.vue +0 -45
- package/dist/runtime/components/crud/AntCrudDetail.vue +0 -11
- package/dist/runtime/components/crud/AntCrudDetailActions.vue +0 -58
- package/dist/runtime/components/crud/AntCrudDetailNav.vue +0 -64
- package/dist/runtime/components/crud/AntCrudTableFilter.vue +0 -122
- package/dist/runtime/components/crud/AntCrudTableNav.vue +0 -149
- package/dist/runtime/components/crud/__stories/AntCrud.stories.d.ts +0 -6
- package/dist/runtime/components/crud/__stories/AntCrud.stories.mjs +0 -126
- package/dist/runtime/components/crud/__stories/AntCrudDetail.stories.d.ts +0 -7
- package/dist/runtime/components/crud/__stories/AntCrudDetail.stories.mjs +0 -80
- package/dist/runtime/components/crud/__stories/AntCrudDetailActions.stories.d.ts +0 -6
- package/dist/runtime/components/crud/__stories/AntCrudDetailActions.stories.mjs +0 -25
- package/dist/runtime/components/crud/__stories/AntCrudDetailNav.stories.d.ts +0 -6
- package/dist/runtime/components/crud/__stories/AntCrudDetailNav.stories.mjs +0 -41
- package/dist/runtime/components/crud/__stories/AntCrudTableFilter.stories.d.ts +0 -6
- package/dist/runtime/components/crud/__stories/AntCrudTableFilter.stories.mjs +0 -25
- package/dist/runtime/components/crud/__stories/AntCrudTableNav.stories.d.ts +0 -8
- package/dist/runtime/components/crud/__stories/AntCrudTableNav.stories.mjs +0 -56
- package/dist/runtime/components/dialogs/AntDeleteDialog.vue +0 -29
- package/dist/runtime/components/dialogs/AntDialog.vue +0 -147
- package/dist/runtime/components/dialogs/__stories/AndDeleteDialog.stories.d.ts +0 -6
- package/dist/runtime/components/dialogs/__stories/AndDeleteDialog.stories.mjs +0 -32
- package/dist/runtime/components/dialogs/__stories/AntDialog.stories.d.ts +0 -6
- package/dist/runtime/components/dialogs/__stories/AntDialog.stories.mjs +0 -60
- package/dist/runtime/components/forms/AntField.vue +0 -123
- package/dist/runtime/components/forms/AntFormGroup.vue +0 -36
- package/dist/runtime/components/forms/AntFormGroupLabel.vue +0 -5
- package/dist/runtime/components/forms/__stories/AntField.stories.d.ts +0 -6
- package/dist/runtime/components/forms/__stories/AntField.stories.mjs +0 -80
- package/dist/runtime/components/forms/__stories/AntFormGroup.stories.d.ts +0 -6
- package/dist/runtime/components/forms/__stories/AntFormGroup.stories.mjs +0 -33
- package/dist/runtime/components/forms/__stories/AntFormGroupLabel.stories.d.ts +0 -6
- package/dist/runtime/components/forms/__stories/AntFormGroupLabel.stories.mjs +0 -20
- package/dist/runtime/components/index.d.ts +0 -62
- package/dist/runtime/components/index.mjs +0 -124
- package/dist/runtime/components/inputs/AntCheckbox.vue +0 -183
- package/dist/runtime/components/inputs/AntCheckboxGroup.vue +0 -117
- package/dist/runtime/components/inputs/AntDateInput.vue +0 -97
- package/dist/runtime/components/inputs/AntNumberInput.vue +0 -152
- package/dist/runtime/components/inputs/AntPasswordInput.vue +0 -107
- package/dist/runtime/components/inputs/AntRadio.vue +0 -192
- package/dist/runtime/components/inputs/AntRadioGroup.vue +0 -116
- package/dist/runtime/components/inputs/AntRangeSlider.vue +0 -101
- package/dist/runtime/components/inputs/AntRichTextEditor.vue +0 -237
- package/dist/runtime/components/inputs/AntSearch.vue +0 -72
- package/dist/runtime/components/inputs/AntSelect.vue +0 -311
- package/dist/runtime/components/inputs/AntSwitch.vue +0 -192
- package/dist/runtime/components/inputs/AntSwitcher.vue +0 -196
- package/dist/runtime/components/inputs/AntTagInput.vue +0 -331
- package/dist/runtime/components/inputs/AntTextInput.vue +0 -72
- package/dist/runtime/components/inputs/AntTextarea.vue +0 -185
- package/dist/runtime/components/inputs/AntUnitInput.vue +0 -93
- package/dist/runtime/components/inputs/Elements/AntBaseInput.vue +0 -256
- package/dist/runtime/components/inputs/Elements/AntDropDown.vue +0 -189
- package/dist/runtime/components/inputs/Elements/AntInputDescription.vue +0 -58
- package/dist/runtime/components/inputs/Elements/AntInputLabel.vue +0 -65
- package/dist/runtime/components/inputs/Elements/AntInputLimiter.vue +0 -58
- package/dist/runtime/components/inputs/Elements/__stories/AntBaseInput.stories.d.ts +0 -11
- package/dist/runtime/components/inputs/Elements/__stories/AntBaseInput.stories.mjs +0 -234
- package/dist/runtime/components/inputs/Elements/__stories/AntInputDescription.stories.d.ts +0 -6
- package/dist/runtime/components/inputs/Elements/__stories/AntInputDescription.stories.mjs +0 -34
- package/dist/runtime/components/inputs/Elements/__stories/AntInputLabel.stories.d.ts +0 -7
- package/dist/runtime/components/inputs/Elements/__stories/AntInputLabel.stories.mjs +0 -46
- package/dist/runtime/components/inputs/Elements/__stories/AntInputLimiter.stories.d.ts +0 -6
- package/dist/runtime/components/inputs/Elements/__stories/AntInputLimiter.stories.mjs +0 -37
- package/dist/runtime/components/inputs/Elements/__types/AntBaseInput.types.d.ts +0 -17
- package/dist/runtime/components/inputs/Elements/__types/AntBaseInput.types.mjs +0 -18
- package/dist/runtime/components/inputs/Elements/__types/index.d.ts +0 -1
- package/dist/runtime/components/inputs/Elements/__types/index.mjs +0 -1
- package/dist/runtime/components/inputs/Elements/index.d.ts +0 -6
- package/dist/runtime/components/inputs/Elements/index.mjs +0 -12
- package/dist/runtime/components/inputs/__stories/AntCheckbox.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntCheckbox.stories.mjs +0 -341
- package/dist/runtime/components/inputs/__stories/AntCheckboxGroup.stories.d.ts +0 -7
- package/dist/runtime/components/inputs/__stories/AntCheckboxGroup.stories.mjs +0 -85
- package/dist/runtime/components/inputs/__stories/AntDateInput.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntDateInput.stories.mjs +0 -193
- package/dist/runtime/components/inputs/__stories/AntNumberInput.stories.d.ts +0 -9
- package/dist/runtime/components/inputs/__stories/AntNumberInput.stories.mjs +0 -106
- package/dist/runtime/components/inputs/__stories/AntPasswordInput.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntPasswordInput.stories.mjs +0 -156
- package/dist/runtime/components/inputs/__stories/AntRadioGroup.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntRadioGroup.stories.mjs +0 -243
- package/dist/runtime/components/inputs/__stories/AntRangeSlider.stories.d.ts +0 -7
- package/dist/runtime/components/inputs/__stories/AntRangeSlider.stories.mjs +0 -67
- package/dist/runtime/components/inputs/__stories/AntRichTextEditor.stories-old.d.ts +0 -0
- package/dist/runtime/components/inputs/__stories/AntRichTextEditor.stories-old.mjs +0 -0
- package/dist/runtime/components/inputs/__stories/AntSearch.stories.d.ts +0 -7
- package/dist/runtime/components/inputs/__stories/AntSearch.stories.mjs +0 -103
- package/dist/runtime/components/inputs/__stories/AntSelect.stories.d.ts +0 -13
- package/dist/runtime/components/inputs/__stories/AntSelect.stories.mjs +0 -255
- package/dist/runtime/components/inputs/__stories/AntSwitch.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntSwitch.stories.mjs +0 -344
- package/dist/runtime/components/inputs/__stories/AntSwitcher.stories.d.ts +0 -8
- package/dist/runtime/components/inputs/__stories/AntSwitcher.stories.mjs +0 -235
- package/dist/runtime/components/inputs/__stories/AntTagInput.stories.d.ts +0 -9
- package/dist/runtime/components/inputs/__stories/AntTagInput.stories.mjs +0 -228
- package/dist/runtime/components/inputs/__stories/AntTextInput.stories.d.ts +0 -9
- package/dist/runtime/components/inputs/__stories/AntTextInput.stories.mjs +0 -225
- package/dist/runtime/components/inputs/__stories/AntTextarea.stories.d.ts +0 -9
- package/dist/runtime/components/inputs/__stories/AntTextarea.stories.mjs +0 -144
- package/dist/runtime/components/inputs/__stories/AntUnitInput.stories.d.ts +0 -9
- package/dist/runtime/components/inputs/__stories/AntUnitInput.stories.mjs +0 -116
- package/dist/runtime/components/inputs/__types/AntCheckbox.types.d.ts +0 -10
- package/dist/runtime/components/inputs/__types/AntCheckbox.types.mjs +0 -5
- package/dist/runtime/components/inputs/__types/AntDateInput.types.d.ts +0 -7
- package/dist/runtime/components/inputs/__types/AntDateInput.types.mjs +0 -8
- package/dist/runtime/components/inputs/__types/AntRadio.types.d.ts +0 -13
- package/dist/runtime/components/inputs/__types/AntRadio.types.mjs +0 -5
- package/dist/runtime/components/inputs/__types/AntSelect.types.d.ts +0 -4
- package/dist/runtime/components/inputs/__types/AntSelect.types.mjs +0 -0
- package/dist/runtime/components/inputs/__types/AntSwitcher.types.d.ts +0 -4
- package/dist/runtime/components/inputs/__types/AntSwitcher.types.mjs +0 -0
- package/dist/runtime/components/inputs/__types/AntTagInput.types.d.ts +0 -5
- package/dist/runtime/components/inputs/__types/AntTagInput.types.mjs +0 -6
- package/dist/runtime/components/inputs/__types/AntTextInput.types.d.ts +0 -6
- package/dist/runtime/components/inputs/__types/AntTextInput.types.mjs +0 -7
- package/dist/runtime/components/inputs/__types/index.d.ts +0 -7
- package/dist/runtime/components/inputs/__types/index.mjs +0 -7
- package/dist/runtime/components/layouts/AntNavLeftLayout.vue +0 -36
- package/dist/runtime/components/layouts/__stories/AntNavLeftLayout.stories.d.ts +0 -7
- package/dist/runtime/components/layouts/__stories/AntNavLeftLayout.stories.mjs +0 -68
- package/dist/runtime/components/navbar/AntNavbar.vue +0 -25
- package/dist/runtime/components/navbar/AntNavbarItem.vue +0 -78
- package/dist/runtime/components/navbar/__stories/AntNavbar.stories.d.ts +0 -6
- package/dist/runtime/components/navbar/__stories/AntNavbar.stories.mjs +0 -66
- package/dist/runtime/components/navbar/__types/NavbarItem.types.d.ts +0 -10
- package/dist/runtime/components/navbar/__types/NavbarItem.types.mjs +0 -0
- package/dist/runtime/components/navbar/__types/index.d.ts +0 -1
- package/dist/runtime/components/navbar/__types/index.mjs +0 -1
- package/dist/runtime/components/table/AntTable.vue +0 -218
- package/dist/runtime/components/table/AntTableSortButton.vue +0 -48
- package/dist/runtime/components/table/AntTd.vue +0 -81
- package/dist/runtime/components/table/AntTh.vue +0 -74
- package/dist/runtime/components/table/__stories/AntTable.stories.d.ts +0 -9
- package/dist/runtime/components/table/__stories/AntTable.stories.mjs +0 -273
- package/dist/runtime/components/table/__types/TableHeader.types.d.ts +0 -36
- package/dist/runtime/components/table/__types/TableHeader.types.mjs +0 -25
- package/dist/runtime/components/table/__types/index.d.ts +0 -1
- package/dist/runtime/components/table/__types/index.mjs +0 -1
- package/dist/runtime/components/tabs/AntTabItem.vue +0 -118
- package/dist/runtime/components/tabs/AntTabs.vue +0 -47
- package/dist/runtime/components/tabs/__stories/AntTabItem.stories.d.ts +0 -6
- package/dist/runtime/components/tabs/__stories/AntTabItem.stories.mjs +0 -32
- package/dist/runtime/components/tabs/__stories/AntTabs.stories.d.ts +0 -9
- package/dist/runtime/components/tabs/__stories/AntTabs.stories.mjs +0 -173
- package/dist/runtime/components/tabs/__types/AntTabItem.types.d.ts +0 -17
- package/dist/runtime/components/tabs/__types/AntTabItem.types.mjs +0 -6
- package/dist/runtime/components/tabs/__types/index.d.ts +0 -1
- package/dist/runtime/components/tabs/__types/index.mjs +0 -1
- package/dist/runtime/components/transitions/AntTransitionCollapseHeight.vue +0 -92
- package/dist/runtime/composables/useUi.d.ts +0 -20
- package/dist/runtime/composables/useUi.mjs +0 -31
- package/dist/runtime/composables/useValidator.d.ts +0 -1
- package/dist/runtime/composables/useValidator.mjs +0 -1
- package/dist/runtime/enums/Direction.enum.d.ts +0 -4
- package/dist/runtime/enums/Direction.enum.mjs +0 -5
- package/dist/runtime/enums/Grouped.enum.d.ts +0 -6
- package/dist/runtime/enums/Grouped.enum.mjs +0 -7
- package/dist/runtime/enums/Position.enum.d.ts +0 -12
- package/dist/runtime/enums/Position.enum.mjs +0 -14
- package/dist/runtime/enums/Size.enum.d.ts +0 -7
- package/dist/runtime/enums/Size.enum.mjs +0 -8
- package/dist/runtime/enums/State.enum.d.ts +0 -16
- package/dist/runtime/enums/State.enum.mjs +0 -18
- package/dist/runtime/enums/index.d.ts +0 -5
- package/dist/runtime/enums/index.mjs +0 -5
- package/dist/runtime/env.d.ts +0 -8
- package/dist/runtime/handler.d.ts +0 -1
- package/dist/runtime/handler.mjs +0 -5
- package/dist/runtime/plugins/toaster.d.ts +0 -22
- package/dist/runtime/plugins/toaster.mjs +0 -53
- package/dist/runtime/shims/vue.d.ts +0 -5
- package/dist/runtime/types.d.ts +0 -8
- package/dist/runtime/types.mjs +0 -8
- package/dist/runtime/utils/helper.d.ts +0 -4
- package/dist/runtime/utils/helper.mjs +0 -12
- package/dist/runtime/utils.d.ts +0 -20
- package/dist/runtime/utils.mjs +0 -41
- package/src/runtime/components/AntAccordion.vue +0 -64
- package/src/runtime/components/AntAccordionItem.vue +0 -119
- package/src/runtime/components/AntAlert.vue +0 -146
- package/src/runtime/components/AntCard.vue +0 -34
- package/src/runtime/components/AntContent.vue +0 -16
- package/src/runtime/components/AntDropdown.vue +0 -100
- package/src/runtime/components/AntIcon.vue +0 -56
- package/src/runtime/components/AntKeycap.vue +0 -45
- package/src/runtime/components/AntListGroup.vue +0 -24
- package/src/runtime/components/AntListGroupItem.vue +0 -83
- package/src/runtime/components/AntModal.vue +0 -130
- package/src/runtime/components/AntPagination.vue +0 -206
- package/src/runtime/components/AntPopover.vue +0 -135
- package/src/runtime/components/AntSkeleton.vue +0 -38
- package/src/runtime/components/AntSpinner.vue +0 -101
- package/src/runtime/components/AntTag.vue +0 -114
- package/src/runtime/components/AntToast.vue +0 -119
- package/src/runtime/components/AntToaster.vue +0 -70
- package/src/runtime/components/AntTooltip.vue +0 -189
- package/src/runtime/components/buttons/AntActionButton.vue +0 -74
- package/src/runtime/components/buttons/AntButton.vue +0 -257
- package/src/runtime/components/buttons/AntCreateButton.vue +0 -54
- package/src/runtime/components/buttons/AntDeleteButton.vue +0 -54
- package/src/runtime/components/buttons/AntDuplicateButton.vue +0 -54
- package/src/runtime/components/buttons/AntEditButton.vue +0 -54
- package/src/runtime/components/buttons/AntSaveAndNewButton.vue +0 -56
- package/src/runtime/components/buttons/AntSaveButton.vue +0 -55
- package/src/runtime/components/crud/AntCrud.vue +0 -69
- package/src/runtime/components/crud/AntCrudDetail.vue +0 -11
- package/src/runtime/components/crud/AntCrudDetailActions.vue +0 -58
- package/src/runtime/components/crud/AntCrudDetailNav.vue +0 -64
- package/src/runtime/components/crud/AntCrudTableFilter.vue +0 -122
- package/src/runtime/components/crud/AntCrudTableNav.vue +0 -149
- package/src/runtime/components/dialogs/AntDeleteDialog.vue +0 -29
- package/src/runtime/components/dialogs/AntDialog.vue +0 -181
- package/src/runtime/components/forms/AntField.vue +0 -123
- package/src/runtime/components/forms/AntFormGroup.vue +0 -36
- package/src/runtime/components/forms/AntFormGroupLabel.vue +0 -5
- package/src/runtime/components/inputs/AntCheckbox.vue +0 -202
- package/src/runtime/components/inputs/AntCheckboxGroup.vue +0 -117
- package/src/runtime/components/inputs/AntDateInput.vue +0 -97
- package/src/runtime/components/inputs/AntNumberInput.vue +0 -152
- package/src/runtime/components/inputs/AntPasswordInput.vue +0 -107
- package/src/runtime/components/inputs/AntRadio.vue +0 -200
- package/src/runtime/components/inputs/AntRadioGroup.vue +0 -116
- package/src/runtime/components/inputs/AntRangeSlider.vue +0 -121
- package/src/runtime/components/inputs/AntRichTextEditor.vue +0 -237
- package/src/runtime/components/inputs/AntSearch.vue +0 -72
- package/src/runtime/components/inputs/AntSelect.vue +0 -311
- package/src/runtime/components/inputs/AntSwitch.vue +0 -192
- package/src/runtime/components/inputs/AntSwitcher.vue +0 -196
- package/src/runtime/components/inputs/AntTagInput.vue +0 -331
- package/src/runtime/components/inputs/AntTextInput.vue +0 -72
- package/src/runtime/components/inputs/AntTextarea.vue +0 -185
- package/src/runtime/components/inputs/AntUnitInput.vue +0 -93
- package/src/runtime/components/inputs/Elements/AntBaseInput.vue +0 -304
- package/src/runtime/components/inputs/Elements/AntDropDown.vue +0 -189
- package/src/runtime/components/inputs/Elements/AntInputDescription.vue +0 -58
- package/src/runtime/components/inputs/Elements/AntInputLabel.vue +0 -65
- package/src/runtime/components/inputs/Elements/AntInputLimiter.vue +0 -58
- package/src/runtime/components/layouts/AntNavLeftLayout.vue +0 -36
- package/src/runtime/components/navbar/AntNavbar.vue +0 -25
- package/src/runtime/components/navbar/AntNavbarItem.vue +0 -78
- package/src/runtime/components/table/AntTable.vue +0 -218
- package/src/runtime/components/table/AntTableSortButton.vue +0 -48
- package/src/runtime/components/table/AntTd.vue +0 -81
- package/src/runtime/components/table/AntTh.vue +0 -74
- package/src/runtime/components/tabs/AntTabItem.vue +0 -118
- package/src/runtime/components/tabs/AntTabs.vue +0 -47
- package/src/runtime/components/transitions/AntTransitionCollapseHeight.vue +0 -96
package/README.md
CHANGED
|
@@ -1,74 +1,65 @@
|
|
|
1
1
|
# Ui module
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Nuxt integration for @antify/ui package.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
It also provides a set of helper functions to easly implement that ux.
|
|
5
|
+
# Installation
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
entry is not found.
|
|
7
|
+
Install package
|
|
10
8
|
|
|
11
|
-
The ux definitions you can find in the repo's wiki.
|
|
12
|
-
|
|
13
|
-
# Development
|
|
14
|
-
|
|
15
|
-
- Run `pnpm run dev:prepare` to generate type stubs.
|
|
16
|
-
- Use `pnpm run dev` to start [playground](playground) in development mode.
|
|
17
|
-
|
|
18
|
-
# Storybook
|
|
19
|
-
## Start
|
|
20
9
|
```
|
|
21
|
-
pnpm
|
|
10
|
+
pnpm i @antify/ui-module
|
|
22
11
|
```
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
pnpm build-storybook
|
|
27
|
-
```
|
|
13
|
+
Add it to your nuxt.config.ts
|
|
28
14
|
|
|
29
|
-
|
|
15
|
+
```ts
|
|
16
|
+
defineNuxtConfig({
|
|
17
|
+
modules: [
|
|
18
|
+
'@antify/ui-module'
|
|
19
|
+
]
|
|
20
|
+
})
|
|
30
21
|
```
|
|
31
|
-
|
|
22
|
+
|
|
23
|
+
# Usage
|
|
24
|
+
|
|
25
|
+
Do not install the `@antify/ui` package or use imports directly from it.
|
|
26
|
+
This module expose all components, types and helper form ui package through #ui-module
|
|
27
|
+
virtual alias.
|
|
28
|
+
|
|
29
|
+
It also expose all components to vue globally. You have not to import them in your components.
|
|
30
|
+
|
|
31
|
+
```vue
|
|
32
|
+
<script lang="ts" setup>
|
|
33
|
+
import {InputState} from '#ui-module';
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<template>
|
|
37
|
+
<AntButton :state="InputState.info" />
|
|
38
|
+
</template>
|
|
32
39
|
```
|
|
33
40
|
|
|
34
|
-
|
|
41
|
+
# Plugins
|
|
35
42
|
|
|
36
|
-
|
|
37
|
-
- Storybook docu: https://storybook.js.org/docs/vue/get-started/introduction
|
|
43
|
+
# Composables
|
|
38
44
|
|
|
39
|
-
# Additional
|
|
40
45
|
|
|
41
|
-
## SSR
|
|
42
|
-
SSR is not included in the UX definition, because applications does not require SSR.
|
|
43
|
-
To keep the UX as simple as possible, we decided to not support SSR.
|
|
44
46
|
|
|
45
|
-
#
|
|
47
|
+
# Development
|
|
48
|
+
|
|
49
|
+
- Run `pnpm run dev:prepare` to generate type stubs.
|
|
50
|
+
- Use `pnpm run dev` to start [playground](playground) in development mode.
|
|
46
51
|
|
|
47
|
-
|
|
52
|
+
# Additional
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
get installed outside of this project. An error "Cannot find module 'tailwindcss'" will be thrown.
|
|
54
|
+
## SSR
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"peerDependecies": {
|
|
55
|
-
"@antify/ui-module": "file:../ui-module"
|
|
56
|
-
}
|
|
57
|
-
```
|
|
56
|
+
SSR is not included in the UX definition, because applications does not require SSR.
|
|
57
|
+
To keep the UX as simple as possible, we decided to not support SSR.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Therefore, make sure you disabled ssr in your nuxt config.
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
* Without strict, vite would throw 403 error.
|
|
66
|
-
*/
|
|
67
|
-
vite: {
|
|
68
|
-
server: {
|
|
69
|
-
fs: {
|
|
70
|
-
strict: false,
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
61
|
+
```ts
|
|
62
|
+
defineNuxtConfig({
|
|
63
|
+
ssr: false
|
|
64
|
+
})
|
|
74
65
|
```
|
package/dist/module.d.mts
CHANGED
|
@@ -1,264 +1,6 @@
|
|
|
1
1
|
import { NuxtModule } from 'nuxt/schema';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
4
|
-
|
|
5
|
-
declare enum Direction {
|
|
6
|
-
column = "column",
|
|
7
|
-
row = "row"
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare enum Grouped {
|
|
11
|
-
none = "none",
|
|
12
|
-
left = "left",
|
|
13
|
-
center = "center",
|
|
14
|
-
right = "right"
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare enum Position {
|
|
18
|
-
top = "top",
|
|
19
|
-
right = "right",
|
|
20
|
-
bottom = "bottom",
|
|
21
|
-
left = "left"
|
|
22
|
-
}
|
|
23
|
-
declare enum CornerPosition {
|
|
24
|
-
topLeft = "topLeft",
|
|
25
|
-
topRight = "topRight",
|
|
26
|
-
bottomRight = "bottomRight",
|
|
27
|
-
bottomLeft = "bottomLeft"
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare enum Size {
|
|
31
|
-
lg = "lg",
|
|
32
|
-
md = "md",
|
|
33
|
-
sm = "sm",
|
|
34
|
-
xs = "xs",
|
|
35
|
-
xs2 = "2xs"
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare enum State {
|
|
39
|
-
base = "base",
|
|
40
|
-
primary = "primary",
|
|
41
|
-
secondary = "secondary",
|
|
42
|
-
danger = "danger",
|
|
43
|
-
info = "info",
|
|
44
|
-
success = "success",
|
|
45
|
-
warning = "warning"
|
|
46
|
-
}
|
|
47
|
-
declare enum InputState {
|
|
48
|
-
base = "base",
|
|
49
|
-
danger = "danger",
|
|
50
|
-
info = "info",
|
|
51
|
-
success = "success",
|
|
52
|
-
warning = "warning"
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare enum CollapseStrategy {
|
|
56
|
-
single = "single",
|
|
57
|
-
multiple = "multiple"
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare enum IconSize {
|
|
61
|
-
xl3 = "3xl",
|
|
62
|
-
lg = "lg",
|
|
63
|
-
md = "md",
|
|
64
|
-
sm = "sm",
|
|
65
|
-
xs = "xs",
|
|
66
|
-
xs2 = "2xs"
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
declare enum AntKeycapSize {
|
|
70
|
-
sm = "sm",
|
|
71
|
-
xs = "xs"
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare enum ListGroupItemState {
|
|
75
|
-
base = "base",
|
|
76
|
-
primary = "primary",
|
|
77
|
-
secondary = "secondary",
|
|
78
|
-
info = "info",
|
|
79
|
-
success = "success",
|
|
80
|
-
warning = "warning",
|
|
81
|
-
danger = "danger"
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
declare enum AntSpinnerSize {
|
|
85
|
-
xl4 = "4xl",
|
|
86
|
-
xl3 = "3xl",
|
|
87
|
-
xl2 = "2xl",
|
|
88
|
-
lg = "lg",
|
|
89
|
-
md = "md",
|
|
90
|
-
sm = "sm",
|
|
91
|
-
xs = "xs",
|
|
92
|
-
xs2 = "2xs"
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
declare enum TagState {
|
|
96
|
-
base = "base",
|
|
97
|
-
primary = "primary",
|
|
98
|
-
secondary = "secondary",
|
|
99
|
-
info = "info",
|
|
100
|
-
success = "success",
|
|
101
|
-
warning = "warning",
|
|
102
|
-
danger = "danger"
|
|
103
|
-
}
|
|
104
|
-
declare enum AntTagSize {
|
|
105
|
-
lg = "lg",
|
|
106
|
-
md = "md",
|
|
107
|
-
sm = "sm",
|
|
108
|
-
xs = "xs",
|
|
109
|
-
xs2 = "2xs",
|
|
110
|
-
xs3 = "3xs"
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
type Toast = {
|
|
114
|
-
id?: string;
|
|
115
|
-
title: string;
|
|
116
|
-
content?: string;
|
|
117
|
-
type: InputState;
|
|
118
|
-
hasIcon?: boolean;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare enum ButtonType {
|
|
122
|
-
button = "button",
|
|
123
|
-
submit = "submit"
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
type AntCheckboxType = {
|
|
127
|
-
label: string;
|
|
128
|
-
value: string;
|
|
129
|
-
disabled?: boolean;
|
|
130
|
-
readonly?: boolean;
|
|
131
|
-
};
|
|
132
|
-
declare enum AntCheckboxSize {
|
|
133
|
-
md = "md",
|
|
134
|
-
sm = "sm"
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
declare enum AntDateInputTypes {
|
|
138
|
-
date = "date",
|
|
139
|
-
datetimeLocal = "datetime-local",
|
|
140
|
-
month = "month",
|
|
141
|
-
time = "time",
|
|
142
|
-
week = "week"
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
declare enum AntRadioSize {
|
|
146
|
-
md = "md",
|
|
147
|
-
sm = "sm"
|
|
148
|
-
}
|
|
149
|
-
type AntRadioTypes = {
|
|
150
|
-
value: string;
|
|
151
|
-
label?: string;
|
|
152
|
-
disabled?: boolean;
|
|
153
|
-
readonly?: boolean;
|
|
154
|
-
state?: InputState;
|
|
155
|
-
[key: string]: unknown;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
type SelectOption = {
|
|
159
|
-
label: string;
|
|
160
|
-
value: string | number;
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
type SwitcherOption = {
|
|
164
|
-
label: string;
|
|
165
|
-
value: string | number;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
declare enum AntTagInputSize {
|
|
169
|
-
lg = "lg",
|
|
170
|
-
md = "md",
|
|
171
|
-
sm = "sm"
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
declare enum TextInputType {
|
|
175
|
-
email = "email",
|
|
176
|
-
tel = "tel",
|
|
177
|
-
text = "text",
|
|
178
|
-
url = "url"
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare enum BaseInputType {
|
|
182
|
-
date = "date",
|
|
183
|
-
datetime = "datetime",
|
|
184
|
-
datetimeLocal = "datetime-local",
|
|
185
|
-
email = "email",
|
|
186
|
-
hidden = "hidden",
|
|
187
|
-
month = "month",
|
|
188
|
-
number = "number",
|
|
189
|
-
password = "password",
|
|
190
|
-
search = "search",
|
|
191
|
-
tel = "tel",
|
|
192
|
-
text = "text",
|
|
193
|
-
time = "time",
|
|
194
|
-
url = "url",
|
|
195
|
-
week = "week",
|
|
196
|
-
range = "range"
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
type NavbarItemTypes = {
|
|
200
|
-
label: string;
|
|
201
|
-
active?: boolean;
|
|
202
|
-
to?: RouteLocationRaw;
|
|
203
|
-
click?: () => void;
|
|
204
|
-
icon?: IconDefinition;
|
|
205
|
-
children?: NavbarItemTypes[];
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
declare enum AntTableRowTypes {
|
|
209
|
-
text = "text",
|
|
210
|
-
html = "html",
|
|
211
|
-
link = "link",
|
|
212
|
-
slot = "slot"
|
|
213
|
-
}
|
|
214
|
-
declare enum AntTableAlign {
|
|
215
|
-
left = "left",
|
|
216
|
-
center = "center",
|
|
217
|
-
right = "right"
|
|
218
|
-
}
|
|
219
|
-
declare enum AntTableSortDirection {
|
|
220
|
-
asc = "asc",
|
|
221
|
-
desc = "desc",
|
|
222
|
-
neutral = "neutral"
|
|
223
|
-
}
|
|
224
|
-
type TableHeader = {
|
|
225
|
-
identifier: string;
|
|
226
|
-
title?: string;
|
|
227
|
-
type: AntTableRowTypes;
|
|
228
|
-
sortable?: boolean;
|
|
229
|
-
sort?: (a: unknown, b: unknown, direction: AntTableSortDirection) => number;
|
|
230
|
-
headerClassList?: string;
|
|
231
|
-
rowClassList?: string;
|
|
232
|
-
align?: AntTableAlign;
|
|
233
|
-
toProp?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Emit if the column should be shown on light table version.
|
|
236
|
-
*/
|
|
237
|
-
lightVersion?: boolean;
|
|
238
|
-
};
|
|
239
|
-
declare enum AntTableSize {
|
|
240
|
-
lg = "lg",
|
|
241
|
-
md = "md",
|
|
242
|
-
sm = "sm"
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
type TabItem = {
|
|
246
|
-
id: string;
|
|
247
|
-
label: string;
|
|
248
|
-
state?: TabItemState;
|
|
249
|
-
showIcon?: boolean;
|
|
250
|
-
icon?: IconDefinition;
|
|
251
|
-
to?: string | RouteLocationRaw;
|
|
252
|
-
clickHandler?: () => void;
|
|
253
|
-
[key: string]: unknown;
|
|
254
|
-
};
|
|
255
|
-
declare enum TabItemState {
|
|
256
|
-
base = "base",
|
|
257
|
-
warning = "warning",
|
|
258
|
-
danger = "danger"
|
|
259
|
-
}
|
|
260
2
|
|
|
261
3
|
type ModuleOptions = {};
|
|
262
4
|
declare const module: NuxtModule<ModuleOptions>;
|
|
263
5
|
|
|
264
|
-
export {
|
|
6
|
+
export { module as default };
|
package/dist/module.d.ts
CHANGED
|
@@ -1,264 +1,6 @@
|
|
|
1
1
|
import { NuxtModule } from 'nuxt/schema';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
4
|
-
|
|
5
|
-
declare enum Direction {
|
|
6
|
-
column = "column",
|
|
7
|
-
row = "row"
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare enum Grouped {
|
|
11
|
-
none = "none",
|
|
12
|
-
left = "left",
|
|
13
|
-
center = "center",
|
|
14
|
-
right = "right"
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare enum Position {
|
|
18
|
-
top = "top",
|
|
19
|
-
right = "right",
|
|
20
|
-
bottom = "bottom",
|
|
21
|
-
left = "left"
|
|
22
|
-
}
|
|
23
|
-
declare enum CornerPosition {
|
|
24
|
-
topLeft = "topLeft",
|
|
25
|
-
topRight = "topRight",
|
|
26
|
-
bottomRight = "bottomRight",
|
|
27
|
-
bottomLeft = "bottomLeft"
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare enum Size {
|
|
31
|
-
lg = "lg",
|
|
32
|
-
md = "md",
|
|
33
|
-
sm = "sm",
|
|
34
|
-
xs = "xs",
|
|
35
|
-
xs2 = "2xs"
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare enum State {
|
|
39
|
-
base = "base",
|
|
40
|
-
primary = "primary",
|
|
41
|
-
secondary = "secondary",
|
|
42
|
-
danger = "danger",
|
|
43
|
-
info = "info",
|
|
44
|
-
success = "success",
|
|
45
|
-
warning = "warning"
|
|
46
|
-
}
|
|
47
|
-
declare enum InputState {
|
|
48
|
-
base = "base",
|
|
49
|
-
danger = "danger",
|
|
50
|
-
info = "info",
|
|
51
|
-
success = "success",
|
|
52
|
-
warning = "warning"
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare enum CollapseStrategy {
|
|
56
|
-
single = "single",
|
|
57
|
-
multiple = "multiple"
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare enum IconSize {
|
|
61
|
-
xl3 = "3xl",
|
|
62
|
-
lg = "lg",
|
|
63
|
-
md = "md",
|
|
64
|
-
sm = "sm",
|
|
65
|
-
xs = "xs",
|
|
66
|
-
xs2 = "2xs"
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
declare enum AntKeycapSize {
|
|
70
|
-
sm = "sm",
|
|
71
|
-
xs = "xs"
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare enum ListGroupItemState {
|
|
75
|
-
base = "base",
|
|
76
|
-
primary = "primary",
|
|
77
|
-
secondary = "secondary",
|
|
78
|
-
info = "info",
|
|
79
|
-
success = "success",
|
|
80
|
-
warning = "warning",
|
|
81
|
-
danger = "danger"
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
declare enum AntSpinnerSize {
|
|
85
|
-
xl4 = "4xl",
|
|
86
|
-
xl3 = "3xl",
|
|
87
|
-
xl2 = "2xl",
|
|
88
|
-
lg = "lg",
|
|
89
|
-
md = "md",
|
|
90
|
-
sm = "sm",
|
|
91
|
-
xs = "xs",
|
|
92
|
-
xs2 = "2xs"
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
declare enum TagState {
|
|
96
|
-
base = "base",
|
|
97
|
-
primary = "primary",
|
|
98
|
-
secondary = "secondary",
|
|
99
|
-
info = "info",
|
|
100
|
-
success = "success",
|
|
101
|
-
warning = "warning",
|
|
102
|
-
danger = "danger"
|
|
103
|
-
}
|
|
104
|
-
declare enum AntTagSize {
|
|
105
|
-
lg = "lg",
|
|
106
|
-
md = "md",
|
|
107
|
-
sm = "sm",
|
|
108
|
-
xs = "xs",
|
|
109
|
-
xs2 = "2xs",
|
|
110
|
-
xs3 = "3xs"
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
type Toast = {
|
|
114
|
-
id?: string;
|
|
115
|
-
title: string;
|
|
116
|
-
content?: string;
|
|
117
|
-
type: InputState;
|
|
118
|
-
hasIcon?: boolean;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare enum ButtonType {
|
|
122
|
-
button = "button",
|
|
123
|
-
submit = "submit"
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
type AntCheckboxType = {
|
|
127
|
-
label: string;
|
|
128
|
-
value: string;
|
|
129
|
-
disabled?: boolean;
|
|
130
|
-
readonly?: boolean;
|
|
131
|
-
};
|
|
132
|
-
declare enum AntCheckboxSize {
|
|
133
|
-
md = "md",
|
|
134
|
-
sm = "sm"
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
declare enum AntDateInputTypes {
|
|
138
|
-
date = "date",
|
|
139
|
-
datetimeLocal = "datetime-local",
|
|
140
|
-
month = "month",
|
|
141
|
-
time = "time",
|
|
142
|
-
week = "week"
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
declare enum AntRadioSize {
|
|
146
|
-
md = "md",
|
|
147
|
-
sm = "sm"
|
|
148
|
-
}
|
|
149
|
-
type AntRadioTypes = {
|
|
150
|
-
value: string;
|
|
151
|
-
label?: string;
|
|
152
|
-
disabled?: boolean;
|
|
153
|
-
readonly?: boolean;
|
|
154
|
-
state?: InputState;
|
|
155
|
-
[key: string]: unknown;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
type SelectOption = {
|
|
159
|
-
label: string;
|
|
160
|
-
value: string | number;
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
type SwitcherOption = {
|
|
164
|
-
label: string;
|
|
165
|
-
value: string | number;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
declare enum AntTagInputSize {
|
|
169
|
-
lg = "lg",
|
|
170
|
-
md = "md",
|
|
171
|
-
sm = "sm"
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
declare enum TextInputType {
|
|
175
|
-
email = "email",
|
|
176
|
-
tel = "tel",
|
|
177
|
-
text = "text",
|
|
178
|
-
url = "url"
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare enum BaseInputType {
|
|
182
|
-
date = "date",
|
|
183
|
-
datetime = "datetime",
|
|
184
|
-
datetimeLocal = "datetime-local",
|
|
185
|
-
email = "email",
|
|
186
|
-
hidden = "hidden",
|
|
187
|
-
month = "month",
|
|
188
|
-
number = "number",
|
|
189
|
-
password = "password",
|
|
190
|
-
search = "search",
|
|
191
|
-
tel = "tel",
|
|
192
|
-
text = "text",
|
|
193
|
-
time = "time",
|
|
194
|
-
url = "url",
|
|
195
|
-
week = "week",
|
|
196
|
-
range = "range"
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
type NavbarItemTypes = {
|
|
200
|
-
label: string;
|
|
201
|
-
active?: boolean;
|
|
202
|
-
to?: RouteLocationRaw;
|
|
203
|
-
click?: () => void;
|
|
204
|
-
icon?: IconDefinition;
|
|
205
|
-
children?: NavbarItemTypes[];
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
declare enum AntTableRowTypes {
|
|
209
|
-
text = "text",
|
|
210
|
-
html = "html",
|
|
211
|
-
link = "link",
|
|
212
|
-
slot = "slot"
|
|
213
|
-
}
|
|
214
|
-
declare enum AntTableAlign {
|
|
215
|
-
left = "left",
|
|
216
|
-
center = "center",
|
|
217
|
-
right = "right"
|
|
218
|
-
}
|
|
219
|
-
declare enum AntTableSortDirection {
|
|
220
|
-
asc = "asc",
|
|
221
|
-
desc = "desc",
|
|
222
|
-
neutral = "neutral"
|
|
223
|
-
}
|
|
224
|
-
type TableHeader = {
|
|
225
|
-
identifier: string;
|
|
226
|
-
title?: string;
|
|
227
|
-
type: AntTableRowTypes;
|
|
228
|
-
sortable?: boolean;
|
|
229
|
-
sort?: (a: unknown, b: unknown, direction: AntTableSortDirection) => number;
|
|
230
|
-
headerClassList?: string;
|
|
231
|
-
rowClassList?: string;
|
|
232
|
-
align?: AntTableAlign;
|
|
233
|
-
toProp?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Emit if the column should be shown on light table version.
|
|
236
|
-
*/
|
|
237
|
-
lightVersion?: boolean;
|
|
238
|
-
};
|
|
239
|
-
declare enum AntTableSize {
|
|
240
|
-
lg = "lg",
|
|
241
|
-
md = "md",
|
|
242
|
-
sm = "sm"
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
type TabItem = {
|
|
246
|
-
id: string;
|
|
247
|
-
label: string;
|
|
248
|
-
state?: TabItemState;
|
|
249
|
-
showIcon?: boolean;
|
|
250
|
-
icon?: IconDefinition;
|
|
251
|
-
to?: string | RouteLocationRaw;
|
|
252
|
-
clickHandler?: () => void;
|
|
253
|
-
[key: string]: unknown;
|
|
254
|
-
};
|
|
255
|
-
declare enum TabItemState {
|
|
256
|
-
base = "base",
|
|
257
|
-
warning = "warning",
|
|
258
|
-
danger = "danger"
|
|
259
|
-
}
|
|
260
2
|
|
|
261
3
|
type ModuleOptions = {};
|
|
262
4
|
declare const module: NuxtModule<ModuleOptions>;
|
|
263
5
|
|
|
264
|
-
export {
|
|
6
|
+
export { module as default };
|
package/dist/module.json
CHANGED