@onereach/ui-components 2.69.1-beta.2095.0 → 2.69.1-beta.2097.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 (142) hide show
  1. package/dist/bundled/v2/{OrButton-66d37aff.js → OrButton-0e91a808.js} +1 -14
  2. package/dist/bundled/v2/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
  3. package/dist/bundled/v2/OrCardCollection-8606c407.js +336 -0
  4. package/dist/bundled/v2/{OrConfirm-e1ca1422.js → OrConfirm-18c534df.js} +1 -1
  5. package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-19f43fe5.js} +2 -2
  6. package/dist/bundled/v2/{OrSelect-1c9421ad.js → OrSelect-759b4410.js} +3 -3
  7. package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
  8. package/dist/bundled/v2/components/index.d.ts +0 -1
  9. package/dist/bundled/v2/components/index.js +7 -8
  10. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  11. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  12. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  13. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  14. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  15. package/dist/bundled/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  16. package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -4
  17. package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +8 -3
  18. package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
  19. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  20. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  21. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  22. package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
  23. package/dist/bundled/v2/components/or-select-v3/index.js +1 -1
  24. package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
  25. package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
  26. package/dist/bundled/v2/index.js +8 -9
  27. package/dist/bundled/v3/{OrButton-9640286b.js → OrButton-8ab33d9d.js} +2 -3
  28. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-06d8ead1.js → OrButton.vue_vue_type_script_lang-3718b300.js} +1 -13
  29. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-80c10c12.js +229 -0
  30. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f1b81f00.js → OrConfirm.vue_vue_type_script_lang-85472b12.js} +2 -2
  31. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-cb2d6612.js} +1 -1
  32. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-d0626539.js → OrSelect.vue_vue_type_script_lang-dfadd12f.js} +2 -2
  33. package/dist/bundled/v3/components/index.d.ts +0 -1
  34. package/dist/bundled/v3/components/index.js +10 -11
  35. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  36. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  37. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  38. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  39. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  40. package/dist/bundled/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  41. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -4
  42. package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +8 -3
  43. package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
  44. package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
  45. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  46. package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
  47. package/dist/bundled/v3/components/or-select-v3/index.js +1 -1
  48. package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
  49. package/dist/bundled/v3/index.js +295 -354
  50. package/dist/esm/v2/{OrButton-3d4fc9da.js → OrButton-357a5756.js} +1 -14
  51. package/dist/esm/v2/OrCardCollection-e7a4ead6.js +336 -0
  52. package/dist/esm/v2/{OrConfirm-ba3f8c45.js → OrConfirm-b0b2e43c.js} +1 -1
  53. package/dist/esm/v2/{OrSelect-ca2510cd.js → OrSelect-ac382aa6.js} +3 -3
  54. package/dist/esm/v2/components/index.d.ts +0 -1
  55. package/dist/esm/v2/components/index.js +4 -5
  56. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  57. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  58. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  59. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  60. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  61. package/dist/esm/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  62. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -4
  63. package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +8 -3
  64. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  65. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  66. package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
  67. package/dist/esm/v2/components/or-select-v3/index.js +1 -1
  68. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  69. package/dist/esm/v2/index.js +4 -5
  70. package/dist/esm/v3/{OrButton-970ae320.js → OrButton-f4b9ee51.js} +2 -15
  71. package/dist/esm/v3/OrCardCollection-3bd67c5c.js +282 -0
  72. package/dist/esm/v3/{OrConfirm-7cb2f36b.js → OrConfirm-906427ef.js} +1 -1
  73. package/dist/esm/v3/{OrSelect-bff22c7f.js → OrSelect-fee9c099.js} +3 -3
  74. package/dist/esm/v3/components/index.d.ts +0 -1
  75. package/dist/esm/v3/components/index.js +4 -5
  76. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  77. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  78. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  79. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  80. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  81. package/dist/esm/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  82. package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -4
  83. package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +8 -3
  84. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  85. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  86. package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
  87. package/dist/esm/v3/components/or-select-v3/index.js +1 -1
  88. package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
  89. package/dist/esm/v3/index.js +4 -5
  90. package/package.json +1 -1
  91. package/src/components/index.ts +0 -1
  92. package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
  93. package/src/components/or-button-v3/OrButton.vue +0 -6
  94. package/src/components/or-button-v3/styles.ts +1 -15
  95. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +193 -28
  96. package/src/components/or-card-collection-v3/OrCardCollection.vue +110 -76
  97. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
  98. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
  99. package/src/components/or-card-collection-v3/constatnts.ts +12 -0
  100. package/src/components/or-card-collection-v3/styles.ts +1 -1
  101. package/src/components/or-card-collection-v3/types.ts +9 -3
  102. package/src/components/or-select-v3/OrSelect.vue +3 -3
  103. package/src/components/or-select-v3/index.ts +0 -1
  104. package/src/components/or-select-v3/types.ts +1 -1
  105. package/dist/bundled/v2/OrCardCollection-a9a779ea.js +0 -228
  106. package/dist/bundled/v2/OrPagination-354e9abd.js +0 -296
  107. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  108. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  109. package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
  110. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
  111. package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
  112. package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
  113. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +0 -164
  114. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +0 -180
  115. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  116. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  117. package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
  118. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
  119. package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
  120. package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
  121. package/dist/esm/v2/OrCardCollection-4f001551.js +0 -227
  122. package/dist/esm/v2/OrPagination-a56eb93b.js +0 -296
  123. package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  124. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  125. package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
  126. package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
  127. package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
  128. package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
  129. package/dist/esm/v3/OrCardCollection-5a0febaf.js +0 -198
  130. package/dist/esm/v3/OrPagination-d351a13b.js +0 -257
  131. package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  132. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  133. package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
  134. package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
  135. package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
  136. package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
  137. package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
  138. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
  139. package/src/components/or-pagination-v3/OrPagination.vue +0 -260
  140. package/src/components/or-pagination-v3/index.ts +0 -2
  141. package/src/components/or-pagination-v3/styles.ts +0 -30
  142. package/src/components/or-pagination-v3/types.ts +0 -4
