architwin 1.17.2 → 1.17.3
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.
|
@@ -70,7 +70,7 @@ export function renderObjectCard(payload, objectComponent) {
|
|
|
70
70
|
</div>
|
|
71
71
|
<div>
|
|
72
72
|
<div class="at_button_icon" style="display:inline-block">
|
|
73
|
-
<span class="mdi ${isObjectVisible ? 'mdi-eye
|
|
73
|
+
<span class="mdi ${isObjectVisible ? 'mdi-eye' : 'mdi-eye-off'} at_model_visibility_btn" id="at-visibility-model-${payload.id}-btn" data-cy="at-visibility-model-${payload.id}-btn" card-id="${payload.id}"></span>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="at_button_icon" style="display:inline-block">
|
|
76
76
|
<span class="mdi mdi-delete-outline at_model_delete_btn" id="at-delete-model-${payload.id}-btn" data-cy="at-delete-model-${payload.id}-btn" card-id="${payload.id}"></span>
|
|
@@ -106,22 +106,20 @@ export function renderTagIOTFormPane() {
|
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<div>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
<div class="at_body at_linked_device_container" id="at-device-item-container">
|
|
109
|
+
<div class="at_iot_list_container at_h-min-40" id="at-iot-device-list-container" data-cy="at-iot-device-list-container">
|
|
110
|
+
<div class="at_section at_iot_item_container at_scrollable_container" id="at-linked-device-container" data-cy="at-linked-device-container">
|
|
111
|
+
<div class="at_title" style="padding-left: 20px !important;">
|
|
112
|
+
<div> </div>
|
|
113
|
+
<label for="">${i18n.t('LinkedIoTDevices')}</label>
|
|
114
|
+
<div> </div>
|
|
115
|
+
</div>
|
|
116
|
+
<div>
|
|
117
|
+
<div class="at_body at_linked_device_container" id="at-device-item-container">
|
|
118
|
+
</div>
|
|
120
119
|
</div>
|
|
121
120
|
</div>
|
|
122
121
|
</div>
|
|
123
122
|
</div>
|
|
124
|
-
|
|
125
123
|
</div>
|
|
126
124
|
</div>
|
|
127
125
|
|
|
@@ -237,6 +235,17 @@ export function setSelectedIoTSystem(payload) {
|
|
|
237
235
|
if (selectedToggle) {
|
|
238
236
|
selectedToggle.textContent = payload ? i18n.t(payload) : i18n.t('NoSelection');
|
|
239
237
|
}
|
|
238
|
+
const linkedDeviceContainer = document.getElementById('at-iot-device-main-container');
|
|
239
|
+
const systemLinkContainer = document.getElementById('at-iot-system-link-container');
|
|
240
|
+
if (payload === IOT_LINKED_SYSTEMS.URL_LINK) {
|
|
241
|
+
log.info('payload == IOT_LINKED_SYSTEMS.URL_LINK', payload, IOT_LINKED_SYSTEMS.URL_LINK);
|
|
242
|
+
linkedDeviceContainer.style.display = 'none';
|
|
243
|
+
systemLinkContainer.style.display = 'block';
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
linkedDeviceContainer.style.display = 'block';
|
|
247
|
+
systemLinkContainer.style.display = 'none';
|
|
248
|
+
}
|
|
240
249
|
}
|
|
241
250
|
/**
|
|
242
251
|
* Clears dropdowns for both Category and Devices
|
|
@@ -522,7 +531,7 @@ export function getIotTagFormData() {
|
|
|
522
531
|
tagMf: iotMfrName.value,
|
|
523
532
|
// tagCategoryId: selectedIoTCat.uuid,
|
|
524
533
|
tagCategoryId: selectedIoTCat ? selectedIoTCat.name : undefined,
|
|
525
|
-
systemLink:
|
|
534
|
+
systemLink: iotSystemLink.value,
|
|
526
535
|
linkedDevices: linkedDevicesArray,
|
|
527
536
|
iotSystem: selectedIoTSystem,
|
|
528
537
|
tag_type: TAG_TYPE.IOT
|
package/lib/atwinui/events.js
CHANGED
|
@@ -1330,13 +1330,13 @@ function handleModelVisibility(objId) {
|
|
|
1330
1330
|
//@ts-ignore
|
|
1331
1331
|
if (target.component.mesh.visible) {
|
|
1332
1332
|
setModelVisibility(targetId, false);
|
|
1333
|
-
setVisibilityBtn.classList.
|
|
1334
|
-
setVisibilityBtn.classList.
|
|
1333
|
+
setVisibilityBtn.classList.add('mdi-eye-off');
|
|
1334
|
+
setVisibilityBtn.classList.remove('mdi-eye');
|
|
1335
1335
|
}
|
|
1336
1336
|
else {
|
|
1337
1337
|
setModelVisibility(targetId, true);
|
|
1338
|
-
setVisibilityBtn.classList.
|
|
1339
|
-
setVisibilityBtn.classList.
|
|
1338
|
+
setVisibilityBtn.classList.add('mdi-eye');
|
|
1339
|
+
setVisibilityBtn.classList.remove('mdi-eye-off');
|
|
1340
1340
|
}
|
|
1341
1341
|
yield goToModel(targetId);
|
|
1342
1342
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -1454,7 +1454,7 @@ export declare enum MAP_OPTIONS {
|
|
|
1454
1454
|
export declare enum IOT_LINKED_SYSTEMS {
|
|
1455
1455
|
BEMAC = "BEMAC",
|
|
1456
1456
|
HANASYS = "HANASYS",
|
|
1457
|
-
URL_LINK = "
|
|
1457
|
+
URL_LINK = "URL Link",
|
|
1458
1458
|
I_MTEC = "i-MTEC"
|
|
1459
1459
|
}
|
|
1460
1460
|
export interface ITagIOTCategory {
|
package/lib/types.js
CHANGED
|
@@ -198,7 +198,7 @@ export var IOT_LINKED_SYSTEMS;
|
|
|
198
198
|
(function (IOT_LINKED_SYSTEMS) {
|
|
199
199
|
IOT_LINKED_SYSTEMS["BEMAC"] = "BEMAC";
|
|
200
200
|
IOT_LINKED_SYSTEMS["HANASYS"] = "HANASYS";
|
|
201
|
-
IOT_LINKED_SYSTEMS["URL_LINK"] = "
|
|
201
|
+
IOT_LINKED_SYSTEMS["URL_LINK"] = "URL Link";
|
|
202
202
|
IOT_LINKED_SYSTEMS["I_MTEC"] = "i-MTEC";
|
|
203
203
|
})(IOT_LINKED_SYSTEMS || (IOT_LINKED_SYSTEMS = {}));
|
|
204
204
|
export var TAG_TYPE;
|