@vunk/form 2.19.0 → 2.19.2

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 (206) hide show
  1. package/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  2. package/components/api-tables-select/index.cjs +1 -1
  3. package/components/api-tables-select/index.mjs +1 -1
  4. package/components/api-tables-select/src/ctx.d.ts +16 -22
  5. package/components/api-tables-select/src/index.vue.d.ts +39 -43
  6. package/components/button/index.cjs +1 -1
  7. package/components/button/index.mjs +2 -3
  8. package/components/button/src/ctx.d.ts +7 -7
  9. package/components/button/src/index.vue.d.ts +64 -63
  10. package/components/card-input-collection/index.cjs +1 -1
  11. package/components/card-input-collection/index.mjs +9 -9
  12. package/components/card-input-collection/src/core.vue.d.ts +12 -8
  13. package/components/card-input-collection/src/ctx.d.ts +2 -2
  14. package/components/card-input-collection/src/index.vue.d.ts +7 -6
  15. package/components/cascader/src/ctx.d.ts +33 -25
  16. package/components/cascader/src/index.vue.d.ts +67 -50
  17. package/components/cascader/src/use.d.ts +1 -1
  18. package/components/checkbox/index.cjs +1 -1
  19. package/components/checkbox/index.mjs +4 -4
  20. package/components/checkbox/src/ctx.d.ts +19 -19
  21. package/components/checkbox/src/index.vue.d.ts +128 -127
  22. package/components/cloneDeep-DE0l40hv.mjs +486 -0
  23. package/components/cloneDeep-DaYwfXwD.js +1 -0
  24. package/components/color-picker/src/ctx.d.ts +22 -14
  25. package/components/color-picker/src/index.vue.d.ts +52 -32
  26. package/components/date-picker/src/ctx.d.ts +32 -24
  27. package/components/date-picker/src/index.vue.d.ts +68 -51
  28. package/components/date-picker-range/index.cjs +1 -1
  29. package/components/date-picker-range/index.mjs +1 -1
  30. package/components/date-picker-range/src/ctx.d.ts +23 -15
  31. package/components/date-picker-range/src/index.vue.d.ts +131 -98
  32. package/components/debounce-CliSPkvP.js +1 -0
  33. package/components/debounce-DIph5ENi.mjs +85 -0
  34. package/components/dialog/src/ctx.d.ts +5 -5
  35. package/components/dialog/src/index.vue.d.ts +18 -16
  36. package/components/dialog-input-collection/index.cjs +1 -1
  37. package/components/dialog-input-collection/index.mjs +11 -11
  38. package/components/dialog-input-collection/src/ctx.d.ts +4 -3
  39. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +12 -8
  40. package/components/dialog-input-collection/src/index.vue.d.ts +13 -11
  41. package/components/dialog-input-collection/src/layout.vue.d.ts +8 -4
  42. package/components/download-plus/index.cjs +1 -1
  43. package/components/download-plus/index.mjs +24 -25
  44. package/components/download-plus/src/api.d.ts +1 -1
  45. package/components/download-plus/src/ctx.d.ts +4 -3
  46. package/components/download-plus/src/index.vue.d.ts +81 -78
  47. package/components/editable-text/index.cjs +1 -1
  48. package/components/editable-text/index.mjs +1 -1
  49. package/components/editable-text/src/ctx.d.ts +2 -6
  50. package/components/editable-text/src/index.vue.d.ts +14 -10
  51. package/components/el-slider/index.cjs +1 -1
  52. package/components/el-slider/index.mjs +5 -5
  53. package/components/el-slider/src/button.vue.d.ts +2 -1
  54. package/components/el-slider/src/composables/index.cjs +1 -1
  55. package/components/el-slider/src/composables/index.mjs +1 -1
  56. package/components/el-slider/src/composables/use-slide.d.ts +1 -1
  57. package/components/el-slider/src/composables/use-slider-button.d.ts +1 -1
  58. package/components/el-slider/src/composables/use-watch.d.ts +1 -1
  59. package/components/el-slider/src/slider-core.vue.d.ts +7 -6
  60. package/components/el-slider/src/slider.d.ts +2 -1
  61. package/components/esri-input-geojson/index.cjs +1 -1
  62. package/components/esri-input-geojson/index.mjs +42 -57
  63. package/components/esri-input-geojson/src/append.vue.d.ts +97 -96
  64. package/components/esri-input-geojson/src/ctx.d.ts +21 -22
  65. package/components/esri-input-geojson/src/default-view.vue.d.ts +7 -3
  66. package/components/esri-input-geojson/src/index.vue.d.ts +593 -186
  67. package/components/esri-input-geojson/src/types.d.ts +0 -1
  68. package/components/esri-input-geojson/src/viewer.vue.d.ts +406 -40
  69. package/components/fieldset/index.cjs +1 -1
  70. package/components/fieldset/index.mjs +3 -5
  71. package/components/fieldset/src/index.vue.d.ts +3 -2
  72. package/components/form/index.cjs +1 -1
  73. package/components/form/index.mjs +1 -1
  74. package/components/form/src/ctx.d.ts +1 -1
  75. package/components/form/src/index.vue.d.ts +68 -67
  76. package/components/form-item/index.cjs +1 -1
  77. package/components/form-item/index.mjs +7 -8
  78. package/components/form-item/src/core.vue.d.ts +12 -10
  79. package/components/form-item/src/ctx.d.ts +6 -4
  80. package/components/form-item/src/index.vue.d.ts +7 -6
  81. package/components/form-item-renderer/index.mjs +2 -3
  82. package/components/form-item-renderer/src/core.vue.d.ts +3 -2
  83. package/components/form-item-renderer/src/index.vue.d.ts +7 -5
  84. package/components/form-item-renderer-template/index.mjs +1 -2
  85. package/components/form-item-renderer-template/src/index.vue.d.ts +3 -2
  86. package/components/forms-provider/src/index.vue.d.ts +5 -2
  87. package/components/forms-provider/src/segment.vue.d.ts +7 -3
  88. package/components/forms-provider/src/view.vue.d.ts +11 -7
  89. package/components/index-BCZuzyeO.mjs +317 -0
  90. package/components/index-BNPcMpOO.js +1 -0
  91. package/components/index-DJv1MwwH.mjs +14 -0
  92. package/components/information/src/index.vue.d.ts +3 -2
  93. package/components/information-collection/src/ctx.d.ts +17 -11
  94. package/components/information-collection/src/index.vue.d.ts +36 -27
  95. package/components/information-renderer/index.d.ts +9 -9
  96. package/components/information-tag/src/ctx.d.ts +4 -3
  97. package/components/information-tag/src/index.vue.d.ts +12 -11
  98. package/components/information-templates-default/src/index.vue.d.ts +2 -1
  99. package/components/input/index.cjs +1 -1
  100. package/components/input/index.mjs +1 -1
  101. package/components/input/src/ctx.d.ts +20 -20
  102. package/components/input/src/index.vue.d.ts +70 -69
  103. package/components/input-array/index.cjs +1 -1
  104. package/components/input-array/index.mjs +2 -2
  105. package/components/input-array/src/ctx.d.ts +2 -2
  106. package/components/input-array/src/form-template.vue.d.ts +2 -1
  107. package/components/input-array/src/index.vue.d.ts +6 -5
  108. package/components/input-collection/index.cjs +1 -1
  109. package/components/input-collection/index.mjs +2 -2
  110. package/components/input-collection/src/core.vue.d.ts +17 -15
  111. package/components/input-collection/src/ctx.d.ts +4 -4
  112. package/components/input-collection/src/index.vue.d.ts +13 -12
  113. package/components/input-file/src/index.vue.d.ts +51 -50
  114. package/components/input-file/src/template.vue.d.ts +2 -1
  115. package/components/input-link/index.cjs +1 -1
  116. package/components/input-link/index.mjs +2 -2
  117. package/components/input-link/src/ctx.d.ts +19 -21
  118. package/components/input-link/src/index.vue.d.ts +111 -110
  119. package/components/input-number/index.cjs +1 -1
  120. package/components/input-number/index.mjs +1 -1
  121. package/components/input-number/src/ctx.d.ts +5 -5
  122. package/components/input-number/src/index.vue.d.ts +39 -38
  123. package/components/input-tag/index.cjs +1 -1
  124. package/components/input-tag/index.mjs +1 -1
  125. package/components/input-tag/src/ctx.d.ts +10 -10
  126. package/components/input-tag/src/index.vue.d.ts +48 -47
  127. package/components/isObject-DQpnfMRp.mjs +34 -0
  128. package/components/monaco-editor/index.cjs +1 -1
  129. package/components/monaco-editor/index.mjs +1 -1
  130. package/components/monaco-editor/src/ctx.d.ts +2 -2
  131. package/components/monaco-editor/src/index.vue.d.ts +17 -16
  132. package/components/radio/index.cjs +1 -1
  133. package/components/radio/index.mjs +3 -3
  134. package/components/radio/src/ctx.d.ts +3 -3
  135. package/components/radio/src/index.vue.d.ts +32 -31
  136. package/components/radio/src/option.vue.d.ts +12 -10
  137. package/components/radio/src/wraper.vue.d.ts +9 -8
  138. package/components/renderer-data/src/index.vue.d.ts +3 -2
  139. package/components/select/index.cjs +1 -1
  140. package/components/select/index.mjs +1 -1
  141. package/components/select/src/core.vue.d.ts +99 -239
  142. package/components/select/src/ctx.d.ts +23 -95
  143. package/components/select/src/index.vue.d.ts +76 -75
  144. package/components/select/src/options.vue.d.ts +3 -2
  145. package/components/slider/src/ctx.d.ts +10 -10
  146. package/components/slider/src/index.vue.d.ts +29 -25
  147. package/components/style.css +1 -1
  148. package/components/switch/src/ctx.d.ts +11 -11
  149. package/components/switch/src/index.vue.d.ts +24 -20
  150. package/components/tables-select/index.mjs +1 -2
  151. package/components/tables-select/src/ctx.d.ts +27 -43
  152. package/components/tables-select/src/index.vue.d.ts +57 -71
  153. package/components/template-instances-provider/src/index.vue.d.ts +3 -2
  154. package/components/templates-default/index.cjs +1 -1
  155. package/components/templates-default/index.mjs +1 -1
  156. package/components/templates-default/src/ctx.d.ts +3 -5
  157. package/components/templates-default/src/index.vue.d.ts +778 -727
  158. package/components/templates-element-plus/index.cjs +1 -1
  159. package/components/templates-element-plus/index.mjs +4 -4
  160. package/components/templates-element-plus/src/index.vue.d.ts +27 -26
  161. package/components/templates-esri/index.cjs +1 -1
  162. package/components/templates-esri/index.mjs +1 -1
  163. package/components/templates-esri/src/index.vue.d.ts +600 -193
  164. package/components/templates-layout/index.cjs +1 -1
  165. package/components/templates-layout/index.mjs +4 -4
  166. package/components/templates-layout/src/index.vue.d.ts +14 -13
  167. package/components/templates-variant/index.cjs +1 -1
  168. package/components/templates-variant/index.mjs +1 -1
  169. package/components/templates-variant/src/index.vue.d.ts +132 -99
  170. package/components/time-picker/src/ctx.d.ts +31 -23
  171. package/components/time-picker/src/index.vue.d.ts +66 -49
  172. package/components/upload/index.cjs +1 -1
  173. package/components/upload/index.mjs +46 -46
  174. package/components/upload/src/ctx.d.ts +24 -22
  175. package/components/upload/src/file.vue.d.ts +75 -73
  176. package/components/upload/src/index.vue.d.ts +188 -187
  177. package/components/upload/src/wraper.vue.d.ts +48 -47
  178. package/components/upload-plus/index.cjs +7 -7
  179. package/components/upload-plus/index.mjs +1911 -1937
  180. package/components/upload-plus/src/api.d.ts +1 -1
  181. package/components/upload-plus/src/ctx.d.ts +2 -5
  182. package/components/upload-plus/src/index.vue.d.ts +6 -5
  183. package/components/use-watch-Bfrz9pv_.js +1 -0
  184. package/components/use-watch-t49wP7jy.mjs +414 -0
  185. package/components/van-cascader/src/ctx.d.ts +33 -25
  186. package/components/van-cascader/src/index.vue.d.ts +67 -50
  187. package/components/var-datetime-picker/index.cjs +1 -1
  188. package/components/var-datetime-picker/index.mjs +19 -21
  189. package/components/var-datetime-picker/src/ctx.d.ts +4 -3
  190. package/components/var-datetime-picker/src/index.vue.d.ts +144 -179
  191. package/components/vditor/index.cjs +1 -1
  192. package/components/vditor/index.mjs +1 -1
  193. package/components/vditor/src/ctx.d.ts +2 -3
  194. package/components/vditor/src/index.vue.d.ts +19 -19
  195. package/composables/index.mjs +3 -5
  196. package/composables/useSourceManager.d.ts +2 -2
  197. package/index.css +1 -1
  198. package/package.json +1 -1
  199. package/shared/element-plus/instances.d.ts +60 -43
  200. package/components/cloneDeep.cjs +0 -1
  201. package/components/debounce.cjs +0 -1
  202. package/components/index2.cjs +0 -1
  203. package/components/use-watch.cjs +0 -1
  204. /package/components/{_plugin-vue_export-helper.cjs → _plugin-vue_export-helper-BHFhmbuH.js} +0 -0
  205. /package/components/{index.cjs → index-DSyxYMB0.js} +0 -0
  206. /package/components/{isObject.cjs → isObject-fAvOGw_H.js} +0 -0
