@fangzhongya/fang-ui 0.0.31 → 0.0.32

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 (222) hide show
  1. package/dist/components/alert/index.d.ts +4 -3
  2. package/dist/components/array/index.d.ts +7 -6
  3. package/dist/components/array/src/data.d.ts +1 -1
  4. package/dist/components/array/src/index.d.ts +2 -2
  5. package/dist/components/box/index.d.ts +4 -3
  6. package/dist/components/box-adjust/index.d.ts +4 -3
  7. package/dist/components/box-local/index.d.ts +4 -3
  8. package/dist/components/box-mask/index.d.ts +8 -23
  9. package/dist/components/box-teleport/index.d.ts +4 -3
  10. package/dist/components/box-title/index.d.ts +4 -3
  11. package/dist/components/button/index.d.ts +4 -3
  12. package/dist/components/buttons/index.d.ts +30 -72
  13. package/dist/components/card/index.d.ts +4 -3
  14. package/dist/components/cascader/index.d.ts +4 -3
  15. package/dist/components/cascader-panel/index.d.ts +4 -3
  16. package/dist/components/cascaders/index.d.ts +50 -119
  17. package/dist/components/checkbox/index.d.ts +7 -6
  18. package/dist/components/checkbox/src/index.d.ts +6 -6
  19. package/dist/components/checkbox-group/index.d.ts +4 -3
  20. package/dist/components/checks/index.d.ts +50 -119
  21. package/dist/components/choice-select/index.d.ts +10 -31
  22. package/dist/components/choice-select/src/data.cjs +0 -1
  23. package/dist/components/choice-select/src/data.js +0 -1
  24. package/dist/components/choice-select/src/index.cjs +0 -1
  25. package/dist/components/choice-select/src/index.js +0 -1
  26. package/dist/components/collapse/index.d.ts +4 -3
  27. package/dist/components/collapse-item/index.d.ts +4 -3
  28. package/dist/components/color-picker/index.d.ts +4 -3
  29. package/dist/components/common/compons.cjs +0 -1
  30. package/dist/components/common/compons.js +0 -1
  31. package/dist/components/common/urls.cjs +10 -5
  32. package/dist/components/common/urls.d.ts +10 -5
  33. package/dist/components/common/urls.js +10 -5
  34. package/dist/components/common/use.cjs +0 -1
  35. package/dist/components/common/use.d.ts +1 -1
  36. package/dist/components/common/use.js +0 -1
  37. package/dist/components/company-select/index.d.ts +50 -118
  38. package/dist/components/company-select/src/data.cjs +0 -1
  39. package/dist/components/company-select/src/data.js +0 -1
  40. package/dist/components/company-select/src/index.cjs +0 -1
  41. package/dist/components/company-select/src/index.js +0 -1
  42. package/dist/components/config-provider/index.d.ts +4 -3
  43. package/dist/components/cs-config/index.d.ts +4 -3
  44. package/dist/components/cs-config/src/data.cjs +0 -1
  45. package/dist/components/cs-config/src/data.js +0 -1
  46. package/dist/components/cs-config/src/index.cjs +0 -1
  47. package/dist/components/cs-config/src/index.js +0 -1
  48. package/dist/components/cs-emits/index.d.ts +6 -23
  49. package/dist/components/cs-expose/index.d.ts +4 -21
  50. package/dist/components/cs-i18n/index.d.ts +10 -30
  51. package/dist/components/cs-props/index.d.ts +38 -90
  52. package/dist/components/cs-slot/index.d.ts +4 -3
  53. package/dist/components/cs-title/index.d.ts +4 -3
  54. package/dist/components/date-picker/index.d.ts +4 -3
  55. package/dist/components/dates/index.d.ts +50 -118
  56. package/dist/components/dates-divide/index.d.ts +4 -3
  57. package/dist/components/dates-picker/index.d.ts +4 -3
  58. package/dist/components/department-select/index.d.ts +4 -3
  59. package/dist/components/department-select/src/data.cjs +0 -1
  60. package/dist/components/department-select/src/data.js +0 -1
  61. package/dist/components/dialog/index.d.ts +4 -3
  62. package/dist/components/divider/index.d.ts +4 -3
  63. package/dist/components/drawer/index.d.ts +4 -3
  64. package/dist/components/dropdown/index.d.ts +4 -3
  65. package/dist/components/dropdown-item/index.d.ts +4 -3
  66. package/dist/components/dropdown-menu/index.d.ts +4 -3
  67. package/dist/components/edit/index.d.ts +91 -119
  68. package/dist/components/edit-float/index.d.ts +97 -130
  69. package/dist/components/form/index.d.ts +5 -4
  70. package/dist/components/form/src/index.d.ts +2 -2
  71. package/dist/components/form-item/index.d.ts +4 -3
  72. package/dist/components/forms/index.d.ts +43 -12
  73. package/dist/components/forms/src/data.cjs +54 -14
  74. package/dist/components/forms/src/data.d.ts +87 -22
  75. package/dist/components/forms/src/data.js +54 -14
  76. package/dist/components/forms/src/index.cjs +21 -1
  77. package/dist/components/forms/src/index.d.ts +37 -5
  78. package/dist/components/forms/src/index.js +21 -1
  79. package/dist/components/forms/src/setup.cjs +0 -1
  80. package/dist/components/forms/src/setup.d.ts +1 -1
  81. package/dist/components/forms/src/setup.js +0 -1
  82. package/dist/components/forms-div/index.d.ts +26 -72
  83. package/dist/components/forms-div/src/index.cjs +0 -1
  84. package/dist/components/forms-div/src/index.js +0 -1
  85. package/dist/components/forms-drag/index.d.ts +59 -8
  86. package/dist/components/forms-drag/src/index.cjs +10 -6
  87. package/dist/components/forms-drag/src/index.d.ts +23 -3
  88. package/dist/components/forms-drag/src/index.js +10 -6
  89. package/dist/components/forms-item/index.d.ts +4 -3
  90. package/dist/components/forms-items/index.d.ts +4 -3
  91. package/dist/components/global-config/index.d.ts +23 -63
  92. package/dist/components/history/index.d.ts +4 -3
  93. package/dist/components/icon/index.d.ts +4 -3
  94. package/dist/components/icon/src/data.cjs +1 -2
  95. package/dist/components/icon/src/data.d.ts +1 -1
  96. package/dist/components/icon/src/data.js +1 -2
  97. package/dist/components/icon/src/index.cjs +0 -1
  98. package/dist/components/icon/src/index.js +0 -1
  99. package/dist/components/icon-picker/index.d.ts +4 -3
  100. package/dist/components/icon-picker/src/data.cjs +0 -1
  101. package/dist/components/icon-picker/src/data.js +0 -1
  102. package/dist/components/icon-picker/src/index.cjs +0 -1
  103. package/dist/components/icon-picker/src/index.js +0 -1
  104. package/dist/components/iframe/index.d.ts +30 -78
  105. package/dist/components/iframe/src/data.cjs +0 -1
  106. package/dist/components/iframe/src/data.js +0 -1
  107. package/dist/components/image/index.d.ts +4 -3
  108. package/dist/components/images/index.d.ts +4 -3
  109. package/dist/components/index2.scss +53 -0
  110. package/dist/components/input/index.d.ts +4 -3
  111. package/dist/components/input-array/index.d.ts +4 -3
  112. package/dist/components/input-history/index.d.ts +4 -3
  113. package/dist/components/input-num/index.d.ts +4 -3
  114. package/dist/components/input-number/index.d.ts +4 -3
  115. package/dist/components/input-select/index.d.ts +4 -3
  116. package/dist/components/inputs/index.d.ts +4 -3
  117. package/dist/components/labels/index.d.ts +58 -139
  118. package/dist/components/lists/common/img.cjs +35 -5
  119. package/dist/components/lists/common/img.js +35 -5
  120. package/dist/components/lists/common/img2.cjs +2 -32
  121. package/dist/components/lists/common/img2.js +1 -31
  122. package/dist/components/lists/index.css +8 -0
  123. package/dist/components/lists/index.d.ts +59 -160
  124. package/dist/components/lists/index.scss +9 -0
  125. package/dist/components/lists/src/index.cjs +2 -2
  126. package/dist/components/lists/src/index.js +2 -2
  127. package/dist/components/menus/index.d.ts +4 -3
  128. package/dist/components/menus/src/menu-ll.cjs +0 -1
  129. package/dist/components/menus/src/menu-ll.js +0 -1
  130. package/dist/components/option/index.d.ts +118 -135
  131. package/dist/components/option-group/index.d.ts +4 -3
  132. package/dist/components/page/index.css +8 -0
  133. package/dist/components/page/index.d.ts +39 -13
  134. package/dist/components/page/src/index.d.ts +70 -20
  135. package/dist/components/pagination/index.d.ts +4 -3
  136. package/dist/components/paging/index.d.ts +16 -48
  137. package/dist/components/popconfirm/index.d.ts +4 -3
  138. package/dist/components/popover/index.d.ts +4 -3
  139. package/dist/components/popup/index.d.ts +4 -3
  140. package/dist/components/radio/index.d.ts +7 -6
  141. package/dist/components/radio/src/index.d.ts +6 -6
  142. package/dist/components/radio-group/index.d.ts +4 -3
  143. package/dist/components/retract/index.d.ts +4 -3
  144. package/dist/components/retract/src/data.cjs +0 -1
  145. package/dist/components/retract/src/data.js +0 -1
  146. package/dist/components/retract/src/index.cjs +0 -1
  147. package/dist/components/retract/src/index.js +0 -1
  148. package/dist/components/right-key/index.d.ts +4 -3
  149. package/dist/components/right-key/src/data.cjs +0 -1
  150. package/dist/components/right-key/src/data.js +0 -1
  151. package/dist/components/right-key/src/index.cjs +0 -1
  152. package/dist/components/right-key/src/index.js +0 -1
  153. package/dist/components/role-select/index.d.ts +4 -3
  154. package/dist/components/role-select/src/data.cjs +0 -1
  155. package/dist/components/role-select/src/data.js +0 -1
  156. package/dist/components/role-select/src/index.cjs +0 -1
  157. package/dist/components/role-select/src/index.js +0 -1
  158. package/dist/components/select/index.d.ts +4 -3
  159. package/dist/components/select-dialog/index.d.ts +4 -3
  160. package/dist/components/select-dialog/src/data.cjs +0 -1
  161. package/dist/components/select-dialog/src/data.js +0 -1
  162. package/dist/components/select-dialog/src/index.cjs +0 -1
  163. package/dist/components/select-dialog/src/index.js +0 -1
  164. package/dist/components/select-popover/index.d.ts +4 -3
  165. package/dist/components/select-popover/src/data.cjs +0 -1
  166. package/dist/components/select-popover/src/data.js +0 -1
  167. package/dist/components/select-scroll/index.d.ts +34 -84
  168. package/dist/components/selector/index.d.ts +45 -116
  169. package/dist/components/selects/index.d.ts +53 -124
  170. package/dist/components/slider/index.d.ts +4 -3
  171. package/dist/components/stick-div/index.d.ts +4 -3
  172. package/dist/components/stick-edge/index.d.ts +4 -3
  173. package/dist/components/stick-window/index.d.ts +4 -3
  174. package/dist/components/switch/index.d.ts +4 -3
  175. package/dist/components/switchs/index.d.ts +47 -111
  176. package/dist/components/tab-pane/index.d.ts +4 -3
  177. package/dist/components/tables/common/pagin.cjs +0 -1
  178. package/dist/components/tables/common/pagin.d.ts +14 -6
  179. package/dist/components/tables/common/pagin.js +0 -1
  180. package/dist/components/tables/common/util.cjs +0 -1
  181. package/dist/components/tables/common/util.js +0 -1
  182. package/dist/components/tables/index.d.ts +4 -3
  183. package/dist/components/tablesp/index.d.ts +10 -6
  184. package/dist/components/tablesp/src/index.cjs +2 -1
  185. package/dist/components/tablesp/src/index.d.ts +2 -1
  186. package/dist/components/tablesp/src/index.js +2 -1
  187. package/dist/components/tabless/index.d.ts +4 -3
  188. package/dist/components/tablesv/index.d.ts +4 -3
  189. package/dist/components/tablesv/src/column.cjs +0 -1
  190. package/dist/components/tablesv/src/column.js +0 -1
  191. package/dist/components/tablesvp/index.d.ts +4 -3
  192. package/dist/components/tabs/index.d.ts +4 -3
  193. package/dist/components/text/index.d.ts +10 -30
  194. package/dist/components/time-picker/index.d.ts +4 -3
  195. package/dist/components/time-select/index.d.ts +4 -3
  196. package/dist/components/tooltip/index.d.ts +4 -3
  197. package/dist/components/tree/index.d.ts +4 -3
  198. package/dist/components/tree-select/index.d.ts +4 -3
  199. package/dist/components/tree-select-box/index.d.ts +4 -3
  200. package/dist/components/tree-select-box/src/data.cjs +0 -1
  201. package/dist/components/tree-select-box/src/data.js +0 -1
  202. package/dist/components/tree-select-box/src/index.cjs +0 -1
  203. package/dist/components/tree-select-box/src/index.js +0 -1
  204. package/dist/components/upload/index.d.ts +7 -6
  205. package/dist/components/upload/src/index.d.ts +6 -6
  206. package/dist/components/user-select/index.d.ts +4 -3
  207. package/dist/components/user-select/src/data.cjs +0 -1
  208. package/dist/components/user-select/src/data.js +0 -1
  209. package/dist/components/user-select/src/index.cjs +0 -1
  210. package/dist/components/user-select/src/index.js +0 -1
  211. package/dist/components/window/index.d.ts +4 -3
  212. package/dist/hooks/inherit/index.cjs +0 -1
  213. package/dist/hooks/inherit/index.js +0 -1
  214. package/dist/index.css +8 -0
  215. package/dist/type.d.ts +19 -0
  216. package/dist/utils/vues/withInstall.cjs +2 -16
  217. package/dist/utils/vues/withInstall.d.ts +2 -1
  218. package/dist/utils/vues/withInstall.js +2 -16
  219. package/package.json +5 -4
  220. package/dist/index2.css +0 -4
  221. /package/dist/components/{radio-group → form}/index.css +0 -0
  222. /package/dist/components/{forms-items → forms-item}/index.css +0 -0
