@onereach/ui-components 2.70.2-beta.2218.0 → 2.70.2-beta.2219.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/{OrCardCollection-9d8e3fbc.js → OrCardCollection-091e2193.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-a2ceda44.js → OrCheckbox-9be450f9.js} +12 -17
- package/dist/bundled/v2/{OrConfirm-d6e533f2.js → OrConfirm-ebff0b61.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-47fca182.js → OrInlineInput-b009a043.js} +9 -14
- package/dist/bundled/v2/{OrInlineTextarea-d9b9e485.js → OrInlineTextarea-6e8c1f80.js} +9 -14
- package/dist/bundled/v2/{OrInput-9288b667.js → OrInput-5404a234.js} +9 -14
- package/dist/bundled/v2/{OrPagination-44e713a2.js → OrPagination-daf25de2.js} +7 -14
- package/dist/bundled/v2/{OrRadio-f140c19a.js → OrRadio-fe23947a.js} +12 -17
- package/dist/bundled/v2/{OrSearch-ba756661.js → OrSearch-d1169241.js} +1 -1
- package/dist/bundled/v2/{OrSegmentedControl-b9d0b95a.js → OrSegmentedControl-878279bf.js} +6 -11
- package/dist/bundled/v2/{OrSelect-c91fc506.js → OrSelect-fef400f4.js} +10 -15
- package/dist/bundled/v2/{OrSortHeader-180d77ee.js → OrSortHeader-565ace92.js} +8 -13
- package/dist/bundled/v2/{OrSwitch-37a3ecf9.js → OrSwitch-782d7b43.js} +12 -17
- package/dist/bundled/v2/{OrTabs-92360920.js → OrTabs-d69780fc.js} +6 -11
- package/dist/bundled/v2/{OrTextarea-7822c4b6.js → OrTextarea-5c57c02b.js} +9 -14
- package/dist/bundled/v2/components/index.js +15 -15
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +15 -15
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1e3dd861.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fec2fa29.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +6 -11
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-747c5ce7.js → OrConfirm.vue_vue_type_script_lang-528380c1.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-62406472.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +6 -11
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a55dffd2.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +6 -11
- package/dist/bundled/v3/{OrInput-9faa2035.js → OrInput-2a7c6b57.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-dea5c599.js → OrInput.vue_vue_type_script_lang-509de504.js} +6 -11
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0d299d07.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +7 -14
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2f053184.js → OrRadio.vue_vue_type_script_lang-8dc0720c.js} +6 -11
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2bc9e930.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +2 -2
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-92379dcc.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +6 -11
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72e0cd5a.js → OrSelect.vue_vue_type_script_lang-8ab7bc56.js} +10 -15
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-866f9764.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +8 -13
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-45f536b3.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +6 -11
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2b84672b.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +6 -11
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-94b94433.js → OrTextarea.vue_vue_type_script_lang-296da567.js} +6 -11
- package/dist/bundled/v3/components/index.js +16 -16
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/bundled/v3/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +34 -34
- package/dist/esm/v2/{OrCardCollection-3fc3a24e.js → OrCardCollection-bbdb6159.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-05b9a244.js → OrCheckbox-b380c131.js} +12 -17
- package/dist/esm/v2/{OrConfirm-56db44bd.js → OrConfirm-7fb515d4.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-c8058b04.js → OrInlineInput-38645a8e.js} +9 -14
- package/dist/esm/v2/{OrInlineTextarea-252d3c2c.js → OrInlineTextarea-b49a7107.js} +9 -14
- package/dist/esm/v2/{OrInput-fd9b3e7d.js → OrInput-e8fe9102.js} +9 -14
- package/dist/esm/v2/{OrPagination-8b604bd9.js → OrPagination-1adbcadb.js} +7 -14
- package/dist/esm/v2/{OrRadio-2094e67d.js → OrRadio-87a4d226.js} +12 -17
- package/dist/esm/v2/{OrSearch-072ee1b9.js → OrSearch-4b774707.js} +1 -1
- package/dist/esm/v2/{OrSegmentedControl-71248337.js → OrSegmentedControl-7486115b.js} +6 -11
- package/dist/esm/v2/{OrSelect-23208d36.js → OrSelect-871fae44.js} +10 -15
- package/dist/esm/v2/{OrSortHeader-8ca76674.js → OrSortHeader-592727dc.js} +8 -13
- package/dist/esm/v2/{OrSwitch-a1f67338.js → OrSwitch-8549219a.js} +12 -17
- package/dist/esm/v2/{OrTabs-954838f3.js → OrTabs-96b0473d.js} +6 -11
- package/dist/esm/v2/{OrTextarea-5f79faca.js → OrTextarea-a5a3572b.js} +9 -14
- package/dist/esm/v2/components/index.js +15 -15
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-sort-header-v3/index.js +1 -1
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v2/index.js +15 -15
- package/dist/esm/v3/{OrCardCollection-53e83dbb.js → OrCardCollection-47f61c40.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-afadd5b8.js → OrCheckbox-16c1e2f4.js} +7 -12
- package/dist/esm/v3/{OrConfirm-06ed85f9.js → OrConfirm-8b7f29c2.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-6d363088.js → OrInlineInput-09de432a.js} +6 -11
- package/dist/esm/v3/{OrInlineTextarea-3e48b319.js → OrInlineTextarea-56328f22.js} +6 -11
- package/dist/esm/v3/{OrInput-5ef51369.js → OrInput-6fb81556.js} +6 -11
- package/dist/esm/v3/{OrPagination-010b0bef.js → OrPagination-da9e5017.js} +7 -14
- package/dist/esm/v3/{OrRadio-a0bd352b.js → OrRadio-bb9b37c1.js} +7 -12
- package/dist/esm/v3/{OrSearch-9eb38b29.js → OrSearch-e15955a7.js} +1 -1
- package/dist/esm/v3/{OrSegmentedControl-c7221732.js → OrSegmentedControl-880b4911.js} +6 -11
- package/dist/esm/v3/{OrSelect-64fa5d0b.js → OrSelect-acf12fe6.js} +12 -17
- package/dist/esm/v3/{OrSortHeader-cab07616.js → OrSortHeader-a39f77f9.js} +8 -13
- package/dist/esm/v3/{OrSwitch-f342ee4b.js → OrSwitch-1c2196da.js} +7 -12
- package/dist/esm/v3/{OrTabs-a1ffc2a3.js → OrTabs-328d41b9.js} +6 -11
- package/dist/esm/v3/{OrTextarea-f3831b3f.js → OrTextarea-37566985.js} +6 -11
- package/dist/esm/v3/components/index.js +15 -15
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-pagination-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +0 -11
- 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-segmented-control-v3/OrSegmentedControl.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-sort-header-v3/index.js +1 -1
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +3 -14
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +15 -15
- package/package.json +1 -1
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +3 -7
- package/src/components/or-checkbox-v3/OrCheckbox.vue +8 -12
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -4
- package/src/components/or-inline-input-v3/OrInlineInput.vue +6 -10
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -4
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +6 -10
- package/src/components/or-input-v3/OrInput.stories3.ts +0 -4
- package/src/components/or-input-v3/OrInput.vue +6 -10
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.vue +9 -20
- package/src/components/or-radio-v3/OrRadio.stories3.ts +3 -7
- package/src/components/or-radio-v3/OrRadio.vue +8 -12
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -4
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -11
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +8 -12
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +3 -7
- package/src/components/or-sort-header-v3/OrSortHeader.vue +9 -13
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -7
- package/src/components/or-switch-v3/OrSwitch.vue +8 -12
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -4
- package/src/components/or-tabs-v3/OrTabs.vue +6 -11
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +0 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +6 -10
|
@@ -21,10 +21,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
value: {
|
|
24
|
-
type: PropType<boolean | string[]>;
|
|
25
|
-
default: undefined;
|
|
26
|
-
};
|
|
27
|
-
inputValue: {
|
|
28
24
|
type: StringConstructor;
|
|
29
25
|
default: undefined;
|
|
30
26
|
};
|
|
@@ -54,10 +50,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
54
50
|
default: undefined;
|
|
55
51
|
};
|
|
56
52
|
value: {
|
|
57
|
-
type: PropType<boolean | string[]>;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
inputValue: {
|
|
61
53
|
type: StringConstructor;
|
|
62
54
|
default: undefined;
|
|
63
55
|
};
|
|
@@ -83,8 +75,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
83
75
|
};
|
|
84
76
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
85
77
|
modelValue: boolean | string[];
|
|
86
|
-
value:
|
|
87
|
-
inputValue: string;
|
|
78
|
+
value: string;
|
|
88
79
|
label: string;
|
|
89
80
|
labelVariant: LabelVariant;
|
|
90
81
|
required: boolean;
|
|
@@ -109,8 +100,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
109
100
|
blur: () => void;
|
|
110
101
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
111
102
|
modelValue: boolean | string[];
|
|
112
|
-
value:
|
|
113
|
-
inputValue: string;
|
|
103
|
+
value: string;
|
|
114
104
|
label: string;
|
|
115
105
|
labelVariant: LabelVariant;
|
|
116
106
|
required: boolean;
|
|
@@ -120,8 +110,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
120
110
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
121
111
|
}, {
|
|
122
112
|
modelValue: boolean | string[];
|
|
123
|
-
value:
|
|
124
|
-
inputValue: string;
|
|
113
|
+
value: string;
|
|
125
114
|
label: string;
|
|
126
115
|
labelVariant: LabelVariant;
|
|
127
116
|
required: boolean;
|
|
@@ -37,10 +37,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
37
37
|
type: (StringConstructor | NumberConstructor)[];
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
|
-
value: {
|
|
41
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
42
|
-
default: undefined;
|
|
43
|
-
};
|
|
44
40
|
variant: {
|
|
45
41
|
type: PropType<TabsVariant>;
|
|
46
42
|
default: TabsVariant;
|
|
@@ -54,18 +50,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
54
50
|
type: (StringConstructor | NumberConstructor)[];
|
|
55
51
|
default: undefined;
|
|
56
52
|
};
|
|
57
|
-
value: {
|
|
58
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
59
|
-
default: undefined;
|
|
60
|
-
};
|
|
61
53
|
variant: {
|
|
62
54
|
type: PropType<TabsVariant>;
|
|
63
55
|
default: TabsVariant;
|
|
64
56
|
};
|
|
65
57
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
66
|
-
items: TabsItem[];
|
|
67
58
|
modelValue: string | number;
|
|
68
|
-
|
|
59
|
+
items: TabsItem[];
|
|
69
60
|
variant: TabsVariant;
|
|
70
61
|
} & {} & {
|
|
71
62
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
@@ -97,15 +88,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
97
88
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string | number>;
|
|
98
89
|
activeTab: import("@vue/composition-api").ComputedRef<TabsItem>;
|
|
99
90
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
100
|
-
items: TabsItem[];
|
|
101
91
|
modelValue: string | number;
|
|
102
|
-
|
|
92
|
+
items: TabsItem[];
|
|
103
93
|
variant: TabsVariant;
|
|
104
94
|
} & {} & {
|
|
105
95
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
106
96
|
}, {
|
|
107
97
|
modelValue: string | number;
|
|
108
|
-
value: string | number;
|
|
109
98
|
variant: TabsVariant;
|
|
110
99
|
}, true>);
|
|
111
100
|
export default _default;
|
|
@@ -29,10 +29,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
29
29
|
type: StringConstructor;
|
|
30
30
|
default: undefined;
|
|
31
31
|
};
|
|
32
|
-
value: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: undefined;
|
|
35
|
-
};
|
|
36
32
|
size: {
|
|
37
33
|
type: PropType<TextareaSize>;
|
|
38
34
|
default: TextareaSize;
|
|
@@ -70,10 +66,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
70
66
|
type: StringConstructor;
|
|
71
67
|
default: undefined;
|
|
72
68
|
};
|
|
73
|
-
value: {
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
default: undefined;
|
|
76
|
-
};
|
|
77
69
|
size: {
|
|
78
70
|
type: PropType<TextareaSize>;
|
|
79
71
|
default: TextareaSize;
|
|
@@ -108,7 +100,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
108
100
|
};
|
|
109
101
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
110
102
|
modelValue: string;
|
|
111
|
-
value: string;
|
|
112
103
|
size: TextareaSize;
|
|
113
104
|
label: string;
|
|
114
105
|
placeholder: string;
|
|
@@ -145,7 +136,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
145
136
|
blur: () => void;
|
|
146
137
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
147
138
|
modelValue: string;
|
|
148
|
-
value: string;
|
|
149
139
|
size: TextareaSize;
|
|
150
140
|
label: string;
|
|
151
141
|
placeholder: string;
|
|
@@ -158,7 +148,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
158
148
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
159
149
|
}, {
|
|
160
150
|
modelValue: string;
|
|
161
|
-
value: string;
|
|
162
151
|
size: TextareaSize;
|
|
163
152
|
label: string;
|
|
164
153
|
placeholder: string;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,17 +6,17 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c56998e7.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-47f61c40.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-cd6af82e.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-16c1e2f4.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-8b7f29c2.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-308119de.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-e5781317.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-09de432a.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-56328f22.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-e16ade90.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-6fb81556.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-f700f9fb.js';
|
|
@@ -54,36 +54,36 @@ export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotificatio
|
|
|
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-afad3aa4.js';
|
|
57
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
57
|
+
export { s as OrPaginationV3 } from './OrPagination-da9e5017.js';
|
|
58
58
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
59
59
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
|
|
60
60
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
61
61
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
62
|
-
export { s as OrRadioV3 } from './OrRadio-
|
|
63
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
64
|
-
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
62
|
+
export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
|
|
63
|
+
export { s as OrSearchV3 } from './OrSearch-e15955a7.js';
|
|
64
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
|
|
65
65
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from './OrSelect-acf12fe6.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
70
70
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
|
|
71
71
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
72
|
-
export { s as OrSortHeaderV3 } from './OrSortHeader-
|
|
72
|
+
export { s as OrSortHeaderV3 } from './OrSortHeader-a39f77f9.js';
|
|
73
73
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
74
74
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
75
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
75
|
+
export { s as OrSwitchV3 } from './OrSwitch-1c2196da.js';
|
|
76
76
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
77
77
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
78
78
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
79
79
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
80
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
80
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-328d41b9.js';
|
|
81
81
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
82
82
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-34bf1713.js';
|
|
83
83
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
85
85
|
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
86
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
86
|
+
export { s as OrTextareaV3 } from './OrTextarea-37566985.js';
|
|
87
87
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
88
88
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
89
89
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
package/package.json
CHANGED
|
@@ -26,11 +26,7 @@ export default {
|
|
|
26
26
|
control: { type: 'object' },
|
|
27
27
|
},
|
|
28
28
|
|
|
29
|
-
value: {
|
|
30
|
-
table: { disable: true },
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
inputValue: { // TODO: Rename to `value` after complete migration to Vue 3
|
|
29
|
+
value: {
|
|
34
30
|
control: { type: 'text' },
|
|
35
31
|
},
|
|
36
32
|
|
|
@@ -139,7 +135,7 @@ const Template: StoryFn<typeof OrCheckbox> = (args) => ({
|
|
|
139
135
|
|
|
140
136
|
<OrCheckbox
|
|
141
137
|
v-model="model"
|
|
142
|
-
|
|
138
|
+
value="checkbox-2"
|
|
143
139
|
label="Checkbox 2"
|
|
144
140
|
@update:modelValue="onUpdateModelValue"
|
|
145
141
|
@input="onInput"
|
|
@@ -157,6 +153,6 @@ Checkbox.args = {
|
|
|
157
153
|
addon: '<OrIcon icon="info" />',
|
|
158
154
|
|
|
159
155
|
// Props
|
|
160
|
-
|
|
156
|
+
value: 'checkbox-1',
|
|
161
157
|
label: 'Checkbox 1',
|
|
162
158
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
v-bind="controlAttributes"
|
|
10
10
|
:class="controlStyles"
|
|
11
11
|
:type="'checkbox'"
|
|
12
|
-
:value="
|
|
12
|
+
:value="value"
|
|
13
13
|
:indeterminate="indeterminate"
|
|
14
14
|
:required="required"
|
|
15
15
|
:disabled="disabled"
|
|
@@ -47,18 +47,18 @@ export default defineComponent({
|
|
|
47
47
|
OrLabel,
|
|
48
48
|
},
|
|
49
49
|
|
|
50
|
+
model: {
|
|
51
|
+
prop: 'modelValue',
|
|
52
|
+
event: 'update:modelValue',
|
|
53
|
+
},
|
|
54
|
+
|
|
50
55
|
props: {
|
|
51
56
|
modelValue: {
|
|
52
57
|
type: [Boolean, Array] as PropType<boolean | string[]>,
|
|
53
58
|
default: undefined,
|
|
54
59
|
},
|
|
55
60
|
|
|
56
|
-
value: {
|
|
57
|
-
type: [Boolean, Array] as PropType<boolean | string[]>,
|
|
58
|
-
default: undefined,
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
inputValue: { // TODO: Rename to `value` after complete migration to Vue 3
|
|
61
|
+
value: {
|
|
62
62
|
type: String,
|
|
63
63
|
default: undefined,
|
|
64
64
|
},
|
|
@@ -92,7 +92,6 @@ export default defineComponent({
|
|
|
92
92
|
emits: [
|
|
93
93
|
'update:modelValue',
|
|
94
94
|
|
|
95
|
-
'input',
|
|
96
95
|
'focus',
|
|
97
96
|
'blur',
|
|
98
97
|
],
|
|
@@ -127,12 +126,9 @@ export default defineComponent({
|
|
|
127
126
|
});
|
|
128
127
|
|
|
129
128
|
const proxyModelValue = computed({
|
|
130
|
-
get: () =>
|
|
131
|
-
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
132
|
-
},
|
|
129
|
+
get: () => props.modelValue,
|
|
133
130
|
|
|
134
131
|
set: (value) => {
|
|
135
|
-
context.emit('input', value);
|
|
136
132
|
context.emit('update:modelValue', value);
|
|
137
133
|
},
|
|
138
134
|
});
|
|
@@ -90,17 +90,17 @@ export default defineComponent({
|
|
|
90
90
|
OrInlineInputBox,
|
|
91
91
|
},
|
|
92
92
|
|
|
93
|
+
model: {
|
|
94
|
+
prop: 'modelValue',
|
|
95
|
+
event: 'update:modelValue',
|
|
96
|
+
},
|
|
97
|
+
|
|
93
98
|
props: {
|
|
94
99
|
modelValue: {
|
|
95
100
|
type: [String, Number],
|
|
96
101
|
default: undefined,
|
|
97
102
|
},
|
|
98
103
|
|
|
99
|
-
value: { // TODO: Remove Vue 2 fallback
|
|
100
|
-
type: [String, Number],
|
|
101
|
-
default: undefined,
|
|
102
|
-
},
|
|
103
|
-
|
|
104
104
|
saveOnBlur: {
|
|
105
105
|
type: Boolean,
|
|
106
106
|
default: false,
|
|
@@ -135,7 +135,6 @@ export default defineComponent({
|
|
|
135
135
|
emits: [
|
|
136
136
|
'update:modelValue',
|
|
137
137
|
|
|
138
|
-
'input',
|
|
139
138
|
'keydown',
|
|
140
139
|
'keyup',
|
|
141
140
|
'focus',
|
|
@@ -177,12 +176,9 @@ export default defineComponent({
|
|
|
177
176
|
});
|
|
178
177
|
|
|
179
178
|
const proxyModelValue = computed({
|
|
180
|
-
get: () =>
|
|
181
|
-
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
182
|
-
},
|
|
179
|
+
get: () => props.modelValue,
|
|
183
180
|
|
|
184
181
|
set: (value) => {
|
|
185
|
-
context.emit('input', value);
|
|
186
182
|
context.emit('update:modelValue', value);
|
|
187
183
|
},
|
|
188
184
|
});
|
|
@@ -88,17 +88,17 @@ export default defineComponent({
|
|
|
88
88
|
OrInlineInputBox,
|
|
89
89
|
},
|
|
90
90
|
|
|
91
|
+
model: {
|
|
92
|
+
prop: 'modelValue',
|
|
93
|
+
event: 'update:modelValue',
|
|
94
|
+
},
|
|
95
|
+
|
|
91
96
|
props: {
|
|
92
97
|
modelValue: {
|
|
93
98
|
type: String,
|
|
94
99
|
default: undefined,
|
|
95
100
|
},
|
|
96
101
|
|
|
97
|
-
value: { // TODO: Remove Vue 2 fallback
|
|
98
|
-
type: String,
|
|
99
|
-
default: undefined,
|
|
100
|
-
},
|
|
101
|
-
|
|
102
102
|
saveOnBlur: {
|
|
103
103
|
type: Boolean,
|
|
104
104
|
default: false,
|
|
@@ -123,7 +123,6 @@ export default defineComponent({
|
|
|
123
123
|
emits: [
|
|
124
124
|
'update:modelValue',
|
|
125
125
|
|
|
126
|
-
'input',
|
|
127
126
|
'keydown',
|
|
128
127
|
'keyup',
|
|
129
128
|
'focus',
|
|
@@ -164,12 +163,9 @@ export default defineComponent({
|
|
|
164
163
|
});
|
|
165
164
|
|
|
166
165
|
const proxyModelValue = computed({
|
|
167
|
-
get: () =>
|
|
168
|
-
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
169
|
-
},
|
|
166
|
+
get: () => props.modelValue,
|
|
170
167
|
|
|
171
168
|
set: (value) => {
|
|
172
|
-
context.emit('input', value);
|
|
173
169
|
context.emit('update:modelValue', value);
|
|
174
170
|
},
|
|
175
171
|
});
|
|
@@ -125,17 +125,17 @@ export default defineComponent({
|
|
|
125
125
|
OrLabel,
|
|
126
126
|
},
|
|
127
127
|
|
|
128
|
+
model: {
|
|
129
|
+
prop: 'modelValue',
|
|
130
|
+
event: 'update:modelValue',
|
|
131
|
+
},
|
|
132
|
+
|
|
128
133
|
props: {
|
|
129
134
|
modelValue: {
|
|
130
135
|
type: [String, Number],
|
|
131
136
|
default: undefined,
|
|
132
137
|
},
|
|
133
138
|
|
|
134
|
-
value: { // TODO: Remove Vue 2 fallback
|
|
135
|
-
type: [String, Number],
|
|
136
|
-
default: undefined,
|
|
137
|
-
},
|
|
138
|
-
|
|
139
139
|
type: {
|
|
140
140
|
type: String as PropType<InputType>,
|
|
141
141
|
default: InputType.Text,
|
|
@@ -190,7 +190,6 @@ export default defineComponent({
|
|
|
190
190
|
emits: [
|
|
191
191
|
'update:modelValue',
|
|
192
192
|
|
|
193
|
-
'input',
|
|
194
193
|
'keydown',
|
|
195
194
|
'keyup',
|
|
196
195
|
'focus',
|
|
@@ -227,12 +226,9 @@ export default defineComponent({
|
|
|
227
226
|
});
|
|
228
227
|
|
|
229
228
|
const proxyModelValue = computed({
|
|
230
|
-
get: () =>
|
|
231
|
-
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
232
|
-
},
|
|
229
|
+
get: () => props.modelValue,
|
|
233
230
|
|
|
234
231
|
set: (value) => {
|
|
235
|
-
context.emit('input', value);
|
|
236
232
|
context.emit('update:modelValue', value);
|
|
237
233
|
},
|
|
238
234
|
});
|
|
@@ -87,17 +87,17 @@ export default defineComponent({
|
|
|
87
87
|
OrMenuItem,
|
|
88
88
|
},
|
|
89
89
|
|
|
90
|
+
model: {
|
|
91
|
+
prop: 'modelValue',
|
|
92
|
+
event: 'update:modelValue',
|
|
93
|
+
},
|
|
94
|
+
|
|
90
95
|
props: {
|
|
91
96
|
modelValue: {
|
|
92
97
|
type: Object as PropType<PaginationModel>,
|
|
93
98
|
default: undefined,
|
|
94
99
|
},
|
|
95
100
|
|
|
96
|
-
value: { // TODO: Remove Vue 2 fallback
|
|
97
|
-
type: Object as PropType<PaginationModel>,
|
|
98
|
-
default: undefined,
|
|
99
|
-
},
|
|
100
|
-
|
|
101
101
|
length: {
|
|
102
102
|
type: Number,
|
|
103
103
|
required: true,
|
|
@@ -111,8 +111,6 @@ export default defineComponent({
|
|
|
111
111
|
|
|
112
112
|
emits: [
|
|
113
113
|
'update:modelValue',
|
|
114
|
-
|
|
115
|
-
'input',
|
|
116
114
|
],
|
|
117
115
|
|
|
118
116
|
expose: [
|
|
@@ -149,20 +147,15 @@ export default defineComponent({
|
|
|
149
147
|
|
|
150
148
|
// State
|
|
151
149
|
const proxyModelValue = computed({
|
|
152
|
-
get: () =>
|
|
153
|
-
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
154
|
-
},
|
|
150
|
+
get: () => props.modelValue,
|
|
155
151
|
|
|
156
152
|
set: (value) => {
|
|
157
|
-
context.emit('input', value);
|
|
158
153
|
context.emit('update:modelValue', value);
|
|
159
154
|
},
|
|
160
155
|
});
|
|
161
156
|
|
|
162
157
|
const currentLimit = computed<number>({
|
|
163
|
-
get: () =>
|
|
164
|
-
return proxyModelValue.value?.limit ?? props.pageSizeOptions[0];
|
|
165
|
-
},
|
|
158
|
+
get: () => proxyModelValue.value?.limit ?? props.pageSizeOptions[0],
|
|
166
159
|
|
|
167
160
|
set: (value) => {
|
|
168
161
|
proxyModelValue.value = {
|
|
@@ -173,9 +166,7 @@ export default defineComponent({
|
|
|
173
166
|
});
|
|
174
167
|
|
|
175
168
|
const currentOffset = computed<number>({
|
|
176
|
-
get: () =>
|
|
177
|
-
return proxyModelValue.value?.offset ?? 0;
|
|
178
|
-
},
|
|
169
|
+
get: () => proxyModelValue.value?.offset ?? 0,
|
|
179
170
|
|
|
180
171
|
set: (value) => {
|
|
181
172
|
proxyModelValue.value = {
|
|
@@ -186,9 +177,7 @@ export default defineComponent({
|
|
|
186
177
|
});
|
|
187
178
|
|
|
188
179
|
const currentPage = computed<number>({
|
|
189
|
-
get: () =>
|
|
190
|
-
return Math.floor(currentOffset.value / currentLimit.value) + 1;
|
|
191
|
-
},
|
|
180
|
+
get: () => Math.floor(currentOffset.value / currentLimit.value) + 1,
|
|
192
181
|
|
|
193
182
|
set: (value) => {
|
|
194
183
|
currentOffset.value = (value - 1) * currentLimit.value;
|
|
@@ -26,11 +26,7 @@ export default {
|
|
|
26
26
|
control: { type: 'text' },
|
|
27
27
|
},
|
|
28
28
|
|
|
29
|
-
value: {
|
|
30
|
-
table: { disable: true },
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
inputValue: { // TODO: Rename to `value` after complete migration to Vue 3
|
|
29
|
+
value: {
|
|
34
30
|
control: { type: 'text' },
|
|
35
31
|
},
|
|
36
32
|
|
|
@@ -135,7 +131,7 @@ const Template: StoryFn<typeof OrRadio> = (args) => ({
|
|
|
135
131
|
|
|
136
132
|
<OrRadio
|
|
137
133
|
v-model="model"
|
|
138
|
-
|
|
134
|
+
value="radio-2"
|
|
139
135
|
label="Radio 2"
|
|
140
136
|
@update:modelValue="onUpdateModelValue"
|
|
141
137
|
@input="onInput"
|
|
@@ -153,6 +149,6 @@ Radio.args = {
|
|
|
153
149
|
addon: '<OrIcon icon="info" />',
|
|
154
150
|
|
|
155
151
|
// Props
|
|
156
|
-
|
|
152
|
+
value: 'radio-1',
|
|
157
153
|
label: 'Radio 1',
|
|
158
154
|
};
|