@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
Binary file
@@ -1,360 +1,8 @@
1
1
  /*! For license information please see 168.creaditor.bundle.js.LICENSE.txt */
2
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[168],{12479(e,a,t){t(69130);const p=t(47351).q`
3
- <custom-style>
4
- <style is="custom-style">
5
- [hidden] {
6
- display: none !important;
7
- }
8
- </style>
9
- </custom-style>
10
- <custom-style>
11
- <style is="custom-style">
12
- html {
13
-
14
- --layout: {
15
- display: -ms-flexbox;
16
- display: -webkit-flex;
17
- display: flex;
18
- };
19
-
20
- --layout-inline: {
21
- display: -ms-inline-flexbox;
22
- display: -webkit-inline-flex;
23
- display: inline-flex;
24
- };
25
-
26
- --layout-horizontal: {
27
- @apply --layout;
28
-
29
- -ms-flex-direction: row;
30
- -webkit-flex-direction: row;
31
- flex-direction: row;
32
- };
33
-
34
- --layout-horizontal-reverse: {
35
- @apply --layout;
36
-
37
- -ms-flex-direction: row-reverse;
38
- -webkit-flex-direction: row-reverse;
39
- flex-direction: row-reverse;
40
- };
41
-
42
- --layout-vertical: {
43
- @apply --layout;
44
-
45
- -ms-flex-direction: column;
46
- -webkit-flex-direction: column;
47
- flex-direction: column;
48
- };
49
-
50
- --layout-vertical-reverse: {
51
- @apply --layout;
52
-
53
- -ms-flex-direction: column-reverse;
54
- -webkit-flex-direction: column-reverse;
55
- flex-direction: column-reverse;
56
- };
57
-
58
- --layout-wrap: {
59
- -ms-flex-wrap: wrap;
60
- -webkit-flex-wrap: wrap;
61
- flex-wrap: wrap;
62
- };
63
-
64
- --layout-wrap-reverse: {
65
- -ms-flex-wrap: wrap-reverse;
66
- -webkit-flex-wrap: wrap-reverse;
67
- flex-wrap: wrap-reverse;
68
- };
69
-
70
- --layout-flex-auto: {
71
- -ms-flex: 1 1 auto;
72
- -webkit-flex: 1 1 auto;
73
- flex: 1 1 auto;
74
- };
75
-
76
- --layout-flex-none: {
77
- -ms-flex: none;
78
- -webkit-flex: none;
79
- flex: none;
80
- };
81
-
82
- --layout-flex: {
83
- -ms-flex: 1 1 0.000000001px;
84
- -webkit-flex: 1;
85
- flex: 1;
86
- -webkit-flex-basis: 0.000000001px;
87
- flex-basis: 0.000000001px;
88
- };
89
-
90
- --layout-flex-2: {
91
- -ms-flex: 2;
92
- -webkit-flex: 2;
93
- flex: 2;
94
- };
95
-
96
- --layout-flex-3: {
97
- -ms-flex: 3;
98
- -webkit-flex: 3;
99
- flex: 3;
100
- };
101
-
102
- --layout-flex-4: {
103
- -ms-flex: 4;
104
- -webkit-flex: 4;
105
- flex: 4;
106
- };
107
-
108
- --layout-flex-5: {
109
- -ms-flex: 5;
110
- -webkit-flex: 5;
111
- flex: 5;
112
- };
113
-
114
- --layout-flex-6: {
115
- -ms-flex: 6;
116
- -webkit-flex: 6;
117
- flex: 6;
118
- };
119
-
120
- --layout-flex-7: {
121
- -ms-flex: 7;
122
- -webkit-flex: 7;
123
- flex: 7;
124
- };
125
-
126
- --layout-flex-8: {
127
- -ms-flex: 8;
128
- -webkit-flex: 8;
129
- flex: 8;
130
- };
131
-
132
- --layout-flex-9: {
133
- -ms-flex: 9;
134
- -webkit-flex: 9;
135
- flex: 9;
136
- };
137
-
138
- --layout-flex-10: {
139
- -ms-flex: 10;
140
- -webkit-flex: 10;
141
- flex: 10;
142
- };
143
-
144
- --layout-flex-11: {
145
- -ms-flex: 11;
146
- -webkit-flex: 11;
147
- flex: 11;
148
- };
149
-
150
- --layout-flex-12: {
151
- -ms-flex: 12;
152
- -webkit-flex: 12;
153
- flex: 12;
154
- };
155
-
156
- /* alignment in cross axis */
157
-
158
- --layout-start: {
159
- -ms-flex-align: start;
160
- -webkit-align-items: flex-start;
161
- align-items: flex-start;
162
- };
163
-
164
- --layout-center: {
165
- -ms-flex-align: center;
166
- -webkit-align-items: center;
167
- align-items: center;
168
- };
169
-
170
- --layout-end: {
171
- -ms-flex-align: end;
172
- -webkit-align-items: flex-end;
173
- align-items: flex-end;
174
- };
175
-
176
- --layout-baseline: {
177
- -ms-flex-align: baseline;
178
- -webkit-align-items: baseline;
179
- align-items: baseline;
180
- };
181
-
182
- /* alignment in main axis */
183
-
184
- --layout-start-justified: {
185
- -ms-flex-pack: start;
186
- -webkit-justify-content: flex-start;
187
- justify-content: flex-start;
188
- };
189
-
190
- --layout-center-justified: {
191
- -ms-flex-pack: center;
192
- -webkit-justify-content: center;
193
- justify-content: center;
194
- };
195
-
196
- --layout-end-justified: {
197
- -ms-flex-pack: end;
198
- -webkit-justify-content: flex-end;
199
- justify-content: flex-end;
200
- };
201
-
202
- --layout-around-justified: {
203
- -ms-flex-pack: distribute;
204
- -webkit-justify-content: space-around;
205
- justify-content: space-around;
206
- };
207
-
208
- --layout-justified: {
209
- -ms-flex-pack: justify;
210
- -webkit-justify-content: space-between;
211
- justify-content: space-between;
212
- };
213
-
214
- --layout-center-center: {
215
- @apply --layout-center;
216
- @apply --layout-center-justified;
217
- };
218
-
219
- /* self alignment */
220
-
221
- --layout-self-start: {
222
- -ms-align-self: flex-start;
223
- -webkit-align-self: flex-start;
224
- align-self: flex-start;
225
- };
226
-
227
- --layout-self-center: {
228
- -ms-align-self: center;
229
- -webkit-align-self: center;
230
- align-self: center;
231
- };
232
-
233
- --layout-self-end: {
234
- -ms-align-self: flex-end;
235
- -webkit-align-self: flex-end;
236
- align-self: flex-end;
237
- };
238
-
239
- --layout-self-stretch: {
240
- -ms-align-self: stretch;
241
- -webkit-align-self: stretch;
242
- align-self: stretch;
243
- };
244
-
245
- --layout-self-baseline: {
246
- -ms-align-self: baseline;
247
- -webkit-align-self: baseline;
248
- align-self: baseline;
249
- };
250
-
251
- /* multi-line alignment in main axis */
252
-
253
- --layout-start-aligned: {
254
- -ms-flex-line-pack: start; /* IE10 */
255
- -ms-align-content: flex-start;
256
- -webkit-align-content: flex-start;
257
- align-content: flex-start;
258
- };
259
-
260
- --layout-end-aligned: {
261
- -ms-flex-line-pack: end; /* IE10 */
262
- -ms-align-content: flex-end;
263
- -webkit-align-content: flex-end;
264
- align-content: flex-end;
265
- };
266
-
267
- --layout-center-aligned: {
268
- -ms-flex-line-pack: center; /* IE10 */
269
- -ms-align-content: center;
270
- -webkit-align-content: center;
271
- align-content: center;
272
- };
273
-
274
- --layout-between-aligned: {
275
- -ms-flex-line-pack: justify; /* IE10 */
276
- -ms-align-content: space-between;
277
- -webkit-align-content: space-between;
278
- align-content: space-between;
279
- };
280
-
281
- --layout-around-aligned: {
282
- -ms-flex-line-pack: distribute; /* IE10 */
283
- -ms-align-content: space-around;
284
- -webkit-align-content: space-around;
285
- align-content: space-around;
286
- };
287
-
288
- /*******************************
289
- Other Layout
290
- *******************************/
291
-
292
- --layout-block: {
293
- display: block;
294
- };
295
-
296
- --layout-invisible: {
297
- visibility: hidden !important;
298
- };
299
-
300
- --layout-relative: {
301
- position: relative;
302
- };
303
-
304
- --layout-fit: {
305
- position: absolute;
306
- top: 0;
307
- right: 0;
308
- bottom: 0;
309
- left: 0;
310
- };
311
-
312
- --layout-scroll: {
313
- -webkit-overflow-scrolling: touch;
314
- overflow: auto;
315
- };
316
-
317
- --layout-fullbleed: {
318
- margin: 0;
319
- height: 100vh;
320
- };
321
-
322
- /* fixed position */
323
-
324
- --layout-fixed-top: {
325
- position: fixed;
326
- top: 0;
327
- left: 0;
328
- right: 0;
329
- };
330
-
331
- --layout-fixed-right: {
332
- position: fixed;
333
- top: 0;
334
- right: 0;
335
- bottom: 0;
336
- };
337
-
338
- --layout-fixed-bottom: {
339
- position: fixed;
340
- right: 0;
341
- bottom: 0;
342
- left: 0;
343
- };
344
-
345
- --layout-fixed-left: {
346
- position: fixed;
347
- top: 0;
348
- bottom: 0;
349
- left: 0;
350
- };
351
-
352
- }
353
- </style>
354
- </custom-style>`;p.setAttribute("style","display: none;"),document.head.appendChild(p.content);var n=document.createElement("style");n.textContent="[hidden] { display: none !important; }",document.head.appendChild(n)},74396(e,a,t){t.d(a,{L:()=>p});t(69130);const p=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,a){for(var t in a)e[t]=a[t]},_cloneConfig:function(e){var a={isClone:!0};return this._copyProperties(a,e),a},_getAnimationConfigRecursive:function(e,a,t){var p;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(p=e?this.animationConfig[e]:this.animationConfig,Array.isArray(p)||(p=[p]),p)for(var n,o=0;n=p[o];o++)if(n.animatable)n.animatable._getAnimationConfigRecursive(n.type||e,a,t);else if(n.id){var i=a[n.id];i?(i.isClone||(a[n.id]=this._cloneConfig(i),i=a[n.id]),this._copyProperties(i,n)):a[n.id]=n}else t.push(n)},getAnimationConfig:function(e){var a={},t=[];for(var p in this._getAnimationConfigRecursive(e,a,t),a)t.push(a[p]);return t}},{_configureAnimations:function(e){var a=[],t=[];if(e.length>0)for(let a,p=0;a=e[p];p++){let e=document.createElement(a.name);if(e.isNeonAnimation){let p=null;e.configure||(e.configure=function(e){return null}),p=e.configure(a),t.push({result:p,config:a,neonAnimation:e})}else console.warn(this.is+":",a.name,"not found!")}for(var p=0;p<t.length;p++){let e=t[p].result,n=t[p].config,o=t[p].neonAnimation;try{"function"!=typeof e.cancel&&(e=document.timeline.play(e))}catch(a){e=null,console.warn("Couldnt play","(",n.name,").",a)}e&&a.push({neonAnimation:o,config:n,animation:e})}return a},_shouldComplete:function(e){for(var a=!0,t=0;t<e.length;t++)if("finished"!=e[t].animation.playState){a=!1;break}return a},_complete:function(e){for(var a=0;a<e.length;a++)e[a].neonAnimation.complete(e[a].config);for(a=0;a<e.length;a++)e[a].animation.cancel()},playAnimation:function(e,a){var t=this.getAnimationConfig(e);if(t){this._active=this._active||{},this._active[e]&&(this._complete(this._active[e]),delete this._active[e]);var p=this._configureAnimations(t);if(0!=p.length){this._active[e]=p;for(var n=0;n<p.length;n++)p[n].animation.onfinish=function(){this._shouldComplete(p)&&(this._complete(p),delete this._active[e],this.fire("neon-animation-finish",a,{bubbles:!1}))}.bind(this)}else this.fire("neon-animation-finish",a,{bubbles:!1})}},cancelAnimation:function(){for(var e in this._active){var a=this._active[e];for(var t in a)a[t].animation.cancel()}this._active={}}}]},80168(e,a,t){t(69130),t(12479),t(45611),t(66564),t(48176);const p=document.createElement("template");p.setAttribute("style","display: none;"),p.innerHTML='<dom-module id="paper-dialog-shared-styles">\n <template>\n <style>\n :host {\n display: block;\n margin: 24px 40px;\n\n background: var(--paper-dialog-background-color, var(--primary-background-color));\n color: var(--paper-dialog-color, var(--primary-text-color));\n\n @apply --paper-font-body1;\n @apply --shadow-elevation-16dp;\n @apply --paper-dialog;\n }\n\n :host > ::slotted(*) {\n margin-top: 20px;\n padding: 0 24px;\n }\n\n :host > ::slotted(.no-padding) {\n padding: 0;\n }\n\n \n :host > ::slotted(*:first-child) {\n margin-top: 24px;\n }\n\n :host > ::slotted(*:last-child) {\n margin-bottom: 24px;\n }\n\n /* In 1.x, this selector was `:host > ::content h2`. In 2.x <slot> allows\n to select direct children only, which increases the weight of this\n selector, so we have to re-define first-child/last-child margins below. */\n :host > ::slotted(h2) {\n position: relative;\n margin: 0;\n\n @apply --paper-font-title;\n @apply --paper-dialog-title;\n }\n\n /* Apply mixin again, in case it sets margin-top. */\n :host > ::slotted(h2:first-child) {\n margin-top: 24px;\n @apply --paper-dialog-title;\n }\n\n /* Apply mixin again, in case it sets margin-bottom. */\n :host > ::slotted(h2:last-child) {\n margin-bottom: 24px;\n @apply --paper-dialog-title;\n }\n\n :host > ::slotted(.paper-dialog-buttons),\n :host > ::slotted(.buttons) {\n position: relative;\n padding: 8px 8px 8px 24px;\n margin: 0;\n\n color: var(--paper-dialog-button-color, var(--primary-color));\n\n @apply --layout-horizontal;\n @apply --layout-end-justified;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(p.content);var n=t(74396),o=t(68876),i=t(53874);const r={hostAttributes:{role:"dialog",tabindex:"-1"},properties:{modal:{type:Boolean,value:!1},__readied:{type:Boolean,value:!1}},observers:["_modalChanged(modal, __readied)"],listeners:{tap:"_onDialogClick"},ready:function(){this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop,this.__readied=!0},_modalChanged:function(e,a){a&&(e?(this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop,this.noCancelOnOutsideClick=!0,this.noCancelOnEscKey=!0,this.withBackdrop=!0):(this.noCancelOnOutsideClick=this.noCancelOnOutsideClick&&this.__prevNoCancelOnOutsideClick,this.noCancelOnEscKey=this.noCancelOnEscKey&&this.__prevNoCancelOnEscKey,this.withBackdrop=this.withBackdrop&&this.__prevWithBackdrop))},_updateClosingReasonConfirmed:function(e){this.closingReason=this.closingReason||{},this.closingReason.confirmed=e},_onDialogClick:function(e){for(var a=(0,i.tT)(e).path,t=0,p=a.indexOf(this);t<p;t++){var n=a[t];if(n.hasAttribute&&(n.hasAttribute("dialog-dismiss")||n.hasAttribute("dialog-confirm"))){this._updateClosingReasonConfirmed(n.hasAttribute("dialog-confirm")),this.close(),e.stopPropagation();break}}}},l=[o.r,r];var f=t(95586),s=t(47351);(0,f.b)({_template:s.q`
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[168],{74396(e,a,p){p.d(a,{L:()=>r});p(69130);const r=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,a){for(var p in a)e[p]=a[p]},_cloneConfig:function(e){var a={isClone:!0};return this._copyProperties(a,e),a},_getAnimationConfigRecursive:function(e,a,p){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var n,o=0;n=r[o];o++)if(n.animatable)n.animatable._getAnimationConfigRecursive(n.type||e,a,p);else if(n.id){var t=a[n.id];t?(t.isClone||(a[n.id]=this._cloneConfig(t),t=a[n.id]),this._copyProperties(t,n)):a[n.id]=n}else p.push(n)},getAnimationConfig:function(e){var a={},p=[];for(var r in this._getAnimationConfigRecursive(e,a,p),a)p.push(a[r]);return p}},{_configureAnimations:function(e){var a=[],p=[];if(e.length>0)for(let a,r=0;a=e[r];r++){let e=document.createElement(a.name);if(e.isNeonAnimation){let r=null;e.configure||(e.configure=function(e){return null}),r=e.configure(a),p.push({result:r,config:a,neonAnimation:e})}else console.warn(this.is+":",a.name,"not found!")}for(var r=0;r<p.length;r++){let e=p[r].result,n=p[r].config,o=p[r].neonAnimation;try{"function"!=typeof e.cancel&&(e=document.timeline.play(e))}catch(a){e=null,console.warn("Couldnt play","(",n.name,").",a)}e&&a.push({neonAnimation:o,config:n,animation:e})}return a},_shouldComplete:function(e){for(var a=!0,p=0;p<e.length;p++)if("finished"!=e[p].animation.playState){a=!1;break}return a},_complete:function(e){for(var a=0;a<e.length;a++)e[a].neonAnimation.complete(e[a].config);for(a=0;a<e.length;a++)e[a].animation.cancel()},playAnimation:function(e,a){var p=this.getAnimationConfig(e);if(p){this._active=this._active||{},this._active[e]&&(this._complete(this._active[e]),delete this._active[e]);var r=this._configureAnimations(p);if(0!=r.length){this._active[e]=r;for(var n=0;n<r.length;n++)r[n].animation.onfinish=function(){this._shouldComplete(r)&&(this._complete(r),delete this._active[e],this.fire("neon-animation-finish",a,{bubbles:!1}))}.bind(this)}else this.fire("neon-animation-finish",a,{bubbles:!1})}},cancelAnimation:function(){for(var e in this._active){var a=this._active[e];for(var p in a)a[p].animation.cancel()}this._active={}}}]},80168(e,a,p){p(69130),p(12479),p(45611),p(66564),p(48176);const r=document.createElement("template");r.setAttribute("style","display: none;"),r.innerHTML='<dom-module id="paper-dialog-shared-styles">\n <template>\n <style>\n :host {\n display: block;\n margin: 24px 40px;\n\n background: var(--paper-dialog-background-color, var(--primary-background-color));\n color: var(--paper-dialog-color, var(--primary-text-color));\n\n @apply --paper-font-body1;\n @apply --shadow-elevation-16dp;\n @apply --paper-dialog;\n }\n\n :host > ::slotted(*) {\n margin-top: 20px;\n padding: 0 24px;\n }\n\n :host > ::slotted(.no-padding) {\n padding: 0;\n }\n\n \n :host > ::slotted(*:first-child) {\n margin-top: 24px;\n }\n\n :host > ::slotted(*:last-child) {\n margin-bottom: 24px;\n }\n\n /* In 1.x, this selector was `:host > ::content h2`. In 2.x <slot> allows\n to select direct children only, which increases the weight of this\n selector, so we have to re-define first-child/last-child margins below. */\n :host > ::slotted(h2) {\n position: relative;\n margin: 0;\n\n @apply --paper-font-title;\n @apply --paper-dialog-title;\n }\n\n /* Apply mixin again, in case it sets margin-top. */\n :host > ::slotted(h2:first-child) {\n margin-top: 24px;\n @apply --paper-dialog-title;\n }\n\n /* Apply mixin again, in case it sets margin-bottom. */\n :host > ::slotted(h2:last-child) {\n margin-bottom: 24px;\n @apply --paper-dialog-title;\n }\n\n :host > ::slotted(.paper-dialog-buttons),\n :host > ::slotted(.buttons) {\n position: relative;\n padding: 8px 8px 8px 24px;\n margin: 0;\n\n color: var(--paper-dialog-button-color, var(--primary-color));\n\n @apply --layout-horizontal;\n @apply --layout-end-justified;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(r.content);var n=p(74396),o=p(68876),t=p(53874);const i={hostAttributes:{role:"dialog",tabindex:"-1"},properties:{modal:{type:Boolean,value:!1},__readied:{type:Boolean,value:!1}},observers:["_modalChanged(modal, __readied)"],listeners:{tap:"_onDialogClick"},ready:function(){this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop,this.__readied=!0},_modalChanged:function(e,a){a&&(e?(this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop,this.noCancelOnOutsideClick=!0,this.noCancelOnEscKey=!0,this.withBackdrop=!0):(this.noCancelOnOutsideClick=this.noCancelOnOutsideClick&&this.__prevNoCancelOnOutsideClick,this.noCancelOnEscKey=this.noCancelOnEscKey&&this.__prevNoCancelOnEscKey,this.withBackdrop=this.withBackdrop&&this.__prevWithBackdrop))},_updateClosingReasonConfirmed:function(e){this.closingReason=this.closingReason||{},this.closingReason.confirmed=e},_onDialogClick:function(e){for(var a=(0,t.tT)(e).path,p=0,r=a.indexOf(this);p<r;p++){var n=a[p];if(n.hasAttribute&&(n.hasAttribute("dialog-dismiss")||n.hasAttribute("dialog-confirm"))){this._updateClosingReasonConfirmed(n.hasAttribute("dialog-confirm")),this.close(),e.stopPropagation();break}}}},l=[o.r,i];var f=p(95586),c=p(47351);(0,f.b)({_template:c.q`
355
3
  <style include="paper-dialog-shared-styles"></style>
356
4
  <slot></slot>
357
- `,is:"paper-dialog",behaviors:[l,n.L],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_renderOpened:function(){this.cancelAnimation(),this.playAnimation("entry")},_renderClosed:function(){this.cancelAnimation(),this.playAnimation("exit")},_onNeonAnimationFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderClosed()}})},88453(e,a,t){t(69130);const p=t(47351).q`
5
+ `,is:"paper-dialog",behaviors:[l,n.L],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_renderOpened:function(){this.cancelAnimation(),this.playAnimation("entry")},_renderClosed:function(){this.cancelAnimation(),this.playAnimation("exit")},_onNeonAnimationFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderClosed()}})},88453(e,a,p){p(69130);const r=p(47351).q`
358
6
  <custom-style>
359
7
  <style is="custom-style">
360
8
  html {
@@ -677,7 +325,7 @@
677
325
 
678
326
  </style>
679
327
  </custom-style>
680
- `;p.setAttribute("style","display: none;"),document.head.appendChild(p.content)},45611(e,a,t){t(69130),t(88453);const p=t(47351).q`
328
+ `;r.setAttribute("style","display: none;"),document.head.appendChild(r.content)},45611(e,a,p){p(69130),p(88453);const r=p(47351).q`
681
329
  <custom-style>
682
330
  <style is="custom-style">
683
331
  html {
@@ -733,71 +381,7 @@
733
381
  --default-primary-color: var(--primary-color);
734
382
  }
735
383
  </style>
736
- </custom-style>`;p.setAttribute("style","display: none;"),document.head.appendChild(p.content)},48176(e,a,t){t(69130);const p=t(47351).q`
737
- <custom-style>
738
- <style is="custom-style">
739
- html {
740
-
741
- --shadow-transition: {
742
- transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
743
- };
744
-
745
- --shadow-none: {
746
- box-shadow: none;
747
- };
748
-
749
- /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
750
-
751
- --shadow-elevation-2dp: {
752
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
753
- 0 1px 5px 0 rgba(0, 0, 0, 0.12),
754
- 0 3px 1px -2px rgba(0, 0, 0, 0.2);
755
- };
756
-
757
- --shadow-elevation-3dp: {
758
- box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
759
- 0 1px 8px 0 rgba(0, 0, 0, 0.12),
760
- 0 3px 3px -2px rgba(0, 0, 0, 0.4);
761
- };
762
-
763
- --shadow-elevation-4dp: {
764
- box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
765
- 0 1px 10px 0 rgba(0, 0, 0, 0.12),
766
- 0 2px 4px -1px rgba(0, 0, 0, 0.4);
767
- };
768
-
769
- --shadow-elevation-6dp: {
770
- box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
771
- 0 1px 18px 0 rgba(0, 0, 0, 0.12),
772
- 0 3px 5px -1px rgba(0, 0, 0, 0.4);
773
- };
774
-
775
- --shadow-elevation-8dp: {
776
- box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
777
- 0 3px 14px 2px rgba(0, 0, 0, 0.12),
778
- 0 5px 5px -3px rgba(0, 0, 0, 0.4);
779
- };
780
-
781
- --shadow-elevation-12dp: {
782
- box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),
783
- 0 4px 22px 3px rgba(0, 0, 0, 0.12),
784
- 0 6px 7px -4px rgba(0, 0, 0, 0.4);
785
- };
786
-
787
- --shadow-elevation-16dp: {
788
- box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
789
- 0 6px 30px 5px rgba(0, 0, 0, 0.12),
790
- 0 8px 10px -5px rgba(0, 0, 0, 0.4);
791
- };
792
-
793
- --shadow-elevation-24dp: {
794
- box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
795
- 0 9px 46px 8px rgba(0, 0, 0, 0.12),
796
- 0 11px 15px -7px rgba(0, 0, 0, 0.4);
797
- };
798
- }
799
- </style>
800
- </custom-style>`;p.setAttribute("style","display: none;"),document.head.appendChild(p.content)},66564(e,a,t){t(69130);if(!window.polymerSkipLoadingFontRoboto){const e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.crossOrigin="anonymous",e.href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic",document.head.appendChild(e)}const p=t(47351).q`<custom-style>
384
+ </custom-style>`;r.setAttribute("style","display: none;"),document.head.appendChild(r.content)},66564(e,a,p){p(69130);if(!window.polymerSkipLoadingFontRoboto){const e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.crossOrigin="anonymous",e.href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic",document.head.appendChild(e)}const r=p(47351).q`<custom-style>
801
385
  <style is="custom-style">
802
386
  html {
803
387
 
@@ -953,4 +537,4 @@
953
537
  }
954
538
 
955
539
  </style>
956
- </custom-style>`;p.setAttribute("style","display: none;"),document.head.appendChild(p.content)}}]);
540
+ </custom-style>`;r.setAttribute("style","display: none;"),document.head.appendChild(r.content)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[170],{60170(e,t,r){r.r(t),r.d(t,{BreadCrumbs:()=>l});var s=r(24586),n=r(5441),o=r(59929),i=(r(40352),r(86319)),c=r(58371),a=r(9507);class l extends o.WF{constructor(){super(),this.crumbs=[],this.cover=function(){const e=document.createElement("div");return e.style.position="fixed",e.style.background="var(--primary)",e.style.zIndex=2,e.style.border="1px dashed black",e.style.opacity=.2,e}(),this.currectCrumb={},this.onSubscribe=()=>{let e;this.crumbs=[];const t=a.Ay.components[a.Ay.components.length-1];if(!t)return;if(e=t.element,!e)return void console.error("selectElement not found","#1ppqmvss6");let r=t.type.getElementType(),s="";t.props.as&&(s=` (${i.M.get("lang",t.props.as)||t.props.as})`),this.currectCrumb={type:r,as:s,name:t.props.name,id:t.id};if(e){let t=e;for(;t&&t.parentElement;)if(t=t.parentElement.closest("[data-type]"),t){const e=i.M.get("components",t.dataset.id);let r=!0;e&&"row"!==e.type&&("col"===e.type&&"block"!==e.parent().type&&(r=!1),r&&this.crumbs.unshift({type:e.type,name:e.props.name,id:e.id,element:e.element,compose:e}))}this.dispatchEvent(new CustomEvent("change",[...this.crumbs]))}},this.onSubscribe=this.onSubscribe.bind(this)}onHover(e){if(e){const t=e.getBoundingClientRect();this.cover.style.left=t.left+"px",this.cover.style.top=t.top+"px",this.cover.style.width=t.width+"px",this.cover.style.height=t.height+"px",document.body.appendChild(this.cover)}}render(){const e=i.M.get("langConfig","direction");return this.crumbs.length>0?o.qy`
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[170],{60170(e,t,r){r.r(t),r.d(t,{BreadCrumbs:()=>l});var s=r(24586),n=r(5441),o=r(59929),i=r(86319),c=r(58371),a=r(9507);class l extends o.WF{constructor(){super(),this.crumbs=[],this.cover=function(){const e=document.createElement("div");return e.style.position="fixed",e.style.background="var(--primary)",e.style.zIndex=2,e.style.border="1px dashed black",e.style.opacity=.2,e}(),this.currectCrumb={},this.onSubscribe=()=>{let e;this.crumbs=[];const t=a.Ay.components[a.Ay.components.length-1];if(!t)return;if(e=t.element,!e)return void console.error("selectElement not found","#1ppqmvss6");let r=t.type.getElementType(),s="";t.props.as&&(s=` (${i.M.get("lang",t.props.as)||t.props.as})`),this.currectCrumb={type:r,as:s,name:t.props.name,id:t.id};if(e){let t=e;for(;t&&t.parentElement;)if(t=t.parentElement.closest("[data-type]"),t){const e=i.M.get("components",t.dataset.id);let r=!0;e&&"row"!==e.type&&("col"===e.type&&"block"!==e.parent().type&&(r=!1),r&&this.crumbs.unshift({type:e.type,name:e.props.name,id:e.id,element:e.element,compose:e}))}this.dispatchEvent(new CustomEvent("change",[...this.crumbs]))}},this.onSubscribe=this.onSubscribe.bind(this)}onHover(e){if(e){const t=e.getBoundingClientRect();this.cover.style.left=t.left+"px",this.cover.style.top=t.top+"px",this.cover.style.width=t.width+"px",this.cover.style.height=t.height+"px",document.body.appendChild(this.cover)}}render(){const e=i.M.get("langConfig","direction");return this.crumbs.length>0?o.qy`
2
2
  <!-- <cdtr-tooltip content="breadcrumbs_info" .opened=${!0}></cdtr-tooltip> -->
3
3
  <div>
4
4
  ${this.crumbs.map((t,r)=>o.qy` <span
Binary file
@@ -1 +1 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2234],{62234(e,t,s){s.r(t);s(59929);var n=s(40352);s(21421);n.A.subscribe("snackbar",e=>{let{text:t,timeout:s=3e3}=e;"function"==typeof window.snackbar&&window.snackbar({text:t})})}}]);
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2234],{62234(e,t,s){s.r(t);s(49937).A.subscribe("snackbar",e=>{let{text:t,timeout:s=3e3}=e;"function"==typeof window.snackbar&&window.snackbar({text:t})})}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2384],{92384(t,e,n){n.r(e),n.d(e,{FontFamilyEditor:()=>a});var i=n(24586),s=n(59929),o=(n(9507),n(40120)),r=n(86319);class a extends s.WF{constructor(){super(),(0,i.A)(this,"onchangeFontFamily",t=>{const e=t.target.value,n=this.fontFamilies.find(t=>t.name===e);if(!n)return void console.error("cant set font family, font family not founded..");(0,o.sw)(n),this.value=n.cssRule,this.name=e;const i=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(i)}),(0,i.A)(this,"onFilteredFonts",t=>{const e=t.target.value;this.filteredFonts=this.fontFamilies.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}),this.filteredFonts=[],this.fontFamilies=[]}connectedCallback(){super.connectedCallback();const t=r.M.get("config","editor","configure","editorProps","fonts"),e=Array.isArray(t)?t:[];this.filteredFonts=this.fontFamilies=e,e.forEach(t=>{t&&t.url&&t.id&&function(t){if(document.getElementById(t.id))return;const e=document.createElement("link");e.href=t.url,e.id=t.id,e.setAttribute("data-name",t.name),e.rel="stylesheet",e.type="text/css",document.head.appendChild(e)}(t)})}disconnectedCallback(){super.disconnectedCallback()}render(){const t=this.fontFamilies.find(t=>"string"==typeof t?.cssRule&&(-1!==t.cssRule.indexOf(this.value||"")||-1!==t.cssRule.indexOf(this.name||"")));t&&(this.name=t.name);const e=s.qy`<cdtr-dropdown
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2384],{92384(t,e,n){n.r(e),n.d(e,{FontFamilyEditor:()=>a});var i=n(24586),s=n(59929),o=n(40120),r=n(86319);class a extends s.WF{constructor(){super(),(0,i.A)(this,"onchangeFontFamily",t=>{const e=t.target.value,n=this.fontFamilies.find(t=>t.name===e);if(!n)return void console.error("cant set font family, font family not founded..");(0,o.sw)(n),this.value=n.cssRule,this.name=e;const i=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(i)}),(0,i.A)(this,"onFilteredFonts",t=>{const e=t.target.value;this.filteredFonts=this.fontFamilies.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}),this.filteredFonts=[],this.fontFamilies=[]}connectedCallback(){super.connectedCallback();const t=r.M.get("config","editor","configure","editorProps","fonts"),e=Array.isArray(t)?t:[];this.filteredFonts=this.fontFamilies=e,e.forEach(t=>{t&&t.url&&t.id&&function(t){if(document.getElementById(t.id))return;const e=document.createElement("link");e.href=t.url,e.id=t.id,e.setAttribute("data-name",t.name),e.rel="stylesheet",e.type="text/css",document.head.appendChild(e)}(t)})}disconnectedCallback(){super.disconnectedCallback()}render(){const t=this.fontFamilies.find(t=>"string"==typeof t?.cssRule&&(-1!==t.cssRule.indexOf(this.value||"")||-1!==t.cssRule.indexOf(this.name||"")));t&&(this.name=t.name);const e=s.qy`<cdtr-dropdown
2
2
  style="width:100%"
3
3
  .value="${this.name}"
4
4
  @change=${this.onchangeFontFamily}
Binary file
@@ -0,0 +1,67 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2438],{22438(t,e,i){i.r(e),i.d(e,{NextButton:()=>a});var o=i(24586),n=i(59929),s=i(86319),r=i(93432);class a extends n.WF{constructor(){super(),this.isLoading=!1,this.isLocked=!1,this.lockTimer=null}connectedCallback(){super.connectedCallback(),this.onNextStep||(this.onNextStep=s.M.get("config","onNextStep"))}disconnectedCallback(){super.disconnectedCallback(),this.clearTimers()}clearTimers(){this.lockTimer&&(clearTimeout(this.lockTimer),this.lockTimer=null)}async handleClick(){if(!this.isLocked&&!this.isLoading){this.isLoading=!0,this.isLocked=!0,this.lockTimer=setTimeout(()=>{this.clearTimers(),this.isLoading=!1,this.isLocked=!1},1e4);try{"function"==typeof this.onNextStep&&await this.onNextStep({toHTML:r.FE,toJSON:r.U2})}catch(t){console.error("Error in onNextStep:",t)}}}render(){return this.onNextStep?n.qy`
2
+ <paper-button
3
+ @click=${this.handleClick}
4
+ class="next-button"
5
+ ?disabled=${this.isLocked}
6
+ >
7
+ ${this.isLoading?n.qy`
8
+ <div class="loading-spinner"></div>
9
+ `:n.qy`
10
+ <div class="button-content ${this.isLoading?"loading":""}">
11
+ <lang-text text="next"></lang-text>
12
+ </div>
13
+ `}
14
+ </paper-button>
15
+ `:null}}(0,o.A)(a,"styles",n.AH`
16
+ :host {
17
+ display: block;
18
+ }
19
+
20
+ .next-button {
21
+ background: var(--primary);
22
+ color: var(--primary-text);
23
+ fill: var(--primary-text);
24
+ text-transform: none;
25
+ color: #fff;
26
+ height: 52px;
27
+ border-radius: 0;
28
+ width: 90px;
29
+ transform: translateX(-4px);
30
+ position: relative;
31
+ overflow: hidden;
32
+ }
33
+
34
+ .next-button:disabled {
35
+ opacity: 0.6;
36
+ cursor: not-allowed;
37
+ }
38
+
39
+ .loading-spinner {
40
+ position: absolute;
41
+ top: 50%;
42
+ left: 50%;
43
+ transform: translate(-50%, -50%);
44
+ width: 20px;
45
+ height: 20px;
46
+ border: 2px solid transparent;
47
+ border-top: 2px solid #fff;
48
+ border-radius: 50%;
49
+ animation: spin 1s linear infinite;
50
+ }
51
+
52
+ @keyframes spin {
53
+ 0% { transform: translate(-50%, -50%) rotate(0deg); }
54
+ 100% { transform: translate(-50%, -50%) rotate(360deg); }
55
+ }
56
+
57
+ .button-content {
58
+ opacity: 1;
59
+ transition: opacity 0.3s ease;
60
+ }
61
+
62
+ .button-content.loading {
63
+ opacity: 0;
64
+ }
65
+
66
+
67
+ `),(0,o.A)(a,"properties",{onNextStep:{type:Function},isLoading:{type:Boolean},isLocked:{type:Boolean},lockTimer:{type:Number}}),customElements.define("cdtr-next-button",a)}}]);
Binary file
@@ -0,0 +1,6 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2547],{92547(t,e,s){s.r(e),s.d(e,{DraggableElement:()=>a});var i=s(24586),n=s(59929);let o,h;class r{constructor(t,e){(0,i.A)(this,"target",void 0),(0,i.A)(this,"options",void 0),(0,i.A)(this,"handle",void 0),(0,i.A)(this,"x",void 0),(0,i.A)(this,"y",void 0),(0,i.A)(this,"initX",void 0),(0,i.A)(this,"initY",void 0),(0,i.A)(this,"firstX",void 0),(0,i.A)(this,"firstY",void 0),this.target=t,this.options=e||{},this.handle=this.options.handle,this.x=o||0,this.y=h||0,this.initX=0,this.initY=0,this.firstX=0,this.firstY=0,this.onMouseDown=this.onMouseDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onMouseMove=this.onMouseMove.bind(this),this.init()}onMouseMove(t){const e=this.initY+(t.pageY-this.firstY),s=this.initX+(t.pageX-this.firstX),i=t.pageX-this.firstX,n=t.pageY-this.firstY;(Math.abs(i)>10||Math.abs(n)>10)&&(this.y=e,this.x=s,o=s,h=e,this.options.onMove&&this.options.onMove(s,e))}onMouseDown(t){if(1!==t.which)return;if(t.target.closest("input,textarea,cdtr-input,.cdtr-ignore"))return;if(t.target.closest("[role='button']"))return;if(t.preventDefault(),this.handle&&!t.target.closest(this.handle))return;const e=this.target.getBoundingClientRect();this.initX=e.left+window.scrollX,this.initY=e.top+window.scrollY,this.firstX=t.pageX,this.firstY=t.pageY,this.target.addEventListener("blur",this.onMouseUp,!1),window.addEventListener("mouseup",this.onMouseUp,!1),window.addEventListener("mousemove",this.onMouseMove,!1)}onMouseUp(){this.firstX=this.x,this.firstY=this.y,this.target.removeEventListener("blur",this.onMouseUp,!1),window.removeEventListener("mouseup",this.onMouseUp,!1),window.removeEventListener("mousemove",this.onMouseMove,!1),this.options.onEnd&&this.options.onEnd(this.x,this.y)}init(){this.options.onMove&&o&&h&&this.options.onMove(o,h),this.target&&this.target.addEventListener("mousedown",this.onMouseDown,!1)}destroy(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown,!1)}}class a extends n.WF{constructor(){super(),(0,i.A)(this,"draggableInstance",null),(0,i.A)(this,"clientX",""),(0,i.A)(this,"clientY",""),this.x="",this.y="",this.handle=""}render(){return this.style.left=this.x,this.style.top=this.y,n.qy` <slot></slot> `}disconnectedCallback(){super.disconnectedCallback(),this.draggableInstance&&this.draggableInstance.destroy()}connectedCallback(){super.connectedCallback(),this.draggableInstance=new r(this.children[0],{handle:this.handle,onMove:(t,e)=>{this.x=String(t),this.y=String(e),this.clientX=String(t),this.clientY=String(e);const s=new UIEvent("move",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(s)},onEnd:(t,e)=>{const s=new UIEvent("end",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(s)}})}}(0,i.A)(a,"styles",n.AH`
2
+ :host {
3
+ position: absolute;
4
+ display: block;
5
+ }
6
+ `),(0,i.A)(a,"properties",{x:{type:String,reflect:!0},y:{type:String,reflect:!0},handle:{type:String,reflect:!0}}),customElements.define("cdtr-draggable-element",a)}}]);
Binary file
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 2706.creaditor.bundle.js.LICENSE.txt */
2
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2706],{56379(e,t,i){i.d(t,{O:()=>l,o:()=>n});i(69130);var r=i(71920),a=i(90703),o=i(82239);const n={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=o.v._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},l=[r.a,a.x,o.v,n]},82239(e,t,i){i.d(t,{v:()=>o});i(69130),i(82491);var r=i(71920),a=i(53874);const o={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){r.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),r=(0,a.tT)(e).rootTarget;i.deepContains(r)&&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 r=i(19911),a=i(18811);const o={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=[r.x,a.Q,o];var l=i(56379),d=i(82239);const p={_checkedChanged:function(){o._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)}},s=[l.O,n,p];var c=i(95586),h=i(47351),u=i(77410);const b=h.q`
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2706],{56379(e,t,a){a.d(t,{O:()=>d,o:()=>n});a(69130);var r=a(71920),i=a(90703),o=a(82239);const n={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=o.v._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},d=[r.a,i.x,o.v,n]},12706(e,t,a){a(69130),a(45611),a(12479);var r=a(19911),i=a(18811);const o={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=[r.x,i.Q,o];var d=a(56379),c=a(82239);const l={_checkedChanged:function(){o._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){c.v._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}},s=[d.O,n,l];var p=a(95586),h=a(47351),u=a(77410);const b=h.q`
3
3
  <style>
4
4
  :host {
5
5
  display: inline-block;
@@ -127,4 +127,4 @@
127
127
  <div id="onRadio"></div>
128
128
  </div>
129
129
 
130
- <div id="radioLabel"><slot></slot></div>`;b.setAttribute("strip-whitespace",""),(0,c.b)({_template:b,is:"paper-radio-button",behaviors:[s],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"})}})}})}}]);
130
+ <div id="radioLabel"><slot></slot></div>`;b.setAttribute("strip-whitespace",""),(0,p.b)({_template:b,is:"paper-radio-button",behaviors:[s],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"})}})}})}}]);
Binary file