@opentiny/fluent-editor 3.25.10 → 3.25.11
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 +105 -105
- package/es/attributors/line-height.es.js.map +1 -1
- package/es/config/base64-image.es.js.map +1 -1
- package/es/config/editor.config.es.js.map +1 -1
- package/es/config/editor.utils.es.js.map +1 -1
- package/es/config/i18n/en-us.es.js.map +1 -1
- package/es/config/i18n/zh-cn.es.js.map +1 -1
- package/es/config/index.es.js.map +1 -1
- package/es/core/fluent-editor.es.js.map +1 -1
- package/es/fluent-editor.es.js.map +1 -1
- package/es/formats/soft-break.es.js.map +1 -1
- package/es/formats/strike.es.js.map +1 -1
- package/es/formats/video.es.js.map +1 -1
- package/es/modules/counter.es.js.map +1 -1
- package/es/modules/custom-clipboard.es.js +2 -1
- package/es/modules/custom-clipboard.es.js.map +1 -1
- package/es/modules/custom-image/BlotFormatter.es.js.map +1 -1
- package/es/modules/custom-image/Options.es.js.map +1 -1
- package/es/modules/custom-image/actions/Action.es.js.map +1 -1
- package/es/modules/custom-image/actions/CustomResizeAction.es.js.map +1 -1
- package/es/modules/custom-image/actions/DeleteAction.es.js.map +1 -1
- package/es/modules/custom-image/image-bar.es.js.map +1 -1
- package/es/modules/custom-image/image.es.js.map +1 -1
- package/es/modules/custom-image/specs/BlotSpec.es.js.map +1 -1
- package/es/modules/custom-image/specs/CustomImageSpec.es.js.map +1 -1
- package/es/modules/custom-image/specs/ImageSpec.es.js.map +1 -1
- package/es/modules/custom-uploader.es.js.map +1 -1
- package/es/modules/divider.es.js.map +1 -1
- package/es/modules/emoji/emoji-list/people.es.js.map +1 -1
- package/es/modules/emoji/emoji-list.es.js.map +1 -1
- package/es/modules/emoji/emoji-map.es.js.map +1 -1
- package/es/modules/emoji/emoji-sprite.es.js.map +1 -1
- package/es/modules/emoji/formats/emoji-blot.es.js.map +1 -1
- package/es/modules/emoji/index.es.js.map +1 -1
- package/es/modules/emoji/modules/emoji.es.js.map +1 -1
- package/es/modules/emoji/modules/toolbar-emoji.es.js.map +1 -1
- package/es/modules/emoji/utils.es.js.map +1 -1
- package/es/modules/file/formats/file.es.js.map +1 -1
- package/es/modules/file/index.es.js.map +1 -1
- package/es/modules/file/modules/file-bar.es.js.map +1 -1
- package/es/modules/global-link/constants.es.js.map +1 -1
- package/es/modules/global-link/formats/customer-widget-link.es.js.map +1 -1
- package/es/modules/global-link/formats/doc-link.es.js.map +1 -1
- package/es/modules/global-link/formats/wiki-link.es.js.map +1 -1
- package/es/modules/global-link/formats/work-item-link.es.js.map +1 -1
- package/es/modules/global-link/index.es.js.map +1 -1
- package/es/modules/global-link/utils/createTable.es.js.map +1 -1
- package/es/modules/link/formats/link.es.js.map +1 -1
- package/es/modules/link/index.es.js.map +1 -1
- package/es/modules/link/modules/tooltip.es.js.map +1 -1
- package/es/modules/mathlive/formats.es.js.map +1 -1
- package/es/modules/mathlive/index.es.js.map +1 -1
- package/es/modules/mathlive/tooltip.es.js.map +1 -1
- package/es/modules/mention/Mention.es.js.map +1 -1
- package/es/modules/mention/MentionLink.es.js.map +1 -1
- package/es/modules/mention/constants.es.js.map +1 -1
- package/es/modules/quick-menu.es.js.map +1 -1
- package/es/modules/syntax.es.js.map +1 -1
- package/es/modules/table/better-table.es.js.map +1 -1
- package/es/modules/table/formats/header.es.js.map +1 -1
- package/es/modules/table/formats/list.es.js.map +1 -1
- package/es/modules/table/formats/table.es.js.map +1 -1
- package/es/modules/table/modules/table-column-tool.es.js.map +1 -1
- package/es/modules/table/modules/table-operation-menu.es.js.map +1 -1
- package/es/modules/table/modules/table-scroll-bar.es.js.map +1 -1
- package/es/modules/table/modules/table-selection.es.js.map +1 -1
- package/es/modules/table/modules/table-selector.es.js.map +1 -1
- package/es/modules/table/table-config.es.js.map +1 -1
- package/es/modules/table/utils/index.es.js.map +1 -1
- package/es/modules/table/utils/node-matchers.es.js.map +1 -1
- package/es/modules/toolbar/better-picker.es.js.map +1 -1
- package/es/modules/toolbar/index.es.js.map +1 -1
- package/es/themes/snow.es.js.map +1 -1
- package/es/tools/screenshot.es.js.map +1 -1
- package/es/ui/icons.config.es.js.map +1 -1
- package/es/ui/icons.es.js.map +1 -1
- package/es/utils/debounce.es.js.map +1 -1
- package/es/utils/method.es.js.map +1 -1
- package/lib/attributors/line-height.cjs.js.map +1 -1
- package/lib/config/base64-image.cjs.js.map +1 -1
- package/lib/config/editor.config.cjs.js.map +1 -1
- package/lib/config/editor.utils.cjs.js.map +1 -1
- package/lib/config/i18n/en-us.cjs.js.map +1 -1
- package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
- package/lib/config/index.cjs.js.map +1 -1
- package/lib/core/fluent-editor.cjs.js.map +1 -1
- package/lib/fluent-editor.cjs.js.map +1 -1
- package/lib/formats/soft-break.cjs.js.map +1 -1
- package/lib/formats/strike.cjs.js.map +1 -1
- package/lib/formats/video.cjs.js.map +1 -1
- package/lib/modules/counter.cjs.js.map +1 -1
- package/lib/modules/custom-clipboard.cjs.js +2 -1
- package/lib/modules/custom-clipboard.cjs.js.map +1 -1
- package/lib/modules/custom-image/BlotFormatter.cjs.js.map +1 -1
- package/lib/modules/custom-image/Options.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/Action.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/CustomResizeAction.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/DeleteAction.cjs.js.map +1 -1
- package/lib/modules/custom-image/image-bar.cjs.js.map +1 -1
- package/lib/modules/custom-image/image.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/BlotSpec.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/CustomImageSpec.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/ImageSpec.cjs.js.map +1 -1
- package/lib/modules/custom-uploader.cjs.js.map +1 -1
- package/lib/modules/divider.cjs.js.map +1 -1
- package/lib/modules/emoji/emoji-list/people.cjs.js.map +1 -1
- package/lib/modules/emoji/emoji-list.cjs.js.map +1 -1
- package/lib/modules/emoji/emoji-map.cjs.js.map +1 -1
- package/lib/modules/emoji/emoji-sprite.cjs.js.map +1 -1
- package/lib/modules/emoji/formats/emoji-blot.cjs.js.map +1 -1
- package/lib/modules/emoji/index.cjs.js.map +1 -1
- package/lib/modules/emoji/modules/emoji.cjs.js.map +1 -1
- package/lib/modules/emoji/modules/toolbar-emoji.cjs.js.map +1 -1
- package/lib/modules/emoji/utils.cjs.js.map +1 -1
- package/lib/modules/file/formats/file.cjs.js.map +1 -1
- package/lib/modules/file/index.cjs.js.map +1 -1
- package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
- package/lib/modules/global-link/constants.cjs.js.map +1 -1
- package/lib/modules/global-link/formats/customer-widget-link.cjs.js.map +1 -1
- package/lib/modules/global-link/formats/doc-link.cjs.js.map +1 -1
- package/lib/modules/global-link/formats/wiki-link.cjs.js.map +1 -1
- package/lib/modules/global-link/formats/work-item-link.cjs.js.map +1 -1
- package/lib/modules/global-link/index.cjs.js.map +1 -1
- package/lib/modules/global-link/utils/createTable.cjs.js.map +1 -1
- package/lib/modules/link/formats/link.cjs.js.map +1 -1
- package/lib/modules/link/index.cjs.js.map +1 -1
- package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
- package/lib/modules/mathlive/formats.cjs.js.map +1 -1
- package/lib/modules/mathlive/index.cjs.js.map +1 -1
- package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
- package/lib/modules/mention/Mention.cjs.js.map +1 -1
- package/lib/modules/mention/MentionLink.cjs.js.map +1 -1
- package/lib/modules/mention/constants.cjs.js.map +1 -1
- package/lib/modules/quick-menu.cjs.js.map +1 -1
- package/lib/modules/syntax.cjs.js.map +1 -1
- package/lib/modules/table/better-table.cjs.js.map +1 -1
- package/lib/modules/table/formats/header.cjs.js.map +1 -1
- package/lib/modules/table/formats/list.cjs.js.map +1 -1
- package/lib/modules/table/formats/table.cjs.js.map +1 -1
- package/lib/modules/table/modules/table-column-tool.cjs.js.map +1 -1
- package/lib/modules/table/modules/table-operation-menu.cjs.js.map +1 -1
- package/lib/modules/table/modules/table-scroll-bar.cjs.js.map +1 -1
- package/lib/modules/table/modules/table-selection.cjs.js.map +1 -1
- package/lib/modules/table/modules/table-selector.cjs.js.map +1 -1
- package/lib/modules/table/table-config.cjs.js.map +1 -1
- package/lib/modules/table/utils/index.cjs.js.map +1 -1
- package/lib/modules/table/utils/node-matchers.cjs.js.map +1 -1
- package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
- package/lib/modules/toolbar/index.cjs.js.map +1 -1
- package/lib/themes/snow.cjs.js.map +1 -1
- package/lib/tools/screenshot.cjs.js.map +1 -1
- package/lib/ui/icons.cjs.js.map +1 -1
- package/lib/ui/icons.config.cjs.js.map +1 -1
- package/lib/utils/debounce.cjs.js.map +1 -1
- package/lib/utils/method.cjs.js.map +1 -1
- package/package.json +1 -1
- package/types/attributors/font-size.d.ts +1 -1
- package/types/attributors/font-style.d.ts +1 -1
- package/types/attributors/index.d.ts +4 -4
- package/types/attributors/line-height.d.ts +1 -1
- package/types/attributors/text-indent.d.ts +1 -1
- package/types/config/base64-image.d.ts +2 -2
- package/types/config/editor.config.d.ts +229 -229
- package/types/config/editor.utils.d.ts +46 -46
- package/types/config/i18n/en-us.d.ts +108 -108
- package/types/config/i18n/zh-cn.d.ts +108 -108
- package/types/config/index.d.ts +6 -6
- package/types/config/types/additional-toolbar-item.interface.d.ts +6 -7
- package/types/config/types/content-change.interface.d.ts +13 -13
- package/types/config/types/content-save.interface.d.ts +6 -6
- package/types/config/types/counter-option.interface.d.ts +7 -8
- package/types/config/types/editor-config.interface.d.ts +33 -34
- package/types/config/types/editor-modules.interface.d.ts +29 -30
- package/types/config/types/editor-toolbar.interface.d.ts +3 -4
- package/types/config/types/file-operation.interface.d.ts +10 -11
- package/types/config/types/focus-change.interface.d.ts +4 -4
- package/types/config/types/fullscreen-module.interface.d.ts +4 -4
- package/types/config/types/help-panel-item.interface.d.ts +5 -5
- package/types/config/types/help-panel-option.interface.d.ts +5 -6
- package/types/config/types/image-module.interface.d.ts +3 -3
- package/types/config/types/image-upload.interface.d.ts +5 -6
- package/types/config/types/index.d.ts +23 -23
- package/types/config/types/load-on-demand-module.interface.d.ts +5 -5
- package/types/config/types/mention-module.interface.d.ts +8 -8
- package/types/config/types/paste-change.interface.d.ts +4 -5
- package/types/config/types/quick-menu-module.interface.d.ts +3 -3
- package/types/config/types/range.interface.d.ts +4 -4
- package/types/config/types/registry-options.interface.d.ts +5 -5
- package/types/config/types/selection-change.interface.d.ts +6 -7
- package/types/config/types/toolbar-item.interface.d.ts +13 -13
- package/types/config/types/type.d.ts +4 -5
- package/types/config/types/validate-error.interface.d.ts +13 -13
- package/types/core/fluent-editor.d.ts +9 -10
- package/types/fluent-editor.d.ts +1 -2
- package/types/formats/soft-break.d.ts +14 -14
- package/types/formats/strike.d.ts +7 -7
- package/types/formats/video.d.ts +14 -15
- package/types/index.d.ts +3 -4
- package/types/modules/counter.d.ts +14 -15
- package/types/modules/custom-clipboard.d.ts +26 -27
- package/types/modules/custom-image/BlotFormatter.d.ts +24 -25
- package/types/modules/custom-image/Options.d.ts +36 -36
- package/types/modules/custom-image/actions/Action.d.ts +7 -7
- package/types/modules/custom-image/actions/CustomResizeAction.d.ts +22 -23
- package/types/modules/custom-image/actions/DeleteAction.d.ts +5 -6
- package/types/modules/custom-image/image-bar.d.ts +13 -14
- package/types/modules/custom-image/image.d.ts +28 -28
- package/types/modules/custom-image/specs/BlotSpec.d.ts +10 -11
- package/types/modules/custom-image/specs/CustomImageSpec.d.ts +17 -18
- package/types/modules/custom-image/specs/ImageSpec.d.ts +8 -9
- package/types/modules/custom-uploader.d.ts +29 -30
- package/types/modules/divider.d.ts +7 -7
- package/types/modules/emoji/emoji-list/index.d.ts +1 -1
- package/types/modules/emoji/emoji-list/people.d.ts +1 -1
- package/types/modules/emoji/emoji-list.d.ts +2 -2
- package/types/modules/emoji/emoji-map.d.ts +2 -2
- package/types/modules/emoji/emoji-sprite.d.ts +1 -1
- package/types/modules/emoji/formats/emoji-blot.d.ts +13 -13
- package/types/modules/emoji/index.d.ts +6 -7
- package/types/modules/emoji/modules/emoji.d.ts +38 -38
- package/types/modules/emoji/modules/toolbar-emoji.d.ts +8 -8
- package/types/modules/emoji/utils.d.ts +1 -1
- package/types/modules/file/formats/file.d.ts +15 -15
- package/types/modules/file/index.d.ts +9 -10
- package/types/modules/file/modules/file-bar.d.ts +14 -14
- package/types/modules/global-link/constants.d.ts +3 -3
- package/types/modules/global-link/formats/customer-widget-link.d.ts +14 -14
- package/types/modules/global-link/formats/doc-link.d.ts +17 -17
- package/types/modules/global-link/formats/wiki-link.d.ts +16 -16
- package/types/modules/global-link/formats/work-item-link.d.ts +16 -16
- package/types/modules/global-link/global-link-panel.d.ts +17 -18
- package/types/modules/global-link/index.d.ts +18 -18
- package/types/modules/global-link/utils/createTable.d.ts +1 -1
- package/types/modules/i18n.d.ts +14 -15
- package/types/modules/link/formats/link.d.ts +14 -15
- package/types/modules/link/index.d.ts +6 -6
- package/types/modules/link/modules/tooltip.d.ts +31 -32
- package/types/modules/mathlive/formats.d.ts +20 -21
- package/types/modules/mathlive/index.d.ts +6 -7
- package/types/modules/mathlive/tooltip.d.ts +14 -15
- package/types/modules/mention/Mention.d.ts +53 -54
- package/types/modules/mention/MentionLink.d.ts +14 -15
- package/types/modules/mention/constants.d.ts +3 -3
- package/types/modules/quick-menu.d.ts +20 -21
- package/types/modules/syntax.d.ts +12 -13
- package/types/modules/table/better-table.d.ts +31 -32
- package/types/modules/table/formats/header.d.ts +21 -22
- package/types/modules/table/formats/list.d.ts +34 -34
- package/types/modules/table/formats/table.d.ts +145 -146
- package/types/modules/table/modules/table-column-tool.d.ts +23 -23
- package/types/modules/table/modules/table-operation-menu.d.ts +38 -38
- package/types/modules/table/modules/table-scroll-bar.d.ts +33 -33
- package/types/modules/table/modules/table-selection.d.ts +37 -37
- package/types/modules/table/modules/table-selector.d.ts +22 -22
- package/types/modules/table/table-config.d.ts +38 -38
- package/types/modules/table/utils/index.d.ts +17 -17
- package/types/modules/table/utils/node-matchers.d.ts +9 -9
- package/types/modules/toolbar/better-picker.d.ts +1 -1
- package/types/modules/toolbar/index.d.ts +7 -8
- package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
- package/types/themes/snow.d.ts +2 -3
- package/types/tools/format-painter.d.ts +13 -14
- package/types/tools/fullscreen.d.ts +1 -2
- package/types/tools/screenshot.d.ts +17 -18
- package/types/ui/icons.config.d.ts +36 -36
- package/types/ui/icons.d.ts +6 -6
- package/types/utils/debounce.d.ts +6 -6
- package/types/utils/image.d.ts +1 -1
- package/types/utils/is.d.ts +4 -4
- package/types/utils/method.d.ts +6 -6
- package/types/utils/scroll-lock.d.ts +6 -6
|
@@ -1,147 +1,146 @@
|
|
|
1
1
|
import { CELL_ATTRIBUTES, CELL_IDENTITY_KEYS } from '../table-config';
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
static
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
static
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
static
|
|
24
|
-
static
|
|
25
|
-
static
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
static
|
|
63
|
-
static
|
|
64
|
-
static
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
static
|
|
86
|
-
static
|
|
87
|
-
static
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
static
|
|
92
|
-
static
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
static
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
static
|
|
102
|
-
static
|
|
103
|
-
static
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
static
|
|
112
|
-
static
|
|
113
|
-
static
|
|
114
|
-
static
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
static
|
|
140
|
-
static
|
|
141
|
-
static
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
declare function
|
|
146
|
-
|
|
147
|
-
export { CELL_ATTRIBUTES, CELL_IDENTITY_KEYS, cellId, rowId, TableBody, TableCell, TableCellLine, TableCol, TableColGroup, TableContainer, TableRow, TableViewWrapper, };
|
|
2
|
+
declare const Block: unknown;
|
|
3
|
+
declare const Container: unknown;
|
|
4
|
+
declare class TableCellLine extends Block {
|
|
5
|
+
static requiredContainer: any;
|
|
6
|
+
static tagName: string;
|
|
7
|
+
static className: string;
|
|
8
|
+
static blotName: any;
|
|
9
|
+
domNode: any;
|
|
10
|
+
statics: any;
|
|
11
|
+
wrap: any;
|
|
12
|
+
parent: any;
|
|
13
|
+
static create(value: any): any;
|
|
14
|
+
static formats(domNode: any): Record<string, any>;
|
|
15
|
+
toggleAttribute(name: any, value: any): void;
|
|
16
|
+
formatChildren(name: any, value: any): void;
|
|
17
|
+
format(name: any, value: any): void;
|
|
18
|
+
optimize(context: any): void;
|
|
19
|
+
tableCell(): any;
|
|
20
|
+
}
|
|
21
|
+
declare class TableCell extends Container {
|
|
22
|
+
static allowedChildren: any;
|
|
23
|
+
static blotName: any;
|
|
24
|
+
static requiredContainer: any;
|
|
25
|
+
static tagName: string;
|
|
26
|
+
next: any;
|
|
27
|
+
children: any;
|
|
28
|
+
parent: any;
|
|
29
|
+
domNode: any;
|
|
30
|
+
statics: any;
|
|
31
|
+
wrap: any;
|
|
32
|
+
splitAfter: any;
|
|
33
|
+
prev: any;
|
|
34
|
+
scroll: any;
|
|
35
|
+
static create(value?: {
|
|
36
|
+
row: string;
|
|
37
|
+
}): any;
|
|
38
|
+
static formats(domNode: any): {
|
|
39
|
+
height: any;
|
|
40
|
+
row: any;
|
|
41
|
+
};
|
|
42
|
+
checkMerge(): boolean;
|
|
43
|
+
cellOffset(): any;
|
|
44
|
+
formats(): {};
|
|
45
|
+
toggleAttribute(name: any, value: any): void;
|
|
46
|
+
formatChildren(name: any, value: any): void;
|
|
47
|
+
/**
|
|
48
|
+
* this method is for TableCellLine to change cell background color
|
|
49
|
+
* if use `format('cell-bg', value)` will loop trigger
|
|
50
|
+
* TableCellLine.optimize -> TableCell.format -> TableCellLine.optimize ...
|
|
51
|
+
*/
|
|
52
|
+
setCellBg(value?: string): void;
|
|
53
|
+
format(name: any, value: any): void;
|
|
54
|
+
optimize(context: any): void;
|
|
55
|
+
getFormat(domNode: any): Record<string, any>;
|
|
56
|
+
row(): any;
|
|
57
|
+
rowOffset(): any;
|
|
58
|
+
table(): any;
|
|
59
|
+
}
|
|
60
|
+
declare class TableRow extends Container {
|
|
61
|
+
static requiredContainer: any;
|
|
62
|
+
static allowedChildren: any;
|
|
63
|
+
static blotName: string;
|
|
64
|
+
static tagName: string;
|
|
65
|
+
next: any;
|
|
66
|
+
children: any;
|
|
67
|
+
domNode: any;
|
|
68
|
+
statics: any;
|
|
69
|
+
wrap: any;
|
|
70
|
+
splitAfter: any;
|
|
71
|
+
enforceAllowedChildren: any;
|
|
72
|
+
uiNode: any;
|
|
73
|
+
parent: any;
|
|
74
|
+
prev: any;
|
|
75
|
+
static create(value: any): any;
|
|
76
|
+
checkMerge(): boolean;
|
|
77
|
+
formats(): {};
|
|
78
|
+
format(key: any, value: any): void;
|
|
79
|
+
optimize(context: any): void;
|
|
80
|
+
rowOffset(): any;
|
|
81
|
+
table(): any;
|
|
82
|
+
}
|
|
83
|
+
declare class TableBody extends Container {
|
|
84
|
+
static requiredContainer: any;
|
|
85
|
+
static allowedChildren: any;
|
|
86
|
+
static blotName: string;
|
|
87
|
+
static tagName: string;
|
|
88
|
+
}
|
|
89
|
+
declare class TableCol extends Block {
|
|
90
|
+
static requiredContainer: any;
|
|
91
|
+
static blotName: string;
|
|
92
|
+
static tagName: string;
|
|
93
|
+
domNode: any;
|
|
94
|
+
static create(value: any): any;
|
|
95
|
+
static formats(domNode: any): {};
|
|
96
|
+
format(name: any, value: any): void;
|
|
97
|
+
html(): any;
|
|
98
|
+
}
|
|
99
|
+
declare class TableColGroup extends Container {
|
|
100
|
+
static requiredContainer: any;
|
|
101
|
+
static allowedChildren: any;
|
|
102
|
+
static blotName: string;
|
|
103
|
+
static tagName: string;
|
|
104
|
+
parent: any;
|
|
105
|
+
statics: any;
|
|
106
|
+
optimize(context: any): void;
|
|
107
|
+
findTdColspanInTbody(tbody: any, trId: any): number;
|
|
108
|
+
}
|
|
109
|
+
declare class TableContainer extends Container {
|
|
110
|
+
static blotName: string;
|
|
111
|
+
static className: string;
|
|
112
|
+
static tagName: string;
|
|
113
|
+
static requiredContainer: any;
|
|
114
|
+
static allowedChildren: any;
|
|
115
|
+
domNode: any;
|
|
116
|
+
parent: any;
|
|
117
|
+
children: any;
|
|
118
|
+
descendants: any;
|
|
119
|
+
scroll: any;
|
|
120
|
+
remove: any;
|
|
121
|
+
static create(): any;
|
|
122
|
+
constructor(scroll: any, domNode: any);
|
|
123
|
+
updateTableWidth(): void;
|
|
124
|
+
cells(column: any): any;
|
|
125
|
+
colGroup(): any;
|
|
126
|
+
deleteColumns(compareRect: any, delIndexes: any[], editorWrapper: any): boolean;
|
|
127
|
+
deleteRow(compareRect: any, editorWrapper: any): void;
|
|
128
|
+
tableDestroy(): void;
|
|
129
|
+
insertCell(tableRow: any, ref: any, bg?: string): void;
|
|
130
|
+
insertColumn(compareRect: any, colIndex: any, isRight: boolean, editorWrapper: any): any[];
|
|
131
|
+
insertRow(compareRect: any, isDown: any, editorWrapper: any): any[];
|
|
132
|
+
mergeCells(_compareRect: any, mergingCells: any, rowspan: any, colspan: any, _editorWrapper: any): any;
|
|
133
|
+
unmergeCells(unmergingCells: any, editorWrapper: any): void;
|
|
134
|
+
emptyCells(selectedTds: any): void;
|
|
135
|
+
rows(): any;
|
|
136
|
+
}
|
|
137
|
+
declare class TableViewWrapper extends Container {
|
|
138
|
+
static blotName: string;
|
|
139
|
+
static tagName: string;
|
|
140
|
+
static className: string;
|
|
141
|
+
static allowedChildren: any;
|
|
142
|
+
constructor(scroll: any, domNode: any);
|
|
143
|
+
}
|
|
144
|
+
declare function rowId(): string;
|
|
145
|
+
declare function cellId(): string;
|
|
146
|
+
export { CELL_ATTRIBUTES, CELL_IDENTITY_KEYS, cellId, rowId, TableBody, TableCell, TableCellLine, TableCol, TableColGroup, TableContainer, TableRow, TableViewWrapper, };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export default class TableColumnTool {
|
|
2
|
-
table: any;
|
|
3
|
-
quill: any;
|
|
4
|
-
modulesContainer: any;
|
|
5
|
-
domNode: any;
|
|
6
|
-
columnCtrlPanel: HTMLDivElement;
|
|
7
|
-
leftMask: HTMLDivElement;
|
|
8
|
-
rowCtrlPanel: HTMLDivElement;
|
|
9
|
-
activeToolCell: HTMLElement;
|
|
10
|
-
oldRootScrollTop: any;
|
|
11
|
-
constructor(table: any, quill: any, dom: any);
|
|
12
|
-
handleQuillRootScroll(): void;
|
|
13
|
-
initColTool(): void;
|
|
14
|
-
createToolCell(isRow: any): HTMLDivElement;
|
|
15
|
-
updateColToolCells(): void;
|
|
16
|
-
updateRowToolCells(): void;
|
|
17
|
-
destroy(): any;
|
|
18
|
-
addRowCellSelectHandler(cell: any): void;
|
|
19
|
-
addRowCellHolderHandler(cell: any): void;
|
|
20
|
-
addColCellSelectHandler(cell: any): void;
|
|
21
|
-
addColCellHolderHandler(cell: any): void;
|
|
22
|
-
colToolCells(): unknown[];
|
|
23
|
-
}
|
|
1
|
+
export default class TableColumnTool {
|
|
2
|
+
table: any;
|
|
3
|
+
quill: any;
|
|
4
|
+
modulesContainer: any;
|
|
5
|
+
domNode: any;
|
|
6
|
+
columnCtrlPanel: HTMLDivElement;
|
|
7
|
+
leftMask: HTMLDivElement;
|
|
8
|
+
rowCtrlPanel: HTMLDivElement;
|
|
9
|
+
activeToolCell: HTMLElement;
|
|
10
|
+
oldRootScrollTop: any;
|
|
11
|
+
constructor(table: any, quill: any, dom: any);
|
|
12
|
+
handleQuillRootScroll(): void;
|
|
13
|
+
initColTool(): void;
|
|
14
|
+
createToolCell(isRow: any): HTMLDivElement;
|
|
15
|
+
updateColToolCells(): void;
|
|
16
|
+
updateRowToolCells(): void;
|
|
17
|
+
destroy(): any;
|
|
18
|
+
addRowCellSelectHandler(cell: any): void;
|
|
19
|
+
addRowCellHolderHandler(cell: any): void;
|
|
20
|
+
addColCellSelectHandler(cell: any): void;
|
|
21
|
+
addColCellHolderHandler(cell: any): void;
|
|
22
|
+
colToolCells(): unknown[];
|
|
23
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export default class TableOperationMenu {
|
|
2
|
-
tableSelection: any;
|
|
3
|
-
table: any;
|
|
4
|
-
quill: any;
|
|
5
|
-
options: any;
|
|
6
|
-
menuItems: any;
|
|
7
|
-
tableColumnTool: any;
|
|
8
|
-
tableScrollBar: any;
|
|
9
|
-
boundary: any;
|
|
10
|
-
selectedTds: any;
|
|
11
|
-
destroyHandler: any;
|
|
12
|
-
columnToolCells: any;
|
|
13
|
-
colorSubTitle: any;
|
|
14
|
-
cellColors: any;
|
|
15
|
-
domNode: any;
|
|
16
|
-
DEFAULT_COLOR_SUBTITLE: string;
|
|
17
|
-
DEFAULT_MENU: Record<string, {
|
|
18
|
-
text: string;
|
|
19
|
-
handler: () => void;
|
|
20
|
-
}>;
|
|
21
|
-
constructor(params: any, quill: any, options: any);
|
|
22
|
-
setDefaultMenu(): void;
|
|
23
|
-
mount(): void;
|
|
24
|
-
destroy(): any;
|
|
25
|
-
menuInitial({ cell, left, top }: {
|
|
26
|
-
cell: any;
|
|
27
|
-
left: any;
|
|
28
|
-
top: any;
|
|
29
|
-
}): void;
|
|
30
|
-
colorsItemCreator(colors: any): HTMLDivElement;
|
|
31
|
-
menuItemCreator({ text }: {
|
|
32
|
-
text: any;
|
|
33
|
-
}): HTMLDivElement;
|
|
34
|
-
onCopy(operation: any): Promise<void>;
|
|
35
|
-
createVirtualTable(selectedTds: any, _operation: any): any;
|
|
36
|
-
setCopyRange(selectedNodes: any): void;
|
|
37
|
-
groupTableCell(selectedTds: any): any[];
|
|
38
|
-
}
|
|
1
|
+
export default class TableOperationMenu {
|
|
2
|
+
tableSelection: any;
|
|
3
|
+
table: any;
|
|
4
|
+
quill: any;
|
|
5
|
+
options: any;
|
|
6
|
+
menuItems: any;
|
|
7
|
+
tableColumnTool: any;
|
|
8
|
+
tableScrollBar: any;
|
|
9
|
+
boundary: any;
|
|
10
|
+
selectedTds: any;
|
|
11
|
+
destroyHandler: any;
|
|
12
|
+
columnToolCells: any;
|
|
13
|
+
colorSubTitle: any;
|
|
14
|
+
cellColors: any;
|
|
15
|
+
domNode: any;
|
|
16
|
+
DEFAULT_COLOR_SUBTITLE: string;
|
|
17
|
+
DEFAULT_MENU: Record<string, {
|
|
18
|
+
text: string;
|
|
19
|
+
handler: () => void;
|
|
20
|
+
}>;
|
|
21
|
+
constructor(params: any, quill: any, options: any);
|
|
22
|
+
setDefaultMenu(): void;
|
|
23
|
+
mount(): void;
|
|
24
|
+
destroy(): any;
|
|
25
|
+
menuInitial({ cell, left, top }: {
|
|
26
|
+
cell: any;
|
|
27
|
+
left: any;
|
|
28
|
+
top: any;
|
|
29
|
+
}): void;
|
|
30
|
+
colorsItemCreator(colors: any): HTMLDivElement;
|
|
31
|
+
menuItemCreator({ text }: {
|
|
32
|
+
text: any;
|
|
33
|
+
}): HTMLDivElement;
|
|
34
|
+
onCopy(operation: any): Promise<void>;
|
|
35
|
+
createVirtualTable(selectedTds: any, _operation: any): any;
|
|
36
|
+
setCopyRange(selectedNodes: any): void;
|
|
37
|
+
groupTableCell(selectedTds: any): any[];
|
|
38
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export default class TableScrollBar {
|
|
2
|
-
table: any;
|
|
3
|
-
quill: any;
|
|
4
|
-
modulesContainer: any;
|
|
5
|
-
domNode: any;
|
|
6
|
-
oldRootScrollTop: any;
|
|
7
|
-
prev: number;
|
|
8
|
-
columnToolDomNode: any;
|
|
9
|
-
columnCtrlPanel: any;
|
|
10
|
-
leftMask: any;
|
|
11
|
-
tableViewRect: any;
|
|
12
|
-
tableRect: any;
|
|
13
|
-
containerRect: any;
|
|
14
|
-
subscriber: any;
|
|
15
|
-
tableMoveDistance: number;
|
|
16
|
-
maxBarLeft: number;
|
|
17
|
-
scrollBar: Element;
|
|
18
|
-
isTableOverflow: boolean;
|
|
19
|
-
constructor(table: any, quill: any, dom: any);
|
|
20
|
-
handleQuillRootScroll(): void;
|
|
21
|
-
setScrollBarToBottom(): void;
|
|
22
|
-
resetTableHeight(table: any): void;
|
|
23
|
-
setScrollBarMove(pos: any, isMouse: any): void;
|
|
24
|
-
handleScrollBarMouseDown(mouseDownEvent: any): void;
|
|
25
|
-
handleScrollBarMouseup(event: any): void;
|
|
26
|
-
handleWheel(event: any): void;
|
|
27
|
-
showMask(distance: any): void;
|
|
28
|
-
getLimitedDistance(distance: any): any;
|
|
29
|
-
updateScrollBar(): void;
|
|
30
|
-
createScrollBar(): void;
|
|
31
|
-
destroyScrollBar(): void;
|
|
32
|
-
destroy(): void;
|
|
33
|
-
}
|
|
1
|
+
export default class TableScrollBar {
|
|
2
|
+
table: any;
|
|
3
|
+
quill: any;
|
|
4
|
+
modulesContainer: any;
|
|
5
|
+
domNode: any;
|
|
6
|
+
oldRootScrollTop: any;
|
|
7
|
+
prev: number;
|
|
8
|
+
columnToolDomNode: any;
|
|
9
|
+
columnCtrlPanel: any;
|
|
10
|
+
leftMask: any;
|
|
11
|
+
tableViewRect: any;
|
|
12
|
+
tableRect: any;
|
|
13
|
+
containerRect: any;
|
|
14
|
+
subscriber: any;
|
|
15
|
+
tableMoveDistance: number;
|
|
16
|
+
maxBarLeft: number;
|
|
17
|
+
scrollBar: Element;
|
|
18
|
+
isTableOverflow: boolean;
|
|
19
|
+
constructor(table: any, quill: any, dom: any);
|
|
20
|
+
handleQuillRootScroll(): void;
|
|
21
|
+
setScrollBarToBottom(): void;
|
|
22
|
+
resetTableHeight(table: any): void;
|
|
23
|
+
setScrollBarMove(pos: any, isMouse: any): void;
|
|
24
|
+
handleScrollBarMouseDown(mouseDownEvent: any): void;
|
|
25
|
+
handleScrollBarMouseup(event: any): void;
|
|
26
|
+
handleWheel(event: any): void;
|
|
27
|
+
showMask(distance: any): void;
|
|
28
|
+
getLimitedDistance(distance: any): any;
|
|
29
|
+
updateScrollBar(): void;
|
|
30
|
+
createScrollBar(): void;
|
|
31
|
+
destroyScrollBar(): void;
|
|
32
|
+
destroy(): void;
|
|
33
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export default class TableSelection {
|
|
2
|
-
table: any;
|
|
3
|
-
quill: any;
|
|
4
|
-
modulesContainer: any;
|
|
5
|
-
parent: any;
|
|
6
|
-
boundary: any;
|
|
7
|
-
selectedTds: any[];
|
|
8
|
-
dragging: boolean;
|
|
9
|
-
preSelectedTable: any;
|
|
10
|
-
oldRootScrollTop: any;
|
|
11
|
-
selectingHandler: any;
|
|
12
|
-
tdEditHandler: any;
|
|
13
|
-
tdResizeHandler: any;
|
|
14
|
-
endTd: any;
|
|
15
|
-
startTd: any;
|
|
16
|
-
editTd: any;
|
|
17
|
-
left: any;
|
|
18
|
-
bottom: any;
|
|
19
|
-
top: any;
|
|
20
|
-
right: any;
|
|
21
|
-
constructor(table: any, quill: any, dom: any);
|
|
22
|
-
handleQuillRootScroll(): void;
|
|
23
|
-
isEditorHasScrollBar(): void;
|
|
24
|
-
helpLinesInitial(): void;
|
|
25
|
-
mouseDownHandler(e: any): void;
|
|
26
|
-
drawSelection(self: any, end: any): void;
|
|
27
|
-
setTdEditable(e: any): void;
|
|
28
|
-
resizeTd(): void;
|
|
29
|
-
resetTd(e: any): void;
|
|
30
|
-
correctBoundary(): void;
|
|
31
|
-
computeSelectedTds(): any;
|
|
32
|
-
repositionHelpLines(): void;
|
|
33
|
-
refreshHelpLinesPosition(): void;
|
|
34
|
-
destroy(): any;
|
|
35
|
-
setSelection(startRect: any, endRect: any): void;
|
|
36
|
-
clearSelection(): void;
|
|
37
|
-
}
|
|
1
|
+
export default class TableSelection {
|
|
2
|
+
table: any;
|
|
3
|
+
quill: any;
|
|
4
|
+
modulesContainer: any;
|
|
5
|
+
parent: any;
|
|
6
|
+
boundary: any;
|
|
7
|
+
selectedTds: any[];
|
|
8
|
+
dragging: boolean;
|
|
9
|
+
preSelectedTable: any;
|
|
10
|
+
oldRootScrollTop: any;
|
|
11
|
+
selectingHandler: any;
|
|
12
|
+
tdEditHandler: any;
|
|
13
|
+
tdResizeHandler: any;
|
|
14
|
+
endTd: any;
|
|
15
|
+
startTd: any;
|
|
16
|
+
editTd: any;
|
|
17
|
+
left: any;
|
|
18
|
+
bottom: any;
|
|
19
|
+
top: any;
|
|
20
|
+
right: any;
|
|
21
|
+
constructor(table: any, quill: any, dom: any);
|
|
22
|
+
handleQuillRootScroll(): void;
|
|
23
|
+
isEditorHasScrollBar(): void;
|
|
24
|
+
helpLinesInitial(): void;
|
|
25
|
+
mouseDownHandler(e: any): void;
|
|
26
|
+
drawSelection(self: any, end: any): void;
|
|
27
|
+
setTdEditable(e: any): void;
|
|
28
|
+
resizeTd(): void;
|
|
29
|
+
resetTd(e: any): void;
|
|
30
|
+
correctBoundary(): void;
|
|
31
|
+
computeSelectedTds(): any;
|
|
32
|
+
repositionHelpLines(): void;
|
|
33
|
+
refreshHelpLinesPosition(): void;
|
|
34
|
+
destroy(): any;
|
|
35
|
+
setSelection(startRect: any, endRect: any): void;
|
|
36
|
+
clearSelection(): void;
|
|
37
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
declare class TableSelector {
|
|
2
|
-
private onSelect;
|
|
3
|
-
container: HTMLDivElement;
|
|
4
|
-
private grid;
|
|
5
|
-
private label;
|
|
6
|
-
private rows;
|
|
7
|
-
private cols;
|
|
8
|
-
private removeListenersArray;
|
|
9
|
-
constructor({ onSelect }: {
|
|
10
|
-
onSelect: (rows: number, cols: number) => void;
|
|
11
|
-
});
|
|
12
|
-
private initContainer;
|
|
13
|
-
private initGrid;
|
|
14
|
-
private initLabel;
|
|
15
|
-
private handleMouseOver;
|
|
16
|
-
private handleClick;
|
|
17
|
-
updateGrid(): void;
|
|
18
|
-
show(x: number, y: number): void;
|
|
19
|
-
hide(): void;
|
|
20
|
-
destroy(): any;
|
|
21
|
-
}
|
|
22
|
-
export default TableSelector;
|
|
1
|
+
declare class TableSelector {
|
|
2
|
+
private onSelect;
|
|
3
|
+
container: HTMLDivElement;
|
|
4
|
+
private grid;
|
|
5
|
+
private label;
|
|
6
|
+
private rows;
|
|
7
|
+
private cols;
|
|
8
|
+
private removeListenersArray;
|
|
9
|
+
constructor({ onSelect }: {
|
|
10
|
+
onSelect: (rows: number, cols: number) => void;
|
|
11
|
+
});
|
|
12
|
+
private initContainer;
|
|
13
|
+
private initGrid;
|
|
14
|
+
private initLabel;
|
|
15
|
+
private handleMouseOver;
|
|
16
|
+
private handleClick;
|
|
17
|
+
updateGrid(): void;
|
|
18
|
+
show(x: number, y: number): void;
|
|
19
|
+
hide(): void;
|
|
20
|
+
destroy(): any;
|
|
21
|
+
}
|
|
22
|
+
export default TableSelector;
|