@onereach/ui-components 2.70.0-beta.2131.0 → 2.70.0-beta.2132.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/{OrRichTextEditor-63ef1357.js → OrRichTextEditor-7e3cd0ca.js} +1 -5
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-47fffbd6.js → OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js} +0 -4
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrRichTextEditor-c3dee275.js → OrRichTextEditor-8ab8e0f7.js} +1 -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-b2e87342.js → OrRichTextEditor-0f9798ac.js} +0 -4
- 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 +1 -1
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -4
|
@@ -36570,7 +36570,6 @@ var script = defineComponent({
|
|
|
36570
36570
|
editor
|
|
36571
36571
|
}) => {
|
|
36572
36572
|
if (props.markdownFormat) {
|
|
36573
|
-
console.log(proxyModelValue.value, 'on crete');
|
|
36574
36573
|
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
36575
36574
|
editor.commands.setContent(deserialized);
|
|
36576
36575
|
} else {
|
|
@@ -36622,12 +36621,10 @@ var script = defineComponent({
|
|
|
36622
36621
|
const proxyModelValue = computed({
|
|
36623
36622
|
get: () => {
|
|
36624
36623
|
var _a;
|
|
36625
|
-
console.log('modelV: ', props.modelValue, 'v: ', props.value);
|
|
36626
36624
|
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
36627
36625
|
},
|
|
36628
36626
|
|
|
36629
36627
|
set: value => {
|
|
36630
|
-
console.log(value, 'set');
|
|
36631
36628
|
context.emit('input', value);
|
|
36632
36629
|
context.emit('update:modelValue', value);
|
|
36633
36630
|
}
|
|
@@ -36724,7 +36721,6 @@ var script = defineComponent({
|
|
|
36724
36721
|
};
|
|
36725
36722
|
//Effects
|
|
36726
36723
|
watch(proxyModelValue, value => {
|
|
36727
|
-
console.log(value, 'watch');
|
|
36728
36724
|
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
|
|
36729
36725
|
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
36730
36726
|
}
|
|
@@ -36857,7 +36853,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
36857
36853
|
/* style */
|
|
36858
36854
|
const __vue_inject_styles__ = function (inject) {
|
|
36859
36855
|
if (!inject) return;
|
|
36860
|
-
inject("data-v-
|
|
36856
|
+
inject("data-v-3d0b3e9c_0", {
|
|
36861
36857
|
source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
|
|
36862
36858
|
map: undefined,
|
|
36863
36859
|
media: undefined
|
|
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d
|
|
|
95
95
|
export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
|
|
96
96
|
export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
|
|
97
97
|
export { O as OrTooltipV3 } from '../OrTooltip-fbfa05fd.js';
|
|
98
|
-
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
98
|
+
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-7e3cd0ca.js';
|
|
99
99
|
import '../index-fa6eb4ca.js';
|
|
100
100
|
import 'vue';
|
|
101
101
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -98,7 +98,7 @@ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from './types-f
|
|
|
98
98
|
export { O as OrTooltip } from './OrTooltip-dfea7af2.js';
|
|
99
99
|
export { O as OrTooltipContent } from './OrTooltipContent-f0fd5f75.js';
|
|
100
100
|
export { O as OrTooltipV3 } from './OrTooltip-fbfa05fd.js';
|
|
101
|
-
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
101
|
+
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-7e3cd0ca.js';
|
|
102
102
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
|
|
103
103
|
export { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
104
104
|
export { u as useElevation } from './useElevation-aac032f4.js';
|
|
@@ -36571,7 +36571,6 @@ var script = defineComponent({
|
|
|
36571
36571
|
editor
|
|
36572
36572
|
}) => {
|
|
36573
36573
|
if (props.markdownFormat) {
|
|
36574
|
-
console.log(proxyModelValue.value, 'on crete');
|
|
36575
36574
|
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
36576
36575
|
editor.commands.setContent(deserialized);
|
|
36577
36576
|
} else {
|
|
@@ -36623,12 +36622,10 @@ var script = defineComponent({
|
|
|
36623
36622
|
const proxyModelValue = computed({
|
|
36624
36623
|
get: () => {
|
|
36625
36624
|
var _a;
|
|
36626
|
-
console.log('modelV: ', props.modelValue, 'v: ', props.value);
|
|
36627
36625
|
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
36628
36626
|
},
|
|
36629
36627
|
|
|
36630
36628
|
set: value => {
|
|
36631
|
-
console.log(value, 'set');
|
|
36632
36629
|
context.emit('input', value);
|
|
36633
36630
|
context.emit('update:modelValue', value);
|
|
36634
36631
|
}
|
|
@@ -36725,7 +36722,6 @@ var script = defineComponent({
|
|
|
36725
36722
|
};
|
|
36726
36723
|
//Effects
|
|
36727
36724
|
watch(proxyModelValue, value => {
|
|
36728
|
-
console.log(value, 'watch');
|
|
36729
36725
|
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
|
|
36730
36726
|
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
36731
36727
|
}
|
|
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-4d43
|
|
|
95
95
|
export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-fa52d391.js';
|
|
96
96
|
export { s as OrTooltipContent } from '../OrTooltipContent-b0dcb862.js';
|
|
97
97
|
export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-67cc86ed.js';
|
|
98
|
-
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-
|
|
98
|
+
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
|
|
99
99
|
import 'vue';
|
|
100
100
|
import 'lodash';
|
|
101
101
|
import '../OrIcon-1cae8a64.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import 'node:punycode';
|
|
4
4
|
import '../../index.es-3f39f316.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -123,8 +123,8 @@ import './OrToastContainer-f5525225.js';
|
|
|
123
123
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-4d4329cd.js';
|
|
124
124
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-6c5eee23.js';
|
|
125
125
|
import './OrToastContainer-afb51e5d.js';
|
|
126
|
-
import { s as script$Q } from './OrRichTextEditor.vue_vue_type_script_lang-
|
|
127
|
-
export { s as OrRichTextEditorV3 } from './OrRichTextEditor.vue_vue_type_script_lang-
|
|
126
|
+
import { s as script$Q } from './OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
|
|
127
|
+
export { s as OrRichTextEditorV3 } from './OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
|
|
128
128
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './constants-c5d1139f.js';
|
|
129
129
|
export { s as OrCardV3 } from './OrCard.vue_vue_type_script_lang-165de137.js';
|
|
130
130
|
export { s as OrCollapse } from './OrCollapse.vue_vue_type_script_lang-65cbb754.js';
|
|
@@ -245,7 +245,6 @@ var script = defineComponent({
|
|
|
245
245
|
editor
|
|
246
246
|
}) => {
|
|
247
247
|
if (props.markdownFormat) {
|
|
248
|
-
console.log(proxyModelValue.value, 'on crete');
|
|
249
248
|
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
250
249
|
editor.commands.setContent(deserialized);
|
|
251
250
|
} else {
|
|
@@ -297,12 +296,10 @@ var script = defineComponent({
|
|
|
297
296
|
const proxyModelValue = computed({
|
|
298
297
|
get: () => {
|
|
299
298
|
var _a;
|
|
300
|
-
console.log('modelV: ', props.modelValue, 'v: ', props.value);
|
|
301
299
|
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
302
300
|
},
|
|
303
301
|
|
|
304
302
|
set: value => {
|
|
305
|
-
console.log(value, 'set');
|
|
306
303
|
context.emit('input', value);
|
|
307
304
|
context.emit('update:modelValue', value);
|
|
308
305
|
}
|
|
@@ -399,7 +396,6 @@ var script = defineComponent({
|
|
|
399
396
|
};
|
|
400
397
|
//Effects
|
|
401
398
|
watch(proxyModelValue, value => {
|
|
402
|
-
console.log(value, 'watch');
|
|
403
399
|
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
|
|
404
400
|
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
405
401
|
}
|
|
@@ -532,7 +528,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
532
528
|
/* style */
|
|
533
529
|
const __vue_inject_styles__ = function (inject) {
|
|
534
530
|
if (!inject) return;
|
|
535
|
-
inject("data-v-
|
|
531
|
+
inject("data-v-3d0b3e9c_0", {
|
|
536
532
|
source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
|
|
537
533
|
map: undefined,
|
|
538
534
|
media: undefined
|
|
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665
|
|
|
95
95
|
export { _ as OrTooltip } from '../OrTooltip-614b016d.js';
|
|
96
96
|
export { _ as OrTooltipContent } from '../OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
|
|
97
97
|
export { _ as OrTooltipV3 } from '../OrTooltip-513bee30.js';
|
|
98
|
-
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
98
|
+
export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-8ab8e0f7.js';
|
|
99
99
|
import 'vue-demi';
|
|
100
100
|
import 'lodash';
|
|
101
101
|
import '../normalize-component-6e8e3d80.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
|
|
|
95
95
|
export { _ as OrTooltip } from './OrTooltip-614b016d.js';
|
|
96
96
|
export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
|
|
97
97
|
export { _ as OrTooltipV3 } from './OrTooltip-513bee30.js';
|
|
98
|
-
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
98
|
+
export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-8ab8e0f7.js';
|
|
99
99
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
100
100
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
101
101
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
@@ -245,7 +245,6 @@ var script = defineComponent({
|
|
|
245
245
|
editor
|
|
246
246
|
}) => {
|
|
247
247
|
if (props.markdownFormat) {
|
|
248
|
-
console.log(proxyModelValue.value, 'on crete');
|
|
249
248
|
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
250
249
|
editor.commands.setContent(deserialized);
|
|
251
250
|
} else {
|
|
@@ -297,12 +296,10 @@ var script = defineComponent({
|
|
|
297
296
|
const proxyModelValue = computed({
|
|
298
297
|
get: () => {
|
|
299
298
|
var _a;
|
|
300
|
-
console.log('modelV: ', props.modelValue, 'v: ', props.value);
|
|
301
299
|
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
302
300
|
},
|
|
303
301
|
|
|
304
302
|
set: value => {
|
|
305
|
-
console.log(value, 'set');
|
|
306
303
|
context.emit('input', value);
|
|
307
304
|
context.emit('update:modelValue', value);
|
|
308
305
|
}
|
|
@@ -399,7 +396,6 @@ var script = defineComponent({
|
|
|
399
396
|
};
|
|
400
397
|
//Effects
|
|
401
398
|
watch(proxyModelValue, value => {
|
|
402
|
-
console.log(value, 'watch');
|
|
403
399
|
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
|
|
404
400
|
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
405
401
|
}
|
|
@@ -89,7 +89,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
|
|
|
89
89
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
|
|
90
90
|
export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-78cd7f6b.js';
|
|
91
91
|
export { s as OrTooltipV3 } from '../OrTooltip-50d27b4f.js';
|
|
92
|
-
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-
|
|
92
|
+
export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-0f9798ac.js';
|
|
93
93
|
import 'vue-demi';
|
|
94
94
|
import 'lodash';
|
|
95
95
|
import 'vue';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -89,7 +89,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-8
|
|
|
89
89
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
90
90
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
91
91
|
export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
|
|
92
|
-
export { s as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
92
|
+
export { s as OrRichTextEditorV3 } from './OrRichTextEditor-0f9798ac.js';
|
|
93
93
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
94
94
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
95
95
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
package/package.json
CHANGED
|
@@ -213,7 +213,6 @@ export default defineComponent({
|
|
|
213
213
|
},
|
|
214
214
|
onCreate: ({ editor }) => {
|
|
215
215
|
if (props.markdownFormat) {
|
|
216
|
-
console.log(proxyModelValue.value, 'on crete');
|
|
217
216
|
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
218
217
|
editor.commands.setContent(deserialized);
|
|
219
218
|
} else {
|
|
@@ -274,12 +273,10 @@ export default defineComponent({
|
|
|
274
273
|
// Computed
|
|
275
274
|
const proxyModelValue = computed({
|
|
276
275
|
get: () => {
|
|
277
|
-
console.log('modelV: ', props.modelValue, 'v: ', props.value);
|
|
278
276
|
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
279
277
|
},
|
|
280
278
|
|
|
281
279
|
set: (value) => {
|
|
282
|
-
console.log(value, 'set');
|
|
283
280
|
context.emit('input', value);
|
|
284
281
|
context.emit('update:modelValue', value);
|
|
285
282
|
},
|
|
@@ -414,7 +411,6 @@ export default defineComponent({
|
|
|
414
411
|
|
|
415
412
|
//Effects
|
|
416
413
|
watch(proxyModelValue, (value) => {
|
|
417
|
-
console.log(value, 'watch');
|
|
418
414
|
if (value !== editor?.getHTML() && !props.markdownFormat) {
|
|
419
415
|
editor?.commands.setContent(value as string);
|
|
420
416
|
}
|