@iankibetsh/shframework 4.7.9 → 4.8.0

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
@@ -5413,26 +5413,25 @@ return (_ctx, _cache) => {
5413
5413
  class: "text-capitalize",
5414
5414
  onClick: $event => (_ctx.changeKey('order_by',title))
5415
5415
  }, vue.toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
5416
- : vue.createCommentVNode("v-if", true),
5417
- (typeof title === 'object')
5418
- ? (vue.openBlock(), vue.createElementBlock("a", {
5419
- key: 1,
5420
- class: "text-capitalize",
5421
- onClick: $event => (_ctx.changeKey('order_by',title.key))
5422
- }, vue.toDisplayString(title.label ?? title.key.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
5423
- : (typeof title === 'function')
5416
+ : (typeof title === 'object')
5424
5417
  ? (vue.openBlock(), vue.createElementBlock("a", {
5425
- key: 2,
5418
+ key: 1,
5426
5419
  class: "text-capitalize",
5427
- onClick: $event => (_ctx.changeKey('order_by',title(null)))
5428
- }, vue.toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
5429
- : (typeof title !== 'undefined')
5420
+ onClick: $event => (_ctx.changeKey('order_by',title.key))
5421
+ }, vue.toDisplayString(title.label ?? title.key.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
5422
+ : (typeof title === 'function')
5430
5423
  ? (vue.openBlock(), vue.createElementBlock("a", {
5431
- key: 3,
5424
+ key: 2,
5432
5425
  class: "text-capitalize",
5433
- onClick: $event => (_ctx.changeKey('order_by',title))
5434
- }, vue.toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_26))
5435
- : vue.createCommentVNode("v-if", true)
5426
+ onClick: $event => (_ctx.changeKey('order_by',title(null)))
5427
+ }, vue.toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
5428
+ : (typeof title !== 'undefined')
5429
+ ? (vue.openBlock(), vue.createElementBlock("a", {
5430
+ key: 3,
5431
+ class: "text-capitalize",
5432
+ onClick: $event => (_ctx.changeKey('order_by',title))
5433
+ }, vue.toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_26))
5434
+ : vue.createCommentVNode("v-if", true)
5436
5435
  ]))
5437
5436
  }), 128 /* KEYED_FRAGMENT */)),
5438
5437
  (__props.actions)
package/dist/library.mjs CHANGED
@@ -5401,26 +5401,25 @@ return (_ctx, _cache) => {
5401
5401
  class: "text-capitalize",
5402
5402
  onClick: $event => (_ctx.changeKey('order_by',title))
5403
5403
  }, toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
5404
- : createCommentVNode("v-if", true),
5405
- (typeof title === 'object')
5406
- ? (openBlock(), createElementBlock("a", {
5407
- key: 1,
5408
- class: "text-capitalize",
5409
- onClick: $event => (_ctx.changeKey('order_by',title.key))
5410
- }, toDisplayString(title.label ?? title.key.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
5411
- : (typeof title === 'function')
5404
+ : (typeof title === 'object')
5412
5405
  ? (openBlock(), createElementBlock("a", {
5413
- key: 2,
5406
+ key: 1,
5414
5407
  class: "text-capitalize",
5415
- onClick: $event => (_ctx.changeKey('order_by',title(null)))
5416
- }, toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
5417
- : (typeof title !== 'undefined')
5408
+ onClick: $event => (_ctx.changeKey('order_by',title.key))
5409
+ }, toDisplayString(title.label ?? title.key.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
5410
+ : (typeof title === 'function')
5418
5411
  ? (openBlock(), createElementBlock("a", {
5419
- key: 3,
5412
+ key: 2,
5420
5413
  class: "text-capitalize",
5421
- onClick: $event => (_ctx.changeKey('order_by',title))
5422
- }, toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_26))
5423
- : createCommentVNode("v-if", true)
5414
+ onClick: $event => (_ctx.changeKey('order_by',title(null)))
5415
+ }, toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
5416
+ : (typeof title !== 'undefined')
5417
+ ? (openBlock(), createElementBlock("a", {
5418
+ key: 3,
5419
+ class: "text-capitalize",
5420
+ onClick: $event => (_ctx.changeKey('order_by',title))
5421
+ }, toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_26))
5422
+ : createCommentVNode("v-if", true)
5424
5423
  ]))
5425
5424
  }), 128 /* KEYED_FRAGMENT */)),
5426
5425
  (__props.actions)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.7.9",
3
+ "version": "4.8.0",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",