@webitel/ui-sdk 3.1.26 → 3.1.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "3.1.26",
3
+ "version": "3.1.27",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -31,7 +31,7 @@
31
31
  <script setup>
32
32
  import cloneDeep from 'lodash/cloneDeep';
33
33
  import {
34
- watch, watchEffect, ref, computed,
34
+ watch, watchEffect, ref, computed, onMounted,
35
35
  } from 'vue';
36
36
  import { useVuelidate } from '@vuelidate/core';
37
37
  import { useDestroyableSortable } from '../composables/useDestroyableSortable';
@@ -60,6 +60,7 @@ const emit = defineEmits([
60
60
  'update:questions',
61
61
  'update:result',
62
62
  'update:validation',
63
+ 'mounted',
63
64
  ]);
64
65
 
65
66
  const v$ = useVuelidate();
@@ -123,6 +124,8 @@ const { reloadSortable } = useDestroyableSortable(sortableWrapper, {
123
124
 
124
125
  watch(v$, () => emit('update:validation', v$));
125
126
  watchEffect(initResult);
127
+
128
+ onMounted(() => emit('mounted'));
126
129
  </script>
127
130
 
128
131
  <style lang="scss" scoped>