Sliding Pagination for Vue - ARIA-friendly pagination component with a sliding window

Overview

[TODO:] [Insert] [a crapton] [of badges] [here] [because] [javascript]

Build Status

Sliding Pagination for Vue

ARIA-friendly pagination component with a sliding window.

Example pagination

Installation

Node

npm install vue-sliding-pagination --save

or, for the fäncÿ people,

yarn add vue-sliding-pagination

Browser

Currently, no browser build is available.

Usage

Basic usage of the pagination component only requires the current page, the total number of pages and a handler which is called on page change.

The pagination component does not handle page changes by itself, instead you are required to provide a page change handler which should contain all your page changing logic (e.g. a vuex store dispatch) and eventually change the current page to the passed one. In later releases, a v-model approach to currentPage may be offered, but was opted against for the time being.

Thus, to get a paginator with default settings (please consult the options listing below for details), the following markup and script sections provide a starting point:

">
<sliding-pagination
  :current="currentPage"
  :total="totalPages"
  @page-change="pageChangeHandler"
>sliding-pagination>
import SlidingPagination from 'vue-sliding-pagination'

// in component or vue instance
components: {
  // ...
  SlidingPagination
},
data() {
  return {
    // ...
    currentPage: 1,
    totalPages: 10
  }
},
methods: {
  // ...
  pageChangeHandler(selectedPage) {
    this.currentPage = selectedPage
  }
}

Documentation

In-depth documentation may be found at https://vue-sliding-pagination.efrane.com

Contributing

Please do. Please be kind to each other. That's all.

License

