bfg-common 1.3.370 → 1.3.372

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.
Files changed (60) hide show
  1. package/assets/scss/common/normalize.scss +3 -2
  2. package/components/atoms/TheIcon.vue +42 -42
  3. package/components/atoms/TheIcon2.vue +190 -3
  4. package/components/atoms/collapse/CollapseNavItem.vue +31 -7
  5. package/components/atoms/collapse/lib/models/interfaces.ts +1 -0
  6. package/components/atoms/loader/Loader.vue +30 -30
  7. package/components/atoms/loader/PreLoader.vue +38 -38
  8. package/components/atoms/switch/Switch.vue +111 -111
  9. package/components/atoms/table/compact/Compact.vue +526 -526
  10. package/components/common/adapterManager/ui/table/Header.vue +93 -93
  11. package/components/common/adapterManager/ui/table/Table.vue +162 -162
  12. package/components/common/context/Context.vue +99 -99
  13. package/components/common/lib/config/states.ts +126 -126
  14. package/components/common/resource/progressBlock/ProgressBlock.vue +142 -142
  15. package/components/common/shortcuts/Block.vue +11 -1
  16. package/components/common/shortcuts/lib/models/interfaces.ts +1 -0
  17. package/components/common/vm/actions/add/Add.vue +602 -602
  18. package/components/common/vm/actions/clone/Clone.vue +518 -518
  19. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +273 -273
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +697 -697
  21. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +256 -256
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +458 -458
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +304 -304
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +167 -167
  25. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +82 -82
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +32 -32
  27. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +182 -182
  28. package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +164 -164
  29. package/components/common/vm/actions/common/select/name/Name.vue +235 -235
  30. package/components/common/vm/actions/common/select/storage/Storage.vue +198 -198
  31. package/components/common/vm/actions/editSettings/EditSettings.vue +316 -316
  32. package/components/common/weekSelect/lib/config/options.ts +10 -10
  33. package/components/common/wizards/datastore/add/Add.vue +436 -436
  34. package/components/common/wizards/datastore/add/lib/config/stepItems.ts +191 -191
  35. package/components/common/wizards/datastore/add/lib/models/interfaces.ts +38 -38
  36. package/components/common/wizards/datastore/add/lib/utils.ts +70 -70
  37. package/components/common/wizards/datastore/add/local/createName/CreateName.vue +160 -160
  38. package/components/common/wizards/datastore/add/nfs/Nfs.vue +112 -112
  39. package/components/common/wizards/datastore/add/nfs/accessibility/Accessibility.vue +104 -104
  40. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/compatibleTable.ts +62 -62
  41. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/hostsTableItems.ts +53 -53
  42. package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +86 -86
  43. package/components/common/wizards/datastore/add/readyComplete/lib/config/propertiesDetails.ts +184 -184
  44. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue +459 -459
  45. package/components/common/wizards/datastore/add/types/Types.vue +80 -80
  46. package/components/common/wizards/datastore/add/types/lib/config/typeOptions.ts +49 -49
  47. package/composables/useAppVersion.ts +21 -21
  48. package/composables/useEnvLanguage.ts +20 -20
  49. package/lib/utils/sendTask.ts +72 -72
  50. package/minify.js +146 -146
  51. package/package.json +1 -1
  52. package/public/spice-console/application/codec.js +257 -257
  53. package/public/spice-console/lib/rasterEngine.js +907 -907
  54. package/public/spice-console/network/spicechannel.js +369 -369
  55. package/store/main/lib/interfaces.ts +9 -9
  56. package/store/tasks/actions.ts +133 -133
  57. package/store/tasks/getters.ts +25 -25
  58. package/store/tasks/lib/models/interfaces.ts +18 -18
  59. package/store/tasks/mutations.ts +58 -58
  60. package/store/tasks/state.ts +16 -16
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  html.dark-theme body {
6
- * {
6
+ *:not(svg, path, rect, line, defs, g, clipPath) {
7
7
  color: #e9ecef;
8
8
  }
9
9
  .main-container {
@@ -280,7 +280,8 @@ b {
280
280
  }
281
281
  }
282
282
  &.tooltip-top-right {
283
- &.error {}
283
+ &.error {
284
+ }
284
285
  }
285
286
  }
286
287
  }
@@ -1154,113 +1154,113 @@
1154
1154
  <svg
1155
1155
  width="96"
1156
1156
  height="124"
1157
- viewBox="0 0 80 80"
1157
+ viewBox="0 0 72 72"
1158
1158
  fill="none"
1159
1159
  xmlns="http://www.w3.org/2000/svg"
