@aplus-frontend/ui 0.2.2 → 0.2.4
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.
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/index.mjs +151 -147
- package/es/src/ap-button/ap-action-button.vue.d.ts +3 -0
- package/es/src/ap-button/ap-action-button.vue.mjs +5 -5
- package/es/src/ap-download/ap-download.vue.mjs +4 -4
- package/es/src/ap-table/ap-table.vue2.mjs +103 -97
- package/es/src/ap-table/utils.d.ts +2 -0
- package/es/src/ap-table/utils.mjs +36 -26
- package/es/src/ap-upload/apUpload.vue.d.ts +6 -0
- package/es/src/ap-upload/apUpload.vue.mjs +41 -38
- package/es/src/ap-upload/apUploadTypes.d.ts +12 -0
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +87 -85
- package/es/src/ap-upload/components/Picture.vue2.mjs +91 -89
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +74 -72
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +45 -0
- package/es/src/business/ap-appendix/ap-appendix.vue.mjs +4 -0
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +156 -0
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +3 -0
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +18 -0
- package/es/src/business/ap-appendix/index.d.ts +136 -0
- package/es/src/business/ap-appendix/index.mjs +9 -0
- package/es/src/business/ap-appendix/interface.d.ts +57 -0
- package/es/src/business/ap-appendix/interface.mjs +4 -0
- package/es/src/business/ap-appendix/style/css.d.ts +0 -0
- package/es/src/business/ap-appendix/style/css.js +1 -0
- package/es/src/business/ap-appendix/style/index.d.ts +0 -0
- package/es/src/business/ap-appendix/style/index.js +1 -0
- package/es/src/business/ap-appendix/utils/index.d.ts +8 -0
- package/es/src/business/ap-appendix/utils/index.mjs +63 -0
- package/es/src/business/ap-summary/ap-summary.vue.d.ts +3 -0
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +26 -22
- package/es/src/business/ap-summary/index.d.ts +19 -0
- package/es/src/business/ap-summary/interface.d.ts +1 -0
- package/es/src/business/ap-summary/utils.mjs +12 -12
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +8 -6
- package/es/src/config-provider/config-provider.d.ts +11 -0
- package/es/src/config-provider/css-var.d.ts +11 -0
- package/es/src/config-provider/css-var.mjs +31 -9
- package/es/src/config-provider/index.d.ts +66 -0
- package/es/src/index.mjs +41 -37
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- package/es/src/path-map.mjs +2 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +3 -0
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/utils.d.ts +2 -0
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +6 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/apUploadTypes.d.ts +12 -0
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +45 -0
- package/lib/src/business/ap-appendix/ap-appendix.vue.js +1 -0
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -0
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +3 -0
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +1 -0
- package/lib/src/business/ap-appendix/index.d.ts +136 -0
- package/lib/src/business/ap-appendix/index.js +1 -0
- package/lib/src/business/ap-appendix/interface.d.ts +57 -0
- package/lib/src/business/ap-appendix/interface.js +1 -0
- package/lib/src/business/ap-appendix/style/css.d.ts +0 -0
- package/lib/src/business/ap-appendix/style/css.js +1 -0
- package/lib/src/business/ap-appendix/style/index.d.ts +0 -0
- package/lib/src/business/ap-appendix/style/index.js +1 -0
- package/lib/src/business/ap-appendix/utils/index.d.ts +8 -0
- package/lib/src/business/ap-appendix/utils/index.js +1 -0
- package/lib/src/business/ap-summary/ap-summary.vue.d.ts +3 -0
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/index.d.ts +19 -0
- package/lib/src/business/ap-summary/interface.d.ts +1 -0
- package/lib/src/business/ap-summary/utils.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -0
- package/lib/src/config-provider/css-var.d.ts +11 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/index.d.ts +66 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/package.json +3 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { flatten as k, uniqBy as j, isNil as I, get as
|
|
1
|
+
import { flatten as k, uniqBy as j, isNil as I, get as y, set as R } from "lodash-unified";
|
|
2
2
|
import { toThousand as V, toFixed as S, addNumber as T } from "@aplus-frontend/utils";
|
|
3
3
|
const b = (t) => {
|
|
4
4
|
var e, d;
|
|
5
5
|
return t != null && t.children && ((e = t == null ? void 0 : t.children) == null ? void 0 : e.length) > 0 ? k((d = t.children) == null ? void 0 : d.map((n) => b(n))) : [t];
|
|
6
6
|
}, q = (t) => k(
|
|
7
7
|
t == null ? void 0 : t.map((e) => b(e))
|
|
8
|
-
),
|
|
8
|
+
), c = (t) => Object.prototype.toString.call(t) === "[object Array]" ? t.map((e) => String(e)).join(".") : t ?? "", D = (t, e, d) => d ? V(t, e) : S(t, e);
|
|
9
9
|
function E(t) {
|
|
10
|
-
var
|
|
10
|
+
var h;
|
|
11
11
|
const { records: e, columns: d, configList: n, exclude: i } = t;
|
|
12
|
-
if (e.length === 0)
|
|
12
|
+
if (!e || (e == null ? void 0 : e.length) === 0)
|
|
13
13
|
return {};
|
|
14
|
-
const
|
|
15
|
-
let a = (
|
|
14
|
+
const f = q(d);
|
|
15
|
+
let a = (h = f == null ? void 0 : f.filter((r) => r.valueType === "number")) == null ? void 0 : h.map((r) => ({
|
|
16
16
|
key: r.key || "",
|
|
17
17
|
dataIndex: r.dataIndex
|
|
18
18
|
}));
|
|
@@ -20,17 +20,17 @@ function E(t) {
|
|
|
20
20
|
(r) => !i.includes(r.key)
|
|
21
21
|
));
|
|
22
22
|
const x = {};
|
|
23
|
-
return e.reduce((r,
|
|
24
|
-
var
|
|
25
|
-
if (!I(
|
|
26
|
-
const
|
|
27
|
-
R(r,
|
|
23
|
+
return e == null ? void 0 : e.reduce((r, p) => (a.forEach((o) => {
|
|
24
|
+
var s;
|
|
25
|
+
if (!I(y(p, c(o.dataIndex || o.key)))) {
|
|
26
|
+
const u = o.dataIndex || o.key, g = y(r, c(u)) || 0, l = y(p, c(u)) || 0, N = (s = T(g, l)) == null ? void 0 : s.toNumber();
|
|
27
|
+
R(r, u, +N);
|
|
28
28
|
}
|
|
29
29
|
}), r), x);
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
32
|
E as computedRecords,
|
|
33
33
|
q as flattenColumns,
|
|
34
|
-
|
|
34
|
+
c as formatDataIndex,
|
|
35
35
|
D as formatNumber
|
|
36
36
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as t } from "./ap-table-modal/index.mjs";
|
|
2
|
-
import { ApAttachment as
|
|
2
|
+
import { ApAttachment as A } from "./ap-attachment/index.mjs";
|
|
3
3
|
import { ApBatchAction as a } from "./ap-batch-action/index.mjs";
|
|
4
|
-
import { ApBatchActionGroup as
|
|
4
|
+
import { ApBatchActionGroup as f } from "./ap-batch-action-group/index.mjs";
|
|
5
5
|
import { ApButtonGroup as l } from "./ap-button-group/index.mjs";
|
|
6
6
|
import { ApCard as n } from "./ap-card/index.mjs";
|
|
7
7
|
import { ApExpandAlert as i } from "./ap-expand-alert/index.mjs";
|
|
@@ -15,11 +15,13 @@ import { ApStatus as H, ApStatusGroup as M } from "./ap-status/index.mjs";
|
|
|
15
15
|
import { ApTitle as j } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
17
|
import { ApSummary as q } from "./ap-summary/index.mjs";
|
|
18
|
-
import {
|
|
18
|
+
import { ApAppendix as w } from "./ap-appendix/index.mjs";
|
|
19
|
+
import { ApTransformDataHelper as F } from "../utils/ap-trans-data/index.mjs";
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
w as ApAppendix,
|
|
22
|
+
A as ApAttachment,
|
|
21
23
|
a as ApBatchAction,
|
|
22
|
-
|
|
24
|
+
f as ApBatchActionGroup,
|
|
23
25
|
l as ApButtonGroup,
|
|
24
26
|
n as ApCard,
|
|
25
27
|
i as ApExpandAlert,
|
|
@@ -35,5 +37,5 @@ export {
|
|
|
35
37
|
q as ApSummary,
|
|
36
38
|
t as ApTableModal,
|
|
37
39
|
j as ApTitle,
|
|
38
|
-
|
|
40
|
+
F as ApTransformDataHelper
|
|
39
41
|
};
|
|
@@ -425,6 +425,17 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
425
425
|
'padding-bottom': string;
|
|
426
426
|
};
|
|
427
427
|
};
|
|
428
|
+
'ap-appendix': {
|
|
429
|
+
area: {
|
|
430
|
+
color: {
|
|
431
|
+
border: string;
|
|
432
|
+
font: string;
|
|
433
|
+
'font-hover': string;
|
|
434
|
+
'font-disabled': string;
|
|
435
|
+
icon: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
428
439
|
}>;
|
|
429
440
|
}, {}>;
|
|
430
441
|
export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|
|
@@ -76,6 +76,17 @@ declare const aplusCssVarObj: {
|
|
|
76
76
|
'padding-bottom': string;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
+
'ap-appendix': {
|
|
80
|
+
area: {
|
|
81
|
+
color: {
|
|
82
|
+
border: string;
|
|
83
|
+
font: string;
|
|
84
|
+
'font-hover': string;
|
|
85
|
+
'font-disabled': string;
|
|
86
|
+
icon: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
79
90
|
};
|
|
80
91
|
export type CssVarType = RecursivePartial<typeof aplusCssVarObj>;
|
|
81
92
|
export declare function generateCssVar(cssVarRawObj: CssVarType): Record<string, any>;
|
|
@@ -74,6 +74,17 @@ const F = {
|
|
|
74
74
|
"last-row-item": {
|
|
75
75
|
"padding-bottom": "0px"
|
|
76
76
|
}
|
|
77
|
+
},
|
|
78
|
+
"ap-appendix": {
|
|
79
|
+
area: {
|
|
80
|
+
color: {
|
|
81
|
+
border: "#DEE4ED",
|
|
82
|
+
font: "#182948",
|
|
83
|
+
"font-hover": "#0070FF",
|
|
84
|
+
"font-disabled": "#ABB7CC",
|
|
85
|
+
icon: "#ABB7CC"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
77
88
|
}
|
|
78
89
|
}, b = {
|
|
79
90
|
"ap-form": {
|
|
@@ -151,28 +162,39 @@ const F = {
|
|
|
151
162
|
"last-row-item": {
|
|
152
163
|
"padding-bottom": "0px"
|
|
153
164
|
}
|
|
165
|
+
},
|
|
166
|
+
"ap-appendix": {
|
|
167
|
+
area: {
|
|
168
|
+
color: {
|
|
169
|
+
border: "#D9D9D9",
|
|
170
|
+
font: "#333333",
|
|
171
|
+
"font-hover": "#1890FF",
|
|
172
|
+
"font-disabled": "#BFBFBF",
|
|
173
|
+
icon: "#BFBFBF"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
154
176
|
}
|
|
155
177
|
};
|
|
156
|
-
function
|
|
178
|
+
function i(e) {
|
|
157
179
|
const o = {};
|
|
158
|
-
function
|
|
180
|
+
function r(a, s) {
|
|
159
181
|
const l = Object.keys(a);
|
|
160
182
|
for (const c of l) {
|
|
161
|
-
const
|
|
162
|
-
|
|
183
|
+
const t = a[c], n = [...s, c];
|
|
184
|
+
t !== null && typeof t == "object" ? r(t, n) : o[`--${n.join("-")}`] = t;
|
|
163
185
|
}
|
|
164
186
|
}
|
|
165
|
-
return
|
|
187
|
+
return r(e, []), o;
|
|
166
188
|
}
|
|
167
|
-
const d =
|
|
189
|
+
const d = i(F), p = i(b);
|
|
168
190
|
function u(e) {
|
|
169
|
-
Object.entries(e).forEach(([o,
|
|
170
|
-
document.documentElement.style.setProperty(o,
|
|
191
|
+
Object.entries(e).forEach(([o, r]) => {
|
|
192
|
+
document.documentElement.style.setProperty(o, r);
|
|
171
193
|
});
|
|
172
194
|
}
|
|
173
195
|
export {
|
|
174
196
|
p as adminCssVar,
|
|
175
197
|
d as aplusCssVar,
|
|
176
|
-
|
|
198
|
+
i as generateCssVar,
|
|
177
199
|
u as setCSSVariables
|
|
178
200
|
};
|
|
@@ -240,6 +240,17 @@ export declare const APConfigProvider: {
|
|
|
240
240
|
'padding-bottom': string;
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
|
+
'ap-appendix': {
|
|
244
|
+
area: {
|
|
245
|
+
color: {
|
|
246
|
+
border: string;
|
|
247
|
+
font: string;
|
|
248
|
+
'font-hover': string;
|
|
249
|
+
'font-disabled': string;
|
|
250
|
+
icon: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
243
254
|
}>>;
|
|
244
255
|
default: () => {};
|
|
245
256
|
};
|
|
@@ -465,6 +476,17 @@ export declare const APConfigProvider: {
|
|
|
465
476
|
'padding-bottom': string;
|
|
466
477
|
};
|
|
467
478
|
};
|
|
479
|
+
'ap-appendix': {
|
|
480
|
+
area: {
|
|
481
|
+
color: {
|
|
482
|
+
border: string;
|
|
483
|
+
font: string;
|
|
484
|
+
'font-hover': string;
|
|
485
|
+
'font-disabled': string;
|
|
486
|
+
icon: string;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
468
490
|
}>>;
|
|
469
491
|
default: () => {};
|
|
470
492
|
};
|
|
@@ -584,6 +606,17 @@ export declare const APConfigProvider: {
|
|
|
584
606
|
'padding-bottom': string;
|
|
585
607
|
};
|
|
586
608
|
};
|
|
609
|
+
'ap-appendix': {
|
|
610
|
+
area: {
|
|
611
|
+
color: {
|
|
612
|
+
border: string;
|
|
613
|
+
font: string;
|
|
614
|
+
'font-hover': string;
|
|
615
|
+
'font-disabled': string;
|
|
616
|
+
icon: string;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
587
620
|
}>;
|
|
588
621
|
}, true, {}, {}, {
|
|
589
622
|
P: {};
|
|
@@ -814,6 +847,17 @@ export declare const APConfigProvider: {
|
|
|
814
847
|
'padding-bottom': string;
|
|
815
848
|
};
|
|
816
849
|
};
|
|
850
|
+
'ap-appendix': {
|
|
851
|
+
area: {
|
|
852
|
+
color: {
|
|
853
|
+
border: string;
|
|
854
|
+
font: string;
|
|
855
|
+
'font-hover': string;
|
|
856
|
+
'font-disabled': string;
|
|
857
|
+
icon: string;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
};
|
|
817
861
|
}>>;
|
|
818
862
|
default: () => {};
|
|
819
863
|
};
|
|
@@ -933,6 +977,17 @@ export declare const APConfigProvider: {
|
|
|
933
977
|
'padding-bottom': string;
|
|
934
978
|
};
|
|
935
979
|
};
|
|
980
|
+
'ap-appendix': {
|
|
981
|
+
area: {
|
|
982
|
+
color: {
|
|
983
|
+
border: string;
|
|
984
|
+
font: string;
|
|
985
|
+
'font-hover': string;
|
|
986
|
+
'font-disabled': string;
|
|
987
|
+
icon: string;
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
};
|
|
936
991
|
}>;
|
|
937
992
|
}>;
|
|
938
993
|
__isFragment?: never;
|
|
@@ -1202,6 +1257,17 @@ export declare const APConfigProvider: {
|
|
|
1202
1257
|
'padding-bottom': string;
|
|
1203
1258
|
};
|
|
1204
1259
|
};
|
|
1260
|
+
'ap-appendix': {
|
|
1261
|
+
area: {
|
|
1262
|
+
color: {
|
|
1263
|
+
border: string;
|
|
1264
|
+
font: string;
|
|
1265
|
+
'font-hover': string;
|
|
1266
|
+
'font-disabled': string;
|
|
1267
|
+
icon: string;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1205
1271
|
}>;
|
|
1206
1272
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
1207
1273
|
$props: {
|
package/es/src/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APConfigProvider as
|
|
1
|
+
import { APConfigProvider as u } from "./config-provider/index.mjs";
|
|
2
2
|
import { ApForm as i } from "./ap-form/index.mjs";
|
|
3
3
|
import { ApField as c } from "./ap-field/index.mjs";
|
|
4
4
|
import { adminToken as b, aplusToken as T } from "./design-token/index.mjs";
|
|
@@ -16,10 +16,10 @@ import "./business/index.mjs";
|
|
|
16
16
|
import { ApTable as y } from "./ap-table/index.mjs";
|
|
17
17
|
import "./editable-table/index.mjs";
|
|
18
18
|
import "./ap-descriptions/index.mjs";
|
|
19
|
-
import { configProviderProps as
|
|
19
|
+
import { configProviderProps as L } from "./config-provider/config-provider-props.mjs";
|
|
20
20
|
import { configProviderContextKey as k } from "./config-provider/constants.mjs";
|
|
21
21
|
import { keysOf as M, provideGlobalConfig as R, useGlobalConfig as v } from "./config-provider/hooks/use-global-config.mjs";
|
|
22
|
-
import { buildLocaleContext as
|
|
22
|
+
import { buildLocaleContext as K, buildTranslator as B, localeContextKey as O, translate as W, useLocale as H } from "./config-provider/hooks/use-locale.mjs";
|
|
23
23
|
import { defaultNamespace as j, namespaceContextKey as q, useGetDerivedNamespace as z, useNamespace as J } from "./config-provider/hooks/use-namespace.mjs";
|
|
24
24
|
import { ConfigProvider as V, globalConfigCached as X } from "./config-provider/config-provider.mjs";
|
|
25
25
|
import { ApFormItemText as Z } from "./ap-form/items/text/index.mjs";
|
|
@@ -29,7 +29,7 @@ import { default as to } from "./ap-form/items/date/index.vue.mjs";
|
|
|
29
29
|
import { default as ao } from "./ap-form/items/date-range/index.vue.mjs";
|
|
30
30
|
import { default as fo } from "./ap-form/items/radio/index.vue.mjs";
|
|
31
31
|
import { default as xo } from "./ap-form/items/select/index.vue.mjs";
|
|
32
|
-
import { default as
|
|
32
|
+
import { default as uo } from "./ap-form/items/switch/index.vue.mjs";
|
|
33
33
|
import { default as io } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
34
34
|
import { default as co } from "./ap-form/items/text/password.vue.mjs";
|
|
35
35
|
import { default as bo } from "./ap-form/item/index.vue.mjs";
|
|
@@ -37,12 +37,12 @@ import { default as Io } from "./ap-form/item-group/index.vue.mjs";
|
|
|
37
37
|
import { default as go } from "./ap-form/list/index.vue.mjs";
|
|
38
38
|
import { default as ho } from "./ap-form/search-form/index.vue.mjs";
|
|
39
39
|
import { default as So } from "./ap-form/modal-form/index.vue.mjs";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
40
|
+
import { default as No } from "./ap-form/dependency/index.vue.mjs";
|
|
41
|
+
import { default as Po } from "./ap-form/set/index.vue.mjs";
|
|
42
42
|
import { default as wo } from "./ap-form/drawer-form/index.vue.mjs";
|
|
43
43
|
import { ApFieldText as Ro } from "./ap-field/text/index.mjs";
|
|
44
44
|
import { default as Eo } from "./ap-field/checkbox/index.vue.mjs";
|
|
45
|
-
import { default as
|
|
45
|
+
import { default as Bo } from "./ap-field/date/index.vue.mjs";
|
|
46
46
|
import { default as Wo } from "./ap-field/number/index.vue.mjs";
|
|
47
47
|
import { default as Uo } from "./ap-field/radio/index.vue.mjs";
|
|
48
48
|
import { default as qo } from "./ap-field/switch/index.vue.mjs";
|
|
@@ -56,7 +56,7 @@ import { default as pe } from "./ap-field/rate/index.vue.mjs";
|
|
|
56
56
|
import { default as me } from "./ap-action/item-modal/index.vue.mjs";
|
|
57
57
|
import { default as le } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
58
58
|
import { default as xe } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
59
|
-
import { default as
|
|
59
|
+
import { default as ue } from "./ap-action/group/index.vue.mjs";
|
|
60
60
|
import { DictCode as ie, langMap as ne } from "./work-order-modal/interfaces.mjs";
|
|
61
61
|
import { createWorkOrderModal as Fe } from "./work-order-modal/createWorkOrder.mjs";
|
|
62
62
|
import { default as Te } from "./work-order-modal/work-order-modal.vue.mjs";
|
|
@@ -64,11 +64,11 @@ import { default as Ce } from "./ap-tag/ap-tag.vue.mjs";
|
|
|
64
64
|
import { default as De } from "./ap-tag/ap-tag-group.vue.mjs";
|
|
65
65
|
import { default as Ge } from "./ap-info-layout/ApInfoLayout.vue.mjs";
|
|
66
66
|
import { NeedNameKeyDefault as ye } from "./ap-upload/apUploadTypes.mjs";
|
|
67
|
-
import { default as
|
|
67
|
+
import { default as Le } from "./ap-upload/apUpload.vue.mjs";
|
|
68
68
|
import { ApDownLoadNeedNameKeyDefault as ke } from "./ap-download/interface.mjs";
|
|
69
69
|
import { default as Me } from "./ap-download/ap-download.vue.mjs";
|
|
70
70
|
import { default as ve } from "./check-card/group.vue.mjs";
|
|
71
|
-
import { default as
|
|
71
|
+
import { default as Ke } from "./ap-list/index.vue.mjs";
|
|
72
72
|
import { default as Oe } from "./ap-button/ap-button.vue.mjs";
|
|
73
73
|
import { default as He } from "./ap-button/ap-action-button.vue.mjs";
|
|
74
74
|
import { ApTransformDataHelper as je } from "./utils/ap-trans-data/index.mjs";
|
|
@@ -82,7 +82,7 @@ import { ApButtonGroup as tr } from "./business/ap-button-group/index.mjs";
|
|
|
82
82
|
import { ApCard as ar } from "./business/ap-card/index.mjs";
|
|
83
83
|
import { ApExpandAlert as fr } from "./business/ap-expand-alert/index.mjs";
|
|
84
84
|
import { ApExportGroupActionType as dr } from "./business/ap-export-group/interface.mjs";
|
|
85
|
-
import { ApExportGroup as
|
|
85
|
+
import { ApExportGroup as Ar } from "./business/ap-export-group/index.mjs";
|
|
86
86
|
import { handleExportDownload as sr } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
87
87
|
import { ApImage as nr } from "./business/ap-image/index.mjs";
|
|
88
88
|
import { ApInputRadio as Fr } from "./business/ap-input-radio/index.mjs";
|
|
@@ -90,39 +90,42 @@ import { ApLabel as Tr, ApLabelGroup as Ir } from "./business/ap-label/index.mjs
|
|
|
90
90
|
import { locales as gr } from "./business/ap-ladder/interface.mjs";
|
|
91
91
|
import { ApLadder as hr } from "./business/ap-ladder/index.mjs";
|
|
92
92
|
import { ApSelectLayout as Sr } from "./business/ap-select-layout/index.mjs";
|
|
93
|
-
import { ApStatus as
|
|
93
|
+
import { ApStatus as Nr, ApStatusGroup as Lr } from "./business/ap-status/index.mjs";
|
|
94
94
|
import { ApTitle as kr } from "./business/ap-title/index.mjs";
|
|
95
95
|
import { usePageListApTable as Mr } from "./business/hooks/usePageListApTable.mjs";
|
|
96
96
|
import { useTableRefresh as vr } from "./business/hooks/useTableRefresh.mjs";
|
|
97
|
-
import { computedRecords as
|
|
97
|
+
import { computedRecords as Kr, flattenColumns as Br, formatDataIndex as Or, formatNumber as Wr } from "./business/ap-summary/utils.mjs";
|
|
98
98
|
import { ApSummary as Ur } from "./business/ap-summary/index.mjs";
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import { default as Yr } from "./
|
|
99
|
+
import { ApNeedNameKeyDefault as qr } from "./business/ap-appendix/interface.mjs";
|
|
100
|
+
import { ApAppendix as Jr } from "./business/ap-appendix/index.mjs";
|
|
101
|
+
import { useTablePaging as Vr } from "./ap-table/hooks/use-table-paging.mjs";
|
|
102
|
+
import { default as Yr } from "./editable-table/index.vue.mjs";
|
|
103
|
+
import { default as _r } from "./editable-table/form-item.vue.mjs";
|
|
104
|
+
import { default as ot } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
103
105
|
export {
|
|
104
|
-
|
|
106
|
+
u as APConfigProvider,
|
|
105
107
|
He as ApActionButton,
|
|
106
|
-
|
|
108
|
+
ue as ApActionGroup,
|
|
107
109
|
C as ApActionItem,
|
|
108
110
|
xe as ApActionItemDropdown,
|
|
109
111
|
me as ApActionItemModal,
|
|
110
112
|
le as ApActionItemPopconfirm,
|
|
113
|
+
Jr as ApAppendix,
|
|
111
114
|
Ze as ApAttachment,
|
|
112
115
|
$e as ApBatchAction,
|
|
113
116
|
er as ApBatchActionGroup,
|
|
114
117
|
Oe as ApButton,
|
|
115
118
|
tr as ApButtonGroup,
|
|
116
119
|
ar as ApCard,
|
|
117
|
-
|
|
120
|
+
ot as ApDescriptions,
|
|
118
121
|
ke as ApDownLoadNeedNameKeyDefault,
|
|
119
122
|
Me as ApDownload,
|
|
120
123
|
fr as ApExpandAlert,
|
|
121
|
-
|
|
124
|
+
Ar as ApExportGroup,
|
|
122
125
|
dr as ApExportGroupActionType,
|
|
123
126
|
c as ApField,
|
|
124
127
|
Eo as ApFieldCheckbox,
|
|
125
|
-
|
|
128
|
+
Bo as ApFieldDate,
|
|
126
129
|
Vo as ApFieldDateRange,
|
|
127
130
|
Wo as ApFieldNumber,
|
|
128
131
|
_o as ApFieldPassword,
|
|
@@ -135,7 +138,7 @@ export {
|
|
|
135
138
|
Ro as ApFieldText,
|
|
136
139
|
Jo as ApFieldTextArea,
|
|
137
140
|
i as ApForm,
|
|
138
|
-
|
|
141
|
+
No as ApFormDependency,
|
|
139
142
|
wo as ApFormDrawerForm,
|
|
140
143
|
bo as ApFormItem,
|
|
141
144
|
io as ApFormItemCheckbox,
|
|
@@ -145,25 +148,26 @@ export {
|
|
|
145
148
|
eo as ApFormItemNumber,
|
|
146
149
|
fo as ApFormItemRadio,
|
|
147
150
|
xo as ApFormItemSelect,
|
|
148
|
-
|
|
151
|
+
uo as ApFormItemSwitch,
|
|
149
152
|
Z as ApFormItemText,
|
|
150
153
|
$ as ApFormItemTextArea,
|
|
151
154
|
co as ApFormItemTextPassword,
|
|
152
155
|
go as ApFormList,
|
|
153
156
|
So as ApFormModalForm,
|
|
154
157
|
ho as ApFormSearchForm,
|
|
155
|
-
|
|
158
|
+
Po as ApFormSet,
|
|
156
159
|
nr as ApImage,
|
|
157
160
|
Ge as ApInfoLayout,
|
|
158
161
|
Fr as ApInputRadio,
|
|
159
162
|
Tr as ApLabel,
|
|
160
163
|
Ir as ApLabelGroup,
|
|
161
164
|
hr as ApLadder,
|
|
162
|
-
|
|
165
|
+
Ke as ApList,
|
|
163
166
|
G as ApModal,
|
|
167
|
+
qr as ApNeedNameKeyDefault,
|
|
164
168
|
Sr as ApSelectLayout,
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
Nr as ApStatus,
|
|
170
|
+
Lr as ApStatusGroup,
|
|
167
171
|
Ur as ApSummary,
|
|
168
172
|
y as ApTable,
|
|
169
173
|
ze as ApTableModal,
|
|
@@ -171,25 +175,25 @@ export {
|
|
|
171
175
|
De as ApTagGroup,
|
|
172
176
|
kr as ApTitle,
|
|
173
177
|
je as ApTransformDataHelper,
|
|
174
|
-
|
|
178
|
+
Le as ApUpload,
|
|
175
179
|
D as CheckCard,
|
|
176
180
|
ve as CheckCardGroup,
|
|
177
181
|
V as ConfigProvider,
|
|
178
182
|
ie as DictCode,
|
|
179
|
-
|
|
180
|
-
|
|
183
|
+
Yr as EditableTable,
|
|
184
|
+
_r as EditableTableFormItem,
|
|
181
185
|
ye as NeedNameKeyDefault,
|
|
182
186
|
Te as WorkOrderModal,
|
|
183
187
|
b as adminToken,
|
|
184
188
|
T as aplusToken,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
189
|
+
K as buildLocaleContext,
|
|
190
|
+
B as buildTranslator,
|
|
191
|
+
Kr as computedRecords,
|
|
188
192
|
k as configProviderContextKey,
|
|
189
|
-
|
|
193
|
+
L as configProviderProps,
|
|
190
194
|
Fe as createWorkOrderModal,
|
|
191
195
|
j as defaultNamespace,
|
|
192
|
-
|
|
196
|
+
Br as flattenColumns,
|
|
193
197
|
Or as formatDataIndex,
|
|
194
198
|
Wr as formatNumber,
|
|
195
199
|
X as globalConfigCached,
|
|
@@ -207,7 +211,7 @@ export {
|
|
|
207
211
|
J as useNamespace,
|
|
208
212
|
Mr as usePageListApTable,
|
|
209
213
|
Qe as useTableModal,
|
|
210
|
-
|
|
214
|
+
Vr as useTablePaging,
|
|
211
215
|
vr as useTableRefresh,
|
|
212
216
|
Xe as useTableSelectModal
|
|
213
217
|
};
|
package/es/src/path-map.mjs
CHANGED
|
@@ -74,7 +74,8 @@ const e = {
|
|
|
74
74
|
useTableModal: ["business", "ap-table-modal"],
|
|
75
75
|
useTableSelectModal: ["business", "ap-table-modal"],
|
|
76
76
|
ApTitle: ["business", "ap-title"],
|
|
77
|
-
ApSummary: ["business", "ap-summary"]
|
|
77
|
+
ApSummary: ["business", "ap-summary"],
|
|
78
|
+
ApAppendix: ["business", "ap-appendix"]
|
|
78
79
|
};
|
|
79
80
|
export {
|
|
80
81
|
e as default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=(e,o)=>{const t=e.__vccOpts||e;for(const[r,s]of o)t[r]=s;return t};exports.default=u;
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("./src/index.js"),d=require("./src/path-map.js");require("./src/hooks/index.js");const A=require("./src/config-provider/config-provider-props.js"),v=require("./src/config-provider/constants.js"),u=require("./src/config-provider/hooks/use-global-config.js"),e=require("./src/config-provider/hooks/use-locale.js"),t=require("./src/config-provider/hooks/use-namespace.js"),n=require("./src/config-provider/config-provider.js"),f=require("./src/config-provider/index.js"),q=require("./src/ap-form/items/text/index.js"),g=require("./src/ap-form/items/text-area/index.vue.js"),x=require("./src/ap-form/items/number/index.vue.js"),m=require("./src/ap-form/items/date/index.vue.js"),y=require("./src/ap-form/items/date-range/index.vue.js"),$=require("./src/ap-form/items/radio/index.vue.js"),b=require("./src/ap-form/items/select/index.vue.js"),T=require("./src/ap-form/items/switch/index.vue.js"),F=require("./src/ap-form/items/checkbox/index.vue.js"),C=require("./src/ap-form/items/text/password.vue.js"),D=require("./src/ap-form/index.js"),I=require("./src/ap-form/item/index.vue.js"),h=require("./src/ap-form/item-group/index.vue.js"),P=require("./src/ap-form/list/index.vue.js"),G=require("./src/ap-form/search-form/index.vue.js"),M=require("./src/ap-form/modal-form/index.vue.js"),N=require("./src/ap-form/dependency/index.vue.js"),L=require("./src/ap-form/set/index.vue.js"),S=require("./src/ap-form/drawer-form/index.vue.js"),k=require("./src/ap-field/index.js"),w=require("./src/ap-field/text/index.js"),K=require("./src/ap-field/checkbox/index.vue.js"),R=require("./src/ap-field/date/index.vue.js"),E=require("./src/ap-field/number/index.vue.js"),B=require("./src/ap-field/radio/index.vue.js"),O=require("./src/ap-field/switch/index.vue.js"),W=require("./src/ap-field/text-area/index.vue.js"),j=require("./src/ap-field/date-range/index.vue.js"),U=require("./src/ap-field/select/index.vue.js"),V=require("./src/ap-field/text/password.vue.js"),H=require("./src/ap-field/slider/index.vue.js"),z=require("./src/ap-field/segmented/index.vue.js"),J=require("./src/ap-field/rate/index.vue.js"),a=require("./src/design-token/index.js"),Q=require("./src/ap-action/index.js"),X=require("./src/ap-action/item-modal/index.vue.js"),Y=require("./src/ap-action/item-popconfirm/index.vue.js"),Z=require("./src/ap-action/item-dropdown/index.vue.js"),ee=require("./src/ap-action/group/index.vue.js"),o=require("./src/work-order-modal/interfaces.js"),te=require("./src/work-order-modal/createWorkOrder.js"),re=require("./src/work-order-modal/work-order-modal.vue.js"),ue=require("./src/ap-tag/ap-tag.vue.js"),_e=require("./src/ap-tag/ap-tag-group.vue.js"),pe=require("./src/ap-info-layout/ApInfoLayout.vue.js"),ne=require("./src/ap-upload/apUploadTypes.js"),ae=require("./src/ap-upload/apUpload.vue.js"),oe=require("./src/ap-download/interface.js"),ie=require("./src/ap-download/ap-download.vue.js"),se=require("./src/check-card/index.js"),le=require("./src/check-card/group.vue.js"),ce=require("./src/ap-modal/index.js"),de=require("./src/ap-list/index.vue.js"),Ae=require("./src/ap-button/ap-button.vue.js"),ve=require("./src/ap-button/ap-action-button.vue.js"),fe=require("./src/utils/ap-trans-data/index.js"),qe=require("./src/business/ap-table-modal/index.js"),ge=require("./src/business/ap-table-modal/hooks/use-table-modal.js"),xe=require("./src/business/ap-table-modal/hooks/use-table-select-modal.js"),me=require("./src/business/ap-attachment/index.js"),ye=require("./src/business/ap-batch-action/index.js"),$e=require("./src/business/ap-batch-action-group/index.js"),be=require("./src/business/ap-button-group/index.js"),Te=require("./src/business/ap-card/index.js"),Fe=require("./src/business/ap-expand-alert/index.js"),Ce=require("./src/business/ap-export-group/interface.js"),De=require("./src/business/ap-export-group/index.js"),Ie=require("./src/business/ap-export-group/handleExportDownload.js"),he=require("./src/business/ap-image/index.js"),Pe=require("./src/business/ap-input-radio/index.js"),i=require("./src/business/ap-label/index.js"),Ge=require("./src/business/ap-ladder/interface.js"),Me=require("./src/business/ap-ladder/index.js"),Ne=require("./src/business/ap-select-layout/index.js"),s=require("./src/business/ap-status/index.js"),Le=require("./src/business/ap-title/index.js"),Se=require("./src/business/hooks/usePageListApTable.js"),ke=require("./src/business/hooks/useTableRefresh.js"),r=require("./src/business/ap-summary/utils.js"),we=require("./src/business/ap-summary/index.js"),Ke=require("./src/business/ap-appendix/interface.js"),Re=require("./src/business/ap-appendix/index.js"),Ee=require("./src/ap-table/hooks/use-table-paging.js"),Be=require("./src/ap-table/index.js"),Oe=require("./src/editable-table/index.vue.js"),We=require("./src/editable-table/form-item.vue.js"),je=require("./src/ap-descriptions/ap-descriptions.vue.js"),Ue=require("./src/hooks/useMessage.js"),Ve=require("./src/hooks/useControllableValue.js"),He={install:l=>{for(const c in p){const _=p[c];_.install&&l.use(_)}}};exports.pathMap=d.default;exports.configProviderProps=A.configProviderProps;exports.configProviderContextKey=v.configProviderContextKey;exports.keysOf=u.keysOf;exports.provideGlobalConfig=u.provideGlobalConfig;exports.useGlobalConfig=u.useGlobalConfig;exports.buildLocaleContext=e.buildLocaleContext;exports.buildTranslator=e.buildTranslator;exports.localeContextKey=e.localeContextKey;exports.translate=e.translate;exports.useLocale=e.useLocale;exports.defaultNamespace=t.defaultNamespace;exports.namespaceContextKey=t.namespaceContextKey;exports.useGetDerivedNamespace=t.useGetDerivedNamespace;exports.useNamespace=t.useNamespace;exports.ConfigProvider=n.ConfigProvider;exports.globalConfigCached=n.globalConfigCached;exports.APConfigProvider=f.APConfigProvider;exports.ApFormItemText=q.ApFormItemText;exports.ApFormItemTextArea=g.default;exports.ApFormItemNumber=x.default;exports.ApFormItemDate=m.default;exports.ApFormItemDateRange=y.default;exports.ApFormItemRadio=$.default;exports.ApFormItemSelect=b.default;exports.ApFormItemSwitch=T.default;exports.ApFormItemCheckbox=F.default;exports.ApFormItemTextPassword=C.default;exports.ApForm=D.ApForm;exports.ApFormItem=I.default;exports.ApFormItemGroup=h.default;exports.ApFormList=P.default;exports.ApFormSearchForm=G.default;exports.ApFormModalForm=M.default;exports.ApFormDependency=N.default;exports.ApFormSet=L.default;exports.ApFormDrawerForm=S.default;exports.ApField=k.ApField;exports.ApFieldText=w.ApFieldText;exports.ApFieldCheckbox=K.default;exports.ApFieldDate=R.default;exports.ApFieldNumber=E.default;exports.ApFieldRadio=B.default;exports.ApFieldSwitch=O.default;exports.ApFieldTextArea=W.default;exports.ApFieldDateRange=j.default;exports.ApFieldSelect=U.default;exports.ApFieldPassword=V.default;exports.ApFieldSlider=H.default;exports.ApFieldSegmented=z.default;exports.ApFieldRate=J.default;exports.adminToken=a.adminToken;exports.aplusToken=a.aplusToken;exports.ApActionItem=Q.ApActionItem;exports.ApActionItemModal=X.default;exports.ApActionItemPopconfirm=Y.default;exports.ApActionItemDropdown=Z.default;exports.ApActionGroup=ee.default;exports.DictCode=o.DictCode;exports.langMap=o.langMap;exports.createWorkOrderModal=te.createWorkOrderModal;exports.WorkOrderModal=re.default;exports.ApTag=ue.default;exports.ApTagGroup=_e.default;exports.ApInfoLayout=pe.default;exports.NeedNameKeyDefault=ne.NeedNameKeyDefault;exports.ApUpload=ae.default;exports.ApDownLoadNeedNameKeyDefault=oe.ApDownLoadNeedNameKeyDefault;exports.ApDownload=ie.default;exports.CheckCard=se.CheckCard;exports.CheckCardGroup=le.default;exports.ApModal=ce.ApModal;exports.ApList=de.default;exports.ApButton=Ae.default;exports.ApActionButton=ve.default;exports.ApTransformDataHelper=fe.ApTransformDataHelper;exports.ApTableModal=qe.default;exports.useTableModal=ge.useTableModal;exports.useTableSelectModal=xe.useTableSelectModal;exports.ApAttachment=me.ApAttachment;exports.ApBatchAction=ye.ApBatchAction;exports.ApBatchActionGroup=$e.ApBatchActionGroup;exports.ApButtonGroup=be.ApButtonGroup;exports.ApCard=Te.ApCard;exports.ApExpandAlert=Fe.ApExpandAlert;exports.ApExportGroupActionType=Ce.ApExportGroupActionType;exports.ApExportGroup=De.ApExportGroup;exports.handleExportDownload=Ie.handleExportDownload;exports.ApImage=he.ApImage;exports.ApInputRadio=Pe.ApInputRadio;exports.ApLabel=i.ApLabel;exports.ApLabelGroup=i.ApLabelGroup;exports.locales=Ge.locales;exports.ApLadder=Me.ApLadder;exports.ApSelectLayout=Ne.ApSelectLayout;exports.ApStatus=s.ApStatus;exports.ApStatusGroup=s.ApStatusGroup;exports.ApTitle=Le.ApTitle;exports.usePageListApTable=Se.usePageListApTable;exports.useTableRefresh=ke.useTableRefresh;exports.computedRecords=r.computedRecords;exports.flattenColumns=r.flattenColumns;exports.formatDataIndex=r.formatDataIndex;exports.formatNumber=r.formatNumber;exports.ApSummary=we.ApSummary;exports.ApNeedNameKeyDefault=Ke.ApNeedNameKeyDefault;exports.ApAppendix=Re.ApAppendix;exports.useTablePaging=Ee.useTablePaging;exports.ApTable=Be.ApTable;exports.EditableTable=Oe.default;exports.EditableTableFormItem=We.default;exports.ApDescriptions=je.default;exports.useMessage=Ue.useMessage;exports.useControllableValue=Ve.useControllableValue;exports.default=He;
|
|
@@ -11,16 +11,19 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
11
11
|
type: string;
|
|
12
12
|
minWidth: boolean;
|
|
13
13
|
loading: undefined;
|
|
14
|
+
lazy: boolean;
|
|
14
15
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption< ApButtonProps>, {
|
|
15
16
|
type: string;
|
|
16
17
|
minWidth: boolean;
|
|
17
18
|
loading: undefined;
|
|
19
|
+
lazy: boolean;
|
|
18
20
|
}>>>, {
|
|
19
21
|
type: ButtonType | "borderLink";
|
|
20
22
|
minWidth: boolean | number | string;
|
|
21
23
|
loading: boolean | {
|
|
22
24
|
delay?: number;
|
|
23
25
|
};
|
|
26
|
+
lazy: boolean | number;
|
|
24
27
|
}, {}>;
|
|
25
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
29
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const l=require("./ap-button.vue.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const l=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=r;return(t,s)=>(e.openBlock(),e.createBlock(l.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...n})),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),o=>({name:o,fn:e.withCtx(a=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(a||{})))])}))]),1040))}});exports.default=u;
|