@onereach/ui-components 11.2.1 → 11.2.2-beta.4404.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/components/OrDataGridV3/OrDataGrid.js +1 -1
- package/dist/bundled/v2/components/OrDataGridV3/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +84 -51
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +28 -8
- package/dist/bundled/v2/components/OrPaginationV3/styles.d.ts +1 -3
- package/dist/bundled/v2/components/OrPaginationV3/styles.js +2 -12
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/OrDataGrid.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDataGridV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDataGridV3-355e1035.js → OrDataGridV3-7fd8849b.js} +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +6 -4
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/styles.d.ts +1 -3
- package/dist/bundled/v3/components/OrPaginationV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrPaginationV3-48298a86.js → OrPaginationV3-56fef1c8.js} +91 -66
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrDataGrid-5bd153f2.js → OrDataGrid-4b340a70.js} +1 -1
- package/dist/esm/v2/{OrPagination-fb249225.js → OrPagination-65905270.js} +84 -61
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-data-grid-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +28 -8
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +1 -3
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrDataGrid-cb75d875.js → OrDataGrid-edbbcc99.js} +1 -1
- package/dist/esm/v3/{OrPagination-c3611352.js → OrPagination-8c87faeb.js} +90 -65
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-data-grid-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +6 -4
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +1 -3
- package/dist/esm/v3/index.js +2 -2
- package/package.json +2 -3
- package/src/components/or-pagination-v3/OrPagination.vue +95 -67
- package/src/components/or-pagination-v3/styles.ts +1 -17
- /package/dist/bundled/v2/{OrDataGrid-59e12d35.js → OrDataGrid-e20adf12.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { _ as default } from '../../OrDataGrid-
|
|
1
|
+
export { _ as default } from '../../OrDataGrid-e20adf12.js';
|
|
2
2
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DataGridVariant, _ as OrDataGridV3 } from '../../OrDataGrid-
|
|
1
|
+
export { D as DataGridVariant, _ as OrDataGridV3 } from '../../OrDataGrid-e20adf12.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { Pagination, PaginationItem } from './styles.js';
|
|
3
3
|
import __vue_component__$1 from '../OrButtonV3/OrButton.js';
|
|
4
4
|
import __vue_component__$2 from '../OrIconV3/OrIcon.js';
|
|
5
5
|
import __vue_component__$3 from '../OrMenuV3/OrMenu.js';
|
|
@@ -37,8 +37,9 @@ var script = defineComponent({
|
|
|
37
37
|
emits: ['update:modelValue'],
|
|
38
38
|
expose: ['root'],
|
|
39
39
|
setup(props, context) {
|
|
40
|
-
// Refs
|
|
40
|
+
// Refs & Styles
|
|
41
41
|
const root = ref();
|
|
42
|
+
const rootStyles = computed(() => ['or-pagination-v3', ...Pagination]);
|
|
42
43
|
const limitButton = ref();
|
|
43
44
|
const limitButtonRoot = computed(() => {
|
|
44
45
|
var _a;
|
|
@@ -49,20 +50,26 @@ var script = defineComponent({
|
|
|
49
50
|
var _a;
|
|
50
51
|
return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
51
52
|
});
|
|
52
|
-
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
const offsetButton = ref();
|
|
54
|
+
const offsetButtonRoot = computed(() => {
|
|
55
|
+
var _a;
|
|
56
|
+
return (_a = offsetButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
57
|
+
});
|
|
58
|
+
const offsetMenu = ref();
|
|
59
|
+
const offsetMenuRoot = computed(() => {
|
|
60
|
+
var _a;
|
|
61
|
+
return (_a = offsetMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
62
|
+
});
|
|
56
63
|
const itemStyles = computed(() => [...PaginationItem]);
|
|
57
64
|
// State
|
|
58
|
-
const
|
|
65
|
+
const model = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
59
66
|
const currentLimit = computed({
|
|
60
67
|
get: () => {
|
|
61
68
|
var _a, _b;
|
|
62
|
-
return (_b = (_a =
|
|
69
|
+
return (_b = (_a = model.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.options[0];
|
|
63
70
|
},
|
|
64
71
|
set: value => {
|
|
65
|
-
|
|
72
|
+
model.value = {
|
|
66
73
|
limit: value,
|
|
67
74
|
offset: 0
|
|
68
75
|
};
|
|
@@ -71,10 +78,10 @@ var script = defineComponent({
|
|
|
71
78
|
const currentOffset = computed({
|
|
72
79
|
get: () => {
|
|
73
80
|
var _a, _b;
|
|
74
|
-
return (_b = (_a =
|
|
81
|
+
return (_b = (_a = model.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
|
|
75
82
|
},
|
|
76
83
|
set: value => {
|
|
77
|
-
|
|
84
|
+
model.value = {
|
|
78
85
|
limit: currentLimit.value,
|
|
79
86
|
offset: value
|
|
80
87
|
};
|
|
@@ -137,15 +144,17 @@ var script = defineComponent({
|
|
|
137
144
|
} = useResponsive();
|
|
138
145
|
return {
|
|
139
146
|
root,
|
|
147
|
+
rootStyles,
|
|
140
148
|
limitButton,
|
|
141
149
|
limitButtonRoot,
|
|
142
150
|
limitMenu,
|
|
143
151
|
limitMenuRoot,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
152
|
+
offsetButton,
|
|
153
|
+
offsetButtonRoot,
|
|
154
|
+
offsetMenu,
|
|
155
|
+
offsetMenuRoot,
|
|
147
156
|
itemStyles,
|
|
148
|
-
|
|
157
|
+
model,
|
|
149
158
|
currentLimit,
|
|
150
159
|
currentOffset,
|
|
151
160
|
currentPage,
|
|
@@ -173,7 +182,48 @@ var __vue_render__ = function () {
|
|
|
173
182
|
ref: 'root',
|
|
174
183
|
class: _vm.rootStyles
|
|
175
184
|
}, [_c('div', {
|
|
176
|
-
class:
|
|
185
|
+
class: ['layout-row', 'gap-md', 'shrink-0']
|
|
186
|
+
}, [_c('div', {
|
|
187
|
+
class: ['layout-row', 'gap-sm']
|
|
188
|
+
}, [_vm._v("\n Per page:\n\n "), _c('OrButton', {
|
|
189
|
+
ref: 'limitButton',
|
|
190
|
+
class: _vm.itemStyles,
|
|
191
|
+
attrs: {
|
|
192
|
+
"variant": 'link',
|
|
193
|
+
"color": 'inherit',
|
|
194
|
+
"activated": true
|
|
195
|
+
},
|
|
196
|
+
on: {
|
|
197
|
+
"click": function ($event) {
|
|
198
|
+
_vm.limitMenu && _vm.limitMenu.open();
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}, [_vm._v("\n " + _vm._s(_vm.currentLimit) + " "), _c('OrIcon', {
|
|
202
|
+
attrs: {
|
|
203
|
+
"icon": _vm.limitMenu && _vm.limitMenu.state === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
204
|
+
}
|
|
205
|
+
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
206
|
+
ref: 'limitMenu',
|
|
207
|
+
attrs: {
|
|
208
|
+
"additional-styles": ['min-w-[60px]'],
|
|
209
|
+
"trigger": _vm.limitButtonRoot,
|
|
210
|
+
"placement": 'top'
|
|
211
|
+
}
|
|
212
|
+
}, _vm._l(_vm.options, function (limit) {
|
|
213
|
+
return _c('OrMenuItem', {
|
|
214
|
+
key: limit,
|
|
215
|
+
attrs: {
|
|
216
|
+
"selected": _vm.currentLimit === limit
|
|
217
|
+
},
|
|
218
|
+
on: {
|
|
219
|
+
"click": function ($event) {
|
|
220
|
+
_vm.currentLimit = limit;
|
|
221
|
+
_vm.limitMenu && _vm.limitMenu.close();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}, [_vm._v("\n " + _vm._s(limit) + "\n ")]);
|
|
225
|
+
}), 1)], 1), _vm._v("\n\n " + _vm._s(_vm.currentOffset + 1) + "-" + _vm._s(Math.min(_vm.currentOffset + _vm.currentLimit, _vm.length)) + " of " + _vm._s(_vm.length) + "\n ")]), _vm._v(" "), _c('div', {
|
|
226
|
+
class: ['layout-row', 'gap-md', 'shrink-0']
|
|
177
227
|
}, [_c('OrButton', {
|
|
178
228
|
class: _vm.itemStyles,
|
|
179
229
|
attrs: {
|
|
@@ -190,7 +240,7 @@ var __vue_render__ = function () {
|
|
|
190
240
|
attrs: {
|
|
191
241
|
"icon": 'keyboard_arrow_left'
|
|
192
242
|
}
|
|
193
|
-
})], 1), _vm._v(" "), _vm.isDesktop ?
|
|
243
|
+
})], 1), _vm._v(" "), _vm.isDesktop ? _vm._l(_vm.buttonGroup, function (page, index) {
|
|
194
244
|
return _c('OrButton', {
|
|
195
245
|
key: index,
|
|
196
246
|
class: _vm.itemStyles,
|
|
@@ -205,26 +255,8 @@ var __vue_render__ = function () {
|
|
|
205
255
|
}
|
|
206
256
|
}
|
|
207
257
|
}, [_vm._v("\n " + _vm._s(page) + "\n ")]);
|
|
208
|
-
}), _vm._v(" "), _c('OrButton', {
|
|
209
|
-
|
|
210
|
-
attrs: {
|
|
211
|
-
"variant": 'link',
|
|
212
|
-
"color": 'inherit',
|
|
213
|
-
"disabled": _vm.currentPage === _vm.lastPage
|
|
214
|
-
},
|
|
215
|
-
on: {
|
|
216
|
-
"click": function ($event) {
|
|
217
|
-
return _vm.toNextPage();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}, [_c('OrIcon', {
|
|
221
|
-
attrs: {
|
|
222
|
-
"icon": 'keyboard_arrow_right'
|
|
223
|
-
}
|
|
224
|
-
})], 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
225
|
-
class: _vm.limitControlStyles
|
|
226
|
-
}, [_vm.isDesktop ? [_vm._v("\n Per page:\n ")] : _vm._e(), _vm._v(" "), _c('OrButton', {
|
|
227
|
-
ref: 'limitButton',
|
|
258
|
+
}) : _vm._e(), _vm._v(" "), _vm.isMobile ? [_c('OrButton', {
|
|
259
|
+
ref: 'offsetButton',
|
|
228
260
|
class: _vm.itemStyles,
|
|
229
261
|
attrs: {
|
|
230
262
|
"variant": 'link',
|
|
@@ -233,33 +265,34 @@ var __vue_render__ = function () {
|
|
|
233
265
|
},
|
|
234
266
|
on: {
|
|
235
267
|
"click": function ($event) {
|
|
236
|
-
_vm.
|
|
268
|
+
_vm.offsetMenu && _vm.offsetMenu.open();
|
|
237
269
|
}
|
|
238
270
|
}
|
|
239
|
-
}, [_vm._v("\n
|
|
271
|
+
}, [_vm._v("\n " + _vm._s(_vm.currentPage) + " "), _c('OrIcon', {
|
|
240
272
|
attrs: {
|
|
241
|
-
"icon": _vm.
|
|
273
|
+
"icon": _vm.offsetMenu && _vm.offsetMenu.state === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
242
274
|
}
|
|
243
275
|
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
244
|
-
ref: '
|
|
276
|
+
ref: 'offsetMenu',
|
|
245
277
|
attrs: {
|
|
246
278
|
"additional-styles": ['min-w-[60px]'],
|
|
247
|
-
"trigger": _vm.
|
|
279
|
+
"trigger": _vm.offsetButtonRoot,
|
|
248
280
|
"placement": 'top'
|
|
249
281
|
}
|
|
250
|
-
}, _vm._l(_vm.
|
|
282
|
+
}, _vm._l(_vm.lastPage, function (page) {
|
|
251
283
|
return _c('OrMenuItem', {
|
|
252
|
-
key:
|
|
284
|
+
key: page,
|
|
285
|
+
attrs: {
|
|
286
|
+
"selected": _vm.currentPage === page
|
|
287
|
+
},
|
|
253
288
|
on: {
|
|
254
289
|
"click": function ($event) {
|
|
255
|
-
_vm.
|
|
256
|
-
_vm.
|
|
290
|
+
_vm.currentPage = page;
|
|
291
|
+
_vm.offsetMenu && _vm.offsetMenu.close();
|
|
257
292
|
}
|
|
258
293
|
}
|
|
259
|
-
}, [_vm._v("\n
|
|
260
|
-
}), 1)]
|
|
261
|
-
class: _vm.offsetControlStyles
|
|
262
|
-
}, [_c('OrButton', {
|
|
294
|
+
}, [_vm._v("\n " + _vm._s(page) + "\n ")]);
|
|
295
|
+
}), 1)] : _vm._e(), _vm._v(" "), _c('OrButton', {
|
|
263
296
|
class: _vm.itemStyles,
|
|
264
297
|
attrs: {
|
|
265
298
|
"variant": 'link',
|
|
@@ -275,7 +308,7 @@ var __vue_render__ = function () {
|
|
|
275
308
|
attrs: {
|
|
276
309
|
"icon": 'keyboard_arrow_right'
|
|
277
310
|
}
|
|
278
|
-
})], 1)],
|
|
311
|
+
})], 1)], 2)]);
|
|
279
312
|
};
|
|
280
313
|
var __vue_staticRenderFns__ = [];
|
|
281
314
|
|
|
@@ -2,6 +2,7 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { PaginationModelValue } from './types';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
5
6
|
limitButton: import("@vue/composition-api").Ref<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
7
|
[x: string]: ((...args: any[]) => any) | null;
|
|
7
8
|
} | string[], {} & {}, {
|
|
@@ -14,11 +15,20 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
14
15
|
[x: number]: string;
|
|
15
16
|
} | {}, true> | undefined>;
|
|
16
17
|
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
offsetButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
+
} | string[], {} & {}, {
|
|
21
|
+
[x: number]: string;
|
|
22
|
+
} | {}, true> | undefined>;
|
|
23
|
+
offsetButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
24
|
+
offsetMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
25
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
26
|
+
} | string[], {} & {}, {
|
|
27
|
+
[x: number]: string;
|
|
28
|
+
} | {}, true> | undefined>;
|
|
29
|
+
offsetMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
20
30
|
itemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
21
|
-
|
|
31
|
+
model: import("../../hooks").UseProxyModelValueReturn<PaginationModelValue>;
|
|
22
32
|
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
23
33
|
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
24
34
|
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
@@ -64,6 +74,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
64
74
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
65
75
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
66
76
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
77
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
67
78
|
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
68
79
|
[x: string]: ((...args: any[]) => any) | null;
|
|
69
80
|
} | string[], {} & {}, {
|
|
@@ -76,11 +87,20 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
76
87
|
[x: number]: string;
|
|
77
88
|
} | {}, true> | undefined>;
|
|
78
89
|
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
90
|
+
offsetButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
91
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
92
|
+
} | string[], {} & {}, {
|
|
93
|
+
[x: number]: string;
|
|
94
|
+
} | {}, true> | undefined>;
|
|
95
|
+
offsetButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
96
|
+
offsetMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
97
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
98
|
+
} | string[], {} & {}, {
|
|
99
|
+
[x: number]: string;
|
|
100
|
+
} | {}, true> | undefined>;
|
|
101
|
+
offsetMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
82
102
|
itemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
83
|
-
|
|
103
|
+
model: import("../../hooks").UseProxyModelValueReturn<PaginationModelValue>;
|
|
84
104
|
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
85
105
|
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
86
106
|
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Pagination = [
|
|
2
2
|
// Layout
|
|
3
3
|
'layout-row',
|
|
4
4
|
// Spacing
|
|
@@ -7,20 +7,10 @@ const PaginationRoot = [
|
|
|
7
7
|
'typography-caption-regular',
|
|
8
8
|
// Theme
|
|
9
9
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
10
|
-
const PaginationOffsetControl = [
|
|
11
|
-
// Layout
|
|
12
|
-
'layout-row',
|
|
13
|
-
// Spacing
|
|
14
|
-
'gap-md'];
|
|
15
|
-
const PaginationLimitControl = [
|
|
16
|
-
// Layout
|
|
17
|
-
'layout-row',
|
|
18
|
-
// Spacing
|
|
19
|
-
'gap-sm'];
|
|
20
10
|
const PaginationItem = [
|
|
21
11
|
// Typography
|
|
22
12
|
'typography-caption-regular',
|
|
23
13
|
// Typography (activated)
|
|
24
14
|
'activated:typography-caption-bold'];
|
|
25
15
|
|
|
26
|
-
export {
|
|
16
|
+
export { Pagination, PaginationItem };
|
|
@@ -44,7 +44,7 @@ export { default as OrConfirm } from './OrConfirm/OrConfirm.js';
|
|
|
44
44
|
export { default as OrConfirmV3 } from './OrConfirmV3/OrConfirm.js';
|
|
45
45
|
export { ConfirmType } from './OrConfirmV3/props.js';
|
|
46
46
|
export { default as OrContextMenuV3 } from './OrContextMenuV3/OrContextMenu.js';
|
|
47
|
-
export { D as DataGridVariant, _ as OrDataGridV3 } from '../OrDataGrid-
|
|
47
|
+
export { D as DataGridVariant, _ as OrDataGridV3 } from '../OrDataGrid-e20adf12.js';
|
|
48
48
|
export { default as OrDateFormatV3 } from './OrDateFormatV3/OrDateFormat.js';
|
|
49
49
|
export { default as OrDatePickerV3 } from './OrDatePickerV3/OrDatePicker.js';
|
|
50
50
|
export { default as OrDateRangePickerV3 } from './OrDateRangePickerV3/OrDateRangePicker.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { default as OrCombinedInputV3 } from './components/OrCombinedInputV3/OrC
|
|
|
18
18
|
export { default as OrConfirm } from './components/OrConfirm/OrConfirm.js';
|
|
19
19
|
export { default as OrConfirmV3 } from './components/OrConfirmV3/OrConfirm.js';
|
|
20
20
|
export { default as OrContextMenuV3 } from './components/OrContextMenuV3/OrContextMenu.js';
|
|
21
|
-
export { D as DataGridVariant, _ as OrDataGridV3 } from './OrDataGrid-
|
|
21
|
+
export { D as DataGridVariant, _ as OrDataGridV3 } from './OrDataGrid-e20adf12.js';
|
|
22
22
|
export { default as OrDateFormatV3 } from './components/OrDateFormatV3/OrDateFormat.js';
|
|
23
23
|
export { default as OrDatePickerV3 } from './components/OrDatePickerV3/OrDatePicker.js';
|
|
24
24
|
export { default as OrDateRangePickerV3 } from './components/OrDateRangePickerV3/OrDateRangePicker.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrDataGridV3-
|
|
1
|
+
export { s as default } from '../OrDataGridV3-7fd8849b.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-
|
|
1
|
+
export { D as DataGridVariant, s as OrDataGridV3 } from '../OrDataGridV3-7fd8849b.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as DataGrid } from '../OrDataGridV3-
|
|
1
|
+
export { a as DataGrid } from '../OrDataGridV3-7fd8849b.js';
|
|
@@ -2,7 +2,7 @@ import { openBlock, createElementBlock, normalizeClass, renderSlot, createCommen
|
|
|
2
2
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
3
|
import { s as script$e } from './OrIconV3-34670800.js';
|
|
4
4
|
import { s as script$f } from './OrCheckboxV3-a59d6415.js';
|
|
5
|
-
import { s as script$g } from './OrPaginationV3-
|
|
5
|
+
import { s as script$g } from './OrPaginationV3-56fef1c8.js';
|
|
6
6
|
import script$h from './OrSearchV3/OrSearch.js';
|
|
7
7
|
|
|
8
8
|
const DataGridFooter = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrPaginationV3-
|
|
1
|
+
export { s as default } from '../OrPaginationV3-56fef1c8.js';
|
|
@@ -15,15 +15,17 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
}, {
|
|
17
17
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
18
|
+
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
18
19
|
limitButton: import("vue-demi").Ref<any>;
|
|
19
20
|
limitButtonRoot: import("vue-demi").ComputedRef<any>;
|
|
20
21
|
limitMenu: import("vue-demi").Ref<any>;
|
|
21
22
|
limitMenuRoot: import("vue-demi").ComputedRef<any>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
offsetButton: import("vue-demi").Ref<any>;
|
|
24
|
+
offsetButtonRoot: import("vue-demi").ComputedRef<any>;
|
|
25
|
+
offsetMenu: import("vue-demi").Ref<any>;
|
|
26
|
+
offsetMenuRoot: import("vue-demi").ComputedRef<any>;
|
|
25
27
|
itemStyles: import("vue-demi").ComputedRef<string[]>;
|
|
26
|
-
|
|
28
|
+
model: import("../../hooks").UseProxyModelValueReturn<PaginationModelValue>;
|
|
27
29
|
currentLimit: import("vue-demi").WritableComputedRef<number>;
|
|
28
30
|
currentOffset: import("vue-demi").WritableComputedRef<number>;
|
|
29
31
|
currentPage: import("vue-demi").WritableComputedRef<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrPaginationV3 } from '../OrPaginationV3-
|
|
1
|
+
export { s as OrPaginationV3 } from '../OrPaginationV3-56fef1c8.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { P as Pagination, a as PaginationItem } from '../OrPaginationV3-56fef1c8.js';
|