1160
1160
  class="icon icon__obj-network"
1161
1161
  >
1162
1162
  <path
1163
- d="M12.8115 23.0334L24.3166 33.1416M16.857 62.5358L25.4406 53.1241M57.5138 59.5045L46.0002 51.2818M53.4531 17.947L43.2439 31.1827"
1163
+ d="M8.81152 19.0334L20.3166 29.1416M12.857 58.5358L21.4406 49.1241M53.5138 55.5045L42.0002 47.2818M49.4531 13.947L39.2439 27.1827"
1164
1164
  stroke="#008FD6"
1165
1165
  stroke-width="2.5"
1166
1166
  stroke-linecap="round"
1167
1167
  />
1168
1168
  <path
1169
- d="M47.3445 35.9314C48.8869 38.8323 49.3173 42.0281 48.7851 45.0304C48.052 49.1658 45.4924 52.934 41.4967 55.0585C38.3037 56.7563 34.7533 57.1068 31.497 56.3092C27.7201 55.384 24.3389 52.9143 22.3696 49.2108C18.7027 42.3142 21.3208 33.7507 28.2174 30.0837C30.9895 28.6098 34.031 28.1513 36.9155 28.5779C41.2071 29.2127 45.1514 31.807 47.3445 35.9314Z"
1170
- fill="url(#paint0_linear_600_11192)"
1169
+ d="M43.3445 31.9314C44.8869 34.8323 45.3173 38.0281 44.7851 41.0304C44.052 45.1658 41.4924 48.934 37.4967 51.0585C34.3037 52.7563 30.7533 53.1068 27.497 52.3092C23.7201 51.384 20.3389 48.9143 18.3696 45.2108C14.7027 38.3142 17.3208 29.7507 24.2174 26.0837C26.9895 24.6098 30.031 24.1513 32.9155 24.5779C37.2071 25.2127 41.1514 27.807 43.3445 31.9314Z"
1170
+ fill="url(#paint0_linear_600_11204)"
1171
1171
  />
1172
1172
  <path
1173
- d="M47.3445 35.9314C48.8869 38.8323 49.3173 42.0281 48.7851 45.0304C48.052 49.1658 45.4924 52.934 41.4967 55.0585C38.3037 56.7563 34.7533 57.1068 31.497 56.3092C27.7201 55.384 24.3389 52.9143 22.3696 49.2108C18.7027 42.3142 21.3208 33.7507 28.2174 30.0837C30.9895 28.6098 34.031 28.1513 36.9155 28.5779C41.2071 29.2127 45.1514 31.807 47.3445 35.9314Z"
1173
+ d="M43.3445 31.9314C44.8869 34.8323 45.3173 38.0281 44.7851 41.0304C44.052 45.1658 41.4924 48.934 37.4967 51.0585C34.3037 52.7563 30.7533 53.1068 27.497 52.3092C23.7201 51.384 20.3389 48.9143 18.3696 45.2108C14.7027 38.3142 17.3208 29.7507 24.2174 26.0837C26.9895 24.6098 30.031 24.1513 32.9155 24.5779C37.2071 25.2127 41.1514 27.807 43.3445 31.9314Z"
1174
1174
  fill="white"
1175
1175
  fill-opacity="0.08"
1176
1176
  />
1177
1177
  <path
1178
- d="M19.4286 68.2858C19.4286 72.5463 15.9748 76.0001 11.7143 76.0001C7.4538 76.0001 4 72.5463 4 68.2858C4 64.0253 7.4538 60.5715 11.7143 60.5715C13.6901 60.5715 15.4923 61.3143 16.8571 62.5358C18.4354 63.9484 19.4286 66.0011 19.4286 68.2858Z"
1179
- fill="url(#paint1_linear_600_11192)"
1178
+ d="M16 64C16 68.4183 12.4183 72 8 72C3.58172 72 0 68.4183 0 64C0 59.5817 3.58172 56 8 56C10.0489 56 11.918 56.7703 13.3333 58.037C14.97 59.5019 16 61.6307 16 64Z"
1179
+ fill="url(#paint1_linear_600_11204)"
1180
1180
  />
1181
1181
  <path
1182
- d="M19.4286 68.2858C19.4286 72.5463 15.9748 76.0001 11.7143 76.0001C7.4538 76.0001 4 72.5463 4 68.2858C4 64.0253 7.4538 60.5715 11.7143 60.5715C13.6901 60.5715 15.4923 61.3143 16.8571 62.5358C18.4354 63.9484 19.4286 66.0011 19.4286 68.2858Z"
1182
+ d="M16 64C16 68.4183 12.4183 72 8 72C3.58172 72 0 68.4183 0 64C0 59.5817 3.58172 56 8 56C10.0489 56 11.918 56.7703 13.3333 58.037C14.97 59.5019 16 61.6307 16 64Z"
1183
1183
  fill="white"