@@ -1769,7 +1769,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1769
1769
  }>, {
1770
1770
  getSelection: typeof globalThis.getSelection;
1771
1771
  initData: (callback?: () => void) => void;
1772
- getList: (p?: ObjAny, callback?: (d?: ObjAny) => void) => void;
1772
+ getData: (p?: ObjAny, callback?: (d?: ObjAny) => void) => void;
1773
+ getList: (callback?: () => void) => void;
1773
1774
  empty: () => void;
1774
1775
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
1775
1776
  configs: {
@@ -37,7 +37,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  __expose({
38
38
  getSelection,
39
39
  initData,
40
- getList: getData,
40
+ getData,
41
+ getList: initData,
41
42
  empty
42
43
  });
43
44
  return (_ctx, _cache) => {
@@ -1,4 +1,5 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, PropType, CSSProperties, ComputedRef, Ref, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, PropType, CSSProperties, ComputedRef, Ref, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
3
  import { DefaultSort } from '../tables/src/data';
3
4
  import { EpPropMergeType } from 'element-plus/es/utils';
4
5
  import { TableProps, TableColumnCtx, Sort, Filter, Table } from 'element-plus/es/components/table';
@@ -9,7 +10,7 @@ import { TableSortOrder, RenderExpanded, TreeProps } from 'element-plus/es/compo
9
10
  import { DebouncedFunc } from 'lodash';
10
11
  import { Translator } from 'element-plus/es/hooks';
11
12
  import { OnCleanup } from '@vue/reactivity';
12
- declare const Tabless: {
13
+ declare const Tabless: SFCWithInstall<{
13
14
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
14
15
  configs: {
15
16
  type: () => Config;
@@ -1935,5 +1936,5 @@ declare const Tabless: {
1935
1936
  };
1936
1937
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1937
1938
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>>;
1938
- }) & Plugin;
1939
+ })>;
1939
1940
  export { Tabless, Tabless as default };
@@ -1,6 +1,7 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
2
3
  import { DefaultSort } from './src/data';
3
- declare const Tablesv: {
4
+ declare const Tablesv: SFCWithInstall<{
4
5
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
5
6
  defaultSort: {
6
7
  type: () => DefaultSort;
@@ -270,5 +271,5 @@ declare const Tablesv: {
270
271
  $slots: Partial<Record<string, (_: any) => any>> & {
271
272
  'no-data'?(_: {}): any;
272
273
  };
273
- }) & Plugin;
274
+ })>;
274
275
  export { Tablesv, Tablesv as default };
@@ -18,7 +18,6 @@ require("@fangzhongya/utils/basic/object/deepCopy");
18
18
  require("@fangzhongya/utils/basic/Array/toggleArray");
19
19
  require("@fangzhongya/utils/basic/object/objValue");
20
20
  require("../../../utils/vues/getBuildProps.cjs");
21
- require("../../../utils/vues/withInstall.cjs");
22
21
  require("@fangzhongya/utils/css/setObjStyle");
23
22
  require("@fangzhongya/utils/css/getCss");
24
23
  const column = require("vxe-table/es/column");
@@ -16,7 +16,6 @@ import "@fangzhongya/utils/basic/object/deepCopy";
16
16
  import "@fangzhongya/utils/basic/Array/toggleArray";
17
17
  import "@fangzhongya/utils/basic/object/objValue";
18
18
  import "../../../utils/vues/getBuildProps.js";
19
- import "../../../utils/vues/withInstall.js";
20
19
  import "@fangzhongya/utils/css/setObjStyle";
21
20
  import "@fangzhongya/utils/css/getCss";
22
21
  import { VxeColumn } from "vxe-table/es/column";
@@ -1,7 +1,8 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
3
  import { DefaultSort } from '../tablesv/src/data';
3
4
  import { OnCleanup } from '@vue/reactivity';
4
- declare const Tablesvp: {
5
+ declare const Tablesvp: SFCWithInstall<{
5
6
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
6
7
  configs: {
7
8
  type: () => Config;
@@ -476,5 +477,5 @@ declare const Tablesvp: {
476
477
  };
477
478
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
478
479
  $slots: Partial<Record<string, (_: any) => any>>;
479
- }) & Plugin;
480
+ })>;
480
481
  export { Tablesvp, Tablesvp as default };
@@ -1,7 +1,8 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, VNode, Slots, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, VNode, Slots, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
2
3
  import { EpPropFinalized, EpPropMergeType, Awaitable } from 'element-plus/es/utils';
3
4
  import { TabPaneName, TabsPaneContext } from 'element-plus/es/components/tabs';
4
- declare const Tabs: {
5
+ declare const Tabs: SFCWithInstall<{
5
6
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
6
7
  refEl: Ref<any, any>;
7
8
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -143,5 +144,5 @@ declare const Tabs: {
143
144
  refEl: Ref<any, any>;
144
145
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
145
146
  $slots: Partial<Record<string, (_: any) => any>>;
146
- }) & Plugin;
147
+ })>;
147
148
  export { Tabs, Tabs as default };
