@minilo/ui 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/package.json +2 -2
  2. package/minilo/dist/index.css +0 -1
  3. package/minilo/dist/index.full.js +0 -8393
  4. package/minilo/dist/index.full.min.js +0 -2
  5. package/minilo/dist/index.full.min.js.map +0 -1
  6. package/minilo/dist/index.full.min.mjs +0 -2
  7. package/minilo/dist/index.full.min.mjs.map +0 -1
  8. package/minilo/dist/index.full.mjs +0 -8373
  9. package/minilo/es/components/button/index.d.ts +0 -47
  10. package/minilo/es/components/button/index.mjs +0 -6
  11. package/minilo/es/components/button/index.vue.d.ts +0 -29
  12. package/minilo/es/components/button/index.vue.mjs +0 -5
  13. package/minilo/es/components/button/index.vue2.mjs +0 -67
  14. package/minilo/es/components/button/type.d.ts +0 -10
  15. package/minilo/es/components/chart/index.d.ts +0 -49
  16. package/minilo/es/components/chart/index.mjs +0 -6
  17. package/minilo/es/components/chart/index.vue.d.ts +0 -33
  18. package/minilo/es/components/chart/index.vue.mjs +0 -5
  19. package/minilo/es/components/chart/index.vue2.mjs +0 -124
  20. package/minilo/es/components/chart/type.d.ts +0 -7
  21. package/minilo/es/components/detail/index.d.ts +0 -37
  22. package/minilo/es/components/detail/index.mjs +0 -6
  23. package/minilo/es/components/detail/index.vue.d.ts +0 -23
  24. package/minilo/es/components/detail/index.vue.mjs +0 -5
  25. package/minilo/es/components/detail/index.vue2.mjs +0 -194
  26. package/minilo/es/components/detail/renderLabel.vue.d.ts +0 -8
  27. package/minilo/es/components/detail/renderLabel.vue.mjs +0 -5
  28. package/minilo/es/components/detail/renderLabel.vue2.mjs +0 -23
  29. package/minilo/es/components/detail/renderTooltip.vue.d.ts +0 -8
  30. package/minilo/es/components/detail/renderTooltip.vue.mjs +0 -5
  31. package/minilo/es/components/detail/renderTooltip.vue2.mjs +0 -23
  32. package/minilo/es/components/detail/type.d.ts +0 -27
  33. package/minilo/es/components/image-upload-pro/index.d.ts +0 -544
  34. package/minilo/es/components/image-upload-pro/index.mjs +0 -7
  35. package/minilo/es/components/image-upload-pro/index.vue.d.ts +0 -546
  36. package/minilo/es/components/image-upload-pro/index.vue.mjs +0 -5
  37. package/minilo/es/components/image-upload-pro/index.vue2.mjs +0 -657
  38. package/minilo/es/components/image-upload-pro/type.d.ts +0 -147
  39. package/minilo/es/components/image-upload-pro/type.mjs +0 -81
  40. package/minilo/es/components/index.d.ts +0 -11
  41. package/minilo/es/components/index.mjs +0 -14
  42. package/minilo/es/components/number-range-input/index.d.ts +0 -41
  43. package/minilo/es/components/number-range-input/index.mjs +0 -6
  44. package/minilo/es/components/number-range-input/index.vue.d.ts +0 -33
  45. package/minilo/es/components/number-range-input/index.vue.mjs +0 -5
  46. package/minilo/es/components/number-range-input/index.vue2.mjs +0 -150
  47. package/minilo/es/components/number-range-input/props.d.ts +0 -10
  48. package/minilo/es/components/search/index.d.ts +0 -488
  49. package/minilo/es/components/search/index.mjs +0 -6
  50. package/minilo/es/components/search/index.vue.d.ts +0 -554
  51. package/minilo/es/components/search/index.vue.mjs +0 -5
  52. package/minilo/es/components/search/index.vue2.mjs +0 -297
  53. package/minilo/es/components/search/props.d.ts +0 -107
  54. package/minilo/es/components/search/props.mjs +0 -55
  55. package/minilo/es/components/search-table/index.mjs +0 -6
  56. package/minilo/es/components/search-table/index.vue.d.ts +0 -189
  57. package/minilo/es/components/search-table/index.vue.mjs +0 -5
  58. package/minilo/es/components/search-table/index.vue2.mjs +0 -198
  59. package/minilo/es/components/search-table/props.d.ts +0 -69
  60. package/minilo/es/components/search-table/props.mjs +0 -69
  61. package/minilo/es/components/search-table/render.d.ts +0 -11
  62. package/minilo/es/components/search-table/render.mjs +0 -19
  63. package/minilo/es/components/tree-select/index.d.ts +0 -34
  64. package/minilo/es/components/tree-select/index.mjs +0 -6
  65. package/minilo/es/components/tree-select/index.vue.d.ts +0 -23
  66. package/minilo/es/components/tree-select/index.vue.mjs +0 -5
  67. package/minilo/es/components/tree-select/index.vue2.mjs +0 -229
  68. package/minilo/es/components/tree-select/type.d.ts +0 -34
  69. package/minilo/es/components/tree-select-dialog/index.d.ts +0 -64
  70. package/minilo/es/components/tree-select-dialog/index.mjs +0 -7
  71. package/minilo/es/components/tree-select-dialog/index.vue.d.ts +0 -26
  72. package/minilo/es/components/tree-select-dialog/index.vue.mjs +0 -5
  73. package/minilo/es/components/tree-select-dialog/index.vue2.mjs +0 -145
  74. package/minilo/es/components/tree-select-dialog/type.d.ts +0 -9
  75. package/minilo/es/components/tree-select-dialog/type.mjs +0 -24
  76. package/minilo/es/components/tree-select-drawer/index.d.ts +0 -69
  77. package/minilo/es/components/tree-select-drawer/index.mjs +0 -7
  78. package/minilo/es/components/tree-select-drawer/index.vue.d.ts +0 -26
  79. package/minilo/es/components/tree-select-drawer/index.vue.mjs +0 -5
  80. package/minilo/es/components/tree-select-drawer/index.vue2.mjs +0 -151
  81. package/minilo/es/components/tree-select-drawer/type.d.ts +0 -10
  82. package/minilo/es/components/tree-select-drawer/type.mjs +0 -20
  83. package/minilo/es/components/virtual-list/index.d.ts +0 -59
  84. package/minilo/es/components/virtual-list/index.mjs +0 -6
  85. package/minilo/es/components/virtual-list/index.vue.d.ts +0 -39
  86. package/minilo/es/components/virtual-list/index.vue.mjs +0 -5
  87. package/minilo/es/components/virtual-list/index.vue2.mjs +0 -423
  88. package/minilo/es/components/virtual-list/type.d.ts +0 -20
  89. package/minilo/es/node_modules/.pnpm/@element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_/node_modules/@element-plus/icons-vue/dist/index.mjs +0 -41
  90. package/minilo/es/node_modules/.pnpm/@vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs +0 -73
  91. package/minilo/es/node_modules/.pnpm/@vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs +0 -76
  92. package/minilo/es/packages/utils/dist/func/common.mjs +0 -14
  93. package/minilo/es/packages/utils/dist/request/index.mjs +0 -105
  94. package/minilo/es/resolver/index.d.ts +0 -8
  95. package/minilo/es/resolver/index.mjs +0 -26
  96. package/minilo/es/utils/index.d.ts +0 -28
  97. package/minilo/es/utils/index.mjs +0 -30
  98. package/minilo/lib/components/button/index.d.ts +0 -47
  99. package/minilo/lib/components/button/index.js +0 -11
  100. package/minilo/lib/components/button/index.vue.d.ts +0 -29
  101. package/minilo/lib/components/button/index.vue.js +0 -9
  102. package/minilo/lib/components/button/index.vue2.js +0 -71
  103. package/minilo/lib/components/button/type.d.ts +0 -10
  104. package/minilo/lib/components/chart/index.d.ts +0 -49
  105. package/minilo/lib/components/chart/index.js +0 -11
  106. package/minilo/lib/components/chart/index.vue.d.ts +0 -33
  107. package/minilo/lib/components/chart/index.vue.js +0 -9
  108. package/minilo/lib/components/chart/index.vue2.js +0 -128
  109. package/minilo/lib/components/chart/type.d.ts +0 -7
  110. package/minilo/lib/components/detail/index.d.ts +0 -37
  111. package/minilo/lib/components/detail/index.js +0 -11
  112. package/minilo/lib/components/detail/index.vue.d.ts +0 -23
  113. package/minilo/lib/components/detail/index.vue.js +0 -9
  114. package/minilo/lib/components/detail/index.vue2.js +0 -198
  115. package/minilo/lib/components/detail/renderLabel.vue.d.ts +0 -8
  116. package/minilo/lib/components/detail/renderLabel.vue.js +0 -9
  117. package/minilo/lib/components/detail/renderLabel.vue2.js +0 -27
  118. package/minilo/lib/components/detail/renderTooltip.vue.d.ts +0 -8
  119. package/minilo/lib/components/detail/renderTooltip.vue.js +0 -9
  120. package/minilo/lib/components/detail/renderTooltip.vue2.js +0 -27
  121. package/minilo/lib/components/detail/type.d.ts +0 -27
  122. package/minilo/lib/components/image-upload-pro/index.d.ts +0 -544
  123. package/minilo/lib/components/image-upload-pro/index.js +0 -13
  124. package/minilo/lib/components/image-upload-pro/index.vue.d.ts +0 -546
  125. package/minilo/lib/components/image-upload-pro/index.vue.js +0 -9
  126. package/minilo/lib/components/image-upload-pro/index.vue2.js +0 -661
  127. package/minilo/lib/components/image-upload-pro/type.d.ts +0 -147
  128. package/minilo/lib/components/image-upload-pro/type.js +0 -83
  129. package/minilo/lib/components/index.d.ts +0 -11
  130. package/minilo/lib/components/index.js +0 -33
  131. package/minilo/lib/components/number-range-input/index.d.ts +0 -41
  132. package/minilo/lib/components/number-range-input/index.js +0 -11
  133. package/minilo/lib/components/number-range-input/index.vue.d.ts +0 -33
  134. package/minilo/lib/components/number-range-input/index.vue.js +0 -9
  135. package/minilo/lib/components/number-range-input/index.vue2.js +0 -154
  136. package/minilo/lib/components/number-range-input/props.d.ts +0 -10
  137. package/minilo/lib/components/search/index.d.ts +0 -488
  138. package/minilo/lib/components/search/index.js +0 -11
  139. package/minilo/lib/components/search/index.vue.d.ts +0 -554
  140. package/minilo/lib/components/search/index.vue.js +0 -9
  141. package/minilo/lib/components/search/index.vue2.js +0 -301
  142. package/minilo/lib/components/search/props.d.ts +0 -107
  143. package/minilo/lib/components/search/props.js +0 -58
  144. package/minilo/lib/components/search-table/index.js +0 -11
  145. package/minilo/lib/components/search-table/index.vue.d.ts +0 -189
  146. package/minilo/lib/components/search-table/index.vue.js +0 -9
  147. package/minilo/lib/components/search-table/index.vue2.js +0 -202
  148. package/minilo/lib/components/search-table/props.d.ts +0 -69
  149. package/minilo/lib/components/search-table/props.js +0 -72
  150. package/minilo/lib/components/search-table/render.d.ts +0 -11
  151. package/minilo/lib/components/search-table/render.js +0 -23
  152. package/minilo/lib/components/tree-select/index.d.ts +0 -34
  153. package/minilo/lib/components/tree-select/index.js +0 -11
  154. package/minilo/lib/components/tree-select/index.vue.d.ts +0 -23
  155. package/minilo/lib/components/tree-select/index.vue.js +0 -9
  156. package/minilo/lib/components/tree-select/index.vue2.js +0 -233
  157. package/minilo/lib/components/tree-select/type.d.ts +0 -34
  158. package/minilo/lib/components/tree-select-dialog/index.d.ts +0 -64
  159. package/minilo/lib/components/tree-select-dialog/index.js +0 -13
  160. package/minilo/lib/components/tree-select-dialog/index.vue.d.ts +0 -26
  161. package/minilo/lib/components/tree-select-dialog/index.vue.js +0 -9
  162. package/minilo/lib/components/tree-select-dialog/index.vue2.js +0 -149
  163. package/minilo/lib/components/tree-select-dialog/type.d.ts +0 -9
  164. package/minilo/lib/components/tree-select-dialog/type.js +0 -26
  165. package/minilo/lib/components/tree-select-drawer/index.d.ts +0 -69
  166. package/minilo/lib/components/tree-select-drawer/index.js +0 -13
  167. package/minilo/lib/components/tree-select-drawer/index.vue.d.ts +0 -26
  168. package/minilo/lib/components/tree-select-drawer/index.vue.js +0 -9
  169. package/minilo/lib/components/tree-select-drawer/index.vue2.js +0 -155
  170. package/minilo/lib/components/tree-select-drawer/type.d.ts +0 -10
  171. package/minilo/lib/components/tree-select-drawer/type.js +0 -22
  172. package/minilo/lib/components/virtual-list/index.d.ts +0 -59
  173. package/minilo/lib/components/virtual-list/index.js +0 -11
  174. package/minilo/lib/components/virtual-list/index.vue.d.ts +0 -39
  175. package/minilo/lib/components/virtual-list/index.vue.js +0 -9
  176. package/minilo/lib/components/virtual-list/index.vue2.js +0 -427
  177. package/minilo/lib/components/virtual-list/type.d.ts +0 -20
  178. package/minilo/lib/node_modules/.pnpm/@element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_/node_modules/@element-plus/icons-vue/dist/index.js +0 -44
  179. package/minilo/lib/node_modules/.pnpm/@vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/index.js +0 -84
  180. package/minilo/lib/node_modules/.pnpm/@vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/index.js +0 -83
  181. package/minilo/lib/packages/utils/dist/func/common.js +0 -16
  182. package/minilo/lib/packages/utils/dist/request/index.js +0 -115
  183. package/minilo/lib/resolver/index.d.ts +0 -8
  184. package/minilo/lib/resolver/index.js +0 -28
  185. package/minilo/lib/utils/index.d.ts +0 -28
  186. package/minilo/lib/utils/index.js +0 -34
  187. package/minilo/theme-chalk/index.css +0 -1
  188. package/minilo/theme-chalk/ml-button.css +0 -1
  189. package/minilo/theme-chalk/ml-chart.css +0 -1
  190. package/minilo/theme-chalk/ml-detail.css +0 -1
  191. package/minilo/theme-chalk/ml-image-upload-pro.css +0 -1
  192. package/minilo/theme-chalk/ml-number-range-input.css +0 -1
  193. package/minilo/theme-chalk/ml-search-table.css +0 -1
  194. package/minilo/theme-chalk/ml-search.css +0 -1
  195. package/minilo/theme-chalk/ml-tree-select-dialog.css +0 -0
  196. package/minilo/theme-chalk/ml-tree-select-drawer.css +0 -0
  197. package/minilo/theme-chalk/ml-tree-select.css +0 -1
  198. package/minilo/theme-chalk/ml-virtual-list.css +0 -1
  199. package/minilo/theme-chalk/src/button.scss +0 -22
  200. package/minilo/theme-chalk/src/chart.scss +0 -11
  201. package/minilo/theme-chalk/src/default/variable.scss +0 -1
  202. package/minilo/theme-chalk/src/detail.scss +0 -9
  203. package/minilo/theme-chalk/src/image-upload-pro.scss +0 -70
  204. package/minilo/theme-chalk/src/index.scss +0 -14
  205. package/minilo/theme-chalk/src/mixins/mixin.scss +0 -273
  206. package/minilo/theme-chalk/src/number-range-input.scss +0 -9
  207. package/minilo/theme-chalk/src/search-table.scss +0 -47
  208. package/minilo/theme-chalk/src/search.scss +0 -20
  209. package/minilo/theme-chalk/src/tree-select-dialog.scss +0 -0
  210. package/minilo/theme-chalk/src/tree-select-drawer.scss +0 -0
  211. package/minilo/theme-chalk/src/tree-select.scss +0 -47
  212. package/minilo/theme-chalk/src/virtual-list.scss +0 -49
