UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

1 lines 4.11 kB
{"version":3,"file":"index.mjs","sources":["../../../src/paginator/style/PaginatorStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/paginator';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n paginator: ({ instance, key }) => [\n 'p-paginator p-component',\n {\n 'p-paginator-default': !instance.hasBreakpoints(),\n [`p-paginator-${key}`]: instance.hasBreakpoints()\n }\n ],\n content: 'p-paginator-content',\n contentStart: 'p-paginator-content-start',\n contentEnd: 'p-paginator-content-end',\n first: ({ instance }) => [\n 'p-paginator-first',\n {\n 'p-disabled': instance.$attrs.disabled\n }\n ],\n firstIcon: 'p-paginator-first-icon',\n prev: ({ instance }) => [\n 'p-paginator-prev',\n {\n 'p-disabled': instance.$attrs.disabled\n }\n ],\n prevIcon: 'p-paginator-prev-icon',\n next: ({ instance }) => [\n 'p-paginator-next',\n {\n 'p-disabled': instance.$attrs.disabled\n }\n ],\n nextIcon: 'p-paginator-next-icon',\n last: ({ instance }) => [\n 'p-paginator-last',\n {\n 'p-disabled': instance.$attrs.disabled\n }\n ],\n lastIcon: 'p-paginator-last-icon',\n pages: 'p-paginator-pages',\n page: ({ props, pageLink }) => [\n 'p-paginator-page',\n {\n 'p-paginator-page-selected': pageLink - 1 === props.page\n }\n ],\n current: 'p-paginator-current',\n pcRowPerPageDropdown: 'p-paginator-rpp-dropdown',\n pcJumpToPageDropdown: 'p-paginator-jtp-dropdown',\n pcJumpToPageInputText: 'p-paginator-jtp-input'\n};\n\nexport default BaseStyle.extend({\n name: 'paginator',\n style,\n classes\n});\n"],"names":["classes","paginator","_ref","instance","key","_defineProperty","hasBreakpoints","concat","content","contentStart","contentEnd","first","_ref3","$attrs","disabled","firstIcon","prev","_ref4","prevIcon","next","_ref5","nextIcon","last","_ref6","lastIcon","pages","page","_ref7","props","pageLink","current","pcRowPerPageDropdown","pcJumpToPageDropdown","pcJumpToPageInputText","BaseStyle","extend","name","style"],"mappings":";;;;;;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,SAAS,EAAE,SAAXA,SAASA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;MAAEC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IAAA,OAAO,CAC9B,yBAAyB,EAAAC,eAAA,CAAA;AAErB,MAAA,qBAAqB,EAAE,CAACF,QAAQ,CAACG,cAAc;KAAEC,EAAAA,cAAAA,CAAAA,MAAA,CACjCH,GAAG,CAAA,EAAKD,QAAQ,CAACG,cAAc,EAAE,CAExD,CAAA;AAAA,GAAA;AACDE,EAAAA,OAAO,EAAE,qBAAqB;AAC9BC,EAAAA,YAAY,EAAE,2BAA2B;AACzCC,EAAAA,UAAU,EAAE,yBAAyB;AACrCC,EAAAA,KAAK,EAAE,SAAPA,KAAKA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKT,QAAQ,GAAAS,KAAA,CAART,QAAQ;IAAA,OAAO,CACrB,mBAAmB,EACnB;AACI,MAAA,YAAY,EAAEA,QAAQ,CAACU,MAAM,CAACC;AAClC,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,SAAS,EAAE,wBAAwB;AACnCC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKd,QAAQ,GAAAc,KAAA,CAARd,QAAQ;IAAA,OAAO,CACpB,kBAAkB,EAClB;AACI,MAAA,YAAY,EAAEA,QAAQ,CAACU,MAAM,CAACC;AAClC,KAAC,CACJ;AAAA,GAAA;AACDI,EAAAA,QAAQ,EAAE,uBAAuB;AACjCC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKjB,QAAQ,GAAAiB,KAAA,CAARjB,QAAQ;IAAA,OAAO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