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
package/dist/classcard-ui.umd.js
CHANGED
|
@@ -92120,23 +92120,25 @@ var CPageHeading_component = normalizeComponent(
|
|
|
92120
92120
|
// CONCATENATED MODULE: ./src/components/CPageHeading/index.js
|
|
92121
92121
|
|
|
92122
92122
|
/* harmony default export */ var components_CPageHeading = (CPageHeading);
|
|
92123
|
-
// 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=
|
|
92124
|
-
var
|
|
92125
|
-
|
|
92126
|
-
|
|
92123
|
+
// 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&
|
|
92124
|
+
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'
|
|
92125
|
+
? 'text-gray-400 pointer-events-none'
|
|
92126
|
+
: '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:[
|
|
92127
92127
|
page == _vm.currentPageNumber
|
|
92128
92128
|
? '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'
|
|
92129
92129
|
: '',
|
|
92130
|
-
page === '...'
|
|
92130
|
+
page === '...'
|
|
92131
|
+
? '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'
|
|
92132
|
+
: '',
|
|
92131
92133
|
page !== _vm.currentPageNumber && page !== '...'
|
|
92132
92134
|
? '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'
|
|
92133
92135
|
: '' ],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
|
|
92134
|
-
|
|
92135
|
-
|
|
92136
|
-
var
|
|
92136
|
+
? 'text-gray-400 pointer-events-none'
|
|
92137
|
+
: '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)])])])])}
|
|
92138
|
+
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 ")])])}]
|
|
92137
92139
|
|
|
92138
92140
|
|
|
92139
|
-
// CONCATENATED MODULE: ./src/components/CPagination/CPagination.vue?vue&type=template&id=
|
|
92141
|
+
// CONCATENATED MODULE: ./src/components/CPagination/CPagination.vue?vue&type=template&id=28e556c8&
|
|
92140
92142
|
|
|
92141
92143
|
// 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&
|
|
92142
92144
|
//
|
|
@@ -92219,6 +92221,41 @@ var CPaginationvue_type_template_id_3abdf25d_staticRenderFns = [function () {var
|
|
|
92219
92221
|
//
|
|
92220
92222
|
//
|
|
92221
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
|
+
//
|
|
92250
|
+
//
|
|
92251
|
+
//
|
|
92252
|
+
//
|
|
92253
|
+
//
|
|
92254
|
+
//
|
|
92255
|
+
//
|
|
92256
|
+
//
|
|
92257
|
+
//
|
|
92258
|
+
//
|
|
92222
92259
|
/* harmony default export */ var CPaginationvue_type_script_lang_js_ = ({
|
|
92223
92260
|
name: "CPagination",
|
|
92224
92261
|
props: {
|
|
@@ -92308,8 +92345,8 @@ var CPaginationvue_type_template_id_3abdf25d_staticRenderFns = [function () {var
|
|
|
92308
92345
|
|
|
92309
92346
|
var CPagination_component = normalizeComponent(
|
|
92310
92347
|
CPagination_CPaginationvue_type_script_lang_js_,
|
|
92311
|
-
|
|
92312
|
-
|
|
92348
|
+
CPaginationvue_type_template_id_28e556c8_render,
|
|
92349
|
+
CPaginationvue_type_template_id_28e556c8_staticRenderFns,
|
|
92313
92350
|
false,
|
|
92314
92351
|
null,
|
|
92315
92352
|
null,
|