@creaditor/newsletter-starterkit 1.0.40 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/1317.creaditor.bundle.js +3 -3
  2. package/dist/1317.creaditor.bundle.js.gz +0 -0
  3. package/dist/1529.creaditor.bundle.js +16 -0
  4. package/dist/1529.creaditor.bundle.js.gz +0 -0
  5. package/dist/1565.creaditor.bundle.js +1016 -0
  6. package/dist/1565.creaditor.bundle.js.gz +0 -0
  7. package/dist/168.creaditor.bundle.js +5 -421
  8. package/dist/168.creaditor.bundle.js.gz +0 -0
  9. package/dist/170.creaditor.bundle.js +1 -1
  10. package/dist/170.creaditor.bundle.js.gz +0 -0
  11. package/dist/2234.creaditor.bundle.js +1 -1
  12. package/dist/2234.creaditor.bundle.js.gz +0 -0
  13. package/dist/2384.creaditor.bundle.js +1 -1
  14. package/dist/2384.creaditor.bundle.js.gz +0 -0
  15. package/dist/2438.creaditor.bundle.js +67 -0
  16. package/dist/2438.creaditor.bundle.js.gz +0 -0
  17. package/dist/2547.creaditor.bundle.js +6 -0
  18. package/dist/2547.creaditor.bundle.js.gz +0 -0
  19. package/dist/2706.creaditor.bundle.js +2 -2
  20. package/dist/2706.creaditor.bundle.js.gz +0 -0
  21. package/dist/271.creaditor.bundle.js +99 -0
  22. package/dist/271.creaditor.bundle.js.gz +0 -0
  23. package/dist/2834.creaditor.bundle.js +14 -0
  24. package/dist/2834.creaditor.bundle.js.LICENSE.txt +5 -0
  25. package/dist/2834.creaditor.bundle.js.gz +0 -0
  26. package/dist/3095.creaditor.bundle.js +161 -0
  27. package/dist/3095.creaditor.bundle.js.gz +0 -0
  28. package/dist/3521.creaditor.bundle.js +2 -2
  29. package/dist/3521.creaditor.bundle.js.gz +0 -0
  30. package/dist/3553.creaditor.bundle.js +1 -1
  31. package/dist/3553.creaditor.bundle.js.gz +0 -0
  32. package/dist/3606.creaditor.bundle.js +113 -0
  33. package/dist/3606.creaditor.bundle.js.gz +0 -0
  34. package/dist/3932.creaditor.bundle.js +30 -0
  35. package/dist/3932.creaditor.bundle.js.gz +0 -0
  36. package/dist/4186.creaditor.bundle.js +453 -0
  37. package/dist/4186.creaditor.bundle.js.LICENSE.txt +10 -0
  38. package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  39. package/dist/4186.creaditor.bundle.js.gz +0 -0
  40. package/dist/4288.creaditor.bundle.js +98 -0
  41. package/dist/4288.creaditor.bundle.js.gz +0 -0
  42. package/dist/453.creaditor.bundle.js +111 -11
  43. package/dist/453.creaditor.bundle.js.gz +0 -0
  44. package/dist/4569.creaditor.bundle.js +1043 -19
  45. package/dist/4569.creaditor.bundle.js.gz +0 -0
  46. package/dist/4819.creaditor.bundle.js +1 -1
  47. package/dist/4819.creaditor.bundle.js.gz +0 -0
  48. package/dist/5133.creaditor.bundle.js +60 -0
  49. package/dist/5133.creaditor.bundle.js.gz +0 -0
  50. package/dist/5501.creaditor.bundle.js +112 -0
  51. package/dist/5501.creaditor.bundle.js.gz +0 -0
  52. package/dist/5713.creaditor.bundle.js +2 -152
  53. package/dist/5713.creaditor.bundle.js.LICENSE.txt +0 -11
  54. package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  55. package/dist/5713.creaditor.bundle.js.gz +0 -0
  56. package/dist/574.creaditor.bundle.js +4 -68
  57. package/dist/574.creaditor.bundle.js.gz +0 -0
  58. package/dist/5849.creaditor.bundle.js +1 -1
  59. package/dist/5849.creaditor.bundle.js.gz +0 -0
  60. package/dist/5926.creaditor.bundle.js +1 -1
  61. package/dist/5926.creaditor.bundle.js.gz +0 -0
  62. package/dist/6036.creaditor.bundle.js +34 -0
  63. package/dist/6036.creaditor.bundle.js.gz +0 -0
  64. package/dist/6151.creaditor.bundle.js +1 -0
  65. package/dist/6151.creaditor.bundle.js.gz +0 -0
  66. package/dist/638.creaditor.bundle.js +23 -0
  67. package/dist/638.creaditor.bundle.js.gz +0 -0
  68. package/dist/6442.creaditor.bundle.js +236 -0
  69. package/dist/6442.creaditor.bundle.js.gz +0 -0
  70. package/dist/7307.creaditor.bundle.js +186 -0
  71. package/dist/7307.creaditor.bundle.js.gz +0 -0
  72. package/dist/741.creaditor.bundle.js +234 -0
  73. package/dist/741.creaditor.bundle.js.gz +0 -0
  74. package/dist/7466.creaditor.bundle.js +1 -1
  75. package/dist/7466.creaditor.bundle.js.gz +0 -0
  76. package/dist/752.creaditor.bundle.js +40 -0
  77. package/dist/752.creaditor.bundle.js.gz +0 -0
  78. package/dist/767.creaditor.bundle.js +1 -1
  79. package/dist/767.creaditor.bundle.js.gz +0 -0
  80. package/dist/8042.creaditor.bundle.js +71 -0
  81. package/dist/8042.creaditor.bundle.js.gz +0 -0
  82. package/dist/8141.creaditor.bundle.js +1 -1
  83. package/dist/8141.creaditor.bundle.js.gz +0 -0
  84. package/dist/8173.creaditor.bundle.js +3 -3
  85. package/dist/8173.creaditor.bundle.js.gz +0 -0
  86. package/dist/8443.creaditor.bundle.js +72 -0
  87. package/dist/8443.creaditor.bundle.js.gz +0 -0
  88. package/dist/8516.creaditor.bundle.js +1 -1
  89. package/dist/8516.creaditor.bundle.js.gz +0 -0
  90. package/dist/8570.creaditor.bundle.js +102 -0
  91. package/dist/8570.creaditor.bundle.js.gz +0 -0
  92. package/dist/8646.creaditor.bundle.js +122 -0
  93. package/dist/8646.creaditor.bundle.js.gz +0 -0
  94. package/dist/8654.creaditor.bundle.js +109 -0
  95. package/dist/8654.creaditor.bundle.js.gz +0 -0
  96. package/dist/8854.creaditor.bundle.js +1 -1
  97. package/dist/8854.creaditor.bundle.js.gz +0 -0
  98. package/dist/8916.creaditor.bundle.js +18 -0
  99. package/dist/8916.creaditor.bundle.js.gz +0 -0
  100. package/dist/898.creaditor.bundle.js +5 -357
  101. package/dist/898.creaditor.bundle.js.gz +0 -0
  102. package/dist/9041.creaditor.bundle.js +171 -0
  103. package/dist/9041.creaditor.bundle.js.gz +0 -0
  104. package/dist/9193.creaditor.bundle.js +1 -1
  105. package/dist/9193.creaditor.bundle.js.gz +0 -0
  106. package/dist/9990.creaditor.bundle.js +16 -0
  107. package/dist/9990.creaditor.bundle.js.gz +0 -0
  108. package/dist/creaditor.bundle.js +1277 -1671
  109. package/dist/creaditor.bundle.js.LICENSE.txt +8 -0
  110. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  111. package/dist/creaditor.bundle.js.gz +0 -0
  112. package/dist/service-worker.js +1 -1
  113. package/dist/service-worker.js.gz +0 -0
  114. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 1317.creaditor.bundle.js.LICENSE.txt */
