@onereach/ui-components 4.14.0 → 4.14.1-beta.2995.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 (71) hide show
  1. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +3 -3
  2. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +10 -10
  3. package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
  4. package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +10 -10
  5. package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +12 -12
  6. package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +9 -9
  7. package/dist/bundled/v2/components/OrSelectV3/types.d.ts +1 -1
  8. package/dist/bundled/v2/utils/isEmptyValue.d.ts +1 -1
  9. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-a27167e0.js → OrCheckbox.vue_vue_type_script_lang-6c0e5fe9.js} +1 -1
  10. package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-386971f8.js → OrCheckboxGroup.vue_vue_type_script_lang-d8afbbf9.js} +1 -1
  11. package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-1d754ac1.js → OrCheckboxTree.vue_vue_type_script_lang-d3632aaa.js} +1 -1
  12. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-cd73a3d2.js → OrSelect.vue_vue_type_script_lang-f62151ac.js} +2 -2
  13. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -4
  14. package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +3 -3
  15. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
  16. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
  17. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +2 -2
  18. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +6 -6
  19. package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -1
  20. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +6 -6
  21. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +14 -14
  22. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +5 -5
  23. package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
  24. package/dist/bundled/v3/components/OrSelectV3/types.d.ts +1 -1
  25. package/dist/bundled/v3/components/index.js +4 -4
  26. package/dist/bundled/v3/index.js +4 -4
  27. package/dist/bundled/v3/utils/isEmptyValue.d.ts +1 -1
  28. package/dist/esm/v2/{OrCardCollection-74566219.js → OrCardCollection-04ac96cf.js} +1 -1
  29. package/dist/esm/v2/{OrCheckbox-43615f70.js → OrCheckbox-0c2a7fa7.js} +3 -3
  30. package/dist/esm/v2/{OrCheckboxGroup-4e6dbdd3.js → OrCheckboxGroup-026ecf5f.js} +1 -1
  31. package/dist/esm/v2/{OrCheckboxTree-ba023624.js → OrCheckboxTree-e991bcd9.js} +1 -1
  32. package/dist/esm/v2/{OrConfirm-d8d3b5e1.js → OrConfirm-defe0311.js} +1 -1
  33. package/dist/esm/v2/{OrInput-386e9352.js → OrInput-b7b43cd0.js} +2 -2
  34. package/dist/esm/v2/{OrSearch-7f444d5c.js → OrSearch-e8866022.js} +1 -1
  35. package/dist/esm/v2/{OrSelect-ca46131d.js → OrSelect-b0a3200a.js} +14 -14
  36. package/dist/esm/v2/components/index.js +8 -8
  37. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
  38. package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
  39. package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
  40. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +10 -10
  41. package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
  42. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  43. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +10 -10
  44. package/dist/esm/v2/components/or-input-v3/index.js +1 -1
  45. package/dist/esm/v2/components/or-search-v3/index.js +2 -2
  46. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +9 -9
  47. package/dist/esm/v2/components/or-select-v3/index.js +3 -3
  48. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  49. package/dist/esm/v2/index.js +8 -8
  50. package/dist/esm/v2/utils/isEmptyValue.d.ts +1 -1
  51. package/dist/esm/v3/{OrCheckbox-bb06af0f.js → OrCheckbox-d1ceab55.js} +1 -1
  52. package/dist/esm/v3/{OrCheckboxGroup-9a8ab902.js → OrCheckboxGroup-6ec89f2a.js} +1 -1
  53. package/dist/esm/v3/{OrCheckboxTree-969bc928.js → OrCheckboxTree-9e08a6c4.js} +1 -1
  54. package/dist/esm/v3/{OrSelect-4c76e702.js → OrSelect-024d3e4e.js} +13 -13
  55. package/dist/esm/v3/components/index.js +4 -4
  56. package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
  57. package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
  58. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +6 -6
  59. package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
  60. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +6 -6
  61. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -5
  62. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  63. package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
  64. package/dist/esm/v3/index.js +4 -4
  65. package/dist/esm/v3/utils/isEmptyValue.d.ts +1 -1
  66. package/package.json +2 -3
  67. package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -2
  68. package/src/components/or-input-v3/OrInput.vue +2 -2
  69. package/src/components/or-select-v3/OrSelect.vue +12 -12
  70. package/src/components/or-select-v3/types.ts +1 -1
  71. package/src/utils/isEmptyValue.ts +1 -1
