229532e2a3f519ccda296d8db1d35681.json 6.99 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-text-effect-button\">\n            <div class=\"tui-image-editor-button bold\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-bold', true)}\n                </div>\n                <label> ${locale.localize('Bold')} </label>\n            </div>\n            <div class=\"tui-image-editor-button italic\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-italic', true)}\n                </div>\n                <label> ${locale.localize('Italic')} </label>\n            </div>\n            <div class=\"tui-image-editor-button underline\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-underline', true)}\n                </div>\n                <label> ${locale.localize('Underline')} </label>\n            </div>\n        </li>\n        <li class=\"tui-image-editor-partition\">\n            <div></div>\n        </li>\n        <li class=\"tie-text-align-button\">\n            <div class=\"tui-image-editor-button left\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-left', true)}\n                </div>\n                <label> ${locale.localize('Left')} </label>\n            </div>\n            <div class=\"tui-image-editor-button center\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-center', true)}\n                </div>\n                <label> ${locale.localize('Center')} </label>\n            </div>\n            <div class=\"tui-image-editor-button right\">\n                <div>\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-right', true)}\n                </div>\n                <label> ${locale.localize('Right')} </label>\n            </div>\n        </li>\n        <li class=\"tui-image-editor-partition\">\n            <div></div>\n        </li>\n        <li>\n            <div class=\"tie-text-color\" title=\"${locale.localize('Color')}\"></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('Text size')}</label>\n            <div class=\"tie-text-range\"></div>\n            <input class=\"tie-text-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/text.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,WAAvB,EAAoC,IAApC,CAA0C;AAC3E;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,MAAhB,CAAwB;AAClD;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,aAAvB,EAAsC,IAAtC,CAA4C;AAC7E;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,WAAhB,CAA6B;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,iBAAvB,EAA0C,IAA1C,CAAgD;AACjF;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,MAAhB,CAAwB;AAClD;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,mBAAvB,EAA4C,IAA5C,CAAkD;AACnF;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,QAAhB,CAA0B;AACpD;AACA;AACA;AACA,sBAAsBD,WAAW,CAAC,CAAC,QAAD,EAAW,QAAX,CAAD,EAAuB,kBAAvB,EAA2C,IAA3C,CAAiD;AAClF;AACA,0BAA0BD,MAAM,CAACE,QAAP,CAAgB,OAAhB,CAAyB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiDF,MAAM,CAACE,QAAP,CAAgB,OAAhB,CAAyB;AAC1E;AACA;AACA;AACA;AACA;AACA,mCAAmCF,MAAM,CAACE,QAAP,CAAgB,WAAhB,CAA6B;AAChE;AACA;AACA;AACA;AACA,CA5DA","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-text-effect-button\">\r\n            <div class=\"tui-image-editor-button bold\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-bold', true)}\r\n                </div>\r\n                <label> ${locale.localize('Bold')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button italic\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-italic', true)}\r\n                </div>\r\n                <label> ${locale.localize('Italic')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button underline\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-underline', true)}\r\n                </div>\r\n                <label> ${locale.localize('Underline')} </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-text-align-button\">\r\n            <div class=\"tui-image-editor-button left\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-left', true)}\r\n                </div>\r\n                <label> ${locale.localize('Left')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button center\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-center', true)}\r\n                </div>\r\n                <label> ${locale.localize('Center')} </label>\r\n            </div>\r\n            <div class=\"tui-image-editor-button right\">\r\n                <div>\r\n                    ${makeSvgIcon(['normal', 'active'], 'text-align-right', true)}\r\n                </div>\r\n                <label> ${locale.localize('Right')} </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>\r\n            <div class=\"tie-text-color\" title=\"${locale.localize('Color')}\"></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('Text size')}</label>\r\n            <div class=\"tie-text-range\"></div>\r\n            <input class=\"tie-text-range-value tui-image-editor-range-value\" value=\"0\" />\r\n        </li>\r\n    </ul>\r\n`;\r\n"]},"metadata":{},"sourceType":"module"}