@onereach/ui-components 4.7.2 → 4.7.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/OrSelectV3/OrSelect.js +6 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +6 -6
- package/dist/esm/v2/{OrSelect-05dbead3.js → OrSelect-1132c7dc.js} +6 -6
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrSelect-f330ade9.js → OrSelect-9432ac4d.js} +6 -6
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +2 -2
- package/src/components/or-select-v3/OrSelect.vue +10 -10
|
@@ -365,8 +365,8 @@ var __vue_render__ = function () {
|
|
|
365
365
|
return _vm.$emit('blur', $event);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
}, [_vm.multiple ? [_vm._t("valueTemplate", function () {
|
|
369
|
-
return
|
|
368
|
+
}, [_vm.multiple ? [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? [_vm._t("valueTemplate", function () {
|
|
369
|
+
return _vm._l(_vm.selection, function (option) {
|
|
370
370
|
return _c('OrTag', {
|
|
371
371
|
key: option.value,
|
|
372
372
|
attrs: {
|
|
@@ -379,12 +379,12 @@ var __vue_render__ = function () {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}, [_vm._v("\n " + _vm._s(option.label) + "\n ")]);
|
|
382
|
-
})
|
|
383
|
-
class: _vm.placeholderStyles
|
|
384
|
-
}, [_vm._v(_vm._s(_vm.placeholder))])]];
|
|
382
|
+
});
|
|
385
383
|
}, {
|
|
386
384
|
"model": _vm.proxyModelValue
|
|
387
|
-
})] : [
|
|
385
|
+
})] : [_c('span', {
|
|
386
|
+
class: _vm.placeholderStyles
|
|
387
|
+
}, [_vm._v(_vm._s(_vm.placeholder))])]] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
388
388
|
return [_c('span', {
|
|
389
389
|
staticClass: "truncate"
|
|
390
390
|
}, [_vm._v("\n " + _vm._s(_vm.selection.label) + "\n ")])];
|
|
@@ -137,12 +137,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
137
137
|
disabled: _ctx.disabled,
|
|
138
138
|
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
139
139
|
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
140
|
-
}, [_ctx.multiple ?
|
|
140
|
+
}, [_ctx.multiple ? (openBlock(), createElementBlock(Fragment, {
|
|
141
|
+
key: 0
|
|
142
|
+
}, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
141
143
|
key: 0,
|
|
142
144
|
model: _ctx.proxyModelValue
|
|
143
|
-
}, () => [
|
|
144
|
-
key: 0
|
|
145
|
-
}, renderList(_ctx.selection, option => {
|
|
145
|
+
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
|
|
146
146
|
return openBlock(), createBlock(_component_OrTag, {
|
|
147
147
|
key: option.value,
|
|
148
148
|
variant: 'reset',
|
|
@@ -153,10 +153,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
153
|
|
|
154
154
|
_: 2 /* DYNAMIC */
|
|
155
155
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
156
|
-
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
|
|
156
|
+
}), 128 /* KEYED_FRAGMENT */))]) : (openBlock(), createElementBlock("span", {
|
|
157
157
|
key: 1,
|
|
158
158
|
class: normalizeClass(_ctx.placeholderStyles)
|
|
159
|
-
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))]) : (openBlock(), createElementBlock(Fragment, {
|
|
159
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
160
160
|
key: 1
|
|
161
161
|
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
162
162
|
key: 0,
|
|
@@ -372,8 +372,8 @@ var __vue_render__ = function () {
|
|
|
372
372
|
return _vm.$emit('blur', $event);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
}, [_vm.multiple ? [_vm._t("valueTemplate", function () {
|
|
376
|
-
return
|
|
375
|
+
}, [_vm.multiple ? [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? [_vm._t("valueTemplate", function () {
|
|
376
|
+
return _vm._l(_vm.selection, function (option) {
|
|
377
377
|
return _c('OrTag', {
|
|
378
378
|
key: option.value,
|
|
379
379
|
attrs: {
|
|
@@ -386,12 +386,12 @@ var __vue_render__ = function () {
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
}, [_vm._v("\n " + _vm._s(option.label) + "\n ")]);
|
|
389
|
-
})
|
|
390
|
-
class: _vm.placeholderStyles
|
|
391
|
-
}, [_vm._v(_vm._s(_vm.placeholder))])]];
|
|
389
|
+
});
|
|
392
390
|
}, {
|
|
393
391
|
"model": _vm.proxyModelValue
|
|
394
|
-
})] : [
|
|
392
|
+
})] : [_c('span', {
|
|
393
|
+
class: _vm.placeholderStyles
|
|
394
|
+
}, [_vm._v(_vm._s(_vm.placeholder))])]] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
395
395
|
return [_c('span', {
|
|
396
396
|
staticClass: "truncate"
|
|
397
397
|
}, [_vm._v("\n " + _vm._s(_vm.selection.label) + "\n ")])];
|
|
@@ -78,7 +78,7 @@ export { _ as OrSearch } from '../OrSearch-e2941d35.js';
|
|
|
78
78
|
export { _ as OrSearchV3 } from '../OrSearch-cbd7fd0b.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-a1ea5b72.js';
|
|
80
80
|
export { _ as OrSelect } from '../OrSelect-49239b74.js';
|
|
81
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from '../OrSelect-1132c7dc.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-c56a9221.js';
|
|
83
83
|
export { _ as OrSidebarV3 } from '../OrSidebar-865f307e.js';
|
|
84
84
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-b3a41f02.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-1132c7dc.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-906b3ef8.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TextareaSize } from './props';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
6
6
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
97
97
|
type: BooleanConstructor;
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
|
-
}>> & Omit<import("
|
|
100
|
+
}>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
101
101
|
modelValue: string;
|
|
102
102
|
size: TextareaSize;
|
|
103
103
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TextboxTypes } from './constants';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
inputRef: import("@vue/composition-api").Ref<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
5
5
|
reqAF: import("@vue/composition-api").Ref<null>;
|
|
6
6
|
rootClasses: import("@vue/composition-api").ComputedRef<(string | {
|
|
@@ -228,7 +228,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
228
228
|
default: boolean;
|
|
229
229
|
required: false;
|
|
230
230
|
};
|
|
231
|
-
}>> & Omit<import("
|
|
231
|
+
}>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
232
232
|
modelValue: string;
|
|
233
233
|
id: string;
|
|
234
234
|
placeholder: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TooltipPlacement } from './props';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
6
|
bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
34
34
|
type: PropType<TooltipPlacement>;
|
|
35
35
|
default: TooltipPlacement;
|
|
36
36
|
};
|
|
37
|
-
}>> & Omit<import("
|
|
37
|
+
}>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
38
38
|
isOpen: boolean;
|
|
39
39
|
text: string;
|
|
40
40
|
placement: TooltipPlacement;
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -78,7 +78,7 @@ export { _ as OrSearch } from './OrSearch-e2941d35.js';
|
|
|
78
78
|
export { _ as OrSearchV3 } from './OrSearch-cbd7fd0b.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-a1ea5b72.js';
|
|
80
80
|
export { _ as OrSelect } from './OrSelect-49239b74.js';
|
|
81
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from './OrSelect-1132c7dc.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
|
|
83
83
|
export { _ as OrSidebarV3 } from './OrSidebar-865f307e.js';
|
|
84
84
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-b3a41f02.js';
|
|
@@ -367,12 +367,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
367
367
|
disabled: _ctx.disabled,
|
|
368
368
|
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
369
369
|
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
370
|
-
}, [_ctx.multiple ?
|
|
370
|
+
}, [_ctx.multiple ? (openBlock(), createElementBlock(Fragment, {
|
|
371
|
+
key: 0
|
|
372
|
+
}, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
371
373
|
key: 0,
|
|
372
374
|
model: _ctx.proxyModelValue
|
|
373
|
-
}, () => [
|
|
374
|
-
key: 0
|
|
375
|
-
}, renderList(_ctx.selection, option => {
|
|
375
|
+
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
|
|
376
376
|
return openBlock(), createBlock(_component_OrTag, {
|
|
377
377
|
key: option.value,
|
|
378
378
|
variant: 'reset',
|
|
@@ -383,10 +383,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
383
383
|
|
|
384
384
|
_: 2 /* DYNAMIC */
|
|
385
385
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
386
|
-
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
|
|
386
|
+
}), 128 /* KEYED_FRAGMENT */))]) : (openBlock(), createElementBlock("span", {
|
|
387
387
|
key: 1,
|
|
388
388
|
class: normalizeClass(_ctx.placeholderStyles)
|
|
389
|
-
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))]) : (openBlock(), createElementBlock(Fragment, {
|
|
389
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
390
390
|
key: 1
|
|
391
391
|
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
392
392
|
key: 0,
|
|
@@ -76,7 +76,7 @@ export { s as OrSearch } from '../OrSearch-d0c8aca7.js';
|
|
|
76
76
|
export { s as OrSearchV3 } from '../OrSearch-c5ecb005.js';
|
|
77
77
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-359fbf3a.js';
|
|
78
78
|
export { s as OrSelect } from '../OrSelect-60205145.js';
|
|
79
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
79
|
+
export { s as OrSelectV3 } from '../OrSelect-9432ac4d.js';
|
|
80
80
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-aaf73310.js';
|
|
81
81
|
export { s as OrSidebarV3 } from '../OrSidebar-7f5795da.js';
|
|
82
82
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-5fb7a6a1.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -76,7 +76,7 @@ export { s as OrSearch } from './OrSearch-d0c8aca7.js';
|
|
|
76
76
|
export { s as OrSearchV3 } from './OrSearch-c5ecb005.js';
|
|
77
77
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-359fbf3a.js';
|
|
78
78
|
export { s as OrSelect } from './OrSelect-60205145.js';
|
|
79
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
79
|
+
export { s as OrSelectV3 } from './OrSelect-9432ac4d.js';
|
|
80
80
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
81
81
|
export { s as OrSidebarV3 } from './OrSidebar-7f5795da.js';
|
|
82
82
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-5fb7a6a1.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
},
|
|
156
156
|
"./package.json": "./package.json"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "394e520a80b6414d39b42004d998e3165ab70f0f"
|
|
159
159
|
}
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
@blur="$emit('blur', $event)"
|
|
40
40
|
>
|
|
41
41
|
<template v-if="multiple">
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
<template v-if="proxyModelValue && proxyModelValue.length > 0">
|
|
43
|
+
<slot
|
|
44
|
+
name="valueTemplate"
|
|
45
|
+
:model="proxyModelValue"
|
|
46
|
+
>
|
|
47
47
|
<OrTag
|
|
48
48
|
v-for="option in selection"
|
|
49
49
|
:key="option.value"
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
>
|
|
54
54
|
{{ option.label }}
|
|
55
55
|
</OrTag>
|
|
56
|
-
</
|
|
56
|
+
</slot>
|
|
57
|
+
</template>
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</slot>
|
|
59
|
+
<template v-else>
|
|
60
|
+
<span :class="placeholderStyles">{{ placeholder }}</span>
|
|
61
|
+
</template>
|
|
62
62
|
</template>
|
|
63
63
|
|
|
64
64
|
<template v-else>
|