@aplus-frontend/ui 0.6.0-beta.23 → 0.6.0-beta.24
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 +1 -1
- 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/components/popover-filter.vue2.mjs +7 -7
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.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 +19 -20
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- 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 +1 -1
- 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 +9 -9
- 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 +5 -5
- 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-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.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/index.d.ts +16 -4
- 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/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.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/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/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- 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/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- 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/set/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- 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-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-table-modal/index.d.ts +16 -4
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- 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/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +5 -5
- package/theme/index.css +0 -28
- package/theme/index.less +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V,
|
|
1
|
+
import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, createElementBlock as E, openBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
|
|
2
2
|
import { Button as j } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as q } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -29,7 +29,7 @@ const I = { class: "selected-desc" }, J = { class: "selected-desc-conut" }, M =
|
|
|
29
29
|
{
|
|
30
30
|
immediate: !0
|
|
31
31
|
}
|
|
32
|
-
), (e, l) => (
|
|
32
|
+
), (e, l) => (K(), E("div", {
|
|
33
33
|
class: f([t(n)()])
|
|
34
34
|
}, [
|
|
35
35
|
T(c("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, useSlots as O, computed as n,
|
|
1
|
+
import { defineComponent as F, useSlots as O, computed as n, createBlock as m, createCommentVNode as j, openBlock as d, unref as s, mergeProps as b, createSlots as g, withCtx as r, createElementVNode as x, normalizeStyle as E, resolveDynamicComponent as k, h as A, createVNode as i, renderList as B, renderSlot as C, normalizeProps as v, guardReactiveProps as y, normalizeClass as I } from "vue";
|
|
2
2
|
import { DropdownButton as q, Dropdown as H } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../ap-button/index.mjs";
|
|
4
4
|
import "./MenuItemGroup.vue.mjs";
|
|
@@ -61,7 +61,7 @@ const ie = /* @__PURE__ */ F({
|
|
|
61
61
|
return D({
|
|
62
62
|
columns: T,
|
|
63
63
|
dataSource: N
|
|
64
|
-
}), (t, o) => c.value.length && P.value === "dropdown" ? (
|
|
64
|
+
}), (t, o) => c.value.length && P.value === "dropdown" ? (d(), m(s(q), b({
|
|
65
65
|
key: 0,
|
|
66
66
|
class: [s(h)()]
|
|
67
67
|
}, {
|
|
@@ -75,12 +75,12 @@ const ie = /* @__PURE__ */ F({
|
|
|
75
75
|
}, { "menu-list": c.value }), null, 16, ["menu-list"])
|
|
76
76
|
]),
|
|
77
77
|
default: r(() => [
|
|
78
|
-
|
|
79
|
-
style:
|
|
78
|
+
x("span", {
|
|
79
|
+
style: E({
|
|
80
80
|
color: V.value
|
|
81
81
|
})
|
|
82
82
|
}, [
|
|
83
|
-
(
|
|
83
|
+
(d(), m(k(A("span", [_.value]))))
|
|
84
84
|
], 4)
|
|
85
85
|
]),
|
|
86
86
|
_: 2
|
|
@@ -91,9 +91,9 @@ const ie = /* @__PURE__ */ F({
|
|
|
91
91
|
C(t.$slots, l, v(y(f || {})))
|
|
92
92
|
])
|
|
93
93
|
}))
|
|
94
|
-
]), 1040, ["class"])) : c.value.length && P.value === "default" ? (
|
|
94
|
+
]), 1040, ["class"])) : c.value.length && P.value === "default" ? (d(), m(s(H), {
|
|
95
95
|
key: 1,
|
|
96
|
-
class:
|
|
96
|
+
class: I([s(h)()]),
|
|
97
97
|
disabled: p.value
|
|
98
98
|
}, g({
|
|
99
99
|
overlay: r(() => [
|
|
@@ -108,7 +108,7 @@ const ie = /* @__PURE__ */ F({
|
|
|
108
108
|
type: u.value
|
|
109
109
|
})), {
|
|
110
110
|
default: r(() => [
|
|
111
|
-
(
|
|
111
|
+
(d(), m(k(A("span", [_.value])))),
|
|
112
112
|
i(s(J))
|
|
113
113
|
]),
|
|
114
114
|
_: 1
|
|
@@ -122,7 +122,7 @@ const ie = /* @__PURE__ */ F({
|
|
|
122
122
|
C(t.$slots, l, v(y(f || {})))
|
|
123
123
|
])
|
|
124
124
|
}))
|
|
125
|
-
]), 1032, ["class", "disabled"])) :
|
|
125
|
+
]), 1032, ["class", "disabled"])) : j("", !0);
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
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_0: "collapse" | "expand") => 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: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => 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 K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W,
|
|
1
|
+
import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, createElementBlock as i, openBlock as a, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, createTextVNode as J } from "vue";
|
|
2
2
|
import { DownOutlined as P } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as X } from "../../ap-action/index.mjs";
|
|
@@ -102,14 +102,14 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
102
102
|
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
103
103
|
}, {
|
|
104
104
|
action: m(() => [
|
|
105
|
-
h.value ? (a(),
|
|
105
|
+
h.value ? (a(), $(t(X), {
|
|
106
106
|
key: 0,
|
|
107
107
|
size: "small",
|
|
108
108
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
109
109
|
onClick: r[0] || (r[0] = (s) => q())
|
|
110
110
|
}, {
|
|
111
111
|
default: m(() => [
|
|
112
|
-
|
|
112
|
+
S("span", {
|
|
113
113
|
class: n(t(o)("expandText"))
|
|
114
114
|
}, u(F.value), 3),
|
|
115
115
|
b(t(P), {
|
|
@@ -117,21 +117,21 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
117
117
|
}, null, 8, ["class"])
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
|
-
})) :
|
|
120
|
+
})) : L("", !0)
|
|
121
121
|
]),
|
|
122
122
|
message: m(() => [
|
|
123
|
-
|
|
123
|
+
S("div", {
|
|
124
124
|
ref_key: "ellipsisBoxRef",
|
|
125
125
|
ref: d,
|
|
126
126
|
style: y({ ...R.value, ...e.contentStyle }),
|
|
127
127
|
class: n(t(o)("alertContent"))
|
|
128
128
|
}, [
|
|
129
|
-
|
|
129
|
+
H(e.$slots, "default", {}, () => [
|
|
130
130
|
t(E)(e.prefix) ? (a(), i("span", {
|
|
131
131
|
key: 0,
|
|
132
132
|
class: n(t(o)("prefix")),
|
|
133
133
|
style: y(e.prefixStyle)
|
|
134
|
-
}, u(e.prefix), 7)) : (a(),
|
|
134
|
+
}, u(e.prefix), 7)) : (a(), $(I(e.prefix), {
|
|
135
135
|
key: 1,
|
|
136
136
|
style: y(e.prefixStyle)
|
|
137
137
|
}, null, 8, ["style"])),
|
|
@@ -143,11 +143,11 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
143
143
|
title: e.tipTitle ? e.tipTitle : null
|
|
144
144
|
}, {
|
|
145
145
|
default: m(() => [
|
|
146
|
-
|
|
146
|
+
H(e.$slots, "item", {
|
|
147
147
|
record: s,
|
|
148
148
|
index: w
|
|
149
149
|
}, () => [
|
|
150
|
-
|
|
150
|
+
S("span", {
|
|
151
151
|
class: n(t(o)("showItem")),
|
|
152
152
|
onClick: (ae) => e.$emit("choose", s)
|
|
153
153
|
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
|
|
@@ -162,8 +162,8 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
162
162
|
}, [
|
|
163
163
|
t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
|
|
164
164
|
J(u(e.separator), 1)
|
|
165
|
-
], 64)) : (a(),
|
|
166
|
-
], 6)) :
|
|
165
|
+
], 64)) : (a(), $(I(e.separator), { key: 1 }))
|
|
166
|
+
], 6)) : L("", !0)
|
|
167
167
|
], 64))), 128))
|
|
168
168
|
])
|
|
169
169
|
], 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_0: "collapse" | "expand") => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((args_0: T) => 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: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => 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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, ref as A, computed as s, watch as V,
|
|
1
|
+
import { defineComponent as O, ref as A, computed as s, watch as V, createElementBlock as $, openBlock as d, Fragment as q, createBlock as y, createCommentVNode as M, unref as a, mergeProps as B, withCtx as n, createTextVNode as x, toDisplayString as g, normalizeClass as z, createVNode as h } from "vue";
|
|
2
2
|
import { DownOutlined as U } from "@ant-design/icons-vue";
|
|
3
3
|
import { message as H, Dropdown as J, Menu as Q, MenuItem as G } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -90,7 +90,7 @@ const ge = /* @__PURE__ */ O({
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
return (t, l) => (d(), $(q, null, [
|
|
93
|
-
L.value && e.type === "button" ? (d(), y(a(P),
|
|
93
|
+
L.value && e.type === "button" ? (d(), y(a(P), B({ key: 0 }, {
|
|
94
94
|
...t.$attrs
|
|
95
95
|
}, {
|
|
96
96
|
disabled: m.value,
|
|
@@ -102,7 +102,7 @@ const ge = /* @__PURE__ */ O({
|
|
|
102
102
|
x(g((e == null ? void 0 : e.text) ?? a(r)("ap.apExportGroup.export")), 1)
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|
|
105
|
-
}, 16, ["disabled", "loading"])) :
|
|
105
|
+
}, 16, ["disabled", "loading"])) : M("", !0),
|
|
106
106
|
L.value && e.type === "dropdown" ? (d(), y(a(J), {
|
|
107
107
|
key: 1,
|
|
108
108
|
open: p.value,
|
|
@@ -139,7 +139,7 @@ const ge = /* @__PURE__ */ O({
|
|
|
139
139
|
})
|
|
140
140
|
]),
|
|
141
141
|
default: n(() => [
|
|
142
|
-
h(a(P),
|
|
142
|
+
h(a(P), B({
|
|
143
143
|
...t.$attrs
|
|
144
144
|
}, { loading: u.value }), {
|
|
145
145
|
default: n(() => [
|
|
@@ -150,7 +150,7 @@ const ge = /* @__PURE__ */ O({
|
|
|
150
150
|
}, 16, ["loading"])
|
|
151
151
|
]),
|
|
152
152
|
_: 1
|
|
153
|
-
}, 8, ["open", "class", "disabled"])) :
|
|
153
|
+
}, 8, ["open", "class", "disabled"])) : M("", !0)
|
|
154
154
|
], 64));
|
|
155
155
|
}
|
|
156
156
|
});
|
|
@@ -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 g, onMounted as R,
|
|
1
|
+
import { defineComponent as g, onMounted as R, createElementBlock as V, openBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
@@ -52,7 +52,7 @@ const S = /* @__PURE__ */ g({
|
|
|
52
52
|
}
|
|
53
53
|
}), (o, a) => {
|
|
54
54
|
var l, r;
|
|
55
|
-
return
|
|
55
|
+
return h(), V("div", {
|
|
56
56
|
class: b([t(m)()])
|
|
57
57
|
}, [
|
|
58
58
|
i(t(k), I({
|
|
@@ -3,17 +3,17 @@ import I from "./keeper/index.mjs";
|
|
|
3
3
|
import { matches as D, getAliveKey as T, isNoValue as W, getVNodeObjByVNodeChild as b, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
|
|
4
4
|
import { catchWrapper as B, measureWrapper as A } from "@aplus-frontend/utils";
|
|
5
5
|
import { LruCacher as C } from "./cacher/lru-cacher.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { forceStopTags as R, ApKeepAliveProps as _ } from "./interface.mjs";
|
|
7
7
|
import { throttle as S } from "lodash-unified";
|
|
8
8
|
import { useApKeepAliveProvide as $ } from "./hook.mjs";
|
|
9
9
|
const c = console, a = "|", te = j({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
|
-
props:
|
|
12
|
+
props: _(),
|
|
13
13
|
setup(o, { slots: h }) {
|
|
14
14
|
const g = M(), v = (e) => !(o.include && (!e || !D(o.include, e)) || o.exclude && e && D(o.exclude, e)), d = o.store || new C(o.max), u = E("");
|
|
15
15
|
let m = "";
|
|
16
|
-
const k = /* @__PURE__ */ new Set([...
|
|
16
|
+
const k = /* @__PURE__ */ new Set([...R, ...o.stopTags]), p = (e, n = "") => {
|
|
17
17
|
var f;
|
|
18
18
|
const t = [];
|
|
19
19
|
if (!e) return t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
|
|
2
|
-
import { convertValue as n,
|
|
2
|
+
import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const f = /* @__PURE__ */ c({
|
|
@@ -38,7 +38,7 @@ const f = /* @__PURE__ */ c({
|
|
|
38
38
|
title: String(n(l.value, {
|
|
39
39
|
...l
|
|
40
40
|
}))
|
|
41
|
-
}, [
|
|
41
|
+
}, [d(l.value) ? p(l.value) : l.link ? e("a", {
|
|
42
42
|
href: l.link,
|
|
43
43
|
target: "_blank",
|
|
44
44
|
class: a("value-group-link"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, ref as V, isVNode as _, h as l,
|
|
1
|
+
import { defineComponent as b, ref as V, isVNode as _, h as l, createElementBlock as r, openBlock as o, normalizeClass as f, unref as a, createVNode as w, withCtx as B, Fragment as N, renderList as z, normalizeStyle as F, createBlock as L, resolveDynamicComponent as x } from "vue";
|
|
2
2
|
import { Flex as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -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 {
|