@zyui/components 0.0.104 → 0.0.105

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.
@@ -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";
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyui/components",
3
- "version": "0.0.104",
3
+ "version": "0.0.105",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",