@@ -1,7 +1,7 @@
1
- import { s as script } from './OrButton.vue_vue_type_script_lang-06d8ead1.js';
1
+ import { s as script } from './OrButton.vue_vue_type_script_lang-3718b300.js';
2
2
  import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
3
3
 
4
- const _hoisted_1 = ["type", "activated", "disabled"];
4
+ const _hoisted_1 = ["type", "disabled"];
5
5
  const _hoisted_2 = {
6
6
  key: 0,
7
7
  class: /*#__PURE__*/normalizeClass(['absolute'])
@@ -13,7 +13,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
13
13
  }, _ctx.$attrs, {
14
14
  class: _ctx.rootStyles,
15
15
  type: _ctx.type,
16
- activated: _ctx.activated ? '' : null,
17
16
  disabled: _ctx.disabled,
18
17
  onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
19
18
  onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
@@ -76,15 +76,7 @@ const ButtonRootColors = {
76
76
  'danger-link': [
77
77
  // Theme
78
78
  'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
79
- 'inherit-link': [
80
- // Typography
81
- 'typography-caption-regular',
82
- // Typography (activated)
83
- 'activated:typography-caption-bold',
84
- // Theme
85
- 'theme-foreground-inherit', 'dark:theme-foreground-inherit',
86
- // Theme (activated)
87
- 'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
79
+ 'inherit-link': []
88
80
  };
89
81
 
90
82
  var script = defineComponent({
@@ -106,10 +98,6 @@ var script = defineComponent({
106
98
  type: String,
107
99
  default: ButtonColor.Primary
108
100
  },
109
- activated: {
110
- type: Boolean,
111
- default: false
112
- },
113
101
  disabled: {
114
102
  type: Boolean,
115
103
  default: false
@@ -0,0 +1,229 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createBlock, ref, watch } from 'vue';
2
+ import './OrIconButton-4bd33e3c.js';
3
+ import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-641f6e06.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-cb2d6612.js';
11
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
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';
14
+
15
+ var CardCollectionView;
16
+ (function (CardCollectionView) {
17
+ CardCollectionView["Grid"] = "grid";
18
+ CardCollectionView["List"] = "list";
19
+ })(CardCollectionView || (CardCollectionView = {}));
20
+
21
+ const CardCollectionRoot = [
22
+ // Layout
23
+ 'layout-column',
24
+ // Spacing
25
+ 'gap-md'];
26
+ const CardCollectionToolbar = [
27
+ // Layout
28
+ 'layout-row justify-between',
29
+ // Typography
30
+ 'typography-body-2-regular',
31
+ // Theme
32
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
33
+ const CardCollectionToolbarPanel = [
34
+ // Layout
35
+ 'layout-row',
36
+ // Spacing
37
+ 'gap-lg+'];
38
+ const CardCollectionContent = [
39
+ // Layout
40
+ 'grid',
41
+ // Spacing
42
+ 'gap-sm md:gap-md'];
43
+ const CardCollectionContentViews = {
44
+ 'grid': [
45
+ // Layout
46
+ 'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
47
+ 'list': []
48
+ };
49
+
50
+ var script$1 = defineComponent({
51
+ name: 'OrCardCollectionView',
52
+ props: {
53
+ items: {
54
+ type: Array,
55
+ default: []
56
+ },
57
+ mode: {
58
+ type: String,
59
+ required: true
60
+ }
61
+ },
62
+ setup(props) {
63
+ const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
64
+ return {
65
+ contentStyles
66
+ };
67
+ }
68
+ });
69
+
70
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
71
+ return openBlock(), createElementBlock("div", {
72
+ class: normalizeClass(_ctx.contentStyles)
73
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
74
+ return renderSlot(_ctx.$slots, "item", mergeProps({
75
+ key: item.key || index
76
+ }, {
77
+ item,
78
+ mode: _ctx.mode
79
+ }), () => [createTextVNode(toDisplayString(item.key), 1 /* TEXT */)]);
80
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
81
+ }
82
+
83
+ script$1.render = render$1;
84
+ script$1.__file = "src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue";
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
+
114
+ const gridView = {
115
+ view: 'grid',
116
+ icon: 'grid_view'
117
+ };
118
+ const listView = {
119
+ view: 'list',
120
+ icon: 'view_agenda'
121
+ };
122
+ const defaultViewModes = [gridView, listView];
123
+
124
+ var script = defineComponent({
125
+ name: 'OrCardCollection',
126
+ components: {
127
+ OrCardCollectionView: script$1,
128
+ OrIconButton: script$3,
129
+ OrButton: script$4,
130
+ OrMenu: script$5,
131
+ OrMenuItem: script$6,
132
+ OrIcon: script$7,
133
+ OrSearch: script$2
134
+ },
135
+ inheritAttrs: false,
136
+ props: {
137
+ items: {
138
+ type: Array,
139
+ default: []
140
+ },
141
+ view: {
142
+ type: String,
143
+ default: CardCollectionView.Grid
144
+ },
145
+ viewModes: {
146
+ type: Array,
147
+ default: () => defaultViewModes
148
+ },
149
+ sort: {
150
+ type: String,
151
+ default: undefined
152
+ },
153
+ sortOptions: {
154
+ type: Array,
155
+ default: () => []
156
+ },
157
+ search: {
158
+ type: String,
159
+ default: undefined
160
+ }
161
+ },
162
+ emits: ['viewChange', 'sortChange', 'searchChange'],
163
+ expose: ['root'],
164
+ setup(props, context) {
165
+ // Refs
166
+ const root = ref();
167
+ const sortMenu = ref();
168
+ const sortButton = ref();
169
+ // Styles
170
+ const classAttribute = useClassAttribute();
171
+ const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
172
+ const toolbarStyles = computed(() => [...CardCollectionToolbar]);
173
+ const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
174
+ const sortLabel = computed(() => {
175
+ var _a;
176
+ return (_a = props.sortOptions.find(item => item.value === props.sort)) === null || _a === void 0 ? void 0 : _a.label;
177
+ });
178
+ // State
179
+ const proxyView = ref(props.view);
180
+ const proxySort = ref(props.sort);
181
+ const proxySearch = ref(props.search);
182
+ // Methods
183
+ function switchView(view) {
184
+ proxyView.value = view;
185
+ }
186
+ function handleSort(sort) {
187
+ proxySort.value = sort;
188
+ }
189
+ function handleSearch(search) {
190
+ proxySearch.value = search;
191
+ }
192
+ // Effects
193
+ watch(() => props.view, value => {
194
+ proxyView.value = value;
195
+ });
196
+ watch(proxyView, value => {
197
+ context.emit('viewChange', value);
198
+ });
199
+ watch(() => props.sort, value => {
200
+ proxySort.value = value;
201
+ });
202
+ watch(proxySort, value => {
203
+ context.emit('sortChange', value);
204
+ });
205
+ watch(() => props.search, value => {
206
+ proxySearch.value = value;
207
+ });
208
+ watch(proxySearch, value => {
209
+ context.emit('searchChange', value);
210
+ });
211
+ return {
212
+ root,
213
+ sortMenu,
214
+ sortButton,
215
+ rootStyles,
216
+ toolbarStyles,
217
+ toolbarPanelStyles,
218
+ proxyView,
219
+ proxySort,
220
+ proxySearch,
221
+ sortLabel,
222
+ switchView,
223
+ handleSort,
224
+ handleSearch
225
+ };
226
+ }
227
+ });
228
+
229
+ export { CardCollectionView as C, script as s };
@@ -2,9 +2,9 @@ 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 './OrButton-9640286b.js';
5
+ import './OrButton-8ab33d9d.js';
6
6
  import './OrInput-fa782fc1.js';
7
- import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-06d8ead1.js';
7
+ import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-3718b300.js';
8
8
  import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
9
9
  import { s as script$3 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
10
10
 
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import './OrInput-fa782fc1.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({
@@ -182,11 +182,11 @@ var script = defineComponent({
182
182
  default: []
183
183
  },
184
184
  modelValue: {
185
- type: [String, Number, Array],
185
+ type: [String, Array],
186
186
  default: undefined
187
187
  },
188
188
  value: {
189
- type: [String, Number, Array],
189
+ type: [String, Array],
190
190
  default: undefined
191
191
  },
192
192
  multiple: {
@@ -52,7 +52,6 @@ export * from './or-notification-v3';
52
52
  export * from './or-overflow-menu';
53
53
  export * from './or-overlay';
54
54
  export * from './or-overlay-v3';
55
- export * from './or-pagination-v3';
56
55
  export * from './or-popover-v3';
57
56
  export * from './or-progress';
58
57
  export * from './or-progress-v3';
@@ -5,10 +5,10 @@ export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { s as OrButtonV2 } from '../OrButton.vue_vue_type_script_lang-ffc66d00.js';
6
6
  export { s as OrIconButton } from '../OrIconButton.vue_vue_type_script_lang-40547ab0.js';
7
7
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../constants-c5d1139f.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-06d8ead1.js';
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-3993a015.js';
11
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection.vue_vue_type_script_lang-80c10c12.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-f1b81f00.js';
22
+ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-85472b12.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';
@@ -58,16 +58,15 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
58
58
  export { s as OrOverflowMenu } from '../OrOverflowMenu.vue_vue_type_script_lang-0397533d.js';
59
59
  export { s as OrOverlay } from '../OrOverlay.vue_vue_type_script_lang-b9bf5e50.js';
60
60
  export { s as OrOverlayV3 } from '../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
61
- export { s as OrPaginationV3 } from '../OrPagination.vue_vue_type_script_lang-ff22b11c.js';
62
61
  export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress.vue_vue_type_script_lang-3f9ec654.js';
63
62
  export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress.vue_vue_type_script_lang-a73c0acf.js';
64
63
  export { s as OrRadio } from '../OrRadio.vue_vue_type_script_lang-c956b54b.js';
65
64
  export { s as OrRadioGroup } from '../OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
66
65
  export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-2e666a56.js';
67
- export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-ed78b21f.js';
66
+ export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-cb2d6612.js';
68
67
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
69
68
  export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
70
- export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-d0626539.js';
69
+ export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-dfadd12f.js';
71
70
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
72
71
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ce0b152c.js';
73
72
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
@@ -107,7 +106,10 @@ import '../OrLoader-ee97fef4.js';
107
106
  import '../OrLoader-c4bbef2f.js';
108
107
  import '../OrIconButton-e637158e.js';
109
108
  import '../OrIconButton-4bd33e3c.js';
110
- import '../OrInput-fa782fc1.js';
109
+ import '../OrButton-8ab33d9d.js';
110
+ import '../OrMenu-f26e8e55.js';
111
+ import '../OrMenuItem-4feaba6c.js';
112
+ import '../OrIcon-d878b768.js';
111
113
  import '../OrLabel-c6873e79.js';
112
114
  import '../OrLabel-e412c532.js';
113
115
  import '../OrError-b43ebad8.js';
@@ -118,9 +120,8 @@ import '../dom-d21d0a92.js';
118
120
  import '../OrFloating-b6672a37.js';
119
121
  import '../index-01519e46.js';
120
122
  import '../OrButton-ec723bb7.js';
121
- import '../OrButton-9640286b.js';
123
+ import '../OrInput-fa782fc1.js';
122
124
  import '../OrCollapse-63e83681.js';
123
- import '../OrIcon-d878b768.js';
124
125
  import '../floating-ui.dom.esm-83eba816.js';
125
126
  import '../OrHint-9592499e.js';
126
127
  import '../OrInlineInputBox-9d68ded1.js';
@@ -130,7 +131,5 @@ import '../v4-cf8987a3.js';
130
131
  import '../OrPopover-c462ce77.js';
131
132
  import '../useResponsive-9d397e2a.js';
132
133
  import '../useElevation-c8d5d3ba.js';
133
- import '../OrMenu-f26e8e55.js';
134
- import '../OrMenuItem-4feaba6c.js';
135
134
  import '../dropdown-open-293d2de2.js';
136
135
  import '../useOverflow-06bcc7d7.js';
@@ -16,10 +16,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
16
16
  type: PropType<ButtonColor>;
17
17
  default: ButtonColor;
18
18
  };
19
- activated: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
19
  disabled: {
24
20
  type: BooleanConstructor;
25
21
  default: boolean;
@@ -45,10 +41,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
45
41
  type: PropType<ButtonColor>;
46
42
  default: ButtonColor;
47
43
  };
48
- activated: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
44
  disabled: {
53
45
  type: BooleanConstructor;
54
46
  default: boolean;
@@ -62,7 +54,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
62
54
  default: string;
63
55
  };
64
56
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
65
- activated: boolean;
66
57
  type: ButtonType;
67
58
  variant: ButtonVariant;
68
59
  color: ButtonColor;
@@ -75,7 +66,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
75
66
  root: import("@vue/composition-api").Ref<HTMLButtonElement | undefined>;
76
67
  rootStyles: import("@vue/composition-api").ComputedRef<(string | false | undefined)[]>;
77
68
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
78
- activated: boolean;
79
69
  type: ButtonType;
80
70
  variant: ButtonVariant;
81
71
  color: ButtonColor;
@@ -85,7 +75,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
85
75
  } & {} & {
86
76
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
87
77
  }, {
88
- activated: boolean;
89
78
  type: ButtonType;
90
79
  variant: ButtonVariant;
91
80
  color: ButtonColor;
@@ -1,4 +1,4 @@
1
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton.vue_vue_type_script_lang-06d8ead1.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton.vue_vue_type_script_lang-3718b300.js';
2
2
  import 'vue';
3
3
  import '../../OrLoader-c4bbef2f.js';
4
4
  import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
@@ -1,4 +1,5 @@
1
1
  import { Meta, StoryFn } from '@storybook/vue3';
2
+ import OrCardCollection from './OrCardCollection.vue';
2
3
  declare const _default: Meta<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, {
3
4
  [x: string]: ((...args: any[]) => any) | null;
4
5
  } | string[], {} & {}, {
@@ -15,3 +16,6 @@ export declare const WithSorting: StoryFn<import("vue").ComponentOptions<import(
15
16
  } | string[], {} & {}, {
16
17
  [x: number]: string;
17
18
  } | {}, true>)>;
19
+ export declare const OverrideViewContainer: StoryFn<typeof OrCardCollection>;
20
+ export declare const ExtraViewMode: StoryFn<typeof OrCardCollection>;
21
+ export declare const WithLink: StoryFn<typeof OrCardCollection>;
@@ -1,37 +1,48 @@
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, SortOption, ViewMode } 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
- contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
11
- proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
12
- proxySort: import("@vue/composition-api").Ref<{
13
- column: string;
14
- direction: "asc" | "desc";
15
- }>;
19
+ proxyView: import("@vue/composition-api").Ref<string>;
20
+ proxySort: import("@vue/composition-api").Ref<string>;
16
21
  proxySearch: import("@vue/composition-api").Ref<string>;
17
- switchToGridView: () => void;
18
- switchToListView: () => void;
22
+ sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
23
+ switchView: (view: string) => void;
24
+ handleSort: (sort: string) => void;
25
+ handleSearch: (search: string) => void;
19
26
  }> & import("@vue/composition-api").Data, {}, {}, {
20
27
  items: {
21
28
  type: PropType<CardCollectionItem[]>;
22
29
  default: CardCollectionItem[];
23
30
  };
24
31
  view: {
25
- type: PropType<CardCollectionView>;
32
+ type: PropType<string>;
26
33
  default: CardCollectionView;
27
34
  };
35
+ viewModes: {
36
+ type: PropType<ViewMode[]>;
37
+ default: () => ViewMode[];
38
+ };
28
39
  sort: {
29
- type: PropType<SortHeaderModel>;
40
+ type: StringConstructor;
30
41
  default: undefined;
31
42
  };
32
- sortHeaders: {
33
- type: PropType<CardCollectionSortHeader[]>;
34
- default: undefined;
43
+ sortOptions: {
44
+ type: PropType<SortOption[]>;
45
+ default: () => never[];
35
46
  };
36
47
  search: {
37
48
  type: StringConstructor;
@@ -43,16 +54,20 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
43
54
  default: CardCollectionItem[];
44
55
  };
45
56
  view: {
46
- type: PropType<CardCollectionView>;
57
+ type: PropType<string>;
47
58
  default: CardCollectionView;
48
59
  };
60
+ viewModes: {
61
+ type: PropType<ViewMode[]>;
62
+ default: () => ViewMode[];
63
+ };
49
64
  sort: {
50
- type: PropType<SortHeaderModel>;
65
+ type: StringConstructor;
51
66
  default: undefined;
52
67
  };
53
- sortHeaders: {
54
- type: PropType<CardCollectionSortHeader[]>;
55
- default: undefined;
68
+ sortOptions: {
69
+ type: PropType<SortOption[]>;
70
+ default: () => never[];
56
71
  };
57
72
  search: {
58
73
  type: StringConstructor;
@@ -60,39 +75,50 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
60
75
  };
61
76
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
62
77
  search: string;
63
- sort: SortHeaderModel;
78
+ sort: string;
64
79
  items: CardCollectionItem[];
65
- view: CardCollectionView;
66
- sortHeaders: CardCollectionSortHeader[];
80
+ view: string;
81
+ viewModes: ViewMode[];
82
+ sortOptions: SortOption[];
67
83
  } & {} & {
68
84
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
69
85
  }, import("@vue/composition-api").ShallowUnwrapRef<{
70
86
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
87
+ 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, {
88
+ [x: string]: ((...args: any[]) => any) | null;
89
+ } | string[], {} & {}, {
90
+ [x: number]: string;
91
+ } | {}, true>)) | undefined>;
92
+ 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, {
93
+ [x: string]: ((...args: any[]) => any) | null;
94
+ } | string[], {} & {}, {
95
+ [x: number]: string;
96
+ } | {}, true>)) | undefined>;
71
97
  rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
72
98
  toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
73
99
  toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
74
- contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
75
- proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
76
- proxySort: import("@vue/composition-api").Ref<{
77
- column: string;
78
- direction: "asc" | "desc";
79
- }>;
100
+ proxyView: import("@vue/composition-api").Ref<string>;
101
+ proxySort: import("@vue/composition-api").Ref<string>;
80
102
  proxySearch: import("@vue/composition-api").Ref<string>;
81
- switchToGridView: () => void;
82
- switchToListView: () => void;
103
+ sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
104
+ switchView: (view: string) => void;
105
+ handleSort: (sort: string) => void;
106
+ handleSearch: (search: string) => void;
83
107
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
84
108
  search: string;
85
- sort: SortHeaderModel;
109
+ sort: string;
86
110
  items: CardCollectionItem[];
87
- view: CardCollectionView;
88
- sortHeaders: CardCollectionSortHeader[];
111
+ view: string;
112
+ viewModes: ViewMode[];
113
+ sortOptions: SortOption[];
89
114
  } & {} & {
90
115
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
91
116
  }, {
92
117
  search: string;
93
- sort: SortHeaderModel;
118
+ sort: string;
94
119
  items: CardCollectionItem[];
95
- view: CardCollectionView;
96
- sortHeaders: CardCollectionSortHeader[];
120
+ view: string;
121
+ viewModes: ViewMode[];
122
+ sortOptions: SortOption[];
97
123
  }, true>);
98
124
  export default _default;
@@ -0,0 +1,35 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { CardCollectionItem } from './types';
3
+ import { CardCollectionView } from './props';
4
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
+ contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
+ }> & import("@vue/composition-api").Data, {}, {}, {
7
+ items: {
8
+ type: PropType<CardCollectionItem[]>;
9
+ default: CardCollectionItem[];
10
+ };
11
+ mode: {
12
+ type: PropType<CardCollectionView>;
13
+ required: true;
14
+ };
15
+ }, import("@vue/composition-api").ExtractPropTypes<{
16
+ items: {
17
+ type: PropType<CardCollectionItem[]>;
18
+ default: CardCollectionItem[];
19
+ };
20
+ mode: {
21
+ type: PropType<CardCollectionView>;
22
+ required: true;
23
+ };
24
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
25
+ items: CardCollectionItem[];
26
+ mode: CardCollectionView;
27
+ } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
28
+ contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
29
+ }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
30
+ items: CardCollectionItem[];
31
+ mode: CardCollectionView;
32
+ } & {}, {
33
+ items: CardCollectionItem[];
34
+ }, true>);
35
+ export default _default;