@onereach/ui-components 8.23.2-beta.4140.0 → 8.24.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.
Files changed (45) hide show
  1. package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +33 -19
  2. package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +6 -6
  3. package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -2
  4. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +1 -1
  5. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -1
  6. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +6 -6
  7. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -1
  8. package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.js +1 -1
  9. package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.js +1 -1
  10. package/dist/bundled/v3/components/{OrCheckboxTreeV3-958d3e64.js → OrCheckboxTreeV3-37cb07f2.js} +39 -21
  11. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
  12. package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
  13. package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
  14. package/dist/bundled/v3/components/OrSelectV3/utils/castToMultipleValue.js +1 -1
  15. package/dist/bundled/v3/components/{OrSelectV3-e8c265f8.js → OrSelectV3-d4421891.js} +2 -2
  16. package/dist/bundled/v3/components/index.js +2 -2
  17. package/dist/bundled/v3/index.js +2 -2
  18. package/dist/esm/v2/{OrCheckboxGroup-2b5336ae.js → OrCheckboxGroup-5611e13a.js} +1 -1
  19. package/dist/esm/v2/{OrCheckboxTree-fd61e9d1.js → OrCheckboxTree-ac1a0899.js} +33 -19
  20. package/dist/esm/v2/{OrSelect-f42a1db6.js → OrSelect-9c081cbd.js} +1 -1
  21. package/dist/esm/v2/{OrSelectSingleControl-91746d8b.js → OrSelectSingleControl-6804ef1b.js} +2 -2
  22. package/dist/esm/v2/components/index.js +4 -4
  23. package/dist/esm/v2/components/or-checkbox-group-v3/index.js +2 -2
  24. package/dist/esm/v2/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +6 -6
  25. package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +1 -1
  26. package/dist/esm/v2/components/or-select-v3/index.js +2 -2
  27. package/dist/esm/v2/components/or-select-v3/partials/index.js +1 -1
  28. package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/index.js +1 -1
  29. package/dist/esm/v2/index.js +4 -4
  30. package/dist/esm/v3/{OrCheckboxGroup-974b07dc.js → OrCheckboxGroup-b802d08c.js} +1 -1
  31. package/dist/esm/v3/{OrCheckboxTree-d69f47ad.js → OrCheckboxTree-0bb3e284.js} +39 -21
  32. package/dist/esm/v3/{OrSelect-1b906ffc.js → OrSelect-7b6dbd30.js} +1 -1
  33. package/dist/esm/v3/{OrSelectSingleControl-eeca515f.js → OrSelectSingleControl-384d4b45.js} +2 -2
  34. package/dist/esm/v3/components/index.js +4 -4
  35. package/dist/esm/v3/components/or-checkbox-group-v3/index.js +2 -2
  36. package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +6 -6
  37. package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +1 -1
  38. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  39. package/dist/esm/v3/components/or-select-v3/partials/index.js +1 -1
  40. package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/index.js +1 -1
  41. package/dist/esm/v3/index.js +4 -4
  42. package/package.json +3 -2
  43. package/src/components/or-checkbox-tree-v3/OrCheckboxTree.vue +47 -23
  44. package/src/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue +3 -3
  45. package/src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue +2 -3
@@ -30,15 +30,15 @@ var script = defineComponent({
30
30
  },
31
31
  collapsible: {
32
32
  type: Boolean,
33
- default: false
33
+ default: () => false
34
34
  },
35
35
  disabled: {
36
36
  type: Boolean,
37
- default: false
37
+ default: () => false
38
38
  },
39
39
  expanded: {
40
40
  type: Boolean,
41
- default: true
41
+ default: () => true
42
42
  }
43
43
  },
44
44
  emits: ['update:modelValue'],
