Commit f10828d2 authored by 张九刚's avatar 张九刚

默认弹窗

parent ab071ca0
......@@ -4,9 +4,11 @@
const { getTree } = require('./psd-tree');
const { execute } = require("./zeroing");
const { compilePsdToJson } = require('./compilelocal');
module.exports = {
getTree,
execute
execute,
compilePsdToJson
};
//# sourceMappingURL=index.es.js.map
{"version":3,"file":"index.es.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\n\nmodule.exports = {\n getTree,\n execute\n}\n\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AACzC;AACA,MAAM,CAAC,OAAO,GAAG;AACjB,IAAI,OAAO;AACX,IAAI,OAAO;AACX"}
\ No newline at end of file
{"version":3,"file":"index.es.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\nconst { compilePsdToJson } = require('./compilelocal');\n\nmodule.exports = {\n getTree,\n execute,\n compilePsdToJson\n}\n\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AACzC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACvD;AACA,MAAM,CAAC,OAAO,GAAG;AACjB,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,gBAAgB;AACpB"}
\ No newline at end of file
......@@ -6,9 +6,11 @@
const { getTree } = require('./psd-tree');
const { execute } = require("./zeroing");
const { compilePsdToJson } = require('./compilelocal');
module.exports = {
getTree,
execute
execute,
compilePsdToJson
};
//# sourceMappingURL=index.js.map
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\n\nmodule.exports = {\n getTree,\n execute\n}\n\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AACzC;AACA,MAAM,CAAC,OAAO,GAAG;AACjB,IAAI,OAAO;AACX,IAAI,OAAO;AACX;;"}
\ No newline at end of file
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\nconst { compilePsdToJson } = require('./compilelocal');\n\nmodule.exports = {\n getTree,\n execute,\n compilePsdToJson\n}\n\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AACzC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACvD;AACA,MAAM,CAAC,OAAO,GAAG;AACjB,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,gBAAgB;AACpB;;"}
\ No newline at end of file
......@@ -9,10 +9,12 @@
const { getTree } = require('./psd-tree');
const { execute } = require("./zeroing");
const { compilePsdToJson } = require('./compilelocal');
module.exports = {
getTree,
execute
execute,
compilePsdToJson
};
})));
......
{"version":3,"file":"index.umd.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\n\nmodule.exports = {\n getTree,\n execute\n}\n\n"],"names":[],"mappings":";;;;;IAAA;IACA;IACA;AACA;IACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AACzC;IACA,MAAM,CAAC,OAAO,GAAG;IACjB,IAAI,OAAO;IACX,IAAI,OAAO;IACX;;;;;;"}
\ No newline at end of file
{"version":3,"file":"index.umd.js","sources":["../src/index.js"],"sourcesContent":["/**\n * Created by rockyl on 2019-08-08.\n */\n\nconst { getTree } = require('./psd-tree');\nconst { execute } = require(\"./zeroing\");\nconst { compilePsdToJson } = require('./compilelocal');\n\nmodule.exports = {\n getTree,\n execute,\n compilePsdToJson\n}\n\n"],"names":[],"mappings":";;;;;IAAA;IACA;IACA;AACA;IACA,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IACzC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACvD;IACA,MAAM,CAAC,OAAO,GAAG;IACjB,IAAI,OAAO;IACX,IAAI,OAAO;IACX,IAAI,gBAAgB;IACpB;;;;;;"}
\ No newline at end of file
{
"name": "psd-parse-web",
"version": "2.0.1",
"version": "2.0.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "psd-parse-web",
"version": "2.0.3",
"version": "2.0.4",
"main": "src/index.js",
"module": "dist/index.es.js",
"license": "MIT",
......
......@@ -198,7 +198,7 @@ async function compilePsdToJson(psdFile, options) {
if (viewRoot.children && viewRoot.children.length) {
viewRoot.children.map(item => {
item.viewType = 'Page'
item.viewType = "Component";//'Page' // 由于弹窗比较多,所以默认是弹窗
})
}
let 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