jodit-pro
Version:
PRO Version of Jodit Editor
11 lines (10 loc) • 1.34 kB
JavaScript
var a=Object.defineProperty;var d=(i,e)=>a(i,"name",{value:e,configurable:!0});var c,f=function(i,e,o,n){var r=arguments.length,t=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,e,o,n);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(t=(r<3?s(t):r>3?s(e,o,t):s(e,o))||t);return r>3&&t&&Object.defineProperty(e,o,t),t};import{component as m}from"jodit/esm/core/decorators/index.js";import{UIElement as p}from"jodit/esm/core/ui/index.js";let v=(c=class extends p{className(){return"UIWelcomeScreen"}render(){return`<div class="&__container">
<div class="&__icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>
</svg>
</div>
<div class="&__title">~Welcome to AI Assistant~</div>
<div class="&__subtitle">~Start your first conversation~</div>
<div class="&__tip">~Tip: Select text in editor to add context~</div>
</div>`}},d(c,"UIWelcomeScreen"),c);v=f([m],v);export{v as UIWelcomeScreen};