@@ -121,46 +121,57 @@ var __vue_render__ = function () {
121
121
  class: _vm.parentStyles
122
122
  }, [_vm.collapsible ? [_c('OrButton', {
123
123
  attrs: {
124
- "variant": "link",
124
+ "variant": 'link',
125
125
  "disabled": _vm.disabled
126
126
  },
127
127
  on: {
128
- "click": function () {
128
+ "click": function ($event) {
129
129
  return _vm.setIsOpen(!_vm.isOpen);
130
130
  }
131
131
  }
132
132
  }, [_c('OrIcon', {
133
133
  class: [_vm.isOpen ? 'rotate-[180deg]' : 'rotate-0'],
134
134
  attrs: {
135
- "icon": "arrow_drop_down",
136
- "size": "l"
135
+ "icon": 'arrow_drop_down',
136
+ "size": 'l'
137
137
  }
138
138
  })], 1)] : _vm._e(), _vm._v(" "), _c('OrCheckbox', {
139
139
  attrs: {
140
- "value": "true",
141
140
  "model-value": _vm.isAllChildrenSelected,
141
+ "value": true,
142
142
  "indeterminate": _vm.isIntermediate,
143
- "label": _vm.item.label,
144
143
  "disabled": _vm.disabled
145
144
  },
146
145
  on: {
147
146
  "click": _vm.handleParentClick
148
147
  }
149
- })], 2), _vm._v(" "), _vm.hasChildren && _vm.isOpen ? _c('div', {
150
- class: {
151
- 'ml-2xl': _vm.collapsible,
152
- 'ml-lg': !_vm.collapsible
153
- }
148
+ }, [_vm._t("checkboxLabel", function () {
149
+ return [_vm._v("\n " + _vm._s(_vm.item.label) + "\n ")];
150
+ }, {
151
+ "item": _vm.item
152
+ })], 2)], 2), _vm._v(" "), _vm.hasChildren && _vm.isOpen ? _c('div', {
153
+ class: [_vm.collapsible ? 'ml-2xl' : 'ml-lg']
154
154
  }, _vm._l(_vm.item.children, function (child) {
155
155
  return _c('OrCheckboxTree', {
156
156
  key: child.value || child.label,
157
- staticClass: "mt-xs",
157
+ class: ['mt-xs'],
158
158
  attrs: {
159
159
  "item": child,
160
160
  "collapsible": child.collapsible,
161
161
  "expanded": child.expanded,
162
162
  "disabled": _vm.disabled || child.disabled
163
163
  },
164
+ scopedSlots: _vm._u([{
165
+ key: "checkboxLabel",
166
+ fn: function (ref) {
167
+ var item = ref.item;
168
+ return [_vm._t("checkboxLabel", function () {
169
+ return [_vm._v("\n " + _vm._s(item.label) + "\n ")];
170
+ }, {
171
+ "item": item
172
+ })];
173
+ }
174
+ }], null, true),
164
175
  model: {
165
176
  value: _vm.proxyModelValue,
166
177
  callback: function ($$v) {
@@ -171,9 +182,8 @@ var __vue_render__ = function () {
171
182
  });
172
183
  }), 1) : _vm._e()] : [_c('OrCheckbox', {
173
184
  attrs: {
174
- "disabled": _vm.disabled || _vm.item.disabled,
175
- "label": _vm.item.label,
176
- "value": _vm.item.value
185
+ "value": _vm.item.value,
186
+ "disabled": _vm.disabled || _vm.item.disabled
177
187
  },
178
188
  model: {
179
189
  value: _vm.proxyModelValue,
@@ -182,7 +192,11 @@ var __vue_render__ = function () {
182
192
  },
183
193
  expression: "proxyModelValue"
184
194
  }
185
- })]], 2);
195
+ }, [_vm._t("checkboxLabel", function () {
196
+ return [_vm._v("\n " + _vm._s(_vm.item.label) + "\n ")];
197
+ }, {
198
+ "item": _vm.item
199
+ })], 2)]], 2);
186
200
  };
187
201
  var __vue_staticRenderFns__ = [];
188
202
 
@@ -23,15 +23,15 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
23
23
  };
24
24
  collapsible: {
25
25
  type: BooleanConstructor;
26
- default: boolean;
26
+ default: () => false;
27
27
  };
28
28
  disabled: {
29
29
  type: BooleanConstructor;
30
- default: boolean;
30
+ default: () => false;
31
31
  };
32
32
  expanded: {
33
33
  type: BooleanConstructor;
34
- default: boolean;
34
+ default: () => true;
35
35
  };
