@onereach/ui-components 2.69.7-beta.2168.0 → 2.69.7-beta.2170.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-4b99c680.js → OrButton-a846fa7e.js} +10 -1
- package/dist/bundled/v2/{OrCardCollection-aa6b8553.js → OrCardCollection-15d11d05.js} +2 -2
- package/dist/bundled/v2/{OrCheckbox-4f665252.js → OrCheckbox-dbef9f9a.js} +3 -3
- package/dist/bundled/v2/{OrConfirm-dc704484.js → OrConfirm-ec3feaf5.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-6af4fe07.js → OrInlineInput-9add2e1e.js} +2 -2
- package/dist/bundled/v2/{OrInlineTextarea-ddf84267.js → OrInlineTextarea-9c6f9044.js} +2 -2
- package/dist/bundled/v2/{OrInput-e7b864c1.js → OrInput-8b90e08f.js} +13 -20
- package/dist/bundled/v2/{OrInputBox-de8ce3ac.js → OrInputBox-79ec54ad.js} +12 -2
- package/dist/bundled/v2/OrPagination-379c10b8.js +308 -0
- package/dist/bundled/v2/{OrRadio-a60fc5c0.js → OrRadio-cd39b20b.js} +3 -3
- package/dist/bundled/v2/{OrSearch-ad84b460.js → OrSearch-76b002cf.js} +2 -2
- package/dist/bundled/v2/{OrSelect-b393f564.js → OrSelect-8a4d227e.js} +14 -15
- package/dist/bundled/v2/{OrSwitch-fe9b7de7.js → OrSwitch-237a2081.js} +3 -3
- package/dist/bundled/v2/{OrTextarea-59fba95c.js → OrTextarea-5593fbe9.js} +11 -14
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +14 -14
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -6
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +20 -0
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +4 -0
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/bundled/v2/components/or-select-v3/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/bundled/v2/index.js +15 -15
- package/dist/bundled/v3/{OrButton-a671b8a1.js → OrButton-2b27c1fd.js} +3 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b0dc31ca.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +9 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ece2eab6.js → OrCardCollection.vue_vue_type_script_lang-bd852915.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-fcbdf2c6.js → OrConfirm.vue_vue_type_script_lang-9e4e2884.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-84c521f9.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-9c58faeb.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
- package/dist/bundled/v3/{OrInput-4ccc2c7b.js → OrInput-fa782fc1.js} +14 -17
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-96ce8121.js → OrInput.vue_vue_type_script_lang-f6d793d3.js} +4 -5
- package/dist/bundled/v3/{OrInputBox-27aa1cec.js → OrInputBox-eb54d73d.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-328ae841.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +2 -3
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-c96d7cd7.js +187 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-71fbb2fc.js → OrSearch.vue_vue_type_script_lang-014ad470.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-363605c5.js → OrSelect.vue_vue_type_script_lang-94063fc4.js} +9 -13
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-9f2a0234.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +4 -5
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +14 -14
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -9
- package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -8
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +22 -0
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/bundled/v3/components/or-select-v3/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
- package/dist/bundled/v3/index.js +277 -191
- package/dist/esm/v2/{OrButton-357e1e2c.js → OrButton-835d4f11.js} +10 -1
- package/dist/esm/v2/{OrCardCollection-fe34fef3.js → OrCardCollection-024cfba9.js} +3 -3
- package/dist/esm/v2/{OrCheckbox-ea48d156.js → OrCheckbox-567e387c.js} +3 -3
- package/dist/esm/v2/{OrConfirm-3bead0be.js → OrConfirm-5e8dd4b6.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-e32f322f.js → OrInlineInput-cfeeea33.js} +2 -2
- package/dist/esm/v2/{OrInlineTextarea-7296fbdb.js → OrInlineTextarea-897b5377.js} +2 -2
- package/dist/esm/v2/{OrInput-db0e2368.js → OrInput-2f16a7ac.js} +13 -20
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-28353c10.js → esm/v2/OrInputBox-4d5a318d.js} +55 -4
- package/dist/esm/v2/OrPagination-c0dbec6a.js +308 -0
- package/dist/esm/v2/{OrRadio-6e10f071.js → OrRadio-848ce55d.js} +3 -3
- package/dist/esm/v2/{OrSearch-9d9459f5.js → OrSearch-2f260b09.js} +2 -2
- package/dist/esm/v2/{OrSelect-e6aa1b2a.js → OrSelect-641184f0.js} +14 -15
- package/dist/esm/v2/{OrSwitch-c628d2c5.js → OrSwitch-13b6a7ee.js} +3 -3
- package/dist/esm/v2/{OrTextarea-52354386.js → OrTextarea-6712a150.js} +11 -14
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +14 -14
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -6
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/index.js +2 -3
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +18 -0
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +4 -0
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +3 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
- package/dist/esm/v2/components/or-select-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/index.js +4 -5
- package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/esm/v2/index.js +14 -14
- package/dist/esm/v3/{OrButton-bb6bf8a9.js → OrButton-0fa67a0d.js} +11 -2
- package/dist/esm/v3/{OrCardCollection-8a84f69c.js → OrCardCollection-286d0f3f.js} +2 -2
- package/dist/esm/v3/{OrCheckbox-d1b516c8.js → OrCheckbox-3e139eac.js} +2 -3
- package/dist/esm/v3/{OrConfirm-5bd1f4db.js → OrConfirm-56ae1494.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-00f0d1b8.js → OrInlineInput-31026cd0.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-c1babfda.js → OrInlineTextarea-b28c3d8c.js} +2 -2
- package/dist/esm/v3/{OrInput-2b447f81.js → OrInput-41691fb3.js} +15 -18
- package/dist/esm/v3/OrPagination-a703307d.js +269 -0
- package/dist/esm/v3/{OrRadio-ef9d4c6e.js → OrRadio-54b6d0de.js} +2 -3
- package/dist/esm/v3/{OrSearch-d72cfc74.js → OrSearch-e5a2e93e.js} +1 -1
- package/dist/esm/v3/{OrSelect-e6e006d5.js → OrSelect-08bd0f60.js} +16 -13
- package/dist/esm/v3/{OrSwitch-cc797a48.js → OrSwitch-cca30aa0.js} +3 -3
- package/dist/esm/v3/{OrTextarea-ed35cd0b.js → OrTextarea-bb9ef3f2.js} +14 -16
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +13 -12
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +17 -0
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +4 -0
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +4 -0
- package/dist/esm/v3/components/or-radio-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/OrSelect.vue.d.ts +14 -14
- package/dist/esm/v3/components/or-select-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +13 -12
- package/package.json +2 -2
- package/src/components/index.ts +1 -0
- package/src/components/or-button-v3/OrButton.stories3.ts +4 -0
- package/src/components/or-button-v3/OrButton.vue +6 -0
- package/src/components/or-button-v3/styles.ts +9 -1
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -1
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +22 -28
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +7 -0
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +87 -0
- package/src/components/or-pagination-v3/OrPagination.vue +270 -0
- package/src/components/or-pagination-v3/index.ts +2 -0
- package/src/components/or-pagination-v3/styles.ts +38 -0
- package/src/components/or-pagination-v3/types.ts +4 -0
- package/src/components/or-radio-v3/OrRadio.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +20 -14
- package/src/components/or-select-v3/index.ts +1 -0
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-select-v3/types.ts +1 -1
- package/src/components/or-switch-v3/OrSwitch.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +1 -5
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -149
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -132
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-9d1193b5.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -147
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -132
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -202
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -134
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from './OrButton-0fa67a0d.js';
|
|
5
|
+
import { s as script$2 } from './OrIcon-b195169c.js';
|
|
6
|
+
import { s as script$4 } from './OrMenuItem-9da279f6.js';
|
|
7
|
+
import { s as script$3 } from './OrMenu-840038cd.js';
|
|
8
|
+
import './OrPopover-1075dd38.js';
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from 'vue';
|
|
10
|
+
|
|
11
|
+
const PaginationRoot = [
|
|
12
|
+
// Layout
|
|
13
|
+
'layout-row',
|
|
14
|
+
// Spacing
|
|
15
|
+
'gap-xl',
|
|
16
|
+
// Typography
|
|
17
|
+
'typography-caption-regular',
|
|
18
|
+
// Theme
|
|
19
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
20
|
+
const PaginationOffsetControl = [
|
|
21
|
+
// Layout
|
|
22
|
+
'layout-row',
|
|
23
|
+
// Spacing
|
|
24
|
+
'gap-md'];
|
|
25
|
+
const PaginationLimitControl = [
|
|
26
|
+
// Layout
|
|
27
|
+
'layout-row',
|
|
28
|
+
// Spacing
|
|
29
|
+
'gap-sm'];
|
|
30
|
+
const PaginationItem = [
|
|
31
|
+
// Typography
|
|
32
|
+
'typography-caption-regular',
|
|
33
|
+
// Typography (activated)
|
|
34
|
+
'activated:typography-caption-bold'];
|
|
35
|
+
|
|
36
|
+
var script = defineComponent({
|
|
37
|
+
name: 'OrPagination',
|
|
38
|
+
components: {
|
|
39
|
+
OrButton: script$1,
|
|
40
|
+
OrIcon: script$2,
|
|
41
|
+
OrMenu: script$3,
|
|
42
|
+
OrMenuItem: script$4
|
|
43
|
+
},
|
|
44
|
+
inheritAttrs: false,
|
|
45
|
+
props: {
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: Object,
|
|
48
|
+
default: undefined
|
|
49
|
+
},
|
|
50
|
+
value: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: undefined
|
|
53
|
+
},
|
|
54
|
+
length: {
|
|
55
|
+
type: Number,
|
|
56
|
+
required: true
|
|
57
|
+
},
|
|
58
|
+
pageSizeOptions: {
|
|
59
|
+
type: Array,
|
|
60
|
+
default: () => [50, 20, 10, 5]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
emits: ['update:modelValue', 'input'],
|
|
64
|
+
expose: ['root'],
|
|
65
|
+
setup(props, context) {
|
|
66
|
+
// Refs
|
|
67
|
+
const root = ref();
|
|
68
|
+
const limitButton = ref();
|
|
69
|
+
const limitButtonRoot = computed(() => {
|
|
70
|
+
var _a;
|
|
71
|
+
return (_a = limitButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
72
|
+
});
|
|
73
|
+
const limitMenu = ref();
|
|
74
|
+
const limitMenuRoot = computed(() => {
|
|
75
|
+
var _a;
|
|
76
|
+
return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
77
|
+
});
|
|
78
|
+
// Styles
|
|
79
|
+
const classAttribute = useClassAttribute();
|
|
80
|
+
const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
|
|
81
|
+
const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
|
|
82
|
+
const limitControlStyles = computed(() => [...PaginationLimitControl]);
|
|
83
|
+
const itemStyles = computed(() => [...PaginationItem]);
|
|
84
|
+
// State
|
|
85
|
+
const proxyModelValue = computed({
|
|
86
|
+
get: () => {
|
|
87
|
+
var _a;
|
|
88
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
set: value => {
|
|
92
|
+
context.emit('input', value);
|
|
93
|
+
context.emit('update:modelValue', value);
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
const currentLimit = computed({
|
|
97
|
+
get: () => {
|
|
98
|
+
var _a, _b;
|
|
99
|
+
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.pageSizeOptions[0];
|
|
100
|
+
},
|
|
101
|
+
set: value => {
|
|
102
|
+
proxyModelValue.value = {
|
|
103
|
+
limit: value,
|
|
104
|
+
offset: 0
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
const currentOffset = computed({
|
|
109
|
+
get: () => {
|
|
110
|
+
var _a, _b;
|
|
111
|
+
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
|
|
112
|
+
},
|
|
113
|
+
set: value => {
|
|
114
|
+
proxyModelValue.value = {
|
|
115
|
+
limit: currentLimit.value,
|
|
116
|
+
offset: value
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
const currentPage = computed({
|
|
121
|
+
get: () => {
|
|
122
|
+
return Math.floor(currentOffset.value / currentLimit.value) + 1;
|
|
123
|
+
},
|
|
124
|
+
set: value => {
|
|
125
|
+
currentOffset.value = (value - 1) * currentLimit.value;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
const firstPage = computed(() => {
|
|
129
|
+
return 1;
|
|
130
|
+
});
|
|
131
|
+
const lastPage = computed(() => {
|
|
132
|
+
return Math.ceil(props.length / currentLimit.value);
|
|
133
|
+
});
|
|
134
|
+
const buttonGroup = computed(() => {
|
|
135
|
+
return Array.from({
|
|
136
|
+
length: lastPage.value
|
|
137
|
+
}, (_, index) => index + 1).map(page => {
|
|
138
|
+
switch (true) {
|
|
139
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
140
|
+
case page > currentPage.value + 1 && page < lastPage.value:
|
|
141
|
+
return '…';
|
|
142
|
+
default:
|
|
143
|
+
return page;
|
|
144
|
+
}
|
|
145
|
+
}).reduce((accumulator, page) => {
|
|
146
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
147
|
+
return accumulator;
|
|
148
|
+
}
|
|
149
|
+
return [...accumulator, page];
|
|
150
|
+
}, []);
|
|
151
|
+
});
|
|
152
|
+
// Functions
|
|
153
|
+
function toPreviousPage() {
|
|
154
|
+
currentPage.value = currentPage.value - 1;
|
|
155
|
+
}
|
|
156
|
+
function toNextPage() {
|
|
157
|
+
currentPage.value = currentPage.value + 1;
|
|
158
|
+
}
|
|
159
|
+
function toPage(page) {
|
|
160
|
+
currentPage.value = page;
|
|
161
|
+
}
|
|
162
|
+
return {
|
|
163
|
+
root,
|
|
164
|
+
limitButton,
|
|
165
|
+
limitButtonRoot,
|
|
166
|
+
limitMenu,
|
|
167
|
+
limitMenuRoot,
|
|
168
|
+
rootStyles,
|
|
169
|
+
offsetControlStyles,
|
|
170
|
+
limitControlStyles,
|
|
171
|
+
itemStyles,
|
|
172
|
+
proxyModelValue,
|
|
173
|
+
currentLimit,
|
|
174
|
+
currentOffset,
|
|
175
|
+
currentPage,
|
|
176
|
+
firstPage,
|
|
177
|
+
lastPage,
|
|
178
|
+
buttonGroup,
|
|
179
|
+
toPreviousPage,
|
|
180
|
+
toNextPage,
|
|
181
|
+
toPage
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
187
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
188
|
+
const _component_OrButton = resolveComponent("OrButton");
|
|
189
|
+
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
190
|
+
const _component_OrMenu = resolveComponent("OrMenu");
|
|
191
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
192
|
+
ref: "root"
|
|
193
|
+
}, _ctx.$attrs, {
|
|
194
|
+
class: _ctx.rootStyles
|
|
195
|
+
}), [createElementVNode("div", {
|
|
196
|
+
class: normalizeClass(_ctx.offsetControlStyles)
|
|
197
|
+
}, [createVNode(_component_OrButton, {
|
|
198
|
+
class: normalizeClass(_ctx.itemStyles),
|
|
199
|
+
variant: 'link',
|
|
200
|
+
color: 'inherit',
|
|
201
|
+
disabled: _ctx.currentPage === _ctx.firstPage,
|
|
202
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.toPreviousPage(), ["stop"]))
|
|
203
|
+
}, {
|
|
204
|
+
default: withCtx(() => [createVNode(_component_OrIcon, {
|
|
205
|
+
icon: 'keyboard_arrow_left'
|
|
206
|
+
})]),
|
|
207
|
+
_: 1 /* STABLE */
|
|
208
|
+
}, 8 /* PROPS */, ["class", "disabled"]), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.buttonGroup, (page, index) => {
|
|
209
|
+
return openBlock(), createBlock(_component_OrButton, {
|
|
210
|
+
key: index,
|
|
211
|
+
class: normalizeClass(_ctx.itemStyles),
|
|
212
|
+
variant: 'link',
|
|
213
|
+
color: 'inherit',
|
|
214
|
+
activated: _ctx.currentPage === page,
|
|
215
|
+
onClick: withModifiers($event => typeof page === 'number' && _ctx.toPage(page), ["stop"])
|
|
216
|
+
}, {
|
|
217
|
+
default: withCtx(() => [createTextVNode(toDisplayString(page), 1 /* TEXT */)]),
|
|
218
|
+
|
|
219
|
+
_: 2 /* DYNAMIC */
|
|
220
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "activated", "onClick"]);
|
|
221
|
+
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_OrButton, {
|
|
222
|
+
class: normalizeClass(_ctx.itemStyles),
|
|
223
|
+
variant: 'link',
|
|
224
|
+
color: 'inherit',
|
|
225
|
+
disabled: _ctx.currentPage === _ctx.lastPage,
|
|
226
|
+
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.toNextPage(), ["stop"]))
|
|
227
|
+
}, {
|
|
228
|
+
default: withCtx(() => [createVNode(_component_OrIcon, {
|
|
229
|
+
icon: 'keyboard_arrow_right'
|
|
230
|
+
})]),
|
|
231
|
+
_: 1 /* STABLE */
|
|
232
|
+
}, 8 /* PROPS */, ["class", "disabled"])], 2 /* CLASS */), createElementVNode("div", {
|
|
233
|
+
class: normalizeClass(_ctx.limitControlStyles)
|
|
234
|
+
}, [createTextVNode(" Per page: "), createVNode(_component_OrButton, {
|
|
235
|
+
ref: "limitButton",
|
|
236
|
+
class: normalizeClass(_ctx.itemStyles),
|
|
237
|
+
variant: 'link',
|
|
238
|
+
color: 'inherit',
|
|
239
|
+
activated: true,
|
|
240
|
+
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.limitMenu.open(), ["stop"]))
|
|
241
|
+
}, {
|
|
242
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLimit) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
243
|
+
icon: 'arrow_drop_down'
|
|
244
|
+
})]),
|
|
245
|
+
_: 1 /* STABLE */
|
|
246
|
+
}, 8 /* PROPS */, ["class"]), createVNode(_component_OrMenu, {
|
|
247
|
+
ref: "limitMenu",
|
|
248
|
+
trigger: _ctx.limitButtonRoot,
|
|
249
|
+
placement: 'top'
|
|
250
|
+
}, {
|
|
251
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.pageSizeOptions, pageSize => {
|
|
252
|
+
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
253
|
+
key: pageSize,
|
|
254
|
+
onClick: withModifiers($event => _ctx.currentLimit = pageSize, ["stop"])
|
|
255
|
+
}, {
|
|
256
|
+
default: withCtx(() => [createTextVNode(toDisplayString(pageSize), 1 /* TEXT */)]),
|
|
257
|
+
|
|
258
|
+
_: 2 /* DYNAMIC */
|
|
259
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
260
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
261
|
+
|
|
262
|
+
_: 1 /* STABLE */
|
|
263
|
+
}, 8 /* PROPS */, ["trigger"])], 2 /* CLASS */)], 16 /* FULL_PROPS */);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
script.render = render;
|
|
267
|
+
script.__file = "src/components/or-pagination-v3/OrPagination.vue";
|
|
268
|
+
|
|
269
|
+
export { script as s };
|
|
@@ -111,10 +111,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
111
|
return openBlock(), createElementBlock("div", {
|
|
112
112
|
ref: "root",
|
|
113
113
|
class: normalizeClass(_ctx.rootStyles)
|
|
114
|
-
}, [withDirectives(createElementVNode("input", mergeProps({
|
|
114
|
+
}, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
115
115
|
id: _ctx.controlId,
|
|
116
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
117
|
-
}, _ctx.$attrs, {
|
|
116
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
118
117
|
class: _ctx.controlStyles,
|
|
119
118
|
type: "radio",
|
|
120
119
|
value: _ctx.inputValue,
|
|
@@ -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-41691fb3.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -3,13 +3,13 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.
|
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
4
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
|
-
import { s as script$1 } from './OrCheckbox-
|
|
6
|
+
import { s as script$1 } from './OrCheckbox-3e139eac.js';
|
|
7
7
|
import { s as script$2 } from './OrError-ec8c709d.js';
|
|
8
8
|
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-6d1b6059.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-41691fb3.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';
|
|
@@ -23,9 +23,7 @@ const SelectRoot = [
|
|
|
23
23
|
'gap-xs'];
|
|
24
24
|
const SelectControl = [
|
|
25
25
|
// Layout
|
|
26
|
-
'layout-row',
|
|
27
|
-
// Box
|
|
28
|
-
'w-full',
|
|
26
|
+
'layout-row grow',
|
|
29
27
|
// Overflow
|
|
30
28
|
'overflow-hidden',
|
|
31
29
|
// Spacing
|
|
@@ -84,11 +82,11 @@ var script = defineComponent({
|
|
|
84
82
|
default: []
|
|
85
83
|
},
|
|
86
84
|
modelValue: {
|
|
87
|
-
type: [String, Array],
|
|
85
|
+
type: [String, Number, Array],
|
|
88
86
|
default: undefined
|
|
89
87
|
},
|
|
90
88
|
value: {
|
|
91
|
-
type: [String, Array],
|
|
89
|
+
type: [String, Number, Array],
|
|
92
90
|
default: undefined
|
|
93
91
|
},
|
|
94
92
|
multiple: {
|
|
@@ -342,12 +340,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
342
340
|
disabled: _ctx.disabled,
|
|
343
341
|
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
344
342
|
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
345
|
-
}, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
346
|
-
key: 0
|
|
347
343
|
}, [_ctx.multiple ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
348
344
|
key: 0,
|
|
349
345
|
model: _ctx.proxyModelValue
|
|
350
|
-
}, () => [(openBlock(true), createElementBlock(Fragment,
|
|
346
|
+
}, () => [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? (openBlock(true), createElementBlock(Fragment, {
|
|
347
|
+
key: 0
|
|
348
|
+
}, renderList(_ctx.selection, option => {
|
|
351
349
|
return openBlock(), createBlock(_component_OrTag, {
|
|
352
350
|
key: option.value,
|
|
353
351
|
variant: 'reset',
|
|
@@ -357,13 +355,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
357
355
|
|
|
358
356
|
_: 2 /* DYNAMIC */
|
|
359
357
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onReset"]);
|
|
360
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
358
|
+
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
|
|
361
359
|
key: 1,
|
|
360
|
+
class: normalizeClass(_ctx.placeholderStyles)
|
|
361
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))]) : (openBlock(), createElementBlock(Fragment, {
|
|
362
|
+
key: 1
|
|
363
|
+
}, [_ctx.proxyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
364
|
+
key: 0,
|
|
362
365
|
model: _ctx.proxyModelValue
|
|
363
|
-
}, () => [createTextVNode(toDisplayString(_ctx.selection.label), 1 /* TEXT */)])
|
|
366
|
+
}, () => [createTextVNode(toDisplayString(_ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
|
|
364
367
|
key: 1,
|
|
365
368
|
class: normalizeClass(_ctx.placeholderStyles)
|
|
366
|
-
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
369
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
367
370
|
key: 0
|
|
368
371
|
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [createVNode(_component_OrIcon, {
|
|
369
372
|
icon: _ctx.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
@@ -142,10 +142,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
142
142
|
ref: "root",
|
|
143
143
|
class: normalizeClass(_ctx.rootStyles)
|
|
144
144
|
}, [!_ctx.loading ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
145
|
-
key: 0
|
|
146
|
-
id: _ctx.controlId,
|
|
147
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
145
|
+
key: 0
|
|
148
146
|
}, _ctx.$attrs, {
|
|
147
|
+
id: _ctx.controlId,
|
|
148
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
149
149
|
class: _ctx.controlStyles,
|
|
150
150
|
type: "checkbox",
|
|
151
151
|
value: _ctx.inputValue,
|
|
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-ec8c709d.js';
|
|
|
5
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
6
6
|
import { s as script$3, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-bdaec602.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
11
11
|
const TextareaRoot = [
|
|
@@ -14,8 +14,8 @@ const TextareaRoot = [
|
|
|
14
14
|
// Spacing
|
|
15
15
|
'gap-xs'];
|
|
16
16
|
const TextareaControl = [
|
|
17
|
-
//
|
|
18
|
-
'
|
|
17
|
+
// Layout
|
|
18
|
+
'grow',
|
|
19
19
|
// Typography
|
|
20
20
|
'typography-inherit',
|
|
21
21
|
// Theme
|
|
@@ -113,17 +113,16 @@ var script = defineComponent({
|
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
const _hoisted_1 = ["id", "placeholder", "required", "disabled"
|
|
116
|
+
const _hoisted_1 = ["id", "placeholder", "required", "disabled"];
|
|
117
117
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
118
118
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
119
119
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
120
120
|
const _component_OrHint = resolveComponent("OrHint");
|
|
121
121
|
const _component_OrError = resolveComponent("OrError");
|
|
122
|
-
return openBlock(), createElementBlock("div",
|
|
123
|
-
ref: "root"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
122
|
+
return openBlock(), createElementBlock("div", {
|
|
123
|
+
ref: "root",
|
|
124
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
125
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
127
126
|
key: 0,
|
|
128
127
|
"control-id": _ctx.controlId,
|
|
129
128
|
variant: 'input',
|
|
@@ -140,20 +139,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
139
|
readonly: _ctx.readonly,
|
|
141
140
|
disabled: _ctx.disabled
|
|
142
141
|
}, {
|
|
143
|
-
default: withCtx(() => [withDirectives(createElementVNode("textarea", {
|
|
142
|
+
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
144
143
|
id: _ctx.controlId,
|
|
145
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
146
|
-
|
|
144
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
145
|
+
}, _ctx.$attrs, {
|
|
146
|
+
class: _ctx.controlStyles,
|
|
147
147
|
placeholder: _ctx.placeholder,
|
|
148
148
|
required: _ctx.required,
|
|
149
149
|
disabled: _ctx.disabled,
|
|
150
|
-
readonly: _ctx.readonly,
|
|
151
|
-
maxlength: _ctx.maxLength,
|
|
152
150
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
153
151
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
154
152
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
155
153
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
156
|
-
}, null,
|
|
154
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
157
155
|
_: 1 /* STABLE */
|
|
158
156
|
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
159
157
|
key: 1
|
|
@@ -181,7 +179,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
181
179
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
182
180
|
|
|
183
181
|
key: "0"
|
|
184
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
182
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
185
183
|
}
|
|
186
184
|
|
|
187
185
|
var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -53,6 +53,7 @@ export * from './or-notification-v3';
|
|
|
53
53
|
export * from './or-overflow-menu';
|
|
54
54
|
export * from './or-overlay';
|
|
55
55
|
export * from './or-overlay-v3';
|
|
56
|
+
export * from './or-pagination-v3';
|
|
56
57
|
export * from './or-popover-v3';
|
|
57
58
|
export * from './or-progress';
|
|
58
59
|
export * from './or-progress-v3';
|
|
@@ -3,20 +3,20 @@ 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-0fa67a0d.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 { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-286d0f3f.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';
|
|
13
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.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-56ae1494.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';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-66950
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-1eebcafc.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-31026cd0.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-b28c3d8c.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-41691fb3.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
|
|
@@ -54,15 +54,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
|
|
|
54
54
|
export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
|
|
55
55
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
56
56
|
export { s as OrOverlayV3 } from '../OrOverlay-738a44d5.js';
|
|
57
|
+
export { s as OrPaginationV3 } from '../OrPagination-a703307d.js';
|
|
57
58
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
58
59
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-407002e0.js';
|
|
59
60
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
60
61
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
61
|
-
export { s as OrRadioV3 } from '../OrRadio-
|
|
62
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
62
|
+
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
63
|
+
export { s as OrSearchV3 } from '../OrSearch-e5a2e93e.js';
|
|
63
64
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
64
65
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
65
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from '../OrSelect-08bd0f60.js';
|
|
66
67
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
67
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
68
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -71,7 +72,7 @@ export { s as OrSlider } from '../OrSlider-87e2da8c.js';
|
|
|
71
72
|
export { s as OrSortHeaderV3 } from '../OrSortHeader-fe1a9cf8.js';
|
|
72
73
|
export { s as OrStepper } from '../OrStepper-f19b4eac.js';
|
|
73
74
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
74
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
75
|
+
export { s as OrSwitchV3 } from '../OrSwitch-cca30aa0.js';
|
|
75
76
|
export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
76
77
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
77
78
|
export { s as OrTabV3 } from '../OrTab-c131cf60.js';
|
|
@@ -82,7 +83,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-c0bbaa58.
|
|
|
82
83
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
83
84
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
84
85
|
export { s as OrTextV3 } from '../OrText-ecb46923.js';
|
|
85
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
86
|
+
export { s as OrTextareaV3 } from '../OrTextarea-bb9ef3f2.js';
|
|
86
87
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
87
88
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
88
89
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
@@ -16,6 +16,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
16
16
|
type: PropType<ButtonColor>;
|
|
17
17
|
default: ButtonColor;
|
|
18
18
|
};
|
|
19
|
+
activated: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
disabled: {
|
|
20
24
|
type: BooleanConstructor;
|
|
21
25
|
default: boolean;
|
|
@@ -41,6 +45,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
41
45
|
type: PropType<ButtonColor>;
|
|
42
46
|
default: ButtonColor;
|
|
43
47
|
};
|
|
48
|
+
activated: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
44
52
|
disabled: {
|
|
45
53
|
type: BooleanConstructor;
|
|
46
54
|
default: boolean;
|
|
@@ -54,6 +62,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
54
62
|
default: string;
|
|
55
63
|
};
|
|
56
64
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
|
+
activated: boolean;
|
|
57
66
|
type: ButtonType;
|
|
58
67
|
variant: ButtonVariant;
|
|
59
68
|
color: ButtonColor;
|
|
@@ -66,6 +75,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
66
75
|
root: import("@vue/composition-api").Ref<HTMLButtonElement | undefined>;
|
|
67
76
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | false | undefined)[]>;
|
|
68
77
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
78
|
+
activated: boolean;
|
|
69
79
|
type: ButtonType;
|
|
70
80
|
variant: ButtonVariant;
|
|
71
81
|
color: ButtonColor;
|
|
@@ -75,6 +85,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
75
85
|
} & {} & {
|
|
76
86
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
77
87
|
}, {
|
|
88
|
+
activated: boolean;
|
|
78
89
|
type: ButtonType;
|
|
79
90
|
variant: ButtonVariant;
|
|
80
91
|
color: ButtonColor;
|
|
@@ -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-0fa67a0d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-286d0f3f.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -15,10 +15,10 @@ import '../../OrOverlay-738a44d5.js';
|
|
|
15
15
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
16
16
|
import '../../OrMenu-840038cd.js';
|
|
17
17
|
import '../../OrMenuItem-9da279f6.js';
|
|
18
|
-
import '../../OrButton-
|
|
18
|
+
import '../../OrButton-0fa67a0d.js';
|
|
19
19
|
import '../../OrLoader-b3cf4231.js';
|
|
20
|
-
import '../../OrSearch-
|
|
21
|
-
import '../../OrInput-
|
|
20
|
+
import '../../OrSearch-e5a2e93e.js';
|
|
21
|
+
import '../../OrInput-41691fb3.js';
|
|
22
22
|
import '../../OrError-ec8c709d.js';
|
|
23
23
|
import '../../OrHint-74bb732d.js';
|
|
24
24
|
import '../../OrInputBox-6d1b6059.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-56ae1494.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
3
|
+
import '../../OrButton-0fa67a0d.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrLoader-b3cf4231.js';
|
|
@@ -8,7 +8,7 @@ import 'vue';
|
|
|
8
8
|
import '../../OrOverlay-738a44d5.js';
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
11
|
-
import '../../OrInput-
|
|
11
|
+
import '../../OrInput-41691fb3.js';
|
|
12
12
|
import '../../OrError-ec8c709d.js';
|
|
13
13
|
import '../../OrHint-74bb732d.js';
|
|
14
14
|
import '../../OrIconButton-1eebcafc.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-31026cd0.js';
|
|
2
2
|
export { I as InlineInputSize } from '../../OrInlineInputBox-8049f95a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|