@iankibetsh/shframework 1.7.5 → 1.7.6

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/library.js CHANGED
@@ -2519,7 +2519,7 @@ const _hoisted_22$2 = /*#__PURE__*/vue.createElementVNode("p", null, [
2519
2519
  href: "https://hauzisha.co.ke/privacy-policy"
2520
2520
  }, "privacy policy")
2521
2521
  ], -1 /* HOISTED */);
2522
- const _hoisted_23$1 = [
2522
+ const _hoisted_23$2 = [
2523
2523
  _hoisted_21$2,
2524
2524
  _hoisted_22$2
2525
2525
  ];
@@ -2717,7 +2717,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2717
2717
  }), 128 /* KEYED_FRAGMENT */))
2718
2718
  ]),
2719
2719
  ($props.hasTerms)
2720
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20$2, _hoisted_23$1))
2720
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20$2, _hoisted_23$2))
2721
2721
  : vue.createCommentVNode("v-if", true),
2722
2722
  (_ctx.form_status == 1)
2723
2723
  ? (vue.openBlock(), vue.createElementBlock("button", {
@@ -3705,6 +3705,10 @@ const _hoisted_22$1 = {
3705
3705
  key: 2,
3706
3706
  class: "text-center"
3707
3707
  };
3708
+ const _hoisted_23$1 = {
3709
+ key: 1,
3710
+ class: "spinner-border"
3711
+ };
3708
3712
 
3709
3713
  function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3710
3714
  return ($props.paginationStyle !== 'loadMore')
@@ -3769,12 +3773,15 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3769
3773
  vue.createElementVNode("span", _hoisted_21$1, "Showing " + vue.toDisplayString($props.pagination_data.displayCount) + " of " + vue.toDisplayString($props.pagination_data.record_count) + " items", 1 /* TEXT */)
3770
3774
  ]))
3771
3775
  : vue.createCommentVNode("v-if", true),
3772
- (this.pagination_data.loading !== 1 && $props.pagination_data.displayCount < $props.pagination_data.record_count && !$props.hideLoadMore)
3776
+ ($props.pagination_data.displayCount < $props.pagination_data.record_count && !$props.hideLoadMore)
3773
3777
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22$1, [
3774
- vue.createElementVNode("button", {
3775
- class: "btn btn-sm btn-primary mt-1",
3776
- onClick: _cache[4] || (_cache[4] = (...args) => ($options.loadMoreRecords && $options.loadMoreRecords(...args)))
3777
- }, "Load More")
3778
+ (this.pagination_data.loading !== 1)
3779
+ ? (vue.openBlock(), vue.createElementBlock("button", {
3780
+ key: 0,
3781
+ class: "btn btn-sm btn-primary mt-1",
3782
+ onClick: _cache[4] || (_cache[4] = (...args) => ($options.loadMoreRecords && $options.loadMoreRecords(...args)))
3783
+ }, " Load More "))
3784
+ : (vue.openBlock(), vue.createElementBlock("span", _hoisted_23$1))
3778
3785
  ]))
3779
3786
  : vue.createCommentVNode("v-if", true)
3780
3787
  ]))
package/dist/library.mjs CHANGED
@@ -2507,7 +2507,7 @@ const _hoisted_22$2 = /*#__PURE__*/createElementVNode("p", null, [
2507
2507
  href: "https://hauzisha.co.ke/privacy-policy"
2508
2508
  }, "privacy policy")
2509
2509
  ], -1 /* HOISTED */);
2510
- const _hoisted_23$1 = [
2510
+ const _hoisted_23$2 = [
2511
2511
  _hoisted_21$2,
2512
2512
  _hoisted_22$2
2513
2513
  ];
@@ -2705,7 +2705,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2705
2705
  }), 128 /* KEYED_FRAGMENT */))
2706
2706
  ]),
2707
2707
  ($props.hasTerms)
2708
- ? (openBlock(), createElementBlock("div", _hoisted_20$2, _hoisted_23$1))
2708
+ ? (openBlock(), createElementBlock("div", _hoisted_20$2, _hoisted_23$2))
2709
2709
  : createCommentVNode("v-if", true),
2710
2710
  (_ctx.form_status == 1)
2711
2711
  ? (openBlock(), createElementBlock("button", {
@@ -3693,6 +3693,10 @@ const _hoisted_22$1 = {
3693
3693
  key: 2,
3694
3694
  class: "text-center"
3695
3695
  };
3696
+ const _hoisted_23$1 = {
3697
+ key: 1,
3698
+ class: "spinner-border"
3699
+ };
3696
3700
 
3697
3701
  function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3698
3702
  return ($props.paginationStyle !== 'loadMore')
@@ -3757,12 +3761,15 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3757
3761
  createElementVNode("span", _hoisted_21$1, "Showing " + toDisplayString($props.pagination_data.displayCount) + " of " + toDisplayString($props.pagination_data.record_count) + " items", 1 /* TEXT */)
3758
3762
  ]))
3759
3763
  : createCommentVNode("v-if", true),
3760
- (this.pagination_data.loading !== 1 && $props.pagination_data.displayCount < $props.pagination_data.record_count && !$props.hideLoadMore)
3764
+ ($props.pagination_data.displayCount < $props.pagination_data.record_count && !$props.hideLoadMore)
3761
3765
  ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
3762
- createElementVNode("button", {
3763
- class: "btn btn-sm btn-primary mt-1",
3764
- onClick: _cache[4] || (_cache[4] = (...args) => ($options.loadMoreRecords && $options.loadMoreRecords(...args)))
3765
- }, "Load More")
3766
+ (this.pagination_data.loading !== 1)
3767
+ ? (openBlock(), createElementBlock("button", {
3768
+ key: 0,
3769
+ class: "btn btn-sm btn-primary mt-1",
3770
+ onClick: _cache[4] || (_cache[4] = (...args) => ($options.loadMoreRecords && $options.loadMoreRecords(...args)))
3771
+ }, " Load More "))
3772
+ : (openBlock(), createElementBlock("span", _hoisted_23$1))
3766
3773
  ]))
3767
3774
  : createCommentVNode("v-if", true)
3768
3775
  ]))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",