bfg-common 1.4.580 → 1.4.581
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/assets/scss/common/theme.scss +323 -321
- package/components/common/diagramMain/Diagram.vue +377 -377
- package/components/common/diagramMain/DiagramMain.vue +893 -894
- package/components/common/diagramMain/adapter/Contents.vue +207 -207
- package/components/common/diagramMain/lib/config/positions.ts +194 -194
- package/components/common/diagramMain/lib/models/enums.ts +44 -44
- package/components/common/diagramMain/modals/viewSettings/info/InfoNew.vue +156 -156
- package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +68 -68
- package/components/common/diagramMain/network/Contents.vue +491 -491
- package/components/common/layout/theHeader/TheHeaderNew.vue +10 -4
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +4 -4
- package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
- package/components/common/split/horizontal/HorizontalNew.vue +29 -6
- package/package.json +1 -1
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
</span>
|
|
90
90
|
</template>
|
|
91
91
|
</ui-tooltip>
|
|
92
|
-
<div class="divider" />
|
|
92
|
+
<div class="divider right-divider-global-refresh" />
|
|
93
93
|
<div class="container-content">
|
|
94
94
|
<common-layout-the-header-theme-switch
|
|
95
95
|
:is-dark-theme="props.isDarkTheme"
|
|
@@ -178,11 +178,13 @@ const emits = defineEmits<{
|
|
|
178
178
|
|
|
179
179
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
180
180
|
|
|
181
|
-
const {$store}: any = useNuxtApp()
|
|
181
|
+
const { $store }: any = useNuxtApp()
|
|
182
182
|
|
|
183
183
|
const isMenuPined = computed(() => $store.getters['main/getIsMenuPined'])
|
|
184
184
|
|
|
185
|
-
const mainMenuTriggerStatus = computed<boolean>(
|
|
185
|
+
const mainMenuTriggerStatus = computed<boolean>(
|
|
186
|
+
() => !props.isShowMainMenu || isMenuPined.value
|
|
187
|
+
)
|
|
186
188
|
</script>
|
|
187
189
|
|
|
188
190
|
<style>
|
|
@@ -240,6 +242,7 @@ const mainMenuTriggerStatus = computed<boolean>(() => !props.isShowMainMenu || i
|
|
|
240
242
|
}
|
|
241
243
|
:deep(#tooltip-inventory-menu-trigger-div) {
|
|
242
244
|
z-index: 9999;
|
|
245
|
+
transform: translate(13px, 0px);
|
|
243
246
|
}
|
|
244
247
|
|
|
245
248
|
.header-shortcuts-link {
|
|
@@ -272,6 +275,10 @@ const mainMenuTriggerStatus = computed<boolean>(() => !props.isShowMainMenu || i
|
|
|
272
275
|
width: 1px;
|
|
273
276
|
height: 32px;
|
|
274
277
|
background-color: #394a58;
|
|
278
|
+
|
|
279
|
+
&.right-divider-global-refresh {
|
|
280
|
+
margin-left: 16px;
|
|
281
|
+
}
|
|
275
282
|
}
|
|
276
283
|
|
|
277
284
|
.global-refresh-button {
|
|
@@ -281,7 +288,6 @@ const mainMenuTriggerStatus = computed<boolean>(() => !props.isShowMainMenu || i
|
|
|
281
288
|
background: transparent;
|
|
282
289
|
cursor: pointer;
|
|
283
290
|
display: flex;
|
|
284
|
-
margin-right: 16px;
|
|
285
291
|
|
|
286
292
|
.reset-icon {
|
|
287
293
|
width: 24px;
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
:class="['w-full flex items-center dropdown-item', item.iconName]"
|
|
52
52
|
>
|
|
53
53
|
<span v-if="item.iconName === 'lock'" class="flex ui-item-text">
|
|
54
|
-
<ui-icon-icon3 :name="item.iconName" width="
|
|
54
|
+
<ui-icon-icon3 :name="item.iconName" width="16" height="16" />
|
|
55
55
|
</span>
|
|
56
|
-
<span v-if="item.iconName === '
|
|
57
|
-
<ui-icon :name="item.iconName" width="
|
|
56
|
+
<span v-if="item.iconName === 'settings'" class="flex ui-item-text">
|
|
57
|
+
<ui-icon :name="item.iconName" width="16" height="16" />
|
|
58
58
|
</span>
|
|
59
59
|
<span v-if="item.iconName === 'logout'" class="flex ui-item-text">
|
|
60
|
-
<ui-icon :name="item.iconName" width="
|
|
60
|
+
<ui-icon :name="item.iconName" width="16" height="16" />
|
|
61
61
|
</span>
|
|
62
62
|
<p class="ui-item-text truncate text-sm font-medium mt-0 mb-0 ml-2">
|
|
63
63
|
{{ item.text }}
|
|
@@ -166,12 +166,22 @@ const keydown = (e: KeyboardEvent): void => {
|
|
|
166
166
|
doDrag(gutterLeft - 10)
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
+
const checkLeftPanelWidth = (): void => {
|
|
170
|
+
const firstElem = document.querySelector(
|
|
171
|
+
`${props.parentElementSelector} .firstPanel`
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
if (!firstElem) return
|
|
175
|
+
|
|
176
|
+
firstElem.style.minWidth = props.leftPanelMinWidth + 'px'
|
|
177
|
+
}
|
|
169
178
|
onMounted(() => {
|
|
170
179
|
parentElem = document.querySelector(props.parentElementSelector)
|
|
171
180
|
|
|
172
181
|
window.addEventListener('mousemove', mousemove)
|
|
173
182
|
window.addEventListener('mouseup', mouseup)
|
|
174
183
|
window.addEventListener('keydown', keydown)
|
|
184
|
+
checkLeftPanelWidth()
|
|
175
185
|
})
|
|
176
186
|
onUnmounted(() => {
|
|
177
187
|
window.removeEventListener('mouseup', mouseup)
|
|
@@ -195,6 +205,10 @@ onUnmounted(() => {
|
|
|
195
205
|
&.dragging {
|
|
196
206
|
.gutter-horizontal.gutter {
|
|
197
207
|
background-color: var(--gutter-active-bg-color);
|
|
208
|
+
|
|
209
|
+
&:before {
|
|
210
|
+
background-color: var(--new-gutter-before-bg-color);
|
|
211
|
+
}
|
|
198
212
|
}
|
|
199
213
|
}
|
|
200
214
|
.firstPanel {
|
|
@@ -266,8 +280,9 @@ onUnmounted(() => {
|
|
|
266
280
|
}
|
|
267
281
|
.gutter-horizontal {
|
|
268
282
|
position: relative;
|
|
269
|
-
width:
|
|
270
|
-
background-color: var(--gutter-bg-color);
|
|
283
|
+
width: 4px;
|
|
284
|
+
//background-color: var(--gutter-bg-color);
|
|
285
|
+
background-color: var(--new-gutter-bg-color);
|
|
271
286
|
transition-delay: 0.25s;
|
|
272
287
|
transition-duration: 0.25s;
|
|
273
288
|
|
|
@@ -287,7 +302,7 @@ onUnmounted(() => {
|
|
|
287
302
|
}
|
|
288
303
|
|
|
289
304
|
&:hover {
|
|
290
|
-
background-color: var(--gutter-hover-bg-color);
|
|
305
|
+
background-color: var(--new-gutter-hover-bg-color);
|
|
291
306
|
cursor: col-resize;
|
|
292
307
|
&:before {
|
|
293
308
|
background-color: hsla(0, 0%, 100%, 0.5);
|
|
@@ -299,11 +314,13 @@ onUnmounted(() => {
|
|
|
299
314
|
content: '';
|
|
300
315
|
position: relative;
|
|
301
316
|
display: block;
|
|
302
|
-
background:
|
|
317
|
+
background: var(--gutter-before-bg);
|
|
303
318
|
transition-delay: 0.25s;
|
|
304
319
|
transition-duration: 0.25s;
|
|
305
|
-
width:
|
|
306
|
-
|
|
320
|
+
width: 2px;
|
|
321
|
+
margin-left: 1px;
|
|
322
|
+
border-radius: 4px;
|
|
323
|
+
height: 24px;
|
|
307
324
|
top: calc(50% - 12.5px);
|
|
308
325
|
}
|
|
309
326
|
}
|
|
@@ -322,10 +339,16 @@ onUnmounted(() => {
|
|
|
322
339
|
--horizontal-panel-bg-color: #fff;
|
|
323
340
|
--trigger-bg-color: #e9ebed;
|
|
324
341
|
--trigger-color: #213444;
|
|
342
|
+
--new-gutter-bg-color: #e9ebed;
|
|
343
|
+
--new-gutter-hover-bg-color: #008fd6;
|
|
344
|
+
--new-gutter-before-bg-color: rgba(255, 255, 255, 0.8);
|
|
325
345
|
}
|
|
326
346
|
:root.is-new-view.dark-theme {
|
|
327
347
|
--horizontal-panel-bg-color: #213444;
|
|
328
348
|
--trigger-bg-color: #314352;
|
|
329
349
|
--trigger-color: #e9ebed;
|
|
350
|
+
--new-gutter-bg-color: #394a58;
|
|
351
|
+
--new-gutter-hover-bg-color: #2ba2de;
|
|
352
|
+
--new-gutter-before-bg-color: rgba(33, 52, 68, 0.8);
|
|
330
353
|
}
|
|
331
354
|
</style>
|