Commit 02b560c7 authored by wildfirecode13's avatar wildfirecode13

1

parent d050e1ed
......@@ -87,4 +87,4 @@ function removeCalendarEvent(json) {
// // bridge.callHandler('currentLocation', { '': 'currentLocation', 'body': str3 }, function () {
// // }) //ios获取定位
// // });
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/styles/main.e8cf3e75148993800e9d.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js/runtime-main.9ddcaf99.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js/vendors.33d53b6d.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js/main.28cd9ff5.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/styles/main.fb1e88722823c6f3ab3c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/js/runtime-main.33ab8d39.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/js/vendors.33d53b6d.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/js/main.54b67a1c.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(t,e,n){},"8TUu":function(t,e,n){var o=n("LboF"),a=n("Ftvq");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}},Ftvq:function(t,e,n){},k7yg:function(t,e,n){"use strict";n.r(e);var o,a=n("lwsE"),r=n.n(a),c=n("W8MJ"),i=n.n(c),l=n("7W2i"),s=n.n(l),u=n("a1gu"),p=n.n(u),d=n("Nsbk"),f=n.n(d),h=n("J4zp"),v=n.n(h),m=n("q1tI"),y=n.n(m),g=n("i8i4"),w=n.n(g),k=(n("mPlr"),n("8TUu"),n("TyAF")),E=n("RIqP"),L=n.n(E),b=n("aFzQ"),D={},I=Object(b.l)({popList:[],pushPop:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,a=this.popList.slice();a.push({key:t,data:e,isMulti:n}),a=a.sort((function(t,e){return(D[e.key]?D[e.key]:10)-(D[t.key]?D[t.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,L()(a))}else this.popList.push({key:t,data:e,isMulti:n})},closePop:function(t){if(t){var e,n=this.popList.slice();n=n.filter((function(e){return e.key!=t})),this.popList.clear(),(e=this.popList).push.apply(e,L()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=f()(t);if(e){var a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}var R={},C=Object(k.a)(o=function(t){s()(n,t);var e=O(n);function n(t){return r()(this,n),e.call(this,t)}return i()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t,e,n,o,a=Object(b.p)(I.popList);if(!a.length)return document.body.style.overflow="auto",y.a.createElement("section",null);if(a.length>1&&1==a[a.length-1].isMulti){var r=a[a.length-1];n=R[r.key],o=r.data}var c=a[0];return t=R[c.key],e=c.data,(t||n)&&(document.body.style.overflow="hidden"),y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},t&&y.a.createElement(t,{popData:e}),n&&y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},y.a.createElement(n,{popData:o})))}}]),n}(m.Component))||o,F=n("/2d7"),M=CFG.appID,J="202."+CFG.projectId+".0.0",N=[{ele:".test-md1",data:{dpm:"".concat(M,".110.5.1"),dcm:J,domain:"//embedlog.duiba.com.cn",appId:M},once:!1}];function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=f()(t);if(e){var a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}Object(F.a)({show:N,click:N});var T=function(t){s()(n,t);var e=S(n);function n(){return r()(this,n),e.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){console.warn("JSInterface",window.JSInterface);var t={pushIndex:1,title:"测试标题",startDate:"2021-11-10 16:00",endTime:"5",alarmTime:"2",notes:""},e=[1,2,3],n=[["15","55"],["16","10"],["16","20"]];(e=e.map((function(t){return e=t,n=new Date,o=n.getFullYear(),a=n.getMonth()+1,r=n.getDate(),o.toString()+a.toString()+r.toString()+"_"+e.toString();var e,n,o,a,r}))).forEach((function(e,o){var a,r,c,i,l,s,u,p,d=JSON.parse(JSON.stringify(t));d.startDate=(a=n[o],r=v()(a,2),c=r[0],i=r[1],l=new Date,s=l.getFullYear(),u=l.getMonth()+1,p=l.getDate(),"".concat(s,"-").concat(u,"-").concat(p," ").concat(c,":").concat(i)),d.title="测试标题".concat(e),console.warn("eventId",e),console.warn("do addCalendarEvent 1",e);var f={callBackHandlerName:"addCalendarEvent1",eventId:e,title:d.title,startDate:d.startDate,endTime:d.endTime,alarmTime:d.alarmTime,notes:d.notes};console.warn("json "+e,f),window.addCalendarEvent(f)})),window.addCalendarEvent1=function(t){var e;if(console.warn("哈哈 回调执行了,回调数据是: 2",t),e=(e=JSON.parse(t)).errorCode,console.warn(e),console.warn("000"==e),"000"==e){console.warn("???",e);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return y.a.createElement("div",null,y.a.createElement("div",null,"请在app.jsx中指定首页"),y.a.createElement(C,null))}}]),n}(m.Component);w.a.render(y.a.createElement(T,null),document.getElementById("root"))},mPlr:function(t,e,n){var o=n("LboF"),a=n("+2NO");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.28cd9ff5.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/modal/modal.less","webpack:///./src/store/modal.js","webpack:///./src/modal/modal.jsx","webpack:///./MD.js","webpack:///./src/app.jsx","webpack:///./src/app.less"],"names":["api","content","__esModule","default","module","i","options","exports","locals","modalIndex","modalStore","makeAutoObservable","popList","pushPop","key","data","isMulti","this","length","cacheList","slice","push","sort","a","b","clear","closePop","filter","obj","shift","closePopAll","cfg","Modal","observer","props","PopUp","popData","PopUpMulti","popUpMultiData","list","toJS","document","body","style","overflow","popObj2","popObj","className","zIndex","display","Component","appId","CFG","appID","dcm","projectId","MDList","ele","dpm","domain","once","MD","show","click","App","console","warn","window","JSInterface","TEMPLATE","pushIndex","title","startDate","endTime","alarmTime","notes","eventIds","startHours","map","id","pushId","now","Date","year","getFullYear","month","getMonth","day","getDate","toString","forEach","eventId","index","hours","min","pushData","JSON","parse","stringify","json","code","errorCode","addCalendarEvent1","Event","dispatchEvent","ReactDOM","render","getElementById"],"mappings":"yGAAA,IAAIA,EAAM,EAAQ,QACFC,EAAU,EAAQ,QAIC,iBAFvBA,EAAUA,EAAQC,WAAaD,EAAQE,QAAUF,KAG/CA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAG9C,IAAIK,EAAU,CAEd,OAAiB,OACjB,WAAoB,GAEPN,EAAIC,EAASK,GAI1BF,EAAOG,QAAUN,EAAQO,QAAU,I,iTCd7BC,EAAa,GAuC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\"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../../node_modules/css-loader/dist/cjs.js??ref--4-2!../../node_modules/postcss-loader/src/index.js??ref--4-3!../../node_modules/less-loader/dist/cjs.js??ref--4-4!./modal.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","import { makeAutoObservable,toJS } from 'mobx';\n\n//此处配置页面的优先级,越大优先级越高\n// PopIndex:11\nconst modalIndex = {\n\n}\n\nconst modalStore = makeAutoObservable({\n popList: [],\n /**\n * \n * @param {*} key 弹窗名,一般是类名的字符串\n * @param {*} data 需要传递的数据,弹窗中使用 const {popData} = props; 获取\n * @param {*} isMulti 是否是二级弹窗,在不关闭已有弹窗的基础上,弹出当前弹窗。注意,如果是二级弹窗,关闭时必须传key\n */\n pushPop(key, data,isMulti=false) {\n if (this.popList.length) {\n let cacheList = this.popList.slice();\n cacheList.push({ key, data,isMulti });\n cacheList = cacheList.sort((a, b) => ((modalIndex[b.key] ? modalIndex[b.key] : 10) - (modalIndex[a.key] ? modalIndex[a.key] : 10)))\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.push({ key, data,isMulti });\n }\n // console.log(\"this.popList:::\",toJS(this.popList));\n },\n closePop(key) {\n if (key) {\n let cacheList = this.popList.slice();\n cacheList = cacheList.filter(obj => (obj.key != key));\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.shift();\n }\n },\n closePopAll() {\n this.popList.clear();\n }\n\n});\nexport default modalStore;\n","import React, { Component } from \"react\";\n\nimport './modal.less';\nimport { observer } from 'mobx-react';\nimport modalStore from '../store/modal';\nimport { toJS } from 'mobx';\nexport const cfg = {\n \n};\n\n@observer\nclass Modal extends Component {\n constructor(props) {\n super(props);\n }\n\n componentDidMount() { }\n\n render() {\n const list = toJS(modalStore.popList);\n \n if (!list.length) {\n //TODO:此处根据需要自行修改\n document.body.style.overflow='auto';\n return <section></section>;\n }\n let PopUp, popData, PopUpMulti, popUpMultiData;\n\n if (list.length > 1 && list[list.length - 1].isMulti == true) {\n const popObj2 = list[list.length - 1];\n PopUpMulti = cfg[popObj2.key];\n popUpMultiData = popObj2.data;\n\n }\n const popObj = list[0];\n PopUp = cfg[popObj.key];\n popData = popObj.data;\n\n if (PopUp || PopUpMulti) {\n document.body.style.overflow='hidden';\n } \n\n return <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}>\n {PopUp && <PopUp popData={popData} />}\n {PopUpMulti && <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}><PopUpMulti popData={popUpMultiData} />\n </section>}\n </section>;\n }\n\n}\n\nexport default Modal;","import MD from 'spark-utils/out/md/index.js';\n\nlet appId = CFG.appID;\nconst dcm = '202.' + CFG.projectId + '.0.0';\nconst domain = '//embedlog.duiba.com.cn';\n\nlet MDList = [\n {\n ele: `.test-md1`,\n data: {\n dpm: `${appId}.110.5.1`,\n dcm,\n domain,\n appId\n },\n once: false\n }\n];\n\nexport default () =>\n MD({\n show: MDList, // 曝光\n click: MDList // 点击\n });\n","import React, { Component } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./app.less\";\nimport Modal from './modal/modal';\nimport MD from '../MD';\nMD();\n\n//此处为spark-cli动态生成\n\nfunction getEventId(pushId) {\n var now = new Date();\n var year = now.getFullYear();\n var month = now.getMonth() + 1;\n var day = now.getDate();\n var eventId = year.toString() + month.toString() + day.toString() + '_' + pushId.toString()\n return eventId;\n}\n\nfunction getStartDate([hours, min]) {\n var now = new Date();\n var year = now.getFullYear();\n var month = now.getMonth() + 1;\n var day = now.getDate();\n return `${year}-${month}-${day} ${hours}:${min}`\n}\nclass App extends Component {\n componentDidMount() {\n\n console.warn('JSInterface', window.JSInterface);\n\n const endTime = '5';\n const alarmTime = '2';\n\n var TEMPLATE = {\n pushIndex: 1,\n title: \"测试标题\",\n startDate: \"2021-11-10 16:00\",\n endTime: endTime,\n alarmTime: alarmTime,\n notes: \"\"\n };\n\n let eventIds = [1, 2, 3];\n let startHours = [\n ['15', '55'],\n ['16', '10'],\n ['16', '20'],\n ];\n\n eventIds = eventIds.map(id => getEventId(id));\n\n\n eventIds.forEach((eventId, index) => {\n\n var pushData = JSON.parse(JSON.stringify(TEMPLATE));\n pushData.startDate = getStartDate(startHours[index]);\n pushData.title = `测试标题${eventId}`\n console.warn('eventId', eventId);\n\n console.warn(\"do addCalendarEvent 1\", eventId)\n\n var json = {\n \"callBackHandlerName\": \"addCalendarEvent1\", //必填项,用于返回成功状态及提示语\n \"eventId\": eventId, //必填项,删除事件时需要传入相同事件标识\n \"title\": pushData.title,\n \"startDate\": pushData.startDate,\n \"endTime\": pushData.endTime,\n \"alarmTime\": pushData.alarmTime,\n \"notes\": pushData.notes\n }\n\n console.warn('json ' + eventId, json)\n\n window['addCalendarEvent'](json)\n\n })\n\n\n window['addCalendarEvent1'] = function (data) {\n console.warn('哈哈 回调执行了,回调数据是: 2', data)\n\n var code;\n code = JSON.parse(data)\n code = code.errorCode\n\n console.warn(code)\n console.warn(code == \"000\")\n if (code == \"000\") {\n console.warn(\"???\", code)\n var addCalendarEvent1 = new Event(\"addCalendarEvent1\");\n\n document.dispatchEvent(addCalendarEvent1)\n }\n\n }\n\n }\n\n render() {\n return (\n <div>\n <div>请在app.jsx中指定首页</div>\n <Modal />\n </div>\n );\n }\n}\n\nReactDOM.render(<App />, document.getElementById(\"root\"));\n","var api = require(\"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../node_modules/css-loader/dist/cjs.js??ref--4-2!../node_modules/postcss-loader/src/index.js??ref--4-3!../node_modules/less-loader/dist/cjs.js??ref--4-4!./app.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(e,t,n){},"8TUu":function(e,t,n){var o=n("LboF"),a=n("Ftvq");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);e.exports=a.locals||{}},Ftvq:function(e,t,n){},k7yg:function(e,t,n){"use strict";n.r(t);var o,a=n("lwsE"),r=n.n(a),c=n("W8MJ"),i=n.n(c),l=n("7W2i"),s=n.n(l),u=n("a1gu"),p=n.n(u),d=n("Nsbk"),f=n.n(d),v=n("J4zp"),h=n.n(v),m=n("q1tI"),y=n.n(m),g=n("i8i4"),w=n.n(g),E=(n("mPlr"),n("8TUu"),n("TyAF")),k=n("RIqP"),L=n.n(k),b=n("aFzQ"),C={},D=Object(b.l)({popList:[],pushPop:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,a=this.popList.slice();a.push({key:e,data:t,isMulti:n}),a=a.sort((function(e,t){return(C[t.key]?C[t.key]:10)-(C[e.key]?C[e.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,L()(a))}else this.popList.push({key:e,data:t,isMulti:n})},closePop:function(e){if(e){var t,n=this.popList.slice();n=n.filter((function(t){return t.key!=e})),this.popList.clear(),(t=this.popList).push.apply(t,L()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}var O={},R=Object(E.a)(o=function(e){s()(n,e);var t=I(n);function n(e){return r()(this,n),t.call(this,e)}return i()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e,t,n,o,a=Object(b.p)(D.popList);if(!a.length)return document.body.style.overflow="auto",y.a.createElement("section",null);if(a.length>1&&1==a[a.length-1].isMulti){var r=a[a.length-1];n=O[r.key],o=r.data}var c=a[0];return e=O[c.key],t=c.data,(e||n)&&(document.body.style.overflow="hidden"),y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:D.popList.length?1e3:-1,display:D.popList.length?"block":"none"}},e&&y.a.createElement(e,{popData:t}),n&&y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:D.popList.length?1e3:-1,display:D.popList.length?"block":"none"}},y.a.createElement(n,{popData:o})))}}]),n}(m.Component))||o,F=n("/2d7"),J=CFG.appID,M="202."+CFG.projectId+".0.0",N=[{ele:".test-md1",data:{dpm:"".concat(J,".110.5.1"),dcm:M,domain:"//embedlog.duiba.com.cn",appId:J},once:!1}];function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}Object(F.a)({show:N,click:N});var T=function(e){s()(n,e);var t=S(n);function n(){return r()(this,n),t.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){console.warn("JSInterface",window.JSInterface);var e={pushIndex:1,title:"测试标题",startDate:"2021-11-10 16:00",endTime:"5",alarmTime:"2",notes:""},t=[1,2,3],n=[["15","55"],["16","10"],["16","20"]];(t=t.map((function(e){return t=e,n=new Date,o=n.getFullYear(),a=n.getMonth()+1,r=n.getDate(),o.toString()+a.toString()+r.toString()+"_"+t.toString();var t,n,o,a,r}))).forEach((function(t,o){var a,r,c,i,l,s,u,p,d=JSON.parse(JSON.stringify(e));d.startDate=(a=n[o],r=h()(a,2),c=r[0],i=r[1],l=new Date,s=l.getFullYear(),u=l.getMonth()+1,p=l.getDate(),"".concat(s,"-").concat(u,"-").concat(p," ").concat(c,":").concat(i)),d.title="测试标题".concat(t),console.warn("eventId",t),console.warn("do addCalendarEvent 1",t);var f={callBackHandlerName:"addCalendarEvent1",eventId:t,title:d.title,startDate:d.startDate,endTime:d.endTime,alarmTime:d.alarmTime,notes:d.notes};console.warn("json "+t,f),window.addCalendarEvent(f)})),window.removeCalendarEvent1=function(e){if(console.warn("哈哈 删除回调执行了,回调数据是: 3",e),"000"==JSON.parse(e).errorCode){var t=new Event("removeCalendarEvent1");document.dispatchEvent(t)}},window.addCalendarEvent1=function(e){var t;if(console.warn("哈哈 添加回调执行了,回调数据是: 2",e),t=(t=JSON.parse(e)).errorCode,console.warn(t),console.warn("000"==t),"000"==t){console.warn("???",t);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return y.a.createElement("div",null,y.a.createElement("div",null,"请在app.jsx中指定首页"),y.a.createElement(R,null))}}]),n}(m.Component);w.a.render(y.a.createElement(T,null),document.getElementById("root"))},mPlr:function(e,t,n){var o=n("LboF"),a=n("+2NO");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);e.exports=a.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.54b67a1c.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/modal/modal.less","webpack:///./src/store/modal.js","webpack:///./src/modal/modal.jsx","webpack:///./MD.js","webpack:///./src/app.jsx","webpack:///./src/app.less"],"names":["api","content","__esModule","default","module","i","options","exports","locals","modalIndex","modalStore","makeAutoObservable","popList","pushPop","key","data","isMulti","this","length","cacheList","slice","push","sort","a","b","clear","closePop","filter","obj","shift","closePopAll","cfg","Modal","observer","props","PopUp","popData","PopUpMulti","popUpMultiData","list","toJS","document","body","style","overflow","popObj2","popObj","className","zIndex","display","Component","appId","CFG","appID","dcm","projectId","MDList","ele","dpm","domain","once","MD","show","click","App","console","warn","window","JSInterface","TEMPLATE","pushIndex","title","startDate","endTime","alarmTime","notes","eventIds","startHours","map","id","pushId","now","Date","year","getFullYear","month","getMonth","day","getDate","toString","forEach","eventId","index","hours","min","pushData","JSON","parse","stringify","json","errorCode","removeCalendarEvent1","Event","dispatchEvent","code","addCalendarEvent1","ReactDOM","render","getElementById"],"mappings":"yGAAA,IAAIA,EAAM,EAAQ,QACFC,EAAU,EAAQ,QAIC,iBAFvBA,EAAUA,EAAQC,WAAaD,EAAQE,QAAUF,KAG/CA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAG9C,IAAIK,EAAU,CAEd,OAAiB,OACjB,WAAoB,GAEPN,EAAIC,EAASK,GAI1BF,EAAOG,QAAUN,EAAQO,QAAU,I,iTCd7BC,EAAa,GAuCJC,EAnCIC,YAAmB,CACpCC,QAAS,GAOTC,QARoC,SAQ5BC,EAAKC,GAAoB,IAAfC,EAAe,wDAC/B,GAAIC,KAAKL,QAAQM,OAAQ,OACnBC,EAAYF,KAAKL,QAAQQ,QAC7BD,EAAUE,KAAK,CAAEP,MAAKC,OAAKC,YAC3BG,EAAYA,EAAUG,MAAK,SAACC,EAAGC,GAAJ,OAAYf,EAAWe,EAAEV,KAAOL,EAAWe,EAAEV,KAAO,KAAOL,EAAWc,EAAET,KAAOL,EAAWc,EAAET,KAAO,OAC9HG,KAAKL,QAAQa,SACb,EAAAR,KAAKL,SAAQS,KAAb,YAAqBF,SAErBF,KAAKL,QAAQS,KAAK,CAAEP,MAAKC,OAAKC,aAIlCU,SApBoC,SAoB3BZ,GACP,GAAIA,EAAK,O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,EAASQ,GAEhChC,OAAM,iBAAqBgC,MAgB7BhC,OAAM,qBAA2B,SAAUpD,GAOzC,GANAkD,QAAQC,KAAK,sBAAuBnD,GAMxB,OAJLiF,KAAKC,MAAMlF,GACNqF,UAGO,CACjB,IAAIC,EAAuB,IAAIC,MAAM,wBACrC7D,SAAS8D,cAAcF,KAK3BlC,OAAM,kBAAwB,SAAUpD,GAGtC,IAAIyF,EAMJ,GARAvC,QAAQC,KAAK,sBAAuBnD,GAIpCyF,GADAA,EAAOR,KAAKC,MAAMlF,IACNqF,UAEZnC,QAAQC,KAAKsC,GACbvC,QAAQC,KAAa,OAARsC,GACD,OAARA,EAAe,CACjBvC,QAAQC,KAAK,MAAOsC,GACpB,IAAIC,EAAoB,IAAIH,MAAM,qBAElC7D,SAAS8D,cAAcE,O,oBAO7B,WACE,OACE,6BACE,+CACA,kBAAC,EAAD,W,GAtGUvD,aA4GlBwD,IAASC,OAAO,kBAAC,EAAD,MAASlE,SAASmE,eAAe,U,qBCrIjD,IAAI5G,EAAM,EAAQ,QACFC,EAAU,EAAQ,QAIC,iBAFvBA,EAAUA,EAAQC,WAAaD,EAAQE,QAAUF,KAG/CA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAG9C,IAAIK,EAAU,CAEd,OAAiB,OACjB,WAAoB,GAEPN,EAAIC,EAASK,GAI1BF,EAAOG,QAAUN,EAAQO,QAAU,K","file":"js/main.54b67a1c.js","sourcesContent":["var api = require(\"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../../node_modules/css-loader/dist/cjs.js??ref--4-2!../../node_modules/postcss-loader/src/index.js??ref--4-3!../../node_modules/less-loader/dist/cjs.js??ref--4-4!./modal.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","import { makeAutoObservable,toJS } from 'mobx';\n\n//此处配置页面的优先级,越大优先级越高\n// PopIndex:11\nconst modalIndex = {\n\n}\n\nconst modalStore = makeAutoObservable({\n popList: [],\n /**\n * \n * @param {*} key 弹窗名,一般是类名的字符串\n * @param {*} data 需要传递的数据,弹窗中使用 const {popData} = props; 获取\n * @param {*} isMulti 是否是二级弹窗,在不关闭已有弹窗的基础上,弹出当前弹窗。注意,如果是二级弹窗,关闭时必须传key\n */\n pushPop(key, data,isMulti=false) {\n if (this.popList.length) {\n let cacheList = this.popList.slice();\n cacheList.push({ key, data,isMulti });\n cacheList = cacheList.sort((a, b) => ((modalIndex[b.key] ? modalIndex[b.key] : 10) - (modalIndex[a.key] ? modalIndex[a.key] : 10)))\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.push({ key, data,isMulti });\n }\n // console.log(\"this.popList:::\",toJS(this.popList));\n },\n closePop(key) {\n if (key) {\n let cacheList = this.popList.slice();\n cacheList = cacheList.filter(obj => (obj.key != key));\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.shift();\n }\n },\n closePopAll() {\n this.popList.clear();\n }\n\n});\nexport default modalStore;\n","import React, { Component } from \"react\";\n\nimport './modal.less';\nimport { observer } from 'mobx-react';\nimport modalStore from '../store/modal';\nimport { toJS } from 'mobx';\nexport const cfg = {\n \n};\n\n@observer\nclass Modal extends Component {\n constructor(props) {\n super(props);\n }\n\n componentDidMount() { }\n\n render() {\n const list = toJS(modalStore.popList);\n \n if (!list.length) {\n //TODO:此处根据需要自行修改\n document.body.style.overflow='auto';\n return <section></section>;\n }\n let PopUp, popData, PopUpMulti, popUpMultiData;\n\n if (list.length > 1 && list[list.length - 1].isMulti == true) {\n const popObj2 = list[list.length - 1];\n PopUpMulti = cfg[popObj2.key];\n popUpMultiData = popObj2.data;\n\n }\n const popObj = list[0];\n PopUp = cfg[popObj.key];\n popData = popObj.data;\n\n if (PopUp || PopUpMulti) {\n document.body.style.overflow='hidden';\n } \n\n return <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}>\n {PopUp && <PopUp popData={popData} />}\n {PopUpMulti && <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}><PopUpMulti popData={popUpMultiData} />\n </section>}\n </section>;\n }\n\n}\n\nexport default Modal;","import MD from 'spark-utils/out/md/index.js';\n\nlet appId = CFG.appID;\nconst dcm = '202.' + CFG.projectId + '.0.0';\nconst domain = '//embedlog.duiba.com.cn';\n\nlet MDList = [\n {\n ele: `.test-md1`,\n data: {\n dpm: `${appId}.110.5.1`,\n dcm,\n domain,\n appId\n },\n once: false\n }\n];\n\nexport default () =>\n MD({\n show: MDList, // 曝光\n click: MDList // 点击\n });\n","import React, { Component } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./app.less\";\nimport Modal from './modal/modal';\nimport MD from '../MD';\nMD();\n\n//此处为spark-cli动态生成\n\nfunction getEventId(pushId) {\n var now = new Date();\n var year = now.getFullYear();\n var month = now.getMonth() + 1;\n var day = now.getDate();\n var eventId = year.toString() + month.toString() + day.toString() + '_' + pushId.toString()\n return eventId;\n}\n\nfunction getStartDate([hours, min]) {\n var now = new Date();\n var year = now.getFullYear();\n var month = now.getMonth() + 1;\n var day = now.getDate();\n return `${year}-${month}-${day} ${hours}:${min}`\n}\nclass App extends Component {\n componentDidMount() {\n\n console.warn('JSInterface', window.JSInterface);\n\n const endTime = '5';\n const alarmTime = '2';\n\n var TEMPLATE = {\n pushIndex: 1,\n title: \"测试标题\",\n startDate: \"2021-11-10 16:00\",\n endTime: endTime,\n alarmTime: alarmTime,\n notes: \"\"\n };\n\n let eventIds = [1, 2, 3];\n let startHours = [\n ['15', '55'],\n ['16', '10'],\n ['16', '20'],\n ];\n\n eventIds = eventIds.map(id => getEventId(id));\n\n\n eventIds.forEach((eventId, index) => {\n\n var pushData = JSON.parse(JSON.stringify(TEMPLATE));\n pushData.startDate = getStartDate(startHours[index]);\n pushData.title = `测试标题${eventId}`\n console.warn('eventId', eventId);\n\n console.warn(\"do addCalendarEvent 1\", eventId)\n\n var json = {\n \"callBackHandlerName\": \"addCalendarEvent1\", //必填项,用于返回成功状态及提示语\n \"eventId\": eventId, //必填项,删除事件时需要传入相同事件标识\n \"title\": pushData.title,\n \"startDate\": pushData.startDate,\n \"endTime\": pushData.endTime,\n \"alarmTime\": pushData.alarmTime,\n \"notes\": pushData.notes\n }\n\n console.warn('json ' + eventId, json)\n \n window['addCalendarEvent'](json)\n \n // var json1 = {\n // \"callBackHandlerName\": \"removeCalendarEvent1\",\n // \"eventId\": eventId,\n // \"title\": pushData.title,\n // \"startDate\": pushData.startDate,\n // \"endTime\": pushData.endTime,\n // \"alarmTime\": pushData.alarmTime,\n // \"notes\": pushData.notes\n // }\n // console.warn('准备删除数据 json1 ' + eventId, json1);\n // window['removeCalendarEvent'](json1);\n\n })\n\n window['removeCalendarEvent1'] = function (data) {\n console.warn('哈哈 删除回调执行了,回调数据是: 3', data)\n var code;\n code = JSON.parse(data)\n code = code.errorCode\n console.log(code)\n console.log(code == \"000\")\n if (code == \"000\") {\n var removeCalendarEvent1 = new Event(\"removeCalendarEvent1\");\n document.dispatchEvent(removeCalendarEvent1)\n }\n }\n\n\n window['addCalendarEvent1'] = function (data) {\n console.warn('哈哈 添加回调执行了,回调数据是: 2', data)\n\n var code;\n code = JSON.parse(data)\n code = code.errorCode\n\n console.warn(code)\n console.warn(code == \"000\")\n if (code == \"000\") {\n console.warn(\"???\", code)\n var addCalendarEvent1 = new Event(\"addCalendarEvent1\");\n\n document.dispatchEvent(addCalendarEvent1)\n }\n\n }\n\n }\n\n render() {\n return (\n <div>\n <div>请在app.jsx中指定首页</div>\n <Modal />\n </div>\n );\n }\n}\n\nReactDOM.render(<App />, document.getElementById(\"root\"));\n","var api = require(\"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../node_modules/css-loader/dist/cjs.js??ref--4-2!../node_modules/postcss-loader/src/index.js??ref--4-3!../node_modules/less-loader/dist/cjs.js??ref--4-4!./app.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.9ddcaf99.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.33ab8d39.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GAC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ON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRvB,EAAoB2B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoBS,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRX,EAAoBY,EAAI,SAASgB,EAAQC,GAAY,OAAO/C,OAAOC,UAAUC,eAAeC,KAAK2C,EAAQC,IAGzG7B,EAAoB8B,EAAI,uDAExB,IAAIC,EAAaC,OAAqB,aAAIA,OAAqB,cAAK,GAChEC,EAAmBF,EAAW5C,KAAKuC,KAAKK,GAC5CA,EAAW5C,KAAOf,EAClB2D,EAAaA,EAAWG,QACxB,IAAI,IAAIvD,EAAI,EAAGA,EAAIoD,EAAWlD,OAAQF,IAAKP,EAAqB2D,EAAWpD,IAC3E,IAAIU,EAAsB4C,EAI1BxC,I","file":"js/runtime-main.9ddcaf99.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoB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ASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoBS,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRX,EAAoBY,EAAI,SAASgB,EAAQC,GAAY,OAAO/C,OAAOC,UAAUC,eAAeC,KAAK2C,EAAQC,IAGzG7B,EAAoB8B,EAAI,uDAExB,IAAIC,EAAaC,OAAqB,aAAIA,OAAqB,cAAK,GAChEC,EAAmBF,EAAW5C,KAAKuC,KAAKK,GAC5CA,EAAW5C,KAAOf,EAClB2D,EAAaA,EAAWG,QACxB,IAAI,IAAIvD,EAAI,EAAGA,EAAIoD,EAAWlD,OAAQF,IAAKP,EAAqB2D,EAAWpD,IAC3E,IAAIU,EAAsB4C,EAI1BxC,I","file":"js/runtime-main.33ab8d39.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"//yun.duiba.com.cn/spark/v2/temp_base/1636531206903/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
......@@ -23,4 +23,4 @@ body {
z-index: 1000;
}
/*# sourceMappingURL=main.e8cf3e75148993800e9d.css.map*/
\ No newline at end of file
/*# sourceMappingURL=main.fb1e88722823c6f3ab3c.css.map*/
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.e8cf3e75148993800e9d.css","sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.fb1e88722823c6f3ab3c.css","sourceRoot":""}
\ No newline at end of file
......@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636530533846",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js"
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636531204554",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636531206903/js"
}
\ No newline at end of file
......@@ -73,11 +73,36 @@ class App extends Component {
window['addCalendarEvent'](json)
// var json1 = {
// "callBackHandlerName": "removeCalendarEvent1",
// "eventId": eventId,
// "title": pushData.title,
// "startDate": pushData.startDate,
// "endTime": pushData.endTime,
// "alarmTime": pushData.alarmTime,
// "notes": pushData.notes
// }
// console.warn('准备删除数据 json1 ' + eventId, json1);
// window['removeCalendarEvent'](json1);
})
window['removeCalendarEvent1'] = function (data) {
console.warn('哈哈 删除回调执行了,回调数据是: 3', data)
var code;
code = JSON.parse(data)
code = code.errorCode
console.log(code)
console.log(code == "000")
if (code == "000") {
var removeCalendarEvent1 = new Event("removeCalendarEvent1");
document.dispatchEvent(removeCalendarEvent1)
}
}
window['addCalendarEvent1'] = function (data) {
console.warn('哈哈 回调执行了,回调数据是: 2', data)
console.warn('哈哈 添加回调执行了,回调数据是: 2', data)
var code;
code = JSON.parse(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment