@qqt-product/ui 8.0.0 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +27336 -27207
- package/dist/index.umd.js +105 -105
- package/dist/lib/components/audit-modal/index.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +1 -1
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
- package/dist/lib/components/currency/index.d.ts +2 -2
- package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +16 -14
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/item-wrap/index.d.ts +1 -1
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +1 -1
- package/dist/lib/components/ladder-price/index.d.ts +1 -1
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +1 -1
- package/dist/lib/components/layout-anchor/index.d.ts +1 -0
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -0
- package/dist/lib/components/layout-buttons/index.d.ts +1 -0
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +1 -0
- package/dist/lib/components/layout-pattern/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/symbolNames.d.ts +2 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +49 -49
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -0
- package/dist/lib/components/page-layout/src/hook/use-uid-hook.d.ts +4 -0
- package/dist/lib/components/page-layout/src/token.d.ts +2 -0
- package/dist/lib/components/rich-editor-model/index.d.ts +1 -1
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +1 -1
- package/dist/lib/components/select-modal/index.d.ts +1 -1
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +1 -1
- package/dist/lib/components/upload-file/index.d.ts +12 -2
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +5 -1
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +12 -2
- package/dist/lib/components/upload-image/index.d.ts +10 -1
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +10 -1
- package/dist/lib/utils/ConstantManager.d.ts +10 -0
- package/dist/lib/utils/event.d.ts +1 -0
- package/dist/lib/utils/use-create-link-hook.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -14,6 +14,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
14
14
|
readonly type: StringConstructor;
|
|
15
15
|
readonly default: "";
|
|
16
16
|
};
|
|
17
|
+
readonly defaultFileType: {
|
|
18
|
+
readonly type: StringConstructor;
|
|
19
|
+
readonly default: "";
|
|
20
|
+
};
|
|
17
21
|
readonly requiredFileType: {
|
|
18
22
|
readonly type: BooleanConstructor;
|
|
19
23
|
readonly default: false;
|
|
@@ -36,7 +40,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
36
40
|
};
|
|
37
41
|
readonly maxCount: {
|
|
38
42
|
readonly type: NumberConstructor;
|
|
39
|
-
readonly default:
|
|
43
|
+
readonly default: 0;
|
|
40
44
|
};
|
|
41
45
|
readonly userInfo: {
|
|
42
46
|
readonly type: PropType<UserInfo>;
|
|
@@ -225,6 +229,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
225
229
|
beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
|
|
226
230
|
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
227
231
|
srmI18n: SrmI18n;
|
|
232
|
+
defaultFileType: Ref<string>;
|
|
228
233
|
labelCol: Ref<{
|
|
229
234
|
span: number;
|
|
230
235
|
}>;
|
|
@@ -242,6 +247,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
242
247
|
readonly type: StringConstructor;
|
|
243
248
|
readonly default: "";
|
|
244
249
|
};
|
|
250
|
+
readonly defaultFileType: {
|
|
251
|
+
readonly type: StringConstructor;
|
|
252
|
+
readonly default: "";
|
|
253
|
+
};
|
|
245
254
|
readonly requiredFileType: {
|
|
246
255
|
readonly type: BooleanConstructor;
|
|
247
256
|
readonly default: false;
|
|
@@ -264,7 +273,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
264
273
|
};
|
|
265
274
|
readonly maxCount: {
|
|
266
275
|
readonly type: NumberConstructor;
|
|
267
|
-
readonly default:
|
|
276
|
+
readonly default: 0;
|
|
268
277
|
};
|
|
269
278
|
readonly userInfo: {
|
|
270
279
|
readonly type: PropType<UserInfo>;
|
|
@@ -360,6 +369,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
360
369
|
readonly userInfo: UserInfo;
|
|
361
370
|
readonly role: Role;
|
|
362
371
|
readonly property: string;
|
|
372
|
+
readonly defaultFileType: string;
|
|
363
373
|
readonly requiredFileType: boolean;
|
|
364
374
|
readonly attrCheck: string;
|
|
365
375
|
readonly limitSize: number;
|
|
@@ -40,6 +40,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
40
40
|
readonly type: StringConstructor;
|
|
41
41
|
readonly default: "";
|
|
42
42
|
};
|
|
43
|
+
readonly sourceNumber: {
|
|
44
|
+
readonly type: StringConstructor;
|
|
45
|
+
readonly default: "";
|
|
46
|
+
};
|
|
43
47
|
readonly accept: {
|
|
44
48
|
readonly type: StringConstructor;
|
|
45
49
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -181,6 +185,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
181
185
|
readonly type: StringConstructor;
|
|
182
186
|
readonly default: "";
|
|
183
187
|
};
|
|
188
|
+
readonly sourceNumber: {
|
|
189
|
+
readonly type: StringConstructor;
|
|
190
|
+
readonly default: "";
|
|
191
|
+
};
|
|
184
192
|
readonly accept: {
|
|
185
193
|
readonly type: StringConstructor;
|
|
186
194
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -197,16 +205,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
197
205
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
198
206
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
199
207
|
}, {
|
|
200
|
-
readonly disabled: boolean;
|
|
201
208
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
202
209
|
readonly businessType: string;
|
|
203
210
|
readonly accept: string;
|
|
204
211
|
readonly multiple: boolean;
|
|
205
212
|
readonly value: string;
|
|
206
213
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
214
|
+
readonly disabled: boolean;
|
|
207
215
|
readonly actionRoutePath: string;
|
|
208
216
|
readonly canRemove: boolean;
|
|
209
217
|
readonly limit: number;
|
|
210
218
|
readonly uploadImageData: Record<string, any>;
|
|
219
|
+
readonly sourceNumber: string;
|
|
211
220
|
}, {}>>;
|
|
212
221
|
export default _default;
|
|
@@ -33,6 +33,10 @@ export declare const uploadImageProps: {
|
|
|
33
33
|
readonly type: StringConstructor;
|
|
34
34
|
readonly default: "";
|
|
35
35
|
};
|
|
36
|
+
readonly sourceNumber: {
|
|
37
|
+
readonly type: StringConstructor;
|
|
38
|
+
readonly default: "";
|
|
39
|
+
};
|
|
36
40
|
readonly accept: {
|
|
37
41
|
readonly type: StringConstructor;
|
|
38
42
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -36,6 +36,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
36
36
|
readonly type: StringConstructor;
|
|
37
37
|
readonly default: "";
|
|
38
38
|
};
|
|
39
|
+
readonly sourceNumber: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly default: "";
|
|
42
|
+
};
|
|
39
43
|
readonly accept: {
|
|
40
44
|
readonly type: StringConstructor;
|
|
41
45
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -177,6 +181,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
177
181
|
readonly type: StringConstructor;
|
|
178
182
|
readonly default: "";
|
|
179
183
|
};
|
|
184
|
+
readonly sourceNumber: {
|
|
185
|
+
readonly type: StringConstructor;
|
|
186
|
+
readonly default: "";
|
|
187
|
+
};
|
|
180
188
|
readonly accept: {
|
|
181
189
|
readonly type: StringConstructor;
|
|
182
190
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -193,16 +201,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
193
201
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
194
202
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
195
203
|
}, {
|
|
196
|
-
readonly disabled: boolean;
|
|
197
204
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
198
205
|
readonly businessType: string;
|
|
199
206
|
readonly accept: string;
|
|
200
207
|
readonly multiple: boolean;
|
|
201
208
|
readonly value: string;
|
|
202
209
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
210
|
+
readonly disabled: boolean;
|
|
203
211
|
readonly actionRoutePath: string;
|
|
204
212
|
readonly canRemove: boolean;
|
|
205
213
|
readonly limit: number;
|
|
206
214
|
readonly uploadImageData: Record<string, any>;
|
|
215
|
+
readonly sourceNumber: string;
|
|
207
216
|
}, {}>;
|
|
208
217
|
export default _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare class ConstantManager {
|
|
2
|
+
private static instance;
|
|
3
|
+
private constants;
|
|
4
|
+
private constructor();
|
|
5
|
+
static getInstance(symbolNames?: string[]): ConstantManager;
|
|
6
|
+
private setConstants;
|
|
7
|
+
getConstant(key: string): symbol;
|
|
8
|
+
getAllConstant(): Record<string, symbol>;
|
|
9
|
+
}
|
|
10
|
+
export default ConstantManager;
|
|
@@ -17,7 +17,7 @@ interface LinkClickParams {
|
|
|
17
17
|
callback: (args: LinkClickCallbackParams) => void;
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
}
|
|
20
|
-
export default function (): {
|
|
20
|
+
export default function (Request: ObjectMap): {
|
|
21
21
|
createLink: (fieldInfo: ObjectMap, type: Type, callback: (args: LinkClickCallbackParams) => void, customLinkConfig?: LinkParams) => void;
|
|
22
22
|
linkClick: ({ title, row, column, formData, linkConfig, fieldInfo, callback }: LinkClickParams, type: Type) => void;
|
|
23
23
|
};
|