Copyright 2018 Stefan "eFrane" Graupner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Issues
  • Get page from event payload on page click

    Get page from event payload on page click

    Right now the pagination component ignores the payload provided by the page component on page-click event. It just goes to the current page. This is fine for links but I have a use case where the current page component is a text input that allows jumping to a page other than the current one.

    The default page component already provides the current page in the payload so this change has no impact on people using the library out of the box. The could be a regression in case of a custom page component that would rely on the fact that the payload used to be ignored.

    enhancement 
    opened by fhervieux 8
  • Cannot use

    Cannot use "navigation" buttons to navigate forward and back

    You can see this issue in the demo. https://vue-sliding-pagination.efrane.com/examples.html#very-basic-example When the forward/back navigation is not disabled, the link is just an href to # so you are taken to the top of the page.

    This is a very frustrating behavior, and there is no way to override the behavior. I attempted to override the slots previous-page and next-page to implement the functionality myself, but those seem to not work. Can you provide me with a code sample, or give me permission to contribute so this feature works?

    Thank you

    opened by Maker-Mark 4
  • Bump @vue/test-utils from 1.0.3 to 1.1.1

    Bump @vue/test-utils from 1.0.3 to 1.1.1

    Bumps @vue/test-utils from 1.0.3 to 1.1.1.

    Release notes

    Sourced from @vue/test-utils's releases.

    v1.1.1

    Many small bug fixes.

    Features

    • feat: treat document.body in attachTo in special way (#1699) @xanf
    • feat(config): introduce deprecation warning handler, fix #1672
    • feat: warn when operating on destroyed Vue component (#1706) @xanf
    • add the wrapper.getComponent method and corresponding documents. (#1714)
    • feat(test-utils): add types for auto destroy methods (#1724) @blake-newman
    • feat: add abstract property to the core property of the component (#1716) @ustbhuangyi

    Fixes

    • fix(test-utils/wrapper): clarify deprecation note for wrong "get" usage @valentinpalkovic
    • fix: support v-text on child functional components with shallowMount @jeremy-cassou
    • fix(setData): allow empty objects to be set fix #1704 @Haroenv
    • fix: ignore non-vue wrapper for auto-destroy (#1723)

    v1.1.0

    This is a pretty significant release. We undeprecated is and isVisible due to popular demand.

    Features

    • createLocalVue errorHandler Option (#1670) @AtofStryker
    • remove deprecation warning from isVisible method (#1675) @xanf
    • feat: remove deprecation when is is called with component definition @xanf
    • support components returning render function from setup @LeBenLeBen

    Fixes

    Sync mode cleanup (#1671) @AtofStryker

    v1.0.5

    This release is mostly fixing small things, with some better support for @vue/composition-api plugin users. 4 bugfixes from 4 separate users, the Vue community is too cool 😎

    Features and Fixes

    fix: handle shallowMount on components with v-if and scoped slots (#1663) by @xanf fix: extend Vue parent with options to support accessing root for better @vue/composition-api fixing (#1655) support by @lmiller1990 fix: Match how the Vue runtime executes scoped slots #1660 by @sirlancelot fix: Wrapper array consistency (#1650) by @AtofStryker

    Dependencies and Misc

    Commits
    • d7916ce v1.1.1
    • 3cbc2cc chore: build 1.1.1
    • c198d19 fix: ignore non-vue wrapper for auto-destroy (#1723)
    • e1c2526 feat(test-utils): add types for auto destroy methods (#1724)
    • c90f597 add the wrapper.getComponent method and corresponding documents. (#1714)
    • 16790b9 feat: warn when operating on destroyed Vue component (#1706)
    • 993b293 fix(setData): allow empty objects to be set fix #1704 (#1705)
    • a821908 feat: treat document.body in attachTo in special way (#1699)
    • 7740e90 feat(config): introduce deprecation warning handler, fix #1672 (#1700)
    • a696325 fix(test-utils/wrapper): clarify deprecation note for wrong "get" usage (#1688)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 3
  • Bump webpack-merge from 5.2.0 to 5.3.0

    Bump webpack-merge from 5.2.0 to 5.3.0

    Bumps webpack-merge from 5.2.0 to 5.3.0.

    Changelog

    Sourced from webpack-merge's changelog.

    5.3.0 / 2020-10-30

    • Fix - Expose Configuration type through a generic to TypeScript to support both webpack 4 and 5 #141 #154

    In case you use webpack 4, please change your typing as instructed in the readme as the default type is loose but non-breaking.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 3
  • Bump jest from 26.6.1 to 26.6.3

    Bump jest from 26.6.1 to 26.6.3

    Bumps jest from 26.6.1 to 26.6.3.

    Release notes

    Sourced from jest's releases.

    26.6.3

    Fixes

    • [jest-resolve-dependencies] Continue dependency resolution if mock dependency can't be found (#10779)

    26.6.2

    Features

    • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#10659)

    Fixes

    • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#10536)
    • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723)
    • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#10747)
    • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#10508)" (#10766)
    • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#10697)
    • [jest-config] Fix bug introduced in watch mode by PR #10678 (#10692)
    • [jest-config] Throw correct error for missing preset modules (#10737)
    • [jest-resolve-dependencies] Resolve mocks as dependencies (#10713)
    • [jest-runtime] Handle file URLs in dynamic imports (#10744)
    • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#10752)
    • [jest-runtime] Properly inject extraGlobals into the runtime (#10758)
    • [jest-transform] Link to ESM docs on syntax errors (#10748)

    Chore & Maintenance

    • [docs] Add docs for using mocks in TypeScript (#10415)
    • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#10739)
    • [examples] Update TypeScript example to show use of newer Jest types (#10399)
    • [jest-cli] chore: standardize files and folder names (#10698)
    Changelog

    Sourced from jest's changelog.

    26.6.3

    Fixes

    • [jest-resolve-dependencies] Continue dependency resolution if mock dependency can't be found (#10779)

    26.6.2

    Features

    • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#10659)

    Fixes

    • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#10536)
    • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723)
    • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#10747)
    • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#10508)" (#10766)
    • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#10697)
    • [jest-config] Fix bug introduced in watch mode by PR #10678 (#10692)
    • [jest-config] Throw correct error for missing preset modules (#10737)
    • [jest-resolve-dependencies] Resolve mocks as dependencies (#10713)
    • [jest-runtime] Handle file URLs in dynamic imports (#10744)
    • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#10752)
    • [jest-runtime] Properly inject extraGlobals into the runtime (#10758)
    • [jest-transform] Link to ESM docs on syntax errors (#10748)

    Chore & Maintenance

    • [docs] Add docs for using mocks in TypeScript (#10415)
    • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#10739)
    • [examples] Update TypeScript example to show use of newer Jest types (#10399)
    • [jest-cli] chore: standardize files and folder names (#10698)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 3
  • Bump file-loader from 6.1.1 to 6.2.0

    Bump file-loader from 6.1.1 to 6.2.0

    Bumps file-loader from 6.1.1 to 6.2.0.

    Release notes

    Sourced from file-loader's releases.

    v6.2.0

    6.2.0 (2020-10-27)

    Features

    • added the sourceFilename property to asset info with original filename (#393) (654e0d6)

    Bug Fixes

    • immutable flag when the name option have hash in query string (#392) (381d8bd)
    Changelog

    Sourced from file-loader's changelog.

    6.2.0 (2020-10-27)

    Features

    • added the sourceFilename property to asset info with original filename (#393) (654e0d6)

    Bug Fixes

    • immutable flag when the name option have hash in query string (#392) (381d8bd)
    Commits
    • c423008 chore(release): 6.2.0
    • 654e0d6 feat: added the sourceFilename property to asset info with original filenam...
    • 381d8bd fix: immutable flag when the name option have hash in query string (#392)
    • 14ed4c9 ci: updated webpack versions (#389)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 3
  • Bump vue-loader from 15.9.3 to 15.9.5

    Bump vue-loader from 15.9.3 to 15.9.5

    Bumps vue-loader from 15.9.3 to 15.9.5.

    Release notes

    Sourced from vue-loader's releases.

    v15.9.5

    Bug Fixes

    • ensure new webpack5 generator property in rules passes ruleset checks (#1753) (f79bb08), closes #1729
    • add rule plugins to keep up with webpack 5 new features (7ca8e2c)

    v15.9.4

    • fix id inconsistency between different operating systems (#1706) (afe8a0d)
    • fix mini-css-extract-plugin missing default export error (#1748) (429a284)
    Changelog

    Sourced from vue-loader's changelog.

    15.9.5 (2020-11-02)

    Bug Fixes

    • add rule plugins to keep up with webpack 5 new features (7ca8e2c)
    • ensure new webpack5 generator property in rules passes ruleset checks (#1753) (f79bb08), closes #1729

    15.9.4 (2020-10-27)

    Bug Fixes

    • fix id differences between different operating systems (#1706) (afe8a0d)
    • fix mini-css-extract-plugin missing default export error (#1748) (429a284)

    Commits
    • 1fe1b8d 15.9.5
    • 7ca8e2c fix: add rule plugins to keep up with webpack 5 new features
    • f79bb08 fix: ensure new webpack5 generator property in rules passes ruleset checks (#...
    • dff77b5 chore: v15.9.4 changelog [ci skip]
    • 9c26597 15.9.4
    • 429a284 fix: fix mini-css-extract-plugin missing default export error (#1748)
    • afe8a0d fix: fix id differences between different operating systems (#1706)
    • 4670941 test: add explicit publicPath to fix webpack 5 errors
    • a158e84 docs(cn): Update scoped-css.md (#1746) [ci skip]
    • b1665ab docs: fix typo in pre-processors.md (#1743)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 3
  • Bump @vue/test-utils from 1.0.3 to 1.1.1

    Bump @vue/test-utils from 1.0.3 to 1.1.1

    Bumps @vue/test-utils from 1.0.3 to 1.1.1.

    Release notes

    Sourced from @vue/test-utils's releases.

    v1.1.1

    Many small bug fixes.

    Features

    • feat: treat document.body in attachTo in special way (#1699) @xanf
    • feat(config): introduce deprecation warning handler, fix #1672
    • feat: warn when operating on destroyed Vue component (#1706) @xanf
    • add the wrapper.getComponent method and corresponding documents. (#1714)
    • feat(test-utils): add types for auto destroy methods (#1724) @blake-newman
    • feat: add abstract property to the core property of the component (#1716) @ustbhuangyi

    Fixes

    • fix(test-utils/wrapper): clarify deprecation note for wrong "get" usage @valentinpalkovic
    • fix: support v-text on child functional components with shallowMount @jeremy-cassou
    • fix(setData): allow empty objects to be set fix #1704 @Haroenv
    • fix: ignore non-vue wrapper for auto-destroy (#1723)

    v1.1.0

    This is a pretty significant release. We undeprecated is and isVisible due to popular demand.

    Features

    • createLocalVue errorHandler Option (#1670) @AtofStryker
    • remove deprecation warning from isVisible method (#1675) @xanf
    • feat: remove deprecation when is is called with component definition @xanf
    • support components returning render function from setup @LeBenLeBen

    Fixes

    Sync mode cleanup (#1671) @AtofStryker

    v1.0.5

    This release is mostly fixing small things, with some better support for @vue/composition-api plugin users. 4 bugfixes from 4 separate users, the Vue community is too cool 😎

    Features and Fixes

    fix: handle shallowMount on components with v-if and scoped slots (#1663) by @xanf fix: extend Vue parent with options to support accessing root for better @vue/composition-api fixing (#1655) support by @lmiller1990 fix: Match how the Vue runtime executes scoped slots #1660 by @sirlancelot fix: Wrapper array consistency (#1650) by @AtofStryker

    Dependencies and Misc

    ... (truncated)

    Commits
    • d7916ce v1.1.1
    • 3cbc2cc chore: build 1.1.1
    • c198d19 fix: ignore non-vue wrapper for auto-destroy (#1723)
    • e1c2526 feat(test-utils): add types for auto destroy methods (#1724)
    • c90f597 add the wrapper.getComponent method and corresponding documents. (#1714)
    • 16790b9 feat: warn when operating on destroyed Vue component (#1706)
    • 993b293 fix(setData): allow empty objects to be set fix #1704 (#1705)
    • a821908 feat: treat document.body in attachTo in special way (#1699)
    • 7740e90 feat(config): introduce deprecation warning handler, fix #1672 (#1700)
    • a696325 fix(test-utils/wrapper): clarify deprecation note for wrong "get" usage (#1688)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump vue-loader from 15.9.3 to 15.9.4

    Bump vue-loader from 15.9.3 to 15.9.4

    Bumps vue-loader from 15.9.3 to 15.9.4.

    Release notes

    Sourced from vue-loader's releases.

    v15.9.4

    • fix id inconsistency between different operating systems (#1706) (afe8a0d)
    • fix mini-css-extract-plugin missing default export error (#1748) (429a284)
    Changelog

    Sourced from vue-loader's changelog.

    15.9.4 (2020-10-27)

    Bug Fixes

    • fix id differences between different operating systems (#1706) (afe8a0d)
    • fix mini-css-extract-plugin missing default export error (#1748) (429a284)

    Commits
    • 9c26597 15.9.4
    • 429a284 fix: fix mini-css-extract-plugin missing default export error (#1748)
    • afe8a0d fix: fix id differences between different operating systems (#1706)
    • 4670941 test: add explicit publicPath to fix webpack 5 errors
    • a158e84 docs(cn): Update scoped-css.md (#1746) [ci skip]
    • b1665ab docs: fix typo in pre-processors.md (#1743)
    • e9e038d docs: 'prependData' option renamed to 'additionalData' in sass-loader 9 (#171...
    • d5f7e16 chore: v15.9.3 changelog
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 2
  • Bump jest from 26.6.1 to 26.6.2

    Bump jest from 26.6.1 to 26.6.2

    Bumps jest from 26.6.1 to 26.6.2.

    Release notes

    Sourced from jest's releases.

    26.6.2

    Features

    • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#10659)

    Fixes

    • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#10536)
    • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723)
    • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#10747)
    • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#10508)" (#10766)
    • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#10697)
    • [jest-config] Fix bug introduced in watch mode by PR #10678 (#10692)
    • [jest-config] Throw correct error for missing preset modules (#10737)
    • [jest-resolve-dependencies] Resolve mocks as dependencies (#10713)
    • [jest-runtime] Handle file URLs in dynamic imports (#10744)
    • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#10752)
    • [jest-runtime] Properly inject extraGlobals into the runtime (#10758)
    • [jest-transform] Link to ESM docs on syntax errors (#10748)

    Chore & Maintenance

    • [docs] Add docs for using mocks in TypeScript (#10415)
    • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#10739)
    • [examples] Update TypeScript example to show use of newer Jest types (#10399)
    • [jest-cli] chore: standardize files and folder names (#10698)
    Changelog

    Sourced from jest's changelog.

    26.6.2

    Features

    • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#10659)

    Fixes

    • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#10536)
    • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#10723)
    • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#10747)
    • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#10508)" (#10766)
    • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#10697)
    • [jest-config] Fix bug introduced in watch mode by PR #10678 (#10692)
    • [jest-config] Throw correct error for missing preset modules (#10737)
    • [jest-resolve-dependencies] Resolve mocks as dependencies (#10713)
    • [jest-runtime] Handle file URLs in dynamic imports (#10744)
    • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#10752)
    • [jest-runtime] Properly inject extraGlobals into the runtime (#10758)
    • [jest-transform] Link to ESM docs on syntax errors (#10748)

    Chore & Maintenance

    • [docs] Add docs for using mocks in TypeScript (#10415)
    • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#10739)
    • [examples] Update TypeScript example to show use of newer Jest types (#10399)
    • [jest-cli] chore: standardize files and folder names (#10698)
    Commits
    • 4c46930 v26.6.2
    • a0ce2d8 chore: update changelog for release
    • 54d162f chore: refresh lockfiles (#10768)
    • 36a9434 chore: run yarn with immutable flag (#10767)
    • 1dbdd67 Revert "fix(expect): objectContaining should recurse into sub-objects (#105...
    • 038d8be chore: document haste config option (#10765)
    • 97337d4 chore: update cjs-module-lexer (#10764)
    • cfc90d2 fix(hoist-plugin): hoist pure constants to support experimental JSX transform...
    • cf6dffa chore: update package.json to use asterisk version match in workspace protoco...
    • 0008d78 chore: disable issues not following one of the templates
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request during working hours.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    automerge dependencies 
    opened by dependabot-preview[bot] 2
  • build(deps): bump normalize-url from 4.5.0 to 4.5.1

    build(deps): bump normalize-url from 4.5.0 to 4.5.1

    Bumps normalize-url from 4.5.0 to 4.5.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies 
    opened by dependabot[bot] 0
  • build(deps-dev): bump jest from 26.6.3 to 27.0.4

    build(deps-dev): bump jest from 26.6.3 to 27.0.4

    Bumps jest from 26.6.3 to 27.0.4.

    Release notes

    Sourced from jest's releases.

    27.0.4

    Fixes

    • [jest-config, jest-resolve] Pass in require.resolve to resolvers to resolve from correct base (#11493)

    27.0.3

    Fixes

    • [jest-config] require.resolve on default test sequencer and test environment (#11482)
    • [jest-mock] Fixed fn and spyOn exports (#11480)

    27.0.2

    Features

    • [jest-circus] Add some APIs to make it easier to build your own test runner
    • [jest-reporters] Expose the getResultHeader util (#11460)
    • [jest-resolver] Export resolve* utils for different Jest modules (#11466)
    • [@jest/test-result] Export Test, TestEvents and TestFileEvent (#11466)

    Fixes

    • [jest-circus] Add missing slash dependency (#11465)
    • [jest-circus, @jest/test-sequencer] Remove dependency on jest-runner (#11466)
    • [jest-config] Resolve config.runner to absolute path (#11465)
    • [jest-config] Make sure to support functions as config (#11475)
    • [jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#11470)
    • [jest-runner] Remove dependency on jest-config (#11466)
    • [jest-worker] Loosen engine requirement to >= 10.13.0 (#11451)

    27.0.1

    Fixes

    • [jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package (#11442)

    27.0.0

    Blog post

    Features

    • [babel-jest] Add async transformation (#11192)
    • [jest-changed-files] Use '--' to separate paths from revisions (#11160)
    • [jest-circus] [BREAKING] Fail tests when multiple done() calls are made (#10624)
    • [jest-circus, jest-jasmine2] [BREAKING] Fail the test instead of just warning when describe returns a value (#10947)
    • [jest-config] [BREAKING] Default to Node testing environment instead of browser (JSDOM) (#9874)
    • [jest-config] [BREAKING] Use jest-circus as default test runner (#10686)
    • [jest-config] Add support for preset written in ESM (#11200)
    • [jest-config, jest-runtime] Support ESM for files other than .js and .mjs (#10823)
    • [jest-config, jest-runtime] [BREAKING] Use "modern" implementation as default for fake timers (#10874 & #11197)
    • [jest-config Allow passing forceNodeFilesystemAPI through to jest-haste-map (#11264)
    • [jest-config, jest-haste-map, jest-resolve, jest-runner, jest-runtime, jest-test-sequencer, jest-transform, jest-types] [BREAKING] Add custom HasteMap class implementation config option (#11107)

    ... (truncated)

    Changelog

    Sourced from jest's changelog.

    27.0.4

    Fixes

    • [jest-config, jest-resolve] Pass in require.resolve to resolvers to resolve from correct base (#11493)

    27.0.3

    Fixes

    • [jest-config] require.resolve on default test sequencer and test environment (#11482)
    • [jest-mock] Fixed fn and spyOn exports (#11480)

    27.0.2

    Features

    • [jest-circus] Add some APIs to make it easier to build your own test runner
    • [jest-reporters] Expose the getResultHeader util (#11460)
    • [jest-resolver] Export resolve* utils for different Jest modules (#11466)
    • [@jest/test-result] Export Test, TestEvents and TestFileEvent (#11466)

    Fixes

    • [jest-circus] Add missing slash dependency (#11465)
    • [jest-circus, @jest/test-sequencer] Remove dependency on jest-runner (#11466)
    • [jest-config] Resolve config.runner to absolute path (#11465)
    • [jest-config] Make sure to support functions as config (#11475)
    • [jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#11470)
    • [jest-runner] Remove dependency on jest-config (#11466)
    • [jest-worker] Loosen engine requirement to >= 10.13.0 (#11451)

    27.0.1

    Fixes

    • [jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package (#11442)

    27.0.0

    Features

    • [babel-jest] Add async transformation (#11192)
    • [jest-changed-files] Use '--' to separate paths from revisions (#11160)
    • [jest-circus] [BREAKING] Fail tests when multiple done() calls are made (#10624)
    • [jest-circus, jest-jasmine2] [BREAKING] Fail the test instead of just warning when describe returns a value (#10947)
    • [jest-config] [BREAKING] Default to Node testing environment instead of browser (JSDOM) (#9874)
    • [jest-config] [BREAKING] Use jest-circus as default test runner (#10686)
    • [jest-config] Add support for preset written in ESM (#11200)
    • [jest-config, jest-runtime] Support ESM for files other than .js and .mjs (#10823)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Next navigation is inconsistent on Mobile Safari

    Next navigation is inconsistent on Mobile Safari

    Unfortunately, the next navigation doesn't always just advance by one page

    opened by eFrane 0
  • Vue 3 support

    Vue 3 support

    Is there a plan for vue3?

    opened by dominykasgithub 2
Best and complete pagination plugin for Vue.js. Inspired in Angular Bootstrap Pagination.

vuejs-uib-pagination Best and complete pagination plugin for Vue.js 2.0. Inspired in Angular Bootstrap Pagination. Not Using Bootstrap? No problem! Th

Santiago Aguilar Hernández 55 Oct 22, 2020
VueJS pagination component

Vue-smart-pagination A data pagination component that splits any data into pages and has many settings. All data is stored in an array and can have an

Hrynevich Maksim 24 Nov 16, 2020
A Vue component for create a tiny pagination with Flexbox

Tiny Pagination · A Vue component for create a tiny paginate with Flexbox Install/Usage # Install with npm $ npm i -S vue-tiny-pagination # or yarn $

Javier Diaz Chamorro 20 Mar 11, 2021
A Vue.js pagination component for Laravel paginators that works with Bootstrap

Want your logo here? Sponsor me on GitHub Laravel Vue Pagination A Vue.js pagination component for Laravel paginators that works with Bootstrap. Requi

Gilbert Pellegrom 568 Jun 11, 2021
Vue pagination component

vue-ads-pagination Vue ads pagination is a vue js pagination component. On the left side you find some information about the shown items. On the right

Arne De Smedt 47 May 11, 2021
Vue.js 2 pagination component

Vue Pagination 2 Using Vue 3? Check out the new component Click here to see it in action. Simple, generic and non-intrusive pagination component for V

Matanya 160 Jun 3, 2021
Vue component for creating Pagination using Tailwind CSS.

Vue component for creating Pagination using Tailwind CSS.

Отраслевой Центр Разработки и Внедрения 5 May 29, 2021
Server-side paging component in vue, template based on bootstrap

vue-pagination-bootstrap Server-side paging component in vue, template based on bootstrap Vue.js (tested with 2.x) Bootstrap CSS (tested with 4.x) Ins

Bruno Henrique D. Seco 24 Jul 30, 2020
A Vue.js(v2.x+) component for creating pagination.

vuejs-paginate A Vue.js(v2.x+) component to make pagination. Inspired by react-paginate. Easy to use by providing simple api. And you can customize th

Cain Liu 707 Jun 11, 2021
data table simplify! -- vuetable is a Vue.js component that will automatically request (JSON) data from the server and display them nicely in html table with swappable/extensible pagination component.

Please Note! This is the previous version that works with Vue 1.x. The most up-to-date version is the Vuetable-2. If you like it, please star the Vuet

Rati Wannapanop 1.8k Jun 13, 2021
A sortable and searchable table, as a Vue component, using bootstrap styling.

vue-bootstrap-table vue-bootstrap-table is a sortable and searchable table, with Bootstrap styling, for Vue.js. VUE 1 : 1.1.8 Vue 2 : jbaysolutions/vu

JBay Solutions 87 Mar 15, 2021
A simple vue.js plugin to paginate data

vue-paginate This version only works with Vue 2.0. For Vue 1.0, check out the 1.0 branch. The idea of vue-paginate is pretty simple. You give it an ar

Taha Shashtari 591 May 7, 2021
A lightweight and customizeable Bootstrap Pagination for Vue

v-pagy Server-side paging component in vue, template based on bootstrap Vue.js (tested with 2.x) Bootstrap CSS (tested with 4.x) Installation npm inst

Son Tran 14 Sep 10, 2020
Low-level Vue pagination component

vue-lpage Low-level Vue pagination component About This is a low-level, ui-agnostic pagination component. You pass it an array of data, the current pa

Byteboomers 5 May 25, 2021