36
36
  }, import("@vue/composition-api").ExtractPropTypes<{
37
37
  modelValue: {
@@ -44,15 +44,15 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
44
44
  };
45
45
  collapsible: {
46
46
  type: BooleanConstructor;
47
- default: boolean;
47
+ default: () => false;
48
48
  };
49
49
  disabled: {
50
50
  type: BooleanConstructor;
51
- default: boolean;
51
+ default: () => false;
52
52
  };
53
53
  expanded: {
54
54
  type: BooleanConstructor;
55
- default: boolean;
55
+ default: () => true;
56
56
  };
57
57
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
58
58
  modelValue: string[];
@@ -536,7 +536,7 @@ var __vue_render__$1 = function () {
536
536
  return _c('div', {
537
537
  ref: "root",
538
538
  class: _vm.rootStyles
539
- }, [!_vm.isOpen ? [_c('span', {
539
+ }, [!_vm.isEmpty && !_vm.isOpen ? [_c('span', {
540
540
  staticClass: "truncate"
541
541
  }, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])] : [_vm.enableSearch ? _c('OrSelectControlInput', {
542
542
  ref: "searchControl",
@@ -554,7 +554,7 @@ var __vue_render__$1 = function () {
554
554
  attrs: {
555
555
  "disabled": _vm.disabled
556
556
  }
557
- }, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])]], 2);
557
+ }, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]], 2);
558
558
  };
559
559
  var __vue_staticRenderFns__$1 = [];
560
560
 
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
2
2
  import { defineComponent, toRef } from 'vue-demi';
3
- import { s as script$1 } from '../OrCheckboxTreeV3-958d3e64.js';
3
+ import { s as script$1 } from '../OrCheckboxTreeV3-37cb07f2.js';
4
4
  import { s as script$2, F as FormGroupDirection } from '../OrFormGroupV3-216f55ee.js';
5
5
  import { useProxyModelValue } from '../../hooks/useProxyModelValue.js';
6
6
 
@@ -1 +1 @@
1
- export { s as default } from '../OrCheckboxTreeV3-958d3e64.js';
1
+ export { s as default } from '../OrCheckboxTreeV3-37cb07f2.js';
@@ -11,15 +11,15 @@ declare const _default: import("vue-demi").DefineComponent<{
11
11
  };
12
12
  collapsible: {
13
13
  type: BooleanConstructor;
14
- default: boolean;
14
+ default: () => boolean;
15
15
  };
16
16
  disabled: {
17
17
  type: BooleanConstructor;
18
- default: boolean;
18
+ default: () => boolean;
19
19
  };
20
20
  expanded: {
21
21
  type: BooleanConstructor;
22
- default: boolean;
22
+ default: () => boolean;
23
23
  };
24
24
  }, {
25
25
  rootStyles: import("vue-demi").ComputedRef<string[]>;
@@ -44,15 +44,15 @@ declare const _default: import("vue-demi").DefineComponent<{
44
44
  };
45
45
  collapsible: {
46
46
  type: BooleanConstructor;
47
- default: boolean;
47
+ default: () => boolean;
48
48
  };
49
49
  disabled: {
50
50
  type: BooleanConstructor;
51
- default: boolean;
51
+ default: () => boolean;
52
52
  };
53
53
  expanded: {
54
54
  type: BooleanConstructor;
55
- default: boolean;
55
+ default: () => boolean;
56
56
  };
57
57
  }>> & {
58
58
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -1 +1 @@
1
- export { s as OrCheckboxTreeV3 } from '../OrCheckboxTreeV3-958d3e64.js';
1
+ export { s as OrCheckboxTreeV3 } from '../OrCheckboxTreeV3-37cb07f2.js';
@@ -1 +1 @@
1
- export { C as CheckboxTreeRoot, a as CheckboxTreeRootParent } from '../OrCheckboxTreeV3-958d3e64.js';
1
+ export { C as CheckboxTreeRoot, a as CheckboxTreeRootParent } from '../OrCheckboxTreeV3-37cb07f2.js';
@@ -1,2 +1,2 @@
1
1
  import '../../../utils/functions/flattenDeep.js';
2
- export { e as extractChildrenValues } from '../../OrCheckboxTreeV3-958d3e64.js';
2
+ export { e as extractChildrenValues } from '../../OrCheckboxTreeV3-37cb07f2.js';
@@ -1,4 +1,4 @@
1
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderList } from 'vue';
1
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString, renderList } from 'vue';
2
2
  import { defineComponent, toRefs, computed, watch } from 'vue-demi';
3
3
  import flattenDeep from '../utils/functions/flattenDeep.js';
