368f75573dc182a2be7a16f21abc04e7.json 4.9 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 class=\"tie-shape-button\">\n            <div class=\"tui-image-editor-button rect\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'shape-rectangle', true)}\n                </div>\n                <label> ${locale.localize('Rectangle')} </label>\n            </div>\n            <div class=\"tui-image-editor-button circle\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'shape-circle', true)}\n                </div>\n                <label> ${locale.localize('Circle')} </label>\n            </div>\n            <div class=\"tui-image-editor-button triangle\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'shape-triangle', true)}\n                </div>\n                <label> ${locale.localize('Triangle')} </label>\n            </div>\n        </li>\n        <li class=\"tui-image-editor-partition\">\n            <div></div>\n        </li>\n        <li class=\"tie-shape-color-button\">\n            <div class=\"tie-color-fill\" title=\"${locale.localize('Fill')}\"></div>\n            <div class=\"tie-color-stroke\" title=\"${locale.localize('Stroke')}\"></div>\n        </li>\n        <li class=\"tui-image-editor-partition only-left-right\">\n            <div></div>\n        </li>\n        <li class=\"tui-image-editor-newline tui-image-editor-range-wrap\">\n            <label class=\"range\">${locale.localize('Stroke')}</label>\n            <div class=\"tie-stroke-range\"></div>\n            <input class=\"tie-stroke-range-value tui-image-editor-range-value\" value=\"0\" />\n        </li>\n    </ul>\n`);","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/src/js/ui/template/submenu/shape.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,sBAAsBA,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,iBAAvB,EAA0C,IAA1C,CAAgD;AACjF;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,WAAhB,CAA6B;AACvD;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,cAAvB,EAAuC,IAAvC,CAA6C;AAC9E;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,QAAhB,CAA0B;AACpD;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,gBAAvB,EAAyC,IAAzC,CAA+C;AAChF;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,UAAhB,CAA4B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiDF,MAAM,CAACE,QAAP,CAAgB,MAAhB,CAAwB;AACzE,mDAAmDF,MAAM,CAACE,QAAP,CAAgB,QAAhB,CAA0B;AAC7E;AACA;AACA;AACA;AACA;AACA,mCAAmCF,MAAM,CAACE,QAAP,CAAgB,QAAhB,CAA0B;AAC7D;AACA;AACA;AACA;AACA,CAtCA","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 class=\"tie-shape-button\">\r\n            <div class=\"tui-image-editor-button rect\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'shape-rectangle', true)}\r\n                </div>\r\n                <label> ${locale.localize('Rectangle')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button circle\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'shape-circle', true)}\r\n                </div>\r\n                <label> ${locale.localize('Circle')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button triangle\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'shape-triangle', true)}\r\n                </div>\r\n                <label> ${locale.localize('Triangle')} </label>\r\n            </div>\r\n        </li>\r\n        <li class=\"tui-image-editor-partition\">\r\n            <div></div>\r\n        </li>\r\n        <li class=\"tie-shape-color-button\">\r\n            <div class=\"tie-color-fill\" title=\"${locale.localize('Fill')}\"></div>\r\n            <div class=\"tie-color-stroke\" title=\"${locale.localize('Stroke')}\"></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=\"tui-image-editor-newline tui-image-editor-range-wrap\">\r\n            <label class=\"range\">${locale.localize('Stroke')}</label>\r\n            <div class=\"tie-stroke-range\"></div>\r\n            <input class=\"tie-stroke-range-value tui-image-editor-range-value\" value=\"0\" />\r\n        </li>\r\n    </ul>\r\n`;\r\n"]},"metadata":{},"sourceType":"module"}