@onereach/ui-components 2.69.2-beta.2123.0 → 2.69.2-beta.2125.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.
- package/dist/bundled/v2/{OrButton-0e91a808.js → OrButton-4b99c680.js} +5 -1
- package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-58a1ba3e.js} +2 -2
- package/dist/bundled/v2/OrCardCollection-a9a779ea.js +228 -0
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-cab6535b.js} +1 -1
- package/dist/bundled/v2/{OrSearch-a11b3621.js → OrSearch-9d402f56.js} +3 -9
- package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-396e6a7c.js} +2 -2
- package/dist/bundled/v2/components/index.js +6 -6
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -67
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -7
- package/dist/bundled/v2/components/or-card-collection-v3/props.d.ts +1 -5
- package/dist/bundled/v2/components/or-card-collection-v3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +3 -8
- package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +0 -13
- package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +7 -7
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3718b300.js → OrButton.vue_vue_type_script_lang-b0dc31ca.js} +5 -1
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +164 -0
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-85472b12.js → OrConfirm.vue_vue_type_script_lang-49a3a9bd.js} +36 -6
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0ae8a6dd.js → OrSearch.vue_vue_type_script_lang-ed78b21f.js} +2 -8
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-919b2021.js} +36 -10
- package/dist/bundled/v3/components/index.js +8 -10
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -67
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -11
- package/dist/bundled/v3/components/or-card-collection-v3/props.d.ts +1 -5
- package/dist/bundled/v3/components/or-card-collection-v3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +3 -8
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +0 -13
- package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -2
- package/dist/bundled/v3/index.js +297 -328
- package/dist/esm/v2/{OrButton-357a5756.js → OrButton-357e1e2c.js} +5 -1
- package/dist/esm/v2/OrCardCollection-4f001551.js +227 -0
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-ec7aef0e.js} +1 -1
- package/dist/esm/v2/{OrSearch-62d91301.js → OrSearch-ddb7c1fe.js} +1 -7
- package/dist/esm/v2/components/index.js +4 -4
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -67
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -7
- package/dist/esm/v2/components/or-card-collection-v3/props.d.ts +1 -5
- package/dist/esm/v2/components/or-card-collection-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +3 -8
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +0 -13
- package/dist/esm/v2/components/or-search-v3/index.js +1 -1
- package/dist/esm/v2/index.js +4 -4
- package/dist/esm/v3/{OrButton-f4b9ee51.js → OrButton-bb6bf8a9.js} +5 -1
- package/dist/esm/v3/OrCardCollection-5a0febaf.js +198 -0
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-5d56cbd3.js} +1 -1
- package/dist/esm/v3/{OrSearch-aafb93b4.js → OrSearch-cdde55ce.js} +1 -7
- package/dist/esm/v3/components/index.js +4 -4
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +42 -67
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -7
- package/dist/esm/v3/components/or-card-collection-v3/props.d.ts +1 -5
- package/dist/esm/v3/components/or-card-collection-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +3 -8
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +0 -13
- package/dist/esm/v3/components/or-search-v3/index.js +1 -1
- package/dist/esm/v3/index.js +4 -4
- package/package.json +1 -1
- package/src/components/or-button-v3/styles.ts +6 -0
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +30 -230
- package/src/components/or-card-collection-v3/OrCardCollection.vue +77 -120
- package/src/components/or-card-collection-v3/props.ts +1 -14
- package/src/components/or-card-collection-v3/styles.ts +3 -3
- package/src/components/or-card-collection-v3/types.ts +3 -9
- package/src/components/or-menu-v3/OrMenu.stories3.ts +1 -1
- package/src/components/or-search-v3/OrSearch.vue +1 -7
- package/dist/bundled/v2/OrCardCollection-773ae0db.js +0 -346
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
- package/dist/bundled/v3/OrButton-8ab33d9d.js +0 -33
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-b983bda7.js +0 -228
- package/dist/bundled/v3/OrMenu-f26e8e55.js +0 -29
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
- package/dist/esm/v2/OrCardCollection-61c86bfc.js +0 -346
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
- package/dist/esm/v3/OrCardCollection-fdc7848b.js +0 -289
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +0 -41
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +0 -42
package/dist/esm/v2/index.js
CHANGED
|
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { _ as OrButtonV2 } from './OrButton-c4f9955b.js';
|
|
6
6
|
export { _ as OrIconButton } from './OrIconButton-014e86a7.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 './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-357e1e2c.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
|
|
11
|
-
export {
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-4f001551.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-41dd5f9b.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ 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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-ec7aef0e.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
63
63
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
64
64
|
export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
|
|
65
65
|
export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from './OrSearch-ddb7c1fe.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
69
|
export { _ as OrSelectV3 } from './OrSelect-f0ff5a85.js';
|
|
@@ -29,6 +29,8 @@ const ButtonRoot = [
|
|
|
29
29
|
'layout-inline-row justify-center',
|
|
30
30
|
// Shape
|
|
31
31
|
'rounded-md',
|
|
32
|
+
// Sizing
|
|
33
|
+
'min-w-[96px]',
|
|
32
34
|
// Interactivity
|
|
33
35
|
'interactivity-auto',
|
|
34
36
|
// Typography
|
|
@@ -47,7 +49,9 @@ const ButtonRootVariants = {
|
|
|
47
49
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
48
50
|
'link': [
|
|
49
51
|
// Spacing
|
|
50
|
-
'gap-sm md:gap-xs'
|
|
52
|
+
'gap-sm md:gap-xs',
|
|
53
|
+
// Sizing
|
|
54
|
+
'min-w-[auto]']
|
|
51
55
|
};
|
|
52
56
|
const ButtonRootColors = {
|
|
53
57
|
'primary-contained': [
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from './OrCard-fd92f7c8.js';
|
|
5
|
+
import { s as script$2 } from './OrIconButton-1eebcafc.js';
|
|
6
|
+
import { s as script$3 } from './OrInput-41691fb3.js';
|
|
7
|
+
import { s as script$4 } from './OrSortHeader-fe1a9cf8.js';
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
9
|
+
|
|
10
|
+
var CardCollectionView;
|
|
11
|
+
(function (CardCollectionView) {
|
|
12
|
+
CardCollectionView["Grid"] = "grid";
|
|
13
|
+
CardCollectionView["List"] = "list";
|
|
14
|
+
})(CardCollectionView || (CardCollectionView = {}));
|
|
15
|
+
|
|
16
|
+
const CardCollectionRoot = [
|
|
17
|
+
// Layout
|
|
18
|
+
'layout-column',
|
|
19
|
+
// Spacing
|
|
20
|
+
'gap-md'];
|
|
21
|
+
const CardCollectionToolbar = [
|
|
22
|
+
// Layout
|
|
23
|
+
'layout-row justify-between',
|
|
24
|
+
// Typography
|
|
25
|
+
'typography-body-2-regular',
|
|
26
|
+
// Theme
|
|
27
|
+
'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
28
|
+
const CardCollectionToolbarPanel = [
|
|
29
|
+
// Layout
|
|
30
|
+
'layout-row',
|
|
31
|
+
// Spacing
|
|
32
|
+
'gap-sm+'];
|
|
33
|
+
const CardCollectionContent = [
|
|
34
|
+
// Layout
|
|
35
|
+
'grid',
|
|
36
|
+
// Spacing
|
|
37
|
+
'gap-sm md:gap-md'];
|
|
38
|
+
const CardCollectionContentViews = {
|
|
39
|
+
'grid': [
|
|
40
|
+
// Layout
|
|
41
|
+
'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
|
|
42
|
+
'list': []
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
var script = defineComponent({
|
|
46
|
+
name: 'OrCardCollection',
|
|
47
|
+
components: {
|
|
48
|
+
OrCard: script$1,
|
|
49
|
+
OrIconButton: script$2,
|
|
50
|
+
OrInput: script$3,
|
|
51
|
+
OrSortHeader: script$4
|
|
52
|
+
},
|
|
53
|
+
inheritAttrs: false,
|
|
54
|
+
props: {
|
|
55
|
+
items: {
|
|
56
|
+
type: Array,
|
|
57
|
+
default: []
|
|
58
|
+
},
|
|
59
|
+
view: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: CardCollectionView.Grid
|
|
62
|
+
},
|
|
63
|
+
sort: {
|
|
64
|
+
type: Object,
|
|
65
|
+
default: undefined
|
|
66
|
+
},
|
|
67
|
+
sortHeaders: {
|
|
68
|
+
type: Array,
|
|
69
|
+
default: undefined
|
|
70
|
+
},
|
|
71
|
+
search: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: undefined
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
emits: ['viewChange', 'sortChange', 'searchChange'],
|
|
77
|
+
expose: ['root'],
|
|
78
|
+
setup(props, context) {
|
|
79
|
+
// Refs
|
|
80
|
+
const root = ref();
|
|
81
|
+
// Styles
|
|
82
|
+
const classAttribute = useClassAttribute();
|
|
83
|
+
const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
|
|
84
|
+
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
85
|
+
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
86
|
+
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[proxyView.value]]);
|
|
87
|
+
// State
|
|
88
|
+
const proxyView = ref(props.view);
|
|
89
|
+
const proxySort = ref(props.sort);
|
|
90
|
+
const proxySearch = ref(props.search);
|
|
91
|
+
// Methods
|
|
92
|
+
function switchToGridView() {
|
|
93
|
+
proxyView.value = CardCollectionView.Grid;
|
|
94
|
+
}
|
|
95
|
+
function switchToListView() {
|
|
96
|
+
proxyView.value = CardCollectionView.List;
|
|
97
|
+
}
|
|
98
|
+
// Effects
|
|
99
|
+
watch(() => props.view, value => {
|
|
100
|
+
proxyView.value = value;
|
|
101
|
+
});
|
|
102
|
+
watch(proxyView, value => {
|
|
103
|
+
context.emit('viewChange', value);
|
|
104
|
+
});
|
|
105
|
+
watch(() => props.sort, value => {
|
|
106
|
+
proxySort.value = value;
|
|
107
|
+
});
|
|
108
|
+
watch(proxySort, value => {
|
|
109
|
+
context.emit('sortChange', value);
|
|
110
|
+
});
|
|
111
|
+
watch(() => props.search, value => {
|
|
112
|
+
proxySearch.value = value;
|
|
113
|
+
});
|
|
114
|
+
watch(proxySearch, value => {
|
|
115
|
+
context.emit('searchChange', value);
|
|
116
|
+
});
|
|
117
|
+
return {
|
|
118
|
+
root,
|
|
119
|
+
rootStyles,
|
|
120
|
+
toolbarStyles,
|
|
121
|
+
toolbarPanelStyles,
|
|
122
|
+
contentStyles,
|
|
123
|
+
proxyView,
|
|
124
|
+
proxySort,
|
|
125
|
+
proxySearch,
|
|
126
|
+
switchToGridView,
|
|
127
|
+
switchToListView
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
|
+
const _component_OrSortHeader = resolveComponent("OrSortHeader");
|
|
134
|
+
const _component_OrInput = resolveComponent("OrInput");
|
|
135
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
136
|
+
const _component_OrCard = resolveComponent("OrCard");
|
|
137
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
138
|
+
ref: "root"
|
|
139
|
+
}, _ctx.$attrs, {
|
|
140
|
+
class: _ctx.rootStyles
|
|
141
|
+
}), [createElementVNode("div", {
|
|
142
|
+
class: normalizeClass(_ctx.toolbarStyles)
|
|
143
|
+
}, [createElementVNode("div", {
|
|
144
|
+
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
145
|
+
}, [_ctx.sortHeaders ? (openBlock(true), createElementBlock(Fragment, {
|
|
146
|
+
key: 0
|
|
147
|
+
}, renderList(_ctx.sortHeaders, header => {
|
|
148
|
+
return openBlock(), createBlock(_component_OrSortHeader, {
|
|
149
|
+
key: header.value,
|
|
150
|
+
modelValue: _ctx.proxySort,
|
|
151
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxySort = $event),
|
|
152
|
+
"input-value": header.value
|
|
153
|
+
}, {
|
|
154
|
+
default: withCtx(() => [createTextVNode(toDisplayString(header.label), 1 /* TEXT */)]),
|
|
155
|
+
|
|
156
|
+
_: 2 /* DYNAMIC */
|
|
157
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "input-value"]);
|
|
158
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
159
|
+
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
160
|
+
}, [createVNode(_component_OrInput, {
|
|
161
|
+
modelValue: _ctx.proxySearch,
|
|
162
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxySearch = $event),
|
|
163
|
+
type: 'search',
|
|
164
|
+
placeholder: 'Search',
|
|
165
|
+
size: 's'
|
|
166
|
+
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_OrIconButton, {
|
|
167
|
+
icon: 'grid_view',
|
|
168
|
+
onClick: _cache[2] || (_cache[2] = $event => _ctx.switchToGridView())
|
|
169
|
+
}), createVNode(_component_OrIconButton, {
|
|
170
|
+
icon: 'view_list',
|
|
171
|
+
onClick: _cache[3] || (_cache[3] = $event => _ctx.switchToListView())
|
|
172
|
+
}), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */), createElementVNode("div", {
|
|
173
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
174
|
+
}, [_ctx.proxyView === 'grid' ? (openBlock(true), createElementBlock(Fragment, {
|
|
175
|
+
key: 0
|
|
176
|
+
}, renderList(_ctx.items, item => {
|
|
177
|
+
return openBlock(), createBlock(_component_OrCard, {
|
|
178
|
+
key: item.id
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "gridItem", normalizeProps(guardReactiveProps(item)))]),
|
|
181
|
+
_: 2 /* DYNAMIC */
|
|
182
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
183
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.proxyView === 'list' ? (openBlock(true), createElementBlock(Fragment, {
|
|
184
|
+
key: 1
|
|
185
|
+
}, renderList(_ctx.items, item => {
|
|
186
|
+
return openBlock(), createBlock(_component_OrCard, {
|
|
187
|
+
key: item.id
|
|
188
|
+
}, {
|
|
189
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "listItem", normalizeProps(guardReactiveProps(item)))]),
|
|
190
|
+
_: 2 /* DYNAMIC */
|
|
191
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
192
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */)], 16 /* FULL_PROPS */);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
script.render = render;
|
|
196
|
+
script.__file = "src/components/or-card-collection-v3/OrCardCollection.vue";
|
|
197
|
+
|
|
198
|
+
export { CardCollectionView as C, script as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
-
import { s as script$2, a as ButtonColor } from './OrButton-
|
|
2
|
+
import { s as script$2, a as ButtonColor } from './OrButton-bb6bf8a9.js';
|
|
3
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
4
|
import { s as script$3 } from './OrInput-41691fb3.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
@@ -12,11 +12,6 @@ var script = defineComponent({
|
|
|
12
12
|
},
|
|
13
13
|
inheritAttrs: false,
|
|
14
14
|
props: {
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: '',
|
|
18
|
-
required: false
|
|
19
|
-
},
|
|
20
15
|
size: {
|
|
21
16
|
type: String,
|
|
22
17
|
default: InputBoxSize.M
|
|
@@ -41,14 +36,13 @@ var script = defineComponent({
|
|
|
41
36
|
emits: ['search', 'input', 'keydown', 'keyup', 'focus', 'blur', 'clear'],
|
|
42
37
|
expose: ['root', 'focus', 'clear'],
|
|
43
38
|
setup(props, context) {
|
|
44
|
-
var _a;
|
|
45
39
|
// Refs
|
|
46
40
|
const root = ref();
|
|
47
41
|
// Styles
|
|
48
42
|
const classAttribute = useClassAttribute();
|
|
49
43
|
const rootStyles = computed(() => ['or-search', classAttribute.value]);
|
|
50
44
|
// State
|
|
51
|
-
const localModelValue = ref(
|
|
45
|
+
const localModelValue = ref('');
|
|
52
46
|
// Events
|
|
53
47
|
debouncedWatch(localModelValue, () => context.emit('search', localModelValue.value), {
|
|
54
48
|
debounce: props.debounce
|
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet-62817aec.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-bb6bf8a9.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export {
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-5a0febaf.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-5d56cbd3.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
@@ -58,7 +58,7 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
58
58
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
61
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from '../OrSearch-cdde55ce.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
63
63
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
64
64
|
export { s as OrSelectV3 } from '../OrSelect-7e813982.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-bb6bf8a9.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import OrCardCollection from './OrCardCollection.vue';
|
|
3
2
|
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, {
|
|
4
3
|
[x: string]: ((...args: any[]) => any) | null;
|
|
5
4
|
} | string[], {} & {}, {
|
|
@@ -16,7 +15,3 @@ export declare const WithSorting: StoryFn<import("vue").ComponentOptions<import(
|
|
|
16
15
|
} | string[], {} & {}, {
|
|
17
16
|
[x: number]: string;
|
|
18
17
|
} | {}, 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>;
|
|
22
|
-
export declare const EmptySearchResults: StoryFn<typeof OrCardCollection>;
|
|
@@ -1,51 +1,41 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { SortHeaderModel } from '../or-sort-header-v3';
|
|
3
|
+
import { CardCollectionView } from './props';
|
|
4
|
+
import { CardCollectionItem, CardCollectionSortHeader } from './types';
|
|
3
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
6
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
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, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true>)) | undefined>;
|
|
10
|
-
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, {
|
|
11
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
12
|
-
} | string[], {} & {}, {
|
|
13
|
-
[x: number]: string;
|
|
14
|
-
} | {}, true>)) | undefined>;
|
|
15
7
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
16
8
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
17
9
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
}>;
|
|
20
16
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
handleSort: (sort: string) => void;
|
|
24
|
-
handleSearch: (search: string) => void;
|
|
17
|
+
switchToGridView: () => void;
|
|
18
|
+
switchToListView: () => void;
|
|
25
19
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
26
20
|
items: {
|
|
27
21
|
type: PropType<CardCollectionItem[]>;
|
|
28
22
|
default: CardCollectionItem[];
|
|
29
23
|
};
|
|
30
24
|
view: {
|
|
31
|
-
type:
|
|
32
|
-
default:
|
|
33
|
-
};
|
|
34
|
-
viewModes: {
|
|
35
|
-
type: PropType<ViewMode[]>;
|
|
36
|
-
default: () => ViewMode[];
|
|
25
|
+
type: PropType<CardCollectionView>;
|
|
26
|
+
default: CardCollectionView;
|
|
37
27
|
};
|
|
38
28
|
sort: {
|
|
39
|
-
type:
|
|
29
|
+
type: PropType<SortHeaderModel>;
|
|
40
30
|
default: undefined;
|
|
41
31
|
};
|
|
42
|
-
|
|
43
|
-
type: PropType<
|
|
44
|
-
default:
|
|
32
|
+
sortHeaders: {
|
|
33
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
34
|
+
default: undefined;
|
|
45
35
|
};
|
|
46
36
|
search: {
|
|
47
37
|
type: StringConstructor;
|
|
48
|
-
default:
|
|
38
|
+
default: undefined;
|
|
49
39
|
};
|
|
50
40
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
51
41
|
items: {
|
|
@@ -53,71 +43,56 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
53
43
|
default: CardCollectionItem[];
|
|
54
44
|
};
|
|
55
45
|
view: {
|
|
56
|
-
type:
|
|
57
|
-
default:
|
|
58
|
-
};
|
|
59
|
-
viewModes: {
|
|
60
|
-
type: PropType<ViewMode[]>;
|
|
61
|
-
default: () => ViewMode[];
|
|
46
|
+
type: PropType<CardCollectionView>;
|
|
47
|
+
default: CardCollectionView;
|
|
62
48
|
};
|
|
63
49
|
sort: {
|
|
64
|
-
type:
|
|
50
|
+
type: PropType<SortHeaderModel>;
|
|
65
51
|
default: undefined;
|
|
66
52
|
};
|
|
67
|
-
|
|
68
|
-
type: PropType<
|
|
69
|
-
default:
|
|
53
|
+
sortHeaders: {
|
|
54
|
+
type: PropType<CardCollectionSortHeader[]>;
|
|
55
|
+
default: undefined;
|
|
70
56
|
};
|
|
71
57
|
search: {
|
|
72
58
|
type: StringConstructor;
|
|
73
|
-
default:
|
|
59
|
+
default: undefined;
|
|
74
60
|
};
|
|
75
61
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
76
62
|
search: string;
|
|
77
|
-
sort:
|
|
63
|
+
sort: SortHeaderModel;
|
|
78
64
|
items: CardCollectionItem[];
|
|
79
|
-
view:
|
|
80
|
-
|
|
81
|
-
sortOptions: SortOption[];
|
|
65
|
+
view: CardCollectionView;
|
|
66
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
82
67
|
} & {} & {
|
|
83
68
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
84
69
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
85
70
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
86
|
-
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, {
|
|
87
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
88
|
-
} | string[], {} & {}, {
|
|
89
|
-
[x: number]: string;
|
|
90
|
-
} | {}, true>)) | undefined>;
|
|
91
|
-
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, {
|
|
92
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
93
|
-
} | string[], {} & {}, {
|
|
94
|
-
[x: number]: string;
|
|
95
|
-
} | {}, true>)) | undefined>;
|
|
96
71
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
97
72
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
98
73
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
99
|
-
|
|
100
|
-
|
|
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
|
+
}>;
|
|
101
80
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
handleSort: (sort: string) => void;
|
|
105
|
-
handleSearch: (search: string) => void;
|
|
81
|
+
switchToGridView: () => void;
|
|
82
|
+
switchToListView: () => void;
|
|
106
83
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
107
84
|
search: string;
|
|
108
|
-
sort:
|
|
85
|
+
sort: SortHeaderModel;
|
|
109
86
|
items: CardCollectionItem[];
|
|
110
|
-
view:
|
|
111
|
-
|
|
112
|
-
sortOptions: SortOption[];
|
|
87
|
+
view: CardCollectionView;
|
|
88
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
113
89
|
} & {} & {
|
|
114
90
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
115
91
|
}, {
|
|
116
92
|
search: string;
|
|
117
|
-
sort:
|
|
93
|
+
sort: SortHeaderModel;
|
|
118
94
|
items: CardCollectionItem[];
|
|
119
|
-
view:
|
|
120
|
-
|
|
121
|
-
sortOptions: SortOption[];
|
|
95
|
+
view: CardCollectionView;
|
|
96
|
+
sortHeaders: CardCollectionSortHeader[];
|
|
122
97
|
}, true>);
|
|
123
98
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection-5a0febaf.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
+
import '../../OrCard-fd92f7c8.js';
|
|
6
|
+
import 'vue';
|
|
5
7
|
import '../../OrIconButton-1eebcafc.js';
|
|
6
8
|
import '../../OrIcon-b195169c.js';
|
|
7
|
-
import 'vue';
|
|
8
9
|
import '../../OrTooltip-50d27b4f.js';
|
|
9
10
|
import '../../OrPopover-1075dd38.js';
|
|
10
11
|
import '@floating-ui/dom';
|
|
@@ -13,14 +14,10 @@ import '../../useResponsive-a02e95b7.js';
|
|
|
13
14
|
import '../../OrBottomSheet-62817aec.js';
|
|
14
15
|
import '../../OrOverlay-738a44d5.js';
|
|
15
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
16
|
-
import '../../OrMenu-840038cd.js';
|
|
17
|
-
import '../../OrMenuItem-9da279f6.js';
|
|
18
|
-
import '../../OrButton-f4b9ee51.js';
|
|
19
|
-
import '../../OrLoader-b3cf4231.js';
|
|
20
|
-
import '../../OrSearch-aafb93b4.js';
|
|
21
17
|
import '../../OrInput-41691fb3.js';
|
|
22
18
|
import '../../OrError-ec8c709d.js';
|
|
23
19
|
import '../../OrHint-74bb732d.js';
|
|
24
20
|
import '../../OrInputBox-5247ab25.js';
|
|
25
21
|
import '../../OrLabel-bdaec602.js';
|
|
26
22
|
import '../../style-inject.es-4c6f2515.js';
|
|
23
|
+
import '../../OrSortHeader-fe1a9cf8.js';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare enum DefaultCardCollectionViews {
|
|
1
|
+
export declare enum CardCollectionView {
|
|
3
2
|
Grid = "grid",
|
|
4
3
|
List = "list"
|
|
5
4
|
}
|
|
6
|
-
export declare const gridView: ViewMode;
|
|
7
|
-
export declare const listView: ViewMode;
|
|
8
|
-
export declare const defaultViewModes: ViewMode[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardCollectionView } from './props';
|
|
2
2
|
export declare const CardCollectionRoot: string[];
|
|
3
3
|
export declare const CardCollectionToolbar: string[];
|
|
4
4
|
export declare const CardCollectionToolbarPanel: string[];
|
|
5
5
|
export declare const CardCollectionContent: string[];
|
|
6
|
-
export declare const CardCollectionContentViews: Record<
|
|
6
|
+
export declare const CardCollectionContentViews: Record<CardCollectionView, string[]>;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export interface CardCollectionItem {
|
|
2
|
-
|
|
3
|
-
[key: string | number]: any;
|
|
2
|
+
id: string;
|
|
4
3
|
}
|
|
5
|
-
export interface
|
|
6
|
-
view: string;
|
|
7
|
-
icon: string;
|
|
8
|
-
}
|
|
9
|
-
export interface SortOption {
|
|
10
|
-
label: string;
|
|
4
|
+
export interface CardCollectionSortHeader {
|
|
11
5
|
value: string;
|
|
6
|
+
label: string;
|
|
12
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-5d56cbd3.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
3
|
+
import '../../OrButton-bb6bf8a9.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrLoader-b3cf4231.js';
|
|
@@ -11,11 +11,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
11
11
|
focus: () => void;
|
|
12
12
|
clear: () => void;
|
|
13
13
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
required: false;
|
|
18
|
-
};
|
|
19
14
|
size: {
|
|
20
15
|
type: PropType<SearchSize>;
|
|
21
16
|
default: SearchSize;
|
|
@@ -37,11 +32,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
37
32
|
default: boolean;
|
|
38
33
|
};
|
|
39
34
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
40
|
-
modelValue: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
required: false;
|
|
44
|
-
};
|
|
45
35
|
size: {
|
|
46
36
|
type: PropType<SearchSize>;
|
|
47
37
|
default: SearchSize;
|
|
@@ -63,7 +53,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
63
53
|
default: boolean;
|
|
64
54
|
};
|
|
65
55
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
66
|
-
modelValue: string;
|
|
67
56
|
size: SearchSize;
|
|
68
57
|
placeholder: string;
|
|
69
58
|
debounce: number;
|
|
@@ -82,7 +71,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
82
71
|
focus: () => void;
|
|
83
72
|
clear: () => void;
|
|
84
73
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
85
|
-
modelValue: string;
|
|
86
74
|
size: SearchSize;
|
|
87
75
|
placeholder: string;
|
|
88
76
|
debounce: number;
|
|
@@ -91,7 +79,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
91
79
|
} & {} & {
|
|
92
80
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
93
81
|
}, {
|
|
94
|
-
modelValue: string;
|
|
95
82
|
size: SearchSize;
|
|
96
83
|
placeholder: string;
|
|
97
84
|
debounce: number;
|