4
4
  import { s as script$1 } from './OrIconV3-5db4e349.js';
@@ -54,15 +54,15 @@ var script = defineComponent({
54
54
  },
55
55
  collapsible: {
56
56
  type: Boolean,
57
- default: false
57
+ default: () => false
58
58
  },
59
59
  disabled: {
60
60
  type: Boolean,
61
- default: false
61
+ default: () => false
62
62
  },
63
63
  expanded: {
64
64
  type: Boolean,
65
- default: true
65
+ default: () => true
66
66
  }
67
67
  },
68
68
  emits: ['update:modelValue'],
@@ -144,48 +144,66 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
144
144
  class: normalizeClass(_ctx.parentStyles)
145
145
  }, [_ctx.collapsible ? (openBlock(), createBlock(_component_OrButton, {
146
146
  key: 0,
147
- variant: "link",
147
+ variant: 'link',
148
148
  disabled: _ctx.disabled,
149
- onClick: _cache[0] || (_cache[0] = () => _ctx.setIsOpen(!_ctx.isOpen))
149
+ onClick: _cache[0] || (_cache[0] = $event => _ctx.setIsOpen(!_ctx.isOpen))
150
150
  }, {
151
151
  default: withCtx(() => [createVNode(_component_OrIcon, {
152
152
  class: normalizeClass([_ctx.isOpen ? 'rotate-[180deg]' : 'rotate-0']),
153
- icon: "arrow_drop_down",
154
- size: "l"
153
+ icon: 'arrow_drop_down',
154
+ size: 'l'
155
155
  }, null, 8 /* PROPS */, ["class"])]),
156
156
  _: 1 /* STABLE */
157
157
  }, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrCheckbox, {
158
- value: "true",
159
158
  "model-value": _ctx.isAllChildrenSelected,
159
+ value: true,
160
160
  indeterminate: _ctx.isIntermediate,
161
- label: _ctx.item.label,
162
161
  disabled: _ctx.disabled,
163
162
  onClick: _ctx.handleParentClick
164
- }, null, 8 /* PROPS */, ["model-value", "indeterminate", "label", "disabled", "onClick"])], 2 /* CLASS */), _ctx.hasChildren && _ctx.isOpen ? (openBlock(), createElementBlock("div", {
163
+ }, {
164
+ default: withCtx(() => [renderSlot(_ctx.$slots, "checkboxLabel", {
165
+ item: _ctx.item
166
+ }, () => [createTextVNode(toDisplayString(_ctx.item.label), 1 /* TEXT */)])]),
167
+
168
+ _: 3 /* FORWARDED */
169
+ }, 8 /* PROPS */, ["model-value", "indeterminate", "disabled", "onClick"])], 2 /* CLASS */), _ctx.hasChildren && _ctx.isOpen ? (openBlock(), createElementBlock("div", {
165
170
  key: 0,
166
- class: normalizeClass({
167
- 'ml-2xl': _ctx.collapsible,
168
- 'ml-lg': !_ctx.collapsible
169
- })
171
+ class: normalizeClass([_ctx.collapsible ? 'ml-2xl' : 'ml-lg'])
170
172
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.item.children, child => {
171
173
  return openBlock(), createBlock(_component_OrCheckboxTree, {
172
174
  key: child.value || child.label,
173
175
  modelValue: _ctx.proxyModelValue,
174
176
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxyModelValue = $event),
175
- class: "mt-xs",
177
+ class: normalizeClass(['mt-xs']),
176
178
  item: child,
177
179
  collapsible: child.collapsible,
178
180
  expanded: child.expanded,
179
181
  disabled: _ctx.disabled || child.disabled
180
- }, null, 8 /* PROPS */, ["modelValue", "item", "collapsible", "expanded", "disabled"]);
182
+ }, {
183
+ checkboxLabel: withCtx(_ref => {
184
+ let {
185
+ item
186
+ } = _ref;
187
+ return [renderSlot(_ctx.$slots, "checkboxLabel", {
188
+ item: item
189
+ }, () => [createTextVNode(toDisplayString(item.label), 1 /* TEXT */)])];
190
+ }),
191
+
192
+ _: 2 /* DYNAMIC */
193
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "item", "collapsible", "expanded", "disabled"]);
181
194
  }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrCheckbox, {
182
195
  key: 1,
183
196
  modelValue: _ctx.proxyModelValue,
184
197
  "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.proxyModelValue = $event),
185
- disabled: _ctx.disabled || _ctx.item.disabled,
186
- label: _ctx.item.label,
187
- value: _ctx.item.value
188
- }, null, 8 /* PROPS */, ["modelValue", "disabled", "label", "value"]))], 2 /* CLASS */);
198
+ value: _ctx.item.value,
199
+ disabled: _ctx.disabled || _ctx.item.disabled
200
+ }, {
201
+ default: withCtx(() => [renderSlot(_ctx.$slots, "checkboxLabel", {
202
+ item: _ctx.item
203
+ }, () => [createTextVNode(toDisplayString(_ctx.item.label), 1 /* TEXT */)])]),
204
+
205
+ _: 3 /* FORWARDED */
206
+ }, 8 /* PROPS */, ["modelValue", "value", "disabled"]))], 2 /* CLASS */);
189
207
  }
