bfg-common 1.5.724 → 1.5.726

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.
@@ -44,6 +44,7 @@ const props = defineProps<{
44
44
  aboutDescOne: string
45
45
  aboutDescSecond: string
46
46
  url: string
47
+ projectName: string // для warning console
47
48
  }>()
48
49
  const emits = defineEmits<{
49
50
  (event: 'hide'): void
@@ -81,6 +81,7 @@ const props = defineProps<{
81
81
  selectedLanguageType: UI_T_LangValue
82
82
  newView: boolean
83
83
  recovery: UI_I_Recovery | null // для Сферы
84
+ securityLoader: boolean // для warning console
84
85
  }>()
85
86
  const emits = defineEmits<{
86
87
  (event: 'hide'): void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.724",
4
+ "version": "1.5.726",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -1,21 +0,0 @@
1
- let exists: any = []
2
- export const useDeepCopy = (obj: any, is = false) => {
3
- if (!is) exists = []
4
- if (typeof obj !== 'object' || obj === null) {
5
- return obj
6
- }
7
-
8
- const res: any = Array.isArray(obj) ? [] : {}
9
- for (const i in obj) {
10
- const item = obj[i]
11
- if (exists.includes(item)) {
12
- res[i] = item
13
- continue
14
- }
15
- exists.push(item)
16
-
17
- res[i] = useDeepCopy(item, true)
18
- }
19
-
20
- return res
21
- }
@@ -1,5 +0,0 @@
1
- let id = 0
2
- export const useUniqueId = (): number => {
3
- id++
4
- return id
5
- }