@aplus-frontend/ui 0.3.8 → 0.3.10
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/item/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/es/src/ap-button/ap-action-button.vue.d.ts +4 -3
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -11
- package/es/src/ap-button/ap-button.vue.d.ts +4 -3
- package/es/src/ap-button/ap-button.vue.mjs +36 -36
- package/es/src/ap-button/interface.d.ts +4 -0
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/es/src/ap-download/ap-download.vue.d.ts +5 -3
- package/es/src/ap-field/date/index.vue.d.ts +2 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-field/number/index.vue.d.ts +2 -1
- package/es/src/ap-field/rate/index.vue.d.ts +2 -1
- package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/es/src/ap-field/select/index.vue.d.ts +2 -1
- package/es/src/ap-field/slider/index.vue.d.ts +2 -1
- package/es/src/ap-field/switch/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/index.vue.d.ts +2 -1
- package/es/src/ap-field/text/password.vue.d.ts +2 -1
- package/es/src/ap-form/ap-form.vue.d.ts +6 -4
- package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/item/index.vue.d.ts +2 -1
- package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -1
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -1
- package/es/src/ap-form/items/text-area/index.vue.d.ts +2 -1
- package/es/src/ap-form/list/index.vue.d.ts +2 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +61 -57
- package/es/src/ap-form/render/control.vue.d.ts +2 -1
- package/es/src/ap-form/render/item.vue.d.ts +2 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -2
- package/es/src/ap-form/set/index.vue.d.ts +2 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/es/src/ap-list/index.vue.d.ts +3 -5
- package/es/src/ap-list/index.vue.mjs +37 -39
- package/es/src/ap-list/interface.d.ts +3 -3
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
- package/es/src/ap-scroll-bar/index.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +3 -5
- package/es/src/ap-table/ap-table.vue2.mjs +75 -78
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +87 -0
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +209 -0
- package/es/src/ap-table/hooks/use-table-paging.d.ts +13 -3
- package/es/src/ap-table/hooks/use-table-paging.mjs +131 -126
- package/es/src/ap-table/interface.d.ts +4 -3
- package/es/src/ap-table/utils.d.ts +1 -0
- package/es/src/ap-table/utils.mjs +10 -5
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +3 -2
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +5 -9
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
- package/es/src/business/ap-batch-action/index.d.ts +1 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +3 -3
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
- package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
- package/es/src/business/ap-ladder/index.d.ts +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +3 -4
- package/es/src/business/ap-select-layout/interface.d.ts +1 -0
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -56
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +2 -1
- package/es/src/check-card/index.vue.d.ts +3 -2
- package/es/src/editable-table/form-item.vue.d.ts +3 -5
- package/es/src/editable-table/index.vue.d.ts +3 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/ap-action/item/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +4 -3
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.d.ts +4 -3
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/interface.d.ts +4 -0
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
- package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
- package/lib/src/ap-field/date/index.vue.d.ts +2 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +2 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -1
- package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
- package/lib/src/ap-field/select/index.vue.d.ts +2 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/index.vue.d.ts +2 -1
- package/lib/src/ap-field/text/password.vue.d.ts +2 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +6 -4
- package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/item/index.vue.d.ts +2 -1
- package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +2 -1
- package/lib/src/ap-form/list/index.vue.d.ts +2 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/control.vue.d.ts +2 -1
- package/lib/src/ap-form/render/item.vue.d.ts +2 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -2
- package/lib/src/ap-form/set/index.vue.d.ts +2 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
- package/lib/src/ap-list/index.vue.d.ts +3 -5
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +3 -3
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
- package/lib/src/ap-scroll-bar/index.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +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.d.ts +87 -0
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -0
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +13 -3
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/interface.d.ts +4 -3
- package/lib/src/ap-table/utils.d.ts +1 -0
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +3 -2
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -9
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
- package/lib/src/business/ap-batch-action/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
- package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +3 -3
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
- package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
- package/lib/src/business/ap-ladder/index.d.ts +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +3 -4
- package/lib/src/business/ap-select-layout/interface.d.ts +1 -0
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +2 -1
- package/lib/src/check-card/index.vue.d.ts +3 -2
- package/lib/src/editable-table/form-item.vue.d.ts +3 -5
- package/lib/src/editable-table/index.vue.d.ts +3 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/package.json +1 -1
- package/index.ts +0 -19
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as O, ref as r, computed as U, onMounted as W, openBlock as
|
|
1
|
+
import { defineComponent as O, ref as r, computed as U, onMounted as W, openBlock as p, createElementBlock as m, normalizeClass as a, unref as t, createVNode as d, Transition as z, withCtx as c, withDirectives as V, createElementVNode as s, toDisplayString as E, createTextVNode as $, Fragment as R, renderList as _, renderSlot as x, vShow as A, 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";
|
|
5
|
-
import { Tooltip as
|
|
5
|
+
import { Tooltip as N, TypographyText as J } from "@aplus-frontend/antdv";
|
|
6
6
|
import { debounce as K } from "lodash-unified";
|
|
7
7
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { ApFieldText as Q } from "../../ap-field/text/index.mjs";
|
|
@@ -12,37 +12,38 @@ const X = ["onClick"], re = /* @__PURE__ */ O({
|
|
|
12
12
|
title: {},
|
|
13
13
|
request: {},
|
|
14
14
|
onSearch: {},
|
|
15
|
-
defaultFold: { type: Boolean, default: !1 }
|
|
15
|
+
defaultFold: { type: Boolean, default: !1 },
|
|
16
|
+
defaultValue: { default: "" }
|
|
16
17
|
},
|
|
17
18
|
emits: ["onSelect", "afterEnter", "afterLeave"],
|
|
18
19
|
setup(w, { emit: B }) {
|
|
19
|
-
const { b:
|
|
20
|
-
v.value = !v.value,
|
|
21
|
-
}, F = (
|
|
22
|
-
|
|
23
|
-
}, q = K((
|
|
20
|
+
const { b: h, be: y, bem: u } = P("ap-select-layout"), o = w, C = B, g = r(), v = r(o.defaultFold), S = r(!o.defaultFold), T = r(), b = r(), k = r(), f = r(o.defaultValue), L = () => {
|
|
21
|
+
v.value = !v.value, T.value = !1, b.value = !1;
|
|
22
|
+
}, F = (l) => {
|
|
23
|
+
k.value = l, C("onSelect", l);
|
|
24
|
+
}, q = K((l) => {
|
|
24
25
|
var e;
|
|
25
|
-
|
|
26
|
+
f.value = (e = l.target) == null ? void 0 : e.value;
|
|
26
27
|
}, 500), D = U(() => {
|
|
27
|
-
var
|
|
28
|
-
return (
|
|
29
|
-
var
|
|
30
|
-
return
|
|
28
|
+
var l;
|
|
29
|
+
return (l = g.value) == null ? void 0 : l.filter((e) => {
|
|
30
|
+
var i, n;
|
|
31
|
+
return o != null && o.onSearch ? (i = o.onSearch) == null ? void 0 : i.call(o, e, f.value) : (n = e == null ? void 0 : e.name) == null ? void 0 : n.includes(f.value);
|
|
31
32
|
});
|
|
32
|
-
}), I = (
|
|
33
|
-
|
|
34
|
-
}, M = (
|
|
35
|
-
|
|
33
|
+
}), I = (l) => {
|
|
34
|
+
S.value = !0, C("afterEnter", l);
|
|
35
|
+
}, M = (l) => {
|
|
36
|
+
S.value = !1, C("afterLeave", l);
|
|
36
37
|
};
|
|
37
38
|
return W(() => {
|
|
38
|
-
|
|
39
|
+
o.request().then((l) => {
|
|
39
40
|
var e;
|
|
40
|
-
|
|
41
|
+
g.value = l, F((e = g.value) == null ? void 0 : e[0]);
|
|
41
42
|
});
|
|
42
|
-
}), (
|
|
43
|
-
var
|
|
44
|
-
return
|
|
45
|
-
class:
|
|
43
|
+
}), (l, e) => {
|
|
44
|
+
var i;
|
|
45
|
+
return p(), m("div", {
|
|
46
|
+
class: a(t(h)())
|
|
46
47
|
}, [
|
|
47
48
|
d(z, {
|
|
48
49
|
mode: "out-in",
|
|
@@ -50,22 +51,22 @@ const X = ["onClick"], re = /* @__PURE__ */ O({
|
|
|
50
51
|
onAfterLeave: M
|
|
51
52
|
}, {
|
|
52
53
|
default: c(() => [
|
|
53
|
-
|
|
54
|
-
class:
|
|
54
|
+
V(s("div", {
|
|
55
|
+
class: a(t(h)("side"))
|
|
55
56
|
}, [
|
|
56
57
|
s("div", {
|
|
57
|
-
class:
|
|
58
|
+
class: a(t(y)("side", "header"))
|
|
58
59
|
}, [
|
|
59
|
-
s("h3", null,
|
|
60
|
+
s("h3", null, E(o.title), 1),
|
|
60
61
|
s("div", {
|
|
61
|
-
class:
|
|
62
|
+
class: a(t(u)("side", "header", "imgWrap"))
|
|
62
63
|
}, [
|
|
63
|
-
d(t(
|
|
64
|
-
open:
|
|
65
|
-
"onUpdate:open": e[0] || (e[0] = (
|
|
64
|
+
d(t(N), {
|
|
65
|
+
open: T.value,
|
|
66
|
+
"onUpdate:open": e[0] || (e[0] = (n) => T.value = n)
|
|
66
67
|
}, {
|
|
67
68
|
title: c(() => e[2] || (e[2] = [
|
|
68
|
-
|
|
69
|
+
$("收起")
|
|
69
70
|
])),
|
|
70
71
|
default: c(() => [
|
|
71
72
|
d(t(G), { onClick: L })
|
|
@@ -75,57 +76,58 @@ const X = ["onClick"], re = /* @__PURE__ */ O({
|
|
|
75
76
|
], 2)
|
|
76
77
|
], 2),
|
|
77
78
|
s("div", {
|
|
78
|
-
class:
|
|
79
|
+
class: a(t(y)("side", "body"))
|
|
79
80
|
}, [
|
|
80
81
|
s("div", {
|
|
81
|
-
class:
|
|
82
|
+
class: a(t(u)("side", "body", "search"))
|
|
82
83
|
}, [
|
|
83
84
|
d(t(Q), {
|
|
84
85
|
placeholder: "请输入",
|
|
86
|
+
value: f.value,
|
|
85
87
|
onChange: t(q)
|
|
86
|
-
}, null, 8, ["onChange"])
|
|
88
|
+
}, null, 8, ["value", "onChange"])
|
|
87
89
|
], 2),
|
|
88
90
|
s("div", {
|
|
89
|
-
class:
|
|
91
|
+
class: a(t(u)("side", "body", "scroll"))
|
|
90
92
|
}, [
|
|
91
|
-
(
|
|
92
|
-
key:
|
|
93
|
-
class:
|
|
94
|
-
onClick: (Y) => F(
|
|
93
|
+
(p(!0), m(R, null, _(D.value, (n) => V((p(), m("div", {
|
|
94
|
+
key: n.value,
|
|
95
|
+
class: a(`${t(u)("side", "body", "scroll-item")} ${k.value === n ? "active" : ""}`),
|
|
96
|
+
onClick: (Y) => F(n)
|
|
95
97
|
}, [
|
|
96
|
-
|
|
98
|
+
x(l.$slots, "itemRender", { item: n }, () => [
|
|
97
99
|
d(t(J), {
|
|
98
|
-
ellipsis: { tooltip:
|
|
99
|
-
content: `${
|
|
100
|
+
ellipsis: { tooltip: n.name },
|
|
101
|
+
content: `${n.name}`
|
|
100
102
|
}, null, 8, ["ellipsis", "content"])
|
|
101
103
|
])
|
|
102
104
|
], 10, X)), [
|
|
103
|
-
[
|
|
105
|
+
[A, S.value]
|
|
104
106
|
])), 128))
|
|
105
107
|
], 2)
|
|
106
108
|
], 2)
|
|
107
109
|
], 2), [
|
|
108
|
-
[
|
|
110
|
+
[A, !v.value]
|
|
109
111
|
])
|
|
110
112
|
]),
|
|
111
113
|
_: 3
|
|
112
114
|
}),
|
|
113
115
|
s("div", {
|
|
114
|
-
class:
|
|
116
|
+
class: a(t(h)("content"))
|
|
115
117
|
}, [
|
|
116
118
|
s("div", {
|
|
117
|
-
class:
|
|
119
|
+
class: a(t(y)("content", "header"))
|
|
118
120
|
}, [
|
|
119
|
-
v.value ? (
|
|
121
|
+
v.value ? (p(), m("div", {
|
|
120
122
|
key: 0,
|
|
121
|
-
class:
|
|
123
|
+
class: a(t(u)("content", "header", "imgWrap"))
|
|
122
124
|
}, [
|
|
123
|
-
d(t(
|
|
124
|
-
open:
|
|
125
|
-
"onUpdate:open": e[1] || (e[1] = (
|
|
125
|
+
d(t(N), {
|
|
126
|
+
open: b.value,
|
|
127
|
+
"onUpdate:open": e[1] || (e[1] = (n) => b.value = n)
|
|
126
128
|
}, {
|
|
127
129
|
title: c(() => e[3] || (e[3] = [
|
|
128
|
-
|
|
130
|
+
$("展开")
|
|
129
131
|
])),
|
|
130
132
|
default: c(() => [
|
|
131
133
|
d(t(H), { onClick: L })
|
|
@@ -134,10 +136,10 @@ const X = ["onClick"], re = /* @__PURE__ */ O({
|
|
|
134
136
|
}, 8, ["open"])
|
|
135
137
|
], 2)) : j("", !0),
|
|
136
138
|
s("div", {
|
|
137
|
-
class:
|
|
138
|
-
},
|
|
139
|
+
class: a(t(u)("content", "header", "title"))
|
|
140
|
+
}, E((i = k.value) == null ? void 0 : i.name), 3)
|
|
139
141
|
], 2),
|
|
140
|
-
|
|
142
|
+
x(l.$slots, "default")
|
|
141
143
|
], 2)
|
|
142
144
|
], 2);
|
|
143
145
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
4
5
|
default?(_: {
|
|
5
6
|
maxCount: number;
|
|
@@ -7,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
7
8
|
}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -36,7 +37,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
36
37
|
type: NumberConstructor;
|
|
37
38
|
required: true;
|
|
38
39
|
};
|
|
39
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
40
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
40
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
42
|
export default _default;
|
|
42
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { TableLayoutConfig } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = TableLayoutConfig & {
|
|
4
|
+
selectedList: any[];
|
|
5
|
+
};
|
|
3
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
4
8
|
slots: {
|
|
5
9
|
default?(_: {}): any;
|
|
6
10
|
default?(_: {}): any;
|
|
7
11
|
};
|
|
8
12
|
refs: {};
|
|
9
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
10
14
|
};
|
|
11
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
-
selectedList: any[];
|
|
14
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
17
|
clear: () => any;
|
|
16
18
|
deleteItem: (record: any) => any;
|
|
17
|
-
}, string, PublicProps, Readonly<
|
|
18
|
-
selectedList: any[];
|
|
19
|
-
}> & Readonly<{
|
|
19
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
20
|
onClear?: (() => any) | undefined;
|
|
21
21
|
onDeleteItem?: ((record: any) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
leftTitle: string;
|
|
24
24
|
selectedList: any[];
|
|
25
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
28
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,7 +2,8 @@ import { OpenOptions, OpenReturnType, ApTableModalProps } from './interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
4
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = ApTableModalProps;
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {
|
|
6
7
|
open: <T>(selected?: any[], options?: OpenOptions) => Promise<OpenReturnType<T>>;
|
|
7
8
|
close: () => void;
|
|
8
9
|
getApTableInstance: () => {
|
|
@@ -26,7 +27,7 @@ declare const _default: DefineComponent<ApTableModalProps<any>, {
|
|
|
26
27
|
} | null;
|
|
27
28
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
29
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
29
|
-
}, string, PublicProps, Readonly<
|
|
30
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
31
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
31
32
|
}>, {
|
|
32
33
|
mask: boolean;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ApTitleProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
prefix?(_: {}): any;
|
|
6
7
|
suffix?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<ApTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTitleProps> & Readonly<{}>, {
|
|
@@ -15,7 +16,7 @@ declare const __VLS_component: DefineComponent<ApTitleProps, {}, {}, {}, {}, Com
|
|
|
15
16
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
16
17
|
helpMessage: string;
|
|
17
18
|
helpIconColor: string;
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,7 +8,7 @@ declare const ApTitle: {
|
|
|
8
8
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
9
9
|
helpMessage: string;
|
|
10
10
|
helpIconColor: string;
|
|
11
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
11
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
12
12
|
P: {};
|
|
13
13
|
B: {};
|
|
14
14
|
D: {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ApUploadFile, ApUploadSingleProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = ApUploadSingleProps;
|
|
3
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
4
6
|
slots: {
|
|
5
7
|
default?(_: {
|
|
6
8
|
file: ApUploadFile | undefined;
|
|
@@ -8,12 +10,12 @@ declare function __VLS_template(): {
|
|
|
8
10
|
}): any;
|
|
9
11
|
};
|
|
10
12
|
refs: {};
|
|
11
|
-
|
|
13
|
+
rootEl: any;
|
|
12
14
|
};
|
|
13
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: DefineComponent<
|
|
16
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
17
|
"update:fileList": (...args: any[]) => void;
|
|
16
|
-
}, string, PublicProps, Readonly<
|
|
18
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
19
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
18
20
|
}>, {
|
|
19
21
|
accept: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
3
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
13
13
|
allowClear: boolean;
|
|
14
14
|
emptyText: string;
|
|
15
15
|
hasAll: boolean;
|
|
16
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
17
|
export default _default;
|
|
@@ -4,5 +4,5 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
4
4
|
"update:value": (...args: any[]) => void;
|
|
5
5
|
}, string, PublicProps, Readonly<BatchInputGroupPopoverInputProps> & Readonly<{
|
|
6
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
8
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CheckCardGroupProps, CheckCardValueType } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<CheckCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -6,9 +6,10 @@ type CheckCardSlots = {
|
|
|
6
6
|
}): void;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: Readonly<CheckCardSlots> & CheckCardSlots;
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
15
|
declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -22,7 +23,7 @@ declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, C
|
|
|
22
23
|
checked: boolean;
|
|
23
24
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
24
25
|
indicatorSize: number;
|
|
25
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
28
|
export default _default;
|
|
28
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
2
2
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
5
|
declare const _default: <RecordType = 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<{
|
|
6
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & EditableTableFormItemProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
add: (defaultValue?: any, insertIndex?: number) => void;
|
|
9
9
|
remove: (index: number | number[]) => void;
|
|
@@ -48,9 +48,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
48
48
|
}) => void;
|
|
49
49
|
};
|
|
50
50
|
emit: {};
|
|
51
|
-
}>) => VNode
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}> & {
|
|
51
|
+
}>) => VNode & {
|
|
54
52
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
55
53
|
};
|
|
56
54
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import { EditableTableProps, EditableColumnType } from './interface';
|
|
|
2
2
|
import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
6
6
|
declare const _default: <RecordType extends Recordable = 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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
8
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & Partial<{}> & EditableTableProps<RecordType>> & PublicProps;
|
|
10
10
|
expose(exposed: ShallowUnwrapRef<{
|
|
11
11
|
resetFields: () => void;
|
|
12
12
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
@@ -53,9 +53,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
53
53
|
}) => void;
|
|
54
54
|
};
|
|
55
55
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
56
|
-
}>) => VNode
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
}> & {
|
|
56
|
+
}>) => VNode & {
|
|
59
57
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
60
58
|
};
|
|
61
59
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?:
|
|
4
|
-
lang?:
|
|
3
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?:
|
|
7
|
-
lang?:
|
|
6
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -6,5 +6,5 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
6
6
|
}, string, PublicProps, Readonly<WorkOrderModalProps> & Readonly<{
|
|
7
7
|
"onUpdate:open"?: (() => any) | undefined;
|
|
8
8
|
onModalClose?: (() => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
9
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
10
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ApActionItemProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: any;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
10
|
declare const __VLS_component: DefineComponent<ApActionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,11 +3,12 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { ActionColor, MixedActionTypes } from '..';
|
|
4
4
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemDropdownProps> & Readonly<{}>, {
|
|
@@ -3,9 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
4
|
import { ModalFuncProps } from '@aplus-frontend/antdv';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: DefineComponent<ApActionItemModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemModalProps> & Readonly<{}>, {
|
|
@@ -11,9 +11,10 @@ import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
12
12
|
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
15
16
|
refs: {};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
20
|
declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemPopconfirmProps> & Readonly<{}>, {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ApButtonSlots, ApButtonProps } from './interface';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { ApButtonProps } from './interface';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
|
-
refs: {};
|
|
7
5
|
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<ApButtonSlots> & ApButtonSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApButtonProps> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const s=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=e.useSlots(),a=r;return(t,i)=>(e.openBlock(),e.createBlock(s.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...a})),e.createSlots({_:2},[e.renderList(n,(p,o)=>({name:o,fn:e.withCtx(l=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(l||{})))])}))]),1040))}});exports.default=u;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ApButtonProps } from './interface';
|
|
1
|
+
import { ApButtonSlots, ApButtonProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
|
-
refs: {};
|
|
7
5
|
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<ApButtonSlots> & ApButtonSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
11
|
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApButtonProps> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),W=require("@aplus-frontend/antdv"),z=require("@aplus-frontend/utils");require("../config-provider/index.js");const L=require("lodash-unified"),f=require("./utils/index.js"),q=require("../config-provider/hooks/use-namespace.js"),M=require("../config-provider/hooks/use-global-config.js"),_=88,w=300,T=e.defineComponent({__name:"ap-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"default"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!1},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(y){const m=e.useSlots(),t=y,l={aplus:"#0070FF",admin:"#34b77c"},{b:a}=q.useNamespace("ap-action-button"),b=M.useGlobalConfig("uiMode"),n=e.ref(!1),v=e.computed(()=>t.borderLinkColor||l[b.value]||l.aplus),i=e.computed(()=>t.type==="borderLink"?v.value:void 0),u=e.computed(()=>f.transferOpacityColor(i.value)),h=e.computed(()=>t.minWidth===!0?`${_}px`:typeof t.minWidth=="number"?`${t.minWidth}px`:typeof t.minWidth=="string"?t.minWidth:void 0),g=e.computed(()=>(t.type==="borderLink"?"default":t.type)||"default"),s=e.computed(()=>t.loading??n.value??!1),c=e.computed(()=>t.lazy===!0?w:typeof t.lazy=="number"&&t.lazy>=0?t.lazy:0);function C(){const o=L.omit(t,["type","borderLinkColor","minWidth","onClick","loading"]);return o?{...o,type:g.value,onclick:k}:{}}async function k(){if(s.value)return;const o=f.isAsynchronous(t.onClick),d=Date.now();try{o&&(n.value=!0,await o)}finally{if(o){const r=Date.now()-d;r<c.value&&await z.wait(c.value-r),n.value=!1}}}return(o,d)=>(e.openBlock(),e.createBlock(e.unref(W.Button),e.mergeProps({class:{[e.unref(a)()]:!0,[`${e.unref(a)()}-border-link`]:u.value}},{...o.$attrs,...C()},{style:{color:i.value,minWidth:h.value,"--button-border-color":u.value},loading:s.value}),e.createSlots({_:2},[e.renderList(m,(r,p)=>({name:p,fn:e.withCtx(B=>[e.renderSlot(o.$slots,p,e.normalizeProps(e.guardReactiveProps(B||{})))])}))]),1040,["class","style","loading"]))}});exports.default=T;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DisplayInfoProps } from './interface';
|
|
2
2
|
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: Partial<Record<string, (_: {
|
|
5
6
|
index: number;
|
|
6
7
|
item: VNode<RendererNode, RendererElement, {
|
|
@@ -11,10 +12,10 @@ declare function __VLS_template(): {
|
|
|
11
12
|
} | undefined;
|
|
12
13
|
}) => any>>;
|
|
13
14
|
refs: {};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
18
|
+
declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|