@iankibetsh/shframework 5.3.6 → 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
  }
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.3.6",
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",