@vunk/form 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/components/button/index.d.ts +4 -0
  2. package/components/button/src/ctx.d.ts +96 -0
  3. package/components/button/src/index.vue.d.ts +462 -0
  4. package/components/button/src/types.d.ts +13 -0
  5. package/components/cascader/index.d.ts +6 -0
  6. package/components/cascader/src/ctx.d.ts +131 -0
  7. package/components/cascader/src/index.vue.d.ts +334 -0
  8. package/components/cascader/src/types.d.ts +7 -0
  9. package/components/cascader/src/use.d.ts +5 -0
  10. package/components/checkbox/index.cjs +4 -4
  11. package/components/checkbox/index.d.ts +5 -0
  12. package/components/checkbox/index.mjs +4 -4
  13. package/components/checkbox/src/ctx.d.ts +89 -0
  14. package/components/checkbox/src/index.vue.d.ts +1114 -0
  15. package/components/checkbox/src/types.d.ts +8 -0
  16. package/components/color-picker/index.cjs +1 -1
  17. package/components/color-picker/index.d.ts +4 -0
  18. package/components/color-picker/index.mjs +1 -1
  19. package/components/color-picker/src/ctx.d.ts +80 -0
  20. package/components/color-picker/src/index.vue.d.ts +191 -0
  21. package/components/color-picker/src/types.d.ts +7 -0
  22. package/components/date-picker/index.cjs +1 -2
  23. package/components/date-picker/index.d.ts +5 -0
  24. package/components/date-picker/index.mjs +1 -2
  25. package/components/date-picker/src/ctx.d.ts +166 -0
  26. package/components/date-picker/src/index.vue.d.ts +626 -0
  27. package/components/date-picker/src/types.d.ts +20 -0
  28. package/components/date-picker-range/index.d.ts +4 -0
  29. package/components/date-picker-range/src/ctx.d.ts +185 -0
  30. package/components/date-picker-range/src/index.vue.d.ts +428 -0
  31. package/components/date-picker-range/src/types.d.ts +12 -0
  32. package/components/download-plus/index.d.ts +4 -0
  33. package/components/download-plus/src/api.d.ts +13 -0
  34. package/components/download-plus/src/const.d.ts +9 -0
  35. package/components/download-plus/src/ctx.d.ts +84 -0
  36. package/components/download-plus/src/index.vue.d.ts +955 -0
  37. package/components/download-plus/src/types.d.ts +17 -0
  38. package/components/esri-input-geojson/index.d.ts +6 -0
  39. package/components/esri-input-geojson/src/append.vue.d.ts +828 -0
  40. package/components/esri-input-geojson/src/const.d.ts +12 -0
  41. package/components/esri-input-geojson/src/ctx.d.ts +229 -0
  42. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  43. package/components/esri-input-geojson/src/index.vue.d.ts +1261 -0
  44. package/components/esri-input-geojson/src/types.d.ts +22 -0
  45. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  46. package/components/form/index.d.ts +5 -0
  47. package/components/form/src/ctx.d.ts +84 -0
  48. package/components/form/src/index.vue.d.ts +726 -0
  49. package/components/form/src/types.d.ts +12 -0
  50. package/components/form/src/utils.d.ts +15 -0
  51. package/components/form-item/index.d.ts +5 -0
  52. package/components/form-item/src/ctx.d.ts +62 -0
  53. package/components/form-item/src/index.vue.d.ts +303 -0
  54. package/components/form-item/src/types.d.ts +6 -0
  55. package/components/form-item-renderer/index.d.ts +5 -0
  56. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  57. package/components/form-item-renderer/src/index.vue.d.ts +38 -0
  58. package/components/form-item-renderer/src/symbols.d.ts +3 -0
  59. package/components/form-item-renderer/src/types.d.ts +8 -0
  60. package/components/form-item-renderer-template/index.d.ts +4 -0
  61. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  62. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  63. package/components/form-item-renderer-template/src/types.d.ts +1 -0
  64. package/components/geoinput/index.d.ts +4 -0
  65. package/components/geoinput/src/ctx.d.ts +234 -0
  66. package/components/geoinput/src/index.vue.d.ts +531 -0
  67. package/components/geoinput/src/types.d.ts +12 -0
  68. package/components/geoinput-read/index.d.ts +5 -0
  69. package/components/geoinput-read/src/append.vue.d.ts +341 -0
  70. package/components/geoinput-read/src/core.vue.d.ts +649 -0
  71. package/components/geoinput-read/src/ctx.d.ts +205 -0
  72. package/components/geoinput-read/src/index.vue.d.ts +1186 -0
  73. package/components/geoinput-read/src/types.d.ts +3 -0
  74. package/components/geoinput-update/index.d.ts +5 -0
  75. package/components/geoinput-update/src/append.vue.d.ts +815 -0
  76. package/components/geoinput-update/src/ctx.d.ts +213 -0
  77. package/components/geoinput-update/src/index.vue.d.ts +1125 -0
  78. package/components/geoinput-update/src/types.d.ts +6 -0
  79. package/components/input/index.cjs +3 -3
  80. package/components/input/index.d.ts +5 -0
  81. package/components/input/index.mjs +3 -3
  82. package/components/input/src/ctx.d.ts +154 -0
  83. package/components/input/src/index.vue.d.ts +792 -0
  84. package/components/input/src/types.d.ts +13 -0
  85. package/components/input-collection/index.d.ts +4 -0
  86. package/components/input-collection/src/ctx.d.ts +72 -0
  87. package/components/input-collection/src/index.vue.d.ts +1093 -0
  88. package/components/input-collection/src/types.d.ts +19 -0
  89. package/components/input-link/index.d.ts +4 -0
  90. package/components/input-link/src/ctx.d.ts +185 -0
  91. package/components/input-link/src/index.vue.d.ts +397 -0
  92. package/components/input-link/src/types.d.ts +7 -0
  93. package/components/input-number/index.cjs +4 -4
  94. package/components/input-number/index.d.ts +4 -0
  95. package/components/input-number/index.mjs +4 -4
  96. package/components/input-number/src/ctx.d.ts +90 -0
  97. package/components/input-number/src/index.vue.d.ts +407 -0
  98. package/components/input-number/src/types.d.ts +8 -0
  99. package/components/monaco-editor/index.d.ts +4 -0
  100. package/components/monaco-editor/src/ctx.d.ts +70 -0
  101. package/components/monaco-editor/src/index.vue.d.ts +209 -0
  102. package/components/monaco-editor/src/types.d.ts +7 -0
  103. package/components/radio/index.cjs +1 -1
  104. package/components/radio/index.d.ts +4 -0
  105. package/components/radio/index.mjs +1 -1
  106. package/components/radio/src/ctx.d.ts +82 -0
  107. package/components/radio/src/index.vue.d.ts +643 -0
  108. package/components/radio/src/types.d.ts +8 -0
  109. package/components/select/index.d.ts +4 -0
  110. package/components/select/src/ctx.d.ts +156 -0
  111. package/components/select/src/index.vue.d.ts +561 -0
  112. package/components/select/src/types.d.ts +11 -0
  113. package/components/slider/index.d.ts +4 -0
  114. package/components/slider/src/ctx.d.ts +127 -0
  115. package/components/slider/src/index.vue.d.ts +339 -0
  116. package/components/slider/src/types.d.ts +7 -0
  117. package/components/switch/index.cjs +6 -7
  118. package/components/switch/index.d.ts +4 -0
  119. package/components/switch/index.mjs +6 -7
  120. package/components/switch/src/ctx.d.ts +114 -0
  121. package/components/switch/src/index.vue.d.ts +535 -0
  122. package/components/switch/src/types.d.ts +8 -0
  123. package/components/template-instances-provider/index.d.ts +3 -0
  124. package/components/template-instances-provider/src/index.vue.d.ts +4 -0
  125. package/components/templates-default/index.d.ts +4 -0
  126. package/components/templates-default/src/ctx.d.ts +19 -0
  127. package/components/templates-default/src/index.vue.d.ts +178 -0
  128. package/components/templates-default/src/types.d.ts +53 -0
  129. package/components/templates-element-plus/index.d.ts +4 -0
  130. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  131. package/components/templates-element-plus/src/index.vue.d.ts +154 -0
  132. package/components/templates-element-plus/src/types.d.ts +13 -0
  133. package/components/templates-esri/index.d.ts +4 -0
  134. package/components/templates-esri/src/ctx.d.ts +11 -0
  135. package/components/templates-esri/src/index.vue.d.ts +43 -0
  136. package/components/templates-esri/src/types.d.ts +2 -0
  137. package/components/templates-layout/index.d.ts +4 -0
  138. package/components/templates-layout/src/ctx.d.ts +9 -0
  139. package/components/templates-layout/src/index.vue.d.ts +173 -0
  140. package/components/templates-layout/src/types.d.ts +32 -0
  141. package/components/templates-mapbox/index.d.ts +4 -0
  142. package/components/templates-mapbox/src/ctx.d.ts +11 -0
  143. package/components/templates-mapbox/src/index.vue.d.ts +43 -0
  144. package/components/templates-mapbox/src/types.d.ts +3 -0
  145. package/components/templates-variant/index.d.ts +4 -0
  146. package/components/templates-variant/src/ctx.d.ts +11 -0
  147. package/components/templates-variant/src/index.vue.d.ts +43 -0
  148. package/components/templates-variant/src/types.d.ts +2 -0
  149. package/components/upload/index.d.ts +5 -0
  150. package/components/upload/src/ctx.d.ts +180 -0
  151. package/components/upload/src/file.vue.d.ts +306 -0
  152. package/components/upload/src/index.vue.d.ts +1282 -0
  153. package/components/upload/src/types.d.ts +12 -0
  154. package/components/upload-plus/index.d.ts +6 -0
  155. package/components/upload-plus/src/api.d.ts +38 -0
  156. package/components/upload-plus/src/const.d.ts +9 -0
  157. package/components/upload-plus/src/ctx.d.ts +103 -0
  158. package/components/upload-plus/src/index.vue.d.ts +1005 -0
  159. package/components/upload-plus/src/types.d.ts +32 -0
  160. package/components/van-cascader/index.d.ts +4 -0
  161. package/components/van-cascader/src/ctx.d.ts +129 -0
  162. package/components/van-cascader/src/index.vue.d.ts +3324 -0
  163. package/components/van-cascader/src/types.d.ts +1 -0
  164. package/components/var-datetime-picker/index.d.ts +4 -0
  165. package/components/var-datetime-picker/src/const.d.ts +10 -0
  166. package/components/var-datetime-picker/src/ctx.d.ts +67 -0
  167. package/components/var-datetime-picker/src/index.vue.d.ts +716 -0
  168. package/components/var-datetime-picker/src/types.d.ts +22 -0
  169. package/components/vditor/index.d.ts +4 -0
  170. package/components/vditor/src/ctx.d.ts +77 -0
  171. package/components/vditor/src/index.vue.d.ts +324 -0
  172. package/components/vditor/src/types.d.ts +7 -0
  173. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import { BasicSource } from '@vunk/form/shared';
