@aplus-frontend/ui 0.4.30 → 0.4.32
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/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +3 -3
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +30 -30
- package/es/src/ap-field/interface.d.ts +4 -0
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +112 -93
- package/es/src/ap-field/select/use-select-options.d.ts +21 -0
- package/es/src/ap-field/select/use-select-options.mjs +43 -0
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-table/ap-table.vue2.mjs +28 -28
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +52 -33
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.mjs +40 -40
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +36 -34
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -7
- package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -0
- package/es/src/business/batch-input-group/index.vue.mjs +70 -60
- package/es/src/business/batch-input-group/interface.d.ts +5 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/useTableRefresh.mjs +39 -32
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/locale/lang/en.mjs +2 -2
- package/es/src/locale/lang/zh-cn.mjs +2 -2
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +21 -0
- package/lib/src/ap-field/select/use-select-options.js +1 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -7
- package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -0
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +5 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/theme/ap-table/ap-table.css +2 -2
- package/theme/ap-table-modal/index.css +2 -2
- package/theme/batch-input-group/index.css +5 -1
- package/theme/batch-input-group/index.less +1 -0
- package/theme/batch-input-group/popover-input.css +2 -1
- package/theme/batch-input-group/popover-input.less +5 -1
- package/theme/index.css +7 -3
- package/theme/scroll-bar/index.css +2 -2
- package/theme/scroll-bar/index.less +2 -2
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, computed as s, unref as c,
|
|
1
|
+
import { defineComponent as h, computed as s, unref as c, createBlock as r, openBlock as t, withCtx as k, createElementBlock as u, createCommentVNode as A, Fragment as a, renderList as v, mergeProps as i } from "vue";
|
|
2
2
|
import { Space as y } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../item/index.vue.mjs";
|
|
4
4
|
import "../item-modal/index.vue2.mjs";
|
|
@@ -40,7 +40,7 @@ const q = /* @__PURE__ */ h({
|
|
|
40
40
|
align: "center"
|
|
41
41
|
}, {
|
|
42
42
|
default: k(() => [
|
|
43
|
-
(t(!0), u(a, null,
|
|
43
|
+
(t(!0), u(a, null, v(l.value.showActions, (o, d) => (t(), u(a, { key: d }, [
|
|
44
44
|
o.actions ? (t(), r(p, i({
|
|
45
45
|
key: 0,
|
|
46
46
|
ref_for: !0
|
|
@@ -61,7 +61,7 @@ const q = /* @__PURE__ */ h({
|
|
|
61
61
|
placement: e.placement,
|
|
62
62
|
trigger: e.trigger,
|
|
63
63
|
text: c(_)("ap.common.more")
|
|
64
|
-
}, null, 8, ["actions", "placement", "trigger", "text"])) :
|
|
64
|
+
}, null, 8, ["actions", "placement", "trigger", "text"])) : A("", !0)
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, createPropsRestProxy as k, ref as v, unref as r, computed as c, renderSlot as u,
|
|
1
|
+
import { defineComponent as b, createPropsRestProxy as k, ref as v, unref as r, computed as c, renderSlot as u, createElementBlock as f, createCommentVNode as m, openBlock as l, mergeProps as C, createBlock as p, isVNode as B, resolveDynamicComponent as A, toDisplayString as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import L from "@aplus-frontend/antdv/es/button/LoadingIcon";
|
|
4
4
|
import { useNamespace as N } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -35,16 +35,16 @@ const P = { key: 1 }, I = /* @__PURE__ */ b({
|
|
|
35
35
|
class: y.value,
|
|
36
36
|
onClick: d
|
|
37
37
|
}), [
|
|
38
|
-
t.value ? (l(),
|
|
38
|
+
t.value ? (l(), p(r(L), {
|
|
39
39
|
key: 0,
|
|
40
40
|
"prefix-cls": "btn",
|
|
41
41
|
"exist-icon": !1,
|
|
42
42
|
loading: ""
|
|
43
|
-
})) :
|
|
43
|
+
})) : m("", !0),
|
|
44
44
|
u(e.$slots, "default", {}, () => [
|
|
45
|
-
B(e.text) ? (l(),
|
|
45
|
+
B(e.text) ? (l(), p(A(e.text), { key: 0 })) : (l(), f("span", P, h(e.text || ""), 1))
|
|
46
46
|
])
|
|
47
|
-
], 16)) :
|
|
47
|
+
], 16)) : m("", !0)
|
|
48
48
|
]);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as v, computed as k,
|
|
1
|
+
import { defineComponent as _, ref as v, computed as k, createBlock as l, openBlock as t, unref as r, withCtx as n, createElementVNode as w, normalizeClass as m, createVNode as u, createCommentVNode as A, normalizeProps as B, guardReactiveProps as b, renderSlot as C, createElementBlock as I, Fragment as P, renderList as D, mergeProps as i } from "vue";
|
|
2
2
|
import { Dropdown as N, Menu as $, MenuItem as h } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../item/index.vue.mjs";
|
|
4
4
|
import "../item-modal/index.vue2.mjs";
|
|
@@ -7,9 +7,9 @@ import { IconApAdLineDown as L } from "@aplus-frontend/icon";
|
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
8
|
import { isUndefined as V, omit as z } from "lodash-unified";
|
|
9
9
|
import { useNamespace as E } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import d from "../item/index.vue2.mjs";
|
|
10
11
|
import M from "../item-modal/index.vue.mjs";
|
|
11
12
|
import U from "../item-popconfirm/index.vue.mjs";
|
|
12
|
-
import d from "../item/index.vue2.mjs";
|
|
13
13
|
const T = /* @__PURE__ */ _({
|
|
14
14
|
name: "ApActionItemDropDown",
|
|
15
15
|
__name: "index",
|
|
@@ -46,7 +46,7 @@ const T = /* @__PURE__ */ _({
|
|
|
46
46
|
overlay: n(() => [
|
|
47
47
|
u(r($), null, {
|
|
48
48
|
default: n(() => [
|
|
49
|
-
(t(!0),
|
|
49
|
+
(t(!0), I(P, null, D(g.value, (o, y) => (t(), l(r(h), {
|
|
50
50
|
key: y,
|
|
51
51
|
class: m(r(s)("item"))
|
|
52
52
|
}, {
|
|
@@ -69,19 +69,19 @@ const T = /* @__PURE__ */ _({
|
|
|
69
69
|
})
|
|
70
70
|
]),
|
|
71
71
|
default: n(() => [
|
|
72
|
-
|
|
72
|
+
w("span", {
|
|
73
73
|
class: m(r(s)("wrapper"))
|
|
74
74
|
}, [
|
|
75
|
-
u(d,
|
|
75
|
+
u(d, B(b(r(z)(f, ["actions", "trigger", "placement"]))), {
|
|
76
76
|
default: n(() => [
|
|
77
|
-
|
|
77
|
+
C(e.$slots, "default")
|
|
78
78
|
]),
|
|
79
79
|
_: 3
|
|
80
80
|
}, 16),
|
|
81
81
|
e.showIcon ? (t(), l(r(L), {
|
|
82
82
|
key: 0,
|
|
83
83
|
class: m(r(s)("icon"))
|
|
84
|
-
}, null, 8, ["class"])) :
|
|
84
|
+
}, null, 8, ["class"])) : A("", !0)
|
|
85
85
|
], 2)
|
|
86
86
|
]),
|
|
87
87
|
_: 3
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as m,
|
|
1
|
+
import { defineComponent as c, useSlots as m, createBlock as d, openBlock as p, mergeProps as f, unref as u, createSlots as _, renderList as A, withCtx as P, renderSlot as y, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
2
|
import { Modal as B } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../item/index.vue.mjs";
|
|
4
4
|
import { omit as g } from "lodash-unified";
|
|
@@ -28,7 +28,7 @@ const z = /* @__PURE__ */ c({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
return (t, n) => (
|
|
31
|
+
return (t, n) => (p(), d(h, f(u(g)(o, ["modalProps", "onAction"]), { onAction: i }), _({ _: 2 }, [
|
|
32
32
|
A(l, (r, e) => ({
|
|
33
33
|
name: e,
|
|
34
34
|
fn: P((s) => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d, useSlots as u,
|
|
1
|
+
import { defineComponent as d, useSlots as u, createBlock as P, openBlock as _, unref as i, mergeProps as y, withCtx as a, createVNode as C, normalizeProps as p, guardReactiveProps as s, createSlots as x, renderList as A, renderSlot as B } from "vue";
|
|
2
2
|
import { Popconfirm as b } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../item/index.vue.mjs";
|
|
4
4
|
import { omit as g } from "lodash-unified";
|
|
@@ -22,7 +22,7 @@ const I = /* @__PURE__ */ d({
|
|
|
22
22
|
var r, t, e;
|
|
23
23
|
(t = (r = o.popconfirmProps).onConfirm) == null || t.call(r, n), await ((e = o.onAction) == null ? void 0 : e.call(o, n));
|
|
24
24
|
}
|
|
25
|
-
return (n, r) => (
|
|
25
|
+
return (n, r) => (_(), P(i(b), y(o.popconfirmProps, {
|
|
26
26
|
disabled: !o.popconfirmProps,
|
|
27
27
|
"overlay-style": { zIndex: 1060 },
|
|
28
28
|
onConfirm: m
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, useSlots as i,
|
|
1
|
+
import { defineComponent as p, useSlots as i, createBlock as d, openBlock as u, normalizeProps as t, guardReactiveProps as r, createSlots as c, renderList as m, withCtx as f, renderSlot as y } from "vue";
|
|
2
2
|
import "./ap-button.vue2.mjs";
|
|
3
3
|
import B from "./ap-button.vue.mjs";
|
|
4
4
|
const C = /* @__PURE__ */ p({
|
|
@@ -26,7 +26,7 @@ const C = /* @__PURE__ */ p({
|
|
|
26
26
|
},
|
|
27
27
|
setup(n) {
|
|
28
28
|
const a = i(), l = n;
|
|
29
|
-
return (e, b) => (
|
|
29
|
+
return (e, b) => (u(), d(B, t(r({
|
|
30
30
|
...e.$attrs,
|
|
31
31
|
...l
|
|
32
32
|
})), c({ _: 2 }, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, useSlots as z, ref as L, computed as t,
|
|
1
|
+
import { defineComponent as W, useSlots as z, ref as L, computed as t, createBlock as w, openBlock as M, unref as l, mergeProps as T, createSlots as _, renderList as P, withCtx as $, renderSlot as x, normalizeProps as S, guardReactiveProps as N } from "vue";
|
|
2
2
|
import { Button as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import { wait as D } from "@aplus-frontend/utils";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -68,7 +68,7 @@ const q = 88, E = 300, Y = /* @__PURE__ */ W({
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
return (o, c) => (
|
|
71
|
+
return (o, c) => (M(), w(l(A), T({
|
|
72
72
|
class: {
|
|
73
73
|
[l(i)()]: !0,
|
|
74
74
|
[`${l(i)()}-border-link`]: u.value
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N,
|
|
1
|
+
import { defineComponent as N, createElementBlock as n, openBlock as l, normalizeStyle as h, normalizeClass as T, unref as r, createVNode as B, mergeProps as _, withCtx as f, Fragment as a, renderList as w, createBlock as i, h as c, renderSlot as E, resolveDynamicComponent as M } from "vue";
|
|
2
2
|
import { Descriptions as V, DescriptionsItem as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { mixinsAttachmentExtraProps as j, transformValue as x, isEmptyWithType as z } from "./helper.mjs";
|
|
4
4
|
import { get as b } from "lodash-unified";
|
|
@@ -35,8 +35,8 @@ const G = { key: 0 }, K = /* @__PURE__ */ N({
|
|
|
35
35
|
return (t, s) => {
|
|
36
36
|
var o;
|
|
37
37
|
return l(), n("div", {
|
|
38
|
-
class:
|
|
39
|
-
style:
|
|
38
|
+
class: T([t.className, r(P)(), r(v)(r(S))]),
|
|
39
|
+
style: h(t.style)
|
|
40
40
|
}, [
|
|
41
41
|
B(r(V), _(t.descriptionsProps, {
|
|
42
42
|
"label-style": D({ ...((o = t.descriptionsProps) == null ? void 0 : o.labelStyle) || {} })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r, computed as m, createVNode as t,
|
|
1
|
+
import { defineComponent as r, computed as m, createVNode as t, createElementBlock as d, openBlock as o, createBlock as l, createCommentVNode as u, resolveDynamicComponent as f, unref as s, withCtx as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
4
4
|
import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
|
|
@@ -30,16 +30,16 @@ const C = {
|
|
|
30
30
|
content: e
|
|
31
31
|
}, null)]) : e;
|
|
32
32
|
});
|
|
33
|
-
return (e, c) => (o(), d("span", C, [(o(), l(
|
|
33
|
+
return (e, c) => (o(), d("span", C, [(o(), l(f(a.value))), e.helpMessage ? (o(), l(s(y), {
|
|
34
34
|
key: 0,
|
|
35
35
|
placement: "topLeft",
|
|
36
36
|
title: e.helpMessage
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
38
|
+
default: h(() => [t(s(b), {
|
|
39
39
|
class: "ap-descriptions-item-content__help"
|
|
40
40
|
})]),
|
|
41
41
|
_: 1
|
|
42
|
-
}, 8, ["title"])) :
|
|
42
|
+
}, 8, ["title"])) : u("", !0)]));
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as A, useSlots as S, computed as t, unref as s,
|
|
1
|
+
import { defineComponent as x, ref as A, useSlots as S, computed as t, unref as s, createBlock as j, openBlock as r, mergeProps as I, withCtx as M, createElementVNode as u, normalizeClass as T, createElementBlock as f, createCommentVNode as g, createVNode as U, renderSlot as V, toDisplayString as D } from "vue";
|
|
2
2
|
import { Button as E } from "@aplus-frontend/antdv";
|
|
3
3
|
import { LoadingOutlined as G } from "@ant-design/icons-vue";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as b, onMounted as C,
|
|
1
|
+
import { defineComponent as h, ref as b, onMounted as C, createElementBlock as l, openBlock as o, Fragment as n, unref as e, createTextVNode as m, toDisplayString as d, createBlock as c, mergeProps as V } from "vue";
|
|
2
2
|
import { isFunction as B, isNil as O, omit as q } from "lodash-unified";
|
|
3
3
|
import { Spin as T, CheckboxGroup as U } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, computed as s, unref as a,
|
|
1
|
+
import { defineComponent as x, computed as s, unref as a, createElementBlock as g, createBlock as h, openBlock as m, Fragment as k, createTextVNode as P, toDisplayString as C, normalizeStyle as V, withCtx as f, createCommentVNode as E, createVNode as N, isRef as j, renderList as S, mergeProps as I, createSlots as U, renderSlot as H, normalizeProps as K, guardReactiveProps as $ } from "vue";
|
|
2
2
|
import u from "dayjs";
|
|
3
3
|
import { InputGroup as G, Select as L, SelectOption as W, DatePicker as Y } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApFieldDatePresetFormats as Z, PRESET_FORMAT_MAP as q, PRESET_FORMAT_PICK_MAP as J, PRESET_FORMAT_TIME_MAP as Q } from "./constant.mjs";
|
|
@@ -162,7 +162,7 @@ const ve = /* @__PURE__ */ x({
|
|
|
162
162
|
Array.isArray(e.timezone) && e.timezone.length ? (m(), h(a(L), {
|
|
163
163
|
key: 0,
|
|
164
164
|
value: a(d),
|
|
165
|
-
"onUpdate:value": n[0] || (n[0] = (o) =>
|
|
165
|
+
"onUpdate:value": n[0] || (n[0] = (o) => j(d) ? d.value = o : null),
|
|
166
166
|
"default-active-first-option": "",
|
|
167
167
|
"dropdown-match-select-width": !1,
|
|
168
168
|
style: { "max-width": "50%" }
|
|
@@ -179,8 +179,8 @@ const ve = /* @__PURE__ */ x({
|
|
|
179
179
|
}, 1032, ["value"]))), 128))
|
|
180
180
|
]),
|
|
181
181
|
_: 1
|
|
182
|
-
}, 8, ["value"])) :
|
|
183
|
-
|
|
182
|
+
}, 8, ["value"])) : E("", !0),
|
|
183
|
+
N(a(Y), I(R.value, {
|
|
184
184
|
value: v.value,
|
|
185
185
|
format: i.value,
|
|
186
186
|
picker: _.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, useSlots as Z, computed as y, unref as t, isVNode as q, createVNode as T, Fragment as v,
|
|
1
|
+
import { defineComponent as Y, useSlots as Z, computed as y, unref as t, isVNode as q, createVNode as T, Fragment as v, createElementBlock as k, createBlock as C, openBlock as d, createTextVNode as B, toDisplayString as P, resolveDynamicComponent as J, normalizeStyle as Q, withCtx as D, createCommentVNode as X, isRef as z, renderList as R, mergeProps as ee, createSlots as ne, renderSlot as oe, normalizeProps as te, guardReactiveProps as ae } from "vue";
|
|
2
2
|
import { ApFieldDatePresetFormats as re, PRESET_FORMAT_MAP as le, PRESET_FORMAT_PICK_MAP as ue, PRESET_FORMAT_TIME_MAP as de } from "../date/constant.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as w, omit as _, isString as h, isFunction as ie } from "lodash-unified";
|
|
@@ -225,31 +225,31 @@ const xe = /* @__PURE__ */ Y({
|
|
|
225
225
|
key: 0
|
|
226
226
|
}, [S.value ? (d(), k(v, {
|
|
227
227
|
key: 0
|
|
228
|
-
}, [
|
|
228
|
+
}, [B(P((r = S.value[0]) == null ? void 0 : r.format(f.value)) + " ", 1), (d(), C(J(W.value))), B(" " + P((l = S.value[1]) == null ? void 0 : l.format(f.value)), 1)], 64)) : (d(), k(v, {
|
|
229
229
|
key: 1
|
|
230
|
-
}, [
|
|
230
|
+
}, [B(P(e.emptyText), 1)], 64))], 64)) : (d(), C(t(se), {
|
|
231
231
|
key: 1,
|
|
232
232
|
compact: "",
|
|
233
233
|
style: Q({
|
|
234
234
|
display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
|
|
235
235
|
})
|
|
236
236
|
}, {
|
|
237
|
-
default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(),
|
|
237
|
+
default: D(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), C(t(fe), {
|
|
238
238
|
key: 0,
|
|
239
239
|
value: t(u),
|
|
240
|
-
"onUpdate:value": a[0] || (a[0] = (o) =>
|
|
240
|
+
"onUpdate:value": a[0] || (a[0] = (o) => z(u) ? u.value = o : null),
|
|
241
241
|
"default-active-first-option": "",
|
|
242
242
|
"dropdown-match-select-width": !1
|
|
243
243
|
}, {
|
|
244
|
-
default: D(() => [(d(!0), k(v, null, R(n.timezone, (o) => (d(),
|
|
244
|
+
default: D(() => [(d(!0), k(v, null, R(n.timezone, (o) => (d(), C(t(pe), {
|
|
245
245
|
key: o == null ? void 0 : o.value,
|
|
246
246
|
value: o == null ? void 0 : o.value
|
|
247
247
|
}, {
|
|
248
|
-
default: D(() => [
|
|
248
|
+
default: D(() => [B(P((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
|
|
249
249
|
_: 2
|
|
250
250
|
}, 1032, ["value"]))), 128))]),
|
|
251
251
|
_: 1
|
|
252
|
-
}, 8, ["value"])) :
|
|
252
|
+
}, 8, ["value"])) : X("", !0), T(t(me).RangePicker, ee(H.value, {
|
|
253
253
|
value: S.value,
|
|
254
254
|
picker: j.value,
|
|
255
255
|
format: f.value,
|
|
@@ -11,43 +11,43 @@ import "./slider/index.vue2.mjs";
|
|
|
11
11
|
import "./segmented/index.vue2.mjs";
|
|
12
12
|
import "./rate/index.vue2.mjs";
|
|
13
13
|
import "./interface.mjs";
|
|
14
|
-
import m from "./
|
|
15
|
-
import e from "./
|
|
16
|
-
import r from "./
|
|
17
|
-
import o from "./
|
|
18
|
-
import t from "./
|
|
14
|
+
import m from "./rate/index.vue.mjs";
|
|
15
|
+
import e from "./segmented/index.vue.mjs";
|
|
16
|
+
import r from "./slider/index.vue.mjs";
|
|
17
|
+
import o from "./switch/index.vue.mjs";
|
|
18
|
+
import t from "./select/index.vue.mjs";
|
|
19
19
|
import p from "./checkbox/index.vue.mjs";
|
|
20
|
-
import a from "./
|
|
21
|
-
import f from "./
|
|
22
|
-
import s from "./
|
|
23
|
-
import _ from "./
|
|
24
|
-
import d from "./
|
|
20
|
+
import a from "./radio/index.vue.mjs";
|
|
21
|
+
import f from "./date-range/index.vue.mjs";
|
|
22
|
+
import s from "./date/index.vue.mjs";
|
|
23
|
+
import _ from "./number/index.vue.mjs";
|
|
24
|
+
import d from "./text-area/index.vue.mjs";
|
|
25
25
|
const B = {
|
|
26
26
|
Text: i,
|
|
27
|
-
TextArea:
|
|
28
|
-
Number:
|
|
29
|
-
Date:
|
|
30
|
-
DateRange:
|
|
31
|
-
Radio:
|
|
27
|
+
TextArea: d,
|
|
28
|
+
Number: _,
|
|
29
|
+
Date: s,
|
|
30
|
+
DateRange: f,
|
|
31
|
+
Radio: a,
|
|
32
32
|
Checkbox: p,
|
|
33
|
-
Select:
|
|
34
|
-
Switch:
|
|
35
|
-
Slider:
|
|
36
|
-
Segmented:
|
|
37
|
-
Rate:
|
|
33
|
+
Select: t,
|
|
34
|
+
Switch: o,
|
|
35
|
+
Slider: r,
|
|
36
|
+
Segmented: e,
|
|
37
|
+
Rate: m
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
40
|
B as ApField,
|
|
41
41
|
p as ApFieldCheckbox,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
s as ApFieldDate,
|
|
43
|
+
f as ApFieldDateRange,
|
|
44
|
+
_ as ApFieldNumber,
|
|
45
|
+
a as ApFieldRadio,
|
|
46
|
+
m as ApFieldRate,
|
|
47
|
+
e as ApFieldSegmented,
|
|
48
|
+
t as ApFieldSelect,
|
|
49
|
+
r as ApFieldSlider,
|
|
50
|
+
o as ApFieldSwitch,
|
|
51
51
|
i as ApFieldText,
|
|
52
|
-
|
|
52
|
+
d as ApFieldTextArea
|
|
53
53
|
};
|
|
@@ -130,6 +130,10 @@ export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'v
|
|
|
130
130
|
* 是否延迟请求选项列表
|
|
131
131
|
*/
|
|
132
132
|
lazy?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* 添加一个名为全部的节点(只在多选的情况下有效)
|
|
135
|
+
*/
|
|
136
|
+
addAll?: boolean | number;
|
|
133
137
|
};
|
|
134
138
|
export type ApFieldSelectExpose = {
|
|
135
139
|
focus: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as C, computed as N, unref as t,
|
|
1
|
+
import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n, createBlock as D, openBlock as r, Fragment as P, createCommentVNode as d, createElementVNode as V, normalizeClass as m, renderSlot as s, toDisplayString as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
|
|
2
2
|
import { InputNumber as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, omit as T } from "lodash-unified";
|
|
@@ -76,21 +76,21 @@ const te = /* @__PURE__ */ x({
|
|
|
76
76
|
var e;
|
|
77
77
|
(e = l.value) == null || e.blur();
|
|
78
78
|
}
|
|
79
|
-
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(
|
|
79
|
+
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(P, { key: 0 }, [
|
|
80
80
|
e.$slots.prefix ? (r(), n("span", {
|
|
81
81
|
key: 0,
|
|
82
|
-
class:
|
|
82
|
+
class: m(t(i)("label-left"))
|
|
83
83
|
}, [
|
|
84
84
|
s(e.$slots, "prefix")
|
|
85
|
-
], 2)) :
|
|
86
|
-
|
|
85
|
+
], 2)) : d("", !0),
|
|
86
|
+
V("span", null, $(h.value), 1),
|
|
87
87
|
e.$slots.addonAfter ? (r(), n("span", {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: m(t(i)("label-right"))
|
|
90
90
|
}, [
|
|
91
91
|
s(e.$slots, "addonAfter")
|
|
92
|
-
], 2)) :
|
|
93
|
-
], 64)) : (r(),
|
|
92
|
+
], 2)) : d("", !0)
|
|
93
|
+
], 64)) : (r(), D(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
|
|
94
94
|
ref_key: "inputRef",
|
|
95
95
|
ref: l,
|
|
96
96
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o,
|
|
1
|
+
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, createElementBlock as m, openBlock as l, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
|
|
2
2
|
import { Spin as G, RadioGroup as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as S, omit as z } from "lodash-unified";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as b, useSlots as h, computed as y,
|
|
1
|
+
import { defineComponent as v, ref as b, useSlots as h, computed as y, createBlock as B, openBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
|
|
2
2
|
import { omit as w } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { Rate as R } from "@aplus-frontend/antdv";
|
|
@@ -44,7 +44,7 @@ const D = /* @__PURE__ */ v({
|
|
|
44
44
|
return u({
|
|
45
45
|
focus: p,
|
|
46
46
|
blur: m
|
|
47
|
-
}), (e, t) => (
|
|
47
|
+
}), (e, t) => (C(), B(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
|
|
48
48
|
ref_key: "rateRef",
|
|
49
49
|
ref: l,
|
|
50
50
|
value: o(f),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a,
|
|
1
|
+
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a, createBlock as d, createElementBlock as h, openBlock as r, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
|
|
2
2
|
import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isFunction as c, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
|
|
4
4
|
import "../../hooks/index.mjs";
|