@qqt-product/ui 16.0.7 → 16.0.8
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/dist/index.es.js +28719 -28570
- package/dist/index.umd.js +112 -112
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +4 -0
- package/dist/lib/components/layout/index.d.ts +1 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +1 -0
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -0
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -0
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/index.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +1 -1
- package/dist/lib/components/page-layout/index.d.ts +1 -0
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -0
- package/dist/lib/components/select/index.d.ts +2 -3
- package/dist/lib/components/select/src/select.vue.d.ts +2 -3
- package/dist/lib/components/upload-image/index.d.ts +5 -37
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -35
- package/dist/lib/components/vxe-select/index.d.ts +1 -2
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +2 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/lib/components/remote-select/index.d.ts +0 -83
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +0 -79
|
@@ -361,9 +361,11 @@ export interface FormFieldsItem {
|
|
|
361
361
|
fieldLabel: string;
|
|
362
362
|
fieldName: string;
|
|
363
363
|
helpText?: string;
|
|
364
|
+
disabled?: boolean;
|
|
364
365
|
required?: '0' | '1';
|
|
365
366
|
regex?: RegExp;
|
|
366
367
|
alertMsg?: string;
|
|
368
|
+
options?: RecordString[];
|
|
367
369
|
callback?: (ctx: ComponentInternalInstance | null, payload: Payload) => void;
|
|
368
370
|
[key: string]: unknown;
|
|
369
371
|
}
|
|
@@ -374,9 +376,11 @@ export interface ColumnItem {
|
|
|
374
376
|
field: string;
|
|
375
377
|
fieldType?: string;
|
|
376
378
|
helpText?: string;
|
|
379
|
+
disabled?: boolean;
|
|
377
380
|
required?: '0' | '1';
|
|
378
381
|
regex?: string | RegExp;
|
|
379
382
|
alertMsg?: string;
|
|
383
|
+
options?: RecordString[];
|
|
380
384
|
callback?: (ctx: SetupContext, payload: VxePayload) => void;
|
|
381
385
|
[key: string]: unknown;
|
|
382
386
|
}
|
|
@@ -261,6 +261,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
261
261
|
};
|
|
262
262
|
}, {
|
|
263
263
|
imgRef: Ref<any>;
|
|
264
|
+
showTitle: Ref<boolean>;
|
|
264
265
|
onImageLoad: () => void;
|
|
265
266
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
266
267
|
title: {
|
|
@@ -258,6 +258,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
258
258
|
};
|
|
259
259
|
}, {
|
|
260
260
|
imgRef: Ref<any>;
|
|
261
|
+
showTitle: Ref<boolean>;
|
|
261
262
|
onImageLoad: () => void;
|
|
262
263
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
263
264
|
title: {
|
|
@@ -126,6 +126,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
126
126
|
};
|
|
127
127
|
}, {
|
|
128
128
|
imgRef: Ref<any>;
|
|
129
|
+
showTitle: Ref<boolean>;
|
|
129
130
|
onImageLoad: () => void;
|
|
130
131
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
131
132
|
title: {
|
|
@@ -17,6 +17,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
19
|
imgRef: Ref<any>;
|
|
20
|
+
showTitle: Ref<boolean>;
|
|
20
21
|
onImageLoad: () => void;
|
|
21
22
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
22
23
|
title: {
|
|
@@ -276,7 +276,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
276
276
|
fieldCode?: string | undefined;
|
|
277
277
|
dictCode?: string | undefined;
|
|
278
278
|
fieldType?: string | undefined;
|
|
279
|
-
fieldValue?:
|
|
279
|
+
fieldValue?: unknown;
|
|
280
280
|
showValue?: string | number | undefined;
|
|
281
281
|
joiner?: string | number | undefined;
|
|
282
282
|
dictTable?: string | number | undefined;
|
|
@@ -75,6 +75,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
75
75
|
selectValue: Ref<string>;
|
|
76
76
|
selectedKeys: Ref<any>;
|
|
77
77
|
fieldListIndex: Ref<string | number>;
|
|
78
|
+
cacheLogicSymbol: Ref<string | undefined>;
|
|
79
|
+
cacheItem: Ref<QueryParamsItem>;
|
|
78
80
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("close" | "callback" | "handleSuperQuery" | "synQueryParams" | "queryParamsModelLength")[], "close" | "callback" | "handleSuperQuery" | "synQueryParams" | "queryParamsModelLength", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
79
81
|
tableCode: {
|
|
80
82
|
type: StringConstructor;
|
|
@@ -269,7 +269,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
269
269
|
fieldCode?: string | undefined;
|
|
270
270
|
dictCode?: string | undefined;
|
|
271
271
|
fieldType?: string | undefined;
|
|
272
|
-
fieldValue?:
|
|
272
|
+
fieldValue?: unknown;
|
|
273
273
|
showValue?: string | number | undefined;
|
|
274
274
|
joiner?: string | number | undefined;
|
|
275
275
|
dictTable?: string | number | undefined;
|
|
@@ -356,7 +356,7 @@ export interface QueryParamsItem {
|
|
|
356
356
|
fieldCode?: string;
|
|
357
357
|
dictCode?: string;
|
|
358
358
|
fieldType?: string;
|
|
359
|
-
fieldValue?: string | number;
|
|
359
|
+
fieldValue?: string | number | unknown;
|
|
360
360
|
showValue?: string | number;
|
|
361
361
|
joiner?: string | number;
|
|
362
362
|
dictTable?: string | number;
|
|
@@ -23,6 +23,7 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
|
|
|
23
23
|
pageData: Ref<RecordString>;
|
|
24
24
|
loading: Ref<boolean>;
|
|
25
25
|
layoutLoading: Ref<boolean>;
|
|
26
|
+
isFinishConfig: Ref<boolean>;
|
|
26
27
|
customLoading: Readonly<Ref<boolean>>;
|
|
27
28
|
currentRow: CurrentRow;
|
|
28
29
|
fileVisible: Ref<boolean>;
|
|
@@ -12,6 +12,7 @@ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
|
|
|
12
12
|
pageData: Ref<RecordString>;
|
|
13
13
|
loading: Ref<boolean>;
|
|
14
14
|
layoutLoading: Ref<boolean>;
|
|
15
|
+
isFinishConfig: Ref<boolean>;
|
|
15
16
|
customLoading: Readonly<Ref<boolean>>;
|
|
16
17
|
currentRow: CurrentRow;
|
|
17
18
|
fileVisible: Ref<boolean>;
|
|
@@ -38,16 +38,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
38
38
|
classes: ComputedRef<{
|
|
39
39
|
[key: string]: string | boolean;
|
|
40
40
|
}>;
|
|
41
|
-
realValue: Ref<string | string[]
|
|
41
|
+
realValue: Ref<string | string[]>;
|
|
42
42
|
mode: ComputedRef<string>;
|
|
43
43
|
options: Ref<{
|
|
44
|
-
|
|
44
|
+
label: string;
|
|
45
45
|
title: string;
|
|
46
46
|
value: string;
|
|
47
47
|
id: string;
|
|
48
48
|
textI18nKey: string;
|
|
49
49
|
children?: unknown[] | undefined;
|
|
50
|
-
label: string;
|
|
51
50
|
}[]>;
|
|
52
51
|
dictCode: Ref<string>;
|
|
53
52
|
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
@@ -34,16 +34,15 @@ declare const _sfc_main: DefineComponent<{
|
|
|
34
34
|
classes: ComputedRef<{
|
|
35
35
|
[key: string]: string | boolean;
|
|
36
36
|
}>;
|
|
37
|
-
realValue: Ref<string | string[]
|
|
37
|
+
realValue: Ref<string | string[]>;
|
|
38
38
|
mode: ComputedRef<string>;
|
|
39
39
|
options: Ref<{
|
|
40
|
-
|
|
40
|
+
label: string;
|
|
41
41
|
title: string;
|
|
42
42
|
value: string;
|
|
43
43
|
id: string;
|
|
44
44
|
textI18nKey: string;
|
|
45
45
|
children?: unknown[] | undefined;
|
|
46
|
-
label: string;
|
|
47
46
|
}[]>;
|
|
48
47
|
dictCode: Ref<string>;
|
|
49
48
|
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RegisterFn } from '../modal';
|
|
2
|
+
import type { SrmI18n } from '../../utils/type';
|
|
2
3
|
import type { UploadFiles } from './src/upload-image-type';
|
|
3
4
|
import type { UploadFile } from 'ant-design-vue';
|
|
4
|
-
import type { SrmI18n } from '../../utils/type';
|
|
5
|
-
import type { Request } from '@qqt-product/api/dist/utils/request';
|
|
6
5
|
import type { UploadFileStatus, FileType } from 'ant-design-vue/es/upload/interface';
|
|
7
|
-
import type { RegisterFn } from '../modal';
|
|
8
|
-
import type { RecordString } from '../select-modal';
|
|
9
|
-
import type { EditPageLayoutProps, CurrentRow } from '../edit-page-layout';
|
|
10
6
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
11
7
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
12
8
|
import QUploadImage from './src/upload-image.vue';
|
|
@@ -62,14 +58,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
62
58
|
default: unknown;
|
|
63
59
|
};
|
|
64
60
|
}, {
|
|
65
|
-
props: any;
|
|
66
|
-
emit: (event: "change" | "update:value", ...args: any[]) => void;
|
|
67
|
-
layoutProps: EditPageLayoutProps;
|
|
68
|
-
currentRow: Ref<CurrentRow>;
|
|
69
|
-
headId: Ref<string>;
|
|
70
|
-
pageData: Ref<RecordString>;
|
|
71
|
-
register: RegisterFn;
|
|
72
|
-
openModal: <T = any>(props?: boolean | undefined, data?: T | undefined, openOnSet?: boolean | undefined) => void;
|
|
73
61
|
state: {
|
|
74
62
|
previewVisible: boolean;
|
|
75
63
|
previewImage: string;
|
|
@@ -160,34 +148,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
160
148
|
};
|
|
161
149
|
multiple: Ref<boolean>;
|
|
162
150
|
limit: Ref<number>;
|
|
163
|
-
uploadImageData: Ref<Record<string, any>>;
|
|
164
151
|
accept: Ref<string>;
|
|
165
|
-
actionRoutePath: Ref<string>;
|
|
166
|
-
sourceNumber: Ref<string>;
|
|
167
|
-
businessType: any;
|
|
168
|
-
Request: Request;
|
|
169
|
-
srmI18n: SrmI18n;
|
|
170
152
|
uploadStatues: Ref<boolean>;
|
|
171
|
-
uploadNumber: Ref<number>;
|
|
172
|
-
handleUploadImage: () => void;
|
|
173
153
|
beforeUpload: (file: UploadFile<any>, uploadFiles: UploadFile<any>[]) => boolean;
|
|
154
|
+
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
174
155
|
handlePreview: (file: UploadFiles) => Promise<void>;
|
|
175
|
-
handleItemRemove: (file: any) => void;
|
|
176
156
|
isImageUrlFun: () => boolean;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
readonly url: {
|
|
180
|
-
readonly type: PropType<string>;
|
|
181
|
-
};
|
|
182
|
-
}, {
|
|
183
|
-
url: Ref<string | undefined> | undefined;
|
|
184
|
-
register: RegisterFn;
|
|
185
|
-
handleOnload: () => void;
|
|
186
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
187
|
-
readonly url: {
|
|
188
|
-
readonly type: PropType<string>;
|
|
189
|
-
};
|
|
190
|
-
}>>, {}, {}>;
|
|
157
|
+
srmI18n: SrmI18n;
|
|
158
|
+
register: RegisterFn;
|
|
191
159
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
192
160
|
readonly value: {
|
|
193
161
|
readonly type: StringConstructor;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RegisterFn } from '../../modal';
|
|
2
2
|
import type { SrmI18n } from '../../../utils/type';
|
|
3
3
|
import type { UploadFileStatus, FileType } from 'ant-design-vue/es/upload/interface';
|
|
4
|
-
import type { RegisterFn } from '../../modal';
|
|
5
|
-
import type { EditPageLayoutProps, CurrentRow, RecordString } from '../../edit-page-layout';
|
|
6
4
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
7
5
|
import { UploadFiles } from './upload-image-type';
|
|
8
6
|
import type { UploadFile } from 'ant-design-vue';
|
|
9
|
-
import qqtApi from '@qqt-product/api';
|
|
10
7
|
declare const _sfc_main: DefineComponent<{
|
|
11
8
|
readonly value: {
|
|
12
9
|
readonly type: StringConstructor;
|
|
@@ -57,14 +54,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
57
54
|
default: unknown;
|
|
58
55
|
};
|
|
59
56
|
}, {
|
|
60
|
-
props: any;
|
|
61
|
-
emit: (event: "change" | "update:value", ...args: any[]) => void;
|
|
62
|
-
layoutProps: EditPageLayoutProps;
|
|
63
|
-
currentRow: Ref<CurrentRow>;
|
|
64
|
-
headId: Ref<string>;
|
|
65
|
-
pageData: Ref<RecordString>;
|
|
66
|
-
register: RegisterFn;
|
|
67
|
-
openModal: <T = any>(props?: boolean | undefined, data?: T | undefined, openOnSet?: boolean | undefined) => void;
|
|
68
57
|
state: {
|
|
69
58
|
previewVisible: boolean;
|
|
70
59
|
previewImage: string;
|
|
@@ -155,34 +144,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
155
144
|
};
|
|
156
145
|
multiple: Ref<boolean>;
|
|
157
146
|
limit: Ref<number>;
|
|
158
|
-
uploadImageData: Ref<Record<string, any>>;
|
|
159
147
|
accept: Ref<string>;
|
|
160
|
-
actionRoutePath: Ref<string>;
|
|
161
|
-
sourceNumber: Ref<string>;
|
|
162
|
-
businessType: any;
|
|
163
|
-
Request: qqtApi.Request;
|
|
164
|
-
srmI18n: SrmI18n;
|
|
165
148
|
uploadStatues: Ref<boolean>;
|
|
166
|
-
uploadNumber: Ref<number>;
|
|
167
|
-
handleUploadImage: () => void;
|
|
168
149
|
beforeUpload: (file: UploadFile, uploadFiles: UploadFile[]) => boolean;
|
|
150
|
+
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
169
151
|
handlePreview: (file: UploadFiles) => Promise<void>;
|
|
170
|
-
handleItemRemove: (file: any) => void;
|
|
171
152
|
isImageUrlFun: () => boolean;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
readonly url: {
|
|
175
|
-
readonly type: PropType<string>;
|
|
176
|
-
};
|
|
177
|
-
}, {
|
|
178
|
-
url: Ref<string | undefined> | undefined;
|
|
179
|
-
register: RegisterFn;
|
|
180
|
-
handleOnload: () => void;
|
|
181
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
182
|
-
readonly url: {
|
|
183
|
-
readonly type: PropType<string>;
|
|
184
|
-
};
|
|
185
|
-
}>>, {}, {}>;
|
|
153
|
+
srmI18n: SrmI18n;
|
|
154
|
+
register: RegisterFn;
|
|
186
155
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
187
156
|
readonly value: {
|
|
188
157
|
readonly type: StringConstructor;
|
|
@@ -56,13 +56,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
56
56
|
placeholder: string;
|
|
57
57
|
multiple: boolean;
|
|
58
58
|
options: Ref<{
|
|
59
|
-
|
|
59
|
+
label: string;
|
|
60
60
|
title: string;
|
|
61
61
|
value: string;
|
|
62
62
|
id: string;
|
|
63
63
|
textI18nKey: string;
|
|
64
64
|
children?: unknown[] | undefined;
|
|
65
|
-
label: string;
|
|
66
65
|
}[]>;
|
|
67
66
|
onChange: ({ value }: {
|
|
68
67
|
value: string | string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SelectOption, VxeSelectProps } from './vxe-select-types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
readonly modelValue: {
|
|
5
5
|
readonly type: StringConstructor;
|
|
@@ -52,13 +52,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
52
52
|
placeholder: string;
|
|
53
53
|
multiple: boolean;
|
|
54
54
|
options: Ref<{
|
|
55
|
-
|
|
55
|
+
label: string;
|
|
56
56
|
title: string;
|
|
57
57
|
value: string;
|
|
58
58
|
id: string;
|
|
59
59
|
textI18nKey: string;
|
|
60
60
|
children?: unknown[] | undefined;
|
|
61
|
-
label: string;
|
|
62
61
|
}[]>;
|
|
63
62
|
onChange: ({ value }: {
|
|
64
63
|
value: string | string[];
|