@onereach/ui-components 2.68.1-beta.2065.0 → 2.68.1-beta.2067.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 (36) hide show
  1. package/dist/bundled/v2/{OrCardCollection-0eaf7489.js → OrCardCollection-94a30a19.js} +67 -37
  2. package/dist/bundled/v2/{OrSearch-e34afaee.js → OrSearch-3ece0ef6.js} +2 -2
  3. package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
  4. package/dist/bundled/v2/components/index.js +3 -3
  5. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
  6. package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -2
  7. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  8. package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
  9. package/dist/bundled/v2/index.js +4 -4
  10. package/dist/bundled/v3/OrButton-8ab33d9d.js +33 -0
  11. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-26d9a7c8.js → OrCardCollection.vue_vue_type_script_lang-0e029303.js} +63 -35
  12. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2e7fa659.js → OrConfirm.vue_vue_type_script_lang-18997376.js} +6 -36
  13. package/dist/bundled/v3/OrMenu-f26e8e55.js +29 -0
  14. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-1d2a20e0.js → OrSearch.vue_vue_type_script_lang-147a1fb9.js} +1 -1
  15. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-919b2021.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +10 -36
  16. package/dist/bundled/v3/components/index.js +9 -7
  17. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
  18. package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -2
  19. package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -1
  20. package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
  21. package/dist/bundled/v3/components/or-tabs-v3/index.js +2 -1
  22. package/dist/bundled/v3/index.js +188 -173
  23. package/dist/esm/v2/{OrCardCollection-7bf35252.js → OrCardCollection-54648673.js} +69 -37
  24. package/dist/esm/v2/components/index.js +1 -1
  25. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
  26. package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -2
  27. package/dist/esm/v2/index.js +1 -1
  28. package/dist/esm/v3/{OrCardCollection-9682c6ef.js → OrCardCollection-9d0036fa.js} +76 -36
  29. package/dist/esm/v3/components/index.js +1 -1
  30. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -26
  31. package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -2
  32. package/dist/esm/v3/index.js +1 -1
  33. package/package.json +1 -1
  34. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +57 -52
  35. package/src/components/or-card-collection-v3/OrCardCollection.vue +72 -34
  36. package/src/components/or-card-collection-v3/styles.ts +1 -1
