@qqt-product/ui 12.0.4 → 13.0.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/dist/index.es.js +11581 -11595
- package/dist/index.umd.js +92 -92
- package/dist/lib/components/detail-page-layout/index.d.ts +4 -4
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +4 -4
- package/dist/lib/components/edit-page-layout/index.d.ts +4 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +2 -3
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +4 -4
- package/dist/lib/components/layout/index.d.ts +0 -1
- package/dist/lib/components/layout/src/index.vue.d.ts +0 -1
- package/dist/lib/components/layout/src/types.d.ts +0 -1
- package/dist/lib/components/layout-pattern/index.d.ts +2 -2
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
- package/dist/lib/components/upload-file/index.d.ts +4 -4
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +2 -2
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +4 -4
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RecordString } from '../select-modal';
|
|
2
|
-
import type {
|
|
2
|
+
import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, ComputedFormFieldsItem } from '../edit-page-layout';
|
|
3
3
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
5
|
import QDetailPageLayout from './src/detail-page-layout.vue';
|
|
@@ -22,7 +22,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
role: {
|
|
25
|
-
type: PropType<
|
|
25
|
+
type: PropType<string>;
|
|
26
26
|
default: string;
|
|
27
27
|
validator: typeof roleValidator;
|
|
28
28
|
};
|
|
@@ -133,7 +133,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
133
133
|
default: string;
|
|
134
134
|
};
|
|
135
135
|
role: {
|
|
136
|
-
type: PropType<
|
|
136
|
+
type: PropType<string>;
|
|
137
137
|
default: string;
|
|
138
138
|
validator: typeof roleValidator;
|
|
139
139
|
};
|
|
@@ -222,7 +222,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
222
222
|
isDetail: boolean;
|
|
223
223
|
showPageHeader: boolean;
|
|
224
224
|
showLayoutAnchor: boolean;
|
|
225
|
-
role:
|
|
225
|
+
role: string;
|
|
226
226
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
227
227
|
localConfig: Partial<RemoteConfig>;
|
|
228
228
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, ComputedFormFieldsItem } from '../../edit-page-layout';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
showPageHeader: {
|
|
5
5
|
type: PropType<boolean>;
|
|
@@ -18,7 +18,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
role: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<string>;
|
|
22
22
|
default: string;
|
|
23
23
|
validator: typeof roleValidator;
|
|
24
24
|
};
|
|
@@ -129,7 +129,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
129
129
|
default: string;
|
|
130
130
|
};
|
|
131
131
|
role: {
|
|
132
|
-
type: PropType<
|
|
132
|
+
type: PropType<string>;
|
|
133
133
|
default: string;
|
|
134
134
|
validator: typeof roleValidator;
|
|
135
135
|
};
|
|
@@ -218,7 +218,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
218
218
|
isDetail: boolean;
|
|
219
219
|
showPageHeader: boolean;
|
|
220
220
|
showLayoutAnchor: boolean;
|
|
221
|
-
role:
|
|
221
|
+
role: string;
|
|
222
222
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
223
223
|
localConfig: Partial<RemoteConfig>;
|
|
224
224
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, ComputedFormFieldsItem } from './src/edit-page-layout-types';
|
|
2
2
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
4
|
import QEditPageLayout from './src/edit-page-layout.vue';
|
|
@@ -23,7 +23,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
role: {
|
|
26
|
-
type: PropType<
|
|
26
|
+
type: PropType<string>;
|
|
27
27
|
default: string;
|
|
28
28
|
validator: typeof roleValidator;
|
|
29
29
|
};
|
|
@@ -134,7 +134,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
134
134
|
default: string;
|
|
135
135
|
};
|
|
136
136
|
role: {
|
|
137
|
-
type: PropType<
|
|
137
|
+
type: PropType<string>;
|
|
138
138
|
default: string;
|
|
139
139
|
validator: typeof roleValidator;
|
|
140
140
|
};
|
|
@@ -223,7 +223,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
223
223
|
isDetail: boolean;
|
|
224
224
|
showPageHeader: boolean;
|
|
225
225
|
showLayoutAnchor: boolean;
|
|
226
|
-
role:
|
|
226
|
+
role: string;
|
|
227
227
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
228
228
|
localConfig: Partial<RemoteConfig>;
|
|
229
229
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
@@ -33,7 +33,7 @@ export interface DictCodeItem {
|
|
|
33
33
|
value: string;
|
|
34
34
|
[key: string]: unknown;
|
|
35
35
|
}
|
|
36
|
-
export type Role =
|
|
36
|
+
export type Role = string;
|
|
37
37
|
export declare function roleValidator(pattern: string): boolean;
|
|
38
38
|
export type GroupType = 'head' | 'item';
|
|
39
39
|
export type Pattern = 'vertical' | 'tab' | 'master';
|
|
@@ -134,7 +134,6 @@ export interface PageButtonDeleteFileRow extends Omit<PageButton, 'args'> {
|
|
|
134
134
|
};
|
|
135
135
|
groupCode: string;
|
|
136
136
|
ids: string[];
|
|
137
|
-
attachmentIds?: string[];
|
|
138
137
|
rows: RecordString[];
|
|
139
138
|
}
|
|
140
139
|
export type ValidateStatus = 'success' | 'fail' | 'unset';
|
|
@@ -451,7 +450,7 @@ export declare const editPageLayoutProps: {
|
|
|
451
450
|
default: string;
|
|
452
451
|
};
|
|
453
452
|
role: {
|
|
454
|
-
type: PropType<
|
|
453
|
+
type: PropType<string>;
|
|
455
454
|
default: string;
|
|
456
455
|
validator: typeof roleValidator;
|
|
457
456
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, ComputedFormFieldsItem } from './edit-page-layout-types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
showPageHeader: {
|
|
5
5
|
type: PropType<boolean>;
|
|
@@ -18,7 +18,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
role: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<string>;
|
|
22
22
|
default: string;
|
|
23
23
|
validator: typeof roleValidator;
|
|
24
24
|
};
|
|
@@ -129,7 +129,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
129
129
|
default: string;
|
|
130
130
|
};
|
|
131
131
|
role: {
|
|
132
|
-
type: PropType<
|
|
132
|
+
type: PropType<string>;
|
|
133
133
|
default: string;
|
|
134
134
|
validator: typeof roleValidator;
|
|
135
135
|
};
|
|
@@ -218,7 +218,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
218
218
|
isDetail: boolean;
|
|
219
219
|
showPageHeader: boolean;
|
|
220
220
|
showLayoutAnchor: boolean;
|
|
221
|
-
role:
|
|
221
|
+
role: string;
|
|
222
222
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
223
223
|
localConfig: Partial<RemoteConfig>;
|
|
224
224
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
@@ -114,7 +114,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
114
114
|
chatDragging: Ref<boolean>;
|
|
115
115
|
chatDraggingPositionX: Ref<number>;
|
|
116
116
|
chatDraggingPositionY: Ref<number | null>;
|
|
117
|
-
showAiKnowledgeBase: Ref<boolean>;
|
|
118
117
|
secondMenuShow: Ref<boolean>;
|
|
119
118
|
siderRef: Ref<any>;
|
|
120
119
|
menuSelect: (obj: any) => void;
|
|
@@ -111,7 +111,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
111
111
|
chatDragging: Ref<boolean>;
|
|
112
112
|
chatDraggingPositionX: Ref<number>;
|
|
113
113
|
chatDraggingPositionY: Ref<number | null>;
|
|
114
|
-
showAiKnowledgeBase: Ref<boolean>;
|
|
115
114
|
secondMenuShow: Ref<boolean>;
|
|
116
115
|
siderRef: Ref<any>;
|
|
117
116
|
menuSelect: (obj: any) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ObjectMap } from '../list-page-layout';
|
|
2
2
|
import type { RecordString } from '../select-modal';
|
|
3
|
-
import type { Pattern, LayoutConfig, ComputedFormFieldsItem, CurrentRow,
|
|
3
|
+
import type { Pattern, LayoutConfig, ComputedFormFieldsItem, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload } from '../edit-page-layout';
|
|
4
4
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
6
6
|
import QPageLayoutMode from './src/layout-pattern.vue';
|
|
@@ -54,7 +54,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
54
|
subAccount: string;
|
|
55
55
|
serivceUrl: string;
|
|
56
56
|
} | undefined;
|
|
57
|
-
readonly role?:
|
|
57
|
+
readonly role?: string | undefined;
|
|
58
58
|
readonly property?: string | undefined;
|
|
59
59
|
readonly defaultFileType?: string | undefined;
|
|
60
60
|
readonly requiredFileType?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ObjectMap } from '../../list-page-layout';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import type { LayoutConfig, CurrentRow,
|
|
3
|
+
import type { LayoutConfig, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, ComputedFormFieldsItem, Pattern } from '../../edit-page-layout';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
title: {
|
|
6
6
|
type: PropType<string>;
|
|
@@ -49,7 +49,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
49
49
|
subAccount: string;
|
|
50
50
|
serivceUrl: string;
|
|
51
51
|
} | undefined;
|
|
52
|
-
readonly role?:
|
|
52
|
+
readonly role?: string | undefined;
|
|
53
53
|
readonly property?: string | undefined;
|
|
54
54
|
readonly defaultFileType?: string | undefined;
|
|
55
55
|
readonly requiredFileType?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/inter
|
|
|
5
5
|
import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
|
|
6
6
|
import type { RecordString } from '../select-modal';
|
|
7
7
|
import type { Data, FileTypeList } from './src/upload-file-types';
|
|
8
|
-
import type { UserInfo,
|
|
8
|
+
import type { UserInfo, CurrentRow } from '../edit-page-layout';
|
|
9
9
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
10
10
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
11
11
|
import QUploadFile from './src/upload-file.vue';
|
|
@@ -68,7 +68,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
68
68
|
readonly default: false;
|
|
69
69
|
};
|
|
70
70
|
readonly role: {
|
|
71
|
-
readonly type: PropType<
|
|
71
|
+
readonly type: PropType<string>;
|
|
72
72
|
readonly default: "purchase";
|
|
73
73
|
};
|
|
74
74
|
readonly action: {
|
|
@@ -305,7 +305,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
305
305
|
readonly default: false;
|
|
306
306
|
};
|
|
307
307
|
readonly role: {
|
|
308
|
-
readonly type: PropType<
|
|
308
|
+
readonly type: PropType<string>;
|
|
309
309
|
readonly default: "purchase";
|
|
310
310
|
};
|
|
311
311
|
readonly action: {
|
|
@@ -380,7 +380,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
380
380
|
readonly accept: string;
|
|
381
381
|
readonly dictCode: string;
|
|
382
382
|
readonly userInfo: UserInfo;
|
|
383
|
-
readonly role:
|
|
383
|
+
readonly role: string;
|
|
384
384
|
readonly property: string;
|
|
385
385
|
readonly defaultFileType: string;
|
|
386
386
|
readonly requiredFileType: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UserInfo, CurrentRow, ColumnItem, LayoutConfig, RecordString } from '../../edit-page-layout';
|
|
3
3
|
import type { UploadFile } from 'ant-design-vue';
|
|
4
4
|
export interface InitializeConfig {
|
|
5
5
|
groupCode: string;
|
|
@@ -109,7 +109,7 @@ export declare const uploadFilesProps: {
|
|
|
109
109
|
readonly default: false;
|
|
110
110
|
};
|
|
111
111
|
readonly role: {
|
|
112
|
-
readonly type: PropType<
|
|
112
|
+
readonly type: PropType<string>;
|
|
113
113
|
readonly default: "purchase";
|
|
114
114
|
};
|
|
115
115
|
readonly action: {
|
|
@@ -5,7 +5,7 @@ import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
|
|
|
5
5
|
import type { Data, FileTypeList } from './upload-file-types';
|
|
6
6
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
7
7
|
import type { UploadFile } from 'ant-design-vue';
|
|
8
|
-
import type { UserInfo,
|
|
8
|
+
import type { UserInfo, CurrentRow, RecordString } from '../../edit-page-layout';
|
|
9
9
|
declare const _sfc_main: DefineComponent<{
|
|
10
10
|
readonly visible: {
|
|
11
11
|
readonly type: BooleanConstructor;
|
|
@@ -60,7 +60,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
60
60
|
readonly default: false;
|
|
61
61
|
};
|
|
62
62
|
readonly role: {
|
|
63
|
-
readonly type: PropType<
|
|
63
|
+
readonly type: PropType<string>;
|
|
64
64
|
readonly default: "purchase";
|
|
65
65
|
};
|
|
66
66
|
readonly action: {
|
|
@@ -297,7 +297,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
297
297
|
readonly default: false;
|
|
298
298
|
};
|
|
299
299
|
readonly role: {
|
|
300
|
-
readonly type: PropType<
|
|
300
|
+
readonly type: PropType<string>;
|
|
301
301
|
readonly default: "purchase";
|
|
302
302
|
};
|
|
303
303
|
readonly action: {
|
|
@@ -372,7 +372,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
372
372
|
readonly accept: string;
|
|
373
373
|
readonly dictCode: string;
|
|
374
374
|
readonly userInfo: UserInfo;
|
|
375
|
-
readonly role:
|
|
375
|
+
readonly role: string;
|
|
376
376
|
readonly property: string;
|
|
377
377
|
readonly defaultFileType: string;
|
|
378
378
|
readonly requiredFileType: boolean;
|