@iankibetsh/shframework 1.4.8 → 1.4.9

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
@@ -5112,7 +5112,10 @@ const _hoisted_15 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createEl
5112
5112
 
5113
5113
  var script$3 = {
5114
5114
  __name: 'ManagePermissions',
5115
- setup(__props) {
5115
+ emits: ['success'],
5116
+ setup(__props, { emit }) {
5117
+
5118
+
5116
5119
 
5117
5120
  const userStore =useUserStore();
5118
5121
 
@@ -5154,6 +5157,7 @@ const getModulePermissions = () => {
5154
5157
  };
5155
5158
  const permissionsUpdated = (res)=>{
5156
5159
  userStore.setUser();
5160
+ emit('success');
5157
5161
  departmentModules.value = res.data.departmentModules;
5158
5162
  };
5159
5163
  function reformatModulePermissions(mPs){
package/dist/library.mjs CHANGED
@@ -5099,7 +5099,10 @@ const _hoisted_15 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/createElemen
5099
5099
 
5100
5100
  var script$3 = {
5101
5101
  __name: 'ManagePermissions',
5102
- setup(__props) {
5102
+ emits: ['success'],
5103
+ setup(__props, { emit }) {
5104
+
5105
+
5103
5106
 
5104
5107
  const userStore =useUserStore();
5105
5108
 
@@ -5141,6 +5144,7 @@ const getModulePermissions = () => {
5141
5144
  };
5142
5145
  const permissionsUpdated = (res)=>{
5143
5146
  userStore.setUser();
5147
+ emit('success');
5144
5148
  departmentModules.value = res.data.departmentModules;
5145
5149
  };
5146
5150
  function reformatModulePermissions(mPs){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",