@ibiz-template/mob-vue3-components 0.0.14 → 0.0.15
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/ibiz-markdown-editor-AtZNv2th.js +2 -0
- package/dist/ibiz-markdown-editor-AtZNv2th.js.map +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +5 -5
- package/dist/index.system.min.js.map +1 -1
- package/es/editor/index.mjs +7 -2
- package/lib/editor/index.cjs +7 -2
- package/package.json +1 -1
package/es/editor/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { registerEditorProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { defineAsyncComponent } from 'vue';
|
|
2
3
|
import { NotSupportedEditor } from './not-supported-editor/not-supported-editor.mjs';
|
|
3
4
|
import './span/index.mjs';
|
|
4
5
|
import './text-box/index.mjs';
|
|
@@ -17,7 +18,6 @@ import './date-range/index.mjs';
|
|
|
17
18
|
import './cascader/index.mjs';
|
|
18
19
|
import './color-picker/index.mjs';
|
|
19
20
|
import './markdown/index.mjs';
|
|
20
|
-
import IBizMarkDown from './markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs';
|
|
21
21
|
import { IBizDropdownList } from './dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs';
|
|
22
22
|
import './check-box/index.mjs';
|
|
23
23
|
import './common/index.mjs';
|
|
@@ -110,8 +110,13 @@ const IBizEditor = {
|
|
|
110
110
|
v.component(IBizCascader.name, IBizCascader);
|
|
111
111
|
v.component(IBizColorPicker.name, IBizColorPicker);
|
|
112
112
|
v.component(IBizPickerSelectView.name, IBizPickerSelectView);
|
|
113
|
-
v.component(IBizMarkDown.name, IBizMarkDown);
|
|
114
113
|
v.component(IBizEditorCarousel.name, IBizEditorCarousel);
|
|
114
|
+
v.component(
|
|
115
|
+
"IBizMarkDown",
|
|
116
|
+
defineAsyncComponent(
|
|
117
|
+
() => import('./markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs')
|
|
118
|
+
)
|
|
119
|
+
);
|
|
115
120
|
registerEditorProvider("SPAN", () => new SpanEditorProvider());
|
|
116
121
|
const textBoxEditorProvider = new TextBoxEditorProvider();
|
|
117
122
|
registerEditorProvider("MOBTEXT", () => textBoxEditorProvider);
|
package/lib/editor/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('@ibiz-template/runtime');
|
|
6
|
+
var vue = require('vue');
|
|
6
7
|
var notSupportedEditor = require('./not-supported-editor/not-supported-editor.cjs');
|
|
7
8
|
require('./span/index.cjs');
|
|
8
9
|
require('./text-box/index.cjs');
|
|
@@ -21,7 +22,6 @@ require('./date-range/index.cjs');
|
|
|
21
22
|
require('./cascader/index.cjs');
|
|
22
23
|
require('./color-picker/index.cjs');
|
|
23
24
|
require('./markdown/index.cjs');
|
|
24
|
-
var ibizMarkdownEditor = require('./markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs');
|
|
25
25
|
var ibizDropdownList = require('./dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs');
|
|
26
26
|
require('./check-box/index.cjs');
|
|
27
27
|
require('./common/index.cjs');
|
|
@@ -114,8 +114,13 @@ const IBizEditor = {
|
|
|
114
114
|
v.component(ibizCascader.IBizCascader.name, ibizCascader.IBizCascader);
|
|
115
115
|
v.component(ibizColorPicker.IBizColorPicker.name, ibizColorPicker.IBizColorPicker);
|
|
116
116
|
v.component(ibizPickerSelectView.IBizPickerSelectView.name, ibizPickerSelectView.IBizPickerSelectView);
|
|
117
|
-
v.component(ibizMarkdownEditor.default.name, ibizMarkdownEditor.default);
|
|
118
117
|
v.component(ibizCarousel.IBizEditorCarousel.name, ibizCarousel.IBizEditorCarousel);
|
|
118
|
+
v.component(
|
|
119
|
+
"IBizMarkDown",
|
|
120
|
+
vue.defineAsyncComponent(
|
|
121
|
+
() => Promise.resolve().then(function () { return require('./markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs'); })
|
|
122
|
+
)
|
|
123
|
+
);
|
|
119
124
|
runtime.registerEditorProvider("SPAN", () => new spanEditor_provider.SpanEditorProvider());
|
|
120
125
|
const textBoxEditorProvider = new textBoxEditor_provider.TextBoxEditorProvider();
|
|
121
126
|
runtime.registerEditorProvider("MOBTEXT", () => textBoxEditorProvider);
|