@@ -11,8 +11,7 @@ const p = {
11
11
  props: p,
12
12
  setup(t) {
13
13
  const e = o();
14
- if (!e)
15
- throw new Error();
14
+ if (!e) throw new Error();
16
15
  const n = a(), r = e[t.type];
17
16
  return n && e && (e[t.type] = n), s(() => {
18
17
  e[t.type] = r;
@@ -1,4 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  type: {
3
5
  type: StringConstructor;
4
6
  required: boolean;
@@ -13,4 +15,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
15
  }>> & Readonly<{}>, {
14
16
  type: string;
15
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
- export default _default;
@@ -1,2 +1,5 @@
1
- import { SegmentRenderer } from './core';
2
- export default SegmentRenderer;
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4
+ [key: string]: any;
5
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,10 @@
1
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
- default?: ((props: {}) => any) | undefined;
3
- }>;
1
+ declare var __VLS_7: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_7) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
4
8
  export default _default;
5
9
  type __VLS_WithSlots<T, S> = T & {
6
10
  new (): {
@@ -1,14 +1,18 @@
1
1
  import { SegmentAttrs } from './types';
2
2
  declare function validate(): Promise<boolean[]>;
3
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
3
+ declare var __VLS_1: {
4
+ forms: SegmentAttrs[];
5
+ validate: typeof validate;
6
+ };
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<{}, {
4
11
  forms: import("vue").ComputedRef<SegmentAttrs[]>;
5
12
  validate: typeof validate;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
7
- default?: ((props: {
8
- forms: SegmentAttrs[];
9
- validate: typeof validate;
10
- }) => any) | undefined;
11
- }>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
12
16
  export default _default;
13
17
  type __VLS_WithSlots<T, S> = T & {
14
18
  new (): {
@@ -0,0 +1,317 @@
1
+ import { defineComponent as e, openBlock as t, createElementBlock as l, createElementVNode as a } from "vue";
2
+ /*! Element Plus Icons Vue v2.3.2 */
3
+ var c = /* @__PURE__ */ e({
4
+ name: "Check",
5
+ __name: "check",
6
+ setup(_) {
7
+ return (r, s) => (t(), l("svg", {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ viewBox: "0 0 1024 1024"
10
+ }, [
11
+ a("path", {
12
+ fill: "currentColor",
13
+ d: "M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
14
+ })
15
+ ]));
16
+ }
17
+ }), k = c, o = /* @__PURE__ */ e({
18
+ name: "CircleCheck",
19
+ __name: "circle-check",
20
+ setup(_) {
21
+ return (r, s) => (t(), l("svg", {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ viewBox: "0 0 1024 1024"
24
+ }, [
25
+ a("path", {
26
+ fill: "currentColor",
27
+ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
28
+ }),
29
+ a("path", {
30
+ fill: "currentColor",
31
+ d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"
32
+ })
33
+ ]));
34
+ }
35
+ }), D = o, n = /* @__PURE__ */ e({
36
+ name: "CircleCloseFilled",
37
+ __name: "circle-close-filled",
38
+ setup(_) {
39
+ return (r, s) => (t(), l("svg", {
40
+ xmlns: "http://www.w3.org/2000/svg",
41
+ viewBox: "0 0 1024 1024"
42
+ }, [
43
+ a("path", {
44
+ fill: "currentColor",
45
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
46
+ })
47
+ ]));
48
+ }
49
+ }), b = n, m = /* @__PURE__ */ e({
50
+ name: "CloseBold",
51
+ __name: "close-bold",
52
+ setup(_) {
53
+ return (r, s) => (t(), l("svg", {
54
+ xmlns: "http://www.w3.org/2000/svg",
55
+ viewBox: "0 0 1024 1024"
56
+ }, [
57
+ a("path", {
58
+ fill: "currentColor",
59
+ d: "M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"
60
+ })
61
+ ]));
62
+ }
63
+ }), E = m, p = /* @__PURE__ */ e({
64
+ name: "Close",
65
+ __name: "close",
66
+ setup(_) {
67
+ return (r, s) => (t(), l("svg", {
68
+ xmlns: "http://www.w3.org/2000/svg",
69
+ viewBox: "0 0 1024 1024"
70
+ }, [
71
+ a("path", {
72
+ fill: "currentColor",
73
+ d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
74
+ })
75
+ ]));
76
+ }
77
+ }), F = p, v = /* @__PURE__ */ e({
78
+ name: "Delete",
79
+ __name: "delete",
80
+ setup(_) {
81
+ return (r, s) => (t(), l("svg", {
82
+ xmlns: "http://www.w3.org/2000/svg",
83
+ viewBox: "0 0 1024 1024"
84
+ }, [
85
+ a("path", {
86
+ fill: "currentColor",
87
+ d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"
88
+ })
89
+ ]));
90
+ }
91
+ }), A = v, w = /* @__PURE__ */ e({
92
+ name: "DocumentChecked",
93
+ __name: "document-checked",
94
+ setup(_) {
95
+ return (r, s) => (t(), l("svg", {
96
+ xmlns: "http://www.w3.org/2000/svg",
97
+ viewBox: "0 0 1024 1024"
98
+ }, [
99
+ a("path", {
100
+ fill: "currentColor",
101
+ d: "M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"
102
+ })
103
+ ]));
104
+ }
105
+ }), S = w, h = /* @__PURE__ */ e({
106
+ name: "Document",
107
+ __name: "document",
108
+ setup(_) {
109
+ return (r, s) => (t(), l("svg", {
110
+ xmlns: "http://www.w3.org/2000/svg",
111
+ viewBox: "0 0 1024 1024"
112
+ }, [
113
+ a("path", {
114
+ fill: "currentColor",
115
+ d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
116
+ })
117
+ ]));
118
+ }
119
+ }), U = h, u = /* @__PURE__ */ e({
120
+ name: "Download",
121
+ __name: "download",
122
+ setup(_) {
123
+ return (r, s) => (t(), l("svg", {
124
+ xmlns: "http://www.w3.org/2000/svg",
125
+ viewBox: "0 0 1024 1024"
126
+ }, [
127
+ a("path", {
128
+ fill: "currentColor",
129
+ d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"
130
+ })
131
+ ]));
132
+ }
133
+ }), j = u, i = /* @__PURE__ */ e({
134
+ name: "Edit",
135
+ __name: "edit",
136
+ setup(_) {
137
+ return (r, s) => (t(), l("svg", {
138
+ xmlns: "http://www.w3.org/2000/svg",
139
+ viewBox: "0 0 1024 1024"
140
+ }, [
141
+ a("path", {
142
+ fill: "currentColor",
143
+ d: "M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"
144
+ }),
145
+ a("path", {
146
+ fill: "currentColor",
147
+ d: "m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"
148
+ })
149
+ ]));
150
+ }
151
+ }), I = i, d = /* @__PURE__ */ e({
152
+ name: "MapLocation",
153
+ __name: "map-location",
154
+ setup(_) {
155
+ return (r, s) => (t(), l("svg", {
156
+ xmlns: "http://www.w3.org/2000/svg",
157
+ viewBox: "0 0 1024 1024"
158
+ }, [
159
+ a("path", {
160
+ fill: "currentColor",
161
+ d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"
162
+ }),
163
+ a("path", {
164
+ fill: "currentColor",
165
+ d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"
166
+ })
167
+ ]));
168
+ }
169
+ }), N = d, f = /* @__PURE__ */ e({
170
+ name: "Minus",
171
+ __name: "minus",
172
+ setup(_) {
173
+ return (r, s) => (t(), l("svg", {
174
+ xmlns: "http://www.w3.org/2000/svg",
175
+ viewBox: "0 0 1024 1024"
176
+ }, [
177
+ a("path", {
178
+ fill: "currentColor",
179
+ d: "M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"
180
+ })
181
+ ]));
182
+ }
183
+ }), P = f, g = /* @__PURE__ */ e({
184
+ name: "Plus",
185
+ __name: "plus",
186
+ setup(_) {
187
+ return (r, s) => (t(), l("svg", {
188
+ xmlns: "http://www.w3.org/2000/svg",
189
+ viewBox: "0 0 1024 1024"
190
+ }, [
191
+ a("path", {
192
+ fill: "currentColor",
193
+ d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
194
+ })
195
+ ]));
196
+ }
197
+ }), R = g, x = /* @__PURE__ */ e({
198
+ name: "Right",
199
+ __name: "right",
200
+ setup(_) {
201
+ return (r, s) => (t(), l("svg", {
202
+ xmlns: "http://www.w3.org/2000/svg",
203
+ viewBox: "0 0 1024 1024"
204
+ }, [
205
+ a("path", {
206
+ fill: "currentColor",
207
+ d: "M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"
208
+ })
209
+ ]));
210
+ }
211
+ }), W = x, C = /* @__PURE__ */ e({
212
+ name: "Select",
213
+ __name: "select",
214
+ setup(_) {
215
+ return (r, s) => (t(), l("svg", {
216
+ xmlns: "http://www.w3.org/2000/svg",
217
+ viewBox: "0 0 1024 1024"
218
+ }, [
219
+ a("path", {
220
+ fill: "currentColor",
221
+ d: "M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"
222
+ })
223
+ ]));
224
+ }
225
+ }), Z = C, z = /* @__PURE__ */ e({
226
+ name: "SuccessFilled",
227
+ __name: "success-filled",
228
+ setup(_) {
229
+ return (r, s) => (t(), l("svg", {
230
+ xmlns: "http://www.w3.org/2000/svg",
231
+ viewBox: "0 0 1024 1024"
232
+ }, [
233
+ a("path", {
234
+ fill: "currentColor",
235
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
236
+ })
237
+ ]));
238
+ }
239
+ }), q = z, M = /* @__PURE__ */ e({
240
+ name: "UploadFilled",
241
+ __name: "upload-filled",
242
+ setup(_) {
243
+ return (r, s) => (t(), l("svg", {
244
+ xmlns: "http://www.w3.org/2000/svg",
245
+ viewBox: "0 0 1024 1024"
246
+ }, [
247
+ a("path", {
248
+ fill: "currentColor",
249
+ d: "M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"
250
+ })
251
+ ]));
252
+ }
253
+ }), y = M, L = /* @__PURE__ */ e({
254
+ name: "Upload",
255
+ __name: "upload",
256
+ setup(_) {
257
+ return (r, s) => (t(), l("svg", {
258
+ xmlns: "http://www.w3.org/2000/svg",
259
+ viewBox: "0 0 1024 1024"
260
+ }, [
261
+ a("path", {
262
+ fill: "currentColor",
263
+ d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
264
+ })
265
+ ]));
266
+ }
267
+ }), G = L, H = /* @__PURE__ */ e({
268
+ name: "Warning",
269
+ __name: "warning",
270
+ setup(_) {
271
+ return (r, s) => (t(), l("svg", {
272
+ xmlns: "http://www.w3.org/2000/svg",
273
+ viewBox: "0 0 1024 1024"
274
+ }, [
275
+ a("path", {
276
+ fill: "currentColor",
277
+ d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
278
+ })
279
+ ]));
280
+ }
281
+ }), J = H, B = /* @__PURE__ */ e({
282
+ name: "ZoomIn",
283
+ __name: "zoom-in",
284
+ setup(_) {
285
+ return (r, s) => (t(), l("svg", {
286
+ xmlns: "http://www.w3.org/2000/svg",
287
+ viewBox: "0 0 1024 1024"
288
+ }, [
289
+ a("path", {
290
+ fill: "currentColor",
291
+ d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
292
+ })
293
+ ]));
294
+ }
295
+ }), K = B;
296
+ export {
297
+ b as a,
298
+ j as b,
299
+ E as c,
300
+ A as d,
301
+ I as e,
302
+ q as f,
303
+ U as g,
304
+ D as h,
305
+ F as i,
306
+ k as j,
307
+ N as k,
308
+ G as l,
309
+ P as m,
310
+ S as n,
311
+ R as p,
312
+ W as r,
313
+ Z as s,
314
+ y as u,
315
+ J as w,
316
+ K as z
317
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e={TokenKey:"VUNK_SKZZ_REST_TOKEN",TenantKey:"VUNK_SKZZ_REST_TENANT"};function t(){return localStorage.getItem(e.TokenKey)||""}function n(){return localStorage.getItem(e.TenantKey)||""}exports.getTenant=n;exports.getToken=t;
@@ -0,0 +1,14 @@
1
+ const e = {
2
+ TokenKey: "VUNK_SKZZ_REST_TOKEN",
3
+ TenantKey: "VUNK_SKZZ_REST_TENANT"
4
+ };
5
+ function n() {
6
+ return localStorage.getItem(e.TokenKey) || "";
7
+ }
8
+ function t() {
9
+ return localStorage.getItem(e.TenantKey) || "";
10
+ }
11
+ export {
12
+ t as a,
13
+ n as g
14
+ };
@@ -1,4 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
4
  data: {
3
5
  type: import("vue").PropType<import("@vunk/shared").NormalObject>;
4
6
  default: () => {};
@@ -24,4 +26,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
24
26
  data: import("@vunk/shared").NormalObject;
25
27
  formItems: any[];
26
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
- export default _default;
@@ -1,5 +1,7 @@
1
+ import { Func } from '@vunk/core';
1
2
  import { AnyFunc, NormalObject } from '@vunk/shared';
2
3
  import type { PropType } from 'vue';
4
+ import { TagProps } from 'element-plus';
3
5
  export declare const props: {
4
6
  information: {
5
7
  type: BooleanConstructor;
@@ -14,10 +16,12 @@ export declare const props: {
14
16
  isArray(arg: any): arg is any[];
15
17
  readonly prototype: any[];
16
18
  from<T>(arrayLike: ArrayLike<T>): T[];
17
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
18
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
19
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
20
- of<T_4>(...items: T_4[]): T_4[];
19
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
20
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
21
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
22
+ of<T>(...items: T[]): T[];
23
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
24
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
21
25
  readonly [Symbol.species]: ArrayConstructor;
22
26
  };
23
27
  default: () => never[];
@@ -31,10 +35,12 @@ export declare const props: {
31
35
  isArray(arg: any): arg is any[];
32
36
  readonly prototype: any[];
33
37
  from<T>(arrayLike: ArrayLike<T>): T[];
34
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
35
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
36
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
37
- of<T_4>(...items: T_4[]): T_4[];
38
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
39
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
40
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
41
+ of<T>(...items: T[]): T[];
42
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
43
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
38
44
  readonly [Symbol.species]: ArrayConstructor;
39
45
  };
40
46
  default: () => never[];
@@ -44,7 +50,7 @@ export declare const props: {
44
50
  default: undefined;
45
51
  };
46
52
  typeRender: {
47
- type: PropType<((...args: any) => "primary" | "success" | "warning" | "info" | "danger" | undefined) | ((arg: any) => "primary" | "success" | "warning" | "info" | "danger" | undefined)>;
53
+ type: PropType<Func<any, TagProps["type"]>>;
48
54
  default: undefined;
49
55
  };
50
56
  required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
@@ -88,14 +94,14 @@ export declare const props: {
88
94
  };
89
95
  labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
90
96
  rules: {
91
- readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
97
+ readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
92
98
  readonly required: false;
93
99
  readonly validator: ((val: unknown) => boolean) | undefined;
94
100
  __epPropKey: true;
95
101
  };
96
102
  error: StringConstructor;
97
103
  validateStatus: {
98
- readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
104
+ readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
99
105
  readonly required: false;
100
106
  readonly validator: ((val: unknown) => boolean) | undefined;
101
107
  __epPropKey: true;