@aplus-frontend/ui 6.26.4 → 6.27.0
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/ag-grid/hooks/use-columns-def.d.ts +2 -2
- package/es/src/ag-grid/hooks/use-columns-def.mjs +29 -29
- package/es/src/ag-grid/hooks/use-columns.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-columns.mjs +8 -8
- package/es/src/ag-grid/hooks/use-pinned-row.d.ts +7 -0
- package/es/src/ag-grid/hooks/use-pinned-row.mjs +32 -0
- package/es/src/ag-grid/hooks/use-virtual-config.d.ts +5 -0
- package/es/src/ag-grid/hooks/use-virtual-config.mjs +25 -0
- package/es/src/ag-grid/index.vue.mjs +274 -232
- package/es/src/ag-grid/interface.d.ts +25 -2
- package/es/src/ap-field/select/index.vue.d.ts +51 -21
- package/es/src/ap-field/select/index.vue.mjs +51 -49
- package/es/src/ap-field/select/read.vue2.mjs +4 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +29 -21
- package/es/src/ap-field/tree-select/index.vue.mjs +11 -9
- package/es/src/ap-field/tree-select/read.vue2.mjs +7 -5
- package/es/src/ap-form/ap-form.vue.d.ts +20 -0
- package/es/src/ap-form/ap-form.vue2.mjs +11 -10
- package/es/src/ap-form/drawer-form/index.vue.d.ts +22 -0
- package/es/src/ap-form/drawer-form/index.vue.mjs +1 -0
- package/es/src/ap-form/hooks/use-watch.mjs +25 -28
- package/es/src/ap-form/interface.d.ts +1 -1
- package/es/src/ap-form/items/select/index.vue.d.ts +64 -28
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +40 -28
- package/es/src/ap-form/modal-form/index.vue.d.ts +22 -0
- package/es/src/ap-form/modal-form/index.vue.mjs +31 -30
- package/es/src/ap-form/search-form/index.vue.d.ts +24 -2
- package/es/src/ap-form/search-form/index.vue.mjs +72 -68
- package/es/src/ap-table/constants.d.ts +52 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +9 -0
- package/es/src/ap-upload/apUpload.vue.mjs +38 -34
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +59 -59
- package/es/src/ap-upload/components/Picture.vue2.mjs +74 -74
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +95 -95
- package/es/src/business/ap-value-select-card/index.vue2.mjs +120 -123
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +11 -0
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -0
- package/es/src/business/hooks/usePageListAgGrid.d.ts +1 -1
- package/es/src/business/hooks/usePageListAgGrid.mjs +4 -4
- package/es/src/business/hooks/usePageListApGrid.mjs +14 -14
- package/es/src/config-provider/config-provider-props.d.ts +14 -1
- package/es/src/config-provider/config-provider.d.ts +31 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +14 -1
- package/es/src/config-provider/index.d.ts +52 -1
- package/es/src/utils/config-provider-preset.d.ts +11 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +11 -0
- package/lib/src/ag-grid/hooks/use-columns-def.d.ts +2 -2
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-columns.js +1 -1
- package/lib/src/ag-grid/hooks/use-pinned-row.d.ts +7 -0
- package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -0
- package/lib/src/ag-grid/hooks/use-virtual-config.d.ts +5 -0
- package/lib/src/ag-grid/hooks/use-virtual-config.js +1 -0
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +25 -2
- package/lib/src/ap-field/select/index.vue.d.ts +51 -21
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +29 -21
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +20 -0
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +22 -0
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.js +1 -1
- package/lib/src/ap-form/interface.d.ts +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +64 -28
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +40 -28
- package/lib/src/ap-form/modal-form/index.vue.d.ts +22 -0
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +24 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +52 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +9 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +11 -0
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -0
- package/lib/src/business/hooks/usePageListAgGrid.d.ts +1 -1
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +14 -1
- package/lib/src/config-provider/config-provider.d.ts +31 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +14 -1
- package/lib/src/config-provider/index.d.ts +52 -1
- package/lib/src/utils/config-provider-preset.d.ts +11 -1
- 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 +11 -0
- package/package.json +3 -3
- package/theme/ap-pro-card/index.css +5 -5
- package/theme/ap-pro-card/index.less +5 -5
- package/theme/ap-value-select-card/index.css +3 -4
- package/theme/ap-value-select-card/index.less +3 -4
- package/theme/index.css +8 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index.js");const n=require("lodash-unified"),q=require("vue"),F=require("./useKeepAliveFlag.js"),R=require("./useTableRefresh.js");function w(o){const r=q.ref(null),{isShowRowSelection:c=!0,clearSelectionOnRequest:d=!0,transformSearchFormValues:a,api:s,tableRefresh:f=!0,virtual:p,clearDataOnDeactivated:v=!0,...
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index.js");const n=require("lodash-unified"),q=require("vue"),F=require("./useKeepAliveFlag.js"),R=require("./useTableRefresh.js");function w(o){const r=q.ref(null),{isShowRowSelection:c=!0,clearSelectionOnRequest:d=!0,transformSearchFormValues:a,api:s,tableRefresh:f=!0,virtual:p,clearDataOnDeactivated:v=!0,...h}=o||{};let l=null;const u=()=>{r.value?.rowSelection?.clearAll()};R.useTableRefresh({...G(f),apTableRef:r});const i=()=>{r.value?.submitWith(!0)},S=()=>{r.value?.reset()},{isDeactivated:g}=F.useKeepAliveFlag({afterDeactivated:i}),m=async e=>{if(g()&&v)return{data:[],total:0};l=e.sort;const t=a?a(e):e;if(!s)throw new Error("api is not defined");const{records:A,total:b}=await s(t);return d&&u(),{data:A,total:b}};return[n.merge({scroll:{x:"100%",y:"100%"},columnResizable:!0,request:s?m:void 0,rowSelection:c?{fixed:"left",columnWidth:38}:void 0,ref(e){r.value=e},virtual:n.merge({oSize:20,y:20},p),card:!0},h),{reload:i,reset:S,getSearchFormValues:(e=!0)=>{const t=r.value?.getSearchFormValues(!!e)||{};return a?a(t):t},getApGridInstance:()=>r.value,getSearchFormValuesAndSorted:(e=!0)=>{const t=r.value?.getSearchFormValues(!!e)||{};return t.sort=l&&n.cloneDeep(l),a?a(t):t},clearSelection:u}]}function G(o){return o===!0?{}:o===!1?{refreshBefore:()=>!1}:o}exports.usePageListApGrid=w;
|
|
@@ -8,7 +8,7 @@ import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
8
8
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
9
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
10
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
11
|
-
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
11
|
+
import { ThemeConfig, Variant } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
12
12
|
export declare const configProviderProps: () => {
|
|
13
13
|
iconPrefixCls: StringConstructor;
|
|
14
14
|
getTargetContainer: {
|
|
@@ -78,6 +78,9 @@ export declare const configProviderProps: () => {
|
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
default: any;
|
|
80
80
|
};
|
|
81
|
+
variant: {
|
|
82
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
83
|
+
};
|
|
81
84
|
dropdownMatchSelectWidth: {
|
|
82
85
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
83
86
|
default: boolean;
|
|
@@ -108,12 +111,22 @@ export declare const configProviderProps: () => {
|
|
|
108
111
|
};
|
|
109
112
|
select: {
|
|
110
113
|
type: PropType<{
|
|
114
|
+
variant?: Variant;
|
|
111
115
|
showSearch?: boolean;
|
|
112
116
|
}>;
|
|
113
117
|
default: {
|
|
118
|
+
variant?: Variant;
|
|
114
119
|
showSearch?: boolean;
|
|
115
120
|
};
|
|
116
121
|
};
|
|
122
|
+
cascader: {
|
|
123
|
+
type: PropType<{
|
|
124
|
+
variant?: Variant;
|
|
125
|
+
}>;
|
|
126
|
+
default: {
|
|
127
|
+
variant?: Variant;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
117
130
|
wave: {
|
|
118
131
|
type: PropType<{
|
|
119
132
|
disabled?: boolean;
|
|
@@ -6,7 +6,7 @@ import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
6
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
7
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
8
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
9
|
-
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
|
+
import { ThemeConfig, Variant } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { LocaleType } from '../locale';
|
|
11
11
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
12
12
|
import { ViewCacheOption } from '..';
|
|
@@ -80,6 +80,9 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: any;
|
|
82
82
|
};
|
|
83
|
+
variant: {
|
|
84
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
85
|
+
};
|
|
83
86
|
dropdownMatchSelectWidth: {
|
|
84
87
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
85
88
|
default: boolean;
|
|
@@ -110,12 +113,22 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
110
113
|
};
|
|
111
114
|
select: {
|
|
112
115
|
type: PropType<{
|
|
116
|
+
variant?: Variant;
|
|
113
117
|
showSearch?: boolean;
|
|
114
118
|
}>;
|
|
115
119
|
default: {
|
|
120
|
+
variant?: Variant;
|
|
116
121
|
showSearch?: boolean;
|
|
117
122
|
};
|
|
118
123
|
};
|
|
124
|
+
cascader: {
|
|
125
|
+
type: PropType<{
|
|
126
|
+
variant?: Variant;
|
|
127
|
+
}>;
|
|
128
|
+
default: {
|
|
129
|
+
variant?: Variant;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
119
132
|
wave: {
|
|
120
133
|
type: PropType<{
|
|
121
134
|
disabled?: boolean;
|
|
@@ -237,6 +250,9 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
237
250
|
type: BooleanConstructor;
|
|
238
251
|
default: any;
|
|
239
252
|
};
|
|
253
|
+
variant: {
|
|
254
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
255
|
+
};
|
|
240
256
|
dropdownMatchSelectWidth: {
|
|
241
257
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
242
258
|
default: boolean;
|
|
@@ -267,12 +283,22 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
267
283
|
};
|
|
268
284
|
select: {
|
|
269
285
|
type: PropType<{
|
|
286
|
+
variant?: Variant;
|
|
270
287
|
showSearch?: boolean;
|
|
271
288
|
}>;
|
|
272
289
|
default: {
|
|
290
|
+
variant?: Variant;
|
|
273
291
|
showSearch?: boolean;
|
|
274
292
|
};
|
|
275
293
|
};
|
|
294
|
+
cascader: {
|
|
295
|
+
type: PropType<{
|
|
296
|
+
variant?: Variant;
|
|
297
|
+
}>;
|
|
298
|
+
default: {
|
|
299
|
+
variant?: Variant;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
276
302
|
wave: {
|
|
277
303
|
type: PropType<{
|
|
278
304
|
disabled?: boolean;
|
|
@@ -330,6 +356,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
330
356
|
autocomplete?: string;
|
|
331
357
|
};
|
|
332
358
|
select: {
|
|
359
|
+
variant?: Variant;
|
|
333
360
|
showSearch?: boolean;
|
|
334
361
|
};
|
|
335
362
|
form: {
|
|
@@ -355,6 +382,9 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
355
382
|
showSizeChanger?: boolean;
|
|
356
383
|
};
|
|
357
384
|
theme: ThemeConfig;
|
|
385
|
+
cascader: {
|
|
386
|
+
variant?: Variant;
|
|
387
|
+
};
|
|
358
388
|
wave: {
|
|
359
389
|
disabled?: boolean;
|
|
360
390
|
};
|
|
@@ -7,7 +7,7 @@ import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
7
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
8
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
9
9
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
10
|
-
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
|
+
import { ThemeConfig, Variant } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
11
11
|
import { LocaleType } from '../../locale';
|
|
12
12
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from '..';
|
|
13
13
|
import { ViewCacheOption } from '../..';
|
|
@@ -83,6 +83,9 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
83
83
|
type: BooleanConstructor;
|
|
84
84
|
default: any;
|
|
85
85
|
};
|
|
86
|
+
variant: {
|
|
87
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
88
|
+
};
|
|
86
89
|
dropdownMatchSelectWidth: {
|
|
87
90
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
88
91
|
default: boolean;
|
|
@@ -113,12 +116,22 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
113
116
|
};
|
|
114
117
|
select: {
|
|
115
118
|
type: PropType<{
|
|
119
|
+
variant?: Variant;
|
|
116
120
|
showSearch?: boolean;
|
|
117
121
|
}>;
|
|
118
122
|
default: {
|
|
123
|
+
variant?: Variant;
|
|
119
124
|
showSearch?: boolean;
|
|
120
125
|
};
|
|
121
126
|
};
|
|
127
|
+
cascader: {
|
|
128
|
+
type: PropType<{
|
|
129
|
+
variant?: Variant;
|
|
130
|
+
}>;
|
|
131
|
+
default: {
|
|
132
|
+
variant?: Variant;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
122
135
|
wave: {
|
|
123
136
|
type: PropType<{
|
|
124
137
|
disabled?: boolean;
|
|
@@ -5,7 +5,7 @@ import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
|
5
5
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
6
6
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
|
-
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
|
+
import { ThemeConfig, Variant } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
9
|
import { LocaleType } from '../locale';
|
|
10
10
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
11
11
|
import { ViewCacheOption } from '..';
|
|
@@ -85,6 +85,9 @@ export declare const APConfigProvider: {
|
|
|
85
85
|
type: BooleanConstructor;
|
|
86
86
|
default: any;
|
|
87
87
|
};
|
|
88
|
+
variant: {
|
|
89
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
90
|
+
};
|
|
88
91
|
dropdownMatchSelectWidth: {
|
|
89
92
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
90
93
|
default: boolean;
|
|
@@ -115,12 +118,22 @@ export declare const APConfigProvider: {
|
|
|
115
118
|
};
|
|
116
119
|
select: {
|
|
117
120
|
type: PropType<{
|
|
121
|
+
variant?: Variant;
|
|
118
122
|
showSearch?: boolean;
|
|
119
123
|
}>;
|
|
120
124
|
default: {
|
|
125
|
+
variant?: Variant;
|
|
121
126
|
showSearch?: boolean;
|
|
122
127
|
};
|
|
123
128
|
};
|
|
129
|
+
cascader: {
|
|
130
|
+
type: PropType<{
|
|
131
|
+
variant?: Variant;
|
|
132
|
+
}>;
|
|
133
|
+
default: {
|
|
134
|
+
variant?: Variant;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
124
137
|
wave: {
|
|
125
138
|
type: PropType<{
|
|
126
139
|
disabled?: boolean;
|
|
@@ -178,6 +191,7 @@ export declare const APConfigProvider: {
|
|
|
178
191
|
autocomplete?: string;
|
|
179
192
|
};
|
|
180
193
|
select: {
|
|
194
|
+
variant?: Variant;
|
|
181
195
|
showSearch?: boolean;
|
|
182
196
|
};
|
|
183
197
|
form: {
|
|
@@ -203,6 +217,9 @@ export declare const APConfigProvider: {
|
|
|
203
217
|
showSizeChanger?: boolean;
|
|
204
218
|
};
|
|
205
219
|
theme: ThemeConfig;
|
|
220
|
+
cascader: {
|
|
221
|
+
variant?: Variant;
|
|
222
|
+
};
|
|
206
223
|
wave: {
|
|
207
224
|
disabled?: boolean;
|
|
208
225
|
};
|
|
@@ -289,6 +306,9 @@ export declare const APConfigProvider: {
|
|
|
289
306
|
type: BooleanConstructor;
|
|
290
307
|
default: any;
|
|
291
308
|
};
|
|
309
|
+
variant: {
|
|
310
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
311
|
+
};
|
|
292
312
|
dropdownMatchSelectWidth: {
|
|
293
313
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
294
314
|
default: boolean;
|
|
@@ -319,12 +339,22 @@ export declare const APConfigProvider: {
|
|
|
319
339
|
};
|
|
320
340
|
select: {
|
|
321
341
|
type: PropType<{
|
|
342
|
+
variant?: Variant;
|
|
322
343
|
showSearch?: boolean;
|
|
323
344
|
}>;
|
|
324
345
|
default: {
|
|
346
|
+
variant?: Variant;
|
|
325
347
|
showSearch?: boolean;
|
|
326
348
|
};
|
|
327
349
|
};
|
|
350
|
+
cascader: {
|
|
351
|
+
type: PropType<{
|
|
352
|
+
variant?: Variant;
|
|
353
|
+
}>;
|
|
354
|
+
default: {
|
|
355
|
+
variant?: Variant;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
328
358
|
wave: {
|
|
329
359
|
type: PropType<{
|
|
330
360
|
disabled?: boolean;
|
|
@@ -382,6 +412,7 @@ export declare const APConfigProvider: {
|
|
|
382
412
|
autocomplete?: string;
|
|
383
413
|
};
|
|
384
414
|
select: {
|
|
415
|
+
variant?: Variant;
|
|
385
416
|
showSearch?: boolean;
|
|
386
417
|
};
|
|
387
418
|
form: {
|
|
@@ -407,6 +438,9 @@ export declare const APConfigProvider: {
|
|
|
407
438
|
showSizeChanger?: boolean;
|
|
408
439
|
};
|
|
409
440
|
theme: ThemeConfig;
|
|
441
|
+
cascader: {
|
|
442
|
+
variant?: Variant;
|
|
443
|
+
};
|
|
410
444
|
wave: {
|
|
411
445
|
disabled?: boolean;
|
|
412
446
|
};
|
|
@@ -490,6 +524,9 @@ export declare const APConfigProvider: {
|
|
|
490
524
|
type: BooleanConstructor;
|
|
491
525
|
default: any;
|
|
492
526
|
};
|
|
527
|
+
variant: {
|
|
528
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
529
|
+
};
|
|
493
530
|
dropdownMatchSelectWidth: {
|
|
494
531
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
495
532
|
default: boolean;
|
|
@@ -520,12 +557,22 @@ export declare const APConfigProvider: {
|
|
|
520
557
|
};
|
|
521
558
|
select: {
|
|
522
559
|
type: PropType<{
|
|
560
|
+
variant?: Variant;
|
|
523
561
|
showSearch?: boolean;
|
|
524
562
|
}>;
|
|
525
563
|
default: {
|
|
564
|
+
variant?: Variant;
|
|
526
565
|
showSearch?: boolean;
|
|
527
566
|
};
|
|
528
567
|
};
|
|
568
|
+
cascader: {
|
|
569
|
+
type: PropType<{
|
|
570
|
+
variant?: Variant;
|
|
571
|
+
}>;
|
|
572
|
+
default: {
|
|
573
|
+
variant?: Variant;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
529
576
|
wave: {
|
|
530
577
|
type: PropType<{
|
|
531
578
|
disabled?: boolean;
|
|
@@ -583,6 +630,7 @@ export declare const APConfigProvider: {
|
|
|
583
630
|
autocomplete?: string;
|
|
584
631
|
};
|
|
585
632
|
select: {
|
|
633
|
+
variant?: Variant;
|
|
586
634
|
showSearch?: boolean;
|
|
587
635
|
};
|
|
588
636
|
form: {
|
|
@@ -608,6 +656,9 @@ export declare const APConfigProvider: {
|
|
|
608
656
|
showSizeChanger?: boolean;
|
|
609
657
|
};
|
|
610
658
|
theme: ThemeConfig;
|
|
659
|
+
cascader: {
|
|
660
|
+
variant?: Variant;
|
|
661
|
+
};
|
|
611
662
|
wave: {
|
|
612
663
|
disabled?: boolean;
|
|
613
664
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/lib/table/interface';
|
|
2
2
|
import { ConfigProviderProps } from '@aplus-frontend/antdv';
|
|
3
|
+
import { Variant, ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
3
4
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
5
6
|
import { SizeType, CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
|
-
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
8
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
9
9
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
10
10
|
/**
|
|
@@ -39,6 +39,7 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
39
39
|
autocomplete?: string;
|
|
40
40
|
} | undefined;
|
|
41
41
|
select?: {
|
|
42
|
+
variant?: Variant;
|
|
42
43
|
showSearch?: boolean;
|
|
43
44
|
} | undefined;
|
|
44
45
|
form?: {
|
|
@@ -60,10 +61,14 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
60
61
|
showSizeChanger?: boolean;
|
|
61
62
|
} | undefined;
|
|
62
63
|
theme?: ThemeConfig | undefined;
|
|
64
|
+
cascader?: {
|
|
65
|
+
variant?: Variant;
|
|
66
|
+
} | undefined;
|
|
63
67
|
wave?: {
|
|
64
68
|
disabled?: boolean;
|
|
65
69
|
} | undefined;
|
|
66
70
|
prefixCls?: string | undefined;
|
|
71
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
67
72
|
getPopupContainer?: ((triggerNode?: HTMLElement) => HTMLElement) | undefined;
|
|
68
73
|
iconPrefixCls?: string | undefined;
|
|
69
74
|
getTargetContainer?: (() => HTMLElement | Window) | undefined;
|
|
@@ -80,6 +85,7 @@ export declare function mergeAntdProviderConfigWithCache(newConfig: ConfigProvid
|
|
|
80
85
|
autocomplete?: string;
|
|
81
86
|
} | undefined;
|
|
82
87
|
select?: {
|
|
88
|
+
variant?: Variant;
|
|
83
89
|
showSearch?: boolean;
|
|
84
90
|
} | undefined;
|
|
85
91
|
form?: {
|
|
@@ -101,10 +107,14 @@ export declare function mergeAntdProviderConfigWithCache(newConfig: ConfigProvid
|
|
|
101
107
|
showSizeChanger?: boolean;
|
|
102
108
|
} | undefined;
|
|
103
109
|
theme?: ThemeConfig | undefined;
|
|
110
|
+
cascader?: {
|
|
111
|
+
variant?: Variant;
|
|
112
|
+
} | undefined;
|
|
104
113
|
wave?: {
|
|
105
114
|
disabled?: boolean;
|
|
106
115
|
} | undefined;
|
|
107
116
|
prefixCls?: string | undefined;
|
|
117
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
108
118
|
getPopupContainer?: ((triggerNode?: HTMLElement) => HTMLElement) | undefined;
|
|
109
119
|
iconPrefixCls?: string | undefined;
|
|
110
120
|
getTargetContainer?: (() => HTMLElement | Window) | undefined;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "6.
|
|
1
|
+
declare const _default: "6.27.0";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.27.0";exports.default=e;
|
|
@@ -110,6 +110,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
110
110
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
111
111
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
112
112
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
113
|
+
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
113
114
|
readonly initialValues?: Recordable | undefined;
|
|
114
115
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
115
116
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
@@ -344,11 +345,16 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
344
345
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
345
346
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
346
347
|
};
|
|
348
|
+
variant: {
|
|
349
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
350
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
351
|
+
};
|
|
347
352
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
348
353
|
size: ButtonSize;
|
|
349
354
|
onSubmit: (e: Event) => void;
|
|
350
355
|
disabled: boolean;
|
|
351
356
|
validateTrigger: string | string[];
|
|
357
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
352
358
|
onFinish: (values: any) => void;
|
|
353
359
|
validateMessages: ValidateMessages;
|
|
354
360
|
requiredMark: "" | RequiredMark;
|
|
@@ -664,11 +670,16 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
664
670
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
665
671
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
666
672
|
};
|
|
673
|
+
variant: {
|
|
674
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
675
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
676
|
+
};
|
|
667
677
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
668
678
|
size: ButtonSize;
|
|
669
679
|
onSubmit: (e: Event) => void;
|
|
670
680
|
disabled: boolean;
|
|
671
681
|
validateTrigger: string | string[];
|
|
682
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
672
683
|
onFinish: (values: any) => void;
|
|
673
684
|
validateMessages: ValidateMessages;
|
|
674
685
|
requiredMark: "" | RequiredMark;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.27.0",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@aplus-frontend/hooks": "1.0.7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
44
|
+
"@aplus-frontend/antdv": "^1.2.5",
|
|
45
45
|
"@aplus-frontend/icon": "^1.2.6",
|
|
46
46
|
"@aplus-frontend/oss": "^1.1.2",
|
|
47
47
|
"vue": "^3.5.17",
|
|
48
48
|
"vxe-table": "^4.13.37"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
51
|
+
"@aplus-frontend/antdv": "^1.2.5",
|
|
52
52
|
"@aplus-frontend/icon": "^1.2.6",
|
|
53
53
|
"@aplus-frontend/oss": "^1.1.2",
|
|
54
54
|
"@types/sortablejs": "^1.15.8",
|
|
@@ -354,12 +354,11 @@
|
|
|
354
354
|
.aplus-pro-card-operation {
|
|
355
355
|
display: flex;
|
|
356
356
|
flex-direction: column;
|
|
357
|
-
justify-content:
|
|
358
|
-
margin-block: 24px;
|
|
357
|
+
justify-content: center;
|
|
359
358
|
margin-inline: 0;
|
|
360
359
|
font-weight: 500;
|
|
361
360
|
font-size: 20px;
|
|
362
|
-
line-height:
|
|
361
|
+
line-height: 26px;
|
|
363
362
|
}
|
|
364
363
|
.aplus-pro-card-statistic {
|
|
365
364
|
display: flex;
|
|
@@ -401,13 +400,13 @@
|
|
|
401
400
|
width: 100%;
|
|
402
401
|
}
|
|
403
402
|
.aplus-pro-card-statistic-content .ant-statistic-content {
|
|
404
|
-
font-size:
|
|
403
|
+
font-size: 20px;
|
|
405
404
|
line-height: 24px;
|
|
406
405
|
font-weight: bold;
|
|
407
|
-
font-family: DDinBold, OPPOSans, sans-serif;
|
|
408
406
|
}
|
|
409
407
|
.aplus-pro-card-statistic-description {
|
|
410
408
|
width: 100%;
|
|
409
|
+
margin-top: 4px;
|
|
411
410
|
}
|
|
412
411
|
.aplus-pro-card-statistic .ant-statistic-title {
|
|
413
412
|
color: var(--ap-text-color-1);
|
|
@@ -420,6 +419,7 @@
|
|
|
420
419
|
}
|
|
421
420
|
.aplus-pro-card-statistic-size-small .ant-statistic-content {
|
|
422
421
|
font-size: 16px;
|
|
422
|
+
line-height: 22px;
|
|
423
423
|
}
|
|
424
424
|
.aplus-pro-card-statistic-trend-up .ant-statistic-content {
|
|
425
425
|
color: var(--ap-color-error);
|
|
@@ -228,12 +228,11 @@
|
|
|
228
228
|
.b(pro-card-operation, {
|
|
229
229
|
display: flex;
|
|
230
230
|
flex-direction: column;
|
|
231
|
-
justify-content:
|
|
232
|
-
margin-block: 24px;
|
|
231
|
+
justify-content: center;
|
|
233
232
|
margin-inline: 0;
|
|
234
233
|
font-weight: 500;
|
|
235
234
|
font-size: 20px;
|
|
236
|
-
line-height:
|
|
235
|
+
line-height: 26px;
|
|
237
236
|
});
|
|
238
237
|
|
|
239
238
|
.b(pro-card-statistic, {
|
|
@@ -274,14 +273,14 @@
|
|
|
274
273
|
&-content {
|
|
275
274
|
width: 100%;
|
|
276
275
|
.ant-statistic-content {
|
|
277
|
-
font-size:
|
|
276
|
+
font-size: 20px;
|
|
278
277
|
line-height: 24px;
|
|
279
278
|
font-weight: bold;
|
|
280
|
-
font-family: DDinBold,OPPOSans,sans-serif;
|
|
281
279
|
}
|
|
282
280
|
}
|
|
283
281
|
&-description {
|
|
284
282
|
width: 100%;
|
|
283
|
+
margin-top: 4px;
|
|
285
284
|
}
|
|
286
285
|
.ant-statistic-title {
|
|
287
286
|
color: var(--ap-text-color-1);
|
|
@@ -295,6 +294,7 @@
|
|
|
295
294
|
}
|
|
296
295
|
.ant-statistic-content {
|
|
297
296
|
font-size: 16px;
|
|
297
|
+
line-height: 22px;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
&-trend-up {
|
|
@@ -68,10 +68,9 @@
|
|
|
68
68
|
}
|
|
69
69
|
.aplus-ap-value-select-card-list-item-close {
|
|
70
70
|
position: absolute;
|
|
71
|
-
top:
|
|
72
|
-
right:
|
|
71
|
+
top: 8px;
|
|
72
|
+
right: 10px;
|
|
73
73
|
z-index: 1;
|
|
74
|
-
padding: 4px;
|
|
75
74
|
color: var(--ap-text-color-3);
|
|
76
75
|
font-size: 14px;
|
|
77
76
|
cursor: pointer;
|
|
@@ -146,7 +145,7 @@
|
|
|
146
145
|
align-items: center;
|
|
147
146
|
margin-bottom: 12px;
|
|
148
147
|
color: #526a90;
|
|
149
|
-
font-size:
|
|
148
|
+
font-size: 12px;
|
|
150
149
|
}
|
|
151
150
|
.aplus-ap-value-select-card-title-icon {
|
|
152
151
|
margin-right: 4px;
|
|
@@ -28,10 +28,9 @@
|
|
|
28
28
|
|
|
29
29
|
&-close {
|
|
30
30
|
position: absolute;
|
|
31
|
-
top:
|
|
32
|
-
right:
|
|
31
|
+
top: 8px;
|
|
32
|
+
right: 10px;
|
|
33
33
|
z-index: 1;
|
|
34
|
-
padding: 4px;
|
|
35
34
|
color: var(--ap-text-color-3);
|
|
36
35
|
font-size: @font-size-lg;
|
|
37
36
|
cursor: pointer;
|
|
@@ -127,7 +126,7 @@
|
|
|
127
126
|
align-items: center;
|
|
128
127
|
margin-bottom: 12px;
|
|
129
128
|
color: #526a90;
|
|
130
|
-
font-size: @font-size-
|
|
129
|
+
font-size: @font-size-base;
|
|
131
130
|
|
|
132
131
|
&-icon {
|
|
133
132
|
margin-right: 4px;
|
package/theme/index.css
CHANGED
|
@@ -4407,10 +4407,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4407
4407
|
}
|
|
4408
4408
|
.aplus-ap-value-select-card-list-item-close {
|
|
4409
4409
|
position: absolute;
|
|
4410
|
-
top:
|
|
4411
|
-
right:
|
|
4410
|
+
top: 8px;
|
|
4411
|
+
right: 10px;
|
|
4412
4412
|
z-index: 1;
|
|
4413
|
-
padding: 4px;
|
|
4414
4413
|
color: var(--ap-text-color-3);
|
|
4415
4414
|
font-size: 14px;
|
|
4416
4415
|
cursor: pointer;
|
|
@@ -4485,7 +4484,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4485
4484
|
align-items: center;
|
|
4486
4485
|
margin-bottom: 12px;
|
|
4487
4486
|
color: #526a90;
|
|
4488
|
-
font-size:
|
|
4487
|
+
font-size: 12px;
|
|
4489
4488
|
}
|
|
4490
4489
|
.aplus-ap-value-select-card-title-icon {
|
|
4491
4490
|
margin-right: 4px;
|
|
@@ -4811,12 +4810,11 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4811
4810
|
.aplus-pro-card-operation {
|
|
4812
4811
|
display: flex;
|
|
4813
4812
|
flex-direction: column;
|
|
4814
|
-
justify-content:
|
|
4815
|
-
margin-block: 24px;
|
|
4813
|
+
justify-content: center;
|
|
4816
4814
|
margin-inline: 0;
|
|
4817
4815
|
font-weight: 500;
|
|
4818
4816
|
font-size: 20px;
|
|
4819
|
-
line-height:
|
|
4817
|
+
line-height: 26px;
|
|
4820
4818
|
}
|
|
4821
4819
|
.aplus-pro-card-statistic {
|
|
4822
4820
|
display: flex;
|
|
@@ -4858,13 +4856,13 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4858
4856
|
width: 100%;
|
|
4859
4857
|
}
|
|
4860
4858
|
.aplus-pro-card-statistic-content .ant-statistic-content {
|
|
4861
|
-
font-size:
|
|
4859
|
+
font-size: 20px;
|
|
4862
4860
|
line-height: 24px;
|
|
4863
4861
|
font-weight: bold;
|
|
4864
|
-
font-family: DDinBold, OPPOSans, sans-serif;
|
|
4865
4862
|
}
|
|
4866
4863
|
.aplus-pro-card-statistic-description {
|
|
4867
4864
|
width: 100%;
|
|
4865
|
+
margin-top: 4px;
|
|
4868
4866
|
}
|
|
4869
4867
|
.aplus-pro-card-statistic .ant-statistic-title {
|
|
4870
4868
|
color: var(--ap-text-color-1);
|
|
@@ -4877,6 +4875,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4877
4875
|
}
|
|
4878
4876
|
.aplus-pro-card-statistic-size-small .ant-statistic-content {
|
|
4879
4877
|
font-size: 16px;
|
|
4878
|
+
line-height: 22px;
|
|
4880
4879
|
}
|
|
4881
4880
|
.aplus-pro-card-statistic-trend-up .ant-statistic-content {
|
|
4882
4881
|
color: var(--ap-color-error);
|