@onereach/ui-components 4.14.0 → 4.14.1-beta.2997.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.
@@ -480,25 +480,23 @@ var __vue_render__ = function () {
480
480
  }) : [_vm.multiple ? _vm._l(_vm.resolvedSearchOptions, function (option) {
481
481
  return _c('OrMenuItem', {
482
482
  key: option.value
483
- }, [_vm._t("optionTemplate", function () {
484
- return [_c('OrCheckbox', {
485
- attrs: {
486
- "value": option.value,
487
- "label": option.label,
488
- "label-variant": 'input'
483
+ }, [_c('OrCheckbox', {
484
+ attrs: {
485
+ "value": option.value,
486
+ "label": option.label,
487
+ "label-variant": 'input'
488
+ },
489
+ model: {
490
+ value: _vm.proxyModelValue,
491
+ callback: function ($$v) {
492
+ _vm.proxyModelValue = $$v;
489
493
  },
490
- model: {
491
- value: _vm.proxyModelValue,
492
- callback: function ($$v) {
493
- _vm.proxyModelValue = $$v;
494
- },
495
- expression: "proxyModelValue"
496
- }
497
- })];
498
- }, {
494
+ expression: "proxyModelValue"
495
+ }
496
+ }, [_vm._t("optionTemplate", null, {
499
497
  "model": _vm.proxyModelValue,
500
498
  "option": option
501
- })], 2);
499
+ })], 2)], 1);
502
500
  }) : _vm._l(_vm.resolvedSearchOptions, function (option) {
503
501
  return _c('OrMenuItem', {
504
502
  key: option.value,
@@ -250,16 +250,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
250
250
  return openBlock(), createBlock(_component_OrMenuItem, {
251
251
  key: option.value
252
252
  }, {
253
- default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
254
- model: _ctx.proxyModelValue,
255
- option: option
256
- }, () => [createVNode(_component_OrCheckbox, {
253
+ default: withCtx(() => [createVNode(_component_OrCheckbox, {
257
254
  modelValue: _ctx.proxyModelValue,
258
255
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.proxyModelValue = $event),
259
256
  value: option.value,
260
257
  label: option.label,
261
258
  "label-variant": 'input'
262
- }, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
259
+ }, {
260
+ default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
261
+ model: _ctx.proxyModelValue,
262
+ option: option
263
+ })]),
264
+ _: 2 /* DYNAMIC */
265
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "value", "label"])]),
263
266
  _: 2 /* DYNAMIC */
264
267
  }, 1024 /* DYNAMIC_SLOTS */);
265
268
  }), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
@@ -488,25 +488,23 @@ var __vue_render__ = function () {
488
488
  }) : [_vm.multiple ? _vm._l(_vm.resolvedSearchOptions, function (option) {
489
489
  return _c('OrMenuItem', {
490
490
  key: option.value
491
- }, [_vm._t("optionTemplate", function () {
492
- return [_c('OrCheckbox', {
493
- attrs: {
494
- "value": option.value,
495
- "label": option.label,
496
- "label-variant": 'input'
491
+ }, [_c('OrCheckbox', {
492
+ attrs: {
493
+ "value": option.value,
494
+ "label": option.label,
495
+ "label-variant": 'input'
496
+ },
497
+ model: {
498
+ value: _vm.proxyModelValue,
499
+ callback: function ($$v) {
500
+ _vm.proxyModelValue = $$v;
497
501
  },
498
- model: {
499
- value: _vm.proxyModelValue,
500
- callback: function ($$v) {
501
- _vm.proxyModelValue = $$v;
502
- },
503
- expression: "proxyModelValue"
504
- }
505
- })];
506
- }, {
502
+ expression: "proxyModelValue"
503
+ }
504
+ }, [_vm._t("optionTemplate", null, {
507
505
  "model": _vm.proxyModelValue,
508
506
  "option": option
509
- })], 2);
507
+ })], 2)], 1);
510
508
  }) : _vm._l(_vm.resolvedSearchOptions, function (option) {
511
509
  return _c('OrMenuItem', {
512
510
  key: option.value,
@@ -78,7 +78,7 @@ export { _ as OrSearch } from '../OrSearch-e2941d35.js';
78
78
  export { _ as OrSearchV3 } from '../OrSearch-7f444d5c.js';
79
79
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-d4e32f80.js';
80
80
  export { _ as OrSelect } from '../OrSelect-49239b74.js';
81
- export { _ as OrSelectV3 } from '../OrSelect-ca46131d.js';
81
+ export { _ as OrSelectV3 } from '../OrSelect-a3664bf7.js';
82
82
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-c56a9221.js';
83
83
  export { _ as OrSidebarV3 } from '../OrSidebar-41c869c1.js';
84
84
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-0d2e41c8.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-ca46131d.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-a3664bf7.js';
2
2
  export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.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-7f444d5c.js';
79
79
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-d4e32f80.js';
80
80
  export { _ as OrSelect } from './OrSelect-49239b74.js';
81
- export { _ as OrSelectV3 } from './OrSelect-ca46131d.js';
81
+ export { _ as OrSelectV3 } from './OrSelect-a3664bf7.js';
82
82
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
83
83
  export { _ as OrSidebarV3 } from './OrSidebar-41c869c1.js';
84
84
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-0d2e41c8.js';
@@ -477,16 +477,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
477
477
  return openBlock(), createBlock(_component_OrMenuItem, {
478
478
  key: option.value
479
479
  }, {
480
- default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
481
- model: _ctx.proxyModelValue,
482
- option: option
483
- }, () => [createVNode(_component_OrCheckbox, {
480
+ default: withCtx(() => [createVNode(_component_OrCheckbox, {
484
481
  modelValue: _ctx.proxyModelValue,
485
482
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.proxyModelValue = $event),
486
483
  value: option.value,
487
484
  label: option.label,
488
485
  "label-variant": 'input'
489
- }, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
486
+ }, {
487
+ default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
488
+ model: _ctx.proxyModelValue,
489
+ option: option
490
+ })]),
491
+ _: 2 /* DYNAMIC */
492
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "value", "label"])]),
490
493
  _: 2 /* DYNAMIC */
491
494
  }, 1024 /* DYNAMIC_SLOTS */);
