@onereach/ui-components 4.7.1 → 4.7.2-beta.2847.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.
@@ -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 [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? _vm._l(_vm.selection, function (option) {
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
- }) : [_c('span', {
383
- class: _vm.placeholderStyles
384
- }, [_vm._v(_vm._s(_vm.placeholder))])]];
382
+ });
385
383
  }, {
386
384
  "model": _vm.proxyModelValue
387
- })] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
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 ? renderSlot(_ctx.$slots, "valueTemplate", {
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
- }, () => [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? (openBlock(true), createElementBlock(Fragment, {
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 [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? _vm._l(_vm.selection, function (option) {
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
- }) : [_c('span', {
390
- class: _vm.placeholderStyles
391
- }, [_vm._v(_vm._s(_vm.placeholder))])]];
389
+ });
392
390
  }, {
393
391
  "model": _vm.proxyModelValue
394
- })] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
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-9027a8e2.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-b7e9eaa7.js';
81
+ export { _ as OrSelectV3 } from '../OrSelect-dd780415.js';
82
82
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-c56a9221.js';
83
83
  export { _ as OrSidebarV3 } from '../OrSidebar-466d8244.js';
84
84
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-3009ed8e.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-b7e9eaa7.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-dd780415.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';
@@ -78,7 +78,7 @@ export { _ as OrSearch } from './OrSearch-e2941d35.js';
78
78
  export { _ as OrSearchV3 } from './OrSearch-9027a8e2.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-b7e9eaa7.js';
81
+ export { _ as OrSelectV3 } from './OrSelect-dd780415.js';
82
82
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
83
83
  export { _ as OrSidebarV3 } from './OrSidebar-466d8244.js';
84
84
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-3009ed8e.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 ? renderSlot(_ctx.$slots, "valueTemplate", {
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
- }, () => [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? (openBlock(true), createElementBlock(Fragment, {
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-7bf5009e.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-b7d87ded.js';
79
+ export { s as OrSelectV3 } from '../OrSelect-744b6494.js';
80
80
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-aaf73310.js';
81
81
  export { s as OrSidebarV3 } from '../OrSidebar-84533704.js';
82
82
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-88a165e8.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-b7d87ded.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-744b6494.js';
2
2
  export { I as SelectSize } from '../../OrInputBox-32814878.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -76,7 +76,7 @@ export { s as OrSearch } from './OrSearch-d0c8aca7.js';
76
76
  export { s as OrSearchV3 } from './OrSearch-7bf5009e.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-b7d87ded.js';
79
+ export { s as OrSelectV3 } from './OrSelect-744b6494.js';
80
80
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
81
81
  export { s as OrSidebarV3 } from './OrSidebar-84533704.js';
82
82
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-88a165e8.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "4.7.1",
3
+ "version": "4.7.2-beta.2847.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -154,6 +154,5 @@
154
154
  "default": "./dist/bundled/v3/components/*/index.js"
155
155
  },
156
156
  "./package.json": "./package.json"
157
- },
158
- "gitHead": "8c5cd52ba3687a790ed33406d3b97a108fdb9f8a"
157
+ }
159
158
  }
@@ -39,11 +39,11 @@
39
39
  @blur="$emit('blur', $event)"
40
40
  >
41
41
  <template v-if="multiple">
42
- <slot
43
- name="valueTemplate"
44
- :model="proxyModelValue"
45
- >
46
- <template v-if="proxyModelValue && proxyModelValue.length > 0">
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
- </template>
56
+ </slot>
57
+ </template>
57
58
 
58
- <template v-else>
59
- <span :class="placeholderStyles">{{ placeholder }}</span>
60
- </template>
61
- </slot>
59
+ <template v-else>
60
+ <span :class="placeholderStyles">{{ placeholder }}</span>
61
+ </template>
62
62
  </template>
63
63
 
64
64
  <template v-else>