@dazhicheng/ui 1.6.23 → 1.6.25

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 (131) hide show
  1. package/dist/components/tt-api-component/index.d.ts +24 -35
  2. package/dist/components/tt-area/TtArea.d.ts +3 -0
  3. package/dist/components/tt-area/index.d.ts +1 -1
  4. package/dist/components/tt-button/components/AddButton.d.ts +3 -0
  5. package/dist/components/tt-button/index.d.ts +260 -589
  6. package/dist/components/tt-checkbox/index.d.ts +26 -35
  7. package/dist/components/tt-drawer/index.d.ts +306 -299
  8. package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
  9. package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
  10. package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
  11. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  12. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  13. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
  14. package/dist/components/tt-empty/index.d.ts +10 -8
  15. package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
  16. package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
  17. package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
  18. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  19. package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
  20. package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
  21. package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
  22. package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
  23. package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
  24. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
  25. package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
  26. package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
  27. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  28. package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
  29. package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
  30. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  31. package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
  32. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
  33. package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
  34. package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
  35. package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
  36. package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
  37. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  38. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  39. package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
  40. package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
  41. package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
  42. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
  43. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
  44. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  45. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  46. package/dist/components/tt-form/src/index.d.ts +217 -0
  47. package/dist/components/tt-form/src/useForm.d.ts +2 -1
  48. package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
  49. package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
  50. package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
  51. package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
  52. package/dist/components/tt-icon/index.d.ts +24 -115
  53. package/dist/components/tt-image/index.d.ts +45 -41
  54. package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
  55. package/dist/components/tt-image/tt-image.d.ts +36 -34
  56. package/dist/components/tt-loading/index.d.ts +5 -2
  57. package/dist/components/tt-loading/src/loading.d.ts +13 -0
  58. package/dist/components/tt-log/index.d.ts +7 -6
  59. package/dist/components/tt-modal/index.d.ts +371 -364
  60. package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
  61. package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
  62. package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
  63. package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
  64. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
  65. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  66. package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
  67. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
  68. package/dist/components/tt-modal-form/index.d.ts +46 -2
  69. package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
  70. package/dist/components/tt-nav-anchor/index.d.ts +15 -12
  71. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
  72. package/dist/components/tt-panel-select/index.d.ts +1 -1
  73. package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
  74. package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
  75. package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
  76. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
  77. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  78. package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
  79. package/dist/components/tt-radio-group/index.d.ts +31 -50
  80. package/dist/components/tt-select/index.d.ts +1 -1
  81. package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
  82. package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
  83. package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
  84. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  85. package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
  86. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  87. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  88. package/dist/components/tt-table/index.d.ts +287 -279
  89. package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
  90. package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
  91. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  92. package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
  93. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  94. package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
  95. package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
  96. package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
  97. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  98. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  99. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  100. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
  101. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  102. package/dist/components/tt-table/src/props.d.ts +19 -17
  103. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  104. package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
  105. package/dist/components/tt-text/index.d.ts +34 -59
  106. package/dist/components/tt-upload/index.d.ts +317 -311
  107. package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
  108. package/dist/components/tt-upload/src/typing.d.ts +49 -47
  109. package/dist/hooks/useDataPermissionOptions.js +76 -72
  110. package/dist/hooks/useLoading.d.ts +2 -2
  111. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  112. package/dist/index.d.ts +2 -1
  113. package/package.json +2 -2
  114. package/dist/components/tt-api-component/index.vue.d.ts +0 -34
  115. package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
  116. package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
  117. package/dist/components/tt-button/index.vue.d.ts +0 -466
  118. package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
  119. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
  120. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
  121. package/dist/components/tt-form/src/index.vue.d.ts +0 -216
  122. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
  123. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
  124. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
  125. package/dist/components/tt-icon/index.vue.d.ts +0 -32
  126. package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
  127. package/dist/components/tt-log/index.vue.d.ts +0 -5
  128. package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
  129. package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
  130. package/dist/components/tt-text/index.vue.d.ts +0 -50
  131. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
