@dazhicheng/ui 1.0.4 → 1.0.6
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/index.js +40749 -22247
- package/dist/packages/components/__test__/TtArea.test.d.ts +2 -0
- package/dist/packages/components/__test__/TtArea.test.d.ts.map +1 -0
- package/dist/packages/components/src/TtArea/TtArea.vue.d.ts +3 -0
- package/dist/packages/components/src/TtArea/TtArea.vue.d.ts.map +1 -0
- package/dist/packages/components/src/TtArea/index.d.ts +2 -0
- package/dist/packages/components/src/TtArea/index.d.ts.map +1 -0
- package/dist/packages/components/src/index.d.ts +7 -0
- package/dist/packages/components/src/index.d.ts.map +1 -0
- package/dist/packages/hooks/src/index.d.ts +6 -0
- package/dist/packages/hooks/src/index.d.ts.map +1 -0
- package/dist/packages/hooks/src/propTypes.d.ts +7 -0
- package/dist/packages/hooks/src/propTypes.d.ts.map +1 -0
- package/dist/packages/hooks/src/tools.d.ts +40 -0
- package/dist/packages/hooks/src/tools.d.ts.map +1 -0
- package/dist/packages/hooks/src/useDesign.d.ts +5 -0
- package/dist/packages/hooks/src/useDesign.d.ts.map +1 -0
- package/dist/packages/hooks/src/useIsScroll.d.ts +6 -0
- package/dist/packages/hooks/src/useIsScroll.d.ts.map +1 -0
- package/dist/packages/hooks/src/usePriorityValue.d.ts +30 -0
- package/dist/packages/hooks/src/usePriorityValue.d.ts.map +1 -0
- package/dist/packages/ui/__test__/TtArea.test.d.ts +2 -0
- package/dist/packages/ui/__test__/TtArea.test.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-button/index.d.ts +1740 -0
- package/dist/packages/ui/src/components/tt-button/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-button/index.vue.d.ts +1005 -0
- package/dist/packages/ui/src/components/tt-button/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-checkbox/index.d.ts +37 -0
- package/dist/packages/ui/src/components/tt-checkbox/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-checkbox/index.vue.d.ts +29 -0
- package/dist/packages/ui/src/components/tt-checkbox/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-checkbox/type.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-checkbox/type.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-empty/index.d.ts +19 -0
- package/dist/packages/ui/src/components/tt-empty/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/index.d.ts +15 -0
- package/dist/packages/ui/src/components/tt-form/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/compare.d.ts +15 -0
- package/dist/packages/ui/src/components/tt-form/src/compare.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/components/ExpandableArrow.vue.d.ts +36 -0
- package/dist/packages/ui/src/components/tt-form/src/components/ExpandableArrow.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/components/FormActions.vue.d.ts +41 -0
- package/dist/packages/ui/src/components/tt-form/src/components/FormActions.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/components/FormFilter.vue.d.ts +23 -0
- package/dist/packages/ui/src/components/tt-form/src/components/FormFilter.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/components/Slot.d.ts +8 -0
- package/dist/packages/ui/src/components/tt-form/src/components/Slot.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/config.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-form/src/config.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormControl.vue.d.ts +20 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormControl.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormDescription.vue.d.ts +24 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormDescription.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormItem.vue.d.ts +24 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormItem.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormLabel.vue.d.ts +24 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormLabel.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormMessage.vue.d.ts +17 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormMessage.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormWarnMessage.vue.d.ts +26 -0
- package/dist/packages/ui/src/components/tt-form/src/form/FormWarnMessage.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/RenderContent.vue.d.ts +24 -0
- package/dist/packages/ui/src/components/tt-form/src/form/RenderContent.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/index.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-form/src/form/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/injectionKeys.d.ts +3 -0
- package/dist/packages/ui/src/components/tt-form/src/form/injectionKeys.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form/useFormField.d.ts +12 -0
- package/dist/packages/ui/src/components/tt-form/src/form/useFormField.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-api.d.ts +163 -0
- package/dist/packages/ui/src/components/tt-form/src/form-api.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/context.d.ts +54 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/context.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/dependencies.d.ts +373 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/dependencies.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/expandable.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/expandable.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-field.vue.d.ts +33 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-field.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-label.vue.d.ts +44 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form-label.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form.vue.d.ts +73 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/form.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/helper.d.ts +17 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/helper.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/index.d.ts +4 -0
- package/dist/packages/ui/src/components/tt-form/src/form-render/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useEmitAsProps.d.ts +8 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useEmitAsProps.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useFormFieldBus.d.ts +14 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useFormFieldBus.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +15 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPriorityValues.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardProps.d.ts +8 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardProps.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +9 -0
- package/dist/packages/ui/src/components/tt-form/src/hooks/useForwardPropsEmits.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/index.vue.d.ts +344 -0
- package/dist/packages/ui/src/components/tt-form/src/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/createContext.d.ts +9 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/createContext.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/global-state.d.ts +18 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/global-state.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/store.d.ts +2 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/store.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/zod-defaults.d.ts +55 -0
- package/dist/packages/ui/src/components/tt-form/src/shared/zod-defaults.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/types/types.d.ts +503 -0
- package/dist/packages/ui/src/components/tt-form/src/types/types.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/use-form-context.d.ts +41 -0
- package/dist/packages/ui/src/components/tt-form/src/use-form-context.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form/src/use-form-v2.d.ts +19 -0
- package/dist/packages/ui/src/components/tt-form/src/use-form-v2.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.d.ts +86 -0
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.vue.d.ts +53 -0
- package/dist/packages/ui/src/components/tt-form-item-error-tooltip/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-icon/index.d.ts +77 -0
- package/dist/packages/ui/src/components/tt-icon/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-icon/index.vue.d.ts +33 -0
- package/dist/packages/ui/src/components/tt-icon/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/index.d.ts +1809 -0
- package/dist/packages/ui/src/components/tt-modal/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/RenderModal.vue.d.ts +1009 -0
- package/dist/packages/ui/src/components/tt-modal/src/RenderModal.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalFooter.vue.d.ts +211 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalFooter.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalHeader.vue.d.ts +32 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalHeader.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalWrapper.vue.d.ts +225 -0
- package/dist/packages/ui/src/components/tt-modal/src/components/ModalWrapper.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/hooks/useModalRender.d.ts +109 -0
- package/dist/packages/ui/src/components/tt-modal/src/hooks/useModalRender.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/index.d.ts +7 -0
- package/dist/packages/ui/src/components/tt-modal/src/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/props.d.ts +162 -0
- package/dist/packages/ui/src/components/tt-modal/src/props.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/typing.d.ts +189 -0
- package/dist/packages/ui/src/components/tt-modal/src/typing.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-modal/src/utils/modal-api.d.ts +98 -0
- package/dist/packages/ui/src/components/tt-modal/src/utils/modal-api.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part/index.d.ts +399 -0
- package/dist/packages/ui/src/components/tt-part/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part/index.vue.d.ts +254 -0
- package/dist/packages/ui/src/components/tt-part/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part/type.d.ts +101 -0
- package/dist/packages/ui/src/components/tt-part/type.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part-item/index.d.ts +106 -0
- package/dist/packages/ui/src/components/tt-part-item/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part-item/index.vue.d.ts +72 -0
- package/dist/packages/ui/src/components/tt-part-item/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-part-item/type.d.ts +82 -0
- package/dist/packages/ui/src/components/tt-part-item/type.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/index.d.ts +9 -0
- package/dist/packages/ui/src/components/tt-select/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/components/SelectTable.vue.d.ts +112 -0
- package/dist/packages/ui/src/components/tt-select/src/components/SelectTable.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/components/Table.vue.d.ts +251 -0
- package/dist/packages/ui/src/components/tt-select/src/components/Table.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/const.d.ts +17 -0
- package/dist/packages/ui/src/components/tt-select/src/const.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useDataSource.d.ts +116 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useGrid.d.ts +33 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useGrid.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useKeyboard.d.ts +60 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useKeyboard.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/usePagination.d.ts +17 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/usePagination.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelect.d.ts +88 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelect.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelectTableEvent.d.ts +179 -0
- package/dist/packages/ui/src/components/tt-select/src/hooks/useSelectTableEvent.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/props.d.ts +191 -0
- package/dist/packages/ui/src/components/tt-select/src/props.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/types/index.d.ts +143 -0
- package/dist/packages/ui/src/components/tt-select/src/types/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-select/src/utils/index.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-select/src/utils/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-text/index.d.ts +77 -0
- package/dist/packages/ui/src/components/tt-text/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-text/index.vue.d.ts +51 -0
- package/dist/packages/ui/src/components/tt-text/index.vue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/index.d.ts +2 -0
- package/dist/packages/ui/src/components/tt-validate/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/ErrorMessage.d.ts +62 -0
- package/dist/packages/ui/src/components/tt-validate/src/ErrorMessage.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/Field.d.ts +431 -0
- package/dist/packages/ui/src/components/tt-validate/src/Field.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/FieldArray.d.ts +48 -0
- package/dist/packages/ui/src/components/tt-validate/src/FieldArray.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/Form.d.ts +272 -0
- package/dist/packages/ui/src/components/tt-validate/src/Form.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/config.d.ts +15 -0
- package/dist/packages/ui/src/components/tt-validate/src/config.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/defineRule.d.ts +10 -0
- package/dist/packages/ui/src/components/tt-validate/src/defineRule.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/index.d.ts +37 -0
- package/dist/packages/ui/src/components/tt-validate/src/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/symbols.d.ts +7 -0
- package/dist/packages/ui/src/components/tt-validate/src/symbols.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/common.d.ts +12 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/common.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/forms.d.ts +281 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/forms.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/index.d.ts +4 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/paths.d.ts +143 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/paths.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/shared.d.ts +20 -0
- package/dist/packages/ui/src/components/tt-validate/src/types/shared.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useField.d.ts +31 -0
- package/dist/packages/ui/src/components/tt-validate/src/useField.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldArray.d.ts +4 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldArray.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldError.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldError.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldState.d.ts +48 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldState.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldValue.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFieldValue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useForm.d.ts +24 -0
- package/dist/packages/ui/src/components/tt-validate/src/useForm.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFormErrors.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFormErrors.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFormValues.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useFormValues.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldDirty.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldDirty.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldTouched.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldTouched.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldValid.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFieldValid.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormDirty.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormDirty.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormTouched.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormTouched.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormValid.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsFormValid.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsSubmitting.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsSubmitting.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsValidating.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useIsValidating.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useResetForm.d.ts +3 -0
- package/dist/packages/ui/src/components/tt-validate/src/useResetForm.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldError.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldError.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldTouched.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldTouched.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldValue.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFieldValue.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormErrors.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormErrors.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormTouched.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormTouched.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormValues.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSetFormValues.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitCount.d.ts +5 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitCount.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitForm.d.ts +3 -0
- package/dist/packages/ui/src/components/tt-validate/src/useSubmitForm.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useValidateField.d.ts +7 -0
- package/dist/packages/ui/src/components/tt-validate/src/useValidateField.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/useValidateForm.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/useValidateForm.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/assertions.d.ts +55 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/assertions.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/common.d.ts +49 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/common.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/events.d.ts +2 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/events.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/index.d.ts +6 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/rules.d.ts +14 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/rules.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/shared.d.ts +20 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/shared.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/vnode.d.ts +23 -0
- package/dist/packages/ui/src/components/tt-validate/src/utils/vnode.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/src/validate.d.ts +22 -0
- package/dist/packages/ui/src/components/tt-validate/src/validate.d.ts.map +1 -0
- package/dist/packages/ui/src/components/tt-validate/zod/index.d.ts +2 -0
- package/dist/packages/ui/src/components/tt-validate/zod/index.d.ts.map +1 -0
- package/dist/packages/ui/src/components/types.d.ts +4 -0
- package/dist/packages/ui/src/components/types.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/auto-tip/index.d.ts +4 -0
- package/dist/packages/ui/src/directives/auto-tip/index.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/index.d.ts +26 -0
- package/dist/packages/ui/src/directives/dialog-resize/index.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-css-variable.d.ts +2 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-css-variable.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-draggable.d.ts +5 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-draggable.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-fullscreen.d.ts +2 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-fullscreen.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-parse-translate.d.ts +5 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-parse-translate.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-resizer.d.ts +3 -0
- package/dist/packages/ui/src/directives/dialog-resize/use-resizer.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/disabled-tip/index.d.ts +18 -0
- package/dist/packages/ui/src/directives/disabled-tip/index.d.ts.map +1 -0
- package/dist/packages/ui/src/directives/index.d.ts +4 -0
- package/dist/packages/ui/src/directives/index.d.ts.map +1 -0
- package/dist/packages/ui/src/hooks/useLoading.d.ts +10 -0
- package/dist/packages/ui/src/hooks/useLoading.d.ts.map +1 -0
- package/dist/packages/ui/src/hooks/useTable.d.ts +6 -0
- package/dist/packages/ui/src/hooks/useTable.d.ts.map +1 -0
- package/dist/packages/ui/src/index.d.ts +30 -0
- package/dist/packages/ui/src/index.d.ts.map +1 -0
- package/dist/packages/ui/vite.config.d.ts +3 -0
- package/dist/packages/ui/vite.config.d.ts.map +1 -0
- package/dist/packages/utils/__test__/math.test.d.ts +2 -0
- package/dist/packages/utils/__test__/math.test.d.ts.map +1 -0
- package/dist/packages/utils/__test__/string.test.d.ts +2 -0
- package/dist/packages/utils/__test__/string.test.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/error.d.ts +63 -0
- package/dist/packages/utils/src/axios/error.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/index.d.ts +4 -0
- package/dist/packages/utils/src/axios/index.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/loadinSvg.d.ts +2 -0
- package/dist/packages/utils/src/axios/loadinSvg.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/loading.d.ts +12 -0
- package/dist/packages/utils/src/axios/loading.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/status.d.ts +38 -0
- package/dist/packages/utils/src/axios/status.d.ts.map +1 -0
- package/dist/packages/utils/src/axios/type.d.ts +24 -0
- package/dist/packages/utils/src/axios/type.d.ts.map +1 -0
- package/dist/packages/utils/src/calc.d.ts +58 -0
- package/dist/packages/utils/src/calc.d.ts.map +1 -0
- package/dist/packages/utils/src/file.d.ts +13 -0
- package/dist/packages/utils/src/file.d.ts.map +1 -0
- package/dist/packages/utils/src/index.d.ts +12 -0
- package/dist/packages/utils/src/index.d.ts.map +1 -0
- package/dist/packages/utils/src/install.d.ts +4 -0
- package/dist/packages/utils/src/install.d.ts.map +1 -0
- package/dist/packages/utils/src/is.d.ts +238 -0
- package/dist/packages/utils/src/is.d.ts.map +1 -0
- package/dist/packages/utils/src/merge.d.ts +17 -0
- package/dist/packages/utils/src/merge.d.ts.map +1 -0
- package/dist/packages/utils/src/stateHandler.d.ts +22 -0
- package/dist/packages/utils/src/stateHandler.d.ts.map +1 -0
- package/dist/packages/utils/src/string.d.ts +4 -0
- package/dist/packages/utils/src/string.d.ts.map +1 -0
- package/dist/packages/utils/src/testid-helper.d.ts +151 -0
- package/dist/packages/utils/src/testid-helper.d.ts.map +1 -0
- package/dist/packages/utils/src/tool.d.ts +92 -0
- package/dist/packages/utils/src/tool.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/package.json +4 -1
- package/dist/index.esm.js +0 -30405
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-button/index.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,GAAG,CAAC;AAGzC,OAAO,EAAE,KAAK,WAAW,EAAY,MAAM,cAAc,CAAC;AAmD1D,iBAAS,cAAc;WAkET,OAAO,IAA6B;;iBAvGvC,MAAM,UAAU;;iBAAhB,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAuJm6gB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3CnjhB;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAtIiC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Jk4gB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA/J9/gB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Jk4gB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAfljhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const TtCheckbox: import('../../../../utils/src').SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').TtCheckboxProp> & Readonly<{
|
|
3
|
+
onChange?: ((val: import('element-plus').CheckboxValueType, oldVal: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
4
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
change: (val: import('element-plus').CheckboxValueType, oldVal: import('element-plus').CheckboxValueType) => any;
|
|
7
|
+
"update:modelValue": (val: import('element-plus').CheckboxValueType) => any;
|
|
8
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<import('./type').TtCheckboxProp> & Readonly<{
|
|
16
|
+
onChange?: ((val: import('element-plus').CheckboxValueType, oldVal: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, {}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./type').TtCheckboxProp> & Readonly<{
|
|
23
|
+
onChange?: ((val: import('element-plus').CheckboxValueType, oldVal: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
change: (val: import('element-plus').CheckboxValueType, oldVal: import('element-plus').CheckboxValueType) => any;
|
|
27
|
+
"update:modelValue": (val: import('element-plus').CheckboxValueType) => any;
|
|
28
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
29
|
+
$slots: Readonly<{
|
|
30
|
+
[slotName: string]: () => import('vue').VNode;
|
|
31
|
+
}> & {
|
|
32
|
+
[slotName: string]: () => import('vue').VNode;
|
|
33
|
+
};
|
|
34
|
+
})> & Record<string, any>;
|
|
35
|
+
export default TtCheckbox;
|
|
36
|
+
export type TtCheckboxInstance = InstanceType<typeof TtCheckbox>;
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-checkbox/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAuC,CAAA;AAC9D,eAAe,UAAU,CAAA;AACzB,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TtCheckboxProp } from './type';
|
|
2
|
+
import { CheckboxValueType } from 'element-plus';
|
|
3
|
+
import { VNode } from 'vue';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<{
|
|
7
|
+
[slotName: string]: () => VNode;
|
|
8
|
+
}> & {
|
|
9
|
+
[slotName: string]: () => VNode;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<TtCheckboxProp, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (val: CheckboxValueType, oldVal: CheckboxValueType) => any;
|
|
17
|
+
"update:modelValue": (val: CheckboxValueType) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<TtCheckboxProp> & Readonly<{
|
|
19
|
+
onChange?: ((val: CheckboxValueType, oldVal: CheckboxValueType) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-checkbox/index.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAG7C,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,cAAc,CAAC;AAE/E,OAAO,EAA2B,KAAK,EAAS,MAAM,KAAK,CAAC;AAiF5D,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;kCAjHtB,KAAK;;kCAAL,KAAK;;;;EAsHhC;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TipConfig } from '../../directives/disabled-tip';
|
|
2
|
+
import { CheckboxProps, CheckboxValueType } from 'element-plus';
|
|
3
|
+
export type TtCheckboxProp = Partial<CheckboxProps> & {
|
|
4
|
+
/** modelValue */
|
|
5
|
+
modelValue?: CheckboxValueType;
|
|
6
|
+
/** 选中前置钩子 */
|
|
7
|
+
beforeChange?: (val?: CheckboxValueType, oldVal?: CheckboxValueType) => Promise<boolean>;
|
|
8
|
+
disabledTip?: Array<TipConfig> | TipConfig;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-checkbox/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEpE,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IACpD,iBAAiB;IACjB,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,aAAa;IACb,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACxF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;CAC3C,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Slot, SlotsType } from 'vue';
|
|
2
|
+
export declare const TtEmpty: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
readonly image: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4
|
+
readonly imageSize: NumberConstructor;
|
|
5
|
+
readonly description: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
readonly image: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8
|
+
readonly imageSize: NumberConstructor;
|
|
9
|
+
readonly description: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
|
+
}>> & Readonly<{}>, {
|
|
11
|
+
readonly image: string;
|
|
12
|
+
readonly description: string;
|
|
13
|
+
}, SlotsType<{
|
|
14
|
+
default?: () => Slot | undefined;
|
|
15
|
+
image?: () => Slot | undefined;
|
|
16
|
+
description?: () => Slot | undefined;
|
|
17
|
+
}>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
18
|
+
export default TtEmpty;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-empty/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAS,SAAS,EAAE,MAAM,KAAK,CAAC;AAOlD,eAAO,MAAM,OAAO;;;;;;;;;;;;cAKJ,MAAM,IAAI,GAAG,SAAS;YACxB,MAAM,IAAI,GAAG,SAAS;kBAChB,MAAM,IAAI,GAAG,SAAS;gGA8BzC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { BaseFormComponentMap, BaseFormComponentType, ExtendedFormApi, FormRenderProps, FormSchemaV2, InferredComponentPropsType, SjzyFormPropsV2 } from './src/types/types';
|
|
3
|
+
import { compareObjects as sjzyCompareDiff } from './src/compare';
|
|
4
|
+
import { COMPONENT_MAP } from './src/config';
|
|
5
|
+
import { useForm } from './src/use-form-v2';
|
|
6
|
+
declare function setConfig(rules?: Record<string, (value: any, params: any, ctx: Record<string, any>) => boolean | string>, modelPropNameMap?: Partial<Record<BaseFormComponentType, string>>, selectComponent?: BaseFormComponentType[], inputComponent?: BaseFormComponentType[]): void;
|
|
7
|
+
declare function addComponent(component?: Partial<Record<BaseFormComponentType, Component>>): void;
|
|
8
|
+
export { addComponent, setConfig, sjzyCompareDiff };
|
|
9
|
+
export { COMPONENT_MAP, useForm };
|
|
10
|
+
type SjzyFormSchemaV2 = FormSchemaV2<BaseFormComponentType>;
|
|
11
|
+
type SjzyFormRenderProps = FormRenderProps<BaseFormComponentType>;
|
|
12
|
+
type SjzyFormExtendedFormApi = ExtendedFormApi;
|
|
13
|
+
export type { BaseFormComponentMap, BaseFormComponentType, InferredComponentPropsType, SjzyFormExtendedFormApi, SjzyFormPropsV2, SjzyFormRenderProps, SjzyFormSchemaV2 };
|
|
14
|
+
export * as z from 'zod';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tt-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,0BAA0B,EAC1B,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,iBAAS,SAAS,CAChB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,GAAG,MAAM,CAAC,EAC/F,gBAAgB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,EACjE,eAAe,CAAC,EAAE,qBAAqB,EAAE,EACzC,cAAc,CAAC,EAAE,qBAAqB,EAAE,QA8BzC;AAED,iBAAS,YAAY,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,QAGlF;AAED,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC;AAClC,KAAK,gBAAgB,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAC;AAC5D,KAAK,mBAAmB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AAClE,KAAK,uBAAuB,GAAG,eAAe,CAAC;AAE/C,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EACjB,CAAC;AAEF,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 对比两个对象的差异,返回差异的字段和值
|
|
3
|
+
* @param o - 原始对象
|
|
4
|
+
* @param n - 新对象
|
|
5
|
+
* @param option - 可选参数,包含排除的字段,排除字段不参与对比 e.g { excludeAll: [], exclude: [], xxx: { exclude: [] } }
|
|
6
|
+
* @param option.excludeAll - 全局排除的字段,所有对比都会排除这些字段
|
|
7
|
+
* @param option.exclude - 局部排除的字段,只有当前对比会排除这些字段
|
|
8
|
+
* @returns 差异的字段和值
|
|
9
|
+
*/
|
|
10
|
+
export declare function compareObjects(o: Record<string, any>, n: Record<string, any>, option?: {
|
|
11
|
+
excludeAll?: string[];
|
|
12
|
+
exclude?: string[];
|
|
13
|
+
[k: string]: any;
|
|
14
|
+
}): Record<string, any>;
|
|
15
|
+
//# sourceMappingURL=compare.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/tt-form/src/compare.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wBAAgB,cAAc,CAC5B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtB,MAAM,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GACvE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAmDrB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 自定义样式 */
|
|
3
|
+
class?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_defaults: {
|
|
6
|
+
modelValue: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: Readonly<{
|
|
14
|
+
default: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
}> & {
|
|
17
|
+
default: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: boolean) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=ExpandableArrow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableArrow.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/components/ExpandableArrow.vue"],"names":[],"mappings":"AAqCA,KAAK,WAAW,GAAG;IACjB,YAAY;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAUF,QAAA,MAAM,cAAc;;CAEnB,CAAC;AACF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;CAChD,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;iBAjEvC,MAAM;cACT,MAAM;;iBADH,MAAM;cACT,MAAM;;;;EAqEb;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare function handleSubmit(e: Event): Promise<void>;
|
|
2
|
+
declare function handleReset(e: Event): Promise<void>;
|
|
3
|
+
declare const __VLS_defaults: {
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: Readonly<{
|
|
12
|
+
"expand-after": (slotProps: Record<string, any>) => void;
|
|
13
|
+
"expand-before": (slotProps: Record<string, any>) => void;
|
|
14
|
+
"submit-before": (slotProps: Record<string, any>) => void;
|
|
15
|
+
"reset-before": (slotProps: Record<string, any>) => void;
|
|
16
|
+
}> & {
|
|
17
|
+
"expand-after": (slotProps: Record<string, any>) => void;
|
|
18
|
+
"expand-before": (slotProps: Record<string, any>) => void;
|
|
19
|
+
"submit-before": (slotProps: Record<string, any>) => void;
|
|
20
|
+
"reset-before": (slotProps: Record<string, any>) => void;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
27
|
+
handleReset: typeof handleReset;
|
|
28
|
+
handleSubmit: typeof handleSubmit;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (value: boolean) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=FormActions.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormActions.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/components/FormActions.vue"],"names":[],"mappings":"AA4XA,iBAAe,YAAY,CAAC,CAAC,EAAE,KAAK,iBAWnC;AAED,iBAAe,WAAW,CAAC,CAAC,EAAE,KAAK,iBAUlC;AAiCD,QAAA,MAAM,cAAc;;CAEnB,CAAC;AACF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;CAChD,CAAC;AAKF,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;wBAlThC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;yBACvC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;yBACxC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;wBACzC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;;wBAHxC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;yBACvC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;yBACxC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;wBACzC,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI;;;;EAoTzD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;6FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function handleFilter({ config, isExpant }: {
|
|
2
|
+
config?: {
|
|
3
|
+
active: string[];
|
|
4
|
+
model: any;
|
|
5
|
+
};
|
|
6
|
+
/** 是否展开条件 */
|
|
7
|
+
isExpant: boolean;
|
|
8
|
+
}): void;
|
|
9
|
+
declare function init(): void;
|
|
10
|
+
declare function submitActive(field: string): void;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
12
|
+
submitActive: typeof submitActive;
|
|
13
|
+
handleFilter: typeof handleFilter;
|
|
14
|
+
init: typeof init;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"filter-submit": (data: string[], isExpant: boolean) => any;
|
|
17
|
+
"remember-change": (bool: boolean, data: string[]) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
19
|
+
"onFilter-submit"?: ((data: string[], isExpant: boolean) => any) | undefined;
|
|
20
|
+
"onRemember-change"?: ((bool: boolean, data: string[]) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=FormFilter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFilter.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/components/FormFilter.vue"],"names":[],"mappings":"AA8bA,iBAAS,YAAY,CAAC,EACpB,MAAM,EACN,QAAQ,EACT,EAAE;IACD,MAAM,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE,CAAC;IAC1C,aAAa;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB,QAqBA;AAgDD,iBAAS,IAAI,SAsBZ;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,QAGlC;;;;;;;;;;;;AAiRD,wBAQG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare function renderSlotFragments(children?: VNode[]): VNode[];
|
|
3
|
+
export declare const Slot: import('vue').DefineComponent<{}, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}> | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>[] | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
//# sourceMappingURL=Slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/components/Slot.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAE3C,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAO/D;AAED,eAAO,MAAM,IAAI;;;;oPAqCf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { BaseFormComponentType, FormCommonConfig, SjzyFormAdapterOptionsV2 } from './types/types';
|
|
3
|
+
export declare const DEFAULT_FORM_COMMON_CONFIG: FormCommonConfig;
|
|
4
|
+
export declare const COMPONENT_MAP: Record<BaseFormComponentType, Component>;
|
|
5
|
+
/**
|
|
6
|
+
* 全局组件绑定事件映射
|
|
7
|
+
*/
|
|
8
|
+
export declare const COMPONENT_BIND_EVENT_MAP: Partial<Record<BaseFormComponentType, string>>;
|
|
9
|
+
export declare function setupFormV2<T extends BaseFormComponentType = BaseFormComponentType>(options: SjzyFormAdapterOptionsV2<T>): void;
|
|
10
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/tt-form/src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAwBvG,eAAO,MAAM,0BAA0B,EAAE,gBAAqB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,qBAAqB,EAAE,SAAS,CAalE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAGnF,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,EACjF,OAAO,EAAE,wBAAwB,CAAC,CAAC,CAAC,QAyCrC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: Readonly<{
|
|
4
|
+
default: [];
|
|
5
|
+
}> & {
|
|
6
|
+
default: [];
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=FormControl.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormControl.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormControl.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;iBAjCvC,EAAE;;iBAAF,EAAE;;;;EAsCZ;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 类名 */
|
|
3
|
+
class?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: [];
|
|
9
|
+
}> & {
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLSpanElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=FormDescription.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormDescription.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormDescription.vue"],"names":[],"mappings":"AA2BA,KAAK,WAAW,GAAG;IACjB,SAAS;IACT,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;AASF,iBAAS,cAAc;WAqBT,OAAO,IAA6B;;iBA3BvC,EAAE;;iBAAF,EAAE;;;;EAgCZ;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,8SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 类名 */
|
|
3
|
+
class?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: [];
|
|
9
|
+
}> & {
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=FormItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormItem.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormItem.vue"],"names":[],"mappings":"AA2BA,KAAK,WAAW,GAAG;IACjB,SAAS;IACT,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;AAUF,iBAAS,cAAc;WAoBT,OAAO,IAA6B;;iBA3BvC,EAAE;;iBAAF,EAAE;;;;EAgCZ;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 类名 */
|
|
3
|
+
class?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: [];
|
|
9
|
+
}> & {
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLLabelElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=FormLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLabel.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormLabel.vue"],"names":[],"mappings":"AAyBA,KAAK,WAAW,GAAG;IACjB,SAAS;IACT,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;AASF,iBAAS,cAAc;WAoBT,OAAO,IAA6B;;iBA1BvC,EAAE;;iBAAF,EAAE;;;;EA+BZ;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* 表单消息组件的 DOM 元素引用
|
|
4
|
+
*/
|
|
5
|
+
refDom?: HTMLDivElement;
|
|
6
|
+
/**
|
|
7
|
+
* 表单消息组件的 DOM 元素引用
|
|
8
|
+
*/
|
|
9
|
+
errorFlag?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* 展示方向 'top' | 'right' | 'bottom' | 'left'
|
|
12
|
+
*/
|
|
13
|
+
toolTipErrorPlacement?: 'top' | 'right' | 'bottom' | 'left';
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=FormMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormMessage.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;CAC5D,CAAC;;AAyEF,wBAOG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CustomRenderType } from '../types/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* 表单消息组件的 DOM 元素引用
|
|
5
|
+
*/
|
|
6
|
+
refDom?: HTMLDivElement;
|
|
7
|
+
/**
|
|
8
|
+
* 警告提示标志
|
|
9
|
+
*/
|
|
10
|
+
warningFlag?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 警告信息
|
|
13
|
+
*/
|
|
14
|
+
warningMessage?: CustomRenderType;
|
|
15
|
+
/**
|
|
16
|
+
* 展示方向 'top' | 'right' | 'bottom' | 'left'
|
|
17
|
+
*/
|
|
18
|
+
toolTipWarnPlacement?: "top" | "right" | "bottom" | "left";
|
|
19
|
+
/**
|
|
20
|
+
* 传递给渲染内容的值
|
|
21
|
+
*/
|
|
22
|
+
values?: Record<string, any>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=FormWarnMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormWarnMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/FormWarnMessage.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AASvD,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;AAsJF,wBAOG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* The content to render.
|
|
5
|
+
*/
|
|
6
|
+
content: {
|
|
7
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
8
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
9
|
+
};
|
|
10
|
+
}>, () => string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* The content to render.
|
|
15
|
+
*/
|
|
16
|
+
content: {
|
|
17
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
18
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
content: string | Function | Record<string, any>;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=RenderContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderContent.vue.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/RenderContent.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;IAO3C;;OAEG;;iBAEqB,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,GAAG,SAAS;;;;;;IAJ9E;;OAEG;;iBAEqB,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,GAAG,SAAS;;;;;;AAPlF,wBA8BG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as FormControl } from './FormControl.vue';
|
|
2
|
+
export { default as FormDescription } from './FormDescription.vue';
|
|
3
|
+
export { default as FormItem } from './FormItem.vue';
|
|
4
|
+
export { default as FormLabel } from './FormLabel.vue';
|
|
5
|
+
export { default as FormMessage } from './FormMessage.vue';
|
|
6
|
+
export { default as FormWarnMessage } from './FormWarnMessage.vue';
|
|
7
|
+
export { FORM_ITEM_INJECTION_KEY } from './injectionKeys';
|
|
8
|
+
export { default as RenderContent } from './RenderContent.vue';
|
|
9
|
+
export { Field as FormField, FieldArray as FormFieldArray, Form } from '../../../tt-validate';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,UAAU,IAAI,cAAc,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectionKeys.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/injectionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,eAAO,MAAM,uBAAuB,EAAqC,YAAY,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function useFormField(): {
|
|
2
|
+
error: import('vue').ComputedRef<string | undefined>;
|
|
3
|
+
isDirty: import('vue').ComputedRef<boolean>;
|
|
4
|
+
isTouched: import('vue').ComputedRef<boolean>;
|
|
5
|
+
valid: import('vue').ComputedRef<boolean>;
|
|
6
|
+
formDescriptionId: string;
|
|
7
|
+
formItemId: string;
|
|
8
|
+
formMessageId: string;
|
|
9
|
+
id: string | undefined;
|
|
10
|
+
name: import('vue').MaybeRef<string>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useFormField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormField.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/tt-form/src/form/useFormField.ts"],"names":[],"mappings":"AAYA,wBAAgB,YAAY;;;;;;;;;;EAwB3B"}
|