@@ -1,36 +1,16 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
- declare const Text: {
3
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
4
- modelValue: {
5
- type: StringConstructor;
6
- };
7
- inline: BooleanConstructor;
8
- }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
9
- inline: boolean;
10
- }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
11
- P: {};
12
- B: {};
13
- D: {};
14
- C: {};
15
- M: {};
16
- Defaults: {};
17
- }, Readonly< ExtractPropTypes<{
18
- modelValue: {
19
- type: StringConstructor;
20
- };
21
- inline: BooleanConstructor;
22
- }>> & Readonly<{}>, {}, {}, {}, {}, {
23
- inline: boolean;
24
- }>;
25
- __isFragment?: never;
26
- __isTeleport?: never;
27
- __isSuspense?: never;
28
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const Text: SFCWithInstall<DefineComponent<ExtractPropTypes<{
29
4
  modelValue: {
30
5
  type: StringConstructor;
31
6
  };
32
7
  inline: BooleanConstructor;
33
- }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
8
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ };
12
+ inline: BooleanConstructor;
13
+ }>> & Readonly<{}>, {
34
14
  inline: boolean;
35
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
36
16
  export { Text, Text as default };
@@ -1,8 +1,9 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
2
3
  import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
3
4
  import { Placement, Options } from 'element-plus/es/index';
4
5
  import { GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, SingleOrRange, DateModelType, ModelValueType } from 'element-plus/es/components/time-picker';
5
- declare const TimePicker: {
6
+ declare const TimePicker: SFCWithInstall<{
6
7
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
7
8
  refEl: Ref<any, any>;
8
9
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -275,5 +276,5 @@ declare const TimePicker: {
275
276
  refEl: Ref<any, any>;
276
277
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
277
278
  $slots: Partial<Record<string, (_: any) => any>>;
278
- }) & Plugin;
279
+ })>;
279
280
  export { TimePicker, TimePicker as default };
