7b1c305a42f246cc8176642e917f0c85.json
3.06 KB
{"ast":null,"code":"/**\r\n * @param {Object} submenuInfo - submenu info for make template\r\n * @param {Locale} locale - Translate text\r\n * @param {Function} makeSvgIcon - svg icon generator\r\n * @returns {string}\r\n */\nexport default (({\n locale,\n makeSvgIcon\n}) => `\n <ul class=\"tui-image-editor-submenu-item\">\n <li>\n <div class=\"tui-image-editor-button\">\n <div>\n <input type=\"file\" accept=\"image/*\" class=\"tie-mask-image-file\">\n ${makeSvgIcon(['normal', 'active'], 'mask-load', true)}\n </div>\n <label> ${locale.localize('Load Mask Image')} </label>\n </div>\n </li>\n <li class=\"tui-image-editor-partition only-left-right\">\n <div></div>\n </li>\n <li class=\"tie-mask-apply tui-image-editor-newline apply\" style=\"margin-top: 22px;margin-bottom: 5px\">\n <div class=\"tui-image-editor-button apply\">\n ${makeSvgIcon(['normal', 'active'], 'apply')}\n <label>\n ${locale.localize('Apply')}\n </label>\n </div>\n </li>\n </ul>\n`);","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/src/js/ui/template/submenu/mask.js"],"names":["locale","makeSvgIcon","localize"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,CAAC;AAAEA,EAAAA,MAAF;AAAUC,EAAAA;AAAV,CAAD,KAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA,sBAAsBA,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,WAAvB,EAAoC,IAApC,CAA0C;AAC3E;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,iBAAhB,CAAmC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,OAAvB,CAAgC;AAC7D;AACA,sBAAsBD,MAAM,CAACE,QAAP,CAAgB,OAAhB,CAAyB;AAC/C;AACA;AACA;AACA;AACA,CAvBA","sourcesContent":["/**\r\n * @param {Object} submenuInfo - submenu info for make template\r\n * @param {Locale} locale - Translate text\r\n * @param {Function} makeSvgIcon - svg icon generator\r\n * @returns {string}\r\n */\r\nexport default ({ locale, makeSvgIcon }) => `\r\n <ul class=\"tui-image-editor-submenu-item\">\r\n <li>\r\n <div class=\"tui-image-editor-button\">\r\n <div>\r\n <input type=\"file\" accept=\"image/*\" class=\"tie-mask-image-file\">\r\n ${makeSvgIcon(['normal', 'active'], 'mask-load', true)}\r\n </div>\r\n <label> ${locale.localize('Load Mask Image')} </label>\r\n </div>\r\n </li>\r\n <li class=\"tui-image-editor-partition only-left-right\">\r\n <div></div>\r\n </li>\r\n <li class=\"tie-mask-apply tui-image-editor-newline apply\" style=\"margin-top: 22px;margin-bottom: 5px\">\r\n <div class=\"tui-image-editor-button apply\">\r\n ${makeSvgIcon(['normal', 'active'], 'apply')}\r\n <label>\r\n ${locale.localize('Apply')}\r\n </label>\r\n </div>\r\n </li>\r\n </ul>\r\n`;\r\n"]},"metadata":{},"sourceType":"module"}