@@ -31,11 +31,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
31
31
  default: undefined;
32
32
  };
33
33
  type: {
34
- type: PropType<InputType>;
34
+ type: PropType<"number" | "text" | "password" | "search">;
35
35
  default: InputType;
36
36
  };
37
37
  size: {
38
- type: PropType<InputSize>;
38
+ type: PropType<"m" | "s">;
39
39
  default: InputSize;
40
40
  };
41
41
  label: {
@@ -84,11 +84,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
84
84
  default: undefined;
85
85
  };
86
86
  type: {
87
- type: PropType<InputType>;
87
+ type: PropType<"number" | "text" | "password" | "search">;
88
88
  default: InputType;
89
89
  };
90
90
  size: {
91
- type: PropType<InputSize>;
91
+ type: PropType<"m" | "s">;
92
92
  default: InputSize;
93
93
  };
94
94
  label: {
@@ -133,8 +133,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
133
133
  };
134
134
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
135
135
  modelValue: string | number;
136
- type: InputType;
137
- size: InputSize;
136
+ type: "number" | "text" | "password" | "search";
137
+ size: "m" | "s";
138
138
  label: string;
139
139
  placeholder: string;
140
140
  hint: string;
@@ -174,8 +174,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
174
174
  blur: () => void;
175
175
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
176
176
  modelValue: string | number;
177
- type: InputType;
178
- size: InputSize;
177
+ type: "number" | "text" | "password" | "search";
178
+ size: "m" | "s";
179
179
  label: string;
180
180
  placeholder: string;
181
181
  hint: string;