@@ -1,7 +1,8 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
2
3
  import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
3
4
  import { PopperEffect } from 'element-plus/es/index';
4
- declare const TimeSelect: {
5
+ declare const TimeSelect: SFCWithInstall<{
5
6
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
6
7
  refEl: Ref<any, any>;
7
8
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -130,5 +131,5 @@ declare const TimeSelect: {
130
131
  refEl: Ref<any, any>;
131
132
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
132
133
  $slots: Partial<Record<string, (_: any) => any>>;
133
- }) & Plugin;
134
+ })>;
134
135
  export { TimeSelect, TimeSelect as default };
@@ -1,10 +1,11 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
3
  import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
3
4
  import { Placement, PopperEffect, Options, Measurable, PopperInstance } from 'element-plus/es/components/popper';
4
5
  import { TooltipTriggerType } from 'element-plus/es/index';
5
6
  import { TooltipContentInstance } from 'element-plus/es/components/tooltip';
6
7
  import { OnCleanup } from '@vue/reactivity';
7
- declare const Tooltip: {
8
+ declare const Tooltip: SFCWithInstall<{
8
9
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
9
10
  refEl: Ref<any, any>;
10
11
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -1063,5 +1064,5 @@ declare const Tooltip: {
1063
1064
  refEl: Ref<any, any>;
1064
1065
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1065
1066
  $slots: Partial<Record<string, (_: any) => any>>;
1066
- }) & Plugin;
1067
+ })>;
1067
1068
  export { Tooltip, Tooltip as default };
