@onereach/ui-components 4.4.0-beta.2680.0 → 4.4.0-beta.2690.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/OrCarousel/OrCarousel.js +6 -3
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.vue.d.ts +1 -0
- package/dist/bundled/v2/components/OrCarousel/index.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +54 -20
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +10 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-188ca513.js → OrCarousel.vue_vue_type_script_lang-5222cb8d.js} +4 -0
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-6d5a6b7e.js → OrRichTextEditor.vue_vue_type_script_lang-6cfb065a.js} +18 -18
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +3 -3
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrCarousel/index.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +27 -18
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +10 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +2 -1
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/index.js +3 -3
- package/dist/esm/v2/{OrCarousel-5c2b2d10.js → OrCarousel-76dc2b7b.js} +3 -2
- package/dist/esm/v2/{OrRichTextEditor-cb50c4f6.js → OrRichTextEditor-10dc8ee2.js} +55 -21
- package/dist/esm/v2/{OrSelect-9c8f96b2.js → OrSelect-9d6b3363.js} +2 -1
- package/dist/esm/v2/components/index.js +4 -3
- package/dist/esm/v2/components/or-carousel/OrCarousel.vue.d.ts +1 -0
- package/dist/esm/v2/components/or-carousel/index.js +2 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +10 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/index.js +1 -1
- package/dist/esm/v2/index.js +4 -3
- package/dist/esm/v3/{OrCarousel-4fb775f8.js → OrCarousel-40f069d5.js} +2 -1
- package/dist/esm/v3/{OrRichTextEditor-c3560ddb.js → OrRichTextEditor-809824b9.js} +44 -35
- package/dist/esm/v3/{OrSelect-b1d7651a.js → OrSelect-3dbddc6b.js} +2 -1
- package/dist/esm/v3/components/index.js +4 -3
- package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +1 -0
- package/dist/esm/v3/components/or-carousel/index.js +2 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +10 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/index.js +4 -3
- package/package.json +2 -2
- package/src/components/or-carousel/OrCarousel.vue +2 -2
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +7 -3
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +27 -20
- package/src/components/or-rich-text-editor-v3/styles.ts +1 -0
- package/src/components/or-select-v3/OrSelect.stories3.ts +39 -1
- package/src/components/or-select-v3/OrSelect.vue +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Splide } from '@splidejs/splide';
|
|
2
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
2
3
|
import { _ as __vue_component__$1 } from './OrIcon-a40e60af.js';
|
|
3
4
|
import { defineComponent, ref } from 'vue-demi';
|
|
4
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -185,7 +186,7 @@ var script = defineComponent({
|
|
|
185
186
|
}
|
|
186
187
|
});
|
|
187
188
|
|
|
188
|
-
var css_248z = ".or-carousel[data-v-
|
|
189
|
+
var css_248z = ".or-carousel[data-v-79a6ba5c]{line-height:1;text-align:center}.or-carousel__track-container[data-v-79a6ba5c]{position:relative}.or-carousel .splide__arrow[data-v-79a6ba5c]:focus-visible{outline:0}.or-carousel[data-v-79a6ba5c] .splide__pagination__page{background:#64b2da}";
|
|
189
190
|
styleInject(css_248z);
|
|
190
191
|
|
|
191
192
|
/* script */
|
|
@@ -231,7 +232,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
231
232
|
/* style */
|
|
232
233
|
const __vue_inject_styles__ = undefined;
|
|
233
234
|
/* scoped */
|
|
234
|
-
const __vue_scope_id__ = "data-v-
|
|
235
|
+
const __vue_scope_id__ = "data-v-79a6ba5c";
|
|
235
236
|
/* module identifier */
|
|
236
237
|
const __vue_module_identifier__ = undefined;
|
|
237
238
|
/* functional template */
|
|
@@ -147,7 +147,7 @@ const ToolbarButtonFocused = [
|
|
|
147
147
|
'text-outline'];
|
|
148
148
|
const EditorInput = [
|
|
149
149
|
// Typography
|
|
150
|
-
'typography-body-2-regular', 'text-on-background',
|
|
150
|
+
'typography-body-2-regular', 'text-on-background', 'dark:text-on-background-dark',
|
|
151
151
|
// Sizing
|
|
152
152
|
'min-h-[88px]'];
|
|
153
153
|
|
|
@@ -246,6 +246,7 @@ var script = defineComponent({
|
|
|
246
246
|
const root = ref();
|
|
247
247
|
let editor = null;
|
|
248
248
|
const editorRef = ref();
|
|
249
|
+
const textareaRef = ref();
|
|
249
250
|
const containerRef = ref();
|
|
250
251
|
const toolbarRef = ref();
|
|
251
252
|
const moreButtonRef = ref();
|
|
@@ -262,6 +263,7 @@ var script = defineComponent({
|
|
|
262
263
|
const text = ref('');
|
|
263
264
|
const link = ref('');
|
|
264
265
|
const countOfNotVisibleTools = ref(0);
|
|
266
|
+
const sourceValue = ref('');
|
|
265
267
|
let trap = useFocusTrap(editorRef, {
|
|
266
268
|
immediate: true,
|
|
267
269
|
fallbackFocus: '.container',
|
|
@@ -443,25 +445,18 @@ var script = defineComponent({
|
|
|
443
445
|
}
|
|
444
446
|
return !notVisibleTools.value.includes(value);
|
|
445
447
|
};
|
|
448
|
+
const handleInput = event => {
|
|
449
|
+
const target = event.target;
|
|
450
|
+
const value = target.value;
|
|
451
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(deserialize(editor === null || editor === void 0 ? void 0 : editor.schema, value));
|
|
452
|
+
};
|
|
446
453
|
const handleToolbarClick = (item, level) => {
|
|
447
|
-
var _a, _b;
|
|
454
|
+
var _a, _b, _c;
|
|
448
455
|
switch (item) {
|
|
449
456
|
case 'source':
|
|
450
457
|
disableMarkdown.value = !disableMarkdown.value;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
enablePasteRules: !disableMarkdown.value
|
|
454
|
-
});
|
|
455
|
-
editor === null || editor === void 0 ? void 0 : editor.view.updateState(editor === null || editor === void 0 ? void 0 : editor.state.reconfigure({
|
|
456
|
-
plugins: editor.extensionManager.plugins
|
|
457
|
-
}));
|
|
458
|
-
if (disableMarkdown.value) {
|
|
459
|
-
const content = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
460
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.clearContent();
|
|
461
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.insertContent(content);
|
|
462
|
-
} else {
|
|
463
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(deserialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getText()));
|
|
464
|
-
}
|
|
458
|
+
(_a = textareaRef.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
459
|
+
sourceValue.value = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
465
460
|
break;
|
|
466
461
|
case 'bulletList':
|
|
467
462
|
case 'orderedList':
|
|
@@ -475,8 +470,8 @@ var script = defineComponent({
|
|
|
475
470
|
to,
|
|
476
471
|
empty
|
|
477
472
|
} = editor.state.selection;
|
|
478
|
-
const isLink = (
|
|
479
|
-
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? ((
|
|
473
|
+
const isLink = (_b = editor.view.state.doc.nodeAt(cursorPosition)) === null || _b === void 0 ? void 0 : _b.marks.filter(mark => mark.type.name === 'link');
|
|
474
|
+
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? ((_c = editor.view.state.doc.nodeAt(cursorPosition)) === null || _c === void 0 ? void 0 : _c.text) || '' : '';
|
|
480
475
|
text.value = empty ? existedText : editor.state.doc.textBetween(from, to, ' ');
|
|
481
476
|
link.value = editor.getAttributes('link').href || '';
|
|
482
477
|
}
|
|
@@ -606,6 +601,7 @@ var script = defineComponent({
|
|
|
606
601
|
containerRef,
|
|
607
602
|
toolbarButtonRef,
|
|
608
603
|
moreButtonRef,
|
|
604
|
+
textareaRef,
|
|
609
605
|
moreRef,
|
|
610
606
|
menuRef,
|
|
611
607
|
iconsEnum,
|
|
@@ -630,12 +626,16 @@ var script = defineComponent({
|
|
|
630
626
|
isFocused,
|
|
631
627
|
isVisible,
|
|
632
628
|
countOfNotVisibleTools,
|
|
633
|
-
notVisibleTools
|
|
629
|
+
notVisibleTools,
|
|
630
|
+
handleInput,
|
|
631
|
+
proxyModelValue,
|
|
632
|
+
disableMarkdown,
|
|
633
|
+
sourceValue
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
var css_248z = ".tiptap-editor-v3 ol{margin:0 24px;list-style:decimal}.tiptap-editor-v3 .ProseMirror p{margin:4px}.tiptap-editor-v3 .ProseMirror h1,.tiptap-editor-v3 .ProseMirror h2,.tiptap-editor-v3 .ProseMirror h3,.tiptap-editor-v3 .ProseMirror h4,.tiptap-editor-v3 .ProseMirror h5,.tiptap-editor-v3 .ProseMirror h6{margin:4px}.tiptap-editor-v3 ul{margin:0 24px;list-style:initial}.tiptap-editor-v3 blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid
|
|
638
|
+
var css_248z = ".tiptap-editor-v3 ol{margin:0 24px;list-style:decimal}.tiptap-editor-v3 .ProseMirror p{margin:4px}.tiptap-editor-v3 .ProseMirror h1,.tiptap-editor-v3 .ProseMirror h2,.tiptap-editor-v3 .ProseMirror h3,.tiptap-editor-v3 .ProseMirror h4,.tiptap-editor-v3 .ProseMirror h5,.tiptap-editor-v3 .ProseMirror h6{margin:4px}.tiptap-editor-v3 ul{margin:0 24px;list-style:initial}.tiptap-editor-v3 blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid theme(\"borderColor.primary-opacity-0-16\")}.tiptap-editor-v3 .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}.tiptap-editor-v3 .cm-editor{border:none;border-radius:4px}.tiptap-editor-v3 .cm-editor .cm-scroller{border-radius:4px}.tiptap-editor-v3 .cm-editor.cm-focused{outline:0}.tiptap-editor-v3 .cm-editor .cm-gutters{background-color:theme(\"backgroundColor.primary-opacity-0-12\");border:none}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement{padding:0 10px}.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter{background-color:theme(\"backgroundColor.primary-opacity-0-16\")}";
|
|
639
639
|
styleInject(css_248z);
|
|
640
640
|
|
|
641
641
|
/* script */
|
|
@@ -733,7 +733,41 @@ var __vue_render__ = function () {
|
|
|
733
733
|
class: ['p-sm', {
|
|
734
734
|
'h-[calc(100%-32px)] md:h-[calc(100%-36px)]': _vm.fullHeight
|
|
735
735
|
}]
|
|
736
|
-
}, [_c('
|
|
736
|
+
}, [_c('textarea', {
|
|
737
|
+
directives: [{
|
|
738
|
+
name: "show",
|
|
739
|
+
rawName: "v-show",
|
|
740
|
+
value: _vm.disableMarkdown,
|
|
741
|
+
expression: "disableMarkdown"
|
|
742
|
+
}, {
|
|
743
|
+
name: "model",
|
|
744
|
+
rawName: "v-model",
|
|
745
|
+
value: _vm.sourceValue,
|
|
746
|
+
expression: "sourceValue"
|
|
747
|
+
}],
|
|
748
|
+
ref: "textareaRef",
|
|
749
|
+
staticClass: "w-full h-full resize-none border-none outline-none bg-transparent",
|
|
750
|
+
attrs: {
|
|
751
|
+
"activated": _vm.disableMarkdown
|
|
752
|
+
},
|
|
753
|
+
domProps: {
|
|
754
|
+
"value": _vm.sourceValue
|
|
755
|
+
},
|
|
756
|
+
on: {
|
|
757
|
+
"input": [function ($event) {
|
|
758
|
+
if ($event.target.composing) {
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
_vm.sourceValue = $event.target.value;
|
|
762
|
+
}, _vm.handleInput]
|
|
763
|
+
}
|
|
764
|
+
}), _vm._v(" "), _c('div', {
|
|
765
|
+
directives: [{
|
|
766
|
+
name: "show",
|
|
767
|
+
rawName: "v-show",
|
|
768
|
+
value: !_vm.disableMarkdown,
|
|
769
|
+
expression: "!disableMarkdown"
|
|
770
|
+
}],
|
|
737
771
|
ref: "editorRef",
|
|
738
772
|
class: _vm.editorInputStyles
|
|
739
773
|
}), _vm._v(" "), _vm._t("files")], 2)]), _vm._v(" "), _vm.moreButtonRef ? _c('or-menu', {
|
|
@@ -10,7 +10,7 @@ export { _ as OrCard } from '../OrCard-c44d9783.js';
|
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-fe8a1a88.js';
|
|
11
11
|
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-722c83ce.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-0da13cbe.js';
|
|
13
|
-
export { _ as OrCarousel } from '../OrCarousel-
|
|
13
|
+
export { _ as OrCarousel } from '../OrCarousel-76dc2b7b.js';
|
|
14
14
|
export { _ as OrCarouselItem } from '../OrCarouselItem-c614bab9.js';
|
|
15
15
|
export { _ as OrCheckbox } from '../OrCheckbox-03e5eaff.js';
|
|
16
16
|
export { _ as OrCheckboxV3 } from '../OrCheckbox-59332f84.js';
|
|
@@ -73,7 +73,7 @@ export { _ as OrSearch } from '../OrSearch-330e9af0.js';
|
|
|
73
73
|
export { _ as OrSearchV3 } from '../OrSearch-7ccc1f33.js';
|
|
74
74
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-a1ea5b72.js';
|
|
75
75
|
export { _ as OrSelect } from '../OrSelect-22eea9cc.js';
|
|
76
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
76
|
+
export { _ as OrSelectV3 } from '../OrSelect-9d6b3363.js';
|
|
77
77
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-feacf13a.js';
|
|
78
78
|
export { _ as OrSidebarV3 } from '../OrSidebar-b8387abe.js';
|
|
79
79
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-4bf3bad8.js';
|
|
@@ -110,7 +110,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-a133
|
|
|
110
110
|
export { _ as OrTooltip } from '../OrTooltip-97a42707.js';
|
|
111
111
|
export { _ as OrTooltipContent } from '../OrTooltipContent-d85e1071.js';
|
|
112
112
|
export { _ as OrTooltipV3 } from '../OrTooltip-93a3eefb.js';
|
|
113
|
-
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
113
|
+
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-10dc8ee2.js';
|
|
114
114
|
import 'vue-demi';
|
|
115
115
|
import 'lodash';
|
|
116
116
|
import '../style-inject.es-4c6f2515.js';
|
|
@@ -119,6 +119,7 @@ import '../color-40b7fe6b.js';
|
|
|
119
119
|
import '@vueuse/core';
|
|
120
120
|
import '../OrButton.vue_rollup-plugin-vue_styles.0-83b5a752.js';
|
|
121
121
|
import '@splidejs/splide';
|
|
122
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
122
123
|
import '../useIdAttribute-859439f0.js';
|
|
123
124
|
import '../OrChips.vue_rollup-plugin-vue_styles.0-3cbb0871.js';
|
|
124
125
|
import '@codemirror/state';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Splide, ResponsiveOptions } from '@splidejs/splide';
|
|
2
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
2
3
|
import { PropType } from 'vue-demi';
|
|
3
4
|
import { Direction, KeyBoard, Type } from './constants';
|
|
4
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { _ as OrCarousel } from '../../OrCarousel-
|
|
1
|
+
export { _ as OrCarousel } from '../../OrCarousel-76dc2b7b.js';
|
|
2
2
|
export { _ as OrCarouselItem } from '../../OrCarouselItem-c614bab9.js';
|
|
3
3
|
import '@splidejs/splide';
|
|
4
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
4
5
|
import '../../OrIcon-a40e60af.js';
|
|
5
6
|
import 'vue-demi';
|
|
6
7
|
import 'lodash';
|
|
@@ -13,6 +13,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
13
13
|
[x: number]: string;
|
|
14
14
|
} | {}, true> | undefined>;
|
|
15
15
|
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
16
|
+
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
16
17
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
17
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, {
|
|
18
19
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -48,6 +49,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
49
|
isVisible: (value: string | Array<string>) => boolean;
|
|
49
50
|
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
50
51
|
notVisibleTools: import("@vue/composition-api").ComputedRef<string[]>;
|
|
52
|
+
handleInput: (event: InputEvent) => void;
|
|
53
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
54
|
+
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
55
|
+
sourceValue: import("@vue/composition-api").Ref<string>;
|
|
51
56
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
52
57
|
modelValue: {
|
|
53
58
|
type: StringConstructor;
|
|
@@ -153,6 +158,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
153
158
|
[x: number]: string;
|
|
154
159
|
} | {}, true> | undefined>;
|
|
155
160
|
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
161
|
+
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
156
162
|
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
157
163
|
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, {
|
|
158
164
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -188,6 +194,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
188
194
|
isVisible: (value: string | Array<string>) => boolean;
|
|
189
195
|
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
190
196
|
notVisibleTools: import("@vue/composition-api").ComputedRef<string[]>;
|
|
197
|
+
handleInput: (event: InputEvent) => void;
|
|
198
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
199
|
+
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
200
|
+
sourceValue: import("@vue/composition-api").Ref<string>;
|
|
191
201
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
192
202
|
modelValue: string;
|
|
193
203
|
toolbar: string[][];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-9d6b3363.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-fe8a1a88.js';
|
|
11
11
|
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-722c83ce.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
|
|
13
|
-
export { _ as OrCarousel } from './OrCarousel-
|
|
13
|
+
export { _ as OrCarousel } from './OrCarousel-76dc2b7b.js';
|
|
14
14
|
export { _ as OrCarouselItem } from './OrCarouselItem-c614bab9.js';
|
|
15
15
|
export { _ as OrCheckbox } from './OrCheckbox-03e5eaff.js';
|
|
16
16
|
export { _ as OrCheckboxV3 } from './OrCheckbox-59332f84.js';
|
|
@@ -73,7 +73,7 @@ export { _ as OrSearch } from './OrSearch-330e9af0.js';
|
|
|
73
73
|
export { _ as OrSearchV3 } from './OrSearch-7ccc1f33.js';
|
|
74
74
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-a1ea5b72.js';
|
|
75
75
|
export { _ as OrSelect } from './OrSelect-22eea9cc.js';
|
|
76
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
76
|
+
export { _ as OrSelectV3 } from './OrSelect-9d6b3363.js';
|
|
77
77
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
|
78
78
|
export { _ as OrSidebarV3 } from './OrSidebar-b8387abe.js';
|
|
79
79
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-4bf3bad8.js';
|
|
@@ -110,7 +110,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-a1332
|
|
|
110
110
|
export { _ as OrTooltip } from './OrTooltip-97a42707.js';
|
|
111
111
|
export { _ as OrTooltipContent } from './OrTooltipContent-d85e1071.js';
|
|
112
112
|
export { _ as OrTooltipV3 } from './OrTooltip-93a3eefb.js';
|
|
113
|
-
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
113
|
+
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-10dc8ee2.js';
|
|
114
114
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
115
115
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
116
116
|
export { u as useElevation } from './useElevation-b5a49746.js';
|
|
@@ -127,6 +127,7 @@ import './normalize-component-6e8e3d80.js';
|
|
|
127
127
|
import '@vueuse/core';
|
|
128
128
|
import './OrButton.vue_rollup-plugin-vue_styles.0-83b5a752.js';
|
|
129
129
|
import '@splidejs/splide';
|
|
130
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
130
131
|
import './OrChips.vue_rollup-plugin-vue_styles.0-3cbb0871.js';
|
|
131
132
|
import '@codemirror/state';
|
|
132
133
|
import '@codemirror/view';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Splide } from '@splidejs/splide';
|
|
2
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
2
3
|
import { s as script$1 } from './OrIcon-b566a871.js';
|
|
3
4
|
import { defineComponent, ref } from 'vue-demi';
|
|
4
5
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode, createCommentVNode } from 'vue';
|
|
@@ -220,7 +221,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
220
221
|
})])])])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [createElementVNode("ul", _hoisted_8, [renderSlot(_ctx.$slots, "default")])])])], 512 /* NEED_PATCH */)]);
|
|
221
222
|
}
|
|
222
223
|
|
|
223
|
-
var css_248z = "
|
|
224
|
+
var css_248z = ".or-carousel[data-v-1a3da3b8] {\n line-height: 1;\n text-align: center;\n}\n.or-carousel__track-container[data-v-1a3da3b8] {\n position: relative;\n}\n.or-carousel .splide__arrow[data-v-1a3da3b8]:focus-visible {\n outline: none;\n}\n.or-carousel[data-v-1a3da3b8] .splide__pagination__page {\n background: #64b2da;\n}";
|
|
224
225
|
styleInject(css_248z);
|
|
225
226
|
|
|
226
227
|
script.render = render;
|
|
@@ -32,7 +32,7 @@ import Placeholder from '@tiptap/extension-placeholder';
|
|
|
32
32
|
import { C as CodeMirrorView } from './codemirrorView-be2c7423.js';
|
|
33
33
|
import { minimalSetup } from 'codemirror';
|
|
34
34
|
import { javascript } from '@codemirror/lang-javascript';
|
|
35
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, renderSlot } from 'vue';
|
|
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 = {
|
|
@@ -147,7 +147,7 @@ const ToolbarButtonFocused = [
|
|
|
147
147
|
'text-outline'];
|
|
148
148
|
const EditorInput = [
|
|
149
149
|
// Typography
|
|
150
|
-
'typography-body-2-regular', 'text-on-background',
|
|
150
|
+
'typography-body-2-regular', 'text-on-background', 'dark:text-on-background-dark',
|
|
151
151
|
// Sizing
|
|
152
152
|
'min-h-[88px]'];
|
|
153
153
|
|
|
@@ -246,6 +246,7 @@ var script = defineComponent({
|
|
|
246
246
|
const root = ref();
|
|
247
247
|
let editor = null;
|
|
248
248
|
const editorRef = ref();
|
|
249
|
+
const textareaRef = ref();
|
|
249
250
|
const containerRef = ref();
|
|
250
251
|
const toolbarRef = ref();
|
|
251
252
|
const moreButtonRef = ref();
|
|
@@ -262,6 +263,7 @@ var script = defineComponent({
|
|
|
262
263
|
const text = ref('');
|
|
263
264
|
const link = ref('');
|
|
264
265
|
const countOfNotVisibleTools = ref(0);
|
|
266
|
+
const sourceValue = ref('');
|
|
265
267
|
let trap = useFocusTrap(editorRef, {
|
|
266
268
|
immediate: true,
|
|
267
269
|
fallbackFocus: '.container',
|
|
@@ -443,25 +445,18 @@ var script = defineComponent({
|
|
|
443
445
|
}
|
|
444
446
|
return !notVisibleTools.value.includes(value);
|
|
445
447
|
};
|
|
448
|
+
const handleInput = event => {
|
|
449
|
+
const target = event.target;
|
|
450
|
+
const value = target.value;
|
|
451
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(deserialize(editor === null || editor === void 0 ? void 0 : editor.schema, value));
|
|
452
|
+
};
|
|
446
453
|
const handleToolbarClick = (item, level) => {
|
|
447
|
-
var _a, _b;
|
|
454
|
+
var _a, _b, _c;
|
|
448
455
|
switch (item) {
|
|
449
456
|
case 'source':
|
|
450
457
|
disableMarkdown.value = !disableMarkdown.value;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
enablePasteRules: !disableMarkdown.value
|
|
454
|
-
});
|
|
455
|
-
editor === null || editor === void 0 ? void 0 : editor.view.updateState(editor === null || editor === void 0 ? void 0 : editor.state.reconfigure({
|
|
456
|
-
plugins: editor.extensionManager.plugins
|
|
457
|
-
}));
|
|
458
|
-
if (disableMarkdown.value) {
|
|
459
|
-
const content = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
460
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.clearContent();
|
|
461
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.insertContent(content);
|
|
462
|
-
} else {
|
|
463
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(deserialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getText()));
|
|
464
|
-
}
|
|
458
|
+
(_a = textareaRef.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
459
|
+
sourceValue.value = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
465
460
|
break;
|
|
466
461
|
case 'bulletList':
|
|
467
462
|
case 'orderedList':
|
|
@@ -475,8 +470,8 @@ var script = defineComponent({
|
|
|
475
470
|
to,
|
|
476
471
|
empty
|
|
477
472
|
} = editor.state.selection;
|
|
478
|
-
const isLink = (
|
|
479
|
-
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? ((
|
|
473
|
+
const isLink = (_b = editor.view.state.doc.nodeAt(cursorPosition)) === null || _b === void 0 ? void 0 : _b.marks.filter(mark => mark.type.name === 'link');
|
|
474
|
+
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? ((_c = editor.view.state.doc.nodeAt(cursorPosition)) === null || _c === void 0 ? void 0 : _c.text) || '' : '';
|
|
480
475
|
text.value = empty ? existedText : editor.state.doc.textBetween(from, to, ' ');
|
|
481
476
|
link.value = editor.getAttributes('link').href || '';
|
|
482
477
|
}
|
|
@@ -606,6 +601,7 @@ var script = defineComponent({
|
|
|
606
601
|
containerRef,
|
|
607
602
|
toolbarButtonRef,
|
|
608
603
|
moreButtonRef,
|
|
604
|
+
textareaRef,
|
|
609
605
|
moreRef,
|
|
610
606
|
menuRef,
|
|
611
607
|
iconsEnum,
|
|
@@ -630,19 +626,24 @@ var script = defineComponent({
|
|
|
630
626
|
isFocused,
|
|
631
627
|
isVisible,
|
|
632
628
|
countOfNotVisibleTools,
|
|
633
|
-
notVisibleTools
|
|
629
|
+
notVisibleTools,
|
|
630
|
+
handleInput,
|
|
631
|
+
proxyModelValue,
|
|
632
|
+
disableMarkdown,
|
|
633
|
+
sourceValue
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
const _hoisted_1 =
|
|
638
|
+
const _hoisted_1 = ["activated"];
|
|
639
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
|
|
639
640
|
class: "text-headline-2"
|
|
640
641
|
}, " Add Link ", -1 /* HOISTED */);
|
|
641
|
-
const
|
|
642
|
+
const _hoisted_3 = {
|
|
642
643
|
class: "flex ml-auto gap-md"
|
|
643
644
|
};
|
|
644
|
-
const
|
|
645
|
-
const
|
|
645
|
+
const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
646
|
+
const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
646
647
|
|
|
647
648
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
648
649
|
const _component_or_label = resolveComponent("or-label");
|
|
@@ -662,7 +663,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
662
663
|
}), createElementVNode("div", {
|
|
663
664
|
ref: "containerRef",
|
|
664
665
|
class: normalizeClass(_ctx.containerStyles),
|
|
665
|
-
onClick: _cache[
|
|
666
|
+
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
666
667
|
}, [createElementVNode("div", {
|
|
667
668
|
ref: "toolbarRef",
|
|
668
669
|
class: normalizeClass(_ctx.toolbarContainerStyles)
|
|
@@ -725,10 +726,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
725
726
|
class: normalizeClass(['p-sm', {
|
|
726
727
|
'h-[calc(100%-32px)] md:h-[calc(100%-36px)]': _ctx.fullHeight
|
|
727
728
|
}])
|
|
728
|
-
}, [createElementVNode("
|
|
729
|
+
}, [withDirectives(createElementVNode("textarea", {
|
|
730
|
+
ref: "textareaRef",
|
|
731
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.sourceValue = $event),
|
|
732
|
+
activated: _ctx.disableMarkdown,
|
|
733
|
+
class: "w-full h-full resize-none border-none outline-none bg-transparent",
|
|
734
|
+
onInput: _cache[3] || (_cache[3] = function () {
|
|
735
|
+
return _ctx.handleInput && _ctx.handleInput(...arguments);
|
|
736
|
+
})
|
|
737
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vShow, _ctx.disableMarkdown], [vModelText, _ctx.sourceValue]]), withDirectives(createElementVNode("div", {
|
|
729
738
|
ref: "editorRef",
|
|
730
739
|
class: normalizeClass(_ctx.editorInputStyles)
|
|
731
|
-
}, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
740
|
+
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
732
741
|
key: 0,
|
|
733
742
|
ref: "moreRef",
|
|
734
743
|
trigger: _ctx.moreButtonRef.root
|
|
@@ -772,7 +781,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
772
781
|
_: 2 /* DYNAMIC */
|
|
773
782
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
774
783
|
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_or_menu_item, {
|
|
775
|
-
onClick: _cache[
|
|
784
|
+
onClick: _cache[5] || (_cache[5] = $event => _ctx.handleToolbarClick('heading'))
|
|
776
785
|
}, {
|
|
777
786
|
default: withCtx(() => [createTextVNode(" None ")]),
|
|
778
787
|
_: 1 /* STABLE */
|
|
@@ -783,17 +792,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
783
792
|
"is-open": _ctx.isOpenLinkModal,
|
|
784
793
|
size: "s"
|
|
785
794
|
}, {
|
|
786
|
-
header: withCtx(() => [
|
|
787
|
-
footer: withCtx(() => [createElementVNode("div",
|
|
795
|
+
header: withCtx(() => [_hoisted_2]),
|
|
796
|
+
footer: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(_component_or_button, {
|
|
788
797
|
variant: "outlined",
|
|
789
798
|
onClick: _ctx.discardLink
|
|
790
799
|
}, {
|
|
791
|
-
default: withCtx(() => [
|
|
800
|
+
default: withCtx(() => [_hoisted_4]),
|
|
792
801
|
_: 1 /* STABLE */
|
|
793
802
|
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
794
803
|
onClick: _ctx.attachLink
|
|
795
804
|
}, {
|
|
796
|
-
default: withCtx(() => [
|
|
805
|
+
default: withCtx(() => [_hoisted_5]),
|
|
797
806
|
_: 1 /* STABLE */
|
|
798
807
|
}, 8 /* PROPS */, ["onClick"])])]),
|
|
799
808
|
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
@@ -801,7 +810,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
801
810
|
_: 1 /* STABLE */
|
|
802
811
|
}), createVNode(_component_or_input, {
|
|
803
812
|
modelValue: _ctx.text,
|
|
804
|
-
"onUpdate:modelValue": _cache[
|
|
813
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.text = $event),
|
|
805
814
|
placeholder: "Placeholder",
|
|
806
815
|
class: "pb-md"
|
|
807
816
|
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_or_label, null, {
|
|
@@ -809,14 +818,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
809
818
|
_: 1 /* STABLE */
|
|
810
819
|
}), createVNode(_component_or_input, {
|
|
811
820
|
modelValue: _ctx.link,
|
|
812
|
-
"onUpdate:modelValue": _cache[
|
|
821
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.link = $event),
|
|
813
822
|
placeholder: "Placeholder"
|
|
814
823
|
}, null, 8 /* PROPS */, ["modelValue"])])]),
|
|
815
824
|
_: 1 /* STABLE */
|
|
816
825
|
}, 8 /* PROPS */, ["is-open"])], 2 /* CLASS */);
|
|
817
826
|
}
|
|
818
827
|
|
|
819
|
-
var css_248z = ".tiptap-editor-v3 ol {\n margin: 0 24px;\n list-style: decimal;\n}\n.tiptap-editor-v3 .ProseMirror p {\n margin: 4px;\n}\n.tiptap-editor-v3 .ProseMirror h1, .tiptap-editor-v3 .ProseMirror h2, .tiptap-editor-v3 .ProseMirror h3, .tiptap-editor-v3 .ProseMirror h4, .tiptap-editor-v3 .ProseMirror h5, .tiptap-editor-v3 .ProseMirror h6 {\n margin: 4px;\n}\n.tiptap-editor-v3 ul {\n margin: 0 24px;\n list-style: initial;\n}\n.tiptap-editor-v3 blockquote {\n margin: 8px 24px;\n padding: 0 24px;\n border-left: 4px solid
|
|
828
|
+
var css_248z = ".tiptap-editor-v3 ol {\n margin: 0 24px;\n list-style: decimal;\n}\n.tiptap-editor-v3 .ProseMirror p {\n margin: 4px;\n}\n.tiptap-editor-v3 .ProseMirror h1, .tiptap-editor-v3 .ProseMirror h2, .tiptap-editor-v3 .ProseMirror h3, .tiptap-editor-v3 .ProseMirror h4, .tiptap-editor-v3 .ProseMirror h5, .tiptap-editor-v3 .ProseMirror h6 {\n margin: 4px;\n}\n.tiptap-editor-v3 ul {\n margin: 0 24px;\n list-style: initial;\n}\n.tiptap-editor-v3 blockquote {\n margin: 8px 24px;\n padding: 0 24px;\n border-left: 4px solid theme(\"borderColor.primary-opacity-0-16\");\n}\n.tiptap-editor-v3 .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor-v3 .cm-editor {\n border: none;\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor .cm-scroller {\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters {\n background-color: theme(\"backgroundColor.primary-opacity-0-12\");\n border: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement {\n padding: 0 10px;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter {\n background-color: theme(\"backgroundColor.primary-opacity-0-16\");\n}";
|
|
820
829
|
styleInject(css_248z);
|
|
821
830
|
|
|
822
831
|
script.render = render;
|
|
@@ -359,12 +359,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
359
359
|
return openBlock(), createBlock(_component_OrTag, {
|
|
360
360
|
key: option.value,
|
|
361
361
|
variant: 'reset',
|
|
362
|
+
disabled: _ctx.disabled || _ctx.readonly,
|
|
362
363
|
onReset: $event => _ctx.deselect(option)
|
|
363
364
|
}, {
|
|
364
365
|
default: withCtx(() => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)]),
|
|
365
366
|
|
|
366
367
|
_: 2 /* DYNAMIC */
|
|
367
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onReset"]);
|
|
368
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
368
369
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
|
|
369
370
|
key: 1,
|
|
370
371
|
class: normalizeClass(_ctx.placeholderStyles)
|
|
@@ -9,7 +9,7 @@ export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-d79dac85.js';
|
|
10
10
|
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-b319b723.js';
|
|
11
11
|
export { s as OrCardV3 } from '../OrCard-cc82902c.js';
|
|
12
|
-
export { s as OrCarousel } from '../OrCarousel-
|
|
12
|
+
export { s as OrCarousel } from '../OrCarousel-40f069d5.js';
|
|
13
13
|
export { s as OrCarouselItem } from '../OrCarouselItem-8c7ccd0f.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox-ab457011.js';
|
|
15
15
|
export { s as OrCheckboxV3 } from '../OrCheckbox-56d7b6eb.js';
|
|
@@ -71,7 +71,7 @@ export { s as OrSearch } from '../OrSearch-f4ad73db.js';
|
|
|
71
71
|
export { s as OrSearchV3 } from '../OrSearch-e15c7fd2.js';
|
|
72
72
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-359fbf3a.js';
|
|
73
73
|
export { s as OrSelect } from '../OrSelect-6ff34196.js';
|
|
74
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
74
|
+
export { s as OrSelectV3 } from '../OrSelect-3dbddc6b.js';
|
|
75
75
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
76
76
|
export { s as OrSidebarV3 } from '../OrSidebar-bfd19c4c.js';
|
|
77
77
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-63914891.js';
|
|
@@ -108,7 +108,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-a133
|
|
|
108
108
|
export { s as OrTooltip } from '../OrTooltip-89ce98e8.js';
|
|
109
109
|
export { s as OrTooltipContent } from '../OrTooltipContent-37a5f562.js';
|
|
110
110
|
export { s as OrTooltipV3 } from '../OrTooltip-4bb0054a.js';
|
|
111
|
-
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
111
|
+
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-809824b9.js';
|
|
112
112
|
import 'vue-demi';
|
|
113
113
|
import 'lodash';
|
|
114
114
|
import 'vue';
|
|
@@ -116,6 +116,7 @@ import '../style-inject.es-4c6f2515.js';
|
|
|
116
116
|
import '../color-40b7fe6b.js';
|
|
117
117
|
import '@vueuse/core';
|
|
118
118
|
import '@splidejs/splide';
|
|
119
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
119
120
|
import '../useIdAttribute-859439f0.js';
|
|
120
121
|
import '@codemirror/state';
|
|
121
122
|
import '@codemirror/view';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Splide, ResponsiveOptions } from '@splidejs/splide';
|
|
2
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
2
3
|
import { PropType } from 'vue-demi';
|
|
3
4
|
import { Direction, KeyBoard, Type } from './constants';
|
|
4
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { s as OrCarousel } from '../../OrCarousel-
|
|
1
|
+
export { s as OrCarousel } from '../../OrCarousel-40f069d5.js';
|
|
2
2
|
export { s as OrCarouselItem } from '../../OrCarouselItem-8c7ccd0f.js';
|
|
3
3
|
import '@splidejs/splide';
|
|
4
|
+
import '@splidejs/splide/dist/css/splide.min.css';
|
|
4
5
|
import '../../OrIcon-b566a871.js';
|
|
5
6
|
import 'vue-demi';
|
|
6
7
|
import 'lodash';
|