190
208
 
191
209
  script.render = render;
@@ -1 +1 @@
1
- export { s as default } from '../OrSelectV3-e8c265f8.js';
1
+ export { s as default } from '../OrSelectV3-d4421891.js';
@@ -1,2 +1,2 @@
1
- export { s as OrSelectV3 } from '../OrSelectV3-e8c265f8.js';
1
+ export { s as OrSelectV3 } from '../OrSelectV3-d4421891.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-e8c265f8.js';
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-d4421891.js';
@@ -1,2 +1,2 @@
1
1
  import '../../../utils/isEmptyValue.js';
2
- export { c as castToMultipleValue } from '../../OrSelectV3-e8c265f8.js';
2
+ export { c as castToMultipleValue } from '../../OrSelectV3-d4421891.js';
@@ -431,7 +431,7 @@ 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
- }, [!_ctx.isOpen ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */)) : (openBlock(), createElementBlock(Fragment, {
434
+ }, [!_ctx.isEmpty && !_ctx.isOpen ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */)) : (openBlock(), createElementBlock(Fragment, {
435
435
  key: 1
436
436
  }, [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
437
437
  key: 0,
@@ -443,7 +443,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
443
443
  key: 1,
444
444
  disabled: _ctx.disabled
445
445
  }, {
446
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.selectionLabel), 1 /* TEXT */)]),
446
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
447
447
 
448
448
  _: 1 /* STABLE */
449
449
  }, 8 /* PROPS */, ["disabled"]))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
@@ -12,7 +12,7 @@ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes
12
12
  export { C as CardPadding, s as OrCardV3 } from './OrCardV3-a3bb7835.js';
13
13
  export { default as OrCheckbox } from './OrCheckbox/OrCheckbox.js';
14
14
  export { default as OrCheckboxGroupV3 } from './OrCheckboxGroupV3/OrCheckboxGroup.js';
15
- export { s as OrCheckboxTreeV3 } from './OrCheckboxTreeV3-958d3e64.js';
15
+ export { s as OrCheckboxTreeV3 } from './OrCheckboxTreeV3-37cb07f2.js';
16
16
  export { s as OrCheckboxV3 } from './OrCheckboxV3-fcc61e73.js';
17
17
  export { s as OrChip, a as OrChips } from './OrChips-9386b9d6.js';
18
18
  export { E as EditorState, a as EditorView, q as OrCode, O as OrCodeLanguages, b as basicSetup, h as html, j as javascript, d as json, e as jsonParseLinter, c as lintGutter, l as linter } from './OrCode-7a263a23.js';
