@aplus-frontend/ui 0.5.18 → 0.5.20
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 +231 -227
- 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.d.ts +3 -1
- package/es/src/ap-field/index.mjs +39 -35
- package/es/src/ap-field/interface.d.ts +33 -1
- 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.d.ts +1155 -0
- package/es/src/ap-field/tree-select/index.vue.mjs +251 -0
- package/es/src/ap-field/tree-select/index.vue2.mjs +4 -0
- package/es/src/ap-field/tree-select/style/css.d.ts +1 -0
- package/es/src/ap-field/tree-select/style/css.js +1 -0
- package/es/src/ap-field/tree-select/style/index.d.ts +1 -0
- package/es/src/ap-field/tree-select/style/index.js +1 -0
- package/es/src/ap-field/tree-select/use-request.d.ts +41 -0
- package/es/src/ap-field/tree-select/use-request.mjs +66 -0
- 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/item-tree-select/style/css.d.ts +1 -0
- package/es/src/ap-form/item-tree-select/style/css.js +1 -0
- package/es/src/ap-form/item-tree-select/style/index.d.ts +1 -0
- package/es/src/ap-form/item-tree-select/style/index.js +1 -0
- 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/index.d.ts +2 -1
- package/es/src/ap-form/items/index.mjs +3 -2
- package/es/src/ap-form/items/interface.d.ts +6 -1
- 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 +1244 -4
- package/es/src/ap-form/items/select/index.vue.mjs +25 -22
- 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.d.ts +1585 -0
- package/es/src/ap-form/items/tree-select/index.vue.mjs +107 -0
- package/es/src/ap-form/items/tree-select/index.vue2.mjs +4 -0
- 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 +1 -1
- 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 +32 -31
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +11 -10
- 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 +102 -99
- package/es/src/ap-grid/interface.d.ts +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.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 +4055 -1945
- package/es/src/ap-table/constants.mjs +53 -49
- 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/hooks/use-table-paging-ng.mjs +108 -107
- package/es/src/ap-table/interface.d.ts +13 -1
- package/es/src/ap-table/utils.d.ts +1462 -6
- 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.vue.d.ts +2 -6
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +50 -50
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +40 -37
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +118 -122
- package/es/src/business/ap-ladder/index.d.ts +1 -3
- package/es/src/business/ap-ladder/interface.d.ts +16 -16
- 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 +2 -2
- package/es/src/editable-table/index.vue.d.ts +2 -4
- 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/index.mjs +230 -226
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/path-map.mjs +2 -0
- 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 +46 -41
- package/es/src/text/interface.d.ts +6 -0
- 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/index.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.d.ts +3 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +33 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1155 -0
- package/lib/src/ap-field/tree-select/index.vue.js +1 -0
- package/lib/src/ap-field/tree-select/index.vue2.js +1 -0
- package/lib/src/ap-field/tree-select/style/css.cjs +1 -0
- package/lib/src/ap-field/tree-select/style/css.d.ts +1 -0
- package/lib/src/ap-field/tree-select/style/index.cjs +1 -0
- package/lib/src/ap-field/tree-select/style/index.d.ts +1 -0
- package/lib/src/ap-field/tree-select/use-request.d.ts +41 -0
- package/lib/src/ap-field/tree-select/use-request.js +1 -0
- 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/item-tree-select/style/css.cjs +1 -0
- package/lib/src/ap-form/item-tree-select/style/css.d.ts +1 -0
- package/lib/src/ap-form/item-tree-select/style/index.cjs +1 -0
- package/lib/src/ap-form/item-tree-select/style/index.d.ts +1 -0
- package/lib/src/ap-form/items/index.d.ts +2 -1
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/interface.d.ts +6 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +1244 -4
- package/lib/src/ap-form/items/select/index.vue.js +1 -1
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +1585 -0
- package/lib/src/ap-form/items/tree-select/index.vue.js +1 -0
- package/lib/src/ap-form/items/tree-select/index.vue2.js +1 -0
- 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-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-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +1 -1
- 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 +4055 -1945
- 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/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +13 -1
- package/lib/src/ap-table/utils.d.ts +1462 -6
- 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/ApLadder.vue.d.ts +2 -6
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +13 -13
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +19 -19
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -3
- package/lib/src/business/ap-ladder/interface.d.ts +16 -16
- 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/index.vue.d.ts +2 -4
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.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/text/index.vue.js +1 -1
- package/lib/src/text/interface.d.ts +6 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +1 -1
- package/theme/ap-ladder/ap-ladder.css +41 -1
- package/theme/ap-ladder/ap-ladder.less +41 -2
- package/theme/index.css +41 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Tooltip as
|
|
1
|
+
import { defineComponent as L, isVNode as g, h as C, ref as P, createBlock as h, openBlock as o, unref as i, normalizeProps as x, guardReactiveProps as A, createSlots as B, withCtx as v, createElementVNode as d, normalizeClass as s, createElementBlock as n, Fragment as f, renderList as j, createCommentVNode as p, normalizeStyle as u, createTextVNode as O, toDisplayString as y, withModifiers as w, renderSlot as z, createVNode as M } from "vue";
|
|
2
|
+
import { Tooltip as R } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import { locales as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const H = { key: 0 }, I = { key: 0 }, J = ["href", "onClick"], K = { key: 0 }, _ = /* @__PURE__ */ w({
|
|
4
|
+
import { locales as Y } from "../interface.mjs";
|
|
5
|
+
import { useNamespace as b } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
const E = { key: 0 }, G = ["href", "onClick"], T = { key: 0 }, D = { key: 0 }, Q = /* @__PURE__ */ L({
|
|
8
7
|
name: "ApLadderValueGroupMode",
|
|
9
8
|
__name: "ValueGroupMode",
|
|
10
9
|
props: {
|
|
@@ -50,121 +49,107 @@ const H = { key: 0 }, I = { key: 0 }, J = ["href", "onClick"], K = { key: 0 }, _
|
|
|
50
49
|
}
|
|
51
50
|
},
|
|
52
51
|
emits: ["update:valueRefs", "handleClick"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
55
|
-
const { value:
|
|
56
|
-
return g(
|
|
57
|
-
|
|
52
|
+
setup(l, { emit: N }) {
|
|
53
|
+
const $ = N, { e: c } = b("ap-ladder"), m = (e) => g(e) || typeof e == "function", S = (e) => {
|
|
54
|
+
const { value: r, style: t } = e;
|
|
55
|
+
return g(r) ? C(r, {
|
|
56
|
+
style: t
|
|
57
|
+
}) : typeof r == "function" ? C(r(), {
|
|
58
|
+
ref: P,
|
|
58
59
|
style: {
|
|
59
|
-
...
|
|
60
|
-
display: "inline-block"
|
|
61
|
-
}
|
|
62
|
-
}) : typeof o == "function" ? C(o(), {
|
|
63
|
-
ref: u,
|
|
64
|
-
style: {
|
|
65
|
-
...e,
|
|
66
|
-
display: "inline-block"
|
|
60
|
+
...t
|
|
67
61
|
}
|
|
68
62
|
}) : null;
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
if (t === null || typeof t == "object" || typeof t == "function" || typeof t > "u")
|
|
63
|
+
}, k = (e, r = {
|
|
64
|
+
rawValue: !0,
|
|
65
|
+
precision: 2,
|
|
66
|
+
thousand: !0,
|
|
67
|
+
thousandSeparator: ",",
|
|
68
|
+
currency: "CNY",
|
|
69
|
+
percent: !1
|
|
70
|
+
}) => {
|
|
71
|
+
if (Object.prototype.toString.call(e) === "[object Null]" || Object.prototype.toString.call(e) === "[object Undefined]" || Object.prototype.toString.call(e) === "[object Object]" || Object.prototype.toString.call(e) === "[object Function]")
|
|
79
72
|
return "--";
|
|
80
|
-
if (typeof
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if (e.thousand) {
|
|
95
|
-
const [u, h] = t.toFixed(e.precision).split(".");
|
|
96
|
-
return `${u.replace(
|
|
73
|
+
if (typeof e == "number") {
|
|
74
|
+
if (r.percent)
|
|
75
|
+
return `${e.toFixed(r.precision)}%`;
|
|
76
|
+
if (r.currency)
|
|
77
|
+
return e.toLocaleString(
|
|
78
|
+
Y[r.currency ? r.currency : "CNY"],
|
|
79
|
+
{
|
|
80
|
+
style: "currency",
|
|
81
|
+
currency: r.currency ? r.currency : "CNY"
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
if (r.thousand) {
|
|
85
|
+
const [t, a] = e.toFixed(r.precision ? r.precision : 2).split(".");
|
|
86
|
+
return `${t.replace(
|
|
97
87
|
/(\d)(?=(\d{3})+(?!\d))/g,
|
|
98
|
-
`$1${
|
|
99
|
-
)}.${
|
|
88
|
+
`$1${r.thousandSeparator ? r.thousandSeparator : ","}`
|
|
89
|
+
)}.${a}`;
|
|
100
90
|
}
|
|
101
|
-
return
|
|
91
|
+
return e.toFixed(r.precision ? r.precision : 2);
|
|
102
92
|
}
|
|
103
|
-
return
|
|
104
|
-
},
|
|
105
|
-
|
|
93
|
+
return e;
|
|
94
|
+
}, F = (e) => {
|
|
95
|
+
$("handleClick", e);
|
|
106
96
|
};
|
|
107
|
-
return
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
y("div", {
|
|
112
|
-
class: c(l(s)("value-group"))
|
|
97
|
+
return (e, r) => (o(), h(i(R), x(A(l.tooltipProps)), B({
|
|
98
|
+
default: v(() => [
|
|
99
|
+
d("div", {
|
|
100
|
+
class: s(i(c)("value-group"))
|
|
113
101
|
}, [
|
|
114
|
-
(
|
|
115
|
-
key:
|
|
116
|
-
class:
|
|
102
|
+
(o(!0), n(f, null, j(l.labelValues, (t, a) => (o(), n("div", {
|
|
103
|
+
key: a,
|
|
104
|
+
class: s(i(c)("value-group-item"))
|
|
117
105
|
}, [
|
|
118
|
-
|
|
106
|
+
t.label ? (o(), n("div", {
|
|
119
107
|
key: 0,
|
|
120
|
-
class:
|
|
121
|
-
|
|
122
|
-
|
|
108
|
+
class: s([
|
|
109
|
+
i(c)("value-group-label"),
|
|
110
|
+
l.labelAlign && `label-align-${l.labelAlign}`
|
|
123
111
|
]),
|
|
124
|
-
style:
|
|
112
|
+
style: u(t.labelStyles)
|
|
125
113
|
}, [
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
], 6)) :
|
|
129
|
-
|
|
130
|
-
class:
|
|
114
|
+
O(y(t.label), 1),
|
|
115
|
+
t.label ? (o(), n("span", E, ":")) : p("", !0)
|
|
116
|
+
], 6)) : p("", !0),
|
|
117
|
+
d("div", {
|
|
118
|
+
class: s(i(c)("value-group-value"))
|
|
131
119
|
}, [
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}, null, 8, ["value", "style"])
|
|
139
|
-
])) : (r(), n(p, { key: 1 }, [
|
|
140
|
-
e.link ? (r(), n("a", {
|
|
120
|
+
m(t.value) ? (o(), h(S, {
|
|
121
|
+
key: 0,
|
|
122
|
+
value: t.value,
|
|
123
|
+
style: u([t.labelColor, t.valueStyles])
|
|
124
|
+
}, null, 8, ["value", "style"])) : (o(), n(f, { key: 1 }, [
|
|
125
|
+
t.link ? (o(), n("a", {
|
|
141
126
|
key: 0,
|
|
142
|
-
href:
|
|
127
|
+
href: t.link,
|
|
143
128
|
target: "_blank",
|
|
144
|
-
class:
|
|
145
|
-
style:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
129
|
+
class: s(i(c)("value-group-link")),
|
|
130
|
+
style: u([
|
|
131
|
+
l.linkStyles,
|
|
132
|
+
t.linkStyles,
|
|
133
|
+
t.linkColor ? { color: t.linkColor } : void 0
|
|
149
134
|
]),
|
|
150
|
-
onClick:
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
style:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
135
|
+
onClick: w((U) => F(t), ["prevent"])
|
|
136
|
+
}, y(k(t.value, { ...t })), 15, G)) : (o(), n(f, { key: 1 }, [
|
|
137
|
+
d("span", {
|
|
138
|
+
style: u([
|
|
139
|
+
l.valueStyles,
|
|
140
|
+
t.valueStyles,
|
|
141
|
+
t.valueColor ? { color: t.valueColor } : void 0
|
|
157
142
|
])
|
|
158
|
-
},
|
|
159
|
-
|
|
143
|
+
}, y(k(t.value, { ...t })), 5),
|
|
144
|
+
t.unit ? (o(), n("span", {
|
|
160
145
|
key: 0,
|
|
161
|
-
class:
|
|
162
|
-
style:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
146
|
+
class: s(i(c)("value-group-unit")),
|
|
147
|
+
style: u([
|
|
148
|
+
l.unitStyles,
|
|
149
|
+
t.unitStyles,
|
|
150
|
+
t.unitColor ? { color: t.unitColor } : void 0
|
|
166
151
|
])
|
|
167
|
-
},
|
|
152
|
+
}, y(t.unit), 7)) : p("", !0)
|
|
168
153
|
], 64))
|
|
169
154
|
], 64))
|
|
170
155
|
], 2)
|
|
@@ -173,33 +158,44 @@ const H = { key: 0 }, I = { key: 0 }, J = ["href", "onClick"], K = { key: 0 }, _
|
|
|
173
158
|
]),
|
|
174
159
|
_: 2
|
|
175
160
|
}, [
|
|
176
|
-
|
|
161
|
+
e.$slots.title ? {
|
|
177
162
|
name: "title",
|
|
178
|
-
fn:
|
|
179
|
-
|
|
163
|
+
fn: v(() => [
|
|
164
|
+
z(e.$slots, "title")
|
|
180
165
|
]),
|
|
181
166
|
key: "0"
|
|
182
|
-
} :
|
|
167
|
+
} : l.tooltip ? {
|
|
183
168
|
name: "title",
|
|
184
|
-
fn:
|
|
185
|
-
|
|
186
|
-
class:
|
|
169
|
+
fn: v(() => [
|
|
170
|
+
d("div", {
|
|
171
|
+
class: s(i(c)("tooltip"))
|
|
187
172
|
}, [
|
|
188
|
-
(
|
|
189
|
-
key:
|
|
190
|
-
class:
|
|
173
|
+
(o(!0), n(f, null, j(l.labelValues, (t, a) => (o(), n("div", {
|
|
174
|
+
key: a,
|
|
175
|
+
class: s(i(c)("tooltip-item"))
|
|
191
176
|
}, [
|
|
192
|
-
|
|
193
|
-
class:
|
|
194
|
-
style:
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
177
|
+
d("span", {
|
|
178
|
+
class: s(i(c)("tooltip-label")),
|
|
179
|
+
style: u(l.tooltipLabelStyles)
|
|
180
|
+
}, y(t.label ? t.label : "--") + ": ", 7),
|
|
181
|
+
m(t.value) ? (o(), n("span", {
|
|
182
|
+
key: 0,
|
|
183
|
+
class: s(i(c)("tooltip-value")),
|
|
184
|
+
style: u(l.tooltipValueStyles)
|
|
185
|
+
}, [
|
|
186
|
+
M(S, {
|
|
187
|
+
value: t.value,
|
|
188
|
+
style: u([t.tooltipValueStyles])
|
|
189
|
+
}, null, 8, ["value", "style"]),
|
|
190
|
+
t.unit ? (o(), n("span", T, y(t.unit), 1)) : p("", !0)
|
|
191
|
+
], 6)) : (o(), n("span", {
|
|
192
|
+
key: 1,
|
|
193
|
+
class: s(i(c)("tooltip-value")),
|
|
194
|
+
style: u(l.tooltipValueStyles)
|
|
199
195
|
}, [
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
], 6)
|
|
196
|
+
O(y(k(t.value, { ...t })) + " ", 1),
|
|
197
|
+
t.unit ? (o(), n("span", D, y(t.unit), 1)) : p("", !0)
|
|
198
|
+
], 6))
|
|
203
199
|
], 2))), 128))
|
|
204
200
|
], 2)
|
|
205
201
|
]),
|
|
@@ -209,5 +205,5 @@ const H = { key: 0 }, I = { key: 0 }, J = ["href", "onClick"], K = { key: 0 }, _
|
|
|
209
205
|
}
|
|
210
206
|
});
|
|
211
207
|
export {
|
|
212
|
-
|
|
208
|
+
Q as default
|
|
213
209
|
};
|
|
@@ -90,9 +90,7 @@ declare const ApLadder: {
|
|
|
90
90
|
labelValues: Array< ApLadderLabelValue>;
|
|
91
91
|
majorColor: string;
|
|
92
92
|
minorColor: string;
|
|
93
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
94
|
-
wrapperRef: HTMLDivElement;
|
|
95
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
93
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
96
94
|
P: {};
|
|
97
95
|
B: {};
|
|
98
96
|
D: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
2
|
-
import {
|
|
2
|
+
import { CSSProperties, VNode, VNodeChild } from 'vue';
|
|
3
3
|
/**
|
|
4
4
|
* Tooltip 需要的属性
|
|
5
5
|
*/
|
|
@@ -79,37 +79,37 @@ export interface ApLadderLabelValue {
|
|
|
79
79
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
80
80
|
* @since v0.4.7 新增
|
|
81
81
|
*/
|
|
82
|
-
labelStyles?:
|
|
82
|
+
labelStyles?: CSSProperties;
|
|
83
83
|
/**
|
|
84
84
|
* 健值对 - value样式
|
|
85
85
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
86
86
|
* @since v0.4.7 新增
|
|
87
87
|
*/
|
|
88
|
-
valueStyles?:
|
|
88
|
+
valueStyles?: CSSProperties;
|
|
89
89
|
/**
|
|
90
90
|
* 健值对 - link样式
|
|
91
91
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
92
92
|
* @since v0.4.7 新增
|
|
93
93
|
*/
|
|
94
|
-
linkStyles?:
|
|
94
|
+
linkStyles?: CSSProperties;
|
|
95
95
|
/**
|
|
96
96
|
* 健值对 - unit样式
|
|
97
97
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
98
98
|
* @since v0.4.7 新增
|
|
99
99
|
*/
|
|
100
|
-
unitStyles?:
|
|
100
|
+
unitStyles?: CSSProperties;
|
|
101
101
|
/**
|
|
102
102
|
* Tooltip - Label style
|
|
103
103
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
104
104
|
* @since v0.4.7 新增
|
|
105
105
|
*/
|
|
106
|
-
tooltipLabelStyles?:
|
|
106
|
+
tooltipLabelStyles?: CSSProperties;
|
|
107
107
|
/**
|
|
108
108
|
* Tooltip - Value style
|
|
109
109
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
110
110
|
* @since v0.4.7 新增
|
|
111
111
|
*/
|
|
112
|
-
tooltipValueStyles?:
|
|
112
|
+
tooltipValueStyles?: CSSProperties;
|
|
113
113
|
/**
|
|
114
114
|
* 帮助气泡
|
|
115
115
|
*/
|
|
@@ -123,7 +123,7 @@ export interface ApLadderLabelValue {
|
|
|
123
123
|
/**
|
|
124
124
|
* 帮助气泡 - 图标 - 样式
|
|
125
125
|
*/
|
|
126
|
-
helpMessageIconStyles?:
|
|
126
|
+
helpMessageIconStyles?: CSSProperties;
|
|
127
127
|
/**
|
|
128
128
|
* 帮助气泡 - 扩展tooltip props
|
|
129
129
|
*/
|
|
@@ -153,7 +153,7 @@ export interface ApLadderProps {
|
|
|
153
153
|
* 自定义重要信息 style
|
|
154
154
|
* @since v0.4.7 新增
|
|
155
155
|
*/
|
|
156
|
-
majorStyles?:
|
|
156
|
+
majorStyles?: CSSProperties;
|
|
157
157
|
/**
|
|
158
158
|
* 自定义次要信息颜色
|
|
159
159
|
* @deprecated 注意:v0.4.7版本之后就别用这个属性了 后面将不再支持
|
|
@@ -164,7 +164,7 @@ export interface ApLadderProps {
|
|
|
164
164
|
* 自定义次要信息 style
|
|
165
165
|
* @since v0.4.7 新增
|
|
166
166
|
*/
|
|
167
|
-
minorStyles?:
|
|
167
|
+
minorStyles?: CSSProperties;
|
|
168
168
|
/**
|
|
169
169
|
* 布局方式
|
|
170
170
|
* - `vertical` 垂直布局
|
|
@@ -192,25 +192,25 @@ export interface ApLadderProps {
|
|
|
192
192
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
193
193
|
* @since v0.4.7 新增
|
|
194
194
|
*/
|
|
195
|
-
labelStyles?:
|
|
195
|
+
labelStyles?: CSSProperties;
|
|
196
196
|
/**
|
|
197
197
|
* 健值对 - value样式
|
|
198
198
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
199
199
|
* @since v0.4.7 新增
|
|
200
200
|
*/
|
|
201
|
-
valueStyles?:
|
|
201
|
+
valueStyles?: CSSProperties;
|
|
202
202
|
/**
|
|
203
203
|
* 健值对 - link样式
|
|
204
204
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
205
205
|
* @since v0.4.7 新增
|
|
206
206
|
*/
|
|
207
|
-
linkStyles?:
|
|
207
|
+
linkStyles?: CSSProperties;
|
|
208
208
|
/**
|
|
209
209
|
* 健值对 - unit样式
|
|
210
210
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
211
211
|
* @since v0.4.7 新增
|
|
212
212
|
*/
|
|
213
|
-
unitStyles?:
|
|
213
|
+
unitStyles?: CSSProperties;
|
|
214
214
|
/**
|
|
215
215
|
* 扩展 Tooltip
|
|
216
216
|
*/
|
|
@@ -220,13 +220,13 @@ export interface ApLadderProps {
|
|
|
220
220
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
221
221
|
* @since v0.4.7 新增
|
|
222
222
|
*/
|
|
223
|
-
tooltipLabelStyles?:
|
|
223
|
+
tooltipLabelStyles?: CSSProperties;
|
|
224
224
|
/**
|
|
225
225
|
* Tooltip - Value style
|
|
226
226
|
* @description `ApLadderLabelValue` 里面自定义样式会覆盖
|
|
227
227
|
* @since v0.4.7 新增
|
|
228
228
|
*/
|
|
229
|
-
tooltipValueStyles?:
|
|
229
|
+
tooltipValueStyles?: CSSProperties;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
232
|
* ApLadder Slots 类型声明
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as M, onMounted as O,
|
|
1
|
+
import { defineComponent as I, ref as d, computed as M, onMounted as O, createElementBlock as p, openBlock as m, normalizeClass as a, unref as t, createVNode as u, createElementVNode as s, Transition as W, withCtx as v, withDirectives as g, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -42,7 +42,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
42
42
|
});
|
|
43
43
|
}), (n, e) => {
|
|
44
44
|
var r;
|
|
45
|
-
return
|
|
45
|
+
return m(), p("div", {
|
|
46
46
|
class: a(t(h)())
|
|
47
47
|
}, [
|
|
48
48
|
u(W, {
|
|
@@ -90,7 +90,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
90
90
|
s("div", {
|
|
91
91
|
class: a(t(i)("side", "body", "scroll"))
|
|
92
92
|
}, [
|
|
93
|
-
(
|
|
93
|
+
(m(!0), p(z, null, R(U.value, (l) => g((m(), p("div", {
|
|
94
94
|
key: l.value,
|
|
95
95
|
class: a(`${t(i)("side", "body", "scroll-item")} ${F.value === l ? "active" : ""}`),
|
|
96
96
|
onClick: (X) => V(l)
|
|
@@ -118,7 +118,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
118
118
|
s("div", {
|
|
119
119
|
class: a(t(y)("content", "header"))
|
|
120
120
|
}, [
|
|
121
|
-
f.value ? (
|
|
121
|
+
f.value ? (m(), p("div", {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: a(t(i)("content", "header", "imgWrap"))
|
|
124
124
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, computed as a,
|
|
1
|
+
import { defineComponent as u, computed as a, createElementBlock as d, createCommentVNode as i, openBlock as m, normalizeStyle as r, normalizeClass as s, unref as t, createTextVNode as f, createElementVNode as y, toDisplayString as g } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const C = /* @__PURE__ */ u({
|
|
@@ -20,17 +20,17 @@ const C = /* @__PURE__ */ u({
|
|
|
20
20
|
})), p = a(() => ({
|
|
21
21
|
"background-color": e.color
|
|
22
22
|
})), { b: c, e: o } = x("ap-status");
|
|
23
|
-
return (S, _) => e.show ? (
|
|
23
|
+
return (S, _) => e.show ? (m(), d("div", {
|
|
24
24
|
key: 0,
|
|
25
|
-
class:
|
|
26
|
-
style:
|
|
25
|
+
class: s([t(c)()]),
|
|
26
|
+
style: r(n.value)
|
|
27
27
|
}, [
|
|
28
|
-
|
|
28
|
+
f(g(e.text) + " ", 1),
|
|
29
29
|
y("div", {
|
|
30
|
-
class:
|
|
31
|
-
style:
|
|
30
|
+
class: s([t(o)("bg"), t(o)("primary")]),
|
|
31
|
+
style: r(p.value)
|
|
32
32
|
}, null, 6)
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : i("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, computed as c,
|
|
1
|
+
import { defineComponent as p, computed as c, createElementBlock as o, createCommentVNode as d, openBlock as r, normalizeStyle as a, normalizeClass as m, unref as i, Fragment as f, renderList as y, createBlock as _ } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import "../ApStatus.vue.mjs";
|
|
4
4
|
import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -19,10 +19,10 @@ const w = /* @__PURE__ */ p({
|
|
|
19
19
|
})), { b: l } = g("ap-status-group");
|
|
20
20
|
return (n, S) => t.statusList ? (r(), o("div", {
|
|
21
21
|
key: 0,
|
|
22
|
-
class:
|
|
22
|
+
class: m([i(l)()]),
|
|
23
23
|
style: a(u.value)
|
|
24
24
|
}, [
|
|
25
|
-
(r(!0), o(
|
|
25
|
+
(r(!0), o(f, null, y(t.statusList, (e) => (r(), _(k, {
|
|
26
26
|
key: e.value,
|
|
27
27
|
show: e.value === n.currentValue,
|
|
28
28
|
color: e.color,
|
|
@@ -30,7 +30,7 @@ const w = /* @__PURE__ */ p({
|
|
|
30
30
|
padding: t.padding,
|
|
31
31
|
style: a(t.style)
|
|
32
32
|
}, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : d("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as p, createVNode as w, Fragment as y,
|
|
1
|
+
import { defineComponent as N, computed as p, createVNode as w, Fragment as y, createBlock as l, openBlock as m, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { isNil as D, get as i } from "lodash-unified";
|
|
3
3
|
import { TableSummaryRow as F, TableSummaryCell as V } from "@aplus-frontend/antdv";
|
|
4
4
|
import { flattenColumns as E, formatDataIndex as c } from "./utils.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, createElementBlock as c, openBlock as f, createTextVNode as a, renderSlot as d, toDisplayString as t, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useLocale as p } from "../../config-provider/hooks/use-locale.mjs";
|
|
4
4
|
import { useGlobalConfig as s } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ m({
|
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const { t: n } = p(), l = s("uiMode", "aplus");
|
|
23
|
-
return (i, x) => (
|
|
23
|
+
return (i, x) => (f(), c("div", null, [
|
|
24
24
|
a(t(e.title) + " ", 1),
|
|
25
25
|
d(i.$slots, "default", {
|
|
26
26
|
maxCount: e.maxCount,
|