@shaonq/vue 1.2.5 → 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 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
  * - 当内容高度超过一页时会自动分页
@@ -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:model-value": (...args: any[]) => void;
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:model-value"?: ((...args: any[]) => any) | undefined;
1377
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1378
1378
  onOnSearch?: ((...args: any[]) => any) | undefined;
1379
1379
  }>, {
1380
1380
  loading: boolean;