qauMaWeb/node_modules/.cache/babel-loader/1352705b79642350774e37d7e9d...

1 line
6.8 KiB
JSON
Raw Normal View History

2024-10-13 18:02:27 +08:00
{"ast":null,"code":"/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n\n/**\r\n * AUTO-GENERATED FILE. DO NOT MODIFY.\r\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// @ts-nocheck\nimport * as echarts from '../../core/echarts.js';\nimport { noop } from 'zrender/lib/core/util.js';\nvar ATTR = '\\0_ec_interaction_mutex';\nexport function take(zr, resourceKey, userKey) {\n var store = getStore(zr);\n store[resourceKey] = userKey;\n}\nexport function release(zr, resourceKey, userKey) {\n var store = getStore(zr);\n var uKey = store[resourceKey];\n\n if (uKey === userKey) {\n store[resourceKey] = null;\n }\n}\nexport function isTaken(zr, resourceKey) {\n return !!getStore(zr)[resourceKey];\n}\n\nfunction getStore(zr) {\n return zr[ATTR] || (zr[ATTR] = {});\n}\n/**\r\n * payload: {\r\n * type: 'takeGlobalCursor',\r\n * key: 'dataZoomSelect', or 'brush', or ...,\r\n * If no userKey, release global cursor.\r\n * }\r\n */\n// TODO: SELF REGISTERED.\n\n\necharts.registerAction({\n type: 'takeGlobalCursor',\n event: 'globalCursorTaken',\n update: 'update'\n}, noop);","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/component/helper/interactionMutex.js"],"names":["echarts","noop","ATTR","take","zr","resourceKey","userKey","store","getStore","release","uKey","isTaken","registerAction","type","event","update"],"mappings":"AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,OAAZ,MAAyB,uBAAzB;AACA,SAASC,IAAT,QAAqB,0BAArB;AACA,IAAIC,IAAI,GAAG,yBAAX;AACA,OAAO,SAASC,IAAT,CAAcC,EAAd,EAAkBC,WAAlB,EAA+BC,OAA/B,EAAwC;AAC7C,MAAIC,KAAK,GAAGC,QAAQ,CAACJ,EAAD,CAApB;AACAG,EAAAA,KAAK,CAACF,WAAD,CAAL,GAAqBC,OAArB;AACD;AACD,OAAO,SAASG,OAAT,CAAiBL,EAAjB,EAAqBC,WAArB,EAAkCC,OAAlC,EAA2C;AAChD,MAAIC,KAAK,GAAGC,QAAQ,CAACJ,EAAD,CAApB;AACA,MAAIM,IAAI,GAAGH,KAAK,CAACF,WAAD,CAAhB;;AAEA,MAAIK,IAAI,KAAKJ,OAAb,EAAsB;AACpBC,IAAAA,KAAK,CAACF,WAAD,CAAL,GAAqB,IAArB;AACD;AACF;AACD,OAAO,SAASM,OAAT,CAAiBP,EAAjB,EAAqBC,WAArB,EAAkC;AACvC,SAAO,CAAC,CAACG,QAAQ,CAACJ,EAAD,CAAR,CAAaC,WAAb,CAAT;AACD;;AAED,SAASG,QAAT,CAAkBJ,EAAlB,EAAsB;AACpB,SAAOA,EAAE,CAACF,IAAD,CAAF,KAAaE,EAAE,CAACF,IAAD,CAAF,GAAW,EAAxB,CAAP;AACD;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGAF,OAAO,CAACY,cAAR,CAAuB;AACrBC,EAAAA,IAAI,EAAE,kBADe