@shaonq/vue 1.1.21 → 1.2.1
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 +8 -9
- package/lib/index.js +1635 -1846
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ import { ComputedOptions } from 'vue';
|
|
|
7
7
|
import { DefineComponent } from 'vue';
|
|
8
8
|
import { ExtractPropTypes } from 'vue';
|
|
9
9
|
import { FormItem } from '@arco-design/web-vue';
|
|
10
|
-
import { hiprint } from '@
|
|
10
|
+
import { hiprint } from '@shaonq/hiprint';
|
|
11
11
|
import { MethodOptions } from 'vue';
|
|
12
12
|
import { Modal } from '@arco-design/web-vue';
|
|
13
13
|
import { ModalConfig } from '@arco-design/web-vue';
|
|
14
14
|
import { ModalMethod } from '@arco-design/web-vue';
|
|
15
|
-
import { PrintTemplate } from '@
|
|
15
|
+
import { PrintTemplate } from '@shaonq/hiprint';
|
|
16
16
|
import { PropType } from 'vue';
|
|
17
17
|
import { PublicProps } from 'vue';
|
|
18
18
|
import { Ref } from 'vue';
|
|
@@ -211,7 +211,7 @@ declare type ComponentAttrHandler = (util: OrcFormUtilBind, index?: any) => unkn
|
|
|
211
211
|
/** 组件属性允许的值类型 */
|
|
212
212
|
declare type ComponentAttrValue = null | boolean | number | string | RecordAny_3 | RecordAny_3[] | ComponentAttrHandler;
|
|
213
213
|
|
|
214
|
-
declare interface CssType extends Partial<CSSStyleDeclaration>, RecordAny_2 {
|
|
214
|
+
export declare interface CssType extends Partial<CSSStyleDeclaration>, RecordAny_2 {
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
export declare const deepClone: <T = RecordAny | RecordAny[]>(origin: T) => T;
|
|
@@ -756,10 +756,6 @@ export declare const OrcDesign: DefineComponent<ExtractPropTypes<{
|
|
|
756
756
|
remoteFuncs: Record<string, any>;
|
|
757
757
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
758
758
|
|
|
759
|
-
export declare const OrcDesignPrint: DefineComponent<{}, {
|
|
760
|
-
getHtml(): any;
|
|
761
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
762
|
-
|
|
763
759
|
export declare const OrcForm: __VLS_WithTemplateSlots_5< DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
|
|
764
760
|
config?: OrcFormItem[] | undefined;
|
|
765
761
|
labelWidth?: string | undefined;
|
|
@@ -1050,6 +1046,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1050
1046
|
}>>, {
|
|
1051
1047
|
hiprintTemplate: Ref<PrintTemplate | undefined, PrintTemplate | undefined>;
|
|
1052
1048
|
selectedOptions: Ref<{
|
|
1049
|
+
[x: string]: any;
|
|
1053
1050
|
left?: number | undefined;
|
|
1054
1051
|
top?: number | undefined;
|
|
1055
1052
|
height?: number | undefined;
|
|
@@ -1089,6 +1086,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1089
1086
|
fontSize?: string | undefined;
|
|
1090
1087
|
fontWeight?: string | undefined;
|
|
1091
1088
|
} | undefined, {
|
|
1089
|
+
[x: string]: any;
|
|
1092
1090
|
left?: number | undefined;
|
|
1093
1091
|
top?: number | undefined;
|
|
1094
1092
|
height?: number | undefined;
|
|
@@ -1138,8 +1136,8 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1138
1136
|
onOnSave?: ((...args: any[]) => any) | undefined;
|
|
1139
1137
|
}>, {
|
|
1140
1138
|
template: Record<string, any>;
|
|
1141
|
-
printData: Record<string, any>;
|
|
1142
1139
|
fields: FieldOption[];
|
|
1140
|
+
printData: Record<string, any>;
|
|
1143
1141
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1144
1142
|
"toolbar-left"?(_: {
|
|
1145
1143
|
tools: {
|
|
@@ -1248,6 +1246,7 @@ export declare interface OrcHiPrintData extends Record<string, any> {
|
|
|
1248
1246
|
fontSize?: string;
|
|
1249
1247
|
/** 字体粗细 */
|
|
1250
1248
|
fontWeight?: string;
|
|
1249
|
+
[x: string]: any;
|
|
1251
1250
|
};
|
|
1252
1251
|
printElementType: {
|
|
1253
1252
|
/** 元素标题 */
|
|
@@ -1496,7 +1495,7 @@ declare interface OrcTableExpose extends TableGridTwoType {
|
|
|
1496
1495
|
}
|
|
1497
1496
|
|
|
1498
1497
|
/** column type */
|
|
1499
|
-
declare interface OrcTableItem extends RecordAny_2 {
|
|
1498
|
+
export declare interface OrcTableItem extends RecordAny_2 {
|
|
1500
1499
|
show?: boolean;
|
|
1501
1500
|
dataIndex: string;
|
|
1502
1501
|
title?: string;
|