obvious-vue
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -7,4 +7,8 @@ # Changelog | ||
## [0.2.0] - 2021-08-18 | ||
### CHANGED | ||
- change the obvious-app's property name to ctx | ||
## [0.1.1] - 2021-05-31 | ||
### Fixed | ||
- fix some bugs |
{"/home/runner/work/obvious-vue/obvious-vue/src/index.js": {"path":"/home/runner/work/obvious-vue/obvious-vue/src/index.js","statementMap":{"0":{"start":{"line":7,"column":24},"end":{"line":7,"column":64}},"1":{"start":{"line":8,"column":4},"end":{"line":8,"column":57}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":62}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":58}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":63}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":20}},"6":{"start":{"line":13,"column":4},"end":{"line":13,"column":44}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":2},"end":{"line":6,"column":3}},"loc":{"start":{"line":6,"column":15},"end":{"line":14,"column":3}},"line":6}},"branchMap":{},"s":{"0":4,"1":4,"2":4,"3":4,"4":4,"5":4,"6":4},"f":{"0":4},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"3d8c62d24dc35845d7b348089b726f0a38d31ceb"} | ||
,"/home/runner/work/obvious-vue/obvious-vue/src/component/obvious-app.js": {"path":"/home/runner/work/obvious-vue/obvious-vue/src/component/obvious-app.js","statementMap":{"0":{"start":{"line":24,"column":4},"end":{"line":26,"column":5}},"1":{"start":{"line":31,"column":6},"end":{"line":31,"column":24}},"2":{"start":{"line":35,"column":8},"end":{"line":38,"column":10}},"3":{"start":{"line":45,"column":4},"end":{"line":45,"column":38}},"4":{"start":{"line":49,"column":4},"end":{"line":56,"column":6}},"5":{"start":{"line":53,"column":6},"end":{"line":53,"column":29}},"6":{"start":{"line":55,"column":6},"end":{"line":55,"column":30}},"7":{"start":{"line":60,"column":4},"end":{"line":67,"column":6}},"8":{"start":{"line":64,"column":6},"end":{"line":64,"column":29}},"9":{"start":{"line":66,"column":6},"end":{"line":66,"column":30}},"10":{"start":{"line":71,"column":4},"end":{"line":73,"column":6}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":15,"column":15},"end":{"line":15,"column":16}},"loc":{"start":{"line":15,"column":21},"end":{"line":15,"column":23}},"line":15},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":15},"end":{"line":19,"column":16}},"loc":{"start":{"line":19,"column":21},"end":{"line":19,"column":23}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":23,"column":2},"end":{"line":23,"column":3}},"loc":{"start":{"line":23,"column":9},"end":{"line":27,"column":3}},"line":23},"3":{"name":"(anonymous_3)","decl":{"start":{"line":30,"column":4},"end":{"line":30,"column":5}},"loc":{"start":{"line":30,"column":15},"end":{"line":32,"column":5}},"line":30},"4":{"name":"(anonymous_4)","decl":{"start":{"line":34,"column":6},"end":{"line":34,"column":7}},"loc":{"start":{"line":34,"column":21},"end":{"line":39,"column":7}},"line":34},"5":{"name":"(anonymous_5)","decl":{"start":{"line":44,"column":2},"end":{"line":44,"column":3}},"loc":{"start":{"line":44,"column":12},"end":{"line":46,"column":3}},"line":44},"6":{"name":"(anonymous_6)","decl":{"start":{"line":48,"column":2},"end":{"line":48,"column":3}},"loc":{"start":{"line":48,"column":12},"end":{"line":57,"column":3}},"line":48},"7":{"name":"(anonymous_7)","decl":{"start":{"line":52,"column":12},"end":{"line":52,"column":13}},"loc":{"start":{"line":52,"column":18},"end":{"line":54,"column":5}},"line":52},"8":{"name":"(anonymous_8)","decl":{"start":{"line":54,"column":13},"end":{"line":54,"column":14}},"loc":{"start":{"line":54,"column":22},"end":{"line":56,"column":5}},"line":54},"9":{"name":"(anonymous_9)","decl":{"start":{"line":59,"column":2},"end":{"line":59,"column":3}},"loc":{"start":{"line":59,"column":18},"end":{"line":68,"column":3}},"line":59},"10":{"name":"(anonymous_10)","decl":{"start":{"line":63,"column":12},"end":{"line":63,"column":13}},"loc":{"start":{"line":63,"column":18},"end":{"line":65,"column":5}},"line":63},"11":{"name":"(anonymous_11)","decl":{"start":{"line":65,"column":13},"end":{"line":65,"column":14}},"loc":{"start":{"line":65,"column":22},"end":{"line":67,"column":5}},"line":65},"12":{"name":"(anonymous_12)","decl":{"start":{"line":70,"column":2},"end":{"line":70,"column":3}},"loc":{"start":{"line":70,"column":12},"end":{"line":74,"column":3}},"line":70}},"branchMap":{"0":{"loc":{"start":{"line":45,"column":17},"end":{"line":45,"column":38}},"type":"binary-expr","locations":[{"start":{"line":45,"column":17},"end":{"line":45,"column":25}},{"start":{"line":45,"column":29},"end":{"line":45,"column":38}}],"line":45}},"s":{"0":1,"1":0,"2":1,"3":1,"4":1,"5":1,"6":0,"7":1,"8":1,"9":0,"10":1},"f":{"0":0,"1":0,"2":1,"3":0,"4":1,"5":1,"6":1,"7":1,"8":0,"9":1,"10":1,"11":0,"12":1},"b":{"0":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"15cc20ace824b3beff13d571a697a2ff4a96ec4a"} | ||
,"/home/runner/work/obvious-vue/obvious-vue/src/component/obvious-app.js": {"path":"/home/runner/work/obvious-vue/obvious-vue/src/component/obvious-app.js","statementMap":{"0":{"start":{"line":13,"column":8},"end":{"line":13,"column":75}},"1":{"start":{"line":28,"column":4},"end":{"line":30,"column":5}},"2":{"start":{"line":35,"column":6},"end":{"line":39,"column":7}},"3":{"start":{"line":36,"column":8},"end":{"line":36,"column":23}},"4":{"start":{"line":38,"column":8},"end":{"line":38,"column":28}},"5":{"start":{"line":45,"column":6},"end":{"line":45,"column":24}},"6":{"start":{"line":49,"column":8},"end":{"line":52,"column":10}},"7":{"start":{"line":59,"column":4},"end":{"line":59,"column":38}},"8":{"start":{"line":63,"column":4},"end":{"line":70,"column":6}},"9":{"start":{"line":67,"column":6},"end":{"line":67,"column":29}},"10":{"start":{"line":69,"column":6},"end":{"line":69,"column":30}},"11":{"start":{"line":74,"column":4},"end":{"line":81,"column":6}},"12":{"start":{"line":78,"column":6},"end":{"line":78,"column":29}},"13":{"start":{"line":80,"column":6},"end":{"line":80,"column":30}},"14":{"start":{"line":85,"column":4},"end":{"line":87,"column":6}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":12,"column":6},"end":{"line":12,"column":7}},"loc":{"start":{"line":12,"column":23},"end":{"line":14,"column":7}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":15},"end":{"line":19,"column":16}},"loc":{"start":{"line":19,"column":21},"end":{"line":19,"column":23}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":23,"column":15},"end":{"line":23,"column":16}},"loc":{"start":{"line":23,"column":21},"end":{"line":23,"column":23}},"line":23},"3":{"name":"(anonymous_3)","decl":{"start":{"line":27,"column":2},"end":{"line":27,"column":3}},"loc":{"start":{"line":27,"column":9},"end":{"line":31,"column":3}},"line":27},"4":{"name":"(anonymous_4)","decl":{"start":{"line":34,"column":4},"end":{"line":34,"column":5}},"loc":{"start":{"line":34,"column":11},"end":{"line":40,"column":5}},"line":34},"5":{"name":"(anonymous_5)","decl":{"start":{"line":44,"column":4},"end":{"line":44,"column":5}},"loc":{"start":{"line":44,"column":15},"end":{"line":46,"column":5}},"line":44},"6":{"name":"(anonymous_6)","decl":{"start":{"line":48,"column":6},"end":{"line":48,"column":7}},"loc":{"start":{"line":48,"column":21},"end":{"line":53,"column":7}},"line":48},"7":{"name":"(anonymous_7)","decl":{"start":{"line":58,"column":2},"end":{"line":58,"column":3}},"loc":{"start":{"line":58,"column":12},"end":{"line":60,"column":3}},"line":58},"8":{"name":"(anonymous_8)","decl":{"start":{"line":62,"column":2},"end":{"line":62,"column":3}},"loc":{"start":{"line":62,"column":12},"end":{"line":71,"column":3}},"line":62},"9":{"name":"(anonymous_9)","decl":{"start":{"line":66,"column":12},"end":{"line":66,"column":13}},"loc":{"start":{"line":66,"column":18},"end":{"line":68,"column":5}},"line":66},"10":{"name":"(anonymous_10)","decl":{"start":{"line":68,"column":13},"end":{"line":68,"column":14}},"loc":{"start":{"line":68,"column":22},"end":{"line":70,"column":5}},"line":68},"11":{"name":"(anonymous_11)","decl":{"start":{"line":73,"column":2},"end":{"line":73,"column":3}},"loc":{"start":{"line":73,"column":18},"end":{"line":82,"column":3}},"line":73},"12":{"name":"(anonymous_12)","decl":{"start":{"line":77,"column":12},"end":{"line":77,"column":13}},"loc":{"start":{"line":77,"column":18},"end":{"line":79,"column":5}},"line":77},"13":{"name":"(anonymous_13)","decl":{"start":{"line":79,"column":13},"end":{"line":79,"column":14}},"loc":{"start":{"line":79,"column":22},"end":{"line":81,"column":5}},"line":79},"14":{"name":"(anonymous_14)","decl":{"start":{"line":84,"column":2},"end":{"line":84,"column":3}},"loc":{"start":{"line":84,"column":12},"end":{"line":88,"column":3}},"line":84}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":15},"end":{"line":13,"column":75}},"type":"binary-expr","locations":[{"start":{"line":13,"column":15},"end":{"line":13,"column":40}},{"start":{"line":13,"column":45},"end":{"line":13,"column":60}},{"start":{"line":13,"column":64},"end":{"line":13,"column":74}}],"line":13},"1":{"loc":{"start":{"line":35,"column":6},"end":{"line":39,"column":7}},"type":"if","locations":[{"start":{"line":35,"column":6},"end":{"line":39,"column":7}},{"start":{"line":35,"column":6},"end":{"line":39,"column":7}}],"line":35},"2":{"loc":{"start":{"line":59,"column":17},"end":{"line":59,"column":38}},"type":"binary-expr","locations":[{"start":{"line":59,"column":17},"end":{"line":59,"column":25}},{"start":{"line":59,"column":29},"end":{"line":59,"column":38}}],"line":59}},"s":{"0":2,"1":1,"2":1,"3":1,"4":0,"5":0,"6":1,"7":1,"8":1,"9":1,"10":0,"11":1,"12":1,"13":0,"14":1},"f":{"0":2,"1":0,"2":0,"3":1,"4":1,"5":0,"6":1,"7":1,"8":1,"9":1,"10":0,"11":1,"12":1,"13":0,"14":1},"b":{"0":[2,0,0],"1":[1,0],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5dd0def2c0c62a5d29ea3787cea98f653dc5a5fc"} | ||
,"/home/runner/work/obvious-vue/obvious-vue/src/lib/broadcastMergeStrategy.js": {"path":"/home/runner/work/obvious-vue/obvious-vue/src/lib/broadcastMergeStrategy.js","statementMap":{"0":{"start":{"line":1,"column":23},"end":{"line":18,"column":1}},"1":{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},"2":{"start":{"line":3,"column":4},"end":{"line":3,"column":20}},"3":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":19}},"5":{"start":{"line":8,"column":17},"end":{"line":8,"column":26}},"6":{"start":{"line":9,"column":2},"end":{"line":16,"column":4}},"7":{"start":{"line":10,"column":4},"end":{"line":15,"column":5}},"8":{"start":{"line":11,"column":6},"end":{"line":11,"column":45}},"9":{"start":{"line":13,"column":31},"end":{"line":13,"column":71}},"10":{"start":{"line":14,"column":6},"end":{"line":14,"column":49}},"11":{"start":{"line":17,"column":2},"end":{"line":17,"column":15}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}},"loc":{"start":{"line":1,"column":52},"end":{"line":18,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":9,"column":32},"end":{"line":9,"column":33}},"loc":{"start":{"line":9,"column":47},"end":{"line":16,"column":3}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},"type":"if","locations":[{"start":{"line":2,"column":2},"end":{"line":4,"column":3}},{"start":{"line":2,"column":2},"end":{"line":4,"column":3}}],"line":2},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},{"start":{"line":5,"column":2},"end":{"line":7,"column":3}}],"line":5},"2":{"loc":{"start":{"line":10,"column":4},"end":{"line":15,"column":5}},"type":"if","locations":[{"start":{"line":10,"column":4},"end":{"line":15,"column":5}},{"start":{"line":10,"column":4},"end":{"line":15,"column":5}}],"line":10}},"s":{"0":4,"1":5,"2":2,"3":3,"4":2,"5":1,"6":1,"7":2,"8":1,"9":1,"10":1,"11":1},"f":{"0":5,"1":2},"b":{"0":[2,3],"1":[2,1],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e0692ea17f61ca9a19943ff3febdc7ddfde25363"} | ||
@@ -4,0 +4,0 @@ ,"/home/runner/work/obvious-vue/obvious-vue/src/lib/mixin.js": {"path":"/home/runner/work/obvious-vue/obvious-vue/src/lib/mixin.js","statementMap":{"0":{"start":{"line":3,"column":19},"end":{"line":6,"column":1}},"1":{"start":{"line":9,"column":26},"end":{"line":28,"column":1}},"2":{"start":{"line":10,"column":17},"end":{"line":10,"column":19}},"3":{"start":{"line":11,"column":2},"end":{"line":26,"column":3}},"4":{"start":{"line":12,"column":18},"end":{"line":12,"column":29}},"5":{"start":{"line":13,"column":4},"end":{"line":25,"column":5}},"6":{"start":{"line":14,"column":6},"end":{"line":16,"column":7}},"7":{"start":{"line":17,"column":11},"end":{"line":25,"column":5}},"8":{"start":{"line":18,"column":6},"end":{"line":22,"column":7}},"9":{"start":{"line":19,"column":8},"end":{"line":19,"column":27}},"10":{"start":{"line":21,"column":8},"end":{"line":21,"column":52}},"11":{"start":{"line":24,"column":6},"end":{"line":24,"column":64}},"12":{"start":{"line":27,"column":2},"end":{"line":27,"column":15}},"13":{"start":{"line":30,"column":20},"end":{"line":42,"column":1}},"14":{"start":{"line":31,"column":16},"end":{"line":31,"column":18}},"15":{"start":{"line":32,"column":2},"end":{"line":40,"column":3}},"16":{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},"17":{"start":{"line":36,"column":9},"end":{"line":40,"column":3}},"18":{"start":{"line":37,"column":4},"end":{"line":39,"column":5}},"19":{"start":{"line":41,"column":2},"end":{"line":41,"column":16}},"20":{"start":{"line":44,"column":21},"end":{"line":48,"column":1}},"21":{"start":{"line":45,"column":21},"end":{"line":45,"column":43}},"22":{"start":{"line":46,"column":20},"end":{"line":46,"column":64}},"23":{"start":{"line":47,"column":2},"end":{"line":47,"column":34}},"24":{"start":{"line":50,"column":28},"end":{"line":82,"column":1}},"25":{"start":{"line":51,"column":24},"end":{"line":51,"column":43}},"26":{"start":{"line":52,"column":18},"end":{"line":74,"column":3}},"27":{"start":{"line":53,"column":29},"end":{"line":53,"column":58}},"28":{"start":{"line":54,"column":21},"end":{"line":54,"column":44}},"29":{"start":{"line":55,"column":4},"end":{"line":69,"column":5}},"30":{"start":{"line":56,"column":26},"end":{"line":56,"column":34}},"31":{"start":{"line":57,"column":6},"end":{"line":68,"column":8}},"32":{"start":{"line":59,"column":8},"end":{"line":62,"column":9}},"33":{"start":{"line":60,"column":10},"end":{"line":60,"column":45}},"34":{"start":{"line":61,"column":10},"end":{"line":61,"column":42}},"35":{"start":{"line":63,"column":8},"end":{"line":63,"column":40}},"36":{"start":{"line":64,"column":8},"end":{"line":67,"column":9}},"37":{"start":{"line":65,"column":10},"end":{"line":65,"column":43}},"38":{"start":{"line":66,"column":10},"end":{"line":66,"column":43}},"39":{"start":{"line":71,"column":4},"end":{"line":73,"column":5}},"40":{"start":{"line":72,"column":6},"end":{"line":72,"column":57}},"41":{"start":{"line":75,"column":25},"end":{"line":78,"column":4}},"42":{"start":{"line":79,"column":26},"end":{"line":79,"column":47}},"43":{"start":{"line":80,"column":2},"end":{"line":80,"column":57}},"44":{"start":{"line":81,"column":2},"end":{"line":81,"column":40}},"45":{"start":{"line":84,"column":27},"end":{"line":103,"column":1}},"46":{"start":{"line":85,"column":2},"end":{"line":102,"column":4}},"47":{"start":{"line":86,"column":26},"end":{"line":86,"column":45}},"48":{"start":{"line":87,"column":4},"end":{"line":101,"column":6}},"49":{"start":{"line":88,"column":6},"end":{"line":88,"column":48}},"50":{"start":{"line":89,"column":22},"end":{"line":93,"column":7}},"51":{"start":{"line":91,"column":8},"end":{"line":91,"column":58}},"52":{"start":{"line":92,"column":8},"end":{"line":92,"column":36}},"53":{"start":{"line":94,"column":6},"end":{"line":94,"column":39}},"54":{"start":{"line":95,"column":6},"end":{"line":100,"column":7}},"55":{"start":{"line":106,"column":20},"end":{"line":125,"column":1}},"56":{"start":{"line":107,"column":15},"end":{"line":107,"column":17}},"57":{"start":{"line":108,"column":24},"end":{"line":108,"column":66}},"58":{"start":{"line":109,"column":2},"end":{"line":123,"column":3}},"59":{"start":{"line":110,"column":4},"end":{"line":115,"column":5}},"60":{"start":{"line":113,"column":8},"end":{"line":113,"column":43}},"61":{"start":{"line":116,"column":9},"end":{"line":123,"column":3}},"62":{"start":{"line":117,"column":4},"end":{"line":122,"column":5}},"63":{"start":{"line":120,"column":8},"end":{"line":120,"column":51}},"64":{"start":{"line":124,"column":2},"end":{"line":124,"column":15}},"65":{"start":{"line":127,"column":24},"end":{"line":137,"column":1}},"66":{"start":{"line":128,"column":17},"end":{"line":128,"column":19}},"67":{"start":{"line":129,"column":2},"end":{"line":135,"column":3}},"68":{"start":{"line":130,"column":4},"end":{"line":134,"column":5}},"69":{"start":{"line":131,"column":6},"end":{"line":131,"column":78}},"70":{"start":{"line":131,"column":50},"end":{"line":131,"column":77}},"71":{"start":{"line":132,"column":11},"end":{"line":134,"column":5}},"72":{"start":{"line":133,"column":6},"end":{"line":133,"column":58}},"73":{"start":{"line":136,"column":2},"end":{"line":136,"column":15}},"74":{"start":{"line":139,"column":22},"end":{"line":145,"column":1}},"75":{"start":{"line":140,"column":17},"end":{"line":140,"column":19}},"76":{"start":{"line":141,"column":2},"end":{"line":143,"column":3}},"77":{"start":{"line":142,"column":4},"end":{"line":142,"column":52}},"78":{"start":{"line":144,"column":2},"end":{"line":144,"column":15}},"79":{"start":{"line":147,"column":20},"end":{"line":152,"column":1}},"80":{"start":{"line":148,"column":30},"end":{"line":148,"column":36}},"81":{"start":{"line":149,"column":2},"end":{"line":151,"column":3}},"82":{"start":{"line":150,"column":4},"end":{"line":150,"column":43}},"83":{"start":{"line":154,"column":24},"end":{"line":163,"column":1}},"84":{"start":{"line":155,"column":2},"end":{"line":162,"column":3}},"85":{"start":{"line":156,"column":4},"end":{"line":161,"column":6}},"86":{"start":{"line":157,"column":30},"end":{"line":157,"column":47}},"87":{"start":{"line":158,"column":6},"end":{"line":160,"column":8}},"88":{"start":{"line":159,"column":8},"end":{"line":159,"column":60}},"89":{"start":{"line":165,"column":22},"end":{"line":172,"column":1}},"90":{"start":{"line":166,"column":2},"end":{"line":171,"column":3}},"91":{"start":{"line":167,"column":4},"end":{"line":170,"column":6}},"92":{"start":{"line":168,"column":21},"end":{"line":168,"column":38}},"93":{"start":{"line":169,"column":6},"end":{"line":169,"column":56}},"94":{"start":{"line":176,"column":4},"end":{"line":176,"column":46}},"95":{"start":{"line":177,"column":4},"end":{"line":177,"column":40}},"96":{"start":{"line":178,"column":4},"end":{"line":178,"column":29}},"97":{"start":{"line":179,"column":4},"end":{"line":181,"column":5}},"98":{"start":{"line":180,"column":6},"end":{"line":180,"column":45}},"99":{"start":{"line":182,"column":4},"end":{"line":184,"column":5}},"100":{"start":{"line":183,"column":6},"end":{"line":183,"column":48}},"101":{"start":{"line":185,"column":73},"end":{"line":185,"column":86}},"102":{"start":{"line":186,"column":4},"end":{"line":207,"column":5}},"103":{"start":{"line":187,"column":6},"end":{"line":187,"column":31}},"104":{"start":{"line":188,"column":59},"end":{"line":188,"column":72}},"105":{"start":{"line":189,"column":25},"end":{"line":189,"column":56}},"106":{"start":{"line":190,"column":26},"end":{"line":190,"column":67}},"107":{"start":{"line":191,"column":21},"end":{"line":191,"column":51}},"108":{"start":{"line":192,"column":6},"end":{"line":206,"column":8}},"109":{"start":{"line":193,"column":47},"end":{"line":193,"column":63}},"110":{"start":{"line":194,"column":23},"end":{"line":194,"column":69}},"111":{"start":{"line":195,"column":8},"end":{"line":195,"column":57}},"112":{"start":{"line":196,"column":8},"end":{"line":196,"column":71}},"113":{"start":{"line":197,"column":8},"end":{"line":197,"column":57}},"114":{"start":{"line":198,"column":8},"end":{"line":204,"column":9}},"115":{"start":{"line":199,"column":10},"end":{"line":199,"column":41}},"116":{"start":{"line":201,"column":10},"end":{"line":203,"column":11}},"117":{"start":{"line":202,"column":12},"end":{"line":202,"column":29}},"118":{"start":{"line":205,"column":8},"end":{"line":205,"column":41}},"119":{"start":{"line":208,"column":4},"end":{"line":211,"column":5}},"120":{"start":{"line":209,"column":6},"end":{"line":209,"column":62}},"121":{"start":{"line":210,"column":6},"end":{"line":210,"column":44}},"122":{"start":{"line":213,"column":4},"end":{"line":216,"column":5}},"123":{"start":{"line":214,"column":6},"end":{"line":214,"column":56}},"124":{"start":{"line":215,"column":6},"end":{"line":215,"column":40}},"125":{"start":{"line":221,"column":4},"end":{"line":224,"column":6}},"126":{"start":{"line":222,"column":52},"end":{"line":222,"column":83}},"127":{"start":{"line":223,"column":6},"end":{"line":223,"column":66}},"128":{"start":{"line":226,"column":4},"end":{"line":234,"column":6}},"129":{"start":{"line":227,"column":23},"end":{"line":227,"column":55}},"130":{"start":{"line":228,"column":6},"end":{"line":233,"column":8}},"131":{"start":{"line":229,"column":36},"end":{"line":229,"column":42}},"132":{"start":{"line":230,"column":8},"end":{"line":232,"column":9}},"133":{"start":{"line":231,"column":10},"end":{"line":231,"column":49}},"134":{"start":{"line":236,"column":4},"end":{"line":241,"column":6}},"135":{"start":{"line":237,"column":34},"end":{"line":237,"column":64}},"136":{"start":{"line":238,"column":6},"end":{"line":240,"column":7}},"137":{"start":{"line":239,"column":8},"end":{"line":239,"column":45}},"138":{"start":{"line":242,"column":4},"end":{"line":242,"column":31}},"139":{"start":{"line":243,"column":4},"end":{"line":243,"column":32}},"140":{"start":{"line":244,"column":4},"end":{"line":244,"column":30}},"141":{"start":{"line":245,"column":4},"end":{"line":245,"column":28}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":26},"end":{"line":9,"column":27}},"loc":{"start":{"line":9,"column":38},"end":{"line":28,"column":1}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":30,"column":20},"end":{"line":30,"column":21}},"loc":{"start":{"line":30,"column":47},"end":{"line":42,"column":1}},"line":30},"2":{"name":"(anonymous_2)","decl":{"start":{"line":44,"column":21},"end":{"line":44,"column":22}},"loc":{"start":{"line":44,"column":62},"end":{"line":48,"column":1}},"line":44},"3":{"name":"(anonymous_3)","decl":{"start":{"line":50,"column":28},"end":{"line":50,"column":29}},"loc":{"start":{"line":50,"column":79},"end":{"line":82,"column":1}},"line":50},"4":{"name":"(anonymous_4)","decl":{"start":{"line":52,"column":18},"end":{"line":52,"column":19}},"loc":{"start":{"line":52,"column":42},"end":{"line":74,"column":3}},"line":52},"5":{"name":"(anonymous_5)","decl":{"start":{"line":57,"column":45},"end":{"line":57,"column":46}},"loc":{"start":{"line":57,"column":51},"end":{"line":68,"column":7}},"line":57},"6":{"name":"(anonymous_6)","decl":{"start":{"line":84,"column":27},"end":{"line":84,"column":28}},"loc":{"start":{"line":84,"column":65},"end":{"line":103,"column":1}},"line":84},"7":{"name":"(anonymous_7)","decl":{"start":{"line":85,"column":20},"end":{"line":85,"column":21}},"loc":{"start":{"line":85,"column":26},"end":{"line":102,"column":3}},"line":85},"8":{"name":"(anonymous_8)","decl":{"start":{"line":87,"column":43},"end":{"line":87,"column":44}},"loc":{"start":{"line":87,"column":49},"end":{"line":101,"column":5}},"line":87},"9":{"name":"(anonymous_9)","decl":{"start":{"line":89,"column":22},"end":{"line":89,"column":23}},"loc":{"start":{"line":89,"column":36},"end":{"line":93,"column":7}},"line":89},"10":{"name":"(anonymous_10)","decl":{"start":{"line":106,"column":20},"end":{"line":106,"column":21}},"loc":{"start":{"line":106,"column":40},"end":{"line":125,"column":1}},"line":106},"11":{"name":"(anonymous_11)","decl":{"start":{"line":112,"column":15},"end":{"line":112,"column":16}},"loc":{"start":{"line":112,"column":28},"end":{"line":114,"column":7}},"line":112},"12":{"name":"(anonymous_12)","decl":{"start":{"line":119,"column":15},"end":{"line":119,"column":16}},"loc":{"start":{"line":119,"column":28},"end":{"line":121,"column":7}},"line":119},"13":{"name":"(anonymous_13)","decl":{"start":{"line":127,"column":24},"end":{"line":127,"column":25}},"loc":{"start":{"line":127,"column":48},"end":{"line":137,"column":1}},"line":127},"14":{"name":"(anonymous_14)","decl":{"start":{"line":131,"column":39},"end":{"line":131,"column":40}},"loc":{"start":{"line":131,"column":50},"end":{"line":131,"column":77}},"line":131},"15":{"name":"(anonymous_15)","decl":{"start":{"line":139,"column":22},"end":{"line":139,"column":23}},"loc":{"start":{"line":139,"column":44},"end":{"line":145,"column":1}},"line":139},"16":{"name":"(anonymous_16)","decl":{"start":{"line":147,"column":20},"end":{"line":147,"column":21}},"loc":{"start":{"line":147,"column":49},"end":{"line":152,"column":1}},"line":147},"17":{"name":"(anonymous_17)","decl":{"start":{"line":154,"column":24},"end":{"line":154,"column":25}},"loc":{"start":{"line":154,"column":36},"end":{"line":163,"column":1}},"line":154},"18":{"name":"(anonymous_18)","decl":{"start":{"line":156,"column":32},"end":{"line":156,"column":33}},"loc":{"start":{"line":156,"column":47},"end":{"line":161,"column":5}},"line":156},"19":{"name":"(anonymous_19)","decl":{"start":{"line":158,"column":30},"end":{"line":158,"column":31}},"loc":{"start":{"line":158,"column":42},"end":{"line":160,"column":7}},"line":158},"20":{"name":"(anonymous_20)","decl":{"start":{"line":165,"column":22},"end":{"line":165,"column":23}},"loc":{"start":{"line":165,"column":34},"end":{"line":172,"column":1}},"line":165},"21":{"name":"(anonymous_21)","decl":{"start":{"line":167,"column":32},"end":{"line":167,"column":33}},"loc":{"start":{"line":167,"column":47},"end":{"line":170,"column":5}},"line":167},"22":{"name":"(anonymous_22)","decl":{"start":{"line":175,"column":2},"end":{"line":175,"column":3}},"loc":{"start":{"line":175,"column":17},"end":{"line":217,"column":3}},"line":175},"23":{"name":"(anonymous_23)","decl":{"start":{"line":192,"column":34},"end":{"line":192,"column":35}},"loc":{"start":{"line":192,"column":48},"end":{"line":206,"column":7}},"line":192},"24":{"name":"(anonymous_24)","decl":{"start":{"line":201,"column":31},"end":{"line":201,"column":32}},"loc":{"start":{"line":201,"column":42},"end":{"line":203,"column":11}},"line":201},"25":{"name":"(anonymous_25)","decl":{"start":{"line":219,"column":2},"end":{"line":219,"column":3}},"loc":{"start":{"line":219,"column":14},"end":{"line":246,"column":3}},"line":219},"26":{"name":"(anonymous_26)","decl":{"start":{"line":221,"column":80},"end":{"line":221,"column":81}},"loc":{"start":{"line":221,"column":95},"end":{"line":224,"column":5}},"line":221},"27":{"name":"(anonymous_27)","decl":{"start":{"line":226,"column":82},"end":{"line":226,"column":83}},"loc":{"start":{"line":226,"column":97},"end":{"line":234,"column":5}},"line":226},"28":{"name":"(anonymous_28)","decl":{"start":{"line":228,"column":23},"end":{"line":228,"column":24}},"loc":{"start":{"line":228,"column":35},"end":{"line":233,"column":7}},"line":228},"29":{"name":"(anonymous_29)","decl":{"start":{"line":236,"column":78},"end":{"line":236,"column":79}},"loc":{"start":{"line":236,"column":93},"end":{"line":241,"column":5}},"line":236}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":4},"end":{"line":25,"column":5}},"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":25,"column":5}},{"start":{"line":13,"column":4},"end":{"line":25,"column":5}}],"line":13},"1":{"loc":{"start":{"line":17,"column":11},"end":{"line":25,"column":5}},"type":"if","locations":[{"start":{"line":17,"column":11},"end":{"line":25,"column":5}},{"start":{"line":17,"column":11},"end":{"line":25,"column":5}}],"line":17},"2":{"loc":{"start":{"line":18,"column":6},"end":{"line":22,"column":7}},"type":"if","locations":[{"start":{"line":18,"column":6},"end":{"line":22,"column":7}},{"start":{"line":18,"column":6},"end":{"line":22,"column":7}}],"line":18},"3":{"loc":{"start":{"line":32,"column":2},"end":{"line":40,"column":3}},"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":40,"column":3}},{"start":{"line":32,"column":2},"end":{"line":40,"column":3}}],"line":32},"4":{"loc":{"start":{"line":36,"column":9},"end":{"line":40,"column":3}},"type":"if","locations":[{"start":{"line":36,"column":9},"end":{"line":40,"column":3}},{"start":{"line":36,"column":9},"end":{"line":40,"column":3}}],"line":36},"5":{"loc":{"start":{"line":46,"column":20},"end":{"line":46,"column":64}},"type":"cond-expr","locations":[{"start":{"line":46,"column":47},"end":{"line":46,"column":51}},{"start":{"line":46,"column":54},"end":{"line":46,"column":64}}],"line":46},"6":{"loc":{"start":{"line":53,"column":29},"end":{"line":53,"column":58}},"type":"binary-expr","locations":[{"start":{"line":53,"column":29},"end":{"line":53,"column":52}},{"start":{"line":53,"column":56},"end":{"line":53,"column":58}}],"line":53},"7":{"loc":{"start":{"line":55,"column":4},"end":{"line":69,"column":5}},"type":"if","locations":[{"start":{"line":55,"column":4},"end":{"line":69,"column":5}},{"start":{"line":55,"column":4},"end":{"line":69,"column":5}}],"line":55},"8":{"loc":{"start":{"line":59,"column":8},"end":{"line":62,"column":9}},"type":"if","locations":[{"start":{"line":59,"column":8},"end":{"line":62,"column":9}},{"start":{"line":59,"column":8},"end":{"line":62,"column":9}}],"line":59},"9":{"loc":{"start":{"line":64,"column":8},"end":{"line":67,"column":9}},"type":"if","locations":[{"start":{"line":64,"column":8},"end":{"line":67,"column":9}},{"start":{"line":64,"column":8},"end":{"line":67,"column":9}}],"line":64},"10":{"loc":{"start":{"line":64,"column":12},"end":{"line":64,"column":62}},"type":"binary-expr","locations":[{"start":{"line":64,"column":12},"end":{"line":64,"column":37}},{"start":{"line":64,"column":41},"end":{"line":64,"column":62}}],"line":64},"11":{"loc":{"start":{"line":71,"column":4},"end":{"line":73,"column":5}},"type":"if","locations":[{"start":{"line":71,"column":4},"end":{"line":73,"column":5}},{"start":{"line":71,"column":4},"end":{"line":73,"column":5}}],"line":71},"12":{"loc":{"start":{"line":80,"column":2},"end":{"line":80,"column":57}},"type":"binary-expr","locations":[{"start":{"line":80,"column":2},"end":{"line":80,"column":17}},{"start":{"line":80,"column":21},"end":{"line":80,"column":57}}],"line":80},"13":{"loc":{"start":{"line":108,"column":24},"end":{"line":108,"column":66}},"type":"binary-expr","locations":[{"start":{"line":108,"column":24},"end":{"line":108,"column":47}},{"start":{"line":108,"column":51},"end":{"line":108,"column":66}}],"line":108},"14":{"loc":{"start":{"line":109,"column":2},"end":{"line":123,"column":3}},"type":"if","locations":[{"start":{"line":109,"column":2},"end":{"line":123,"column":3}},{"start":{"line":109,"column":2},"end":{"line":123,"column":3}}],"line":109},"15":{"loc":{"start":{"line":116,"column":9},"end":{"line":123,"column":3}},"type":"if","locations":[{"start":{"line":116,"column":9},"end":{"line":123,"column":3}},{"start":{"line":116,"column":9},"end":{"line":123,"column":3}}],"line":116},"16":{"loc":{"start":{"line":116,"column":13},"end":{"line":116,"column":67}},"type":"binary-expr","locations":[{"start":{"line":116,"column":13},"end":{"line":116,"column":28}},{"start":{"line":116,"column":32},"end":{"line":116,"column":67}}],"line":116},"17":{"loc":{"start":{"line":118,"column":14},"end":{"line":118,"column":43}},"type":"binary-expr","locations":[{"start":{"line":118,"column":14},"end":{"line":118,"column":26}},{"start":{"line":118,"column":30},"end":{"line":118,"column":43}}],"line":118},"18":{"loc":{"start":{"line":130,"column":4},"end":{"line":134,"column":5}},"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":134,"column":5}},{"start":{"line":130,"column":4},"end":{"line":134,"column":5}}],"line":130},"19":{"loc":{"start":{"line":132,"column":11},"end":{"line":134,"column":5}},"type":"if","locations":[{"start":{"line":132,"column":11},"end":{"line":134,"column":5}},{"start":{"line":132,"column":11},"end":{"line":134,"column":5}}],"line":132},"20":{"loc":{"start":{"line":132,"column":15},"end":{"line":132,"column":79}},"type":"binary-expr","locations":[{"start":{"line":132,"column":15},"end":{"line":132,"column":51}},{"start":{"line":132,"column":55},"end":{"line":132,"column":79}}],"line":132},"21":{"loc":{"start":{"line":149,"column":2},"end":{"line":151,"column":3}},"type":"if","locations":[{"start":{"line":149,"column":2},"end":{"line":151,"column":3}},{"start":{"line":149,"column":2},"end":{"line":151,"column":3}}],"line":149},"22":{"loc":{"start":{"line":149,"column":6},"end":{"line":149,"column":45}},"type":"binary-expr","locations":[{"start":{"line":149,"column":6},"end":{"line":149,"column":12}},{"start":{"line":149,"column":16},"end":{"line":149,"column":45}}],"line":149},"23":{"loc":{"start":{"line":155,"column":2},"end":{"line":162,"column":3}},"type":"if","locations":[{"start":{"line":155,"column":2},"end":{"line":162,"column":3}},{"start":{"line":155,"column":2},"end":{"line":162,"column":3}}],"line":155},"24":{"loc":{"start":{"line":166,"column":2},"end":{"line":171,"column":3}},"type":"if","locations":[{"start":{"line":166,"column":2},"end":{"line":171,"column":3}},{"start":{"line":166,"column":2},"end":{"line":171,"column":3}}],"line":166},"25":{"loc":{"start":{"line":179,"column":4},"end":{"line":181,"column":5}},"type":"if","locations":[{"start":{"line":179,"column":4},"end":{"line":181,"column":5}},{"start":{"line":179,"column":4},"end":{"line":181,"column":5}}],"line":179},"26":{"loc":{"start":{"line":182,"column":4},"end":{"line":184,"column":5}},"type":"if","locations":[{"start":{"line":182,"column":4},"end":{"line":184,"column":5}},{"start":{"line":182,"column":4},"end":{"line":184,"column":5}}],"line":182},"27":{"loc":{"start":{"line":186,"column":4},"end":{"line":207,"column":5}},"type":"if","locations":[{"start":{"line":186,"column":4},"end":{"line":207,"column":5}},{"start":{"line":186,"column":4},"end":{"line":207,"column":5}}],"line":186},"28":{"loc":{"start":{"line":190,"column":26},"end":{"line":190,"column":67}},"type":"cond-expr","locations":[{"start":{"line":190,"column":42},"end":{"line":190,"column":62}},{"start":{"line":190,"column":65},"end":{"line":190,"column":67}}],"line":190},"29":{"loc":{"start":{"line":194,"column":23},"end":{"line":194,"column":69}},"type":"binary-expr","locations":[{"start":{"line":194,"column":23},"end":{"line":194,"column":34}},{"start":{"line":194,"column":38},"end":{"line":194,"column":53}},{"start":{"line":194,"column":57},"end":{"line":194,"column":69}}],"line":194},"30":{"loc":{"start":{"line":198,"column":8},"end":{"line":204,"column":9}},"type":"if","locations":[{"start":{"line":198,"column":8},"end":{"line":204,"column":9}},{"start":{"line":198,"column":8},"end":{"line":204,"column":9}}],"line":198},"31":{"loc":{"start":{"line":208,"column":4},"end":{"line":211,"column":5}},"type":"if","locations":[{"start":{"line":208,"column":4},"end":{"line":211,"column":5}},{"start":{"line":208,"column":4},"end":{"line":211,"column":5}}],"line":208},"32":{"loc":{"start":{"line":213,"column":4},"end":{"line":216,"column":5}},"type":"if","locations":[{"start":{"line":213,"column":4},"end":{"line":216,"column":5}},{"start":{"line":213,"column":4},"end":{"line":216,"column":5}}],"line":213},"33":{"loc":{"start":{"line":221,"column":4},"end":{"line":224,"column":6}},"type":"binary-expr","locations":[{"start":{"line":221,"column":4},"end":{"line":221,"column":34}},{"start":{"line":221,"column":38},"end":{"line":224,"column":6}}],"line":221},"34":{"loc":{"start":{"line":223,"column":6},"end":{"line":223,"column":66}},"type":"binary-expr","locations":[{"start":{"line":223,"column":6},"end":{"line":223,"column":23}},{"start":{"line":223,"column":27},"end":{"line":223,"column":66}}],"line":223},"35":{"loc":{"start":{"line":226,"column":4},"end":{"line":234,"column":6}},"type":"binary-expr","locations":[{"start":{"line":226,"column":4},"end":{"line":226,"column":35}},{"start":{"line":226,"column":39},"end":{"line":234,"column":6}}],"line":226},"36":{"loc":{"start":{"line":230,"column":8},"end":{"line":232,"column":9}},"type":"if","locations":[{"start":{"line":230,"column":8},"end":{"line":232,"column":9}},{"start":{"line":230,"column":8},"end":{"line":232,"column":9}}],"line":230},"37":{"loc":{"start":{"line":230,"column":12},"end":{"line":230,"column":51}},"type":"binary-expr","locations":[{"start":{"line":230,"column":12},"end":{"line":230,"column":18}},{"start":{"line":230,"column":22},"end":{"line":230,"column":51}}],"line":230},"38":{"loc":{"start":{"line":236,"column":4},"end":{"line":241,"column":6}},"type":"binary-expr","locations":[{"start":{"line":236,"column":4},"end":{"line":236,"column":33}},{"start":{"line":236,"column":37},"end":{"line":241,"column":6}}],"line":236},"39":{"loc":{"start":{"line":238,"column":6},"end":{"line":240,"column":7}},"type":"if","locations":[{"start":{"line":238,"column":6},"end":{"line":240,"column":7}},{"start":{"line":238,"column":6},"end":{"line":240,"column":7}}],"line":238},"40":{"loc":{"start":{"line":238,"column":10},"end":{"line":238,"column":49}},"type":"binary-expr","locations":[{"start":{"line":238,"column":10},"end":{"line":238,"column":16}},{"start":{"line":238,"column":20},"end":{"line":238,"column":49}}],"line":238}},"s":{"0":4,"1":4,"2":3,"3":3,"4":8,"5":8,"6":4,"7":4,"8":4,"9":4,"10":0,"11":0,"12":3,"13":4,"14":3,"15":3,"16":1,"17":2,"18":0,"19":3,"20":4,"21":8,"22":8,"23":8,"24":4,"25":8,"26":8,"27":11,"28":11,"29":11,"30":9,"31":9,"32":9,"33":9,"34":9,"35":9,"36":9,"37":9,"38":9,"39":11,"40":11,"41":8,"42":8,"43":8,"44":8,"45":4,"46":8,"47":8,"48":8,"49":8,"50":8,"51":2,"52":2,"53":8,"54":8,"55":4,"56":8,"57":8,"58":8,"59":4,"60":4,"61":4,"62":4,"63":4,"64":8,"65":4,"66":2,"67":2,"68":4,"69":1,"70":2,"71":3,"72":3,"73":2,"74":4,"75":2,"76":2,"77":3,"78":2,"79":4,"80":8,"81":8,"82":8,"83":4,"84":2,"85":2,"86":4,"87":4,"88":5,"89":4,"90":2,"91":2,"92":3,"93":3,"94":11,"95":11,"96":11,"97":11,"98":0,"99":11,"100":0,"101":11,"102":11,"103":3,"104":3,"105":3,"106":3,"107":3,"108":3,"109":8,"110":8,"111":8,"112":8,"113":8,"114":8,"115":0,"116":8,"117":3,"118":8,"119":11,"120":2,"121":2,"122":11,"123":2,"124":2,"125":5,"126":4,"127":4,"128":5,"129":2,"130":2,"131":2,"132":2,"133":2,"134":5,"135":1,"136":1,"137":1,"138":5,"139":5,"140":5,"141":5},"f":{"0":3,"1":3,"2":8,"3":8,"4":11,"5":9,"6":8,"7":8,"8":8,"9":2,"10":8,"11":4,"12":4,"13":2,"14":2,"15":2,"16":8,"17":2,"18":4,"19":5,"20":2,"21":3,"22":11,"23":8,"24":3,"25":5,"26":4,"27":2,"28":2,"29":1},"b":{"0":[4,4],"1":[4,0],"2":[4,0],"3":[1,2],"4":[0,2],"5":[3,5],"6":[11,0],"7":[9,2],"8":[9,0],"9":[9,0],"10":[9,9],"11":[11,0],"12":[8,0],"13":[8,8],"14":[4,4],"15":[4,0],"16":[4,4],"17":[4,0],"18":[1,3],"19":[3,0],"20":[3,1],"21":[8,0],"22":[8,8],"23":[2,0],"24":[2,0],"25":[0,11],"26":[0,11],"27":[3,8],"28":[1,2],"29":[8,4,3],"30":[0,8],"31":[2,9],"32":[2,9],"33":[5,2],"34":[4,4],"35":[5,1],"36":[2,0],"37":[2,2],"38":[5,1],"39":[1,0],"40":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"1eea6b42ffac124f5024022a9659f986f88225dd"} |
@@ -397,3 +397,2 @@ function _defineProperty(obj, key, value) { | ||
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var ObviousApp = { | ||
@@ -406,4 +405,6 @@ name: 'obvious-app', | ||
}, | ||
name: { | ||
type: String, | ||
ctx: { | ||
validator: function validator(value) { | ||
return typeof value === 'string' || isObject(value) && value.name; | ||
}, | ||
required: true | ||
@@ -425,2 +426,11 @@ }, | ||
}, | ||
computed: { | ||
name: function name() { | ||
if (typeof this.ctx === 'string') { | ||
return this.ctx; | ||
} else { | ||
return this.ctx.name; | ||
} | ||
} | ||
}, | ||
watch: { | ||
@@ -447,3 +457,3 @@ bus: function bus(value) { | ||
this._bus_.activateApp(this.name, _objectSpread$1(_objectSpread$1({}, this.activateConfig), {}, { | ||
this._bus_.activateApp(this.ctx, _objectSpread$1(_objectSpread$1({}, this.activateConfig), {}, { | ||
mountPoint: this.$refs.mountPoint | ||
@@ -450,0 +460,0 @@ })).then(function () { |
@@ -403,3 +403,2 @@ (function (global, factory) { | ||
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var ObviousApp = { | ||
@@ -412,4 +411,6 @@ name: 'obvious-app', | ||
}, | ||
name: { | ||
type: String, | ||
ctx: { | ||
validator: function validator(value) { | ||
return typeof value === 'string' || isObject(value) && value.name; | ||
}, | ||
required: true | ||
@@ -431,2 +432,11 @@ }, | ||
}, | ||
computed: { | ||
name: function name() { | ||
if (typeof this.ctx === 'string') { | ||
return this.ctx; | ||
} else { | ||
return this.ctx.name; | ||
} | ||
} | ||
}, | ||
watch: { | ||
@@ -453,3 +463,3 @@ bus: function bus(value) { | ||
this._bus_.activateApp(this.name, _objectSpread$1(_objectSpread$1({}, this.activateConfig), {}, { | ||
this._bus_.activateApp(this.ctx, _objectSpread$1(_objectSpread$1({}, this.activateConfig), {}, { | ||
mountPoint: this.$refs.mountPoint | ||
@@ -456,0 +466,0 @@ })).then(function () { |
{ | ||
"name": "obvious-vue", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "a library to help using obvious in vue2.x application", | ||
@@ -14,3 +14,4 @@ "main": "./dist/index.umd.js", | ||
"demo:vue": "cd ./examples/vue-app && npm run serve", | ||
"demo:host": "cd ./examples/host-enviroment && npm start" | ||
"demo:host": "cd ./examples/host-enviroment && npm start", | ||
"commit": "git cz" | ||
}, | ||
@@ -32,2 +33,7 @@ "repository": { | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"bugs": { | ||
@@ -50,2 +56,4 @@ "url": "https://github.com/ObviousJs/obvious-vue/issues" | ||
"babel-loader": "^8.2.1", | ||
"commitizen": "^4.2.4", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^7.12.1", | ||
@@ -59,3 +67,3 @@ "eslint-config-standard": "^16.0.1", | ||
"jest": "^26.6.3", | ||
"obvious-core": "^0.2.2", | ||
"obvious-core": "^0.3.0", | ||
"rollup": "^2.35.1", | ||
@@ -62,0 +70,0 @@ "rollup-plugin-babel": "^4.4.0", |
@@ -157,3 +157,3 @@ # obvious-vue | ||
<obvious-app | ||
name="react-app" | ||
ctx="react-app" | ||
:activate-config="activateConfig" | ||
@@ -186,3 +186,3 @@ :destroy-config="destroyConfig" | ||
|bus|false|this.$bus|the bus to activate the target app| | ||
|name|true| - |the name of the app to activate| | ||
|ctx|true| - |the context of the app to activate| | ||
|activate-config|false|{}| the config argument of activating| | ||
@@ -189,0 +189,0 @@ |destroy-config|false|{}| the config argument of destroying| |
@@ -158,3 +158,3 @@ # obvious-vue | ||
<obvious-app | ||
name="react-app" | ||
ctx="react-app" | ||
:activate-config="activateConfig" | ||
@@ -187,3 +187,3 @@ :destroy-config="destroyConfig" | ||
|bus|否|this.$bus|用来激活app的bus| | ||
|name|是| - |要激活的app的名字| | ||
|ctx|是| - |要激活的app的上下文| | ||
|activate-config|否|{}|app的激活参数,每次参数变更都会触发一次激活| | ||
@@ -190,0 +190,0 @@ |destroy-config|否|{}|app的销毁参数| |
@@ -0,1 +1,3 @@ | ||
import { isObject } from '../lib/util' | ||
export default { | ||
@@ -9,4 +11,6 @@ name: 'obvious-app', | ||
}, | ||
name: { | ||
type: String, | ||
ctx: { | ||
validator(value) { | ||
return typeof value === 'string' || (isObject(value) && value.name) | ||
}, | ||
required: true | ||
@@ -30,2 +34,12 @@ }, | ||
computed: { | ||
name() { | ||
if (typeof this.ctx === 'string') { | ||
return this.ctx | ||
} else { | ||
return this.ctx.name | ||
} | ||
} | ||
}, | ||
watch: { | ||
@@ -51,3 +65,3 @@ bus(value) { | ||
mounted() { | ||
this._bus_.activateApp(this.name, { | ||
this._bus_.activateApp(this.ctx, { | ||
...this.activateConfig, | ||
@@ -54,0 +68,0 @@ mountPoint: this.$refs.mountPoint |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239762
1885
26