@onereach/ui-components 2.69.5-beta.2145.0 → 2.69.5-beta.2146.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/{OrCardCollection-c4209a92.js → OrCardCollection-f622df47.js} +9 -13
- package/dist/bundled/v2/{OrCode-edc7a1f5.js → OrCode-fc6876ec.js} +56 -17
- package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-a11b3621.js} +1 -1
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js → OrCardCollection.vue_vue_type_script_lang-15645a65.js} +2 -10
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ef5e7f04.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +53 -14
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-0ae8a6dd.js} +1 -1
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +9 -10
- package/dist/esm/v2/{OrCardCollection-57d11adf.js → OrCardCollection-43aa4a3c.js} +9 -13
- package/dist/esm/v2/{OrCode-41dd5f9b.js → OrCode-d4400b42.js} +6 -4
- package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-62d91301.js} +1 -1
- package/dist/esm/v2/components/index.js +5 -3
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code/index.js +3 -1
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +1 -1
- package/dist/esm/v2/index.js +5 -3
- package/dist/esm/v3/{OrCardCollection-2a6514f3.js → OrCardCollection-6b5e6b76.js} +5 -14
- package/dist/esm/v3/{OrCode-ee19a5e6.js → OrCode-5ed69c23.js} +3 -1
- package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-aafb93b4.js} +1 -1
- package/dist/esm/v3/components/index.js +5 -3
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code/index.js +3 -1
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +1 -1
- package/dist/esm/v3/index.js +5 -3
- package/package.json +2 -1
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +0 -16
- package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -13
- package/src/components/or-card-collection-v3/styles.ts +1 -3
- package/src/components/or-code/OrCode.vue +3 -1
- package/src/components/or-search-v3/OrSearch.stories3.ts +1 -1
- package/src/components/or-search-v3/OrSearch.vue +1 -1
|
@@ -8,7 +8,7 @@ import { _ as __vue_component__$5 } from './OrMenuItem-c7f28480.js';
|
|
|
8
8
|
import { _ as __vue_component__$6 } from './OrIcon-5e394c62.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrButton-357e1e2c.js';
|
|
11
|
-
import { _ as __vue_component__$7 } from './OrSearch-
|
|
11
|
+
import { _ as __vue_component__$7 } from './OrSearch-62d91301.js';
|
|
12
12
|
import './OrInputBox-4d5a318d.js';
|
|
13
13
|
|
|
14
14
|
const CardCollectionRoot = [
|
|
@@ -37,7 +37,7 @@ const CardCollectionContentViews = {
|
|
|
37
37
|
'grid': [
|
|
38
38
|
// Layout
|
|
39
39
|
'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
|
|
40
|
-
'list': [
|
|
40
|
+
'list': []
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
var script$1 = defineComponent({
|
|
@@ -151,14 +151,6 @@ var script = defineComponent({
|
|
|
151
151
|
search: {
|
|
152
152
|
type: String,
|
|
153
153
|
default: ''
|
|
154
|
-
},
|
|
155
|
-
searchPlaceholder: {
|
|
156
|
-
type: String,
|
|
157
|
-
default: undefined
|
|
158
|
-
},
|
|
159
|
-
searchDebounce: {
|
|
160
|
-
type: Number,
|
|
161
|
-
default: undefined
|
|
162
154
|
}
|
|
163
155
|
},
|
|
164
156
|
emits: ['viewChange', 'sortChange', 'searchChange'],
|
|
@@ -277,13 +269,17 @@ var __vue_render__ = function () {
|
|
|
277
269
|
}, [_c('OrSearch', {
|
|
278
270
|
staticClass: "md:w-[350px]",
|
|
279
271
|
attrs: {
|
|
280
|
-
"model-value": _vm.proxySearch,
|
|
281
|
-
"placeholder": _vm.searchPlaceholder,
|
|
282
|
-
"debounce": _vm.searchDebounce,
|
|
283
272
|
"size": "s"
|
|
284
273
|
},
|
|
285
274
|
on: {
|
|
286
275
|
"search": _vm.handleSearch
|
|
276
|
+
},
|
|
277
|
+
model: {
|
|
278
|
+
value: _vm.proxySearch,
|
|
279
|
+
callback: function ($$v) {
|
|
280
|
+
_vm.proxySearch = $$v;
|
|
281
|
+
},
|
|
282
|
+
expression: "proxySearch"
|
|
287
283
|
}
|
|
288
284
|
}), _vm._v(" "), _c('div', {
|
|
289
285
|
staticClass: "layout-row gap-sm"
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { EditorState } from '@codemirror/state';
|
|
2
|
+
import { keymap } from '@codemirror/view';
|
|
3
|
+
import { indentWithTab } from '@codemirror/commands';
|
|
2
4
|
import { useElementHover } from '@vueuse/core';
|
|
3
5
|
import { basicSetup, EditorView } from 'codemirror';
|
|
4
6
|
import _ from 'lodash';
|
|
@@ -200,7 +202,7 @@ var script = defineComponent({
|
|
|
200
202
|
}
|
|
201
203
|
}),
|
|
202
204
|
// line wrapping
|
|
203
|
-
lineWrapping ? EditorView.lineWrapping : undefined]);
|
|
205
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
204
206
|
// Append Extensions (such as basic-setup)
|
|
205
207
|
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
206
208
|
return ext;
|
|
@@ -363,14 +365,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
365
|
/* style */
|
|
364
366
|
const __vue_inject_styles__ = function (inject) {
|
|
365
367
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "@keyframes spinAround-data-v-
|
|
368
|
+
inject("data-v-2056db5f_0", {
|
|
369
|
+
source: "@keyframes spinAround-data-v-2056db5f{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2056db5f{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-2056db5f]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-2056db5f]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-2056db5f],.or-code .footer .or-code-hint[data-v-2056db5f]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-2056db5f]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-2056db5f]{margin-left:auto}.header .actions[data-v-2056db5f]:not(.is-visible){display:none}.or-code-editor[data-v-2056db5f]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-2056db5f]{border-color:var(--c-error)}.or-code-editor[data-v-2056db5f]> *{width:100%;height:100%}.or-code[data-v-2056db5f],.or-modal[data-v-2056db5f] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-2056db5f],.or-modal[data-v-2056db5f] .content .or-code-editor{flex-grow:1;text-align:left!important}",
|
|
368
370
|
map: undefined,
|
|
369
371
|
media: undefined
|
|
370
372
|
});
|
|
371
373
|
};
|
|
372
374
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
375
|
+
const __vue_scope_id__ = "data-v-2056db5f";
|
|
374
376
|
/* module identifier */
|
|
375
377
|
const __vue_module_identifier__ = undefined;
|
|
376
378
|
/* functional template */
|
|
@@ -8,14 +8,14 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-357e1e2c.js';
|
|
9
9
|
export { _ as OrCard } from '../OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-f6b07557.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-43aa4a3c.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
|
|
15
15
|
export { _ as OrCheckboxV3 } from '../OrCheckbox-567e387c.js';
|
|
16
16
|
export { _ as OrChip } from '../OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-5e0063be.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-d4400b42.js';
|
|
19
19
|
export { _ as OrCollapse } from '../OrCollapse-4d892ca3.js';
|
|
20
20
|
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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
63
63
|
export { _ as OrRadio } from '../OrRadio-e4198532.js';
|
|
64
64
|
export { _ as OrRadioGroup } from '../OrRadioGroup-d9d32cba.js';
|
|
65
65
|
export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from '../OrSearch-62d91301.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from '../OrSelect-dae2b069.js';
|
|
69
69
|
export { _ as OrSelectV3 } from '../OrSelect-f0ff5a85.js';
|
|
@@ -104,6 +104,8 @@ import '@vueuse/core';
|
|
|
104
104
|
import '../color-1f348774.js';
|
|
105
105
|
import '@splidejs/splide';
|
|
106
106
|
import '@codemirror/state';
|
|
107
|
+
import '@codemirror/view';
|
|
108
|
+
import '@codemirror/commands';
|
|
107
109
|
import 'codemirror';
|
|
108
110
|
import '@codemirror/lang-html';
|
|
109
111
|
import '@codemirror/lang-css';
|
|
@@ -20,8 +20,3 @@ export declare const OverrideViewContainer: StoryFn<typeof OrCardCollection>;
|
|
|
20
20
|
export declare const ExtraViewMode: StoryFn<typeof OrCardCollection>;
|
|
21
21
|
export declare const WithLink: StoryFn<typeof OrCardCollection>;
|
|
22
22
|
export declare const EmptySearchResults: StoryFn<typeof OrCardCollection>;
|
|
23
|
-
export declare const CustomizeSearch: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
25
|
-
} | string[], {} & {}, {
|
|
26
|
-
[x: number]: string;
|
|
27
|
-
} | {}, true>)>;
|
|
@@ -47,14 +47,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
47
47
|
type: StringConstructor;
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
|
-
searchPlaceholder: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
searchDebounce: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
50
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
59
51
|
items: {
|
|
60
52
|
type: PropType<CardCollectionItem[]>;
|
|
@@ -80,14 +72,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
80
72
|
type: StringConstructor;
|
|
81
73
|
default: string;
|
|
82
74
|
};
|
|
83
|
-
searchPlaceholder: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: undefined;
|
|
86
|
-
};
|
|
87
|
-
searchDebounce: {
|
|
88
|
-
type: NumberConstructor;
|
|
89
|
-
default: undefined;
|
|
90
|
-
};
|
|
91
75
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
92
76
|
search: string;
|
|
93
77
|
sort: string;
|
|
@@ -95,8 +79,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
95
79
|
view: string;
|
|
96
80
|
viewModes: ViewMode[];
|
|
97
81
|
sortOptions: SortOption[];
|
|
98
|
-
searchPlaceholder: string;
|
|
99
|
-
searchDebounce: number;
|
|
100
82
|
} & {} & {
|
|
101
83
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
102
84
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -128,8 +110,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
128
110
|
view: string;
|
|
129
111
|
viewModes: ViewMode[];
|
|
130
112
|
sortOptions: SortOption[];
|
|
131
|
-
searchPlaceholder: string;
|
|
132
|
-
searchDebounce: number;
|
|
133
113
|
} & {} & {
|
|
134
114
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
135
115
|
}, {
|
|
@@ -139,7 +119,5 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
139
119
|
view: string;
|
|
140
120
|
viewModes: ViewMode[];
|
|
141
121
|
sortOptions: SortOption[];
|
|
142
|
-
searchPlaceholder: string;
|
|
143
|
-
searchDebounce: number;
|
|
144
122
|
}, true>);
|
|
145
123
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-43aa4a3c.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -18,7 +18,7 @@ import '../../OrMenu-df27d0ef.js';
|
|
|
18
18
|
import '../../OrMenuItem-c7f28480.js';
|
|
19
19
|
import '../../OrButton-357e1e2c.js';
|
|
20
20
|
import '../../OrLoader-f857d55b.js';
|
|
21
|
-
import '../../OrSearch-
|
|
21
|
+
import '../../OrSearch-62d91301.js';
|
|
22
22
|
import '../../OrInput-2f16a7ac.js';
|
|
23
23
|
import '../../OrError-d267ee9a.js';
|
|
24
24
|
import '../../OrHint-42dc9ebb.js';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-
|
|
1
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-d4400b42.js';
|
|
2
2
|
import '@codemirror/state';
|
|
3
|
+
import '@codemirror/view';
|
|
4
|
+
import '@codemirror/commands';
|
|
3
5
|
import '@vueuse/core';
|
|
4
6
|
import 'codemirror';
|
|
5
7
|
import 'lodash';
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
22
22
|
};
|
|
23
23
|
placeholder: {
|
|
24
24
|
type: StringConstructor;
|
|
25
|
-
default:
|
|
25
|
+
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
debounce: {
|
|
28
28
|
type: NumberConstructor;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
48
|
};
|
|
49
49
|
placeholder: {
|
|
50
50
|
type: StringConstructor;
|
|
51
|
-
default:
|
|
51
|
+
default: undefined;
|
|
52
52
|
};
|
|
53
53
|
debounce: {
|
|
54
54
|
type: NumberConstructor;
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -8,14 +8,14 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-357e1e2c.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-43aa4a3c.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
15
15
|
export { _ as OrCheckboxV3 } from './OrCheckbox-567e387c.js';
|
|
16
16
|
export { _ as OrChip } from './OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js';
|
|
17
17
|
export { _ as OrChips } from './OrChips-5e0063be.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-d4400b42.js';
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
63
63
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
64
64
|
export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
|
|
65
65
|
export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from './OrSearch-62d91301.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
69
|
export { _ as OrSelectV3 } from './OrSelect-f0ff5a85.js';
|
|
@@ -109,6 +109,8 @@ import './browser-82dea9ed.js';
|
|
|
109
109
|
import '@vueuse/core';
|
|
110
110
|
import '@splidejs/splide';
|
|
111
111
|
import '@codemirror/state';
|
|
112
|
+
import '@codemirror/view';
|
|
113
|
+
import '@codemirror/commands';
|
|
112
114
|
import 'codemirror';
|
|
113
115
|
import '@codemirror/lang-html';
|
|
114
116
|
import '@codemirror/lang-css';
|
|
@@ -8,7 +8,7 @@ import { s as script$5 } from './OrMenuItem-9da279f6.js';
|
|
|
8
8
|
import { s as script$6 } from './OrIcon-b195169c.js';
|
|
9
9
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
10
10
|
import { s as script$3 } from './OrButton-bb6bf8a9.js';
|
|
11
|
-
import { s as script$7 } from './OrSearch-
|
|
11
|
+
import { s as script$7 } from './OrSearch-aafb93b4.js';
|
|
12
12
|
import './OrInputBox-5247ab25.js';
|
|
13
13
|
|
|
14
14
|
const CardCollectionRoot = [
|
|
@@ -37,7 +37,7 @@ const CardCollectionContentViews = {
|
|
|
37
37
|
'grid': [
|
|
38
38
|
// Layout
|
|
39
39
|
'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
|
|
40
|
-
'list': [
|
|
40
|
+
'list': []
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
var script$1 = defineComponent({
|
|
@@ -127,14 +127,6 @@ var script = defineComponent({
|
|
|
127
127
|
search: {
|
|
128
128
|
type: String,
|
|
129
129
|
default: ''
|
|
130
|
-
},
|
|
131
|
-
searchPlaceholder: {
|
|
132
|
-
type: String,
|
|
133
|
-
default: undefined
|
|
134
|
-
},
|
|
135
|
-
searchDebounce: {
|
|
136
|
-
type: Number,
|
|
137
|
-
default: undefined
|
|
138
130
|
}
|
|
139
131
|
},
|
|
140
132
|
emits: ['viewChange', 'sortChange', 'searchChange'],
|
|
@@ -255,13 +247,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
247
|
}, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
256
248
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
257
249
|
}, [createVNode(_component_OrSearch, {
|
|
258
|
-
|
|
250
|
+
modelValue: _ctx.proxySearch,
|
|
251
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxySearch = $event),
|
|
259
252
|
class: "md:w-[350px]",
|
|
260
|
-
placeholder: _ctx.searchPlaceholder,
|
|
261
|
-
debounce: _ctx.searchDebounce,
|
|
262
253
|
size: "s",
|
|
263
254
|
onSearch: _ctx.handleSearch
|
|
264
|
-
}, null, 8 /* PROPS */, ["
|
|
255
|
+
}, null, 8 /* PROPS */, ["modelValue", "onSearch"]), createElementVNode("div", _hoisted_1, [_ctx.viewModes.length > 1 ? (openBlock(true), createElementBlock(Fragment, {
|
|
265
256
|
key: 0
|
|
266
257
|
}, renderList(_ctx.viewModes, viewOption => {
|
|
267
258
|
return openBlock(), createBlock(_component_OrIconButton, {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { EditorState } from '@codemirror/state';
|
|
2
|
+
import { keymap } from '@codemirror/view';
|
|
3
|
+
import { indentWithTab } from '@codemirror/commands';
|
|
2
4
|
import { useElementHover } from '@vueuse/core';
|
|
3
5
|
import { basicSetup, EditorView } from 'codemirror';
|
|
4
6
|
import _ from 'lodash';
|
|
@@ -199,7 +201,7 @@ var script = defineComponent({
|
|
|
199
201
|
}
|
|
200
202
|
}),
|
|
201
203
|
// line wrapping
|
|
202
|
-
lineWrapping ? EditorView.lineWrapping : undefined]);
|
|
204
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
203
205
|
// Append Extensions (such as basic-setup)
|
|
204
206
|
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
205
207
|
return ext;
|
|
@@ -6,13 +6,13 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-bb6bf8a9.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-6b5e6b76.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
13
13
|
export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
|
|
15
|
-
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
15
|
+
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
@@ -58,7 +58,7 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
58
58
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
61
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from '../OrSearch-aafb93b4.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
63
63
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
64
64
|
export { s as OrSelectV3 } from '../OrSelect-7e813982.js';
|
|
@@ -98,6 +98,8 @@ import '@vueuse/core';
|
|
|
98
98
|
import '../color-1f348774.js';
|
|
99
99
|
import '@splidejs/splide';
|
|
100
100
|
import '@codemirror/state';
|
|
101
|
+
import '@codemirror/view';
|
|
102
|
+
import '@codemirror/commands';
|
|
101
103
|
import 'codemirror';
|
|
102
104
|
import '@codemirror/lang-html';
|
|
103
105
|
import '@codemirror/lang-css';
|
|
@@ -20,8 +20,3 @@ export declare const OverrideViewContainer: StoryFn<typeof OrCardCollection>;
|
|
|
20
20
|
export declare const ExtraViewMode: StoryFn<typeof OrCardCollection>;
|
|
21
21
|
export declare const WithLink: StoryFn<typeof OrCardCollection>;
|
|
22
22
|
export declare const EmptySearchResults: StoryFn<typeof OrCardCollection>;
|
|
23
|
-
export declare const CustomizeSearch: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
25
|
-
} | string[], {} & {}, {
|
|
26
|
-
[x: number]: string;
|
|
27
|
-
} | {}, true>)>;
|
|
@@ -47,14 +47,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
47
47
|
type: StringConstructor;
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
|
-
searchPlaceholder: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
searchDebounce: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
50
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
59
51
|
items: {
|
|
60
52
|
type: PropType<CardCollectionItem[]>;
|
|
@@ -80,14 +72,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
80
72
|
type: StringConstructor;
|
|
81
73
|
default: string;
|
|
82
74
|
};
|
|
83
|
-
searchPlaceholder: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
default: undefined;
|
|
86
|
-
};
|
|
87
|
-
searchDebounce: {
|
|
88
|
-
type: NumberConstructor;
|
|
89
|
-
default: undefined;
|
|
90
|
-
};
|
|
91
75
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
92
76
|
search: string;
|
|
93
77
|
sort: string;
|
|
@@ -95,8 +79,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
95
79
|
view: string;
|
|
96
80
|
viewModes: ViewMode[];
|
|
97
81
|
sortOptions: SortOption[];
|
|
98
|
-
searchPlaceholder: string;
|
|
99
|
-
searchDebounce: number;
|
|
100
82
|
} & {} & {
|
|
101
83
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
102
84
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -128,8 +110,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
128
110
|
view: string;
|
|
129
111
|
viewModes: ViewMode[];
|
|
130
112
|
sortOptions: SortOption[];
|
|
131
|
-
searchPlaceholder: string;
|
|
132
|
-
searchDebounce: number;
|
|
133
113
|
} & {} & {
|
|
134
114
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
135
115
|
}, {
|
|
@@ -139,7 +119,5 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
139
119
|
view: string;
|
|
140
120
|
viewModes: ViewMode[];
|
|
141
121
|
sortOptions: SortOption[];
|
|
142
|
-
searchPlaceholder: string;
|
|
143
|
-
searchDebounce: number;
|
|
144
122
|
}, true>);
|
|
145
123
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-6b5e6b76.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -17,7 +17,7 @@ import '../../OrMenu-840038cd.js';
|
|
|
17
17
|
import '../../OrMenuItem-9da279f6.js';
|
|
18
18
|
import '../../OrButton-bb6bf8a9.js';
|
|
19
19
|
import '../../OrLoader-b3cf4231.js';
|
|
20
|
-
import '../../OrSearch-
|
|
20
|
+
import '../../OrSearch-aafb93b4.js';
|
|
21
21
|
import '../../OrInput-41691fb3.js';
|
|
22
22
|
import '../../OrError-ec8c709d.js';
|
|
23
23
|
import '../../OrHint-74bb732d.js';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { s as OrCode, O as OrCodeLanguages } from '../../OrCode-
|
|
1
|
+
export { s as OrCode, O as OrCodeLanguages } from '../../OrCode-5ed69c23.js';
|
|
2
2
|
import '@codemirror/state';
|
|
3
|
+
import '@codemirror/view';
|
|
4
|
+
import '@codemirror/commands';
|
|
3
5
|
import '@vueuse/core';
|
|
4
6
|
import 'codemirror';
|
|
5
7
|
import 'lodash';
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
22
22
|
};
|
|
23
23
|
placeholder: {
|
|
24
24
|
type: StringConstructor;
|
|
25
|
-
default:
|
|
25
|
+
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
debounce: {
|
|
28
28
|
type: NumberConstructor;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
48
|
};
|
|
49
49
|
placeholder: {
|
|
50
50
|
type: StringConstructor;
|
|
51
|
-
default:
|
|
51
|
+
default: undefined;
|
|
52
52
|
};
|
|
53
53
|
debounce: {
|
|
54
54
|
type: NumberConstructor;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,13 +6,13 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-bb6bf8a9.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-6b5e6b76.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
13
13
|
export { s as OrCheckboxV3 } from './OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from './OrChips-9afba42f.js';
|
|
15
|
-
export { s as OrCode, O as OrCodeLanguages } from './OrCode-
|
|
15
|
+
export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
@@ -58,7 +58,7 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
58
58
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
61
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from './OrSearch-aafb93b4.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
63
63
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
64
64
|
export { s as OrSelectV3 } from './OrSelect-7e813982.js';
|
|
@@ -103,6 +103,8 @@ import './style-inject.es-4c6f2515.js';
|
|
|
103
103
|
import '@vueuse/core';
|
|
104
104
|
import '@splidejs/splide';
|
|
105
105
|
import '@codemirror/state';
|
|
106
|
+
import '@codemirror/view';
|
|
107
|
+
import '@codemirror/commands';
|
|
106
108
|
import 'codemirror';
|
|
107
109
|
import '@codemirror/lang-html';
|
|
108
110
|
import '@codemirror/lang-css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.69.5-beta.
|
|
3
|
+
"version": "2.69.5-beta.2146.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"switch:vue3": "node scripts/swap-vue.js 3 && vue-demi-switch 3"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@codemirror/commands": "^6.2.1",
|
|
34
35
|
"@codemirror/lang-css": "6.0.0",
|
|
35
36
|
"@codemirror/lang-html": "6.1.0",
|
|
36
37
|
"@codemirror/lang-javascript": "6.0.2",
|
|
@@ -53,14 +53,6 @@ export default {
|
|
|
53
53
|
control: { type: 'text' },
|
|
54
54
|
},
|
|
55
55
|
|
|
56
|
-
searchPlaceholder: {
|
|
57
|
-
control: { type: 'text' },
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
searchDebounce: {
|
|
61
|
-
control: { type: 'number' },
|
|
62
|
-
},
|
|
63
|
-
|
|
64
56
|
// Events
|
|
65
57
|
viewChange: {
|
|
66
58
|
table: { disable: true },
|
|
@@ -368,11 +360,3 @@ EmptySearchResults.args = {
|
|
|
368
360
|
search: 'My favorite ..',
|
|
369
361
|
items: [],
|
|
370
362
|
};
|
|
371
|
-
|
|
372
|
-
export const CustomizeSearch = Template.bind({});
|
|
373
|
-
|
|
374
|
-
CustomizeSearch.args = {
|
|
375
|
-
...Default.args,
|
|
376
|
-
searchPlaceholder: 'What you want to find today?',
|
|
377
|
-
searchDebounce: 0,
|
|
378
|
-
};
|
|
@@ -37,10 +37,8 @@
|
|
|
37
37
|
:class="toolbarPanelStyles"
|
|
38
38
|
>
|
|
39
39
|
<OrSearch
|
|
40
|
-
|
|
40
|
+
v-model="proxySearch"
|
|
41
41
|
class="md:w-[350px]"
|
|
42
|
-
:placeholder="searchPlaceholder"
|
|
43
|
-
:debounce="searchDebounce"
|
|
44
42
|
size="s"
|
|
45
43
|
@search="handleSearch"
|
|
46
44
|
/>
|
|
@@ -154,16 +152,6 @@ export default defineComponent({
|
|
|
154
152
|
type: String,
|
|
155
153
|
default: '',
|
|
156
154
|
},
|
|
157
|
-
|
|
158
|
-
searchPlaceholder: {
|
|
159
|
-
type: String,
|
|
160
|
-
default: undefined,
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
searchDebounce: {
|
|
164
|
-
type: Number,
|
|
165
|
-
default: undefined,
|
|
166
|
-
},
|
|
167
155
|
},
|
|
168
156
|
|
|
169
157
|
emits: [
|