@aplus-frontend/ui 0.6.0-beta.22 → 0.6.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +156 -158
- 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-drawer/index.d.ts +7 -3
- package/es/src/ap-drawer/index.mjs +5 -10
- package/es/src/ap-drawer/interface.d.ts +0 -3
- package/es/src/ap-drawer/style/css.d.ts +1 -0
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +1 -0
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +31 -36
- 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 +2 -1
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +2 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +2 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- 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 +4 -2
- 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 +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/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 +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 +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 +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 +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/index.d.ts +4 -16
- 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 +3 -2
- 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 +3 -2
- 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 +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/index.mjs +282 -285
- 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 +3 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/index.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-drawer/index.d.ts +7 -3
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +0 -3
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +1 -0
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +1 -0
- package/lib/src/ap-drawer/utils/createDrawer.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 +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- 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/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-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +4 -16
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -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/index.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
- package/package.json +1 -1
- package/es/src/ap-drawer/ApDrawer.vue.d.ts +0 -26
- package/es/src/ap-drawer/ApDrawer.vue.mjs +0 -78
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +0 -4
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +0 -25
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +0 -4
- package/lib/src/ap-drawer/ApDrawer.vue.d.ts +0 -26
- package/lib/src/ap-drawer/ApDrawer.vue.js +0 -1
- package/lib/src/ap-drawer/ApDrawer.vue2.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +0 -1
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r, computed as m, createVNode as t,
|
|
1
|
+
import { defineComponent as r, computed as m, createVNode as t, openBlock as o, createElementBlock as d, createBlock as l, resolveDynamicComponent as u, unref as s, withCtx as f, createCommentVNode as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
4
4
|
import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
|
|
@@ -30,16 +30,16 @@ const C = {
|
|
|
30
30
|
content: e
|
|
31
31
|
}, null)]) : e;
|
|
32
32
|
});
|
|
33
|
-
return (e, c) => (o(), d("span", C, [(o(), l(
|
|
33
|
+
return (e, c) => (o(), d("span", C, [(o(), l(u(a.value))), e.helpMessage ? (o(), l(s(y), {
|
|
34
34
|
key: 0,
|
|
35
35
|
placement: "topLeft",
|
|
36
36
|
title: e.helpMessage
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
38
|
+
default: f(() => [t(s(b), {
|
|
39
39
|
class: "ap-descriptions-item-content__help"
|
|
40
40
|
})]),
|
|
41
41
|
_: 1
|
|
42
|
-
}, 8, ["title"])) :
|
|
42
|
+
}, 8, ["title"])) : h("", !0)]));
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as A, useSlots as S, computed as t, unref as s,
|
|
1
|
+
import { defineComponent as x, ref as A, useSlots as S, computed as t, unref as s, openBlock as r, createBlock as j, mergeProps as I, withCtx as M, createElementVNode as u, normalizeClass as T, createElementBlock as f, createVNode as U, createCommentVNode as g, renderSlot as V, toDisplayString as D } from "vue";
|
|
2
2
|
import { Button as E } from "@aplus-frontend/antdv";
|
|
3
3
|
import { LoadingOutlined as G } from "@ant-design/icons-vue";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Drawer as _Drawer } from '@aplus-frontend/antdv';
|
|
2
|
+
import { CreateDrawerFunc } from './interface';
|
|
3
3
|
export * from './interface';
|
|
4
|
-
|
|
4
|
+
type ApDrawerMixedProps = typeof _Drawer & {
|
|
5
|
+
createDrawer: CreateDrawerFunc;
|
|
6
|
+
};
|
|
7
|
+
declare const ApDrawer: ApDrawerMixedProps;
|
|
8
|
+
export { ApDrawer };
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
+
import { Drawer as e } from "@aplus-frontend/antdv";
|
|
1
2
|
import "./utils/index.mjs";
|
|
2
|
-
import "./ApDrawer.vue2.mjs";
|
|
3
|
-
import "./components/ApDrawerClose.vue2.mjs";
|
|
4
3
|
import "./interface.mjs";
|
|
5
|
-
import { createDrawer as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
r.createDrawer = e;
|
|
4
|
+
import { createDrawer as a } from "./utils/createDrawer.mjs";
|
|
5
|
+
const r = e;
|
|
6
|
+
r.createDrawer = a;
|
|
9
7
|
r.name = "ApDrawer";
|
|
10
|
-
r.Close = o;
|
|
11
|
-
r.Close.name = "ApDrawerClose";
|
|
12
8
|
export {
|
|
13
|
-
r as ApDrawer
|
|
14
|
-
o as ApDrawerClose
|
|
9
|
+
r as ApDrawer
|
|
15
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,34 +1,31 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import N from "../ApDrawer.vue.mjs";
|
|
7
|
-
import T from "../components/ApDrawerClose.vue.mjs";
|
|
8
|
-
const G = (l) => {
|
|
1
|
+
import { render as x, defineComponent as D, createVNode as v, mergeProps as O, h as V } from "vue";
|
|
2
|
+
import { Drawer as E } from "@aplus-frontend/antdv";
|
|
3
|
+
import { ConfigProvider as U, globalConfigCached as A } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { omit as N } from "lodash-unified";
|
|
5
|
+
const z = (l) => {
|
|
9
6
|
let o, c;
|
|
10
7
|
const {
|
|
11
|
-
destroyOnClose:
|
|
8
|
+
destroyOnClose: f = !0
|
|
12
9
|
} = l;
|
|
13
|
-
function
|
|
10
|
+
function h() {
|
|
14
11
|
o && o(!1), setTimeout(() => {
|
|
15
12
|
var e;
|
|
16
|
-
|
|
13
|
+
x(null, t), (e = t.parentElement) == null || e.removeChild(t);
|
|
17
14
|
}, 500);
|
|
18
15
|
}
|
|
19
|
-
function
|
|
16
|
+
function b() {
|
|
20
17
|
o && o(!0);
|
|
21
18
|
}
|
|
22
|
-
function
|
|
19
|
+
function m() {
|
|
23
20
|
o && o(!1);
|
|
24
21
|
}
|
|
25
22
|
function w(e) {
|
|
26
23
|
c && c(e);
|
|
27
24
|
}
|
|
28
|
-
const
|
|
25
|
+
const P = /* @__PURE__ */ D({
|
|
29
26
|
data() {
|
|
30
27
|
return {
|
|
31
|
-
open:
|
|
28
|
+
open: f,
|
|
32
29
|
props: l
|
|
33
30
|
};
|
|
34
31
|
},
|
|
@@ -44,44 +41,42 @@ const G = (l) => {
|
|
|
44
41
|
},
|
|
45
42
|
methods: {
|
|
46
43
|
async handleClose() {
|
|
47
|
-
var e, n, r, s,
|
|
44
|
+
var e, n, r, s, p;
|
|
48
45
|
if ((e = this.props) != null && e.onClose) {
|
|
49
|
-
const
|
|
50
|
-
await ((
|
|
46
|
+
const i = ((s = (r = (n = this.props) == null ? void 0 : n.content) == null ? void 0 : r.component) == null ? void 0 : s.exposed) ?? void 0;
|
|
47
|
+
await ((p = this.props) == null ? void 0 : p.onClose(i));
|
|
51
48
|
}
|
|
52
|
-
|
|
49
|
+
f ? h() : m();
|
|
53
50
|
}
|
|
54
51
|
},
|
|
55
52
|
render() {
|
|
56
|
-
var s,
|
|
57
|
-
const e =
|
|
58
|
-
return
|
|
53
|
+
var s, p, i;
|
|
54
|
+
const e = N(this.props, ["onClose", "extra", "footer", "visible", "onUpdate:visible", "afterVisibleChange", "onAfterVisibleOChange", "open", "onUpdate:open", "getContainer"]), n = ((i = (p = (s = this.props) == null ? void 0 : s.content) == null ? void 0 : p.component) == null ? void 0 : i.exposed) ?? void 0, r = () => f ? h() : m();
|
|
55
|
+
return v(U, A.value, {
|
|
59
56
|
default: () => {
|
|
60
|
-
var
|
|
61
|
-
return [
|
|
57
|
+
var a, u, d, C;
|
|
58
|
+
return [v(E, O({
|
|
62
59
|
open: this.open,
|
|
63
60
|
onClose: this.handleClose,
|
|
64
|
-
extra: (
|
|
65
|
-
|
|
66
|
-
}, null),
|
|
67
|
-
footer: (x = (d = this.props) == null ? void 0 : d.footer) == null ? void 0 : x.call(d, n, r)
|
|
61
|
+
extra: (u = (a = this.props) == null ? void 0 : a.extra) == null ? void 0 : u.call(a, n, r),
|
|
62
|
+
footer: (C = (d = this.props) == null ? void 0 : d.footer) == null ? void 0 : C.call(d, n, r)
|
|
68
63
|
}, e), {
|
|
69
64
|
default: () => {
|
|
70
|
-
var
|
|
71
|
-
return [(
|
|
65
|
+
var g;
|
|
66
|
+
return [(g = this.props) == null ? void 0 : g.content];
|
|
72
67
|
}
|
|
73
68
|
})];
|
|
74
69
|
}
|
|
75
70
|
});
|
|
76
71
|
}
|
|
77
|
-
}),
|
|
78
|
-
return
|
|
79
|
-
destroy:
|
|
72
|
+
}), y = l.getContainer || document.body, t = document.createElement("div");
|
|
73
|
+
return y.appendChild(t), x(V(P), t), {
|
|
74
|
+
destroy: h,
|
|
80
75
|
update: w,
|
|
81
|
-
open:
|
|
82
|
-
close:
|
|
76
|
+
open: b,
|
|
77
|
+
close: m
|
|
83
78
|
};
|
|
84
79
|
};
|
|
85
80
|
export {
|
|
86
|
-
|
|
81
|
+
z as createDrawer
|
|
87
82
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as b, onMounted as C,
|
|
1
|
+
import { defineComponent as h, ref as b, onMounted as C, openBlock as o, createElementBlock as l, Fragment as n, unref as e, createTextVNode as m, toDisplayString as d, createBlock as c, mergeProps as V } from "vue";
|
|
2
2
|
import { isFunction as B, isNil as O, omit as q } from "lodash-unified";
|
|
3
3
|
import { Spin as T, CheckboxGroup as U } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E, computed as u, unref as a,
|
|
1
|
+
import { defineComponent as E, computed as u, unref as a, openBlock as s, createElementBlock as g, Fragment as k, createTextVNode as w, toDisplayString as P, createBlock as h, normalizeStyle as N, withCtx as f, isRef as j, renderList as C, createCommentVNode as I, createVNode as U, mergeProps as H, createSlots as K, renderSlot as $, normalizeProps as G, guardReactiveProps as L } from "vue";
|
|
2
2
|
import d from "dayjs";
|
|
3
3
|
import { InputGroup as W, Select as Y, SelectOption as Z, DatePicker as q } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApFieldDatePresetFormats as J, PRESET_FORMAT_MAP as S, PRESET_FORMAT_PICK_MAP as Q, PRESET_FORMAT_TIME_MAP as X } from "./constant.mjs";
|
|
@@ -163,7 +163,7 @@ const ye = /* @__PURE__ */ E({
|
|
|
163
163
|
Array.isArray(e.timezone) && e.timezone.length ? (s(), h(a(Y), {
|
|
164
164
|
key: 0,
|
|
165
165
|
value: a(i),
|
|
166
|
-
"onUpdate:value": n[0] || (n[0] = (o) =>
|
|
166
|
+
"onUpdate:value": n[0] || (n[0] = (o) => j(i) ? i.value = o : null),
|
|
167
167
|
"default-active-first-option": "",
|
|
168
168
|
"dropdown-match-select-width": !1,
|
|
169
169
|
style: { "max-width": "50%" }
|
|
@@ -180,8 +180,8 @@ const ye = /* @__PURE__ */ E({
|
|
|
180
180
|
}, 1032, ["value"]))), 128))
|
|
181
181
|
]),
|
|
182
182
|
_: 1
|
|
183
|
-
}, 8, ["value"])) :
|
|
184
|
-
|
|
183
|
+
}, 8, ["value"])) : I("", !0),
|
|
184
|
+
U(a(q), H(M.value, {
|
|
185
185
|
value: v.value,
|
|
186
186
|
format: A.value,
|
|
187
187
|
picker: R.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y,
|
|
1
|
+
import { defineComponent as q, useSlots as J, computed as f, unref as t, isVNode as Q, createVNode as T, Fragment as y, openBlock as d, createElementBlock as k, createTextVNode as C, toDisplayString as B, createBlock as D, resolveDynamicComponent as X, normalizeStyle as z, withCtx as P, isRef as ee, renderList as A, createCommentVNode as ne, mergeProps as oe, createSlots as te, renderSlot as ae, normalizeProps as re, guardReactiveProps as le } from "vue";
|
|
2
2
|
import { ApFieldDatePresetFormats as ue, PRESET_FORMAT_MAP as R, PRESET_FORMAT_PICK_MAP as de, PRESET_FORMAT_TIME_MAP as ie } from "../date/constant.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as F, omit as _, isString as h, isFunction as se } from "lodash-unified";
|
|
@@ -227,31 +227,31 @@ const Ee = /* @__PURE__ */ q({
|
|
|
227
227
|
key: 0
|
|
228
228
|
}, [S.value ? (d(), k(y, {
|
|
229
229
|
key: 0
|
|
230
|
-
}, [B(
|
|
230
|
+
}, [C(B((r = S.value[0]) == null ? void 0 : r.format(v.value)) + " ", 1), (d(), D(X(Z.value))), C(" " + B((l = S.value[1]) == null ? void 0 : l.format(v.value)), 1)], 64)) : (d(), k(y, {
|
|
231
231
|
key: 1
|
|
232
|
-
}, [B(
|
|
232
|
+
}, [C(B(e.emptyText), 1)], 64))], 64)) : (d(), D(t(fe), {
|
|
233
233
|
key: 1,
|
|
234
234
|
compact: "",
|
|
235
235
|
style: z({
|
|
236
236
|
display: Array.isArray(n.timezone) && n.timezone.length ? "flex" : "block"
|
|
237
237
|
})
|
|
238
238
|
}, {
|
|
239
|
-
default: P(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(),
|
|
239
|
+
default: P(() => [Array.isArray(n.timezone) && n.timezone.length ? (d(), D(t(me), {
|
|
240
240
|
key: 0,
|
|
241
241
|
value: t(u),
|
|
242
|
-
"onUpdate:value": a[0] || (a[0] = (o) =>
|
|
242
|
+
"onUpdate:value": a[0] || (a[0] = (o) => ee(u) ? u.value = o : null),
|
|
243
243
|
"default-active-first-option": "",
|
|
244
244
|
"dropdown-match-select-width": !1
|
|
245
245
|
}, {
|
|
246
|
-
default: P(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(),
|
|
246
|
+
default: P(() => [(d(!0), k(y, null, A(n.timezone, (o) => (d(), D(t(pe), {
|
|
247
247
|
key: o == null ? void 0 : o.value,
|
|
248
248
|
value: o == null ? void 0 : o.value
|
|
249
249
|
}, {
|
|
250
|
-
default: P(() => [B(
|
|
250
|
+
default: P(() => [C(B((o == null ? void 0 : o.label) ?? (o == null ? void 0 : o.value)), 1)]),
|
|
251
251
|
_: 2
|
|
252
252
|
}, 1032, ["value"]))), 128))]),
|
|
253
253
|
_: 1
|
|
254
|
-
}, 8, ["value"])) :
|
|
254
|
+
}, 8, ["value"])) : ne("", !0), T(t(ce).RangePicker, oe($.value, {
|
|
255
255
|
value: S.value,
|
|
256
256
|
picker: K.value,
|
|
257
257
|
format: I.value,
|
|
@@ -12,46 +12,46 @@ import "./segmented/index.vue2.mjs";
|
|
|
12
12
|
import "./rate/index.vue2.mjs";
|
|
13
13
|
import "./tree-select/index.vue2.mjs";
|
|
14
14
|
import "./interface.mjs";
|
|
15
|
-
import m from "./
|
|
16
|
-
import e from "./
|
|
17
|
-
import r from "./
|
|
18
|
-
import t from "./
|
|
19
|
-
import o from "./
|
|
20
|
-
import p from "./
|
|
21
|
-
import a from "./
|
|
22
|
-
import f from "./
|
|
23
|
-
import s from "./
|
|
24
|
-
import _ from "./
|
|
25
|
-
import c from "./
|
|
26
|
-
import d from "./
|
|
15
|
+
import m from "./text-area/index.vue.mjs";
|
|
16
|
+
import e from "./number/index.vue.mjs";
|
|
17
|
+
import r from "./date/index.vue.mjs";
|
|
18
|
+
import t from "./date-range/index.vue.mjs";
|
|
19
|
+
import o from "./radio/index.vue.mjs";
|
|
20
|
+
import p from "./checkbox/index.vue.mjs";
|
|
21
|
+
import a from "./select/index.vue.mjs";
|
|
22
|
+
import f from "./switch/index.vue.mjs";
|
|
23
|
+
import s from "./slider/index.vue.mjs";
|
|
24
|
+
import _ from "./segmented/index.vue.mjs";
|
|
25
|
+
import c from "./rate/index.vue.mjs";
|
|
26
|
+
import d from "./tree-select/index.vue.mjs";
|
|
27
27
|
const H = {
|
|
28
28
|
Text: i,
|
|
29
|
-
TextArea:
|
|
30
|
-
Number:
|
|
31
|
-
Date:
|
|
32
|
-
DateRange:
|
|
33
|
-
Radio:
|
|
34
|
-
Checkbox:
|
|
35
|
-
Select:
|
|
36
|
-
Switch:
|
|
37
|
-
Slider:
|
|
38
|
-
Segmented:
|
|
39
|
-
Rate:
|
|
40
|
-
TreeSelect:
|
|
29
|
+
TextArea: m,
|
|
30
|
+
Number: e,
|
|
31
|
+
Date: r,
|
|
32
|
+
DateRange: t,
|
|
33
|
+
Radio: o,
|
|
34
|
+
Checkbox: p,
|
|
35
|
+
Select: a,
|
|
36
|
+
Switch: f,
|
|
37
|
+
Slider: s,
|
|
38
|
+
Segmented: _,
|
|
39
|
+
Rate: c,
|
|
40
|
+
TreeSelect: d
|
|
41
41
|
};
|
|
42
42
|
export {
|
|
43
43
|
H as ApField,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
p as ApFieldCheckbox,
|
|
45
|
+
r as ApFieldDate,
|
|
46
|
+
t as ApFieldDateRange,
|
|
47
|
+
e as ApFieldNumber,
|
|
48
|
+
o as ApFieldRadio,
|
|
49
|
+
c as ApFieldRate,
|
|
50
|
+
_ as ApFieldSegmented,
|
|
51
|
+
a as ApFieldSelect,
|
|
52
|
+
s as ApFieldSlider,
|
|
53
|
+
f as ApFieldSwitch,
|
|
54
54
|
i as ApFieldText,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
m as ApFieldTextArea,
|
|
56
|
+
d as ApFieldTreeSelect
|
|
57
57
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n,
|
|
1
|
+
import { defineComponent as x, ref as C, computed as N, unref as t, openBlock as r, createElementBlock as n, Fragment as D, normalizeClass as d, renderSlot as s, createCommentVNode as m, createElementVNode as P, toDisplayString as V, createBlock as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
|
|
2
2
|
import { InputNumber as F } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, omit as T } from "lodash-unified";
|
|
@@ -76,21 +76,21 @@ const te = /* @__PURE__ */ x({
|
|
|
76
76
|
var e;
|
|
77
77
|
(e = l.value) == null || e.blur();
|
|
78
78
|
}
|
|
79
|
-
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(
|
|
79
|
+
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(D, { key: 0 }, [
|
|
80
80
|
e.$slots.prefix ? (r(), n("span", {
|
|
81
81
|
key: 0,
|
|
82
|
-
class:
|
|
82
|
+
class: d(t(i)("label-left"))
|
|
83
83
|
}, [
|
|
84
84
|
s(e.$slots, "prefix")
|
|
85
|
-
], 2)) :
|
|
86
|
-
|
|
85
|
+
], 2)) : m("", !0),
|
|
86
|
+
P("span", null, V(h.value), 1),
|
|
87
87
|
e.$slots.addonAfter ? (r(), n("span", {
|
|
88
88
|
key: 1,
|
|
89
|
-
class:
|
|
89
|
+
class: d(t(i)("label-right"))
|
|
90
90
|
}, [
|
|
91
91
|
s(e.$slots, "addonAfter")
|
|
92
|
-
], 2)) :
|
|
93
|
-
], 64)) : (r(),
|
|
92
|
+
], 2)) : m("", !0)
|
|
93
|
+
], 64)) : (r(), $(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
|
|
94
94
|
ref_key: "inputRef",
|
|
95
95
|
ref: l,
|
|
96
96
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o,
|
|
1
|
+
import { defineComponent as q, ref as p, onMounted as C, computed as O, unref as o, openBlock as l, createElementBlock as m, Fragment as d, createTextVNode as R, toDisplayString as U, createBlock as f, mergeProps as h } from "vue";
|
|
2
2
|
import { Spin as G, RadioGroup as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as S, omit as z } from "lodash-unified";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, ref as b, useSlots as h, computed as y,
|
|
1
|
+
import { defineComponent as v, ref as b, useSlots as h, computed as y, openBlock as B, createBlock as C, unref as o, mergeProps as _, createSlots as x, withCtx as g, renderSlot as k } from "vue";
|
|
2
2
|
import { omit as w } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { Rate as R } from "@aplus-frontend/antdv";
|
|
@@ -44,7 +44,7 @@ const D = /* @__PURE__ */ v({
|
|
|
44
44
|
return u({
|
|
45
45
|
focus: p,
|
|
46
46
|
blur: m
|
|
47
|
-
}), (e, t) => (
|
|
47
|
+
}), (e, t) => (B(), C(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
|
|
48
48
|
ref_key: "rateRef",
|
|
49
49
|
ref: l,
|
|
50
50
|
value: o(f),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a,
|
|
1
|
+
import { defineComponent as S, ref as B, useSlots as U, onMounted as V, computed as _, unref as l, createVNode as s, Fragment as a, openBlock as r, createBlock as d, createElementBlock as h, resolveDynamicComponent as N, mergeProps as q, withCtx as z, renderSlot as F, normalizeProps as P, guardReactiveProps as T } from "vue";
|
|
2
2
|
import { Spin as O, Segmented as R } from "@aplus-frontend/antdv";
|
|
3
3
|
import { isFunction as c, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a,
|
|
1
|
+
import { defineComponent as z, ref as B, onMounted as E, watch as U, computed as p, unref as a, openBlock as C, createElementBlock as K, toDisplayString as H, createBlock as $, mergeProps as j, createSlots as W, renderList as Y, withCtx as F, renderSlot as G, normalizeProps as J, guardReactiveProps as Q, createVNode as X } from "vue";
|
|
2
2
|
import { debounce as Z, isFunction as b, isArray as ee, isNil as te, omit as oe } from "lodash-unified";
|
|
3
3
|
import { Select as le, Spin as ae } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -220,7 +220,7 @@ const ie = { key: 0 }, he = /* @__PURE__ */ z({
|
|
|
220
220
|
focus: M,
|
|
221
221
|
blur: D,
|
|
222
222
|
request: d
|
|
223
|
-
}), (t, o) => t.mode === "read" ? (C(), K("span", ie,
|
|
223
|
+
}), (t, o) => t.mode === "read" ? (C(), K("span", ie, H(L.value), 1)) : (C(), $(a(le), j({
|
|
224
224
|
key: 1,
|
|
225
225
|
ref_key: "selectRef",
|
|
226
226
|
ref: v,
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?: string | number | null | undefined;
|
|
9
|
+
value?: (string | number | null) | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?: string | number | null | undefined;
|
|
15
|
+
value?: (string | number | null) | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o,
|
|
1
|
+
import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, openBlock as u, createElementBlock as S, Fragment as _, createTextVNode as P, toDisplayString as T, createBlock as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
|
|
2
2
|
import { Slider as N } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as w, isArray as z, omit as D } from "lodash-unified";
|
|
@@ -57,9 +57,9 @@ const I = /* @__PURE__ */ x({
|
|
|
57
57
|
return p({
|
|
58
58
|
focus: v,
|
|
59
59
|
blur: y
|
|
60
|
-
}), (e, t) => e.mode === "read" ? (u(), S(
|
|
61
|
-
T(
|
|
62
|
-
], 64)) : (u(),
|
|
60
|
+
}), (e, t) => e.mode === "read" ? (u(), S(_, { key: 0 }, [
|
|
61
|
+
P(T(c.value), 1)
|
|
62
|
+
], 64)) : (u(), V(o(N), b(
|
|
63
63
|
{ key: 1 },
|
|
64
64
|
o(D)(a, [
|
|
65
65
|
"value",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f,
|
|
1
|
+
import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, openBlock as h, createBlock as k, resolveDynamicComponent as E, createElementBlock as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
|
|
2
2
|
import { Switch as A, Popconfirm as L } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as M, isFunction as R, omit as P } from "lodash-unified";
|
|
@@ -86,9 +86,9 @@ const O = /* @__PURE__ */ z({
|
|
|
86
86
|
const n = o(d);
|
|
87
87
|
return M(n) ? s(f, null, [e.emptyText]) : n === e.checkedValue ? s(f, null, [e.checkedChildren || ((i = c.checkedChildren) == null ? void 0 : i.call(c)) || `${e.checkedValue}`]) : s(f, null, [e.unCheckedChildren || ((t = c.unCheckedChildren) == null ? void 0 : t.call(c)) || `${e.unCheckedValue}`]);
|
|
88
88
|
}), U = g(() => r(e.confirm) ? R(e.confirm) ? e.confirm(o(d)) : e.confirm : {});
|
|
89
|
-
return (n, u) => n.mode === "read" ? (h(), k(
|
|
89
|
+
return (n, u) => n.mode === "read" ? (h(), k(E($.value), {
|
|
90
90
|
key: 0
|
|
91
|
-
})) : (h(),
|
|
91
|
+
})) : (h(), K(f, {
|
|
92
92
|
key: 1
|
|
93
93
|
}, [!o(r)(n.confirm) || n.disabled ? (h(), k(o(A), p({
|
|
94
94
|
key: 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j,
|
|
1
|
+
import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j, openBlock as U, createBlock as z, resolveDynamicComponent as F } from "vue";
|
|
2
2
|
import { Input as M } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as N } from "lodash-unified";
|
|
@@ -137,7 +137,7 @@ const G = /* @__PURE__ */ V({
|
|
|
137
137
|
var e;
|
|
138
138
|
return (e = u.value) == null ? void 0 : e.input;
|
|
139
139
|
})
|
|
140
|
-
}), (e, n) => (
|
|
140
|
+
}), (e, n) => (U(), z(F(S())));
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P,
|
|
1
|
+
import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
|
|
2
2
|
import { Input as S, Space as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as I } from "lodash-unified";
|
|
@@ -150,7 +150,7 @@ const G = /* @__PURE__ */ h({
|
|
|
150
150
|
var e;
|
|
151
151
|
(e = u.value) == null || e.blur();
|
|
152
152
|
}
|
|
153
|
-
}), (e, n) => (
|
|
153
|
+
}), (e, n) => (U(), V(_(B())));
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as I, computed as A,
|
|
1
|
+
import { defineComponent as h, ref as I, computed as A, openBlock as d, createElementBlock as C, normalizeClass as g, unref as t, toDisplayString as z, createBlock as T, mergeProps as k } from "vue";
|
|
2
2
|
import { isNil as w, omit as R } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -82,8 +82,8 @@ const O = /* @__PURE__ */ h({
|
|
|
82
82
|
})
|
|
83
83
|
}), (e, a) => e.mode === "read" ? (d(), C("span", {
|
|
84
84
|
key: 0,
|
|
85
|
-
class:
|
|
86
|
-
},
|
|
85
|
+
class: g(t(v)())
|
|
86
|
+
}, z(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), T(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
|
|
87
87
|
ref_key: "textAreaRef",
|
|
88
88
|
ref: l,
|
|
89
89
|
placeholder: t(B),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode as _, defineComponent as E, useSlots as K, ref as U, computed as z, unref as n, createVNode as d, Fragment as B,
|
|
1
|
+
import { isVNode as _, defineComponent as E, useSlots as K, ref as U, computed as z, unref as n, createVNode as d, Fragment as B, openBlock as w, createBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
|
|
2
2
|
import { Space as G, Tag as J, TreeSelect as Q, Spin as X } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isArray as Y, omit as Z } from "lodash-unified";
|
|
@@ -221,9 +221,9 @@ const ie = /* @__PURE__ */ E({
|
|
|
221
221
|
request: h,
|
|
222
222
|
focus: P,
|
|
223
223
|
blur: A
|
|
224
|
-
}), (e, t) => e.mode === "read" ? (
|
|
224
|
+
}), (e, t) => e.mode === "read" ? (w(), C(M(I.value), {
|
|
225
225
|
key: 0
|
|
226
|
-
})) : (
|
|
226
|
+
})) : (w(), C(n(Q), j({
|
|
227
227
|
key: 1
|
|
228
228
|
}, n(Z)(a, ["onUpdate:value", "value", "treeData", "loadData"]), {
|
|
229
229
|
ref_key: "treeSelectRef",
|
|
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
checkable?: boolean | undefined;
|
|
10
10
|
disableCheckbox?: boolean | undefined;
|
|
11
|
-
children?:
|
|
11
|
+
children?: any[] | undefined;
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
value?: RawValueType | undefined;
|
|
15
15
|
title?: any;
|
|
16
16
|
label?: any;
|
|
17
17
|
key?: Key | undefined;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
checkable?: boolean | undefined;
|
|
21
21
|
disableCheckbox?: boolean | undefined;
|
|
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
checkable?: boolean | undefined;
|
|
26
26
|
disableCheckbox?: boolean | undefined;
|
|
27
|
-
children?:
|
|
27
|
+
children?: any[] | undefined;
|
|
28
28
|
} | {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
value?: RawValueType | undefined;
|
|
31
31
|
title?: any;
|
|
32
32
|
label?: any;
|
|
33
33
|
key?: Key | undefined;
|
|
34
|
-
children?:
|
|
34
|
+
children?: any[] | undefined;
|
|
35
35
|
disabled?: boolean | undefined;
|
|
36
36
|
checkable?: boolean | undefined;
|
|
37
37
|
disableCheckbox?: boolean | undefined;
|