1184
1184
  fill-opacity="0.2"
1185
1185
  />
1186
1186
  <path
1187
- d="M14.2857 19.4285C14.2857 22.2688 11.9832 24.5714 9.14286 24.5714C6.30254 24.5714 4 22.2688 4 19.4285C4 16.5882 6.30254 14.2856 9.14286 14.2856C11.9832 14.2856 14.2857 16.5882 14.2857 19.4285Z"
1188
- fill="url(#paint2_linear_600_11192)"
1187
+ d="M11 15.5C11 18.5376 8.53757 21 5.5 21C2.46243 21 0 18.5376 0 15.5C0 12.4624 2.46243 10 5.5 10C8.53757 10 11 12.4624 11 15.5Z"
1188
+ fill="url(#paint2_linear_600_11204)"
1189
1189
  />
1190
1190
  <path
1191
- d="M14.2857 19.4285C14.2857 22.2688 11.9832 24.5714 9.14286 24.5714C6.30254 24.5714 4 22.2688 4 19.4285C4 16.5882 6.30254 14.2856 9.14286 14.2856C11.9832 14.2856 14.2857 16.5882 14.2857 19.4285Z"
1191
+ d="M11 15.5C11 18.5376 8.53757 21 5.5 21C2.46243 21 0 18.5376 0 15.5C0 12.4624 2.46243 10 5.5 10C8.53757 10 11 12.4624 11 15.5Z"
1192
1192
  fill="white"
1193
1193
  fill-opacity="0.16"
1194
1194
  />
1195
1195
  <path
1196
- d="M65.7142 11.7143C65.7142 15.9748 62.2604 19.4286 57.9999 19.4286C56.2998 19.4286 54.7282 18.8786 53.4532 17.9469C51.533 16.5437 50.2856 14.2747 50.2856 11.7143C50.2856 7.4538 53.7394 4 57.9999 4C62.2604 4 65.7142 7.4538 65.7142 11.7143Z"
1197
- fill="url(#paint3_linear_600_11192)"
1196
+ d="M62 8C62 12.4183 58.4183 16 54 16C52.2369 16 50.6071 15.4297 49.2849 14.4635C47.2936 13.0083 46 10.6552 46 8C46 3.58172 49.5817 0 54 0C58.4183 0 62 3.58172 62 8Z"
1197
+ fill="url(#paint3_linear_600_11204)"
1198
1198
  />
1199
1199
  <path
1200
- d="M65.7142 11.7143C65.7142 15.9748 62.2604 19.4286 57.9999 19.4286C56.2998 19.4286 54.7282 18.8786 53.4532 17.9469C51.533 16.5437 50.2856 14.2747 50.2856 11.7143C50.2856 7.4538 53.7394 4 57.9999 4C62.2604 4 65.7142 7.4538 65.7142 11.7143Z"
1200
+ d="M62 8C62 12.4183 58.4183 16 54 16C52.2369 16 50.6071 15.4297 49.2849 14.4635C47.2936 13.0083 46 10.6552 46 8C46 3.58172 49.5817 0 54 0C58.4183 0 62 3.58172 62 8Z"
1201
1201
  fill="white"
1202
1202
  fill-opacity="0.24"
1203
1203
  />
1204
1204
  <path
1205
- d="M76.0001 65.7142C76.0001 71.3948 71.3951 75.9999 65.7144 75.9999C60.0338 75.9999 55.4287 71.3948 55.4287 65.7142C55.4287 63.3814 56.2053 61.2299 57.5141 59.5043C59.3923 57.0279 62.3666 55.4285 65.7144 55.4285C71.3951 55.4285 76.0001 60.0335 76.0001 65.7142Z"
1206
- fill="url(#paint4_linear_600_11192)"
1205
+ d="M72 61.5C72 67.299 67.299 72 61.5 72C55.701 72 51 67.299 51 61.5C51 59.1186 51.7928 56.9223 53.1288 55.1608C55.0462 52.6328 58.0824 51 61.5 51C67.299 51 72 55.701 72 61.5Z"
1206
+ fill="url(#paint4_linear_600_11204)"
1207
1207
  />
1208
1208
  <path
