@aplus-frontend/ui 6.20.1 → 6.21.1
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/index.mjs +159 -155
- package/es/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/es/src/ap-field/hooks/use-default-presets.mjs +18 -12
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/es/src/ap-pro-card/components/card/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +226 -0
- package/es/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
- package/es/src/ap-pro-card/components/divider/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +29 -0
- package/es/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
- package/es/src/ap-pro-card/components/title/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +28 -0
- package/es/src/ap-pro-card/index.d.ts +10 -0
- package/es/src/ap-pro-card/index.mjs +13 -0
- package/es/src/ap-pro-card/interface.d.ts +61 -0
- package/es/src/ap-pro-card/style/css.d.ts +0 -0
- package/es/src/ap-pro-card/style/css.js +1 -0
- package/es/src/ap-pro-card/style/index.d.ts +0 -0
- package/es/src/ap-pro-card/style/index.js +1 -0
- package/es/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/es/src/ap-pro-card/utils/css-var.mjs +29 -0
- package/es/src/business/ap-value-select-card/index.d.ts +8 -0
- package/es/src/business/ap-value-select-card/index.mjs +9 -0
- package/es/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/es/src/business/ap-value-select-card/index.vue.mjs +4 -0
- package/es/src/business/ap-value-select-card/index.vue2.mjs +186 -0
- package/es/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/es/src/business/ap-value-select-card/interface.mjs +1 -0
- package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/css.js +1 -0
- package/es/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/index.js +1 -0
- package/es/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/es/src/business/ap-value-select-card/utils.mjs +9 -0
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +15 -13
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +275 -271
- package/es/src/path-map.mjs +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/lib/src/ap-pro-card/components/card/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
- package/lib/src/ap-pro-card/components/divider/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
- package/lib/src/ap-pro-card/components/title/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/index.d.ts +10 -0
- package/lib/src/ap-pro-card/index.js +1 -0
- package/lib/src/ap-pro-card/interface.d.ts +61 -0
- package/lib/src/ap-pro-card/style/css.cjs +1 -0
- package/lib/src/ap-pro-card/style/css.d.ts +0 -0
- package/lib/src/ap-pro-card/style/index.cjs +1 -0
- package/lib/src/ap-pro-card/style/index.d.ts +0 -0
- package/lib/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/lib/src/ap-pro-card/utils/css-var.js +1 -0
- package/lib/src/business/ap-value-select-card/index.d.ts +8 -0
- package/lib/src/business/ap-value-select-card/index.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/lib/src/business/ap-value-select-card/index.vue.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -0
- package/lib/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/lib/src/business/ap-value-select-card/interface.js +1 -0
- package/lib/src/business/ap-value-select-card/style/css.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/style/index.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/lib/src/business/ap-value-select-card/utils.js +1 -0
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ag-grid/custom-header.css +82 -0
- package/theme/ag-grid/custom-header.less +39 -0
- package/theme/ag-grid/index.css +204 -0
- package/theme/ag-grid/index.less +118 -0
- package/theme/ap-pro-card/index.css +311 -0
- package/theme/ap-pro-card/index.less +185 -0
- package/theme/ap-value-select-card/index.css +163 -0
- package/theme/ap-value-select-card/index.less +157 -0
- package/theme/index.css +382 -0
- package/theme/index.less +2 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { defineComponent as q, ref as N, computed as R, resolveComponent as J, createElementBlock as u, openBlock as c, normalizeStyle as $, normalizeClass as d, unref as l, createVNode as I, withCtx as _, createElementVNode as h, createCommentVNode as f, Fragment as D, renderList as E, withModifiers as y, renderSlot as v, createTextVNode as O, toDisplayString as g, createBlock as Q } from "vue";
|
|
2
|
+
import { Popover as U } from "@aplus-frontend/antdv";
|
|
3
|
+
import { PlusOutlined as W } from "@ant-design/icons-vue";
|
|
4
|
+
import { IconApAdLinePoor as X } from "@aplus-frontend/icon";
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
|
+
import { useNamespace as Y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { useGlobalConfig as Z } from "../../config-provider/hooks/use-global-config.mjs";
|
|
8
|
+
const x = ["onClick"], ee = { class: "label" }, te = { class: "value" }, le = ["onClick"], se = ["onClick"], ie = { class: "label" }, oe = { class: "value" }, ne = { class: "text" }, pe = /* @__PURE__ */ q({
|
|
9
|
+
name: "ApValueSelectCard",
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: {
|
|
12
|
+
options: {},
|
|
13
|
+
selectedKeys: { default: () => [] },
|
|
14
|
+
highlightedKeys: { default: () => [] },
|
|
15
|
+
maxSelected: { default: 4 },
|
|
16
|
+
maxRowDisplay: { default: 4 },
|
|
17
|
+
popoverTitle: { default: "" },
|
|
18
|
+
showTitleIcon: { type: Boolean, default: !0 },
|
|
19
|
+
showCloseIcon: { type: Boolean, default: !0 },
|
|
20
|
+
showAddButton: { type: Boolean, default: !0 },
|
|
21
|
+
addButtonText: { default: "" },
|
|
22
|
+
getContainer: { type: Function, default: (K) => K.parentElement || document.body },
|
|
23
|
+
getCardStyle: { type: Function, default: () => ({}) },
|
|
24
|
+
wrapperStyle: { type: [Boolean, null, String, Object, Array] }
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:selectedKeys", "update:highlightedKeys", "change", "select", "remove", "highlight"],
|
|
27
|
+
setup(K, { expose: M, emit: P }) {
|
|
28
|
+
const o = P, t = K, { b: n, m: z } = Y("ap-value-select-card"), L = Z("uiMode", "aplus"), p = N(null), m = N(!1), C = R(() => t.options), S = R(() => C.value.filter(
|
|
29
|
+
(e) => t.selectedKeys.includes(e.key)
|
|
30
|
+
)), T = (e) => t.selectedKeys.includes(e), k = (e) => t.highlightedKeys.includes(e), H = (e) => {
|
|
31
|
+
t.selectedKeys.includes(e) ? w(e) : A(e);
|
|
32
|
+
}, A = (e) => {
|
|
33
|
+
if (t.maxSelected && t.selectedKeys.length >= t.maxSelected)
|
|
34
|
+
return;
|
|
35
|
+
const s = [...t.selectedKeys, e];
|
|
36
|
+
o("update:selectedKeys", s), o("change", s), o("select", e), t.highlightedKeys.includes(e) || b(e);
|
|
37
|
+
}, w = (e) => {
|
|
38
|
+
if (t.selectedKeys.length <= 1 || t.highlightedKeys.length <= 1 && t.highlightedKeys.includes(e))
|
|
39
|
+
return;
|
|
40
|
+
const s = t.selectedKeys.filter((r) => r !== e);
|
|
41
|
+
if (o("update:selectedKeys", s), o("change", s), o("remove", e), t.highlightedKeys.includes(e)) {
|
|
42
|
+
const r = t.highlightedKeys.filter((a) => a !== e);
|
|
43
|
+
o("update:highlightedKeys", r), o("highlight", r);
|
|
44
|
+
}
|
|
45
|
+
}, b = (e) => {
|
|
46
|
+
let s;
|
|
47
|
+
if (t.highlightedKeys.includes(e))
|
|
48
|
+
if (t.highlightedKeys.length > 1)
|
|
49
|
+
s = t.highlightedKeys.filter((r) => r !== e);
|
|
50
|
+
else
|
|
51
|
+
return;
|
|
52
|
+
else
|
|
53
|
+
s = [...t.highlightedKeys, e];
|
|
54
|
+
o("update:highlightedKeys", s), o("highlight", s);
|
|
55
|
+
}, j = (e) => {
|
|
56
|
+
e || (m.value = e);
|
|
57
|
+
};
|
|
58
|
+
return M({
|
|
59
|
+
popoverVisible: m,
|
|
60
|
+
allOptions: C,
|
|
61
|
+
selectedOptions: S,
|
|
62
|
+
isSelected: T,
|
|
63
|
+
isHighlighted: k,
|
|
64
|
+
toggleOption: H,
|
|
65
|
+
addOption: A,
|
|
66
|
+
removeOption: w,
|
|
67
|
+
highlightOption: b
|
|
68
|
+
}), (e, s) => {
|
|
69
|
+
const r = J("InfoCircleFilled");
|
|
70
|
+
return c(), u("div", {
|
|
71
|
+
class: d([l(n)(), `${l(z)(l(L))}`]),
|
|
72
|
+
style: $({
|
|
73
|
+
...e.wrapperStyle,
|
|
74
|
+
"--ap-value-select-card-column-count": e.maxRowDisplay
|
|
75
|
+
})
|
|
76
|
+
}, [
|
|
77
|
+
I(l(U), {
|
|
78
|
+
open: m.value,
|
|
79
|
+
trigger: "click",
|
|
80
|
+
placement: "bottomRight",
|
|
81
|
+
arrow: !1,
|
|
82
|
+
"get-popup-container": e.getContainer,
|
|
83
|
+
onOpenChange: j
|
|
84
|
+
}, {
|
|
85
|
+
content: _(() => [
|
|
86
|
+
h("div", {
|
|
87
|
+
class: d(l(n)("popover"))
|
|
88
|
+
}, [
|
|
89
|
+
e.popoverTitle ? (c(), u("div", {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: d(l(n)("title"))
|
|
92
|
+
}, [
|
|
93
|
+
e.showTitleIcon ? (c(), Q(r, {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: d(l(n)("title-icon"))
|
|
96
|
+
}, null, 8, ["class"])) : f("", !0),
|
|
97
|
+
O(" " + g(e.popoverTitle), 1)
|
|
98
|
+
], 2)) : f("", !0),
|
|
99
|
+
h("div", {
|
|
100
|
+
class: d(l(n)("list"))
|
|
101
|
+
}, [
|
|
102
|
+
(c(!0), u(D, null, E(C.value, (a) => (c(), u("div", {
|
|
103
|
+
key: a.key,
|
|
104
|
+
class: d([
|
|
105
|
+
l(n)("list-item"),
|
|
106
|
+
"all",
|
|
107
|
+
{
|
|
108
|
+
select: T(a.key),
|
|
109
|
+
disabled: e.maxSelected && e.selectedKeys.length >= e.maxSelected
|
|
110
|
+
}
|
|
111
|
+
]),
|
|
112
|
+
onClick: y((B) => H(a.key), ["stop"])
|
|
113
|
+
}, [
|
|
114
|
+
h("div", ee, g(a.label), 1),
|
|
115
|
+
h("div", te, g(a.value), 1)
|
|
116
|
+
], 10, x))), 128))
|
|
117
|
+
], 2)
|
|
118
|
+
], 2)
|
|
119
|
+
]),
|
|
120
|
+
default: _(() => {
|
|
121
|
+
var a, B, V, F;
|
|
122
|
+
return [
|
|
123
|
+
h("div", {
|
|
124
|
+
class: d(l(n)("list"))
|
|
125
|
+
}, [
|
|
126
|
+
(c(!0), u(D, null, E(S.value, (i) => (c(), u("div", {
|
|
127
|
+
key: i.key,
|
|
128
|
+
ref_for: !0,
|
|
129
|
+
ref_key: "listItemRef",
|
|
130
|
+
ref: p,
|
|
131
|
+
class: d([
|
|
132
|
+
l(n)("list-item"),
|
|
133
|
+
{
|
|
134
|
+
select: k(i.key),
|
|
135
|
+
custom: i.customClass
|
|
136
|
+
},
|
|
137
|
+
i.customClass
|
|
138
|
+
]),
|
|
139
|
+
style: $(e.getCardStyle(i.key)),
|
|
140
|
+
onClick: y((G) => b(i.key), ["stop"])
|
|
141
|
+
}, [
|
|
142
|
+
e.showCloseIcon && (!(e.highlightedKeys.length === 1 && k(i.key)) && S.value.length > 1) ? (c(), u("div", {
|
|
143
|
+
key: 0,
|
|
144
|
+
class: d(l(n)("list-item-close")),
|
|
145
|
+
onClick: y((G) => w(i.key), ["stop"])
|
|
146
|
+
}, [
|
|
147
|
+
v(e.$slots, "close-icon", {}, () => [
|
|
148
|
+
I(l(X))
|
|
149
|
+
])
|
|
150
|
+
], 10, se)) : f("", !0),
|
|
151
|
+
h("div", ie, [
|
|
152
|
+
v(e.$slots, "label", { option: i }, () => [
|
|
153
|
+
O(g(i.label), 1)
|
|
154
|
+
])
|
|
155
|
+
]),
|
|
156
|
+
h("div", oe, [
|
|
157
|
+
v(e.$slots, "value", { option: i }, () => [
|
|
158
|
+
O(g(i.value), 1)
|
|
159
|
+
])
|
|
160
|
+
])
|
|
161
|
+
], 14, le))), 128)),
|
|
162
|
+
e.showAddButton && (!e.maxSelected || e.selectedKeys.length < e.maxSelected) ? (c(), u("div", {
|
|
163
|
+
key: 0,
|
|
164
|
+
class: d([l(n)("list-item"), "choose"]),
|
|
165
|
+
style: $({
|
|
166
|
+
minHeight: p.value ? `${(B = (a = p.value) == null ? void 0 : a[0]) != null && B.offsetHeight ? `${(F = (V = p.value) == null ? void 0 : V[0]) == null ? void 0 : F.offsetHeight}px` : "auto"}` : "auto"
|
|
167
|
+
}),
|
|
168
|
+
onClick: s[0] || (s[0] = y((i) => m.value = !0, ["stop"]))
|
|
169
|
+
}, [
|
|
170
|
+
v(e.$slots, "add-button", {}, () => [
|
|
171
|
+
I(l(W)),
|
|
172
|
+
h("span", ne, g(e.addButtonText), 1)
|
|
173
|
+
])
|
|
174
|
+
], 6)) : f("", !0)
|
|
175
|
+
], 2)
|
|
176
|
+
];
|
|
177
|
+
}),
|
|
178
|
+
_: 3
|
|
179
|
+
}, 8, ["open", "get-popup-container"])
|
|
180
|
+
], 6);
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
export {
|
|
185
|
+
pe as default
|
|
186
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ComputedRef, Ref, StyleValue } from 'vue';
|
|
2
|
+
export interface ApValueSelectCardOption<ValueRecord extends Record<string, any> = Record<string, any>> {
|
|
3
|
+
key: string | number;
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
customClass?: string;
|
|
7
|
+
record?: ValueRecord;
|
|
8
|
+
}
|
|
9
|
+
export interface ApValueSelectCardProps<T extends Record<string, any> = Record<string, any>> {
|
|
10
|
+
/**
|
|
11
|
+
* 所有可用选项
|
|
12
|
+
*/
|
|
13
|
+
options: ApValueSelectCardOption<T>[];
|
|
14
|
+
/**
|
|
15
|
+
* 当前选中的选项key
|
|
16
|
+
*/
|
|
17
|
+
selectedKeys?: (string | number)[];
|
|
18
|
+
/**
|
|
19
|
+
* 当前高亮的选项key
|
|
20
|
+
*/
|
|
21
|
+
highlightedKeys?: (string | number)[];
|
|
22
|
+
/**
|
|
23
|
+
* 最多可选数量
|
|
24
|
+
*/
|
|
25
|
+
maxSelected?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 一行最多可显示数量
|
|
28
|
+
*/
|
|
29
|
+
maxRowDisplay?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Popover标题
|
|
32
|
+
*/
|
|
33
|
+
popoverTitle?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 是否显示Popover标题图标
|
|
36
|
+
*/
|
|
37
|
+
showTitleIcon?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 是否显示关闭图标
|
|
40
|
+
*/
|
|
41
|
+
showCloseIcon?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 是否显示添加按钮
|
|
44
|
+
*/
|
|
45
|
+
showAddButton?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 添加按钮文本
|
|
48
|
+
*/
|
|
49
|
+
addButtonText?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 获取容器函数
|
|
52
|
+
*/
|
|
53
|
+
getContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
54
|
+
/**
|
|
55
|
+
* 自定义卡片样式函数
|
|
56
|
+
*/
|
|
57
|
+
getCardStyle?: (key: string | number) => StyleValue;
|
|
58
|
+
/**
|
|
59
|
+
* 自定义卡片外层样式函数
|
|
60
|
+
*/
|
|
61
|
+
wrapperStyle?: StyleValue;
|
|
62
|
+
}
|
|
63
|
+
export interface ApValueSelectCardExpose<T extends Record<string, any> = Record<string, any>> {
|
|
64
|
+
/**
|
|
65
|
+
* popover是否显示
|
|
66
|
+
*/
|
|
67
|
+
popoverVisible: Ref<boolean, boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* 所有选项
|
|
70
|
+
*/
|
|
71
|
+
allOptions: ComputedRef<ApValueSelectCardOption<T>[]>;
|
|
72
|
+
/**
|
|
73
|
+
* 当前选中的选项
|
|
74
|
+
*/
|
|
75
|
+
selectedOptions: ComputedRef<ApValueSelectCardOption<T>[]>;
|
|
76
|
+
isSelected: (key: string | number) => boolean;
|
|
77
|
+
/**
|
|
78
|
+
* 检查是否高亮
|
|
79
|
+
* @param { string | number } key
|
|
80
|
+
* @returns void
|
|
81
|
+
*/
|
|
82
|
+
isHighlighted: (key: string | number) => boolean;
|
|
83
|
+
/**
|
|
84
|
+
* 切换选项选择状态
|
|
85
|
+
* @param {string | number} key
|
|
86
|
+
* @returns void
|
|
87
|
+
*/
|
|
88
|
+
toggleOption: (key: string | number) => void;
|
|
89
|
+
/**
|
|
90
|
+
* 添加选项
|
|
91
|
+
* @param {string | number} key
|
|
92
|
+
* @returns void
|
|
93
|
+
*/
|
|
94
|
+
addOption: (key: string | number) => void;
|
|
95
|
+
/**
|
|
96
|
+
* 移除选项
|
|
97
|
+
* @param {string | number} key
|
|
98
|
+
* @returns void
|
|
99
|
+
*/
|
|
100
|
+
removeOption: (key: string | number) => void;
|
|
101
|
+
/**
|
|
102
|
+
* 高亮选项
|
|
103
|
+
* @param {string | number} key
|
|
104
|
+
* @returns void
|
|
105
|
+
*/
|
|
106
|
+
highlightOption: (key: string | number) => void;
|
|
107
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-value-select-card/index.css';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-value-select-card/index.less';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a hex color code to an RGBA color string.
|
|
3
|
+
* @param hex - The hex color code, e.g. "#ff00ff" or "#f0f".
|
|
4
|
+
* @param alpha - The alpha value (optional), default is 1 (fully opaque).
|
|
5
|
+
* @returns The RGBA color string.
|
|
6
|
+
*/
|
|
7
|
+
export declare function hexToRgba(hex: string, alpha?: number): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function g(n, t = 1) {
|
|
2
|
+
if (n = n == null ? void 0 : n.replace(/^#/, ""), n.length === 3 && (n = n.split("").map((r) => r + r).join("")), n.length !== 6)
|
|
3
|
+
throw new Error("Invalid hex color code");
|
|
4
|
+
const s = parseInt(n.substring(0, 2), 16), o = parseInt(n.substring(2, 4), 16), i = parseInt(n.substring(4, 6), 16);
|
|
5
|
+
return `rgba(${s}, ${o}, ${i}, ${t})`;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
g as hexToRgba
|
|
9
|
+
};
|
|
@@ -2,19 +2,19 @@ import { default as m } from "./ap-table-modal/index.mjs";
|
|
|
2
2
|
import { ApAttachment as f } from "./ap-attachment/index.mjs";
|
|
3
3
|
import { ApBatchAction as a } from "./ap-batch-action/index.mjs";
|
|
4
4
|
import { ApBatchActionGroup as i } from "./ap-batch-action-group/index.mjs";
|
|
5
|
-
import { ApButtonGroup as
|
|
5
|
+
import { ApButtonGroup as d } from "./ap-button-group/index.mjs";
|
|
6
6
|
import { ApCard as c } from "./ap-card/index.mjs";
|
|
7
7
|
import { ApExpandAlert as S } from "./ap-expand-alert/index.mjs";
|
|
8
8
|
import { ApExportGroup as s } from "./ap-export-group/index.mjs";
|
|
9
9
|
import { ApImage as L } from "./ap-image/index.mjs";
|
|
10
10
|
import { ApInputRadio as h } from "./ap-input-radio/index.mjs";
|
|
11
|
-
import { ApLabel as B, ApLabelGroup as
|
|
11
|
+
import { ApLabel as B, ApLabelGroup as C } from "./ap-label/index.mjs";
|
|
12
12
|
import { ApLadder as D } from "./ap-ladder/index.mjs";
|
|
13
13
|
import { ApSelectLayout as R } from "./ap-select-layout/index.mjs";
|
|
14
|
-
import { ApStatus as
|
|
15
|
-
import { ApTitle as
|
|
14
|
+
import { ApStatus as v, ApStatusGroup as w } from "./ap-status/index.mjs";
|
|
15
|
+
import { ApTitle as H } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
|
-
import { ApSummary as
|
|
17
|
+
import { ApSummary as M } from "./ap-summary/index.mjs";
|
|
18
18
|
import { ApAppendix as j } from "./ap-appendix/index.mjs";
|
|
19
19
|
import "./ap-upload-file/index.mjs";
|
|
20
20
|
import "./batch-input-group/index.mjs";
|
|
@@ -25,13 +25,14 @@ import { ApView as U } from "./ap-view/index.mjs";
|
|
|
25
25
|
import { ApRadioGroup as X } from "./ap-radio-group/index.mjs";
|
|
26
26
|
import { ApKeepAlive as Z } from "./ap-keep-alive/index.mjs";
|
|
27
27
|
import { ApDraggableGrid as $ } from "./ap-draggable-grid/index.mjs";
|
|
28
|
-
import {
|
|
28
|
+
import { ApValueSelectCard as ro } from "./ap-value-select-card/index.mjs";
|
|
29
|
+
import { ApTransformDataHelper as to } from "../utils/ap-trans-data/index.mjs";
|
|
29
30
|
export {
|
|
30
31
|
j as ApAppendix,
|
|
31
32
|
f as ApAttachment,
|
|
32
33
|
a as ApBatchAction,
|
|
33
34
|
i as ApBatchActionGroup,
|
|
34
|
-
|
|
35
|
+
d as ApButtonGroup,
|
|
35
36
|
c as ApCard,
|
|
36
37
|
O as ApCopy,
|
|
37
38
|
$ as ApDraggableGrid,
|
|
@@ -41,17 +42,18 @@ export {
|
|
|
41
42
|
h as ApInputRadio,
|
|
42
43
|
Z as ApKeepAlive,
|
|
43
44
|
B as ApLabel,
|
|
44
|
-
|
|
45
|
+
C as ApLabelGroup,
|
|
45
46
|
D as ApLadder,
|
|
46
47
|
J as ApProductInfo,
|
|
47
48
|
X as ApRadioGroup,
|
|
48
49
|
R as ApSelectLayout,
|
|
49
50
|
q as ApSizeInput,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
v as ApStatus,
|
|
52
|
+
w as ApStatusGroup,
|
|
53
|
+
M as ApSummary,
|
|
53
54
|
m as ApTableModal,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
H as ApTitle,
|
|
56
|
+
to as ApTransformDataHelper,
|
|
57
|
+
ro as ApValueSelectCard,
|
|
56
58
|
U as ApView
|
|
57
59
|
};
|
package/es/src/index.d.ts
CHANGED