@onereach/ui-components 10.2.0 → 10.2.1-beta.4272.0
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/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +382 -252
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +21 -68
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +5 -4
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +2 -2
- package/dist/bundled/v2/{index-02a897ac.js → index-0e9c2b43.js} +1 -1
- package/dist/bundled/v2/{index-7516cf60.js → index-f379c836.js} +258 -173
- package/dist/bundled/v2/{markdown-fe3bfb01.js → markdown-2d22cf16.js} +66 -113
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +14 -18
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v3/components/{OrRichTextEditorV3-358d7df2.js → OrRichTextEditorV3-45e64a85.js} +673 -531
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrRichTextEditor-734b8b27.js → OrRichTextEditor-fbcc33fd.js} +353 -244
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +21 -68
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +7 -7
- package/dist/esm/v2/components/or-rich-text-editor-v3/partials/EditorToolbar.vue.d.ts +160 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +1 -0
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrRichTextEditor-b5684aab.js → OrRichTextEditor-cdd9e3e4.js} +325 -242
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +14 -18
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +6 -6
- package/dist/esm/v3/components/or-rich-text-editor-v3/partials/EditorToolbar.vue.d.ts +89 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -1
- package/package.json +19 -20
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +48 -203
- package/src/components/or-rich-text-editor-v3/partials/EditorToolbar.vue +238 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +13 -10
|
@@ -99,7 +99,7 @@ export { _ as OrRadioV3 } from '../OrRadio-3629ad83.js';
|
|
|
99
99
|
export { _ as OrRangeSliderV3 } from '../OrRangeSlider-da9576ff.js';
|
|
100
100
|
export { _ as OrRatingV3 } from '../OrRating-aa2365e9.js';
|
|
101
101
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement } from '../OrResizeablePanel-4a10f91c.js';
|
|
102
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
102
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-fbcc33fd.js';
|
|
103
103
|
export { _ as OrSearch } from '../OrSearch-a340d5ff.js';
|
|
104
104
|
export { _ as OrSearchV3 } from '../OrSearch-a57eb24f.js';
|
|
105
105
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-cd16856e.js';
|
|
@@ -5,58 +5,29 @@ import { Level } from '@tiptap/extension-heading';
|
|
|
5
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
6
|
editor: Editor | null;
|
|
7
7
|
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
8
|
-
|
|
8
|
+
toolbarContainerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
9
9
|
containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
10
|
-
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
11
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
12
|
-
} | string[], {} & {}, {
|
|
13
|
-
[x: number]: string;
|
|
14
|
-
} | {}, true> | undefined>;
|
|
15
|
-
moreButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
16
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
17
|
-
} | string[], {} & {}, {
|
|
18
|
-
[x: number]: string;
|
|
19
|
-
} | {}, true> | undefined>;
|
|
20
10
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} | {}, true> | undefined>;
|
|
26
|
-
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
27
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
28
|
-
} | string[], {} & {}, {
|
|
29
|
-
[x: number]: string;
|
|
30
|
-
} | {}, true> | undefined>;
|
|
31
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
32
|
-
[x: string]: string;
|
|
33
|
-
}>;
|
|
34
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
11
|
+
handleToolbarClick: ({ item, level }: {
|
|
12
|
+
item: string;
|
|
13
|
+
level?: number | undefined;
|
|
14
|
+
}) => void;
|
|
35
15
|
handleEditorClick: () => void;
|
|
36
16
|
isActive: import("@vue/composition-api").Ref<{
|
|
37
17
|
[x: string]: boolean;
|
|
38
18
|
}>;
|
|
39
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
40
|
-
[x: string]: string;
|
|
41
|
-
}>;
|
|
42
19
|
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
43
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
44
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
45
20
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
46
21
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
47
22
|
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
48
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
49
23
|
headingLevels: Level[];
|
|
50
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
51
24
|
attachLink: () => Promise<void>;
|
|
52
25
|
discardLink: () => void;
|
|
53
26
|
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
54
27
|
text: import("@vue/composition-api").Ref<string>;
|
|
55
28
|
link: import("@vue/composition-api").Ref<string>;
|
|
56
29
|
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
57
|
-
isVisible: (value: string | Array<string>) => boolean;
|
|
58
30
|
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
59
|
-
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
60
31
|
handleInput: (event: InputEvent) => void;
|
|
61
32
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
62
33
|
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
@@ -103,6 +74,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
103
74
|
type: (BooleanConstructor | StringConstructor)[];
|
|
104
75
|
default: undefined;
|
|
105
76
|
};
|
|
77
|
+
readonly: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
106
81
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
107
82
|
modelValue: {
|
|
108
83
|
type: StringConstructor;
|
|
@@ -144,6 +119,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
144
119
|
type: (BooleanConstructor | StringConstructor)[];
|
|
145
120
|
default: undefined;
|
|
146
121
|
};
|
|
122
|
+
readonly: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
147
126
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
148
127
|
modelValue: string;
|
|
149
128
|
toolbar: Tools;
|
|
@@ -155,63 +134,35 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
155
134
|
hint: string;
|
|
156
135
|
disabled: boolean;
|
|
157
136
|
error: string | boolean;
|
|
137
|
+
readonly: boolean;
|
|
158
138
|
} & {} & {
|
|
159
139
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
160
140
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
161
141
|
editor: Editor | null;
|
|
162
142
|
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
163
|
-
|
|
143
|
+
toolbarContainerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
164
144
|
containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
165
|
-
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
166
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
167
|
-
} | string[], {} & {}, {
|
|
168
|
-
[x: number]: string;
|
|
169
|
-
} | {}, true> | undefined>;
|
|
170
|
-
moreButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
171
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
172
|
-
} | string[], {} & {}, {
|
|
173
|
-
[x: number]: string;
|
|
174
|
-
} | {}, true> | undefined>;
|
|
175
145
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
} | {}, true> | undefined>;
|
|
181
|
-
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
182
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
183
|
-
} | string[], {} & {}, {
|
|
184
|
-
[x: number]: string;
|
|
185
|
-
} | {}, true> | undefined>;
|
|
186
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
187
|
-
[x: string]: string;
|
|
188
|
-
}>;
|
|
189
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
146
|
+
handleToolbarClick: ({ item, level }: {
|
|
147
|
+
item: string;
|
|
148
|
+
level?: number | undefined;
|
|
149
|
+
}) => void;
|
|
190
150
|
handleEditorClick: () => void;
|
|
191
151
|
isActive: import("@vue/composition-api").Ref<{
|
|
192
152
|
[x: string]: boolean;
|
|
193
153
|
}>;
|
|
194
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
195
|
-
[x: string]: string;
|
|
196
|
-
}>;
|
|
197
154
|
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
198
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
199
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
200
155
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
201
156
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
202
157
|
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
203
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
204
158
|
headingLevels: Level[];
|
|
205
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
206
159
|
attachLink: () => Promise<void>;
|
|
207
160
|
discardLink: () => void;
|
|
208
161
|
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
209
162
|
text: import("@vue/composition-api").Ref<string>;
|
|
210
163
|
link: import("@vue/composition-api").Ref<string>;
|
|
211
164
|
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
212
|
-
isVisible: (value: string | Array<string>) => boolean;
|
|
213
165
|
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
214
|
-
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
215
166
|
handleInput: (event: InputEvent) => void;
|
|
216
167
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
217
168
|
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
@@ -228,6 +179,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
228
179
|
hint: string;
|
|
229
180
|
disabled: boolean;
|
|
230
181
|
error: string | boolean;
|
|
182
|
+
readonly: boolean;
|
|
231
183
|
} & {} & {
|
|
232
184
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
233
185
|
}, {
|
|
@@ -241,5 +193,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
241
193
|
hint: string;
|
|
242
194
|
disabled: boolean;
|
|
243
195
|
error: string | boolean;
|
|
196
|
+
readonly: boolean;
|
|
244
197
|
}, true>);
|
|
245
198
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-
|
|
1
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-fbcc33fd.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/integrations/useFocusTrap';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -17,12 +17,9 @@ import '@tiptap/extension-blockquote';
|
|
|
17
17
|
import '@tiptap/extension-link';
|
|
18
18
|
import '@tiptap/extension-highlight';
|
|
19
19
|
import '@tiptap/extension-underline';
|
|
20
|
-
import '../../OrButton-e4e85817.js';
|
|
21
|
-
import '../../OrButton.vue_rollup-plugin-vue_script-199bb600.js';
|
|
22
|
-
import '../../OrLoader-4ac49224.js';
|
|
23
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
24
20
|
import '../../OrIconButton-5a905423.js';
|
|
25
21
|
import '../../OrIcon-03e3c802.js';
|
|
22
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
26
23
|
import '../../OrTooltip-6e1aeffd.js';
|
|
27
24
|
import '../../dom-53c9635b.js';
|
|
28
25
|
import 'lodash/get';
|
|
@@ -43,6 +40,11 @@ import 'portal-vue';
|
|
|
43
40
|
import '../../useTheme-0ef25778.js';
|
|
44
41
|
import '../../isPrevented-5f542754.js';
|
|
45
42
|
import '../../isAncestor-9e33bd15.js';
|
|
43
|
+
import '../../OrMenuItem-9ccf816f.js';
|
|
44
|
+
import '../../OrMenu-b3a9fcfb.js';
|
|
45
|
+
import '../../OrButton-e4e85817.js';
|
|
46
|
+
import '../../OrButton.vue_rollup-plugin-vue_script-199bb600.js';
|
|
47
|
+
import '../../OrLoader-4ac49224.js';
|
|
46
48
|
import '../../OrInput-a32b517e.js';
|
|
47
49
|
import '../../useIdAttribute-859439f0.js';
|
|
48
50
|
import '../../useProxyModelValue-940010d2.js';
|
|
@@ -53,8 +55,6 @@ import '../../OrInputBox-1a8fda9b.js';
|
|
|
53
55
|
import '../../OrInputBox.vue_rollup-plugin-vue_script-8c39b9ca.js';
|
|
54
56
|
import '../../OrLabel-b0805497.js';
|
|
55
57
|
import '../../style-inject.es-4c6f2515.js';
|
|
56
|
-
import '../../OrMenuItem-9ccf816f.js';
|
|
57
|
-
import '../../OrMenu-b3a9fcfb.js';
|
|
58
58
|
import '../../OrModal-d3f7a508.js';
|
|
59
59
|
import '@tiptap/core';
|
|
60
60
|
import '@tiptap/extension-heading';
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { PropType, ComponentPublicInstance } from 'vue-demi';
|
|
2
|
+
import { Level } from '@tiptap/extension-heading';
|
|
3
|
+
import { Tools } from '../props';
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
|
+
toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
6
|
+
moreButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
7
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
8
|
+
} | string[], {} & {}, {
|
|
9
|
+
[x: number]: string;
|
|
10
|
+
} | {}, true> | undefined>;
|
|
11
|
+
moreRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
+
} | string[], {} & {}, {
|
|
14
|
+
[x: number]: string;
|
|
15
|
+
} | {}, true> | undefined>;
|
|
16
|
+
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
17
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
18
|
+
} | string[], {} & {}, {
|
|
19
|
+
[x: number]: string;
|
|
20
|
+
} | {}, true> | undefined>;
|
|
21
|
+
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
22
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
23
|
+
} | string[], {} & {}, {
|
|
24
|
+
[x: number]: string;
|
|
25
|
+
} | {}, true> | undefined>;
|
|
26
|
+
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
27
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
28
|
+
isVisible: (value: string | Array<string>) => boolean;
|
|
29
|
+
handleClick: (item: string, level?: number) => void;
|
|
30
|
+
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
31
|
+
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
32
|
+
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
33
|
+
iconsEnum: import("@vue/composition-api").Ref<{
|
|
34
|
+
[x: string]: string;
|
|
35
|
+
}>;
|
|
36
|
+
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
37
|
+
[x: string]: string;
|
|
38
|
+
}>;
|
|
39
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
40
|
+
toolbar: {
|
|
41
|
+
type: PropType<Tools>;
|
|
42
|
+
default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
isFocused: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
countOfNotVisibleTools: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
activeHeadingLevel: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
isActive: {
|
|
57
|
+
type: PropType<{
|
|
58
|
+
[key: string]: boolean;
|
|
59
|
+
}>;
|
|
60
|
+
default: () => {};
|
|
61
|
+
};
|
|
62
|
+
headingLevels: {
|
|
63
|
+
type: PropType<Level[]>;
|
|
64
|
+
default: () => number[];
|
|
65
|
+
};
|
|
66
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
67
|
+
toolbar: {
|
|
68
|
+
type: PropType<Tools>;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
71
|
+
isFocused: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
countOfNotVisibleTools: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
activeHeadingLevel: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
isActive: {
|
|
84
|
+
type: PropType<{
|
|
85
|
+
[key: string]: boolean;
|
|
86
|
+
}>;
|
|
87
|
+
default: () => {};
|
|
88
|
+
};
|
|
89
|
+
headingLevels: {
|
|
90
|
+
type: PropType<Level[]>;
|
|
91
|
+
default: () => number[];
|
|
92
|
+
};
|
|
93
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
94
|
+
toolbar: Tools;
|
|
95
|
+
isFocused: boolean;
|
|
96
|
+
countOfNotVisibleTools: number;
|
|
97
|
+
activeHeadingLevel: number;
|
|
98
|
+
isActive: {
|
|
99
|
+
[key: string]: boolean;
|
|
100
|
+
};
|
|
101
|
+
headingLevels: Level[];
|
|
102
|
+
} & {} & {
|
|
103
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
105
|
+
toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
106
|
+
moreButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
107
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
108
|
+
} | string[], {} & {}, {
|
|
109
|
+
[x: number]: string;
|
|
110
|
+
} | {}, true> | undefined>;
|
|
111
|
+
moreRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
112
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
113
|
+
} | string[], {} & {}, {
|
|
114
|
+
[x: number]: string;
|
|
115
|
+
} | {}, true> | undefined>;
|
|
116
|
+
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
117
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
118
|
+
} | string[], {} & {}, {
|
|
119
|
+
[x: number]: string;
|
|
120
|
+
} | {}, true> | undefined>;
|
|
121
|
+
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
122
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
123
|
+
} | string[], {} & {}, {
|
|
124
|
+
[x: number]: string;
|
|
125
|
+
} | {}, true> | undefined>;
|
|
126
|
+
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
127
|
+
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
128
|
+
isVisible: (value: string | Array<string>) => boolean;
|
|
129
|
+
handleClick: (item: string, level?: number) => void;
|
|
130
|
+
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
131
|
+
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
132
|
+
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
133
|
+
iconsEnum: import("@vue/composition-api").Ref<{
|
|
134
|
+
[x: string]: string;
|
|
135
|
+
}>;
|
|
136
|
+
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
137
|
+
[x: string]: string;
|
|
138
|
+
}>;
|
|
139
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
140
|
+
toolbar: Tools;
|
|
141
|
+
isFocused: boolean;
|
|
142
|
+
countOfNotVisibleTools: number;
|
|
143
|
+
activeHeadingLevel: number;
|
|
144
|
+
isActive: {
|
|
145
|
+
[key: string]: boolean;
|
|
146
|
+
};
|
|
147
|
+
headingLevels: Level[];
|
|
148
|
+
} & {} & {
|
|
149
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
toolbar: Tools;
|
|
152
|
+
isFocused: boolean;
|
|
153
|
+
countOfNotVisibleTools: number;
|
|
154
|
+
activeHeadingLevel: number;
|
|
155
|
+
isActive: {
|
|
156
|
+
[key: string]: boolean;
|
|
157
|
+
};
|
|
158
|
+
headingLevels: Level[];
|
|
159
|
+
}, true>);
|
|
160
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const OrRichTextEditor: string[];
|
|
2
2
|
export declare const EditorContainer: string[];
|
|
3
|
+
export declare const EditorContainerFocus: string[];
|
|
3
4
|
export declare const ToolbarContainer: string[];
|
|
4
5
|
export declare const Toolbar: string[];
|
|
5
6
|
export declare const ToolbarButton: string[];
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -99,7 +99,7 @@ export { _ as OrRadioV3 } from './OrRadio-3629ad83.js';
|
|
|
99
99
|
export { _ as OrRangeSliderV3 } from './OrRangeSlider-da9576ff.js';
|
|
100
100
|
export { _ as OrRatingV3 } from './OrRating-aa2365e9.js';
|
|
101
101
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement } from './OrResizeablePanel-4a10f91c.js';
|
|
102
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
102
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-fbcc33fd.js';
|
|
103
103
|
export { _ as OrSearch } from './OrSearch-a340d5ff.js';
|
|
104
104
|
export { _ as OrSearchV3 } from './OrSearch-a57eb24f.js';
|
|
105
105
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-cd16856e.js';
|