@zyui/components 1.0.46 → 1.0.48
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/es/index.js +67 -67
- package/es/index.mjs +9942 -9889
- package/es/index.umd.js +68 -68
- package/es/src/components/ProEditor/plugins/helper.d.ts +10 -0
- package/lib/src/components/ProEditor/plugins/helper.d.ts +10 -0
- package/package.json +3 -3
|
@@ -37,6 +37,16 @@ export declare const processTableLayout: (doc: Document) => void;
|
|
|
37
37
|
* @param doc
|
|
38
38
|
*/
|
|
39
39
|
export declare const processTdWidth: (doc: Document) => void;
|
|
40
|
+
/**
|
|
41
|
+
* 去除p标签上的负边距(如 margin-left:-40px 等)
|
|
42
|
+
* @param doc
|
|
43
|
+
*/
|
|
44
|
+
export declare const processRemoveNegativeMargin: (doc: Document) => void;
|
|
45
|
+
/**
|
|
46
|
+
* 处理table宽度:超过400pt的表格设为100%宽度,超过100%的表格强制设为100%
|
|
47
|
+
* @param doc
|
|
48
|
+
*/
|
|
49
|
+
export declare const processTableMaxWidth: (doc: Document) => void;
|
|
40
50
|
/**
|
|
41
51
|
* 处理table的边框
|
|
42
52
|
* @param doc
|
|
@@ -37,6 +37,16 @@ export declare const processTableLayout: (doc: Document) => void;
|
|
|
37
37
|
* @param doc
|
|
38
38
|
*/
|
|
39
39
|
export declare const processTdWidth: (doc: Document) => void;
|
|
40
|
+
/**
|
|
41
|
+
* 去除p标签上的负边距(如 margin-left:-40px 等)
|
|
42
|
+
* @param doc
|
|
43
|
+
*/
|
|
44
|
+
export declare const processRemoveNegativeMargin: (doc: Document) => void;
|
|
45
|
+
/**
|
|
46
|
+
* 处理table宽度:超过400pt的表格设为100%宽度,超过100%的表格强制设为100%
|
|
47
|
+
* @param doc
|
|
48
|
+
*/
|
|
49
|
+
export declare const processTableMaxWidth: (doc: Document) => void;
|
|
40
50
|
/**
|
|
41
51
|
* 处理table的边框
|
|
42
52
|
* @param doc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyui/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.mjs",
|
|
6
6
|
"types": "./es/index.d.ts",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"vue-hooks-plus": "^2.2.1",
|
|
47
47
|
"xmldom": "^0.6.0",
|
|
48
48
|
"xpath": "^0.0.34",
|
|
49
|
-
"@zyui/
|
|
50
|
-
"@zyui/
|
|
49
|
+
"@zyui/utils": "0.0.9",
|
|
50
|
+
"@zyui/hooks": "0.0.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/lodash-es": "^4.17.12"
|