@iankibetsh/shframework 1.6.5 → 1.6.7

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
@@ -4569,9 +4569,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4569
4569
  vue.createElementVNode("thead", _hoisted_21, [
4570
4570
  vue.createElementVNode("tr", null, [
4571
4571
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.headers, (title) => {
4572
- return (vue.openBlock(), vue.createElementBlock("th", {
4573
- key: title[0]
4574
- }, [
4572
+ return (vue.openBlock(), vue.createElementBlock("th", { key: title }, [
4575
4573
  (typeof title === 'string')
4576
4574
  ? (vue.openBlock(), vue.createElementBlock("a", {
4577
4575
  key: 0,
@@ -4582,7 +4580,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4582
4580
  ? (vue.openBlock(), vue.createElementBlock("a", {
4583
4581
  key: 1,
4584
4582
  class: "text-capitalize",
4585
- onClick: $event => ($options.changeKey('order_by',title))
4583
+ onClick: $event => ($options.changeKey('order_by',title(null)))
4586
4584
  }, vue.toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
4587
4585
  : (vue.openBlock(), vue.createElementBlock("a", {
4588
4586
  key: 2,
package/dist/library.mjs CHANGED
@@ -4556,9 +4556,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4556
4556
  createElementVNode("thead", _hoisted_21, [
4557
4557
  createElementVNode("tr", null, [
4558
4558
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.headers, (title) => {
4559
- return (openBlock(), createElementBlock("th", {
4560
- key: title[0]
4561
- }, [
4559
+ return (openBlock(), createElementBlock("th", { key: title }, [
4562
4560
  (typeof title === 'string')
4563
4561
  ? (openBlock(), createElementBlock("a", {
4564
4562
  key: 0,
@@ -4569,7 +4567,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4569
4567
  ? (openBlock(), createElementBlock("a", {
4570
4568
  key: 1,
4571
4569
  class: "text-capitalize",
4572
- onClick: $event => ($options.changeKey('order_by',title))
4570
+ onClick: $event => ($options.changeKey('order_by',title(null)))
4573
4571
  }, toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
4574
4572
  : (openBlock(), createElementBlock("a", {
4575
4573
  key: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",