2
+ import { VueComponentPropsType } from '@vunk/shared';
3
+ import type Core from './index.vue';
4
+ export interface SelectMedia {
5
+ label: string;
6
+ value: [string, string];
7
+ }
8
+ export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
9
+ endprop?: P | P[];
10
+ startprop?: P | P[];
11
+ templateType: 'VkfDatePickerRange';
12
+ }
@@ -0,0 +1,4 @@
1
+ import VkfDownloadPlus from './src/index.vue';
2
+ export * as __VkfDownloadPlus from './src/types';
3
+ export { VkfDownloadPlus, };
4
+ export default VkfDownloadPlus;
@@ -0,0 +1,13 @@
1
+ import { RestFetch } from '@vunk/core/shared/utils-fetch';
2
+ export declare const restFetch: RestFetch;
3
+ export declare const downChunk: (params: {
4
+ fileId: string;
5
+ start: number;
6
+ end: number;
7
+ fileServiceType?: string;
8
+ }, init?: {
9
+ onprogress?: XMLHttpRequestEventTarget["onprogress"];
10
+ xhrs?: XMLHttpRequest[];
11
+ }) => Promise<{
12
+ data: Blob;
13
+ }>;
@@ -0,0 +1,9 @@
1
+ export declare enum Status {
2
+ wait = "wait",
3
+ doPause = "doPause",
4
+ pause = "pause",
5
+ doDownload = "doDownload",
6
+ downloading = "downloading",
7
+ error = "error",
8
+ done = "done"
9
+ }
@@ -0,0 +1,84 @@
1
+ import { FileServiceType } from './types';
2
+ import { Status } from './const';
3
+ import { PropType } from 'vue';
4
+ export declare const props: {
5
+ fileId: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ url: {
10
+ type: StringConstructor;
11
+ default: any;
12
+ };
13
+ /**
14
+ * @description 分片大小
15
+ */
16
+ chunkSize: {
17
+ type: NumberConstructor;
18
+ default: number;
19
+ };
20
+ fileServiceType: {
21
+ type: PropType<FileServiceType>;
22
+ default: any;
23
+ };
24
+ /**
25
+ * @description
26
+ * v-model:fileStatus 当前文件状态: wait, doPause, pause, doDownload, downloading, error, done
27
+ */
28
+ fileStatus: {
29
+ type: PropType<Status>;
30
+ default: any;
31
+ };
32
+ required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
33
+ formItemSize: {
34
+ type: PropType<"default" | "small" | "large">;
35
+ default: "default" | "small" | "large";
36
+ };
37
+ formItemSlots: {
38
+ type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
39
+ default: any;
40
+ };
41
+ elRef: {
42
+ type: PropType<any>;
43
+ required: boolean;
44
+ };
45
+ inline: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ readonly: {
50
+ type: BooleanConstructor;
51
+ default: any;
52
+ };
53
+ labelPosition: {
54
+ type: PropType<"right">;
55
+ default: string;
56
+ };
57
+ label: StringConstructor;
58
+ labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
59
+ prop: {
60
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
61
+ readonly required: false;
62
+ readonly validator: ((val: unknown) => boolean) | undefined;
63
+ __epPropKey: true;
64
+ };
65
+ rules: {
66
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
70
+ };
71
+ error: StringConstructor;
72
+ validateStatus: {
73
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
74
+ readonly required: false;
75
+ readonly validator: ((val: unknown) => boolean) | undefined;
76
+ __epPropKey: true;
77
+ };
78
+ for: StringConstructor;
79
+ inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
80
+ showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
81
+ };
82
+ export declare const emits: {
83
+ 'update:fileStatus': any;
84
+ };