492
495
  }), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
@@ -75,7 +75,7 @@ export { s as OrSearch } from '../OrSearch-d0c8aca7.js';
75
75
  export { s as OrSearchV3 } from '../OrSearch-daab0e0b.js';
76
76
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-c8eb217d.js';
77
77
  export { s as OrSelect } from '../OrSelect-60205145.js';
78
- export { s as OrSelectV3 } from '../OrSelect-4c76e702.js';
78
+ export { s as OrSelectV3 } from '../OrSelect-9613954a.js';
79
79
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-aaf73310.js';
80
80
  export { s as OrSidebarV3 } from '../OrSidebar-fadc2431.js';
81
81
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-e0cbeaa5.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-4c76e702.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-9613954a.js';
2
2
  export { I as SelectSize } from '../../OrInputBox-32b37b17.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -75,7 +75,7 @@ export { s as OrSearch } from './OrSearch-d0c8aca7.js';
75
75
  export { s as OrSearchV3 } from './OrSearch-daab0e0b.js';
76
76
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-c8eb217d.js';
77
77
  export { s as OrSelect } from './OrSelect-60205145.js';
78
- export { s as OrSelectV3 } from './OrSelect-4c76e702.js';
78
+ export { s as OrSelectV3 } from './OrSelect-9613954a.js';
79
79
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
80
80
  export { s as OrSidebarV3 } from './OrSidebar-fadc2431.js';
81
81
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-e0cbeaa5.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "4.14.0",
3
+ "version": "4.14.1-beta.2997.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -153,6 +153,5 @@
153
153
  "default": "./dist/bundled/v3/components/*/index.js"
154
154
  },
155
155
  "./package.json": "./package.json"
156
- },
157
- "gitHead": "48562ea56078c7e8484a8f8b36355580f33b54b3"
156
+ }
158
157
  }
@@ -169,18 +169,18 @@
169
169
  v-for="option in resolvedSearchOptions"
170
170
  :key="option.value"
171
171
  >
172
- <slot
173
- name="optionTemplate"
174
- :model="proxyModelValue"
175
- :option="option"
172
+ <OrCheckbox
173
+ v-model="proxyModelValue"
174
+ :value="option.value"
175
+ :label="option.label"
176
+ :label-variant="'input'"
176
177
  >
177
- <OrCheckbox
178
- v-model="proxyModelValue"
179
- :value="option.value"
180
- :label="option.label"
181
- :label-variant="'input'"
178
+ <slot
179
+ name="optionTemplate"
180
+ :model="proxyModelValue"
181
+ :option="option"
182
182
  />
183
- </slot>
183
+ </OrCheckbox>
184
184
  </OrMenuItem>
185
185
  </template>
186
186