@@ -1,3 +1,6 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { ButtonProps } from 'element-plus';
3
+ import { TipConfig } from '../../../../directives/disabled-tip';
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: Readonly<{
@@ -15,7 +18,7 @@ declare function __VLS_template(): {
15
18
  rootEl: HTMLDivElement;
16
19
  };
17
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<Pick<{
21
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<Pick<{
19
22
  testId: any;
20
23
  visible: {
21
24
  type: BooleanConstructor;
@@ -35,7 +38,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
35
38
  type: BooleanConstructor;
36
39
  default: boolean;
37
40
  };
38
- closeFunc: import('vue').PropType<() => Promise<boolean>>;
41
+ closeFunc: PropType<() => Promise<boolean>>;
39
42
  draggable: {
40
43
  type: BooleanConstructor;
41
44
  default: boolean;
@@ -74,23 +77,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
74
77
  cancelLoading: {
75
78
  type: BooleanConstructor;
76
79
  };
77
- width: import('vue').PropType<string | number>;
80
+ width: PropType<string | number>;
78
81
  top: {
79
82
  type: StringConstructor;
80
83
  };
81
84
  size: {
82
- type: import('vue').PropType<"medium" | "small" | "mini">;
85
+ type: PropType<"medium" | "small" | "mini">;
83
86
  default: string;
84
87
  };
85
88
  okButtonProps: {
86
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
87
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
89
+ type: PropType<Partial< ButtonProps> & {
90
+ disabledTip?: TipConfig | TipConfig[];
88
91
  }>;
89
- default: Partial<import('element-plus').ButtonProps>;
92
+ default: Partial< ButtonProps>;
90
93
  };
91
94
  cancelButtonProps: {
92
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
93
- default: Partial<import('element-plus').ButtonProps>;
95
+ type: PropType<Partial< ButtonProps>>;
96
+ default: Partial< ButtonProps>;
94
97
  };
95
98
  isBottom: {
96
99
  type: BooleanConstructor;
@@ -100,9 +103,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
100
103
  type: BooleanConstructor;
101
104
  default: () => boolean | undefined;
102
105
  };
103
- }, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
106
+ }, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
104
107
  cancel: (e: Event) => any;
105
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<Pick<{
108
+ }, string, PublicProps, Readonly< ExtractPropTypes<Pick<{
106
109
  testId: any;
107
110
  visible: {
108
111
  type: BooleanConstructor;
@@ -122,7 +125,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
122
125
  type: BooleanConstructor;
123
126
  default: boolean;
124
127
  };
125
- closeFunc: import('vue').PropType<() => Promise<boolean>>;
128
+ closeFunc: PropType<() => Promise<boolean>>;
126
129
  draggable: {
127
130
  type: BooleanConstructor;
128
131
  default: boolean;
@@ -161,23 +164,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
161
164
  cancelLoading: {
162
165
  type: BooleanConstructor;
163
166
  };
164
- width: import('vue').PropType<string | number>;
167
+ width: PropType<string | number>;
165
168
  top: {
166
169
  type: StringConstructor;
167
170
  };
168
171
  size: {
169
- type: import('vue').PropType<"medium" | "small" | "mini">;
172
+ type: PropType<"medium" | "small" | "mini">;
170
173
  default: string;
171
174
  };
172
175
  okButtonProps: {
173
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
174
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
176
+ type: PropType<Partial< ButtonProps> & {
177
+ disabledTip?: TipConfig | TipConfig[];
175
178
  }>;
176
- default: Partial<import('element-plus').ButtonProps>;
179
+ default: Partial< ButtonProps>;
177
180
  };
178
181
  cancelButtonProps: {
179
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
180
- default: Partial<import('element-plus').ButtonProps>;
182
+ type: PropType<Partial< ButtonProps>>;
183
+ default: Partial< ButtonProps>;
181
184
  };
182
185
  isBottom: {
183
186
  type: BooleanConstructor;
@@ -196,11 +199,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
196
199
  showOkBtn: boolean;
197
200
  confirmLoading: boolean;
198
201
  cancelLoading: boolean;
199
- okButtonProps: Partial<import('element-plus').ButtonProps> & {
200
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
202
+ okButtonProps: Partial< ButtonProps> & {
203
+ disabledTip?: TipConfig | TipConfig[];
201
204
  };
202
- cancelButtonProps: Partial<import('element-plus').ButtonProps>;
203
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
205
+ cancelButtonProps: Partial< ButtonProps>;
206
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
204
207
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
205
208
  export default _default;
206
209
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,4 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: Readonly<{
@@ -13,15 +14,15 @@ declare function __VLS_template(): {
13
14
  rootEl: HTMLDivElement;
14
15
  };
15
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
17
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
17
18
  /** 标题 */
18
19
  title: any;
19
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
20
21
  /** 标题 */
21
22
  title: any;
22
23
  }>> & Readonly<{}>, {
23
24
  title: any;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
25
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
25
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
27
  export default _default;
27
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,6 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { ButtonProps } from 'element-plus';
3
+ import { TipConfig } from '../../../../directives/disabled-tip';
1
4
  /** 可用内容高度 = 容器高 - 顶距 - 头 - 底栏 - 底边距 */
2
5
  declare function updateRealHeight(): void;
3
6
  declare function onScrollBottom(): void;
@@ -12,7 +15,7 @@ declare function __VLS_template(): {
12
15
  rootEl: HTMLDivElement;
13
16
  };
14
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
18
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
16
19
  /** 区域遮罩:高度相对挂载容器,不再按整屏 vh */
17
20
  contained: {
18
21
  type: BooleanConstructor;
@@ -37,7 +40,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
37
40
  type: BooleanConstructor;
38
41
  default: boolean;
39
42
  };
40
- closeFunc: import('vue').PropType<() => Promise<boolean>>;
43
+ closeFunc: PropType<() => Promise<boolean>>;
41
44
  draggable: {
42
45
  type: BooleanConstructor;
43
46
  default: boolean;
@@ -75,23 +78,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
75
78
  cancelLoading: {
76
79
  type: BooleanConstructor;
77
80
  };
78
- width: import('vue').PropType<string | number>;
81
+ width: PropType<string | number>;
79
82
  top: {
80
83
  type: StringConstructor;
81
84
  };
82
85
  size: {
83
- type: import('vue').PropType<"medium" | "small" | "mini">;
86
+ type: PropType<"medium" | "small" | "mini">;
84
87
  default: string;
85
88
  };
86
89
  okButtonProps: {
87
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
88
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
90
+ type: PropType<Partial< ButtonProps> & {
91
+ disabledTip?: TipConfig | TipConfig[];
89
92
  }>;
90
- default: Partial<import('element-plus').ButtonProps>;
93
+ default: Partial< ButtonProps>;
91
94
  };
92
95
  cancelButtonProps: {
93
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
94
- default: Partial<import('element-plus').ButtonProps>;
96
+ type: PropType<Partial< ButtonProps>>;
97
+ default: Partial< ButtonProps>;
95
98
  };
96
99
  isBottom: {
97
100
  type: BooleanConstructor;
@@ -104,10 +107,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
104
107
  }>, {
105
108
  onScrollBottom: typeof onScrollBottom;
106
109
  setModalHeight: typeof updateRealHeight;
107
- elm: import('vue').Ref<any, any>;
108
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
110
+ elm: Ref<any, any>;
111
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
109
112
  "is-scroll": (...args: any[]) => void;
110
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
113
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
111
114
  /** 区域遮罩:高度相对挂载容器,不再按整屏 vh */
112
115
  contained: {
113
116
  type: BooleanConstructor;
@@ -132,7 +135,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
132
135
  type: BooleanConstructor;
133
136
  default: boolean;
134
137
  };
135
- closeFunc: import('vue').PropType<() => Promise<boolean>>;
138
+ closeFunc: PropType<() => Promise<boolean>>;
136
139
  draggable: {
137
140
  type: BooleanConstructor;
138
141
  default: boolean;
@@ -170,23 +173,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
170
173
  cancelLoading: {
171
174
  type: BooleanConstructor;
172
175
  };
173
- width: import('vue').PropType<string | number>;
176
+ width: PropType<string | number>;
174
177
  top: {
175
178
  type: StringConstructor;
176
179
  };
177
180
  size: {
178
- type: import('vue').PropType<"medium" | "small" | "mini">;
181
+ type: PropType<"medium" | "small" | "mini">;
179
182
  default: string;
180
183
  };
181
184
  okButtonProps: {
182
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
183
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
185
+ type: PropType<Partial< ButtonProps> & {
186
+ disabledTip?: TipConfig | TipConfig[];
184
187
  }>;
185
- default: Partial<import('element-plus').ButtonProps>;
188
+ default: Partial< ButtonProps>;
186
189
  };
187
190
  cancelButtonProps: {
188
- type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
189
- default: Partial<import('element-plus').ButtonProps>;
191
+ type: PropType<Partial< ButtonProps>>;
192
+ default: Partial< ButtonProps>;
190
193
  };
191
194
  isBottom: {
192
195
  type: BooleanConstructor;
@@ -219,12 +222,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
219
222
  showOkBtn: boolean;
220
223
  confirmLoading: boolean;
221
224
  cancelLoading: boolean;
222
- okButtonProps: Partial<import('element-plus').ButtonProps> & {
223
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
225
+ okButtonProps: Partial< ButtonProps> & {
226
+ disabledTip?: TipConfig | TipConfig[];
224
227
  };
225
- cancelButtonProps: Partial<import('element-plus').ButtonProps>;
228
+ cancelButtonProps: Partial< ButtonProps>;
226
229
  isBottom: boolean;
227
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
230
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
228
231
  wrapperRef: HTMLDivElement;
229
232
  }, HTMLDivElement>;
230
233
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,27 +1,30 @@
1
- import { ModalApiOptions, ModalProps, TtModalExtendedModalApi } from '../typing';
2
- import { App, Component } from 'vue';
1
+ import { ModalApiOptions, ModalProps, TtModalExtendedModalApi, ModalMethods } from '../typing';
2
+ import { App, Component, DefineSetupFnComponent, PublicProps, TransitionProps, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
+ import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
4
+ import { DialogTransition, ButtonProps, DialogBeforeCloseFn, DialogProps } from 'element-plus';
5
+ import { TipConfig } from '../../../../directives/disabled-tip';
3
6
  export declare function setDefaultModalProps(props: Partial<ModalProps>): void;
4
7
  /**
5
8
  * modal 可选hooks
6
9
  */
7
- export declare function useModalRender<TParentModalProps extends ModalProps = ModalProps>(options?: ModalApiOptions, MODAL_KEY?: symbol): readonly [import('vue').DefineSetupFnComponent<TParentModalProps, {}, {}, TParentModalProps & {}, import('vue').PublicProps>, TtModalExtendedModalApi] | readonly [import('vue').DefineSetupFnComponent<ModalProps, {}, {}, Partial<{
10
+ export declare function useModalRender<TParentModalProps extends ModalProps = ModalProps>(options?: ModalApiOptions, MODAL_KEY?: symbol): readonly [ DefineSetupFnComponent<TParentModalProps, {}, {}, TParentModalProps & {}, PublicProps>, TtModalExtendedModalApi] | readonly [ DefineSetupFnComponent<ModalProps, {}, {}, Partial<{
8
11
  title: any;
9
12
  visible: boolean;
10
- appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
11
- transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
13
+ appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
14
+ transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
12
15
  size: "small" | "medium" | "mini";
13
16
  center: boolean;
14
17
  height: any;
15
18
  draggable: boolean;
16
- showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
19
+ showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
17
20
  loading: boolean;
18
21
  modelValue: boolean;
19
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
22
+ closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
20
23
  scrollTop: boolean;
21
24
  minHeight: any;
22
25
  showFooter: boolean;
23
26
  fullscreen: boolean;
24
- overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
27
+ overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
25
28
  testId: any;
26
29
  modal: boolean;
27
30
  cancelText: string;
@@ -31,35 +34,35 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
31
34
  showOkBtn: boolean;
32
35
  confirmLoading: boolean;
33
36
  cancelLoading: boolean;
34
- okButtonProps: Partial<import('element-plus').ButtonProps> & {
35
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
37
+ okButtonProps: Partial< ButtonProps> & {
38
+ disabledTip?: TipConfig | TipConfig[];
36
39
  };
37
- cancelButtonProps: Partial<import('element-plus').ButtonProps>;
40
+ cancelButtonProps: Partial< ButtonProps>;
38
41
  isBottom: boolean;
39
42
  appendToBody: boolean;
40
43
  destroyOnClose: boolean;
41
- closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
42
- lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
44
+ closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
45
+ lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
43
46
  modalPenetrable: boolean;
44
47
  openDelay: number;
45
48
  closeDelay: number;
46
49
  trapFocus: boolean;
47
50
  headerAriaLevel: string;
48
- alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
51
+ alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
49
52
  ariaLevel: string;
50
53
  modalApi: TtModalExtendedModalApi;
51
54
  }> & Omit<{
52
55
  readonly title: any;
53
56
  readonly visible: boolean;
54
- readonly appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
57
+ readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
55
58
  readonly size: "small" | "medium" | "mini";
56
59
  readonly center: boolean;
57
60
  readonly height: any;
58
61
  readonly draggable: boolean;
59
- readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
62
+ readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
60
63
  readonly loading: boolean;
61
64
  readonly modelValue: boolean;
62
- readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
65
+ readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
63
66
  readonly scrollTop: boolean;
64
67
  readonly minHeight: any;
65
68
  readonly showFooter: boolean;
@@ -73,15 +76,15 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
73
76
  readonly showOkBtn: boolean;
74
77
  readonly confirmLoading: boolean;
75
78
  readonly cancelLoading: boolean;
76
- readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
77
- disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
79
+ readonly okButtonProps: Partial< ButtonProps> & {
80
+ disabledTip?: TipConfig | TipConfig[];
78
81
  };
79
- readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
82
+ readonly cancelButtonProps: Partial< ButtonProps>;
80
83
  readonly isBottom: boolean;
81
84
  readonly appendToBody: boolean;
82
85
  readonly destroyOnClose: boolean;
83
- readonly closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
84
- readonly lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
86
+ readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
+ readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
85
88
  readonly modalPenetrable: boolean;
86
89
  readonly openDelay: number;
87
90
  readonly closeDelay: number;
@@ -90,21 +93,21 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
90
93
  readonly ariaLevel: string;
91
94
  readonly top?: string | undefined;
92
95
  readonly zIndex?: number | undefined;
93
- readonly transition?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown> | undefined;
96
+ readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown> | undefined;
94
97
  readonly width?: string | number | undefined;
95
- readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown> | undefined;
96
- readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
97
- readonly overflow?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
98
+ readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown> | undefined;
99
+ readonly beforeClose?: DialogBeforeCloseFn | undefined;
100
+ readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
98
101
  readonly closeFunc?: (() => Promise<boolean>) | undefined;
99
102
  readonly loadingTip?: string | undefined;
100
103
  readonly modalClass?: string | undefined;
101
- readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
104
+ readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
102
105
  readonly headerClass?: string | undefined;
103
106
  readonly bodyClass?: string | undefined;
104
107
  readonly footerClass?: string | undefined;
105
108
  readonly modalApi?: TtModalExtendedModalApi | undefined;
106
109
  readonly "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
107
110
  readonly "onVisible-change"?: ((args_0: boolean) => any) | undefined;
108
- readonly onRegister?: ((args_0: import('../typing').ModalMethods, args_1: string) => any) | undefined;
109
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "appendTo" | "transition" | "size" | "center" | "height" | "draggable" | "showClose" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "overflow" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "modalApi"> & Partial<import('element-plus').DialogProps> & {}, import('vue').PublicProps>, TtModalExtendedModalApi];
111
+ readonly onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
112
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "visible" | "appendTo" | "transition" | "size" | "center" | "height" | "draggable" | "showClose" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "overflow" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "modalApi"> & Partial< DialogProps> & {}, PublicProps>, TtModalExtendedModalApi];
110
113
  export declare function showTtModal<T extends Component>(app: App, component: T, options: ModalApiOptions): TtModalExtendedModalApi;
@@ -1,8 +1,8 @@
1
1
  import { TipConfig } from '../../../directives/disabled-tip';
2
2
  import { ButtonProps, DialogProps } from 'element-plus';
3
3
  import { Component, ComputedRef, Ref } from 'vue';
4
- import { default as TtModal } from './RenderModal.vue';
5
- import { default as TtModalWrapper } from './components/ModalWrapper.vue';
4
+ import { default as TtModal } from './RenderModal';
5
+ import { default as TtModalWrapper } from './components/ModalWrapper';
6
6
  import { ModalApi } from './utils/modal-api';
7
7
  /**
8
8
  * @description: 弹窗对外暴露的方法
@@ -1,5 +1,6 @@
1
1
  import { ModalApiOptions, ModalMethods, ModalRenderState } from '../typing';
2
2
  import { Store } from '@tanstack/vue-store';
3
+ import { ComputedRef } from 'vue';
3
4
  export type ApiType = Pick<ModalApiOptions, "onClose" | "onVisibleChange" | "onOk" | "onReceiveSharedData" | "onClosed">;
4
5
  /**
5
6
  * 弹窗的API类
@@ -91,7 +92,7 @@ export declare class ModalApi {
91
92
  * 获取弹窗的可见状态
92
93
  * @returns 弹窗的可见状态
93
94
  */
94
- getVisible: import('vue').ComputedRef<boolean>;
95
+ getVisible: ComputedRef<boolean>;
95
96
  /**
96
97
  * 重置弹窗高度
97
98
  */
@@ -1,6 +1,7 @@
1
+ import { ComputedRef } from 'vue';
1
2
  export declare function useModalFormSlot(slots: any): {
2
- getFormSlotKeys: import('vue').ComputedRef<(string | null)[]>;
3
- getModalSlotKeys: import('vue').ComputedRef<(string | null)[]>;
3
+ getFormSlotKeys: ComputedRef<(string | null)[]>;
4
+ getModalSlotKeys: ComputedRef<(string | null)[]>;
4
5
  replaceModalSlotKey: (key: string | null) => string;
5
6
  replaceFormSlotKey: (key: string | null) => string;
6
7
  };
@@ -1,2 +1,46 @@
1
- export * from './useModalForm';
2
- export type { ModalFormApi, ModalFormType, TtModalFormProps } from './props';
1
+ import { Recordable } from '../../../../utils/src';
2
+ import { ModalFormType, TtModalFormProps } from './props';
3
+ import { TtFormProps, UseGroupFormOptions } from '../tt-form';
4
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: Readonly<{
8
+ [key: string]: (props: any) => void;
9
+ BasicMsgTop: () => void;
10
+ insertFooter: () => void;
11
+ default: (props: any) => void;
12
+ }> & {
13
+ [key: string]: (props: any) => void;
14
+ BasicMsgTop: () => void;
15
+ insertFooter: () => void;
16
+ default: (props: any) => void;
17
+ };
18
+ refs: {};
19
+ rootEl: any;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: DefineComponent<Partial<TtModalFormProps<ModalFormType>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ submit: (data: Recordable) => any;
24
+ fetch: (data: Recordable) => any;
25
+ getinfo: (data: any) => any;
26
+ }, string, PublicProps, Readonly<Partial<TtModalFormProps<ModalFormType>>> & Readonly<{
27
+ onSubmit?: ((data: Recordable) => any) | undefined;
28
+ onFetch?: ((data: Recordable) => any) | undefined;
29
+ onGetinfo?: ((data: any) => any) | undefined;
30
+ }>, {
31
+ renderType: ModalFormType;
32
+ dataField: string;
33
+ infoApiIdKey: string;
34
+ infoApiParams: globalThis.Recordable;
35
+ apiParams: globalThis.Recordable;
36
+ formProps: Partial<TtFormProps<Record<string, any>>> | Partial<UseGroupFormOptions<Record<string, any>>>;
37
+ isContinuousChecked: boolean;
38
+ checkedOptions: Record<string, any>;
39
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
+ export default _default;
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
@@ -1,7 +1,8 @@
1
1
  import { TtModalExtendedModalApi } from '../tt-modal';
2
2
  import { ModalFormApi, ModalFormType, TtModalFormProps } from './props';
3
+ import { DefineSetupFnComponent, PublicProps, Ref } from 'vue';
3
4
  /** 创建普通表单或分组表单的弹窗表单。 */
4
- export declare function useModalForm<TType extends ModalFormType = "form", TValues extends Record<string, any> = Record<string, any>>(options: TtModalFormProps<TType, TValues>): readonly [import('vue').DefineSetupFnComponent<Partial<TtModalFormProps<ModalFormType>>, {}, {}, Partial<TtModalFormProps<ModalFormType>> & {}, import('vue').PublicProps>, {
5
- readonly formApi: import('vue').Ref<ModalFormApi<TType, TValues> | undefined, ModalFormApi<TType, TValues> | undefined>;
6
- readonly modalApi: import('vue').Ref<TtModalExtendedModalApi | undefined, TtModalExtendedModalApi | undefined>;
5
+ export declare function useModalForm<TType extends ModalFormType = "form", TValues extends Record<string, any> = Record<string, any>>(options: TtModalFormProps<TType, TValues>): readonly [ DefineSetupFnComponent<Partial<TtModalFormProps<ModalFormType>>, {}, {}, Partial<TtModalFormProps<ModalFormType>> & {}, PublicProps>, {
6
+ readonly formApi: Ref<ModalFormApi<TType, TValues> | undefined, ModalFormApi<TType, TValues> | undefined>;
7
+ readonly modalApi: Ref<TtModalExtendedModalApi | undefined, TtModalExtendedModalApi | undefined>;
7
8
  }];
@@ -1,11 +1,14 @@
1
- export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('.').TtNavAnchorProps> & Readonly<{
1
+ import { SFCWithInstall } from '../../../../utils/src';
2
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, VNodeChild } from 'vue';
3
+ import { TtNavAnchorProps, NavAnchorItemScope } from '.';
4
+ export declare const TtNavAnchor: SFCWithInstall<{
5
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< TtNavAnchorProps> & Readonly<{
3
6
  onChange?: ((key: string) => any) | undefined;
4
7
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
5
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
9
  change: (key: string) => any;
7
10
  "update:modelValue": (key: string) => any;
8
- }, import('vue').PublicProps, {
11
+ }, PublicProps, {
9
12
  top: number | string;
10
13
  bottom: number | string;
11
14
  left: number | string;
@@ -15,18 +18,18 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
15
18
  modelValue: string;
16
19
  badgeCounts: Record<string, number>;
17
20
  teleportTo: string | HTMLElement;
18
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
21
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
19
22
  sourceRef: HTMLSpanElement;
20
23
  navRef: HTMLDivElement;
21
24
  headerRef: HTMLDivElement;
22
- }, any, import('vue').ComponentProvideOptions, {
25
+ }, any, ComponentProvideOptions, {
23
26
  P: {};
24
27
  B: {};
25
28
  D: {};
26
29
  C: {};
27
30
  M: {};
28
31
  Defaults: {};
29
- }, Readonly<import('.').TtNavAnchorProps> & Readonly<{
32
+ }, Readonly< TtNavAnchorProps> & Readonly<{
30
33
  onChange?: ((key: string) => any) | undefined;
31
34
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
32
35
  }>, {}, {}, {}, {}, {
@@ -43,10 +46,10 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
43
46
  __isFragment?: never;
44
47
  __isTeleport?: never;
45
48
  __isSuspense?: never;
46
- } & import('vue').ComponentOptionsBase<Readonly<import('.').TtNavAnchorProps> & Readonly<{
49
+ } & ComponentOptionsBase<Readonly< TtNavAnchorProps> & Readonly<{
47
50
  onChange?: ((key: string) => any) | undefined;
48
51
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
49
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
53
  change: (key: string) => any;
51
54
  "update:modelValue": (key: string) => any;
52
55
  }, string, {
@@ -59,11 +62,11 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
59
62
  modelValue: string;
60
63
  badgeCounts: Record<string, number>;
61
64
  teleportTo: string | HTMLElement;
62
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
65
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
63
66
  $slots: Readonly<{
64
- description?: (scope: import('.').NavAnchorItemScope) => import('vue').VNodeChild;
67
+ description?: (scope: NavAnchorItemScope) => VNodeChild;
65
68
  }> & {
66
- description?: (scope: import('.').NavAnchorItemScope) => import('vue').VNodeChild;
69
+ description?: (scope: NavAnchorItemScope) => VNodeChild;
67
70
  };
68
71
  })> & Record<string, any>;
69
72
  export type { NavAnchorItem, NavAnchorItemScope, NavAnchorTitle, NavAnchorTitleRender, NavAnchorTitleRenderResult, TtNavAnchorProps, } from './src/types';
@@ -1,4 +1,4 @@
1
- import { VNodeChild } from 'vue';
1
+ import { VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { NavAnchorItemScope, TtNavAnchorProps } from './types';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -17,10 +17,10 @@ declare function __VLS_template(): {
17
17
  rootEl: any;
18
18
  };
19
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<TtNavAnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ declare const __VLS_component: DefineComponent<TtNavAnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
21
  change: (key: string) => any;
22
22
  "update:modelValue": (key: string) => any;
23
- }, string, import('vue').PublicProps, Readonly<TtNavAnchorProps> & Readonly<{
23
+ }, string, PublicProps, Readonly<TtNavAnchorProps> & Readonly<{
24
24
  onChange?: ((key: string) => any) | undefined;
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  }>, {
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<TtNavAnchorProps, {
33
33
  modelValue: string;
34
34
  badgeCounts: Record<string, number>;
35
35
  teleportTo: string | HTMLElement;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
37
  sourceRef: HTMLSpanElement;
38
38
  navRef: HTMLDivElement;
39
39
  headerRef: HTMLDivElement;
@@ -1,5 +1,5 @@
1
1
  import { SFCWithInstall } from '../../../../utils/src';
2
- import { default as TtPanelSelectConstructor } from './src/index.vue';
2
+ import { default as TtPanelSelectConstructor } from './src/index';
3
3
  export declare const TtPanelSelect: SFCWithInstall<typeof TtPanelSelectConstructor>;
4
4
  export * from './src/types';
5
5
  export type TtPanelSelectInsp = InstanceType<typeof TtPanelSelectConstructor>;