@jetprint/editor-sdk 1.0.9 → 1.0.10
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/components/Editor/components/EditorIcon.vue.d.ts +2 -0
- package/dist/components/Editor/composables/useClearCanvas.d.ts +3 -1
- package/dist/editor-sdk.es.js +16090 -15940
- package/dist/renderWorker.js +2788 -2787
- package/dist/style.css +1 -1
- package/dist/utils/protection/encryptedModules.generated.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ import { type EditorIconName } from '../assets/editorIcons';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: EditorIconName;
|
|
4
4
|
nav?: boolean;
|
|
5
|
+
/** true 时用 currentColor 着色(mask 渲染),使图标随文字颜色变化;默认沿用彩色 <img> */
|
|
6
|
+
mono?: boolean;
|
|
5
7
|
};
|
|
6
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
9
|
export default _default;
|
|
@@ -25,7 +25,9 @@ export interface UseClearCanvasOptions {
|
|
|
25
25
|
}
|
|
26
26
|
export declare function useClearCanvas(options: UseClearCanvasOptions): {
|
|
27
27
|
showClearConfirm: Ref<boolean, boolean>;
|
|
28
|
-
doClearCanvas: (
|
|
28
|
+
doClearCanvas: (opts?: {
|
|
29
|
+
deferPreview?: boolean;
|
|
30
|
+
}) => Promise<void>;
|
|
29
31
|
clearCanvas: () => void;
|
|
30
32
|
confirmClearCanvas: () => Promise<void>;
|
|
31
33
|
cancelClearCanvas: () => void;
|