@dazhicheng/ui 1.5.4 → 1.5.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.
Files changed (219) hide show
  1. package/dist/index.js +1423 -1414
  2. package/dist/style.css +1 -1
  3. package/package.json +3 -3
  4. package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
  5. package/dist/components/tt-area/index.d.ts +0 -1
  6. package/dist/components/tt-button/index.d.ts +0 -1739
  7. package/dist/components/tt-button/index.vue.d.ts +0 -1004
  8. package/dist/components/tt-checkbox/index.d.ts +0 -36
  9. package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
  10. package/dist/components/tt-checkbox/type.d.ts +0 -9
  11. package/dist/components/tt-drawer/index.d.ts +0 -3703
  12. package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +0 -2121
  13. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +0 -94
  14. package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +0 -27
  15. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +0 -10
  16. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +0 -9
  17. package/dist/components/tt-drawer/src/index.d.ts +0 -10
  18. package/dist/components/tt-drawer/src/props.d.ts +0 -99
  19. package/dist/components/tt-drawer/src/typing.d.ts +0 -154
  20. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +0 -87
  21. package/dist/components/tt-empty/index.d.ts +0 -18
  22. package/dist/components/tt-form/index.d.ts +0 -13
  23. package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts +0 -33
  24. package/dist/components/tt-form/src/components/FormActions.vue.d.ts +0 -34
  25. package/dist/components/tt-form/src/components/Slot.d.ts +0 -7
  26. package/dist/components/tt-form/src/config.d.ts +0 -6
  27. package/dist/components/tt-form/src/form/FormControl.vue.d.ts +0 -19
  28. package/dist/components/tt-form/src/form/FormDescription.vue.d.ts +0 -23
  29. package/dist/components/tt-form/src/form/FormItem.vue.d.ts +0 -23
  30. package/dist/components/tt-form/src/form/FormLabel.vue.d.ts +0 -23
  31. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
  32. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
  33. package/dist/components/tt-form/src/form/FormWarnMessage.vue.d.ts +0 -25
  34. package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +0 -23
  35. package/dist/components/tt-form/src/form/index.d.ts +0 -10
  36. package/dist/components/tt-form/src/form/injectionKeys.d.ts +0 -2
  37. package/dist/components/tt-form/src/form/useFormField.d.ts +0 -11
  38. package/dist/components/tt-form/src/form-render/FormField.vue.d.ts +0 -28
  39. package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +0 -27
  40. package/dist/components/tt-form/src/form-render/context.d.ts +0 -7
  41. package/dist/components/tt-form/src/form-render/dependencies.d.ts +0 -361
  42. package/dist/components/tt-form/src/form-render/expandable.d.ts +0 -9
  43. package/dist/components/tt-form/src/form-render/form.vue.d.ts +0 -38
  44. package/dist/components/tt-form/src/form-render/helper.d.ts +0 -11
  45. package/dist/components/tt-form/src/form-render/index.d.ts +0 -3
  46. package/dist/components/tt-form/src/formApi.d.ts +0 -71
  47. package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts +0 -7
  48. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +0 -14
  49. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +0 -14
  50. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +0 -7
  51. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +0 -8
  52. package/dist/components/tt-form/src/index.vue.d.ts +0 -27
  53. package/dist/components/tt-form/src/shared/createContext.d.ts +0 -8
  54. package/dist/components/tt-form/src/shared/global-state.d.ts +0 -17
  55. package/dist/components/tt-form/src/shared/store.d.ts +0 -1
  56. package/dist/components/tt-form/src/shared/zod-defaults.d.ts +0 -54
  57. package/dist/components/tt-form/src/types/common.d.ts +0 -11
  58. package/dist/components/tt-form/src/types/forms.d.ts +0 -280
  59. package/dist/components/tt-form/src/types/index.d.ts +0 -3
  60. package/dist/components/tt-form/src/types/paths.d.ts +0 -142
  61. package/dist/components/tt-form/src/types/shared.d.ts +0 -19
  62. package/dist/components/tt-form/src/types.d.ts +0 -383
  63. package/dist/components/tt-form/src/useForm.d.ts +0 -2
  64. package/dist/components/tt-form/src/useFormContext.d.ts +0 -12
  65. package/dist/components/tt-form-adapter/component/index.d.ts +0 -13
  66. package/dist/components/tt-form-adapter/index.d.ts +0 -36
  67. package/dist/components/tt-form-item-error-tooltip/index.d.ts +0 -1549
  68. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -784
  69. package/dist/components/tt-icon/index.d.ts +0 -76
  70. package/dist/components/tt-icon/index.vue.d.ts +0 -32
  71. package/dist/components/tt-image/index.d.ts +0 -127
  72. package/dist/components/tt-image/src/components/ImageViewer.d.ts +0 -89
  73. package/dist/components/tt-image/tt-image.d.ts +0 -126
  74. package/dist/components/tt-loading/index.d.ts +0 -16
  75. package/dist/components/tt-loading/src/directive.d.ts +0 -9
  76. package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
  77. package/dist/components/tt-loading/src/service.d.ts +0 -25
  78. package/dist/components/tt-loading/src/type.d.ts +0 -20
  79. package/dist/components/tt-modal/index.d.ts +0 -1809
  80. package/dist/components/tt-modal/src/RenderModal.vue.d.ts +0 -1008
  81. package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +0 -210
  82. package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts +0 -31
  83. package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +0 -224
  84. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +0 -110
  85. package/dist/components/tt-modal/src/index.d.ts +0 -5
  86. package/dist/components/tt-modal/src/props.d.ts +0 -161
  87. package/dist/components/tt-modal/src/typing.d.ts +0 -188
  88. package/dist/components/tt-modal/src/utils/modal-api.d.ts +0 -97
  89. package/dist/components/tt-part/index.d.ts +0 -398
  90. package/dist/components/tt-part/index.vue.d.ts +0 -253
  91. package/dist/components/tt-part/type.d.ts +0 -100
  92. package/dist/components/tt-part-item/index.d.ts +0 -105
  93. package/dist/components/tt-part-item/index.vue.d.ts +0 -71
  94. package/dist/components/tt-part-item/type.d.ts +0 -81
  95. package/dist/components/tt-select/index.d.ts +0 -7
  96. package/dist/components/tt-select/src/Select.vue.d.ts +0 -861
  97. package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +0 -111
  98. package/dist/components/tt-select/src/components/Table.vue.d.ts +0 -250
  99. package/dist/components/tt-select/src/const.d.ts +0 -16
  100. package/dist/components/tt-select/src/hooks/useDataSource.d.ts +0 -115
  101. package/dist/components/tt-select/src/hooks/useGrid.d.ts +0 -32
  102. package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +0 -59
  103. package/dist/components/tt-select/src/hooks/usePagination.d.ts +0 -16
  104. package/dist/components/tt-select/src/hooks/useSelect.d.ts +0 -87
  105. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +0 -178
  106. package/dist/components/tt-select/src/props.d.ts +0 -190
  107. package/dist/components/tt-select/src/types/index.d.ts +0 -142
  108. package/dist/components/tt-select/src/utils/index.d.ts +0 -9
  109. package/dist/components/tt-table/index.d.ts +0 -127
  110. package/dist/components/tt-table/src/Table.vue.d.ts +0 -1691
  111. package/dist/components/tt-table/src/componentMap.d.ts +0 -8
  112. package/dist/components/tt-table/src/components/RowContext.d.ts +0 -24
  113. package/dist/components/tt-table/src/components/TableAction.vue.d.ts +0 -79
  114. package/dist/components/tt-table/src/components/TableButtons.d.ts +0 -30
  115. package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +0 -26
  116. package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +0 -1537
  117. package/dist/components/tt-table/src/emits.d.ts +0 -1
  118. package/dist/components/tt-table/src/enum.d.ts +0 -2
  119. package/dist/components/tt-table/src/hooks/useCache.d.ts +0 -20
  120. package/dist/components/tt-table/src/hooks/useCellArea.d.ts +0 -15
  121. package/dist/components/tt-table/src/hooks/useColumns.d.ts +0 -27
  122. package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +0 -20
  123. package/dist/components/tt-table/src/hooks/useDataSource.d.ts +0 -29
  124. package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +0 -1082
  125. package/dist/components/tt-table/src/hooks/usePagination.d.ts +0 -102
  126. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +0 -30
  127. package/dist/components/tt-table/src/hooks/useTable.d.ts +0 -7
  128. package/dist/components/tt-table/src/hooks/useTableContext.d.ts +0 -43
  129. package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +0 -101
  130. package/dist/components/tt-table/src/hooks/useTableForm.d.ts +0 -15
  131. package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +0 -10
  132. package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +0 -15
  133. package/dist/components/tt-table/src/hooks/useTableRender.d.ts +0 -93
  134. package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +0 -11
  135. package/dist/components/tt-table/src/props.d.ts +0 -436
  136. package/dist/components/tt-table/src/toolProps.d.ts +0 -23
  137. package/dist/components/tt-table/src/types/table.d.ts +0 -489
  138. package/dist/components/tt-table/src/types/tableAction.d.ts +0 -26
  139. package/dist/components/tt-table/src/types/tableForm.d.ts +0 -64
  140. package/dist/components/tt-table/src/types/tableTools.d.ts +0 -10
  141. package/dist/components/tt-table/src/utils/context.d.ts +0 -18
  142. package/dist/components/tt-table/src/utils/filters.d.ts +0 -109
  143. package/dist/components/tt-table/src/utils/table-api.d.ts +0 -250
  144. package/dist/components/tt-table/src/utils/table-form-api.d.ts +0 -88
  145. package/dist/components/tt-table/src/utils/vxeTable.d.ts +0 -28
  146. package/dist/components/tt-text/index.d.ts +0 -76
  147. package/dist/components/tt-text/index.vue.d.ts +0 -50
  148. package/dist/components/tt-tree-select/index.d.ts +0 -5
  149. package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +0 -6
  150. package/dist/components/tt-tree-select/src/cache-options.d.ts +0 -35
  151. package/dist/components/tt-tree-select/src/select.d.ts +0 -10
  152. package/dist/components/tt-tree-select/src/tree.d.ts +0 -23
  153. package/dist/components/tt-tree-select/src/utils.d.ts +0 -10
  154. package/dist/components/tt-validate/index.d.ts +0 -1
  155. package/dist/components/tt-validate/src/ErrorMessage.d.ts +0 -61
  156. package/dist/components/tt-validate/src/Field.d.ts +0 -430
  157. package/dist/components/tt-validate/src/FieldArray.d.ts +0 -47
  158. package/dist/components/tt-validate/src/Form.d.ts +0 -271
  159. package/dist/components/tt-validate/src/config.d.ts +0 -14
  160. package/dist/components/tt-validate/src/defineRule.d.ts +0 -9
  161. package/dist/components/tt-validate/src/index.d.ts +0 -36
  162. package/dist/components/tt-validate/src/symbols.d.ts +0 -6
  163. package/dist/components/tt-validate/src/types/common.d.ts +0 -11
  164. package/dist/components/tt-validate/src/types/forms.d.ts +0 -280
  165. package/dist/components/tt-validate/src/types/index.d.ts +0 -3
  166. package/dist/components/tt-validate/src/types/paths.d.ts +0 -142
  167. package/dist/components/tt-validate/src/types/shared.d.ts +0 -19
  168. package/dist/components/tt-validate/src/useField.d.ts +0 -30
  169. package/dist/components/tt-validate/src/useFieldArray.d.ts +0 -3
  170. package/dist/components/tt-validate/src/useFieldError.d.ts +0 -5
  171. package/dist/components/tt-validate/src/useFieldState.d.ts +0 -47
  172. package/dist/components/tt-validate/src/useFieldValue.d.ts +0 -5
  173. package/dist/components/tt-validate/src/useForm.d.ts +0 -23
  174. package/dist/components/tt-validate/src/useFormErrors.d.ts +0 -4
  175. package/dist/components/tt-validate/src/useFormValues.d.ts +0 -4
  176. package/dist/components/tt-validate/src/useIsFieldDirty.d.ts +0 -5
  177. package/dist/components/tt-validate/src/useIsFieldTouched.d.ts +0 -5
  178. package/dist/components/tt-validate/src/useIsFieldValid.d.ts +0 -5
  179. package/dist/components/tt-validate/src/useIsFormDirty.d.ts +0 -4
  180. package/dist/components/tt-validate/src/useIsFormTouched.d.ts +0 -4
  181. package/dist/components/tt-validate/src/useIsFormValid.d.ts +0 -4
  182. package/dist/components/tt-validate/src/useIsSubmitting.d.ts +0 -4
  183. package/dist/components/tt-validate/src/useIsValidating.d.ts +0 -4
  184. package/dist/components/tt-validate/src/useResetForm.d.ts +0 -2
  185. package/dist/components/tt-validate/src/useSetFieldError.d.ts +0 -5
  186. package/dist/components/tt-validate/src/useSetFieldTouched.d.ts +0 -5
  187. package/dist/components/tt-validate/src/useSetFieldValue.d.ts +0 -5
  188. package/dist/components/tt-validate/src/useSetFormErrors.d.ts +0 -4
  189. package/dist/components/tt-validate/src/useSetFormTouched.d.ts +0 -4
  190. package/dist/components/tt-validate/src/useSetFormValues.d.ts +0 -4
  191. package/dist/components/tt-validate/src/useSubmitCount.d.ts +0 -4
  192. package/dist/components/tt-validate/src/useSubmitForm.d.ts +0 -2
  193. package/dist/components/tt-validate/src/useValidateField.d.ts +0 -6
  194. package/dist/components/tt-validate/src/useValidateForm.d.ts +0 -5
  195. package/dist/components/tt-validate/src/utils/assertions.d.ts +0 -54
  196. package/dist/components/tt-validate/src/utils/common.d.ts +0 -48
  197. package/dist/components/tt-validate/src/utils/events.d.ts +0 -1
  198. package/dist/components/tt-validate/src/utils/index.d.ts +0 -5
  199. package/dist/components/tt-validate/src/utils/rules.d.ts +0 -13
  200. package/dist/components/tt-validate/src/utils/shared.d.ts +0 -19
  201. package/dist/components/tt-validate/src/utils/vnode.d.ts +0 -22
  202. package/dist/components/tt-validate/src/validate.d.ts +0 -21
  203. package/dist/components/tt-validate/zod/index.d.ts +0 -1
  204. package/dist/components/types.d.ts +0 -227
  205. package/dist/directives/auto-tip/index.d.ts +0 -3
  206. package/dist/directives/dialog-resize/index.d.ts +0 -25
  207. package/dist/directives/dialog-resize/use-css-variable.d.ts +0 -1
  208. package/dist/directives/dialog-resize/use-draggable.d.ts +0 -4
  209. package/dist/directives/dialog-resize/use-fullscreen.d.ts +0 -1
  210. package/dist/directives/dialog-resize/use-parse-translate.d.ts +0 -4
  211. package/dist/directives/dialog-resize/use-resizer.d.ts +0 -2
  212. package/dist/directives/disabled-tip/index.d.ts +0 -17
  213. package/dist/directives/index.d.ts +0 -3
  214. package/dist/hooks/useFormat.d.ts +0 -73
  215. package/dist/hooks/useLoading.d.ts +0 -9
  216. package/dist/hooks/useSetup.d.ts +0 -8
  217. package/dist/hooks/useTable.d.ts +0 -5
  218. package/dist/hooks/useTemplateSlot.d.ts +0 -9
  219. package/dist/index.d.ts +0 -46
