@onereach/ui-components 2.68.0-beta.2001.0 → 2.68.0-beta.2003.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.
Files changed (63) hide show
  1. package/dist/bundled/v2/{OrCode-0cd991a1.js → OrCode-edc7a1f5.js} +114 -1
  2. package/dist/bundled/v2/components/index.js +1 -2
  3. package/dist/bundled/v2/components/or-code/index.js +1 -2
  4. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
  5. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
  6. package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +2 -0
  7. package/dist/bundled/v2/components/or-empty-state-v3/index.js +131 -0
  8. package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +2 -0
  9. package/dist/bundled/v2/index.js +2 -3
  10. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-6c5f94a6.js → OrCode.vue_vue_type_script_lang-ef5e7f04.js} +114 -1
  11. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2fdbd2f2.js → OrTabs.vue_vue_type_script_lang-ca57f9d9.js} +36 -10
  12. package/dist/bundled/v3/components/index.js +2 -4
  13. package/dist/bundled/v3/components/or-code/index.js +1 -2
  14. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
  15. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
  16. package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +2 -0
  17. package/dist/bundled/v3/components/or-empty-state-v3/index.js +111 -0
  18. package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +2 -0
  19. package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -2
  20. package/dist/bundled/v3/index.js +5 -7
  21. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
  22. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
  23. package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +2 -0
  24. package/dist/esm/v2/components/or-empty-state-v3/index.js +129 -0
  25. package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +2 -0
  26. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +39 -0
  27. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +109 -0
  28. package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +2 -0
  29. package/dist/esm/v3/components/or-empty-state-v3/index.js +111 -0
  30. package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +2 -0
  31. package/package.json +1 -19
  32. package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +203 -0
  33. package/src/components/or-empty-state-v3/OrEmptyState.vue +101 -0
  34. package/src/components/or-empty-state-v3/index.ts +2 -0
  35. package/src/components/or-empty-state-v3/types.ts +3 -0
  36. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  37. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
  38. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  39. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +0 -36840
  40. package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  41. package/dist/bundled/v2/index.es-3f39f316.js +0 -115
  42. package/dist/bundled/v3/OrMenu-08aa60de.js +0 -29
  43. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  44. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
  45. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  46. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +0 -36811
  47. package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  48. package/dist/bundled/v3/index.es-3f39f316.js +0 -115
  49. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  50. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
  51. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  52. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -524
  53. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  54. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  55. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -149
  56. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  57. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -493
  58. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  59. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -16
  60. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -62
  61. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -520
  62. package/src/components/or-rich-text-editor-v3/index.ts +0 -1
  63. package/src/components/or-rich-text-editor-v3/styles.ts +0 -65
