@skyfox2000/webui 1.2.8 → 1.2.10

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 (148) hide show
  1. package/package.json +1 -1
  2. package/scripts/userInput.py +2 -0
  3. package/src/components/common/index.ts +3 -0
  4. package/src/components/common/loading/index.vue +11 -0
  5. package/src/components/content/dialog/index.vue +15 -8
  6. package/src/components/content/dialog/uploadForm.vue +38 -79
  7. package/src/components/content/drawer/index.vue +26 -6
  8. package/src/components/content/form/formItem.vue +21 -5
  9. package/src/components/content/form/index.vue +4 -2
  10. package/src/components/content/search/searchItem.vue +1 -1
  11. package/src/components/form/autoComplete/index.vue +12 -4
  12. package/src/components/form/cascader/index.vue +1 -1
  13. package/src/components/form/datePicker/index.vue +1 -1
  14. package/src/components/form/index.ts +1 -0
  15. package/src/components/form/input/inputIcon.vue +1 -1
  16. package/src/components/form/propEditor/index.vue +113 -33
  17. package/src/components/form/select/index.vue +27 -17
  18. package/src/components/form/upload/uploadList.vue +174 -34
  19. package/src/components/index.ts +13 -1
  20. package/src/directives/permission.ts +2 -2
  21. package/src/index.ts +3 -1
  22. package/src/stores/userInfo.ts +28 -2
  23. package/src/typings/form.d.ts +18 -2
  24. package/src/typings/option.d.ts +16 -2
  25. package/src/typings/page.d.ts +1 -0
  26. package/src/utils/download.ts +1 -1
  27. package/src/utils/eventbus.ts +1 -1
  28. package/src/utils/file-upload.ts +75 -14
  29. package/src/utils/form-excel.ts +50 -1
  30. package/src/utils/form-validate.ts +18 -1
  31. package/src/utils/form.ts +3 -1
  32. package/src/utils/options.ts +38 -12
  33. package/lib/AceEditor.d.ts +0 -1
  34. package/lib/BasicLayout.d.ts +0 -1
  35. package/lib/Error403.d.ts +0 -1
  36. package/lib/Error404.d.ts +0 -1
  37. package/lib/ExcelForm.d.ts +0 -1
  38. package/lib/UploadForm.d.ts +0 -1
  39. package/lib/assets/modules/file-upload-CZO-pMJd.js +0 -176
  40. package/lib/assets/modules/form-excel-N-2OYqKv.js +0 -211
  41. package/lib/assets/modules/index-BnHnS9ug.js +0 -111
  42. package/lib/assets/modules/index-CTVMLeDF.js +0 -109
  43. package/lib/assets/modules/index-D9kzQ23e.js +0 -2213
  44. package/lib/assets/modules/menuTabs-BtOiocOC.js +0 -676
  45. package/lib/assets/modules/toolIcon-B9Mw9Ktm.js +0 -50
  46. package/lib/assets/modules/uploadList-B4LxzsC6.js +0 -210
  47. package/lib/components/common/button/index.vue.d.ts +0 -41
  48. package/lib/components/common/icon/appicon.vue.d.ts +0 -11
  49. package/lib/components/common/icon/fullscreen.vue.d.ts +0 -3
  50. package/lib/components/common/icon/helper.vue.d.ts +0 -22
  51. package/lib/components/common/icon/index.vue.d.ts +0 -243
  52. package/lib/components/common/icon/layoutIcon.vue.d.ts +0 -43
  53. package/lib/components/common/icon/projectIcon.vue.d.ts +0 -59
  54. package/lib/components/common/icon/toolIcon.vue.d.ts +0 -43
  55. package/lib/components/common/index.d.ts +0 -18
  56. package/lib/components/common/tooltip/index.vue.d.ts +0 -21
  57. package/lib/components/content/dialog/index.vue.d.ts +0 -34
  58. package/lib/components/content/drawer/index.vue.d.ts +0 -26
  59. package/lib/components/content/form/formItem.vue.d.ts +0 -25
  60. package/lib/components/content/form/index.vue.d.ts +0 -25
  61. package/lib/components/content/index.d.ts +0 -22
  62. package/lib/components/content/search/index.vue.d.ts +0 -30
  63. package/lib/components/content/search/searchItem.vue.d.ts +0 -23
  64. package/lib/components/content/table/index.vue.d.ts +0 -36
  65. package/lib/components/content/table/tableOperate.vue.d.ts +0 -18
  66. package/lib/components/content/toolbar/icontool.vue.d.ts +0 -7
  67. package/lib/components/content/toolbar/index.vue.d.ts +0 -18
  68. package/lib/components/content/tree/index.vue.d.ts +0 -46
  69. package/lib/components/form/aceEditor/aceConfig.d.ts +0 -8
  70. package/lib/components/form/autoComplete/index.vue.d.ts +0 -139
  71. package/lib/components/form/cascader/index.vue.d.ts +0 -109
  72. package/lib/components/form/checkbox/index.vue.d.ts +0 -128
  73. package/lib/components/form/datePicker/index.vue.d.ts +0 -6
  74. package/lib/components/form/index.d.ts +0 -38
  75. package/lib/components/form/input/index.vue.d.ts +0 -26
  76. package/lib/components/form/input/inputIcon.vue.d.ts +0 -10
  77. package/lib/components/form/input/inputNumber.vue.d.ts +0 -3
  78. package/lib/components/form/input/inputPassword.vue.d.ts +0 -3
  79. package/lib/components/form/propEditor/index.vue.d.ts +0 -12
  80. package/lib/components/form/radio/index.vue.d.ts +0 -133
  81. package/lib/components/form/radio/radioStatus.vue.d.ts +0 -31
  82. package/lib/components/form/rangePicker/index.vue.d.ts +0 -16
  83. package/lib/components/form/select/index.vue.d.ts +0 -142
  84. package/lib/components/form/switch/index.vue.d.ts +0 -43
  85. package/lib/components/form/textarea/index.vue.d.ts +0 -3
  86. package/lib/components/form/transfer/index.vue.d.ts +0 -38
  87. package/lib/components/form/transfer/transferTable.vue.d.ts +0 -38
  88. package/lib/components/form/treeSelect/index.vue.d.ts +0 -38
  89. package/lib/components/form/upload/uploadList.vue.d.ts +0 -476
  90. package/lib/components/index.d.ts +0 -4
  91. package/lib/components/layout/breadcrumb/index.vue.d.ts +0 -3
  92. package/lib/components/layout/content/index.vue.d.ts +0 -22
  93. package/lib/components/layout/datetime/index.vue.d.ts +0 -3
  94. package/lib/components/layout/header/headerExits.vue.d.ts +0 -3
  95. package/lib/components/layout/header/index.vue.d.ts +0 -3
  96. package/lib/components/layout/header/user.vue.d.ts +0 -3
  97. package/lib/components/layout/index.d.ts +0 -14
  98. package/lib/components/layout/menu/index.vue.d.ts +0 -6
  99. package/lib/components/layout/menu/menuTabs.vue.d.ts +0 -3
  100. package/lib/const/options.d.ts +0 -32
  101. package/lib/directives/enter-submit.d.ts +0 -4
  102. package/lib/directives/index.d.ts +0 -2
  103. package/lib/directives/permission.d.ts +0 -5
  104. package/lib/es/AceEditor/index.js +0 -167
  105. package/lib/es/BasicLayout/index.js +0 -101
  106. package/lib/es/Error403/index.js +0 -39
  107. package/lib/es/Error404/index.js +0 -39
  108. package/lib/es/ExcelForm/index.js +0 -321
  109. package/lib/es/UploadForm/index.js +0 -137
  110. package/lib/index.d.ts +0 -45
  111. package/lib/router/index.d.ts +0 -15
  112. package/lib/stores/appInfo.d.ts +0 -31
  113. package/lib/stores/hostInfo.d.ts +0 -9
  114. package/lib/stores/pageInfo.d.ts +0 -18
  115. package/lib/stores/pinia.d.ts +0 -3
  116. package/lib/stores/settingInfo.d.ts +0 -8
  117. package/lib/stores/userInfo.d.ts +0 -24
  118. package/lib/typings/data.d.ts +0 -80
  119. package/lib/typings/form.d.ts +0 -171
  120. package/lib/typings/menu.d.ts +0 -7
  121. package/lib/typings/option.d.ts +0 -175
  122. package/lib/typings/page.d.ts +0 -69
  123. package/lib/typings/table.d.ts +0 -181
  124. package/lib/typings/tools.d.ts +0 -130
  125. package/lib/typings/tree.d.ts +0 -72
  126. package/lib/typings/upload.d.ts +0 -161
  127. package/lib/typings/urls.d.ts +0 -69
  128. package/lib/utils/cache.d.ts +0 -23
  129. package/lib/utils/data.d.ts +0 -6
  130. package/lib/utils/download.d.ts +0 -4
  131. package/lib/utils/eventbus.d.ts +0 -16
  132. package/lib/utils/export-table.d.ts +0 -12
  133. package/lib/utils/file-upload.d.ts +0 -15
  134. package/lib/utils/form-excel.d.ts +0 -30
  135. package/lib/utils/form-validate.d.ts +0 -29
  136. package/lib/utils/form.d.ts +0 -9
  137. package/lib/utils/icon-loader.d.ts +0 -125
  138. package/lib/utils/isEmpty.d.ts +0 -1
  139. package/lib/utils/main-openapis.d.ts +0 -8
  140. package/lib/utils/menu.d.ts +0 -6
  141. package/lib/utils/options.d.ts +0 -10
  142. package/lib/utils/page.d.ts +0 -25
  143. package/lib/utils/table.d.ts +0 -21
  144. package/lib/utils/tools.d.ts +0 -18
  145. package/lib/utils/tree.d.ts +0 -3
  146. package/lib/vite-env.d.ts +0 -8
  147. package/lib/webui.css +0 -1
  148. package/lib/webui.es.js +0 -2240
