@onereach/ui-components 4.15.3-beta.3059.0 → 4.15.3
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/OrCodeV3/OrCode.js +3 -3
- package/dist/bundled/v2/components/OrCodeV3/OrCode.vue.d.ts +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-2d6ed70f.js → OrCode.vue_vue_type_script_lang-487cc740.js} +3 -3
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrCode-3469d6ef.js → OrCode-2d609b0d.js} +3 -3
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-code-v3/OrCode.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrCode-5657a63b.js → OrCode-21892a94.js} +3 -3
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-code-v3/OrCode.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +3 -2
- package/src/components/or-code-v3/OrCode.vue +5 -4
|
@@ -76,7 +76,7 @@ var script = defineComponent({
|
|
|
76
76
|
},
|
|
77
77
|
extensions: {
|
|
78
78
|
type: Array,
|
|
79
|
-
default: () => [
|
|
79
|
+
default: () => []
|
|
80
80
|
},
|
|
81
81
|
label: {
|
|
82
82
|
type: String,
|
|
@@ -156,7 +156,7 @@ var script = defineComponent({
|
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
const theme = useTheme();
|
|
159
|
-
const extensions = computed(() => [
|
|
159
|
+
const extensions = computed(() => [basicSetup, keymap.of([indentWithTab]), EditorState.readOnly.of(props.readonly), EditorView.editable.of(!props.disabled), EditorView.domEventHandlers({
|
|
160
160
|
keydown: event => {
|
|
161
161
|
context.emit('keydown', event);
|
|
162
162
|
},
|
|
@@ -191,7 +191,7 @@ var script = defineComponent({
|
|
|
191
191
|
'.cm-activeLineGutter, .cm-activeLine': {
|
|
192
192
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08']
|
|
193
193
|
}
|
|
194
|
-
})]);
|
|
194
|
+
}), proxyLanguage.value, ...props.extensions]);
|
|
195
195
|
watch([proxyModelValue, extensions], _ref => {
|
|
196
196
|
let [modelValue = '', extensions] = _ref;
|
|
197
197
|
const {
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
40
40
|
};
|
|
41
41
|
extensions: {
|
|
42
42
|
type: PropType<Extension[]>;
|
|
43
|
-
default: () =>
|
|
43
|
+
default: () => never[];
|
|
44
44
|
};
|
|
45
45
|
label: {
|
|
46
46
|
type: StringConstructor;
|
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
77
77
|
};
|
|
78
78
|
extensions: {
|
|
79
79
|
type: PropType<Extension[]>;
|
|
80
|
-
default: () =>
|
|
80
|
+
default: () => never[];
|
|
81
81
|
};
|
|
82
82
|
label: {
|
|
83
83
|
type: StringConstructor;
|
|
@@ -46,7 +46,7 @@ var script = defineComponent({
|
|
|
46
46
|
},
|
|
47
47
|
extensions: {
|
|
48
48
|
type: Array,
|
|
49
|
-
default: () => [
|
|
49
|
+
default: () => []
|
|
50
50
|
},
|
|
51
51
|
label: {
|
|
52
52
|
type: String,
|
|
@@ -126,7 +126,7 @@ var script = defineComponent({
|
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
const theme = useTheme();
|
|
129
|
-
const extensions = computed(() => [
|
|
129
|
+
const extensions = computed(() => [basicSetup, keymap.of([indentWithTab]), EditorState.readOnly.of(props.readonly), EditorView.editable.of(!props.disabled), EditorView.domEventHandlers({
|
|
130
130
|
keydown: event => {
|
|
131
131
|
context.emit('keydown', event);
|
|
132
132
|
},
|
|
@@ -161,7 +161,7 @@ var script = defineComponent({
|
|
|
161
161
|
'.cm-activeLineGutter, .cm-activeLine': {
|
|
162
162
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08']
|
|
163
163
|
}
|
|
164
|
-
})]);
|
|
164
|
+
}), proxyLanguage.value, ...props.extensions]);
|
|
165
165
|
watch([proxyModelValue, extensions], _ref => {
|
|
166
166
|
let [modelValue = '', extensions] = _ref;
|
|
167
167
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrCode.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrCode.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrCode.vue_vue_type_script_lang-487cc740.js';
|
|
2
|
+
export { s as default } from '../../OrCode.vue_vue_type_script_lang-487cc740.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, renderSlot, createVNode, withModifiers, createTextVNode, toDisplayString, createCommentVNode, withDirectives, vShow } from 'vue';
|
|
4
4
|
import '../../index-00991c6e.js';
|
|
5
5
|
import '../../index-51f352b6.js';
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
extensions: {
|
|
14
14
|
type: PropType<Extension[]>;
|
|
15
|
-
default: () =>
|
|
15
|
+
default: () => never[];
|
|
16
16
|
};
|
|
17
17
|
label: {
|
|
18
18
|
type: StringConstructor;
|
|
@@ -73,7 +73,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
73
73
|
};
|
|
74
74
|
extensions: {
|
|
75
75
|
type: PropType<Extension[]>;
|
|
76
|
-
default: () =>
|
|
76
|
+
default: () => never[];
|
|
77
77
|
};
|
|
78
78
|
label: {
|
|
79
79
|
type: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { CodeLanguage } from './props.js';
|
|
2
|
-
export { s as OrCodeV3 } from '../../OrCode.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrCodeV3 } from '../../OrCode.vue_vue_type_script_lang-487cc740.js';
|
|
3
3
|
import '../../index-00991c6e.js';
|
|
4
4
|
import '../../index-51f352b6.js';
|
|
5
5
|
import '../../index-40a6d6e0.js';
|
|
@@ -25,7 +25,7 @@ export { s as OrChip } from '../OrChip.vue_vue_type_script_lang-d0c62419.js';
|
|
|
25
25
|
export { s as OrChips } from '../OrChips.vue_vue_type_script_lang-d7a38038.js';
|
|
26
26
|
export { s as OrCode } from '../OrCode.vue_vue_type_script_lang-f3f122bf.js';
|
|
27
27
|
export { OrCodeLanguages } from './OrCode/constants.js';
|
|
28
|
-
export { s as OrCodeV3 } from '../OrCode.vue_vue_type_script_lang-
|
|
28
|
+
export { s as OrCodeV3 } from '../OrCode.vue_vue_type_script_lang-487cc740.js';
|
|
29
29
|
export { CodeLanguage } from './OrCodeV3/props.js';
|
|
30
30
|
export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-e2dcce92.js';
|
|
31
31
|
export { s as OrColorPicker } from '../OrColorPicker.vue_vue_type_script_lang-7c9b353d.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -20,7 +20,7 @@ export { s as OrChips } from './OrChips.vue_vue_type_script_lang-d7a38038.js';
|
|
|
20
20
|
import './components/OrCode/OrCode.js';
|
|
21
21
|
export { s as OrCode } from './OrCode.vue_vue_type_script_lang-f3f122bf.js';
|
|
22
22
|
import './components/OrCodeV3/OrCode.js';
|
|
23
|
-
export { s as OrCodeV3 } from './OrCode.vue_vue_type_script_lang-
|
|
23
|
+
export { s as OrCodeV3 } from './OrCode.vue_vue_type_script_lang-487cc740.js';
|
|
24
24
|
import './components/OrColorPicker/OrColorPicker.js';
|
|
25
25
|
export { s as OrColorPicker } from './OrColorPicker.vue_vue_type_script_lang-7c9b353d.js';
|
|
26
26
|
import './components/OrCombinedInputV3/OrCombinedInput.js';
|
|
@@ -71,7 +71,7 @@ var script = defineComponent({
|
|
|
71
71
|
},
|
|
72
72
|
extensions: {
|
|
73
73
|
type: Array,
|
|
74
|
-
default: () => [
|
|
74
|
+
default: () => []
|
|
75
75
|
},
|
|
76
76
|
label: {
|
|
77
77
|
type: String,
|
|
@@ -151,7 +151,7 @@ var script = defineComponent({
|
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
const theme = useTheme();
|
|
154
|
-
const extensions = computed(() => [
|
|
154
|
+
const extensions = computed(() => [basicSetup, keymap.of([indentWithTab]), EditorState.readOnly.of(props.readonly), EditorView.editable.of(!props.disabled), EditorView.domEventHandlers({
|
|
155
155
|
keydown: event => {
|
|
156
156
|
context.emit('keydown', event);
|
|
157
157
|
},
|
|
@@ -186,7 +186,7 @@ var script = defineComponent({
|
|
|
186
186
|
'.cm-activeLineGutter, .cm-activeLine': {
|
|
187
187
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08']
|
|
188
188
|
}
|
|
189
|
-
})]);
|
|
189
|
+
}), proxyLanguage.value, ...props.extensions]);
|
|
190
190
|
watch([proxyModelValue, extensions], _ref => {
|
|
191
191
|
let [modelValue = '', extensions] = _ref;
|
|
192
192
|
const {
|
|
@@ -17,7 +17,7 @@ export { _ as OrCheckboxV3 } from '../OrCheckbox-9e76cdaf.js';
|
|
|
17
17
|
export { _ as OrChip } from '../OrChip-a614bbb9.js';
|
|
18
18
|
export { _ as OrChips } from '../OrChips-bdf51639.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-cbd05828.js';
|
|
20
|
-
export { C as CodeLanguage, _ as OrCodeV3 } from '../OrCode-
|
|
20
|
+
export { C as CodeLanguage, _ as OrCodeV3 } from '../OrCode-2d609b0d.js';
|
|
21
21
|
export { _ as OrCollapse } from '../OrCollapse-9b5d590f.js';
|
|
22
22
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-5370585d.js';
|
|
23
23
|
export { _ as OrCombinedInputV3 } from '../OrCombinedInput-ed20e33b.js';
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
40
40
|
};
|
|
41
41
|
extensions: {
|
|
42
42
|
type: PropType<Extension[]>;
|
|
43
|
-
default: () =>
|
|
43
|
+
default: () => never[];
|
|
44
44
|
};
|
|
45
45
|
label: {
|
|
46
46
|
type: StringConstructor;
|
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
77
77
|
};
|
|
78
78
|
extensions: {
|
|
79
79
|
type: PropType<Extension[]>;
|
|
80
|
-
default: () =>
|
|
80
|
+
default: () => never[];
|
|
81
81
|
};
|
|
82
82
|
label: {
|
|
83
83
|
type: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
declare const _default: import("
|
|
2
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
3
3
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
4
4
|
container: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
overflowButton: 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, {
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
41
41
|
} | {}> & Omit<{} & {}, never>>>;
|
|
42
42
|
default: undefined;
|
|
43
43
|
};
|
|
44
|
-
}>> & Omit<import("
|
|
44
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
45
45
|
items: string[];
|
|
46
46
|
tagProps: Readonly<Partial<{
|
|
47
47
|
[x: number]: string;
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { _ as OrCheckboxV3 } from './OrCheckbox-9e76cdaf.js';
|
|
|
17
17
|
export { _ as OrChip } from './OrChip-a614bbb9.js';
|
|
18
18
|
export { _ as OrChips } from './OrChips-bdf51639.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-cbd05828.js';
|
|
20
|
-
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-
|
|
20
|
+
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-2d609b0d.js';
|
|
21
21
|
export { _ as OrCollapse } from './OrCollapse-9b5d590f.js';
|
|
22
22
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-5370585d.js';
|
|
23
23
|
export { _ as OrCombinedInputV3 } from './OrCombinedInput-ed20e33b.js';
|
|
@@ -70,7 +70,7 @@ var script = defineComponent({
|
|
|
70
70
|
},
|
|
71
71
|
extensions: {
|
|
72
72
|
type: Array,
|
|
73
|
-
default: () => [
|
|
73
|
+
default: () => []
|
|
74
74
|
},
|
|
75
75
|
label: {
|
|
76
76
|
type: String,
|
|
@@ -150,7 +150,7 @@ var script = defineComponent({
|
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
const theme = useTheme();
|
|
153
|
-
const extensions = computed(() => [
|
|
153
|
+
const extensions = computed(() => [basicSetup, keymap.of([indentWithTab]), EditorState.readOnly.of(props.readonly), EditorView.editable.of(!props.disabled), EditorView.domEventHandlers({
|
|
154
154
|
keydown: event => {
|
|
155
155
|
context.emit('keydown', event);
|
|
156
156
|
},
|
|
@@ -185,7 +185,7 @@ var script = defineComponent({
|
|
|
185
185
|
'.cm-activeLineGutter, .cm-activeLine': {
|
|
186
186
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08']
|
|
187
187
|
}
|
|
188
|
-
})]);
|
|
188
|
+
}), proxyLanguage.value, ...props.extensions]);
|
|
189
189
|
watch([proxyModelValue, extensions], _ref => {
|
|
190
190
|
let [modelValue = '', extensions] = _ref;
|
|
191
191
|
const {
|
|
@@ -16,7 +16,7 @@ export { s as OrCheckboxV3 } from '../OrCheckbox-494a8d9e.js';
|
|
|
16
16
|
export { s as OrChip } from '../OrChip-857982e0.js';
|
|
17
17
|
export { s as OrChips } from '../OrChips-053f3a92.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-2f8cdf96.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from '../OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from '../OrCode-21892a94.js';
|
|
20
20
|
export { s as OrCollapse } from '../OrCollapse-a06f22aa.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-475c0be4.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from '../OrCombinedInput-e3891038.js';
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
extensions: {
|
|
14
14
|
type: PropType<Extension[]>;
|
|
15
|
-
default: () =>
|
|
15
|
+
default: () => never[];
|
|
16
16
|
};
|
|
17
17
|
label: {
|
|
18
18
|
type: StringConstructor;
|
|
@@ -73,7 +73,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
73
73
|
};
|
|
74
74
|
extensions: {
|
|
75
75
|
type: PropType<Extension[]>;
|
|
76
|
-
default: () =>
|
|
76
|
+
default: () => never[];
|
|
77
77
|
};
|
|
78
78
|
label: {
|
|
79
79
|
type: StringConstructor;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export { s as OrCheckboxV3 } from './OrCheckbox-494a8d9e.js';
|
|
|
16
16
|
export { s as OrChip } from './OrChip-857982e0.js';
|
|
17
17
|
export { s as OrChips } from './OrChips-053f3a92.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-2f8cdf96.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-21892a94.js';
|
|
20
20
|
export { s as OrCollapse } from './OrCollapse-a06f22aa.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-475c0be4.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-e3891038.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.15.3
|
|
3
|
+
"version": "4.15.3",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -153,5 +153,6 @@
|
|
|
153
153
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
154
154
|
},
|
|
155
155
|
"./package.json": "./package.json"
|
|
156
|
-
}
|
|
156
|
+
},
|
|
157
|
+
"gitHead": "5c160754a900509d7422261998d7fd94530dba38"
|
|
157
158
|
}
|
|
@@ -122,7 +122,7 @@ export default defineComponent({
|
|
|
122
122
|
|
|
123
123
|
extensions: {
|
|
124
124
|
type: Array as PropType<Extension[]>,
|
|
125
|
-
default: () => [
|
|
125
|
+
default: () => [],
|
|
126
126
|
},
|
|
127
127
|
|
|
128
128
|
label: {
|
|
@@ -244,14 +244,12 @@ export default defineComponent({
|
|
|
244
244
|
const theme = useTheme();
|
|
245
245
|
|
|
246
246
|
const extensions = computed<Extension[]>(() => [
|
|
247
|
-
|
|
248
|
-
proxyLanguage.value,
|
|
247
|
+
basicSetup,
|
|
249
248
|
|
|
250
249
|
keymap.of([
|
|
251
250
|
indentWithTab,
|
|
252
251
|
]),
|
|
253
252
|
|
|
254
|
-
EditorView.lineWrapping,
|
|
255
253
|
EditorState.readOnly.of(props.readonly),
|
|
256
254
|
EditorView.editable.of(!props.disabled),
|
|
257
255
|
|
|
@@ -300,6 +298,9 @@ export default defineComponent({
|
|
|
300
298
|
backgroundColor: theme.backgroundColor['primary-opacity-0-08'],
|
|
301
299
|
},
|
|
302
300
|
}),
|
|
301
|
+
|
|
302
|
+
proxyLanguage.value,
|
|
303
|
+
...props.extensions,
|
|
303
304
|
]);
|
|
304
305
|
|
|
305
306
|
watch([
|