@vtx/modals2 2.6.27 → 2.6.28
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.
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _config = require("
|
|
8
|
+
var _config = require("../../config");
|
|
9
9
|
var _vmMap = _interopRequireDefault(require("../../../vm-map"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
11
|
var Left = function Left(_ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Left.js","names":["Left","classPrefix","mapLayers","currentLayer","legend","React","createElement","className","VmMap","mapPolygons","map","item","index","key","style","background","getColor","typeCode","opacity","typeName"],"sources":["vtx-facility-modal/components/OverView/Left.js"],"sourcesContent":["import React from 'react';\nimport { getColor } from '
|
|
1
|
+
{"version":3,"file":"Left.js","names":["Left","classPrefix","mapLayers","currentLayer","legend","React","createElement","className","VmMap","mapPolygons","map","item","index","key","style","background","getColor","typeCode","opacity","typeName"],"sources":["vtx-facility-modal/components/OverView/Left.js"],"sourcesContent":["import React from 'react';\nimport { getColor } from '../../config';\nimport VmMap from '../../../vm-map';\nconst Left = ({ classPrefix, mapLayers = [], currentLayer = {}, legend = [] }) => {\n return (React.createElement(\"div\", { className: `${classPrefix}-left` },\n React.createElement(\"div\", { className: `${classPrefix}-left-map` },\n React.createElement(VmMap, { mapPolygons: mapLayers, currentLayer: currentLayer })),\n React.createElement(\"div\", { className: `${classPrefix}-left-legend` }, legend === null || legend === void 0 ? void 0 : legend.map((item, index) => {\n return (React.createElement(\"div\", { className: `${classPrefix}-legendItem`, key: index },\n React.createElement(\"div\", { className: `${classPrefix}-icon` },\n React.createElement(\"div\", { className: `${classPrefix}-iconColor`, style: {\n background: getColor(item.typeCode),\n opacity: 0.7,\n } })),\n React.createElement(\"div\", { className: `${classPrefix}-name` }, item.typeName)));\n }))));\n};\nexport default Left;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAoC;AACpC,IAAMA,IAAI,GAAG,SAAPA,IAAI,OAAwE;EAAA,IAAlEC,WAAW,QAAXA,WAAW;IAAA,sBAAEC,SAAS;IAATA,SAAS,+BAAG,EAAE;IAAA,yBAAEC,YAAY;IAAZA,YAAY,kCAAG,CAAC,CAAC;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,EAAE;EACvE,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKN,WAAW;EAAQ,CAAC,eACnEI,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKN,WAAW;EAAY,CAAC,eAC/DI,iBAAK,CAACC,aAAa,CAACE,iBAAK,EAAE;IAAEC,WAAW,EAAEP,SAAS;IAAEC,YAAY,EAAEA;EAAa,CAAC,CAAC,CAAC,eACvFE,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKN,WAAW;EAAe,CAAC,EAAEG,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAACM,GAAG,CAAC,UAACC,IAAI,EAAEC,KAAK,EAAK;IAChJ,oBAAQP,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,YAAKN,WAAW,gBAAa;MAAEY,GAAG,EAAED;IAAM,CAAC,eACrFP,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,YAAKN,WAAW;IAAQ,CAAC,eAC3DI,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,YAAKN,WAAW,eAAY;MAAEa,KAAK,EAAE;QACnEC,UAAU,EAAE,IAAAC,gBAAQ,EAACL,IAAI,CAACM,QAAQ,CAAC;QACnCC,OAAO,EAAE;MACb;IAAE,CAAC,CAAC,CAAC,eACbb,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEC,SAAS,YAAKN,WAAW;IAAQ,CAAC,EAAEU,IAAI,CAACQ,QAAQ,CAAC,CAAC;EACxF,CAAC,CAAC,CAAC,CAAC;AACZ,CAAC;AAAC,eACanB,IAAI;AAAA"}
|