@@ -0,0 +1,203 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ import OrEmptyState from './OrEmptyState.vue';
3
+ import successPng from '../../assets/success.png';
4
+
5
+ export default {
6
+ title: 'Components/Empty State',
7
+ component: OrEmptyState,
8
+ argTypes: {
9
+ loader: {
10
+ control: {
11
+ type: 'inline-radio',
12
+ labels: {
13
+ 'linear': "'linear'",
14
+ 'circular': "'circular'",
15
+ }
16
+ },
17
+ options: [false, true, 'linear', 'circular'],
18
+ },
19
+ },
20
+ parameters: {
21
+ layout: 'centered',
22
+ },
23
+ } as Meta<typeof OrEmptyState>
24
+
25
+ const Template: StoryFn<typeof OrEmptyState> = (args) => ({
26
+ components: { OrEmptyState },
27
+ setup() {
28
+ return { args };
29
+ },
30
+ template: `
31
+ <OrEmptyState v-bind="args"/>
32
+ `,
33
+ });
34
+
35
+ export const Default = Template.bind({});
36
+ Default.args = {
37
+ heading: 'No aliens detected',
38
+ text: 'Invite some aliens to your planet.'
39
+ };
40
+ Default.parameters = {
41
+ layout: 'fullscreen',
42
+ };
43
+ Default.decorators = [
44
+ () => ({
45
+ template: `
46
+ <div class="
47
+ demo-wrapper w-full min-h-[200px] h-screen box-border relative
48
+ gap-sm p-md bg-surface-variant
49
+ flex flex-col
50
+ text-body-2-regular">
51
+ <div>
52
+ Note: This frame is added for demo purpose.<br>
53
+ The OrEmptyState component is transparent and has <code>width:100%</code> and <code>flex-grow:1</code> attributes.<br>
54
+ It is recommended to put it inside a column flex container or a row flex container that wraps.
55
+ </div>
56
+ <div class="demo-container grow bg-background dark:bg-background-dark flex flex-col"><story /></div>
57
+ </div>
58
+ `
59
+ })
60
+ ];
61
+
62
+ export const LinearLoader = Template.bind({});
63
+ LinearLoader.args = {
64
+ heading: 'Looking for aliens',
65
+ text: '27 aliens detected so far.',
66
+ loader: true,
67
+ };
68
+ LinearLoader.parameters = {
69
+ layout: 'fullscreen',
70
+ };
71
+ LinearLoader.decorators = [
72
+ () => ({
73
+ template: `
74
+ <div class="
75
+ demo-wrapper w-full h-[200px] box-border relative
76
+ gap-sm p-md bg-surface-variant
77
+ flex flex-col
78
+ text-body-2-regular">
79
+ <div>Note: Use linear loader (values <b>true</b> or <b>'linear'</b>) on pages and inside wide containers.</div>
80
+ <div class="demo-container grow bg-background dark:bg-background-dark flex flex-col"><story /></div>
81
+ </div>
82
+ `
83
+ })
84
+ ];
85
+
86
+ export const CircularLoader = Template.bind({});
87
+ CircularLoader.args = {
88
+ heading: 'Looking for aliens',
89
+ text: '27 aliens detected so far.',
90
+ loader: 'circular',
91
+ };
92
+ CircularLoader.parameters = {
93
+ layout: 'fullscreen',
94
+ };
95
+ CircularLoader.decorators = [
96
+ () => ({
97
+ template: `
98
+ <div class="
99
+ demo-wrapper w-full min-h-[200px] h-screen box-border relative
100
+ gap-sm p-md bg-surface-variant
101
+ flex flex-col
102
+ text-body-2-regular">
103
+ <div>Note: Use circular loader (value <b>'circular'</b>) in narrow containers and sidebars.</div>
104
+ <div class="demo-container w-[300px] grow bg-background dark:bg-background-dark flex flex-col"><story /></div>
105
+ </div>
106
+ `
107
+ })
108
+ ];
109
+
110
+ export const MaterialIcon = Template.bind({});
111
+ MaterialIcon.args = {
112
+ ...Default.args,
113
+ icon: 'travel_explore',
114
+ };
115
+
116
+ export const ImageIcon = Template.bind({});
117
+ ImageIcon.args = {
118
+ heading: 'Planet populated',
119
+ text: 'So many aliens on this planet!',
120
+ iconSrc: successPng,
121
+ };
122
+
123
+ export const ExtraContentInSlot: StoryFn<typeof OrEmptyState> = (args) => ({
124
+ components: { OrEmptyState },
125
+ setup() {
126
+ return { args };
127
+ },
128
+ template: `
129
+ <OrEmptyState v-bind="args" heading="Alien not found" text="Pass formatted content via a default slot.">
130
+ Alien named <b>Garry</b> not found.<br>
131
+ The text in the slot is by default formatted as a component's text prop.
132
+ </OrEmptyState>
133
+ `,
134
+ });
135
+
136
+ export const Containers = Template.bind({});
137
+ Containers.args = {
138
+ ...Default.args,
139
+ };
140
+ Containers.parameters = {
141
+ layout: 'fullscreen',
142
+ };
143
+ Containers.decorators = [
144
+ () => ({
145
+ template: `
146
+ <div class="
147
+ demo-wrapper w-full min-h-screen box-border relative
148
+ gap-md p-md bg-surface-variant dark:bg-surface-variant-dark
149
+ grid grid-cols-3 grid-rows-[1fr_repeat(auto)]
150
+ text-caption-regular dark:text-secondary-dark dark:text-[12px]">
151
+ <!--Demo Container 1. Narrow-->
152
+ <div class="demo-1 demo-container row-span-3 flex flex-col gap-sm">
153
+ <div>
154
+ Narrow vertical container; flex flex-col;<br>
155
+ Background <code>bg-background</code> applied directly to the component
156
+ </div>
157
+ <story class="bg-background dark:bg-background-dark" loader="circular"/>
158
+ </div>
159
+ <!--Demo Container 2. Fixed-->
160
+ <div class="demo-2 flex flex-col gap-sm justify-center items-center">
161
+ <div>
162
+ Fixed size container; flex flex-col;<br>
163
+ Background bg-surface-1 applied to the container
164
+ </div>
165
+ <div class="demo-container w-[240px] h-[200px] bg-surface-1 dark:bg-surface-1-dark flex flex-col">
166
+ <story />
167
+ </div>
168
+ </div>
169
+ <!--Demo Container 3. No container-->
170
+ <div class="demo-3">
171
+ <div>No container or simple block container; no background </div>
172
+ <div class="demo-container w-fit"><story /></div>
173
+ </div>
174
+ <!--Demo Container 4. Wide not wrap-->
175
+ <div class="demo-4 col-span-2 flex flex-col gap-sm">
176
+ <div class="w-full">
177
+ Wide horizontal <b>no-wrap</b> container; flex flex-row;<br>
178
+ Background <code>bg-surface-1</code> applied to the container<br>
179
+ Background <code>bg-surface-4</code> applied to the component
180
+ </div>
181
+ <div class="demo-container bg-surface-1 dark:bg-surface-1-dark flex">
182
+ <div>Left item</div>
183
+ <story class="bg-surface-4 dark:bg-surface-4-dark" loader="linear"/>
184
+ <div>Right item</div>
185
+ </div>
186
+ </div>
187
+ <!--Demo Container 5. Wide wrap-->
188
+ <div class="demo-5 col-span-2 flex flex-col gap-sm">
189
+ <div class="w-full">
190
+ Wide horizontal <b>wrap</b> container; flex flex-row flex-wrap;<br>
191
+ Background <code>bg-surface-1</code> applied to the container<br>
192
+ Background <code>bg-surface-4</code> applied to the component
193
+ </div>
194
+ <div class="demo-container bg-surface-1 dark:bg-surface-1-dark flex flex-wrap">
195
+ <div>Left item</div>
196
+ <story class="bg-surface-4 dark:bg-surface-4-dark" loader="linear"/>
197
+ <div>Right item</div>
198
+ </div>
199
+ </div>
200
+ </div>
201
+ `
202
+ })
203
+ ];
@@ -0,0 +1,101 @@
1
+ <template>
2
+ <div class="empty-state w-full grow flex flex-col justify-center items-center gap-sm">
3
+ <OrIcon v-if="icon"
4
+ :icon="icon"
5
+ size="inherit"
6
+ class="empty-state_icon w-2xl h-2xl text-[48px] text-on-surface-variant dark:text-on-surface-variant-dark mb-sm" />
7
+ <img v-if="iconSrc" :src="iconSrc" class="empty-state_image h-2xl mb-sm" alt="">
8
+ <div class="empty-state_heading text-on-background dark:text-on-background-dark text-headline-4 font-headline-4">
9
+ {{ heading }}
10
+ </div>
11
+ <div v-if="loader" class="empty-state_loader max-w-[432px] w-2/5 flex justify-center my-sm">
12
+ <OrLoader :variant="loaderVariant" />
13
+ </div>
14
+ <div v-if="$slots.default" class="empty-state_content text-center text-outline dark:text-outline-dark text-caption-regular font-caption-regular">
15
+ <!-- @slot Additional content can be inserted via default slot. The slot uses the same font as a 'text' prop. -->
16
+ <slot/>
17
+ </div>
18
+ <div class="empty-state_content text-center text-outline dark:text-outline-dark text-caption-regular font-caption-regular">
19
+ {{ text }}
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script lang="ts">
25
+ import {
26
+ LoaderVariant,
27
+ OrLoaderV3 as OrLoader,
28
+ } from '../or-loader-v3';
29
+ import {
30
+ OrIconV3 as OrIcon,
31
+ } from '../or-icon-v3';
32
+ import { defineComponent, PropType } from 'vue-demi';
33
+ import { EmptyStateLoader } from '.';
34
+
35
+ /**
36
+ * The component to display when there is no content on a page,
37
+ * no records found or selected, or while the data is being loaded.
38
+ * Provides a hint to the user on what to do.
39
+ * Consists of text message, optional icon and optional loader.
40
+ */
41
+ export default defineComponent({
42
+ name: 'OrEmptyState',
43
+ components: {
44
+ OrIcon,
45
+ OrLoader,
46
+ },
47
+ props: {
48
+ /**
49
+ * The heading of the empty state block.
50
+ */
51
+ heading: {
52
+ type: String,
53
+ default: '',
54
+ },
55
+ /**
56
+ * Additional text such as a hint for a user with proposed next steps.
57
+ */
58
+ text: {
59
+ type: String,
60
+ default: '',
61
+ },
62
+ /**
63
+ * Material icon name to display above the heading.
64
+ */
65
+ icon: {
66
+ type: String,
67
+ default: undefined,
68
+ },
69
+ /**
70
+ * Path to the image to display above the heading.
71
+ * Image height is scaled to 48px, width is undefined to preserve aspect ratio.
72
+ */
73
+ iconSrc: {
74
+ type: String,
75
+ default: undefined,
76
+ },
77
+ /**
78
+ * If provided, then loader is being displayed.
79
+ * Accepts booleans and OrLoader::variant values. `true` falls back to 'linear'.
80
+ */
81
+ loader: {
82
+ type: [String, Boolean] as PropType<EmptyStateLoader>,
83
+ default: false,
84
+ },
85
+ },
86
+ computed: {
87
+ loaderVariant(): LoaderVariant | undefined {
88
+ if (typeof this.loader === 'string') {
89
+ return this.loader;
90
+ } else if (this.loader === true) {
91
+ return LoaderVariant.Linear;
92
+ } else {
93
+ return undefined;
94
+ }
95
+ },
96
+ },
97
+ });
98
+ </script>
99
+
100
+ <style scoped>
101
+ </style>
@@ -0,0 +1,2 @@
1
+ export { default as OrEmptyStateV3 } from './OrEmptyState.vue';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import { LoaderVariant } from '../or-loader-v3';
2
+
3
+ export type EmptyStateLoader = boolean | LoaderVariant | undefined;
@@ -1,12 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
3
- [x: string]: ((...args: any[]) => any) | null;
4
- } | string[], {} & {}, {
5
- [x: number]: string;
6
- } | {}, true>)>;
7
- export default _default;
8
- export declare const RichTextEditor: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
9
- [x: string]: ((...args: any[]) => any) | null;
10
- } | string[], {} & {}, {
11
- [x: number]: string;
12
- } | {}, true>)>;
@@ -1,149 +0,0 @@
1
- import { Editor } from '@tiptap/core';
2
- import { Level } from '@tiptap/extension-heading';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- editor: Editor | null;
5
- editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
6
- containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
7
- 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, {
8
- [x: string]: ((...args: any[]) => any) | null;
9
- } | string[], {} & {}, {
10
- [x: number]: string;
11
- } | {}, true> | undefined>;
12
- 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, {
13
- [x: string]: ((...args: any[]) => any) | null;
14
- } | string[], {} & {}, {
15
- [x: number]: string;
16
- } | {}, true> | undefined>;
17
- iconsEnum: import("@vue/composition-api").Ref<{
18
- [x: string]: string;
19
- }>;
20
- handleToolbarClick: (item: string, level?: number | undefined) => void;
21
- handleEditorClick: () => void;
22
- isActive: import("@vue/composition-api").Ref<{
23
- [x: string]: boolean;
24
- }>;
25
- iconTooltipsEnum: import("@vue/composition-api").Ref<{
26
- [x: string]: string;
27
- }>;
28
- containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
29
- toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
30
- toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
31
- rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
32
- toolbarButtonStyles: (item: string) => string[];
33
- editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
34
- getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
35
- headingLevels: Level[];
36
- headingIcon: import("@vue/composition-api").ComputedRef<string>;
37
- }> & import("@vue/composition-api").Data, {}, {}, {
38
- modelValue: {
39
- type: StringConstructor;
40
- default: string;
41
- required: false;
42
- };
43
- toolbar: {
44
- type: ArrayConstructor;
45
- default: () => string[][];
46
- };
47
- description: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- placeholder: {
52
- type: StringConstructor;
53
- default: string;
54
- };
55
- autofocus: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- };
59
- markdown: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- }, import("@vue/composition-api").ExtractPropTypes<{
64
- modelValue: {
65
- type: StringConstructor;
66
- default: string;
67
- required: false;
68
- };
69
- toolbar: {
70
- type: ArrayConstructor;
71
- default: () => string[][];
72
- };
73
- description: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- placeholder: {
78
- type: StringConstructor;
79
- default: string;
80
- };
81
- autofocus: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- markdown: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
90
- modelValue: string;
91
- toolbar: unknown[];
92
- description: string;
93
- placeholder: string;
94
- autofocus: boolean;
95
- markdown: boolean;
96
- } & {} & {
97
- [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
98
- }, import("@vue/composition-api").ShallowUnwrapRef<{
99
- editor: Editor | null;
100
- editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
101
- containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
102
- 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, {
103
- [x: string]: ((...args: any[]) => any) | null;
104
- } | string[], {} & {}, {
105
- [x: number]: string;
106
- } | {}, true> | undefined>;
107
- 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, {
108
- [x: string]: ((...args: any[]) => any) | null;
109
- } | string[], {} & {}, {
110
- [x: number]: string;
111
- } | {}, true> | undefined>;
112
- iconsEnum: import("@vue/composition-api").Ref<{
113
- [x: string]: string;
114
- }>;
115
- handleToolbarClick: (item: string, level?: number | undefined) => void;
116
- handleEditorClick: () => void;
117
- isActive: import("@vue/composition-api").Ref<{
118
- [x: string]: boolean;
119
- }>;
120
- iconTooltipsEnum: import("@vue/composition-api").Ref<{
121
- [x: string]: string;
122
- }>;
123
- containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
124
- toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
125
- toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
126
- rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
127
- toolbarButtonStyles: (item: string) => string[];
128
- editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
129
- getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
130
- headingLevels: Level[];
131
- headingIcon: import("@vue/composition-api").ComputedRef<string>;
132
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
133
- modelValue: string;
134
- toolbar: unknown[];
135
- description: string;
136
- placeholder: string;
137
- autofocus: boolean;
138
- markdown: boolean;
139
- } & {} & {
140
- [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
141
- }, {
142
- modelValue: string;
143
- toolbar: unknown[];
144
- description: string;
145
- placeholder: string;
146
- autofocus: boolean;
147
- markdown: boolean;
148
- }, true>);
149
- export default _default;
@@ -1 +0,0 @@
1
- export { default as OrRichTextEditor } from './OrRichTextEditor.vue';