@@ -1,9 +1,10 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, Component, ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
2
3
  import { TreeData, TreeComponentProps, RenderContentFunction, AllowDragFunction, AllowDropFunction, TreeNodeData, TreeKey, FakeNode, TreeNodeLoadedDefaultProps, TreeStoreNodesMap, LoadFunction, FilterNodeMethodFunction, FilterValue, NodeDropType, TreeOptionProps } from 'element-plus/es/components/tree';
3
4
  import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/tree/src/model/node';
4
5
  import { Nullable } from 'element-plus/es/utils';
5
6
  import { Translator } from 'element-plus/es/hooks';
6
- declare const Tree: {
7
+ declare const Tree: SFCWithInstall<{
7
8
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
8
9
  refEl: Ref<any, any>;
9
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -942,5 +943,5 @@ declare const Tree: {
942
943
  refEl: Ref<any, any>;
943
944
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
944
945
  $slots: Partial<Record<string, (_: any) => any>>;
945
- }) & Plugin;
946
+ })>;
946
947
  export { Tree, Tree as default };
@@ -1,6 +1,7 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, RendererNode, RendererElement, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, VNode, RendererNode, RendererElement, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
3
  import { OnCleanup } from '@vue/reactivity';
3
- declare const TreeSelect: {
4
+ declare const TreeSelect: SFCWithInstall<{
4
5
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
5
6
  refEl: Ref<any, any>;
6
7
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -120,5 +121,5 @@ declare const TreeSelect: {
120
121
  refEl: Ref<any, any>;
121
122
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
122
123
  $slots: Partial<Record<string, (_: any) => any>>;
123
- }) & Plugin;
124
+ })>;
124
125
  export { TreeSelect, TreeSelect as default };