2
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1317,2706],{56379(e,t,i){i.d(t,{O:()=>s,o:()=>n});i(69130);var o=i(71920),a=i(90703),r=i(82239);const n={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=r.v._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},s=[o.a,a.x,r.v,n]},82239(e,t,i){i.d(t,{v:()=>r});i(69130),i(82491);var o=i(71920),a=i(53874);const r={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){o.A._downHandler.call(this,e),this.pressed&&this.ensureRipple(e)},ensureRipple:function(e){if(!this.hasRipple()){this._ripple=this._createRipple(),this._ripple.noink=this.noink;var t=this._rippleContainer||this.root;if(t&&(0,a.tT)(t).appendChild(this._ripple),e){var i=(0,a.tT)(this._rippleContainer||this),o=(0,a.tT)(e).rootTarget;i.deepContains(o)&&this._ripple.uiDownAction(e)}}},getRipple:function(){return this.ensureRipple(),this._ripple},hasRipple:function(){return Boolean(this._ripple)},_createRipple:function(){return document.createElement("paper-ripple")},_noinkChanged:function(e){this.hasRipple()&&(this._ripple.noink=e)}}},12706(e,t,i){i(69130),i(45611),i(12479);var o=i(19911),a=i(18811);const r={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},_getValidity:function(e){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},_checkedChanged:function(){this.active=this.checked,this.fire("iron-change")},_valueChanged:function(){void 0!==this.value&&null!==this.value||(this.value="on")}},n=[o.x,a.Q,r];var s=i(56379),l=i(82239);const d={_checkedChanged:function(){r._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){l.v._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}},c=[s.O,n,d];var p=i(95586),h=i(47351),u=i(77410);const v=h.q`
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1317,2706],{56379(e,t,i){i.d(t,{O:()=>s,o:()=>n});i(69130);var a=i(71920),o=i(90703),r=i(82239);const n={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=r.v._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},s=[a.a,o.x,r.v,n]},12706(e,t,i){i(69130),i(45611),i(12479);var a=i(19911),o=i(18811);const r={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},_getValidity:function(e){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},_checkedChanged:function(){this.active=this.checked,this.fire("iron-change")},_valueChanged:function(){void 0!==this.value&&null!==this.value||(this.value="on")}},n=[a.x,o.Q,r];var s=i(56379),d=i(82239);const c={_checkedChanged:function(){r._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){d.v._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}},l=[s.O,n,c];var p=i(95586),h=i(47351),u=i(77410);const b=h.q`
3
3
  <style>
