UNPKG

@aurigma/ui-framework

Version:

A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.

1 lines 1.37 kB
(window.multistep_editor_jsonpFunction=window.multistep_editor_jsonpFunction||[]).push([[47],{850:function(t,e){t.exports='<style>\n .text {\n padding-top: var(--au-static-text-padding-top, 12px);\n padding-bottom: var(--au-static-text-padding-bottom, 12px);\n @apply --au-body2-font;\n color: var(--au-widget--color, --theme-text-color-1);\n --au-hem: var(--au-widget--font-size);\n line-height: var(--au-static-text-line-height, normal) !important;\n font-weight: var(--au-static-text-font-weight, 500) !important;\n font-size: var(--au-static-text-font-size, 16) !important;\n margin: var(--au-static-text-margin, 0 0 0 0);\n }\n</style>\n<div class="text">{{text}}</div>'},904:function(t,e,i){i.r(e),i.d(e,"AuWidgetStaticText",function(){return s}),i.d(e,"widget",function(){return s});let n=i(0),a=i(850),o=i(160),r=i(2),s=class extends o.c{constructor(){super(...arguments),this._isRestoring=!1}updateParams(t){this.text=t.text}async exportWidgetData(t){return{text:this.text}}async restoreWidgetFromData(t,e){t&&this.text!==t.text&&(this.text=t.text)}};Object(n.a)([Object(r.c)(),Object(n.b)("design:type",Object)],s.prototype,"params",void 0),Object(n.a)([Object(r.c)(),Object(n.b)("design:type",String)],s.prototype,"text",void 0),s=Object(n.a)([Object(r.a)("au-widget-static-text",a)],s)}}]);