@@ -1,4 +1,5 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, Ref, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, Ref } from 'vue';
2
3
  import { ModelValue, ObjStrAny, RoleSelect } from './src/data';
3
4
  import { ModelValue } from '../select-dialog/src/data';
4
5
  import { OnCleanup } from '@vue/reactivity';
@@ -6,7 +7,7 @@ import { TreeData, TreeComponentProps, RenderContentFunction, AllowDragFunction,
6
7
  import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/tree/src/model/node';
7
8
  import { Nullable } from 'element-plus/es/utils';
8
9
  import { Translator } from 'element-plus/es/hooks';
9
- declare const TreeSelectBox: {
10
+ declare const TreeSelectBox: SFCWithInstall<{
10
11
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
11
12
  searchlist: {
12
13
  type: BooleanConstructor;
@@ -1411,5 +1412,5 @@ declare const TreeSelectBox: {
1411
1412
  $slots: {
1412
1413
  suffix?(_: {}): any;
1413
1414
  };
1414
- }) & Plugin;
1415
+ })>;
1415
1416
  export { TreeSelectBox, TreeSelectBox as default };
@@ -16,7 +16,6 @@ require("@fangzhongya/utils/basic/Array/toggleArray");
16
16
  require("@fangzhongya/utils/basic/object/objValue");
17
17
  const definePropType = require("../../../utils/vues/definePropType.cjs");
18
18
  require("../../../utils/vues/getBuildProps.cjs");
19
- require("../../../utils/vues/withInstall.cjs");
20
19
  require("@fangzhongya/utils/css/setObjStyle");
21
20
  require("@fangzhongya/utils/css/getCss");
22
21
  const roleSelect = {
@@ -14,7 +14,6 @@ import "@fangzhongya/utils/basic/Array/toggleArray";
14
14
  import "@fangzhongya/utils/basic/object/objValue";
15
15
  import { definePropType } from "../../../utils/vues/definePropType.js";
16
16
  import "../../../utils/vues/getBuildProps.js";
17
- import "../../../utils/vues/withInstall.js";
18
17
  import "@fangzhongya/utils/css/setObjStyle";
19
18
  import "@fangzhongya/utils/css/getCss";
20
19
  const roleSelect = {
@@ -18,7 +18,6 @@ require("@fangzhongya/utils/basic/object/objValue");
18
18
  require("../../../hooks/global-config/index.cjs");
19
19
  const index = require("../../../hooks/locale/index.cjs");
20
20
  require("../../../utils/vues/getBuildProps.cjs");
21
- require("../../../utils/vues/withInstall.cjs");
22
21
  require("@fangzhongya/utils/css/setObjStyle");
23
22
  require("@fangzhongya/utils/css/getCss");
24
23
  const index$3 = require("../../input/index.cjs");
@@ -16,7 +16,6 @@ import "@fangzhongya/utils/basic/object/objValue";
16
16
  import "../../../hooks/global-config/index.js";
17
17
  import { useLocale } from "../../../hooks/locale/index.js";
18
18
  import "../../../utils/vues/getBuildProps.js";
19
- import "../../../utils/vues/withInstall.js";
20
19
  import "@fangzhongya/utils/css/setObjStyle";
21
20
  import "@fangzhongya/utils/css/getCss";
22
21
  import { Input } from "../../input/index.js";
@@ -1,8 +1,9 @@
1
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
3
  import { EpPropMergeType, Mutable, Awaitable, EpPropFinalized } from 'element-plus/es/utils';
3
4
  import { UploadRawFile, UploadData, UploadFile, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus/es/components/upload';
4
5
  import { OnCleanup } from '@vue/reactivity';
5
- declare const Upload: {
6
+ declare const Upload: SFCWithInstall<{
6
7
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
7
8
  refEl: Ref<any, any>;
8
9
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
@@ -33,8 +34,8 @@ declare const Upload: {
33
34
  readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
34
35
  readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
35
36
  }> & Omit<{
36
- readonly name: string;
37
37
  readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
38
+ readonly name: string;
38
39
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
39
40
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
40
41
  readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
@@ -59,7 +60,7 @@ declare const Upload: {
59
60
  readonly crossorigin?: EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown> | undefined;
60
61
  readonly headers?: EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown> | undefined;
61
62
  readonly limit?: number | undefined;
62
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
63
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
63
64
  $attrs: {
64
65
  [x: string]: unknown;
65
66
  };
@@ -374,7 +375,7 @@ declare const Upload: {
374
375
  })[], unknown, unknown, UploadRequestHandler, boolean>;
375
376
  readonly disabled: BooleanConstructor;
376
377
  readonly limit: NumberConstructor;
377
- }>>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
378
+ }>>, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
378
379
  abort: (file: UploadFile) => void;
379
380
  submit: () => void;
380
381
  clearFiles: (states?: UploadStatus[]) => void;
@@ -415,5 +416,5 @@ declare const Upload: {
415
416
  refEl: Ref<any, any>;
416
417
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
417
418
  $slots: Partial<Record<string, (_: any) => any>>;
418
- }) & Plugin;
419
+ })>;
419
420
  export { Upload, Upload as default };
@@ -33,8 +33,8 @@ declare function __VLS_template(): {
33
33
  readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
34
34
  readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
35
35
  }> & Omit<{
36
- readonly name: string;
37
36
  readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
37
+ readonly name: string;
38
38
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
39
39
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
40
40
  readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
@@ -59,7 +59,7 @@ declare function __VLS_template(): {
59
59
  readonly crossorigin?: EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown> | undefined;
60
60
  readonly headers?: EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown> | undefined;
61
61
  readonly limit?: number | undefined;
62
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
62
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
63
63
  $attrs: {
64
64
  [x: string]: unknown;
65
65
  };
@@ -374,7 +374,7 @@ declare function __VLS_template(): {
374
374
  })[], unknown, unknown, UploadRequestHandler, boolean>;
375
375
  readonly disabled: BooleanConstructor;
376
376
  readonly limit: NumberConstructor;
377
- }>>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
377
+ }>>, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
378
378
  abort: (file: UploadFile) => void;
379
379
  submit: () => void;
380
380
  clearFiles: (states?: UploadStatus[]) => void;
@@ -432,8 +432,8 @@ declare const __VLS_component: DefineComponent<{}, {
432
432
  readonly onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
433
433
  readonly onExceed: (files: File[], uploadFiles: UploadUserFile[]) => void;
434
434
  }> & Omit<{
435
- readonly name: string;
436
435
  readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
436
+ readonly name: string;
437
437
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
438
438
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
439
439
  readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
@@ -458,7 +458,7 @@ declare const __VLS_component: DefineComponent<{}, {
458
458
  readonly crossorigin?: EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown> | undefined;
459
459
  readonly headers?: EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown> | undefined;
460
460
  readonly limit?: number | undefined;
461
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
461
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
462
462
  $attrs: {
463
463
  [x: string]: unknown;
464
464
  };
@@ -773,7 +773,7 @@ declare const __VLS_component: DefineComponent<{}, {
773
773
  })[], unknown, unknown, UploadRequestHandler, boolean>;
774
774
  readonly disabled: BooleanConstructor;
775
775
  readonly limit: NumberConstructor;
776
- }>>, "name" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
776
+ }>>, "data" | "name" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
777
777
  abort: (file: UploadFile) => void;
