@aplus-frontend/ui 0.6.0-beta.3 → 0.6.0-beta.5
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.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/item/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-grid/editable/form-item.vue.mjs +91 -83
- package/es/src/ap-grid/editable/index.vue.mjs +86 -78
- package/es/src/ap-grid/index.vue.mjs +39 -35
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +22 -18
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/utils.d.ts +14 -14
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +25 -25
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-view/ap-view.vue2.mjs +60 -58
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +84 -76
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +91 -83
- package/es/src/editable-table/interface.d.ts +7 -0
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/item/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +30 -30
- package/lib/src/ap-table/utils.d.ts +14 -14
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/index.css +3 -0
- package/theme/antd-global-overwrite/admin/index.less +1 -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/index.css +3 -0
- package/theme/antd-global-overwrite/aplus/index.less +1 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +17 -0
- package/theme/ap-action/item.css +17 -0
- package/theme/ap-appendix/ap-appendix.css +17 -0
- package/theme/ap-attachment/ap-attachment.css +17 -0
- package/theme/ap-batch-action/ap-batch-action.css +17 -0
- package/theme/ap-button/ap-button.css +17 -0
- package/theme/ap-card/ap-card.css +17 -0
- package/theme/ap-descriptions/ap-descriptions.css +17 -0
- package/theme/ap-download/ap-download.css +17 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +17 -0
- package/theme/ap-field/checkbox.css +17 -0
- package/theme/ap-field/index.css +17 -0
- package/theme/ap-field/number.css +17 -0
- package/theme/ap-field/radio.css +17 -0
- package/theme/ap-field/text-area.css +17 -0
- package/theme/ap-form/ap-form-item-group.css +17 -0
- package/theme/ap-form/ap-form-item.css +22 -2
- package/theme/ap-form/ap-form-item.less +9 -3
- package/theme/ap-form/drawer-form.css +17 -0
- package/theme/ap-form/index.css +22 -2
- package/theme/ap-form/item-text-group.css +17 -0
- package/theme/ap-form/item-text.css +17 -0
- package/theme/ap-form/modal-form.css +17 -0
- package/theme/ap-form/search-form-sorter.css +17 -0
- package/theme/ap-form/search-form.css +22 -2
- package/theme/ap-grid/editable.css +17 -0
- package/theme/ap-grid/index.css +39 -2
- package/theme/ap-grid/index.less +1 -0
- package/theme/ap-group-search/ap-extension-select.css +17 -0
- package/theme/ap-group-search/ap-group-search.css +17 -0
- package/theme/ap-group-search/ap-popover-select.css +17 -0
- package/theme/ap-image/ap-image.css +17 -0
- package/theme/ap-input-radio/ap-input-radio.css +17 -0
- package/theme/ap-label/ap-label.css +17 -0
- package/theme/ap-ladder/ap-ladder.css +17 -0
- package/theme/ap-layout/ap-info-layout.css +17 -0
- package/theme/ap-list/index.css +17 -0
- package/theme/ap-product-info/ap-product-info.css +17 -0
- package/theme/ap-select-layout/ap-select-layout.css +17 -0
- package/theme/ap-size-input/ap-size-input.css +17 -0
- package/theme/ap-status/ap-status.css +17 -0
- package/theme/ap-summary/index.css +17 -0
- package/theme/ap-table/ap-table-index.css +17 -0
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +17 -0
- package/theme/ap-table/ap-table.css +39 -2
- package/theme/ap-table/ap-table.less +1 -0
- package/theme/ap-table/setting/index.css +17 -0
- package/theme/ap-table/setting/modal.css +17 -0
- package/theme/ap-table/setting/select-group.css +17 -0
- package/theme/ap-table/setting/sortable-item-meta.css +17 -0
- package/theme/ap-table/setting/sortable-item.css +17 -0
- package/theme/ap-table/setting/sorter.css +17 -0
- package/theme/ap-table-modal/index.css +39 -2
- package/theme/ap-tag/ap-tag-group.css +17 -0
- package/theme/ap-tag/ap-tag.css +18 -1
- package/theme/ap-tag/ap-tag.less +1 -1
- package/theme/ap-title/ap-title.css +17 -0
- package/theme/ap-upload/index.css +17 -0
- package/theme/ap-upload/multiple-file.css +17 -0
- package/theme/ap-upload/picture.css +17 -0
- package/theme/ap-upload/single-file.css +17 -0
- package/theme/ap-upload/upload.css +17 -0
- package/theme/ap-upload-single/index.css +17 -0
- package/theme/ap-view/ap-view.css +17 -0
- package/theme/batch-input-group/index.css +17 -0
- package/theme/batch-input-group/popover-input.css +17 -0
- package/theme/check-card/index.css +17 -0
- package/theme/editable-table/index.css +22 -2
- package/theme/full-screen/index.css +17 -0
- package/theme/index.css +149 -3
- package/theme/index.less +1 -0
- package/theme/mask/index.css +17 -0
- package/theme/mixins/mixins.css +17 -0
- package/theme/mixins/mixins.less +28 -0
- package/theme/scroll-bar/index.css +17 -0
- package/theme/scroll-view/index.css +17 -0
- package/theme/splitter/index.css +17 -0
- package/theme/text/group.css +17 -0
- package/theme/text/index.css +17 -0
- package/theme/ui-mode.css +92 -0
- package/theme/ui-mode.less +93 -0
- package/theme/work-order-modal/index.css +17 -0
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -133,12 +133,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
133
133
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
134
134
|
readonly value?: string | number | undefined;
|
|
135
135
|
readonly disabled?: boolean | undefined;
|
|
136
|
-
readonly bordered?: boolean | undefined;
|
|
137
136
|
readonly prefixCls?: string | undefined;
|
|
138
137
|
readonly name?: string | undefined;
|
|
139
138
|
readonly loading?: boolean | undefined;
|
|
140
139
|
readonly autofocus?: boolean | undefined;
|
|
141
140
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
141
|
+
readonly bordered?: boolean | undefined;
|
|
142
142
|
readonly suffix?: any;
|
|
143
143
|
readonly focused?: boolean | undefined;
|
|
144
144
|
readonly placeholder?: string | number | undefined;
|
|
@@ -344,12 +344,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
344
344
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
345
345
|
readonly value?: string | number | undefined;
|
|
346
346
|
readonly disabled?: boolean | undefined;
|
|
347
|
-
readonly bordered?: boolean | undefined;
|
|
348
347
|
readonly prefixCls?: string | undefined;
|
|
349
348
|
readonly name?: string | undefined;
|
|
350
349
|
readonly loading?: boolean | undefined;
|
|
351
350
|
readonly autofocus?: boolean | undefined;
|
|
352
351
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
352
|
+
readonly bordered?: boolean | undefined;
|
|
353
353
|
readonly suffix?: any;
|
|
354
354
|
readonly focused?: boolean | undefined;
|
|
355
355
|
readonly placeholder?: string | number | undefined;
|
|
@@ -899,11 +899,11 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
899
899
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
900
900
|
readonly value?: ValueType | undefined;
|
|
901
901
|
readonly disabled?: boolean | undefined;
|
|
902
|
-
readonly bordered?: boolean | undefined;
|
|
903
902
|
readonly prefixCls?: string | undefined;
|
|
904
903
|
readonly keyboard?: boolean | undefined;
|
|
905
904
|
readonly autofocus?: boolean | undefined;
|
|
906
905
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
906
|
+
readonly bordered?: boolean | undefined;
|
|
907
907
|
readonly max?: ValueType | undefined;
|
|
908
908
|
readonly min?: ValueType | undefined;
|
|
909
909
|
readonly defaultValue?: ValueType | undefined;
|
|
@@ -1282,8 +1282,8 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1282
1282
|
}, string, {
|
|
1283
1283
|
step: ValueType;
|
|
1284
1284
|
disabled: boolean;
|
|
1285
|
-
bordered: boolean;
|
|
1286
1285
|
keyboard: boolean;
|
|
1286
|
+
bordered: boolean;
|
|
1287
1287
|
max: ValueType;
|
|
1288
1288
|
min: ValueType;
|
|
1289
1289
|
controls: boolean;
|
|
@@ -1312,8 +1312,8 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1312
1312
|
} & Readonly<{
|
|
1313
1313
|
step: ValueType;
|
|
1314
1314
|
disabled: boolean;
|
|
1315
|
-
bordered: boolean;
|
|
1316
1315
|
keyboard: boolean;
|
|
1316
|
+
bordered: boolean;
|
|
1317
1317
|
max: ValueType;
|
|
1318
1318
|
min: ValueType;
|
|
1319
1319
|
controls: boolean;
|
|
@@ -1321,7 +1321,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1321
1321
|
thousands: boolean;
|
|
1322
1322
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
1323
1323
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1324
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "
|
|
1324
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "keyboard" | "bordered" | "max" | "min" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
|
|
1325
1325
|
focus: () => void;
|
|
1326
1326
|
blur: () => void;
|
|
1327
1327
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -1727,11 +1727,11 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
1727
1727
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
1728
1728
|
readonly animation?: string | undefined;
|
|
1729
1729
|
readonly children?: VueNode[] | undefined;
|
|
1730
|
-
readonly bordered?: boolean | undefined;
|
|
1731
1730
|
readonly prefixCls?: string | undefined;
|
|
1732
1731
|
readonly loading?: boolean | undefined;
|
|
1733
1732
|
readonly transitionName?: string | undefined;
|
|
1734
1733
|
readonly autofocus?: boolean | undefined;
|
|
1734
|
+
readonly bordered?: boolean | undefined;
|
|
1735
1735
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
1736
1736
|
readonly placeholder?: any;
|
|
1737
1737
|
readonly defaultValue?: SelectValue;
|
|
@@ -2225,9 +2225,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2225
2225
|
open: boolean;
|
|
2226
2226
|
multiple: boolean;
|
|
2227
2227
|
disabled: boolean;
|
|
2228
|
-
bordered: boolean;
|
|
2229
2228
|
loading: boolean;
|
|
2230
2229
|
autofocus: boolean;
|
|
2230
|
+
bordered: boolean;
|
|
2231
2231
|
virtual: boolean;
|
|
2232
2232
|
lazy: boolean;
|
|
2233
2233
|
allowClear: boolean;
|
|
@@ -2266,9 +2266,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2266
2266
|
open: boolean;
|
|
2267
2267
|
multiple: boolean;
|
|
2268
2268
|
disabled: boolean;
|
|
2269
|
-
bordered: boolean;
|
|
2270
2269
|
loading: boolean;
|
|
2271
2270
|
autofocus: boolean;
|
|
2271
|
+
bordered: boolean;
|
|
2272
2272
|
virtual: boolean;
|
|
2273
2273
|
lazy: boolean;
|
|
2274
2274
|
allowClear: boolean;
|
|
@@ -2284,7 +2284,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2284
2284
|
searchDelay: number;
|
|
2285
2285
|
}> & Omit<Readonly< ApFieldSelectProps> & Readonly<{
|
|
2286
2286
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
2287
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
2287
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "lazy" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "emptyText" | "searchMode" | "refetchOnFocus" | "searchDelay")> & ShallowUnwrapRef<{
|
|
2288
2288
|
focus: () => void;
|
|
2289
2289
|
blur: () => void;
|
|
2290
2290
|
request: (clear?: boolean) => Promise<void>;
|
|
@@ -2515,12 +2515,12 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
2515
2515
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2516
2516
|
readonly animation?: string | undefined;
|
|
2517
2517
|
readonly children?: VueNode[] | undefined;
|
|
2518
|
-
readonly bordered?: boolean | undefined;
|
|
2519
2518
|
readonly prefixCls?: string | undefined;
|
|
2520
2519
|
readonly loading?: boolean | undefined;
|
|
2521
2520
|
readonly transitionName?: string | undefined;
|
|
2522
2521
|
readonly autofocus?: boolean | undefined;
|
|
2523
2522
|
readonly 'onUpdate:value'?: (((value: any) => void) & ((...args: any[]) => any)) | undefined;
|
|
2523
|
+
readonly bordered?: boolean | undefined;
|
|
2524
2524
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2525
2525
|
readonly placeholder?: any;
|
|
2526
2526
|
readonly defaultValue?: unknown;
|
|
@@ -3158,9 +3158,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3158
3158
|
open: boolean;
|
|
3159
3159
|
multiple: boolean;
|
|
3160
3160
|
disabled: boolean;
|
|
3161
|
-
bordered: boolean;
|
|
3162
3161
|
loading: boolean;
|
|
3163
3162
|
autofocus: boolean;
|
|
3163
|
+
bordered: boolean;
|
|
3164
3164
|
virtual: boolean;
|
|
3165
3165
|
dropdownMatchSelectWidth: number | boolean;
|
|
3166
3166
|
allowClear: boolean;
|
|
@@ -3198,9 +3198,9 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3198
3198
|
open: boolean;
|
|
3199
3199
|
multiple: boolean;
|
|
3200
3200
|
disabled: boolean;
|
|
3201
|
-
bordered: boolean;
|
|
3202
3201
|
loading: boolean;
|
|
3203
3202
|
autofocus: boolean;
|
|
3203
|
+
bordered: boolean;
|
|
3204
3204
|
virtual: boolean;
|
|
3205
3205
|
dropdownMatchSelectWidth: number | boolean;
|
|
3206
3206
|
allowClear: boolean;
|
|
@@ -3215,7 +3215,7 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
|
|
|
3215
3215
|
emptyText: string;
|
|
3216
3216
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
3217
3217
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
3218
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "
|
|
3218
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "loading" | "autofocus" | "bordered" | "virtual" | "dropdownMatchSelectWidth" | "allowClear" | "defaultOpen" | "showSearch" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "treeCheckable" | "treeDefaultExpandAll" | "treeCheckStrictly" | "emptyText")> & ShallowUnwrapRef<{
|
|
3219
3219
|
blur: () => void;
|
|
3220
3220
|
focus: () => void;
|
|
3221
3221
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|
|
@@ -2,8 +2,8 @@ import { ApExpandAlertProps } from './interface';
|
|
|
2
2
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
3
|
declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly onExpand?: ((
|
|
6
|
-
readonly onChoose?: ((
|
|
5
|
+
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
6
|
+
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
7
7
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExpand" | "onChoose"> & ApExpandAlertProps<T> & Partial<{}>> & PublicProps;
|
|
8
8
|
expose(exposed: ShallowUnwrapRef<{
|
|
9
9
|
setExpand: (state?: boolean) => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
22
22
|
index: number;
|
|
23
23
|
}): any;
|
|
24
24
|
};
|
|
25
|
-
emit: (
|
|
25
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
26
26
|
}>) => VNode & {
|
|
27
27
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, computed as f, ref as h, watch as
|
|
1
|
+
import { defineComponent as W, computed as f, ref as h, watch as A, nextTick as w, createElementBlock as n, openBlock as a, normalizeClass as s, unref as t, createVNode as x, withCtx as m, createElementVNode as b, normalizeStyle as c, renderSlot as N, createBlock as g, toDisplayString as i, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, createTextVNode as q } from "vue";
|
|
2
2
|
import { DownOutlined as J } from "@ant-design/icons-vue";
|
|
3
3
|
import { Alert as K, Tooltip as P } from "@aplus-frontend/antdv";
|
|
4
4
|
import { ApActionItem as Q } from "../../ap-action/index.mjs";
|
|
@@ -7,7 +7,7 @@ import { isString as E } from "lodash-unified";
|
|
|
7
7
|
import { useLocale as U } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { useGlobalConfig as Y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
10
|
-
const Z = ["onClick"],
|
|
10
|
+
const Z = ["onClick"], ie = /* @__PURE__ */ W({
|
|
11
11
|
__name: "ApExpandAlert",
|
|
12
12
|
props: {
|
|
13
13
|
type: { default: "warning" },
|
|
@@ -24,8 +24,8 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
24
24
|
showIcon: { type: Boolean, default: !0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["choose", "expand"],
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
27
|
+
setup($, { expose: z, emit: H }) {
|
|
28
|
+
const S = H, r = $, { t: B } = U(), V = f(() => {
|
|
29
29
|
if (r.type != "card")
|
|
30
30
|
return r.type;
|
|
31
31
|
}), l = h(""), u = h(null), D = f(() => ({
|
|
@@ -37,13 +37,13 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
37
37
|
webkitBoxOrient: "vertical"
|
|
38
38
|
}));
|
|
39
39
|
function R() {
|
|
40
|
-
l.value === "1" ? l.value = "" : l.value = "1",
|
|
40
|
+
l.value === "1" ? (l.value = "", S("expand", "expand")) : (l.value = "1", S("expand", "collapse"));
|
|
41
41
|
}
|
|
42
|
-
const M = f(() => l.value === "1" ?
|
|
42
|
+
const M = f(() => l.value === "1" ? B("ap.apExpandAlert.expand") : B("ap.apExpandAlert.collapse")), y = h(!0), T = f(() => l.value !== "1");
|
|
43
43
|
function v(e) {
|
|
44
44
|
e ? l.value = "" : l.value = "1";
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
A(
|
|
47
47
|
() => r.data,
|
|
48
48
|
() => {
|
|
49
49
|
l.value = "", w(() => {
|
|
@@ -51,14 +51,14 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
51
51
|
const e = Number(u.value.clientHeight), d = Number(
|
|
52
52
|
parseInt(u.value.style.lineHeight)
|
|
53
53
|
);
|
|
54
|
-
e < d * Number(r.rows) &&
|
|
54
|
+
e < d * Number(r.rows) && T.value ? y.value = !1 : y.value = !0;
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
immediate: !0
|
|
60
60
|
}
|
|
61
|
-
),
|
|
61
|
+
), A(
|
|
62
62
|
() => r.defaultExpand,
|
|
63
63
|
(e) => {
|
|
64
64
|
e ? w(() => {
|
|
@@ -70,7 +70,7 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
70
70
|
{ immediate: !0 }
|
|
71
71
|
);
|
|
72
72
|
const { b: O, e: o, m: F } = X("ap-expand-alert"), G = Y("uiMode", "aplus");
|
|
73
|
-
return
|
|
73
|
+
return z({
|
|
74
74
|
setExpand: v
|
|
75
75
|
}), (e, d) => (a(), n("div", {
|
|
76
76
|
class: s([t(O)(), `${t(F)(t(G))}`])
|
|
@@ -85,18 +85,18 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
85
85
|
key: 0,
|
|
86
86
|
size: "small",
|
|
87
87
|
style: { "font-size": "12px", "padding-left": "16px" },
|
|
88
|
-
onClick: d[0] || (d[0] = (
|
|
88
|
+
onClick: d[0] || (d[0] = (p) => R())
|
|
89
89
|
}, {
|
|
90
90
|
default: m(() => [
|
|
91
91
|
b("span", {
|
|
92
92
|
class: s(t(o)("expandText"))
|
|
93
|
-
},
|
|
93
|
+
}, i(M.value), 3),
|
|
94
94
|
x(t(J), {
|
|
95
|
-
class: s(
|
|
95
|
+
class: s(T.value ? t(o)("expandIcon") : t(o)("collapseIcon"))
|
|
96
96
|
}, null, 8, ["class"])
|
|
97
97
|
]),
|
|
98
98
|
_: 1
|
|
99
|
-
})) :
|
|
99
|
+
})) : L("", !0)
|
|
100
100
|
]),
|
|
101
101
|
message: m(() => [
|
|
102
102
|
b("div", {
|
|
@@ -105,31 +105,31 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
105
105
|
style: c({ ...D.value, ...e.contentStyle }),
|
|
106
106
|
class: s(t(o)("alertContent"))
|
|
107
107
|
}, [
|
|
108
|
-
|
|
108
|
+
N(e.$slots, "default", {}, () => [
|
|
109
109
|
t(E)(e.prefix) ? (a(), n("span", {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: s(t(o)("prefix")),
|
|
112
112
|
style: c(e.prefixStyle)
|
|
113
|
-
},
|
|
113
|
+
}, i(e.prefix), 7)) : (a(), g(I(e.prefix), {
|
|
114
114
|
key: 1,
|
|
115
115
|
style: c(e.prefixStyle)
|
|
116
116
|
}, null, 8, ["style"])),
|
|
117
117
|
t(E)(e.data) ? (a(), n("span", {
|
|
118
118
|
key: 2,
|
|
119
119
|
class: s(t(o)("text"))
|
|
120
|
-
},
|
|
120
|
+
}, i(e.data), 3)) : (a(!0), n(C, { key: 3 }, j(e.data, (p, k) => (a(), n(C, { key: k }, [
|
|
121
121
|
x(t(P), {
|
|
122
122
|
title: e.tipTitle ? e.tipTitle : null
|
|
123
123
|
}, {
|
|
124
124
|
default: m(() => [
|
|
125
|
-
|
|
126
|
-
record:
|
|
125
|
+
N(e.$slots, "item", {
|
|
126
|
+
record: p,
|
|
127
127
|
index: k
|
|
128
128
|
}, () => [
|
|
129
129
|
b("span", {
|
|
130
130
|
class: s(t(o)("showItem")),
|
|
131
|
-
onClick: (_) => e.$emit("choose",
|
|
132
|
-
},
|
|
131
|
+
onClick: (_) => e.$emit("choose", p)
|
|
132
|
+
}, i(e.mapLabel ? p[e.mapLabel] : p), 11, Z)
|
|
133
133
|
])
|
|
134
134
|
]),
|
|
135
135
|
_: 2
|
|
@@ -140,9 +140,9 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
140
140
|
style: c(e.separatorStyle)
|
|
141
141
|
}, [
|
|
142
142
|
t(E)(e.separator) ? (a(), n(C, { key: 0 }, [
|
|
143
|
-
q(
|
|
144
|
-
], 64)) : (a(), g(
|
|
145
|
-
], 6)) :
|
|
143
|
+
q(i(e.separator), 1)
|
|
144
|
+
], 64)) : (a(), g(I(e.separator), { key: 1 }))
|
|
145
|
+
], 6)) : L("", !0)
|
|
146
146
|
], 64))), 128))
|
|
147
147
|
])
|
|
148
148
|
], 6)
|
|
@@ -153,5 +153,5 @@ const Z = ["onClick"], pe = /* @__PURE__ */ W({
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
export {
|
|
156
|
-
|
|
156
|
+
ie as default
|
|
157
157
|
};
|
|
@@ -15,11 +15,11 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
15
15
|
index: number;
|
|
16
16
|
}): any;
|
|
17
17
|
};
|
|
18
|
-
emit: (
|
|
18
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
19
19
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
20
|
props: {
|
|
21
|
-
readonly onExpand?: ((
|
|
22
|
-
readonly onChoose?: ((
|
|
21
|
+
readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
|
|
22
|
+
readonly onChoose?: ((args_0: T) => any) | undefined;
|
|
23
23
|
type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
|
|
24
24
|
data?: string | T[] | undefined;
|
|
25
25
|
prefix?: string | undefined;
|
|
@@ -50,7 +50,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
|
|
|
50
50
|
index: number;
|
|
51
51
|
}): any;
|
|
52
52
|
};
|
|
53
|
-
emit: (
|
|
53
|
+
emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
|
|
54
54
|
}>) => VNode & {
|
|
55
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
56
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
@@ -127,8 +127,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
127
127
|
placement: TooltipPlacement;
|
|
128
128
|
show: boolean;
|
|
129
129
|
dot: boolean;
|
|
130
|
-
count: any;
|
|
131
130
|
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
131
|
+
count: any;
|
|
132
132
|
showZero: boolean;
|
|
133
133
|
overflowCount: number;
|
|
134
134
|
numberStyle: CSSProperties;
|
|
@@ -70,8 +70,8 @@ declare const ApLabel: {
|
|
|
70
70
|
placement: TooltipPlacement;
|
|
71
71
|
show: boolean;
|
|
72
72
|
dot: boolean;
|
|
73
|
-
count: any;
|
|
74
73
|
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
74
|
+
count: any;
|
|
75
75
|
showZero: boolean;
|
|
76
76
|
overflowCount: number;
|
|
77
77
|
numberStyle: CSSProperties;
|
|
@@ -152,8 +152,8 @@ declare const ApLabel: {
|
|
|
152
152
|
placement: TooltipPlacement;
|
|
153
153
|
show: boolean;
|
|
154
154
|
dot: boolean;
|
|
155
|
-
count: any;
|
|
156
155
|
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
156
|
+
count: any;
|
|
157
157
|
showZero: boolean;
|
|
158
158
|
overflowCount: number;
|
|
159
159
|
numberStyle: CSSProperties;
|
|
@@ -231,8 +231,8 @@ declare const ApLabel: {
|
|
|
231
231
|
placement: TooltipPlacement;
|
|
232
232
|
show: boolean;
|
|
233
233
|
dot: boolean;
|
|
234
|
-
count: any;
|
|
235
234
|
iconType: "ellipsis" | "success" | "warning" | "question";
|
|
235
|
+
count: any;
|
|
236
236
|
showZero: boolean;
|
|
237
237
|
overflowCount: number;
|
|
238
238
|
numberStyle: CSSProperties;
|
|
@@ -69,13 +69,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
70
|
layout: "horizontal" | "vertical";
|
|
71
71
|
tooltip: boolean;
|
|
72
|
+
labelAlign: "left" | "right";
|
|
72
73
|
major: string | number | VNode<RendererNode, RendererElement, {
|
|
73
74
|
[key: string]: any;
|
|
74
75
|
}> | (() => VNode);
|
|
75
76
|
minor: string | number | VNode<RendererNode, RendererElement, {
|
|
76
77
|
[key: string]: any;
|
|
77
78
|
}> | (() => VNode);
|
|
78
|
-
labelAlign: "left" | "right";
|
|
79
79
|
labelValues: ApLadderLabelValue[];
|
|
80
80
|
majorColor: string;
|
|
81
81
|
minorColor: string;
|
|
@@ -38,13 +38,13 @@ declare const ApLadder: {
|
|
|
38
38
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
39
39
|
layout: "horizontal" | "vertical";
|
|
40
40
|
tooltip: boolean;
|
|
41
|
+
labelAlign: "left" | "right";
|
|
41
42
|
major: string | number | VNode<RendererNode, RendererElement, {
|
|
42
43
|
[key: string]: any;
|
|
43
44
|
}> | (() => VNode);
|
|
44
45
|
minor: string | number | VNode<RendererNode, RendererElement, {
|
|
45
46
|
[key: string]: any;
|
|
46
47
|
}> | (() => VNode);
|
|
47
|
-
labelAlign: "left" | "right";
|
|
48
48
|
labelValues: ApLadderLabelValue[];
|
|
49
49
|
majorColor: string;
|
|
50
50
|
minorColor: string;
|
|
@@ -91,13 +91,13 @@ declare const ApLadder: {
|
|
|
91
91
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
92
92
|
layout: "horizontal" | "vertical";
|
|
93
93
|
tooltip: boolean;
|
|
94
|
+
labelAlign: "left" | "right";
|
|
94
95
|
major: string | number | VNode<RendererNode, RendererElement, {
|
|
95
96
|
[key: string]: any;
|
|
96
97
|
}> | (() => VNode);
|
|
97
98
|
minor: string | number | VNode<RendererNode, RendererElement, {
|
|
98
99
|
[key: string]: any;
|
|
99
100
|
}> | (() => VNode);
|
|
100
|
-
labelAlign: "left" | "right";
|
|
101
101
|
labelValues: ApLadderLabelValue[];
|
|
102
102
|
majorColor: string;
|
|
103
103
|
minorColor: string;
|
|
@@ -141,13 +141,13 @@ declare const ApLadder: {
|
|
|
141
141
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
142
142
|
layout: "horizontal" | "vertical";
|
|
143
143
|
tooltip: boolean;
|
|
144
|
+
labelAlign: "left" | "right";
|
|
144
145
|
major: string | number | VNode<RendererNode, RendererElement, {
|
|
145
146
|
[key: string]: any;
|
|
146
147
|
}> | (() => VNode);
|
|
147
148
|
minor: string | number | VNode<RendererNode, RendererElement, {
|
|
148
149
|
[key: string]: any;
|
|
149
150
|
}> | (() => VNode);
|
|
150
|
-
labelAlign: "left" | "right";
|
|
151
151
|
labelValues: ApLadderLabelValue[];
|
|
152
152
|
majorColor: string;
|
|
153
153
|
minorColor: string;
|
|
@@ -10,7 +10,7 @@ type ApStatusGroupItemUnion = Pick<ApStatusProps, 'text' | 'color'> & {
|
|
|
10
10
|
};
|
|
11
11
|
export type ApStatusGroupItemProps = Required<ApStatusGroupItemUnion>;
|
|
12
12
|
export type ApStatusGroupProps = {
|
|
13
|
-
padding
|
|
13
|
+
padding?: number;
|
|
14
14
|
currentValue: number | string;
|
|
15
15
|
statusList: ApStatusGroupItemProps[] | null;
|
|
16
16
|
style?: object;
|