@iankibetsh/shframework 5.3.5 → 5.3.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
@@ -3968,22 +3968,24 @@ return (_ctx, _cache) => {
3968
3968
  }, [
3969
3969
  vue.renderSlot(_ctx.$slots, "default")
3970
3970
  ], 10 /* CLASS, PROPS */, _hoisted_1$i),
3971
- vue.createVNode(script$p, {
3972
- "modal-size": __props.modalSize,
3973
- "modal-id": vue.unref(realModalId),
3974
- "modal-title": __props.modalTitle
3975
- }, {
3976
- default: vue.withCtx(() => [
3977
- (vue.openBlock(), vue.createBlock(script$q, vue.mergeProps({
3978
- onSuccess: success,
3979
- onFieldChanged: fieldChanged,
3980
- onFormSubmitted: formSubmitted,
3981
- onFormError: formError,
3982
- key: JSON.stringify(__props.currentData ?? {})
3983
- }, props), null, 16 /* FULL_PROPS */))
3984
- ]),
3985
- _: 1 /* STABLE */
3986
- }, 8 /* PROPS */, ["modal-size", "modal-id", "modal-title"])
3971
+ (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
3972
+ vue.createVNode(script$p, {
3973
+ "modal-size": __props.modalSize,
3974
+ "modal-id": vue.unref(realModalId),
3975
+ "modal-title": __props.modalTitle
3976
+ }, {
3977
+ default: vue.withCtx(() => [
3978
+ (vue.openBlock(), vue.createBlock(script$q, vue.mergeProps({
3979
+ onSuccess: success,
3980
+ onFieldChanged: fieldChanged,
3981
+ onFormSubmitted: formSubmitted,
3982
+ onFormError: formError,
3983
+ key: JSON.stringify(__props.currentData ?? {})
3984
+ }, props), null, 16 /* FULL_PROPS */))
3985
+ ]),
3986
+ _: 1 /* STABLE */
3987
+ }, 8 /* PROPS */, ["modal-size", "modal-id", "modal-title"])
3988
+ ]))
3987
3989
  ], 64 /* STABLE_FRAGMENT */))
3988
3990
  }
3989
3991
  }
@@ -6109,12 +6111,12 @@ return (_ctx, _cache) => {
6109
6111
  vue.createElementVNode("div", {
6110
6112
  class: vue.normalizeClass(["tab-content", __props.classTwo])
6111
6113
  }, [
6112
- (vue.openBlock(), vue.createBlock(_component_router_view, {
6114
+ (vue.openBlock(), vue.createBlock(_component_router_view, vue.mergeProps(_ctx.$attrs, {
6113
6115
  currentTab: currentTab.value,
6114
6116
  key: path.value,
6115
6117
  sharedData: __props.sharedData,
6116
6118
  tabCounts: __props.tabCounts
6117
- }, null, 8 /* PROPS */, ["currentTab", "sharedData", "tabCounts"]))
6119
+ }), null, 16 /* FULL_PROPS */, ["currentTab", "sharedData", "tabCounts"]))
6118
6120
  ], 2 /* CLASS */)
6119
6121
  ], 64 /* STABLE_FRAGMENT */))
6120
6122
  }
package/dist/library.mjs CHANGED
@@ -3,7 +3,7 @@ import moment from 'moment';
3
3
  import Swal from 'sweetalert2';
4
4
  import { Modal, Offcanvas } from 'bootstrap';
5
5
  import NProgress from 'nprogress';
6
- import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, ref, onMounted, watch, unref, normalizeClass, createBlock, resolveDynamicComponent, resolveComponent, inject, mergeProps, renderSlot, normalizeStyle, computed, createVNode, withCtx, vModelCheckbox, shallowRef, normalizeProps, markRaw, isRef } from 'vue';
6
+ import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, ref, onMounted, watch, unref, normalizeClass, createBlock, resolveDynamicComponent, resolveComponent, inject, mergeProps, renderSlot, normalizeStyle, computed, Teleport, createVNode, withCtx, vModelCheckbox, shallowRef, normalizeProps, markRaw, isRef } from 'vue';
7
7
  import _ from 'lodash';
8
8
  import { defineStore, storeToRefs } from 'pinia';
9
9
  import { useRoute, useRouter } from 'vue-router';
@@ -3956,22 +3956,24 @@ return (_ctx, _cache) => {
3956
3956
  }, [
3957
3957
  renderSlot(_ctx.$slots, "default")
3958
3958
  ], 10 /* CLASS, PROPS */, _hoisted_1$i),
3959
- createVNode(script$p, {
3960
- "modal-size": __props.modalSize,
3961
- "modal-id": unref(realModalId),
3962
- "modal-title": __props.modalTitle
3963
- }, {
3964
- default: withCtx(() => [
3965
- (openBlock(), createBlock(script$q, mergeProps({
3966
- onSuccess: success,
3967
- onFieldChanged: fieldChanged,
3968
- onFormSubmitted: formSubmitted,
3969
- onFormError: formError,
3970
- key: JSON.stringify(__props.currentData ?? {})
3971
- }, props), null, 16 /* FULL_PROPS */))
3972
- ]),
3973
- _: 1 /* STABLE */
3974
- }, 8 /* PROPS */, ["modal-size", "modal-id", "modal-title"])
3959
+ (openBlock(), createBlock(Teleport, { to: "body" }, [
3960
+ createVNode(script$p, {
3961
+ "modal-size": __props.modalSize,
3962
+ "modal-id": unref(realModalId),
3963
+ "modal-title": __props.modalTitle
3964
+ }, {
3965
+ default: withCtx(() => [
3966
+ (openBlock(), createBlock(script$q, mergeProps({
3967
+ onSuccess: success,
3968
+ onFieldChanged: fieldChanged,
3969
+ onFormSubmitted: formSubmitted,
3970
+ onFormError: formError,
3971
+ key: JSON.stringify(__props.currentData ?? {})
3972
+ }, props), null, 16 /* FULL_PROPS */))
3973
+ ]),
3974
+ _: 1 /* STABLE */
3975
+ }, 8 /* PROPS */, ["modal-size", "modal-id", "modal-title"])
3976
+ ]))
3975
3977
  ], 64 /* STABLE_FRAGMENT */))
3976
3978
  }
3977
3979
  }
@@ -6097,12 +6099,12 @@ return (_ctx, _cache) => {
6097
6099
  createElementVNode("div", {
6098
6100
  class: normalizeClass(["tab-content", __props.classTwo])
6099
6101
  }, [
6100
- (openBlock(), createBlock(_component_router_view, {
6102
+ (openBlock(), createBlock(_component_router_view, mergeProps(_ctx.$attrs, {
6101
6103
  currentTab: currentTab.value,
6102
6104
  key: path.value,
6103
6105
  sharedData: __props.sharedData,
6104
6106
  tabCounts: __props.tabCounts
6105
- }, null, 8 /* PROPS */, ["currentTab", "sharedData", "tabCounts"]))
6107
+ }), null, 16 /* FULL_PROPS */, ["currentTab", "sharedData", "tabCounts"]))
6106
6108
  ], 2 /* CLASS */)
6107
6109
  ], 64 /* STABLE_FRAGMENT */))
6108
6110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.3.5",
3
+ "version": "5.3.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",