4
4
  :host {
5
5
  display: inline-block;
@@ -127,7 +127,7 @@
127
127
  <div id="onRadio"></div>
128
128
  </div>
129
129
 
130
- <div id="radioLabel"><slot></slot></div>`;v.setAttribute("strip-whitespace",""),(0,p.b)({_template:v,is:"paper-radio-button",behaviors:[c],hostAttributes:{role:"radio","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},ready:function(){this._rippleContainer=this.$.radioContainer},attached:function(){(0,u.m)(this,function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-radio-button-ink-size").trim()){var e=parseFloat(this.getComputedStyleValue("--calculated-paper-radio-button-size").trim()),t=Math.floor(3*e);t%2!=e%2&&t++,this.updateStyles({"--paper-radio-button-ink-size":t+"px"})}})}})},61317(e,t,i){i(69130),i(35915),i(12706);var o=i(66216);const a={hostAttributes:{role:"menubar"},keyBindings:{left:"_onLeftKey",right:"_onRightKey"},_onUpKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},get _isRTL(){return"rtl"===window.getComputedStyle(this).direction},_onLeftKey:function(e){this._isRTL?this._focusNext():this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onRightKey:function(e){this._isRTL?this._focusPrevious():this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down left right esc")||this._focusWithKeyboardEvent(e)}},r=[o.i,a];var n=i(65266),s=i(95586),l=i(47351);(0,s.b)({_template:l.q`
130
+ <div id="radioLabel"><slot></slot></div>`;b.setAttribute("strip-whitespace",""),(0,p.b)({_template:b,is:"paper-radio-button",behaviors:[l],hostAttributes:{role:"radio","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},ready:function(){this._rippleContainer=this.$.radioContainer},attached:function(){(0,u.m)(this,function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-radio-button-ink-size").trim()){var e=parseFloat(this.getComputedStyleValue("--calculated-paper-radio-button-size").trim()),t=Math.floor(3*e);t%2!=e%2&&t++,this.updateStyles({"--paper-radio-button-ink-size":t+"px"})}})}})},61317(e,t,i){i(69130),i(35915),i(12706);var a=i(66216);const o={hostAttributes:{role:"menubar"},keyBindings:{left:"_onLeftKey",right:"_onRightKey"},_onUpKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this.focusedItem.click(),e.detail.keyboardEvent.preventDefault()},get _isRTL(){return"rtl"===window.getComputedStyle(this).direction},_onLeftKey:function(e){this._isRTL?this._focusNext():this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onRightKey:function(e){this._isRTL?this._focusPrevious():this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down left right esc")||this._focusWithKeyboardEvent(e)}},r=[a.i,o];var n=i(65266),s=i(95586),d=i(47351);(0,s.b)({_template:d.q`
131
131
  <style>
132
132
  :host {
133
133
  display: inline-block;
@@ -139,4 +139,4 @@
139
139
  </style>
140
140
 
141
141
  <slot></slot>
142
- `,is:"paper-radio-group",behaviors:[r],hostAttributes:{role:"radiogroup"},properties:{attrForSelected:{type:String,value:"name"},selectedAttribute:{type:String,value:"checked"},selectable:{type:String,value:"paper-radio-button"},allowEmptySelection:{type:Boolean,value:!1}},select:function(e){var t=this._valueToItem(e);if(!t||!t.hasAttribute("disabled")){if(this.selected){var i=this._valueToItem(this.selected);if(this.selected==e){if(!this.allowEmptySelection)return void(i&&(i.checked=!0));e=""}i&&(i.checked=!1)}n.F.select.apply(this,[e]),this.fire("paper-radio-group-changed")}},_activateFocusedItem:function(){this._itemActivate(this._valueForItem(this.focusedItem),this.focusedItem)},_onUpKey:function(e){this._focusPrevious(),e.preventDefault(),this._activateFocusedItem()},_onDownKey:function(e){this._focusNext(),e.preventDefault(),this._activateFocusedItem()},_onLeftKey:function(e){a._onLeftKey.apply(this,arguments),this._activateFocusedItem()},_onRightKey:function(e){a._onRightKey.apply(this,arguments),this._activateFocusedItem()}})}}]);
142
+ `,is:"paper-radio-group",behaviors:[r],hostAttributes:{role:"radiogroup"},properties:{attrForSelected:{type:String,value:"name"},selectedAttribute:{type:String,value:"checked"},selectable:{type:String,value:"paper-radio-button"},allowEmptySelection:{type:Boolean,value:!1}},select:function(e){var t=this._valueToItem(e);if(!t||!t.hasAttribute("disabled")){if(this.selected){var i=this._valueToItem(this.selected);if(this.selected==e){if(!this.allowEmptySelection)return void(i&&(i.checked=!0));e=""}i&&(i.checked=!1)}n.F.select.apply(this,[e]),this.fire("paper-radio-group-changed")}},_activateFocusedItem:function(){this._itemActivate(this._valueForItem(this.focusedItem),this.focusedItem)},_onUpKey:function(e){this._focusPrevious(),e.preventDefault(),this._activateFocusedItem()},_onDownKey:function(e){this._focusNext(),e.preventDefault(),this._activateFocusedItem()},_onLeftKey:function(e){o._onLeftKey.apply(this,arguments),this._activateFocusedItem()},_onRightKey:function(e){o._onRightKey.apply(this,arguments),this._activateFocusedItem()}})}}]);
Binary file
@@ -0,0 +1,16 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1529],{81529(e,t,s){s.r(t),s.d(t,{EditorBar:()=>p});var i=s(24586),n=s(59929),o=s(49937),r=s(9507),d=s(69600);const l=r.Ay;class p extends n.WF{constructor(){super(),this.opened=!1,this.offsetY=50,this.offsetX=0,this.reRender=this.reRender.bind(this)}reRender(){if(this.opened&&this.componentId){const e=l.getComponent(this.componentId);if(e&&e.element){const t=e.element.getBoundingClientRect();let s=t.top-this.offsetY;-1!==this.direction.indexOf("left")?this.left=t.left+this.offsetX+"px":this.left=t.left+t.width+"px",this.top=s+"px",-1!==this.direction.indexOf("bottom")&&(this.top=t.top-this.offsetY+t.height+20+"px")}}}render(){return this.opened?(this.style.display="",this.style.left=this.left,this.style.top=this.top,this.style.zIndex=(0,d.A)(),this.style.transform=`translate(${-1!==this.direction.indexOf("left")?"0":"100%"},${-1!==this.direction.indexOf("bottom")?"100%":"0"})`,n.qy` <slot></slot>`):(this.style.display="none",null)}disconnectedCallback(){super.disconnectedCallback(),o.A.unSubscribe("onScroll",this.reRender),l.off("update",this.reRender)}connectedCallback(){super.connectedCallback(),o.A.subscribe("onScroll",this.reRender),l.on("update",this.reRender),setTimeout(()=>{this.reRender()},0)}}(0,i.A)(p,"styles",n.AH`
2
+ :host {
3
+ position: fixed;
4
+ border-radius: 2px;
5
+ box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
6
+ min-height: 40px;
7
+ min-width: 40px;
8
+ background-color: #fff;
9
+ display: flex;
10
+ align-items: center;
11
+ border-radius: 3px;
12
+ transform: translateX(-100%);
13
+ transition: top 10ms ease-in-out, left 0.2s ease-in-out;
14
+ z-index: 2;
15
+ }
16
+ `),(0,i.A)(p,"properties",{componentId:{type:String},opened:{type:Boolean},left:{type:String},top:{type:String},offsetY:{type:Number},offsetX:{type:Number},direction:{type:String}}),customElements.define("cdtr-editor-bar",p)}}]);
Binary file