@aplus-frontend/ui 6.17.1 → 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-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-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
|
@@ -39,6 +39,10 @@ declare const ApDraggableGrid: {
|
|
|
39
39
|
type: BooleanConstructor;
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
|
+
customWrapper: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
42
46
|
}>> & Readonly<{
|
|
43
47
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
44
48
|
}>, {
|
|
@@ -56,6 +60,7 @@ declare const ApDraggableGrid: {
|
|
|
56
60
|
dragOverlayColor: string;
|
|
57
61
|
dragOverlayBorderColor: string;
|
|
58
62
|
disableDrag: boolean;
|
|
63
|
+
customWrapper: string;
|
|
59
64
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
60
65
|
gridContainer: HTMLDivElement;
|
|
61
66
|
}, any, ComponentProvideOptions, {
|
|
@@ -102,6 +107,10 @@ declare const ApDraggableGrid: {
|
|
|
102
107
|
type: BooleanConstructor;
|
|
103
108
|
default: boolean;
|
|
104
109
|
};
|
|
110
|
+
customWrapper: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
105
114
|
}>> & Readonly<{
|
|
106
115
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
107
116
|
}>, {
|
|
@@ -117,6 +126,7 @@ declare const ApDraggableGrid: {
|
|
|
117
126
|
dragOverlayColor: string;
|
|
118
127
|
dragOverlayBorderColor: string;
|
|
119
128
|
disableDrag: boolean;
|
|
129
|
+
customWrapper: string;
|
|
120
130
|
}>;
|
|
121
131
|
__isFragment?: never;
|
|
122
132
|
__isTeleport?: never;
|
|
@@ -158,6 +168,10 @@ declare const ApDraggableGrid: {
|
|
|
158
168
|
type: BooleanConstructor;
|
|
159
169
|
default: boolean;
|
|
160
170
|
};
|
|
171
|
+
customWrapper: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
161
175
|
}>> & Readonly<{
|
|
162
176
|
onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
|
|
163
177
|
}>, {
|
|
@@ -175,6 +189,7 @@ declare const ApDraggableGrid: {
|
|
|
175
189
|
dragOverlayColor: string;
|
|
176
190
|
dragOverlayBorderColor: string;
|
|
177
191
|
disableDrag: boolean;
|
|
192
|
+
customWrapper: string;
|
|
178
193
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
179
194
|
$slots: {
|
|
180
195
|
item?(_: {
|
|
@@ -184,7 +199,7 @@ declare const ApDraggableGrid: {
|
|
|
184
199
|
span: number;
|
|
185
200
|
row: number;
|
|
186
201
|
col: number;
|
|
187
|
-
height?: number | string | undefined;
|
|
202
|
+
height?: (number | string) | undefined;
|
|
188
203
|
};
|
|
189
204
|
index: number;
|
|
190
205
|
}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApExpandAlertProps } 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: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
25
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
|
-
}>) => VNode
|
|
26
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> & {
|
|
27
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
30
|
};
|
|
29
31
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W,
|
|
1
|
+
import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, openBlock as a, createElementBlock as i, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createBlock as S, createElementVNode as $, toDisplayString as u, createCommentVNode as H, normalizeStyle as y, renderSlot as I, resolveDynamicComponent as L, Fragment as C, renderList as j, createTextVNode as J } from "vue";
|
|
2
2
|
import { DownOutlined as P } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as X } from "../../ap-action/index.mjs";
|
|
@@ -102,14 +102,14 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
102
102
|
class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
|
|
103
103
|
}, {
|
|
104
104
|
action: m(() => [
|
|
105
|
-
h.value ? (a(),
|
|
105
|
+
h.value ? (a(), S(t(X), {
|
|
106
106
|
key: 0,
|
|
107
107
|
size: "small",
|
|
108
108
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
109
109
|
onClick: r[0] || (r[0] = (s) => q())
|
|
110
110
|
}, {
|
|
111
111
|
default: m(() => [
|
|
112
|
-
|
|
112
|
+
$("span", {
|
|
113
113
|
class: n(t(o)("expandText"))
|
|
114
114
|
}, u(F.value), 3),
|
|
115
115
|
b(t(P), {
|
|
@@ -117,21 +117,21 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
117
117
|
}, null, 8, ["class"])
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
|
-
})) :
|
|
120
|
+
})) : H("", !0)
|
|
121
121
|
]),
|
|
122
122
|
message: m(() => [
|
|
123
|
-
|
|
123
|
+
$("div", {
|
|
124
124
|
ref_key: "ellipsisBoxRef",
|
|
125
125
|
ref: d,
|
|
126
126
|
style: y({ ...R.value, ...e.contentStyle }),
|
|
127
127
|
class: n(t(o)("alertContent"))
|
|
128
128
|
}, [
|
|
129
|
-
|
|
129
|
+
I(e.$slots, "default", {}, () => [
|
|
130
130
|
t(E)(e.prefix) ? (a(), i("span", {
|
|
131
131
|
key: 0,
|
|
132
132
|
class: n(t(o)("prefix")),
|
|
133
133
|
style: y(e.prefixStyle)
|
|
134
|
-
}, u(e.prefix), 7)) : (a(),
|
|
134
|
+
}, u(e.prefix), 7)) : (a(), S(L(e.prefix), {
|
|
135
135
|
key: 1,
|
|
136
136
|
style: y(e.prefixStyle)
|
|
137
137
|
}, null, 8, ["style"])),
|
|
@@ -143,11 +143,11 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
143
143
|
title: e.tipTitle ? e.tipTitle : null
|
|
144
144
|
}, {
|
|
145
145
|
default: m(() => [
|
|
146
|
-
|
|
146
|
+
I(e.$slots, "item", {
|
|
147
147
|
record: s,
|
|
148
148
|
index: w
|
|
149
149
|
}, () => [
|
|
150
|
-
|
|
150
|
+
$("span", {
|
|
151
151
|
class: n(t(o)("showItem")),
|
|
152
152
|
onClick: (ae) => e.$emit("choose", s)
|
|
153
153
|
}, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
|
|
@@ -162,8 +162,8 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
|
|
|
162
162
|
}, [
|
|
163
163
|
t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
|
|
164
164
|
J(u(e.separator), 1)
|
|
165
|
-
], 64)) : (a(),
|
|
166
|
-
], 6)) :
|
|
165
|
+
], 64)) : (a(), S(L(e.separator), { key: 1 }))
|
|
166
|
+
], 6)) : H("", !0)
|
|
167
167
|
], 64))), 128))
|
|
168
168
|
])
|
|
169
169
|
], 6)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
|
|
1
|
+
import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
4
|
attrs: any;
|
|
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
20
20
|
props: {
|
|
21
21
|
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
22
|
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
|
-
type?: "warning" | "error" | "success" | "info" | "card" | undefined
|
|
23
|
+
type?: "warning" | "error" | "success" | "info" | "card" | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
26
26
|
tipTitle?: string | undefined;
|
|
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
29
29
|
separatorStyle?: CSSProperties | undefined;
|
|
30
30
|
contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
|
|
31
31
|
prefixStyle?: CSSProperties | undefined;
|
|
32
|
-
rows?: string | number | undefined;
|
|
32
|
+
rows?: (string | number) | undefined;
|
|
33
33
|
defaultExpand?: boolean | undefined;
|
|
34
34
|
showIcon?: boolean | undefined;
|
|
35
35
|
} & PublicProps;
|
|
@@ -51,7 +51,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
53
|
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
|
-
}>) => VNode
|
|
54
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}> & {
|
|
55
57
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
58
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
57
59
|
$props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, ref as M, computed as v, watch as U,
|
|
1
|
+
import { defineComponent as z, ref as M, computed as v, watch as U, openBlock as c, createElementBlock as H, Fragment as J, createBlock as m, unref as o, mergeProps as S, withCtx as u, createTextVNode as h, toDisplayString as E, createCommentVNode as A, normalizeClass as Q, createVNode as F } from "vue";
|
|
2
2
|
import { DownOutlined as W } from "@ant-design/icons-vue";
|
|
3
3
|
import { message as X, Dropdown as Y, Menu as Z, MenuItem as T } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -114,7 +114,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
114
114
|
return (l, a) => {
|
|
115
115
|
var t, i;
|
|
116
116
|
return c(), H(J, null, [
|
|
117
|
-
L.value && e.type === "button" ? (c(), m(o(K),
|
|
117
|
+
L.value && e.type === "button" ? (c(), m(o(K), S({ key: 0 }, {
|
|
118
118
|
...l.$attrs
|
|
119
119
|
}, {
|
|
120
120
|
disabled: f.value,
|
|
@@ -126,7 +126,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
126
126
|
h(E((e == null ? void 0 : e.text) ?? o(n)("ap.apExportGroup.export")), 1)
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
|
-
}, 16, ["disabled", "loading"])) :
|
|
129
|
+
}, 16, ["disabled", "loading"])) : A("", !0),
|
|
130
130
|
L.value && e.type === "dropdown" ? (c(), m(o(Y), {
|
|
131
131
|
key: 1,
|
|
132
132
|
open: w.value,
|
|
@@ -163,7 +163,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
163
163
|
})
|
|
164
164
|
]),
|
|
165
165
|
default: u(() => [
|
|
166
|
-
F(o(K),
|
|
166
|
+
F(o(K), S({
|
|
167
167
|
...l.$attrs
|
|
168
168
|
}, { loading: d.value }), {
|
|
169
169
|
default: u(() => [
|
|
@@ -174,8 +174,8 @@ const Ee = /* @__PURE__ */ z({
|
|
|
174
174
|
}, 16, ["loading"])
|
|
175
175
|
]),
|
|
176
176
|
_: 1
|
|
177
|
-
}, 8, ["open", "class", "disabled"])) :
|
|
178
|
-
L.value && e.type === "group" ? (c(), m(o(le),
|
|
177
|
+
}, 8, ["open", "class", "disabled"])) : A("", !0),
|
|
178
|
+
L.value && e.type === "group" ? (c(), m(o(le), S({ key: 2 }, {
|
|
179
179
|
...l.$attrs
|
|
180
180
|
}, {
|
|
181
181
|
disabled: f.value,
|
|
@@ -186,7 +186,7 @@ const Ee = /* @__PURE__ */ z({
|
|
|
186
186
|
type: ((i = e == null ? void 0 : e.buttonProps) == null ? void 0 : i.type) ?? "default"
|
|
187
187
|
},
|
|
188
188
|
"menu-list": V.value
|
|
189
|
-
}), null, 16, ["disabled", "loading", "button-props", "menu-list"])) :
|
|
189
|
+
}), null, 16, ["disabled", "loading", "button-props", "menu-list"])) : A("", !0)
|
|
190
190
|
], 64);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, computed as c, ref as U, watchEffect as j,
|
|
1
|
+
import { defineComponent as S, computed as c, ref as U, watchEffect as j, openBlock as i, createBlock as p, unref as n, mergeProps as g, withCtx as B, renderSlot as E, normalizeProps as I, guardReactiveProps as L, createElementVNode as b, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
|
|
2
2
|
import { Image as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import { DownloadOutlined as V } from "@ant-design/icons-vue";
|
|
4
4
|
import { injectLocaleToOss as W, getOssInstance as G, getSignatureUrl as $ } from "./hooks/useOss.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, onMounted as R,
|
|
1
|
+
import { defineComponent as g, onMounted as R, openBlock as V, createElementBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
|
|
4
4
|
import { omit as _ } from "lodash-unified";
|
|
@@ -52,7 +52,7 @@ const S = /* @__PURE__ */ g({
|
|
|
52
52
|
}
|
|
53
53
|
}), (o, a) => {
|
|
54
54
|
var l, r;
|
|
55
|
-
return
|
|
55
|
+
return V(), h("div", {
|
|
56
56
|
class: b([t(m)()])
|
|
57
57
|
}, [
|
|
58
58
|
i(t(k), I({
|
|
@@ -3,17 +3,17 @@ import I from "./keeper/index.mjs";
|
|
|
3
3
|
import { matches as D, getAliveKey as T, isNoValue as W, getVNodeObjByVNodeChild as b, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
|
|
4
4
|
import { catchWrapper as B, measureWrapper as A } from "@aplus-frontend/utils";
|
|
5
5
|
import { LruCacher as C } from "./cacher/lru-cacher.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { ApKeepAliveProps as R, forceStopTags as _ } from "./interface.mjs";
|
|
7
7
|
import { throttle as S } from "lodash-unified";
|
|
8
8
|
import { useApKeepAliveProvide as $ } from "./hook.mjs";
|
|
9
9
|
const c = console, a = "|", te = j({
|
|
10
10
|
name: "ApKeepAlive",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
|
-
props:
|
|
12
|
+
props: R(),
|
|
13
13
|
setup(o, { slots: h }) {
|
|
14
14
|
const g = M(), v = (e) => !(o.include && (!e || !D(o.include, e)) || o.exclude && e && D(o.exclude, e)), d = o.store || new C(o.max), u = E("");
|
|
15
15
|
let m = "";
|
|
16
|
-
const k = /* @__PURE__ */ new Set([...
|
|
16
|
+
const k = /* @__PURE__ */ new Set([..._, ...o.stopTags]), p = (e, n = "") => {
|
|
17
17
|
var f;
|
|
18
18
|
const t = [];
|
|
19
19
|
if (!e) return t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
|
|
2
|
-
import { convertValue as n,
|
|
2
|
+
import { convertValue as n, isVNodeOrFunction as p, renderValue as d } from "../utils.mjs";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const f = /* @__PURE__ */ c({
|
|
@@ -38,7 +38,7 @@ const f = /* @__PURE__ */ c({
|
|
|
38
38
|
title: String(n(l.value, {
|
|
39
39
|
...l
|
|
40
40
|
}))
|
|
41
|
-
}, [
|
|
41
|
+
}, [p(l.value) ? d(l.value) : l.link ? e("a", {
|
|
42
42
|
href: l.link,
|
|
43
43
|
target: "_blank",
|
|
44
44
|
class: a("value-group-link"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w,
|
|
1
|
+
import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w, openBlock as a, createElementBlock as n, normalizeClass as h, unref as l, createVNode as B, withCtx as N, Fragment as z, renderList as F, normalizeStyle as L, createBlock as x, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { Flex as D } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
41
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
42
44
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
45
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
44
46
|
$props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } 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: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
22
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}> & {
|
|
23
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
26
|
};
|
|
25
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as M, onMounted as O,
|
|
1
|
+
import { defineComponent as I, ref as d, computed as M, onMounted as O, openBlock as p, createElementBlock as m, normalizeClass as a, unref as t, createVNode as u, Transition as W, withCtx as v, withDirectives as g, createElementVNode as s, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -42,7 +42,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
42
42
|
});
|
|
43
43
|
}), (n, e) => {
|
|
44
44
|
var r;
|
|
45
|
-
return
|
|
45
|
+
return p(), m("div", {
|
|
46
46
|
class: a(t(h)())
|
|
47
47
|
}, [
|
|
48
48
|
u(W, {
|
|
@@ -90,7 +90,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
90
90
|
s("div", {
|
|
91
91
|
class: a(t(i)("side", "body", "scroll"))
|
|
92
92
|
}, [
|
|
93
|
-
(
|
|
93
|
+
(p(!0), m(z, null, R(U.value, (l) => g((p(), m("div", {
|
|
94
94
|
key: l.value,
|
|
95
95
|
class: a(`${t(i)("side", "body", "scroll-item")} ${F.value === l ? "active" : ""}`),
|
|
96
96
|
onClick: (X) => V(l)
|
|
@@ -118,7 +118,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
|
|
|
118
118
|
s("div", {
|
|
119
119
|
class: a(t(y)("content", "header"))
|
|
120
120
|
}, [
|
|
121
|
-
f.value ? (
|
|
121
|
+
f.value ? (p(), m("div", {
|
|
122
122
|
key: 0,
|
|
123
123
|
class: a(t(i)("content", "header", "imgWrap"))
|
|
124
124
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, computed as a,
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as d, createElementBlock as i, normalizeClass as r, unref as t, normalizeStyle as s, createTextVNode as m, toDisplayString as f, createElementVNode as y, createCommentVNode as g } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const C = /* @__PURE__ */ u({
|
|
@@ -20,17 +20,17 @@ const C = /* @__PURE__ */ u({
|
|
|
20
20
|
})), p = a(() => ({
|
|
21
21
|
"background-color": e.color
|
|
22
22
|
})), { b: c, e: o } = x("ap-status");
|
|
23
|
-
return (S, _) => e.show ? (
|
|
23
|
+
return (S, _) => e.show ? (d(), i("div", {
|
|
24
24
|
key: 0,
|
|
25
|
-
class:
|
|
26
|
-
style:
|
|
25
|
+
class: r([t(c)()]),
|
|
26
|
+
style: s(n.value)
|
|
27
27
|
}, [
|
|
28
|
-
f(
|
|
28
|
+
m(f(e.text) + " ", 1),
|
|
29
29
|
y("div", {
|
|
30
|
-
class:
|
|
31
|
-
style:
|
|
30
|
+
class: r([t(o)("bg"), t(o)("primary")]),
|
|
31
|
+
style: s(p.value)
|
|
32
32
|
}, null, 6)
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : g("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, computed as c, createElementBlock as o,
|
|
1
|
+
import { defineComponent as p, computed as c, openBlock as r, createElementBlock as o, normalizeClass as d, unref as m, normalizeStyle as a, Fragment as i, renderList as f, createBlock as y, createCommentVNode as _ } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import "../ApStatus.vue.mjs";
|
|
4
4
|
import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -19,10 +19,10 @@ const w = /* @__PURE__ */ p({
|
|
|
19
19
|
})), { b: l } = g("ap-status-group");
|
|
20
20
|
return (n, S) => t.statusList ? (r(), o("div", {
|
|
21
21
|
key: 0,
|
|
22
|
-
class:
|
|
22
|
+
class: d([m(l)()]),
|
|
23
23
|
style: a(u.value)
|
|
24
24
|
}, [
|
|
25
|
-
(r(!0), o(
|
|
25
|
+
(r(!0), o(i, null, f(t.statusList, (e) => (r(), y(k, {
|
|
26
26
|
key: e.value,
|
|
27
27
|
show: e.value === n.currentValue,
|
|
28
28
|
color: e.color,
|
|
@@ -30,7 +30,7 @@ const w = /* @__PURE__ */ p({
|
|
|
30
30
|
padding: t.padding,
|
|
31
31
|
style: a(t.style)
|
|
32
32
|
}, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
|
|
33
|
-
], 6)) :
|
|
33
|
+
], 6)) : _("", !0);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as p, createVNode as w, Fragment as y,
|
|
1
|
+
import { defineComponent as N, computed as p, createVNode as w, Fragment as y, openBlock as m, createBlock as l, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
|
|
2
2
|
import { isNil as D, get as i } from "lodash-unified";
|
|
3
3
|
import { TableSummaryRow as F, TableSummaryCell as V } from "@aplus-frontend/antdv";
|
|
4
4
|
import { flattenColumns as E, formatDataIndex as c } from "./utils.mjs";
|
|
@@ -4,8 +4,8 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
|
|
|
4
4
|
import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
6
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
|
-
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
8
7
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
8
|
+
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
@@ -42,14 +42,8 @@ declare const ApTableModal: {
|
|
|
42
42
|
};
|
|
43
43
|
y: undefined;
|
|
44
44
|
};
|
|
45
|
-
getPaging: () =>
|
|
46
|
-
|
|
47
|
-
pageSize: number;
|
|
48
|
-
}>;
|
|
49
|
-
setPaging: (nextPaging: Partial<{
|
|
50
|
-
current: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
}>, refreshImmediately?: boolean) => void;
|
|
45
|
+
getPaging: () => InternalPagingType;
|
|
46
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
53
47
|
getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
54
48
|
setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
55
49
|
resetSearchFormSorterItems: () => void;
|
|
@@ -153,14 +147,8 @@ declare const ApTableModal: {
|
|
|
153
147
|
};
|
|
154
148
|
y: undefined;
|
|
155
149
|
};
|
|
156
|
-
getPaging: () =>
|
|
157
|
-
|
|
158
|
-
pageSize: number;
|
|
159
|
-
}>;
|
|
160
|
-
setPaging: (nextPaging: Partial<{
|
|
161
|
-
current: number;
|
|
162
|
-
pageSize: number;
|
|
163
|
-
}>, refreshImmediately?: boolean) => void;
|
|
150
|
+
getPaging: () => InternalPagingType;
|
|
151
|
+
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
164
152
|
getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
165
153
|
setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
166
154
|
resetSearchFormSorterItems: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m,
|
|
1
|
+
import { defineComponent as m, openBlock as c, createElementBlock as f, createTextVNode as a, toDisplayString as t, renderSlot as d, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useLocale as p } from "../../config-provider/hooks/use-locale.mjs";
|
|
4
4
|
import { useGlobalConfig as s } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ m({
|
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const { t: n } = p(), l = s("uiMode", "aplus");
|
|
23
|
-
return (i, x) => (
|
|
23
|
+
return (i, x) => (c(), f("div", null, [
|
|
24
24
|
a(t(e.title) + " ", 1),
|
|
25
25
|
d(i.$slots, "default", {
|
|
26
26
|
maxCount: e.maxCount,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v,
|
|
1
|
+
import { defineComponent as v, openBlock as l, createElementBlock as o, normalizeClass as a, unref as t, Fragment as n, createVNode as m, withCtx as i, createBlock as s, resolveDynamicComponent as p, h, createElementVNode as c, renderSlot as b, createCommentVNode as S, normalizeStyle as B, createTextVNode as $, toDisplayString as M, renderList as A } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { ApTitle as T } from "../../ap-title/index.mjs";
|
|
4
4
|
import { Button as V, Empty as k } from "@aplus-frontend/antdv";
|
|
@@ -31,30 +31,30 @@ const q = /* @__PURE__ */ v({
|
|
|
31
31
|
key: 0,
|
|
32
32
|
class: a(t(r)("table-layout-left"))
|
|
33
33
|
}, [
|
|
34
|
-
|
|
34
|
+
m(t(T), { style: { "margin-bottom": "16px" } }, {
|
|
35
35
|
prefix: i(() => [
|
|
36
|
-
(l(), s(
|
|
36
|
+
(l(), s(p(h(n, [e.leftTitle]))))
|
|
37
37
|
]),
|
|
38
38
|
_: 1
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
c("div", {
|
|
41
41
|
class: a(t(r)("table-layout-left-content"))
|
|
42
42
|
}, [
|
|
43
|
-
|
|
43
|
+
b(e.$slots, "default")
|
|
44
44
|
], 2)
|
|
45
|
-
], 2)) :
|
|
46
|
-
|
|
45
|
+
], 2)) : S("", !0),
|
|
46
|
+
c("div", {
|
|
47
47
|
class: a(t(r)("table-layout-right")),
|
|
48
48
|
style: B(e.rightContentStyle)
|
|
49
49
|
}, [
|
|
50
|
-
|
|
50
|
+
m(t(T), {
|
|
51
51
|
title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
|
|
52
52
|
}, {
|
|
53
53
|
prefix: i(() => [
|
|
54
|
-
(l(), s(
|
|
54
|
+
(l(), s(p(h(n, [N(e.selectedList.length)]))))
|
|
55
55
|
]),
|
|
56
56
|
suffix: i(() => [
|
|
57
|
-
|
|
57
|
+
m(t(V), {
|
|
58
58
|
type: "link",
|
|
59
59
|
style: { padding: "0px", height: "22px", "border-width": "0px" },
|
|
60
60
|
onClick: E
|
|
@@ -67,21 +67,21 @@ const q = /* @__PURE__ */ v({
|
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
}, 8, ["title"]),
|
|
70
|
-
|
|
70
|
+
c("div", {
|
|
71
71
|
class: a(t(r)("table-layout-right-content"))
|
|
72
72
|
}, [
|
|
73
73
|
(l(!0), o(n, null, A(e.selectedList, (f) => {
|
|
74
74
|
var g;
|
|
75
|
-
return l(), s(
|
|
75
|
+
return l(), s(p((g = e.renderSelectedItem) == null ? void 0 : g.call(e, f, { deleteItem: L })), { key: f });
|
|
76
76
|
}), 128)),
|
|
77
77
|
e.selectedList.length === 0 ? (l(), s(t(k), {
|
|
78
78
|
key: 0,
|
|
79
79
|
image: t(k).PRESENTED_IMAGE_SIMPLE,
|
|
80
80
|
style: { "margin-top": "100px" }
|
|
81
|
-
}, null, 8, ["image"])) :
|
|
81
|
+
}, null, 8, ["image"])) : S("", !0)
|
|
82
82
|
], 2)
|
|
83
83
|
], 6)
|
|
84
|
-
], 64)) :
|
|
84
|
+
], 64)) : b(e.$slots, "default", { key: 1 })
|
|
85
85
|
], 2));
|
|
86
86
|
}
|
|
87
87
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, ref as m, unref as s, computed as U, h as q,
|
|
1
|
+
import { defineComponent as H, ref as m, unref as s, computed as U, h as q, openBlock as k, createBlock as T, mergeProps as y, withCtx as h, resolveDynamicComponent as V, createCommentVNode as $, createVNode as S } from "vue";
|
|
2
2
|
import { message as R, Modal as z } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { ApTable as W } from "../../ap-table/index.mjs";
|
|
@@ -177,7 +177,7 @@ const ce = /* @__PURE__ */ H({
|
|
|
177
177
|
open: I,
|
|
178
178
|
close: w,
|
|
179
179
|
getApTableInstance: O
|
|
180
|
-
}), (o, t) => (
|
|
180
|
+
}), (o, t) => (k(), T(s(z), y(
|
|
181
181
|
{
|
|
182
182
|
open: i.value,
|
|
183
183
|
"onUpdate:open": t[0] || (t[0] = (l) => i.value = l)
|
|
@@ -204,7 +204,7 @@ const ce = /* @__PURE__ */ H({
|
|
|
204
204
|
}
|
|
205
205
|
), {
|
|
206
206
|
default: h(() => [
|
|
207
|
-
e.renderHeader ? (
|
|
207
|
+
e.renderHeader ? (k(), T(V(e.renderHeader), { key: 0 })) : $("", !0),
|
|
208
208
|
S(Z, y(e.tableLayoutConfig || {}, {
|
|
209
209
|
"selected-list": a.value,
|
|
210
210
|
onClear: E,
|