@iankibetsh/shframework 4.8.0 → 4.8.1
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 +3 -4
- package/dist/library.mjs +3 -4
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -3630,7 +3630,7 @@ return (_ctx, _cache) => {
|
|
|
3630
3630
|
: vue.createCommentVNode("v-if", true)
|
|
3631
3631
|
], 2 /* CLASS */))
|
|
3632
3632
|
: vue.createCommentVNode("v-if", true),
|
|
3633
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(getFieldComponent(field)), vue.mergeProps(
|
|
3633
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(getFieldComponent(field)), vue.mergeProps(getComponentProps(field), {
|
|
3634
3634
|
isInvalid: typeof validationErrors.value[field.field] !== 'undefined',
|
|
3635
3635
|
onClick: $event => (fieldChanged(field.field)),
|
|
3636
3636
|
"onUpdate:modelValue": [$event => (fieldChanged(field.field)), $event => ((formFields.value[index].value) = $event)],
|
|
@@ -3737,7 +3737,7 @@ const emit = __emit;
|
|
|
3737
3737
|
const props = __props;
|
|
3738
3738
|
vue.onMounted(() => {
|
|
3739
3739
|
const modal = document.getElementById(props.modalId);
|
|
3740
|
-
modal.addEventListener('hidden.bs.modal', event => {
|
|
3740
|
+
modal && modal.addEventListener('hidden.bs.modal', event => {
|
|
3741
3741
|
event.target.id == props.modalId && emit('modalClosed');
|
|
3742
3742
|
});
|
|
3743
3743
|
});
|
|
@@ -5794,8 +5794,7 @@ return (_ctx, _cache) => {
|
|
|
5794
5794
|
(_ctx.selectedRecord)
|
|
5795
5795
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(action.canvasComponent), vue.mergeProps({
|
|
5796
5796
|
key: 0,
|
|
5797
|
-
onRecordUpdated: _ctx.reloadData
|
|
5798
|
-
ref_for: true
|
|
5797
|
+
onRecordUpdated: _ctx.reloadData
|
|
5799
5798
|
}, _ctx.cleanCanvasProps(action), { record: _ctx.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
|
|
5800
5799
|
: vue.createCommentVNode("v-if", true)
|
|
5801
5800
|
]),
|
package/dist/library.mjs
CHANGED
|
@@ -3618,7 +3618,7 @@ return (_ctx, _cache) => {
|
|
|
3618
3618
|
: createCommentVNode("v-if", true)
|
|
3619
3619
|
], 2 /* CLASS */))
|
|
3620
3620
|
: createCommentVNode("v-if", true),
|
|
3621
|
-
(openBlock(), createBlock(resolveDynamicComponent(getFieldComponent(field)), mergeProps(
|
|
3621
|
+
(openBlock(), createBlock(resolveDynamicComponent(getFieldComponent(field)), mergeProps(getComponentProps(field), {
|
|
3622
3622
|
isInvalid: typeof validationErrors.value[field.field] !== 'undefined',
|
|
3623
3623
|
onClick: $event => (fieldChanged(field.field)),
|
|
3624
3624
|
"onUpdate:modelValue": [$event => (fieldChanged(field.field)), $event => ((formFields.value[index].value) = $event)],
|
|
@@ -3725,7 +3725,7 @@ const emit = __emit;
|
|
|
3725
3725
|
const props = __props;
|
|
3726
3726
|
onMounted(() => {
|
|
3727
3727
|
const modal = document.getElementById(props.modalId);
|
|
3728
|
-
modal.addEventListener('hidden.bs.modal', event => {
|
|
3728
|
+
modal && modal.addEventListener('hidden.bs.modal', event => {
|
|
3729
3729
|
event.target.id == props.modalId && emit('modalClosed');
|
|
3730
3730
|
});
|
|
3731
3731
|
});
|
|
@@ -5782,8 +5782,7 @@ return (_ctx, _cache) => {
|
|
|
5782
5782
|
(_ctx.selectedRecord)
|
|
5783
5783
|
? (openBlock(), createBlock(resolveDynamicComponent(action.canvasComponent), mergeProps({
|
|
5784
5784
|
key: 0,
|
|
5785
|
-
onRecordUpdated: _ctx.reloadData
|
|
5786
|
-
ref_for: true
|
|
5785
|
+
onRecordUpdated: _ctx.reloadData
|
|
5787
5786
|
}, _ctx.cleanCanvasProps(action), { record: _ctx.selectedRecord }), null, 16 /* FULL_PROPS */, ["onRecordUpdated", "record"]))
|
|
5788
5787
|
: createCommentVNode("v-if", true)
|
|
5789
5788
|
]),
|