@ym-print/designer-vue 0.1.0-rc.2 → 0.1.0-rc.3
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/README.md +5 -5
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dependency-licenses.json +1 -1
- package/dist/Designer.d.ts +12 -12
- package/dist/HistoryIcon.d.ts +6 -0
- package/dist/PrintTimeProperties.d.ts +12 -0
- package/dist/SelectionToolbar.d.ts +2 -2
- package/dist/{batch-CAXW738z.js → batch-CqBSPCPl.js} +220 -211
- package/dist/business-types.d.ts +6 -0
- package/dist/business.d.ts +4 -1
- package/dist/design-resources.d.ts +23 -0
- package/dist/document.d.ts +2 -4
- package/dist/field-tree.d.ts +3 -1
- package/dist/geometry.d.ts +18 -0
- package/dist/history.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3568 -3057
- package/dist/printing.js +2 -2
- package/dist/style.css +1 -1
- package/dist/text-sizing.d.ts +14 -3
- package/dist/types.d.ts +2 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -32,16 +32,16 @@ pnpm candidate:pack
|
|
|
32
32
|
```yaml
|
|
33
33
|
packages: []
|
|
34
34
|
overrides:
|
|
35
|
-
'@ym-print/core': file:./ym-print-core-0.1.0-rc.
|
|
36
|
-
'@ym-print/renderer-dom': file:./ym-print-renderer-dom-0.1.0-rc.
|
|
37
|
-
'@ym-print/renderer-pdf': file:./ym-print-renderer-pdf-0.1.0-rc.
|
|
38
|
-
'@ym-print/designer-vue': file:./ym-print-designer-vue-0.1.0-rc.
|
|
35
|
+
'@ym-print/core': file:./ym-print-core-0.1.0-rc.3.tgz
|
|
36
|
+
'@ym-print/renderer-dom': file:./ym-print-renderer-dom-0.1.0-rc.3.tgz
|
|
37
|
+
'@ym-print/renderer-pdf': file:./ym-print-renderer-pdf-0.1.0-rc.3.tgz
|
|
38
|
+
'@ym-print/designer-vue': file:./ym-print-designer-vue-0.1.0-rc.3.tgz
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
安装这些文件及 Vue:
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
pnpm add vue@^3.5.0 ./ym-print-core-0.1.0-rc.
|
|
44
|
+
pnpm add vue@^3.5.0 ./ym-print-core-0.1.0-rc.3.tgz ./ym-print-renderer-dom-0.1.0-rc.3.tgz ./ym-print-renderer-pdf-0.1.0-rc.3.tgz ./ym-print-designer-vue-0.1.0-rc.3.tgz
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Vue 组件
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
@ym-print/designer-vue 0.1.0-rc.
|
|
3
|
+
@ym-print/designer-vue 0.1.0-rc.3 — original code: UNLICENSED.
|
|
4
4
|
|
|
5
5
|
Bundled code and external packages keep their original licenses. Optional peers are loaded through their documented opt-in entry.
|
|
6
6
|
|
package/dependency-licenses.json
CHANGED
package/dist/Designer.d.ts
CHANGED
|
@@ -15,37 +15,37 @@ type DropPoint = {
|
|
|
15
15
|
declare function insertField(field: BusinessField, drop?: DropPoint): void;
|
|
16
16
|
declare function bindField(path: string): void;
|
|
17
17
|
declare function insertImage(file: File | ImageResource): Promise<void>;
|
|
18
|
-
declare var
|
|
18
|
+
declare var __VLS_25: {
|
|
19
19
|
document: DesignDocument;
|
|
20
20
|
api: DesignerApi;
|
|
21
|
-
},
|
|
21
|
+
}, __VLS_28: {
|
|
22
22
|
fields: BusinessField[];
|
|
23
23
|
bind: typeof bindField;
|
|
24
24
|
insert: typeof insertField;
|
|
25
|
-
},
|
|
25
|
+
}, __VLS_40: {
|
|
26
26
|
tables: BusinessTablePreset[];
|
|
27
27
|
insert: (table: BusinessTablePreset) => void;
|
|
28
|
-
},
|
|
28
|
+
}, __VLS_73: {
|
|
29
29
|
insert: typeof insertImage;
|
|
30
|
-
},
|
|
30
|
+
}, __VLS_103: {
|
|
31
31
|
selection: PrintNode[];
|
|
32
32
|
api: DesignerApi;
|
|
33
|
-
},
|
|
33
|
+
}, __VLS_190: {
|
|
34
34
|
document: DesignDocument;
|
|
35
35
|
selection: string[];
|
|
36
36
|
};
|
|
37
37
|
type __VLS_Slots = {} & {
|
|
38
|
-
toolbar?: (props: typeof
|
|
38
|
+
toolbar?: (props: typeof __VLS_25) => any;
|
|
39
39
|
} & {
|
|
40
|
-
fields?: (props: typeof
|
|
40
|
+
fields?: (props: typeof __VLS_28) => any;
|
|
41
41
|
} & {
|
|
42
|
-
tables?: (props: typeof
|
|
42
|
+
tables?: (props: typeof __VLS_40) => any;
|
|
43
43
|
} & {
|
|
44
|
-
images?: (props: typeof
|
|
44
|
+
images?: (props: typeof __VLS_73) => any;
|
|
45
45
|
} & {
|
|
46
|
-
'selection-toolbar'?: (props: typeof
|
|
46
|
+
'selection-toolbar'?: (props: typeof __VLS_103) => any;
|
|
47
47
|
} & {
|
|
48
|
-
properties?: (props: typeof
|
|
48
|
+
properties?: (props: typeof __VLS_190) => any;
|
|
49
49
|
};
|
|
50
50
|
declare const __VLS_base: import("vue").DefineComponent<DesignerProps, DesignerApi, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
error: (error: PrintError) => any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
kind: 'undo' | 'redo';
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: 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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PrintTimePayload } from '@ym-print/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
payload: PrintTimePayload;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
change: (value: Record<string, unknown>) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onChange?: ((value: Record<string, unknown>) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -18,7 +18,7 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
default?: (props: typeof __VLS_1) => any;
|
|
19
19
|
};
|
|
20
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
align: (value: "
|
|
21
|
+
align: (value: "left" | "center" | "right") => any;
|
|
22
22
|
font: (delta: number) => any;
|
|
23
23
|
bold: () => any;
|
|
24
24
|
duplicate: () => any;
|
|
@@ -26,7 +26,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
26
|
lock: () => any;
|
|
27
27
|
action: (action: SelectionToolbarAction) => any;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onAlign?: ((value: "
|
|
29
|
+
onAlign?: ((value: "left" | "center" | "right") => any) | undefined;
|
|
30
30
|
onFont?: ((delta: number) => any) | undefined;
|
|
31
31
|
onBold?: (() => any) | undefined;
|
|
32
32
|
onDuplicate?: (() => any) | undefined;
|