778
778
  submit: () => void;
779
779
  clearFiles: (states?: UploadStatus[]) => void;
@@ -1,4 +1,5 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, Ref, Plugin } from 'vue';
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, Ref } from 'vue';
2
3
  import { ModelValue, ObjStrAny, RoleSelect } from './src/data';
3
4
  import { ModelValue } from '../select-dialog/src/data';
4
5
  import { OnCleanup } from '@vue/reactivity';
@@ -6,7 +7,7 @@ import { TreeData, TreeComponentProps, RenderContentFunction, AllowDragFunction,
6
7
  import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/tree/src/model/node';
7
8
  import { Nullable } from 'element-plus/es/utils';
8
9
  import { Translator } from 'element-plus/es/hooks';
9
- declare const UserSelect: {
10
+ declare const UserSelect: SFCWithInstall<{
10
11
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
11
12
  expandAll: {
12
13
  type: BooleanConstructor[];
@@ -1417,5 +1418,5 @@ declare const UserSelect: {
1417
1418
  $slots: {
1418
1419
  suffix?(_: {}): any;
1419
1420
  };
1420
- }) & Plugin;
1421
+ })>;
1421
1422
  export { UserSelect, UserSelect as default };
@@ -16,7 +16,6 @@ require("@fangzhongya/utils/basic/Array/toggleArray");
16
16
  require("@fangzhongya/utils/basic/object/objValue");
17
17
  const definePropType = require("../../../utils/vues/definePropType.cjs");
18
18
  require("../../../utils/vues/getBuildProps.cjs");
19
- require("../../../utils/vues/withInstall.cjs");
20
19
  require("@fangzhongya/utils/css/setObjStyle");
21
20
  require("@fangzhongya/utils/css/getCss");
22
21
  const roleSelect = {
@@ -14,7 +14,6 @@ import "@fangzhongya/utils/basic/Array/toggleArray";
14
14
  import "@fangzhongya/utils/basic/object/objValue";
15
15
  import { definePropType } from "../../../utils/vues/definePropType.js";
16
16
  import "../../../utils/vues/getBuildProps.js";
17
- import "../../../utils/vues/withInstall.js";
18
17
  import "@fangzhongya/utils/css/setObjStyle";
19
18
  import "@fangzhongya/utils/css/getCss";
20
19
  const roleSelect = {
@@ -18,7 +18,6 @@ require("@fangzhongya/utils/basic/object/objValue");
18
18
  require("../../../hooks/global-config/index.cjs");
19
19
  const index = require("../../../hooks/locale/index.cjs");
20
20
  require("../../../utils/vues/getBuildProps.cjs");
21
- require("../../../utils/vues/withInstall.cjs");
22
21
  require("@fangzhongya/utils/css/setObjStyle");
23
22
  require("@fangzhongya/utils/css/getCss");
24
23
  const index$3 = require("../../tabs/index.cjs");
@@ -16,7 +16,6 @@ import "@fangzhongya/utils/basic/object/objValue";
16
16
  import "../../../hooks/global-config/index.js";
17
17
  import { useLocale } from "../../../hooks/locale/index.js";
18
18
  import "../../../utils/vues/getBuildProps.js";
19
- import "../../../utils/vues/withInstall.js";
20
19
  import "@fangzhongya/utils/css/setObjStyle";
21
20
  import "@fangzhongya/utils/css/getCss";
22
21
  import { Tabs } from "../../tabs/index.js";
@@ -1,5 +1,6 @@
1
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
- declare const Window: {
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
+ declare const Window: SFCWithInstall<{
3
4
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
4
5
  drag: {
5
6
  type: (BooleanConstructor | StringConstructor)[];
@@ -223,5 +224,5 @@ declare const Window: {
223
224
  noMin: boolean;
224
225
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
225
226
  $slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
226
- }) & Plugin;
227
+ })>;
227
228
  export { Window, Window as default };
@@ -14,7 +14,6 @@ require("@fangzhongya/utils/basic/object/deepCopy");
14
14
  require("@fangzhongya/utils/basic/Array/toggleArray");
15
15
  require("@fangzhongya/utils/basic/object/objValue");
16
16
  require("../../utils/vues/getBuildProps.cjs");
17
- require("../../utils/vues/withInstall.cjs");
18
17
  require("@fangzhongya/utils/css/setObjStyle");
19
18
  require("@fangzhongya/utils/css/getCss");
20
19
  const roots = ["class", "style"];
@@ -12,7 +12,6 @@ import "@fangzhongya/utils/basic/object/deepCopy";
12
12
  import "@fangzhongya/utils/basic/Array/toggleArray";
13
13
  import "@fangzhongya/utils/basic/object/objValue";
14
14
  import "../../utils/vues/getBuildProps.js";
15
- import "../../utils/vues/withInstall.js";
16
15
  import "@fangzhongya/utils/css/setObjStyle";
17
16
  import "@fangzhongya/utils/css/getCss";
18
17
  const roots = ["class", "style"];
package/dist/index.css CHANGED
@@ -444,6 +444,14 @@
444
444
  .lists-div .lists-table.is-border.top > tr > th {
445
445
  border-bottom: 0;
446
446
  }
447
+ .lists-div .lists-table .lists-com {
448
+ display: flex;
449
+ align-items: center;
450
+ }
451
+ .lists-div .lists-table .lists-com-img {
452
+ width: 50px;
453
+ height: 50px;
454
+ }
447
455
 
448
456
  .menus .menu-li-item {
449
457
  display: flex;
package/dist/type.d.ts CHANGED
@@ -12,6 +12,25 @@ type ObjStrNum = {
12
12
  [key: string]: string | number;
13
13
  };
14
14
 
15
+ type HideFun = (a: any, b: any) => boolean;
16
+
17
+ type SetFun = (a: ListObj, f: any) => ObjAny;
18
+
19
+ type Rule = {
20
+ /**
21
+ * 类型
22
+ */
23
+ type: 1 | 2;
24
+ /**
25
+ * 是否必传
26
+ */
27
+ must: boolean;
28
+ /**
29
+ * 校验方法
30
+ */
31
+ judge: string;
32
+ };
33
+
15
34
  type ListObj = {
16
35
  /**
17
36
  * 是否是div模式