@@ -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-e8c265f8.js';
89
+ export { s as OrSelectV3 } from './OrSelectV3-d4421891.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';
@@ -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-e8c265f8.js';
49
+ export { s as OrSelectV3 } from './components/OrSelectV3-d4421891.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';
@@ -78,7 +78,7 @@ export { B as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, a as BUTTON_SIZE, b as BUTT
78
78
  export { default as OrIconButton, default as OrIconButtonV2 } from './components/OrIconButtonV2/OrIconButton.js';
79
79
  export { default as OrCard } from './components/OrCard/OrCard.js';
80
80
  export { default as OrCheckbox } from './components/OrCheckbox/OrCheckbox.js';
81
- export { s as OrCheckboxTreeV3 } from './components/OrCheckboxTreeV3-958d3e64.js';
81
+ export { s as OrCheckboxTreeV3 } from './components/OrCheckboxTreeV3-37cb07f2.js';
82
82
  export { s as OrCheckboxV3 } from './components/OrCheckboxV3-fcc61e73.js';
83
83
  export { default as OrCollapse } from './components/OrCollapse/OrCollapse.js';
84
84
  export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './components/OrInputBoxV3-90e51950.js';
@@ -4,7 +4,7 @@ import './dom-aecadd9a.js';
4
4
  import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
5
5
  import '@onereach/styles/tailwind/plugins/core';
6
6
  import '@onereach/styles/tailwind.config.json';
7
- import { _ as __vue_component__$1 } from './OrCheckboxTree-fd61e9d1.js';
7
+ import { _ as __vue_component__$1 } from './OrCheckboxTree-ac1a0899.js';
8
8
  import { _ as __vue_component__$2, F as FormGroupDirection } from './OrFormGroup-1aaf6500.js';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
10
 
@@ -62,15 +62,15 @@ var script = defineComponent({
62
62
  },
63
63
  collapsible: {
64
64
  type: Boolean,
65
- default: false
65
+ default: () => false
66
66
  },
67
67
  disabled: {
68
68
  type: Boolean,
69
- default: false
69
+ default: () => false
70
70
  },
71
71
  expanded: {
72
72
  type: Boolean,
73
- default: true
73
+ default: () => true
74
74
  }
75
75
  },
76
76
  emits: ['update:modelValue'],
@@ -153,46 +153,57 @@ var __vue_render__ = function () {
153
153
  class: _vm.parentStyles
154
154
  }, [_vm.collapsible ? [_c('OrButton', {
155
155
  attrs: {
156
- "variant": "link",
156
+ "variant": 'link',
157
157
  "disabled": _vm.disabled
158
158
  },
159
159
  on: {
160
- "click": function () {
160
+ "click": function ($event) {
161
161
  return _vm.setIsOpen(!_vm.isOpen);
162
162
  }
163
163
  }
164
164
  }, [_c('OrIcon', {
165
165
  class: [_vm.isOpen ? 'rotate-[180deg]' : 'rotate-0'],
166
166
  attrs: {
167
- "icon": "arrow_drop_down",
168
- "size": "l"
167
+ "icon": 'arrow_drop_down',
168
+ "size": 'l'
169
169
  }
170
170
  })], 1)] : _vm._e(), _vm._v(" "), _c('OrCheckbox', {
171
171
  attrs: {
172
- "value": "true",
173
172
  "model-value": _vm.isAllChildrenSelected,
173
+ "value": true,
174
174
  "indeterminate": _vm.isIntermediate,
175
- "label": _vm.item.label,
176
175
  "disabled": _vm.disabled
177
176
  },
178
177
  on: {
179
178
  "click": _vm.handleParentClick
180
179
  }
181
- })], 2), _vm._v(" "), _vm.hasChildren && _vm.isOpen ? _c('div', {
182
- class: {
183
- 'ml-2xl': _vm.collapsible,
184
- 'ml-lg': !_vm.collapsible
185
- }
180
+ }, [_vm._t("checkboxLabel", function () {
181
+ return [_vm._v("\n " + _vm._s(_vm.item.label) + "\n ")];
182
+ }, {
183
+ "item": _vm.item
184
+ })], 2)], 2), _vm._v(" "), _vm.hasChildren && _vm.isOpen ? _c('div', {
185
+ class: [_vm.collapsible ? 'ml-2xl' : 'ml-lg']
186
186
  }, _vm._l(_vm.item.children, function (child) {
187
187
  return _c('OrCheckboxTree', {
188
188
  key: child.value || child.label,
189
- staticClass: "mt-xs",
189
+ class: ['mt-xs'],
190
190
  attrs: {
191
191
  "item": child,
192
192
  "collapsible": child.collapsible,
193
193
  "expanded": child.expanded,
194
194
  "disabled": _vm.disabled || child.disabled
195
195
  },
196
+ scopedSlots: _vm._u([{
197
+ key: "checkboxLabel",
198
+ fn: function (ref) {
199
+ var item = ref.item;
200
+ return [_vm._t("checkboxLabel", function () {
201
+ return [_vm._v("\n " + _vm._s(item.label) + "\n ")];
202
+ }, {
203
+ "item": item
204
+ })];
205
+ }
206
+ }], null, true),
196
207
  model: {
197
208
  value: _vm.proxyModelValue,
198
209
  callback: function ($$v) {
@@ -203,9 +214,8 @@ var __vue_render__ = function () {
203
214
  });
204
215
  }), 1) : _vm._e()] : [_c('OrCheckbox', {
205
216
  attrs: {
206
- "disabled": _vm.disabled || _vm.item.disabled,
207
- "label": _vm.item.label,
208
- "value": _vm.item.value
217
+ "value": _vm.item.value,
218
+ "disabled": _vm.disabled || _vm.item.disabled
209
219
  },
210
220
  model: {
211
221
  value: _vm.proxyModelValue,
@@ -214,7 +224,11 @@ var __vue_render__ = function () {
214
224
  },
215
225
  expression: "proxyModelValue"
216
226
  }
217
- })]], 2);
227
+ }, [_vm._t("checkboxLabel", function () {
228
+ return [_vm._v("\n " + _vm._s(_vm.item.label) + "\n ")];
229
+ }, {
230
+ "item": _vm.item
231
+ })], 2)]], 2);
218
232
  };
