@aplus-frontend/ui 0.5.23 → 0.5.25
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 +4 -3
- package/es/src/ap-form/ap-form.vue2.mjs +124 -124
- package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -8
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/interface.d.ts +3 -2
- 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 +9 -8
- 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 +9 -8
- 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 +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +65 -61
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +86 -81
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +25 -25
- package/es/src/ap-grid/interface.d.ts +4 -0
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +42 -41
- 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 +4 -2
- 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 +4 -2
- 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/hooks/use-table-paging-ng.mjs +108 -102
- 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 +7 -2
- 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 +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- 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 +1 -83
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +34 -59
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +34 -99
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +68 -195
- package/es/src/business/ap-ladder/index.d.ts +1 -235
- package/es/src/business/ap-ladder/interface.d.ts +4 -114
- package/es/src/business/ap-ladder/utils.d.ts +5 -0
- package/es/src/business/ap-ladder/utils.mjs +38 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/es/src/business/ap-product-info/constans.d.ts +23 -0
- package/es/src/business/ap-product-info/index.d.ts +1 -0
- package/es/src/business/ap-product-info/interface.d.ts +11 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- 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 +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -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/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 +6 -5
- 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 +4 -3
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -8
- package/lib/src/ap-form/interface.d.ts +3 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -8
- package/lib/src/ap-form/search-form/index.vue.d.ts +9 -8
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +4 -0
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- 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/hooks/use-table-paging-ng.js +1 -1
- 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 +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -235
- package/lib/src/business/ap-ladder/interface.d.ts +4 -114
- package/lib/src/business/ap-ladder/utils.d.ts +5 -0
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/lib/src/business/ap-product-info/constans.d.ts +23 -0
- package/lib/src/business/ap-product-info/index.d.ts +1 -0
- package/lib/src/business/ap-product-info/interface.d.ts +11 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- 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 +6 -5
- package/package.json +3 -3
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-grid/index.less +3 -0
- package/theme/ap-ladder/ap-ladder.css +14 -5
- package/theme/ap-ladder/ap-ladder.less +16 -7
- package/theme/index.css +17 -5
|
@@ -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, openBlock as C, createElementBlock as D, normalizeClass as d, createVNode as p, withCtx as w, normalizeStyle as K, createBlock as F, createCommentVNode as T, renderSlot 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: K(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(), F(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"])) : T("", !0),
|
|
175
|
+
$(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, openBlock as B, createElementBlock as _, createVNode as s, unref as l, normalizeClass as x, normalizeStyle 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: x(l(g)()),
|
|
108
108
|
value: n.value,
|
|
109
|
-
style:
|
|
109
|
+
style: b(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 { openBlock as n, createElementBlock 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 n(), e("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 { openBlock as e, createElementBlock 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 e(), o("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, openBlock as R, createElementBlock 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) => (R(), L("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, openBlock as i, createBlock as p, 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, openBlock as R, createElementBlock 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 R(), V("div", {
|
|
55
55
|
class: b([t(m)()])
|
|
56
56
|
}, [
|
|
57
57
|
i(t(B), h({
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { ApLadderLabelValue, ApLadderProps, ApLadderSlots } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
|
-
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
6
|
-
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
|
-
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
|
-
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
9
3
|
declare function __VLS_template(): {
|
|
10
4
|
attrs: Partial<{}>;
|
|
11
5
|
slots: Readonly<ApLadderSlots> & ApLadderSlots;
|
|
@@ -15,83 +9,7 @@ declare function __VLS_template(): {
|
|
|
15
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
10
|
declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApLadderProps> & Readonly<{}>, {
|
|
17
11
|
layout: "vertical" | "horizontal";
|
|
18
|
-
tooltip: boolean;
|
|
19
12
|
labelAlign: "left" | "right";
|
|
20
|
-
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
21
|
-
title: VueTypeValidableDef<any>;
|
|
22
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
23
|
-
open: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
visible: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: any;
|
|
30
|
-
};
|
|
31
|
-
placement: PropType<TooltipPlacement>;
|
|
32
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
33
|
-
transitionName: StringConstructor;
|
|
34
|
-
overlayStyle: {
|
|
35
|
-
type: PropType<CSSProperties>;
|
|
36
|
-
default: CSSProperties;
|
|
37
|
-
};
|
|
38
|
-
overlayInnerStyle: {
|
|
39
|
-
type: PropType<CSSProperties>;
|
|
40
|
-
default: CSSProperties;
|
|
41
|
-
};
|
|
42
|
-
overlayClassName: StringConstructor;
|
|
43
|
-
openClassName: StringConstructor;
|
|
44
|
-
prefixCls: StringConstructor;
|
|
45
|
-
mouseEnterDelay: NumberConstructor;
|
|
46
|
-
mouseLeaveDelay: NumberConstructor;
|
|
47
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
48
|
-
arrowPointAtCenter: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
|
-
arrow: {
|
|
53
|
-
type: PropType<boolean | {
|
|
54
|
-
pointAtCenter?: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
default: boolean | {
|
|
57
|
-
pointAtCenter?: boolean;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
autoAdjustOverflow: {
|
|
61
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
62
|
-
default: boolean | AdjustOverflow;
|
|
63
|
-
};
|
|
64
|
-
destroyTooltipOnHide: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: any;
|
|
67
|
-
};
|
|
68
|
-
align: {
|
|
69
|
-
type: PropType<AlignType>;
|
|
70
|
-
default: AlignType;
|
|
71
|
-
};
|
|
72
|
-
builtinPlacements: {
|
|
73
|
-
type: PropType<BuildInPlacements>;
|
|
74
|
-
default: BuildInPlacements;
|
|
75
|
-
};
|
|
76
|
-
children: ArrayConstructor;
|
|
77
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
78
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
79
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
80
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
81
|
-
mask: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
maskStyle: {
|
|
86
|
-
type: PropType<CSSProperties>;
|
|
87
|
-
default: CSSProperties;
|
|
88
|
-
};
|
|
89
|
-
maskTransitionName: StringConstructor;
|
|
90
|
-
maskClosable: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
95
13
|
labelValues: Array<ApLadderLabelValue>;
|
|
96
14
|
majorColor: string;
|
|
97
15
|
minorColor: string;
|
|
@@ -1,90 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { memoize as
|
|
1
|
+
import { defineComponent as g, useSlots as V, computed as t, withMemo as h, openBlock as n, createElementBlock as _, normalizeClass as j, unref as l, createBlock as a, createSlots as i, withCtx as m, renderSlot as s, createCommentVNode as M } from "vue";
|
|
2
|
+
import { memoize as A } from "lodash-unified";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "./components/SimpleMode.vue.mjs";
|
|
5
5
|
import "./components/ValueGroupMode.vue.mjs";
|
|
6
|
-
import { isNull as
|
|
7
|
-
import { useNamespace as
|
|
8
|
-
import { useGlobalConfig as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
const
|
|
6
|
+
import { isNull as S, createMemoizeKey as $ } from "./utils.mjs";
|
|
7
|
+
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
import { useGlobalConfig as L } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
import z from "./components/SimpleMode.vue2.mjs";
|
|
10
|
+
import B from "./components/ValueGroupMode.vue2.mjs";
|
|
11
|
+
const P = /* @__PURE__ */ g({
|
|
12
12
|
name: "ApLadder",
|
|
13
13
|
__name: "ApLadder",
|
|
14
14
|
props: {
|
|
15
15
|
major: {},
|
|
16
16
|
minor: {},
|
|
17
17
|
majorColor: { default: "" },
|
|
18
|
-
majorStyles: {},
|
|
19
18
|
minorColor: { default: "" },
|
|
20
|
-
minorStyles: {},
|
|
21
19
|
layout: { default: "vertical" },
|
|
22
|
-
tooltip: { type: Boolean, default: !0 },
|
|
23
20
|
labelValues: { default: () => [] },
|
|
24
|
-
labelAlign: { default: "left" }
|
|
25
|
-
labelStyles: {},
|
|
26
|
-
valueStyles: {},
|
|
27
|
-
linkStyles: {},
|
|
28
|
-
unitStyles: {},
|
|
29
|
-
tooltipProps: { default: () => ({}) },
|
|
30
|
-
tooltipLabelStyles: {},
|
|
31
|
-
tooltipValueStyles: {}
|
|
21
|
+
labelAlign: { default: "left" }
|
|
32
22
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
() =>
|
|
36
|
-
),
|
|
37
|
-
|
|
23
|
+
setup(u) {
|
|
24
|
+
const r = V(), o = u, { b: c, m: p } = w("ap-ladder"), f = L("uiMode", "aplus"), d = t(
|
|
25
|
+
() => o.labelValues === void 0 || o.labelValues.length === 0
|
|
26
|
+
), k = t(() => o.labelValues.length > 0), b = t(() => o.labelAlign), v = A((e) => S(e) ? "" : typeof e == "number" ? e.toString() : typeof e == "string" ? e : "", $), y = (e) => {
|
|
27
|
+
e.link && window.open(e.link, "_blank"), typeof e.handleClickLink == "function" && e.handleClickLink();
|
|
38
28
|
};
|
|
39
|
-
return (
|
|
40
|
-
class:
|
|
29
|
+
return (e, C) => h([e.labelValues, e.major, e.minor], () => (n(), _("div", {
|
|
30
|
+
class: j([l(c)(), `${l(p)(l(f))}`])
|
|
41
31
|
}, [
|
|
42
|
-
|
|
32
|
+
d.value ? (n(), a(z, {
|
|
43
33
|
key: 0,
|
|
44
|
-
major:
|
|
45
|
-
minor:
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"tooltip-props": l.tooltipProps || {},
|
|
51
|
-
layout: l.layout,
|
|
52
|
-
tooltip: a.value,
|
|
53
|
-
"convert-value": o(r)
|
|
54
|
-
}, p({ _: 2 }, [
|
|
55
|
-
s.title ? {
|
|
34
|
+
major: o.major,
|
|
35
|
+
minor: o.minor,
|
|
36
|
+
layout: o.layout,
|
|
37
|
+
"convert-value": l(v)
|
|
38
|
+
}, i({ _: 2 }, [
|
|
39
|
+
r.title ? {
|
|
56
40
|
name: "title",
|
|
57
41
|
fn: m(() => [
|
|
58
|
-
|
|
42
|
+
s(e.$slots, "title")
|
|
59
43
|
]),
|
|
60
44
|
key: "0"
|
|
61
45
|
} : void 0
|
|
62
|
-
]), 1032, ["major", "minor", "
|
|
46
|
+
]), 1032, ["major", "minor", "layout", "convert-value"])) : k.value ? (n(), a(B, {
|
|
63
47
|
key: 1,
|
|
64
|
-
"label-values":
|
|
65
|
-
"label-align":
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"unit-styles": l.unitStyles || {},
|
|
70
|
-
"tooltip-label-styles": l.tooltipLabelStyles || {},
|
|
71
|
-
"tooltip-value-styles": l.tooltipValueStyles || {},
|
|
72
|
-
"tooltip-props": l.tooltipProps || {},
|
|
73
|
-
tooltip: a.value,
|
|
74
|
-
"convert-value": o(r),
|
|
75
|
-
onHandleClick: k
|
|
76
|
-
}, p({ _: 2 }, [
|
|
77
|
-
s.title ? {
|
|
48
|
+
"label-values": o.labelValues || {},
|
|
49
|
+
"label-align": b.value,
|
|
50
|
+
onHandleClick: y
|
|
51
|
+
}, i({ _: 2 }, [
|
|
52
|
+
r.title ? {
|
|
78
53
|
name: "title",
|
|
79
54
|
fn: m(() => [
|
|
80
|
-
|
|
55
|
+
s(e.$slots, "title")
|
|
81
56
|
]),
|
|
82
57
|
key: "0"
|
|
83
58
|
} : void 0
|
|
84
|
-
]), 1032, ["label-values", "label-align"
|
|
85
|
-
], 2));
|
|
59
|
+
]), 1032, ["label-values", "label-align"])) : M("", !0)
|
|
60
|
+
], 2)), C, 0);
|
|
86
61
|
}
|
|
87
62
|
});
|
|
88
63
|
export {
|
|
89
|
-
|
|
64
|
+
P as default
|
|
90
65
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
title?(_: {}): any;
|
|
6
6
|
};
|
|
7
7
|
refs: {};
|
|
8
|
-
rootEl:
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -17,38 +17,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
17
17
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
18
18
|
default: null;
|
|
19
19
|
};
|
|
20
|
-
majorStyles: {
|
|
21
|
-
type: PropType<CSSProperties>;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
|
-
majorColorStyles: {
|
|
25
|
-
type: PropType<CSSProperties>;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
|
-
minorStyles: {
|
|
29
|
-
type: PropType<CSSProperties>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
minorColorStyles: {
|
|
33
|
-
type: PropType<CSSProperties>;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
tooltipProps: {
|
|
37
|
-
type: ObjectConstructor;
|
|
38
|
-
default: () => {};
|
|
39
|
-
};
|
|
40
20
|
layout: {
|
|
41
21
|
type: StringConstructor;
|
|
42
22
|
default: string;
|
|
43
23
|
};
|
|
44
|
-
tooltip: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
convertValue: {
|
|
49
|
-
type: FunctionConstructor;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
24
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
53
25
|
major: {
|
|
54
26
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
@@ -58,49 +30,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
58
30
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
59
31
|
default: null;
|
|
60
32
|
};
|
|
61
|
-
majorStyles: {
|
|
62
|
-
type: PropType<CSSProperties>;
|
|
63
|
-
default: () => {};
|
|
64
|
-
};
|
|
65
|
-
majorColorStyles: {
|
|
66
|
-
type: PropType<CSSProperties>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
|
-
minorStyles: {
|
|
70
|
-
type: PropType<CSSProperties>;
|
|
71
|
-
default: () => {};
|
|
72
|
-
};
|
|
73
|
-
minorColorStyles: {
|
|
74
|
-
type: PropType<CSSProperties>;
|
|
75
|
-
default: () => {};
|
|
76
|
-
};
|
|
77
|
-
tooltipProps: {
|
|
78
|
-
type: ObjectConstructor;
|
|
79
|
-
default: () => {};
|
|
80
|
-
};
|
|
81
33
|
layout: {
|
|
82
34
|
type: StringConstructor;
|
|
83
35
|
default: string;
|
|
84
36
|
};
|
|
85
|
-
tooltip: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
convertValue: {
|
|
90
|
-
type: FunctionConstructor;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
37
|
}>> & Readonly<{}>, {
|
|
94
38
|
layout: string;
|
|
95
|
-
tooltip: boolean;
|
|
96
39
|
major: string | number | Function | Record<string, any>;
|
|
97
40
|
minor: string | number | Function | Record<string, any>;
|
|
98
|
-
|
|
99
|
-
majorStyles: CSSProperties;
|
|
100
|
-
majorColorStyles: CSSProperties;
|
|
101
|
-
minorStyles: CSSProperties;
|
|
102
|
-
minorColorStyles: CSSProperties;
|
|
103
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
104
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
105
43
|
export default _default;
|
|
106
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Tooltip as O } from "@aplus-frontend/antdv";
|
|
1
|
+
import { defineComponent as d, openBlock as r, createElementBlock as m, normalizeClass as a, unref as t, createElementVNode as l, toDisplayString as n, renderSlot as u, createCommentVNode as j } from "vue";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const E = /* @__PURE__ */ j({
|
|
3
|
+
import { useNamespace as S } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
|
+
const f = ["title"], y = ["title"], g = ["title"], b = ["title"], N = /* @__PURE__ */ d({
|
|
7
5
|
name: "ApLadderSimpleMode",
|
|
8
6
|
__name: "SimpleMode",
|
|
9
7
|
props: {
|
|
@@ -15,108 +13,45 @@ const E = /* @__PURE__ */ j({
|
|
|
15
13
|
type: [String, Number, Function, Object],
|
|
16
14
|
default: null
|
|
17
15
|
},
|
|
18
|
-
majorStyles: {
|
|
19
|
-
type: Object,
|
|
20
|
-
default: () => ({})
|
|
21
|
-
},
|
|
22
|
-
majorColorStyles: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => ({})
|
|
25
|
-
},
|
|
26
|
-
minorStyles: {
|
|
27
|
-
type: Object,
|
|
28
|
-
default: () => ({})
|
|
29
|
-
},
|
|
30
|
-
minorColorStyles: {
|
|
31
|
-
type: Object,
|
|
32
|
-
default: () => ({})
|
|
33
|
-
},
|
|
34
|
-
tooltipProps: {
|
|
35
|
-
type: Object,
|
|
36
|
-
default: () => ({})
|
|
37
|
-
},
|
|
38
16
|
layout: {
|
|
39
17
|
type: String,
|
|
40
18
|
default: "vertical"
|
|
41
|
-
},
|
|
42
|
-
tooltip: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: !1
|
|
45
|
-
},
|
|
46
|
-
convertValue: {
|
|
47
|
-
type: Function,
|
|
48
|
-
required: !0
|
|
49
19
|
}
|
|
50
20
|
},
|
|
51
21
|
setup(e) {
|
|
52
|
-
const { b:
|
|
53
|
-
return (
|
|
54
|
-
|
|
55
|
-
!t(c)(e.major) || !t(c)(e.minor) ? (n(), i(C, { key: 0 }, [
|
|
56
|
-
e.layout === "vertical" ? (n(), i("div", {
|
|
57
|
-
key: 0,
|
|
58
|
-
class: l([t(y)("base"), t(d)("vertical")])
|
|
59
|
-
}, [
|
|
60
|
-
a("span", {
|
|
61
|
-
class: l([t(o)("major")]),
|
|
62
|
-
style: m([e.majorStyles, e.majorColorStyles])
|
|
63
|
-
}, r(e.convertValue(e.major)), 7),
|
|
64
|
-
a("span", {
|
|
65
|
-
class: l([t(o)("minor")]),
|
|
66
|
-
style: m([e.minorStyles, e.minorColorStyles])
|
|
67
|
-
}, r(e.convertValue(e.minor)), 7)
|
|
68
|
-
], 2)) : (n(), i("div", {
|
|
69
|
-
key: 1,
|
|
70
|
-
class: l([t(y)("base"), t(d)("horizontal")])
|
|
71
|
-
}, [
|
|
72
|
-
a("span", {
|
|
73
|
-
class: l([t(o)("major")]),
|
|
74
|
-
style: m([e.majorStyles, e.majorColorStyles])
|
|
75
|
-
}, r(e.convertValue(e.major)), 7),
|
|
76
|
-
a("span", {
|
|
77
|
-
class: l([t(o)("minor")]),
|
|
78
|
-
style: m([e.minorStyles, e.minorColorStyles])
|
|
79
|
-
}, r(e.convertValue(e.minor)), 7)
|
|
80
|
-
], 2))
|
|
81
|
-
], 64)) : u("", !0)
|
|
82
|
-
]),
|
|
83
|
-
_: 2
|
|
22
|
+
const { b: o, e: i, m: s } = S("ap-ladder");
|
|
23
|
+
return (c, p) => (r(), m("div", {
|
|
24
|
+
class: a([t(o)("simple-mode")])
|
|
84
25
|
}, [
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
a("
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
], 2))
|
|
113
|
-
], 2)
|
|
114
|
-
]),
|
|
115
|
-
key: "1"
|
|
116
|
-
} : void 0
|
|
117
|
-
]), 1040));
|
|
26
|
+
e.layout === "vertical" ? (r(), m("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: a([t(o)("base"), t(s)("vertical")])
|
|
29
|
+
}, [
|
|
30
|
+
l("span", {
|
|
31
|
+
class: a([t(i)("major")]),
|
|
32
|
+
title: String(e.major)
|
|
33
|
+
}, n(e.major), 11, f),
|
|
34
|
+
l("span", {
|
|
35
|
+
class: a([t(i)("minor")]),
|
|
36
|
+
title: String(e.major)
|
|
37
|
+
}, n(e.minor), 11, y)
|
|
38
|
+
], 2)) : (r(), m("div", {
|
|
39
|
+
key: 1,
|
|
40
|
+
class: a([t(o)("base"), t(s)("horizontal")])
|
|
41
|
+
}, [
|
|
42
|
+
l("span", {
|
|
43
|
+
class: a([t(i)("major")]),
|
|
44
|
+
title: String(e.major)
|
|
45
|
+
}, n(e.major), 11, g),
|
|
46
|
+
l("span", {
|
|
47
|
+
class: a([t(i)("minor")]),
|
|
48
|
+
title: String(e.major)
|
|
49
|
+
}, n(e.minor), 11, b)
|
|
50
|
+
], 2)),
|
|
51
|
+
c.$slots.title ? u(c.$slots, "title", { key: 2 }) : j("", !0)
|
|
52
|
+
], 2));
|
|
118
53
|
}
|
|
119
54
|
});
|
|
120
55
|
export {
|
|
121
|
-
|
|
56
|
+
N as default
|
|
122
57
|
};
|