@onereach/ui-components 2.68.1-beta.2061.0 → 2.68.1-beta.2065.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/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
- package/dist/bundled/v2/{OrCardCollection-a9a779ea.js → OrCardCollection-0eaf7489.js} +79 -18
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-ff57274f.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-4b82eb59.js} +4 -4
- package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-e34afaee.js} +1 -1
- package/dist/bundled/v2/{OrSelect-f37e751b.js → OrSelect-68aacb62.js} +2 -2
- package/dist/bundled/v2/components/index.js +6 -6
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +3 -0
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +1 -1
- 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-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +7 -7
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-26d9a7c8.js} +41 -19
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-2e7fa659.js} +1 -1
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-e97211bb.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-1d2a20e0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c74a63e1.js → OrSelect.vue_vue_type_script_lang-58b92fb0.js} +1 -1
- package/dist/bundled/v3/components/index.js +5 -5
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +3 -0
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +1 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v3/index.js +202 -202
- package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-7bf35252.js} +77 -17
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-74e21c56.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-b8a1627f.js} +4 -4
- package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-0c0d1773.js} +1 -1
- package/dist/esm/v2/{OrSelect-528c7480.js → OrSelect-0e6e7868.js} +2 -2
- package/dist/esm/v2/components/index.js +5 -5
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +3 -0
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -4
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +1 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/index.js +5 -5
- package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-9682c6ef.js} +50 -29
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-a3f312a6.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-e2ac1182.js} +1 -1
- package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-01225d82.js} +1 -1
- package/dist/esm/v3/{OrSelect-d9c76482.js → OrSelect-2e00d4c8.js} +2 -2
- package/dist/esm/v3/components/index.js +5 -5
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +3 -0
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -4
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/index.js +5 -5
- package/package.json +1 -1
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +96 -5
- package/src/components/or-card-collection-v3/OrCardCollection.vue +21 -33
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +39 -0
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +40 -0
- package/src/components/or-card-collection-v3/types.ts +1 -1
- package/src/components/or-input-v3/OrInput.vue +1 -1
- package/src/components/or-select-v3/OrSelect.vue +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrCard-de799db0.js';
|
|
5
4
|
import { _ as __vue_component__$2 } from './OrIconButton-e17e4944.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
|
|
7
6
|
import { _ as __vue_component__$4 } from './OrSortHeader-19bf94ca.js';
|
|
8
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
8
|
|
|
@@ -42,10 +41,68 @@ const CardCollectionContentViews = {
|
|
|
42
41
|
'list': []
|
|
43
42
|
};
|
|
44
43
|
|
|
44
|
+
var script$1 = defineComponent({
|
|
45
|
+
name: 'OrCardCollectionView',
|
|
46
|
+
props: {
|
|
47
|
+
items: {
|
|
48
|
+
type: Array,
|
|
49
|
+
default: []
|
|
50
|
+
},
|
|
51
|
+
mode: {
|
|
52
|
+
type: String,
|
|
53
|
+
required: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
setup(props) {
|
|
57
|
+
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
58
|
+
return {
|
|
59
|
+
contentStyles
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/* script */
|
|
65
|
+
const __vue_script__$1 = script$1;
|
|
66
|
+
|
|
67
|
+
/* template */
|
|
68
|
+
var __vue_render__$1 = function () {
|
|
69
|
+
var _vm = this;
|
|
70
|
+
var _h = _vm.$createElement;
|
|
71
|
+
var _c = _vm._self._c || _h;
|
|
72
|
+
return _c('div', {
|
|
73
|
+
class: _vm.contentStyles
|
|
74
|
+
}, [_vm._l(_vm.items, function (item) {
|
|
75
|
+
return _vm._t("item", null, null, {
|
|
76
|
+
item: item,
|
|
77
|
+
mode: _vm.mode
|
|
78
|
+
});
|
|
79
|
+
})], 2);
|
|
80
|
+
};
|
|
81
|
+
var __vue_staticRenderFns__$1 = [];
|
|
82
|
+
|
|
83
|
+
/* style */
|
|
84
|
+
const __vue_inject_styles__$1 = undefined;
|
|
85
|
+
/* scoped */
|
|
86
|
+
const __vue_scope_id__$1 = undefined;
|
|
87
|
+
/* module identifier */
|
|
88
|
+
const __vue_module_identifier__$1 = undefined;
|
|
89
|
+
/* functional template */
|
|
90
|
+
const __vue_is_functional_template__$1 = false;
|
|
91
|
+
/* style inject */
|
|
92
|
+
|
|
93
|
+
/* style inject SSR */
|
|
94
|
+
|
|
95
|
+
/* style inject shadow dom */
|
|
96
|
+
|
|
97
|
+
const __vue_component__$1 = /*#__PURE__*/normalizeComponent({
|
|
98
|
+
render: __vue_render__$1,
|
|
99
|
+
staticRenderFns: __vue_staticRenderFns__$1
|
|
100
|
+
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
|
|
101
|
+
|
|
45
102
|
var script = defineComponent({
|
|
46
103
|
name: 'OrCardCollection',
|
|
47
104
|
components: {
|
|
48
|
-
|
|
105
|
+
OrCardCollectionView: __vue_component__$1,
|
|
49
106
|
OrIconButton: __vue_component__$2,
|
|
50
107
|
OrInput: __vue_component__$3,
|
|
51
108
|
OrSortHeader: __vue_component__$4
|
|
@@ -83,7 +140,6 @@ var script = defineComponent({
|
|
|
83
140
|
const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
|
|
84
141
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
85
142
|
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
86
|
-
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[proxyView.value]]);
|
|
87
143
|
// State
|
|
88
144
|
const proxyView = ref(props.view);
|
|
89
145
|
const proxySort = ref(props.sort);
|
|
@@ -119,7 +175,6 @@ var script = defineComponent({
|
|
|
119
175
|
rootStyles,
|
|
120
176
|
toolbarStyles,
|
|
121
177
|
toolbarPanelStyles,
|
|
122
|
-
contentStyles,
|
|
123
178
|
proxyView,
|
|
124
179
|
proxySort,
|
|
125
180
|
proxySearch,
|
|
@@ -191,17 +246,22 @@ var __vue_render__ = function () {
|
|
|
191
246
|
return _vm.switchToListView();
|
|
192
247
|
}
|
|
193
248
|
}
|
|
194
|
-
}), _vm._v(" "), _vm._t("addon")], 2)]), _vm._v(" "),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
249
|
+
}), _vm._v(" "), _vm._t("addon")], 2)]), _vm._v(" "), _vm._t(_vm.proxyView, function () {
|
|
250
|
+
return [_c('OrCardCollectionView', {
|
|
251
|
+
attrs: {
|
|
252
|
+
"items": _vm.items,
|
|
253
|
+
"mode": _vm.proxyView
|
|
254
|
+
},
|
|
255
|
+
scopedSlots: _vm._u([{
|
|
256
|
+
key: "item",
|
|
257
|
+
fn: function (props) {
|
|
258
|
+
return [_vm._t("item", null, null, props)];
|
|
259
|
+
}
|
|
260
|
+
}], null, true)
|
|
261
|
+
})];
|
|
262
|
+
}, null, {
|
|
263
|
+
items: _vm.items
|
|
264
|
+
})], 2);
|
|
205
265
|
};
|
|
206
266
|
var __vue_staticRenderFns__ = [];
|
|
207
267
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-357a5756.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -301,7 +301,7 @@ var __vue_render__ = function () {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
|
|
304
|
-
class: ['layout-row']
|
|
304
|
+
class: ['layout-row', 'm-[-4px] md:m-[-2px]']
|
|
305
305
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
306
306
|
attrs: {
|
|
307
307
|
"icon": {
|
|
@@ -363,14 +363,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
363
|
/* style */
|
|
364
364
|
const __vue_inject_styles__ = function (inject) {
|
|
365
365
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "input[data-v-
|
|
366
|
+
inject("data-v-2f46aeca_0", {
|
|
367
|
+
source: "input[data-v-2f46aeca]{min-width:0;background:0 0;outline:0}input[type=number][data-v-2f46aeca]::-webkit-inner-spin-button{display:none}input[type=search][data-v-2f46aeca]::-webkit-search-cancel-button{display:none}",
|
|
368
368
|
map: undefined,
|
|
369
369
|
media: undefined
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
372
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
373
|
+
const __vue_scope_id__ = "data-v-2f46aeca";
|
|
374
374
|
/* module identifier */
|
|
375
375
|
const __vue_module_identifier__ = undefined;
|
|
376
376
|
/* functional template */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrInput-b8a1627f.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-4d5a318d.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-968ddc61.js';
|
|
|
9
9
|
import { _ as __vue_component__$4 } from './OrHint-42dc9ebb.js';
|
|
10
10
|
import { _ as __vue_component__$5 } from './OrIcon-5e394c62.js';
|
|
11
11
|
import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-4d5a318d.js';
|
|
12
|
-
import { _ as __vue_component__$6 } from './OrInput-
|
|
12
|
+
import { _ as __vue_component__$6 } from './OrInput-b8a1627f.js';
|
|
13
13
|
import { _ as __vue_component__$8 } from './OrLabel-2a9f1477.js';
|
|
14
14
|
import { _ as __vue_component__$9 } from './OrMenuItem-c7f28480.js';
|
|
15
15
|
import { _ as __vue_component__$a } from './OrPopover-9bafbdb4.js';
|
|
@@ -370,7 +370,7 @@ var __vue_render__ = function () {
|
|
|
370
370
|
})]] : [_c('span', {
|
|
371
371
|
class: _vm.placeholderStyles
|
|
372
372
|
}, [_vm._v(_vm._s(_vm.placeholder))])]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
|
|
373
|
-
class: ['layout-row']
|
|
373
|
+
class: ['layout-row', 'm-[-4px] md:m-[-2px]']
|
|
374
374
|
}, [_c('OrIcon', {
|
|
375
375
|
attrs: {
|
|
376
376
|
"icon": _vm.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
@@ -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, _ as OrButtonV3 } from '../OrButton-357a5756.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 { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-7bf35252.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-74e21c56.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';
|
|
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-cfe
|
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-b47cfc2d.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-897b5377.js';
|
|
39
39
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-4d5a318d.js';
|
|
40
|
-
export { I as InputType, _ as OrInputV3 } from '../OrInput-
|
|
40
|
+
export { I as InputType, _ as OrInputV3 } from '../OrInput-b8a1627f.js';
|
|
41
41
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-1fa97156.js';
|
|
42
42
|
export { _ as OrInput } from '../OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
|
|
43
43
|
export { _ as OrSearch } from '../OrSearch-0589d17d.js';
|
|
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
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-0c0d1773.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from '../OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from '../OrSelect-0e6e7868.js';
|
|
70
70
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
|
|
71
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.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,5 @@ 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 WithLink: StoryFn<typeof OrCardCollection>;
|
|
@@ -7,7 +7,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
7
7
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
8
8
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
9
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
10
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
11
10
|
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
12
11
|
proxySort: import("@vue/composition-api").Ref<{
|
|
13
12
|
column: string;
|
|
@@ -71,7 +70,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
71
70
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
72
71
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
73
72
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
74
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
75
73
|
proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
|
|
76
74
|
proxySort: import("@vue/composition-api").Ref<{
|
|
77
75
|
column: string;
|
|
@@ -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;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-7bf35252.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import '../../OrCard-de799db0.js';
|
|
6
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
7
5
|
import '../../OrIconButton-e17e4944.js';
|
|
8
6
|
import '../../OrIcon-5e394c62.js';
|
|
7
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
9
8
|
import '../../OrTooltip-513bee30.js';
|
|
10
9
|
import '../../OrPopover-9bafbdb4.js';
|
|
11
10
|
import '@floating-ui/dom';
|
|
@@ -15,7 +14,7 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
15
14
|
import '../../OrOverlay-18ba2dc6.js';
|
|
16
15
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
17
16
|
import 'portal-vue';
|
|
18
|
-
import '../../OrInput-
|
|
17
|
+
import '../../OrInput-b8a1627f.js';
|
|
19
18
|
import '../../OrError-d267ee9a.js';
|
|
20
19
|
import '../../OrHint-42dc9ebb.js';
|
|
21
20
|
import '../../OrInputBox-4d5a318d.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-74e21c56.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-357a5756.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -9,7 +9,7 @@ import '../../OrOverlay-18ba2dc6.js';
|
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
11
11
|
import 'portal-vue';
|
|
12
|
-
import '../../OrInput-
|
|
12
|
+
import '../../OrInput-b8a1627f.js';
|
|
13
13
|
import '../../OrError-d267ee9a.js';
|
|
14
14
|
import '../../OrHint-42dc9ebb.js';
|
|
15
15
|
import '../../OrIconButton-e17e4944.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, _ as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, _ as OrInputV3 } from '../../OrInput-b8a1627f.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { _ as OrSearchV3 } from '../../OrSearch-0c0d1773.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-b8a1627f.js';
|
|
7
7
|
import '../../OrError-d267ee9a.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../../OrHint-42dc9ebb.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-0e6e7868.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
@@ -13,7 +13,7 @@ import '../../OrError-d267ee9a.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-968ddc61.js';
|
|
14
14
|
import '../../OrIcon-5e394c62.js';
|
|
15
15
|
import '../../OrHint-42dc9ebb.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-b8a1627f.js';
|
|
17
17
|
import '../../OrIconButton-e17e4944.js';
|
|
18
18
|
import '../../OrTooltip-513bee30.js';
|
|
19
19
|
import '../../OrPopover-9bafbdb4.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -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, _ as OrButtonV3 } from './OrButton-357a5756.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 { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-7bf35252.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-74e21c56.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';
|
|
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-cfee
|
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-897b5377.js';
|
|
39
39
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-4d5a318d.js';
|
|
40
|
-
export { I as InputType, _ as OrInputV3 } from './OrInput-
|
|
40
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-b8a1627f.js';
|
|
41
41
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-1fa97156.js';
|
|
42
42
|
export { _ as OrInput } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
|
|
43
43
|
export { _ as OrSearch } from './OrSearch-0589d17d.js';
|
|
@@ -63,10 +63,10 @@ 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-0c0d1773.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from './OrSelect-0e6e7868.js';
|
|
70
70
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
71
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$1 } from './OrCard-fd92f7c8.js';
|
|
5
4
|
import { s as script$2 } from './OrIconButton-1eebcafc.js';
|
|
6
|
-
import { s as script$3 } from './OrInput-
|
|
5
|
+
import { s as script$3 } from './OrInput-e2ac1182.js';
|
|
7
6
|
import { s as script$4 } from './OrSortHeader-fe1a9cf8.js';
|
|
8
|
-
import {
|
|
7
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, resolveComponent, createElementVNode, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
9
8
|
|
|
10
9
|
var CardCollectionView;
|
|
11
10
|
(function (CardCollectionView) {
|
|
@@ -42,10 +41,46 @@ const CardCollectionContentViews = {
|
|
|
42
41
|
'list': []
|
|
43
42
|
};
|
|
44
43
|
|
|
44
|
+
var script$1 = defineComponent({
|
|
45
|
+
name: 'OrCardCollectionView',
|
|
46
|
+
props: {
|
|
47
|
+
items: {
|
|
48
|
+
type: Array,
|
|
49
|
+
default: []
|
|
50
|
+
},
|
|
51
|
+
mode: {
|
|
52
|
+
type: String,
|
|
53
|
+
required: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
setup(props) {
|
|
57
|
+
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
58
|
+
return {
|
|
59
|
+
contentStyles
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
|
+
return openBlock(), createElementBlock("div", {
|
|
66
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
67
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
68
|
+
return renderSlot(_ctx.$slots, "item", mergeProps({
|
|
69
|
+
key: item.key || index
|
|
70
|
+
}, {
|
|
71
|
+
item,
|
|
72
|
+
mode: _ctx.mode
|
|
73
|
+
}));
|
|
74
|
+
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
script$1.render = render$1;
|
|
78
|
+
script$1.__file = "src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue";
|
|
79
|
+
|
|
45
80
|
var script = defineComponent({
|
|
46
81
|
name: 'OrCardCollection',
|
|
47
82
|
components: {
|
|
48
|
-
|
|
83
|
+
OrCardCollectionView: script$1,
|
|
49
84
|
OrIconButton: script$2,
|
|
50
85
|
OrInput: script$3,
|
|
51
86
|
OrSortHeader: script$4
|
|
@@ -83,7 +118,6 @@ var script = defineComponent({
|
|
|
83
118
|
const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
|
|
84
119
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
85
120
|
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
86
|
-
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[proxyView.value]]);
|
|
87
121
|
// State
|
|
88
122
|
const proxyView = ref(props.view);
|
|
89
123
|
const proxySort = ref(props.sort);
|
|
@@ -119,7 +153,6 @@ var script = defineComponent({
|
|
|
119
153
|
rootStyles,
|
|
120
154
|
toolbarStyles,
|
|
121
155
|
toolbarPanelStyles,
|
|
122
|
-
contentStyles,
|
|
123
156
|
proxyView,
|
|
124
157
|
proxySort,
|
|
125
158
|
proxySearch,
|
|
@@ -133,7 +166,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
133
166
|
const _component_OrSortHeader = resolveComponent("OrSortHeader");
|
|
134
167
|
const _component_OrInput = resolveComponent("OrInput");
|
|
135
168
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
136
|
-
const
|
|
169
|
+
const _component_OrCardCollectionView = resolveComponent("OrCardCollectionView");
|
|
137
170
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
138
171
|
ref: "root"
|
|
139
172
|
}, _ctx.$attrs, {
|
|
@@ -169,27 +202,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
169
202
|
}), createVNode(_component_OrIconButton, {
|
|
170
203
|
icon: 'view_list',
|
|
171
204
|
onClick: _cache[3] || (_cache[3] = $event => _ctx.switchToListView())
|
|
172
|
-
}), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */),
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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 */);
|
|
205
|
+
}), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */), renderSlot(_ctx.$slots, _ctx.proxyView, normalizeProps(guardReactiveProps({
|
|
206
|
+
items: _ctx.items
|
|
207
|
+
})), () => [createVNode(_component_OrCardCollectionView, {
|
|
208
|
+
items: _ctx.items,
|
|
209
|
+
mode: _ctx.proxyView
|
|
210
|
+
}, {
|
|
211
|
+
item: withCtx(props => [renderSlot(_ctx.$slots, "item", normalizeProps(guardReactiveProps(props)))]),
|
|
212
|
+
_: 3 /* FORWARDED */
|
|
213
|
+
}, 8 /* PROPS */, ["items", "mode"])])], 16 /* FULL_PROPS */);
|
|
193
214
|
}
|
|
194
215
|
|
|
195
216
|
script.render = render;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { s as script$2, a as ButtonColor } from './OrButton-f4b9ee51.js';
|
|
3
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
|
-
import { s as script$3 } from './OrInput-
|
|
4
|
+
import { s as script$3 } from './OrInput-e2ac1182.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
@@ -145,7 +145,7 @@ var script = defineComponent({
|
|
|
145
145
|
|
|
146
146
|
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
147
147
|
const _hoisted_2 = {
|
|
148
|
-
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
148
|
+
class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
|
|
149
149
|
};
|
|
150
150
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151
151
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
+
import { s as script$1 } from './OrInput-e2ac1182.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-5247ab25.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
|
|
|
9
9
|
import { s as script$4 } from './OrHint-74bb732d.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b195169c.js';
|
|
11
11
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-5247ab25.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-e2ac1182.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
@@ -288,7 +288,7 @@ var script = defineComponent({
|
|
|
288
288
|
|
|
289
289
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
290
290
|
const _hoisted_2 = {
|
|
291
|
-
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
291
|
+
class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
|
|
292
292
|
};
|
|
293
293
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
294
294
|
const _component_OrLabel = resolveComponent("OrLabel");
|