1209
- d="M76.0001 65.7142C76.0001 71.3948 71.3951 75.9999 65.7144 75.9999C60.0338 75.9999 55.4287 71.3948 55.4287 65.7142C55.4287 63.3814 56.2053 61.2299 57.5141 59.5043C59.3923 57.0279 62.3666 55.4285 65.7144 55.4285C71.3951 55.4285 76.0001 60.0335 76.0001 65.7142Z"
1209
+ d="M72 61.5C72 67.299 67.299 72 61.5 72C55.701 72 51 67.299 51 61.5C51 59.1186 51.7928 56.9223 53.1288 55.1608C55.0462 52.6328 58.0824 51 61.5 51C67.299 51 72 55.701 72 61.5Z"
1210
1210
  fill="white"
1211
1211
  fill-opacity="0.16"
1212
1212
  />
1213
1213
  <defs>
1214
1214
  <linearGradient
1215
- id="paint0_linear_600_11192"
1216
- x1="53.9841"
1217
- y1="48.4189"
1218
- x2="42.3577"
1219
- y2="61.1125"
1215
+ id="paint0_linear_600_11204"
1216
+ x1="49.9841"
1217
+ y1="44.4189"
1218
+ x2="38.3577"
1219
+ y2="57.1125"
1220
1220
  gradientUnits="userSpaceOnUse"
1221
1221
  >
1222
1222
  <stop stop-color="#26B7FF" />
1223
1223
  <stop offset="1" stop-color="#0085C7" />
1224
1224
  </linearGradient>
1225
1225
  <linearGradient
1226
- id="paint1_linear_600_11192"
1227
- x1="19.3418"
1228
- y1="101.072"
1229
- x2="4.80736"
1230
- y2="101.39"
1226
+ id="paint1_linear_600_11204"
1227
+ x1="15.91"
1228
+ y1="98"
1229
+ x2="0.83726"
1230
+ y2="98.3302"
1231
1231
  gradientUnits="userSpaceOnUse"
1232
1232
  >
1233
1233
  <stop stop-color="#26B7FF" />
1234
1234
  <stop offset="1" stop-color="#0085C7" />
1235
1235
  </linearGradient>
1236
1236
  <linearGradient
1237
- id="paint2_linear_600_11192"
1238
- x1="14.2278"
1239
- y1="41.2856"
1240
- x2="4.53824"
1241
- y2="41.4979"
1237
+ id="paint2_linear_600_11204"
1238
+ x1="10.9381"
1239
+ y1="38.875"
1240
+ x2="0.575616"
1241
+ y2="39.102"
1242
1242
  gradientUnits="userSpaceOnUse"
1243
1243
  >
1244
1244
  <stop stop-color="#26B7FF" />
1245
1245
  <stop offset="1" stop-color="#0085C7" />
1246
1246
  </linearGradient>
1247
1247
  <linearGradient
1248
- id="paint3_linear_600_11192"
1249
- x1="65.6274"
1250
- y1="44.5"
1251
- x2="51.093"
1252
- y2="44.8184"
1248
+ id="paint3_linear_600_11204"
1249
+ x1="61.91"
1250
+ y1="42"
1251
+ x2="46.8373"
1252
+ y2="42.3302"
1253
1253
  gradientUnits="userSpaceOnUse"
1254
1254
  >
1255
1255
  <stop stop-color="#26B7FF" />
1256
1256
  <stop offset="1" stop-color="#0085C7" />
1257
1257
  </linearGradient>
1258
1258
  <linearGradient
1259
- id="paint4_linear_600_11192"
1260
- x1="75.8844"
1261
- y1="109.428"
1262
- x2="56.5052"
1263
- y2="109.853"
1259
+ id="paint4_linear_600_11204"
1260
+ x1="71.8818"
1261
+ y1="106.125"
1262
+ x2="52.0989"
1263
+ y2="106.558"
1264
1264
  gradientUnits="userSpaceOnUse"
1265
1265
  >
1266
1266
  <stop stop-color="#26B7FF" />
@@ -1125,12 +1125,199 @@
1125
1125
  </g>
1126
1126
  </svg>
1127
1127
  </template>
