@onereach/ui-components 8.5.0 → 8.5.1-beta.3660.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 +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +1 -1
- 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/codemirror/index.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v2/components/{OrRichTextEditorV3-569d94ba.js → OrRichTextEditorV3-14abd1c8.js} +5 -5
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/esm/v2/{OrRichTextEditor-b7e948b4.js → OrRichTextEditor-4beadce5.js} +5 -5
- package/dist/esm/v2/components/index.js +1 -1
- 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-995c5f4e.js → OrRichTextEditor-532d8e62.js} +5 -5
- package/dist/esm/v3/components/index.js +1 -1
- 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 +2 -3
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { _ as default } from '../OrRichTextEditorV3-
|
|
1
|
+
export { _ as default } from '../OrRichTextEditorV3-14abd1c8.js';
|
|
2
2
|
import '../OrAvatar-7d519020.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditorV3-
|
|
1
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditorV3-14abd1c8.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as Formats } from '../OrRichTextEditorV3-
|
|
1
|
+
export { F as Formats } from '../OrRichTextEditorV3-14abd1c8.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as EditorContainer, e as EditorInput, a as Toolbar, b as ToolbarButton, c as ToolbarButtonFocused, T as ToolbarContainer } from '../OrRichTextEditorV3-
|
|
1
|
+
export { E as EditorContainer, e as EditorInput, a as Toolbar, b as ToolbarButton, c as ToolbarButtonFocused, T as ToolbarContainer } from '../OrRichTextEditorV3-14abd1c8.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { h as default } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { h as default } from '../../../OrRichTextEditorV3-14abd1c8.js';
|
|
2
2
|
import '../../../OrCode-526b84d1.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as default } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { C as default } from '../../../OrRichTextEditorV3-14abd1c8.js';
|
|
2
2
|
import '../../../OrCode-526b84d1.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-14abd1c8.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../../../OrCode-526b84d1.js';
|
|
2
2
|
import '../../../OrBottomSheetV3-022aa5f7.js';
|
|
3
|
-
export { f as color, t as default, g as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-
|
|
3
|
+
export { f as color, t as default, g as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-14abd1c8.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { d as deserialize, s as serialize } from '../../OrRichTextEditorV3-
|
|
1
|
+
export { d as deserialize, s as serialize } from '../../OrRichTextEditorV3-14abd1c8.js';
|
package/dist/bundled/v2/components/{OrRichTextEditorV3-569d94ba.js → OrRichTextEditorV3-14abd1c8.js}
RENAMED
|
@@ -27508,7 +27508,7 @@ var __vue_render__ = function () {
|
|
|
27508
27508
|
"selected": _vm.isActive[item],
|
|
27509
27509
|
"disabled": !_vm.isFocused,
|
|
27510
27510
|
"tooltip": {
|
|
27511
|
-
|
|
27511
|
+
content: item,
|
|
27512
27512
|
placement: 'top'
|
|
27513
27513
|
},
|
|
27514
27514
|
"icon": {
|
|
@@ -27525,7 +27525,7 @@ var __vue_render__ = function () {
|
|
|
27525
27525
|
}) : _vm.isVisible(item) ? _c('or-icon-button', {
|
|
27526
27526
|
attrs: {
|
|
27527
27527
|
"tooltip": {
|
|
27528
|
-
|
|
27528
|
+
content: _vm.iconTooltipsEnum[item],
|
|
27529
27529
|
placement: 'top'
|
|
27530
27530
|
},
|
|
27531
27531
|
"selected": _vm.isActive[item],
|
|
@@ -27604,7 +27604,7 @@ var __vue_render__ = function () {
|
|
|
27604
27604
|
}), _vm._v(" "), _vm._t("files")], 2)]), _vm._v(" "), _vm.moreButtonRef ? _c('or-popover', {
|
|
27605
27605
|
ref: "moreRef",
|
|
27606
27606
|
attrs: {
|
|
27607
|
-
"trigger": _vm.moreButtonRef.root,
|
|
27607
|
+
"trigger": _vm.moreButtonRef && _vm.moreButtonRef.root,
|
|
27608
27608
|
"placement": "top-end"
|
|
27609
27609
|
}
|
|
27610
27610
|
}, [_c('div', {
|
|
@@ -27614,7 +27614,7 @@ var __vue_render__ = function () {
|
|
|
27614
27614
|
key: item,
|
|
27615
27615
|
attrs: {
|
|
27616
27616
|
"tooltip": {
|
|
27617
|
-
|
|
27617
|
+
content: _vm.iconTooltipsEnum[item],
|
|
27618
27618
|
placement: 'top'
|
|
27619
27619
|
},
|
|
27620
27620
|
"selected": _vm.isActive[item],
|
|
@@ -27634,7 +27634,7 @@ var __vue_render__ = function () {
|
|
|
27634
27634
|
ref: "menuRef",
|
|
27635
27635
|
staticClass: "bg-on-primary",
|
|
27636
27636
|
attrs: {
|
|
27637
|
-
"trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
|
|
27637
|
+
"trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading] && _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
|
|
27638
27638
|
"placement": "bottom-start"
|
|
27639
27639
|
}
|
|
27640
27640
|
}, [_vm._l(_vm.headingLevels, function (heading) {
|
|
@@ -79,7 +79,7 @@ export { _ as OrRadioV3 } from './OrRadioV3-7e249447.js';
|
|
|
79
79
|
export { _ as OrRangeSliderV3 } from './OrRangeSliderV3-784f0cfb.js';
|
|
80
80
|
export { _ as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSliderV3-bde29d00.js';
|
|
81
81
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanelV3-8ca96ef2.js';
|
|
82
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditorV3-
|
|
82
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditorV3-14abd1c8.js';
|
|
83
83
|
export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
84
84
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
85
85
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-b220a9cc.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -42,7 +42,7 @@ export { default as OrRadio } from './components/OrRadio/OrRadio.js';
|
|
|
42
42
|
export { default as OrRadioGroup } from './components/OrRadioGroup/OrRadioGroup.js';
|
|
43
43
|
export { default as OrRadioGroupV3 } from './components/OrRadioGroupV3/OrRadioGroup.js';
|
|
44
44
|
export { _ as OrRangeSliderV3 } from './components/OrRangeSliderV3-784f0cfb.js';
|
|
45
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-
|
|
45
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-14abd1c8.js';
|
|
46
46
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './components/OrSegmentedControlV3-b220a9cc.js';
|
|
47
47
|
export { _ as OrSelect } from './components/OrSelect-837dfd6b.js';
|
|
48
48
|
export { _ as OrSelectV3 } from './components/OrSelectV3-68059541.js';
|
|
@@ -755,7 +755,7 @@ var __vue_render__ = function () {
|
|
|
755
755
|
"selected": _vm.isActive[item],
|
|
756
756
|
"disabled": !_vm.isFocused,
|
|
757
757
|
"tooltip": {
|
|
758
|
-
|
|
758
|
+
content: item,
|
|
759
759
|
placement: 'top'
|
|
760
760
|
},
|
|
761
761
|
"icon": {
|
|
@@ -772,7 +772,7 @@ var __vue_render__ = function () {
|
|
|
772
772
|
}) : _vm.isVisible(item) ? _c('or-icon-button', {
|
|
773
773
|
attrs: {
|
|
774
774
|
"tooltip": {
|
|
775
|
-
|
|
775
|
+
content: _vm.iconTooltipsEnum[item],
|
|
776
776
|
placement: 'top'
|
|
777
777
|
},
|
|
778
778
|
"selected": _vm.isActive[item],
|
|
@@ -851,7 +851,7 @@ var __vue_render__ = function () {
|
|
|
851
851
|
}), _vm._v(" "), _vm._t("files")], 2)]), _vm._v(" "), _vm.moreButtonRef ? _c('or-popover', {
|
|
852
852
|
ref: "moreRef",
|
|
853
853
|
attrs: {
|
|
854
|
-
"trigger": _vm.moreButtonRef.root,
|
|
854
|
+
"trigger": _vm.moreButtonRef && _vm.moreButtonRef.root,
|
|
855
855
|
"placement": "top-end"
|
|
856
856
|
}
|
|
857
857
|
}, [_c('div', {
|
|
@@ -861,7 +861,7 @@ var __vue_render__ = function () {
|
|
|
861
861
|
key: item,
|
|
862
862
|
attrs: {
|
|
863
863
|
"tooltip": {
|
|
864
|
-
|
|
864
|
+
content: _vm.iconTooltipsEnum[item],
|
|
865
865
|
placement: 'top'
|
|
866
866
|
},
|
|
867
867
|
"selected": _vm.isActive[item],
|
|
@@ -881,7 +881,7 @@ var __vue_render__ = function () {
|
|
|
881
881
|
ref: "menuRef",
|
|
882
882
|
staticClass: "bg-on-primary",
|
|
883
883
|
attrs: {
|
|
884
|
-
"trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
|
|
884
|
+
"trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading] && _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
|
|
885
885
|
"placement": "bottom-start"
|
|
886
886
|
}
|
|
887
887
|
}, [_vm._l(_vm.headingLevels, function (heading) {
|
|
@@ -96,7 +96,7 @@ export { _ as OrRangeSliderV3 } from '../OrRangeSlider-5b939e85.js';
|
|
|
96
96
|
export { _ as OrSliderV3 } from '../OrSlider-f33d3b38.js';
|
|
97
97
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider.vue_rollup-plugin-vue_script-cb6c48c1.js';
|
|
98
98
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-0888f196.js';
|
|
99
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
99
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-4beadce5.js';
|
|
100
100
|
export { _ as OrSearch } from '../OrSearch-ac542dd6.js';
|
|
101
101
|
export { _ as OrSearchV3 } from '../OrSearch-7a853881.js';
|
|
102
102
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-bba94cda.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-
|
|
1
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-4beadce5.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/integrations/useFocusTrap';
|
|
4
4
|
import '@vueuse/core';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -96,7 +96,7 @@ export { _ as OrRangeSliderV3 } from './OrRangeSlider-5b939e85.js';
|
|
|
96
96
|
export { _ as OrSliderV3 } from './OrSlider-f33d3b38.js';
|
|
97
97
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider.vue_rollup-plugin-vue_script-cb6c48c1.js';
|
|
98
98
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-0888f196.js';
|
|
99
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
99
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-4beadce5.js';
|
|
100
100
|
export { _ as OrSearch } from './OrSearch-ac542dd6.js';
|
|
101
101
|
export { _ as OrSearchV3 } from './OrSearch-7a853881.js';
|
|
102
102
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-bba94cda.js';
|
|
@@ -766,7 +766,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
766
766
|
selected: _ctx.isActive[item],
|
|
767
767
|
disabled: !_ctx.isFocused,
|
|
768
768
|
tooltip: {
|
|
769
|
-
|
|
769
|
+
content: item,
|
|
770
770
|
placement: 'top'
|
|
771
771
|
},
|
|
772
772
|
icon: {
|
|
@@ -778,7 +778,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
778
778
|
}, null, 8 /* PROPS */, ["selected", "disabled", "tooltip", "icon"])) : _ctx.isVisible(item) ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
779
779
|
key: 1,
|
|
780
780
|
tooltip: {
|
|
781
|
-
|
|
781
|
+
content: _ctx.iconTooltipsEnum[item],
|
|
782
782
|
placement: 'top'
|
|
783
783
|
},
|
|
784
784
|
selected: _ctx.isActive[item],
|
|
@@ -821,14 +821,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
821
821
|
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_popover, {
|
|
822
822
|
key: 0,
|
|
823
823
|
ref: "moreRef",
|
|
824
|
-
trigger: _ctx.moreButtonRef.root,
|
|
824
|
+
trigger: _ctx.moreButtonRef && _ctx.moreButtonRef.root,
|
|
825
825
|
placement: "top-end"
|
|
826
826
|
}, {
|
|
827
827
|
default: withCtx(() => [createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.notVisibleTools, item => {
|
|
828
828
|
return openBlock(), createBlock(_component_or_icon_button, {
|
|
829
829
|
key: item,
|
|
830
830
|
tooltip: {
|
|
831
|
-
|
|
831
|
+
content: _ctx.iconTooltipsEnum[item],
|
|
832
832
|
placement: 'top'
|
|
833
833
|
},
|
|
834
834
|
selected: _ctx.isActive[item],
|
|
@@ -845,7 +845,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
845
845
|
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
846
846
|
key: 1,
|
|
847
847
|
ref: "menuRef",
|
|
848
|
-
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
848
|
+
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading] && _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
849
849
|
placement: "bottom-start",
|
|
850
850
|
class: "bg-on-primary"
|
|
851
851
|
}, {
|
|
@@ -92,7 +92,7 @@ export { s as OrRadioV3 } from '../OrRadio-50b0ead5.js';
|
|
|
92
92
|
export { s as OrRangeSliderV3 } from '../OrRangeSlider-07ddbed1.js';
|
|
93
93
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider-f932d1c4.js';
|
|
94
94
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-5dfd3f6d.js';
|
|
95
|
-
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
95
|
+
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-532d8e62.js';
|
|
96
96
|
export { s as OrSearch } from '../OrSearch-2800e9bf.js';
|
|
97
97
|
export { s as OrSearchV3 } from '../OrSearch-6413323a.js';
|
|
98
98
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-6be79b4e.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as Formats, s as OrRichTextEditorV3 } from '../../OrRichTextEditor-
|
|
1
|
+
export { F as Formats, s as OrRichTextEditorV3 } from '../../OrRichTextEditor-532d8e62.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/integrations/useFocusTrap';
|
|
4
4
|
import '@vueuse/core';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -92,7 +92,7 @@ export { s as OrRadioV3 } from './OrRadio-50b0ead5.js';
|
|
|
92
92
|
export { s as OrRangeSliderV3 } from './OrRangeSlider-07ddbed1.js';
|
|
93
93
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider-f932d1c4.js';
|
|
94
94
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-5dfd3f6d.js';
|
|
95
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
95
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-532d8e62.js';
|
|
96
96
|
export { s as OrSearch } from './OrSearch-2800e9bf.js';
|
|
97
97
|
export { s as OrSearchV3 } from './OrSearch-6413323a.js';
|
|
98
98
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-6be79b4e.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "8.5.0",
|
|
3
|
+
"version": "8.5.1-beta.3660.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -176,6 +176,5 @@
|
|
|
176
176
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
177
177
|
},
|
|
178
178
|
"./package.json": "./package.json"
|
|
179
|
-
}
|
|
180
|
-
"gitHead": "a80b498b707f07d3d933681da8c316e0f71025ce"
|
|
179
|
+
}
|
|
181
180
|
}
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
ref="toolbarButtonRef"
|
|
31
31
|
:selected="isActive[item]"
|
|
32
32
|
:disabled="!isFocused"
|
|
33
|
-
:tooltip="{
|
|
33
|
+
:tooltip="{content: item, placement: 'top'}"
|
|
34
34
|
:icon="{icon: headingIcon, variant: 'inherit', size: 'm'}"
|
|
35
35
|
@click="menuRef.open()"
|
|
36
36
|
/>
|
|
37
37
|
<or-icon-button
|
|
38
38
|
v-else-if="isVisible(item)"
|
|
39
|
-
:tooltip="{
|
|
39
|
+
:tooltip="{content: iconTooltipsEnum[item], placement: 'top'}"
|
|
40
40
|
:selected="isActive[item]"
|
|
41
41
|
:disabled="!isFocused"
|
|
42
42
|
:icon="{icon: iconsEnum[item], variant: 'inherit', size: 'm'}"
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
<or-popover
|
|
75
75
|
v-if="moreButtonRef"
|
|
76
76
|
ref="moreRef"
|
|
77
|
-
:trigger="moreButtonRef.root"
|
|
77
|
+
:trigger="moreButtonRef && moreButtonRef.root"
|
|
78
78
|
placement="top-end"
|
|
79
79
|
>
|
|
80
80
|
<div class="flex p-sm gap-md bg-on-primary">
|
|
81
81
|
<or-icon-button
|
|
82
82
|
v-for="item in notVisibleTools"
|
|
83
83
|
:key="item"
|
|
84
|
-
:tooltip="{
|
|
84
|
+
:tooltip="{content: iconTooltipsEnum[item], placement: 'top'}"
|
|
85
85
|
:selected="isActive[item]"
|
|
86
86
|
:icon="{icon: iconsEnum[item], variant: 'inherit', size: 'm'}"
|
|
87
87
|
@click="handleToolbarClick(item)"
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<or-menu
|
|
92
92
|
v-if="toolbarButtonRef"
|
|
93
93
|
ref="menuRef"
|
|
94
|
-
:trigger="toolbarButtonRef[getIndexOfHeading].root"
|
|
94
|
+
:trigger="toolbarButtonRef[getIndexOfHeading] && toolbarButtonRef[getIndexOfHeading].root"
|
|
95
95
|
placement="bottom-start"
|
|
96
96
|
class="bg-on-primary"
|
|
97
97
|
>
|