@karta.io/utils 1.0.0-beta.40 → 1.0.0-beta.42

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/index.cjs CHANGED
@@ -1079,7 +1079,7 @@ function useDialog(options) {
1079
1079
  component,
1080
1080
  props
1081
1081
  }) => {
1082
- const uuid = vue.useId();
1082
+ const uuid = genUUID();
1083
1083
  const createComponent = () => {
1084
1084
  const newProps = {
1085
1085
  ...props,
@@ -1410,7 +1410,7 @@ function usePanel() {
1410
1410
  component,
1411
1411
  props
1412
1412
  }) => {
1413
- const uuid = vue.useId();
1413
+ const uuid = genUUID();
1414
1414
  const createComponent = () => {
1415
1415
  const newProps = {
1416
1416
  ...props,
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import flatMap from 'lodash/flatMap.js';
3
3
  import { CURRENCY_DEFAULT, BREAKPOINTS } from '@karta.io/common-data';
4
4
  import { parsePhoneNumberFromString } from 'libphonenumber-js';
5
5
  import snakeCase from 'lodash/snakeCase.js';
6
- import { computed, ref, watch, reactive, isRef, nextTick, onBeforeUnmount, onMounted, getCurrentInstance, useId, render, createVNode } from 'vue';
6
+ import { computed, ref, watch, reactive, isRef, nextTick, onBeforeUnmount, onMounted, getCurrentInstance, render, createVNode } from 'vue';
7
7
  import { toValue, useDebounceFn, useBreakpoints } from '@vueuse/core';
8
8
  import { useQuery, useQueryClient } from '@tanstack/vue-query';
9
9
  import get from 'lodash/get.js';
@@ -1060,7 +1060,7 @@ function useDialog(options) {
1060
1060
  component,
1061
1061
  props
1062
1062
  }) => {
1063
- const uuid = useId();
1063
+ const uuid = genUUID();
1064
1064
  const createComponent = () => {
1065
1065
  const newProps = {
1066
1066
  ...props,
@@ -1391,7 +1391,7 @@ function usePanel() {
1391
1391
  component,
1392
1392
  props
1393
1393
  }) => {
1394
- const uuid = useId();
1394
+ const uuid = genUUID();
1395
1395
  const createComponent = () => {
1396
1396
  const newProps = {
1397
1397
  ...props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karta.io/utils",
3
- "version": "1.0.0-beta.40",
3
+ "version": "1.0.0-beta.42",
4
4
  "description": "karta.io utils for admin and application",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  "vue": "3.x"
26
26
  },
27
27
  "dependencies": {
28
- "@karta.io/common-data": "^1.0.0-beta.40",
28
+ "@karta.io/common-data": "^1.0.0-beta.42",
29
29
  "@tanstack/vue-query": "5.62.2",
30
30
  "@vueuse/core": "11.0.3",
31
31
  "async-validator": "4.2.5",