@aplus-frontend/ui 6.17.0 → 6.17.2
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-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- 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 +10 -10
- 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 +19 -19
- package/es/src/ap-grid/utils/table.mjs +59 -41
- 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/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-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 +6 -6
- 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 +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +105 -104
- package/es/src/business/ap-draggable-grid/constans.d.ts +4 -0
- package/es/src/business/ap-draggable-grid/constans.mjs +4 -0
- package/es/src/business/ap-draggable-grid/index.d.ts +16 -1
- 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 +7 -7
- 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 +5 -17
- 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/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 +5 -5
- 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/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 +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-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-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-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.d.ts +4 -0
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +16 -1
- 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 +5 -17
- 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/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 +3 -3
- package/theme/antd-global-overwrite/admin/alert.css +37 -0
- package/theme/antd-global-overwrite/admin/alert.less +51 -0
- package/theme/antd-global-overwrite/admin/button.css +27 -0
- package/theme/antd-global-overwrite/admin/button.less +31 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/form.css +57 -0
- package/theme/antd-global-overwrite/admin/form.less +97 -0
- package/theme/antd-global-overwrite/admin/message.css +10 -0
- package/theme/antd-global-overwrite/admin/message.less +13 -0
- package/theme/antd-global-overwrite/admin/modal.css +94 -0
- package/theme/antd-global-overwrite/admin/modal.less +128 -0
- package/theme/antd-global-overwrite/admin/pagination.css +122 -0
- package/theme/antd-global-overwrite/admin/pagination.less +91 -0
- package/theme/antd-global-overwrite/admin/steps.css +127 -0
- package/theme/antd-global-overwrite/admin/steps.less +197 -0
- package/theme/antd-global-overwrite/admin/table.css +78 -0
- package/theme/antd-global-overwrite/admin/table.less +62 -0
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +40 -0
- package/theme/antd-global-overwrite/aplus/alert.less +55 -0
- package/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/theme/antd-global-overwrite/aplus/button.less +31 -0
- package/theme/antd-global-overwrite/aplus/field.css +42 -0
- package/theme/antd-global-overwrite/aplus/field.less +43 -0
- package/theme/antd-global-overwrite/aplus/form.css +87 -0
- package/theme/antd-global-overwrite/aplus/form.less +133 -0
- package/theme/antd-global-overwrite/aplus/message.css +10 -0
- package/theme/antd-global-overwrite/aplus/message.less +13 -0
- package/theme/antd-global-overwrite/aplus/modal.css +87 -0
- package/theme/antd-global-overwrite/aplus/modal.less +120 -0
- package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
- package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
- package/theme/antd-global-overwrite/aplus/steps.css +125 -0
- package/theme/antd-global-overwrite/aplus/steps.less +198 -0
- package/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/theme/antd-global-overwrite/aplus/table.less +61 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -2
- package/theme/ap-draggable-grid/ap-draggable-grid.less +6 -2
- package/theme/ap-table/ap-table-pagination.css +12 -0
- package/theme/ap-table/ap-table-pagination.less +14 -0
- package/theme/index.css +4 -2
- package/theme/ui-mode.css +60 -0
- package/theme/ui-mode.less +109 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j,
|
|
1
|
+
import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, openBlock as c, createElementBlock as C, normalizeStyle as D, normalizeClass as z, withModifiers as M, createBlock as f, renderSlot as O, resolveDynamicComponent as S, createCommentVNode as g, createElementVNode as U } from "vue";
|
|
2
2
|
import { Skeleton as q } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import "../hooks/index.mjs";
|
|
@@ -115,9 +115,9 @@ const K = ["src"], oe = /* @__PURE__ */ I({
|
|
|
115
115
|
return (b = (u = l.value) == null ? void 0 : u.cancelValue) == null ? void 0 : b.call(u, a.value);
|
|
116
116
|
});
|
|
117
117
|
}), (e, t) => (c(), C("div", {
|
|
118
|
-
style:
|
|
118
|
+
style: D(T.value),
|
|
119
119
|
class: z(w.value),
|
|
120
|
-
onClick:
|
|
120
|
+
onClick: M(F, ["stop"])
|
|
121
121
|
}, [n.value.loading ? (c(), f(o(q), {
|
|
122
122
|
key: 0,
|
|
123
123
|
active: ""
|
|
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
|
2
2
|
export declare const defaultNamespace = "aplus";
|
|
3
3
|
export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
|
|
4
4
|
export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
|
|
5
|
-
export declare const useNamespace: (
|
|
6
|
-
/**
|
|
7
|
-
* 块 一般是指组件名
|
|
8
|
-
*/
|
|
9
|
-
block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
5
|
+
export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
|
|
10
6
|
namespace: ComputedRef<string>;
|
|
11
7
|
b: (blockSuffix?: string) => string;
|
|
12
8
|
e: (element?: string) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
5
5
|
expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
|
|
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
36
36
|
}) => void;
|
|
37
37
|
};
|
|
38
38
|
emit: {};
|
|
39
|
-
}>) => VNode
|
|
39
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}> & {
|
|
40
42
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
41
43
|
};
|
|
42
44
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, ref as c, unref as n, useSlots as O, toRef as G, watch as H, nextTick as U,
|
|
1
|
+
import { defineComponent as A, ref as c, unref as n, useSlots as O, toRef as G, watch as H, nextTick as U, openBlock as W, createBlock as $, mergeProps as h, withCtx as w, createVNode as q, createSlots as J, renderList as Q, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
|
|
2
2
|
import { Table as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ApForm as x } from "../ap-form/index.mjs";
|
|
4
4
|
import { isUndefined as M, isNumber as i, cloneDeep as ee, isArray as oe, omit as g } from "lodash-unified";
|
|
@@ -207,7 +207,7 @@ const be = /* @__PURE__ */ A({
|
|
|
207
207
|
setTableData: z,
|
|
208
208
|
clear: P,
|
|
209
209
|
removeByKey: E
|
|
210
|
-
}), (e, a) => (
|
|
210
|
+
}), (e, a) => (W(), $(n(x).FormItem, h(e.formItem, {
|
|
211
211
|
name: e.name,
|
|
212
212
|
label: e.label
|
|
213
213
|
}), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
39
39
|
}) => void;
|
|
40
40
|
};
|
|
41
41
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
42
|
-
}>) => VNode
|
|
42
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}> & {
|
|
43
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
46
|
};
|
|
45
47
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as J, ref as y, watch as C, unref as r,
|
|
1
|
+
import { defineComponent as q, useSlots as J, ref as y, watch as C, unref as r, openBlock as Q, createBlock as X, withCtx as h, createVNode as b, mergeProps as Y, createSlots as Z, renderList as M, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
|
|
2
2
|
import { Table as ne } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ApForm as x } from "../ap-form/index.mjs";
|
|
4
4
|
import { isEqual as oe, isArray as v, isUndefined as le, isNumber as g, cloneDeep as ue, omit as R } from "lodash-unified";
|
|
@@ -230,7 +230,7 @@ const Fe = /* @__PURE__ */ q({
|
|
|
230
230
|
clear: $,
|
|
231
231
|
setTableData: U,
|
|
232
232
|
removeByKey: j
|
|
233
|
-
}), (e, t) => (
|
|
233
|
+
}), (e, t) => (Q(), X(r(x), {
|
|
234
234
|
ref_key: "formRef",
|
|
235
235
|
ref: i,
|
|
236
236
|
"initial-values": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as R, ref as i, watch as E, unref as a, computed as n,
|
|
1
|
+
import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, openBlock as d, createBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
|
|
2
2
|
import "../hooks/index.mjs";
|
|
3
3
|
import "../portal/index.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -44,12 +44,12 @@ const H = /* @__PURE__ */ R({
|
|
|
44
44
|
enter: r,
|
|
45
45
|
exit: s,
|
|
46
46
|
toggle: c
|
|
47
|
-
}), (e, o) => (
|
|
47
|
+
}), (e, o) => (d(), m(a(B), {
|
|
48
48
|
to: e.to,
|
|
49
49
|
disabled: l.value !== "window"
|
|
50
50
|
}, {
|
|
51
51
|
default: v(() => [
|
|
52
|
-
(
|
|
52
|
+
(d(), m(z(e.wrapperElementName), C({
|
|
53
53
|
ref_key: "target",
|
|
54
54
|
ref: f
|
|
55
55
|
}, e.$attrs, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isClient as d } from "@vueuse/core";
|
|
2
|
-
import {
|
|
2
|
+
import { computed as c, unref as u, isRef as v, ref as f, watch as p } from "vue";
|
|
3
3
|
const a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new Set();
|
|
4
4
|
d && document.addEventListener("fullscreenchange", () => {
|
|
5
5
|
if (o.forEach((e) => e.value = !1), document.fullscreenElement) {
|
|
@@ -9,13 +9,13 @@ d && document.addEventListener("fullscreenchange", () => {
|
|
|
9
9
|
e && (e.value = !0);
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
const E = (e =
|
|
13
|
-
const i =
|
|
12
|
+
const E = (e = f(null)) => {
|
|
13
|
+
const i = c({
|
|
14
14
|
get: () => u(e),
|
|
15
15
|
set: (t) => {
|
|
16
16
|
v(e) && (e.value = t);
|
|
17
17
|
}
|
|
18
|
-
}), l =
|
|
18
|
+
}), l = f(!1);
|
|
19
19
|
o.add(l), p(
|
|
20
20
|
() => e.value,
|
|
21
21
|
(t, n) => {
|
|
@@ -40,7 +40,7 @@ const E = (e = c(null)) => {
|
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
42
|
target: i,
|
|
43
|
-
full:
|
|
43
|
+
full: c(() => u(l)),
|
|
44
44
|
enter: r,
|
|
45
45
|
exit: s,
|
|
46
46
|
toggle: m
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, ref as m, watch as v, watchEffect as _, onMounted as g, onUnmounted as O,
|
|
1
|
+
import { defineComponent as V, ref as m, watch as v, watchEffect as _, onMounted as g, onUnmounted as O, openBlock as y, createBlock as x, Teleport as P, createElementVNode as r, normalizeClass as d, unref as o, normalizeStyle as k, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B, createCommentVNode as i } from "vue";
|
|
2
2
|
import "../hooks/index.mjs";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
|
|
@@ -69,10 +69,10 @@ const J = /* @__PURE__ */ V({
|
|
|
69
69
|
key: 0,
|
|
70
70
|
to: "body"
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
r("div", {
|
|
73
73
|
ref_key: "wrapper",
|
|
74
74
|
ref: p,
|
|
75
|
-
class:
|
|
75
|
+
class: d(o(z)()),
|
|
76
76
|
style: k({ zIndex: o(N), visibility: l.value ? void 0 : "hidden" })
|
|
77
77
|
}, [
|
|
78
78
|
C(b, {
|
|
@@ -83,19 +83,19 @@ const J = /* @__PURE__ */ V({
|
|
|
83
83
|
default: h(() => [
|
|
84
84
|
o(a) ? (y(), T("div", {
|
|
85
85
|
key: 0,
|
|
86
|
-
class:
|
|
86
|
+
class: d([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
|
|
87
87
|
onClick: M
|
|
88
88
|
}, [
|
|
89
89
|
B(e.$slots, "mask", {}, () => [
|
|
90
|
-
|
|
91
|
-
class:
|
|
90
|
+
r("div", {
|
|
91
|
+
class: d(o(u)("mask-inner"))
|
|
92
92
|
}, null, 2)
|
|
93
93
|
])
|
|
94
|
-
], 2)) :
|
|
94
|
+
], 2)) : i("", !0)
|
|
95
95
|
]),
|
|
96
96
|
_: 3
|
|
97
97
|
}, 8, ["name"]),
|
|
98
|
-
|
|
98
|
+
r("div", {
|
|
99
99
|
style: k(e.contentStyle)
|
|
100
100
|
}, [
|
|
101
101
|
C(b, {
|
|
@@ -103,13 +103,13 @@ const J = /* @__PURE__ */ V({
|
|
|
103
103
|
name: o(c)()
|
|
104
104
|
}, {
|
|
105
105
|
default: h(() => [
|
|
106
|
-
o(a) ? B(e.$slots, "default", { key: 0 }) :
|
|
106
|
+
o(a) ? B(e.$slots, "default", { key: 0 }) : i("", !0)
|
|
107
107
|
]),
|
|
108
108
|
_: 3
|
|
109
109
|
}, 8, ["name"])
|
|
110
110
|
], 4)
|
|
111
111
|
], 6)
|
|
112
|
-
])) :
|
|
112
|
+
])) : i("", !0);
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r,
|
|
1
|
+
import { defineComponent as r, openBlock as n, createBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
|
|
2
2
|
const m = /* @__PURE__ */ r({
|
|
3
3
|
name: "Portal",
|
|
4
4
|
__name: "index",
|
|
@@ -9,7 +9,7 @@ const m = /* @__PURE__ */ r({
|
|
|
9
9
|
},
|
|
10
10
|
setup(o) {
|
|
11
11
|
const t = o;
|
|
12
|
-
return (e, d) => (
|
|
12
|
+
return (e, d) => (n(), p(a, l(t, {
|
|
13
13
|
to: e.to || "body"
|
|
14
14
|
}), [
|
|
15
15
|
s(e.$slots, "default")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s,
|
|
1
|
+
import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, openBlock as k, createBlock as C, mergeProps as B, createCommentVNode as L } from "vue";
|
|
2
2
|
import "./internal.vue2.mjs";
|
|
3
3
|
import { omit as R } from "lodash-unified";
|
|
4
4
|
import { getScrollable as u, ensureRangeValue as w } from "./utils/index.mjs";
|
|
@@ -79,14 +79,14 @@ const W = /* @__PURE__ */ z({
|
|
|
79
79
|
var e;
|
|
80
80
|
return a((e = l.value) == null ? void 0 : e.container);
|
|
81
81
|
})
|
|
82
|
-
}), (e, t) => n.value !== 100 ? (
|
|
82
|
+
}), (e, t) => n.value !== 100 ? (k(), C(E, B({
|
|
83
83
|
key: 0,
|
|
84
84
|
ref_key: "barRef",
|
|
85
85
|
ref: l
|
|
86
86
|
}, a(R)(r, ["onScroll", "extraSize", "scrollContainer"]), {
|
|
87
87
|
"bar-length": n.value,
|
|
88
88
|
onScroll: d
|
|
89
|
-
}), null, 16, ["bar-length"])) :
|
|
89
|
+
}), null, 16, ["bar-length"])) : L("", !0);
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o,
|
|
1
|
+
import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, openBlock as A, createElementBlock as N, normalizeClass as m, normalizeStyle as U, createElementVNode as L } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { useTrack as X } from "./hooks/use-track.mjs";
|
|
4
4
|
import { ensureRangeValue as C } from "./utils/index.mjs";
|
|
@@ -88,7 +88,7 @@ const I = /* @__PURE__ */ V({
|
|
|
88
88
|
bar: l,
|
|
89
89
|
track: c,
|
|
90
90
|
scroll: $
|
|
91
|
-
}), (e, n) => (
|
|
91
|
+
}), (e, n) => (A(), N("div", {
|
|
92
92
|
ref_key: "container",
|
|
93
93
|
ref: k,
|
|
94
94
|
class: m([o(B)(), o(P)(e.direction)]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: ColorType;
|
|
110
|
+
trackColor?: ColorType;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: ColorType;
|
|
122
|
+
trackColor?: ColorType;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe,
|
|
1
|
+
import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, openBlock as P, createElementBlock as ye, normalizeClass as B, normalizeStyle as M, withModifiers as A, createElementVNode as z, renderSlot as me, createBlock as L, mergeProps as O, createCommentVNode as T } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import "../scroll-bar/index.mjs";
|
|
4
4
|
import { isDef as f } from "../utils/index.mjs";
|
|
@@ -206,10 +206,10 @@ const Ye = /* @__PURE__ */ fe({
|
|
|
206
206
|
ref_key: "containerRef",
|
|
207
207
|
ref: s,
|
|
208
208
|
class: B(l(J)()),
|
|
209
|
-
style:
|
|
209
|
+
style: M(oe.value),
|
|
210
210
|
onWheel: [
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
A(ae, ["exact"]),
|
|
212
|
+
A(le, ["shift"])
|
|
213
213
|
]
|
|
214
214
|
}, [
|
|
215
215
|
z("div", {
|
|
@@ -221,21 +221,21 @@ const Ye = /* @__PURE__ */ fe({
|
|
|
221
221
|
], 2),
|
|
222
222
|
z("div", {
|
|
223
223
|
class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "vertical")]),
|
|
224
|
-
style:
|
|
224
|
+
style: M(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
|
|
225
225
|
}, [
|
|
226
|
-
x.value ? (P(), L(l(H),
|
|
226
|
+
x.value ? (P(), L(l(H), O({
|
|
227
227
|
key: 0,
|
|
228
228
|
ref_key: "yBarRef",
|
|
229
229
|
ref: Q
|
|
230
230
|
}, t.yBarProps, {
|
|
231
231
|
"bar-length": c.y,
|
|
232
232
|
onScroll: e[0] || (e[0] = (a) => X(a, "vertical"))
|
|
233
|
-
}), null, 16, ["bar-length"])) :
|
|
233
|
+
}), null, 16, ["bar-length"])) : T("", !0)
|
|
234
234
|
], 6),
|
|
235
235
|
z("div", {
|
|
236
236
|
class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "horizontal")])
|
|
237
237
|
}, [
|
|
238
|
-
m.value ? (P(), L(l(H),
|
|
238
|
+
m.value ? (P(), L(l(H), O({
|
|
239
239
|
key: 0,
|
|
240
240
|
ref_key: "xBarRef",
|
|
241
241
|
ref: K
|
|
@@ -243,7 +243,7 @@ const Ye = /* @__PURE__ */ fe({
|
|
|
243
243
|
direction: "horizontal",
|
|
244
244
|
"bar-length": c.x,
|
|
245
245
|
onScroll: e[1] || (e[1] = (a) => X(a, "horizontal"))
|
|
246
|
-
}), null, 16, ["bar-length"])) :
|
|
246
|
+
}), null, 16, ["bar-length"])) : T("", !0)
|
|
247
247
|
], 2)
|
|
248
248
|
], 38));
|
|
249
249
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as r,
|
|
1
|
+
import { defineComponent as n, computed as r, openBlock as i, createElementBlock as p, normalizeClass as m, unref as s, normalizeStyle as c, renderSlot as u } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as d } from "../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const B = /* @__PURE__ */ n({
|
|
@@ -23,9 +23,9 @@ const B = /* @__PURE__ */ n({
|
|
|
23
23
|
flexGrow: e ? 0 : 1
|
|
24
24
|
};
|
|
25
25
|
});
|
|
26
|
-
return (e, f) => (
|
|
27
|
-
class:
|
|
28
|
-
style:
|
|
26
|
+
return (e, f) => (i(), p("div", {
|
|
27
|
+
class: m([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
|
|
28
|
+
style: c(o.value)
|
|
29
29
|
}, [
|
|
30
30
|
u(e.$slots, "default")
|
|
31
31
|
], 6));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as U, ref as z, computed as w, unref as t, watchEffect as V,
|
|
1
|
+
import { defineComponent as U, ref as z, computed as w, unref as t, watchEffect as V, openBlock as h, createElementBlock as y, normalizeClass as s, normalizeStyle as T, createCommentVNode as O, createElementVNode as F, createVNode as C } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
3
|
import { UpOutlined as A, LeftOutlined as D, DownOutlined as I, RightOutlined as R } from "@ant-design/icons-vue";
|
|
4
4
|
import { useNamespace as $ } from "../config-provider/hooks/use-namespace.mjs";
|
|
@@ -84,19 +84,19 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
|
|
|
84
84
|
), P = w(
|
|
85
85
|
() => e.vertical ? I : R
|
|
86
86
|
);
|
|
87
|
-
return (o, a) => (
|
|
87
|
+
return (o, a) => (h(), y("div", {
|
|
88
88
|
class: s(t(n)()),
|
|
89
89
|
role: "separator",
|
|
90
90
|
"aria-valuenow": g(e.ariaNow),
|
|
91
91
|
"aria-valuemin": g(e.ariaMin),
|
|
92
92
|
"aria-valuemax": g(e.ariaMax)
|
|
93
93
|
}, [
|
|
94
|
-
e.lazy ? (
|
|
94
|
+
e.lazy ? (h(), y("div", {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: s([t(n)("preview"), { [t(n)("preview-active")]: !!l.value }]),
|
|
97
|
-
style:
|
|
97
|
+
style: T(t(L)({ "preview-offset": `${l.value}px` }))
|
|
98
98
|
}, null, 6)) : O("", !0),
|
|
99
|
-
|
|
99
|
+
F("div", {
|
|
100
100
|
class: s([
|
|
101
101
|
t(n)("dragger"),
|
|
102
102
|
{ [t(n)("dragger-disabled")]: !o.resizable, [t(n)("dragger-active")]: o.active }
|
|
@@ -104,7 +104,7 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
|
|
|
104
104
|
onMousedown: B,
|
|
105
105
|
onTouchstart: k
|
|
106
106
|
}, null, 34),
|
|
107
|
-
o.startCollapsible ? (
|
|
107
|
+
o.startCollapsible ? (h(), y("div", {
|
|
108
108
|
key: 1,
|
|
109
109
|
class: s([t(n)("collapse-bar"), t(n)("collapse-bar-start")]),
|
|
110
110
|
onClick: a[0] || (a[0] = () => o.onCollapse(o.index, "start"))
|
|
@@ -113,7 +113,7 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
|
|
|
113
113
|
class: s([t(n)("collapse-icon"), t(n)("collapse-start")])
|
|
114
114
|
}, null, 8, ["class"])
|
|
115
115
|
], 2)) : O("", !0),
|
|
116
|
-
o.endCollapsible ? (
|
|
116
|
+
o.endCollapsible ? (h(), y("div", {
|
|
117
117
|
key: 2,
|
|
118
118
|
class: s([t(n)("collapse-bar"), t(n)("collapse-bar-end")]),
|
|
119
119
|
onClick: a[1] || (a[1] = () => o.onCollapse(o.index, "end"))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, ref as q, unref as n, computed as _,
|
|
1
|
+
import { defineComponent as j, ref as q, unref as n, computed as _, openBlock as i, createBlock as y, withCtx as g, createElementVNode as G, normalizeStyle as J, normalizeClass as b, createElementBlock as u, Fragment as d, renderList as h, createVNode as K, mergeProps as Q, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
|
|
2
2
|
import { useItems as X } from "./hooks/useItems.mjs";
|
|
3
3
|
import "../resize-observer/index.mjs";
|
|
4
4
|
import { useSizes as Y } from "./hooks/useSizes.mjs";
|
|
@@ -79,12 +79,12 @@ const Ce = /* @__PURE__ */ j({
|
|
|
79
79
|
style: J(e.style),
|
|
80
80
|
class: b(H.value)
|
|
81
81
|
}, [
|
|
82
|
-
(i(!0), u(d, null,
|
|
82
|
+
(i(!0), u(d, null, h(n(l), (s, t) => (i(), u(d, { key: t }, [
|
|
83
83
|
K(ne, Q({ ref_for: !0 }, n(ee)(s, "_child"), {
|
|
84
84
|
size: n(I)[t]
|
|
85
85
|
}), {
|
|
86
86
|
default: g(() => [
|
|
87
|
-
(i(!0), u(d, null,
|
|
87
|
+
(i(!0), u(d, null, h(s._child, (r, S) => (i(), y(T(r), { key: S }))), 128))
|
|
88
88
|
]),
|
|
89
89
|
_: 2
|
|
90
90
|
}, 1040, ["size"]),
|
|
@@ -114,13 +114,13 @@ const Ce = /* @__PURE__ */ j({
|
|
|
114
114
|
},
|
|
115
115
|
onOffsetEnd: D,
|
|
116
116
|
onCollapse: F
|
|
117
|
-
}, null, 8, ["lazy", "index", "active", "vertical", "resizable", "aria-now", "aria-min", "aria-max", "start-collapsible", "end-collapsible", "container-size", "onOffsetUpdate"])) :
|
|
117
|
+
}, null, 8, ["lazy", "index", "active", "vertical", "resizable", "aria-now", "aria-min", "aria-max", "start-collapsible", "end-collapsible", "container-size", "onOffsetUpdate"])) : k("", !0)
|
|
118
118
|
], 64))), 128)),
|
|
119
119
|
typeof n(C) == "number" ? (i(), u("div", {
|
|
120
120
|
key: 0,
|
|
121
121
|
"aria-hidden": "",
|
|
122
122
|
class: b([n(f)("mask"), n(f)(`mask-${e.layout}`)])
|
|
123
|
-
}, null, 2)) :
|
|
123
|
+
}, null, 2)) : k("", !0)
|
|
124
124
|
], 6)
|
|
125
125
|
]),
|
|
126
126
|
_: 1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
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?: "admin" | "aplus" | undefined;
|
|
7
|
-
lang?: "en" | "zh-cn" | undefined;
|
|
6
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
7
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, toRef as t,
|
|
1
|
+
import { defineComponent as p, toRef as t, openBlock as n, createBlock as c, unref as o, mergeProps as s, withCtx as f, renderSlot as u } from "vue";
|
|
2
2
|
import { useProvideApTextGroup as m } from "./context.mjs";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import { Space as d } from "@aplus-frontend/antdv";
|
|
@@ -23,7 +23,7 @@ const z = /* @__PURE__ */ p({
|
|
|
23
23
|
colon: t(e.colon),
|
|
24
24
|
vertical: t(e.vertical),
|
|
25
25
|
labelStyle: t(e.labelStyle)
|
|
26
|
-
}), (l, b) => (
|
|
26
|
+
}), (l, b) => (n(), c(o(d), s({
|
|
27
27
|
class: [o(r)(), l.direction === "horizontal" ? o(i)("horizontal") : null]
|
|
28
28
|
}, o(v)(e, ["colon", "vertical", "labelStyle"])), {
|
|
29
29
|
default: f(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as L, useSlots as O, computed as n, unref as o,
|
|
1
|
+
import { defineComponent as L, useSlots as O, computed as n, unref as o, isVNode as $, createVNode as z, Fragment as D, openBlock as t, createElementBlock as d, normalizeClass as s, normalizeStyle as x, createBlock as u, resolveDynamicComponent as E, createCommentVNode as v, createElementVNode as U, mergeProps as C, withCtx as m, renderSlot as i, createSlots as w, createTextVNode as F, toDisplayString as G, renderList as I, normalizeProps as R, guardReactiveProps as _ } from "vue";
|
|
2
2
|
import { TypographyLink as q, TypographyText as H } from "@aplus-frontend/antdv";
|
|
3
|
-
import { isUndefined as p,
|
|
3
|
+
import { isUndefined as p, isString as J, omit as f } from "lodash-unified";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
5
5
|
import { useInjectApTextGroup as K } from "./context.mjs";
|
|
6
6
|
import { isDef as M } from "../utils/index.mjs";
|
|
@@ -80,7 +80,7 @@ const ae = /* @__PURE__ */ L({
|
|
|
80
80
|
return Object.assign(l, e.labelStyle || {}), l;
|
|
81
81
|
}), k = n(() => {
|
|
82
82
|
if (e.label)
|
|
83
|
-
return
|
|
83
|
+
return $(e.label) ? e.label : z(D, null, [e.label]);
|
|
84
84
|
}), j = n(() => {
|
|
85
85
|
const l = M(e.linkProps.ellipsis) ? e.linkProps.ellipsis : !!e.ellipsis;
|
|
86
86
|
return {
|
|
@@ -99,8 +99,8 @@ const ae = /* @__PURE__ */ L({
|
|
|
99
99
|
class: s([o(c)("label"), {
|
|
100
100
|
[o(S)("label", "no-colon")]: !T.value
|
|
101
101
|
}]),
|
|
102
|
-
style:
|
|
103
|
-
}, [(t(), u(
|
|
102
|
+
style: x(h.value)
|
|
103
|
+
}, [(t(), u(E(k.value)))], 6)) : v("", !0), U("div", {
|
|
104
104
|
class: s(o(c)("content"))
|
|
105
105
|
}, [l.link ? (t(), u(o(q), C({
|
|
106
106
|
key: 0
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "6.17.
|
|
1
|
+
declare const _default: "6.17.2";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, openBlock as s, createBlock as a, unref as o, withCtx as r, createElementVNode as t, toDisplayString as i, createVNode as d } from "vue";
|
|
2
2
|
import { QuestionCircleOutlined as p } from "@ant-design/icons-vue";
|
|
3
3
|
import { Tooltip as m } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -7,7 +7,7 @@ const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w =
|
|
|
7
7
|
__name: "help-message",
|
|
8
8
|
setup(x) {
|
|
9
9
|
const { t: l } = f();
|
|
10
|
-
return (v, e) => (
|
|
10
|
+
return (v, e) => (s(), a(o(m), { placement: "right" }, {
|
|
11
11
|
title: r(() => [
|
|
12
12
|
t("div", u, [
|
|
13
13
|
t("div", c, [
|
|
@@ -2,12 +2,13 @@ import { WorkOrderModalProps } from './interfaces';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { Recordable } from '../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
11
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
|
|
13
14
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -112,7 +113,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
112
113
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
113
114
|
readonly initialValues?: Recordable | undefined;
|
|
114
115
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
115
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
116
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
116
117
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
117
118
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
118
119
|
$attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, ref as b, computed as M,
|
|
1
|
+
import { defineComponent as F, ref as b, computed as M, openBlock as L, createElementBlock as N, createVNode as o, unref as e, mergeProps as P, withCtx as p, h as V } from "vue";
|
|
2
2
|
import { message as q, Modal as E, Input as I, Textarea as A } from "@aplus-frontend/antdv";
|
|
3
3
|
import { ApForm as d } from "../ap-form/index.mjs";
|
|
4
4
|
import "./help-message.vue.mjs";
|
|
@@ -87,7 +87,7 @@ const ie = /* @__PURE__ */ F({
|
|
|
87
87
|
}, y = () => {
|
|
88
88
|
T(!1), f.value = !1, m("modalClose");
|
|
89
89
|
};
|
|
90
|
-
return (i, s) => (
|
|
90
|
+
return (i, s) => (L(), N("div", null, [
|
|
91
91
|
o(e(E), P(a, {
|
|
92
92
|
width: 600,
|
|
93
93
|
centered: !0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),i=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
|