1128
+ <template v-else-if="props.name === 'host'">
1129
+ <svg
1130
+ :width="props.width"
1131
+ :height="props.height"
1132
+ viewBox="0 0 24 20"
1133
+ fill="none"
1134
+ xmlns="http://www.w3.org/2000/svg"
1135
+ class="host-icon"
1136
+ >
1137
+ <path
1138
+ d="M5.25 3.25H2.5C1.94772 3.25 1.5 3.69772 1.5 4.25V15.75C1.5 16.3023 1.94772 16.75 2.5 16.75H5.25"
1139
+ stroke="currentColor"
1140
+ stroke-width="1.2"
1141
+ stroke-linecap="round"
1142
+ />
1143
+ <path
1144
+ d="M18.75 3.25H21.5C22.0523 3.25 22.5 3.69772 22.5 4.25V15.75C22.5 16.3023 22.0523 16.75 21.5 16.75H18.75"
1145
+ stroke="currentColor"
1146
+ stroke-width="1.2"
1147
+ stroke-linecap="round"
1148
+ />
1149
+ <rect
1150
+ x="7.5"
1151
+ y="1"
1152
+ width="9"
1153
+ height="18"
1154
+ rx="1"
1155
+ stroke="currentColor"
1156
+ stroke-width="1.2"
1157
+ />
1158
+ <circle cx="12" cy="14.5" r="1.5" stroke="currentColor" />
1159
+ <path
1160
+ d="M18.75 13.75C19.3713 13.75 19.875 13.2463 19.875 12.625C19.875 12.0037 19.3713 11.5 18.75 11.5"
1161
+ stroke="currentColor"
1162
+ stroke-linecap="round"
1163
+ />
1164
+ <path
1165
+ d="M5.25 13.75C4.62868 13.75 4.125 13.2463 4.125 12.625C4.125 12.0037 4.62868 11.5 5.25 11.5"
1166
+ stroke="currentColor"
1167
+ stroke-linecap="round"
1168
+ />
1169
+ <path d="M10.5 4H13.5" stroke="currentColor" stroke-linecap="round" />
1170
+ <path d="M10.5 7H13.5" stroke="currentColor" stroke-linecap="round" />
1171
+ <path d="M4.125 6.25H5.25" stroke="currentColor" stroke-linecap="round" />
1172
+ <path
1173
+ d="M18.75 6.25H19.875"
1174
+ stroke="currentColor"
1175
+ stroke-linecap="round"
1176
+ />
1177
+ </svg>
1178
+ </template>
1179
+ <template v-else-if="props.name === 'vm'">
1180
+ <svg
1181
+ :width="props.width"
1182
+ :height="props.height"
1183
+ viewBox="0 0 24 22"
1184
+ fill="none"
1185
+ xmlns="http://www.w3.org/2000/svg"
1186
+ class="vm-icon"
1187
+ >
1188
+ <path
1189
+ d="M12.0537 12.5V18.0381C12.0537 18.3239 12.2062 18.588 12.4537 18.7309L16.8499 21.2691C17.0974 21.412 17.4023 21.412 17.6499 21.2691L22.046 18.7309C22.2935 18.588 22.446 18.3239 22.446 18.0381V12.9619C22.446 12.6761 22.2935 12.412 22.046 12.2691L17.6499 9.73094C17.4023 9.58803 17.0974 9.58803 16.8499 9.73094L12.0537 12.5ZM12.0537 12.5L17.2499 15.5M17.2499 15.5V21.3184M17.2499 15.5L22.3299 12.567"
1190
+ stroke="currentColor"
1191
+ stroke-width="1.2"
1192
+ stroke-linejoin="round"
1193
+ />
1194
+ <path
1195
+ d="M6.75572 20.75V15.875M1.77427 12.624L6.57026 15.3929V15.3929C6.68503 15.4592 6.82642 15.4592 6.94118 15.3929L11.795 12.5906M1.55957 12.9619V18.0381C1.55957 18.3239 1.71205 18.588 1.95957 18.7309L6.35572 21.2691C6.60324 21.412 6.9082 21.412 7.15572 21.2691L11.5519 18.7309C11.7994 18.588 11.9519 18.3239 11.9519 18.0381V12.9619C11.9519 12.6761 11.7994 12.412 11.5519 12.2691L7.15572 9.73094C6.9082 9.58803 6.60324 9.58803 6.35572 9.73094L1.95957 12.2691C1.71205 12.412 1.55957 12.6761 1.55957 12.9619Z"
1196
+ stroke="currentColor"
1197
+ stroke-width="1.2"
1198
+ stroke-linejoin="round"
1199
+ />
1200
+ <path
1201
+ d="M12.0555 12.5L16.8517 9.73094C17.0992 9.58803 17.2517 9.32393 17.2517 9.03812V3.96188C17.2517 3.67607 17.0992 3.41197 16.8517 3.26906L12.4555 0.73094C12.208 0.588034 11.903 0.588034 11.6555 0.73094L7.25937 3.26906C7.01185 3.41197 6.85938 3.67607 6.85938 3.96188V9.03812C6.85938 9.32393 7.01185 9.58803 7.25938 9.73094L12.0555 12.5ZM12.0555 12.5V6.5M12.0555 6.5L7.01004 3.58699M12.0555 6.5L17.083 3.5974"
1202
+ stroke="currentColor"
1203
+ stroke-width="1.2"
1204
+ stroke-linejoin="round"
1205
+ />
1206
+ </svg>
1207
+ </template>
1208
+ <template v-else-if="props.name === 'datastore'">
1209
+ <svg
1210
+ :width="props.width"
1211
+ :height="props.height"
1212
+ viewBox="0 0 20 24"
1213
+ fill="none"
1214
+ xmlns="http://www.w3.org/2000/svg"
1215
+ class="datastore-icon"
1216
+ >
1217
+ <path
1218
+ d="M19 3.75C19 4.99264 14.9706 6 10 6C5.02944 6 1 4.99264 1 3.75M19 3.75C19 2.50736 14.9706 1.5 10 1.5C5.02944 1.5 1 2.50736 1 3.75M19 3.75V20.25C19 21.4926 14.9706 22.5 10 22.5C5.02944 22.5 1 21.4926 1 20.25V3.75M19 9.25488C19 10.4975 14.9706 11.5049 10 11.5049C5.02944 11.5049 1 10.4975 1 9.25488M19 14.7598C19 16.0024 14.9706 17.0098 10 17.0098C5.02944 17.0098 1 16.0024 1 14.7598"
1219
+ stroke="currentColor"
1220
+ stroke-width="1.2"
1221
+ />
1222
+ <path
1223
+ d="M4 8.17529H4.001"
1224
+ stroke="currentColor"
1225
+ stroke-width="1.2"
1226
+ stroke-linecap="round"
1227
+ />
1228
+ <path
1229
+ d="M4 13.6802H4.001"
1230
+ stroke="currentColor"
1231
+ stroke-width="1.2"
1232
+ stroke-linecap="round"
1233
+ />
1234
+ <path
1235
+ d="M4 19.1997H4.001"
1236
+ stroke="currentColor"
1237
+ stroke-width="1.2"
1238
+ stroke-linecap="round"
1239
+ />
1240
+ <path
1241
+ d="M7 8.625H7.001"
1242
+ stroke="currentColor"
1243
+ stroke-width="1.2"
1244
+ stroke-linecap="round"
1245
+ />
1246
+ <path
1247
+ d="M7 14.1299H7.001"
1248
+ stroke="currentColor"
1249
+ stroke-width="1.2"
1250
+ stroke-linecap="round"
1251
+ />
1252
+ <path
1253
+ d="M7 19.6348H7.001"
1254
+ stroke="currentColor"
1255
+ stroke-width="1.2"
1256
+ stroke-linecap="round"
1257
+ />
1258
+ </svg>
1259
+ </template>
1260
+ <template v-else-if="props.name === 'network'">
1261
+ <svg
1262
+ :width="props.width"
1263
+ :height="props.height"
1264
+ viewBox="0 0 24 24"
1265
+ fill="none"
1266
+ xmlns="http://www.w3.org/2000/svg"
1267
+ >
1268
+ <g clip-path="url(#clip0_2062_7683)">
1269
+ <path
1270
+ d="M14.625 12.75C14.625 13.7083 14.2983 14.5902 13.7501 15.2905C12.995 16.2551 11.8199 16.875 10.5 16.875C9.44523 16.875 8.48292 16.4791 7.75355 15.8278C6.90759 15.0724 6.375 13.9734 6.375 12.75C6.375 10.4718 8.22183 8.625 10.5 8.625C11.4157 8.625 12.2618 8.92339 12.9462 9.42824C13.9645 10.1794 14.625 11.3876 14.625 12.75Z"
1271
+ stroke="currentColor"
1272
+ stroke-width="1.2"
1273
+ />
1274
+ <path
1275
+ d="M22.5 19.5C22.5 21.1569 21.1569 22.5 19.5 22.5C17.8431 22.5 16.5 21.1569 16.5 19.5C16.5 18.8196 16.7265 18.1921 17.1082 17.6888C17.6561 16.9665 18.5236 16.5 19.5 16.5C21.1569 16.5 22.5 17.8431 22.5 19.5Z"
1276
+ stroke="currentColor"
1277
+ stroke-width="1.2"
1278
+ />
1279
+ <path
1280
+ d="M4.5 6C4.5 6.82843 3.82843 7.5 3 7.5C2.17157 7.5 1.5 6.82843 1.5 6C1.5 5.17157 2.17157 4.5 3 4.5C3.82843 4.5 4.5 5.17157 4.5 6Z"
1281
+ stroke="currentColor"
1282
+ stroke-width="1.2"
1283
+ />
1284
+ <path
1285
+ d="M19.5 3.75C19.5 4.99264 18.4926 6 17.25 6C16.7541 6 16.2957 5.8396 15.9239 5.56785C15.3638 5.15859 15 4.49678 15 3.75C15 2.50736 16.0074 1.5 17.25 1.5C18.4926 1.5 19.5 2.50736 19.5 3.75Z"
1286
+ stroke="currentColor"
1287
+ stroke-width="1.2"
1288
+ />
1289
+ <path
1290
+ d="M6 20.25C6 21.4926 4.99264 22.5 3.75 22.5C2.50736 22.5 1.5 21.4926 1.5 20.25C1.5 19.0074 2.50736 18 3.75 18C4.32627 18 4.85193 18.2166 5.25 18.5729C5.71031 18.9849 6 19.5836 6 20.25Z"
1291
+ stroke="currentColor"
1292
+ stroke-width="1.2"
1293
+ />
1294
+ <path
1295
+ d="M4.07031 7.05141L7.42597 9.99961M5.25024 18.5729L7.7538 15.8278M17.1085 17.6888L13.7503 15.2905M15.9241 5.56787L12.9464 9.42826"
1296
+ stroke="currentColor"
1297
+ stroke-width="1.2"
1298
+ />
1299
+ </g>
1300
+ <defs>
1301
+ <clipPath id="clip0_2062_7683">
1302
+ <rect width="24" height="24" fill="white" />
1303
+ </clipPath>
1304
+ </defs>
1305
+ </svg>
1306
+ </template>
1128
1307
  </template>
