{"version":3,"sources":["../node_modules/classnames/index.js","../node_modules/redux-persist/es/storage/getStorage.js","../node_modules/redux-persist/es/storage/index.js","../node_modules/redux-persist/es/storage/createWebStorage.js","../node_modules/webpack/buildin/module.js","external/packages/eos-collection/components/collectionBanner/index.js","external/packages/eos-collection/components/collectionItem/index.js","webpack:///./src/external/packages/eos/assets/svg/plus.svg?7652","external/packages/eos-collection/actions/index.js","external/packages/eos-collection/reducers/index.js","external/packages/eos-collection/sagas/index.js","external/packages/eos-collection/helpers/index.js","external/packages/eos-collection/components/collectionListPanel/CollectionListPanel.js","external/packages/eos-collection/components/collectionListPanel/CollectionListPanelItem.js","external/packages/eos-collection/components/collectionListPanel/styles/StyledCollectionListPanel.js","external/packages/eos-collection/components/collectionListPanel/styles/StyledCollectionListPanelItem.js","external/packages/eos-collection/components/collectionBanner/CollectionTypesList.js","external/packages/eos-collection/components/collectionBanner/styles/StyledCollectionTypesList.js","external/packages/eos-collection/components/collectionBanner/styles/StyledCollectionBanner.js","external/packages/eos-collection/components/collectionItem/styles/StyledCollectionItem.js","external/packages/eos-collection/reducers/collection.js"],"names":["__WEBPACK_AMD_DEFINE_RESULT__","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","key","call","join","module","exports","default","undefined","_typeof","Symbol","iterator","obj","constructor","prototype","noop","noopStorage","getItem","setItem","removeItem","getStorage","type","storageType","self","storage","testKey","e","hasStorage","__webpack_exports__","Promise","resolve","reject","item","webpackPolyfill","deprecate","paths","children","Object","defineProperty","enumerable","get","l","__webpack_require__","r","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_styles_StyledCollectionBanner__WEBPACK_IMPORTED_MODULE_1__","lodash__WEBPACK_IMPORTED_MODULE_2__","t","history","collectionMode","collectionList","collectionModeEnd","collectionListSave","savedCollections","deviceType","offsetTop","Components","DynamicIcon","Button","Link","CollectionTypesList","collectionMeta","isObject","origin","originRoute","redirectToOrigin","isPhone","startsWith","a","createElement","Fragment","className","fileName","size","concat","toLowerCase","disabled","originId","text","onClickHandler","secondary","keys","window","confirm","withNamespaces","store","mapStateToProps","collection","mapDispatchToProps","location","adaptive","_styles_StyledCollectionItem__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_2__","classnames__WEBPACK_IMPORTED_MODULE_2___default","CollectionItem","hide","collected","flexDirection","collectionCounts","maxCollectionLimit","collectState","onClick","alert","amount","total","buttonState","getButtonIcon","defaultProps","helpers","d","ForwardRef","_extends","assign","target","source","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_ref2","id","SvgPlus","_ref","svgRef","props","x","y","viewBox","enableBackground","xmlSpace","ref","forwardRef","p","collectionModeStart","collectionTypeAdd","collectionTypeClear","collectionListAdd","collectionListRemove","collectionListRemoveSaved","collectionListClearSaved","collectionListLoad","collectionListClean","collectionOpen","collectionClose","collectionClear","collectionWorkPanelOpen","collectionWorkPanelClose","collectionSetCurrentConfig","collectionCountsSet","payload","_collection__WEBPACK_IMPORTED_MODULE_0__","collectionReducer","removeTempCollectionItem","removeSavedCollectionItem","saveCurrentCollection","loadSavedCollection","increaseCollectionCount","watchTempCollectionRemoval","watchSavedCollectionRemoval","watchSavedCollectionClear","watchCollectionSave","watchCollectionLoad","watchCollectionAdd","currentCollection","C_agent_work_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","wrap","_context","prev","next","select","sent","abrupt","put","stop","_marked","_context2","_marked2","_context3","_marked3","_context4","_marked4","_context5","_marked5","_context6","takeLatest","_marked6","_context7","_marked7","_context8","_marked8","_context9","_marked9","_context10","_marked10","_context11","_marked11","collectionTypeDefaults","attributes","LinkType","Name","TranslateTitle","ShowTitle","Icon","Feature","Access","ClickAction","Package","collectionVisibility","SidePanel","CollectionListPanelItem","react__WEBPACK_IMPORTED_MODULE_1___default","open","position","onCloseHandler","headTitle","order","_styles_StyledCollectionListPanel__WEBPACK_IMPORTED_MODULE_2__","no-items","map","index","title","onDeleteHandler","getCollectionIcon","_svgr_webpack_svgo_ref_packages_eos_assets_svg_plus_svg__WEBPACK_IMPORTED_MODULE_0__","state","_state$user","filterVisibility","filterPanel","isVisible","navigationVisibility","navigationSettings","networkState","network","userMenuVisibility","user","menu","collectionPanelVisible","_styles_StyledCollectionListPanelItem__WEBPACK_IMPORTED_MODULE_1__","icon","StyledCollectionListPanel","styled","div","withConfig","displayName","componentId","theme","fonts","sizes","sm","weights","semibold","xs","grayscale","primary","neutral","colors","info","toRgba","backgrounds","general","gutter","small","xsmall","StyledCollectionListPanelItem","xxs","resolveLinkParams","folderLinkBuilder","generateLink","match","_useState","useState","_useState2","C_agent_work_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__","selectedCollectionType","setSelectedCollectionType","ctd","C_agent_work_1_s_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__","generateCollectionFeatureLink","collectionType","linkParams","params","folderId","useEffect","urlLinkIcon","linkIcon","selectedLinkIcon","btoa","feature","react__WEBPACK_IMPORTED_MODULE_2___default","_styles_StyledCollectionTypesList__WEBPACK_IMPORTED_MODULE_3__","href","selected","StyledCollectionTypesList","StyledCollectionBanner","offlineBanner","height","md","alt","StyledCollectionItem","attrs","persistReducer","collectionState","collectionTypes","workPanelOpen","currentConfigId","collectionLimitReached","action","originSaveId","[object Object]","originAddId","list","originRemoveId","filter","cl","savedOriginId","cleanedTempCollection","cleanedSavedCollection","count","originCountIncreaseId","originCountDecreaseId"],"mappings":"+HAAA,IAAAA,GAOA,WACA,aAEA,IAAAC,EAAA,GAAiBC,eAEjB,SAAAC,IAGA,IAFA,IAAAC,EAAA,GAEAC,EAAA,EAAmBA,EAAAC,UAAAC,OAAsBF,IA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AA,GAAM+Q,EAAgBhN,kBAAvB,IAAyCuN,CAACF,EAAO7J,QAAQ7E,UAAW0O,EAAO7J,QAAQwK,UAGvG,IAAK,6BACH,MAAMC,EAAwBjB,EAAgBjQ,eAAe4B,SAE7D,OAAO1C,OAAAsP,EAAA,EAAAtP,QAAAsP,EAAA,EAAAtP,CAAA,GACF+Q,GADL,IAEEhN,iBAAiB/D,OAAAsP,EAAA,EAAAtP,QAAAsP,EAAA,EAAAtP,CAAA,GACZ+Q,EAAgBhN,kBADL,IAEduN,CAACU,GAAwBjB,EAAgBhN,iBAAiBiO,GACtDjB,EAAgBhN,iBAAiBiO,GAAyB,EAC1D,MAIV,IAAK,6BACH,MAAMC,EAAwBlB,EAAgBjQ,eAAe4B,SAE7D,OAAO1C,OAAAsP,EAAA,EAAAtP,QAAAsP,EAAA,EAAAtP,CAAA,GACF+Q,GADL,IAEEhN,iBAAiB/D,OAAAsP,EAAA,EAAAtP,QAAAsP,EAAA,EAAAtP,CAAA,GACZ+Q,EAAgBhN,kBADL,IAEduN,CAACW,GACClB,EAAgBhN,iBAAiBkO,IACjClB,EAAgBhN,iBAAiBkO,GAAyB,EACtDlB,EAAgBhN,iBAAiBkO,GAAyB,EAC1D,MAIZ,QACE,OAAOlB","file":"static/js/56.4202e3e6.chunk.js","sourcesContent":["/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n\n/* global define */\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n\n function classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n var inner = classNames.apply(null, arg);\n\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nfunction noop() {}\n\nvar noopStorage = {\n getItem: noop,\n setItem: noop,\n removeItem: noop\n};\n\nfunction hasStorage(storageType) {\n if ((typeof self === 'undefined' ? 'undefined' : _typeof(self)) !== 'object' || !(storageType in self)) {\n return false;\n }\n\n try {\n var storage = self[storageType];\n var testKey = 'redux-persist ' + storageType + ' test';\n storage.setItem(testKey, 'test');\n storage.getItem(testKey);\n storage.removeItem(testKey);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') console.warn('redux-persist ' + storageType + ' test failed, persistence will be disabled.');\n return false;\n }\n\n return true;\n}\n\nexport default function getStorage(type) {\n var storageType = type + 'Storage';\n if (hasStorage(storageType)) return self[storageType];else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('redux-persist failed to create sync storage. falling back to memory storage.');\n }\n\n return noopStorage;\n }\n}","import createWebStorage from './createWebStorage';\nexport default createWebStorage('local');","import getStorage from './getStorage';\nexport default function createWebStorage(type) {\n var storage = getStorage(type);\n return {\n getItem: function getItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.getItem(key));\n });\n },\n setItem: function setItem(key, item) {\n return new Promise(function (resolve, reject) {\n resolve(storage.setItem(key, item));\n });\n },\n removeItem: function removeItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.removeItem(key));\n });\n }\n };\n}","module.exports = function (module) {\n if (!module.webpackPolyfill) {\n module.deprecate = function () {};\n\n module.paths = []; // module.parent = undefined by default\n\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function get() {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function get() {\n return module.i;\n }\n });\n module.webpackPolyfill = 1;\n }\n\n return module;\n};","import React from \"react\"\nimport StyledCollectionBanner from \"./styles/StyledCollectionBanner\"\nimport { isObject } from \"lodash\"\n\nconst CollectionBanner = ({\n t,\n history,\n collectionMode,\n collectionList,\n collectionModeEnd,\n collectionListSave,\n savedCollections,\n deviceType,\n offsetTop,\n Components: { DynamicIcon, Button, Link, CollectionTypesList },\n}) => {\n if (!collectionMode) return null\n\n const collectionMeta =\n isObject(collectionMode) && collectionMode.hasOwnProperty(\"type\") && collectionMode.hasOwnProperty(\"origin\")\n ? { type: collectionMode.type, origin: collectionMode.origin }\n : false\n\n const originRoute =\n isObject(collectionMode) && collectionMode.hasOwnProperty(\"originRoute\") ? collectionMode.originRoute : false\n\n const redirectToOrigin = () => {\n if (originRoute) {\n history.push(originRoute)\n }\n }\n\n const save = () => {\n collectionListSave()\n redirectToOrigin()\n }\n const cancel = () => {\n if (collectionList[collectionMode.originId] && Object.keys(collectionList[collectionMode.originId]).length > 0) {\n if (window.confirm(t(\"collection:collection_cancel_confirm\"))) {\n collectionModeEnd()\n redirectToOrigin()\n }\n } else {\n collectionModeEnd()\n redirectToOrigin()\n }\n }\n\n const isPhone = deviceType.startsWith(\"phone\")\n\n return (\n \n {!isPhone ? (\n <>\n
\n \n
\n
\n {t(\"collection:collecting\")}{\" \"}\n {collectionMeta\n ? `${t(\"features:\" + collectionMode.type).toLowerCase()} ${t(\"core:for\").toLowerCase()} ${t(\n \"features:\" + collectionMode.origin\n ).toLowerCase()}`\n : null}\n
\n \n ) : null}\n \n
\n
\n save()}\n />\n
\n
\n
\n
\n
\n )\n}\n\nexport default [\n CollectionBanner,\n {\n withNamespaces: [\"core\", \"collection\", \"features\"],\n store: {\n mapStateToProps: (store) => ({\n collectionMode: store.collection.collectionMode,\n collectionList: store.collection.collectionList,\n savedCollections: store.collection.savedCollections,\n }),\n mapDispatchToProps: [\"collectionModeEnd\", \"collectionListSave\"],\n },\n location: true,\n adaptive: true,\n },\n]\n","import React from \"react\"\nimport StyledCollectionItem from \"./styles/StyledCollectionItem\"\nimport classNames from \"classnames\"\n\nconst CollectionItem = ({\n hide,\n children,\n className,\n collected,\n flexDirection,\n collectionMode,\n onClickHandler,\n collectionCounts,\n maxCollectionLimit,\n t,\n Components: { DynamicIcon },\n}) => {\n const collectState = collected ? \"remove\" : \"add\"\n\n const getButtonIcon = (buttonState) => {\n switch (buttonState) {\n case \"add\":\n return \"plus\"\n case \"remove\":\n return \"minus\"\n default:\n return \"plus\"\n }\n }\n\n return (\n \n {collectionMode && !hide ? (\n = maxCollectionLimit && collectState === \"add\"\n ? () =>\n window.alert(\n t(\"maximum_signals_limit_reached\", {\n amount: collectionCounts[collectionMode.originId],\n total: maxCollectionLimit,\n })\n )\n : onClickHandler\n ? onClickHandler\n : null\n }\n >\n
\n \n
\n \n ) : null}\n\n {children}\n
\n )\n}\n\nCollectionItem.defaultProps = {\n collected: \"add\",\n flexDirection: \"row\",\n}\n\nexport default [\n CollectionItem,\n {\n store: {\n mapStateToProps: (store) => ({\n collectionMode: store.collection.collectionMode,\n collectionCounts: store.collection.collectionCounts,\n }),\n },\n helpers: [\"maxCollectionLimit\"],\n withNamespaces: [\"chart\"],\n },\n]\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n id: \"XMLID_933_\",\n d: \"M72.5,46.5c0,2.5-2,4.5-4.5,4.5H50v17c0,2.5-2,4.5-4.5,4.5S41,70.5,41,68V51H24c-2.5,0-4.5-2-4.5-4.5 s2-4.5,4.5-4.5h17V24c0-2.5,2-4.5,4.5-4.5s4.5,2,4.5,4.5v18h18C70.5,42,72.5,44,72.5,46.5z\"\n});\n\nconst SvgPlus = (_ref) => {\n let svgRef = _ref.svgRef,\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Layer_1\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 92 92\",\n enableBackground: \"new 0 0 92 92\",\n xmlSpace: \"preserve\",\n ref: svgRef\n }, props), _ref2);\n};\n\nconst ForwardRef = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement(SvgPlus, _extends({\n svgRef: ref\n}, props)));\nexport default __webpack_public_path__ + \"static/media/plus.cce9895a.svg\";\nexport { ForwardRef as ReactComponent };","export const collectionModeStart = (payload) => ({\n type: \"COLLECTION_MODE_START\",\n payload,\n})\n\nexport const collectionModeEnd = (payload) => ({\n type: \"COLLECTION_MODE_END\",\n payload,\n})\n\nexport const collectionTypeAdd = (payload) => ({\n type: \"COLLECTION_TYPE_ADD\",\n payload,\n})\n\nexport const collectionTypeClear = () => ({\n type: \"COLLECTION_TYPE_CLEAR\",\n})\n\nexport const collectionListAdd = (payload) => ({\n type: \"COLLECTION_LIST_ADD\",\n payload,\n})\n\nexport const collectionListRemove = (payload) => ({\n type: \"COLLECTION_LIST_REMOVE\",\n payload,\n})\n\nexport const collectionListRemoveSaved = (payload) => ({\n type: \"COLLECTION_LIST_REMOVE_SAVED\",\n payload,\n})\n\nexport const collectionListClearSaved = (payload) => ({\n type: \"COLLECTION_LIST_CLEAR_SAVED\",\n payload,\n})\n\nexport const collectionListSave = () => ({\n type: \"COLLECTION_LIST_SAVE\",\n})\n\nexport const collectionListLoad = (payload) => ({\n type: \"COLLECTION_LIST_LOAD\",\n payload,\n})\n\nexport const collectionListClean = () => ({\n type: \"COLLECTION_TEMP_LIST_CLEAN\",\n})\n\nexport const collectionOpen = () => ({\n type: \"COLLECTION_PANEL_OPEN\",\n})\n\nexport const collectionClose = () => ({\n type: \"COLLECTION_PANEL_CLOSE\",\n})\n\nexport const collectionClear = () => ({\n type: \"COLLECTION_CLEAR\",\n})\n\nexport const collectionWorkPanelOpen = () => ({\n type: \"COLLECTION_WORK_PANEL_OPEN\",\n})\n\nexport const collectionWorkPanelClose = () => ({\n type: \"COLLECTION_WORK_PANEL_CLOSE\",\n})\n\nexport const collectionSetCurrentConfig = (payload) => ({\n type: \"COLLECTION_SET_CURRENT_CONFIG\",\n payload,\n})\n\nexport const collectionCountsSet = (payload) => ({\n type: \"COLLECTION_COUNTS_SET\",\n payload,\n})\n","import collectionReducer from \"./collection\"\n\nexport default {\n collection: collectionReducer,\n}\n","import { put, takeLatest, select } from \"redux-saga/effects\"\nimport { maxCollectionLimit } from \"../helpers\"\n\nfunction* removeTempCollectionItem({ payload }) {\n const currentCollection = yield select((store) => store.collection)\n\n const { collectionMode, collectionList } = currentCollection\n\n if (!collectionMode?.originId) return\n\n yield put({\n type: \"COLLECTION_COUNTS_DECREASE\",\n })\n\n if (collectionList[collectionMode.originId].length === 0) {\n yield put({\n type: \"COLLECTION_TEMP_LIST_CLEAN\",\n })\n }\n}\n\nfunction* removeSavedCollectionItem({ payload }) {\n const savedCollections = yield select((store) => store.collection.savedCollections)\n\n if (!savedCollections[payload.originId]) return\n\n if (savedCollections[payload.originId].length === 0) {\n yield put({\n type: \"COLLECTION_SAVED_LIST_CLEAN\",\n payload,\n })\n }\n}\n\nfunction* saveCurrentCollection({ payload }) {\n yield put({\n type: \"COLLECTION_MODE_END\",\n })\n}\n\nfunction* loadSavedCollection({ payload }) {\n const savedCollections = yield select((store) => store.collection.savedCollections)\n if (savedCollections[payload.originId]) {\n yield put({\n type: \"COLLECTION_LIST_LOAD\",\n payload: savedCollections,\n })\n }\n}\n\nfunction* increaseCollectionCount() {\n const currentCollection = yield select((store) => store.collection)\n const { collectionMode, collectionCounts } = currentCollection\n\n if (!collectionMode.originId) return\n\n if (collectionCounts[collectionMode.originId] <= maxCollectionLimit - 1) {\n yield put({\n type: \"COLLECTION_COUNTS_INCREASE\",\n })\n }\n}\n\nexport function* watchTempCollectionRemoval() {\n yield takeLatest(\"COLLECTION_LIST_REMOVE\", removeTempCollectionItem)\n}\n\nexport function* watchSavedCollectionRemoval() {\n yield takeLatest(\"COLLECTION_LIST_REMOVE_SAVED\", removeSavedCollectionItem)\n}\n\nexport function* watchSavedCollectionClear() {\n yield takeLatest(\"COLLECTION_LIST_CLEAR_SAVED\", removeSavedCollectionItem)\n}\n\nexport function* watchCollectionSave() {\n yield takeLatest(\"COLLECTION_LIST_SAVE\", saveCurrentCollection)\n}\n\nexport function* watchCollectionLoad() {\n yield takeLatest(\"COLLECTION_MODE_START\", loadSavedCollection)\n}\n\nexport function* watchCollectionAdd() {\n yield takeLatest(\"COLLECTION_LIST_ADD\", increaseCollectionCount)\n}\n","export const collectionTypeDefaults = [\n {\n type: \"LinkIcon\",\n attributes: {\n LinkType: \"Menu\",\n Name: \"Analogs\",\n TranslateTitle: \"collection:collect_analog_signals\",\n ShowTitle: \"No\",\n Icon: \"graph-line\",\n Feature: \"analogs\",\n Access: \"Guest\",\n ClickAction: \"OpenView\",\n Package: \"eos-analogs\",\n },\n },\n {\n type: \"LinkIcon\",\n attributes: {\n LinkType: \"Menu\",\n Name: \"Digitals\",\n TranslateTitle: \"collection:collect_digital_signals\",\n ShowTitle: \"No\",\n Icon: \"digitals\",\n Feature: \"digitals\",\n Access: \"Guest\",\n ClickAction: \"OpenView\",\n Package: \"eos-digitals\",\n },\n },\n {\n type: \"LinkIcon\",\n attributes: {\n LinkType: \"Menu\",\n Name: \"Alarms\",\n TranslateTitle: \"collection:collect_alarm_signals\",\n ShowTitle: \"No\",\n Icon: \"bell\",\n Feature: \"alarms\",\n Access: \"Guest\",\n ClickAction: \"OpenView\",\n Package: \"eos-alarms\",\n },\n },\n]\n\nexport const maxCollectionLimit = 40\n","import { ReactComponent as PlusIcon } from \"packages/eos/assets/svg/plus.svg\"\nimport React from \"react\"\nimport StyledCollectionListPanel from \"./styles/StyledCollectionListPanel\"\nimport classNames from \"classnames\"\nimport { isObject } from \"lodash\"\n\nconst CollectionListPanel = ({\n t,\n collectionVisibility,\n collectionClose,\n collectionList,\n collectionMode,\n collectionListRemove,\n history,\n collectionModeEnd,\n collectionListSave,\n savedCollections,\n Components: { SidePanel, CollectionListPanelItem, DynamicIcon, Button },\n}) => {\n const originRoute =\n isObject(collectionMode) && collectionMode.hasOwnProperty(\"originRoute\") ? collectionMode.originRoute : false\n\n const redirectToOrigin = () => {\n if (originRoute) {\n history.push(originRoute)\n }\n }\n\n const save = () => {\n collectionListSave()\n redirectToOrigin()\n }\n const cancel = () => {\n if (collectionList[collectionMode.originId] && Object.keys(collectionList[collectionMode.originId]).length > 0) {\n if (window.confirm(t(\"collection:collection_cancel_confirm\"))) {\n collectionModeEnd()\n redirectToOrigin()\n }\n } else {\n collectionModeEnd()\n redirectToOrigin()\n }\n }\n\n const getCollectionIcon = (type) => {\n switch (type) {\n case \"signals\":\n return \"pulse\"\n default:\n return \"basket\"\n }\n }\n\n return (\n \n \n \n {collectionList[collectionMode.originId] &&\n collectionList[collectionMode.originId].map((item, index) => {\n return (\n collectionListRemove(item.id)}\n />\n )\n })}\n {!collectionList[collectionMode.originId] && (\n
\n
\n \n
\n
\n {collectionMode.type\n ? `${t(\"core:no\")} ${t(\"features:\" + collectionMode.type).toLowerCase()} ${t(\n \"collection:collected\"\n ).toLowerCase()}`\n : t(\"collection:empty_collection\")}\n
\n {collectionMode ? (\n
\n {t(\"core:click\")}\n
\n \n
\n {t(\"collection:to_start_collecting\").toLowerCase()}\n
\n ) : null}\n
\n )}\n \n
\n
\n save()}\n />\n
\n
\n
\n
\n
\n \n )\n}\n\nexport default [\n CollectionListPanel,\n {\n store: {\n mapStateToProps: (state) => {\n return {\n filterVisibility: state.filterPanel.isVisible,\n navigationVisibility: state.navigationSettings.isVisible,\n networkState: state.network,\n userMenuVisibility: state.user?.menu.isVisible,\n collectionMode: state.collection.collectionMode,\n collectionList: state.collection.collectionList,\n collectionVisibility: state.collection.collectionPanelVisible,\n savedCollections: state.collection.savedCollections,\n }\n },\n mapDispatchToProps: [\"collectionClose\", \"collectionListRemove\", \"collectionModeEnd\", \"collectionListSave\"],\n },\n withNamespaces: [\"core\", \"collection\", \"features\"],\n location: true,\n },\n]\n","import React from \"react\"\nimport StyledCollectionListPanelItem from \"./styles/StyledCollectionListPanelItem\"\nimport classNames from \"classnames\"\n\nconst CollectionListPanelItem = ({ title, origin, type, onDeleteHandler, Components: { DynamicIcon } }) => {\n let icon\n switch (type) {\n case \"analog\":\n icon = \"graph-line\"\n break\n case \"digital\":\n icon = \"digitals\"\n break\n case \"alarm\":\n icon = \"bell\"\n break\n case \"realtime\":\n icon = \"pulse\"\n break\n default:\n icon = \"bell\"\n break\n }\n return (\n \n
\n
\n
\n \n
\n
\n
{title}
\n
\n
{origin}
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n )\n}\n\nexport default [CollectionListPanelItem, {}]\n","import styled from \"styled-components\"\n\nconst StyledCollectionListPanel = styled.div`\n height: 100%;\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n overflow-y: auto;\n\n .collection-panel-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n &.no-items {\n height: 70%;\n\n justify-content: center;\n align-content: center;\n align-items: center;\n .no-values-added-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n .text {\n margin-top: 14px;\n font-size: ${({ theme }) => theme.fonts.sizes.sm};\n font-weight: ${({ theme }) => theme.fonts.weights.semibold};\n }\n\n .describing-text {\n margin-top: 4px;\n display: flex;\n align-items: center;\n font-size: ${({ theme }) => theme.fonts.sizes.xs};\n color: ${({ theme }) => theme.grayscale.primary.neutral};\n .plus-icon {\n height: 15px;\n width: 15px;\n background-color: ${({ theme }) => theme.colors.primary.info};\n margin: 0 6px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n svg {\n height: 15px;\n width: 15px;\n\n fill: #fff;\n }\n }\n }\n\n .icon-wrapper {\n height: 40px;\n width: 40px;\n border-radius: 50%;\n background-color: ${({ theme }) => theme.helpers.toRgba(theme.grayscale.primary.neutral, 0.2)};\n display: flex;\n align-items: center;\n justify-content: center;\n\n .StyledDynamicIcon {\n height: 22px;\n width: 22px;\n svg {\n height: 22px;\n width: 22px;\n fill: ${({ theme }) => theme.grayscale.primary.neutral};\n }\n }\n }\n }\n }\n }\n .buttons-wrapper {\n background: ${({ theme }) => theme.backgrounds.colors.primary};\n padding: ${({ theme }) => theme.general.gutter.small};\n display: flex;\n justify-content: flex-end;\n position: sticky;\n bottom: 0;\n\n .cancel {\n margin-left: ${({ theme }) => theme.general.gutter.xsmall};\n }\n }\n`\n\nexport default StyledCollectionListPanel\n","import styled from \"styled-components\"\n\nconst StyledCollectionListPanelItem = styled.div`\n .collection-panel-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 10px;\n\n .item-wrapper {\n display: flex;\n align-items: center;\n\n .icon-wrapper {\n height: 30px;\n width: 30px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n align-items: center;\n margin-left: ${({ theme }) => theme.general.gutter.small};\n background-color: ${({ theme }) => theme.helpers.toRgba(theme.grayscale.primary.neutral, 0.2)};\n div {\n display: flex;\n width: 14px;\n height: 14px;\n }\n svg {\n width: 14px;\n height: 14px;\n fill: ${({ theme }) => theme.grayscale.primary.neutral};\n }\n }\n .description {\n margin-left: ${({ theme }) => theme.general.gutter.small};\n .title {\n font-size: ${({ theme }) => theme.fonts.sizes.sm};\n font-weight: ${({ theme }) => theme.fonts.weights.semibold};\n padding-bottom: 2px;\n }\n .origin {\n font-size: ${({ theme }) => theme.fonts.sizes.xxs};\n color: ${({ theme }) => theme.grayscale.primary.neutral};\n }\n }\n }\n .collection-button-wrapper {\n padding: ${({ theme }) => theme.general.gutter.small};\n\n .collection-button {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid ${({ theme }) => theme.colors.primary.info};\n border-radius: 50%;\n cursor: pointer;\n svg {\n fill: ${({ theme }) => theme.colors.primary.info};\n }\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.primary.info};\n\n svg {\n fill: #fff;\n }\n }\n }\n }\n }\n`\n\nexport default StyledCollectionListPanelItem\n","import React, { useEffect, useState } from \"react\"\nimport StyledCollectionTypesList from \"./styles/StyledCollectionTypesList\"\nimport classNames from \"classnames\"\n\nconst CollectionTypesList = ({\n Components: { Link, DynamicIcon },\n collectionTypeDefaults,\n resolveLinkParams,\n folderLinkBuilder,\n generateLink,\n history,\n match,\n t,\n}) => {\n const [selectedCollectionType, setSelectedCollectionType] = useState(null)\n\n collectionTypeDefaults = collectionTypeDefaults.map((ctd) => ({\n ...ctd,\n attributes: { ...ctd.attributes, Name: t(ctd.attributes.TranslateTitle) },\n }))\n\n const generateCollectionFeatureLink = (collectionType) => {\n const linkParams = resolveLinkParams(collectionType.attributes, match.params.folderId)\n return generateLink(\"folder\", linkParams, match)\n }\n\n useEffect(() => {\n if (!selectedCollectionType) {\n setSelectedCollectionType(collectionTypeDefaults[0])\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n useEffect(() => {\n if (selectedCollectionType) {\n const urlLinkIcon = match.params.linkIcon\n const selectedLinkIcon = btoa(selectedCollectionType.attributes.Name)\n if (urlLinkIcon !== selectedLinkIcon) {\n history.push(\n folderLinkBuilder(\n match,\n {\n folderId: match.params.folderId,\n feature: selectedCollectionType.attributes.Feature,\n linkIcon: selectedLinkIcon,\n },\n true\n )\n )\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedCollectionType])\n\n return (\n \n {collectionTypeDefaults.map((ctd) => {\n return (\n setSelectedCollectionType(ctd)}\n >\n \n
\n \n
\n \n \n )\n })}\n
\n )\n}\n\nexport default [\n CollectionTypesList,\n {\n helpers: [\"collectionTypeDefaults\", \"resolveLinkParams\", \"generateLink\", \"folderLinkBuilder\"],\n location: true,\n withNamespaces: [\"collection\"],\n },\n]\n","import styled from \"styled-components\"\n\nconst StyledCollectionTypesList = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #ffffff;\n margin-left: 20px;\n padding-right: 12px;\n\n .collection-type {\n width: 26px;\n height: 26px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 0 5px;\n border-radius: 5px;\n\n .icon > div,\n .icon > div svg {\n width: 18px;\n height: 18px;\n }\n\n svg {\n fill: ${({ theme }) => theme.helpers.toRgba(\"#000000\", 0.7)};\n }\n\n &.selected {\n background: ${({ theme }) => theme.helpers.toRgba(\"#000000\", 0.5)};\n svg {\n fill: #ffffff;\n }\n }\n\n &:hover:not(.selected) {\n background: ${({ theme }) => theme.helpers.toRgba(\"#000000\", 0.15)};\n svg {\n fill: #ffffff;\n }\n }\n }\n`\n\nexport default StyledCollectionTypesList\n","import styled from \"styled-components\"\n\nconst StyledCollectionBanner = styled.div`\n position: fixed;\n top: ${({ offsetTop, theme }) => (offsetTop ? theme.offlineBanner.height.md : 0)};\n right: 0;\n left: 0;\n height: ${({ theme }) => theme.offlineBanner.height.md};\n z-index: 9999;\n background: ${({ theme }) => theme.colors.primary.info};\n display: flex;\n align-items: center;\n justify-content: center;\n\n .collection-banner-icon {\n width: 26px;\n height: 26px;\n background: ${({ theme }) => theme.helpers.toRgba(\"#fff\", 0.5)};\n border-radius: 100px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n\n .StyledDynamicIcon {\n line-height: 0;\n svg {\n fill: ${({ theme }) => theme.colors.primary.info};\n }\n }\n }\n\n .collection-banner-info {\n font-size: ${({ theme }) => theme.fonts.sizes.sm};\n font-weight: ${({ theme }) => theme.fonts.weights.semibold};\n color: #fff;\n }\n\n .collection-banner-buttons {\n display: flex;\n padding-left: 17px;\n\n .save,\n .cancel {\n margin-left: 8px;\n button {\n font-size: ${({ theme }) => theme.fonts.sizes.xs}!important;\n width: 60px;\n height: 25px;\n\n &[disabled] {\n color: ${({ theme }) => theme.colors.primary.info};\n background: ${({ theme }) => theme.helpers.toRgba(\"#fff\", 0.3)}!important;\n }\n }\n }\n\n .save {\n button {\n border-color: ${({ theme }) => theme.colors.alt.info};\n background: ${({ theme }) => theme.colors.alt.info};\n color: #fff;\n\n @media not all and (pointer: coarse) {\n &:hover {\n border-color: #fff;\n background: #fff;\n color: ${({ theme }) => theme.colors.primary.info};\n }\n }\n }\n }\n\n .cancel {\n button {\n background: transparent;\n border-color: ${({ theme }) => theme.helpers.toRgba(\"#fff\", 0.5)};\n color: #fff;\n @media not all and (pointer: coarse) {\n &:hover {\n background: ${({ theme }) => theme.helpers.toRgba(\"#fff\", 0.18)}!important;\n }\n }\n }\n }\n }\n`\n\nexport default StyledCollectionBanner\n","import styled from \"styled-components\"\n\nconst StyledCollectionItem = styled.div.attrs({ className: \"StyledCollectionItem\" })`\n display: flex;\n &.row {\n flex-direction: row;\n align-items: center;\n margin-bottom: 9px;\n height: 70px;\n }\n &.column {\n flex-direction: column;\n }\n\n .collection-button-wrapper {\n display: flex;\n align-items: center;\n width: 35px;\n height: 100%;\n cursor: pointer;\n\n .collection-button {\n border-radius: 100%;\n\n .StyledDynamicIcon,\n svg {\n width: 20px;\n height: 20px;\n }\n &.add {\n background: ${({ theme }) => theme.colors.primary.info};\n border: 1px solid ${({ theme }) => theme.colors.primary.info};\n svg {\n fill: #fff;\n }\n }\n &.remove {\n background: transparent;\n border: 1px solid ${({ theme }) => theme.colors.primary.info};\n svg {\n fill: ${({ theme }) => theme.colors.primary.info};\n }\n }\n }\n }\n\n @media not all and (pointer: coarse) {\n .collection-button-wrapper {\n &:hover {\n .collection-button {\n transform: scale(1.2);\n }\n }\n }\n }\n\n @media only screen and (pointer: coarse) {\n &.row {\n height: 63px;\n }\n }\n`\n\nexport default StyledCollectionItem\n","import storage from \"redux-persist/es/storage\"\nimport { persistReducer } from \"redux-persist\"\nimport { maxCollectionLimit } from \"../helpers\"\n\nconst collectionReducer = (\n collectionState = {\n collectionMode: false,\n collectionTypes: [],\n collectionList: {},\n collectionPanelVisible: false,\n savedCollections: {},\n workPanelOpen: false,\n currentConfigId: null,\n collectionCounts: {},\n collectionLimitReached: false,\n },\n action\n) => {\n switch (action.type) {\n case \"COLLECTION_MODE_START\":\n return {\n ...collectionState,\n collectionMode: action.payload,\n }\n case \"COLLECTION_MODE_END\":\n return {\n ...collectionState,\n collectionPanelVisible: false,\n collectionMode: false,\n collectionTypes: [],\n collectionList: {},\n collectionCounts: {},\n }\n case \"COLLECTION_LIST_SAVE\":\n const originSaveId = collectionState.collectionMode.originId\n return {\n ...collectionState,\n savedCollections: {\n ...collectionState.savedCollections,\n [originSaveId]: collectionState.collectionList[originSaveId],\n },\n }\n case \"COLLECTION_LIST_LOAD\":\n return {\n ...collectionState,\n collectionList: action.payload,\n }\n case \"COLLECTION_TYPE_ADD\":\n return {\n ...collectionState,\n collectionTypes: [...collectionState.collectionTypes, ...action.payload],\n }\n case \"COLLECTION_TYPE_CLEAR\":\n return {\n ...collectionState,\n collectionTypes: [],\n }\n case \"COLLECTION_LIST_ADD\":\n const originAddId = collectionState.collectionMode.originId\n const currentListCount = collectionState.collectionCounts[originAddId]\n if (currentListCount >= maxCollectionLimit) return { ...collectionState }\n const list = collectionState.collectionList[originAddId]\n ? [...collectionState.collectionList[originAddId], action.payload]\n : [action.payload]\n\n return {\n ...collectionState,\n collectionList: {\n ...collectionState.collectionList,\n [originAddId]: list,\n },\n }\n\n case \"COLLECTION_LIST_REMOVE\":\n const originRemoveId = collectionState.collectionMode.originId\n return {\n ...collectionState,\n collectionList: {\n ...collectionState.collectionList,\n [originRemoveId]: [...collectionState.collectionList[originRemoveId]].filter(\n (cl) => cl.id !== action.payload\n ),\n },\n }\n case \"COLLECTION_LIST_REMOVE_SAVED\":\n const savedOriginId = action.payload.originId\n return {\n ...collectionState,\n savedCollections: {\n ...collectionState.savedCollections,\n [savedOriginId]: [...collectionState.savedCollections[savedOriginId]].filter(\n (cl) => cl.id !== action.payload.id\n ),\n },\n }\n case \"COLLECTION_LIST_CLEAR_SAVED\":\n const originId = action.payload.originId\n return {\n ...collectionState,\n savedCollections: {\n ...collectionState.savedCollections,\n [originId]: [],\n },\n }\n case \"COLLECTION_TEMP_LIST_CLEAN\":\n let cleanedTempCollection = { ...collectionState.collectionList }\n delete cleanedTempCollection[collectionState.collectionMode.originId]\n return {\n ...collectionState,\n collectionList: cleanedTempCollection,\n }\n case \"COLLECTION_SAVED_LIST_CLEAN\":\n let cleanedSavedCollection = { ...collectionState.savedCollections }\n delete cleanedSavedCollection[action.payload.originId]\n return {\n ...collectionState,\n savedCollections: cleanedSavedCollection,\n }\n\n case \"COLLECTION_PANEL_OPEN\":\n return { ...collectionState, collectionPanelVisible: true }\n\n case \"COLLECTION_PANEL_CLOSE\":\n return { ...collectionState, collectionPanelVisible: false }\n\n case \"COLLECTION_CLEAR\":\n return {\n collectionMode: false,\n collectionTypes: [],\n collectionList: {},\n collectionPanelVisible: false,\n savedCollections: {},\n collectionCounts: {},\n }\n\n case \"COLLECTION_WORK_PANEL_OPEN\":\n return { ...collectionState, workPanelOpen: true }\n\n case \"COLLECTION_WORK_PANEL_CLOSE\":\n return { ...collectionState, workPanelOpen: false }\n\n case \"COLLECTION_SET_CURRENT_CONFIG\":\n return { ...collectionState, currentConfigId: action.payload }\n\n case \"COLLECTION_COUNTS_SET\":\n return {\n ...collectionState,\n collectionCounts: { ...collectionState.collectionCounts, [action.payload.originId]: action.payload.count },\n }\n\n case \"COLLECTION_COUNTS_INCREASE\":\n const originCountIncreaseId = collectionState.collectionMode.originId\n\n return {\n ...collectionState,\n collectionCounts: {\n ...collectionState.collectionCounts,\n [originCountIncreaseId]: collectionState.collectionCounts[originCountIncreaseId]\n ? collectionState.collectionCounts[originCountIncreaseId] + 1\n : 1,\n },\n }\n\n case \"COLLECTION_COUNTS_DECREASE\":\n const originCountDecreaseId = collectionState.collectionMode.originId\n\n return {\n ...collectionState,\n collectionCounts: {\n ...collectionState.collectionCounts,\n [originCountDecreaseId]:\n collectionState.collectionCounts[originCountDecreaseId] &&\n collectionState.collectionCounts[originCountDecreaseId] > 0\n ? collectionState.collectionCounts[originCountDecreaseId] - 1\n : 0,\n },\n }\n\n default:\n return collectionState\n }\n}\n\nexport default persistReducer(\n {\n storage,\n key: \"collection\",\n },\n collectionReducer\n)\n"],"sourceRoot":""}