@onereach/ui-components 8.26.2-beta.4180.0 → 8.26.2-beta.4181.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 +2 -19
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +2 -21
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +1 -10
- 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.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-0c72d4c5.js → OrRichTextEditorV3-c1f4fe62.js} +8 -17
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrRichTextEditor-4729c914.js → OrRichTextEditor-090654ad.js} +2 -19
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +2 -21
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrRichTextEditor-7d0b7804.js → OrRichTextEditor-15b2e31f.js} +8 -17
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +1 -10
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +1 -1
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +4 -26
|
@@ -1448,10 +1448,6 @@ var script = defineComponent({
|
|
|
1448
1448
|
type: Array,
|
|
1449
1449
|
default: () => []
|
|
1450
1450
|
},
|
|
1451
|
-
label: {
|
|
1452
|
-
type: String,
|
|
1453
|
-
default: undefined
|
|
1454
|
-
},
|
|
1455
1451
|
description: {
|
|
1456
1452
|
type: String,
|
|
1457
1453
|
default: ''
|
|
@@ -1919,20 +1915,7 @@ var __vue_render__ = function () {
|
|
|
1919
1915
|
return _c('div', {
|
|
1920
1916
|
ref: "root",
|
|
1921
1917
|
class: _vm.rootStyles
|
|
1922
|
-
}, [_vm
|
|
1923
|
-
attrs: {
|
|
1924
|
-
"variant": 'input'
|
|
1925
|
-
},
|
|
1926
|
-
scopedSlots: _vm._u([{
|
|
1927
|
-
key: "addon",
|
|
1928
|
-
fn: function () {
|
|
1929
|
-
return [_vm._t("addon")];
|
|
1930
|
-
},
|
|
1931
|
-
proxy: true
|
|
1932
|
-
}], null, true)
|
|
1933
|
-
}, [_vm._t("label", function () {
|
|
1934
|
-
return [_vm._v("\n " + _vm._s(_vm.label) + "\n ")];
|
|
1935
|
-
})], 2)] : _vm._e(), _vm._v(" "), _c('div', {
|
|
1918
|
+
}, [_c('or-label', [_vm._v("\n " + _vm._s(_vm.description) + "\n ")]), _vm._v(" "), _c('div', {
|
|
1936
1919
|
ref: "containerRef",
|
|
1937
1920
|
class: _vm.containerStyles,
|
|
1938
1921
|
on: {
|
|
@@ -2168,7 +2151,7 @@ var __vue_render__ = function () {
|
|
|
2168
2151
|
},
|
|
2169
2152
|
expression: "link"
|
|
2170
2153
|
}
|
|
2171
|
-
})], 1)])],
|
|
2154
|
+
})], 1)])], 1);
|
|
2172
2155
|
};
|
|
2173
2156
|
var __vue_staticRenderFns__ = [];
|
|
2174
2157
|
|
|
@@ -12,11 +12,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
12
12
|
} | string[], {} & {}, {
|
|
13
13
|
[x: number]: string;
|
|
14
14
|
} | {}, true> | undefined>;
|
|
15
|
-
moreButtonRef: import("@vue/composition-api").Ref<
|
|
16
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
17
|
-
} | string[], {} & {}, {
|
|
18
|
-
[x: number]: string;
|
|
19
|
-
} | {}, true> | undefined>;
|
|
15
|
+
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
20
16
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
21
17
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
22
18
|
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, {
|
|
@@ -67,10 +63,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
67
63
|
type: PropType<Tools>;
|
|
68
64
|
default: () => never[];
|
|
69
65
|
};
|
|
70
|
-
label: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: undefined;
|
|
73
|
-
};
|
|
74
66
|
description: {
|
|
75
67
|
type: StringConstructor;
|
|
76
68
|
default: string;
|
|
@@ -100,10 +92,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
100
92
|
type: PropType<Tools>;
|
|
101
93
|
default: () => never[];
|
|
102
94
|
};
|
|
103
|
-
label: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: undefined;
|
|
106
|
-
};
|
|
107
95
|
description: {
|
|
108
96
|
type: StringConstructor;
|
|
109
97
|
default: string;
|
|
@@ -127,7 +115,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
127
115
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
128
116
|
modelValue: string;
|
|
129
117
|
toolbar: Tools;
|
|
130
|
-
label: string;
|
|
131
118
|
description: string;
|
|
132
119
|
placeholder: string;
|
|
133
120
|
autofocus: boolean;
|
|
@@ -145,11 +132,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
145
132
|
} | string[], {} & {}, {
|
|
146
133
|
[x: number]: string;
|
|
147
134
|
} | {}, true> | undefined>;
|
|
148
|
-
moreButtonRef: import("@vue/composition-api").Ref<
|
|
149
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
150
|
-
} | string[], {} & {}, {
|
|
151
|
-
[x: number]: string;
|
|
152
|
-
} | {}, true> | undefined>;
|
|
135
|
+
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
153
136
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
154
137
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
155
138
|
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, {
|
|
@@ -194,7 +177,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
194
177
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
195
178
|
modelValue: string;
|
|
196
179
|
toolbar: Tools;
|
|
197
|
-
label: string;
|
|
198
180
|
description: string;
|
|
199
181
|
placeholder: string;
|
|
200
182
|
autofocus: boolean;
|
|
@@ -205,7 +187,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
205
187
|
}, {
|
|
206
188
|
modelValue: string;
|
|
207
189
|
toolbar: Tools;
|
|
208
|
-
label: string;
|
|
209
190
|
description: string;
|
|
210
191
|
placeholder: string;
|
|
211
192
|
autofocus: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrRichTextEditorV3-
|
|
1
|
+
export { s as default } from '../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -11,10 +11,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
11
11
|
type: PropType<Tools>;
|
|
12
12
|
default: () => never[];
|
|
13
13
|
};
|
|
14
|
-
label: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
14
|
description: {
|
|
19
15
|
type: StringConstructor;
|
|
20
16
|
default: string;
|
|
@@ -41,7 +37,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
41
37
|
toolbarRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
42
38
|
containerRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
43
39
|
toolbarButtonRef: import("vue-demi").Ref<any>;
|
|
44
|
-
moreButtonRef: import("vue-demi").Ref<
|
|
40
|
+
moreButtonRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
45
41
|
textareaRef: import("vue-demi").Ref<HTMLTextAreaElement | undefined>;
|
|
46
42
|
moreRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
47
43
|
menuRef: import("vue-demi").Ref<any>;
|
|
@@ -88,10 +84,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
88
84
|
type: PropType<Tools>;
|
|
89
85
|
default: () => never[];
|
|
90
86
|
};
|
|
91
|
-
label: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
87
|
description: {
|
|
96
88
|
type: StringConstructor;
|
|
97
89
|
default: string;
|
|
@@ -120,7 +112,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
120
112
|
description: string;
|
|
121
113
|
modelValue: string;
|
|
122
114
|
toolbar: Tools;
|
|
123
|
-
label: string;
|
|
124
115
|
placeholder: string;
|
|
125
116
|
autofocus: boolean;
|
|
126
117
|
format: "markdown" | "markup";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditorV3-
|
|
1
|
+
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as Formats } from '../OrRichTextEditorV3-
|
|
1
|
+
export { F as Formats } from '../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as EditorContainer, f as EditorInput, b as Toolbar, c as ToolbarButton, e as ToolbarButtonFocused, T as ToolbarContainer } from '../OrRichTextEditorV3-
|
|
1
|
+
export { E as EditorContainer, f as EditorInput, b as Toolbar, c as ToolbarButton, e as ToolbarButtonFocused, T as ToolbarContainer } from '../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { i as default } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { i as default } from '../../../OrRichTextEditorV3-c1f4fe62.js';
|
|
2
2
|
import '../../../OrCode-fb47c51d.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as default } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { C as default } from '../../../OrRichTextEditorV3-c1f4fe62.js';
|
|
2
2
|
import '../../../OrCode-fb47c51d.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../../../OrCode-fb47c51d.js';
|
|
2
2
|
import '../../../../hooks/useTheme.js';
|
|
3
|
-
export { g as color, t as default, h as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-
|
|
3
|
+
export { g as color, t as default, h as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-c1f4fe62.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { d as deserialize, a as serialize } from '../../OrRichTextEditorV3-
|
|
1
|
+
export { d as deserialize, a as serialize } from '../../OrRichTextEditorV3-c1f4fe62.js';
|
package/dist/bundled/v3/components/{OrRichTextEditorV3-0c72d4c5.js → OrRichTextEditorV3-c1f4fe62.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment as Fragment$1, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
2
2
|
import { s as styleInject } from './OrAvatar-03212361.js';
|
|
3
3
|
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue-demi';
|
|
4
4
|
import { u as useFocusTrap } from './OrModal-62ff0542.js';
|
|
@@ -27015,10 +27015,6 @@ var script = defineComponent({
|
|
|
27015
27015
|
type: Array,
|
|
27016
27016
|
default: () => []
|
|
27017
27017
|
},
|
|
27018
|
-
label: {
|
|
27019
|
-
type: String,
|
|
27020
|
-
default: undefined
|
|
27021
|
-
},
|
|
27022
27018
|
description: {
|
|
27023
27019
|
type: String,
|
|
27024
27020
|
default: ''
|
|
@@ -27487,27 +27483,22 @@ const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HO
|
|
|
27487
27483
|
const _hoisted_6 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
27488
27484
|
|
|
27489
27485
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27490
|
-
const
|
|
27486
|
+
const _component_or_label = resolveComponent("or-label");
|
|
27491
27487
|
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
27492
27488
|
const _component_or_popover = resolveComponent("or-popover");
|
|
27493
27489
|
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
27494
27490
|
const _component_or_menu = resolveComponent("or-menu");
|
|
27495
|
-
const _component_or_label = resolveComponent("or-label");
|
|
27496
27491
|
const _component_or_input = resolveComponent("or-input");
|
|
27497
27492
|
const _component_or_button = resolveComponent("or-button");
|
|
27498
27493
|
const _component_or_modal = resolveComponent("or-modal");
|
|
27499
27494
|
return openBlock(), createElementBlock("div", {
|
|
27500
27495
|
ref: "root",
|
|
27501
27496
|
class: normalizeClass(_ctx.rootStyles)
|
|
27502
|
-
}, [
|
|
27503
|
-
|
|
27504
|
-
variant: 'input'
|
|
27505
|
-
}, {
|
|
27506
|
-
addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
|
|
27507
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
27497
|
+
}, [createVNode(_component_or_label, null, {
|
|
27498
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
27508
27499
|
|
|
27509
|
-
_:
|
|
27510
|
-
})
|
|
27500
|
+
_: 1 /* STABLE */
|
|
27501
|
+
}), createElementVNode("div", {
|
|
27511
27502
|
ref: "containerRef",
|
|
27512
27503
|
class: normalizeClass(_ctx.containerStyles),
|
|
27513
27504
|
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
@@ -27586,7 +27577,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27586
27577
|
ref: "editorRef",
|
|
27587
27578
|
class: normalizeClass(_ctx.editorInputStyles)
|
|
27588
27579
|
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_popover, {
|
|
27589
|
-
key:
|
|
27580
|
+
key: 0,
|
|
27590
27581
|
ref: "moreRef",
|
|
27591
27582
|
trigger: _ctx.moreButtonRef && _ctx.moreButtonRef.root,
|
|
27592
27583
|
placement: "top-end"
|
|
@@ -27610,7 +27601,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27610
27601
|
|
|
27611
27602
|
_: 1 /* STABLE */
|
|
27612
27603
|
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
27613
|
-
key:
|
|
27604
|
+
key: 1,
|
|
27614
27605
|
ref: "menuRef",
|
|
27615
27606
|
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading] && _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
27616
27607
|
placement: "bottom-start",
|
|
@@ -82,7 +82,7 @@ export { s as OrRangeSliderV3 } from './OrRangeSliderV3-0b5e5bdf.js';
|
|
|
82
82
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSliderV3-2f9715e4.js';
|
|
83
83
|
export { s as OrRatingV3 } from './OrRatingV3-b6b47938.js';
|
|
84
84
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanelV3-1832c574.js';
|
|
85
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditorV3-
|
|
85
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditorV3-c1f4fe62.js';
|
|
86
86
|
export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
87
87
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
88
88
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-d7578374.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -44,7 +44,7 @@ export { default as OrRadioGroup } from './components/OrRadioGroup/OrRadioGroup.
|
|
|
44
44
|
export { default as OrRadioGroupV3 } from './components/OrRadioGroupV3/OrRadioGroup.js';
|
|
45
45
|
export { s as OrRangeSliderV3 } from './components/OrRangeSliderV3-0b5e5bdf.js';
|
|
46
46
|
export { s as OrRatingV3 } from './components/OrRatingV3-b6b47938.js';
|
|
47
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-
|
|
47
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-c1f4fe62.js';
|
|
48
48
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './components/OrSegmentedControlV3-d7578374.js';
|
|
49
49
|
export { s as OrSelect } from './components/OrSelect-d5f6764b.js';
|
|
50
50
|
export { s as OrSelectV3 } from './components/OrSelectV3-f166a8a6.js';
|
|
@@ -260,10 +260,6 @@ var script = defineComponent({
|
|
|
260
260
|
type: Array,
|
|
261
261
|
default: () => []
|
|
262
262
|
},
|
|
263
|
-
label: {
|
|
264
|
-
type: String,
|
|
265
|
-
default: undefined
|
|
266
|
-
},
|
|
267
263
|
description: {
|
|
268
264
|
type: String,
|
|
269
265
|
default: ''
|
|
@@ -731,20 +727,7 @@ var __vue_render__ = function () {
|
|
|
731
727
|
return _c('div', {
|
|
732
728
|
ref: "root",
|
|
733
729
|
class: _vm.rootStyles
|
|
734
|
-
}, [_vm
|
|
735
|
-
attrs: {
|
|
736
|
-
"variant": 'input'
|
|
737
|
-
},
|
|
738
|
-
scopedSlots: _vm._u([{
|
|
739
|
-
key: "addon",
|
|
740
|
-
fn: function () {
|
|
741
|
-
return [_vm._t("addon")];
|
|
742
|
-
},
|
|
743
|
-
proxy: true
|
|
744
|
-
}], null, true)
|
|
745
|
-
}, [_vm._t("label", function () {
|
|
746
|
-
return [_vm._v("\n " + _vm._s(_vm.label) + "\n ")];
|
|
747
|
-
})], 2)] : _vm._e(), _vm._v(" "), _c('div', {
|
|
730
|
+
}, [_c('or-label', [_vm._v("\n " + _vm._s(_vm.description) + "\n ")]), _vm._v(" "), _c('div', {
|
|
748
731
|
ref: "containerRef",
|
|
749
732
|
class: _vm.containerStyles,
|
|
750
733
|
on: {
|
|
@@ -980,7 +963,7 @@ var __vue_render__ = function () {
|
|
|
980
963
|
},
|
|
981
964
|
expression: "link"
|
|
982
965
|
}
|
|
983
|
-
})], 1)])],
|
|
966
|
+
})], 1)])], 1);
|
|
984
967
|
};
|
|
985
968
|
var __vue_staticRenderFns__ = [];
|
|
986
969
|
|
|
@@ -101,7 +101,7 @@ export { _ as OrSliderV3 } from '../OrSlider-5a82e577.js';
|
|
|
101
101
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider.vue_rollup-plugin-vue_script-b5bcb4f7.js';
|
|
102
102
|
export { _ as OrRatingV3 } from '../OrRating-abf1b609.js';
|
|
103
103
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-c3ee9f53.js';
|
|
104
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
104
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-090654ad.js';
|
|
105
105
|
export { _ as OrSearch } from '../OrSearch-525e988d.js';
|
|
106
106
|
export { _ as OrSearchV3 } from '../OrSearch-a98e20ae.js';
|
|
107
107
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-ef70b1d7.js';
|
|
@@ -12,11 +12,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
12
12
|
} | string[], {} & {}, {
|
|
13
13
|
[x: number]: string;
|
|
14
14
|
} | {}, true> | undefined>;
|
|
15
|
-
moreButtonRef: import("@vue/composition-api").Ref<
|
|
16
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
17
|
-
} | string[], {} & {}, {
|
|
18
|
-
[x: number]: string;
|
|
19
|
-
} | {}, true> | undefined>;
|
|
15
|
+
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
20
16
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
21
17
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
22
18
|
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, {
|
|
@@ -67,10 +63,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
67
63
|
type: PropType<Tools>;
|
|
68
64
|
default: () => never[];
|
|
69
65
|
};
|
|
70
|
-
label: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: undefined;
|
|
73
|
-
};
|
|
74
66
|
description: {
|
|
75
67
|
type: StringConstructor;
|
|
76
68
|
default: string;
|
|
@@ -100,10 +92,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
100
92
|
type: PropType<Tools>;
|
|
101
93
|
default: () => never[];
|
|
102
94
|
};
|
|
103
|
-
label: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: undefined;
|
|
106
|
-
};
|
|
107
95
|
description: {
|
|
108
96
|
type: StringConstructor;
|
|
109
97
|
default: string;
|
|
@@ -127,7 +115,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
127
115
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
128
116
|
modelValue: string;
|
|
129
117
|
toolbar: Tools;
|
|
130
|
-
label: string;
|
|
131
118
|
description: string;
|
|
132
119
|
placeholder: string;
|
|
133
120
|
autofocus: boolean;
|
|
@@ -145,11 +132,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
145
132
|
} | string[], {} & {}, {
|
|
146
133
|
[x: number]: string;
|
|
147
134
|
} | {}, true> | undefined>;
|
|
148
|
-
moreButtonRef: import("@vue/composition-api").Ref<
|
|
149
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
150
|
-
} | string[], {} & {}, {
|
|
151
|
-
[x: number]: string;
|
|
152
|
-
} | {}, true> | undefined>;
|
|
135
|
+
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
153
136
|
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
154
137
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
155
138
|
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, {
|
|
@@ -194,7 +177,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
194
177
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
195
178
|
modelValue: string;
|
|
196
179
|
toolbar: Tools;
|
|
197
|
-
label: string;
|
|
198
180
|
description: string;
|
|
199
181
|
placeholder: string;
|
|
200
182
|
autofocus: boolean;
|
|
@@ -205,7 +187,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
205
187
|
}, {
|
|
206
188
|
modelValue: string;
|
|
207
189
|
toolbar: Tools;
|
|
208
|
-
label: string;
|
|
209
190
|
description: string;
|
|
210
191
|
placeholder: string;
|
|
211
192
|
autofocus: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-
|
|
1
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-090654ad.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/integrations/useFocusTrap';
|
|
4
4
|
import '@vueuse/core';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -101,7 +101,7 @@ export { _ as OrSliderV3 } from './OrSlider-5a82e577.js';
|
|
|
101
101
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider.vue_rollup-plugin-vue_script-b5bcb4f7.js';
|
|
102
102
|
export { _ as OrRatingV3 } from './OrRating-abf1b609.js';
|
|
103
103
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-c3ee9f53.js';
|
|
104
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
104
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-090654ad.js';
|
|
105
105
|
export { _ as OrSearch } from './OrSearch-525e988d.js';
|
|
106
106
|
export { _ as OrSearchV3 } from './OrSearch-a98e20ae.js';
|
|
107
107
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-ef70b1d7.js';
|
|
@@ -32,7 +32,7 @@ import Placeholder from '@tiptap/extension-placeholder';
|
|
|
32
32
|
import { C as CodeMirrorView } from './codemirrorView-020fe885.js';
|
|
33
33
|
import { minimalSetup } from 'codemirror';
|
|
34
34
|
import { javascript } from '@codemirror/lang-javascript';
|
|
35
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass,
|
|
35
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
36
36
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
37
37
|
|
|
38
38
|
const serializerNodes = {
|
|
@@ -259,10 +259,6 @@ var script = defineComponent({
|
|
|
259
259
|
type: Array,
|
|
260
260
|
default: () => []
|
|
261
261
|
},
|
|
262
|
-
label: {
|
|
263
|
-
type: String,
|
|
264
|
-
default: undefined
|
|
265
|
-
},
|
|
266
262
|
description: {
|
|
267
263
|
type: String,
|
|
268
264
|
default: ''
|
|
@@ -731,27 +727,22 @@ const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HO
|
|
|
731
727
|
const _hoisted_6 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
732
728
|
|
|
733
729
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
734
|
-
const
|
|
730
|
+
const _component_or_label = resolveComponent("or-label");
|
|
735
731
|
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
736
732
|
const _component_or_popover = resolveComponent("or-popover");
|
|
737
733
|
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
738
734
|
const _component_or_menu = resolveComponent("or-menu");
|
|
739
|
-
const _component_or_label = resolveComponent("or-label");
|
|
740
735
|
const _component_or_input = resolveComponent("or-input");
|
|
741
736
|
const _component_or_button = resolveComponent("or-button");
|
|
742
737
|
const _component_or_modal = resolveComponent("or-modal");
|
|
743
738
|
return openBlock(), createElementBlock("div", {
|
|
744
739
|
ref: "root",
|
|
745
740
|
class: normalizeClass(_ctx.rootStyles)
|
|
746
|
-
}, [
|
|
747
|
-
|
|
748
|
-
variant: 'input'
|
|
749
|
-
}, {
|
|
750
|
-
addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
|
|
751
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
741
|
+
}, [createVNode(_component_or_label, null, {
|
|
742
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
752
743
|
|
|
753
|
-
_:
|
|
754
|
-
})
|
|
744
|
+
_: 1 /* STABLE */
|
|
745
|
+
}), createElementVNode("div", {
|
|
755
746
|
ref: "containerRef",
|
|
756
747
|
class: normalizeClass(_ctx.containerStyles),
|
|
757
748
|
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
@@ -830,7 +821,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
830
821
|
ref: "editorRef",
|
|
831
822
|
class: normalizeClass(_ctx.editorInputStyles)
|
|
832
823
|
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_popover, {
|
|
833
|
-
key:
|
|
824
|
+
key: 0,
|
|
834
825
|
ref: "moreRef",
|
|
835
826
|
trigger: _ctx.moreButtonRef && _ctx.moreButtonRef.root,
|
|
836
827
|
placement: "top-end"
|
|
@@ -854,7 +845,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
854
845
|
|
|
855
846
|
_: 1 /* STABLE */
|
|
856
847
|
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
857
|
-
key:
|
|
848
|
+
key: 1,
|
|
858
849
|
ref: "menuRef",
|
|
859
850
|
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading] && _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
860
851
|
placement: "bottom-start",
|
|
@@ -97,7 +97,7 @@ export { s as OrRangeSliderV3 } from '../OrRangeSlider-f2d27996.js';
|
|
|
97
97
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider-3ddd12d5.js';
|
|
98
98
|
export { s as OrRatingV3 } from '../OrRating-ec9462c5.js';
|
|
99
99
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-35e64b58.js';
|
|
100
|
-
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
100
|
+
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-15b2e31f.js';
|
|
101
101
|
export { s as OrSearch } from '../OrSearch-54a642d3.js';
|
|
102
102
|
export { s as OrSearchV3 } from '../OrSearch-31b69d05.js';
|
|
103
103
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-08992fc7.js';
|
|
@@ -11,10 +11,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
11
11
|
type: PropType<Tools>;
|
|
12
12
|
default: () => never[];
|
|
13
13
|
};
|
|
14
|
-
label: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
14
|
description: {
|
|
19
15
|
type: StringConstructor;
|
|
20
16
|
default: string;
|
|
@@ -41,7 +37,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
41
37
|
toolbarRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
42
38
|
containerRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
43
39
|
toolbarButtonRef: import("vue-demi").Ref<any>;
|
|
44
|
-
moreButtonRef: import("vue-demi").Ref<
|
|
40
|
+
moreButtonRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
45
41
|
textareaRef: import("vue-demi").Ref<HTMLTextAreaElement | undefined>;
|
|
46
42
|
moreRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
47
43
|
menuRef: import("vue-demi").Ref<any>;
|
|
@@ -88,10 +84,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
88
84
|
type: PropType<Tools>;
|
|
89
85
|
default: () => never[];
|
|
90
86
|
};
|
|
91
|
-
label: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
87
|
description: {
|
|
96
88
|
type: StringConstructor;
|
|
97
89
|
default: string;
|
|
@@ -120,7 +112,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
120
112
|
description: string;
|
|
121
113
|
modelValue: string;
|
|
122
114
|
toolbar: Tools;
|
|
123
|
-
label: string;
|
|
124
115
|
placeholder: string;
|
|
125
116
|
autofocus: boolean;
|
|
126
117
|
format: "markdown" | "markup";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as Formats, s as OrRichTextEditorV3 } from '../../OrRichTextEditor-
|
|
1
|
+
export { F as Formats, s as OrRichTextEditorV3 } from '../../OrRichTextEditor-15b2e31f.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/integrations/useFocusTrap';
|
|
4
4
|
import '@vueuse/core';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -97,7 +97,7 @@ export { s as OrRangeSliderV3 } from './OrRangeSlider-f2d27996.js';
|
|
|
97
97
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider-3ddd12d5.js';
|
|
98
98
|
export { s as OrRatingV3 } from './OrRating-ec9462c5.js';
|
|
99
99
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-35e64b58.js';
|
|
100
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
100
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-15b2e31f.js';
|
|
101
101
|
export { s as OrSearch } from './OrSearch-54a642d3.js';
|
|
102
102
|
export { s as OrSearchV3 } from './OrSearch-31b69d05.js';
|
|
103
103
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-08992fc7.js';
|
package/package.json
CHANGED
|
@@ -3,19 +3,9 @@
|
|
|
3
3
|
ref="root"
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
>
|
|
10
|
-
<slot name="label">
|
|
11
|
-
{{ label }}
|
|
12
|
-
</slot>
|
|
13
|
-
|
|
14
|
-
<template v-slot:addon>
|
|
15
|
-
<slot name="addon" />
|
|
16
|
-
</template>
|
|
17
|
-
</OrLabel>
|
|
18
|
-
</template>
|
|
6
|
+
<or-label>
|
|
7
|
+
{{ description }}
|
|
8
|
+
</or-label>
|
|
19
9
|
<div
|
|
20
10
|
ref="containerRef"
|
|
21
11
|
:class="containerStyles"
|
|
@@ -227,42 +217,30 @@ export default defineComponent({
|
|
|
227
217
|
},
|
|
228
218
|
|
|
229
219
|
props: {
|
|
230
|
-
|
|
231
220
|
modelValue: {
|
|
232
221
|
type: String,
|
|
233
222
|
default: undefined,
|
|
234
223
|
},
|
|
235
|
-
|
|
236
224
|
toolbar: {
|
|
237
225
|
type: Array as PropType<Tools>,
|
|
238
226
|
default: () => [],
|
|
239
227
|
},
|
|
240
|
-
|
|
241
|
-
label: {
|
|
242
|
-
type: String,
|
|
243
|
-
default: undefined,
|
|
244
|
-
},
|
|
245
|
-
|
|
246
228
|
description: {
|
|
247
229
|
type: String,
|
|
248
230
|
default: '',
|
|
249
231
|
},
|
|
250
|
-
|
|
251
232
|
placeholder: {
|
|
252
233
|
type: String,
|
|
253
234
|
default: '',
|
|
254
235
|
},
|
|
255
|
-
|
|
256
236
|
autofocus: {
|
|
257
237
|
type: Boolean,
|
|
258
238
|
default: false,
|
|
259
239
|
},
|
|
260
|
-
|
|
261
240
|
format: {
|
|
262
241
|
type: String as PropType<`${Formats}`>,
|
|
263
242
|
default: () => Formats.Markup,
|
|
264
243
|
},
|
|
265
|
-
|
|
266
244
|
fullHeight: {
|
|
267
245
|
type: Boolean,
|
|
268
246
|
default: false,
|
|
@@ -288,7 +266,7 @@ export default defineComponent({
|
|
|
288
266
|
const textareaRef = ref<HTMLTextAreaElement>();
|
|
289
267
|
const containerRef = ref<ComponentPublicInstance<HTMLInputElement>>();
|
|
290
268
|
const toolbarRef = ref<ComponentPublicInstance<HTMLInputElement>>();
|
|
291
|
-
const moreButtonRef = ref
|
|
269
|
+
const moreButtonRef = ref<HTMLDivElement>();
|
|
292
270
|
const moreRef = ref<HTMLDivElement>();
|
|
293
271
|
const toolbarButtonRef = ref<InstanceType<typeof OrIconButton>>();
|
|
294
272
|
const menuRef = ref<InstanceType<typeof OrMenu>>();
|