1129
1308
 
1130
1309
  <script setup lang="ts">
1131
- const props = defineProps<{
1132
- name: string | undefined
1133
- }>()
1310
+ const props = withDefaults(
1311
+ defineProps<{
1312
+ name: string
1313
+ width?: string
1314
+ height?: string
1315
+ }>(),
1316
+ {
1317
+ width: '24',
1318
+ height: '24',
1319
+ }
1320
+ )
1134
1321
  </script>
1135
1322
 
1136
1323
  <style scoped lang="scss"></style>
@@ -16,8 +16,12 @@
16
16
  },
17
17
  ]"
18
18
  >
19
+ <atoms-the-icon2
20
+ v-if="props.item.iconName"
21
+ :name="props.item.iconName"
22
+ />
19
23
  <span
20
- v-if="props.item.iconClassName"
24
+ v-else-if="props.item.iconClassName"
21
25
  :class="['icon', props.item.iconClassName]"
22
26
  ></span>
23
27
  <span v-else>{{ props.item.text }}</span>
@@ -51,8 +55,9 @@
51
55
  ]"
52
56
  @click="change(props.item.value)"
53
57
  >
58
+ <atoms-the-icon2 v-if="props.item.iconName" :name="props.item.iconName" />
54
59
  <span
55
- v-if="props.item.iconClassName"
60
+ v-else-if="props.item.iconClassName"
56
61
  :class="['icon', props.item.iconClassName]"