@@ -1,23 +0,0 @@
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
- };
@@ -1,23 +0,0 @@
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
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,8 +0,0 @@
1
- type __VLS_Props = {
2
- /**
3
- * 表单消息组件的 DOM 元素引用
4
- */
5
- refDom?: HTMLDivElement | null;
6
- };
7
- 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>;
8
- export default _default;
@@ -1,25 +0,0 @@
1
- import { CustomRenderType } from '../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;
@@ -1,23 +0,0 @@
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: (StringConstructor | FunctionConstructor | ObjectConstructor)[];
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: (StringConstructor | FunctionConstructor | ObjectConstructor)[];
19
- };
20
- }>> & Readonly<{}>, {
21
- content: string | Function | Record<string, any>;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
- export default _default;
@@ -1,10 +0,0 @@
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 FormMessageToolTip } from './FormMessageToolTip.vue';
6
- export { default as FormMessage } from './FormMessage.vue';
7
- export { default as FormWarnMessage } from './FormWarnMessage.vue';
8
- export { default as RenderContent } from './RenderContent.vue';
9
- export { FORM_ITEM_INJECTION_KEY } from './injectionKeys';
10
- export { Form, Field as FormField, FieldArray as FormFieldArray } from 'vee-validate';
@@ -1,2 +0,0 @@
1
- import { InjectionKey } from 'vue';
2
- export declare const FORM_ITEM_INJECTION_KEY: InjectionKey<string>;
@@ -1,11 +0,0 @@
1
- export declare function useFormField(): {
2
- error: import('vue').ComputedRef<string>;
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
- };
@@ -1,28 +0,0 @@
1
- import { FormSchema, MaybeComponentProps } from '../types';
2
- type Props = FormSchema;
3
- type __VLS_Props = Props & {
4
- commonComponentProps: MaybeComponentProps;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: any): any;
10
- };
11
- refs: {
12
- wrapperRef: HTMLDivElement;
13
- fieldComponentRef: unknown;
14
- };
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- 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, {
19
- wrapperRef: HTMLDivElement;
20
- fieldComponentRef: unknown;
21
- }, 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
- };
@@ -1,27 +0,0 @@
1
- import { Recordable } from '../../../../../../utils/src';
2
- import { CustomRenderType } from '../types';
3
- import { TtTextProps } from '../../../tt-text';
4
- interface Props {
5
- /** 自定义 CSS 类名 */
6
- class?: string;
7
- /** 冒号 */
8
- colon?: boolean;
9
- /** 帮助信息文本 */
10
- help?: CustomRenderType;
11
- /** label */
12
- label?: CustomRenderType;
13
- /** 是否必填项,true 表示必填 */
14
- required?: boolean;
15
- /** 帮助信息触发器 */
16
- helpTrigger?: "hover" | "click" | "focus" | "contextmenu";
17
- /** 表单数据 */
18
- form: Recordable;
19
- /** label本身文字气泡设置 */
20
- toolTip?: TtTextProps;
21
- /** 非label文字气泡设置 */
22
- toolTipText?: CustomRenderType;
23
- }
24
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
25
- helpTrigger: "hover" | "click" | "focus" | "contextmenu";
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
- export default _default;
@@ -1,7 +0,0 @@
1
- import { FormRenderProps } from '../types';
2
- export declare const injectRenderFormProps: <T extends FormRenderProps<keyof import('../types').BaseFormComponentMap> | null | undefined = FormRenderProps<keyof import('../types').BaseFormComponentMap>>(fallback?: T | undefined) => T extends null ? FormRenderProps<keyof import('../types').BaseFormComponentMap> | null : FormRenderProps<keyof import('../types').BaseFormComponentMap>, provideFormRenderProps: (contextValue: FormRenderProps<keyof import('../types').BaseFormComponentMap>) => FormRenderProps<keyof import('../types').BaseFormComponentMap>;
3
- export declare const useFormContext: () => {
4
- componentBindEventMap: import('vue').ComputedRef<Partial<Record<keyof import('../types').BaseFormComponentMap, string>> | undefined>;
5
- componentMap: import('vue').ComputedRef<Record<keyof import('../types').BaseFormComponentMap, import('vue').Component>>;
6
- isVertical: import('vue').ComputedRef<boolean>;
7
- };
@@ -1,361 +0,0 @@
1
- import { FormItemDependencies, FormSchemaRuleType, MaybeComponentProps } from '../types';
2
- export default function useDependencies(getDependencies: () => FormItemDependencies | undefined): {
3
- dynamicComponentProps: import('vue').Ref<{
4
- [x: Record<never, never> & string]: any;
5
- id?: any;
6
- title?: any;
7
- style?: any;
8
- role?: any;
9
- onMouseenter?: any;
10
- onMouseleave?: any;
11
- onClick?: any;
12
- onKeydown?: any;
13
- onFocus?: any;
14
- onBlur?: any;
15
- onContextmenu?: any;
16
- class?: any;
17
- color?: any;
18
- onCopy?: any;
19
- onCut?: any;
20
- onPaste?: any;
21
- onCompositionend?: any;
22
- onCompositionstart?: any;
23
- onCompositionupdate?: any;
24
- onDrag?: any;
25
- onDragend?: any;
26
- onDragenter?: any;
27
- onDragexit?: any;
28
- onDragleave?: any;
29
- onDragover?: any;
30
- onDragstart?: any;
31
- onDrop?: any;
32
- onFocusin?: any;
33
- onFocusout?: any;
34
- onChange?: any;
35
- onBeforeinput?: any;
36
- onInput?: any;
37
- onReset?: any;
38
- onSubmit?: any;
39
- onInvalid?: any;
40
- onLoad?: any;
41
- onError?: any;
42
- onKeypress?: any;
43
- onKeyup?: any;
44
- onAuxclick?: any;
45
- onDblclick?: any;
46
- onMousedown?: any;
47
- onMousemove?: any;
48
- onMouseout?: any;
49
- onMouseover?: any;
50
- onMouseup?: any;
51
- onAbort?: any;
52
- onCanplay?: any;
53
- onCanplaythrough?: any;
54
- onDurationchange?: any;
55
- onEmptied?: any;
56
- onEncrypted?: any;
57
- onEnded?: any;
58
- onLoadeddata?: any;
59
- onLoadedmetadata?: any;
60
- onLoadstart?: any;
61
- onPause?: any;
62
- onPlay?: any;
63
- onPlaying?: any;
64
- onProgress?: any;
65
- onRatechange?: any;
66
- onSeeked?: any;
67
- onSeeking?: any;
68
- onStalled?: any;
69
- onSuspend?: any;
70
- onTimeupdate?: any;
71
- onVolumechange?: any;
72
- onWaiting?: any;
73
- onSelect?: any;
74
- onScroll?: any;
75
- onScrollend?: any;
76
- onTouchcancel?: any;
77
- onTouchend?: any;
78
- onTouchmove?: any;
79
- onTouchstart?: any;
80
- onPointerdown?: any;
81
- onPointermove?: any;
82
- onPointerup?: any;
83
- onPointercancel?: any;
84
- onPointerenter?: any;
85
- onPointerleave?: any;
86
- onPointerover?: any;
87
- onPointerout?: any;
88
- onWheel?: any;
89
- onAnimationstart?: any;
90
- onAnimationend?: any;
91
- onAnimationiteration?: any;
92
- onTransitionend?: any;
93
- onTransitionstart?: any;
94
- placeholder?: any;
95
- tabindex?: any;
96
- options?: any;
97
- hidden?: any;
98
- property?: any;
99
- prefix?: any;
100
- translate?: any;
101
- contextmenu?: any;
102
- dir?: any;
103
- "aria-hidden"?: any;
104
- innerHTML?: any;
105
- accesskey?: any;
106
- contenteditable?: any;
107
- draggable?: any;
108
- inert?: any;
109
- lang?: any;
110
- spellcheck?: any;
111
- radiogroup?: any;
112
- about?: any;
113
- datatype?: any;
114
- inlist?: any;
115
- resource?: any;
116
- typeof?: any;
117
- vocab?: any;
118
- autocapitalize?: any;
119
- autocorrect?: any;
120
- autosave?: any;
121
- itemprop?: any;
122
- itemscope?: any;
123
- itemtype?: any;
124
- itemid?: any;
125
- itemref?: any;
126
- results?: any;
127
- security?: any;
128
- unselectable?: any;
129
- inputmode?: any;
130
- is?: any;
131
- "aria-activedescendant"?: any;
132
- "aria-atomic"?: any;
133
- "aria-autocomplete"?: any;
134
- "aria-busy"?: any;
135
- "aria-checked"?: any;
136
- "aria-colcount"?: any;
137
- "aria-colindex"?: any;
138
- "aria-colspan"?: any;
139
- "aria-controls"?: any;
140
- "aria-current"?: any;
141
- "aria-describedby"?: any;
142
- "aria-details"?: any;
143
- "aria-disabled"?: any;
144
- "aria-dropeffect"?: any;
145
- "aria-errormessage"?: any;
146
- "aria-expanded"?: any;
147
- "aria-flowto"?: any;
148
- "aria-grabbed"?: any;
149
- "aria-haspopup"?: any;
150
- "aria-invalid"?: any;
151
- "aria-keyshortcuts"?: any;
152
- "aria-label"?: any;
153
- "aria-labelledby"?: any;
154
- "aria-level"?: any;
155
- "aria-live"?: any;
156
- "aria-modal"?: any;
157
- "aria-multiline"?: any;
158
- "aria-multiselectable"?: any;
159
- "aria-orientation"?: any;
160
- "aria-owns"?: any;
161
- "aria-placeholder"?: any;
162
- "aria-posinset"?: any;
163
- "aria-pressed"?: any;
164
- "aria-readonly"?: any;
165
- "aria-relevant"?: any;
166
- "aria-required"?: any;
167
- "aria-roledescription"?: any;
168
- "aria-rowcount"?: any;
169
- "aria-rowindex"?: any;
170
- "aria-rowspan"?: any;
171
- "aria-selected"?: any;
172
- "aria-setsize"?: any;
173
- "aria-sort"?: any;
174
- "aria-valuemax"?: any;
175
- "aria-valuemin"?: any;
176
- "aria-valuenow"?: any;
177
- "aria-valuetext"?: any;
178
- manifest?: any;
179
- }, MaybeComponentProps | {
180
- [x: Record<never, never> & string]: any;
181
- id?: any;
182
- title?: any;
183
- style?: any;
184
- role?: any;
185
- onMouseenter?: any;
186
- onMouseleave?: any;
187
- onClick?: any;
188
- onKeydown?: any;
189
- onFocus?: any;
190
- onBlur?: any;
191
- onContextmenu?: any;
192
- class?: any;
193
- color?: any;
194
- onCopy?: any;
195
- onCut?: any;
196
- onPaste?: any;
197
- onCompositionend?: any;
198
- onCompositionstart?: any;
199
- onCompositionupdate?: any;
200
- onDrag?: any;
201
- onDragend?: any;
202
- onDragenter?: any;
203
- onDragexit?: any;
204
- onDragleave?: any;
205
- onDragover?: any;
206
- onDragstart?: any;
207
- onDrop?: any;
208
- onFocusin?: any;
209
- onFocusout?: any;
210
- onChange?: any;
211
- onBeforeinput?: any;
212
- onInput?: any;
213
- onReset?: any;
214
- onSubmit?: any;
215
- onInvalid?: any;
216
- onLoad?: any;
217
- onError?: any;
218
- onKeypress?: any;
219
- onKeyup?: any;
220
- onAuxclick?: any;
221
- onDblclick?: any;
222
- onMousedown?: any;
223
- onMousemove?: any;
224
- onMouseout?: any;
225
- onMouseover?: any;
226
- onMouseup?: any;
227
- onAbort?: any;
228
- onCanplay?: any;
229
- onCanplaythrough?: any;
230
- onDurationchange?: any;
231
- onEmptied?: any;
232
- onEncrypted?: any;
233
- onEnded?: any;
234
- onLoadeddata?: any;
235
- onLoadedmetadata?: any;
236
- onLoadstart?: any;
237
- onPause?: any;
238
- onPlay?: any;
239
- onPlaying?: any;
240
- onProgress?: any;
241
- onRatechange?: any;
242
- onSeeked?: any;
243
- onSeeking?: any;
244
- onStalled?: any;
245
- onSuspend?: any;
246
- onTimeupdate?: any;
247
- onVolumechange?: any;
248
- onWaiting?: any;
249
- onSelect?: any;
250
- onScroll?: any;
251
- onScrollend?: any;
252
- onTouchcancel?: any;
253
- onTouchend?: any;
254
- onTouchmove?: any;
255
- onTouchstart?: any;
256
- onPointerdown?: any;
257
- onPointermove?: any;
258
- onPointerup?: any;
259
- onPointercancel?: any;
260
- onPointerenter?: any;
261
- onPointerleave?: any;
262
- onPointerover?: any;
263
- onPointerout?: any;
264
- onWheel?: any;
265
- onAnimationstart?: any;
266
- onAnimationend?: any;
267
- onAnimationiteration?: any;
268
- onTransitionend?: any;
269
- onTransitionstart?: any;
270
- placeholder?: any;
271
- tabindex?: any;
272
- options?: any;
273
- hidden?: any;
274
- property?: any;
275
- prefix?: any;
276
- translate?: any;
277
- contextmenu?: any;
278
- dir?: any;
279
- "aria-hidden"?: any;
280
- innerHTML?: any;
281
- accesskey?: any;
282
- contenteditable?: any;
283
- draggable?: any;
284
- inert?: any;
285
- lang?: any;
286
- spellcheck?: any;
287
- radiogroup?: any;
288
- about?: any;
289
- datatype?: any;
290
- inlist?: any;
291
- resource?: any;
292
- typeof?: any;
293
- vocab?: any;
294
- autocapitalize?: any;
295
- autocorrect?: any;
296
- autosave?: any;
297
- itemprop?: any;
298
- itemscope?: any;
299
- itemtype?: any;
300
- itemid?: any;
301
- itemref?: any;
302
- results?: any;
303
- security?: any;
304
- unselectable?: any;
305
- inputmode?: any;
306
- is?: any;
307
- "aria-activedescendant"?: any;
308
- "aria-atomic"?: any;
309
- "aria-autocomplete"?: any;
310
- "aria-busy"?: any;
311
- "aria-checked"?: any;
312
- "aria-colcount"?: any;
313
- "aria-colindex"?: any;
314
- "aria-colspan"?: any;
315
- "aria-controls"?: any;
316
- "aria-current"?: any;
317
- "aria-describedby"?: any;
318
- "aria-details"?: any;
319
- "aria-disabled"?: any;
320
- "aria-dropeffect"?: any;
321
- "aria-errormessage"?: any;
322
- "aria-expanded"?: any;
323
- "aria-flowto"?: any;
324
- "aria-grabbed"?: any;
325
- "aria-haspopup"?: any;
326
- "aria-invalid"?: any;
327
- "aria-keyshortcuts"?: any;
328
- "aria-label"?: any;
329
- "aria-labelledby"?: any;
330
- "aria-level"?: any;
331
- "aria-live"?: any;
332
- "aria-modal"?: any;
333
- "aria-multiline"?: any;
334
- "aria-multiselectable"?: any;
335
- "aria-orientation"?: any;
336
- "aria-owns"?: any;
337
- "aria-placeholder"?: any;
338
- "aria-posinset"?: any;
339
- "aria-pressed"?: any;
340
- "aria-readonly"?: any;
341
- "aria-relevant"?: any;
342
- "aria-required"?: any;
343
- "aria-roledescription"?: any;
344
- "aria-rowcount"?: any;
345
- "aria-rowindex"?: any;
346
- "aria-rowspan"?: any;
347
- "aria-selected"?: any;
348
- "aria-setsize"?: any;
349
- "aria-sort"?: any;
350
- "aria-valuemax"?: any;
351
- "aria-valuemin"?: any;
352
- "aria-valuenow"?: any;
353
- "aria-valuetext"?: any;
354
- manifest?: any;
355
- }>;
356
- dynamicRules: import('vue').Ref<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
357
- isDisabled: import('vue').Ref<boolean, boolean>;
358
- isIf: import('vue').Ref<boolean, boolean>;
359
- isRequired: import('vue').Ref<boolean, boolean>;
360
- isShow: import('vue').Ref<boolean, boolean>;
361
- };
@@ -1,9 +0,0 @@
1
- import { FormRenderProps } from '../types';
2
- /**
3
- * 动态计算行数
4
- */
5
- export declare function useExpandable(props: FormRenderProps): {
6
- isCalculated: import('vue').Ref<boolean, boolean>;
7
- keepFormItemIndex: import('vue').ComputedRef<number>;
8
- wrapperRef: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
9
- };
@@ -1,38 +0,0 @@
1
- import { FormCommonConfig, FormRenderProps, FormShape } from '../types';
2
- type Props = FormRenderProps;
3
- type __VLS_Props = Props & {
4
- globalCommonConfig?: FormCommonConfig;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Partial<Record<string, (_: any) => any>> & {
9
- default?(_: {
10
- shapes: FormShape[];
11
- }): any;
12
- };
13
- refs: {
14
- wrapperRef: HTMLDivElement;
15
- };
16
- rootEl: any;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- submit: (event: any) => any;
21
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onSubmit?: ((event: any) => any) | undefined;
23
- }>, {
24
- collapsedRows: number;
25
- commonConfig: FormCommonConfig;
26
- showCollapseButton: boolean;
27
- wrapperClass: import('../types').WrapperClassType;
28
- globalCommonConfig: FormCommonConfig;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
- wrapperRef: HTMLDivElement;
31
- }, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,11 +0,0 @@
1
- import { ZodObject, ZodType, ZodTypeAny } from 'zod';
2
- /**
3
- * Get the lowest level Zod type.
4
- * This will unpack optionals, refinements, etc.
5
- */
6
- export declare function getBaseRules<ChildType extends ZodObject | ZodTypeAny = ZodTypeAny>(schema: ChildType): ChildType | null;
7
- /**
8
- * Search for a "ZodDefault" in the Zod stack and return its value.
9
- */
10
- export declare function getDefaultValueInZodStack(schema: ZodType): any;
11
- export declare function isEventObjectLike(obj: any): boolean;
@@ -1,3 +0,0 @@
1
- export { default as FormField } from './FormField.vue';
2
- export { default as FormLabel } from './FormLabel.vue';
3
- export { default as Form } from './form.vue';