UNPKG

@aurigma/ui-framework

Version:

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

1 lines 1.69 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,n){"use strict";n.r(e),n.d(e,"AuWidgetStaticText",(function(){return c})),n.d(e,"widget",(function(){return c}));var i=n(0),o=n(850),r=n(160),a=n(2),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._isRestoring=!1,e}return Object(i.d)(e,t),e.prototype.updateParams=function(t){this.text=t.text},e.prototype.exportWidgetData=function(t){return Object(i.b)(this,void 0,void 0,(function(){return Object(i.e)(this,(function(t){return[2,{text:this.text}]}))}))},e.prototype.restoreWidgetFromData=function(t,e){return Object(i.b)(this,void 0,void 0,(function(){return Object(i.e)(this,(function(e){return t&&this.text!==t.text&&(this.text=t.text),[2]}))}))},Object(i.c)([Object(a.c)(),Object(i.g)("design:type",Object)],e.prototype,"params",void 0),Object(i.c)([Object(a.c)(),Object(i.g)("design:type",String)],e.prototype,"text",void 0),Object(i.c)([Object(a.a)("au-widget-static-text",o)],e)}(r.c)}}]);