57
62
  ></span>
58
63
  <span v-else>{{ props.item.text }}</span>
@@ -61,7 +66,7 @@
61
66
  </template>
62
67
 
63
68
  <script setup lang="ts">
64
- import { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
69
+ import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
65
70
 
66
71
  const props = defineProps<{
67
72
  item: UI_I_CollapseNavItem
@@ -84,6 +89,21 @@ const onSelectFiles = (event: Event): void => {
84
89
  }
85
90
  </script>
86
91
 
92
+ <style>
93
+ :root {
94
+ --collapse-nav-item-link-color: #4d5d69;
95
+ --collapse-nav-item-link-hover-color: #182531;
96
+ --collapse-nav-item-active-link-color: #008fd6;
97
+ --collapse-nav-item-active-link-hover-color: #0081c1;
98
+ }
99
+ :root.dark-theme {
100
+ --collapse-nav-item-link-color: #e9eaec;
101
+ --collapse-nav-item-link-hover-color: #ffffff;
102
+ --collapse-nav-item-active-link-color: #2ba2de;
103
+ --collapse-nav-item-active-link-hover-color: #0081c1;
104
+ }
105
+ </style>
106
+
87
107
  <style scoped lang="scss">
88
108
  @import '~/assets/scss/common/mixins.scss';
89
109
  %hover-effect {
@@ -103,15 +123,19 @@ const onSelectFiles = (event: Event): void => {
103
123
  .nav {
104
124
  .router-link-active .nav-link:not(.nav-link.disabled) {
105
125
  @extend %border-effect;
106
- color: var(--nav-link-active-color);
126
+ color: var(--collapse-nav-item-active-link-color);
107
127
  }
108
128
  &-link {
109
- color: var(--nav-link-color);
129
+ color: var(--collapse-nav-item-link-color);
110
130
  &.active {
111
- color: var(--nav-link-active-color);
131
+ color: var(--collapse-nav-item-active-link-color);
132
+
133
+ &:hover {
134
+ color: var(--collapse-nav-item-active-link-hover-color);
135
+ }
112
136
  }
113
137
  &:hover:not(&.active) {
114
- color: var(--nav-link-hover-color);
138
+ color: var(--collapse-nav-item-link-hover-color);
115
139
  }
116
140
  :is(&.active, &:hover) {
117
141
  @extend %border-effect;
@@ -7,4 +7,5 @@ export interface UI_I_CollapseNavItem {
7
7
  separate?: boolean
8
8
  uploaded?: boolean
9
9
  testId?: string
10
+ iconName?: string
10
11
  }
@@ -1,30 +1,30 @@
1
- <template>
2
- <div class="loader"><div :data-id="props.testId" class="spinner"></div></div>
3
- </template>
4
-
5
- <script setup lang="ts">
6
- const props = defineProps<{
7
- testId: string
8
- }>()
9
- </script>
10
-
11
- <style scoped lang="scss">
12
- @import '~/assets/scss/common/mixins';
13
- .loader {
14
- position: absolute;
15
- @include flex($just: center, $align: center);
16
- top: 0;
17
- left: 0;
18
- right: 0;
19
- bottom: 0;
20
- background-color: var(--table-spinner-bg-color);
21
- z-index: 590;
22
-
23
- .spinner {
24
- width: 40px;
25
- height: 40px;
26
- min-width: 40px;
27
- min-height: 40px;
28
- }
29
- }
30
- </style>
1
+ <template>
2
+ <div class="loader"><div :data-id="props.testId" class="spinner"></div></div>
3
+ </template>
4
+
5
+ <script setup lang="ts">
6
+ const props = defineProps<{
7
+ testId: string
8
+ }>()
9
+ </script>
10
+
11
+ <style scoped lang="scss">
12
+ @import '~/assets/scss/common/mixins';
13
+ .loader {
14
+ position: absolute;
15
+ @include flex($just: center, $align: center);
16
+ top: 0;
17
+ left: 0;
18
+ right: 0;
19
+ bottom: 0;
20
+ background-color: var(--table-spinner-bg-color);
21
+ z-index: 590;
22
+
23
+ .spinner {
24
+ width: 40px;
25
+ height: 40px;
26
+ min-width: 40px;
27
+ min-height: 40px;
28
+ }
29
+ }
30
+ </style>
@@ -1,38 +1,38 @@
1
- <template>
2
- <div id="loading-container" :hidden="!props.show">
3
- <div :data-id="props.testId" class="spinner spinner-inverse">
4
- {{ localization.loading }}...
5
- </div>
6
- </div>
7
- </template>
8
-
9
- <script setup lang="ts">
10
- import { UI_I_Localization } from '~/lib/models/interfaces'
11
-
12
- const props = defineProps<{
13
- show: boolean
14
- testId: string
15
- }>()
16
-
17
- const localization = computed<UI_I_Localization>(() => useLocal())
18
- </script>
19
-
20
- <style scoped lang="scss">
21
- #loading-container {
22
- position: fixed;
23
- top: 0;
24
- left: 0;
25
- right: 0;
26
- bottom: 0;
27
- display: flex;
28
- align-items: center;
29
- justify-content: center;
30
- background-color: #fff;
31
- z-index: 99999;
32
-
33
- .spinner {
34
- opacity: 0.5;
35
- white-space: nowrap;
36
- }
37
- }
38
- </style>
1
+ <template>
2
+ <div id="loading-container" :hidden="!props.show">
3
+ <div :data-id="props.testId" class="spinner spinner-inverse">
4
+ {{ localization.loading }}...
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+ import { UI_I_Localization } from '~/lib/models/interfaces'
11
+
12
+ const props = defineProps<{
13
+ show: boolean
14
+ testId: string
15
+ }>()
16
+
17
+ const localization = computed<UI_I_Localization>(() => useLocal())
18
+ </script>
19
+
20
+ <style scoped lang="scss">
21
+ #loading-container {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ right: 0;
26
+ bottom: 0;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ background-color: #fff;
31
+ z-index: 99999;
32
+
33
+ .spinner {
34
+ opacity: 0.5;
35
+ white-space: nowrap;
36
+ }
37
+ }
38
+ </style>