@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as script } from './OrButton.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
2
2
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
3
3
|
|
|
4
|
-
const _hoisted_1 = ["type", "disabled"];
|
|
4
|
+
const _hoisted_1 = ["type", "activated", "disabled"];
|
|
5
5
|
const _hoisted_2 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: /*#__PURE__*/normalizeClass(['absolute'])
|
|
@@ -13,6 +13,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13
13
|
}, _ctx.$attrs, {
|
|
14
14
|
class: _ctx.rootStyles,
|
|
15
15
|
type: _ctx.type,
|
|
16
|
+
activated: _ctx.activated ? '' : null,
|
|
16
17
|
disabled: _ctx.disabled,
|
|
17
18
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
|
|
18
19
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
@@ -80,7 +80,11 @@ const ButtonRootColors = {
|
|
|
80
80
|
'danger-link': [
|
|
81
81
|
// Theme
|
|
82
82
|
'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
|
|
83
|
-
'inherit-link': [
|
|
83
|
+
'inherit-link': [
|
|
84
|
+
// Theme
|
|
85
|
+
'theme-foreground-inherit', 'dark:theme-foreground-inherit',
|
|
86
|
+
// Theme (activated)
|
|
87
|
+
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
|
|
84
88
|
};
|
|
85
89
|
|
|
86
90
|
var script = defineComponent({
|
|
@@ -102,6 +106,10 @@ var script = defineComponent({
|
|
|
102
106
|
type: String,
|
|
103
107
|
default: ButtonColor.Primary
|
|
104
108
|
},
|
|
109
|
+
activated: {
|
|
110
|
+
type: Boolean,
|
|
111
|
+
default: false
|
|
112
|
+
},
|
|
105
113
|
disabled: {
|
|
106
114
|
type: Boolean,
|
|
107
115
|
default: false
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createBlock, ref, watch } from 'vue';
|
|
2
2
|
import './OrIconButton-1581013c.js';
|
|
3
3
|
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
4
|
-
import './OrButton-
|
|
4
|
+
import './OrButton-2b27c1fd.js';
|
|
5
5
|
import './OrMenu-f26e8e55.js';
|
|
6
6
|
import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
7
7
|
import './OrMenuItem-4feaba6c.js';
|
|
8
8
|
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
9
9
|
import './OrIcon-d878b768.js';
|
|
10
|
-
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-014ad470.js';
|
|
11
11
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
12
|
-
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
13
13
|
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
14
14
|
|
|
15
15
|
const CardCollectionRoot = [
|
|
@@ -2,11 +2,11 @@ import { defineComponent, ref, computed, watch } from 'vue';
|
|
|
2
2
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
3
3
|
import { l as logicAnd } from './index-01519e46.js';
|
|
4
4
|
import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
5
|
-
import './OrButton-
|
|
6
|
-
import './OrInput-
|
|
7
|
-
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-
|
|
5
|
+
import './OrButton-2b27c1fd.js';
|
|
6
|
+
import './OrInput-fa782fc1.js';
|
|
7
|
+
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
8
8
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
9
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
|
|
10
10
|
|
|
11
11
|
var ConfirmType;
|
|
12
12
|
(function (ConfirmType) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { s as script } from './OrInput.vue_vue_type_script_lang-
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
1
|
+
import { s as script } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
|
|
2
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
|
|
5
|
-
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"
|
|
5
|
+
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
6
6
|
const _hoisted_2 = {
|
|
7
|
-
key: 0,
|
|
8
7
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
9
8
|
};
|
|
10
9
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -14,11 +13,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14
13
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
15
14
|
const _component_OrHint = resolveComponent("OrHint");
|
|
16
15
|
const _component_OrError = resolveComponent("OrError");
|
|
17
|
-
return openBlock(), createElementBlock("div",
|
|
18
|
-
ref: "root"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
16
|
+
return openBlock(), createElementBlock("div", {
|
|
17
|
+
ref: "root",
|
|
18
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
19
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
22
20
|
key: 0,
|
|
23
21
|
"control-id": _ctx.controlId,
|
|
24
22
|
variant: 'input',
|
|
@@ -36,22 +34,21 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36
34
|
readonly: _ctx.readonly,
|
|
37
35
|
disabled: _ctx.disabled
|
|
38
36
|
}, {
|
|
39
|
-
default: withCtx(() => [withDirectives(createElementVNode("input", {
|
|
37
|
+
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
40
38
|
id: _ctx.controlId,
|
|
41
39
|
ref: "input",
|
|
42
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
43
|
-
|
|
40
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
41
|
+
}, _ctx.$attrs, {
|
|
42
|
+
class: _ctx.controlStyles,
|
|
44
43
|
type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
|
|
45
44
|
placeholder: _ctx.placeholder,
|
|
46
45
|
required: _ctx.required,
|
|
47
46
|
disabled: _ctx.disabled,
|
|
48
|
-
readonly: _ctx.readonly,
|
|
49
|
-
maxlength: _ctx.maxLength,
|
|
50
47
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
51
48
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
52
49
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
53
50
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
54
|
-
}, null,
|
|
51
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
55
52
|
key: 0,
|
|
56
53
|
icon: {
|
|
57
54
|
icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -72,7 +69,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
72
69
|
key: 1,
|
|
73
70
|
icon: 'search',
|
|
74
71
|
variant: 'outlined'
|
|
75
|
-
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])
|
|
72
|
+
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
|
|
76
73
|
_: 1 /* STABLE */
|
|
77
74
|
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
78
75
|
key: 1
|
|
@@ -100,7 +97,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100
97
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
101
98
|
|
|
102
99
|
key: "0"
|
|
103
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
100
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
104
101
|
}
|
|
105
102
|
|
|
106
103
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -4,11 +4,10 @@ import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
|
4
4
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
5
5
|
import './OrIcon-d878b768.js';
|
|
6
6
|
import './OrIconButton-1581013c.js';
|
|
7
|
-
import './OrInputBox-
|
|
8
|
-
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-
|
|
7
|
+
import './OrInputBox-eb54d73d.js';
|
|
8
|
+
import { s as script$5, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
11
|
-
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
12
11
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
13
12
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
14
13
|
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
@@ -27,8 +26,8 @@ const InputRoot = [
|
|
|
27
26
|
// Spacing
|
|
28
27
|
'gap-xs'];
|
|
29
28
|
const InputControl = [
|
|
30
|
-
//
|
|
31
|
-
'
|
|
29
|
+
// Layout
|
|
30
|
+
'grow',
|
|
32
31
|
// Typography
|
|
33
32
|
'typography-inherit',
|
|
34
33
|
// Theme
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrInputBox.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
2
2
|
import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["invalid", "readonly", "disabled"];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-
|
|
3
|
-
import '@vueuse/core';
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
4
3
|
|
|
5
4
|
var InputBoxVariant;
|
|
6
5
|
(function (InputBoxVariant) {
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
+
import './OrButton-2b27c1fd.js';
|
|
3
|
+
import './OrIcon-d878b768.js';
|
|
4
|
+
import './OrMenu-f26e8e55.js';
|
|
5
|
+
import './OrMenuItem-4feaba6c.js';
|
|
6
|
+
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
7
|
+
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
8
|
+
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
9
|
+
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
10
|
+
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
11
|
+
|
|
12
|
+
const PaginationRoot = [
|
|
13
|
+
// Layout
|
|
14
|
+
'layout-row',
|
|
15
|
+
// Spacing
|
|
16
|
+
'gap-xl',
|
|
17
|
+
// Typography
|
|
18
|
+
'typography-caption-regular',
|
|
19
|
+
// Theme
|
|
20
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
21
|
+
const PaginationOffsetControl = [
|
|
22
|
+
// Layout
|
|
23
|
+
'layout-row',
|
|
24
|
+
// Spacing
|
|
25
|
+
'gap-md'];
|
|
26
|
+
const PaginationLimitControl = [
|
|
27
|
+
// Layout
|
|
28
|
+
'layout-row',
|
|
29
|
+
// Spacing
|
|
30
|
+
'gap-sm'];
|
|
31
|
+
const PaginationItem = [
|
|
32
|
+
// Typography
|
|
33
|
+
'typography-caption-regular',
|
|
34
|
+
// Typography (activated)
|
|
35
|
+
'activated:typography-caption-bold'];
|
|
36
|
+
|
|
37
|
+
var script = defineComponent({
|
|
38
|
+
name: 'OrPagination',
|
|
39
|
+
components: {
|
|
40
|
+
OrButton: script$1,
|
|
41
|
+
OrIcon: script$2,
|
|
42
|
+
OrMenu: script$3,
|
|
43
|
+
OrMenuItem: script$4
|
|
44
|
+
},
|
|
45
|
+
inheritAttrs: false,
|
|
46
|
+
props: {
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: Object,
|
|
49
|
+
default: undefined
|
|
50
|
+
},
|
|
51
|
+
value: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: undefined
|
|
54
|
+
},
|
|
55
|
+
length: {
|
|
56
|
+
type: Number,
|
|
57
|
+
required: true
|
|
58
|
+
},
|
|
59
|
+
pageSizeOptions: {
|
|
60
|
+
type: Array,
|
|
61
|
+
default: () => [50, 20, 10, 5]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
emits: ['update:modelValue', 'input'],
|
|
65
|
+
expose: ['root'],
|
|
66
|
+
setup(props, context) {
|
|
67
|
+
// Refs
|
|
68
|
+
const root = ref();
|
|
69
|
+
const limitButton = ref();
|
|
70
|
+
const limitButtonRoot = computed(() => {
|
|
71
|
+
var _a;
|
|
72
|
+
return (_a = limitButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
73
|
+
});
|
|
74
|
+
const limitMenu = ref();
|
|
75
|
+
const limitMenuRoot = computed(() => {
|
|
76
|
+
var _a;
|
|
77
|
+
return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
78
|
+
});
|
|
79
|
+
// Styles
|
|
80
|
+
const classAttribute = useClassAttribute();
|
|
81
|
+
const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
|
|
82
|
+
const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
|
|
83
|
+
const limitControlStyles = computed(() => [...PaginationLimitControl]);
|
|
84
|
+
const itemStyles = computed(() => [...PaginationItem]);
|
|
85
|
+
// State
|
|
86
|
+
const proxyModelValue = computed({
|
|
87
|
+
get: () => {
|
|
88
|
+
var _a;
|
|
89
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
set: value => {
|
|
93
|
+
context.emit('input', value);
|
|
94
|
+
context.emit('update:modelValue', value);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
const currentLimit = computed({
|
|
98
|
+
get: () => {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.pageSizeOptions[0];
|
|
101
|
+
},
|
|
102
|
+
set: value => {
|
|
103
|
+
proxyModelValue.value = {
|
|
104
|
+
limit: value,
|
|
105
|
+
offset: 0
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
const currentOffset = computed({
|
|
110
|
+
get: () => {
|
|
111
|
+
var _a, _b;
|
|
112
|
+
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
|
|
113
|
+
},
|
|
114
|
+
set: value => {
|
|
115
|
+
proxyModelValue.value = {
|
|
116
|
+
limit: currentLimit.value,
|
|
117
|
+
offset: value
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
const currentPage = computed({
|
|
122
|
+
get: () => {
|
|
123
|
+
return Math.floor(currentOffset.value / currentLimit.value) + 1;
|
|
124
|
+
},
|
|
125
|
+
set: value => {
|
|
126
|
+
currentOffset.value = (value - 1) * currentLimit.value;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
const firstPage = computed(() => {
|
|
130
|
+
return 1;
|
|
131
|
+
});
|
|
132
|
+
const lastPage = computed(() => {
|
|
133
|
+
return Math.ceil(props.length / currentLimit.value);
|
|
134
|
+
});
|
|
135
|
+
const buttonGroup = computed(() => {
|
|
136
|
+
return Array.from({
|
|
137
|
+
length: lastPage.value
|
|
138
|
+
}, (_, index) => index + 1).map(page => {
|
|
139
|
+
switch (true) {
|
|
140
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
141
|
+
case page > currentPage.value + 1 && page < lastPage.value:
|
|
142
|
+
return '…';
|
|
143
|
+
default:
|
|
144
|
+
return page;
|
|
145
|
+
}
|
|
146
|
+
}).reduce((accumulator, page) => {
|
|
147
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
148
|
+
return accumulator;
|
|
149
|
+
}
|
|
150
|
+
return [...accumulator, page];
|
|
151
|
+
}, []);
|
|
152
|
+
});
|
|
153
|
+
// Functions
|
|
154
|
+
function toPreviousPage() {
|
|
155
|
+
currentPage.value = currentPage.value - 1;
|
|
156
|
+
}
|
|
157
|
+
function toNextPage() {
|
|
158
|
+
currentPage.value = currentPage.value + 1;
|
|
159
|
+
}
|
|
160
|
+
function toPage(page) {
|
|
161
|
+
currentPage.value = page;
|
|
162
|
+
}
|
|
163
|
+
return {
|
|
164
|
+
root,
|
|
165
|
+
limitButton,
|
|
166
|
+
limitButtonRoot,
|
|
167
|
+
limitMenu,
|
|
168
|
+
limitMenuRoot,
|
|
169
|
+
rootStyles,
|
|
170
|
+
offsetControlStyles,
|
|
171
|
+
limitControlStyles,
|
|
172
|
+
itemStyles,
|
|
173
|
+
proxyModelValue,
|
|
174
|
+
currentLimit,
|
|
175
|
+
currentOffset,
|
|
176
|
+
currentPage,
|
|
177
|
+
firstPage,
|
|
178
|
+
lastPage,
|
|
179
|
+
buttonGroup,
|
|
180
|
+
toPreviousPage,
|
|
181
|
+
toNextPage,
|
|
182
|
+
toPage
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
export { script as s };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import './OrInput-
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
3
|
+
import './OrInput-fa782fc1.js';
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
|
-
import { a as InputBoxSize } from './
|
|
6
|
+
import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
9
9
|
name: 'OrSearch',
|
|
@@ -4,8 +4,8 @@ import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
|
4
4
|
import './OrHint-9592499e.js';
|
|
5
5
|
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-7f9c6721.js';
|
|
6
6
|
import './OrIcon-d878b768.js';
|
|
7
|
-
import './OrInput-
|
|
8
|
-
import './OrInputBox-
|
|
7
|
+
import './OrInput-fa782fc1.js';
|
|
8
|
+
import './OrInputBox-eb54d73d.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import './OrMenuItem-4feaba6c.js';
|
|
11
11
|
import './OrPopover-c462ce77.js';
|
|
@@ -16,12 +16,11 @@ import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
|
16
16
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
17
17
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
18
18
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
19
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
20
|
-
import { s as script$8 } from './OrInputBox.vue_vue_type_script_lang-
|
|
19
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-f6d793d3.js';
|
|
20
|
+
import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
21
21
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
22
22
|
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
23
23
|
import { s as script$b } from './OrPopover.vue_vue_type_script_lang-54c7b11c.js';
|
|
24
|
-
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
25
24
|
|
|
26
25
|
const _hoisted_1$2 = ["id", "value", "indeterminate", "required", "disabled"];
|
|
27
26
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -29,10 +28,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29
28
|
return openBlock(), createElementBlock("div", {
|
|
30
29
|
ref: "root",
|
|
31
30
|
class: normalizeClass(_ctx.rootStyles)
|
|
32
|
-
}, [withDirectives(createElementVNode("input", mergeProps({
|
|
31
|
+
}, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
33
32
|
id: _ctx.controlId,
|
|
34
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
35
|
-
}, _ctx.$attrs, {
|
|
33
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
36
34
|
class: _ctx.controlStyles,
|
|
37
35
|
type: "checkbox",
|
|
38
36
|
value: _ctx.inputValue,
|
|
@@ -125,9 +123,7 @@ const SelectRoot = [
|
|
|
125
123
|
'gap-xs'];
|
|
126
124
|
const SelectControl = [
|
|
127
125
|
// Layout
|
|
128
|
-
'layout-row',
|
|
129
|
-
// Box
|
|
130
|
-
'w-full',
|
|
126
|
+
'layout-row grow',
|
|
131
127
|
// Overflow
|
|
132
128
|
'overflow-hidden',
|
|
133
129
|
// Spacing
|
|
@@ -186,11 +182,11 @@ var script = defineComponent({
|
|
|
186
182
|
default: []
|
|
187
183
|
},
|
|
188
184
|
modelValue: {
|
|
189
|
-
type: [String, Array],
|
|
185
|
+
type: [String, Number, Array],
|
|
190
186
|
default: undefined
|
|
191
187
|
},
|
|
192
188
|
value: {
|
|
193
|
-
type: [String, Array],
|
|
189
|
+
type: [String, Number, Array],
|
|
194
190
|
default: undefined
|
|
195
191
|
},
|
|
196
192
|
multiple: {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed } from 'vue';
|
|
2
2
|
import './OrHint-9592499e.js';
|
|
3
|
-
import './OrInputBox-
|
|
3
|
+
import './OrInputBox-eb54d73d.js';
|
|
4
4
|
import './OrLabel-c6873e79.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
6
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
8
|
-
import { s as script$3 } from './OrInputBox.vue_vue_type_script_lang-
|
|
8
|
+
import { s as script$3, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
9
9
|
import { s as script$4 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
10
|
-
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
11
10
|
|
|
12
11
|
const TextareaRoot = [
|
|
13
12
|
// Layout
|
|
@@ -15,8 +14,8 @@ const TextareaRoot = [
|
|
|
15
14
|
// Spacing
|
|
16
15
|
'gap-xs'];
|
|
17
16
|
const TextareaControl = [
|
|
18
|
-
//
|
|
19
|
-
'
|
|
17
|
+
// Layout
|
|
18
|
+
'grow',
|
|
20
19
|
// Typography
|
|
21
20
|
'typography-inherit',
|
|
22
21
|
// Theme
|
|
@@ -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';
|
|
@@ -5,10 +5,10 @@ export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
|
|
|
5
5
|
export { s as OrButtonV2 } from '../OrButton.vue_vue_type_script_lang-ffc66d00.js';
|
|
6
6
|
export { s as OrIconButton } from '../OrIconButton.vue_vue_type_script_lang-40547ab0.js';
|
|
7
7
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../constants-c5d1139f.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton.vue_vue_type_script_lang-8c44986c.js';
|
|
9
9
|
export { s as OrCard } from '../OrCard.vue_vue_type_script_lang-90ba001b.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection.vue_vue_type_script_lang-d8124dda.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-
|
|
11
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection.vue_vue_type_script_lang-bd852915.js';
|
|
12
12
|
export { s as OrCardV3 } from '../OrCard.vue_vue_type_script_lang-165de137.js';
|
|
13
13
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem.vue_vue_type_script_lang-ad286afc.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox.vue_vue_type_script_lang-d8a66818.js';
|
|
@@ -19,7 +19,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode.vue_vue_type_script
|
|
|
19
19
|
export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-65cbb754.js';
|
|
20
20
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker.vue_vue_type_script_lang-4141378d.js';
|
|
21
21
|
export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-0f16fc67.js';
|
|
22
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-
|
|
22
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-9e4e2884.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js';
|
|
24
24
|
export { s as OrError } from '../OrError.vue_vue_type_script_lang-7c39e012.js';
|
|
25
25
|
export { s as OrErrorTagV3 } from '../OrErrorTag.vue_vue_type_script_lang-4828c387.js';
|
|
@@ -34,12 +34,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon.vue_v
|
|
|
34
34
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
35
35
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
36
36
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
37
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput.vue_vue_type_script_lang-
|
|
37
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput.vue_vue_type_script_lang-f29483f4.js';
|
|
38
38
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js';
|
|
39
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea.vue_vue_type_script_lang-
|
|
40
|
-
export { s as OrInputBoxV3 } from '../OrInputBox.vue_vue_type_script_lang-
|
|
41
|
-
export {
|
|
42
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-96ce8121.js';
|
|
39
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js';
|
|
40
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
41
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput.vue_vue_type_script_lang-f6d793d3.js';
|
|
43
42
|
export { a as OrNumberInput, b as OrPassword, s as OrTextarea } from '../OrPassword.vue_vue_type_script_lang-13bc5b00.js';
|
|
44
43
|
export { s as OrInput } from '../OrInput-7d4b571a.js';
|
|
45
44
|
export { s as OrSearch } from '../OrSearch.vue_vue_type_script_lang-16fbccc0.js';
|
|
@@ -60,15 +59,16 @@ export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificati
|
|
|
60
59
|
export { s as OrOverflowMenu } from '../OrOverflowMenu.vue_vue_type_script_lang-0397533d.js';
|
|
61
60
|
export { s as OrOverlay } from '../OrOverlay.vue_vue_type_script_lang-b9bf5e50.js';
|
|
62
61
|
export { s as OrOverlayV3 } from '../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
62
|
+
export { s as OrPaginationV3 } from '../OrPagination.vue_vue_type_script_lang-c96d7cd7.js';
|
|
63
63
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress.vue_vue_type_script_lang-3f9ec654.js';
|
|
64
64
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress.vue_vue_type_script_lang-a73c0acf.js';
|
|
65
65
|
export { s as OrRadio } from '../OrRadio.vue_vue_type_script_lang-c956b54b.js';
|
|
66
66
|
export { s as OrRadioGroup } from '../OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js';
|
|
67
67
|
export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-2e666a56.js';
|
|
68
|
-
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-
|
|
68
|
+
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-014ad470.js';
|
|
69
69
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
70
70
|
export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
71
|
-
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-
|
|
71
|
+
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-94063fc4.js';
|
|
72
72
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
|
|
73
73
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ce0b152c.js';
|
|
74
74
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
|
|
@@ -88,7 +88,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag.vue_vue_t
|
|
|
88
88
|
export { s as OrTeleport } from '../OrTeleportVue3-012351e1.js';
|
|
89
89
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
90
90
|
export { s as OrTextV3 } from '../OrText.vue_vue_type_script_lang-d9525d49.js';
|
|
91
|
-
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-
|
|
91
|
+
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-8e3531cd.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox.vue_vue_type_script_lang-b5c4a93a.js';
|
|
93
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-d5b3c109.js';
|
|
94
94
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer.vue_vue_type_script_lang-4bb702ce.js';
|
|
@@ -109,7 +109,7 @@ import '../OrLoader-ee97fef4.js';
|
|
|
109
109
|
import '../OrLoader-c4bbef2f.js';
|
|
110
110
|
import '../OrIconButton-e637158e.js';
|
|
111
111
|
import '../OrIconButton-1581013c.js';
|
|
112
|
-
import '../OrButton-
|
|
112
|
+
import '../OrButton-2b27c1fd.js';
|
|
113
113
|
import '../OrMenu-f26e8e55.js';
|
|
114
114
|
import '../OrMenuItem-4feaba6c.js';
|
|
115
115
|
import '../OrLabel-c6873e79.js';
|
|
@@ -122,12 +122,12 @@ import '../dom-d21d0a92.js';
|
|
|
122
122
|
import '../OrFloating-b6672a37.js';
|
|
123
123
|
import '../index-01519e46.js';
|
|
124
124
|
import '../OrButton-ec723bb7.js';
|
|
125
|
-
import '../OrInput-
|
|
125
|
+
import '../OrInput-fa782fc1.js';
|
|
126
126
|
import '../OrCollapse-63e83681.js';
|
|
127
127
|
import '../floating-ui.dom.esm-83eba816.js';
|
|
128
128
|
import '../OrHint-9592499e.js';
|
|
129
129
|
import '../OrInlineInputBox-9d68ded1.js';
|
|
130
|
-
import '../OrInputBox-
|
|
130
|
+
import '../OrInputBox-eb54d73d.js';
|
|
131
131
|
import '../useToggle-09b6cb90.js';
|
|
132
132
|
import '../v4-cf8987a3.js';
|
|
133
133
|
import '../OrPopover-c462ce77.js';
|