@iankibetsh/shframework 1.1.6 → 1.1.8

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.
@@ -63,6 +63,21 @@
63
63
  color: white;
64
64
  }
65
65
 
66
+ .sh-selected-item{
67
+ line-height: unset!important;
68
+ }
69
+ .sh-suggestion-input{
70
+ padding: 0.375rem 0.75rem;
71
+ }
72
+ .sh-suggest{
73
+ margin-bottom: 1rem;
74
+ }
75
+ .sh-suggest-control::after{
76
+ margin-top: auto;
77
+ margin-bottom: auto;
78
+ margin-right: 0.255em;
79
+ }
80
+
66
81
  :root {
67
82
  --ck-z-default: 10555 !important;
68
83
  --ck-z-modal: calc(var(--ck-z-default) + 999) !important;
@@ -84,21 +99,6 @@
84
99
  }
85
100
  }
86
101
 
87
- .sh-selected-item{
88
- line-height: unset!important;
89
- }
90
- .sh-suggestion-input{
91
- padding: 0.375rem 0.75rem;
92
- }
93
- .sh-suggest{
94
- margin-bottom: 1rem;
95
- }
96
- .sh-suggest-control::after{
97
- margin-top: auto;
98
- margin-bottom: auto;
99
- margin-right: 0.255em;
100
- }
101
-
102
102
  .sh-forgot-link, .sh-register-link{
103
103
  cursor: pointer;
104
104
  }
package/dist/library.js CHANGED
@@ -257,9 +257,6 @@ const checkSession = function (isCheking) {
257
257
  window.ShConfirmation = shSwalLogout();
258
258
  }
259
259
  }
260
- } else {
261
- console.log(pastSeconds);
262
- console.log(pastMinutes);
263
260
  }
264
261
  }else {
265
262
  if (window.shInterval) {
@@ -3566,6 +3563,7 @@ var script$5 = {
3566
3563
  this.pagination_data.loading = 1;
3567
3564
  }
3568
3565
  shApis.doGet(this.endPoint, data).then(req => {
3566
+ this.$emit('dataReloaded', this.pagination_data);
3569
3567
  this.loading = 'done';
3570
3568
  const response = req.data.data;
3571
3569
  this.pagination_data = {
@@ -4233,7 +4231,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4233
4231
  }, {
4234
4232
  default: vue.withCtx(() => [
4235
4233
  ($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"]))
4234
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(action.canvasComponent), vue.mergeProps({
4235
+ key: 0,
4236
+ onRecordUpdated: $options.reloadData
4237
+ }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
4237
4238
  : vue.createCommentVNode("v-if", true)
4238
4239
  ]),
4239
4240
  _: 2 /* DYNAMIC */
package/dist/library.mjs CHANGED
@@ -245,9 +245,6 @@ const checkSession = function (isCheking) {
245
245
  window.ShConfirmation = shSwalLogout();
246
246
  }
247
247
  }
248
- } else {
249
- console.log(pastSeconds);
250
- console.log(pastMinutes);
251
248
  }
252
249
  }else {
253
250
  if (window.shInterval) {
@@ -3554,6 +3551,7 @@ var script$5 = {
3554
3551
  this.pagination_data.loading = 1;
3555
3552
  }
3556
3553
  shApis.doGet(this.endPoint, data).then(req => {
3554
+ this.$emit('dataReloaded', this.pagination_data);
3557
3555
  this.loading = 'done';
3558
3556
  const response = req.data.data;
3559
3557
  this.pagination_data = {
@@ -4221,7 +4219,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4221
4219
  }, {
4222
4220
  default: withCtx(() => [
4223
4221
  ($data.selectedRecord)
4224
- ? (openBlock(), createBlock(resolveDynamicComponent(action.canvasComponent), mergeProps({ key: 0 }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["record"]))
4222
+ ? (openBlock(), createBlock(resolveDynamicComponent(action.canvasComponent), mergeProps({
4223
+ key: 0,
4224
+ onRecordUpdated: $options.reloadData
4225
+ }, $options.cleanCanvasProps(action), { record: $data.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
4225
4226
  : createCommentVNode("v-if", true)
4226
4227
  ]),
4227
4228
  _: 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.8",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",