@aplus-frontend/ui 0.5.25 → 0.5.26
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-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- 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 +36 -36
- 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 +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- 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-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- 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.d.ts +6 -6
- 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/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- 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.d.ts +3 -4
- package/es/src/ap-form/search-form/index.vue.mjs +2 -2
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +16 -16
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +11 -11
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +4 -4
- 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.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- 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.d.ts +5 -5
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/utils.d.ts +5 -5
- 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.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- 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 +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- 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.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- 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/components/SimpleMode.vue2.mjs +4 -4
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +13 -13
- package/es/src/business/ap-ladder/utils.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- 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.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +83 -83
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +84 -79
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- 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.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- 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/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +3 -3
- package/theme/ap-grid/index.css +4 -3
- package/theme/ap-grid/index.less +4 -3
- package/theme/index.css +4 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as n,
|
|
1
|
+
import { defineComponent as T, computed as n, createBlock as c, createCommentVNode as N, openBlock as m, unref as a, mergeProps as p, withCtx as r, createElementVNode as $, normalizeStyle as x, resolveDynamicComponent as h, h as w, createVNode as d, normalizeClass as z, normalizeProps as G, guardReactiveProps as M } from "vue";
|
|
2
2
|
import { DropdownButton as S, Dropdown as V } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/index.mjs";
|
|
4
4
|
import "./MenuItemGroup.vue.mjs";
|
|
@@ -61,7 +61,7 @@ const re = /* @__PURE__ */ T({
|
|
|
61
61
|
return g({
|
|
62
62
|
columns: A,
|
|
63
63
|
dataSource: B
|
|
64
|
-
}), (t, o) => l.value.length && b.value === "dropdown" ? (
|
|
64
|
+
}), (t, o) => l.value.length && b.value === "dropdown" ? (m(), c(a(S), p({
|
|
65
65
|
key: 0,
|
|
66
66
|
class: [a(f)()]
|
|
67
67
|
}, {
|
|
@@ -75,18 +75,18 @@ const re = /* @__PURE__ */ T({
|
|
|
75
75
|
}, { "menu-list": l.value }), null, 16, ["menu-list"])
|
|
76
76
|
]),
|
|
77
77
|
default: r(() => [
|
|
78
|
-
|
|
79
|
-
style:
|
|
78
|
+
$("span", {
|
|
79
|
+
style: x({
|
|
80
80
|
color: R.value
|
|
81
81
|
})
|
|
82
82
|
}, [
|
|
83
|
-
(
|
|
83
|
+
(m(), c(h(w("span", [v.value]))))
|
|
84
84
|
], 4)
|
|
85
85
|
]),
|
|
86
86
|
_: 1
|
|
87
|
-
}, 16, ["class"])) : l.value.length && b.value === "default" ? (
|
|
87
|
+
}, 16, ["class"])) : l.value.length && b.value === "default" ? (m(), c(a(V), {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: z([a(f)()]),
|
|
90
90
|
disabled: i.value
|
|
91
91
|
}, {
|
|
92
92
|
overlay: r(() => [
|
|
@@ -95,20 +95,20 @@ const re = /* @__PURE__ */ T({
|
|
|
95
95
|
}, { "menu-list": l.value }), null, 16, ["menu-list"])
|
|
96
96
|
]),
|
|
97
97
|
default: r(() => [
|
|
98
|
-
d(a(H),
|
|
98
|
+
d(a(H), G(M({
|
|
99
99
|
...t.$attrs,
|
|
100
100
|
...y(),
|
|
101
101
|
type: u.value
|
|
102
102
|
})), {
|
|
103
103
|
default: r(() => [
|
|
104
|
-
(
|
|
104
|
+
(m(), c(h(w("span", [v.value])))),
|
|
105
105
|
d(a(F))
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
}, 16)
|
|
109
109
|
]),
|
|
110
110
|
_: 1
|
|
111
|
-
}, 8, ["class", "disabled"])) :
|
|
111
|
+
}, 8, ["class", "disabled"])) : N("", !0);
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as v,
|
|
1
|
+
import { defineComponent as _, ref as v, createBlock as a, openBlock as s, unref as u, withCtx as d, createElementBlock as h, Fragment as t, renderList as y, mergeProps as k, createElementVNode as w, withDirectives as g, createVNode as C, vShow as b, resolveDynamicComponent as L, h as M } from "vue";
|
|
2
2
|
import { LoadingOutlined as B } from "@ant-design/icons-vue";
|
|
3
3
|
import { Menu as R, MenuItem as x } from "@aplus-frontend/antdv";
|
|
4
4
|
const D = { style: { display: "flex", "align-items": "center" } }, P = /* @__PURE__ */ _({
|
|
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
|
|
|
3
3
|
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
-
import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
6
|
import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
7
|
+
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
10
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
@@ -63,7 +63,7 @@ declare const ApBatchActionGroup: {
|
|
|
63
63
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
64
64
|
};
|
|
65
65
|
}>>, "type" | "onClick"> & {
|
|
66
|
-
type?:
|
|
66
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
67
67
|
borderLinkColor?: string;
|
|
68
68
|
minWidth?: boolean | number | string;
|
|
69
69
|
lazy?: boolean | number;
|
|
@@ -364,7 +364,7 @@ declare const ApBatchActionGroup: {
|
|
|
364
364
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
365
365
|
};
|
|
366
366
|
}>>, "type" | "onClick"> & {
|
|
367
|
-
type?:
|
|
367
|
+
type?: ( ButtonType | undefined) | "borderLink";
|
|
368
368
|
borderLinkColor?: string;
|
|
369
369
|
minWidth?: boolean | number | string;
|
|
370
370
|
lazy?: boolean | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, computed as T,
|
|
1
|
+
import { defineComponent as k, computed as T, createBlock as u, openBlock as t, unref as s, normalizeProps as P, guardReactiveProps as R, withCtx as c, createElementBlock as m, Fragment as p, renderList as i, createCommentVNode as B, mergeProps as l, resolveDynamicComponent as f, h as y } from "vue";
|
|
2
2
|
import { Space as x } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/ap-button.vue2.mjs";
|
|
4
4
|
import "../../ap-button/ap-action-button.vue2.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as r, openBlock as t,
|
|
1
|
+
import { defineComponent as g, computed as r, createElementBlock as s, openBlock as t, normalizeStyle as C, normalizeClass as h, unref as u, createBlock as a, createCommentVNode as S, renderSlot as B, mergeProps as N, createSlots as $, withCtx as x, isVNode as P, resolveDynamicComponent as y, toDisplayString as _ } from "vue";
|
|
2
2
|
import "../ap-title/ApTitle.vue.mjs";
|
|
3
3
|
import { omit as b } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -20,17 +20,17 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
|
|
|
20
20
|
return (n, w) => {
|
|
21
21
|
var m, d;
|
|
22
22
|
return t(), s("div", {
|
|
23
|
-
class:
|
|
24
|
-
style:
|
|
23
|
+
class: h([u(f)()]),
|
|
24
|
+
style: C({
|
|
25
25
|
padding: p.value
|
|
26
26
|
})
|
|
27
27
|
}, [
|
|
28
|
-
c.value ? (t(), a(D,
|
|
28
|
+
c.value ? (t(), a(D, N({
|
|
29
29
|
key: 0,
|
|
30
30
|
class: [`${u(f)()}-title`]
|
|
31
31
|
}, {
|
|
32
32
|
...v.value
|
|
33
|
-
}),
|
|
33
|
+
}), $({ _: 2 }, [
|
|
34
34
|
(m = e == null ? void 0 : e.titleProps) != null && m.suffix ? {
|
|
35
35
|
name: "suffix",
|
|
36
36
|
fn: x(() => {
|
|
@@ -51,8 +51,8 @@ const V = { key: 1 }, j = { key: 1 }, G = /* @__PURE__ */ g({
|
|
|
51
51
|
}),
|
|
52
52
|
key: "1"
|
|
53
53
|
} : void 0
|
|
54
|
-
]), 1040, ["class"])) :
|
|
55
|
-
|
|
54
|
+
]), 1040, ["class"])) : S("", !0),
|
|
55
|
+
B(n.$slots, "default")
|
|
56
56
|
], 6);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
@@ -23,9 +23,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: (event: "expand" | "choose", ...args: any[]) => void;
|
|
26
|
-
}>) => VNode
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}> & {
|
|
26
|
+
}>) => VNode & {
|
|
29
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
28
|
};
|
|
31
29
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, computed as f, ref as h, watch as T, nextTick as w,
|
|
1
|
+
import { defineComponent as W, computed as f, ref as h, watch as T, nextTick as w, createElementBlock as n, openBlock as a, normalizeClass as s, unref as t, createVNode as x, withCtx as m, createElementVNode as g, normalizeStyle as c, renderSlot as A, createBlock as b, toDisplayString as p, resolveDynamicComponent as N, Fragment as C, renderList as j, createCommentVNode as I, createTextVNode as q } from "vue";
|
|
2
2
|
import { DownOutlined as J } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as K, Tooltip as P } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as Q } from "../../ap-action/index.mjs";
|
|
@@ -82,14 +82,14 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
82
82
|
class: s([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
83
83
|
}, {
|
|
84
84
|
action: m(() => [
|
|
85
|
-
y.value ? (a(),
|
|
85
|
+
y.value ? (a(), b(t(Q), {
|
|
86
86
|
key: 0,
|
|
87
87
|
size: "small",
|
|
88
88
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
89
89
|
onClick: d[0] || (d[0] = (i) => R())
|
|
90
90
|
}, {
|
|
91
91
|
default: m(() => [
|
|
92
|
-
|
|
92
|
+
g("span", {
|
|
93
93
|
class: s(t(o)("expandText"))
|
|
94
94
|
}, p(M.value), 3),
|
|
95
95
|
x(t(J), {
|
|
@@ -97,21 +97,21 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
97
97
|
}, null, 8, ["class"])
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
|
-
})) :
|
|
100
|
+
})) : I("", !0)
|
|
101
101
|
]),
|
|
102
102
|
message: m(() => [
|
|
103
|
-
|
|
103
|
+
g("div", {
|
|
104
104
|
ref_key: "ellipsisBoxRef",
|
|
105
105
|
ref: u,
|
|
106
106
|
style: c({ ...D.value, ...e.contentStyle }),
|
|
107
107
|
class: s(t(o)("alertContent"))
|
|
108
108
|
}, [
|
|
109
|
-
|
|
109
|
+
A(e.$slots, "default", {}, () => [
|
|
110
110
|
t(E)(e.prefix) ? (a(), n("span", {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: s(t(o)("prefix")),
|
|
113
113
|
style: c(e.prefixStyle)
|
|
114
|
-
}, p(e.prefix), 7)) : (a(),
|
|
114
|
+
}, p(e.prefix), 7)) : (a(), b(N(e.prefix), {
|
|
115
115
|
key: 1,
|
|
116
116
|
style: c(e.prefixStyle)
|
|
117
117
|
}, null, 8, ["style"])),
|
|
@@ -123,11 +123,11 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
123
123
|
title: e.tipTitle ? e.tipTitle : null
|
|
124
124
|
}, {
|
|
125
125
|
default: m(() => [
|
|
126
|
-
|
|
126
|
+
A(e.$slots, "item", {
|
|
127
127
|
record: i,
|
|
128
128
|
index: k
|
|
129
129
|
}, () => [
|
|
130
|
-
|
|
130
|
+
g("span", {
|
|
131
131
|
class: s(t(o)("showItem")),
|
|
132
132
|
onClick: (_) => e.$emit("choose", i)
|
|
133
133
|
}, p(e.mapLabel ? i[e.mapLabel] : i), 11, Z)
|
|
@@ -142,8 +142,8 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
142
142
|
}, [
|
|
143
143
|
t(E)(e.separator) ? (a(), n(C, { key: 0 }, [
|
|
144
144
|
q(p(e.separator), 1)
|
|
145
|
-
], 64)) : (a(),
|
|
146
|
-
], 6)) :
|
|
145
|
+
], 64)) : (a(), b(N(e.separator), { key: 1 }))
|
|
146
|
+
], 6)) : I("", !0)
|
|
147
147
|
], 64))), 128))
|
|
148
148
|
])
|
|
149
149
|
], 6)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef,
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
20
20
|
props: {
|
|
21
21
|
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined;
|
|
23
|
+
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
26
26
|
tipTitle?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
29
29
|
separatorStyle?: CSSProperties | undefined;
|
|
30
30
|
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
31
31
|
prefixStyle?: CSSProperties | undefined;
|
|
32
|
-
rows?:
|
|
32
|
+
rows?: string | number | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,9 +51,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
53
|
emit: (event: "expand" | "choose", ...args: any[]) => void;
|
|
54
|
-
}>) => VNode
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}> & {
|
|
54
|
+
}>) => VNode & {
|
|
57
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
56
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
59
57
|
$props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as N, ref as L, computed as s, watch as O,
|
|
1
|
+
import { defineComponent as N, ref as L, computed as s, watch as O, createBlock as g, createCommentVNode as V, openBlock as p, unref as o, normalizeClass as q, withCtx as n, createVNode as b, mergeProps as z, createTextVNode as w, toDisplayString as h } from "vue";
|
|
2
2
|
import { DownOutlined as U } from "@ant-design/icons-vue";
|
|
3
|
-
import { message as $, Dropdown as H,
|
|
3
|
+
import { message as $, Dropdown as H, Button as J, Menu as Q, MenuItem as S } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { ApExportGroupActionType as m } from "./interface.mjs";
|
|
6
6
|
import { usePermission as W } from "@aplus-frontend/hooks";
|
|
@@ -89,20 +89,20 @@ const ve = /* @__PURE__ */ N({
|
|
|
89
89
|
c.value = !1;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
return (t, a) => T.value ? (
|
|
92
|
+
return (t, a) => T.value ? (p(), g(o(H), {
|
|
93
93
|
key: 0,
|
|
94
94
|
open: v.value,
|
|
95
95
|
"onUpdate:open": a[0] || (a[0] = (l) => v.value = l),
|
|
96
|
-
class:
|
|
96
|
+
class: q([o(G)()]),
|
|
97
97
|
"overlay-style": R,
|
|
98
98
|
disabled: d.value
|
|
99
99
|
}, {
|
|
100
100
|
overlay: n(() => [
|
|
101
|
-
b(o(
|
|
101
|
+
b(o(Q), { onClick: j }, {
|
|
102
102
|
default: n(() => {
|
|
103
103
|
var l;
|
|
104
104
|
return [
|
|
105
|
-
(
|
|
105
|
+
(p(), g(o(S), {
|
|
106
106
|
key: o(m).SELECT,
|
|
107
107
|
disabled: ((l = F.value) == null ? void 0 : l.length) === 0
|
|
108
108
|
}, {
|
|
@@ -111,7 +111,7 @@ const ve = /* @__PURE__ */ N({
|
|
|
111
111
|
]),
|
|
112
112
|
_: 1
|
|
113
113
|
}, 8, ["disabled"])),
|
|
114
|
-
(
|
|
114
|
+
(p(), g(o(S), {
|
|
115
115
|
key: o(m).ALL
|
|
116
116
|
}, {
|
|
117
117
|
default: n(() => [
|
|
@@ -125,7 +125,7 @@ const ve = /* @__PURE__ */ N({
|
|
|
125
125
|
})
|
|
126
126
|
]),
|
|
127
127
|
default: n(() => [
|
|
128
|
-
b(o(
|
|
128
|
+
b(o(J), z({
|
|
129
129
|
...t.$attrs
|
|
130
130
|
}, {
|
|
131
131
|
style: {
|
|
@@ -141,7 +141,7 @@ const ve = /* @__PURE__ */ N({
|
|
|
141
141
|
}, 16, ["style", "loading"])
|
|
142
142
|
]),
|
|
143
143
|
_: 1
|
|
144
|
-
}, 8, ["open", "class", "disabled"])) :
|
|
144
|
+
}, 8, ["open", "class", "disabled"])) : V("", !0);
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as M, computed as c, onMounted as N, watch as O, unref as t, resolveComponent as R,
|
|
1
|
+
import { defineComponent as P, ref as M, computed as c, onMounted as N, watch as O, unref as t, resolveComponent as R, createElementBlock as D, openBlock as C, normalizeClass as d, createVNode as p, withCtx as w, createBlock as K, createCommentVNode as F, renderSlot as T, normalizeStyle as $ } from "vue";
|
|
2
2
|
import { Flex as j, Select as E } from "@aplus-frontend/antdv";
|
|
3
3
|
import G from "./images/icon-down.vue.mjs";
|
|
4
4
|
import "./extension-select/index.vue.mjs";
|
|
@@ -154,7 +154,7 @@ const m = "GROUP_SEARCH_ALL", ne = /* @__PURE__ */ P({
|
|
|
154
154
|
return [
|
|
155
155
|
p(t(E), {
|
|
156
156
|
value: V.value,
|
|
157
|
-
style:
|
|
157
|
+
style: $(B.value),
|
|
158
158
|
class: d(`${e.$attrs.class} ${t(f) === "admin" ? t(L)("search", "admin") : t(g)("search")}`),
|
|
159
159
|
options: k.value,
|
|
160
160
|
bordered: !1,
|
|
@@ -166,13 +166,13 @@ const m = "GROUP_SEARCH_ALL", ne = /* @__PURE__ */ P({
|
|
|
166
166
|
]),
|
|
167
167
|
_: 1
|
|
168
168
|
}, 8, ["value", "style", "class", "options", "dropdown-match-select-width"]),
|
|
169
|
-
t(f) === "aplus" ? (C(),
|
|
169
|
+
t(f) === "aplus" ? (C(), K(n, {
|
|
170
170
|
key: 0,
|
|
171
171
|
class: d(t(g)("divider")),
|
|
172
172
|
type: "vertical",
|
|
173
173
|
style: {}
|
|
174
|
-
}, null, 8, ["class"])) :
|
|
175
|
-
|
|
174
|
+
}, null, 8, ["class"])) : F("", !0),
|
|
175
|
+
T(e.$slots, "search", {
|
|
176
176
|
key: (s = t(a)) == null ? void 0 : s.key,
|
|
177
177
|
value: (i = t(a)) == null ? void 0 : i.value,
|
|
178
178
|
change: v
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as a, computed as y, watch as w,
|
|
1
|
+
import { defineComponent as C, ref as a, computed as y, watch as w, createElementBlock as B, openBlock as _, createVNode as s, unref as l, normalizeStyle as x, normalizeClass as b, withCtx as S } from "vue";
|
|
2
2
|
import { Select as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../popover-select/index.vue.mjs";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
@@ -99,14 +99,14 @@ const F = /* @__PURE__ */ C({
|
|
|
99
99
|
const p = (e) => {
|
|
100
100
|
n.value = e, f("change", e);
|
|
101
101
|
}, { b: g } = V("ap-extension-select");
|
|
102
|
-
return (e, i) => (
|
|
102
|
+
return (e, i) => (_(), B("div", {
|
|
103
103
|
ref_key: "containerRef",
|
|
104
104
|
ref: r
|
|
105
105
|
}, [
|
|
106
106
|
s(l(I), {
|
|
107
|
-
class:
|
|
107
|
+
class: b(l(g)()),
|
|
108
108
|
value: n.value,
|
|
109
|
-
style:
|
|
109
|
+
style: x(e.$attrs.style),
|
|
110
110
|
bordered: l(d) === "admin",
|
|
111
111
|
mode: "tags",
|
|
112
112
|
"show-arrow": !0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as n, openBlock as e, createElementVNode as o } from "vue";
|
|
2
2
|
import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
3
|
const r = {}, i = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,7 +10,7 @@ const r = {}, i = {
|
|
|
10
10
|
viewBox: "0 0 16 16"
|
|
11
11
|
};
|
|
12
12
|
function c(s, t) {
|
|
13
|
-
return
|
|
13
|
+
return e(), n("svg", i, t[0] || (t[0] = [
|
|
14
14
|
o("g", null, [
|
|
15
15
|
o("g", null, [
|
|
16
16
|
o("path", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as Q } from "vue";
|
|
2
2
|
import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
3
|
const n = {}, r = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10,7 +10,7 @@ const n = {}, r = {
|
|
|
10
10
|
viewBox: "0 0 16 16"
|
|
11
11
|
};
|
|
12
12
|
function i(c, l) {
|
|
13
|
-
return
|
|
13
|
+
return o(), e("svg", r, l[0] || (l[0] = [
|
|
14
14
|
Q("g", null, [
|
|
15
15
|
Q("g", null, [
|
|
16
16
|
Q("path", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as u, watchEffect as O,
|
|
1
|
+
import { defineComponent as P, ref as u, watchEffect as O, createElementBlock as R, openBlock as L, normalizeClass as p, unref as e, createVNode as a, withCtx as n, createElementVNode as s, mergeProps as M, createTextVNode as d, toDisplayString as m } from "vue";
|
|
2
2
|
import { Popover as T, Select as z, Button as f, Space as G } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import A from "../images/icon-line-select.vue.mjs";
|
|
@@ -103,7 +103,7 @@ const Y = /* @__PURE__ */ P({
|
|
|
103
103
|
var o;
|
|
104
104
|
(o = g.value) == null || o.blur(), C(), await D(150), v("submit", t.value);
|
|
105
105
|
}, { b: V, e: I, em: l } = K("ap-popover-select");
|
|
106
|
-
return (o, y) => (
|
|
106
|
+
return (o, y) => (L(), R("div", {
|
|
107
107
|
class: p(e(V)())
|
|
108
108
|
}, [
|
|
109
109
|
a(e(T), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, computed as c, ref as U, watchEffect as j,
|
|
1
|
+
import { defineComponent as S, computed as c, ref as U, watchEffect as j, createBlock as p, openBlock as i, unref as n, mergeProps as g, withCtx as B, renderSlot as E, normalizeProps as I, guardReactiveProps as L, createElementVNode as b, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
|
|
2
2
|
import { Image as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import { DownloadOutlined as V } from "@ant-design/icons-vue";
|
|
4
4
|
import { injectLocaleToOss as W, getOssInstance as G, getSignatureUrl as $ } from "./hooks/useOss.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, onMounted as g,
|
|
1
|
+
import { defineComponent as f, onMounted as g, createElementBlock as R, openBlock as V, normalizeClass as b, unref as t, createVNode as i, mergeProps as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { Form as I, InputNumber as B, RadioGroup as k } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
@@ -51,7 +51,7 @@ const G = /* @__PURE__ */ f({
|
|
|
51
51
|
}
|
|
52
52
|
}), (a, o) => {
|
|
53
53
|
var l, r;
|
|
54
|
-
return
|
|
54
|
+
return V(), R("div", {
|
|
55
55
|
class: b([t(m)()])
|
|
56
56
|
}, [
|
|
57
57
|
i(t(B), h({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, useSlots as V, computed as t, withMemo as h,
|
|
1
|
+
import { defineComponent as g, useSlots as V, computed as t, withMemo as h, createElementBlock as _, openBlock as n, normalizeClass as j, unref as l, createBlock as a, createCommentVNode as M, createSlots as i, withCtx as m, renderSlot as s } from "vue";
|
|
2
2
|
import { memoize as A } from "lodash-unified";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "./components/SimpleMode.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as d,
|
|
1
|
+
import { defineComponent as d, createElementBlock as r, openBlock as m, normalizeClass as a, unref as t, renderSlot as u, createCommentVNode as j, createElementVNode as l, toDisplayString as n } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as S } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const f = ["title"], y = ["title"], g = ["title"], b = ["title"], N = /* @__PURE__ */ d({
|
|
@@ -20,10 +20,10 @@ const f = ["title"], y = ["title"], g = ["title"], b = ["title"], N = /* @__PURE
|
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const { b: o, e: i, m: s } = S("ap-ladder");
|
|
23
|
-
return (c, p) => (
|
|
23
|
+
return (c, p) => (m(), r("div", {
|
|
24
24
|
class: a([t(o)("simple-mode")])
|
|
25
25
|
}, [
|
|
26
|
-
e.layout === "vertical" ? (
|
|
26
|
+
e.layout === "vertical" ? (m(), r("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: a([t(o)("base"), t(s)("vertical")])
|
|
29
29
|
}, [
|
|
@@ -35,7 +35,7 @@ const f = ["title"], y = ["title"], g = ["title"], b = ["title"], N = /* @__PURE
|
|
|
35
35
|
class: a([t(i)("minor")]),
|
|
36
36
|
title: String(e.major)
|
|
37
37
|
}, n(e.minor), 11, y)
|
|
38
|
-
], 2)) : (
|
|
38
|
+
], 2)) : (m(), r("div", {
|
|
39
39
|
key: 1,
|
|
40
40
|
class: a([t(o)("base"), t(s)("horizontal")])
|
|
41
41
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, isVNode as v, h as k,
|
|
1
|
+
import { defineComponent as A, isVNode as v, h as k, createElementBlock as r, openBlock as i, normalizeClass as l, unref as e, Fragment as m, renderList as N, createCommentVNode as u, createElementVNode as p, renderSlot as $, normalizeStyle as c, toDisplayString as a, createBlock as B, withModifiers as L } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { convertValue as d } from "../utils.mjs";
|
|
4
4
|
import { useNamespace as M } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -36,18 +36,18 @@ const z = ["title"], E = ["title"], F = ["href", "title", "onClick"], G = ["titl
|
|
|
36
36
|
e(o)("value-group-label"),
|
|
37
37
|
s.labelAlign ? e(o)(`value-group-label-${s.labelAlign}`) : null
|
|
38
38
|
]),
|
|
39
|
-
style:
|
|
39
|
+
style: c(t.labelColor ? { color: t.labelColor } : null),
|
|
40
40
|
title: String(t.label)
|
|
41
|
-
},
|
|
41
|
+
}, a(t.label), 15, z)) : u("", !0),
|
|
42
42
|
t.label ? (i(), r("span", {
|
|
43
43
|
key: 1,
|
|
44
44
|
class: l(e(o)("value-group-label-semicolon"))
|
|
45
|
-
}, ":", 2)) :
|
|
45
|
+
}, ":", 2)) : u("", !0),
|
|
46
46
|
p("span", {
|
|
47
47
|
class: l(e(o)("value-group-value")),
|
|
48
48
|
title: String(e(d)(t.value, { ...t }))
|
|
49
49
|
}, [
|
|
50
|
-
f(t.value) ? (i(),
|
|
50
|
+
f(t.value) ? (i(), B(y, {
|
|
51
51
|
key: 0,
|
|
52
52
|
value: t.value
|
|
53
53
|
}, null, 8, ["value"])) : t.link ? (i(), r("a", {
|
|
@@ -56,30 +56,30 @@ const z = ["title"], E = ["title"], F = ["href", "title", "onClick"], G = ["titl
|
|
|
56
56
|
target: "_blank",
|
|
57
57
|
class: l(e(o)("value-group-link")),
|
|
58
58
|
title: String(t.value),
|
|
59
|
-
style:
|
|
60
|
-
onClick:
|
|
61
|
-
},
|
|
59
|
+
style: c(t.linkColor ? { color: t.linkColor } : null),
|
|
60
|
+
onClick: L((_) => h(t), ["prevent"])
|
|
61
|
+
}, a(e(d)(t.value, { ...t })), 15, F)) : (i(), r(m, { key: 2 }, [
|
|
62
62
|
p("span", {
|
|
63
63
|
class: l([
|
|
64
64
|
t.handleValueClick ? e(o)("value-group-link") : null
|
|
65
65
|
]),
|
|
66
66
|
title: String(t.value),
|
|
67
|
-
style:
|
|
67
|
+
style: c(
|
|
68
68
|
t.valueColor ? { color: t.valueColor } : null
|
|
69
69
|
),
|
|
70
70
|
onClick: (_) => t.handleValueClick && t.handleValueClick(s.labelValues)
|
|
71
|
-
},
|
|
71
|
+
}, a(e(d)(t.value, { ...t })), 15, G),
|
|
72
72
|
t.unit ? (i(), r("span", {
|
|
73
73
|
key: 0,
|
|
74
74
|
class: l(e(o)("value-group-unit")),
|
|
75
75
|
title: String(e(d)(t.value, { ...t })),
|
|
76
|
-
style:
|
|
76
|
+
style: c(
|
|
77
77
|
t.unitColor ? { color: t.unitColor } : null
|
|
78
78
|
)
|
|
79
|
-
},
|
|
79
|
+
}, a(t.unit), 15, R)) : u("", !0)
|
|
80
80
|
], 64))
|
|
81
81
|
], 10, E),
|
|
82
|
-
n.$slots.title ?
|
|
82
|
+
n.$slots.title ? $(n.$slots, "title", { key: 2 }) : u("", !0)
|
|
83
83
|
], 2))), 128))
|
|
84
84
|
], 2));
|
|
85
85
|
}
|
|
@@ -7,7 +7,7 @@ const o = (r) => r == null || typeof r == "string" && r.trim() === "", u = (r, e
|
|
|
7
7
|
currency: "CNY",
|
|
8
8
|
percent: !1
|
|
9
9
|
}) => {
|
|
10
|
-
if (Object.prototype.toString.call(r) === "[object Null]" || Object.prototype.toString.call(r) === "[object Undefined]" || Object.prototype.toString.call(r) === "[object Object]" || Object.prototype.toString.call(r) === "[object Function]")
|
|
10
|
+
if (Object.prototype.toString.call(r) === "[object Null]" || Object.prototype.toString.call(r) === "[object Undefined]" || Object.prototype.toString.call(r) === "[object Object]" || Object.prototype.toString.call(r) === "[object Function]" || r === "")
|
|
11
11
|
return "--";
|
|
12
12
|
if (e.rawValue)
|
|
13
13
|
return r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode,
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,9 +38,7 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}> & {
|
|
41
|
+
}>) => VNode & {
|
|
44
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
45
43
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
46
44
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,9 +19,7 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
22
|
+
}>) => VNode & {
|
|
25
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
24
|
};
|
|
27
25
|
export default _default;
|