@@ -0,0 +1,33 @@
1
+ import { s as script } from './OrButton.vue_vue_type_script_lang-3718b300.js';
2
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
3
+
4
+ const _hoisted_1 = ["type", "disabled"];
5
+ const _hoisted_2 = {
6
+ key: 0,
7
+ class: /*#__PURE__*/normalizeClass(['absolute'])
8
+ };
9
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
10
+ const _component_OrLoader = resolveComponent("OrLoader");
11
+ return openBlock(), createElementBlock("button", mergeProps({
12
+ ref: "root"
13
+ }, _ctx.$attrs, {
14
+ class: _ctx.rootStyles,
15
+ type: _ctx.type,
16
+ disabled: _ctx.disabled,
17
+ onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
18
+ onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
19
+ onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
20
+ }), [createElementVNode("div", {
21
+ class: normalizeClass(['contents', _ctx.loading && 'invisible'])
22
+ }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.variant !== 'link' ? (openBlock(), createBlock(_component_OrLoader, {
23
+ key: 0,
24
+ variant: 'circular',
25
+ color: 'inherit',
26
+ size: 's'
27
+ })) : (openBlock(), createElementBlock(Fragment, {
28
+ key: 1
29
+ }, [createTextVNode(toDisplayString(_ctx.loadingText) + "… ", 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */))])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
30
+ }
31
+
32
+ script.render = render;
33
+ script.__file = "src/components/or-button-v3/OrButton.vue";
@@ -1,31 +1,16 @@
1
- import { resolveComponent, openBlock, createElementBlock, mergeProps, withModifiers, renderSlot, createBlock, normalizeClass, createCommentVNode, defineComponent, computed, Fragment, renderList, ref, watch } from 'vue';
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, resolveComponent, createBlock, ref, watch } from 'vue';
2
2
  import './OrIconButton-4bd33e3c.js';
3
3
  import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.js';
4
- import './OrInput-e97211bb.js';
5
- import { s as script$4 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
6
- import { s as script$2 } from './OrSortHeader.vue_vue_type_script_lang-75115125.js';
4
+ import './OrButton-8ab33d9d.js';
5
+ import './OrMenu-f26e8e55.js';
6
+ import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
7
+ import './OrMenuItem-4feaba6c.js';
8
+ import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
9
+ import './OrIcon-d878b768.js';
10
+ import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-147a1fb9.js';
7
11
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
8
-
9
- const _hoisted_1 = ["activated"];
10
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
11
- const _component_OrIcon = resolveComponent("OrIcon");
12
- return openBlock(), createElementBlock("div", mergeProps({
13
- ref: "root"
14
- }, _ctx.$attrs, {
15
- class: _ctx.rootStyles,
16
- activated: _ctx.activated ? '' : null,
17
- onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.toggleDirection(), ["stop"]))
18
- }), [renderSlot(_ctx.$slots, "default"), _ctx.activated ? (openBlock(), createBlock(_component_OrIcon, {
19
- key: 0,
20
- class: normalizeClass({
21
- 'rotate-180': _ctx.proxyModelValue.direction === 'asc'
22
- }),
23
- icon: 'arrow_downward'
24
- }, null, 8 /* PROPS */, ["class"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
25
- }
26
-
27
- script$2.render = render$1;
28
- script$2.__file = "src/components/or-sort-header-v3/OrSortHeader.vue";
12
+ import { s as script$4 } from './OrButton.vue_vue_type_script_lang-3718b300.js';
13
+ import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
29
14
 
30
15
  var CardCollectionView;
31
16
  (function (CardCollectionView) {
@@ -49,7 +34,7 @@ const CardCollectionToolbarPanel = [
49
34
  // Layout
50
35
  'layout-row',
51
36
  // Spacing
52
- 'gap-sm+'];
37
+ 'gap-lg+'];
53
38
  const CardCollectionContent = [
54
39
  // Layout
55
40
  'grid',
@@ -82,7 +67,7 @@ var script$1 = defineComponent({
82
67
  }
83
68
  });
84
69
 
85
- function render(_ctx, _cache, $props, $setup, $data, $options) {
70
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
86
71
  return openBlock(), createElementBlock("div", {
87
72
  class: normalizeClass(_ctx.contentStyles)
88
73
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
@@ -95,16 +80,47 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
95
80
  }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
96
81
  }
97
82
 
98
- script$1.render = render;
83
+ script$1.render = render$1;
99
84
  script$1.__file = "src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue";
100
85
 
86
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
87
+ const _component_OrInput = resolveComponent("OrInput");
88
+ return openBlock(), createBlock(_component_OrInput, mergeProps({
89
+ ref: "root"
90
+ }, _ctx.$attrs, {
91
+ modelValue: _ctx.localModelValue,
92
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localModelValue = $event),
93
+ modelModifiers: {
94
+ trim: true
95
+ },
96
+ class: _ctx.rootStyles,
97
+ type: 'search',
98
+ size: _ctx.size,
99
+ placeholder: _ctx.placeholder,
100
+ debounce: _ctx.debounce,
101
+ disabled: _ctx.disabled,
102
+ "disable-default-styles": _ctx.disableDefaultStyles,
103
+ onInput: _cache[1] || (_cache[1] = $event => _ctx.$emit('input', $event)),
104
+ onKeydown: _cache[2] || (_cache[2] = $event => _ctx.$emit('keydown', $event)),
105
+ onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
106
+ onFocus: _cache[4] || (_cache[4] = $event => _ctx.$emit('focus', $event)),
107
+ onBlur: _cache[5] || (_cache[5] = $event => _ctx.$emit('blur', $event))
108
+ }), null, 16 /* FULL_PROPS */, ["modelValue", "class", "size", "placeholder", "debounce", "disabled", "disable-default-styles"]);
109
+ }
110
+
111
+ script$2.render = render;
112
+ script$2.__file = "src/components/or-search-v3/OrSearch.vue";
113
+
101
114
  var script = defineComponent({
102
115
  name: 'OrCardCollection',
103
116
  components: {
104
117
  OrCardCollectionView: script$1,
105
118
  OrIconButton: script$3,
106
- OrInput: script$4,
107
- OrSortHeader: script$2
119
+ OrButton: script$4,
120
+ OrMenu: script$5,
121
+ OrMenuItem: script$6,
122
+ OrIcon: script$7,
123
+ OrSearch: script$2
108
124
  },
109
125
  inheritAttrs: false,
110
126
  props: {
@@ -117,12 +133,12 @@ var script = defineComponent({
117
133
  default: CardCollectionView.Grid
118
134
  },
119
135
  sort: {
120
- type: Object,
121
- default: undefined
136
+ type: String,
137
+ required: true
122
138
  },
123
- sortHeaders: {
139
+ sortOptions: {
124
140
  type: Array,
125
- default: undefined
141
+ default: () => []
126
142
  },
127
143
  search: {
128
144
  type: String,
@@ -134,6 +150,8 @@ var script = defineComponent({
134
150
  setup(props, context) {
135
151
  // Refs
136
152
  const root = ref();
153
+ const sortMenu = ref();
154
+ const sortButton = ref();
137
155
  // Styles
138
156
  const classAttribute = useClassAttribute();
139
157
  const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
@@ -150,6 +168,12 @@ var script = defineComponent({
150
168
  function switchToListView() {
151
169
  proxyView.value = CardCollectionView.List;
152
170
  }
171
+ function handleSort(sort) {
172
+ proxySort.value = sort;
173
+ }
174
+ function handleSearch(search) {
175
+ proxySearch.value = search;
176
+ }
153
177
  // Effects
154
178
  watch(() => props.view, value => {
155
179
  proxyView.value = value;
@@ -171,6 +195,8 @@ var script = defineComponent({
171
195
  });
172
196
  return {
173
197
  root,
198
+ sortMenu,
199
+ sortButton,
174
200
  rootStyles,
175
201
  toolbarStyles,
176
202
  toolbarPanelStyles,
@@ -178,7 +204,9 @@ var script = defineComponent({
178
204
  proxySort,
179
205
  proxySearch,
180
206
  switchToGridView,
181
- switchToListView
207
+ switchToListView,
208
+ handleSort,
209
+ handleSearch
182
210
  };
183
211
  }
184
212
  });
@@ -1,43 +1,13 @@
1
- import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, defineComponent, ref, computed, watch } from 'vue';
1
+ import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { useMagicKeys, whenever } from '@vueuse/core';
3
3
  import { l as logicAnd } from './index-01519e46.js';
4
4
  import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
5
- import { s as script$1, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-3718b300.js';
5
+ import './OrButton-8ab33d9d.js';
6
6
  import './OrInput-e97211bb.js';
7
- import { s as script$2 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
7
+ import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-3718b300.js';
8
+ import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
8
9
  import { s as script$3 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
9
10
 
10
- const _hoisted_1 = ["type", "disabled"];
11
- const _hoisted_2 = {
12
- key: 0,
13
- class: /*#__PURE__*/normalizeClass(['absolute'])
14
- };
15
- function render(_ctx, _cache, $props, $setup, $data, $options) {
16
- const _component_OrLoader = resolveComponent("OrLoader");
17
- return openBlock(), createElementBlock("button", mergeProps({
18
- ref: "root"
19
- }, _ctx.$attrs, {
20
- class: _ctx.rootStyles,
21
- type: _ctx.type,
22
- disabled: _ctx.disabled,
23
- onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
24
- onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
25
- onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
26
- }), [createElementVNode("div", {
27
- class: normalizeClass(['contents', _ctx.loading && 'invisible'])
28
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.variant !== 'link' ? (openBlock(), createBlock(_component_OrLoader, {
29
- key: 0,
30
- variant: 'circular',
31
- color: 'inherit',
32
- size: 's'
33
- })) : (openBlock(), createElementBlock(Fragment, {
34
- key: 1
35
- }, [createTextVNode(toDisplayString(_ctx.loadingText) + "… ", 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */))])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
36
- }
37
-
38
- script$1.render = render;
39
- script$1.__file = "src/components/or-button-v3/OrButton.vue";
40
-
41
11
  var ConfirmType;
42
12
  (function (ConfirmType) {
43
13
  ConfirmType["D"] = "d";
@@ -89,8 +59,8 @@ const ConfirmFooterButtons = [
89
59
  var script = defineComponent({
90
60
  name: 'OrConfirm',
91
61
  components: {
92
- OrOverlay: script$2,
93
- OrButton: script$1,
62
+ OrOverlay: script$1,
63
+ OrButton: script$2,
94
64
  OrInput: script$3
95
65
  },
96
66
  props: {
@@ -0,0 +1,29 @@
1
+ import { s as script } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
2
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, createVNode, withCtx, createElementVNode, normalizeClass, withModifiers, renderSlot } from 'vue';
3
+
4
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
5
+ const _component_OrPopover = resolveComponent("OrPopover");
6
+ return openBlock(), createElementBlock("div", mergeProps({
7
+ ref: "root"
8
+ }, _ctx.$attrs, {
9
+ class: _ctx.rootStyles
10
+ }), [createVNode(_component_OrPopover, {
11
+ ref: "popover",
12
+ variant: 'auto',
13
+ trigger: _ctx.trigger,
14
+ placement: _ctx.placement,
15
+ "full-width": false,
16
+ "disable-default-styles": false,
17
+ "onUpdate:state": _cache[1] || (_cache[1] = $event => _ctx.$emit('update:state', $event))
18
+ }, {
19
+ default: withCtx(() => [createElementVNode("div", {
20
+ class: normalizeClass(_ctx.bodyStyles),
21
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
22
+ }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)]),
23
+
24
+ _: 3 /* FORWARDED */
25
+ }, 8 /* PROPS */, ["trigger", "placement"])], 16 /* FULL_PROPS */);
26
+ }
27
+
28
+ script.render = render;
29
+ script.__file = "src/components/or-menu-v3/OrMenu.vue";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import './OrInput-e97211bb.js';
4
- import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
5
4
  import { s as script$1 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
5
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
6
6
  import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
7
7
 
8
8
  var script = defineComponent({
@@ -1,40 +1,14 @@
1
1
  import { useResizeObserver } from '@vueuse/core';
2
- import { resolveComponent, openBlock, createElementBlock, mergeProps, createVNode, withCtx, createElementVNode, normalizeClass, withModifiers, renderSlot, defineComponent, ref, computed, reactive, watch, nextTick, onMounted } from 'vue';
2
+ import { openBlock, createElementBlock, mergeProps, renderSlot, defineComponent, ref, computed, reactive, watch, nextTick, onMounted } from 'vue';
3
3
  import './OrIcon-d878b768.js';
4
- import { s as script$1 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
4
+ import './OrMenu-f26e8e55.js';
5
5
  import './OrMenuItem-4feaba6c.js';
6
- import { s as script$2 } from './OrTab.vue_vue_type_script_lang-134ad9d1.js';
6
+ import { s as script$1 } from './OrTab.vue_vue_type_script_lang-134ad9d1.js';
7
7
  import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
8
- import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
8
+ import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
9
+ import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
9
10
  import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
10
11
 
11
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
12
- const _component_OrPopover = resolveComponent("OrPopover");
13
- return openBlock(), createElementBlock("div", mergeProps({
14
- ref: "root"
15
- }, _ctx.$attrs, {
16
- class: _ctx.rootStyles
17
- }), [createVNode(_component_OrPopover, {
18
- ref: "popover",
19
- variant: 'auto',
20
- trigger: _ctx.trigger,
21
- placement: _ctx.placement,
22
- "full-width": false,
23
- "disable-default-styles": false,
24
- "onUpdate:state": _cache[1] || (_cache[1] = $event => _ctx.$emit('update:state', $event))
25
- }, {
26
- default: withCtx(() => [createElementVNode("div", {
27
- class: normalizeClass(_ctx.bodyStyles),
28
- onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
29
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)]),
30
-
31
- _: 3 /* FORWARDED */
32
- }, 8 /* PROPS */, ["trigger", "placement"])], 16 /* FULL_PROPS */);
33
- }
34
-
35
- script$1.render = render$1;
36
- script$1.__file = "src/components/or-menu-v3/OrMenu.vue";
37
-
38
12
  const _hoisted_1 = ["selected"];
39
13
  function render(_ctx, _cache, $props, $setup, $data, $options) {
40
14
  return openBlock(), createElementBlock("div", mergeProps({
@@ -49,8 +23,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
49
23
  }), [renderSlot(_ctx.$slots, "default")], 16 /* FULL_PROPS */, _hoisted_1);
50
24
  }
51
25
 
52
- script$2.render = render;
53
- script$2.__file = "src/components/or-tab-v3/OrTab.vue";
26
+ script$1.render = render;
27
+ script$1.__file = "src/components/or-tab-v3/OrTab.vue";
54
28
 
55
29
  var TabsVariant;
56
30
  (function (TabsVariant) {
@@ -79,10 +53,10 @@ const TabsRootVariants = {
79
53
  var script = defineComponent({
80
54
  name: 'OrTabs',
81
55
  components: {
82
- OrIcon: script$3,
83
- OrMenu: script$1,
56
+ OrIcon: script$2,
57
+ OrMenu: script$3,
84
58
  OrMenuItem: script$4,
85
- OrTab: script$2
59
+ OrTab: script$1
86
60
  },
87
61
  inheritAttrs: false,
88
62
  props: {
@@ -8,7 +8,7 @@ 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, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-3718b300.js';
9
9
  export { s as OrCard } from '../OrCard.vue_vue_type_script_lang-90ba001b.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
11
- export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection.vue_vue_type_script_lang-26d9a7c8.js';
11
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection.vue_vue_type_script_lang-0e029303.js';
12
12
  export { s as OrCardV3 } from '../OrCard.vue_vue_type_script_lang-165de137.js';
13
13
  export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem.vue_vue_type_script_lang-ad286afc.js';
14
14
  export { s as OrCheckbox } from '../OrCheckbox.vue_vue_type_script_lang-d8a66818.js';
@@ -19,7 +19,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode.vue_vue_type_script
19
19
  export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-65cbb754.js';
20
20
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker.vue_vue_type_script_lang-4141378d.js';
21
21
  export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
22
- export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-2e7fa659.js';
22
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-18997376.js';
23
23
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
24
24
  export { s as OrError } from '../OrError.vue_vue_type_script_lang-7c39e012.js';
25
25
  export { s as OrErrorTagV3 } from '../OrErrorTag.vue_vue_type_script_lang-4828c387.js';
@@ -63,7 +63,7 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
63
63
  export { s as OrRadio } from '../OrRadio.vue_vue_type_script_lang-c956b54b.js';
64
64
  export { s as OrRadioGroup } from '../OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
65
65
  export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-2e666a56.js';
66
- export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-1d2a20e0.js';
66
+ export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-147a1fb9.js';
67
67
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
68
68
  export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
69
69
  export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-58b92fb0.js';
@@ -80,7 +80,7 @@ export { s as OrTab } from '../OrTab.vue_vue_type_script_lang-de7c7063.js';
80
80
  export { s as OrTabHeaderItem } from '../OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js';
81
81
  export { s as OrTabV3 } from '../OrTab.vue_vue_type_script_lang-134ad9d1.js';
82
82
  export { s as OrTabs } from '../OrTabs.vue_vue_type_script_lang-40e2a6e9.js';
83
- export { s as OrTabsV3, T as TabsVariant } from '../OrTabs.vue_vue_type_script_lang-919b2021.js';
83
+ export { s as OrTabsV3, T as TabsVariant } from '../OrTabs.vue_vue_type_script_lang-61b79a5a.js';
84
84
  export { s as OrTag } from '../OrTag.vue_vue_type_script_lang-8c526c11.js';
85
85
  export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag.vue_vue_type_script_lang-92d9fb12.js';
86
86
  export { s as OrTeleport } from '../OrTeleportVue3-012351e1.js';
@@ -106,7 +106,10 @@ import '../OrLoader-ee97fef4.js';
106
106
  import '../OrLoader-c4bbef2f.js';
107
107
  import '../OrIconButton-e637158e.js';
108
108
  import '../OrIconButton-4bd33e3c.js';
109
- import '../OrInput-e97211bb.js';
109
+ import '../OrButton-8ab33d9d.js';
110
+ import '../OrMenu-f26e8e55.js';
111
+ import '../OrMenuItem-4feaba6c.js';
112
+ import '../OrIcon-d878b768.js';
110
113
  import '../OrLabel-c6873e79.js';
111
114
  import '../OrLabel-e412c532.js';
112
115
  import '../OrError-b43ebad8.js';
@@ -117,8 +120,8 @@ import '../dom-d21d0a92.js';
117
120
  import '../OrFloating-b6672a37.js';
118
121
  import '../index-01519e46.js';
119
122
  import '../OrButton-ec723bb7.js';
123
+ import '../OrInput-e97211bb.js';
120
124
  import '../OrCollapse-63e83681.js';
121
- import '../OrIcon-d878b768.js';
122
125
  import '../floating-ui.dom.esm-83eba816.js';
123
126
  import '../OrHint-9592499e.js';
124
127
  import '../OrInlineInputBox-9d68ded1.js';
@@ -128,6 +131,5 @@ import '../v4-cf8987a3.js';
128
131
  import '../OrPopover-c462ce77.js';
129
132
  import '../useResponsive-9d397e2a.js';
130
133
  import '../useElevation-c8d5d3ba.js';
131
- import '../OrMenuItem-4feaba6c.js';
132
134
  import '../dropdown-open-293d2de2.js';
133
135
  import '../useOverflow-2468b718.js';
@@ -1,20 +1,28 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { SortHeaderModel } from '../or-sort-header-v3';
3
2
  import { CardCollectionView } from './props';
4
- import { CardCollectionItem, CardCollectionSortHeader } from './types';
3
+ import { CardCollectionItem } from './types';
5
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
6
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
6
+ sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
7
+ [x: string]: ((...args: any[]) => any) | null;
8
+ } | string[], {} & {}, {
9
+ [x: number]: string;
10
+ } | {}, true>)) | undefined>;
11
+ sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
12
+ [x: string]: ((...args: any[]) => any) | null;
13
+ } | string[], {} & {}, {
14
+ [x: number]: string;
15
+ } | {}, true>)) | undefined>;
7
16
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
8
17
  toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
9
18
  toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
10
19
  proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
11
- proxySort: import("@vue/composition-api").Ref<{
12
- column: string;
13
- direction: "asc" | "desc";
14
- }>;
20
+ proxySort: import("@vue/composition-api").Ref<string>;
15
21
  proxySearch: import("@vue/composition-api").Ref<string>;
16
22
  switchToGridView: () => void;
17
23
  switchToListView: () => void;
24
+ handleSort: (sort: string) => void;
25
+ handleSearch: (search: string) => void;
18
26
  }> & import("@vue/composition-api").Data, {}, {}, {
19
27
  items: {
20
28
  type: PropType<CardCollectionItem[]>;
@@ -25,12 +33,12 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
25
33
  default: CardCollectionView;
26
34
  };
27
35
  sort: {
28
- type: PropType<SortHeaderModel>;
29
- default: undefined;
36
+ type: StringConstructor;
37
+ required: true;
30
38
  };
31
- sortHeaders: {
32
- type: PropType<CardCollectionSortHeader[]>;
33
- default: undefined;
39
+ sortOptions: {
40
+ type: PropType<string[]>;
41
+ default: () => never[];
34
42
  };
35
43
  search: {
36
44
  type: StringConstructor;
@@ -46,12 +54,12 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
46
54
  default: CardCollectionView;
47
55
  };
48
56
  sort: {
49
- type: PropType<SortHeaderModel>;
50
- default: undefined;
57
+ type: StringConstructor;
58
+ required: true;
51
59
  };
52
- sortHeaders: {
53
- type: PropType<CardCollectionSortHeader[]>;
54
- default: undefined;
60
+ sortOptions: {
61
+ type: PropType<string[]>;
62
+ default: () => never[];
55
63
  };
56
64
  search: {
57
65
  type: StringConstructor;
@@ -59,38 +67,46 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
59
67
  };
60
68
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
61
69
  search: string;
62
- sort: SortHeaderModel;
70
+ sort: string;
63
71
  items: CardCollectionItem[];
64
72
  view: CardCollectionView;
65
- sortHeaders: CardCollectionSortHeader[];
73
+ sortOptions: string[];
66
74
  } & {} & {
67
75
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
68
76
  }, import("@vue/composition-api").ShallowUnwrapRef<{
69
77
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
78
+ sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
79
+ [x: string]: ((...args: any[]) => any) | null;
80
+ } | string[], {} & {}, {
81
+ [x: number]: string;
82
+ } | {}, true>)) | undefined>;
83
+ sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
84
+ [x: string]: ((...args: any[]) => any) | null;
85
+ } | string[], {} & {}, {
86
+ [x: number]: string;
87
+ } | {}, true>)) | undefined>;
70
88
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
71
89
  toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
72
90
  toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
73
91
  proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
74
- proxySort: import("@vue/composition-api").Ref<{
75
- column: string;
76
- direction: "asc" | "desc";
77
- }>;
92
+ proxySort: import("@vue/composition-api").Ref<string>;
78
93
  proxySearch: import("@vue/composition-api").Ref<string>;
79
94
  switchToGridView: () => void;
80
95
  switchToListView: () => void;
96
+ handleSort: (sort: string) => void;
97
+ handleSearch: (search: string) => void;
81
98
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
82
99
  search: string;
83
- sort: SortHeaderModel;
100
+ sort: string;
84
101
  items: CardCollectionItem[];
85
102
  view: CardCollectionView;
86
- sortHeaders: CardCollectionSortHeader[];
103
+ sortOptions: string[];
87
104
  } & {} & {
88
105
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
89
106
  }, {
90
107
  search: string;
91
- sort: SortHeaderModel;
92
108
  items: CardCollectionItem[];
93
109
  view: CardCollectionView;
94
- sortHeaders: CardCollectionSortHeader[];
110
+ sortOptions: string[];
95
111
  }, true>);
96
112
  export default _default;
@@ -1,4 +1,4 @@
1
- export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-26d9a7c8.js';
1
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-0e029303.js';
2
2
  import 'vue';
3
3
  import '../../OrIconButton-4bd33e3c.js';
4
4
  import '../../OrIconButton.vue_vue_type_script_lang-641f6e06.js';
@@ -15,6 +15,15 @@ import '../../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
15
15
  import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
16
16
  import '../../useElevation-c8d5d3ba.js';
17
17
  import '../../useResponsive-9d397e2a.js';
18
+ import '../../OrButton-8ab33d9d.js';
19
+ import '../../OrButton.vue_vue_type_script_lang-3718b300.js';
20
+ import '../../OrLoader-c4bbef2f.js';
21
+ import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
22
+ import '../../OrMenu-f26e8e55.js';
23
+ import '../../OrMenu.vue_vue_type_script_lang-2446a69a.js';
24
+ import '../../OrMenuItem-4feaba6c.js';
25
+ import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
26
+ import '../../OrSearch.vue_vue_type_script_lang-147a1fb9.js';
18
27
  import '../../OrInput-e97211bb.js';
19
28
  import '../../OrInput.vue_vue_type_script_lang-f6d793d3.js';
20
29
  import '../../OrHint-9592499e.js';
@@ -25,4 +34,3 @@ import '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
25
34
  import '../../OrLabel-c6873e79.js';
26
35
  import '../../OrLabel.vue_vue_type_script_lang-96f94c4e.js';
27
36
  import '../../style-inject.es-4c6f2515.js';
28
- import '../../OrSortHeader.vue_vue_type_script_lang-75115125.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-2e7fa659.js';
1
+ export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm.vue_vue_type_script_lang-18997376.js';
2
2
  import 'vue';
3
3
  import '@vueuse/core';
4
4
  import '../../index-01519e46.js';
@@ -7,6 +7,7 @@ import '../../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
7
7
  import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
8
8
  import '../../useClassAttribute-00888f78.js';
9
9
  import '../../useElevation-c8d5d3ba.js';
10
+ import '../../OrButton-8ab33d9d.js';
10
11
  import '../../OrButton.vue_vue_type_script_lang-3718b300.js';
11
12
  import '../../OrLoader-c4bbef2f.js';
12
13
  import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
@@ -1,4 +1,4 @@
1
- export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-1d2a20e0.js';
1
+ export { s as OrSearchV3 } from '../../OrSearch.vue_vue_type_script_lang-147a1fb9.js';
2
2
  export { a as SearchSize } from '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
3
3
  import 'vue';
4
4
  import '@vueuse/core';
@@ -1,9 +1,10 @@
1
- export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs.vue_vue_type_script_lang-919b2021.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs.vue_vue_type_script_lang-61b79a5a.js';
2
2
  import '@vueuse/core';
3
3
  import 'vue';
4
4
  import '../../OrIcon-d878b768.js';
5
5
  import '../../OrIcon.vue_vue_type_script_lang-a119a715.js';
6
6
  import '../../useClassAttribute-00888f78.js';
7
+ import '../../OrMenu-f26e8e55.js';
7
8
  import '../../OrMenu.vue_vue_type_script_lang-2446a69a.js';
8
9
  import '../../OrPopover-c462ce77.js';
9
10
  import '../../OrPopover.vue_vue_type_script_lang-54c7b11c.js';