@aurigma/ui-framework
Version:
A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.
1 lines • 1.66 kB
JavaScript
(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,n){n.r(e),n.d(e,"AuWidgetStaticText",function(){return a}),n.d(e,"widget",function(){return a});var i,o=n(0),e=n(850),r=n(160),n=n(2),a=(i=r.c,Object(o.d)(c,i),c.prototype.updateParams=function(t){this.text=t.text},c.prototype.exportWidgetData=function(t){return Object(o.b)(this,void 0,void 0,function(){return Object(o.e)(this,function(t){return[2,{text:this.text}]})})},c.prototype.restoreWidgetFromData=function(e,t){return Object(o.b)(this,void 0,void 0,function(){return Object(o.e)(this,function(t){return e&&this.text!==e.text&&(this.text=e.text),[2]})})},Object(o.c)([Object(n.c)(),Object(o.g)("design:type",Object)],c.prototype,"params",void 0),Object(o.c)([Object(n.c)(),Object(o.g)("design:type",String)],c.prototype,"text",void 0),Object(o.c)([Object(n.a)("au-widget-static-text",e)],c));function c(){var t=null!==i&&i.apply(this,arguments)||this;return t._isRestoring=!1,t}}}]);