@@ -1,210 +0,0 @@
1
- import { defineComponent as $, ref as k, computed as O, watch as j, createElementBlock as p, openBlock as f, createElementVNode as r, createVNode as v, unref as l, mergeProps as B, withCtx as U, createTextVNode as E, toDisplayString as y, Fragment as M, renderList as R, normalizeClass as T, createCommentVNode as F } from "vue";
2
- import { _ as V } from "./index-CTVMLeDF.js";
3
- import { Upload as A, Tag as K, Progress as D } from "ant-design-vue";
4
- import { httpPost as I, ResStatus as Q } from "@skyfox2000/fapi";
5
- import "./index-D9kzQ23e.js";
6
- import { U as o, p as q } from "./file-upload-CZO-pMJd.js";
7
- import { combineParams as G } from "@skyfox2000/microbase";
8
- import h from "vue-m-message";
9
- import "async-validator";
10
- import "dayjs";
11
- import "vue-draggable-next";
12
- const H = (i, u) => {
13
- const e = document.createElement("a"), a = URL.createObjectURL(i);
14
- e.href = a, e.download = u, e.style.display = "none", document.body.appendChild(e), e.click(), URL.revokeObjectURL(a), document.body.removeChild(e);
15
- }, J = (i, u, e) => {
16
- try {
17
- e && (i.api || (i.api = e.api), i.authorize === void 0 && (i.authorize = e.authorize));
18
- const a = G(i.params, u);
19
- return I(i, a).then((c) => {
20
- if ((c == null ? void 0 : c.status) === Q.SUCCESS && c.data) {
21
- const d = c.data, b = d.Content, g = d.FileName, x = atob(b), _ = [];
22
- for (let m = 0; m < x.length; m++)
23
- _.push(x.charCodeAt(m));
24
- const C = new Blob([new Uint8Array(_)], {
25
- type: d.Type
26
- });
27
- H(C, g);
28
- } else
29
- h.error("下载文件失败!");
30
- });
31
- } catch (a) {
32
- console.error("下载失败:", a), h.error("文件下载失败,请稍后重试");
33
- }
34
- }, W = { class: "w-full border border-solid border-gray-100 mt-1 rounded-md py-5" }, X = { class: "flex items-center justify-between w-full" }, Y = { class: "w-35 mx-3" }, Z = { class: "flex-1 text-sm text-gray-500" }, ee = { class: "mt-4 px-3" }, te = { class: "flex items-center justify-between" }, oe = { class: "flex items-center" }, ne = { class: "flex items-center" }, se = ["onClick"], ae = ["onClick"], re = ["onClick"], ve = /* @__PURE__ */ $({
35
- __name: "uploadList",
36
- props: {
37
- autoUpload: { type: Boolean, default: !1 },
38
- downloadUrl: {},
39
- fileList: { default: () => [] },
40
- placeholder: { default: "" },
41
- fileExt: {},
42
- maxFileSize: { default: 20 },
43
- maxCount: { default: 5 },
44
- parentPath: {}
45
- },
46
- emits: ["update:file-list"],
47
- setup(i, { emit: u }) {
48
- const e = i, a = k(e.fileList), c = k(), d = u, b = O(() => {
49
- var t;
50
- return (t = e.fileExt) != null && t.length ? e.fileExt.map((s) => `.${s}`).join(",") : "";
51
- }), g = (t) => {
52
- var s;
53
- if (e.fileExt && e.fileExt.length > 0) {
54
- const n = ((s = t.name.split(".").pop()) == null ? void 0 : s.toLowerCase()) || "";
55
- if (!e.fileExt.includes(n))
56
- return h.error("文件类型不支持"), !1;
57
- }
58
- return t.size / 1024 / 1024 > e.maxFileSize ? (h.error(`文件大小超过 ${e.maxFileSize}MB 限制`), !1) : e.maxCount > 1 && a.value.length >= e.maxCount ? (h.error(`最多上传 ${e.maxCount} 个文件`), !1) : e.autoUpload;
59
- }, x = (t) => {
60
- t.forEach((s) => {
61
- s.fileName || (s.fileName = s.name), e.parentPath && (s.name = q.join("/", e.parentPath, s.fileName));
62
- });
63
- }, _ = O(() => ({
64
- accept: b.value,
65
- multiple: !0,
66
- fileList: a.value,
67
- "onUpdate:fileList": x,
68
- beforeUpload: g,
69
- listType: "text",
70
- maxCount: e.maxCount,
71
- showUploadList: !1,
72
- onChange: (t) => {
73
- e.autoUpload || (a.value = t.fileList);
74
- }
75
- }));
76
- j(
77
- () => a.value,
78
- (t) => {
79
- d("update:file-list", t);
80
- },
81
- { deep: !0 }
82
- );
83
- const C = (t) => {
84
- const s = a.value[t].minioFile, n = {
85
- api: e.downloadUrl.api,
86
- authorize: e.downloadUrl.authorize,
87
- url: e.downloadUrl.url,
88
- // url: props.pageData.urls.download!.url,
89
- params: {
90
- Query: {
91
- FileKey: s.Key
92
- }
93
- }
94
- };
95
- J(n);
96
- }, m = (t) => {
97
- t.status = t.status === o.Offline ? o.Online : o.Offline, t.minioFile.Status = t.status;
98
- }, L = (t) => {
99
- a.value.splice(t, 1);
100
- }, z = () => {
101
- const t = e.fileExt && e.fileExt.length ? `文件必须为 ${e.fileExt.join("/")}` : "", s = e.maxFileSize !== 0 ? `单文件最大 ${e.maxFileSize}MB` : "", n = e.maxCount !== 0 ? `最多 ${e.maxCount} 个文件` : "";
102
- return [s, t, n].filter(Boolean).join(",");
103
- }, N = (t) => {
104
- switch (t) {
105
- case o.Uploading:
106
- return "blue";
107
- case o.Success:
108
- return "green";
109
- case o.Error:
110
- return "red";
111
- case o.Online:
112
- return "green";
113
- case o.Offline:
114
- return "pink";
115
- default:
116
- return "cyan";
117
- }
118
- }, P = (t) => {
119
- switch (t) {
120
- case o.Uploading:
121
- return "上传中";
122
- case o.Success:
123
- return "已完成";
124
- case o.Error:
125
- return "上传失败";
126
- case o.Online:
127
- return "在线";
128
- case o.Offline:
129
- return "已下线";
130
- default:
131
- return "待上传";
132
- }
133
- };
134
- return (t, s) => (f(), p("div", W, [
135
- r("div", X, [
136
- r("div", Y, [
137
- v(l(A), B({
138
- ref_key: "fileUploader",
139
- ref: c
140
- }, _.value), {
141
- default: U(() => [
142
- v(l(V), null, {
143
- default: U(() => s[0] || (s[0] = [
144
- E("选择文件")
145
- ])),
146
- _: 1,
147
- __: [0]
148
- })
149
- ]),
150
- _: 1
151
- }, 16)
152
- ]),
153
- r("div", Z, y(z()), 1)
154
- ]),
155
- r("div", ee, [
156
- (f(!0), p(M, null, R(a.value, (n, w) => (f(), p("div", {
157
- key: w,
158
- class: "mb-2 pb-1"
159
- }, [
160
- r("div", te, [
161
- r("div", oe, [
162
- r("span", {
163
- class: T(["text-gray-700 mr-2", [n.status == l(o).Offline ? "line-through" : ""]])
164
- }, y(n.fileName ?? n.name), 3),
165
- r("span", null, [
166
- v(l(K), {
167
- color: N(n.status)
168
- }, {
169
- default: U(() => [
170
- E(y(P(n.status)), 1)
171
- ]),
172
- _: 2
173
- }, 1032, ["color"])
174
- ])
175
- ]),
176
- r("div", ne, [
177
- n.status == l(o).Offline || n.status == l(o).Online ? (f(), p("span", {
178
- key: 0,
179
- class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
180
- onClick: (S) => m(n)
181
- }, y(n.status == l(o).Offline ? "上线" : "下线"), 9, se)) : F("", !0),
182
- n.status == l(o).Offline || n.status == l(o).Online ? (f(), p("span", {
183
- key: 1,
184
- class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
185
- onClick: (S) => C(w)
186
- }, "下载", 8, ae)) : F("", !0),
187
- r("span", {
188
- class: "text-red-500 hover:text-red-700 cursor-pointer",
189
- onClick: (S) => L(w)
190
- }, "删除", 8, re)
191
- ])
192
- ]),
193
- r("div", null, [
194
- v(l(D), {
195
- percent: n.percent,
196
- "stroke-width": 2,
197
- "show-info": !1,
198
- style: { height: "2px" }
199
- }, null, 8, ["percent"])
200
- ])
201
- ]))), 128))
202
- ])
203
- ]));
204
- }
205
- });
206
- export {
207
- ve as _,
208
- J as a,
209
- H as d
210
- };
@@ -1,41 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- icon?(_: {}): any;
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: any;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<ExtractPropTypes<{
13
- tiptext: StringConstructor;
14
- placement: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- iconProps: ObjectConstructor;
19
- icon: StringConstructor;
20
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
- click: (...args: any[]) => void;
22
- }, string, PublicProps, Readonly< ExtractPropTypes<{
23
- tiptext: StringConstructor;
24
- placement: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- iconProps: ObjectConstructor;
29
- icon: StringConstructor;
30
- }>> & Readonly<{
31
- onClick?: ((...args: any[]) => any) | undefined;
32
- }>, {
33
- placement: string;
34
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
35
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
- export default _default;
37
- type __VLS_WithTemplateSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
@@ -1,11 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- icon: {
4
- type: StringConstructor;
5
- };
6
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
7
- icon: {
8
- type: StringConstructor;
9
- };
10
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
11
- export default _default;
@@ -1,3 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
- export default _default;
@@ -1,22 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- text?: string;
4
- maxWidth?: string;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,243 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- autoSwitch: {
4
- type: BooleanConstructor;
5
- default: boolean;
6
- };
7
- tiptext: {
8
- type: StringConstructor;
9
- };
10
- tipsize: {
11
- type: StringConstructor;
12
- };
13
- tipcolor: {
14
- type: StringConstructor;
15
- };
16
- placement: {
17
- type: StringConstructor;
18
- default: string;
19
- };
20
- icon: {
21
- type: StringConstructor;
22
- };
23
- icons: {
24
- type: {
25
- (arrayLength: number): string[];
26
- (...items: string[]): string[];
27
- new (arrayLength: number): string[];
28
- new (...items: string[]): string[];
29
- isArray(arg: any): arg is any[];
30
- readonly prototype: any[];
31
- from<T>(arrayLike: ArrayLike<T>): T[];
32
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
33
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
34
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
35
- of<T>(...items: T[]): T[];
36
- readonly [Symbol.species]: ArrayConstructor;
37
- };
38
- default: () => never[];
39
- };
40
- iconIndex: {
41
- type: NumberConstructor;
42
- default: number;
43
- };
44
- clickable: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- clickEvent: {
49
- type: StringConstructor;
50
- };
51
- data: {
52
- type: (ObjectConstructor | StringConstructor)[];
53
- };
54
- fontsize: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- size: {
59
- type: (StringConstructor | {
60
- (arrayLength: number): String[];
61
- (...items: String[]): String[];
62
- new (arrayLength: number): String[];
63
- new (...items: String[]): String[];
64
- isArray(arg: any): arg is any[];
65
- readonly prototype: any[];
66
- from<T>(arrayLike: ArrayLike<T>): T[];
67
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
68
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
69
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
70
- of<T>(...items: T[]): T[];
71
- readonly [Symbol.species]: ArrayConstructor;
72
- })[];
73
- default: () => string[];
74
- };
75
- position: {
76
- type: {
77
- (arrayLength: number): (string | number)[];
78
- (...items: (string | number)[]): (string | number)[];
79
- new (arrayLength: number): (string | number)[];
80
- new (...items: (string | number)[]): (string | number)[];
81
- isArray(arg: any): arg is any[];
82
- readonly prototype: any[];
83
- from<T>(arrayLike: ArrayLike<T>): T[];
84
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
85
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
86
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
87
- of<T>(...items: T[]): T[];
88
- readonly [Symbol.species]: ArrayConstructor;
89
- };
90
- };
91
- center: {
92
- type: StringConstructor;
93
- };
94
- angle: {
95
- type: NumberConstructor;
96
- };
97
- color: {
98
- type: StringConstructor;
99
- default: string;
100
- };
101
- className: {
102
- type: StringConstructor;
103
- default: string;
104
- };
105
- flip: {
106
- type: BooleanConstructor;
107
- default: boolean;
108
- };
109
- spin: {
110
- type: BooleanConstructor;
111
- default: boolean;
112
- };
113
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
114
- click: (...args: any[]) => void;
115
- "update:iconIndex": (...args: any[]) => void;
116
- }, string, PublicProps, Readonly< ExtractPropTypes<{
117
- autoSwitch: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- tiptext: {
122
- type: StringConstructor;
123
- };
124
- tipsize: {
125
- type: StringConstructor;
126
- };
127
- tipcolor: {
128
- type: StringConstructor;
129
- };
130
- placement: {
131
- type: StringConstructor;
132
- default: string;
133
- };
134
- icon: {
135
- type: StringConstructor;
136
- };
137
- icons: {
138
- type: {
139
- (arrayLength: number): string[];
140
- (...items: string[]): string[];
141
- new (arrayLength: number): string[];
142
- new (...items: string[]): string[];
143
- isArray(arg: any): arg is any[];
144
- readonly prototype: any[];
145
- from<T>(arrayLike: ArrayLike<T>): T[];
146
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
147
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
148
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
149
- of<T>(...items: T[]): T[];
150
- readonly [Symbol.species]: ArrayConstructor;
151
- };
152
- default: () => never[];
153
- };
154
- iconIndex: {
155
- type: NumberConstructor;
156
- default: number;
157
- };
158
- clickable: {
159
- type: BooleanConstructor;
160
- default: boolean;
161
- };
162
- clickEvent: {
163
- type: StringConstructor;
164
- };
165
- data: {
166
- type: (ObjectConstructor | StringConstructor)[];
167
- };
168
- fontsize: {
169
- type: StringConstructor;
170
- default: string;
171
- };
172
- size: {
173
- type: (StringConstructor | {
174
- (arrayLength: number): String[];
175
- (...items: String[]): String[];
176
- new (arrayLength: number): String[];
177
- new (...items: String[]): String[];
178
- isArray(arg: any): arg is any[];
179
- readonly prototype: any[];
180
- from<T>(arrayLike: ArrayLike<T>): T[];
181
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
182
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
183
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
184
- of<T>(...items: T[]): T[];
185
- readonly [Symbol.species]: ArrayConstructor;
186
- })[];
187
- default: () => string[];
188
- };
189
- position: {
190
- type: {
191
- (arrayLength: number): (string | number)[];
192
- (...items: (string | number)[]): (string | number)[];
193
- new (arrayLength: number): (string | number)[];
194
- new (...items: (string | number)[]): (string | number)[];
195
- isArray(arg: any): arg is any[];
196
- readonly prototype: any[];
197
- from<T>(arrayLike: ArrayLike<T>): T[];
198
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
199
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
200
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
201
- of<T>(...items: T[]): T[];
202
- readonly [Symbol.species]: ArrayConstructor;
203
- };
204
- };
205
- center: {
206
- type: StringConstructor;
207
- };
208
- angle: {
209
- type: NumberConstructor;
210
- };
211
- color: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- className: {
216
- type: StringConstructor;
217
- default: string;
218
- };
219
- flip: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- spin: {
224
- type: BooleanConstructor;
225
- default: boolean;
226
- };
227
- }>> & Readonly<{
228
- onClick?: ((...args: any[]) => any) | undefined;
229
- "onUpdate:iconIndex"?: ((...args: any[]) => any) | undefined;
230
- }>, {
231
- icons: string[];
232
- size: string | String[];
233
- fontsize: string;
234
- className: string;
235
- iconIndex: number;
236
- clickable: boolean;
237
- flip: boolean;
238
- color: string;
239
- placement: string;
240
- autoSwitch: boolean;
241
- spin: boolean;
242
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
243
- export default _default;
@@ -1,43 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- icon: {
4
- type: StringConstructor;
5
- };
6
- icons: {
7
- type: {
8
- (arrayLength: number): string[];
9
- (...items: string[]): string[];
10
- new (arrayLength: number): string[];
11
- new (...items: string[]): string[];
12
- isArray(arg: any): arg is any[];
13
- readonly prototype: any[];
14
- from<T>(arrayLike: ArrayLike<T>): T[];
15
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
17
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
18
- of<T>(...items: T[]): T[];
19
- readonly [Symbol.species]: ArrayConstructor;
20
- };
21
- };
22
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
23
- icon: {
24
- type: StringConstructor;
25
- };
26
- icons: {
27
- type: {
28
- (arrayLength: number): string[];
29
- (...items: string[]): string[];
30
- new (arrayLength: number): string[];
31
- new (...items: string[]): string[];
32
- isArray(arg: any): arg is any[];
33
- readonly prototype: any[];
34
- from<T>(arrayLike: ArrayLike<T>): T[];
35
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
36
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
37
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
38
- of<T>(...items: T[]): T[];
39
- readonly [Symbol.species]: ArrayConstructor;
40
- };
41
- };
42
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
43
- export default _default;
@@ -1,59 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- icon: {
4
- type: StringConstructor;
5
- };
6
- icons: {
7
- type: {
8
- (arrayLength: number): string[];
9
- (...items: string[]): string[];
10
- new (arrayLength: number): string[];
11
- new (...items: string[]): string[];
12
- isArray(arg: any): arg is any[];
13
- readonly prototype: any[];
14
- from<T>(arrayLike: ArrayLike<T>): T[];
15
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
17
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
18
- of<T>(...items: T[]): T[];
19
- readonly [Symbol.species]: ArrayConstructor;
20
- };
21
- };
22
- iconUrl: {
23
- type: StringConstructor;
24
- };
25
- monoColor: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
30
- icon: {
31
- type: StringConstructor;
32
- };
33
- icons: {
34
- type: {
35
- (arrayLength: number): string[];
36
- (...items: string[]): string[];
37
- new (arrayLength: number): string[];
38
- new (...items: string[]): string[];
39
- isArray(arg: any): arg is any[];
40
- readonly prototype: any[];
41
- from<T>(arrayLike: ArrayLike<T>): T[];
42
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
43
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
44
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
45
- of<T>(...items: T[]): T[];
46
- readonly [Symbol.species]: ArrayConstructor;
47
- };
48
- };
49
- iconUrl: {
50
- type: StringConstructor;
51
- };
52
- monoColor: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- }>> & Readonly<{}>, {
57
- monoColor: boolean;
58
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
59
- export default _default;
@@ -1,43 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- icon: {
4
- type: StringConstructor;
5
- };
6
- icons: {
7
- type: {
8
- (arrayLength: number): string[];
9
- (...items: string[]): string[];
10
- new (arrayLength: number): string[];
11
- new (...items: string[]): string[];
12
- isArray(arg: any): arg is any[];
13
- readonly prototype: any[];
14
- from<T>(arrayLike: ArrayLike<T>): T[];
15
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
17
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
18
- of<T>(...items: T[]): T[];
19
- readonly [Symbol.species]: ArrayConstructor;
20
- };
21
- };
22
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
23
- icon: {
24
- type: StringConstructor;
25
- };
26
- icons: {
27
- type: {
28
- (arrayLength: number): string[];
29
- (...items: string[]): string[];
30
- new (arrayLength: number): string[];
31
- new (...items: string[]): string[];
32
- isArray(arg: any): arg is any[];
33
- readonly prototype: any[];
34
- from<T>(arrayLike: ArrayLike<T>): T[];
35
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
36
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
37
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
38
- of<T>(...items: T[]): T[];
39
- readonly [Symbol.species]: ArrayConstructor;
40
- };
41
- };
42
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
43
- export default _default;