@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 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.2.tgz
36
- '@ym-print/renderer-dom': file:./ym-print-renderer-dom-0.1.0-rc.2.tgz
37
- '@ym-print/renderer-pdf': file:./ym-print-renderer-pdf-0.1.0-rc.2.tgz
38
- '@ym-print/designer-vue': file:./ym-print-designer-vue-0.1.0-rc.2.tgz
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.2.tgz ./ym-print-renderer-dom-0.1.0-rc.2.tgz ./ym-print-renderer-pdf-0.1.0-rc.2.tgz ./ym-print-designer-vue-0.1.0-rc.2.tgz
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 组件
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- @ym-print/designer-vue 0.1.0-rc.2 — original code: UNLICENSED.
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@ym-print/designer-vue",
3
- "version": "0.1.0-rc.2",
3
+ "version": "0.1.0-rc.3",
4
4
  "license": "UNLICENSED",
5
5
  "licenseScope": "original YmPrintUnit code only",
6
6
  "dependencies": [
@@ -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 __VLS_15: {
18
+ declare var __VLS_25: {
19
19
  document: DesignDocument;
20
20
  api: DesignerApi;
21
- }, __VLS_18: {
21
+ }, __VLS_28: {
22
22
  fields: BusinessField[];
23
23
  bind: typeof bindField;
24
24
  insert: typeof insertField;
25
- }, __VLS_30: {
25
+ }, __VLS_40: {
26
26
  tables: BusinessTablePreset[];
27
27
  insert: (table: BusinessTablePreset) => void;
28
- }, __VLS_58: {
28
+ }, __VLS_73: {
29
29
  insert: typeof insertImage;
30
- }, __VLS_83: {
30
+ }, __VLS_103: {
31
31
  selection: PrintNode[];
32
32
  api: DesignerApi;
33
- }, __VLS_170: {
33
+ }, __VLS_190: {
34
34
  document: DesignDocument;
35
35
  selection: string[];
36
36
  };
37
37
  type __VLS_Slots = {} & {
38
- toolbar?: (props: typeof __VLS_15) => any;
38
+ toolbar?: (props: typeof __VLS_25) => any;
39
39
  } & {
40
- fields?: (props: typeof __VLS_18) => any;
40
+ fields?: (props: typeof __VLS_28) => any;
41
41
  } & {
42
- tables?: (props: typeof __VLS_30) => any;
42
+ tables?: (props: typeof __VLS_40) => any;
43
43
  } & {
44
- images?: (props: typeof __VLS_58) => any;
44
+ images?: (props: typeof __VLS_73) => any;
45
45
  } & {
46
- 'selection-toolbar'?: (props: typeof __VLS_83) => any;
46
+ 'selection-toolbar'?: (props: typeof __VLS_103) => any;
47
47
  } & {
48
- properties?: (props: typeof __VLS_170) => any;
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: "center" | "left" | "right") => any;
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: "center" | "left" | "right") => any) | undefined;
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;