@iankibetsh/shframework 1.1.6 → 1.1.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
@@ -3566,6 +3566,7 @@ var script$5 = {
3566
3566
  this.pagination_data.loading = 1;
3567
3567
  }
3568
3568
  shApis.doGet(this.endPoint, data).then(req => {
3569
+ this.$emit('dataReloaded', this.pagination_data);
3569
3570
  this.loading = 'done';
3570
3571
  const response = req.data.data;
3571
3572
  this.pagination_data = {
@@ -4233,7 +4234,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4233
4234
  }, {
4234
4235
  default: vue.withCtx(() => [
4235
4236
  ($data.selectedRecord)
4236
- ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(action.canvasComponent), vue.mergeProps({ key: 0 }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["record"]))
4237
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(action.canvasComponent), vue.mergeProps({
4238
+ key: 0,
4239
+ onRecordUpdated: $options.reloadData
4240
+ }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
4237
4241
  : vue.createCommentVNode("v-if", true)
4238
4242
  ]),
4239
4243
  _: 2 /* DYNAMIC */
package/dist/library.mjs CHANGED
@@ -3554,6 +3554,7 @@ var script$5 = {
3554
3554
  this.pagination_data.loading = 1;
3555
3555
  }
3556
3556
  shApis.doGet(this.endPoint, data).then(req => {
3557
+ this.$emit('dataReloaded', this.pagination_data);
3557
3558
  this.loading = 'done';
3558
3559
  const response = req.data.data;
3559
3560
  this.pagination_data = {
@@ -4221,7 +4222,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4221
4222
  }, {
4222
4223
  default: withCtx(() => [
4223
4224
  ($data.selectedRecord)
4224
- ? (openBlock(), createBlock(resolveDynamicComponent(action.canvasComponent), mergeProps({ key: 0 }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["record"]))
4225
+ ? (openBlock(), createBlock(resolveDynamicComponent(action.canvasComponent), mergeProps({
4226
+ key: 0,
4227
+ onRecordUpdated: $options.reloadData
4228
+ }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
4225
4229
  : createCommentVNode("v-if", true)
4226
4230
  ]),
4227
4231
  _: 2 /* DYNAMIC */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",