219
233
  var __vue_staticRenderFns__ = [];
220
234
 
@@ -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-91746d8b.js';
23
+ import { _ as __vue_component__$2 } from './OrSelectSingleControl-6804ef1b.js';
24
24
  import './OrSelectPlaceholder-d03c1076.js';
25
25
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
26
26
 
@@ -114,7 +114,7 @@ var __vue_render__ = function () {
114
114
  return _c('div', {
115
115
  ref: "root",
116
116
  class: _vm.rootStyles
117
- }, [!_vm.isOpen ? [_c('span', {
117
+ }, [!_vm.isEmpty && !_vm.isOpen ? [_c('span', {
118
118
  staticClass: "truncate"
119
119
  }, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])] : [_vm.enableSearch ? _c('OrSelectControlInput', {
120
120
  ref: "searchControl",
@@ -132,7 +132,7 @@ var __vue_render__ = function () {
132
132
  attrs: {
133
133
  "disabled": _vm.disabled
134
134
  }
135
- }, [_vm._v("\n " + _vm._s(_vm.selectionLabel) + "\n ")])]], 2);
135
+ }, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]], 2);
136
136
  };
137
137
  var __vue_staticRenderFns__ = [];
138
138
 
@@ -13,8 +13,8 @@ export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCol
13
13
  export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-696ecfc6.js';
14
14
  export { C as CardPadding, _ as OrCardV3 } from '../OrCard-36865e33.js';
15
15
  export { _ as OrCheckbox } from '../OrCheckbox-3337d903.js';
16
- export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-2b5336ae.js';
17
- export { _ as OrCheckboxTreeV3 } from '../OrCheckboxTree-fd61e9d1.js';
16
+ export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-5611e13a.js';
17
+ export { _ as OrCheckboxTreeV3 } from '../OrCheckboxTree-ac1a0899.js';
18
18
  export { _ as OrCheckboxV3 } from '../OrCheckbox-601b53f3.js';
19
19
  export { _ as OrChip } from '../OrChip-289730fb.js';
20
20
  export { _ as OrChips } from '../OrChips-0bb33a9f.js';
@@ -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-f42a1db6.js';
108
+ export { _ as OrSelectV3 } from '../OrSelect-9c081cbd.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-91746d8b.js';
219
+ import '../OrSelectSingleControl-6804ef1b.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 OrCheckboxGroupV3 } from '../../OrCheckboxGroup-2b5336ae.js';
1
+ export { _ as OrCheckboxGroupV3 } from '../../OrCheckboxGroup-5611e13a.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import '../../dom-aecadd9a.js';
@@ -7,7 +7,7 @@ import 'lodash/get';
7
7
  import '../../useProxyModelValue-940010d2.js';
8
8
  import '@onereach/styles/tailwind/plugins/core';
9
9
  import '@onereach/styles/tailwind.config.json';
10
- import '../../OrCheckboxTree-fd61e9d1.js';
10
+ import '../../OrCheckboxTree-ac1a0899.js';
11
11
  import '../../OrButton-f489e6b3.js';
12
12
  import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
13
13
  import '../../OrLoader-784e2060.js';