@shaonq/vue 1.2.4 → 1.2.6
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 +7 -7
- package/lib/index.js +2504 -2248
- package/lib/style.css +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ export declare const download: (url: string, fileName?: string) => boolean;
|
|
|
248
248
|
* @throws 如果未传入 element,则抛出错误
|
|
249
249
|
*
|
|
250
250
|
* 注意事项:
|
|
251
|
-
* - 使用 htmlToImage 将 HTML 渲染为 Canvas
|
|
251
|
+
* - 使用 snapdom或htmlToImage 将 HTML 渲染为 Canvas
|
|
252
252
|
* - 使用 jsPDF 将 Canvas 添加到 PDF 文档
|
|
253
253
|
* - 默认 A4 格式纵向,可自定义通过 `option.orientation`
|
|
254
254
|
* - 当内容高度超过一页时会自动分页
|
|
@@ -1096,7 +1096,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1096
1096
|
fontFamily?: string | undefined;
|
|
1097
1097
|
fontSize?: string | undefined;
|
|
1098
1098
|
fontWeight?: string | undefined;
|
|
1099
|
-
} | undefined, {
|
|
1099
|
+
} | null | undefined, {
|
|
1100
1100
|
[x: string]: any;
|
|
1101
1101
|
left?: number | undefined;
|
|
1102
1102
|
top?: number | undefined;
|
|
@@ -1136,7 +1136,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1136
1136
|
fontFamily?: string | undefined;
|
|
1137
1137
|
fontSize?: string | undefined;
|
|
1138
1138
|
fontWeight?: string | undefined;
|
|
1139
|
-
} | undefined>;
|
|
1139
|
+
} | null | undefined>;
|
|
1140
1140
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1141
1141
|
onSave: (...args: any[]) => void;
|
|
1142
1142
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_4>, {
|
|
@@ -1158,7 +1158,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1158
1158
|
updateJson(str: string): void;
|
|
1159
1159
|
exportJson(): string;
|
|
1160
1160
|
setElsAlign(type?: "bottom" | "left" | "right" | "top" | "horizontal" | "vertical" | "distributeHor" | "distributeVer" | undefined): void;
|
|
1161
|
-
setElsSpace(h?: boolean): void;
|
|
1161
|
+
setElsSpace(h?: boolean, val?: number): void;
|
|
1162
1162
|
setEleSelectByField(): void;
|
|
1163
1163
|
getSelectEls(): any[];
|
|
1164
1164
|
updateOption<T>(key: string, value: T): void;
|
|
@@ -1172,7 +1172,7 @@ export declare const OrcHiPrint: __VLS_WithTemplateSlots_8< DefineComponent<Extr
|
|
|
1172
1172
|
updateJson(str: string): void;
|
|
1173
1173
|
exportJson(): string;
|
|
1174
1174
|
setElsAlign(type?: "bottom" | "left" | "right" | "top" | "horizontal" | "vertical" | "distributeHor" | "distributeVer" | undefined): void;
|
|
1175
|
-
setElsSpace(h?: boolean): void;
|
|
1175
|
+
setElsSpace(h?: boolean, val?: number): void;
|
|
1176
1176
|
setEleSelectByField(): void;
|
|
1177
1177
|
getSelectEls(): any[];
|
|
1178
1178
|
updateOption<T>(key: string, value: T): void;
|
|
@@ -1348,7 +1348,7 @@ export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<Extra
|
|
|
1348
1348
|
default: string;
|
|
1349
1349
|
};
|
|
1350
1350
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1351
|
-
"update:
|
|
1351
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1352
1352
|
onSearch: (...args: any[]) => void;
|
|
1353
1353
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1354
1354
|
loading: BooleanConstructor;
|
|
@@ -1374,7 +1374,7 @@ export declare const OrcSearch: __VLS_WithTemplateSlots_4< DefineComponent<Extra
|
|
|
1374
1374
|
default: string;
|
|
1375
1375
|
};
|
|
1376
1376
|
}>> & Readonly<{
|
|
1377
|
-
"onUpdate:
|
|
1377
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1378
1378
|
onOnSearch?: ((...args: any[]) => any) | undefined;
|
|
1379
1379
|
}>, {
|
|
1380
1380
|
loading: boolean;
|