<commit_before>import ClassesProviderMixin from '@inkline/inkline/src/mixins/components/providers/ClassesProviderMixin';

import SizePropertyMixin from '@inkline/inkline/src/mixins/components/properties/SizePropertyMixin';
import VariantPropertyMixin from '@inkline/inkline/src/mixins/components/properties/VariantPropertyMixin';

export default {
    name: 'IPagination',
    mixins: [
        ClassesProviderMixin,

        SizePropertyMixin,
        VariantPropertyMixin,
    ],
    props: {
        itemsPerPage: {
            type: Number,
            default: 20
        },
        items: {
            type: Number,
            default: 0
        },
        limit: {
            type: Number,
            default: 7
        },
        value: {
            type: Number,
            default: 1
        }
    },
    computed: {
        pageCount() {
            return Math.ceil(this.items / this.itemsPerPage);<commit_msg>Changed default pagination length to 5 elements.<commit_after>import ClassesProviderMixin from '@inkline/inkline/src/mixins/components/providers/ClassesProviderMixin';

import SizePropertyMixin from '@inkline/inkline/src/mixins/components/properties/SizePropertyMixin';
import VariantPropertyMixin from '@inkline/inkline/src/mixins/components/properties/VariantPropertyMixin';

export default {
    name: 'IPagination',
    mixins: [
        ClassesProviderMixin,

        SizePropertyMixin,
        VariantPropertyMixin,
    ],
    props: {
        itemsPerPage: {
            type: Number,
            default: 20
        },
        items: {
            type: Number,
            default: 0
        },
        limit: {
            type: Number,
            default: 5
        },
        value: {
            type: Number,
            default: 1
        }
    },
    computed: {
        pageCount() {
            return Math.ceil(this.items / this.itemsPerPage);
{'fraction_non_alphanumeric': 0.09360126916975145, 'fraction_numerical': 0.005817028027498678, 'mean_word_length': 1.9748427672955975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2473940', 'n_tokens_mistral': 531, 'n_tokens_neox': 513, 'n_words': 97}