@zyui/components 0.0.104 → 0.0.106

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.
@@ -6,13 +6,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
6
6
  type: StringConstructor;
7
7
  default: string;
8
8
  };
9
+ orientation: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
9
13
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
14
  pagesize: {
11
15
  type: StringConstructor;
12
16
  default: string;
13
17
  };
18
+ orientation: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
14
22
  }>> & Readonly<{}>, {
15
23
  pagesize: string;
24
+ orientation: string;
16
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
27
  export default _default;
@@ -19,6 +19,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ orientation: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
22
26
  renderType: {
23
27
  type: () => RenderType;
24
28
  default: string;
@@ -75,6 +79,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
75
79
  type: StringConstructor;
76
80
  default: string;
77
81
  };
82
+ orientation: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
78
86
  renderType: {
79
87
  type: () => RenderType;
80
88
  default: string;
@@ -124,6 +132,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
124
132
  pagesize: string;
125
133
  headerHtml: string;
126
134
  footerHtml: string;
135
+ orientation: string;
127
136
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
128
137
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
129
138
  export default _default;
@@ -1,15 +1,25 @@
1
- export declare const init: {
2
- license_key: string;
3
- skin: boolean;
4
- content_css: string[];
5
- promotion: boolean;
1
+ export declare const pagesizeConfig: {
6
2
  menu: {
7
3
  pagesize: {
8
4
  title: string;
9
5
  items: string;
10
6
  };
7
+ orientation: {
8
+ title: string;
9
+ items: string;
10
+ };
11
11
  };
12
12
  menubar: string;
13
+ pagesize: string;
14
+ orientation: string;
15
+ plugins: string[];
16
+ };
17
+ export declare const init: {
18
+ license_key: string;
19
+ skin: boolean;
20
+ content_css: string[];
21
+ promotion: boolean;
22
+ menubar: string;
13
23
  cleanup: boolean;
14
24
  branding: boolean;
15
25
  language: string;
@@ -21,7 +31,6 @@ export declare const init: {
21
31
  elementpath: boolean;
22
32
  paste_data_images: boolean;
23
33
  object_resizing: boolean;
24
- pagesize: string;
25
34
  toolbar_mode: string;
26
35
  images_upload_handler: (blobInfo: any) => Promise<unknown>;
27
36
  };
@@ -62,3 +62,4 @@ export declare const processRemovTabStopsStyle: (doc: Document) => void;
62
62
  * @returns 处理后的HTML内容
63
63
  */
64
64
  export declare const preProcess: (content: string) => string;
65
+ export declare const getDocSize: (content: string) => string;
@@ -2,3 +2,4 @@ export type DocumentWithBody = Document & {
2
2
  body: HTMLBodyElement;
3
3
  };
4
4
  export declare const pagesizeMenuItems: string;
5
+ export declare const orientationMenuItems = "orientationPortrait orientationLandscape";