@iankibetsh/shframework 0.0.5 → 0.0.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.
package/dist/library.js CHANGED
@@ -1649,7 +1649,6 @@ script$6.__file = "src/views/ShPhone.vue";
1649
1649
 
1650
1650
  var script$5 = {
1651
1651
  name: 'ShForm',
1652
- inject: ['global'],
1653
1652
  components: {
1654
1653
  ShPhone: script$6
1655
1654
  },
@@ -1665,7 +1664,7 @@ var script$5 = {
1665
1664
  selectData: {},
1666
1665
  users: [],
1667
1666
  allPlaceHolders: {},
1668
- user: this.global.state.user,
1667
+ user: null,
1669
1668
  allLabels: {}
1670
1669
  }
1671
1670
  },
@@ -3372,24 +3371,18 @@ script.render = render;
3372
3371
  script.__scopeId = "data-v-3628b6a6";
3373
3372
  script.__file = "src/views/ShTabs.vue";
3374
3373
 
3375
- var components = {
3374
+ var components = /*#__PURE__*/Object.freeze({
3375
+ __proto__: null,
3376
3376
  ShForm: script$5,
3377
3377
  ShCanvas: script$4,
3378
3378
  ShModal: script$3,
3379
3379
  ShPhone: script$6,
3380
3380
  ShTable: script$1,
3381
3381
  ShTabs: script
3382
- };
3382
+ });
3383
3383
 
3384
- const plugin = {
3385
- install (Vue) {
3386
- for (const prop in components) {
3387
- if (components.hasOwnProperty(prop)) {
3388
- const component = components[prop];
3389
- Vue.component(component.name, component);
3390
- }
3391
- }
3384
+ if (typeof Vue !== 'undefined') {
3385
+ for (const name in components) {
3386
+ Vue.component(name, components[name]);
3392
3387
  }
3393
- };
3394
-
3395
- module.exports = plugin;
3388
+ }
package/dist/library.mjs CHANGED
@@ -1640,7 +1640,6 @@ script$6.__file = "src/views/ShPhone.vue";
1640
1640
 
1641
1641
  var script$5 = {
1642
1642
  name: 'ShForm',
1643
- inject: ['global'],
1644
1643
  components: {
1645
1644
  ShPhone: script$6
1646
1645
  },
@@ -1656,7 +1655,7 @@ var script$5 = {
1656
1655
  selectData: {},
1657
1656
  users: [],
1658
1657
  allPlaceHolders: {},
1659
- user: this.global.state.user,
1658
+ user: null,
1660
1659
  allLabels: {}
1661
1660
  }
1662
1661
  },
@@ -3363,24 +3362,18 @@ script.render = render;
3363
3362
  script.__scopeId = "data-v-3628b6a6";
3364
3363
  script.__file = "src/views/ShTabs.vue";
3365
3364
 
3366
- var components = {
3365
+ var components = /*#__PURE__*/Object.freeze({
3366
+ __proto__: null,
3367
3367
  ShForm: script$5,
3368
3368
  ShCanvas: script$4,
3369
3369
  ShModal: script$3,
3370
3370
  ShPhone: script$6,
3371
3371
  ShTable: script$1,
3372
3372
  ShTabs: script
3373
- };
3373
+ });
3374
3374
 
3375
- const plugin = {
3376
- install (Vue) {
3377
- for (const prop in components) {
3378
- if (components.hasOwnProperty(prop)) {
3379
- const component = components[prop];
3380
- Vue.component(component.name, component);
3381
- }
3382
- }
3375
+ if (typeof Vue !== 'undefined') {
3376
+ for (const name in components) {
3377
+ Vue.component(name, components[name]);
3383
3378
  }
3384
- };
3385
-
3386
- export { plugin as default };
3379
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.0.5",
3
+ "version": "0.0.8",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",