@onereach/ui-components 2.69.7-beta.2155.0 → 2.69.7-beta.2168.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-ec551691.js → OrButton-4b99c680.js} +1 -14
- package/dist/bundled/v2/{OrCardCollection-1b20a00f.js → OrCardCollection-aa6b8553.js} +2 -2
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-4f665252.js} +3 -3
- package/dist/bundled/v2/{OrConfirm-0a34d7e9.js → OrConfirm-dc704484.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-9add2e1e.js → OrInlineInput-6af4fe07.js} +2 -2
- package/dist/bundled/v2/{OrInlineTextarea-9c6f9044.js → OrInlineTextarea-ddf84267.js} +2 -2
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-e7b864c1.js} +20 -13
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-de8ce3ac.js} +2 -12
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-a60fc5c0.js} +3 -3
- package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-ad84b460.js} +2 -2
- package/dist/bundled/v2/{OrSelect-ff9e4fbd.js → OrSelect-b393f564.js} +15 -7
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-fe9b7de7.js} +3 -3
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-59fba95c.js} +14 -11
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +14 -14
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +149 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -4
- 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 +2 -1
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +25 -14
- package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -4
- 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 +3 -2
- package/dist/bundled/v2/index.js +15 -15
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrButton-e38644d0.js → OrButton-a671b8a1.js} +2 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-08f0dea0.js → OrButton.vue_vue_type_script_lang-b0dc31ca.js} +1 -13
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ff722f3f.js → OrCardCollection.vue_vue_type_script_lang-ece2eab6.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ed99973c.js → OrConfirm.vue_vue_type_script_lang-fcbdf2c6.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-f29483f4.js → OrInlineInput.vue_vue_type_script_lang-84c521f9.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js → OrInlineTextarea.vue_vue_type_script_lang-9c58faeb.js} +2 -2
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-4ccc2c7b.js} +17 -14
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-96ce8121.js} +5 -4
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-27aa1cec.js} +1 -1
- package/dist/{esm/v2/OrInputBox-4d5a318d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-28353c10.js} +4 -55
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-71fbb2fc.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-05b03858.js → OrSelect.vue_vue_type_script_lang-363605c5.js} +17 -9
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-9f2a0234.js} +5 -4
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +14 -14
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +9 -8
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +8 -7
- 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 +2 -1
- package/dist/bundled/v3/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +25 -14
- package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +188 -264
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrButton-c02a6c26.js → OrButton-357e1e2c.js} +1 -14
- package/dist/esm/v2/{OrCardCollection-46a25600.js → OrCardCollection-fe34fef3.js} +3 -3
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-ea48d156.js} +3 -3
- package/dist/esm/v2/{OrConfirm-31dfa3e0.js → OrConfirm-3bead0be.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-cfeeea33.js → OrInlineInput-e32f322f.js} +2 -2
- package/dist/esm/v2/{OrInlineTextarea-897b5377.js → OrInlineTextarea-7296fbdb.js} +2 -2
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-db0e2368.js} +20 -13
- package/dist/esm/v2/OrInputBox-9d1193b5.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-328ae841.js} +3 -2
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-6e10f071.js} +3 -3
- package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-9d9459f5.js} +2 -2
- package/dist/esm/v2/{OrSelect-651bb83e.js → OrSelect-e6aa1b2a.js} +15 -7
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-c628d2c5.js} +3 -3
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-52354386.js} +14 -11
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +14 -14
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -5
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +147 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -4
- 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 +3 -2
- package/dist/esm/v2/components/or-input-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +25 -14
- package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-select-v3/index.js +5 -4
- 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 +3 -2
- package/dist/esm/v2/index.js +14 -14
- package/dist/esm/v3/{OrButton-2ca1996a.js → OrButton-bb6bf8a9.js} +2 -15
- package/dist/esm/v3/{OrCardCollection-167ed657.js → OrCardCollection-8a84f69c.js} +2 -2
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-d1b516c8.js} +3 -2
- package/dist/esm/v3/{OrConfirm-492012c6.js → OrConfirm-5bd1f4db.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-31026cd0.js → OrInlineInput-00f0d1b8.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-b28c3d8c.js → OrInlineTextarea-c1babfda.js} +2 -2
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-2b447f81.js} +18 -15
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-ef9d4c6e.js} +3 -2
- package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-d72cfc74.js} +1 -1
- package/dist/esm/v3/{OrSelect-28a175dc.js → OrSelect-e6e006d5.js} +14 -7
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-cc797a48.js} +3 -3
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-ed35cd0b.js} +16 -14
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +12 -13
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- 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-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- 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-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 +25 -14
- package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
- 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 +12 -13
- package/package.json +2 -2
- package/src/components/index.ts +0 -1
- package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -6
- package/src/components/or-button-v3/styles.ts +1 -15
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -1
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +202 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +134 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- 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 +28 -22
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-radio-v3/OrRadio.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +9 -3
- package/src/components/or-select-v3/index.ts +0 -1
- package/src/components/or-select-v3/styles.ts +4 -1
- 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 +5 -1
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/OrPagination-ccaef550.js +0 -297
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-5246de48.js +0 -180
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v2/OrPagination-179098fb.js +0 -297
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v3/OrPagination-a84ad212.js +0 -258
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
- package/src/components/or-pagination-v3/OrPagination.vue +0 -261
- package/src/components/or-pagination-v3/index.ts +0 -2
- package/src/components/or-pagination-v3/styles.ts +0 -30
- package/src/components/or-pagination-v3/types.ts +0 -4
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
-
} | string[], {} & {}, {
|
|
5
|
-
[x: number]: string;
|
|
6
|
-
} | {}, true>)>;
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
-
} | string[], {} & {}, {
|
|
11
|
-
[x: number]: string;
|
|
12
|
-
} | {}, true>)>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
import { PaginationModel } from './types';
|
|
3
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true> | undefined>;
|
|
10
|
-
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
11
|
-
limitMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
-
} | string[], {} & {}, {
|
|
14
|
-
[x: number]: string;
|
|
15
|
-
} | {}, true> | undefined>;
|
|
16
|
-
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
17
|
-
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
18
|
-
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
-
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
21
|
-
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
22
|
-
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
23
|
-
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
24
|
-
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
25
|
-
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
26
|
-
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
27
|
-
toPreviousPage: () => void;
|
|
28
|
-
toNextPage: () => void;
|
|
29
|
-
toPage: (page: number) => void;
|
|
30
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
31
|
-
modelValue: {
|
|
32
|
-
type: PropType<PaginationModel>;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
value: {
|
|
36
|
-
type: PropType<PaginationModel>;
|
|
37
|
-
default: undefined;
|
|
38
|
-
};
|
|
39
|
-
length: {
|
|
40
|
-
type: NumberConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
pageSizeOptions: {
|
|
44
|
-
type: PropType<number[]>;
|
|
45
|
-
default: () => number[];
|
|
46
|
-
};
|
|
47
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
48
|
-
modelValue: {
|
|
49
|
-
type: PropType<PaginationModel>;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
value: {
|
|
53
|
-
type: PropType<PaginationModel>;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
length: {
|
|
57
|
-
type: NumberConstructor;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
pageSizeOptions: {
|
|
61
|
-
type: PropType<number[]>;
|
|
62
|
-
default: () => number[];
|
|
63
|
-
};
|
|
64
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
|
-
length: number;
|
|
66
|
-
modelValue: PaginationModel;
|
|
67
|
-
value: PaginationModel;
|
|
68
|
-
pageSizeOptions: number[];
|
|
69
|
-
} & {} & {
|
|
70
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
72
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
73
|
-
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
74
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
75
|
-
} | string[], {} & {}, {
|
|
76
|
-
[x: number]: string;
|
|
77
|
-
} | {}, true> | undefined>;
|
|
78
|
-
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
79
|
-
limitMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
80
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
81
|
-
} | string[], {} & {}, {
|
|
82
|
-
[x: number]: string;
|
|
83
|
-
} | {}, true> | undefined>;
|
|
84
|
-
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
85
|
-
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
86
|
-
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
87
|
-
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
88
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
89
|
-
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
90
|
-
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
91
|
-
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
92
|
-
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
93
|
-
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
94
|
-
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
95
|
-
toPreviousPage: () => void;
|
|
96
|
-
toNextPage: () => void;
|
|
97
|
-
toPage: (page: number) => void;
|
|
98
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
99
|
-
length: number;
|
|
100
|
-
modelValue: PaginationModel;
|
|
101
|
-
value: PaginationModel;
|
|
102
|
-
pageSizeOptions: number[];
|
|
103
|
-
} & {} & {
|
|
104
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
105
|
-
}, {
|
|
106
|
-
modelValue: PaginationModel;
|
|
107
|
-
value: PaginationModel;
|
|
108
|
-
pageSizeOptions: number[];
|
|
109
|
-
}, true>);
|
|
110
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export { s as OrPaginationV3 } from '../../OrPagination.vue_vue_type_script_lang-5246de48.js';
|
|
2
|
-
import 'vue';
|
|
3
|
-
import '../../OrButton-e38644d0.js';
|
|
4
|
-
import '../../OrButton.vue_vue_type_script_lang-08f0dea0.js';
|
|
5
|
-
import '../../OrLoader-c4bbef2f.js';
|
|
6
|
-
import '../../OrLoader.vue_vue_type_script_lang-5405040c.js';
|
|
7
|
-
import '../../useClassAttribute-00888f78.js';
|
|
8
|
-
import '../../OrIcon-d878b768.js';
|
|
9
|
-
import '../../OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
10
|
-
import '../../OrMenu-f26e8e55.js';
|
|
11
|
-
import '../../OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
12
|
-
import '../../OrPopover-c462ce77.js';
|
|
13
|
-
import '../../OrPopover.vue_vue_type_script_lang-54c7b11c.js';
|
|
14
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
15
|
-
import '@vueuse/core';
|
|
16
|
-
import '../../OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
17
|
-
import '../../OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
18
|
-
import '../../OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
19
|
-
import '../../useElevation-c8d5d3ba.js';
|
|
20
|
-
import '../../useResponsive-9d397e2a.js';
|
|
21
|
-
import '../../OrMenuItem-4feaba6c.js';
|
|
22
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
-
import '@vueuse/core';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrButton-c02a6c26.js';
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrIcon-5e394c62.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenuItem-c7f28480.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrMenu-df27d0ef.js';
|
|
8
|
-
import './OrPopover-9bafbdb4.js';
|
|
9
|
-
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
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
|
-
|
|
31
|
-
var script = defineComponent({
|
|
32
|
-
name: 'OrPagination',
|
|
33
|
-
components: {
|
|
34
|
-
OrButton: __vue_component__$1,
|
|
35
|
-
OrIcon: __vue_component__$2,
|
|
36
|
-
OrMenu: __vue_component__$3,
|
|
37
|
-
OrMenuItem: __vue_component__$4
|
|
38
|
-
},
|
|
39
|
-
inheritAttrs: false,
|
|
40
|
-
props: {
|
|
41
|
-
modelValue: {
|
|
42
|
-
type: Object,
|
|
43
|
-
default: undefined
|
|
44
|
-
},
|
|
45
|
-
value: {
|
|
46
|
-
type: Object,
|
|
47
|
-
default: undefined
|
|
48
|
-
},
|
|
49
|
-
length: {
|
|
50
|
-
type: Number,
|
|
51
|
-
required: true
|
|
52
|
-
},
|
|
53
|
-
pageSizeOptions: {
|
|
54
|
-
type: Array,
|
|
55
|
-
default: () => [50, 20, 10, 5]
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
emits: ['update:modelValue', 'input'],
|
|
59
|
-
expose: ['root'],
|
|
60
|
-
setup(props, context) {
|
|
61
|
-
// Refs
|
|
62
|
-
const root = ref();
|
|
63
|
-
const limitButton = ref();
|
|
64
|
-
const limitButtonRoot = computed(() => {
|
|
65
|
-
var _a;
|
|
66
|
-
return (_a = limitButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
67
|
-
});
|
|
68
|
-
const limitMenu = ref();
|
|
69
|
-
const limitMenuRoot = computed(() => {
|
|
70
|
-
var _a;
|
|
71
|
-
return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
72
|
-
});
|
|
73
|
-
// Styles
|
|
74
|
-
const classAttribute = useClassAttribute();
|
|
75
|
-
const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
|
|
76
|
-
const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
|
|
77
|
-
const limitControlStyles = computed(() => [...PaginationLimitControl]);
|
|
78
|
-
// State
|
|
79
|
-
const proxyModelValue = computed({
|
|
80
|
-
get: () => {
|
|
81
|
-
var _a;
|
|
82
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
set: value => {
|
|
86
|
-
context.emit('input', value);
|
|
87
|
-
context.emit('update:modelValue', value);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
const currentLimit = computed({
|
|
91
|
-
get: () => {
|
|
92
|
-
var _a, _b;
|
|
93
|
-
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.pageSizeOptions[0];
|
|
94
|
-
},
|
|
95
|
-
set: value => {
|
|
96
|
-
proxyModelValue.value = {
|
|
97
|
-
limit: value,
|
|
98
|
-
offset: 0
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
const currentOffset = computed({
|
|
103
|
-
get: () => {
|
|
104
|
-
var _a, _b;
|
|
105
|
-
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
|
|
106
|
-
},
|
|
107
|
-
set: value => {
|
|
108
|
-
proxyModelValue.value = {
|
|
109
|
-
limit: currentLimit.value,
|
|
110
|
-
offset: value
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const currentPage = computed({
|
|
115
|
-
get: () => {
|
|
116
|
-
return Math.floor(currentOffset.value / currentLimit.value) + 1;
|
|
117
|
-
},
|
|
118
|
-
set: value => {
|
|
119
|
-
currentOffset.value = (value - 1) * currentLimit.value;
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
const firstPage = computed(() => {
|
|
123
|
-
return 1;
|
|
124
|
-
});
|
|
125
|
-
const lastPage = computed(() => {
|
|
126
|
-
return Math.ceil(props.length / currentLimit.value);
|
|
127
|
-
});
|
|
128
|
-
const buttonGroup = computed(() => {
|
|
129
|
-
return Array.from({
|
|
130
|
-
length: lastPage.value
|
|
131
|
-
}, (_, index) => index + 1).map(page => {
|
|
132
|
-
switch (true) {
|
|
133
|
-
case page > firstPage.value && page < currentPage.value - 1:
|
|
134
|
-
case page > currentPage.value + 1 && page < lastPage.value:
|
|
135
|
-
return '…';
|
|
136
|
-
default:
|
|
137
|
-
return page;
|
|
138
|
-
}
|
|
139
|
-
}).reduce((accumulator, page) => {
|
|
140
|
-
if (accumulator[accumulator.length - 1] === page) {
|
|
141
|
-
return accumulator;
|
|
142
|
-
}
|
|
143
|
-
return [...accumulator, page];
|
|
144
|
-
}, []);
|
|
145
|
-
});
|
|
146
|
-
// Functions
|
|
147
|
-
function toPreviousPage() {
|
|
148
|
-
currentPage.value = currentPage.value - 1;
|
|
149
|
-
}
|
|
150
|
-
function toNextPage() {
|
|
151
|
-
currentPage.value = currentPage.value + 1;
|
|
152
|
-
}
|
|
153
|
-
function toPage(page) {
|
|
154
|
-
currentPage.value = page;
|
|
155
|
-
}
|
|
156
|
-
return {
|
|
157
|
-
root,
|
|
158
|
-
limitButton,
|
|
159
|
-
limitButtonRoot,
|
|
160
|
-
limitMenu,
|
|
161
|
-
limitMenuRoot,
|
|
162
|
-
rootStyles,
|
|
163
|
-
offsetControlStyles,
|
|
164
|
-
limitControlStyles,
|
|
165
|
-
proxyModelValue,
|
|
166
|
-
currentLimit,
|
|
167
|
-
currentOffset,
|
|
168
|
-
currentPage,
|
|
169
|
-
firstPage,
|
|
170
|
-
lastPage,
|
|
171
|
-
buttonGroup,
|
|
172
|
-
toPreviousPage,
|
|
173
|
-
toNextPage,
|
|
174
|
-
toPage
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
/* script */
|
|
180
|
-
const __vue_script__ = script;
|
|
181
|
-
|
|
182
|
-
/* template */
|
|
183
|
-
var __vue_render__ = function () {
|
|
184
|
-
var _vm = this;
|
|
185
|
-
var _h = _vm.$createElement;
|
|
186
|
-
var _c = _vm._self._c || _h;
|
|
187
|
-
return _c('div', _vm._b({
|
|
188
|
-
ref: "root",
|
|
189
|
-
class: _vm.rootStyles
|
|
190
|
-
}, 'div', _vm.$attrs, false), [_c('div', {
|
|
191
|
-
class: _vm.offsetControlStyles
|
|
192
|
-
}, [_c('OrButton', {
|
|
193
|
-
attrs: {
|
|
194
|
-
"variant": 'link',
|
|
195
|
-
"color": 'inherit',
|
|
196
|
-
"disabled": _vm.currentPage === _vm.firstPage
|
|
197
|
-
},
|
|
198
|
-
on: {
|
|
199
|
-
"click": function ($event) {
|
|
200
|
-
$event.stopPropagation();
|
|
201
|
-
return _vm.toPreviousPage();
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}, [_c('OrIcon', {
|
|
205
|
-
attrs: {
|
|
206
|
-
"icon": 'keyboard_arrow_left'
|
|
207
|
-
}
|
|
208
|
-
})], 1), _vm._v(" "), _vm._l(_vm.buttonGroup, function (page, index) {
|
|
209
|
-
return _c('OrButton', {
|
|
210
|
-
key: index,
|
|
211
|
-
attrs: {
|
|
212
|
-
"variant": 'link',
|
|
213
|
-
"color": 'inherit',
|
|
214
|
-
"activated": _vm.currentPage === page
|
|
215
|
-
},
|
|
216
|
-
on: {
|
|
217
|
-
"click": function ($event) {
|
|
218
|
-
$event.stopPropagation();
|
|
219
|
-
typeof page === 'number' && _vm.toPage(page);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}, [_vm._v("\n " + _vm._s(page) + "\n ")]);
|
|
223
|
-
}), _vm._v(" "), _c('OrButton', {
|
|
224
|
-
attrs: {
|
|
225
|
-
"variant": 'link',
|
|
226
|
-
"color": 'inherit',
|
|
227
|
-
"disabled": _vm.currentPage === _vm.lastPage
|
|
228
|
-
},
|
|
229
|
-
on: {
|
|
230
|
-
"click": function ($event) {
|
|
231
|
-
$event.stopPropagation();
|
|
232
|
-
return _vm.toNextPage();
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}, [_c('OrIcon', {
|
|
236
|
-
attrs: {
|
|
237
|
-
"icon": 'keyboard_arrow_right'
|
|
238
|
-
}
|
|
239
|
-
})], 1)], 2), _vm._v(" "), _c('div', {
|
|
240
|
-
class: _vm.limitControlStyles
|
|
241
|
-
}, [_vm._v("\n Per page:\n\n "), _c('OrButton', {
|
|
242
|
-
ref: "limitButton",
|
|
243
|
-
attrs: {
|
|
244
|
-
"variant": 'link',
|
|
245
|
-
"color": 'inherit',
|
|
246
|
-
"activated": true
|
|
247
|
-
},
|
|
248
|
-
on: {
|
|
249
|
-
"click": function ($event) {
|
|
250
|
-
$event.stopPropagation();
|
|
251
|
-
return _vm.limitMenu.open();
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}, [_vm._v("\n " + _vm._s(_vm.currentLimit) + " "), _c('OrIcon', {
|
|
255
|
-
attrs: {
|
|
256
|
-
"icon": 'arrow_drop_down'
|
|
257
|
-
}
|
|
258
|
-
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
259
|
-
ref: "limitMenu",
|
|
260
|
-
attrs: {
|
|
261
|
-
"trigger": _vm.limitButtonRoot,
|
|
262
|
-
"placement": 'top'
|
|
263
|
-
}
|
|
264
|
-
}, _vm._l(_vm.pageSizeOptions, function (pageSize) {
|
|
265
|
-
return _c('OrMenuItem', {
|
|
266
|
-
key: pageSize,
|
|
267
|
-
on: {
|
|
268
|
-
"click": function ($event) {
|
|
269
|
-
$event.stopPropagation();
|
|
270
|
-
_vm.currentLimit = pageSize;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}, [_vm._v("\n " + _vm._s(pageSize) + "\n ")]);
|
|
274
|
-
}), 1)], 1)]);
|
|
275
|
-
};
|
|
276
|
-
var __vue_staticRenderFns__ = [];
|
|
277
|
-
|
|
278
|
-
/* style */
|
|
279
|
-
const __vue_inject_styles__ = undefined;
|
|
280
|
-
/* scoped */
|
|
281
|
-
const __vue_scope_id__ = undefined;
|
|
282
|
-
/* module identifier */
|
|
283
|
-
const __vue_module_identifier__ = undefined;
|
|
284
|
-
/* functional template */
|
|
285
|
-
const __vue_is_functional_template__ = false;
|
|
286
|
-
/* style inject */
|
|
287
|
-
|
|
288
|
-
/* style inject SSR */
|
|
289
|
-
|
|
290
|
-
/* style inject shadow dom */
|
|
291
|
-
|
|
292
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
293
|
-
render: __vue_render__,
|
|
294
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
295
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
296
|
-
|
|
297
|
-
export { __vue_component__ as _ };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
-
} | string[], {} & {}, {
|
|
5
|
-
[x: number]: string;
|
|
6
|
-
} | {}, true>)>;
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
-
} | string[], {} & {}, {
|
|
11
|
-
[x: number]: string;
|
|
12
|
-
} | {}, true>)>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
import { PaginationModel } from './types';
|
|
3
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true> | undefined>;
|
|
10
|
-
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
11
|
-
limitMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
-
} | string[], {} & {}, {
|
|
14
|
-
[x: number]: string;
|
|
15
|
-
} | {}, true> | undefined>;
|
|
16
|
-
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
17
|
-
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
18
|
-
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
-
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
21
|
-
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
22
|
-
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
23
|
-
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
24
|
-
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
25
|
-
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
26
|
-
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
27
|
-
toPreviousPage: () => void;
|
|
28
|
-
toNextPage: () => void;
|
|
29
|
-
toPage: (page: number) => void;
|
|
30
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
31
|
-
modelValue: {
|
|
32
|
-
type: PropType<PaginationModel>;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
value: {
|
|
36
|
-
type: PropType<PaginationModel>;
|
|
37
|
-
default: undefined;
|
|
38
|
-
};
|
|
39
|
-
length: {
|
|
40
|
-
type: NumberConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
pageSizeOptions: {
|
|
44
|
-
type: PropType<number[]>;
|
|
45
|
-
default: () => number[];
|
|
46
|
-
};
|
|
47
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
48
|
-
modelValue: {
|
|
49
|
-
type: PropType<PaginationModel>;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
value: {
|
|
53
|
-
type: PropType<PaginationModel>;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
length: {
|
|
57
|
-
type: NumberConstructor;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
pageSizeOptions: {
|
|
61
|
-
type: PropType<number[]>;
|
|
62
|
-
default: () => number[];
|
|
63
|
-
};
|
|
64
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
|
-
length: number;
|
|
66
|
-
modelValue: PaginationModel;
|
|
67
|
-
value: PaginationModel;
|
|
68
|
-
pageSizeOptions: number[];
|
|
69
|
-
} & {} & {
|
|
70
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
72
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
73
|
-
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
74
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
75
|
-
} | string[], {} & {}, {
|
|
76
|
-
[x: number]: string;
|
|
77
|
-
} | {}, true> | undefined>;
|
|
78
|
-
limitButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
79
|
-
limitMenu: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
80
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
81
|
-
} | string[], {} & {}, {
|
|
82
|
-
[x: number]: string;
|
|
83
|
-
} | {}, true> | undefined>;
|
|
84
|
-
limitMenuRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
85
|
-
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
86
|
-
offsetControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
87
|
-
limitControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
88
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<PaginationModel>;
|
|
89
|
-
currentLimit: import("@vue/composition-api").WritableComputedRef<number>;
|
|
90
|
-
currentOffset: import("@vue/composition-api").WritableComputedRef<number>;
|
|
91
|
-
currentPage: import("@vue/composition-api").WritableComputedRef<number>;
|
|
92
|
-
firstPage: import("@vue/composition-api").ComputedRef<number>;
|
|
93
|
-
lastPage: import("@vue/composition-api").ComputedRef<number>;
|
|
94
|
-
buttonGroup: import("@vue/composition-api").ComputedRef<(string | number)[]>;
|
|
95
|
-
toPreviousPage: () => void;
|
|
96
|
-
toNextPage: () => void;
|
|
97
|
-
toPage: (page: number) => void;
|
|
98
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
99
|
-
length: number;
|
|
100
|
-
modelValue: PaginationModel;
|
|
101
|
-
value: PaginationModel;
|
|
102
|
-
pageSizeOptions: number[];
|
|
103
|
-
} & {} & {
|
|
104
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
105
|
-
}, {
|
|
106
|
-
modelValue: PaginationModel;
|
|
107
|
-
value: PaginationModel;
|
|
108
|
-
pageSizeOptions: number[];
|
|
109
|
-
}, true>);
|
|
110
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export { _ as OrPaginationV3 } from '../../OrPagination-179098fb.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '../../useClassAttribute-47fdb016.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
import '../../OrButton-c02a6c26.js';
|
|
6
|
-
import '../../OrLoader-f857d55b.js';
|
|
7
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
8
|
-
import '../../OrIcon-5e394c62.js';
|
|
9
|
-
import '../../OrMenuItem-c7f28480.js';
|
|
10
|
-
import '../../OrMenu-df27d0ef.js';
|
|
11
|
-
import '../../OrPopover-9bafbdb4.js';
|
|
12
|
-
import '@floating-ui/dom';
|
|
13
|
-
import '../../useElevation-31bfe1f6.js';
|
|
14
|
-
import '../../useResponsive-a02e95b7.js';
|
|
15
|
-
import '../../OrBottomSheet-16c2e610.js';
|
|
16
|
-
import '../../OrOverlay-18ba2dc6.js';
|
|
17
|
-
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
18
|
-
import 'portal-vue';
|