@dazhicheng/ui 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-area/TtArea.vue.d.ts.map +1 -0
- package/dist/components/tt-area/index.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-button/index.d.ts.map +1 -1
- package/dist/components/tt-button/index.vue.d.ts.map +1 -0
- package/dist/components/tt-checkbox/index.d.ts.map +1 -0
- package/dist/components/tt-checkbox/index.vue.d.ts.map +1 -0
- package/dist/components/tt-checkbox/type.d.ts.map +1 -0
- package/dist/components/tt-empty/index.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-form/index.d.ts +1 -1
- package/dist/components/tt-form/index.d.ts.map +1 -0
- package/dist/components/tt-form/src/compare.d.ts.map +1 -0
- package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/components/FormActions.vue.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-form/src/components/FormFilter.vue.d.ts +1 -1
- package/dist/components/tt-form/src/components/FormFilter.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/components/Slot.d.ts.map +1 -0
- package/dist/components/tt-form/src/config.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormControl.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormDescription.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormItem.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormLabel.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/FormWarnMessage.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/index.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/injectionKeys.d.ts.map +1 -0
- package/dist/components/tt-form/src/form/useFormField.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-api.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/context.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/dependencies.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/expandable.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/form-field.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/form-label.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/form.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/helper.d.ts.map +1 -0
- package/dist/components/tt-form/src/form-render/index.d.ts.map +1 -0
- package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts.map +1 -0
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts.map +1 -0
- package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts.map +1 -0
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts.map +1 -0
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-form/src/index.vue.d.ts +8 -8
- package/dist/components/tt-form/src/index.vue.d.ts.map +1 -0
- package/dist/components/tt-form/src/shared/createContext.d.ts.map +1 -0
- package/dist/components/tt-form/src/shared/global-state.d.ts.map +1 -0
- package/dist/components/tt-form/src/shared/store.d.ts.map +1 -0
- package/dist/components/tt-form/src/shared/zod-defaults.d.ts.map +1 -0
- package/dist/components/tt-form/src/types/types.d.ts.map +1 -0
- package/dist/components/tt-form/src/use-form-context.d.ts.map +1 -0
- package/dist/components/tt-form/src/use-form-v2.d.ts.map +1 -0
- package/dist/components/tt-form-adapter/component/index.d.ts +14 -0
- package/dist/components/tt-form-adapter/component/index.d.ts.map +1 -0
- package/dist/components/tt-form-adapter/index.d.ts +37 -0
- package/dist/components/tt-form-adapter/index.d.ts.map +1 -0
- package/dist/components/tt-form-item-error-tooltip/index.d.ts.map +1 -0
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts.map +1 -0
- package/dist/components/tt-icon/index.d.ts.map +1 -0
- package/dist/components/tt-icon/index.vue.d.ts.map +1 -0
- package/dist/components/tt-modal/index.d.ts.map +1 -0
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts.map +1 -0
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts.map +1 -0
- package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts.map +1 -0
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts.map +1 -0
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts.map +1 -0
- package/dist/components/tt-modal/src/index.d.ts.map +1 -0
- package/dist/components/tt-modal/src/props.d.ts.map +1 -0
- package/dist/components/tt-modal/src/typing.d.ts.map +1 -0
- package/dist/components/tt-modal/src/utils/modal-api.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-part/index.d.ts.map +1 -1
- package/dist/components/tt-part/index.vue.d.ts.map +1 -0
- package/dist/components/tt-part/type.d.ts.map +1 -0
- package/dist/components/tt-part-item/index.d.ts.map +1 -0
- package/dist/components/tt-part-item/index.vue.d.ts.map +1 -0
- package/dist/components/tt-part-item/type.d.ts.map +1 -0
- package/dist/components/tt-select/index.d.ts.map +1 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +862 -0
- package/dist/components/tt-select/src/Select.vue.d.ts.map +1 -0
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts.map +1 -0
- package/dist/components/tt-select/src/components/Table.vue.d.ts.map +1 -0
- package/dist/components/tt-select/src/const.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/useGrid.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/useKeyboard.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/usePagination.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/useSelect.d.ts.map +1 -0
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts.map +1 -0
- package/dist/components/tt-select/src/props.d.ts.map +1 -0
- package/dist/components/tt-select/src/types/index.d.ts.map +1 -0
- package/dist/components/tt-select/src/utils/index.d.ts.map +1 -0
- package/dist/components/tt-text/index.d.ts.map +1 -0
- package/dist/components/tt-text/index.vue.d.ts.map +1 -0
- package/dist/components/tt-tree-select/index.d.ts +6 -0
- package/dist/components/tt-tree-select/index.d.ts.map +1 -0
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +7 -0
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts.map +1 -0
- package/dist/components/tt-tree-select/src/cache-options.d.ts +36 -0
- package/dist/components/tt-tree-select/src/cache-options.d.ts.map +1 -0
- package/dist/components/tt-tree-select/src/select.d.ts +11 -0
- package/dist/components/tt-tree-select/src/select.d.ts.map +1 -0
- package/dist/components/tt-tree-select/src/tree.d.ts +24 -0
- package/dist/components/tt-tree-select/src/tree.d.ts.map +1 -0
- package/dist/components/tt-tree-select/src/utils.d.ts +11 -0
- package/dist/components/tt-tree-select/src/utils.d.ts.map +1 -0
- package/dist/components/tt-validate/index.d.ts.map +1 -0
- package/dist/components/tt-validate/src/ErrorMessage.d.ts.map +1 -0
- package/dist/{packages/ui/src/components → components}/tt-validate/src/Field.d.ts +1 -1
- package/dist/components/tt-validate/src/Field.d.ts.map +1 -0
- package/dist/components/tt-validate/src/FieldArray.d.ts.map +1 -0
- package/dist/components/tt-validate/src/Form.d.ts.map +1 -0
- package/dist/components/tt-validate/src/config.d.ts.map +1 -0
- package/dist/components/tt-validate/src/defineRule.d.ts.map +1 -0
- package/dist/components/tt-validate/src/index.d.ts.map +1 -0
- package/dist/components/tt-validate/src/symbols.d.ts.map +1 -0
- package/dist/components/tt-validate/src/types/common.d.ts.map +1 -0
- package/dist/components/tt-validate/src/types/forms.d.ts.map +1 -0
- package/dist/components/tt-validate/src/types/index.d.ts.map +1 -0
- package/dist/components/tt-validate/src/types/paths.d.ts.map +1 -0
- package/dist/components/tt-validate/src/types/shared.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useField.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFieldArray.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFieldError.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFieldState.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFieldValue.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useForm.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFormErrors.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useFormValues.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFieldDirty.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFieldTouched.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFieldValid.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFormDirty.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFormTouched.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsFormValid.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsSubmitting.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useIsValidating.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useResetForm.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFieldError.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFieldTouched.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFieldValue.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFormErrors.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFormTouched.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSetFormValues.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSubmitCount.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useSubmitForm.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useValidateField.d.ts.map +1 -0
- package/dist/components/tt-validate/src/useValidateForm.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/assertions.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/common.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/events.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/index.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/rules.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/shared.d.ts.map +1 -0
- package/dist/components/tt-validate/src/utils/vnode.d.ts.map +1 -0
- package/dist/components/tt-validate/src/validate.d.ts.map +1 -0
- package/dist/components/tt-validate/zod/index.d.ts.map +1 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/css-B-NBzuuu.js +1 -0
- package/dist/css-B2XtZxnv.js +2 -0
- package/dist/css-ByWw4KN5.js +2 -0
- package/dist/css-CIkg43yy.js +1 -0
- package/dist/css-CKklk3nV.js +3 -0
- package/dist/css-COykwHo1.js +2 -0
- package/dist/css-Cgfo87Gs.js +1 -0
- package/dist/css-Chse_8b2.js +3 -0
- package/dist/css-CvjpN3r9.js +1 -0
- package/dist/css-D8FPIJO1.js +1 -0
- package/dist/css-DGumj5iO.js +1 -0
- package/dist/css-DLZxzZoB.js +1 -0
- package/dist/css-Dd6Nw96X.js +1 -0
- package/dist/css-sQ8IZeHP.js +4 -0
- package/dist/directives/auto-tip/index.d.ts.map +1 -0
- package/dist/directives/dialog-resize/index.d.ts.map +1 -0
- package/dist/directives/dialog-resize/use-css-variable.d.ts.map +1 -0
- package/dist/directives/dialog-resize/use-draggable.d.ts.map +1 -0
- package/dist/directives/dialog-resize/use-fullscreen.d.ts.map +1 -0
- package/dist/directives/dialog-resize/use-parse-translate.d.ts.map +1 -0
- package/dist/directives/dialog-resize/use-resizer.d.ts.map +1 -0
- package/dist/directives/disabled-tip/index.d.ts.map +1 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/event-CgLWlq-W.js +52 -0
- package/dist/hooks/useLoading.d.ts.map +1 -0
- package/dist/hooks/useTable.d.ts.map +1 -0
- package/dist/icon-DO5WEZ3U.js +15 -0
- package/dist/index-1hQOvP1X.js +1273 -0
- package/dist/index-7R1S3sB2.js +47918 -0
- package/dist/index-B-3b7Nox.js +22 -0
- package/dist/index-BHCo-WRT.js +658 -0
- package/dist/index-BQfVaV7A.js +216 -0
- package/dist/index-BWFNEHAe.js +78 -0
- package/dist/index-BZosiARJ.js +21 -0
- package/dist/index-BnaENTzr.js +46 -0
- package/dist/index-C9uVj2Ef.js +3471 -0
- package/dist/index-CMjNBMj5.js +3431 -0
- package/dist/index-CN_A-qCa.js +90 -0
- package/dist/index-CUL_IQbJ.js +334 -0
- package/dist/index-CxQRxjJp.js +909 -0
- package/dist/index-D2KfwzYW.js +832 -0
- package/dist/index-D72GrrFm.js +392 -0
- package/dist/index-MMce8S7G.js +2700 -0
- package/dist/index-RZOtcmxt.js +27 -0
- package/dist/index-_u3rhzTw.js +432 -0
- package/dist/index-rYtVbp5V.js +408 -0
- package/dist/{packages/ui/src/index.d.ts → index.d.ts} +3 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -48905
- package/dist/panel-time-pick.vue2-DYyyaJH8.js +2026 -0
- package/dist/style.css +1 -1
- package/dist/typescript-BpuhIBuJ.js +4 -0
- package/dist/use-form-common-props-CH53YdF-.js +98 -0
- package/dist/use-form-item--pOyiE--.js +71 -0
- package/dist/util-2yRGKqgX.js +2259 -0
- package/package.json +19 -9
- package/dist/packages/components/__test__/TtArea.test.d.ts +0 -2
- package/dist/packages/components/__test__/TtArea.test.d.ts.map +0 -1
- package/dist/packages/components/src/TtArea/TtArea.vue.d.ts.map +0 -1
- package/dist/packages/components/src/TtArea/index.d.ts.map +0 -1
- package/dist/packages/components/src/index.d.ts +0 -7
- package/dist/packages/components/src/index.d.ts.map +0 -1
- package/dist/packages/hooks/src/index.d.ts +0 -6
- package/dist/packages/hooks/src/index.d.ts.map +0 -1
- package/dist/packages/hooks/src/propTypes.d.ts +0 -7
- package/dist/packages/hooks/src/propTypes.d.ts.map +0 -1
- package/dist/packages/hooks/src/tools.d.ts +0 -40
- package/dist/packages/hooks/src/tools.d.ts.map +0 -1
- package/dist/packages/hooks/src/useDesign.d.ts +0 -5
- package/dist/packages/hooks/src/useDesign.d.ts.map +0 -1
- package/dist/packages/hooks/src/useIsScroll.d.ts +0 -6
- package/dist/packages/hooks/src/useIsScroll.d.ts.map +0 -1
- package/dist/packages/hooks/src/usePriorityValue.d.ts +0 -30
- package/dist/packages/hooks/src/usePriorityValue.d.ts.map +0 -1
- package/dist/packages/ui/__test__/TtArea.test.d.ts +0 -2
- package/dist/packages/ui/__test__/TtArea.test.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-button/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-checkbox/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-checkbox/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-checkbox/type.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-empty/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/compare.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/components/ExpandableArrow.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/components/FormActions.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/components/FormFilter.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/components/Slot.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/config.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormControl.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormDescription.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormItem.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormLabel.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormMessage.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/FormWarnMessage.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/RenderContent.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/injectionKeys.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form/useFormField.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-api.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/context.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/dependencies.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/expandable.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-field.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-label.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/form.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/helper.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/form-render/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/hooks/useEmitAsProps.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/hooks/useFormFieldBus.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPriorityValues.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardProps.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPropsEmits.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/shared/createContext.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/shared/global-state.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/shared/store.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/shared/zod-defaults.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/types/types.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/use-form-context.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form/src/use-form-v2.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-icon/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-icon/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/RenderModal.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalFooter.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalHeader.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalWrapper.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/hooks/useModalRender.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/props.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/typing.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-modal/src/utils/modal-api.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-part/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-part/type.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-part-item/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-part-item/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-part-item/type.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/components/SelectTable.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/components/Table.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/const.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/useDataSource.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/useGrid.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/useKeyboard.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/usePagination.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelect.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelectTableEvent.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/props.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/types/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-select/src/utils/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-text/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-text/index.vue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/ErrorMessage.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/Field.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/FieldArray.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/Form.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/config.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/defineRule.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/symbols.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/types/common.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/types/forms.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/types/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/types/paths.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/types/shared.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useField.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFieldArray.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFieldError.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFieldState.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFieldValue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useForm.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFormErrors.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useFormValues.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldDirty.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldTouched.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldValid.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormDirty.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormTouched.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormValid.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsSubmitting.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useIsValidating.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useResetForm.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldError.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldTouched.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldValue.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormErrors.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormTouched.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormValues.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitCount.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitForm.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useValidateField.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/useValidateForm.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/assertions.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/common.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/events.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/rules.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/shared.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/utils/vnode.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/src/validate.d.ts.map +0 -1
- package/dist/packages/ui/src/components/tt-validate/zod/index.d.ts.map +0 -1
- package/dist/packages/ui/src/components/types.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/auto-tip/index.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/index.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/use-css-variable.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/use-draggable.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/use-fullscreen.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/use-parse-translate.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/dialog-resize/use-resizer.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/disabled-tip/index.d.ts.map +0 -1
- package/dist/packages/ui/src/directives/index.d.ts.map +0 -1
- package/dist/packages/ui/src/hooks/useLoading.d.ts.map +0 -1
- package/dist/packages/ui/src/hooks/useTable.d.ts.map +0 -1
- package/dist/packages/ui/src/index.d.ts.map +0 -1
- package/dist/packages/ui/vite.config.d.ts +0 -3
- package/dist/packages/ui/vite.config.d.ts.map +0 -1
- package/dist/packages/utils/__test__/math.test.d.ts +0 -2
- package/dist/packages/utils/__test__/math.test.d.ts.map +0 -1
- package/dist/packages/utils/__test__/string.test.d.ts +0 -2
- package/dist/packages/utils/__test__/string.test.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/error.d.ts +0 -63
- package/dist/packages/utils/src/axios/error.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/index.d.ts +0 -4
- package/dist/packages/utils/src/axios/index.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/loadinSvg.d.ts +0 -2
- package/dist/packages/utils/src/axios/loadinSvg.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/loading.d.ts +0 -12
- package/dist/packages/utils/src/axios/loading.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/status.d.ts +0 -38
- package/dist/packages/utils/src/axios/status.d.ts.map +0 -1
- package/dist/packages/utils/src/axios/type.d.ts +0 -24
- package/dist/packages/utils/src/axios/type.d.ts.map +0 -1
- package/dist/packages/utils/src/calc.d.ts +0 -58
- package/dist/packages/utils/src/calc.d.ts.map +0 -1
- package/dist/packages/utils/src/file.d.ts +0 -13
- package/dist/packages/utils/src/file.d.ts.map +0 -1
- package/dist/packages/utils/src/index.d.ts +0 -12
- package/dist/packages/utils/src/index.d.ts.map +0 -1
- package/dist/packages/utils/src/install.d.ts +0 -4
- package/dist/packages/utils/src/install.d.ts.map +0 -1
- package/dist/packages/utils/src/is.d.ts +0 -238
- package/dist/packages/utils/src/is.d.ts.map +0 -1
- package/dist/packages/utils/src/merge.d.ts +0 -17
- package/dist/packages/utils/src/merge.d.ts.map +0 -1
- package/dist/packages/utils/src/stateHandler.d.ts +0 -22
- package/dist/packages/utils/src/stateHandler.d.ts.map +0 -1
- package/dist/packages/utils/src/string.d.ts +0 -4
- package/dist/packages/utils/src/string.d.ts.map +0 -1
- package/dist/packages/utils/src/testid-helper.d.ts +0 -151
- package/dist/packages/utils/src/testid-helper.d.ts.map +0 -1
- package/dist/packages/utils/src/tool.d.ts +0 -92
- package/dist/packages/utils/src/tool.d.ts.map +0 -1
- package/dist/vitest.config.d.ts +0 -3
- package/dist/vitest.config.d.ts.map +0 -1
- /package/dist/{packages/components/src/TtArea → components/tt-area}/TtArea.vue.d.ts +0 -0
- /package/dist/{packages/components/src/TtArea → components/tt-area}/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-button/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-button/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-checkbox/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-checkbox/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-checkbox/type.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-empty/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/compare.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/components/ExpandableArrow.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/components/FormActions.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/components/Slot.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/config.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormControl.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormDescription.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormItem.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormLabel.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormMessage.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/FormWarnMessage.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/RenderContent.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/injectionKeys.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form/useFormField.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-api.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/context.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/dependencies.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/expandable.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/form-field.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/form-label.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/form.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/helper.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/form-render/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/hooks/useEmitAsProps.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/hooks/useFormFieldBus.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/hooks/useForwardPriorityValues.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/hooks/useForwardProps.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/hooks/useForwardPropsEmits.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/shared/createContext.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/shared/global-state.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/shared/store.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/shared/zod-defaults.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/types/types.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/use-form-context.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form/src/use-form-v2.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form-item-error-tooltip/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-form-item-error-tooltip/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-icon/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-icon/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/RenderModal.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/components/ModalFooter.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/components/ModalHeader.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/components/ModalWrapper.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/hooks/useModalRender.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/props.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/typing.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-modal/src/utils/modal-api.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part/type.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part-item/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part-item/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-part-item/type.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/components/SelectTable.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/components/Table.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/const.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/useDataSource.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/useGrid.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/useKeyboard.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/usePagination.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/useSelect.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/hooks/useSelectTableEvent.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/props.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/types/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-select/src/utils/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-text/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-text/index.vue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/ErrorMessage.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/FieldArray.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/Form.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/config.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/defineRule.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/symbols.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/types/common.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/types/forms.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/types/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/types/paths.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/types/shared.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useField.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFieldArray.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFieldError.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFieldState.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFieldValue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useForm.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFormErrors.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useFormValues.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFieldDirty.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFieldTouched.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFieldValid.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFormDirty.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFormTouched.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsFormValid.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsSubmitting.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useIsValidating.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useResetForm.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFieldError.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFieldTouched.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFieldValue.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFormErrors.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFormTouched.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSetFormValues.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSubmitCount.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useSubmitForm.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useValidateField.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/useValidateForm.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/assertions.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/common.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/events.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/rules.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/shared.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/utils/vnode.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/src/validate.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/tt-validate/zod/index.d.ts +0 -0
- /package/dist/{packages/ui/src/components → components}/types.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/auto-tip/index.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/index.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/use-css-variable.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/use-draggable.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/use-fullscreen.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/use-parse-translate.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/dialog-resize/use-resizer.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/disabled-tip/index.d.ts +0 -0
- /package/dist/{packages/ui/src/directives → directives}/index.d.ts +0 -0
- /package/dist/{packages/ui/src/hooks → hooks}/useLoading.d.ts +0 -0
- /package/dist/{packages/ui/src/hooks → hooks}/useTable.d.ts +0 -0
|
@@ -0,0 +1,832 @@
|
|
|
1
|
+
import { computed as f, getCurrentInstance as _e, markRaw as et, defineComponent as tt, useAttrs as ot, useSlots as nt, shallowRef as ae, ref as ie, watch as se, nextTick as F, onMounted as at, toRef as it, createElementBlock as E, openBlock as c, normalizeStyle as Ce, normalizeClass as p, unref as n, createCommentVNode as m, Fragment as le, createElementVNode as L, renderSlot as Z, createBlock as I, withCtx as H, resolveDynamicComponent as A, mergeProps as Ne, withModifiers as re, toDisplayString as q } from "vue";
|
|
2
|
+
import { g as ue, U as J, c as Oe, d as Pe, v as st, n as lt, N as de, o as ze, C as Me, I as ce } from "./index-7R1S3sB2.js";
|
|
3
|
+
import { m as rt } from "./typescript-BpuhIBuJ.js";
|
|
4
|
+
import { i as fe, V as ut } from "./icon-DO5WEZ3U.js";
|
|
5
|
+
import { d as Q, b as dt, a as M, u as ct, e as Ve, h as ft, j as mt, w as vt } from "./use-form-common-props-CH53YdF-.js";
|
|
6
|
+
import { u as pt } from "./index-B-3b7Nox.js";
|
|
7
|
+
import { useResizeObserver as yt, isClient as bt } from "@vueuse/core";
|
|
8
|
+
import { fromPairs as ht, isNil as gt } from "lodash-es";
|
|
9
|
+
import { E as j } from "./index-BWFNEHAe.js";
|
|
10
|
+
import { a as xt, u as wt, b as St } from "./index-CN_A-qCa.js";
|
|
11
|
+
import { u as Et, a as It } from "./use-form-item--pOyiE--.js";
|
|
12
|
+
const Ct = ["class", "style"], Nt = /^on[A-Z]/, Pt = (e = {}) => {
|
|
13
|
+
const { excludeListeners: r = !1, excludeKeys: x } = e, t = f(() => ((x == null ? void 0 : x.value) || []).concat(Ct)), l = _e();
|
|
14
|
+
return l ? f(
|
|
15
|
+
() => {
|
|
16
|
+
var u;
|
|
17
|
+
return ht(
|
|
18
|
+
Object.entries((u = l.proxy) == null ? void 0 : u.$attrs).filter(
|
|
19
|
+
([d]) => !t.value.includes(d) && !(r && Nt.test(d))
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
) : (Q(
|
|
24
|
+
"use-attrs",
|
|
25
|
+
"getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"
|
|
26
|
+
), f(() => ({})));
|
|
27
|
+
};
|
|
28
|
+
function zt(e) {
|
|
29
|
+
let r;
|
|
30
|
+
function x() {
|
|
31
|
+
if (e.value == null) return;
|
|
32
|
+
const { selectionStart: l, selectionEnd: u, value: d } = e.value;
|
|
33
|
+
if (l == null || u == null) return;
|
|
34
|
+
const v = d.slice(0, Math.max(0, l)), w = d.slice(Math.max(0, u));
|
|
35
|
+
r = {
|
|
36
|
+
selectionStart: l,
|
|
37
|
+
selectionEnd: u,
|
|
38
|
+
value: d,
|
|
39
|
+
beforeTxt: v,
|
|
40
|
+
afterTxt: w
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function t() {
|
|
44
|
+
if (e.value == null || r == null) return;
|
|
45
|
+
const { value: l } = e.value, { beforeTxt: u, afterTxt: d, selectionStart: v } = r;
|
|
46
|
+
if (u == null || d == null || v == null)
|
|
47
|
+
return;
|
|
48
|
+
let w = l.length;
|
|
49
|
+
if (l.endsWith(d))
|
|
50
|
+
w = l.length - d.length;
|
|
51
|
+
else if (l.startsWith(u))
|
|
52
|
+
w = u.length;
|
|
53
|
+
else {
|
|
54
|
+
const h = u[v - 1], C = l.indexOf(h, v - 1);
|
|
55
|
+
C !== -1 && (w = C + 1);
|
|
56
|
+
}
|
|
57
|
+
e.value.setSelectionRange(w, w);
|
|
58
|
+
}
|
|
59
|
+
return [x, t];
|
|
60
|
+
}
|
|
61
|
+
const Re = dt({
|
|
62
|
+
/**
|
|
63
|
+
* @description native input id
|
|
64
|
+
*/
|
|
65
|
+
id: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: void 0
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @description input box size
|
|
71
|
+
*/
|
|
72
|
+
size: ct,
|
|
73
|
+
/**
|
|
74
|
+
* @description whether to disable
|
|
75
|
+
*/
|
|
76
|
+
disabled: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: void 0
|
|
79
|
+
},
|
|
80
|
+
/**
|
|
81
|
+
* @description binding value
|
|
82
|
+
*/
|
|
83
|
+
modelValue: {
|
|
84
|
+
type: M([
|
|
85
|
+
String,
|
|
86
|
+
Number,
|
|
87
|
+
Object
|
|
88
|
+
]),
|
|
89
|
+
default: ""
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* @description v-model modifiers, reference [Vue modifiers](https://vuejs.org/guide/essentials/forms.html#modifiers)
|
|
93
|
+
*/
|
|
94
|
+
modelModifiers: {
|
|
95
|
+
type: M(Object),
|
|
96
|
+
default: () => ({})
|
|
97
|
+
},
|
|
98
|
+
/**
|
|
99
|
+
* @description same as `maxlength` in native input
|
|
100
|
+
*/
|
|
101
|
+
maxlength: {
|
|
102
|
+
type: [String, Number]
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* @description same as `minlength` in native input
|
|
106
|
+
*/
|
|
107
|
+
minlength: {
|
|
108
|
+
type: [String, Number]
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* @description type of input, see more in [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types)
|
|
112
|
+
*/
|
|
113
|
+
type: {
|
|
114
|
+
type: M(String),
|
|
115
|
+
default: "text"
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* @description control the resizability
|
|
119
|
+
*/
|
|
120
|
+
resize: {
|
|
121
|
+
type: String,
|
|
122
|
+
values: ["none", "both", "horizontal", "vertical"]
|
|
123
|
+
},
|
|
124
|
+
/**
|
|
125
|
+
* @description whether textarea has an adaptive height
|
|
126
|
+
*/
|
|
127
|
+
autosize: {
|
|
128
|
+
type: M([Boolean, Object]),
|
|
129
|
+
default: !1
|
|
130
|
+
},
|
|
131
|
+
/**
|
|
132
|
+
* @description native input autocomplete
|
|
133
|
+
*/
|
|
134
|
+
autocomplete: {
|
|
135
|
+
type: M(String),
|
|
136
|
+
default: "off"
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
* @description format content
|
|
140
|
+
*/
|
|
141
|
+
formatter: {
|
|
142
|
+
type: Function
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* @description parse content
|
|
146
|
+
*/
|
|
147
|
+
parser: {
|
|
148
|
+
type: Function
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* @description placeholder
|
|
152
|
+
*/
|
|
153
|
+
placeholder: {
|
|
154
|
+
type: String
|
|
155
|
+
},
|
|
156
|
+
/**
|
|
157
|
+
* @description native input form
|
|
158
|
+
*/
|
|
159
|
+
form: {
|
|
160
|
+
type: String
|
|
161
|
+
},
|
|
162
|
+
/**
|
|
163
|
+
* @description native input readonly
|
|
164
|
+
*/
|
|
165
|
+
readonly: Boolean,
|
|
166
|
+
/**
|
|
167
|
+
* @description whether to show clear button
|
|
168
|
+
*/
|
|
169
|
+
clearable: Boolean,
|
|
170
|
+
/**
|
|
171
|
+
* @description custom clear icon component
|
|
172
|
+
*/
|
|
173
|
+
clearIcon: {
|
|
174
|
+
type: fe,
|
|
175
|
+
default: Oe
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
* @description toggleable password input
|
|
179
|
+
*/
|
|
180
|
+
showPassword: Boolean,
|
|
181
|
+
/**
|
|
182
|
+
* @description word count
|
|
183
|
+
*/
|
|
184
|
+
showWordLimit: Boolean,
|
|
185
|
+
/**
|
|
186
|
+
* @description word count position, valid when `show-word-limit` is true
|
|
187
|
+
*/
|
|
188
|
+
wordLimitPosition: {
|
|
189
|
+
type: String,
|
|
190
|
+
values: ["inside", "outside"],
|
|
191
|
+
default: "inside"
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* @description suffix icon
|
|
195
|
+
*/
|
|
196
|
+
suffixIcon: {
|
|
197
|
+
type: fe
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* @description prefix icon
|
|
201
|
+
*/
|
|
202
|
+
prefixIcon: {
|
|
203
|
+
type: fe
|
|
204
|
+
},
|
|
205
|
+
/**
|
|
206
|
+
* @description container role, internal properties provided for use by the picker component
|
|
207
|
+
*/
|
|
208
|
+
containerRole: {
|
|
209
|
+
type: String,
|
|
210
|
+
default: void 0
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
* @description input tabindex
|
|
214
|
+
*/
|
|
215
|
+
tabindex: {
|
|
216
|
+
type: [String, Number],
|
|
217
|
+
default: 0
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* @description whether to trigger form validation
|
|
221
|
+
*/
|
|
222
|
+
validateEvent: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
default: !0
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
* @description input or textarea element style
|
|
228
|
+
*/
|
|
229
|
+
inputStyle: {
|
|
230
|
+
type: M([Object, Array, String]),
|
|
231
|
+
default: () => rt({})
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* @description native input autofocus
|
|
235
|
+
*/
|
|
236
|
+
autofocus: Boolean,
|
|
237
|
+
rows: {
|
|
238
|
+
type: Number,
|
|
239
|
+
default: 2
|
|
240
|
+
},
|
|
241
|
+
...pt(["ariaLabel"]),
|
|
242
|
+
/**
|
|
243
|
+
* @description native input mode for virtual keyboards
|
|
244
|
+
*/
|
|
245
|
+
inputmode: {
|
|
246
|
+
type: M(String),
|
|
247
|
+
default: void 0
|
|
248
|
+
},
|
|
249
|
+
/**
|
|
250
|
+
* @description same as `name` in native input
|
|
251
|
+
*/
|
|
252
|
+
name: String
|
|
253
|
+
}), $e = {
|
|
254
|
+
[J]: (e) => ue(e),
|
|
255
|
+
input: (e) => ue(e),
|
|
256
|
+
change: (e, r) => ue(e) && (r instanceof Event || r === void 0),
|
|
257
|
+
focus: (e) => e instanceof FocusEvent,
|
|
258
|
+
blur: (e) => e instanceof FocusEvent,
|
|
259
|
+
clear: () => !0,
|
|
260
|
+
mouseleave: (e) => e instanceof MouseEvent,
|
|
261
|
+
mouseenter: (e) => e instanceof MouseEvent,
|
|
262
|
+
// NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent
|
|
263
|
+
// relative bug report https://github.com/element-plus/element-plus/issues/6665
|
|
264
|
+
keydown: (e) => e instanceof Event,
|
|
265
|
+
compositionstart: (e) => e instanceof CompositionEvent,
|
|
266
|
+
compositionupdate: (e) => e instanceof CompositionEvent,
|
|
267
|
+
compositionend: (e) => e instanceof CompositionEvent
|
|
268
|
+
}, Mt = {
|
|
269
|
+
disabled: void 0,
|
|
270
|
+
modelValue: "",
|
|
271
|
+
modelModifiers: () => ({}),
|
|
272
|
+
type: "text",
|
|
273
|
+
autocomplete: "off",
|
|
274
|
+
clearIcon: et(Oe),
|
|
275
|
+
wordLimitPosition: "inside",
|
|
276
|
+
tabindex: 0,
|
|
277
|
+
validateEvent: !0,
|
|
278
|
+
inputStyle: () => ({}),
|
|
279
|
+
rows: 2
|
|
280
|
+
};
|
|
281
|
+
let b;
|
|
282
|
+
const Vt = {
|
|
283
|
+
height: "0",
|
|
284
|
+
visibility: "hidden",
|
|
285
|
+
overflow: xt() ? "" : "hidden",
|
|
286
|
+
position: "absolute",
|
|
287
|
+
"z-index": "-1000",
|
|
288
|
+
top: "0",
|
|
289
|
+
right: "0"
|
|
290
|
+
}, kt = [
|
|
291
|
+
"letter-spacing",
|
|
292
|
+
"line-height",
|
|
293
|
+
"padding-top",
|
|
294
|
+
"padding-bottom",
|
|
295
|
+
"font-family",
|
|
296
|
+
"font-weight",
|
|
297
|
+
"font-size",
|
|
298
|
+
"text-rendering",
|
|
299
|
+
"text-transform",
|
|
300
|
+
"width",
|
|
301
|
+
"text-indent",
|
|
302
|
+
"padding-left",
|
|
303
|
+
"padding-right",
|
|
304
|
+
"border-width",
|
|
305
|
+
"box-sizing",
|
|
306
|
+
"word-break"
|
|
307
|
+
], ke = (e) => {
|
|
308
|
+
const r = Number.parseFloat(e);
|
|
309
|
+
return Number.isNaN(r) ? e : r;
|
|
310
|
+
};
|
|
311
|
+
function Tt(e) {
|
|
312
|
+
const r = window.getComputedStyle(e), x = r.getPropertyValue("box-sizing"), t = Number.parseFloat(r.getPropertyValue("padding-bottom")) + Number.parseFloat(r.getPropertyValue("padding-top")), l = Number.parseFloat(r.getPropertyValue("border-bottom-width")) + Number.parseFloat(r.getPropertyValue("border-top-width"));
|
|
313
|
+
return { contextStyle: kt.map((d) => [
|
|
314
|
+
d,
|
|
315
|
+
r.getPropertyValue(d)
|
|
316
|
+
]), paddingSize: t, borderSize: l, boxSizing: x };
|
|
317
|
+
}
|
|
318
|
+
function Te(e, r = 1, x) {
|
|
319
|
+
var t, l;
|
|
320
|
+
b || (b = document.createElement("textarea"), ((t = e.parentNode) != null ? t : document.body).appendChild(b));
|
|
321
|
+
const { paddingSize: u, borderSize: d, boxSizing: v, contextStyle: w } = Tt(e);
|
|
322
|
+
w.forEach(
|
|
323
|
+
([y, O]) => b == null ? void 0 : b.style.setProperty(y, O)
|
|
324
|
+
), Object.entries(Vt).forEach(
|
|
325
|
+
([y, O]) => b == null ? void 0 : b.style.setProperty(y, O, "important")
|
|
326
|
+
), b.value = e.value || e.placeholder || "";
|
|
327
|
+
let h = b.scrollHeight;
|
|
328
|
+
const C = {};
|
|
329
|
+
v === "border-box" ? h = h + d : v === "content-box" && (h = h - u), b.value = "";
|
|
330
|
+
const g = b.scrollHeight - u;
|
|
331
|
+
if (Ve(r)) {
|
|
332
|
+
let y = g * r;
|
|
333
|
+
v === "border-box" && (y = y + u + d), h = Math.max(y, h), C.minHeight = `${y}px`;
|
|
334
|
+
}
|
|
335
|
+
if (Ve(x)) {
|
|
336
|
+
let y = g * x;
|
|
337
|
+
v === "border-box" && (y = y + u + d), h = Math.min(y, h);
|
|
338
|
+
}
|
|
339
|
+
return C.height = `${h}px`, (l = b.parentNode) == null || l.removeChild(b), b = void 0, C;
|
|
340
|
+
}
|
|
341
|
+
const Ft = ["id", "name", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus", "role", "inputmode"], Lt = ["id", "name", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus", "rows", "role"], Fe = "ElInput";
|
|
342
|
+
var Ot = /* @__PURE__ */ tt({
|
|
343
|
+
name: Fe,
|
|
344
|
+
inheritAttrs: !1,
|
|
345
|
+
__name: "input",
|
|
346
|
+
props: Re,
|
|
347
|
+
emits: $e,
|
|
348
|
+
setup(e, { expose: r, emit: x }) {
|
|
349
|
+
const t = e, l = x, u = ot(), d = Pt(), v = nt(), w = f(() => [
|
|
350
|
+
t.type === "textarea" ? me.b() : i.b(),
|
|
351
|
+
i.m(O.value),
|
|
352
|
+
i.is("disabled", P.value),
|
|
353
|
+
i.is("exceed", je.value),
|
|
354
|
+
{
|
|
355
|
+
[i.b("group")]: v.prepend || v.append,
|
|
356
|
+
[i.m("prefix")]: v.prefix || t.prefixIcon,
|
|
357
|
+
[i.m("suffix")]: v.suffix || t.suffixIcon || t.clearable || t.showPassword,
|
|
358
|
+
[i.bm("suffix", "password-clear")]: W.value && te.value,
|
|
359
|
+
[i.b("hidden")]: t.type === "hidden"
|
|
360
|
+
},
|
|
361
|
+
u.class
|
|
362
|
+
]), h = f(() => [
|
|
363
|
+
i.e("wrapper"),
|
|
364
|
+
i.is("focus", ee.value)
|
|
365
|
+
]), { form: C, formItem: g } = Et(), { inputId: y } = It(t, {
|
|
366
|
+
formItemContext: g
|
|
367
|
+
}), O = ft(), P = mt(), i = Pe("input"), me = Pe("textarea"), D = ae(), N = ae(), _ = ie(!1), K = ie(!1), ve = ie(), U = ae(t.inputStyle), S = f(() => D.value || N.value), { wrapperRef: Be, isFocused: ee, handleFocus: pe, handleBlur: ye } = wt(
|
|
368
|
+
S,
|
|
369
|
+
{
|
|
370
|
+
disabled: P,
|
|
371
|
+
afterBlur() {
|
|
372
|
+
var o;
|
|
373
|
+
t.validateEvent && ((o = g == null ? void 0 : g.validate) == null || o.call(g, "blur").catch((a) => Q(a)));
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
), be = f(() => {
|
|
377
|
+
var o;
|
|
378
|
+
return (o = C == null ? void 0 : C.statusIcon) != null ? o : !1;
|
|
379
|
+
}), R = f(() => (g == null ? void 0 : g.validateState) || ""), he = f(
|
|
380
|
+
() => R.value && ut[R.value]
|
|
381
|
+
), He = f(
|
|
382
|
+
() => K.value ? st : lt
|
|
383
|
+
), Ae = f(() => [
|
|
384
|
+
u.style
|
|
385
|
+
]), ge = f(() => [
|
|
386
|
+
t.inputStyle,
|
|
387
|
+
U.value,
|
|
388
|
+
{ resize: t.resize }
|
|
389
|
+
]), z = f(
|
|
390
|
+
() => gt(t.modelValue) ? "" : String(t.modelValue)
|
|
391
|
+
), W = f(
|
|
392
|
+
() => t.clearable && !P.value && !t.readonly && !!z.value && (ee.value || _.value)
|
|
393
|
+
), te = f(
|
|
394
|
+
() => t.showPassword && !P.value && !!z.value
|
|
395
|
+
), V = f(
|
|
396
|
+
() => t.showWordLimit && !!t.maxlength && (t.type === "text" || t.type === "textarea") && !P.value && !t.readonly && !t.showPassword
|
|
397
|
+
), oe = f(() => z.value.length), je = f(
|
|
398
|
+
() => (
|
|
399
|
+
// show exceed style if length of initial value greater then maxlength
|
|
400
|
+
!!V.value && oe.value > Number(t.maxlength)
|
|
401
|
+
)
|
|
402
|
+
), De = f(
|
|
403
|
+
() => !!v.suffix || !!t.suffixIcon || W.value || t.showPassword || V.value || !!R.value && be.value
|
|
404
|
+
), Ke = f(
|
|
405
|
+
() => !!Object.keys(t.modelModifiers).length
|
|
406
|
+
), [Ue, We] = zt(D);
|
|
407
|
+
yt(N, (o) => {
|
|
408
|
+
if (Ye(), !V.value || t.resize !== "both" && t.resize !== "horizontal")
|
|
409
|
+
return;
|
|
410
|
+
const a = o[0], { width: s } = a.contentRect;
|
|
411
|
+
ve.value = {
|
|
412
|
+
/** right: 100% - width + padding(22) - right(10) */
|
|
413
|
+
right: `calc(100% - ${s + 22 - 10}px)`
|
|
414
|
+
};
|
|
415
|
+
});
|
|
416
|
+
const $ = () => {
|
|
417
|
+
const { type: o, autosize: a } = t;
|
|
418
|
+
if (!(!bt || o !== "textarea" || !N.value))
|
|
419
|
+
if (a) {
|
|
420
|
+
const s = ze(a) ? a.minRows : void 0, T = ze(a) ? a.maxRows : void 0, B = Te(N.value, s, T);
|
|
421
|
+
U.value = {
|
|
422
|
+
overflowY: "hidden",
|
|
423
|
+
...B
|
|
424
|
+
}, F(() => {
|
|
425
|
+
N.value.offsetHeight, U.value = B;
|
|
426
|
+
});
|
|
427
|
+
} else
|
|
428
|
+
U.value = {
|
|
429
|
+
minHeight: Te(N.value).minHeight
|
|
430
|
+
};
|
|
431
|
+
}, Ye = ((o) => {
|
|
432
|
+
let a = !1;
|
|
433
|
+
return () => {
|
|
434
|
+
var s;
|
|
435
|
+
if (a || !t.autosize) return;
|
|
436
|
+
((s = N.value) == null ? void 0 : s.offsetParent) === null || (setTimeout(o), a = !0);
|
|
437
|
+
};
|
|
438
|
+
})($), k = () => {
|
|
439
|
+
const o = S.value, a = t.formatter ? t.formatter(z.value) : z.value;
|
|
440
|
+
!o || o.value === a || t.type === "file" || (o.value = a);
|
|
441
|
+
}, xe = (o) => {
|
|
442
|
+
const { trim: a, number: s } = t.modelModifiers;
|
|
443
|
+
return a && (o = o.trim()), s && (o = `${ke(o)}`), t.formatter && t.parser && (o = t.parser(o)), o;
|
|
444
|
+
}, ne = async (o) => {
|
|
445
|
+
if (Se.value) return;
|
|
446
|
+
const { lazy: a } = t.modelModifiers;
|
|
447
|
+
let { value: s } = o.target;
|
|
448
|
+
if (a) {
|
|
449
|
+
l(ce, s);
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
if (s = xe(s), String(s) === z.value) {
|
|
453
|
+
t.formatter && k();
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
Ue(), l(J, s), l(ce, s), await F(), (t.formatter && t.parser || !Ke.value) && k(), We();
|
|
457
|
+
}, we = async (o) => {
|
|
458
|
+
let { value: a } = o.target;
|
|
459
|
+
a = xe(a), t.modelModifiers.lazy && l(J, a), l(Me, a, o), await F(), k();
|
|
460
|
+
}, {
|
|
461
|
+
isComposing: Se,
|
|
462
|
+
handleCompositionStart: Y,
|
|
463
|
+
handleCompositionUpdate: X,
|
|
464
|
+
handleCompositionEnd: G
|
|
465
|
+
} = St({ emit: l, afterComposition: ne }), Xe = () => {
|
|
466
|
+
K.value = !K.value;
|
|
467
|
+
}, Ge = () => {
|
|
468
|
+
var o;
|
|
469
|
+
return (o = S.value) == null ? void 0 : o.focus();
|
|
470
|
+
}, Ze = () => {
|
|
471
|
+
var o;
|
|
472
|
+
return (o = S.value) == null ? void 0 : o.blur();
|
|
473
|
+
}, qe = (o) => {
|
|
474
|
+
_.value = !1, l("mouseleave", o);
|
|
475
|
+
}, Je = (o) => {
|
|
476
|
+
_.value = !0, l("mouseenter", o);
|
|
477
|
+
}, Ee = (o) => {
|
|
478
|
+
l("keydown", o);
|
|
479
|
+
}, Qe = () => {
|
|
480
|
+
var o;
|
|
481
|
+
(o = S.value) == null || o.select();
|
|
482
|
+
}, Ie = () => {
|
|
483
|
+
l(J, ""), l(Me, ""), l("clear"), l(ce, "");
|
|
484
|
+
};
|
|
485
|
+
return se(
|
|
486
|
+
() => t.modelValue,
|
|
487
|
+
() => {
|
|
488
|
+
var o;
|
|
489
|
+
F(() => $()), t.validateEvent && ((o = g == null ? void 0 : g.validate) == null || o.call(g, "change").catch((a) => Q(a)));
|
|
490
|
+
}
|
|
491
|
+
), se(z, (o) => {
|
|
492
|
+
if (!S.value)
|
|
493
|
+
return;
|
|
494
|
+
const { trim: a, number: s } = t.modelModifiers, T = S.value.value, B = (s || t.type === "number") && !/^0\d/.test(T) ? `${ke(T)}` : T;
|
|
495
|
+
B !== o && (document.activeElement === S.value && S.value.type !== "range" && a && B.trim() === o || k());
|
|
496
|
+
}), se(
|
|
497
|
+
() => t.type,
|
|
498
|
+
async () => {
|
|
499
|
+
await F(), k(), $();
|
|
500
|
+
}
|
|
501
|
+
), at(() => {
|
|
502
|
+
!t.formatter && t.parser && Q(
|
|
503
|
+
Fe,
|
|
504
|
+
"If you set the parser, you also need to set the formatter."
|
|
505
|
+
), k(), F($);
|
|
506
|
+
}), r({
|
|
507
|
+
/** @description HTML input element */
|
|
508
|
+
input: D,
|
|
509
|
+
/** @description HTML textarea element */
|
|
510
|
+
textarea: N,
|
|
511
|
+
/** @description HTML element, input or textarea */
|
|
512
|
+
ref: S,
|
|
513
|
+
/** @description style of textarea. */
|
|
514
|
+
textareaStyle: ge,
|
|
515
|
+
/** @description from props (used on unit test) */
|
|
516
|
+
autosize: it(t, "autosize"),
|
|
517
|
+
/** @description is input composing */
|
|
518
|
+
isComposing: Se,
|
|
519
|
+
/** @description HTML input element native method */
|
|
520
|
+
focus: Ge,
|
|
521
|
+
/** @description HTML input element native method */
|
|
522
|
+
blur: Ze,
|
|
523
|
+
/** @description HTML input element native method */
|
|
524
|
+
select: Qe,
|
|
525
|
+
/** @description clear input value */
|
|
526
|
+
clear: Ie,
|
|
527
|
+
/** @description resize textarea. */
|
|
528
|
+
resizeTextarea: $
|
|
529
|
+
}), (o, a) => (c(), E(
|
|
530
|
+
"div",
|
|
531
|
+
{
|
|
532
|
+
class: p([
|
|
533
|
+
w.value,
|
|
534
|
+
{
|
|
535
|
+
[n(i).bm("group", "append")]: o.$slots.append,
|
|
536
|
+
[n(i).bm("group", "prepend")]: o.$slots.prepend
|
|
537
|
+
}
|
|
538
|
+
]),
|
|
539
|
+
style: Ce(Ae.value),
|
|
540
|
+
onMouseenter: Je,
|
|
541
|
+
onMouseleave: qe
|
|
542
|
+
},
|
|
543
|
+
[
|
|
544
|
+
m(" input "),
|
|
545
|
+
e.type !== "textarea" ? (c(), E(
|
|
546
|
+
le,
|
|
547
|
+
{ key: 0 },
|
|
548
|
+
[
|
|
549
|
+
m(" prepend slot "),
|
|
550
|
+
o.$slots.prepend ? (c(), E(
|
|
551
|
+
"div",
|
|
552
|
+
{
|
|
553
|
+
key: 0,
|
|
554
|
+
class: p(n(i).be("group", "prepend"))
|
|
555
|
+
},
|
|
556
|
+
[
|
|
557
|
+
Z(o.$slots, "prepend")
|
|
558
|
+
],
|
|
559
|
+
2
|
|
560
|
+
/* CLASS */
|
|
561
|
+
)) : m("v-if", !0),
|
|
562
|
+
L(
|
|
563
|
+
"div",
|
|
564
|
+
{
|
|
565
|
+
ref_key: "wrapperRef",
|
|
566
|
+
ref: Be,
|
|
567
|
+
class: p(h.value)
|
|
568
|
+
},
|
|
569
|
+
[
|
|
570
|
+
m(" prefix slot "),
|
|
571
|
+
o.$slots.prefix || e.prefixIcon ? (c(), E(
|
|
572
|
+
"span",
|
|
573
|
+
{
|
|
574
|
+
key: 0,
|
|
575
|
+
class: p(n(i).e("prefix"))
|
|
576
|
+
},
|
|
577
|
+
[
|
|
578
|
+
L(
|
|
579
|
+
"span",
|
|
580
|
+
{
|
|
581
|
+
class: p(n(i).e("prefix-inner"))
|
|
582
|
+
},
|
|
583
|
+
[
|
|
584
|
+
Z(o.$slots, "prefix"),
|
|
585
|
+
e.prefixIcon ? (c(), I(n(j), {
|
|
586
|
+
key: 0,
|
|
587
|
+
class: p(n(i).e("icon"))
|
|
588
|
+
}, {
|
|
589
|
+
default: H(() => [
|
|
590
|
+
(c(), I(A(e.prefixIcon)))
|
|
591
|
+
]),
|
|
592
|
+
_: 1
|
|
593
|
+
/* STABLE */
|
|
594
|
+
}, 8, ["class"])) : m("v-if", !0)
|
|
595
|
+
],
|
|
596
|
+
2
|
|
597
|
+
/* CLASS */
|
|
598
|
+
)
|
|
599
|
+
],
|
|
600
|
+
2
|
|
601
|
+
/* CLASS */
|
|
602
|
+
)) : m("v-if", !0),
|
|
603
|
+
L("input", Ne({
|
|
604
|
+
id: n(y),
|
|
605
|
+
ref_key: "input",
|
|
606
|
+
ref: D,
|
|
607
|
+
class: n(i).e("inner")
|
|
608
|
+
}, n(d), {
|
|
609
|
+
name: e.name,
|
|
610
|
+
minlength: e.minlength,
|
|
611
|
+
maxlength: e.maxlength,
|
|
612
|
+
type: e.showPassword ? K.value ? "text" : "password" : e.type,
|
|
613
|
+
disabled: n(P),
|
|
614
|
+
readonly: e.readonly,
|
|
615
|
+
autocomplete: e.autocomplete,
|
|
616
|
+
tabindex: e.tabindex,
|
|
617
|
+
"aria-label": e.ariaLabel,
|
|
618
|
+
placeholder: e.placeholder,
|
|
619
|
+
style: e.inputStyle,
|
|
620
|
+
form: e.form,
|
|
621
|
+
autofocus: e.autofocus,
|
|
622
|
+
role: e.containerRole,
|
|
623
|
+
inputmode: e.inputmode,
|
|
624
|
+
onCompositionstart: a[0] || (a[0] = //@ts-ignore
|
|
625
|
+
(...s) => n(Y) && n(Y)(...s)),
|
|
626
|
+
onCompositionupdate: a[1] || (a[1] = //@ts-ignore
|
|
627
|
+
(...s) => n(X) && n(X)(...s)),
|
|
628
|
+
onCompositionend: a[2] || (a[2] = //@ts-ignore
|
|
629
|
+
(...s) => n(G) && n(G)(...s)),
|
|
630
|
+
onInput: ne,
|
|
631
|
+
onChange: we,
|
|
632
|
+
onKeydown: Ee
|
|
633
|
+
}), null, 16, Ft),
|
|
634
|
+
m(" suffix slot "),
|
|
635
|
+
De.value ? (c(), E(
|
|
636
|
+
"span",
|
|
637
|
+
{
|
|
638
|
+
key: 1,
|
|
639
|
+
class: p(n(i).e("suffix"))
|
|
640
|
+
},
|
|
641
|
+
[
|
|
642
|
+
L(
|
|
643
|
+
"span",
|
|
644
|
+
{
|
|
645
|
+
class: p(n(i).e("suffix-inner"))
|
|
646
|
+
},
|
|
647
|
+
[
|
|
648
|
+
!W.value || !te.value || !V.value ? (c(), E(
|
|
649
|
+
le,
|
|
650
|
+
{ key: 0 },
|
|
651
|
+
[
|
|
652
|
+
Z(o.$slots, "suffix"),
|
|
653
|
+
e.suffixIcon ? (c(), I(n(j), {
|
|
654
|
+
key: 0,
|
|
655
|
+
class: p(n(i).e("icon"))
|
|
656
|
+
}, {
|
|
657
|
+
default: H(() => [
|
|
658
|
+
(c(), I(A(e.suffixIcon)))
|
|
659
|
+
]),
|
|
660
|
+
_: 1
|
|
661
|
+
/* STABLE */
|
|
662
|
+
}, 8, ["class"])) : m("v-if", !0)
|
|
663
|
+
],
|
|
664
|
+
64
|
|
665
|
+
/* STABLE_FRAGMENT */
|
|
666
|
+
)) : m("v-if", !0),
|
|
667
|
+
W.value ? (c(), I(n(j), {
|
|
668
|
+
key: 1,
|
|
669
|
+
class: p([n(i).e("icon"), n(i).e("clear")]),
|
|
670
|
+
onMousedown: re(n(de), ["prevent"]),
|
|
671
|
+
onClick: Ie
|
|
672
|
+
}, {
|
|
673
|
+
default: H(() => [
|
|
674
|
+
(c(), I(A(e.clearIcon)))
|
|
675
|
+
]),
|
|
676
|
+
_: 1
|
|
677
|
+
/* STABLE */
|
|
678
|
+
}, 8, ["class", "onMousedown"])) : m("v-if", !0),
|
|
679
|
+
te.value ? (c(), I(n(j), {
|
|
680
|
+
key: 2,
|
|
681
|
+
class: p([n(i).e("icon"), n(i).e("password")]),
|
|
682
|
+
onClick: Xe,
|
|
683
|
+
onMousedown: re(n(de), ["prevent"]),
|
|
684
|
+
onMouseup: re(n(de), ["prevent"])
|
|
685
|
+
}, {
|
|
686
|
+
default: H(() => [
|
|
687
|
+
(c(), I(A(He.value)))
|
|
688
|
+
]),
|
|
689
|
+
_: 1
|
|
690
|
+
/* STABLE */
|
|
691
|
+
}, 8, ["class", "onMousedown", "onMouseup"])) : m("v-if", !0),
|
|
692
|
+
V.value ? (c(), E(
|
|
693
|
+
"span",
|
|
694
|
+
{
|
|
695
|
+
key: 3,
|
|
696
|
+
class: p([
|
|
697
|
+
n(i).e("count"),
|
|
698
|
+
n(i).is("outside", e.wordLimitPosition === "outside")
|
|
699
|
+
])
|
|
700
|
+
},
|
|
701
|
+
[
|
|
702
|
+
L(
|
|
703
|
+
"span",
|
|
704
|
+
{
|
|
705
|
+
class: p(n(i).e("count-inner"))
|
|
706
|
+
},
|
|
707
|
+
q(oe.value) + " / " + q(e.maxlength),
|
|
708
|
+
3
|
|
709
|
+
/* TEXT, CLASS */
|
|
710
|
+
)
|
|
711
|
+
],
|
|
712
|
+
2
|
|
713
|
+
/* CLASS */
|
|
714
|
+
)) : m("v-if", !0),
|
|
715
|
+
R.value && he.value && be.value ? (c(), I(n(j), {
|
|
716
|
+
key: 4,
|
|
717
|
+
class: p([
|
|
718
|
+
n(i).e("icon"),
|
|
719
|
+
n(i).e("validateIcon"),
|
|
720
|
+
n(i).is("loading", R.value === "validating")
|
|
721
|
+
])
|
|
722
|
+
}, {
|
|
723
|
+
default: H(() => [
|
|
724
|
+
(c(), I(A(he.value)))
|
|
725
|
+
]),
|
|
726
|
+
_: 1
|
|
727
|
+
/* STABLE */
|
|
728
|
+
}, 8, ["class"])) : m("v-if", !0)
|
|
729
|
+
],
|
|
730
|
+
2
|
|
731
|
+
/* CLASS */
|
|
732
|
+
)
|
|
733
|
+
],
|
|
734
|
+
2
|
|
735
|
+
/* CLASS */
|
|
736
|
+
)) : m("v-if", !0)
|
|
737
|
+
],
|
|
738
|
+
2
|
|
739
|
+
/* CLASS */
|
|
740
|
+
),
|
|
741
|
+
m(" append slot "),
|
|
742
|
+
o.$slots.append ? (c(), E(
|
|
743
|
+
"div",
|
|
744
|
+
{
|
|
745
|
+
key: 1,
|
|
746
|
+
class: p(n(i).be("group", "append"))
|
|
747
|
+
},
|
|
748
|
+
[
|
|
749
|
+
Z(o.$slots, "append")
|
|
750
|
+
],
|
|
751
|
+
2
|
|
752
|
+
/* CLASS */
|
|
753
|
+
)) : m("v-if", !0)
|
|
754
|
+
],
|
|
755
|
+
64
|
|
756
|
+
/* STABLE_FRAGMENT */
|
|
757
|
+
)) : (c(), E(
|
|
758
|
+
le,
|
|
759
|
+
{ key: 1 },
|
|
760
|
+
[
|
|
761
|
+
m(" textarea "),
|
|
762
|
+
L("textarea", Ne({
|
|
763
|
+
id: n(y),
|
|
764
|
+
ref_key: "textarea",
|
|
765
|
+
ref: N,
|
|
766
|
+
class: [n(me).e("inner"), n(i).is("focus", n(ee))]
|
|
767
|
+
}, n(d), {
|
|
768
|
+
name: e.name,
|
|
769
|
+
minlength: e.minlength,
|
|
770
|
+
maxlength: e.maxlength,
|
|
771
|
+
tabindex: e.tabindex,
|
|
772
|
+
disabled: n(P),
|
|
773
|
+
readonly: e.readonly,
|
|
774
|
+
autocomplete: e.autocomplete,
|
|
775
|
+
style: ge.value,
|
|
776
|
+
"aria-label": e.ariaLabel,
|
|
777
|
+
placeholder: e.placeholder,
|
|
778
|
+
form: e.form,
|
|
779
|
+
autofocus: e.autofocus,
|
|
780
|
+
rows: e.rows,
|
|
781
|
+
role: e.containerRole,
|
|
782
|
+
onCompositionstart: a[3] || (a[3] = //@ts-ignore
|
|
783
|
+
(...s) => n(Y) && n(Y)(...s)),
|
|
784
|
+
onCompositionupdate: a[4] || (a[4] = //@ts-ignore
|
|
785
|
+
(...s) => n(X) && n(X)(...s)),
|
|
786
|
+
onCompositionend: a[5] || (a[5] = //@ts-ignore
|
|
787
|
+
(...s) => n(G) && n(G)(...s)),
|
|
788
|
+
onInput: ne,
|
|
789
|
+
onFocus: a[6] || (a[6] = //@ts-ignore
|
|
790
|
+
(...s) => n(pe) && n(pe)(...s)),
|
|
791
|
+
onBlur: a[7] || (a[7] = //@ts-ignore
|
|
792
|
+
(...s) => n(ye) && n(ye)(...s)),
|
|
793
|
+
onChange: we,
|
|
794
|
+
onKeydown: Ee
|
|
795
|
+
}), null, 16, Lt),
|
|
796
|
+
V.value ? (c(), E(
|
|
797
|
+
"span",
|
|
798
|
+
{
|
|
799
|
+
key: 0,
|
|
800
|
+
style: Ce(ve.value),
|
|
801
|
+
class: p([
|
|
802
|
+
n(i).e("count"),
|
|
803
|
+
n(i).is("outside", e.wordLimitPosition === "outside")
|
|
804
|
+
])
|
|
805
|
+
},
|
|
806
|
+
q(oe.value) + " / " + q(e.maxlength),
|
|
807
|
+
7
|
|
808
|
+
/* TEXT, CLASS, STYLE */
|
|
809
|
+
)) : m("v-if", !0)
|
|
810
|
+
],
|
|
811
|
+
64
|
|
812
|
+
/* STABLE_FRAGMENT */
|
|
813
|
+
))
|
|
814
|
+
],
|
|
815
|
+
38
|
|
816
|
+
/* CLASS, STYLE, NEED_HYDRATION */
|
|
817
|
+
));
|
|
818
|
+
}
|
|
819
|
+
});
|
|
820
|
+
const Le = vt(Ot), Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
821
|
+
__proto__: null,
|
|
822
|
+
ElInput: Le,
|
|
823
|
+
default: Le,
|
|
824
|
+
inputEmits: $e,
|
|
825
|
+
inputProps: Re,
|
|
826
|
+
inputPropsDefaults: Mt
|
|
827
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
828
|
+
export {
|
|
829
|
+
Le as E,
|
|
830
|
+
Gt as i,
|
|
831
|
+
Pt as u
|
|
832
|
+
};
|