classcard-ui 0.2.277 → 0.2.278
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/classcard-ui.common.js +48 -11
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +48 -11
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CPagination/CPagination.vue +62 -29
|
@@ -92111,23 +92111,25 @@ var CPageHeading_component = normalizeComponent(
|
|
|
92111
92111
|
// CONCATENATED MODULE: ./src/components/CPageHeading/index.js
|
|
92112
92112
|
|
|
92113
92113
|
/* harmony default export */ var components_CPageHeading = (CPageHeading);
|
|
92114
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2a0a433a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPagination/CPagination.vue?vue&type=template&id=
|
|
92115
|
-
var
|
|
92116
|
-
|
|
92117
|
-
|
|
92114
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2a0a433a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPagination/CPagination.vue?vue&type=template&id=28e556c8&
|
|
92115
|
+
var CPaginationvue_type_template_id_28e556c8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"},[_vm._m(0),_c('div',{staticClass:"hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-700"},[_vm._v(" Showing "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.setPaginationRecords.from))]),_vm._v(" to "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.setPaginationRecords.to))]),_vm._v(" of "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.setPaginationRecords.totalRecords))]),_vm._v(" results ")])]),_c('div',[_c('nav',{staticClass:"relative z-0 inline-flex rounded-md shadow-sm -space-x-px",attrs:{"aria-label":"Pagination"}},[_c('div',{staticClass:"hidden md:-mt-px md:flex"},[_c('div',{staticClass:"relative inline-flex items-center px-2 py-2 rounded-l-md border border-r-0 border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50",class:_vm.currentPageNumber == '1'
|
|
92116
|
+
? 'text-gray-400 pointer-events-none'
|
|
92117
|
+
: 'text-gray-500 hover:text-gray-700 group cursor-pointer',attrs:{"href":"#"},on:{"click":function($event){_vm.currentPageNumber == '1' ? '' : _vm.goToPreviousPage()}}},[_c('span',{staticClass:"sr-only"},[_vm._v("Previous")]),_c('svg',{staticClass:"h-5 w-5",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"}})])]),_vm._l((_vm.pageRange),function(page){return _c('div',{key:page,class:[
|
|
92118
92118
|
page == _vm.currentPageNumber
|
|
92119
92119
|
? 'z-10 bg-indigo-50 border-indigo-500 text-indigo-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium'
|
|
92120
92120
|
: '',
|
|
92121
|
-
page === '...'
|
|
92121
|
+
page === '...'
|
|
92122
|
+
? 'bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border border-r-0 text-sm font-medium'
|
|
92123
|
+
: '',
|
|
92122
92124
|
page !== _vm.currentPageNumber && page !== '...'
|
|
92123
92125
|
? 'bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border border-r-0 text-sm font-medium'
|
|
92124
92126
|
: '' ],on:{"click":function($event){return _vm.changePage(page)}}},[(page === '...')?_c('div',[_vm._v("...")]):_c('div',[_vm._v(" "+_vm._s(page)+" ")])])}),_c('div',{staticClass:"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50",class:_vm.currentPageNumber == _vm.lastPageNumber
|
|
92125
|
-
|
|
92126
|
-
|
|
92127
|
-
var
|
|
92127
|
+
? 'text-gray-400 pointer-events-none'
|
|
92128
|
+
: 'text-gray-500 hover:text-gray-700 group cursor-pointer',attrs:{"href":"#"},on:{"click":function($event){_vm.currentPageNumber == _vm.lastPageNumber ? '' : _vm.goToNextPage()}}},[_c('span',{staticClass:"sr-only"},[_vm._v("Next")]),_c('svg',{staticClass:"h-5 w-5",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])])],2)])])])])}
|
|
92129
|
+
var CPaginationvue_type_template_id_28e556c8_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"flex-1 flex justify-between sm:hidden"},[_c('a',{staticClass:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50",attrs:{"href":"#"}},[_vm._v(" Previous ")]),_c('a',{staticClass:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50",attrs:{"href":"#"}},[_vm._v(" Next ")])])}]
|
|
92128
92130
|
|
|
92129
92131
|
|
|
92130
|
-
// CONCATENATED MODULE: ./src/components/CPagination/CPagination.vue?vue&type=template&id=
|
|
92132
|
+
// CONCATENATED MODULE: ./src/components/CPagination/CPagination.vue?vue&type=template&id=28e556c8&
|
|
92131
92133
|
|
|
92132
92134
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPagination/CPagination.vue?vue&type=script&lang=js&
|
|
92133
92135
|
//
|
|
@@ -92210,6 +92212,41 @@ var CPaginationvue_type_template_id_3abdf25d_staticRenderFns = [function () {var
|
|
|
92210
92212
|
//
|
|
92211
92213
|
//
|
|
92212
92214
|
//
|
|
92215
|
+
//
|
|
92216
|
+
//
|
|
92217
|
+
//
|
|
92218
|
+
//
|
|
92219
|
+
//
|
|
92220
|
+
//
|
|
92221
|
+
//
|
|
92222
|
+
//
|
|
92223
|
+
//
|
|
92224
|
+
//
|
|
92225
|
+
//
|
|
92226
|
+
//
|
|
92227
|
+
//
|
|
92228
|
+
//
|
|
92229
|
+
//
|
|
92230
|
+
//
|
|
92231
|
+
//
|
|
92232
|
+
//
|
|
92233
|
+
//
|
|
92234
|
+
//
|
|
92235
|
+
//
|
|
92236
|
+
//
|
|
92237
|
+
//
|
|
92238
|
+
//
|
|
92239
|
+
//
|
|
92240
|
+
//
|
|
92241
|
+
//
|
|
92242
|
+
//
|
|
92243
|
+
//
|
|
92244
|
+
//
|
|
92245
|
+
//
|
|
92246
|
+
//
|
|
92247
|
+
//
|
|
92248
|
+
//
|
|
92249
|
+
//
|
|
92213
92250
|
/* harmony default export */ var CPaginationvue_type_script_lang_js_ = ({
|
|
92214
92251
|
name: "CPagination",
|
|
92215
92252
|
props: {
|
|
@@ -92299,8 +92336,8 @@ var CPaginationvue_type_template_id_3abdf25d_staticRenderFns = [function () {var
|
|
|
92299
92336
|
|
|
92300
92337
|
var CPagination_component = normalizeComponent(
|
|
92301
92338
|
CPagination_CPaginationvue_type_script_lang_js_,
|
|
92302
|
-
|
|
92303
|
-
|
|
92339
|
+
CPaginationvue_type_template_id_28e556c8_render,
|
|
92340
|
+
CPaginationvue_type_template_id_28e556c8_staticRenderFns,
|
|
92304
92341
|
false,
|
|
92305
92342
|
null,
|
|
92306
92343
|
null,
|