@@ -190,8 +190,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
190
190
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
191
191
  }, {
192
192
  modelValue: string | number;
193
- type: InputType;
194
- size: InputSize;
193
+ type: "number" | "text" | "password" | "search";
194
+ size: "m" | "s";
195
195
  label: string;
196
196
  placeholder: string;
197
197
  hint: string;
@@ -1,4 +1,4 @@
1
- export { I as InputType, _ as OrInputV3 } from '../../OrInput-386e9352.js';
1
+ export { I as InputType, _ as OrInputV3 } from '../../OrInput-b7b43cd0.js';
2
2
  export { I as InputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
@@ -1,8 +1,8 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-7f444d5c.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-e8866022.js';
2
2
  export { I as SearchSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
- import '../../OrInput-386e9352.js';
5
+ import '../../OrInput-b7b43cd0.js';
6
6
  import '../../useIdAttribute-859439f0.js';
7
7
  import '../../useProxyModelValue-940010d2.js';
8
8
  import '../../useResponsive-a02e95b7.js';
@@ -23,13 +23,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
23
23
  dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
24
24
  noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
25
25
  controlId: import("@vue/composition-api").Ref<string>;
26
- proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | (string | number)[]>;
26
+ proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
27
27
  readonly: import("@vue/composition-api").ComputedRef<boolean>;
28
28
  isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
29
29
  selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
30
30
  searchText: import("@vue/composition-api").Ref<string>;
31
31
  internalSearchOptions: import("@vue/composition-api").Ref<{
32
- value: string | number;
32
+ value: string | number | object;
33
33
  label: string;
34
34
  }[]>;
35
35
  resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
@@ -49,7 +49,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
49
49
  default: () => never[];
50
50
  };
51
51
  modelValue: {
52
- type: PropType<string | number | (string | number)[]>;
52
+ type: PropType<string | number | object | string[] | object[] | number[]>;
53
53
  default: undefined;
54
54
  };
55
55
  multiple: {
@@ -114,7 +114,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
114
114
  default: () => never[];
115
115
  };
116
116
  modelValue: {
117
- type: PropType<string | number | (string | number)[]>;
117
+ type: PropType<string | number | object | string[] | object[] | number[]>;
118
118
  default: undefined;
119
119
  };
120
120
  multiple: {
@@ -170,7 +170,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
170
170
  default: boolean;
171
171
  };
172
172
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
173
- modelValue: string | number | (string | number)[];
173
+ modelValue: string | number | object | string[] | object[] | number[];
174
174
  label: string;
175
175
  options: SelectOption[];
176
176
  searchOptions: SelectOption[];
@@ -210,13 +210,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
210
210
  dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
211
211
  noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
212
212
  controlId: import("@vue/composition-api").Ref<string>;
213
- proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | (string | number)[]>;
213
+ proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
214
214
  readonly: import("@vue/composition-api").ComputedRef<boolean>;
215
215
  isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
216
216
  selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
217
217
  searchText: import("@vue/composition-api").Ref<string>;
218
218
  internalSearchOptions: import("@vue/composition-api").Ref<{
219
- value: string | number;
219
+ value: string | number | object;
220
220
  label: string;
221
221
  }[]>;
222
222
  resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
@@ -227,7 +227,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
227
227
  innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
228
228
  outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
229
229
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
230
- modelValue: string | number | (string | number)[];
230
+ modelValue: string | number | object | string[] | object[] | number[];
231
231
  label: string;
232
232
  options: SelectOption[];
233
233
  searchOptions: SelectOption[];
@@ -246,7 +246,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
246
246
  } & {} & {
247
247
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
248
248
  }, {
249
- modelValue: string | number | (string | number)[];
249
+ modelValue: string | number | object | string[] | object[] | number[];
250
250
  label: string;
251
251
  options: SelectOption[];
252
252
  searchOptions: SelectOption[];
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-ca46131d.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-b0a3200a.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';
@@ -7,7 +7,7 @@ import '@vueuse/core';
7
7
  import '../../useProxyModelValue-940010d2.js';
8
8
  import '@onereach/styles/tailwind.config';
9
9
  import 'tailwindcss/resolveConfig';
10
- import '../../OrCheckbox-43615f70.js';
10
+ import '../../OrCheckbox-0c2a7fa7.js';
11
11
  import '../../useIdAttribute-859439f0.js';
12
12
  import '../../OrLabel-63380256.js';
13
13
  import '../../normalize-component-6e8e3d80.js';
@@ -28,7 +28,7 @@ import '../../OrOverlay-948346df.js';
28
28
  import '../../OrTeleport.vue2-424c7f33.js';
29
29
  import 'portal-vue';
30
30
  import '../../OrInputBox-11227ecd.js';
31
- import '../../OrInput-386e9352.js';
31
+ import '../../OrInput-b7b43cd0.js';
32
32
  import '../../useValidationAttributes-d1abbe34.js';
33
33
  import '../../OrLoader-b0c381f9.js';
34
34
  import '../../OrMenuItem-f877508d.js';
@@ -1,5 +1,5 @@
1
1
  export interface SelectOption {
2
- value: string | number;
2
+ value: object | string | number;
3
3
  label: string;
4
4
  }
5
5
  export interface SelectSearchFunction {
@@ -8,12 +8,12 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
8
8
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-9622e713.js';
9
9
  export { _ as OrCard } from './OrCard-c44d9783.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-4eb5c533.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-74566219.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-04ac96cf.js';
12
12
  export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
13
13
  export { _ as OrCheckbox } from './OrCheckbox-91788c22.js';
14
- export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-4e6dbdd3.js';
15
- export { _ as OrCheckboxTreeV3, f as flattenDeep } from './OrCheckboxTree-ba023624.js';
16
- export { _ as OrCheckboxV3 } from './OrCheckbox-43615f70.js';
14
+ export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-026ecf5f.js';
15
+ export { _ as OrCheckboxTreeV3, f as flattenDeep } from './OrCheckboxTree-e991bcd9.js';
16
+ export { _ as OrCheckboxV3 } from './OrCheckbox-0c2a7fa7.js';
17
17
  export { _ as OrChip } from './OrChip-a614bbb9.js';
18
18
  export { _ as OrChips } from './OrChips-bdf51639.js';
19
19
  export { _ as OrCode, O as OrCodeLanguages } from './OrCode-cbd05828.js';
@@ -24,7 +24,7 @@ export { _ as OrCombinedInputV3 } from './OrCombinedInput-ed20e33b.js';
24
24
  export { _ as OrInputBoxV3 } from './OrInputBox-11227ecd.js';
25
25
  export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
26
26
  export { _ as OrConfirm } from './OrConfirm-f4eec5b2.js';
27
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-d8d3b5e1.js';
27
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-defe0311.js';
28
28
  export { _ as OrDatePickerV3 } from './OrDatePicker-83e53c79.js';
29
29
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-fb410167.js';
30
30
  export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-6378e37b.js';
@@ -47,7 +47,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-3fc1
47
47
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-f52267aa.js';
48
48
  export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-311f5088.js';
49
49
  export { _ as OrInput } from './OrInput-014d2e47.js';
50
- export { I as InputType, _ as OrInputV3 } from './OrInput-386e9352.js';
50
+ export { I as InputType, _ as OrInputV3 } from './OrInput-b7b43cd0.js';
51
51
  export { _ as OrLabel } from './OrLabel-fcceec1b.js';
52
52
  export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-63380256.js';
53
53
  export { L as LinkColor, _ as OrLinkV3 } from './OrLink-cf3a0091.js';
@@ -75,10 +75,10 @@ export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
75
75
  export { _ as OrRadioGroupV3 } from './OrRadioGroup-d1c2e460.js';
76
76
  export { _ as OrRadioV3 } from './OrRadio-b32dfbfe.js';
77
77
  export { _ as OrSearch } from './OrSearch-e2941d35.js';
78
- export { _ as OrSearchV3 } from './OrSearch-7f444d5c.js';
78
+ export { _ as OrSearchV3 } from './OrSearch-e8866022.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-b0a3200a.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 +1 @@
1
- export declare function isEmptyValue(val: string | number | boolean | null | undefined): boolean;
1
+ export declare function isEmptyValue(val: unknown): boolean;
@@ -57,7 +57,7 @@ var script = defineComponent({
57
57
  default: null
58
58
  },
59
59
  value: {
60
- type: [String, Boolean, Number],
60
+ type: [Object, String, Number, Boolean],
61
61
  default: null
62
62
  },
63
63
  label: {
@@ -3,7 +3,7 @@ import '@vueuse/core';
3
3
  import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
4
4
  import '@onereach/styles/tailwind.config';
5
5
  import 'tailwindcss/resolveConfig';
6
- import { s as script$1 } from './OrCheckboxTree-969bc928.js';
6
+ import { s as script$1 } from './OrCheckboxTree-9e08a6c4.js';
7
7
  import { s as script$2, F as FormGroupDirection } from './OrFormGroup-9f581536.js';
8
8
  import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
9
9
 
@@ -4,7 +4,7 @@ import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
4
4
  import '@onereach/styles/tailwind.config';
5
5
  import 'tailwindcss/resolveConfig';
6
6
  import { s as script$3 } from './OrButton-c2b6aa9e.js';
7
- import { s as script$2 } from './OrCheckbox-bb06af0f.js';
7
+ import { s as script$2 } from './OrCheckbox-d1ceab55.js';
8
8
  import { s as script$1 } from './OrIcon-62793572.js';
9
9
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderList } from 'vue';
10
10
 
@@ -5,7 +5,7 @@ import '@vueuse/core';
5
5
  import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
6
6
  import '@onereach/styles/tailwind.config';
7
7
  import 'tailwindcss/resolveConfig';
8
- import { s as script$1, i as isEmptyValue } from './OrCheckbox-bb06af0f.js';
8
+ import { s as script$1, i as isEmptyValue } from './OrCheckbox-d1ceab55.js';
9
9
  import { s as script$2 } from './OrError-c01d0c29.js';
10
10
  import { s as script$3 } from './OrExpansionPanel-891154e6.js';
11
11
  import { s as script$4 } from './OrHint-06ab89d7.js';
@@ -103,7 +103,7 @@ var script = defineComponent({
103
103
  default: () => []
104
104
  },
105
105
  modelValue: {
106
- type: [String, Number, Array],
106
+ type: [Object, String, Number, Array],
107
107
  default: undefined
108
108
  },
109
109
  multiple: {
@@ -371,9 +371,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
371
371
  }, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? renderSlot(_ctx.$slots, "valueTemplate", {
372
372
  key: 0,
373
373
  model: _ctx.proxyModelValue
374
- }, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
374
+ }, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, (option, i) => {
375
375
  return openBlock(), createBlock(_component_OrTag, {
376
- key: option.value,
376
+ key: i,
377
377
  variant: 'reset',
378
378
  disabled: _ctx.disabled || _ctx.readonly,
379
379
  onReset: $event => _ctx.deselect(option)
@@ -390,7 +390,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
390
390
  }, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
391
391
  key: 0,
392
392
  model: _ctx.proxyModelValue
393
- }, () => [createElementVNode("span", _hoisted_2, toDisplayString(_ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
393
+ }, () => [createElementVNode("span", _hoisted_2, toDisplayString(_ctx.selection && _ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
394
394
  key: 1,
395
395
  class: normalizeClass(_ctx.placeholderStyles)
396
396
  }, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
@@ -432,9 +432,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
432
432
  }, {
433
433
  default: withCtx(() => [_ctx.multiple ? (openBlock(true), createElementBlock(Fragment, {
434
434
  key: 0
435
- }, renderList(group, option => {
435
+ }, renderList(group, (option, i) => {
436
436
  return openBlock(), createBlock(_component_OrMenuItem, {
437
- key: option.value
437
+ key: i
438
438
  }, {
439
439
  default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
440
440
  model: _ctx.proxyModelValue,
@@ -450,9 +450,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
450
450
  }, 1024 /* DYNAMIC_SLOTS */);
451
451
  }), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
452
452
  key: 1
453
- }, renderList(group, option => {
453
+ }, renderList(group, (option, i) => {
454
454
  return openBlock(), createBlock(_component_OrMenuItem, {
455
- key: option.value,
455
+ key: i,
456
456
  onClick: withModifiers($event => {
457
457
  _ctx.proxyModelValue = option.value;
458
458
  _ctx.close();
@@ -473,9 +473,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
473
473
  key: 1
474
474
  }, [_ctx.multiple ? (openBlock(true), createElementBlock(Fragment, {
475
475
  key: 0
476
- }, renderList(_ctx.resolvedSearchOptions, option => {
476
+ }, renderList(_ctx.resolvedSearchOptions, (option, i) => {
477
477
  return openBlock(), createBlock(_component_OrMenuItem, {
478
- key: option.value
478
+ key: i
479
479
  }, {
480
480
  default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
481
481
  model: _ctx.proxyModelValue,
@@ -491,9 +491,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
491
491
  }, 1024 /* DYNAMIC_SLOTS */);
492
492
  }), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
493
493
  key: 1
494
- }, renderList(_ctx.resolvedSearchOptions, option => {
494
+ }, renderList(_ctx.resolvedSearchOptions, (option, i) => {
495
495
  return openBlock(), createBlock(_component_OrMenuItem, {
496
- key: option.value,
496
+ key: i,
497
497
  onClick: withModifiers($event => {
498
498
  _ctx.proxyModelValue = option.value;
499
499
  _ctx.close();
@@ -10,9 +10,9 @@ export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCol
10
10
  export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-af28d2f0.js';
11
11
  export { s as OrCardV3 } from '../OrCard-cc82902c.js';
12
12
  export { s as OrCheckbox } from '../OrCheckbox-72ae9748.js';
13
- export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-9a8ab902.js';
14
- export { s as OrCheckboxTreeV3 } from '../OrCheckboxTree-969bc928.js';
15
- export { s as OrCheckboxV3 } from '../OrCheckbox-bb06af0f.js';
13
+ export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-6ec89f2a.js';
14
+ export { s as OrCheckboxTreeV3 } from '../OrCheckboxTree-9e08a6c4.js';
15
+ export { s as OrCheckboxV3 } from '../OrCheckbox-d1ceab55.js';
16
16
  export { s as OrChip } from '../OrChip-857982e0.js';
17
17
  export { s as OrChips } from '../OrChips-053f3a92.js';
18
18
  export { s as OrCode, O as OrCodeLanguages } from '../OrCode-2f8cdf96.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-024d3e4e.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,14 +1,14 @@
1
- export { s as OrCheckboxGroupV3 } from '../../OrCheckboxGroup-9a8ab902.js';
1
+ export { s as OrCheckboxGroupV3 } from '../../OrCheckboxGroup-6ec89f2a.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
4
  import '../../useProxyModelValue-940010d2.js';
5
5
  import '@onereach/styles/tailwind.config';
6
6
  import 'tailwindcss/resolveConfig';
7
- import '../../OrCheckboxTree-969bc928.js';
7
+ import '../../OrCheckboxTree-9e08a6c4.js';
8
8
  import '../../OrButton-c2b6aa9e.js';
9
9
  import '../../OrLoader-b79022da.js';
10
10
  import 'vue';
11
- import '../../OrCheckbox-bb06af0f.js';
11
+ import '../../OrCheckbox-d1ceab55.js';
12
12
  import '../../useIdAttribute-859439f0.js';
13
13
  import '../../OrLabel-4da56db0.js';
14
14
  import '../../style-inject.es-4c6f2515.js';
@@ -1,4 +1,4 @@
1
- export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree-969bc928.js';
1
+ export { s as OrCheckboxTreeV3 } from '../../OrCheckboxTree-9e08a6c4.js';
2
2
  import '@vueuse/core';
3
3
  import 'vue-demi';
4
4
  import '../../useProxyModelValue-940010d2.js';
@@ -7,7 +7,7 @@ import 'tailwindcss/resolveConfig';
7
7
  import '../../OrButton-c2b6aa9e.js';
8
8
  import '../../OrLoader-b79022da.js';
9
9
  import 'vue';
10
- import '../../OrCheckbox-bb06af0f.js';
10
+ import '../../OrCheckbox-d1ceab55.js';
11
11
  import '../../useIdAttribute-859439f0.js';
12
12
  import '../../OrLabel-4da56db0.js';
13
13
  import '../../style-inject.es-4c6f2515.js';
@@ -6,7 +6,7 @@ declare const _default: import("vue-demi").DefineComponent<{
6
6
  default: null;
7
7
  };
8
8
  value: {
9
- type: PropType<string | number | boolean>;
9
+ type: PropType<string | number | boolean | object>;
10
10
  default: null;
11
11
  };
12
12
  label: {
@@ -14,7 +14,7 @@ declare const _default: import("vue-demi").DefineComponent<{
14
14
  default: undefined;
15
15
  };
16
16
  labelVariant: {
17
- type: PropType<LabelVariant>;
17
+ type: PropType<"input" | "toggle">;
18
18
  default: LabelVariant;
19
19
  };
20
20
  indeterminate: {
@@ -50,7 +50,7 @@ declare const _default: import("vue-demi").DefineComponent<{
50
50
  default: null;
51
51
  };
52
52
  value: {
53
- type: PropType<string | number | boolean>;
53
+ type: PropType<string | number | boolean | object>;
54
54
  default: null;
55
55
  };
56
56
  label: {
@@ -58,7 +58,7 @@ declare const _default: import("vue-demi").DefineComponent<{
58
58
  default: undefined;
59
59
  };
60
60
  labelVariant: {
61
- type: PropType<LabelVariant>;
61
+ type: PropType<"input" | "toggle">;
62
62
  default: LabelVariant;
63
63
  };
64
64
  indeterminate: {
@@ -80,9 +80,9 @@ declare const _default: import("vue-demi").DefineComponent<{
80
80
  onBlur?: ((...args: any[]) => any) | undefined;
81
81
  }, {
82
82
  modelValue: any;
83
- value: string | number | boolean;
83
+ value: string | number | boolean | object;
84
84
  label: string;
85
- labelVariant: LabelVariant;
85
+ labelVariant: "input" | "toggle";
86
86
  indeterminate: boolean;
87
87
  required: boolean;
88
88
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- export { s as OrCheckboxV3 } from '../../OrCheckbox-bb06af0f.js';
1
+ export { s as OrCheckboxV3 } from '../../OrCheckbox-d1ceab55.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-859439f0.js';
4
4
  import '@vueuse/core';
@@ -6,11 +6,11 @@ declare const _default: import("vue-demi").DefineComponent<{
6
6
  default: undefined;
7
7
  };
8
8
  type: {
9
- type: PropType<InputType>;
9
+ type: PropType<"number" | "search" | "text" | "password">;
10
10
  default: InputType;
11
11
  };
12
12
  size: {
13
- type: PropType<InputSize>;
13
+ type: PropType<"m" | "s">;
14
14
  default: InputSize;
15
15
  };
16
16
  label: {
@@ -84,11 +84,11 @@ declare const _default: import("vue-demi").DefineComponent<{
84
84
  default: undefined;
85
85
  };
86
86
  type: {
87
- type: PropType<InputType>;
87
+ type: PropType<"number" | "search" | "text" | "password">;
88
88
  default: InputType;
89
89
  };
90
90
  size: {
91
- type: PropType<InputSize>;
91
+ type: PropType<"m" | "s">;
92
92
  default: InputSize;
93
93
  };
94
94
  label: {
@@ -139,8 +139,8 @@ declare const _default: import("vue-demi").DefineComponent<{
139
139
  onBlur?: ((...args: any[]) => any) | undefined;
140
140
  }, {
141
141
  modelValue: string | number;
142
- type: InputType;
143
- size: InputSize;
142
+ type: "number" | "search" | "text" | "password";
143
+ size: "m" | "s";
144
144
  label: string;
145
145
  placeholder: string;
146
146
  hint: string;
@@ -11,7 +11,7 @@ declare const _default: import("vue-demi").DefineComponent<{
11
11
  default: () => never[];
12
12
  };
13
13
  modelValue: {
14
- type: PropType<string | number | (string | number)[]>;
14
+ type: PropType<string | number | object | string[] | object[] | number[]>;
15
15
  default: undefined;
16
16
  };
17
17
  multiple: {
@@ -80,13 +80,13 @@ declare const _default: import("vue-demi").DefineComponent<{
80
80
  dropdownStyles: import("vue-demi").ComputedRef<string[]>;
81
81
  noSearchResultsStyles: import("vue-demi").ComputedRef<string[]>;
82
82
  controlId: import("vue-demi").Ref<string>;
83
- proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | (string | number)[] | undefined>;
83
+ proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[] | undefined>;
84
84
  readonly: import("vue-demi").ComputedRef<boolean>;
85
85
  isEmptyModelValue: import("vue-demi").ComputedRef<boolean>;
86
86
  selection: import("vue-demi").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
87
87
  searchText: import("vue-demi").Ref<string>;
88
88
  internalSearchOptions: import("vue-demi").Ref<{
89
- value: string | number;
89
+ value: string | number | object;
90
90
  label: string;
91
91
  }[]>;
92
92
  resolvedSearchOptions: import("vue-demi").ComputedRef<SelectOption[]>;
@@ -106,7 +106,7 @@ declare const _default: import("vue-demi").DefineComponent<{
106
106
  default: () => never[];
107
107
  };
108
108
  modelValue: {
109
- type: PropType<string | number | (string | number)[]>;
109
+ type: PropType<string | number | object | string[] | object[] | number[]>;
110
110
  default: undefined;
111
111
  };
112
112
  multiple: {
@@ -167,7 +167,7 @@ declare const _default: import("vue-demi").DefineComponent<{
167
167
  onFocus?: ((...args: any[]) => any) | undefined;
168
168
  onBlur?: ((...args: any[]) => any) | undefined;
169
169
  }, {
170
- modelValue: string | number | (string | number)[];
170
+ modelValue: string | number | object | string[] | object[] | number[];
171
171
  label: string;
172
172
  options: SelectOption[];
173
173
  searchOptions: SelectOption[];
@@ -1,4 +1,4 @@
1
- export { s as OrSelectV3 } from '../../OrSelect-4c76e702.js';
1
+ export { s as OrSelectV3 } from '../../OrSelect-024d3e4e.js';
2
2
  export { I as SelectSize } from '../../OrInputBox-32b37b17.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -7,7 +7,7 @@ import '@vueuse/core';
7
7
  import '../../useProxyModelValue-940010d2.js';
8
8
  import '@onereach/styles/tailwind.config';
9
9
  import 'tailwindcss/resolveConfig';
10
- import '../../OrCheckbox-bb06af0f.js';
10
+ import '../../OrCheckbox-d1ceab55.js';
11
11
  import '../../useIdAttribute-859439f0.js';
12
12
  import '../../OrLabel-4da56db0.js';
13
13
  import 'vue';
@@ -1,5 +1,5 @@
1
1
  export interface SelectOption {
2
- value: string | number;
2
+ value: object | string | number;
3
3
  label: string;
4
4
  }
5
5
  export interface SelectSearchFunction {
@@ -10,9 +10,9 @@ export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardColl
10
10
  export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-af28d2f0.js';
11
11
  export { s as OrCardV3 } from './OrCard-cc82902c.js';
12
12
  export { s as OrCheckbox } from './OrCheckbox-72ae9748.js';
13
- export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-9a8ab902.js';
14
- export { s as OrCheckboxTreeV3, f as flattenDeep } from './OrCheckboxTree-969bc928.js';
15
- export { s as OrCheckboxV3 } from './OrCheckbox-bb06af0f.js';
13
+ export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-6ec89f2a.js';
14
+ export { s as OrCheckboxTreeV3, f as flattenDeep } from './OrCheckboxTree-9e08a6c4.js';
15
+ export { s as OrCheckboxV3 } from './OrCheckbox-d1ceab55.js';
16
16
  export { s as OrChip } from './OrChip-857982e0.js';
17
17
  export { s as OrChips } from './OrChips-053f3a92.js';
18
18
  export { s as OrCode, O as OrCodeLanguages } from './OrCode-2f8cdf96.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-024d3e4e.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 +1 @@
1
- export declare function isEmptyValue(val: string | number | boolean | null | undefined): boolean;
1
+ export declare function isEmptyValue(val: unknown): boolean;
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.2995.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
  }