@aplus-frontend/ui 7.13.7 → 7.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ag-grid/components/body-cell/index.vue2.mjs +7 -7
- package/es/src/ag-grid/components/empty/index.vue2.mjs +10 -10
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +37 -37
- package/es/src/ag-grid/components/row/index.vue2.mjs +5 -5
- package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -12
- package/es/src/ag-grid/editable/form-item.vue.mjs +49 -49
- package/es/src/ag-grid/editable/index.vue.mjs +27 -27
- package/es/src/ag-grid/index.vue.mjs +249 -249
- package/es/src/ap-action/group/index.vue.mjs +15 -15
- package/es/src/ap-action/item/index.vue2.mjs +28 -28
- package/es/src/ap-action/item-dropdown/index.vue.mjs +39 -39
- package/es/src/ap-field/checkbox/index.vue.mjs +19 -19
- package/es/src/ap-field/checkbox/read.vue2.mjs +9 -9
- package/es/src/ap-field/date/index.vue.mjs +50 -50
- package/es/src/ap-field/date/read.vue2.mjs +7 -7
- package/es/src/ap-field/date-range/index.vue.mjs +30 -30
- package/es/src/ap-field/date-range/read.vue2.mjs +20 -20
- package/es/src/ap-field/number/index.vue.mjs +24 -24
- package/es/src/ap-field/radio/index.vue.mjs +24 -24
- package/es/src/ap-field/second/index.vue.mjs +15 -15
- package/es/src/ap-field/second/read.vue2.mjs +7 -7
- package/es/src/ap-field/segmented/index.vue.mjs +24 -24
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.mjs +246 -206
- package/es/src/ap-field/select/read.vue2.mjs +6 -6
- package/es/src/ap-field/slider/index.vue.mjs +11 -11
- package/es/src/ap-field/style/select.mjs +17 -4
- package/es/src/ap-field/switch/index.vue.mjs +45 -45
- package/es/src/ap-field/text/read-password.vue2.mjs +13 -13
- package/es/src/ap-field/text/read.vue2.mjs +3 -3
- package/es/src/ap-field/text-area/index.vue.mjs +29 -29
- package/es/src/ap-field/text-area/read.vue2.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.mjs +31 -31
- package/es/src/ap-form/ap-form.vue2.mjs +46 -46
- package/es/src/ap-form/drawer-form/index.vue.mjs +30 -30
- package/es/src/ap-form/item/index.vue.mjs +75 -75
- package/es/src/ap-form/items/checkbox/index.vue.mjs +10 -10
- package/es/src/ap-form/items/number/index.vue.mjs +17 -17
- package/es/src/ap-form/items/radio/index.vue.mjs +13 -13
- package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
- package/es/src/ap-form/items/switch/index.vue.mjs +14 -14
- package/es/src/ap-form/items/text/index.vue2.mjs +26 -26
- package/es/src/ap-form/items/text/password.vue.mjs +19 -19
- package/es/src/ap-form/items/text-area/index.vue.mjs +17 -17
- package/es/src/ap-form/modal-form/index.vue.mjs +34 -34
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +39 -39
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +7 -7
- package/es/src/ap-grid/editable/form-item.vue.mjs +46 -46
- package/es/src/ap-grid/editable/index.vue.mjs +19 -19
- package/es/src/ap-grid/index.vue.mjs +212 -212
- package/es/src/ap-list/index.vue.mjs +116 -116
- package/es/src/ap-table/ap-table.vue2.mjs +217 -217
- package/es/src/ap-table/components/index/index.vue2.mjs +9 -9
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -42
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +21 -21
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +15 -15
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +69 -69
- package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +22 -22
- package/es/src/ap-table/components/setting/template/index.vue2.mjs +25 -25
- package/es/src/ap-table/components/setting/template/item.vue2.mjs +40 -40
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +13 -13
- package/es/src/ap-table/constants.d.ts +2 -2
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +54 -54
- package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +13 -13
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +20 -20
- package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +33 -33
- package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +13 -13
- package/es/src/business/ap-download/ap-download.vue.mjs +24 -24
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +77 -77
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +33 -33
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +12 -12
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +43 -43
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +57 -57
- package/es/src/business/ap-tag/ap-tag-group.vue.mjs +37 -37
- package/es/src/business/ap-tag/ap-tag.vue.mjs +24 -24
- package/es/src/business/ap-title/ApTitle.vue2.mjs +27 -27
- package/es/src/business/ap-value-select-card/index.vue2.mjs +98 -98
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/form-item.vue.mjs +25 -25
- package/es/src/business/batch-input-group/index.vue.mjs +60 -60
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +29 -29
- package/es/src/editable-table/form-item.vue.mjs +35 -35
- package/es/src/editable-table/index.vue.mjs +19 -19
- package/es/src/full-screen/index.vue.mjs +46 -46
- package/es/src/mask/index.vue.mjs +48 -48
- package/es/src/portal/index.vue.mjs +5 -5
- package/es/src/scroll-bar/internal.vue.mjs +62 -62
- package/es/src/scroll-view/index.vue.mjs +66 -66
- package/es/src/skeleton/components/desc/index.vue2.mjs +9 -9
- package/es/src/skeleton/components/desc/item-large.vue2.mjs +25 -25
- package/es/src/skeleton/components/desc/item.vue2.mjs +13 -13
- package/es/src/skeleton/components/list/index.vue2.mjs +14 -14
- package/es/src/skeleton/components/list/item.vue2.mjs +12 -12
- package/es/src/skeleton/components/page-header/index.vue2.mjs +8 -8
- package/es/src/skeleton/components/search-form/index.vue2.mjs +35 -35
- package/es/src/skeleton/components/table/index.vue2.mjs +17 -17
- package/es/src/skeleton/components/table/item.vue2.mjs +23 -23
- package/es/src/skeleton/descriptions.vue2.mjs +15 -15
- package/es/src/skeleton/list-page.vue2.mjs +12 -12
- package/es/src/splitter/Panel.vue2.mjs +11 -11
- package/es/src/splitter/SplitBar.vue2.mjs +79 -79
- package/es/src/splitter/Splitter.vue2.mjs +50 -50
- package/es/src/text/group.vue.mjs +8 -8
- package/es/src/text/index.vue.mjs +48 -48
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/row/index.vue2.js +1 -1
- package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/second/read.vue2.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/style/select.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.js +1 -1
- package/lib/src/ap-form/items/radio/index.vue.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
- package/lib/src/ap-form/items/switch/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue2.js +1 -1
- package/lib/src/ap-form/items/text/password.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2 -2
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-status/group/ApStatusGroup.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/mask/index.vue.js +1 -1
- package/lib/src/portal/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.js +1 -1
- package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
- package/lib/src/skeleton/components/desc/item-large.vue2.js +1 -1
- package/lib/src/skeleton/components/desc/item.vue2.js +1 -1
- package/lib/src/skeleton/components/list/index.vue2.js +1 -1
- package/lib/src/skeleton/components/list/item.vue2.js +1 -1
- package/lib/src/skeleton/components/page-header/index.vue2.js +1 -1
- package/lib/src/skeleton/components/search-form/index.vue2.js +1 -1
- package/lib/src/skeleton/components/table/index.vue2.js +1 -1
- package/lib/src/skeleton/components/table/item.vue2.js +1 -1
- package/lib/src/skeleton/descriptions.vue2.js +1 -1
- package/lib/src/skeleton/list-page.vue2.js +1 -1
- package/lib/src/splitter/Panel.vue2.js +1 -1
- package/lib/src/splitter/SplitBar.vue2.js +1 -1
- package/lib/src/splitter/Splitter.vue2.js +1 -1
- package/lib/src/text/group.vue.js +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as N, useSlots as T, createVNode as
|
|
2
|
-
import { Descriptions as
|
|
3
|
-
import { get as
|
|
1
|
+
import { defineComponent as N, useSlots as T, createVNode as n, createTextVNode as D, Fragment as V, shallowRef as w, watch as E, createElementBlock as k, openBlock as A, normalizeStyle as B, normalizeClass as I, unref as s, mergeProps as R } from "vue";
|
|
2
|
+
import { Descriptions as j } from "@aplus-frontend/antdv";
|
|
3
|
+
import { get as u } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import "./help-message/index.vue.mjs";
|
|
6
|
-
import { mixinsAttachmentExtraProps as
|
|
7
|
-
import
|
|
8
|
-
import { useGlobalConfig as
|
|
9
|
-
import { useNamespace as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
6
|
+
import { mixinsAttachmentExtraProps as z, transformValue as F, isEmptyWithType as G } from "./helper.mjs";
|
|
7
|
+
import M from "./style/index.mjs";
|
|
8
|
+
import { useGlobalConfig as c } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
import { useNamespace as L } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import O from "./help-message/index.vue2.mjs";
|
|
11
|
+
const _ = /* @__PURE__ */ N({
|
|
12
12
|
name: "ApDescriptions",
|
|
13
13
|
__name: "ap-descriptions",
|
|
14
14
|
props: {
|
|
@@ -20,30 +20,30 @@ const Z = /* @__PURE__ */ N({
|
|
|
20
20
|
},
|
|
21
21
|
className: {}
|
|
22
22
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const o =
|
|
23
|
+
setup(l) {
|
|
24
|
+
const o = l, f = c("apDescriptions"), d = c("downloadCenterTriggerConfig"), {
|
|
25
25
|
b: y,
|
|
26
26
|
be: m
|
|
27
|
-
} =
|
|
27
|
+
} = L("ap-descriptions"), b = M("ap-descriptions"), g = T(), S = (e = {}) => {
|
|
28
28
|
let r = "";
|
|
29
29
|
return o.descriptionsProps?.layout === "vertical" && (r = "start"), {
|
|
30
30
|
justifyContent: r,
|
|
31
31
|
...e
|
|
32
32
|
};
|
|
33
|
-
},
|
|
34
|
-
const r =
|
|
33
|
+
}, i = (e) => {
|
|
34
|
+
const r = u(o.dataSource, e.field);
|
|
35
35
|
if (e.customRender)
|
|
36
36
|
return e.customRender(o.dataSource);
|
|
37
|
-
e.valueType === "attachment" && (e.extraProps =
|
|
38
|
-
fromConfig:
|
|
37
|
+
e.valueType === "attachment" && (e.extraProps = z(e.extraProps, {
|
|
38
|
+
fromConfig: f.value?.downloadFile,
|
|
39
39
|
fromGlobal: d.value?.trigger
|
|
40
40
|
}));
|
|
41
41
|
const t = e.format ? e.format(r, o.dataSource || {}) : r;
|
|
42
|
-
return
|
|
42
|
+
return F({
|
|
43
43
|
value: t,
|
|
44
44
|
record: o.dataSource
|
|
45
45
|
}, e);
|
|
46
|
-
}, v = (e) => e.valueType === "text" && !!e.extraProps?.ellipsis,
|
|
46
|
+
}, v = (e) => e.valueType === "text" && !!e.extraProps?.ellipsis, x = (e, r) => {
|
|
47
47
|
if (e.visible != null) {
|
|
48
48
|
if (typeof e.visible == "boolean")
|
|
49
49
|
return e.visible;
|
|
@@ -54,12 +54,12 @@ const Z = /* @__PURE__ */ N({
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
return !0;
|
|
57
|
-
},
|
|
57
|
+
}, C = (e, r, t) => e.valueType === "empty" ? null : G(u(t, e.field), e) ? n("span", null, [D("--")]) : e.contentSlotName ? g?.[e.contentSlotName]?.({
|
|
58
58
|
index: r,
|
|
59
59
|
record: t,
|
|
60
|
-
item:
|
|
61
|
-
}) :
|
|
62
|
-
label: t.label &&
|
|
60
|
+
item: i(e)
|
|
61
|
+
}) : n(V, null, [e.prefix, i(e), e.suffix]), P = (e = [], r) => e.filter((t) => x(t, r)).map((t, p) => ({
|
|
62
|
+
label: t.label && n(O, {
|
|
63
63
|
helpMessage: t.helpMessage,
|
|
64
64
|
label: t.label
|
|
65
65
|
}, null),
|
|
@@ -67,26 +67,26 @@ const Z = /* @__PURE__ */ N({
|
|
|
67
67
|
style: t.style,
|
|
68
68
|
contentStyle: t.contentStyle,
|
|
69
69
|
labelStyle: t.labelStyle,
|
|
70
|
-
key: t.field?.toString() || "empty" +
|
|
70
|
+
key: t.field?.toString() || "empty" + p,
|
|
71
71
|
class: v(t) ? m("item", "ellipsis") : "",
|
|
72
|
-
children:
|
|
73
|
-
})),
|
|
72
|
+
children: C(t, p, r)
|
|
73
|
+
})), a = w([]);
|
|
74
74
|
return E([() => o.schemas, () => o.dataSource], () => {
|
|
75
|
-
|
|
75
|
+
a.value = P(o.schemas, o.dataSource);
|
|
76
76
|
}, {
|
|
77
77
|
immediate: !0,
|
|
78
78
|
deep: !0
|
|
79
|
-
}), (e, r) => (
|
|
80
|
-
class:
|
|
81
|
-
style:
|
|
82
|
-
}, [
|
|
79
|
+
}), (e, r) => (A(), k("div", {
|
|
80
|
+
class: I([l.className, s(y)(), s(b)]),
|
|
81
|
+
style: B(l.style)
|
|
82
|
+
}, [n(s(j), R(l.descriptionsProps, {
|
|
83
83
|
"label-style": S({
|
|
84
|
-
...
|
|
84
|
+
...l.descriptionsProps?.labelStyle || {}
|
|
85
85
|
}),
|
|
86
|
-
items:
|
|
86
|
+
items: a.value
|
|
87
87
|
}), null, 16, ["label-style", "items"])], 6));
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
_ as default
|
|
92
92
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as r, computed as m, createVNode as
|
|
1
|
+
import { defineComponent as r, computed as m, createVNode as o, createElementBlock as d, openBlock as l, createBlock as s, createCommentVNode as u, resolveDynamicComponent as f, unref as i, withCtx as h } from "vue";
|
|
2
2
|
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
3
|
-
import { TypographyText as
|
|
3
|
+
import { TypographyText as y, Tooltip as x } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
|
-
import { useNamespace as
|
|
5
|
+
import { useNamespace as _ } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const C = {
|
|
7
7
|
style: {
|
|
8
8
|
display: "inline-flex"
|
|
@@ -13,29 +13,29 @@ const C = {
|
|
|
13
13
|
helpMessage: {},
|
|
14
14
|
label: {}
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const n =
|
|
18
|
-
m:
|
|
19
|
-
} =
|
|
16
|
+
setup(t) {
|
|
17
|
+
const n = t, {
|
|
18
|
+
m: a
|
|
19
|
+
} = _("ap-descriptions"), c = m(() => {
|
|
20
20
|
const e = n.label;
|
|
21
|
-
return typeof e != "object" ?
|
|
22
|
-
class:
|
|
21
|
+
return typeof e != "object" ? o("div", {
|
|
22
|
+
class: a("item-label"),
|
|
23
23
|
style: {
|
|
24
24
|
maxWidth: "var(--ap-descriptions-item-label-width, auto)"
|
|
25
25
|
}
|
|
26
|
-
}, [
|
|
26
|
+
}, [o(y, {
|
|
27
27
|
ellipsis: {
|
|
28
28
|
tooltip: e
|
|
29
29
|
},
|
|
30
30
|
content: e
|
|
31
31
|
}, null)]) : e;
|
|
32
32
|
});
|
|
33
|
-
return (e,
|
|
33
|
+
return (e, p) => (l(), d("span", C, [(l(), s(f(c.value))), t.helpMessage ? (l(), s(i(x), {
|
|
34
34
|
key: 0,
|
|
35
35
|
placement: "topLeft",
|
|
36
|
-
title:
|
|
36
|
+
title: t.helpMessage
|
|
37
37
|
}, {
|
|
38
|
-
default: h(() => [
|
|
38
|
+
default: h(() => [o(i(b), {
|
|
39
39
|
class: "ap-descriptions-item-content__help"
|
|
40
40
|
})]),
|
|
41
41
|
_: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as I, ref as P, useSlots as T, computed as l, unref as t, createBlock as j, openBlock as n, mergeProps as V, withCtx as s, createElementVNode as
|
|
1
|
+
import { defineComponent as I, ref as P, useSlots as T, computed as l, unref as t, createBlock as j, openBlock as n, mergeProps as V, withCtx as s, createElementVNode as b, normalizeClass as D, createElementBlock as p, createCommentVNode as m, createVNode as r, renderSlot as M, createSlots as U, toDisplayString as k, createTextVNode as E, withModifiers as G } from "vue";
|
|
2
2
|
import { LoadingOutlined as R } from "@ant-design/icons-vue";
|
|
3
|
-
import { Button as W, Tooltip as
|
|
3
|
+
import { Button as W, Tooltip as h } from "@aplus-frontend/antdv";
|
|
4
4
|
import { IconApAdLineDownload as $ } from "@aplus-frontend/icon";
|
|
5
5
|
import { isArray as q, omit as H } from "lodash-unified";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
@@ -9,7 +9,7 @@ import { useOssInit as K } from "./hooks/index.mjs";
|
|
|
9
9
|
import { useStyle as Q } from "./hooks/useStyle.mjs";
|
|
10
10
|
import { getFileInfo as f } from "./utils/getFileInfo.mjs";
|
|
11
11
|
import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
|
|
12
|
-
import { useGlobalConfig as
|
|
12
|
+
import { useGlobalConfig as A } from "../../config-provider/hooks/use-global-config.mjs";
|
|
13
13
|
const Y = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "spin"
|
|
@@ -47,12 +47,12 @@ const Y = {
|
|
|
47
47
|
preview: { type: Boolean, default: !1 }
|
|
48
48
|
},
|
|
49
49
|
emits: ["downloadCallback"],
|
|
50
|
-
setup(
|
|
51
|
-
const
|
|
50
|
+
setup(u, { emit: B }) {
|
|
51
|
+
const g = B, c = P(!1), { lang: _, t: v } = X(), O = T(), x = l(() => _.value === "zh-cn" ? "zh_CN" : "en_US"), e = u, i = A("apUpload"), w = A(
|
|
52
52
|
"downloadCenterTriggerConfig"
|
|
53
|
-
),
|
|
53
|
+
), N = l(() => e.disabled), z = l(() => e.size), d = l(
|
|
54
54
|
() => e.preview && (q(e.fileName) ? e.fileName.length === 1 : !0)
|
|
55
|
-
), { getInnerWrapperClass: F } = Q(
|
|
55
|
+
), { getInnerWrapperClass: F } = Q(z, N), L = l(() => e.getOssAccess || i.value?.getOssAccess), S = () => {
|
|
56
56
|
const o = f(
|
|
57
57
|
e.needName ?? i?.value?.needName,
|
|
58
58
|
e.fileName
|
|
@@ -61,30 +61,30 @@ const Y = {
|
|
|
61
61
|
src: o.path,
|
|
62
62
|
fileName: o.fileName
|
|
63
63
|
});
|
|
64
|
-
},
|
|
64
|
+
}, y = async () => {
|
|
65
65
|
if (!e.disabled) {
|
|
66
66
|
c.value = !0;
|
|
67
67
|
try {
|
|
68
|
-
if (
|
|
68
|
+
if (w.value?.trigger) {
|
|
69
69
|
let a = f(
|
|
70
70
|
e.needName ?? i?.value?.needName,
|
|
71
71
|
e.fileName
|
|
72
|
-
).map((
|
|
73
|
-
objectName:
|
|
74
|
-
fileName:
|
|
72
|
+
).map((C) => ({
|
|
73
|
+
objectName: C.path,
|
|
74
|
+
fileName: C.fileName
|
|
75
75
|
}));
|
|
76
|
-
await
|
|
76
|
+
await w.value?.trigger(a), g("downloadCallback", a);
|
|
77
77
|
} else {
|
|
78
78
|
const a = await (await K(
|
|
79
79
|
L.value,
|
|
80
|
-
t(
|
|
80
|
+
t(x)
|
|
81
81
|
)).downloadFile(
|
|
82
82
|
f(
|
|
83
83
|
e.needName ?? i?.value?.needName,
|
|
84
84
|
e.fileName
|
|
85
85
|
)
|
|
86
86
|
);
|
|
87
|
-
|
|
87
|
+
g("downloadCallback", a);
|
|
88
88
|
}
|
|
89
89
|
} catch (o) {
|
|
90
90
|
console.error(o);
|
|
@@ -96,11 +96,11 @@ const Y = {
|
|
|
96
96
|
return (o, a) => (n(), j(t(W), V(t(H)(e, ["getOssAccess", "fileName", "needName"]), {
|
|
97
97
|
type: e.type,
|
|
98
98
|
size: e.size,
|
|
99
|
-
disabled:
|
|
100
|
-
onClick: a[0] || (a[0] = () => (d.value ? S :
|
|
99
|
+
disabled: N.value,
|
|
100
|
+
onClick: a[0] || (a[0] = () => (d.value ? S : y)())
|
|
101
101
|
}), {
|
|
102
102
|
default: s(() => [
|
|
103
|
-
|
|
103
|
+
b("div", {
|
|
104
104
|
class: D(t(F))
|
|
105
105
|
}, [
|
|
106
106
|
c.value ? (n(), p("span", Y, [
|
|
@@ -109,16 +109,16 @@ const Y = {
|
|
|
109
109
|
t(O).icon ? (n(), p("span", Z, [
|
|
110
110
|
M(o.$slots, "icon")
|
|
111
111
|
])) : m("", !0),
|
|
112
|
-
r(t(
|
|
112
|
+
r(t(h), null, U({
|
|
113
113
|
default: s(() => [
|
|
114
|
-
|
|
114
|
+
b("span", ee, k(u.text), 1)
|
|
115
115
|
]),
|
|
116
116
|
_: 2
|
|
117
117
|
}, [
|
|
118
118
|
d.value ? {
|
|
119
119
|
name: "title",
|
|
120
120
|
fn: s(() => [
|
|
121
|
-
E(
|
|
121
|
+
E(k(t(v)("ap.apAppendix.previewFile")), 1)
|
|
122
122
|
]),
|
|
123
123
|
key: "0"
|
|
124
124
|
} : void 0
|
|
@@ -126,10 +126,10 @@ const Y = {
|
|
|
126
126
|
d.value ? (n(), p("span", {
|
|
127
127
|
key: 2,
|
|
128
128
|
class: "preview-icon",
|
|
129
|
-
onClick: G(
|
|
129
|
+
onClick: G(y, ["stop"])
|
|
130
130
|
}, [
|
|
131
|
-
r(t(
|
|
132
|
-
title: t(
|
|
131
|
+
r(t(h), {
|
|
132
|
+
title: t(v)("ap.apAppendix.downloadFile")
|
|
133
133
|
}, {
|
|
134
134
|
default: s(() => [
|
|
135
135
|
r(t($))
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as j, computed as
|
|
1
|
+
import { defineComponent as j, computed as p, ref as m, watch as C, nextTick as y, onMounted as G, createElementBlock as c, createCommentVNode as S, openBlock as a, normalizeClass as s, unref as t, createVNode as $, withCtx as x, createElementVNode as E, normalizeStyle as h, renderSlot as z, createBlock as A, toDisplayString as d, resolveDynamicComponent as D, Fragment as B, renderList as J, createTextVNode as P } from "vue";
|
|
2
2
|
import { DownOutlined as Q } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as U, Tooltip as X } from "@aplus-frontend/antdv";
|
|
4
|
-
import { isNil as Y, isString as
|
|
4
|
+
import { isNil as Y, isString as N } from "lodash-unified";
|
|
5
5
|
import { ApActionItem as Z } from "../../ap-action/index.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import _ from "./style/index.mjs";
|
|
8
8
|
import { useLocale as ee } from "../../config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import { useNamespace as te } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
-
const le = ["onClick"],
|
|
10
|
+
const le = ["onClick"], pe = /* @__PURE__ */ j({
|
|
11
11
|
__name: "ApExpandAlert",
|
|
12
12
|
props: {
|
|
13
13
|
type: { default: "warning" },
|
|
@@ -26,66 +26,66 @@ const le = ["onClick"], fe = /* @__PURE__ */ j({
|
|
|
26
26
|
afterClose: {}
|
|
27
27
|
},
|
|
28
28
|
emits: ["choose", "expand", "close"],
|
|
29
|
-
setup(
|
|
30
|
-
const v = R,
|
|
31
|
-
if (
|
|
32
|
-
return
|
|
33
|
-
}),
|
|
29
|
+
setup(e, { expose: V, emit: R }) {
|
|
30
|
+
const v = R, u = e, { t: T } = ee(), q = p(() => {
|
|
31
|
+
if (u.type != "card")
|
|
32
|
+
return u.type;
|
|
33
|
+
}), n = m(""), f = m(null), F = p(() => ({
|
|
34
34
|
fontWeight: "400",
|
|
35
35
|
wordBreak: "break-all",
|
|
36
36
|
overflow: "hidden",
|
|
37
37
|
display: "-webkit-box",
|
|
38
|
-
webkitLineClamp:
|
|
38
|
+
webkitLineClamp: n.value,
|
|
39
39
|
webkitBoxOrient: "vertical",
|
|
40
40
|
lineHeight: "18px"
|
|
41
41
|
}));
|
|
42
42
|
function M() {
|
|
43
|
-
|
|
43
|
+
n.value === "1" ? (n.value = "", v("expand", "expand")) : (n.value = "1", v("expand", "collapse"));
|
|
44
44
|
}
|
|
45
|
-
const O =
|
|
46
|
-
function w(
|
|
47
|
-
|
|
45
|
+
const O = p(() => n.value === "1" ? T("ap.apExpandAlert.expand") : T("ap.apExpandAlert.collapse")), k = m(!0), H = p(() => n.value !== "1");
|
|
46
|
+
function w(l) {
|
|
47
|
+
l ? n.value = "" : n.value = "1";
|
|
48
48
|
}
|
|
49
|
-
const
|
|
50
|
-
function K(
|
|
51
|
-
v("close",
|
|
49
|
+
const I = m(!1);
|
|
50
|
+
function K(l) {
|
|
51
|
+
v("close", l), I.value = !0;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
() =>
|
|
53
|
+
C(
|
|
54
|
+
() => u.data,
|
|
55
55
|
() => {
|
|
56
|
-
|
|
57
|
-
if (
|
|
58
|
-
const
|
|
59
|
-
parseInt(
|
|
56
|
+
n.value = "", y(() => {
|
|
57
|
+
if (f.value) {
|
|
58
|
+
const l = Number(f.value.clientHeight), r = Number(
|
|
59
|
+
parseInt(f.value.style.lineHeight)
|
|
60
60
|
);
|
|
61
|
-
|
|
61
|
+
l < r * Number(u.rows) && H.value ? k.value = !1 : k.value = !0;
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
immediate: !0
|
|
67
67
|
}
|
|
68
|
-
),
|
|
69
|
-
() =>
|
|
70
|
-
(
|
|
71
|
-
|
|
72
|
-
w(
|
|
73
|
-
}) :
|
|
74
|
-
w(
|
|
68
|
+
), C(
|
|
69
|
+
() => u.defaultExpand,
|
|
70
|
+
(l) => {
|
|
71
|
+
l ? y(() => {
|
|
72
|
+
w(l);
|
|
73
|
+
}) : y(() => {
|
|
74
|
+
w(l);
|
|
75
75
|
});
|
|
76
76
|
},
|
|
77
77
|
{ immediate: !0 }
|
|
78
78
|
), G(() => {
|
|
79
|
-
|
|
80
|
-
() =>
|
|
81
|
-
(
|
|
82
|
-
Y(
|
|
79
|
+
C(
|
|
80
|
+
() => u.contentStyle,
|
|
81
|
+
(l) => {
|
|
82
|
+
Y(l.lineHeight) || y(() => {
|
|
83
83
|
const r = document.querySelector(
|
|
84
84
|
`#${b} .ant-alert-action`
|
|
85
|
-
),
|
|
85
|
+
), i = document.querySelector(
|
|
86
86
|
`#${b} .ant-alert-icon`
|
|
87
87
|
);
|
|
88
|
-
r && r.setAttribute("style", `line-height: ${
|
|
88
|
+
r && r.setAttribute("style", `line-height: ${l.lineHeight}`), i && i.setAttribute("style", `line-height: ${l.lineHeight}`);
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
91
|
{
|
|
@@ -95,85 +95,85 @@ const le = ["onClick"], fe = /* @__PURE__ */ j({
|
|
|
95
95
|
}
|
|
96
96
|
);
|
|
97
97
|
});
|
|
98
|
-
const { b:
|
|
98
|
+
const { b: L, e: o } = te("ap-expand-alert"), W = _("ap-expand-alert"), b = `${L()}-key-${Date.now()}-${(Math.random() * 1e6).toFixed(0)}`;
|
|
99
99
|
return V({
|
|
100
100
|
setExpand: w
|
|
101
|
-
}), (
|
|
101
|
+
}), (l, r) => I.value ? S("", !0) : (a(), c("div", {
|
|
102
102
|
key: 0,
|
|
103
103
|
id: b,
|
|
104
|
-
class:
|
|
104
|
+
class: s([t(L)(), t(W)])
|
|
105
105
|
}, [
|
|
106
|
-
|
|
106
|
+
$(t(U), {
|
|
107
107
|
type: q.value,
|
|
108
108
|
"show-icon": e.showIcon,
|
|
109
109
|
closable: e.closable,
|
|
110
|
-
class:
|
|
110
|
+
class: s([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""]),
|
|
111
111
|
"after-close": e.afterClose,
|
|
112
112
|
onClose: K
|
|
113
113
|
}, {
|
|
114
|
-
action:
|
|
115
|
-
k.value ? (
|
|
114
|
+
action: x(() => [
|
|
115
|
+
k.value ? (a(), A(t(Z), {
|
|
116
116
|
key: 0,
|
|
117
117
|
size: "small",
|
|
118
118
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
119
|
-
onClick: r[0] || (r[0] = (
|
|
119
|
+
onClick: r[0] || (r[0] = (i) => M())
|
|
120
120
|
}, {
|
|
121
|
-
default:
|
|
122
|
-
|
|
123
|
-
class:
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
class:
|
|
121
|
+
default: x(() => [
|
|
122
|
+
E("span", {
|
|
123
|
+
class: s(t(o)("expandText"))
|
|
124
|
+
}, d(O.value), 3),
|
|
125
|
+
$(t(Q), {
|
|
126
|
+
class: s(H.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
127
127
|
}, null, 8, ["class"])
|
|
128
128
|
]),
|
|
129
129
|
_: 1
|
|
130
|
-
})) :
|
|
130
|
+
})) : S("", !0)
|
|
131
131
|
]),
|
|
132
|
-
message:
|
|
133
|
-
|
|
132
|
+
message: x(() => [
|
|
133
|
+
E("div", {
|
|
134
134
|
ref_key: "ellipsisBoxRef",
|
|
135
|
-
ref:
|
|
135
|
+
ref: f,
|
|
136
136
|
style: h({ ...F.value, ...e.contentStyle }),
|
|
137
|
-
class:
|
|
137
|
+
class: s(t(o)("alertContent"))
|
|
138
138
|
}, [
|
|
139
|
-
|
|
140
|
-
t(
|
|
139
|
+
z(l.$slots, "default", {}, () => [
|
|
140
|
+
t(N)(e.prefix) ? (a(), c("span", {
|
|
141
141
|
key: 0,
|
|
142
|
-
class:
|
|
142
|
+
class: s(t(o)("prefix")),
|
|
143
143
|
style: h(e.prefixStyle)
|
|
144
|
-
},
|
|
144
|
+
}, d(e.prefix), 7)) : (a(), A(D(e.prefix), {
|
|
145
145
|
key: 1,
|
|
146
146
|
style: h(e.prefixStyle)
|
|
147
147
|
}, null, 8, ["style"])),
|
|
148
|
-
t(
|
|
148
|
+
t(N)(e.data) ? (a(), c("span", {
|
|
149
149
|
key: 2,
|
|
150
|
-
class:
|
|
151
|
-
},
|
|
152
|
-
|
|
150
|
+
class: s(t(o)("text"))
|
|
151
|
+
}, d(e.data), 3)) : (a(!0), c(B, { key: 3 }, J(e.data, (i, g) => (a(), c(B, { key: g }, [
|
|
152
|
+
$(t(X), {
|
|
153
153
|
title: e.tipTitle ? e.tipTitle : null
|
|
154
154
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
157
|
-
record:
|
|
155
|
+
default: x(() => [
|
|
156
|
+
z(l.$slots, "item", {
|
|
157
|
+
record: i,
|
|
158
158
|
index: g
|
|
159
159
|
}, () => [
|
|
160
|
-
|
|
161
|
-
class:
|
|
162
|
-
onClick: (ae) =>
|
|
163
|
-
},
|
|
160
|
+
E("span", {
|
|
161
|
+
class: s(t(o)("showItem")),
|
|
162
|
+
onClick: (ae) => l.$emit("choose", i)
|
|
163
|
+
}, d(e.mapLabel ? i[e.mapLabel] : i), 11, le)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
166
|
_: 2
|
|
167
167
|
}, 1032, ["title"]),
|
|
168
|
-
g !== e.data.length - 1 ? (
|
|
168
|
+
g !== e.data.length - 1 ? (a(), c("span", {
|
|
169
169
|
key: 0,
|
|
170
|
-
class:
|
|
170
|
+
class: s(t(o)("spliter")),
|
|
171
171
|
style: h(e.separatorStyle)
|
|
172
172
|
}, [
|
|
173
|
-
t(
|
|
174
|
-
P(
|
|
175
|
-
], 64)) : (
|
|
176
|
-
], 6)) :
|
|
173
|
+
t(N)(e.separator) ? (a(), c(B, { key: 0 }, [
|
|
174
|
+
P(d(e.separator), 1)
|
|
175
|
+
], 64)) : (a(), A(D(e.separator), { key: 1 }))
|
|
176
|
+
], 6)) : S("", !0)
|
|
177
177
|
], 64))), 128))
|
|
178
178
|
])
|
|
179
179
|
], 6)
|
|
@@ -184,5 +184,5 @@ const le = ["onClick"], fe = /* @__PURE__ */ j({
|
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
186
|
export {
|
|
187
|
-
|
|
187
|
+
pe as default
|
|
188
188
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as C, ref as k, isVNode as S, h as
|
|
1
|
+
import { defineComponent as C, ref as k, isVNode as S, h as n, watch as x, createElementBlock as r, openBlock as i, normalizeClass as m, unref as o, createVNode as b, withCtx as V, Fragment as w, renderList as B, normalizeStyle as N, createBlock as z, resolveDynamicComponent as F } from "vue";
|
|
2
2
|
import { Flex as L } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { useNamespace as
|
|
7
|
-
import { useControllableValue as
|
|
8
|
-
const
|
|
5
|
+
import A from "./style/index.mjs";
|
|
6
|
+
import { useNamespace as D } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { useControllableValue as E } from "../../hooks/useControllableValue.mjs";
|
|
8
|
+
const G = ["onClick"], M = /* @__PURE__ */ C({
|
|
9
9
|
name: "ApRadioGroup",
|
|
10
10
|
__name: "ap-radio-group",
|
|
11
11
|
props: {
|
|
@@ -18,45 +18,45 @@ const E = ["onClick"], K = /* @__PURE__ */ C({
|
|
|
18
18
|
}) }
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:value", "change"],
|
|
21
|
-
setup(
|
|
22
|
-
const { b: f, e:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
),
|
|
26
|
-
|
|
27
|
-
() =>
|
|
21
|
+
setup(t, { emit: d }) {
|
|
22
|
+
const { b: f, e: s } = D("ap-radio-group"), h = A("ap-radio-group"), u = t, c = d, { value: p, updateValue: g } = E(
|
|
23
|
+
u,
|
|
24
|
+
c
|
|
25
|
+
), l = k(p.value), y = (e) => S(e) ? n(e) : typeof e == "function" ? n("span", e()) : n("span", e);
|
|
26
|
+
x(
|
|
27
|
+
() => p.value,
|
|
28
28
|
(e) => {
|
|
29
|
-
e !==
|
|
29
|
+
e !== l.value && (l.value = e);
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
const v = (e) => {
|
|
33
|
-
|
|
34
|
-
g(e),
|
|
35
|
-
},
|
|
33
|
+
l.value = e, setTimeout(() => {
|
|
34
|
+
g(e), c("change", e);
|
|
35
|
+
}, u.delay);
|
|
36
36
|
};
|
|
37
|
-
return (e,
|
|
38
|
-
class:
|
|
37
|
+
return (e, H) => (i(), r("div", {
|
|
38
|
+
class: m([o(f)(), o(h)])
|
|
39
39
|
}, [
|
|
40
|
-
|
|
41
|
-
gap:
|
|
40
|
+
b(o(L), {
|
|
41
|
+
gap: t.optionStyle?.gap,
|
|
42
42
|
wrap: "wrap"
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
(
|
|
46
|
-
key:
|
|
47
|
-
class:
|
|
48
|
-
o(
|
|
49
|
-
|
|
44
|
+
default: V(() => [
|
|
45
|
+
(i(!0), r(w, null, B(t.options.filter((a) => a.visible !== !1), (a) => (i(), r("div", {
|
|
46
|
+
key: a.value,
|
|
47
|
+
class: m([
|
|
48
|
+
o(s)("item"),
|
|
49
|
+
l.value === a.value ? o(s)("item--active") : ""
|
|
50
50
|
]),
|
|
51
51
|
style: N({
|
|
52
|
-
height:
|
|
53
|
-
lineHeight:
|
|
54
|
-
color:
|
|
52
|
+
height: t.optionStyle?.height + "px",
|
|
53
|
+
lineHeight: t.optionStyle?.height + "px",
|
|
54
|
+
color: t.optionStyle?.color
|
|
55
55
|
}),
|
|
56
|
-
onClick: (
|
|
56
|
+
onClick: (I) => v(a.value)
|
|
57
57
|
}, [
|
|
58
|
-
(
|
|
59
|
-
], 14,
|
|
58
|
+
(i(), z(F(y(a.label))))
|
|
59
|
+
], 14, G))), 128))
|
|
60
60
|
]),
|
|
61
61
|
_: 1
|
|
62
62
|
}, 8, ["gap"])
|
|
@@ -64,5 +64,5 @@ const E = ["onClick"], K = /* @__PURE__ */ C({
|
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
M as default
|
|
68
68
|
};
|