bfg-common 1.3.205 → 1.3.206

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.
@@ -34,11 +34,14 @@
34
34
  </template>
35
35
 
36
36
  <script setup lang="ts">
37
- import { UI_I_Localization } from '~/lib/models/interfaces'
37
+ import {
38
+ UI_I_Localization,
39
+ UI_I_ItemsWithTotalCounts,
40
+ } from '~/lib/models/interfaces'
38
41
  import {
39
42
  UI_I_Adapter,
40
43
  UI_I_AdapterStatus,
41
- UI_I_SwitchAdapters,
44
+ UI_I_SwitchAdapterItem,
42
45
  } from '~/components/common/diagramMain/lib/models/interfaces'
43
46
 
44
47
  // Props from up
@@ -46,7 +49,7 @@ const props = defineProps<{
46
49
  addedAdapters: string[]
47
50
  freeAdapters: UI_I_Adapter[]
48
51
  adapterStatus: UI_I_AdapterStatus
49
- adapters: UI_I_SwitchAdapters
52
+ adapters: UI_I_ItemsWithTotalCounts<UI_I_SwitchAdapterItem>
50
53
  coreAdapters: string[]
51
54
  isShowNoConnectedActiveAdaptersModal: boolean
52
55
  isShowNoActiveAdaptersModal: boolean
@@ -21,8 +21,14 @@ export enum E_NodeIconsByState {
21
21
  }
22
22
 
23
23
  export enum UI_E_State {
24
- UNKNOWN = 0,
25
- OK = 1,
26
- WARNING = 2,
27
- ERROR = 3,
24
+ UNKNOWN,
25
+ OK,
26
+ WARNING,
27
+ ERROR,
28
+ }
29
+
30
+ export enum UI_E_Kind {
31
+ UNKNOWN,
32
+ NORMAL,
33
+ SYSTEM,
28
34
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.205",
4
+ "version": "1.3.206",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",