architwin 1.17.1 → 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.
- package/lib/architwin.js +1 -1
- package/lib/atwinui/components/toolbar/card.js +1 -1
- package/lib/atwinui/components/toolbar/i18n.js +20 -1
- package/lib/atwinui/components/toolbar/tagIotFormPane.d.ts +1 -1
- package/lib/atwinui/components/toolbar/tagIotFormPane.js +97 -74
- package/lib/atwinui/events.js +8 -8
- package/lib/types.d.ts +1 -1
- package/lib/types.js +1 -1
- package/package.json +1 -1
- package/static/atwinui.css +7 -0
|
@@ -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>
|
|
@@ -173,6 +173,7 @@ i18n
|
|
|
173
173
|
"BEMAC": "BEMAC",
|
|
174
174
|
"HANASYS": "HANASYS",
|
|
175
175
|
"URLLink": "URL Link",
|
|
176
|
+
"i-MTEC": "i-MTEC",
|
|
176
177
|
"ModelName": "Model Name",
|
|
177
178
|
"SerialNumber": "Serial Number",
|
|
178
179
|
"ManufacturerSite": "Manufacturer Site",
|
|
@@ -193,6 +194,14 @@ i18n
|
|
|
193
194
|
"Frequency": "Frequency",
|
|
194
195
|
"Camera": "Camera",
|
|
195
196
|
"Others": "Others",
|
|
197
|
+
"Outlet": "Outlet",
|
|
198
|
+
"Amp": "Amp",
|
|
199
|
+
"RPM": "RPM",
|
|
200
|
+
"Level": "Level",
|
|
201
|
+
"Alert": "Alert",
|
|
202
|
+
"Status": "Status",
|
|
203
|
+
"Selection": "Selection",
|
|
204
|
+
"Monitor": "Monitor",
|
|
196
205
|
"DeleteDevice": "Delete Device",
|
|
197
206
|
"ConfirmDeleteDevice": "Are you sure you want to delete this device? This action cannot be reversed",
|
|
198
207
|
"SuccessDeleteDevice": "Successfully deleted device",
|
|
@@ -453,6 +462,8 @@ i18n
|
|
|
453
462
|
"BEMAC": "BEMAC",
|
|
454
463
|
"HANASYS": "HANASYS",
|
|
455
464
|
"URLLink": "URLリンク",
|
|
465
|
+
"URL Link": "URLリンク",
|
|
466
|
+
"i-MTEC": "i-MTEC",
|
|
456
467
|
"ModelName": "機器名",
|
|
457
468
|
"SerialNumber": "シリアルナンバー",
|
|
458
469
|
"ManufacturerSite": "メーカーURL",
|
|
@@ -461,7 +472,7 @@ i18n
|
|
|
461
472
|
"SystemLink": "システムリンク",
|
|
462
473
|
"LinkedIoTDevices": "設定済みIoT",
|
|
463
474
|
"EditIoTTag": "IoTタグ編集",
|
|
464
|
-
"Power": "
|
|
475
|
+
"Power": "発停",
|
|
465
476
|
"Temperature": "温度",
|
|
466
477
|
"Humidity": "湿度",
|
|
467
478
|
"Pressure": "圧力",
|
|
@@ -474,6 +485,14 @@ i18n
|
|
|
474
485
|
"Frequency": "周波数",
|
|
475
486
|
"Camera": "カメラ",
|
|
476
487
|
"Others": "その他",
|
|
488
|
+
"Outlet": "出力",
|
|
489
|
+
"Amp": "電流値",
|
|
490
|
+
"RPM": "回転数",
|
|
491
|
+
"Level": "レベル",
|
|
492
|
+
"Alert": "警報",
|
|
493
|
+
"Status": "状態",
|
|
494
|
+
"Selection": "選択",
|
|
495
|
+
"Monitor": "モニタ",
|
|
477
496
|
"DeleteDevice": "デバイス削除",
|
|
478
497
|
"ConfirmDeleteDevice": "この操作は元に戻せません。このデバイスを削除しますか?",
|
|
479
498
|
"SuccessDeleteDevice": "デバイスを削除しました",
|
|
@@ -44,7 +44,7 @@ export declare function getIotTagFormData(): {
|
|
|
44
44
|
tag_type: TAG_TYPE;
|
|
45
45
|
};
|
|
46
46
|
export declare function initIoTLinkedSystemOptions(): void;
|
|
47
|
-
export declare function
|
|
47
|
+
export declare function toggleIoTLinkedSystemOptions(): void;
|
|
48
48
|
/**
|
|
49
49
|
* Clears all Fields Input Fields including the Linked Devices Table
|
|
50
50
|
*
|
|
@@ -41,11 +41,14 @@ export function renderTagIOTFormPane() {
|
|
|
41
41
|
<div class="at_field at_flex_column">
|
|
42
42
|
|
|
43
43
|
<label>${i18n.t('LinkedSystems')}</label>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</
|
|
44
|
+
<div id="at-iot-linked-system-dropdown" data-cy="at-iot-linked-system-dropdown">
|
|
45
|
+
<div id="at-iot-linked-system-filter-dropdown" class="at_dropdown at_flex at_flex_row at_space_between">
|
|
46
|
+
<div class="at_dropdown_toggle" id="at-iot-selected-linked-system" data-cy="at-iot-selected-linked-system">${i18n.t('NoSelection')}</div>
|
|
47
|
+
<span class="mdi mdi-chevron-down at_chevron" id="at-iot-linked-system-filter-chevron" data-cy="at-iot-linked-system-filter-chevron"></span>
|
|
48
|
+
</div>
|
|
49
|
+
<div style="position:absolute;">
|
|
50
|
+
<div class="at_dropdown_options" id="at-iot-linked-system-options" data-cy="at-iot-linked-system-options"></div>
|
|
51
|
+
</div>
|
|
49
52
|
</div>
|
|
50
53
|
|
|
51
54
|
<label for="">${i18n.t('Category')}</label>
|
|
@@ -58,72 +61,65 @@ export function renderTagIOTFormPane() {
|
|
|
58
61
|
<div class="at_dropdown_options" id="at-iot-category-options" data-cy="at-iot-category-options"></div>
|
|
59
62
|
</div>
|
|
60
63
|
</div>
|
|
61
|
-
</div>
|
|
62
64
|
|
|
63
65
|
<div class="at-field at_flex_row at_justify_between">
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
<label for="">${i18n.t('TagName')}</label>
|
|
67
|
+
<input class="at_field_input at_w-full" type="text" name="tag_name" id="at-iot-name-input" data-cy="at-iot-name-input" />
|
|
66
68
|
</div>
|
|
67
69
|
|
|
68
70
|
<div class="at-field at_flex_row at_justify_between">
|
|
69
|
-
|
|
70
|
-
|
|
71
|
+
<label for="">${i18n.t('ModelName')}</label>
|
|
72
|
+
<input class="at_field_input at_w-full" type="text" name="model_name" id="at-iot-model-input" data-cy="at-iot-model-input" />
|
|
71
73
|
</div>
|
|
72
74
|
|
|
73
75
|
<div class="at-field at_flex_row at_justify_between">
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
<label for="">${i18n.t('SerialNumber')}</label>
|
|
77
|
+
<input class="at_field_input at_w-full" type="text" name="serial_name" id="at-iot-serial-input" data-cy="at-iot-serial-input" />
|
|
76
78
|
</div>
|
|
77
79
|
|
|
78
80
|
<div class="at-field at_flex_row at_justify_between">
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
<label for="">${i18n.t('ManufacturerSite')}</label>
|
|
82
|
+
<input class="at_field_input at_w-full" type="text" name="manufacturer_site" id="at-iot-manufacturer-input" data-cy="at-iot-manufacturer-input" />
|
|
81
83
|
</div>
|
|
82
84
|
|
|
83
85
|
<div class="at-field at_flex_row at_justify_between" id="at-iot-system-link-container" style="display: none">
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
<label for="">${i18n.t('SystemLink')}</label>
|
|
87
|
+
<input class="at_field_input at_w-full" type="text" name="system_link" id="at-iot-system-link-input" data-cy="at-iot-system-link-input" />
|
|
86
88
|
</div>
|
|
87
89
|
|
|
88
90
|
<div class="at_button at_ghost" id="at-iot-move-btn" data-cy="at-iot-move-btn" style="top: 4px !important">
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
<label for="" style="bottom: 10px !important" class="at_comment_unsend_container">${i18n.t('MoveTag')}</label>
|
|
92
|
+
<span class="mdi mdi-map-marker at_icon" style="bottom: 9px !important"></span>
|
|
91
93
|
</div>
|
|
92
94
|
|
|
93
95
|
<div class="at_field at_flex_column" id="at-iot-device-main-container">
|
|
94
|
-
|
|
96
|
+
<label for="">${i18n.t('IoTDevices')}</label>
|
|
95
97
|
<div id="at-iot-devices-dropdown" data-cy="at-iot-devices-dropdown" class="at-device-dropdown">
|
|
96
98
|
<div id="at-iot-devices-filter-dropdown" class="at_dropdown at_flex at_flex_row at_space_between">
|
|
97
99
|
<div class="at_dropdown_toggle" id="at-iot-selected-device" data-cy="at-iot-selected-device">${i18n.t(selectedIoTDeviceOption)}</div>
|
|
98
100
|
<span class="mdi mdi-chevron-down at_chevron" id="at-iot-cat-filter-chevron" data-cy="at-iot-cat-filter-chevron"></span>
|
|
99
|
-
</div>
|
|
100
101
|
|
|
101
102
|
<div style="position:absolute;">
|
|
102
103
|
<div class="at_dropdown_options" id="at-iot-device-options" data-cy="at-iot-device-options">
|
|
103
104
|
|
|
105
|
+
</div>
|
|
104
106
|
</div>
|
|
107
|
+
</div>
|
|
105
108
|
</div>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<div class="at_iot_list_container at_h-min-40" id="at-iot-device-list-container" data-cy="at-iot-device-list-container">
|
|
109
|
-
|
|
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
110
|
<div class="at_section at_iot_item_container at_scrollable_container" id="at-linked-device-container" data-cy="at-linked-device-container">
|
|
111
|
-
|
|
112
111
|
<div class="at_title" style="padding-left: 20px !important;">
|
|
113
112
|
<div> </div>
|
|
114
113
|
<label for="">${i18n.t('LinkedIoTDevices')}</label>
|
|
115
114
|
<div> </div>
|
|
116
115
|
</div>
|
|
117
|
-
|
|
118
116
|
<div>
|
|
119
117
|
<div class="at_body at_linked_device_container" id="at-device-item-container">
|
|
120
118
|
</div>
|
|
121
119
|
</div>
|
|
122
|
-
|
|
123
120
|
</div>
|
|
124
|
-
|
|
121
|
+
</div>
|
|
125
122
|
</div>
|
|
126
|
-
|
|
127
123
|
</div>
|
|
128
124
|
</div>
|
|
129
125
|
|
|
@@ -234,18 +230,22 @@ export function toggleIoTDevicesOptions() {
|
|
|
234
230
|
export function setSelectedIoTSystem(payload) {
|
|
235
231
|
log.info('setSelectedIoTSystem()', payload);
|
|
236
232
|
selectedIoTSystem = payload;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
233
|
+
// Update dropdown toggle text
|
|
234
|
+
const selectedToggle = document.getElementById('at-iot-selected-linked-system');
|
|
235
|
+
if (selectedToggle) {
|
|
236
|
+
selectedToggle.textContent = payload ? i18n.t(payload) : i18n.t('NoSelection');
|
|
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
|
+
}
|
|
249
249
|
}
|
|
250
250
|
/**
|
|
251
251
|
* Clears dropdowns for both Category and Devices
|
|
@@ -306,7 +306,7 @@ export function initIoTFormData(tagId) {
|
|
|
306
306
|
setSelectedIoTSystem(iotData.linked_system);
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
309
|
-
setSelectedIoTSystem(
|
|
309
|
+
setSelectedIoTSystem('');
|
|
310
310
|
}
|
|
311
311
|
if (iotData.iot_category) {
|
|
312
312
|
log.info('found cat 1: ', i18n.t(iotData.iot_category), iotData.iot_category, _tagIotCategoryTypes);
|
|
@@ -339,7 +339,7 @@ export function initIoTFormData(tagId) {
|
|
|
339
339
|
else {
|
|
340
340
|
// this is due to selecting the tags created from James
|
|
341
341
|
log.info('initIoTFormData()', iotData);
|
|
342
|
-
setSelectedIoTSystem(
|
|
342
|
+
setSelectedIoTSystem('');
|
|
343
343
|
setSelectedIoTCat({ uuid: generateUUID(), name: i18n.t('NoSelection') });
|
|
344
344
|
renderIotCategoryDropdownOptions('at-iot-category-options', _tagIotCategoryTypes);
|
|
345
345
|
renderIotDeviceDropdownOptions('at-iot-device-options', _tagIotDevices);
|
|
@@ -531,7 +531,7 @@ export function getIotTagFormData() {
|
|
|
531
531
|
tagMf: iotMfrName.value,
|
|
532
532
|
// tagCategoryId: selectedIoTCat.uuid,
|
|
533
533
|
tagCategoryId: selectedIoTCat ? selectedIoTCat.name : undefined,
|
|
534
|
-
systemLink:
|
|
534
|
+
systemLink: iotSystemLink.value,
|
|
535
535
|
linkedDevices: linkedDevicesArray,
|
|
536
536
|
iotSystem: selectedIoTSystem,
|
|
537
537
|
tag_type: TAG_TYPE.IOT
|
|
@@ -564,7 +564,7 @@ function renderDeviceRow(payload) {
|
|
|
564
564
|
|
|
565
565
|
<div class="at_name">
|
|
566
566
|
<div></div>
|
|
567
|
-
<
|
|
567
|
+
<span for="">${payload.name}</span>
|
|
568
568
|
<div></div>
|
|
569
569
|
</div>
|
|
570
570
|
<div class="at_subitem_right">
|
|
@@ -646,35 +646,58 @@ function deleteDeviceRow(deviceId) {
|
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
export function initIoTLinkedSystemOptions() {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
649
|
+
const element = document.getElementById('at-iot-linked-system-options');
|
|
650
|
+
if (!element) {
|
|
651
|
+
console.error('Linked system options container not found');
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
654
|
+
// Clear previous options
|
|
655
|
+
element.innerHTML = ``;
|
|
656
|
+
const selectedToggle = document.getElementById('at-iot-selected-linked-system');
|
|
657
|
+
if (selectedToggle) {
|
|
658
|
+
selectedToggle.textContent = i18n.t('NoSelection');
|
|
659
|
+
}
|
|
660
|
+
/* ---------- NO SELECTION OPTION ---------- */
|
|
661
|
+
const noSelection = document.createElement('div');
|
|
662
|
+
noSelection.classList.add('at_option');
|
|
663
|
+
noSelection.setAttribute('dropdown-type', 'iot-linkedsystem');
|
|
664
|
+
noSelection.setAttribute('data-value', '');
|
|
665
|
+
noSelection.innerHTML = `
|
|
666
|
+
<span class="mdi mdi-circle-slice-1"></span>
|
|
667
|
+
${i18n.t('NoSelection')}
|
|
668
|
+
`;
|
|
669
|
+
noSelection.onclick = () => {
|
|
670
|
+
if (selectedToggle) {
|
|
671
|
+
setSelectedIoTSystem('');
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
element.appendChild(noSelection);
|
|
675
|
+
/* ---------- LINKED SYSTEM OPTIONS ---------- */
|
|
676
|
+
if (!_iotLinkedSyatemOptions || _iotLinkedSyatemOptions.length === 0) {
|
|
677
|
+
console.log('No linked systems to render');
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
_iotLinkedSyatemOptions.forEach((option) => {
|
|
681
|
+
const opt = document.createElement('div');
|
|
682
|
+
opt.classList.add('at_option');
|
|
683
|
+
opt.setAttribute('dropdown-type', 'iot-linkedsystem');
|
|
684
|
+
opt.setAttribute('data-value', option);
|
|
685
|
+
opt.textContent = i18n.t(option);
|
|
686
|
+
opt.onclick = () => {
|
|
687
|
+
if (selectedToggle) {
|
|
688
|
+
setSelectedIoTSystem(option);
|
|
689
|
+
selectedIoTSystem = option;
|
|
690
|
+
}
|
|
691
|
+
};
|
|
692
|
+
element.appendChild(opt);
|
|
693
|
+
});
|
|
666
694
|
}
|
|
667
|
-
export function
|
|
668
|
-
log.info(
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
options.forEach(o => o.classList.remove('is-selected'));
|
|
674
|
-
option.classList.add('is-selected');
|
|
675
|
-
selectedIoTSystem = option.getAttribute('data-value');
|
|
676
|
-
log.info("selectedLinkedSystem", selectedIoTSystem);
|
|
677
|
-
});
|
|
695
|
+
export function toggleIoTLinkedSystemOptions() {
|
|
696
|
+
log.info('toggleIoTCategoryOptions');
|
|
697
|
+
const linkedSystemDropdown = document.getElementById('at-iot-linked-system-dropdown');
|
|
698
|
+
const linkedSystemOptions = document.getElementById('at-iot-linked-system-options');
|
|
699
|
+
linkedSystemDropdown.addEventListener('click', () => {
|
|
700
|
+
linkedSystemOptions.classList.toggle('open');
|
|
678
701
|
});
|
|
679
702
|
}
|
|
680
703
|
/**
|
|
@@ -697,7 +720,7 @@ export function clearIotFields() {
|
|
|
697
720
|
linkedDevicesArray = [];
|
|
698
721
|
selectedIoTSystem = '';
|
|
699
722
|
selectedIoTCat = undefined;
|
|
700
|
-
setSelectedIoTSystem(
|
|
723
|
+
setSelectedIoTSystem('');
|
|
701
724
|
deviceContainer.innerHTML = '';
|
|
702
725
|
iotTagFormMode = "ADD" /* FORM_MODE.ADD */;
|
|
703
726
|
selectedIotTag = undefined;
|
package/lib/atwinui/events.js
CHANGED
|
@@ -37,7 +37,7 @@ import { PipeList } from "./components/toolbar/pipeListPane";
|
|
|
37
37
|
import { PipeForm } from "./components/toolbar/pipeFormPane";
|
|
38
38
|
// import { EditPipeForm, initPipeFormPane, pipeFormData, setPipeFormMode } from "./components/toolbar/pipeFormPane";
|
|
39
39
|
// import { initPipeData } from "./components/toolbar/addPipePane";
|
|
40
|
-
import { toggleIoTCategoryOptions, toggleIoTDevicesOptions, clearIoTDropdowns, initIoTFormData, setIotCategoryOptions, getIotTagFormData, iotTagFormMode, selectedIotTag, clearIotFields, getIotCategoryOption,
|
|
40
|
+
import { toggleIoTCategoryOptions, toggleIoTDevicesOptions, clearIoTDropdowns, initIoTFormData, setIotCategoryOptions, getIotTagFormData, iotTagFormMode, selectedIotTag, clearIotFields, getIotCategoryOption, initIoTLinkedSystemOptions, toggleIoTLinkedSystemOptions } from './components/toolbar/tagIotFormPane';
|
|
41
41
|
import { getTheseTagMessages, timedoutComment, unsendComment } from "./components/toolbar/tagMessagingPane";
|
|
42
42
|
import { handleScreenShareResponsiveChanges, handleScreenShareAcceptRequest, handleScreenShareBackUserListPane, handleScreenShareEndSessionEvent, handleScreenShareUsersUpdated, renderScreenShareLeaveConfirmationModal } from "./components/toolbar/screenSharePane";
|
|
43
43
|
const pipeList = new PipeList();
|
|
@@ -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
|
}
|
|
@@ -3445,13 +3445,13 @@ function handleCloseActiveMinimap() {
|
|
|
3445
3445
|
}
|
|
3446
3446
|
function handleIoTOptions() {
|
|
3447
3447
|
const iotCateogryDropdown = document.getElementById('at-iot-cat-filter-dropdown');
|
|
3448
|
-
const
|
|
3448
|
+
const iotLinkedSystemDropdown = document.getElementById('at-iot-linked-system-dropdown');
|
|
3449
3449
|
if (iotCateogryDropdown) {
|
|
3450
3450
|
toggleIoTCategoryOptions();
|
|
3451
3451
|
}
|
|
3452
|
-
if (
|
|
3452
|
+
if (iotLinkedSystemDropdown) {
|
|
3453
3453
|
initIoTLinkedSystemOptions();
|
|
3454
|
-
|
|
3454
|
+
toggleIoTLinkedSystemOptions();
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
function handleIoTDeviceDropdown() {
|
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;
|
package/package.json
CHANGED
package/static/atwinui.css
CHANGED
|
@@ -2980,4 +2980,11 @@ span.at_partition_name_text.toggle.selectable.selected {
|
|
|
2980
2980
|
|
|
2981
2981
|
.at_linked_systems_options_contianer input {
|
|
2982
2982
|
cursor: pointer;
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
.at_name span {
|
|
2986
|
+
flex: 1;
|
|
2987
|
+
min-width: 0;
|
|
2988
|
+
white-space: normal !important;
|
|
2989
|
+
word-break: break-all !important;
|
|
2983
2990
|
}
|