@onereach/ui-components 8.23.2-beta.4140.0 → 8.23.2-beta.4142.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/components/OrSelectV3/OrSelect.js +5 -5
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/utils/castToMultipleValue.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-e8c265f8.js → OrSelectV3-e705e2cc.js} +8 -8
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrSelect-f42a1db6.js → OrSelect-79bb96e9.js} +1 -1
- package/dist/esm/v2/{OrSelectSingleControl-91746d8b.js → OrSelectSingleControl-1d337ddd.js} +5 -5
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/partials/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/index.js +1 -1
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrSelect-1b906ffc.js → OrSelect-9bd373a6.js} +1 -1
- package/dist/esm/v3/{OrSelectSingleControl-eeca515f.js → OrSelectSingleControl-a0f2bedb.js} +9 -9
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/partials/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/index.js +1 -1
- package/dist/esm/v3/index.js +2 -2
- package/package.json +1 -1
- package/src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue +14 -14
|
@@ -536,9 +536,7 @@ var __vue_render__$1 = function () {
|
|
|
536
536
|
return _c('div', {
|
|
537
537
|
ref: "root",
|
|
538
538
|
class: _vm.rootStyles
|
|
539
|
-
}, [
|
|
540
|
-
staticClass: "truncate"
|
|
541
|
-
}, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])] : [_vm.enableSearch ? _c('OrSelectControlInput', {
|
|
539
|
+
}, [_vm.isOpen && _vm.enableSearch ? [_c('OrSelectControlInput', {
|
|
542
540
|
ref: "searchControl",
|
|
543
541
|
attrs: {
|
|
544
542
|
"placeholder": _vm.isEmpty ? _vm.placeholder : _vm.selectionLabel
|
|
@@ -550,11 +548,13 @@ var __vue_render__$1 = function () {
|
|
|
550
548
|
},
|
|
551
549
|
expression: "searchModelValue"
|
|
552
550
|
}
|
|
553
|
-
}) : _c('OrSelectPlaceholder', {
|
|
551
|
+
})] : [_vm.isEmpty ? [_c('OrSelectPlaceholder', {
|
|
554
552
|
attrs: {
|
|
555
553
|
"disabled": _vm.disabled
|
|
556
554
|
}
|
|
557
|
-
}, [_vm._v("\n
|
|
555
|
+
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])] : [_c('span', {
|
|
556
|
+
staticClass: "truncate"
|
|
557
|
+
}, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])]]], 2);
|
|
558
558
|
};
|
|
559
559
|
var __vue_staticRenderFns__$1 = [];
|
|
560
560
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrSelectV3-
|
|
1
|
+
export { s as default } from '../OrSelectV3-e705e2cc.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../OrSelectV3-
|
|
1
|
+
export { s as OrSelectV3 } from '../OrSelectV3-e705e2cc.js';
|
|
2
2
|
export { I as SelectSize } from '../OrInputBoxV3-90e51950.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { S as Select, a as SelectControl, d as SelectDropdown, e as SelectDropdownDefault, f as SelectDropdownFlipped, g as SelectDropdownItem, h as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-
|
|
1
|
+
export { S as Select, a as SelectControl, d as SelectDropdown, e as SelectDropdownDefault, f as SelectDropdownFlipped, g as SelectDropdownItem, h as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-e705e2cc.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '../../../utils/isEmptyValue.js';
|
|
2
|
-
export { c as castToMultipleValue } from '../../OrSelectV3-
|
|
2
|
+
export { c as castToMultipleValue } from '../../OrSelectV3-e705e2cc.js';
|
|
@@ -422,7 +422,7 @@ var script$1 = defineComponent({
|
|
|
422
422
|
});
|
|
423
423
|
|
|
424
424
|
const _hoisted_1$1 = {
|
|
425
|
-
key:
|
|
425
|
+
key: 1,
|
|
426
426
|
class: "truncate"
|
|
427
427
|
};
|
|
428
428
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -431,22 +431,22 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
431
431
|
return openBlock(), createElementBlock("div", {
|
|
432
432
|
ref: "root",
|
|
433
433
|
class: normalizeClass(_ctx.rootStyles)
|
|
434
|
-
}, [
|
|
435
|
-
key: 1
|
|
436
|
-
}, [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
434
|
+
}, [_ctx.isOpen && _ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
437
435
|
key: 0,
|
|
438
436
|
ref: "searchControl",
|
|
439
437
|
modelValue: _ctx.searchModelValue,
|
|
440
438
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
441
439
|
placeholder: _ctx.isEmpty ? _ctx.placeholder : _ctx.selectionLabel
|
|
442
|
-
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(),
|
|
443
|
-
key: 1
|
|
440
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(), createElementBlock(Fragment, {
|
|
441
|
+
key: 1
|
|
442
|
+
}, [_ctx.isEmpty ? (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
443
|
+
key: 0,
|
|
444
444
|
disabled: _ctx.disabled
|
|
445
445
|
}, {
|
|
446
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.
|
|
446
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
447
447
|
|
|
448
448
|
_: 1 /* STABLE */
|
|
449
|
-
}, 8 /* PROPS */, ["disabled"]))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
449
|
+
}, 8 /* PROPS */, ["disabled"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
script$1.render = render$1;
|
|
@@ -86,7 +86,7 @@ export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
|
86
86
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
87
87
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-d7578374.js';
|
|
88
88
|
export { s as OrSelect } from './OrSelect-c0c14dd8.js';
|
|
89
|
-
export { s as OrSelectV3 } from './OrSelectV3-
|
|
89
|
+
export { s as OrSelectV3 } from './OrSelectV3-e705e2cc.js';
|
|
90
90
|
export { OrSidebar, OrSidebarSide } from './OrSidebar/index.js';
|
|
91
91
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './OrSidebarV3-13a7de2b.js';
|
|
92
92
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeleton-b3691eeb.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -46,7 +46,7 @@ export { s as OrRatingV3 } from './components/OrRatingV3-b6b47938.js';
|
|
|
46
46
|
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-a23ed54e.js';
|
|
47
47
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './components/OrSegmentedControlV3-d7578374.js';
|
|
48
48
|
export { s as OrSelect } from './components/OrSelect-c0c14dd8.js';
|
|
49
|
-
export { s as OrSelectV3 } from './components/OrSelectV3-
|
|
49
|
+
export { s as OrSelectV3 } from './components/OrSelectV3-e705e2cc.js';
|
|
50
50
|
export { OrSidebar, OrSidebarSide } from './components/OrSidebar/index.js';
|
|
51
51
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './components/OrSidebarV3-13a7de2b.js';
|
|
52
52
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './components/OrSkeleton-b3691eeb.js';
|
|
@@ -20,7 +20,7 @@ import { _ as __vue_component__$c } from './OrMenuItem-fbe3e8e4.js';
|
|
|
20
20
|
import { _ as __vue_component__$d } from './OrPopover-98ace710.js';
|
|
21
21
|
import { T as TagsOverflow } from './OrTags-8f2af1d7.js';
|
|
22
22
|
import { _ as __vue_component__$1, c as castToMultipleValue } from './OrSelectMultipleControl-b62645f3.js';
|
|
23
|
-
import { _ as __vue_component__$2 } from './OrSelectSingleControl-
|
|
23
|
+
import { _ as __vue_component__$2 } from './OrSelectSingleControl-1d337ddd.js';
|
|
24
24
|
import './OrSelectPlaceholder-d03c1076.js';
|
|
25
25
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
26
26
|
|
|
@@ -114,9 +114,7 @@ var __vue_render__ = function () {
|
|
|
114
114
|
return _c('div', {
|
|
115
115
|
ref: "root",
|
|
116
116
|
class: _vm.rootStyles
|
|
117
|
-
}, [
|
|
118
|
-
staticClass: "truncate"
|
|
119
|
-
}, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])] : [_vm.enableSearch ? _c('OrSelectControlInput', {
|
|
117
|
+
}, [_vm.isOpen && _vm.enableSearch ? [_c('OrSelectControlInput', {
|
|
120
118
|
ref: "searchControl",
|
|
121
119
|
attrs: {
|
|
122
120
|
"placeholder": _vm.isEmpty ? _vm.placeholder : _vm.selectionLabel
|
|
@@ -128,11 +126,13 @@ var __vue_render__ = function () {
|
|
|
128
126
|
},
|
|
129
127
|
expression: "searchModelValue"
|
|
130
128
|
}
|
|
131
|
-
}) : _c('OrSelectPlaceholder', {
|
|
129
|
+
})] : [_vm.isEmpty ? [_c('OrSelectPlaceholder', {
|
|
132
130
|
attrs: {
|
|
133
131
|
"disabled": _vm.disabled
|
|
134
132
|
}
|
|
135
|
-
}, [_vm._v("\n
|
|
133
|
+
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])] : [_c('span', {
|
|
134
|
+
staticClass: "truncate"
|
|
135
|
+
}, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])]]], 2);
|
|
136
136
|
};
|
|
137
137
|
var __vue_staticRenderFns__ = [];
|
|
138
138
|
|
|
@@ -105,7 +105,7 @@ export { _ as OrSearch } from '../OrSearch-525e988d.js';
|
|
|
105
105
|
export { _ as OrSearchV3 } from '../OrSearch-177677ab.js';
|
|
106
106
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-ef70b1d7.js';
|
|
107
107
|
export { _ as OrSelect } from '../OrSelect-2808e01d.js';
|
|
108
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
108
|
+
export { _ as OrSelectV3 } from '../OrSelect-79bb96e9.js';
|
|
109
109
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-054b26c6.js';
|
|
110
110
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-6fedb0a6.js';
|
|
111
111
|
export { _ as OrSkeletonCircle } from '../OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -216,7 +216,7 @@ import '../OrSelectMultipleControl-b62645f3.js';
|
|
|
216
216
|
import '../isEqualValue-f8bf73d9.js';
|
|
217
217
|
import '../OrSelectControlInput-d968f1b8.js';
|
|
218
218
|
import '../OrSelectPlaceholder-d03c1076.js';
|
|
219
|
-
import '../OrSelectSingleControl-
|
|
219
|
+
import '../OrSelectSingleControl-1d337ddd.js';
|
|
220
220
|
import 'lodash/range';
|
|
221
221
|
import '../styles-ed564e39.js';
|
|
222
222
|
import '../useOverflow-e91d2314.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-79bb96e9.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-e9b6fa51.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -47,4 +47,4 @@ import '../../OrSelectMultipleControl-b62645f3.js';
|
|
|
47
47
|
import '../../isEqualValue-f8bf73d9.js';
|
|
48
48
|
import '../../OrSelectControlInput-d968f1b8.js';
|
|
49
49
|
import '../../OrSelectPlaceholder-d03c1076.js';
|
|
50
|
-
import '../../OrSelectSingleControl-
|
|
50
|
+
import '../../OrSelectSingleControl-1d337ddd.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { _ as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-b62645f3.js';
|
|
2
|
-
export { _ as OrSelectSingleControl } from '../../../OrSelectSingleControl-
|
|
2
|
+
export { _ as OrSelectSingleControl } from '../../../OrSelectSingleControl-1d337ddd.js';
|
|
3
3
|
export { _ as OrSelectPlaceholder } from '../../../OrSelectPlaceholder-d03c1076.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '@vueuse/core';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -105,7 +105,7 @@ export { _ as OrSearch } from './OrSearch-525e988d.js';
|
|
|
105
105
|
export { _ as OrSearchV3 } from './OrSearch-177677ab.js';
|
|
106
106
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-ef70b1d7.js';
|
|
107
107
|
export { _ as OrSelect } from './OrSelect-2808e01d.js';
|
|
108
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
108
|
+
export { _ as OrSelectV3 } from './OrSelect-79bb96e9.js';
|
|
109
109
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-054b26c6.js';
|
|
110
110
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-6fedb0a6.js';
|
|
111
111
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -217,7 +217,7 @@ import 'lodash/keyBy';
|
|
|
217
217
|
import './OrSelectMultipleControl-b62645f3.js';
|
|
218
218
|
import './OrSelectControlInput-d968f1b8.js';
|
|
219
219
|
import './OrSelectPlaceholder-d03c1076.js';
|
|
220
|
-
import './OrSelectSingleControl-
|
|
220
|
+
import './OrSelectSingleControl-1d337ddd.js';
|
|
221
221
|
import 'lodash/range';
|
|
222
222
|
import './styles-ed564e39.js';
|
|
223
223
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
@@ -19,7 +19,7 @@ import { s as script$c } from './OrMenuItem-2928ba60.js';
|
|
|
19
19
|
import { s as script$d } from './OrPopover-d8067ed8.js';
|
|
20
20
|
import { T as TagsOverflow } from './OrTags-278c3292.js';
|
|
21
21
|
import { s as script$1, c as castToMultipleValue } from './OrSelectMultipleControl-5cc62b9b.js';
|
|
22
|
-
import { s as script$2 } from './OrSelectSingleControl-
|
|
22
|
+
import { s as script$2 } from './OrSelectSingleControl-a0f2bedb.js';
|
|
23
23
|
import './OrSelectPlaceholder-fc5a2dbf.js';
|
|
24
24
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, withModifiers, createVNode, Fragment, renderList, vShow } from 'vue';
|
|
25
25
|
|
|
@@ -8,7 +8,7 @@ import '@onereach/styles/tailwind/plugins/core';
|
|
|
8
8
|
import '@onereach/styles/tailwind.config.json';
|
|
9
9
|
import { s as script$2 } from './OrSelectControlInput-266e9375.js';
|
|
10
10
|
import { s as script$1 } from './OrSelectPlaceholder-fc5a2dbf.js';
|
|
11
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass,
|
|
11
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, Fragment, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
12
12
|
|
|
13
13
|
const SelectSingleControlInput = [
|
|
14
14
|
// Layout
|
|
@@ -104,7 +104,7 @@ var script = defineComponent({
|
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
const _hoisted_1 = {
|
|
107
|
-
key:
|
|
107
|
+
key: 1,
|
|
108
108
|
class: "truncate"
|
|
109
109
|
};
|
|
110
110
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -113,22 +113,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
113
|
return openBlock(), createElementBlock("div", {
|
|
114
114
|
ref: "root",
|
|
115
115
|
class: normalizeClass(_ctx.rootStyles)
|
|
116
|
-
}, [
|
|
117
|
-
key: 1
|
|
118
|
-
}, [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
116
|
+
}, [_ctx.isOpen && _ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
119
117
|
key: 0,
|
|
120
118
|
ref: "searchControl",
|
|
121
119
|
modelValue: _ctx.searchModelValue,
|
|
122
120
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
123
121
|
placeholder: _ctx.isEmpty ? _ctx.placeholder : _ctx.selectionLabel
|
|
124
|
-
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(),
|
|
125
|
-
key: 1
|
|
122
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(), createElementBlock(Fragment, {
|
|
123
|
+
key: 1
|
|
124
|
+
}, [_ctx.isEmpty ? (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
125
|
+
key: 0,
|
|
126
126
|
disabled: _ctx.disabled
|
|
127
127
|
}, {
|
|
128
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.
|
|
128
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
129
129
|
|
|
130
130
|
_: 1 /* STABLE */
|
|
131
|
-
}, 8 /* PROPS */, ["disabled"]))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
131
|
+
}, 8 /* PROPS */, ["disabled"])) : (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
script.render = render;
|
|
@@ -101,7 +101,7 @@ export { s as OrSearch } from '../OrSearch-54a642d3.js';
|
|
|
101
101
|
export { s as OrSearchV3 } from '../OrSearch-c2ab03b7.js';
|
|
102
102
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-08992fc7.js';
|
|
103
103
|
export { s as OrSelect } from '../OrSelect-c87b9c23.js';
|
|
104
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
104
|
+
export { s as OrSelectV3 } from '../OrSelect-9bd373a6.js';
|
|
105
105
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-4ab42b93.js';
|
|
106
106
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-f765a54f.js';
|
|
107
107
|
export { s as OrSkeletonCircle } from '../OrSkeletonCircle-66e175a0.js';
|
|
@@ -207,7 +207,7 @@ import '../OrSelectMultipleControl-5cc62b9b.js';
|
|
|
207
207
|
import '../isEqualValue-f8bf73d9.js';
|
|
208
208
|
import '../OrSelectControlInput-266e9375.js';
|
|
209
209
|
import '../OrSelectPlaceholder-fc5a2dbf.js';
|
|
210
|
-
import '../OrSelectSingleControl-
|
|
210
|
+
import '../OrSelectSingleControl-a0f2bedb.js';
|
|
211
211
|
import 'lodash/range';
|
|
212
212
|
import '../styles-ed564e39.js';
|
|
213
213
|
import '../useOverflow-e91d2314.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-9bd373a6.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox-be83fe16.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -44,4 +44,4 @@ import '../../OrSelectMultipleControl-5cc62b9b.js';
|
|
|
44
44
|
import '../../isEqualValue-f8bf73d9.js';
|
|
45
45
|
import '../../OrSelectControlInput-266e9375.js';
|
|
46
46
|
import '../../OrSelectPlaceholder-fc5a2dbf.js';
|
|
47
|
-
import '../../OrSelectSingleControl-
|
|
47
|
+
import '../../OrSelectSingleControl-a0f2bedb.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { s as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-5cc62b9b.js';
|
|
2
|
-
export { s as OrSelectSingleControl } from '../../../OrSelectSingleControl-
|
|
2
|
+
export { s as OrSelectSingleControl } from '../../../OrSelectSingleControl-a0f2bedb.js';
|
|
3
3
|
export { s as OrSelectPlaceholder } from '../../../OrSelectPlaceholder-fc5a2dbf.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '@vueuse/core';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -101,7 +101,7 @@ export { s as OrSearch } from './OrSearch-54a642d3.js';
|
|
|
101
101
|
export { s as OrSearchV3 } from './OrSearch-c2ab03b7.js';
|
|
102
102
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-08992fc7.js';
|
|
103
103
|
export { s as OrSelect } from './OrSelect-c87b9c23.js';
|
|
104
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
104
|
+
export { s as OrSelectV3 } from './OrSelect-9bd373a6.js';
|
|
105
105
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-4ab42b93.js';
|
|
106
106
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-f765a54f.js';
|
|
107
107
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
@@ -208,7 +208,7 @@ import 'lodash/keyBy';
|
|
|
208
208
|
import './OrSelectMultipleControl-5cc62b9b.js';
|
|
209
209
|
import './OrSelectControlInput-266e9375.js';
|
|
210
210
|
import './OrSelectPlaceholder-fc5a2dbf.js';
|
|
211
|
-
import './OrSelectSingleControl-
|
|
211
|
+
import './OrSelectSingleControl-a0f2bedb.js';
|
|
212
212
|
import 'lodash/range';
|
|
213
213
|
import './styles-ed564e39.js';
|
|
214
214
|
import 'lodash/isNil';
|
package/package.json
CHANGED
package/src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
ref="root"
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
|
-
<template v-if="
|
|
7
|
-
<span class="truncate">
|
|
8
|
-
{{ selectionLabel }}
|
|
9
|
-
</span>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<template v-else>
|
|
6
|
+
<template v-if="isOpen && enableSearch">
|
|
13
7
|
<OrSelectControlInput
|
|
14
|
-
v-if="enableSearch"
|
|
15
8
|
ref="searchControl"
|
|
16
9
|
v-model="searchModelValue"
|
|
17
10
|
:placeholder="isEmpty ? placeholder : selectionLabel"
|
|
18
11
|
/>
|
|
12
|
+
</template>
|
|
19
13
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
:disabled="disabled"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</
|
|
14
|
+
<template v-else>
|
|
15
|
+
<template v-if="isEmpty">
|
|
16
|
+
<OrSelectPlaceholder :disabled="disabled">
|
|
17
|
+
{{ placeholder }}
|
|
18
|
+
</OrSelectPlaceholder>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<template v-else>
|
|
22
|
+
<span class="truncate">
|
|
23
|
+
{{ selectionLabel }}
|
|
24
|
+
</span>
|
|
25
|
+
</template>
|
|
26
26
|
</template>
|
|
27
27
|
</div>
|
|
28
28
|
</template>
|