@@ -1,26 +0,0 @@
1
- import { TreeSelectDrawerProps } from './type';
2
- import { TreeSelectExpose } from '../tree-select/type';
3
- declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
- readonly onInput?: (value: string) => any;
6
- readonly "onUpdate:modelValue"?: (value: boolean) => any;
7
- readonly onConfirm?: (selectedData: T | T[]) => any;
8
- readonly onClose?: () => any;
9
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onInput" | "onUpdate:modelValue" | "onClose" | "onConfirm"> & ({
10
- modelValue?: boolean;
11
- } & TreeSelectDrawerProps<T>) & Partial<{}>> & import('vue').PublicProps;
12
- expose(exposed: import('vue').ShallowUnwrapRef<{
13
- input: (value: string) => void;
14
- searchText: import('vue').Ref<string, string>;
15
- treeRef: import('vue').Ref<TreeSelectExpose, TreeSelectExpose>;
16
- }>): void;
17
- attrs: any;
18
- slots: {};
19
- emit: (((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "close") => void)) & ((evt: "update:modelValue", value: boolean) => void);
20
- }>) => import('vue').VNode & {
21
- __ctx?: Awaited<typeof __VLS_setup>;
22
- };
23
- export default _default;
24
- type __VLS_PrettifyLocal<T> = {
25
- [K in keyof T]: T[K];
26
- } & {};
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
6
-
7
-
8
-
9
- exports.default = index_vue_vue_type_script_setup_true_lang.default;
@@ -1,155 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var vue = require('vue');
6
- var type = require('./type.js');
7
- var index_vue_vue_type_script_setup_true_lang = require('../tree-select/index.vue2.js');
8
- var index = require('../../utils/index.js');
9
-
10
- var _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
- ...{
12
- name: "MlTreeSelectDrawer"
13
- },
14
- __name: "index",
15
- props: /* @__PURE__ */ vue.mergeModels({
16
- treeData: { type: Array, required: true },
17
- treeProps: { type: Object, required: false, default: () => ({ label: "label", children: "children" }) },
18
- multiple: { type: Boolean, required: false, default: false },
19
- defaultExpandAll: { type: Boolean, required: false, default: true },
20
- defaultSelectedKeys: { type: Array, required: false, default: () => [] },
21
- nodeKey: { type: String, required: false, default: "id" },
22
- showSearch: { type: Boolean, required: false, default: true },
23
- expandOnClickNode: { type: Boolean, required: false },
24
- placeholder: { type: String, required: false },
25
- title: { type: String, required: false, default: "\u6811\u5F62\u9009\u62E9" },
26
- size: { type: [String, Number], required: false, default: "400px" },
27
- direction: { type: String, required: false, default: "rtl" },
28
- resizable: { type: Boolean, required: false },
29
- withHeader: { type: Boolean, required: false },
30
- modalFade: { type: Boolean, required: false },
31
- headerAriaLevel: { type: String, required: false },
32
- appendToBody: { type: Boolean, required: false },
33
- appendTo: { type: null, required: false },
34
- beforeClose: { type: null, required: false },
35
- destroyOnClose: { type: Boolean, required: false },
36
- closeOnClickModal: { type: Boolean, required: false },
37
- closeOnPressEscape: { type: Boolean, required: false },
38
- lockScroll: { type: Boolean, required: false },
39
- modal: { type: Boolean, required: false },
40
- modalPenetrable: { type: Boolean, required: false },
41
- openDelay: { type: Number, required: false },
42
- closeDelay: { type: Number, required: false },
43
- top: { type: null, required: false },
44
- modelValue: { type: Boolean, required: false },
45
- modalClass: { type: String, required: false },
46
- headerClass: { type: String, required: false },
47
- bodyClass: { type: String, required: false },
48
- footerClass: { type: String, required: false },
49
- width: { type: null, required: false },
50
- zIndex: { type: null, required: false },
51
- trapFocus: { type: Boolean, required: false },
52
- transition: { type: null, required: false },
53
- center: { type: Boolean, required: false },
54
- alignCenter: { type: Boolean, required: false },
55
- closeIcon: { type: null, required: false },
56
- draggable: { type: Boolean, required: false },
57
- overflow: { type: Boolean, required: false },
58
- fullscreen: { type: Boolean, required: false },
59
- showClose: { type: Boolean, required: false },
60
- ariaLevel: { type: String, required: false }
61
- }, {
62
- "modelValue": { type: Boolean, ...{ default: false } },
63
- "modelModifiers": {}
64
- }),
65
- emits: /* @__PURE__ */ vue.mergeModels(["confirm", "close", "input"], ["update:modelValue"]),
66
- setup(__props, { expose: __expose, emit: __emit }) {
67
- const visible = vue.useModel(__props, "modelValue");
68
- const props = __props;
69
- const emit = __emit;
70
- const attrs = vue.useAttrs();
71
- const drawerAttrs = vue.computed(() => {
72
- const result = {
73
- title: props.title,
74
- size: props.size,
75
- direction: props.direction
76
- };
77
- Object.keys(attrs).forEach((key) => {
78
- if (type.drawerPropKeys.includes(key)) {
79
- result[key] = attrs[key];
80
- }
81
- });
82
- return result;
83
- });
84
- const treeSelectAttrs = vue.computed(() => {
85
- const result = {
86
- treeProps: props.treeProps,
87
- multiple: props.multiple,
88
- defaultExpandAll: props.defaultExpandAll,
89
- defaultSelectedKeys: props.defaultSelectedKeys,
90
- nodeKey: props.nodeKey,
91
- showSearch: props.showSearch
92
- };
93
- Object.keys(attrs).forEach((key) => {
94
- if (!type.drawerPropKeys.includes(key) && !key.startsWith("on")) {
95
- result[key] = attrs[key];
96
- }
97
- });
98
- return result;
99
- });
100
- const treeSelectRef = vue.ref();
101
- const searchText = vue.ref("");
102
- vue.watch(visible, (val) => {
103
- if (!val) {
104
- searchText.value = "";
105
- if (treeSelectRef.value) {
106
- treeSelectRef.value.reset();
107
- }
108
- }
109
- });
110
- const handleBeforeClose = (done) => {
111
- visible.value = false;
112
- done();
113
- };
114
- const handleConfirm = (selectedData) => {
115
- emit("confirm", selectedData);
116
- visible.value = false;
117
- };
118
- const handleCancel = () => {
119
- visible.value = false;
120
- };
121
- __expose({
122
- input: (value) => emit("input", value),
123
- searchText,
124
- treeRef: treeSelectRef
125
- });
126
- return (_ctx, _cache) => {
127
- const _component_el_drawer = vue.resolveComponent("el-drawer");
128
- return vue.openBlock(), vue.createBlock(_component_el_drawer, vue.mergeProps({
129
- modelValue: visible.value,
130
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => visible.value = $event)
131
- }, drawerAttrs.value, {
132
- class: vue.unref(index.bem)("tree-select-drawer"),
133
- "before-close": handleBeforeClose,
134
- onClose: _cache[2] || (_cache[2] = ($event) => emit("close"))
135
- }), {
136
- default: vue.withCtx(() => [
137
- vue.createVNode(index_vue_vue_type_script_setup_true_lang.default, vue.mergeProps({
138
- ref_key: "treeSelectRef",
139
- ref: treeSelectRef,
140
- "search-text": searchText.value,
141
- "onUpdate:searchText": _cache[0] || (_cache[0] = ($event) => searchText.value = $event),
142
- "tree-data": __props.treeData
143
- }, treeSelectAttrs.value, vue.toHandlers(_ctx.$attrs), {
144
- onConfirm: handleConfirm,
145
- onCancel: handleCancel
146
- }), null, 16, ["search-text", "tree-data"])
147
- ]),
148
- _: 1
149
- /* STABLE */
150
- }, 16, ["modelValue", "class"]);
151
- };
152
- }
153
- });
154
-
155
- exports.default = _sfc_main;
@@ -1,10 +0,0 @@
1
- import { TreeSelectProps } from '../tree-select/type';
2
- import { DrawerProps } from 'element-plus';
3
- export interface DrawerContainerProps extends Partial<DrawerProps> {
4
- title?: string;
5
- size?: string | number;
6
- direction?: 'rtl' | 'ltr' | 'ttb' | 'btt';
7
- }
8
- export interface TreeSelectDrawerProps<T = any> extends TreeSelectProps<T>, DrawerContainerProps {
9
- }
10
- export declare const drawerPropKeys: string[];
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- const drawerPropKeys = [
4
- "title",
5
- "size",
6
- "direction",
7
- "appendToBody",
8
- "appendTo",
9
- "modal",
10
- "modalClass",
11
- "lockScroll",
12
- "closeOnClickModal",
13
- "closeOnPressEscape",
14
- "showClose",
15
- "withHeader",
16
- "openDelay",
17
- "closeDelay",
18
- "destroyOnClose",
19
- "zIndex"
20
- ];
21
-
22
- exports.drawerPropKeys = drawerPropKeys;
@@ -1,59 +0,0 @@
1
- export declare const MlVirtualList: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').MlVirtualListProps> & Readonly<{
3
- "onLoad-more"?: () => any;
4
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
- "load-more": () => any;
6
- }, import('vue').PublicProps, {
7
- height: number;
8
- itemHeight: number;
9
- estimatedItemHeight: number;
10
- itemEqual: boolean;
11
- preLoadCount: number;
12
- threshold: number;
13
- dataSource: any[];
14
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
15
- containerRef: HTMLDivElement;
16
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
17
- P: {};
18
- B: {};
19
- D: {};
20
- C: {};
21
- M: {};
22
- Defaults: {};
23
- }, Readonly<import('./type').MlVirtualListProps> & Readonly<{
24
- "onLoad-more"?: () => any;
25
- }>, {}, {}, {}, {}, {
26
- height: number;
27
- itemHeight: number;
28
- estimatedItemHeight: number;
29
- itemEqual: boolean;
30
- preLoadCount: number;
31
- threshold: number;
32
- dataSource: any[];
33
- }>;
34
- __isFragment?: never;
35
- __isTeleport?: never;
36
- __isSuspense?: never;
37
- } & import('vue').ComponentOptionsBase<Readonly<import('./type').MlVirtualListProps> & Readonly<{
38
- "onLoad-more"?: () => any;
39
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
40
- "load-more": () => any;
41
- }, string, {
42
- height: number;
43
- itemHeight: number;
44
- estimatedItemHeight: number;
45
- itemEqual: boolean;
46
- preLoadCount: number;
47
- threshold: number;
48
- dataSource: any[];
49
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
50
- $slots: {
51
- default?(_: {
52
- item: any;
53
- index: number;
54
- }): any;
55
- loading?(_: {}): any;
56
- finished?(_: {}): any;
57
- };
58
- });
59
- export default MlVirtualList;
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var index = require('../../utils/index.js');
6
- var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
7
-
8
- const MlVirtualList = index.withInstall(index_vue_vue_type_script_setup_true_lang.default);
9
-
10
- exports.MlVirtualList = MlVirtualList;
11
- exports.default = MlVirtualList;
@@ -1,39 +0,0 @@
1
- import { MlVirtualListProps } from './type';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {
6
- item: any;
7
- index: number;
8
- }): any;
9
- loading?(_: {}): any;
10
- finished?(_: {}): any;
11
- };
12
- refs: {
13
- containerRef: HTMLDivElement;
14
- };
15
- rootEl: HTMLDivElement;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<MlVirtualListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
- "load-more": () => any;
20
- }, string, import('vue').PublicProps, Readonly<MlVirtualListProps> & Readonly<{
21
- "onLoad-more"?: () => any;
22
- }>, {
23
- height: number;
24
- itemHeight: number;
25
- estimatedItemHeight: number;
26
- itemEqual: boolean;
27
- preLoadCount: number;
28
- threshold: number;
29
- dataSource: any[];
30
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
31
- containerRef: HTMLDivElement;
32
- }, HTMLDivElement>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
- export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
36
- new (): {
37
- $slots: S;
38
- };
39
- };
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
6
-
7
-
8
-
9
- exports.default = index_vue_vue_type_script_setup_true_lang.default;