@shaonq/vue 1.1.12 → 1.1.14
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/lib/index.d.ts +649 -235
- package/lib/index.js +3080 -1801
- package/lib/style.css +1 -1
- package/package.json +5 -2
package/lib/index.d.ts
CHANGED
|
@@ -2,12 +2,19 @@ import { App } from 'vue';
|
|
|
2
2
|
import { Button } from '@arco-design/web-vue';
|
|
3
3
|
import { Component } from 'vue';
|
|
4
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
|
+
import { ComponentProvideOptions } from 'vue';
|
|
5
6
|
import { DefineComponent } from 'vue';
|
|
6
7
|
import { ExtractPropTypes } from 'vue';
|
|
8
|
+
import { FormItem } from '@arco-design/web-vue';
|
|
7
9
|
import { Modal } from '@arco-design/web-vue';
|
|
10
|
+
import { ModalConfig } from '@arco-design/web-vue';
|
|
11
|
+
import { ModalMethod } from '@arco-design/web-vue';
|
|
12
|
+
import { PrintTemplate } from '@sv-print/hiprint';
|
|
8
13
|
import { PropType } from 'vue';
|
|
9
14
|
import { PublicProps } from 'vue';
|
|
10
15
|
import { Ref } from 'vue';
|
|
16
|
+
import { SelectOptionData } from '@arco-design/web-vue';
|
|
17
|
+
import { Size } from '@arco-design/web-vue';
|
|
11
18
|
import { TablePublicMethods } from 'vxe-table';
|
|
12
19
|
import { VxeColumnPropTypes } from 'vxe-table';
|
|
13
20
|
import { VxeTable } from 'vxe-table';
|
|
@@ -25,6 +32,10 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
|
25
32
|
|
|
26
33
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
27
34
|
|
|
35
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
36
|
+
|
|
37
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
38
|
+
|
|
28
39
|
declare type __VLS_Prettify<T> = {
|
|
29
40
|
[K in keyof T]: T[K];
|
|
30
41
|
} & {};
|
|
@@ -37,6 +48,14 @@ declare type __VLS_Prettify_3<T> = {
|
|
|
37
48
|
[K in keyof T]: T[K];
|
|
38
49
|
} & {};
|
|
39
50
|
|
|
51
|
+
declare type __VLS_Prettify_4<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
54
|
+
|
|
55
|
+
declare type __VLS_Prettify_5<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
58
|
+
|
|
40
59
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
60
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
61
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
@@ -64,6 +83,24 @@ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
|
64
83
|
};
|
|
65
84
|
};
|
|
66
85
|
|
|
86
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
87
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
89
|
+
} : {
|
|
90
|
+
type: PropType<T[K]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
96
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
97
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
98
|
+
} : {
|
|
99
|
+
type: PropType<T[K]>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
|
|
67
104
|
declare type __VLS_WithDefaults<P, D> = {
|
|
68
105
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
69
106
|
default: D[K];
|
|
@@ -82,6 +119,18 @@ declare type __VLS_WithDefaults_3<P, D> = {
|
|
|
82
119
|
}> : P[K];
|
|
83
120
|
};
|
|
84
121
|
|
|
122
|
+
declare type __VLS_WithDefaults_4<P, D> = {
|
|
123
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
|
|
124
|
+
default: D[K];
|
|
125
|
+
}> : P[K];
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
129
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
130
|
+
default: D[K];
|
|
131
|
+
}> : P[K];
|
|
132
|
+
};
|
|
133
|
+
|
|
85
134
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
86
135
|
new (): {
|
|
87
136
|
$slots: S;
|
|
@@ -118,16 +167,32 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
118
167
|
};
|
|
119
168
|
};
|
|
120
169
|
|
|
170
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
171
|
+
new (): {
|
|
172
|
+
$slots: S;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
|
|
121
176
|
declare type ButtonInstance = InstanceType<typeof Button>;
|
|
122
177
|
|
|
178
|
+
/** 组件属性处理函数签名 */
|
|
179
|
+
declare type ComponentAttrHandler = (record: RecordAny_3, util: OrcFormUtil) => unknown;
|
|
180
|
+
|
|
181
|
+
/** 组件属性允许的值类型 */
|
|
182
|
+
declare type ComponentAttrValue = null | boolean | number | string | RecordAny_3 | RecordAny_3[] | ComponentAttrHandler;
|
|
183
|
+
|
|
123
184
|
declare interface CssType extends Partial<CSSStyleDeclaration>, RecordAny_2 {
|
|
124
185
|
}
|
|
125
186
|
|
|
187
|
+
export declare const deepClone: <T = RecordAny | RecordAny[]>(origin: T) => T;
|
|
188
|
+
|
|
126
189
|
declare const _default: {
|
|
127
190
|
install(Vue: App): void;
|
|
128
191
|
};
|
|
129
192
|
export default _default;
|
|
130
193
|
|
|
194
|
+
export declare const download: (url: string, fileName?: string) => boolean;
|
|
195
|
+
|
|
131
196
|
/**
|
|
132
197
|
* @param name 下载名称
|
|
133
198
|
* @param element HTMLElement
|
|
@@ -136,7 +201,7 @@ export default _default;
|
|
|
136
201
|
* @param {string} option.className 例 class = 'one-page-pdf' ,大量打印必填
|
|
137
202
|
* @param {string} option.success successCallback worker:any => void
|
|
138
203
|
*/
|
|
139
|
-
declare function downLoadPdf(name: string, element: HTMLElement, option?: {
|
|
204
|
+
export declare function downLoadPdf(name: string, element: HTMLElement, option?: {
|
|
140
205
|
/** `pdf page margin`: `[top, left, bottom, right]` */
|
|
141
206
|
margin?: number[];
|
|
142
207
|
/** 启用 `worker` */
|
|
@@ -155,19 +220,65 @@ declare function downLoadPdf(name: string, element: HTMLElement, option?: {
|
|
|
155
220
|
jsPDF?: any;
|
|
156
221
|
} & RecordAny): Promise<void>;
|
|
157
222
|
|
|
158
|
-
|
|
223
|
+
/**
|
|
224
|
+
* 参考文档 1: http://hiprint.io/docs/text
|
|
225
|
+
* 参考文档 2: https://ccsimple.github.io/sv-print-docs/config/provider.html#%E7%A4%BA%E4%BE%8B
|
|
226
|
+
*/
|
|
227
|
+
/** 设计纸张对象 */
|
|
228
|
+
/** 数据对象 */
|
|
229
|
+
declare interface FieldOption {
|
|
230
|
+
/** 元素字段则显示为下拉框显示 */
|
|
231
|
+
field: string;
|
|
232
|
+
/** 元素字段则为输入框显示 */
|
|
233
|
+
text: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export declare function findObject<T extends RecordAny>(obj: T, keys?: string | string[]): T;
|
|
159
237
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
238
|
+
/** 行数据格式化 千分位|日期 */
|
|
239
|
+
export declare const formatTable: {
|
|
240
|
+
/** 千分位|保留小数 */
|
|
241
|
+
tf: (val: any, digits?: any) => any;
|
|
242
|
+
/** 快捷格式化日期 */
|
|
243
|
+
t: (val: any) => string;
|
|
244
|
+
/** 完整格式化日期 yyyy-MM-dd HH:mm:ss */
|
|
245
|
+
time: (val: any, f?: string) => string;
|
|
246
|
+
/** percent 格式化百分比 */
|
|
247
|
+
p: (val: any, digits?: any, percent?: string) => string;
|
|
167
248
|
};
|
|
168
249
|
|
|
250
|
+
/** 表单组件实例类型 (基于 Arco Design 的 FormItem 组件) */
|
|
251
|
+
declare type FormItemInstance = InstanceType<typeof FormItem>;
|
|
252
|
+
|
|
169
253
|
/** 生成二维码 base64 */
|
|
170
|
-
declare function generateQRcodeBase64(options: RecordAny): string;
|
|
254
|
+
export declare function generateQRcodeBase64(options: RecordAny): string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* get path object
|
|
258
|
+
* @example
|
|
259
|
+
* ```
|
|
260
|
+
* getData({a:{b:1}},'a.b')
|
|
261
|
+
* // 1
|
|
262
|
+
* ```
|
|
263
|
+
*/
|
|
264
|
+
export declare function getData(object: RecordAny, path: string, defaultValue?: any): any;
|
|
265
|
+
|
|
266
|
+
export declare const getUniqueId: () => string;
|
|
267
|
+
|
|
268
|
+
/** isArray */
|
|
269
|
+
export declare function isArray(obj: any): obj is any[];
|
|
270
|
+
|
|
271
|
+
/** 是否是空数组 */
|
|
272
|
+
export declare function isEmptyArray(obj: any): boolean;
|
|
273
|
+
|
|
274
|
+
/** 是否是空对象 */
|
|
275
|
+
export declare function isEmptyObject(obj: any): boolean;
|
|
276
|
+
|
|
277
|
+
/** isNumber */
|
|
278
|
+
export declare function isNumber(obj: any): obj is number;
|
|
279
|
+
|
|
280
|
+
/** isObject */
|
|
281
|
+
export declare function isObject(value: unknown): value is Record<string, any>;
|
|
171
282
|
|
|
172
283
|
export declare const locale: {
|
|
173
284
|
enUS: {
|
|
@@ -555,14 +666,16 @@ export declare const locale: {
|
|
|
555
666
|
};
|
|
556
667
|
|
|
557
668
|
/** 日志 */
|
|
558
|
-
declare function log(...args: any[]): void;
|
|
669
|
+
export declare function log(...args: any[]): void;
|
|
559
670
|
|
|
560
|
-
declare function mergeConfig(defaults: RecordAny, overrides: RecordAny, isRoot?: boolean): RecordAny;
|
|
671
|
+
export declare function mergeConfig(defaults: RecordAny, overrides: RecordAny, isRoot?: boolean): RecordAny;
|
|
561
672
|
|
|
562
673
|
declare type ModalInstance = InstanceType<typeof Modal>;
|
|
563
674
|
|
|
564
675
|
/** omit object */
|
|
565
|
-
declare function omitObject<T extends RecordAny>(obj: T, keys?: string | string[]): T;
|
|
676
|
+
export declare function omitObject<T extends RecordAny>(obj: T, keys?: string | string[]): T;
|
|
677
|
+
|
|
678
|
+
export declare function onConfirm(callback: () => void, options?: ModalConfig, type?: keyof ModalMethod): void;
|
|
566
679
|
|
|
567
680
|
declare function onShow(): void;
|
|
568
681
|
|
|
@@ -570,7 +683,7 @@ declare function onSubmit(): Promise<[boolean, any]>;
|
|
|
570
683
|
|
|
571
684
|
declare function onSubmit_2(): Promise<void>;
|
|
572
685
|
|
|
573
|
-
export declare const OrcDesign: DefineComponent<{
|
|
686
|
+
export declare const OrcDesign: DefineComponent<ExtractPropTypes<{
|
|
574
687
|
readonly: BooleanConstructor;
|
|
575
688
|
data: {
|
|
576
689
|
type: ObjectConstructor;
|
|
@@ -585,7 +698,7 @@ export declare const OrcDesign: DefineComponent<{
|
|
|
585
698
|
default(): {};
|
|
586
699
|
};
|
|
587
700
|
moduleConfig: ArrayConstructor;
|
|
588
|
-
}
|
|
701
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
589
702
|
save: (...args: any[]) => void;
|
|
590
703
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
591
704
|
readonly: BooleanConstructor;
|
|
@@ -602,234 +715,504 @@ export declare const OrcDesign: DefineComponent<{
|
|
|
602
715
|
default(): {};
|
|
603
716
|
};
|
|
604
717
|
moduleConfig: ArrayConstructor;
|
|
605
|
-
}>> & {
|
|
718
|
+
}>> & Readonly<{
|
|
606
719
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
607
|
-
}
|
|
720
|
+
}>, {
|
|
608
721
|
data: Record<string, any>;
|
|
609
722
|
readonly: boolean;
|
|
610
723
|
models: Record<string, any>;
|
|
611
724
|
remoteFuncs: Record<string, any>;
|
|
612
|
-
}, {}>;
|
|
725
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
613
726
|
|
|
614
727
|
export declare const OrcDesignPrint: DefineComponent<{}, {
|
|
615
728
|
getHtml(): any;
|
|
616
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
729
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
617
730
|
|
|
618
|
-
export declare const OrcForm: __VLS_WithTemplateSlots_5< DefineComponent<{
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
default: string;
|
|
627
|
-
};
|
|
628
|
-
labelAlign: {
|
|
629
|
-
type: PropType<"left" | "right">;
|
|
630
|
-
default: string;
|
|
631
|
-
};
|
|
632
|
-
loading: BooleanConstructor;
|
|
633
|
-
disabled: BooleanConstructor;
|
|
634
|
-
hideSubmit: BooleanConstructor;
|
|
635
|
-
modelValue: {
|
|
636
|
-
type: ObjectConstructor;
|
|
637
|
-
default(): {};
|
|
638
|
-
};
|
|
731
|
+
export declare const OrcForm: __VLS_WithTemplateSlots_5< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
|
|
732
|
+
config?: OrcFormItem[] | undefined;
|
|
733
|
+
labelWidth?: string | undefined;
|
|
734
|
+
labelAlign?: "left" | "right" | undefined;
|
|
735
|
+
loading?: boolean | undefined;
|
|
736
|
+
disabled?: boolean | undefined;
|
|
737
|
+
hideSubmit?: boolean | undefined;
|
|
738
|
+
modelValue?: Record<string, any> | undefined;
|
|
639
739
|
/** 栅格间距 */
|
|
640
|
-
gutter
|
|
641
|
-
type: NumberConstructor;
|
|
642
|
-
default: number;
|
|
643
|
-
};
|
|
740
|
+
gutter?: number | undefined;
|
|
644
741
|
/** 栅格 24 */
|
|
645
|
-
span
|
|
646
|
-
|
|
647
|
-
default: number;
|
|
648
|
-
};
|
|
649
|
-
formProps: {
|
|
650
|
-
type: ObjectConstructor;
|
|
651
|
-
default(): {};
|
|
652
|
-
};
|
|
742
|
+
span?: number | undefined;
|
|
743
|
+
formAttr?: Record<string, any> | undefined;
|
|
653
744
|
/** 栅格grid 优先级低于行 span */
|
|
654
|
-
grid
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
745
|
+
grid?: Record<string, any> | undefined;
|
|
746
|
+
}>, {
|
|
747
|
+
config: () => never[];
|
|
748
|
+
labelWidth: string;
|
|
749
|
+
labelAlign: string;
|
|
750
|
+
loading: boolean;
|
|
751
|
+
disabled: boolean;
|
|
752
|
+
hideSubmit: boolean;
|
|
753
|
+
modelValue: undefined;
|
|
754
|
+
gutter: number;
|
|
755
|
+
span: number;
|
|
756
|
+
formAttr: undefined;
|
|
757
|
+
grid: undefined;
|
|
758
|
+
}>>, {
|
|
659
759
|
onSubmit: typeof onSubmit;
|
|
660
|
-
onReset: (defValue?: Partial<
|
|
661
|
-
[x: string]: any;
|
|
662
|
-
}> | undefined) => void;
|
|
760
|
+
onReset: (defValue?: Partial<any> | undefined) => void;
|
|
663
761
|
resetFields(): void;
|
|
664
|
-
},
|
|
762
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
665
763
|
error: (...args: any[]) => void;
|
|
666
|
-
"update:modelValue": (...args: any[]) => void;
|
|
667
764
|
submit: (...args: any[]) => void;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
config
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
};
|
|
678
|
-
labelAlign: {
|
|
679
|
-
type: PropType<"left" | "right">;
|
|
680
|
-
default: string;
|
|
681
|
-
};
|
|
682
|
-
loading: BooleanConstructor;
|
|
683
|
-
disabled: BooleanConstructor;
|
|
684
|
-
hideSubmit: BooleanConstructor;
|
|
685
|
-
modelValue: {
|
|
686
|
-
type: ObjectConstructor;
|
|
687
|
-
default(): {};
|
|
688
|
-
};
|
|
765
|
+
"update:modelValue": (...args: any[]) => void;
|
|
766
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
|
|
767
|
+
config?: OrcFormItem[] | undefined;
|
|
768
|
+
labelWidth?: string | undefined;
|
|
769
|
+
labelAlign?: "left" | "right" | undefined;
|
|
770
|
+
loading?: boolean | undefined;
|
|
771
|
+
disabled?: boolean | undefined;
|
|
772
|
+
hideSubmit?: boolean | undefined;
|
|
773
|
+
modelValue?: Record<string, any> | undefined;
|
|
689
774
|
/** 栅格间距 */
|
|
690
|
-
gutter
|
|
691
|
-
type: NumberConstructor;
|
|
692
|
-
default: number;
|
|
693
|
-
};
|
|
775
|
+
gutter?: number | undefined;
|
|
694
776
|
/** 栅格 24 */
|
|
695
|
-
span
|
|
696
|
-
|
|
697
|
-
default: number;
|
|
698
|
-
};
|
|
699
|
-
formProps: {
|
|
700
|
-
type: ObjectConstructor;
|
|
701
|
-
default(): {};
|
|
702
|
-
};
|
|
777
|
+
span?: number | undefined;
|
|
778
|
+
formAttr?: Record<string, any> | undefined;
|
|
703
779
|
/** 栅格grid 优先级低于行 span */
|
|
704
|
-
grid
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
780
|
+
grid?: Record<string, any> | undefined;
|
|
781
|
+
}>, {
|
|
782
|
+
config: () => never[];
|
|
783
|
+
labelWidth: string;
|
|
784
|
+
labelAlign: string;
|
|
785
|
+
loading: boolean;
|
|
786
|
+
disabled: boolean;
|
|
787
|
+
hideSubmit: boolean;
|
|
788
|
+
modelValue: undefined;
|
|
789
|
+
gutter: number;
|
|
790
|
+
span: number;
|
|
791
|
+
formAttr: undefined;
|
|
792
|
+
grid: undefined;
|
|
793
|
+
}>>> & Readonly<{
|
|
710
794
|
onError?: ((...args: any[]) => any) | undefined;
|
|
795
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
711
796
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
712
|
-
}
|
|
797
|
+
}>, {
|
|
713
798
|
grid: Record<string, any>;
|
|
714
799
|
loading: boolean;
|
|
715
800
|
disabled: boolean;
|
|
716
801
|
modelValue: Record<string, any>;
|
|
717
802
|
span: number;
|
|
718
|
-
formProps: Record<string, any>;
|
|
719
803
|
config: OrcFormItem[];
|
|
720
804
|
labelWidth: string;
|
|
721
805
|
labelAlign: "left" | "right";
|
|
722
806
|
hideSubmit: boolean;
|
|
723
807
|
gutter: number;
|
|
724
|
-
|
|
808
|
+
formAttr: Record<string, any>;
|
|
809
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {
|
|
810
|
+
disabled: boolean;
|
|
811
|
+
value?: any;
|
|
812
|
+
setValue?: ((v: any) => void) | undefined;
|
|
813
|
+
options?: any;
|
|
814
|
+
utils: OrcFormUtil;
|
|
815
|
+
componentAttr: Record<string, any>;
|
|
816
|
+
}) => any>> & {
|
|
725
817
|
row?(_: {}): any;
|
|
726
818
|
default?(_: {
|
|
727
819
|
onSubmit: typeof onSubmit;
|
|
728
820
|
}): any;
|
|
729
821
|
}>;
|
|
730
822
|
|
|
731
|
-
export declare const OrcFormButton: __VLS_WithTemplateSlots_6< DefineComponent<
|
|
823
|
+
export declare const OrcFormButton: __VLS_WithTemplateSlots_6< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props_2>, {
|
|
732
824
|
title: string;
|
|
733
825
|
modelValue: undefined;
|
|
734
|
-
|
|
826
|
+
gutter: number;
|
|
827
|
+
size: string;
|
|
828
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
735
829
|
"update:modelValue": (data: RecordAny) => void;
|
|
736
830
|
submit: (data: OrcFormSubmit) => void;
|
|
737
831
|
error: (data: any) => void;
|
|
738
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
832
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<Props_2>, {
|
|
739
833
|
title: string;
|
|
740
834
|
modelValue: undefined;
|
|
741
|
-
|
|
742
|
-
|
|
835
|
+
gutter: number;
|
|
836
|
+
size: string;
|
|
837
|
+
}>>> & Readonly<{
|
|
743
838
|
onError?: ((data: any) => any) | undefined;
|
|
839
|
+
onSubmit?: ((data: OrcFormSubmit) => any) | undefined;
|
|
744
840
|
"onUpdate:modelValue"?: ((data: RecordAny) => any) | undefined;
|
|
745
|
-
}
|
|
841
|
+
}>, {
|
|
746
842
|
title: string;
|
|
843
|
+
size: "medium" | "small" | "mini" | "large";
|
|
747
844
|
modelValue: RecordAny;
|
|
748
|
-
|
|
845
|
+
gutter: number;
|
|
846
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
749
847
|
icon?(_: {}): any;
|
|
750
848
|
default?(_: {
|
|
751
849
|
onSubmit: typeof onSubmit_2;
|
|
752
850
|
onShow: typeof onShow;
|
|
753
851
|
}): any;
|
|
852
|
+
row?(_: {}): any;
|
|
754
853
|
}>;
|
|
755
854
|
|
|
756
|
-
/**
|
|
855
|
+
/**
|
|
856
|
+
* 表单配置项类型定义
|
|
857
|
+
* @description 描述表单字段的元数据和行为规则
|
|
858
|
+
*/
|
|
757
859
|
export declare type OrcFormItem = {
|
|
758
860
|
/**
|
|
759
|
-
*
|
|
760
|
-
* @
|
|
861
|
+
* 组件类型标识
|
|
862
|
+
* @description 支持 Arco 内置组件或自定义 Vue 组件
|
|
863
|
+
* @example
|
|
864
|
+
* - 内置组件: 'a-input'
|
|
865
|
+
* - 自定义组件: defineAsyncComponent(() => import('./custom-component.vue'))
|
|
761
866
|
*/
|
|
762
867
|
type?: string | Component;
|
|
763
|
-
/**
|
|
764
|
-
name
|
|
765
|
-
/**
|
|
766
|
-
model
|
|
767
|
-
/**
|
|
868
|
+
/** 表单项标签文本 */
|
|
869
|
+
name?: string;
|
|
870
|
+
/** 关联数据模型键名 */
|
|
871
|
+
model?: OrcFormUtil['model'];
|
|
872
|
+
/** 是否渲染该表单项 */
|
|
768
873
|
show?: boolean;
|
|
769
|
-
/**
|
|
770
|
-
|
|
771
|
-
|
|
874
|
+
/**
|
|
875
|
+
* 字段默认值
|
|
876
|
+
* @description 根据组件类型自动进行类型推断
|
|
877
|
+
*/
|
|
878
|
+
defaultValue?: Exclude<ComponentAttrValue, ComponentAttrHandler>;
|
|
879
|
+
/** 验证触发时机 */
|
|
772
880
|
validateTrigger?: 'change' | 'input' | 'focus' | 'blur';
|
|
773
|
-
/**
|
|
774
|
-
componentAttr?: Record<string,
|
|
775
|
-
/**
|
|
776
|
-
|
|
777
|
-
|
|
881
|
+
/** 组件原生属性配置 */
|
|
882
|
+
componentAttr?: Record<string, ComponentAttrValue>;
|
|
883
|
+
/**
|
|
884
|
+
* 表单项容器属性
|
|
885
|
+
* @see FormItemInstance 查看可用属性
|
|
886
|
+
*/
|
|
887
|
+
itemAttr?: FormItemInstance['$props'];
|
|
888
|
+
/**
|
|
889
|
+
* 自定义类名配置
|
|
890
|
+
* @description 支持响应式配置函数
|
|
891
|
+
* @param itemConfig - 当前表单项配置
|
|
892
|
+
* @param models - 表单数据模型
|
|
893
|
+
*/
|
|
894
|
+
customClass?: string | ((itemConfig: OrcFormItem, models: RecordAny_3) => string);
|
|
895
|
+
/**
|
|
896
|
+
* 多值序列化配置
|
|
897
|
+
* @description 开启后自动将数组转换为逗号分隔字符串
|
|
898
|
+
* @note 需要组件原生支持多选模式 (需同时配置 componentAttr.multiple)
|
|
899
|
+
*/
|
|
778
900
|
dotNotation?: boolean;
|
|
779
|
-
/**
|
|
901
|
+
/** 数据字典系统编码 */
|
|
780
902
|
datadict?: string;
|
|
781
|
-
/**
|
|
903
|
+
/** 字段级配置选项 */
|
|
782
904
|
options?: {
|
|
783
|
-
/**
|
|
905
|
+
/** 必填标识 */
|
|
784
906
|
required?: boolean;
|
|
785
|
-
/**
|
|
907
|
+
/** 栅格布局宽度 (基于24栅格系统) */
|
|
786
908
|
span?: number;
|
|
787
|
-
/**
|
|
909
|
+
/** 栅格偏移量 */
|
|
910
|
+
offset?: number;
|
|
911
|
+
/** 禁用状态 */
|
|
788
912
|
disabled?: boolean;
|
|
789
|
-
/**
|
|
913
|
+
/** 输入占位符 */
|
|
790
914
|
placeholder?: string;
|
|
791
|
-
/**
|
|
915
|
+
/** 帮助说明文案 */
|
|
792
916
|
help?: string;
|
|
793
|
-
/**
|
|
917
|
+
/** 悬浮提示内容 */
|
|
794
918
|
tooltip?: string;
|
|
919
|
+
/** 选择器选项列表 */
|
|
920
|
+
options?: SelectOptionData[];
|
|
795
921
|
};
|
|
796
|
-
/**
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
/** watch 更新时触发 */
|
|
805
|
-
onUpdate?: (val: any, oldVal: any, util: FormUtilType & OrcFormItem['events']) => void | Promise<void>;
|
|
806
|
-
};
|
|
807
|
-
/** 扩展字符 */
|
|
922
|
+
/**
|
|
923
|
+
* 验证规则配置
|
|
924
|
+
* @description 支持静态配置或动态规则生成函数
|
|
925
|
+
*/
|
|
926
|
+
rules?: RecordAny_3[] | ((val: OrcFormItem, util: OrcFormUtil) => RecordAny_3[]);
|
|
927
|
+
/** 表单事件处理器 */
|
|
928
|
+
events?: Pick<OrcFormUtil, 'onMounted' | 'onChange' | 'onUpdate'>;
|
|
929
|
+
/** 扩展说明字段 */
|
|
808
930
|
note?: string;
|
|
809
931
|
};
|
|
810
932
|
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
933
|
+
/**
|
|
934
|
+
* 表单提交数据结构
|
|
935
|
+
*/
|
|
936
|
+
export declare type OrcFormSubmit = {
|
|
937
|
+
/** 表单数据集合 */
|
|
938
|
+
data: RecordAny_3;
|
|
939
|
+
/** 表单工具方法 */
|
|
940
|
+
utils: {
|
|
941
|
+
/** 控制提交弹窗可见性 */
|
|
942
|
+
setVisible: (a: boolean) => void;
|
|
943
|
+
/** 控制加载状态 */
|
|
944
|
+
setLoading: (a: boolean) => void;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
declare type OrcFormUtil = {
|
|
949
|
+
/**
|
|
950
|
+
* 获取/查询选项数据
|
|
951
|
+
* @overload@overload 获取指定模型的选项列表
|
|
952
|
+
* @param model - 模型标识符
|
|
953
|
+
*/
|
|
954
|
+
getModelOption(model: string): SelectOptionData[];
|
|
955
|
+
/**
|
|
956
|
+
* @overload@overload 根据值查找特定选项
|
|
957
|
+
* @param model - 模型标识符
|
|
958
|
+
* @param val - 要查找的选项值
|
|
959
|
+
* @returns 匹配的选项对象
|
|
960
|
+
*/
|
|
961
|
+
getModelOption(model: string, val: string): SelectOptionData;
|
|
962
|
+
/** 获取指定模型的值 */
|
|
963
|
+
getModel: (model: string) => any;
|
|
964
|
+
/** 检查指定模型是否可见 */
|
|
965
|
+
getShow: (model: string) => boolean;
|
|
966
|
+
/** 设置指定模型的选项数据 */
|
|
967
|
+
setModelOption: (model: string, val: any) => void;
|
|
968
|
+
/**
|
|
969
|
+
* 设置模型值
|
|
970
|
+
* @param c - 模型键名或键值对对象
|
|
971
|
+
* @param v - 当第一个参数为键名时使用的值
|
|
972
|
+
*/
|
|
973
|
+
setModel: (c: string | RecordAny_3, v?: any) => void;
|
|
974
|
+
/** 控制模型可见性 */
|
|
975
|
+
setShow: (model: string | string[], val: boolean) => void;
|
|
976
|
+
/** 用于双向数据绑定的模型属性 */
|
|
977
|
+
model?: string;
|
|
978
|
+
/** 组件挂载后执行 */
|
|
979
|
+
onMounted?: (util: OrcFormUtil) => any | Promise<any>;
|
|
980
|
+
/** 值改变时触发 */
|
|
981
|
+
onChange?: (val: any, util: OrcFormUtil) => void | Promise<void>;
|
|
982
|
+
/** 响应式更新时触发 */
|
|
983
|
+
onUpdate?: (val: any, oldVal: any, util: OrcFormUtil) => void | Promise<void>;
|
|
984
|
+
};
|
|
815
985
|
|
|
816
|
-
export declare const OrcHiddenView: __VLS_WithTemplateSlots_2< DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
986
|
+
export declare const OrcHiddenView: __VLS_WithTemplateSlots_2< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
817
987
|
isShow?: boolean | undefined;
|
|
818
988
|
isDirection?: boolean | undefined;
|
|
819
989
|
formProps?: Record<string, any> | undefined;
|
|
820
|
-
}>, {}
|
|
990
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
821
991
|
isShow?: boolean | undefined;
|
|
822
992
|
isDirection?: boolean | undefined;
|
|
823
993
|
formProps?: Record<string, any> | undefined;
|
|
824
|
-
}>, {}
|
|
994
|
+
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
825
995
|
default?(_: {}): any;
|
|
826
996
|
}>;
|
|
827
997
|
|
|
828
|
-
export declare const
|
|
998
|
+
export declare const OrcHiPrint: __VLS_WithTemplateSlots_7< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<Props_3>, {
|
|
999
|
+
template: undefined;
|
|
1000
|
+
fields: undefined;
|
|
1001
|
+
printData: undefined;
|
|
1002
|
+
}>>, {
|
|
1003
|
+
hiprintTemplate: Ref<PrintTemplate | undefined, PrintTemplate | undefined>;
|
|
1004
|
+
selectedOptions: Ref<{
|
|
1005
|
+
left?: number | undefined;
|
|
1006
|
+
top?: number | undefined;
|
|
1007
|
+
height?: number | undefined;
|
|
1008
|
+
width?: number | undefined;
|
|
1009
|
+
field?: string | undefined;
|
|
1010
|
+
tableFooterRepeat?: string | undefined;
|
|
1011
|
+
tableBorder?: string | undefined;
|
|
1012
|
+
tableHeaderBorder?: string | undefined;
|
|
1013
|
+
tableHeaderCellBorder?: string | undefined;
|
|
1014
|
+
tableBodyRowBorder?: string | undefined;
|
|
1015
|
+
tableFooterBorder?: string | undefined;
|
|
1016
|
+
fields?: FieldOption[] | undefined;
|
|
1017
|
+
columns?: {
|
|
1018
|
+
width?: number | undefined;
|
|
1019
|
+
checked?: boolean | undefined;
|
|
1020
|
+
fixed?: boolean | undefined;
|
|
1021
|
+
rowspan?: number | undefined;
|
|
1022
|
+
colspan?: number | undefined;
|
|
1023
|
+
title?: string | undefined;
|
|
1024
|
+
field?: string | undefined;
|
|
1025
|
+
halign?: string | undefined;
|
|
1026
|
+
align?: string | undefined;
|
|
1027
|
+
formatter2?: ((value: any, row: any, index: number, options: any) => string | HTMLElement) | undefined;
|
|
1028
|
+
renderFormatter?: ((value: any, row: any, index: number, options: any) => string | HTMLElement) | undefined;
|
|
1029
|
+
styler2?: ((value: any, row: any, index: number, options: any) => Record<string, any>) | undefined;
|
|
1030
|
+
stylerHeader?: ((options: any) => Record<string, any>) | undefined;
|
|
1031
|
+
tableTextType?: string | undefined;
|
|
1032
|
+
tableColumnHeight?: string | undefined;
|
|
1033
|
+
tableSummary?: string | undefined;
|
|
1034
|
+
tableSummaryTitle?: string | undefined;
|
|
1035
|
+
tableSummaryText?: string | undefined;
|
|
1036
|
+
tableSummaryAlign?: string | undefined;
|
|
1037
|
+
tableSummaryNumFormat?: number | undefined;
|
|
1038
|
+
upperCase?: string | undefined;
|
|
1039
|
+
}[] | undefined;
|
|
1040
|
+
fontFamily?: string | undefined;
|
|
1041
|
+
fontSize?: string | undefined;
|
|
1042
|
+
fontWeight?: string | undefined;
|
|
1043
|
+
} | undefined, {
|
|
1044
|
+
left?: number | undefined;
|
|
1045
|
+
top?: number | undefined;
|
|
1046
|
+
height?: number | undefined;
|
|
1047
|
+
width?: number | undefined;
|
|
1048
|
+
field?: string | undefined;
|
|
1049
|
+
tableFooterRepeat?: string | undefined;
|
|
1050
|
+
tableBorder?: string | undefined;
|
|
1051
|
+
tableHeaderBorder?: string | undefined;
|
|
1052
|
+
tableHeaderCellBorder?: string | undefined;
|
|
1053
|
+
tableBodyRowBorder?: string | undefined;
|
|
1054
|
+
tableFooterBorder?: string | undefined;
|
|
1055
|
+
fields?: FieldOption[] | undefined;
|
|
1056
|
+
columns?: {
|
|
1057
|
+
width?: number | undefined;
|
|
1058
|
+
checked?: boolean | undefined;
|
|
1059
|
+
fixed?: boolean | undefined;
|
|
1060
|
+
rowspan?: number | undefined;
|
|
1061
|
+
colspan?: number | undefined;
|
|
1062
|
+
title?: string | undefined;
|
|
1063
|
+
field?: string | undefined;
|
|
1064
|
+
halign?: string | undefined;
|
|
1065
|
+
align?: string | undefined;
|
|
1066
|
+
formatter2?: ((value: any, row: any, index: number, options: any) => string | HTMLElement) | undefined;
|
|
1067
|
+
renderFormatter?: ((value: any, row: any, index: number, options: any) => string | HTMLElement) | undefined;
|
|
1068
|
+
styler2?: ((value: any, row: any, index: number, options: any) => Record<string, any>) | undefined;
|
|
1069
|
+
stylerHeader?: ((options: any) => Record<string, any>) | undefined;
|
|
1070
|
+
tableTextType?: string | undefined;
|
|
1071
|
+
tableColumnHeight?: string | undefined;
|
|
1072
|
+
tableSummary?: string | undefined;
|
|
1073
|
+
tableSummaryTitle?: string | undefined;
|
|
1074
|
+
tableSummaryText?: string | undefined;
|
|
1075
|
+
tableSummaryAlign?: string | undefined;
|
|
1076
|
+
tableSummaryNumFormat?: number | undefined;
|
|
1077
|
+
upperCase?: string | undefined;
|
|
1078
|
+
}[] | undefined;
|
|
1079
|
+
fontFamily?: string | undefined;
|
|
1080
|
+
fontSize?: string | undefined;
|
|
1081
|
+
fontWeight?: string | undefined;
|
|
1082
|
+
} | undefined>;
|
|
1083
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1084
|
+
onSave: (...args: any[]) => void;
|
|
1085
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<Props_3>, {
|
|
1086
|
+
template: undefined;
|
|
1087
|
+
fields: undefined;
|
|
1088
|
+
printData: undefined;
|
|
1089
|
+
}>>> & Readonly<{
|
|
1090
|
+
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
1091
|
+
}>, {
|
|
1092
|
+
template: Record<string, any>;
|
|
1093
|
+
printData: Record<string, any>;
|
|
1094
|
+
fields: FieldOption[];
|
|
1095
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1096
|
+
toolbar?(_: {}): any;
|
|
1097
|
+
}>;
|
|
1098
|
+
|
|
1099
|
+
export declare interface OrcHiPrintData extends Record<string, any> {
|
|
1100
|
+
options: {
|
|
1101
|
+
/** 列左偏移量 */
|
|
1102
|
+
left?: number;
|
|
1103
|
+
/** 列顶部偏移量 */
|
|
1104
|
+
top?: number;
|
|
1105
|
+
/** 表格高度 */
|
|
1106
|
+
height?: number;
|
|
1107
|
+
/** 表格宽度 */
|
|
1108
|
+
width?: number;
|
|
1109
|
+
/** 字段名称 */
|
|
1110
|
+
field?: string;
|
|
1111
|
+
/** 表尾重复内容 */
|
|
1112
|
+
tableFooterRepeat?: string;
|
|
1113
|
+
/** 表格边框样式 */
|
|
1114
|
+
tableBorder?: string;
|
|
1115
|
+
/** 表头边框样式 */
|
|
1116
|
+
tableHeaderBorder?: string;
|
|
1117
|
+
/** 表头单元格边框样式 */
|
|
1118
|
+
tableHeaderCellBorder?: string;
|
|
1119
|
+
/** 表体行边框样式 */
|
|
1120
|
+
tableBodyRowBorder?: string;
|
|
1121
|
+
/** 表尾边框样式 */
|
|
1122
|
+
tableFooterBorder?: string;
|
|
1123
|
+
/** 字段选项数组 */
|
|
1124
|
+
fields?: FieldOption[];
|
|
1125
|
+
/** 列配置数组 */
|
|
1126
|
+
columns?: {
|
|
1127
|
+
/** 列宽 可拖拽调整 */
|
|
1128
|
+
width?: number;
|
|
1129
|
+
/** 是否选中 */
|
|
1130
|
+
checked?: boolean;
|
|
1131
|
+
/** 列宽度锁定 */
|
|
1132
|
+
fixed?: boolean;
|
|
1133
|
+
/** 行合并 */
|
|
1134
|
+
rowspan?: number;
|
|
1135
|
+
/** 列合并 */
|
|
1136
|
+
colspan?: number;
|
|
1137
|
+
/** 列标题 姓名#name ==#后面是字段名 field == */
|
|
1138
|
+
title?: string;
|
|
1139
|
+
/** 列字段名 */
|
|
1140
|
+
field?: string;
|
|
1141
|
+
/** 表头左右对齐方式 left、right、center */
|
|
1142
|
+
halign?: string;
|
|
1143
|
+
/** 左右对齐方式 left、right、center */
|
|
1144
|
+
align?: string;
|
|
1145
|
+
/** 单元格格式化函数 */
|
|
1146
|
+
formatter2?: (value: any, row: any, index: number, options: any) => string | HTMLElement;
|
|
1147
|
+
/** 单元格渲染函数 */
|
|
1148
|
+
renderFormatter?: (value: any, row: any, index: number, options: any) => string | HTMLElement;
|
|
1149
|
+
/** 单元格样式函数 */
|
|
1150
|
+
styler2?: (value: any, row: any, index: number, options: any) => Record<string, any>;
|
|
1151
|
+
/** 表头样式函数 */
|
|
1152
|
+
stylerHeader?: (options: any) => Record<string, any>;
|
|
1153
|
+
/** 单元格字段类型 text、barcode、image、qrcode、sequence */
|
|
1154
|
+
tableTextType?: string;
|
|
1155
|
+
/** 特定单元格高度 二维码、条形码、图片才有效 */
|
|
1156
|
+
tableColumnHeight?: string;
|
|
1157
|
+
/** 底部聚合函数 count:计数 sum:合计 avg:平均值 max:最大值 min:最小值 */
|
|
1158
|
+
tableSummary?: string;
|
|
1159
|
+
/** 底部聚合函数标题 'true','false' 显示或隐藏 */
|
|
1160
|
+
tableSummaryTitle?: string;
|
|
1161
|
+
/** 底部聚合函数标题自定义聚合函数前面的文本 */
|
|
1162
|
+
tableSummaryText?: string;
|
|
1163
|
+
/** 底部聚合函数对齐方式 left、right、center */
|
|
1164
|
+
tableSummaryAlign?: string;
|
|
1165
|
+
/** 底部聚合函数保留小数位 默认 2 */
|
|
1166
|
+
tableSummaryNumFormat?: number;
|
|
1167
|
+
/** 转大写 如:7 就会把 10.8 转换成 壹拾元捌角零分 */
|
|
1168
|
+
upperCase?: string;
|
|
1169
|
+
}[];
|
|
1170
|
+
/** 字体 默认可继承面板设置的字体 默认宋体 */
|
|
1171
|
+
fontFamily?: string;
|
|
1172
|
+
/** 字体大小 默认9pt */
|
|
1173
|
+
fontSize?: string;
|
|
1174
|
+
/** 字体粗细 */
|
|
1175
|
+
fontWeight?: string;
|
|
1176
|
+
};
|
|
1177
|
+
printElementType: {
|
|
1178
|
+
/** 元素标题 */
|
|
1179
|
+
title: string;
|
|
1180
|
+
/** 元素类型 */
|
|
1181
|
+
type: string;
|
|
1182
|
+
/** 是否可编辑 */
|
|
1183
|
+
editable?: boolean;
|
|
1184
|
+
/** 列显示是否可编辑 */
|
|
1185
|
+
columnDisplayEditable?: boolean;
|
|
1186
|
+
/** 列索引显示是否可编辑 */
|
|
1187
|
+
columnDisplayIndexEditable?: boolean;
|
|
1188
|
+
/** 列标题是否可编辑 */
|
|
1189
|
+
columnTitleEditable?: boolean;
|
|
1190
|
+
/** 列是否可调整大小 */
|
|
1191
|
+
columnResizable?: boolean;
|
|
1192
|
+
/** 列对齐方式是否可编辑 */
|
|
1193
|
+
columnAlignEditable?: boolean;
|
|
1194
|
+
/** 是否启用字段编辑 */
|
|
1195
|
+
isEnableEditFieldv?: boolean;
|
|
1196
|
+
/** 是否启用上下文菜单 */
|
|
1197
|
+
isEnableContextMenu?: boolean;
|
|
1198
|
+
/** 是否启用插入行 */
|
|
1199
|
+
isEnableInsertRow?: boolean;
|
|
1200
|
+
/** 是否启用删除行 */
|
|
1201
|
+
isEnableDeleteRow?: boolean;
|
|
1202
|
+
/** 是否启用插入列 */
|
|
1203
|
+
isEnableInsertColumn?: boolean;
|
|
1204
|
+
/** 是否启用删除列 */
|
|
1205
|
+
isEnableDeleteColumn?: boolean;
|
|
1206
|
+
/** 是否启用合并单元格 */
|
|
1207
|
+
isEnableMergeCell?: boolean;
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export declare const OrcProvider: __VLS_WithTemplateSlots< DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
829
1212
|
default?(_: {}): any;
|
|
830
1213
|
}>;
|
|
831
1214
|
|
|
832
|
-
export declare const OrcQuill: DefineComponent<{
|
|
1215
|
+
export declare const OrcQuill: DefineComponent<ExtractPropTypes<{
|
|
833
1216
|
modelValue: {
|
|
834
1217
|
type: StringConstructor;
|
|
835
1218
|
default: string;
|
|
@@ -838,7 +1221,7 @@ export declare const OrcQuill: DefineComponent<{
|
|
|
838
1221
|
type: (StringConstructor | ArrayConstructor)[];
|
|
839
1222
|
default: string;
|
|
840
1223
|
};
|
|
841
|
-
}
|
|
1224
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
842
1225
|
"update:modelValue": (...args: any[]) => void;
|
|
843
1226
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
844
1227
|
modelValue: {
|
|
@@ -849,14 +1232,14 @@ export declare const OrcQuill: DefineComponent<{
|
|
|
849
1232
|
type: (StringConstructor | ArrayConstructor)[];
|
|
850
1233
|
default: string;
|
|
851
1234
|
};
|
|
852
|
-
}>> & {
|
|
1235
|
+
}>> & Readonly<{
|
|
853
1236
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
854
|
-
}
|
|
1237
|
+
}>, {
|
|
855
1238
|
modelValue: string;
|
|
856
1239
|
toolbar: string | unknown[];
|
|
857
|
-
}, {}>;
|
|
1240
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
858
1241
|
|
|
859
|
-
export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<{
|
|
1242
|
+
export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<ExtractPropTypes<{
|
|
860
1243
|
loading: BooleanConstructor;
|
|
861
1244
|
readonly: BooleanConstructor;
|
|
862
1245
|
options: {
|
|
@@ -879,9 +1262,9 @@ export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<{
|
|
|
879
1262
|
type: StringConstructor;
|
|
880
1263
|
default: string;
|
|
881
1264
|
};
|
|
882
|
-
}
|
|
883
|
-
onSearch: (...args: any[]) => void;
|
|
1265
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
884
1266
|
"update:model-value": (...args: any[]) => void;
|
|
1267
|
+
onSearch: (...args: any[]) => void;
|
|
885
1268
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
886
1269
|
loading: BooleanConstructor;
|
|
887
1270
|
readonly: BooleanConstructor;
|
|
@@ -905,18 +1288,18 @@ export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<{
|
|
|
905
1288
|
type: StringConstructor;
|
|
906
1289
|
default: string;
|
|
907
1290
|
};
|
|
908
|
-
}>> & {
|
|
1291
|
+
}>> & Readonly<{
|
|
909
1292
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
910
1293
|
onOnSearch?: ((...args: any[]) => any) | undefined;
|
|
911
|
-
}
|
|
1294
|
+
}>, {
|
|
912
1295
|
loading: boolean;
|
|
913
1296
|
size: string;
|
|
914
1297
|
modelValue: Record<string, any>;
|
|
1298
|
+
labelWidth: string;
|
|
915
1299
|
options: OrcSearchItem[];
|
|
916
1300
|
readonly: boolean;
|
|
917
|
-
labelWidth: string;
|
|
918
1301
|
inputWidth: string;
|
|
919
|
-
}, {}>, {
|
|
1302
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
920
1303
|
head?(_: {}): any;
|
|
921
1304
|
default?(_: {}): any;
|
|
922
1305
|
}>;
|
|
@@ -954,13 +1337,18 @@ export declare interface OrcSearchItem extends RecordAny {
|
|
|
954
1337
|
rules?: RecordAny | RecordAny[];
|
|
955
1338
|
}
|
|
956
1339
|
|
|
957
|
-
export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
1340
|
+
export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<ExtractPropTypes<{
|
|
958
1341
|
title: StringConstructor;
|
|
959
1342
|
/** auto(铺满父容器,必须确保存在父节点且不允许存在相邻元素 ,), %, px */
|
|
960
1343
|
height: (StringConstructor | NumberConstructor)[];
|
|
961
1344
|
/** 隐藏工具栏 */
|
|
962
1345
|
hideToolbar: BooleanConstructor;
|
|
1346
|
+
hideSetting: BooleanConstructor;
|
|
963
1347
|
hidePagination: BooleanConstructor;
|
|
1348
|
+
isHover: {
|
|
1349
|
+
type: BooleanConstructor;
|
|
1350
|
+
default: boolean;
|
|
1351
|
+
};
|
|
964
1352
|
size: {
|
|
965
1353
|
type: PropType<"medium" | "small" | "mini">;
|
|
966
1354
|
default: string;
|
|
@@ -972,7 +1360,7 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
972
1360
|
};
|
|
973
1361
|
/** 与 loadData 行为一致 */
|
|
974
1362
|
data: {
|
|
975
|
-
type:
|
|
1363
|
+
type: PropType<RecordAny_2[]>;
|
|
976
1364
|
default: () => never[];
|
|
977
1365
|
};
|
|
978
1366
|
/** 配置文件 */
|
|
@@ -987,7 +1375,7 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
987
1375
|
getColumn: () => Promise<[boolean, RecordAny_2[]]>;
|
|
988
1376
|
setColumn: (list: RecordAny_2[]) => void;
|
|
989
1377
|
}>;
|
|
990
|
-
}
|
|
1378
|
+
}>, {
|
|
991
1379
|
getRowKey(): string;
|
|
992
1380
|
getTableData(): RecordAny_2[];
|
|
993
1381
|
getSelection(): RecordAny_2[];
|
|
@@ -1009,19 +1397,25 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
1009
1397
|
dataInit(isFirst?: boolean | undefined): Promise<void>;
|
|
1010
1398
|
/** 加载数据 */
|
|
1011
1399
|
loadData(list: any[]): void;
|
|
1012
|
-
},
|
|
1400
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1013
1401
|
"update:selectedKeys": (...args: any[]) => void;
|
|
1402
|
+
change: (...args: any[]) => void;
|
|
1014
1403
|
cellClick: (...args: any[]) => void;
|
|
1015
1404
|
onReset: (...args: any[]) => void;
|
|
1016
|
-
change: (...args: any[]) => void;
|
|
1017
1405
|
confirm: (...args: any[]) => void;
|
|
1406
|
+
cellDblclick: (...args: any[]) => void;
|
|
1018
1407
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1019
1408
|
title: StringConstructor;
|
|
1020
1409
|
/** auto(铺满父容器,必须确保存在父节点且不允许存在相邻元素 ,), %, px */
|
|
1021
1410
|
height: (StringConstructor | NumberConstructor)[];
|
|
1022
1411
|
/** 隐藏工具栏 */
|
|
1023
1412
|
hideToolbar: BooleanConstructor;
|
|
1413
|
+
hideSetting: BooleanConstructor;
|
|
1024
1414
|
hidePagination: BooleanConstructor;
|
|
1415
|
+
isHover: {
|
|
1416
|
+
type: BooleanConstructor;
|
|
1417
|
+
default: boolean;
|
|
1418
|
+
};
|
|
1025
1419
|
size: {
|
|
1026
1420
|
type: PropType<"medium" | "small" | "mini">;
|
|
1027
1421
|
default: string;
|
|
@@ -1033,7 +1427,7 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
1033
1427
|
};
|
|
1034
1428
|
/** 与 loadData 行为一致 */
|
|
1035
1429
|
data: {
|
|
1036
|
-
type:
|
|
1430
|
+
type: PropType<RecordAny_2[]>;
|
|
1037
1431
|
default: () => never[];
|
|
1038
1432
|
};
|
|
1039
1433
|
/** 配置文件 */
|
|
@@ -1048,22 +1442,26 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
1048
1442
|
getColumn: () => Promise<[boolean, RecordAny_2[]]>;
|
|
1049
1443
|
setColumn: (list: RecordAny_2[]) => void;
|
|
1050
1444
|
}>;
|
|
1051
|
-
}>> & {
|
|
1445
|
+
}>> & Readonly<{
|
|
1052
1446
|
"onUpdate:selectedKeys"?: ((...args: any[]) => any) | undefined;
|
|
1447
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1053
1448
|
onCellClick?: ((...args: any[]) => any) | undefined;
|
|
1054
1449
|
onOnReset?: ((...args: any[]) => any) | undefined;
|
|
1055
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1056
1450
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
1057
|
-
|
|
1058
|
-
|
|
1451
|
+
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
|
1452
|
+
}>, {
|
|
1453
|
+
data: RecordAny_2[];
|
|
1059
1454
|
option: OrcTableOption;
|
|
1060
1455
|
size: "medium" | "small" | "mini";
|
|
1061
1456
|
hideToolbar: boolean;
|
|
1457
|
+
hideSetting: boolean;
|
|
1062
1458
|
hidePagination: boolean;
|
|
1459
|
+
isHover: boolean;
|
|
1063
1460
|
selectedKeys: unknown[];
|
|
1064
|
-
}, {}>, {
|
|
1461
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1065
1462
|
default?(_: {}): any;
|
|
1066
1463
|
tools?(_: {}): any;
|
|
1464
|
+
columns?(_: {}): any;
|
|
1067
1465
|
cell?(_: {
|
|
1068
1466
|
record: any;
|
|
1069
1467
|
dataIndex: string;
|
|
@@ -1076,6 +1474,40 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<{
|
|
|
1076
1474
|
footer?(_: {}): any;
|
|
1077
1475
|
}>;
|
|
1078
1476
|
|
|
1477
|
+
declare interface OrcTableExpose extends TableGridTwoType {
|
|
1478
|
+
loading: boolean;
|
|
1479
|
+
setLoading: (loading?: boolean) => void;
|
|
1480
|
+
/** 请求数据 */
|
|
1481
|
+
dataInit: () => Promise<void>;
|
|
1482
|
+
/** 重置表单数据 */
|
|
1483
|
+
loadData: (list: RecordAny_2[]) => void;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/** column type */
|
|
1487
|
+
declare interface OrcTableItem extends RecordAny_2 {
|
|
1488
|
+
show?: boolean;
|
|
1489
|
+
dataIndex: string;
|
|
1490
|
+
title?: string;
|
|
1491
|
+
width?: number;
|
|
1492
|
+
sort?: boolean;
|
|
1493
|
+
/** 开启编辑 */
|
|
1494
|
+
cell?: boolean;
|
|
1495
|
+
/** 影响性能 cell = true 有效 只显示编辑内容 */
|
|
1496
|
+
div?: boolean;
|
|
1497
|
+
/** 没内容时候得提示 */
|
|
1498
|
+
placeholder?: string;
|
|
1499
|
+
tooltip?: boolean;
|
|
1500
|
+
ellipsis?: boolean;
|
|
1501
|
+
align?: VxeColumnPropTypes.Align;
|
|
1502
|
+
headerAlign?: VxeColumnPropTypes.HeaderAlign;
|
|
1503
|
+
footerAlign?: VxeColumnPropTypes.FooterAlign;
|
|
1504
|
+
format?: (val: any, record?: RecordAny_2) => string;
|
|
1505
|
+
style?: CssType | ((record: RecordAny_2) => CssType);
|
|
1506
|
+
/** 同 :title-prefix "{ content: '必填', icon: 'vxe-cell--required-icon' }" */
|
|
1507
|
+
help?: VxeColumnPropTypes.TitlePrefix;
|
|
1508
|
+
columnProps?: any;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1079
1511
|
/**
|
|
1080
1512
|
* table option type
|
|
1081
1513
|
* @example
|
|
@@ -1105,7 +1537,7 @@ export declare interface OrcTableOption extends RecordAny_2 {
|
|
|
1105
1537
|
/** 多选时 同kay选择 */
|
|
1106
1538
|
checkboxKey?: string;
|
|
1107
1539
|
/** 自定义列 同 resolveColumns() */
|
|
1108
|
-
columns:
|
|
1540
|
+
columns: OrcTableItem[];
|
|
1109
1541
|
/** 默认分页条数 */
|
|
1110
1542
|
pageSize?: number;
|
|
1111
1543
|
/** 默认分页列表 */
|
|
@@ -1137,7 +1569,9 @@ export declare interface OrcTableOption extends RecordAny_2 {
|
|
|
1137
1569
|
/** 同 merge-footer-items 临时合并表尾 (不能用于展开行,不建议用于固定列、树形结构) */
|
|
1138
1570
|
mergeFooter?: VxeTablePropTypes.MergeFooterItems;
|
|
1139
1571
|
/** 自定义列 同 columns */
|
|
1140
|
-
resolveColumns?: (columns?:
|
|
1572
|
+
resolveColumns?: (columns?: OrcTableItem[]) => OrcTableItem[];
|
|
1573
|
+
/** 计算总条目 */
|
|
1574
|
+
resolveTotal?: (e: RecordAny_2) => number;
|
|
1141
1575
|
/** 请求超时时间 */
|
|
1142
1576
|
timeout?: number;
|
|
1143
1577
|
/** 静态参数 */
|
|
@@ -1176,6 +1610,7 @@ declare interface Props_2 {
|
|
|
1176
1610
|
title?: string;
|
|
1177
1611
|
span?: number;
|
|
1178
1612
|
gutter?: number;
|
|
1613
|
+
size?: Size;
|
|
1179
1614
|
config: OrcFormItem[];
|
|
1180
1615
|
modelValue?: RecordAny;
|
|
1181
1616
|
labelWidth?: string;
|
|
@@ -1183,45 +1618,34 @@ declare interface Props_2 {
|
|
|
1183
1618
|
modalAttrs?: ModalInstance['$props'];
|
|
1184
1619
|
}
|
|
1185
1620
|
|
|
1621
|
+
declare type Props_3 = {
|
|
1622
|
+
/** 更新模板 hiprintTemplate.update */
|
|
1623
|
+
template?: Record<string, any>;
|
|
1624
|
+
/** 更新数据源 hiprintTemplate.setFields */
|
|
1625
|
+
fields?: FieldOption[];
|
|
1626
|
+
/** 预览测试数据 */
|
|
1627
|
+
printData?: Record<string, any>;
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1186
1630
|
export declare type RecordAny = Record<string, any>;
|
|
1187
1631
|
|
|
1188
1632
|
declare type RecordAny_2 = Record<string, any>;
|
|
1189
1633
|
|
|
1190
|
-
|
|
1634
|
+
/** 通用对象类型 (键值对形式) */
|
|
1635
|
+
declare type RecordAny_3 = Record<string, any>;
|
|
1191
1636
|
|
|
1192
|
-
/**
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
div?: boolean;
|
|
1203
|
-
/** 没内容时候得提示 */
|
|
1204
|
-
placeholder?: string;
|
|
1205
|
-
tooltip?: boolean;
|
|
1206
|
-
ellipsis?: boolean;
|
|
1207
|
-
align?: VxeColumnPropTypes.Align;
|
|
1208
|
-
headerAlign?: VxeColumnPropTypes.HeaderAlign;
|
|
1209
|
-
footerAlign?: VxeColumnPropTypes.FooterAlign;
|
|
1210
|
-
format?: (val: any, record?: RecordAny_2) => string;
|
|
1211
|
-
style?: CssType | ((record: RecordAny_2) => CssType);
|
|
1212
|
-
/** 同 :title-prefix "{ content: '必填', icon: 'vxe-cell--required-icon' }" */
|
|
1213
|
-
help?: VxeColumnPropTypes.TitlePrefix;
|
|
1214
|
-
columnProps?: any;
|
|
1215
|
-
}
|
|
1637
|
+
/**
|
|
1638
|
+
* set path object
|
|
1639
|
+
* @example
|
|
1640
|
+
* ```
|
|
1641
|
+
* var b = {a:{b:1}}
|
|
1642
|
+
* setData(b,'a.b',2)
|
|
1643
|
+
* // {a:{b:2}}
|
|
1644
|
+
* ```
|
|
1645
|
+
*/
|
|
1646
|
+
export declare function setData(object: RecordAny, path: string, defaultValue?: any): RecordAny;
|
|
1216
1647
|
|
|
1217
|
-
declare
|
|
1218
|
-
loading: boolean;
|
|
1219
|
-
setLoading: (loading?: boolean) => void;
|
|
1220
|
-
/** 请求数据 */
|
|
1221
|
-
dataInit: () => Promise<void>;
|
|
1222
|
-
/** 重置表单数据 */
|
|
1223
|
-
loadData: (list: RecordAny_2[]) => void;
|
|
1224
|
-
}
|
|
1648
|
+
declare function setLoading(val?: boolean): void;
|
|
1225
1649
|
|
|
1226
1650
|
declare interface TableGridTwoType extends RecordAny_2 {
|
|
1227
1651
|
/** 读取配置的rowKey 默认 _X_ROW_KEY */
|
|
@@ -1266,6 +1690,12 @@ declare interface TableGridTwoType extends RecordAny_2 {
|
|
|
1266
1690
|
|
|
1267
1691
|
declare type TableInstance = InstanceType<typeof VxeTable>;
|
|
1268
1692
|
|
|
1693
|
+
/** array */
|
|
1694
|
+
export declare function toArray<T>(target: T | T[]): T[];
|
|
1695
|
+
|
|
1696
|
+
/** 读取数据类型 */
|
|
1697
|
+
export declare function typeName(o: unknown): string;
|
|
1698
|
+
|
|
1269
1699
|
/**
|
|
1270
1700
|
* @example
|
|
1271
1701
|
* ```
|
|
@@ -1347,7 +1777,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1347
1777
|
getRowSeq: (row: any) => string | number;
|
|
1348
1778
|
getRowIndex: (row: any) => number;
|
|
1349
1779
|
removerRowIndex: (rowIndex: number) => void;
|
|
1350
|
-
},
|
|
1780
|
+
}, OrcTableExpose | {
|
|
1351
1781
|
[x: string]: any;
|
|
1352
1782
|
loading: boolean;
|
|
1353
1783
|
setLoading: (loading?: boolean | undefined) => void;
|
|
@@ -1378,7 +1808,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1378
1808
|
checkKey?: string | undefined;
|
|
1379
1809
|
rowKey?: string | undefined;
|
|
1380
1810
|
checkboxKey?: string | undefined;
|
|
1381
|
-
columns:
|
|
1811
|
+
columns: OrcTableItem[];
|
|
1382
1812
|
pageSize?: number | undefined;
|
|
1383
1813
|
pageSizeOptions?: number[] | undefined;
|
|
1384
1814
|
selectedType?: "checkbox" | "radio" | undefined;
|
|
@@ -1398,7 +1828,8 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1398
1828
|
}) => CssType) | undefined;
|
|
1399
1829
|
footerMethod?: VxeTablePropTypes<VxeTableDataRow> | undefined;
|
|
1400
1830
|
mergeFooter?: VxeTablePropTypes<VxeTableDataRow> | undefined;
|
|
1401
|
-
resolveColumns?: ((columns?:
|
|
1831
|
+
resolveColumns?: ((columns?: OrcTableItem[] | undefined) => OrcTableItem[]) | undefined;
|
|
1832
|
+
resolveTotal?: ((e: RecordAny_2) => number) | undefined;
|
|
1402
1833
|
timeout?: number | undefined;
|
|
1403
1834
|
data?: RecordAny_2 | undefined;
|
|
1404
1835
|
resolvePage?: ((page?: RecordAny_2 | undefined) => any) | undefined;
|
|
@@ -1789,25 +2220,8 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1789
2220
|
selectedKeys: Ref<string[], string[]>;
|
|
1790
2221
|
};
|
|
1791
2222
|
|
|
1792
|
-
export declare function useState<T extends
|
|
2223
|
+
export declare function useState<T extends Record<string, any>>(initValue?: T, formsRef?: Ref<{
|
|
1793
2224
|
resetFields?: () => void;
|
|
1794
|
-
}>):
|
|
1795
|
-
|
|
1796
|
-
export declare const utils: {
|
|
1797
|
-
formatTable: {
|
|
1798
|
-
tf: (val: any, digits?: any) => any;
|
|
1799
|
-
t: (val: any) => string;
|
|
1800
|
-
time: (val: any, f?: string) => string;
|
|
1801
|
-
p: (val: any, digits?: any, percent?: string) => string;
|
|
1802
|
-
};
|
|
1803
|
-
mergeConfig: typeof mergeConfig;
|
|
1804
|
-
generateQRcodeBase64: typeof generateQRcodeBase64;
|
|
1805
|
-
downLoadPdf: typeof downLoadPdf;
|
|
1806
|
-
findObject: typeof findObject;
|
|
1807
|
-
omitObject: typeof omitObject;
|
|
1808
|
-
deepClone: <T = RecordAny | RecordAny[]>(origin: T) => T;
|
|
1809
|
-
download: (url: string, fileName?: string) => boolean;
|
|
1810
|
-
log: typeof log;
|
|
1811
|
-
};
|
|
2225
|
+
}>): [Ref<T>, (defValue?: Partial<T>) => void];
|
|
1812
2226
|
|
|
1813
2227
|
export { }
|