@creaditor/newsletter-starterkit 1.0.0

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 (392) hide show
  1. package/README.md +258 -0
  2. package/dist/1030.creaditor.bundle.js +318 -0
  3. package/dist/1030.creaditor.bundle.js.LICENSE.txt +11 -0
  4. package/dist/1030.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  5. package/dist/1030.creaditor.bundle.js.gz +0 -0
  6. package/dist/1101.creaditor.bundle.js +21 -0
  7. package/dist/1101.creaditor.bundle.js.gz +0 -0
  8. package/dist/116.creaditor.bundle.js +23 -0
  9. package/dist/116.creaditor.bundle.js.gz +0 -0
  10. package/dist/1199.creaditor.bundle.js +23 -0
  11. package/dist/1199.creaditor.bundle.js.gz +0 -0
  12. package/dist/132.creaditor.bundle.js +30 -0
  13. package/dist/132.creaditor.bundle.js.gz +0 -0
  14. package/dist/1366.creaditor.bundle.js +238 -0
  15. package/dist/1366.creaditor.bundle.js.LICENSE.txt +21 -0
  16. package/dist/1366.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  17. package/dist/1366.creaditor.bundle.js.gz +0 -0
  18. package/dist/1381.creaditor.bundle.js +6 -0
  19. package/dist/1381.creaditor.bundle.js.gz +0 -0
  20. package/dist/1410.creaditor.bundle.js +236 -0
  21. package/dist/1410.creaditor.bundle.js.LICENSE.txt +21 -0
  22. package/dist/1410.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  23. package/dist/1410.creaditor.bundle.js.gz +0 -0
  24. package/dist/1449.creaditor.bundle.js +604 -0
  25. package/dist/1449.creaditor.bundle.js.LICENSE.txt +10 -0
  26. package/dist/1449.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  27. package/dist/1449.creaditor.bundle.js.gz +0 -0
  28. package/dist/1582.creaditor.bundle.js +23 -0
  29. package/dist/1582.creaditor.bundle.js.gz +0 -0
  30. package/dist/1650.creaditor.bundle.js +23 -0
  31. package/dist/1650.creaditor.bundle.js.gz +0 -0
  32. package/dist/168.creaditor.bundle.js +142 -0
  33. package/dist/168.creaditor.bundle.js.LICENSE.txt +20 -0
  34. package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  35. package/dist/168.creaditor.bundle.js.gz +0 -0
  36. package/dist/1731.creaditor.bundle.js +51 -0
  37. package/dist/1731.creaditor.bundle.js.gz +0 -0
  38. package/dist/1790.creaditor.bundle.js +1 -0
  39. package/dist/1790.creaditor.bundle.js.gz +0 -0
  40. package/dist/185.creaditor.bundle.js +114 -0
  41. package/dist/185.creaditor.bundle.js.gz +0 -0
  42. package/dist/1867.creaditor.bundle.js +171 -0
  43. package/dist/1867.creaditor.bundle.js.gz +0 -0
  44. package/dist/19.creaditor.bundle.js +36 -0
  45. package/dist/19.creaditor.bundle.js.gz +0 -0
  46. package/dist/201.creaditor.bundle.js +98 -0
  47. package/dist/201.creaditor.bundle.js.gz +0 -0
  48. package/dist/2012.creaditor.bundle.js +6 -0
  49. package/dist/2012.creaditor.bundle.js.gz +0 -0
  50. package/dist/2022.creaditor.bundle.js +13 -0
  51. package/dist/2022.creaditor.bundle.js.gz +0 -0
  52. package/dist/2050.creaditor.bundle.js +16 -0
  53. package/dist/2050.creaditor.bundle.js.gz +0 -0
  54. package/dist/2087.creaditor.bundle.js +25 -0
  55. package/dist/2087.creaditor.bundle.js.gz +0 -0
  56. package/dist/2111.creaditor.bundle.js +23 -0
  57. package/dist/2111.creaditor.bundle.js.gz +0 -0
  58. package/dist/2118.creaditor.bundle.js +23 -0
  59. package/dist/2118.creaditor.bundle.js.gz +0 -0
  60. package/dist/2182.creaditor.bundle.js +27 -0
  61. package/dist/2182.creaditor.bundle.js.gz +0 -0
  62. package/dist/2340.creaditor.bundle.js +440 -0
  63. package/dist/2340.creaditor.bundle.js.LICENSE.txt +11 -0
  64. package/dist/2340.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  65. package/dist/2340.creaditor.bundle.js.gz +0 -0
  66. package/dist/2357.creaditor.bundle.js +25 -0
  67. package/dist/2357.creaditor.bundle.js.gz +0 -0
  68. package/dist/2365.creaditor.bundle.js +25 -0
  69. package/dist/2365.creaditor.bundle.js.gz +0 -0
  70. package/dist/2397.creaditor.bundle.js +661 -0
  71. package/dist/2397.creaditor.bundle.js.LICENSE.txt +11 -0
  72. package/dist/2397.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  73. package/dist/2397.creaditor.bundle.js.gz +0 -0
  74. package/dist/2416.creaditor.bundle.js +32 -0
  75. package/dist/2416.creaditor.bundle.js.gz +0 -0
  76. package/dist/2455.creaditor.bundle.js +75 -0
  77. package/dist/2455.creaditor.bundle.js.LICENSE.txt +1 -0
  78. package/dist/2455.creaditor.bundle.js.gz +0 -0
  79. package/dist/2475.creaditor.bundle.js +177 -0
  80. package/dist/2475.creaditor.bundle.js.LICENSE.txt +23 -0
  81. package/dist/2475.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  82. package/dist/2475.creaditor.bundle.js.gz +0 -0
  83. package/dist/2543.creaditor.bundle.js +112 -0
  84. package/dist/2543.creaditor.bundle.js.gz +0 -0
  85. package/dist/2605.creaditor.bundle.js +171 -0
  86. package/dist/2605.creaditor.bundle.js.LICENSE.txt +11 -0
  87. package/dist/2605.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  88. package/dist/2605.creaditor.bundle.js.gz +0 -0
  89. package/dist/2609.creaditor.bundle.js +2 -0
  90. package/dist/2609.creaditor.bundle.js.LICENSE.txt +10 -0
  91. package/dist/2609.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  92. package/dist/2609.creaditor.bundle.js.gz +0 -0
  93. package/dist/2721.creaditor.bundle.js +11 -0
  94. package/dist/2721.creaditor.bundle.js.gz +0 -0
  95. package/dist/2757.creaditor.bundle.js +1 -0
  96. package/dist/2757.creaditor.bundle.js.gz +0 -0
  97. package/dist/296.creaditor.bundle.js +11 -0
  98. package/dist/296.creaditor.bundle.js.LICENSE.txt +11 -0
  99. package/dist/296.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  100. package/dist/296.creaditor.bundle.js.gz +0 -0
  101. package/dist/2977.creaditor.bundle.js +53 -0
  102. package/dist/2977.creaditor.bundle.js.gz +0 -0
  103. package/dist/3020.creaditor.bundle.js +13 -0
  104. package/dist/3020.creaditor.bundle.js.gz +0 -0
  105. package/dist/308.creaditor.bundle.js +16 -0
  106. package/dist/308.creaditor.bundle.js.gz +0 -0
  107. package/dist/315.creaditor.bundle.js +142 -0
  108. package/dist/315.creaditor.bundle.js.LICENSE.txt +11 -0
  109. package/dist/315.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  110. package/dist/315.creaditor.bundle.js.gz +0 -0
  111. package/dist/335.creaditor.bundle.js +23 -0
  112. package/dist/335.creaditor.bundle.js.gz +0 -0
  113. package/dist/3381.creaditor.bundle.js +40 -0
  114. package/dist/3381.creaditor.bundle.js.gz +0 -0
  115. package/dist/3453.creaditor.bundle.js +23 -0
  116. package/dist/3453.creaditor.bundle.js.gz +0 -0
  117. package/dist/3585.creaditor.bundle.js +1 -0
  118. package/dist/3585.creaditor.bundle.js.gz +0 -0
  119. package/dist/3614.creaditor.bundle.js +26 -0
  120. package/dist/3614.creaditor.bundle.js.gz +0 -0
  121. package/dist/3622.creaditor.bundle.js +236 -0
  122. package/dist/3622.creaditor.bundle.js.gz +0 -0
  123. package/dist/3691.creaditor.bundle.js +2 -0
  124. package/dist/3691.creaditor.bundle.js.LICENSE.txt +1 -0
  125. package/dist/3691.creaditor.bundle.js.gz +0 -0
  126. package/dist/3727.creaditor.bundle.js +227 -0
  127. package/dist/3727.creaditor.bundle.js.gz +0 -0
  128. package/dist/3732.creaditor.bundle.js +15 -0
  129. package/dist/3732.creaditor.bundle.js.gz +0 -0
  130. package/dist/3755.creaditor.bundle.js +94 -0
  131. package/dist/3755.creaditor.bundle.js.gz +0 -0
  132. package/dist/3778.creaditor.bundle.js +1 -0
  133. package/dist/3778.creaditor.bundle.js.gz +0 -0
  134. package/dist/3794.creaditor.bundle.js +34 -0
  135. package/dist/3794.creaditor.bundle.js.gz +0 -0
  136. package/dist/3831.creaditor.bundle.js +23 -0
  137. package/dist/3831.creaditor.bundle.js.gz +0 -0
  138. package/dist/3847.creaditor.bundle.js +34 -0
  139. package/dist/3847.creaditor.bundle.js.gz +0 -0
  140. package/dist/4.creaditor.bundle.js +6 -0
  141. package/dist/4.creaditor.bundle.js.gz +0 -0
  142. package/dist/4050.creaditor.bundle.js +424 -0
  143. package/dist/4050.creaditor.bundle.js.LICENSE.txt +10 -0
  144. package/dist/4050.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  145. package/dist/4050.creaditor.bundle.js.gz +0 -0
  146. package/dist/4128.creaditor.bundle.js +395 -0
  147. package/dist/4128.creaditor.bundle.js.LICENSE.txt +10 -0
  148. package/dist/4128.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  149. package/dist/4128.creaditor.bundle.js.gz +0 -0
  150. package/dist/4159.creaditor.bundle.js +453 -0
  151. package/dist/4159.creaditor.bundle.js.LICENSE.txt +10 -0
  152. package/dist/4159.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  153. package/dist/4159.creaditor.bundle.js.gz +0 -0
  154. package/dist/42.creaditor.bundle.js +18 -0
  155. package/dist/42.creaditor.bundle.js.gz +0 -0
  156. package/dist/4212.creaditor.bundle.js +72 -0
  157. package/dist/4212.creaditor.bundle.js.gz +0 -0
  158. package/dist/4455.creaditor.bundle.js +16 -0
  159. package/dist/4455.creaditor.bundle.js.gz +0 -0
  160. package/dist/4473.creaditor.bundle.js +51 -0
  161. package/dist/4473.creaditor.bundle.js.gz +0 -0
  162. package/dist/4569.creaditor.bundle.js +23 -0
  163. package/dist/4569.creaditor.bundle.js.gz +0 -0
  164. package/dist/4648.creaditor.bundle.js +122 -0
  165. package/dist/4648.creaditor.bundle.js.gz +0 -0
  166. package/dist/4661.creaditor.bundle.js +25 -0
  167. package/dist/4661.creaditor.bundle.js.gz +0 -0
  168. package/dist/4807.creaditor.bundle.js +105 -0
  169. package/dist/4807.creaditor.bundle.js.gz +0 -0
  170. package/dist/4900.creaditor.bundle.js +19 -0
  171. package/dist/4900.creaditor.bundle.js.gz +0 -0
  172. package/dist/494.creaditor.bundle.js +23 -0
  173. package/dist/494.creaditor.bundle.js.gz +0 -0
  174. package/dist/5034.creaditor.bundle.js +27 -0
  175. package/dist/5034.creaditor.bundle.js.gz +0 -0
  176. package/dist/5090.creaditor.bundle.js +173 -0
  177. package/dist/5090.creaditor.bundle.js.gz +0 -0
  178. package/dist/5204.creaditor.bundle.js +1 -0
  179. package/dist/5204.creaditor.bundle.js.gz +0 -0
  180. package/dist/5246.creaditor.bundle.js +900 -0
  181. package/dist/5246.creaditor.bundle.js.LICENSE.txt +10 -0
  182. package/dist/5246.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  183. package/dist/5246.creaditor.bundle.js.gz +0 -0
  184. package/dist/5320.creaditor.bundle.js +408 -0
  185. package/dist/5320.creaditor.bundle.js.LICENSE.txt +11 -0
  186. package/dist/5320.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  187. package/dist/5320.creaditor.bundle.js.gz +0 -0
  188. package/dist/5349.creaditor.bundle.js +289 -0
  189. package/dist/5349.creaditor.bundle.js.LICENSE.txt +17 -0
  190. package/dist/5349.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  191. package/dist/5349.creaditor.bundle.js.gz +0 -0
  192. package/dist/5478.creaditor.bundle.js +18 -0
  193. package/dist/5478.creaditor.bundle.js.gz +0 -0
  194. package/dist/5581.creaditor.bundle.js +23 -0
  195. package/dist/5581.creaditor.bundle.js.gz +0 -0
  196. package/dist/5848.creaditor.bundle.js +14 -0
  197. package/dist/5848.creaditor.bundle.js.LICENSE.txt +5 -0
  198. package/dist/5848.creaditor.bundle.js.gz +0 -0
  199. package/dist/5910.creaditor.bundle.js +11 -0
  200. package/dist/5910.creaditor.bundle.js.gz +0 -0
  201. package/dist/5978.creaditor.bundle.js +73 -0
  202. package/dist/5978.creaditor.bundle.js.gz +0 -0
  203. package/dist/5985.creaditor.bundle.js +109 -0
  204. package/dist/5985.creaditor.bundle.js.gz +0 -0
  205. package/dist/6046.creaditor.bundle.js +36 -0
  206. package/dist/6046.creaditor.bundle.js.gz +0 -0
  207. package/dist/6052.creaditor.bundle.js +113 -0
  208. package/dist/6052.creaditor.bundle.js.gz +0 -0
  209. package/dist/6069.creaditor.bundle.js +1 -0
  210. package/dist/6069.creaditor.bundle.js.gz +0 -0
  211. package/dist/6080.creaditor.bundle.js +9 -0
  212. package/dist/6080.creaditor.bundle.js.gz +0 -0
  213. package/dist/6178.creaditor.bundle.js +60 -0
  214. package/dist/6178.creaditor.bundle.js.gz +0 -0
  215. package/dist/6196.creaditor.bundle.js +12 -0
  216. package/dist/6196.creaditor.bundle.js.gz +0 -0
  217. package/dist/6220.creaditor.bundle.js +381 -0
  218. package/dist/6220.creaditor.bundle.js.LICENSE.txt +10 -0
  219. package/dist/6220.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  220. package/dist/6220.creaditor.bundle.js.gz +0 -0
  221. package/dist/6234.creaditor.bundle.js +1 -0
  222. package/dist/6234.creaditor.bundle.js.gz +0 -0
  223. package/dist/6236.creaditor.bundle.js +51 -0
  224. package/dist/6236.creaditor.bundle.js.gz +0 -0
  225. package/dist/6308.creaditor.bundle.js +102 -0
  226. package/dist/6308.creaditor.bundle.js.gz +0 -0
  227. package/dist/6354.creaditor.bundle.js +179 -0
  228. package/dist/6354.creaditor.bundle.js.LICENSE.txt +21 -0
  229. package/dist/6354.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  230. package/dist/6354.creaditor.bundle.js.gz +0 -0
  231. package/dist/6430.creaditor.bundle.js +131 -0
  232. package/dist/6430.creaditor.bundle.js.gz +0 -0
  233. package/dist/6479.creaditor.bundle.js +24 -0
  234. package/dist/6479.creaditor.bundle.js.gz +0 -0
  235. package/dist/6491.creaditor.bundle.js +79 -0
  236. package/dist/6491.creaditor.bundle.js.gz +0 -0
  237. package/dist/6524.creaditor.bundle.js +20 -0
  238. package/dist/6524.creaditor.bundle.js.gz +0 -0
  239. package/dist/6577.creaditor.bundle.js +21 -0
  240. package/dist/6577.creaditor.bundle.js.gz +0 -0
  241. package/dist/6588.creaditor.bundle.js +99 -0
  242. package/dist/6588.creaditor.bundle.js.gz +0 -0
  243. package/dist/6593.creaditor.bundle.js +14 -0
  244. package/dist/6593.creaditor.bundle.js.gz +0 -0
  245. package/dist/6652.creaditor.bundle.js +1 -0
  246. package/dist/6652.creaditor.bundle.js.gz +0 -0
  247. package/dist/6700.creaditor.bundle.js +1 -0
  248. package/dist/6700.creaditor.bundle.js.gz +0 -0
  249. package/dist/6724.creaditor.bundle.js +75 -0
  250. package/dist/6724.creaditor.bundle.js.LICENSE.txt +1 -0
  251. package/dist/6724.creaditor.bundle.js.gz +0 -0
  252. package/dist/6737.creaditor.bundle.js +61 -0
  253. package/dist/6737.creaditor.bundle.js.gz +0 -0
  254. package/dist/6807.creaditor.bundle.js +21 -0
  255. package/dist/6807.creaditor.bundle.js.gz +0 -0
  256. package/dist/6826.creaditor.bundle.js +23 -0
  257. package/dist/6826.creaditor.bundle.js.gz +0 -0
  258. package/dist/6848.creaditor.bundle.js +130 -0
  259. package/dist/6848.creaditor.bundle.js.gz +0 -0
  260. package/dist/6883.creaditor.bundle.js +14 -0
  261. package/dist/6883.creaditor.bundle.js.gz +0 -0
  262. package/dist/6892.creaditor.bundle.js +17 -0
  263. package/dist/6892.creaditor.bundle.js.LICENSE.txt +5 -0
  264. package/dist/6892.creaditor.bundle.js.gz +0 -0
  265. package/dist/6961.creaditor.bundle.js +8 -0
  266. package/dist/6961.creaditor.bundle.js.LICENSE.txt +11 -0
  267. package/dist/6961.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  268. package/dist/6961.creaditor.bundle.js.gz +0 -0
  269. package/dist/6964.creaditor.bundle.js +162 -0
  270. package/dist/6964.creaditor.bundle.js.LICENSE.txt +17 -0
  271. package/dist/6964.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  272. package/dist/6964.creaditor.bundle.js.gz +0 -0
  273. package/dist/6993.creaditor.bundle.js +46 -0
  274. package/dist/6993.creaditor.bundle.js.gz +0 -0
  275. package/dist/7035.creaditor.bundle.js +67 -0
  276. package/dist/7035.creaditor.bundle.js.gz +0 -0
  277. package/dist/709.creaditor.bundle.js +18 -0
  278. package/dist/709.creaditor.bundle.js.gz +0 -0
  279. package/dist/7149.creaditor.bundle.js +23 -0
  280. package/dist/7149.creaditor.bundle.js.gz +0 -0
  281. package/dist/7302.creaditor.bundle.js +2 -0
  282. package/dist/7302.creaditor.bundle.js.LICENSE.txt +1 -0
  283. package/dist/7302.creaditor.bundle.js.gz +0 -0
  284. package/dist/7490.creaditor.bundle.js +1 -0
  285. package/dist/7490.creaditor.bundle.js.gz +0 -0
  286. package/dist/7511.creaditor.bundle.js +21 -0
  287. package/dist/7511.creaditor.bundle.js.LICENSE.txt +5 -0
  288. package/dist/7511.creaditor.bundle.js.gz +0 -0
  289. package/dist/7576.creaditor.bundle.js +23 -0
  290. package/dist/7576.creaditor.bundle.js.gz +0 -0
  291. package/dist/7597.creaditor.bundle.js +47 -0
  292. package/dist/7597.creaditor.bundle.js.gz +0 -0
  293. package/dist/7804.creaditor.bundle.js +60 -0
  294. package/dist/7804.creaditor.bundle.js.gz +0 -0
  295. package/dist/7837.creaditor.bundle.js +63 -0
  296. package/dist/7837.creaditor.bundle.js.gz +0 -0
  297. package/dist/7911.creaditor.bundle.js +965 -0
  298. package/dist/7911.creaditor.bundle.js.gz +0 -0
  299. package/dist/7946.creaditor.bundle.js +1 -0
  300. package/dist/7946.creaditor.bundle.js.gz +0 -0
  301. package/dist/7988.creaditor.bundle.js +440 -0
  302. package/dist/7988.creaditor.bundle.js.LICENSE.txt +11 -0
  303. package/dist/7988.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  304. package/dist/7988.creaditor.bundle.js.gz +0 -0
  305. package/dist/8073.creaditor.bundle.js +12 -0
  306. package/dist/8073.creaditor.bundle.js.gz +0 -0
  307. package/dist/8251.creaditor.bundle.js +23 -0
  308. package/dist/8251.creaditor.bundle.js.gz +0 -0
  309. package/dist/8287.creaditor.bundle.js +8 -0
  310. package/dist/8287.creaditor.bundle.js.gz +0 -0
  311. package/dist/8290.creaditor.bundle.js +23 -0
  312. package/dist/8290.creaditor.bundle.js.gz +0 -0
  313. package/dist/8312.creaditor.bundle.js +44 -0
  314. package/dist/8312.creaditor.bundle.js.gz +0 -0
  315. package/dist/8333.creaditor.bundle.js +40 -0
  316. package/dist/8333.creaditor.bundle.js.gz +0 -0
  317. package/dist/8522.creaditor.bundle.js +20 -0
  318. package/dist/8522.creaditor.bundle.js.gz +0 -0
  319. package/dist/8550.creaditor.bundle.js +2 -0
  320. package/dist/8550.creaditor.bundle.js.LICENSE.txt +11 -0
  321. package/dist/8550.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  322. package/dist/8550.creaditor.bundle.js.gz +0 -0
  323. package/dist/8642.creaditor.bundle.js +274 -0
  324. package/dist/8642.creaditor.bundle.js.gz +0 -0
  325. package/dist/865.creaditor.bundle.js +28 -0
  326. package/dist/865.creaditor.bundle.js.gz +0 -0
  327. package/dist/8718.creaditor.bundle.js +93 -0
  328. package/dist/8718.creaditor.bundle.js.gz +0 -0
  329. package/dist/8724.creaditor.bundle.js +15 -0
  330. package/dist/8724.creaditor.bundle.js.gz +0 -0
  331. package/dist/8885.creaditor.bundle.js +23 -0
  332. package/dist/8885.creaditor.bundle.js.gz +0 -0
  333. package/dist/9000.creaditor.bundle.js +1 -0
  334. package/dist/9000.creaditor.bundle.js.gz +0 -0
  335. package/dist/9001.creaditor.bundle.js +12 -0
  336. package/dist/9001.creaditor.bundle.js.gz +0 -0
  337. package/dist/901.creaditor.bundle.js +274 -0
  338. package/dist/901.creaditor.bundle.js.gz +0 -0
  339. package/dist/9050.creaditor.bundle.js +19 -0
  340. package/dist/9050.creaditor.bundle.js.gz +0 -0
  341. package/dist/9113.creaditor.bundle.js +407 -0
  342. package/dist/9113.creaditor.bundle.js.gz +0 -0
  343. package/dist/9136.creaditor.bundle.js +33 -0
  344. package/dist/9136.creaditor.bundle.js.gz +0 -0
  345. package/dist/9201.creaditor.bundle.js +130 -0
  346. package/dist/9201.creaditor.bundle.js.LICENSE.txt +20 -0
  347. package/dist/9201.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  348. package/dist/9201.creaditor.bundle.js.gz +0 -0
  349. package/dist/9203.creaditor.bundle.js +956 -0
  350. package/dist/9203.creaditor.bundle.js.LICENSE.txt +10 -0
  351. package/dist/9203.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  352. package/dist/9203.creaditor.bundle.js.gz +0 -0
  353. package/dist/9265.creaditor.bundle.js +1 -0
  354. package/dist/9265.creaditor.bundle.js.gz +0 -0
  355. package/dist/9394.creaditor.bundle.js +25 -0
  356. package/dist/9394.creaditor.bundle.js.gz +0 -0
  357. package/dist/9476.creaditor.bundle.js +72 -0
  358. package/dist/9476.creaditor.bundle.js.LICENSE.txt +5 -0
  359. package/dist/9476.creaditor.bundle.js.gz +0 -0
  360. package/dist/9530.creaditor.bundle.js +69 -0
  361. package/dist/9530.creaditor.bundle.js.gz +0 -0
  362. package/dist/9628.creaditor.bundle.js +455 -0
  363. package/dist/9628.creaditor.bundle.js.LICENSE.txt +10 -0
  364. package/dist/9628.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  365. package/dist/9628.creaditor.bundle.js.gz +0 -0
  366. package/dist/966.creaditor.bundle.js +23 -0
  367. package/dist/966.creaditor.bundle.js.gz +0 -0
  368. package/dist/9766.creaditor.bundle.js +267 -0
  369. package/dist/9766.creaditor.bundle.js.gz +0 -0
  370. package/dist/9800.creaditor.bundle.js +1 -0
  371. package/dist/9800.creaditor.bundle.js.gz +0 -0
  372. package/dist/9838.creaditor.bundle.js +65 -0
  373. package/dist/9838.creaditor.bundle.js.LICENSE.txt +17 -0
  374. package/dist/9838.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  375. package/dist/9838.creaditor.bundle.js.gz +0 -0
  376. package/dist/9928.creaditor.bundle.js +32 -0
  377. package/dist/9928.creaditor.bundle.js.gz +0 -0
  378. package/dist/creaditor-starterkit.js +5395 -0
  379. package/dist/creaditor-starterkit.js.LICENSE.txt +110 -0
  380. package/dist/creaditor-starterkit.js.LICENSE.txt.gz +0 -0
  381. package/dist/creaditor-starterkit.js.gz +0 -0
  382. package/dist/creaditor.bundle.js +5394 -0
  383. package/dist/creaditor.bundle.js.LICENSE.txt +110 -0
  384. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  385. package/dist/creaditor.bundle.js.gz +0 -0
  386. package/dist/index.html +1 -0
  387. package/dist/index.html.gz +0 -0
  388. package/dist/service-worker.js +1 -0
  389. package/dist/service-worker.js.gz +0 -0
  390. package/dist/workbox-e24b9bdc.js +1 -0
  391. package/dist/workbox-e24b9bdc.js.gz +0 -0
  392. package/package.json +35 -0
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6234],{46234:(e,t,n)=>{n.r(t),n.d(t,{default:()=>x});const a={en:{key:"English",value:"en"},he:{key:"Hebrew",value:"he"},ar:{key:"Arabic",value:"ar"}},o=Object.keys(a).map((e=>a[e])),s=e=>{const{component:t,commands:n,helpers:s,template:i}=e,l=t.parent("col");return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"image",selected:!0},{text:"design"},{text:"link"},{text:"settings"}];return t.forEach((t=>t.selected=t.text===e)),t},layout:e=>{let{tab:s,changeTab:i,tabs:r}=e;return[{type:"info",text:"image_micro_copy",active:()=>"image"===s.text},{type:"input",title:"address",active:()=>"image"===s.text,value:t.props.address,onChange:e=>{const t=e.target.value,a={link:{href:`https://www.google.com/maps/place/${t}`}};n.execCommand("address",t),n.execCommand("onClick",a)}},{type:"divider",active:()=>"image"===s.text},{type:"dropdown",title:"type",active:()=>"image"===s.text,selected:a[t.props.lang]?.value,value:a[t.props.lang]?.value,onChange:e=>{const t=e.target.value;n.execCommand("lang",t)},items:o},{type:"divider",active:()=>"image"===s.text},{type:"checkbox",title:"fullWidthOnMobile",checked:!!t.props.isFullWidthOnMobile,active:()=>"image"===s.text,onChange:e=>{const t=e.target.checked;n.execCommand("isFullWidthOnMobile",t)}},{type:"divider"},{type:"slider",title:"size",min:100,max:1e3,active:()=>"design"===s.text,value:parseInt(t.props.style.width),onInput:e=>{const t=e.target.value;n.execCommand("style",{width:t+"px",height:"auto"})}},{type:"divider",active:()=>"design"===s.text},{type:"justifyContent",value:l?.props.justify,active:()=>"design"===s.text,onChange:e=>{const t=e.target.value;n.execCommand("justify",t,{find:"col"})}},{type:"justifyContent",title:"alignItems",active:()=>"design"===s.text,value:l?.props.alignItems,onChange:e=>{const t=e.target.value;n.execCommand("alignItems",t,{find:"col"})}},{type:"linkpicker",href:t.props.onClick?.link?.href,protocol:t.props.onClick?.link?.protocol,target:t.props.onClick?.link?.target,active:()=>"link"===s.text,onChange:e=>{const t={link:e.target.value};n.execCommand("onClick",t)}}]}}};var i=n(46245);const l=()=>({set:(e,t,n)=>{switch(t){case"style":if("object"==typeof n)return e[t]=(0,i.Z)(e[t],n),!0;case"src":case"isFullWidthOnMobile":case"isOpenWithModal":case"isCircle":case"onClick":case"lang":case"onClick":case"address":return e[t]=n,!0}}});var r=n(46062),c=n.n(r),p=n(32877),d=n.n(p),m=n(96793),h=n.n(m),g=n(17892),u=n.n(g),y=n(11173),C=n.n(y),v=n(76113),A={};A.setAttributes=u(),A.insert=h().bind(null,"head"),A.domAPI=d(),A.insertStyleElement=C();c()(v.Z,A);const k=v.Z&&v.Z.locals?v.Z.locals:void 0,x=()=>({name:"map",create:e=>{const{createElement:t,compose:n,helpers:a}=e,o=document.createElement("div");o.classList.add(k.root);const i=document.createElement("img");i.style.maxWidth="100%",i.loading="lazy",o.append(i);const r=t({name:"map",id:n.id,template:o,atomElement:i,resize:e=>{let{width:t,height:n}=e;r.commands.execCommand("style",{width:t+"px"}),i.style.height="auto"},render:()=>{const e=i.getBoundingClientRect().width||parseInt(n.props.style.width);i.width=e,i.height="auto";const t=function(e,t){let{width:n,height:a,lang:o}=t;const s=encodeURIComponent(e);return`https://maps.googleapis.com/maps/api/staticmap?size=${parseInt(n)}x${parseInt(a)}&maptype=roadmap&markers=size:mid%7Ccolor:red%7C${s}&key=AIzaSyBkb9j_nB9VRLWePOW-2vswJkgNsOI-hyo&language=${o}`}(n.props.address,{width:e,height:e,lang:n.props.lang});i.src=t;for(const e in n.props.style)if(Object.hasOwnProperty.call(n.props.style,e)){const t=n.props.style[e];i.style[e]=t}},defaultProps:{style:{height:"200px",width:"400px"},address:"תל אביב"},draggable:{group:"element"},droppable:{group:"element"},resizeable:()=>o,handleBar:!0,validator:l({template:o,helpers:a}),schema:n.schema,onSelect:e=>{o.classList.add(e)},onDeselect:e=>{o.classList.remove(e)},elementProps:n,remove:()=>{o.remove()},createEditor:s});return r}})},76113:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(40272),o=n.n(a),s=n(82609),i=n.n(s)()(o());i.push([e.id,".ucMT51dBMFFTCzL0soUN {\n position: relative;\n }\n .hjlq5SM_wuDOG3IpPIYH {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .ucMT51dBMFFTCzL0soUN:hover .hjlq5SM_wuDOG3IpPIYH {\n display: block;\n }\n ","",{version:3,sources:["webpack://./../map-editor-component-newsletter/lib/style.module.css"],names:[],mappings:"AAAA;IACI,kBAAkB;EACpB;EACA;IACE,aAAa;IACb,WAAW;IACX,YAAY;IACZ,OAAO;IACP,MAAM;IACN,kBAAkB;IAClB,gCAAgC;IAChC,YAAY;EACd;;EAEA;IACE,cAAc;EAChB",sourcesContent:[".root {\n position: relative;\n }\n .cover {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .root:hover .cover {\n display: block;\n }\n "],sourceRoot:""}]),i.locals={root:"ucMT51dBMFFTCzL0soUN",cover:"hjlq5SM_wuDOG3IpPIYH"};const l=i}}]);
Binary file
@@ -0,0 +1,51 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6236],{46236:(e,t,r)=>{r.r(t),r.d(t,{BreadCrumbs:()=>l});var s=r(56666),i=r(40949),n=r(21293),o=(r(58860),r(70235)),c=r(23602),a=r(45607);class l extends n.oi{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.Z.components[a.Z.components.length-1];if(!t)return;e=t.element;let r=t.type.getElementType(),s="";t.props.as&&(s=` (${o.h.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=o.h.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=o.h.get("langConfig","direction");return this.crumbs.length>0?n.dy`
2
+ <!-- <cdtr-tooltip content="breadcrumbs_info" .opened=${!0}></cdtr-tooltip> -->
3
+ <div>
4
+ ${this.crumbs.map(((t,r)=>n.dy` <span
5
+ @mouseout=${()=>this.cover.remove()}
6
+ @mouseover=${()=>this.onHover(t.element)}
7
+ @mousedown=${()=>this.clickBread(t)}
8
+ class="breadcrumb"
9
+ >${t.name||n.dy`<lang-text text=${t.type}></lang-text>`}</span
10
+ >${this.crumbs.length===r?null:(0,i.Z)(c.IT,{style:{transform:`rotate(${"ltr"===e?"180deg":"0"})`},class:"arrow"})}`))}
11
+ ${this.mainText?n.dy` <div class="currect">
12
+ ${this.currectCrumb.name||n.dy`<lang-text text=${this.currectCrumb.type}></lang-text
13
+ >${this.currectCrumb.as}`}
14
+ </div>`:null}
15
+ </div>
16
+
17
+ `:""}connectedCallback(){super.connectedCallback(),document.body.appendChild(this.cover),a.Z.on("select",this.onSubscribe),a.Z.on("update",this.onSubscribe)}disconnectedCallback(){super.disconnectedCallback(),this.cover.remove(),a.Z.off("select",this.onSubscribe),a.Z.off("update",this.onSubscribe)}clickBread(e){this.cover.remove(),a.Z.clean().selectComponent(e.compose)}}(0,s.Z)(l,"styles",n.iv`
18
+ :host {
19
+ direction: var(--direction);
20
+ padding: 10px;
21
+ display: block;
22
+ height: 50px;
23
+ }
24
+ .currect {
25
+ font-size: 13px;
26
+ font-family: var(--font-family);
27
+ font-weight: 700;
28
+ color: var(--primary);
29
+ margin-top: 4px;
30
+ margin-right: 4px;
31
+ margin-left: 4px;
32
+ display:inline-block;
33
+ }
34
+ .breadcrumb {
35
+ font-size: 12px;
36
+ cursor: pointer;
37
+ font-family: var(--font-family);
38
+ margin-right: 4px;
39
+ margin-left: 4px;
40
+ color: var(--breadcrumbs);
41
+ }
42
+ .breadcrumb:hover {
43
+ color: var(--primary);
44
+ }
45
+ .arrow {
46
+ height: 14px;
47
+ width: 14px;
48
+ fill: #42465694;
49
+ vertical-align: middle;
50
+ }
51
+ `),(0,s.Z)(l,"properties",{crumbs:{type:Array},mainText:{type:Boolean,reflect:!0}}),customElements.define("cdtr-breadcrumbs",l)}}]);
Binary file
@@ -0,0 +1,102 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6308],{36308:(t,e,i)=>{i.r(e),i.d(e,{AlignGroup:()=>s});var l=i(56666),r=i(21293);class s extends r.oi{constructor(){super(),this.onClick=this.onClick.bind(this),this.justify="center"}onClick(t){const e=t.target.closest("[data-align]");if(e){const t={detail:e.getAttribute("data-align"),bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("change",t))}}render(){return r.dy` <cdtr-row justify="${this.justify}">
2
+ <paper-button
3
+ class="${"flex-start"===this.value?"selected":null}"
4
+ @click=${this.onClick}
5
+ data-align="flex-start"
6
+ >
7
+ <cdtr-tooltip delay="100" content="top">
8
+ <svg
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ width="28"
11
+ height="20"
12
+ viewBox="0 0 28 20"
13
+ fill="none"
14
+ >
15
+ <rect width="27" height="2" rx="1" fill="#C4C4C4" />
16
+ <rect x="6" y="4" width="15" height="4" rx="2" fill="black" />
17
+ </svg>
18
+ </cdtr-tooltip>
19
+ </paper-button>
20
+ <paper-button
21
+ class="${"center"===this.value?"selected":null}"
22
+ @click=${this.onClick}
23
+ data-align="center"
24
+ >
25
+ <cdtr-tooltip delay="100" content="center">
26
+ <svg
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ width="27"
29
+ height="21"
30
+ viewBox="0 0 27 21"
31
+ fill="none"
32
+ >
33
+ <rect
34
+ x="27"
35
+ y="21"
36
+ width="27"
37
+ height="2"
38
+ rx="1"
39
+ transform="rotate(-180 27 21)"
40
+ fill="#C4C4C4"
41
+ />
42
+ <rect
43
+ x="27"
44
+ y="2"
45
+ width="27"
46
+ height="2"
47
+ rx="1"
48
+ transform="rotate(-180 27 2)"
49
+ fill="#C4C4C4"
50
+ />
51
+ <rect x="6.5" y="8.5" width="15" height="4" rx="2" fill="black" />
52
+ </svg>
53
+ </cdtr-tooltip>
54
+ </paper-button>
55
+ <paper-button
56
+ class="${"flex-end"===this.value?"selected":null}"
57
+ @click=${this.onClick}
58
+ data-align="flex-end"
59
+ >
60
+ <cdtr-tooltip delay="100" content="bottom">
61
+ <svg
62
+ xmlns="http://www.w3.org/2000/svg"
63
+ width="28"
64
+ height="20"
65
+ viewBox="0 0 28 20"
66
+ fill="none"
67
+ >
68
+ <rect
69
+ x="28"
70
+ y="20"
71
+ width="27"
72
+ height="2"
73
+ rx="1"
74
+ transform="rotate(-180 28 20)"
75
+ fill="#C4C4C4"
76
+ />
77
+ <rect
78
+ x="22"
79
+ y="16"
80
+ width="15"
81
+ height="4"
82
+ rx="2"
83
+ transform="rotate(-180 22 16)"
84
+ fill="black"
85
+ />
86
+ </svg>
87
+ </cdtr-tooltip>
88
+ </paper-button>
89
+ </cdtr-row>`}}(0,l.Z)(s,"styles",r.iv`
90
+ :host {
91
+ direction: ltr;
92
+ }
93
+ paper-button {
94
+ min-width: auto;
95
+ }
96
+ rect[fill="black"] {
97
+ fill: var(--primary);
98
+ }
99
+ .selected {
100
+ background: #f1f3f5;
101
+ }
102
+ `),(0,l.Z)(s,"properties",{value:{type:Number},justify:{type:String}}),customElements.define("cdtr-align-items-group",s)}}]);
Binary file
@@ -0,0 +1,179 @@
1
+ /*! For license information please see 6354.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6354],{3402:(e,t,n)=>{n.d(t,{t:()=>i});n(94002);const i=[{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,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var i;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(i=e?this.animationConfig[e]:this.animationConfig,Array.isArray(i)||(i=[i]),i)for(var o,a=0;o=i[a];a++)if(o.animatable)o.animatable._getAnimationConfigRecursive(o.type||e,t,n);else if(o.id){var r=t[o.id];r?(r.isClone||(t[o.id]=this._cloneConfig(r),r=t[o.id]),this._copyProperties(r,o)):t[o.id]=o}else n.push(o)},getAnimationConfig:function(e){var t={},n=[];for(var i in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[i]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(let t,i=0;t=e[i];i++){let e=document.createElement(t.name);if(e.isNeonAnimation){let i=null;e.configure||(e.configure=function(e){return null}),i=e.configure(t),n.push({result:i,config:t,neonAnimation:e})}else console.warn(this.is+":",t.name,"not found!")}for(var i=0;i<n.length;i++){let e=n[i].result,o=n[i].config,a=n[i].neonAnimation;try{"function"!=typeof e.cancel&&(e=document.timeline.play(e))}catch(t){e=null,console.warn("Couldnt play","(",o.name,").",t)}e&&t.push({neonAnimation:a,config:o,animation:e})}return t},_shouldComplete:function(e){for(var t=!0,n=0;n<e.length;n++)if("finished"!=e[n].animation.playState){t=!1;break}return t},_complete:function(e){for(var t=0;t<e.length;t++)e[t].neonAnimation.complete(e[t].config);for(t=0;t<e.length;t++)e[t].animation.cancel()},playAnimation:function(e,t){var n=this.getAnimationConfig(e);if(n){this._active=this._active||{},this._active[e]&&(this._complete(this._active[e]),delete this._active[e]);var i=this._configureAnimations(n);if(0!=i.length){this._active[e]=i;for(var o=0;o<i.length;o++)i[o].animation.onfinish=function(){this._shouldComplete(i)&&(this._complete(i),delete this._active[e],this.fire("neon-animation-finish",t,{bubbles:!1}))}.bind(this)}else this.fire("neon-animation-finish",t,{bubbles:!1})}},cancelAnimation:function(){for(var e in this._active){var t=this._active[e];for(var n in t)t[n].animation.cancel()}this._active={}}}]},6354:(e,t,n)=>{n.r(t);var i=n(94002),o=n(33972),a=(n(41674),n(27325)),r=n(50696),s=n(3572),l=n(24931);(0,r.k)({_template:l.d`
3
+ <style>
4
+ :host {
5
+ @apply --layout-inline;
6
+ @apply --layout-center-center;
7
+ position: relative;
8
+
9
+ vertical-align: middle;
10
+
11
+ fill: var(--iron-icon-fill-color, currentcolor);
12
+ stroke: var(--iron-icon-stroke-color, none);
13
+
14
+ width: var(--iron-icon-width, 24px);
15
+ height: var(--iron-icon-height, 24px);
16
+ @apply --iron-icon;
17
+ }
18
+
19
+ :host([hidden]) {
20
+ display: none;
21
+ }
22
+ </style>
23
+ `,is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:i.XY.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&(0,s.vz)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,(0,s.vz)(this.root).appendChild(this._img))}});n(41449);var p=n(93273),c=n(15622),d=n(3402);(0,r.k)({_template:l.d`
24
+ <style>
25
+ :host {
26
+ position: fixed;
27
+ }
28
+
29
+ #contentWrapper ::slotted(*) {
30
+ overflow: auto;
31
+ }
32
+
33
+ #contentWrapper.animating ::slotted(*) {
34
+ overflow: hidden;
35
+ pointer-events: none;
36
+ }
37
+ </style>
38
+
39
+ <div id="contentWrapper">
40
+ <slot id="content" name="dropdown-content"></slot>
41
+ </div>
42
+ `,is:"iron-dropdown",behaviors:[p.a,o.G,c.$,d.t],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=(0,s.vz)(this.$.content).getDistributedNodes(),t=0,n=e.length;t<n;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},ready:function(){this.scrollAction||(this.scrollAction=this.allowOutsideScroll?"refit":"lock"),this._readied=!0},attached:function(){this.sizingTarget&&this.sizingTarget!==this||(this.sizingTarget=this.containedElement||this)},detached:function(){this.cancelAnimation()},_openedChanged:function(){this.opened&&this.disabled?this.cancel():(this.cancelAnimation(),this._updateAnimationConfig(),c.Q._openedChanged.apply(this,arguments))},_renderOpened:function(){!this.noAnimations&&this.animationConfig.open?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("open")):c.Q._renderOpened.apply(this,arguments)},_renderClosed:function(){!this.noAnimations&&this.animationConfig.close?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("close")):c.Q._renderClosed.apply(this,arguments)},_onNeonAnimationFinish:function(){this.$.contentWrapper.classList.remove("animating"),this.opened?this._finishRenderOpened():this._finishRenderClosed()},_updateAnimationConfig:function(){for(var e=this.containedElement,t=[].concat(this.openAnimationConfig||[]).concat(this.closeAnimationConfig||[]),n=0;n<t.length;n++)t[n].node=e;this.animationConfig={open:this.openAnimationConfig,close:this.closeAnimationConfig}},_updateOverlayPosition:function(){this.isAttached&&this.notifyResize()},_allowOutsideScrollChanged:function(e){this._readied&&(e?this.scrollAction&&"lock"!==this.scrollAction||(this.scrollAction="refit"):this.scrollAction="lock")},_applyFocus:function(){var e=this.focusTarget||this.containedElement;e&&this.opened&&!this.noAutoFocus?e.focus():c.Q._applyFocus.apply(this,arguments)}});const h={properties:{animationTiming:{type:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},isNeonAnimation:!0,created:function(){document.body.animate||console.warn("No web animations detected. This element will not function without a web animations polyfill.")},timingFromConfig:function(e){if(e.timing)for(var t in e.timing)this.animationTiming[t]=e.timing[t];return this.animationTiming},setPrefixedProperty:function(e,t,n){for(var i,o={transform:["webkitTransform"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]}[t],a=0;i=o[a];a++)e.style[i]=n;e.style[t]=n},complete:function(e){}};(0,r.k)({is:"fade-in-animation",behaviors:[h],configure:function(e){var t=e.node;return this._effect=new KeyframeEffect(t,[{opacity:"0"},{opacity:"1"}],this.timingFromConfig(e)),this._effect}}),(0,r.k)({is:"fade-out-animation",behaviors:[h],configure:function(e){var t=e.node;return this._effect=new KeyframeEffect(t,[{opacity:"1"},{opacity:"0"}],this.timingFromConfig(e)),this._effect}});n(33375),n(72202);(0,r.k)({is:"paper-menu-grow-height-animation",_template:null,behaviors:[h],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),(0,r.k)({is:"paper-menu-grow-width-animation",_template:null,behaviors:[h],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),(0,r.k)({is:"paper-menu-shrink-width-animation",_template:null,behaviors:[h],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),(0,r.k)({is:"paper-menu-shrink-height-animation",_template:null,behaviors:[h],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var u={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400};const m=(0,r.k)({_template:l.d`
43
+ <style>
44
+ :host {
45
+ display: inline-block;
46
+ position: relative;
47
+ padding: 8px;
48
+ outline: none;
49
+
50
+ @apply --paper-menu-button;
51
+ }
52
+
53
+ :host([disabled]) {
54
+ cursor: auto;
55
+ color: var(--disabled-text-color);
56
+
57
+ @apply --paper-menu-button-disabled;
58
+ }
59
+
60
+ iron-dropdown {
61
+ @apply --paper-menu-button-dropdown;
62
+ }
63
+
64
+ .dropdown-content {
65
+ @apply --shadow-elevation-2dp;
66
+
67
+ position: relative;
68
+ border-radius: 2px;
69
+ background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));
70
+
71
+ @apply --paper-menu-button-content;
72
+ }
73
+
74
+ :host([vertical-align="top"]) .dropdown-content {
75
+ margin-bottom: 20px;
76
+ margin-top: -10px;
77
+ top: 10px;
78
+ }
79
+
80
+ :host([vertical-align="bottom"]) .dropdown-content {
81
+ bottom: 10px;
82
+ margin-bottom: -10px;
83
+ margin-top: 20px;
84
+ }
85
+
86
+ #trigger {
87
+ cursor: pointer;
88
+ }
89
+ </style>
90
+
91
+ <div id="trigger" on-tap="toggle">
92
+ <slot name="dropdown-trigger"></slot>
93
+ </div>
94
+
95
+ <iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]">
96
+ <div slot="dropdown-content" class="dropdown-content">
97
+ <slot id="content" name="dropdown-content"></slot>
98
+ </div>
99
+ </iron-dropdown>
100
+ `,is:"paper-menu-button",behaviors:[o.G,p.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:u.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:u.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:u.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},expandSizingTargetForScrollbars:{type:Boolean,value:!1},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=(0,s.vz)(this.$.content).getDistributedNodes(),t=0,n=e.length;t<n;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},toggle:function(){this.opened?this.close():this.open()},open:function(){this.disabled||this.$.dropdown.open()},close:function(){this.$.dropdown.close()},_onIronSelect:function(e){this.ignoreSelect||this.close()},_onIronActivate:function(e){this.closeOnActivate&&this.close()},_openedChanged:function(e,t){e?(this._dropdownContent=this.contentElement,this.fire("paper-dropdown-open")):null!=t&&this.fire("paper-dropdown-close")},_disabledChanged:function(e){p.a._disabledChanged.apply(this,arguments),e&&this.opened&&this.close()},__onIronOverlayCanceled:function(e){var t=e.detail,n=this.$.trigger;(0,s.vz)(t).path.indexOf(n)>-1&&e.preventDefault()}});Object.keys(u).forEach((function(e){m[e]=u[e]}));n(34790);(0,r.k)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new a.P({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map((function(e){return this.name+":"+e}),this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var i=(0,s.vz)(e.root||e);return i.insertBefore(n,i.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&((0,s.vz)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async((function(){this.fire("iron-iconset-added",this,{node:window})}))},_createIconMap:function(){var e=Object.create(null);return(0,s.vz)(this).querySelectorAll("[id]").forEach((function(t){e[t.id]=t})),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var i=e.cloneNode(!0),o=document.createElementNS("http://www.w3.org/2000/svg","svg"),a=i.getAttribute("viewBox")||"0 0 "+t+" "+t,r="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&i.hasAttribute("mirror-in-rtl")&&(r+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),o.setAttribute("viewBox",a),o.setAttribute("preserveAspectRatio","xMidYMid meet"),o.setAttribute("focusable","false"),o.style.cssText=r,o.appendChild(i).removeAttribute("id"),o}return null}});const g=document.createElement("template");g.setAttribute("style","display: none;"),g.innerHTML='<iron-iconset-svg name="paper-dropdown-menu" size="24">\n<svg><defs>\n<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g>\n</defs></svg>\n</iron-iconset-svg>',document.head.appendChild(g.content);const f=document.createElement("template");f.setAttribute("style","display: none;"),f.innerHTML='<dom-module id="paper-dropdown-menu-shared-styles">\n <template>\n <style>\n :host {\n display: inline-block;\n position: relative;\n text-align: left;\n\n /* NOTE(cdata): Both values are needed, since some phones require the\n * value to be `transparent`.\n */\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n -webkit-tap-highlight-color: transparent;\n\n --paper-input-container-input: {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 100%;\n box-sizing: border-box;\n cursor: pointer;\n };\n\n @apply --paper-dropdown-menu;\n }\n\n /* paper-dropdown-menu and paper-dropdown-menu-light both delegate focus\n * to other internal elements which manage focus styling. */\n :host(:focus) {\n outline: none;\n }\n\n :host(:dir(rtl)) {\n text-align: right;\n\n @apply(--paper-dropdown-menu);\n }\n\n :host([disabled]) {\n @apply --paper-dropdown-menu-disabled;\n }\n\n :host([noink]) paper-ripple {\n display: none;\n }\n\n :host([no-label-float]) paper-ripple {\n top: 8px;\n }\n\n paper-ripple {\n top: 12px;\n left: 0px;\n bottom: 8px;\n right: 0px;\n\n @apply --paper-dropdown-menu-ripple;\n }\n\n paper-menu-button {\n display: block;\n padding: 0;\n\n @apply --paper-dropdown-menu-button;\n }\n\n paper-input {\n @apply --paper-dropdown-menu-input;\n }\n\n iron-icon {\n color: var(--disabled-text-color);\n\n @apply --paper-dropdown-menu-icon;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(f.content);var v=n(73114),y=n(38349),b=n(38327),_=n(82523),w=n(98348),x=n(46969);const A=(0,_.x)(HTMLElement);(0,r.k)({_template:l.d`
101
+ <style include="paper-dropdown-menu-shared-styles"></style>
102
+
103
+ <paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]">
104
+ <!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via <content> -->
105
+ <div class="dropdown-trigger" slot="dropdown-trigger">
106
+ <paper-ripple></paper-ripple>
107
+ <!-- paper-input has type="text" for a11y, do not remove -->
108
+ <paper-input id="input" type="text" invalid="[[invalid]]" readonly disabled="[[disabled]]" value="[[value]]" placeholder="[[placeholder]]" error-message="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float="[[noLabelFloat]]" label="[[label]]" input-role="button" input-aria-haspopup="listbox" autocomplete="off">
109
+ <!-- support hybrid mode: user might be using paper-input 1.x which distributes via <content> -->
110
+ <iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix slot="suffix"></iron-icon>
111
+ </paper-input>
112
+ </div>
113
+ <slot id="content" name="dropdown-content" slot="dropdown-content"></slot>
114
+ </paper-menu-button>
115
+ `,is:"paper-dropdown-menu",behaviors:[v.P,p.a,y.V,b.x],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0},expandSizingTargetForScrollbars:{type:Boolean,value:!1}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},observers:["_selectedItemChanged(selectedItem)"],_attachDom(e){const t=(0,x.r)(this);return t.attachShadow({mode:"open",delegatesFocus:!0,shadyUpgradeFragment:e}),t.shadowRoot.appendChild(e),A.prototype._attachDom.call(this,e)},focus(){this.$.input._focusableElement.focus()},attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=(0,s.vz)(this.$.content).getDistributedNodes(),t=0,n=e.length;t<n;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},open:function(){this.$.menuButton.open()},close:function(){this.$.menuButton.close()},_onIronSelect:function(e){this._setSelectedItem(e.detail.item)},_onIronDeselect:function(e){this._setSelectedItem(null)},_onTap:function(e){w.nJ(e)===this&&this.open()},_selectedItemChanged:function(e){var t="";t=e?e.label||e.getAttribute("label")||e.textContent.trim():"",this.value=t,this._setSelectedItemLabel(t)},_computeMenuVerticalOffset:function(e,t){return t||(e?-4:8)},_getValidity:function(e){return this.disabled||!this.required||this.required&&!!this.value},_openedChanged:function(){var e=this.opened?"true":"false",t=this.contentElement;t&&t.setAttribute("aria-expanded",e)}})},72202:(e,t,n)=>{n(94002);const i=n(24931).d`
116
+ <custom-style>
117
+ <style is="custom-style">
118
+ html {
119
+
120
+ --shadow-transition: {
121
+ transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
122
+ };
123
+
124
+ --shadow-none: {
125
+ box-shadow: none;
126
+ };
127
+
128
+ /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
129
+
130
+ --shadow-elevation-2dp: {
131
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
132
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12),
133
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2);
134
+ };
135
+
136
+ --shadow-elevation-3dp: {
137
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
138
+ 0 1px 8px 0 rgba(0, 0, 0, 0.12),
139
+ 0 3px 3px -2px rgba(0, 0, 0, 0.4);
140
+ };
141
+
142
+ --shadow-elevation-4dp: {
143
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
144
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12),
145
+ 0 2px 4px -1px rgba(0, 0, 0, 0.4);
146
+ };
147
+
148
+ --shadow-elevation-6dp: {
149
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
150
+ 0 1px 18px 0 rgba(0, 0, 0, 0.12),
151
+ 0 3px 5px -1px rgba(0, 0, 0, 0.4);
152
+ };
153
+
154
+ --shadow-elevation-8dp: {
155
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
156
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
157
+ 0 5px 5px -3px rgba(0, 0, 0, 0.4);
158
+ };
159
+
160
+ --shadow-elevation-12dp: {
161
+ box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),
162
+ 0 4px 22px 3px rgba(0, 0, 0, 0.12),
163
+ 0 6px 7px -4px rgba(0, 0, 0, 0.4);
164
+ };
165
+
166
+ --shadow-elevation-16dp: {
167
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
168
+ 0 6px 30px 5px rgba(0, 0, 0, 0.12),
169
+ 0 8px 10px -5px rgba(0, 0, 0, 0.4);
170
+ };
171
+
172
+ --shadow-elevation-24dp: {
173
+ box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
174
+ 0 9px 46px 8px rgba(0, 0, 0, 0.12),
175
+ 0 11px 15px -7px rgba(0, 0, 0, 0.4);
176
+ };
177
+ }
178
+ </style>
179
+ </custom-style>`;i.setAttribute("style","display: none;"),document.head.appendChild(i.content)}}]);
@@ -0,0 +1,21 @@
1
+ /**
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at
5
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
6
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
7
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
8
+ part of the polymer project is also subject to an additional IP rights grant
9
+ found at http://polymer.github.io/PATENTS.txt
10
+ */
11
+
12
+ /**
13
+ @license
14
+ Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
15
+ This code may only be used under the BSD style license found at
16
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
17
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
18
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
19
+ part of the polymer project is also subject to an additional IP rights grant
20
+ found at http://polymer.github.io/PATENTS.txt
21
+ */
Binary file
@@ -0,0 +1,131 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6430],{16430:(t,e,n)=>{n.r(e),n.d(e,{TextEditorPlugin:()=>d});var i=n(56666),o=n(21293),r=n(45607),s=n(43824),c=n(70235),a=n(54774),l=n.n(a);class d extends o.oi{constructor(){super(),(0,i.Z)(this,"setHeading",(t=>{this.editors.forEach((e=>{e.chain().setHeading({level:t}).run()}))})),(0,i.Z)(this,"onchangeFontFamily",(t=>{const e=t.target.value,n=this.fontFamilies.find((t=>t.name===e));n?(this.editors.forEach((t=>{const e=t.view.state.selection;e.from===e.to?t.chain().selectAll().setFontFamily(n).run():t.chain().setFontFamily(n).run()})),this.fontFamily=e):console.error("cant set font family, font family not founded..")})),(0,i.Z)(this,"onChangeFontSize",(t=>{const e=t.target.device;this.device=e;const n=t.target.value;"phone"===e?r.Z.execCommand("breakpoints",(t=>{const e=t.props.breakpoints?.sm||{};l()(e,{style:{fontSize:n+"px"}});return{sm:e}})):this.editors.forEach((t=>{const e=t.view.state.selection;e.from===e.to?t.chain().selectAll().setFontSize(n).run():t.chain().setFontSize(n).run()})),this.fontSize=n})),(0,i.Z)(this,"onChangeLineHeight",(t=>{const e=parseFloat(t.target.value);this.editors.forEach((t=>{const n=t.view.state.selection;n.from===n.to?t.chain().selectAll().setLineHeight(e).run():t.chain().setLineHeight(e).run()})),this.lineHeight=e})),(0,i.Z)(this,"onChangeletterSpace",(t=>{const e=t.target.value+"px";this.editors.forEach((t=>{const n=t.view.state.selection;n.from===n.to?t.chain().selectAll().setLetterSpacing(e).run():t.chain().setLetterSpacing(e).run()})),this.letterSpacing=e})),(0,i.Z)(this,"onChangeImage",(t=>{})),(0,i.Z)(this,"onFilteredFonts",(t=>{const e=t.target.value;this.filteredFonts=this.fontFamilies.filter((t=>t.name.toLowerCase().includes(e.toLowerCase())))})),(0,i.Z)(this,"onChangeFontColor",(t=>{const e=t.target.value;this.editors.forEach((t=>{const n=t.view.state.selection;n.from===n.to?t.chain().selectAll().setColor(e).run():t.chain().setColor(e).run()})),this.fontColor=e})),this.editors=[],this.hasTextComponent=!0,this.filteredFonts=[],this.fontFamilies=[],this.onConnect=this.onConnect.bind(this),this.THEMES=[{type:"paragraph",onClick:()=>{this.editors.forEach((t=>{t.chain().setParagraph().run()}))}},{type:"h1",onClick:()=>this.setHeading(1)},{type:"h2",onClick:()=>this.setHeading(2)},{type:"h3",onClick:()=>this.setHeading(3)},{type:"h4",onClick:()=>this.setHeading(4)},{type:"h5",onClick:()=>this.setHeading(5)},{type:"h5",onClick:()=>this.setHeading(5)}]}onConnect(){setTimeout((()=>{this.editors=[];const t=r.Z.getSelectedComponent({find:"text"});if(this.hasTextComponent=t.length>0,t.forEach((t=>{"text"===t.type&&this.editors.push(t.editor)})),this.editors.length>0){const e=this.editors[0];if(e){const n={...e.getAttributes("paragraph"),...e.getAttributes("heading")};"phone"===this.device?this.fontSize=parseInt(t[0].props?.breakpoints?.sm?.style?.fontSize):this.fontSize=parseInt(e.getAttributes("textStyle").fontSize)||16,this.fontColor=e.getAttributes("textStyle").color||"#000",this.fontFamily=e.getAttributes("textStyle").fontFamily?.split(",")[0].replace(/['"]+/g,"")||"Arial",n.lineHeight&&(this.lineHeight=parseFloat(n.lineHeight)),n.letterSpacing&&(this.letterSpacing=parseInt(n.letterSpacing)||1),this.themeType=e.isActive("heading",{level:1})?"h1":e.isActive("heading",{level:2})?"h2":e.isActive("heading",{level:3})?"h3":e.isActive("heading",{level:4})?"h4":e.isActive("heading",{level:5})?"h5":e.isActive("heading",{level:6})?"h6":"paragraph"}}}),0)}connectedCallback(){super.connectedCallback(),r.Z.on("select",this.onConnect),r.Z.on("update",this.onConnect),this.onConnect(),(0,s.Pn)().then((t=>{this.filteredFonts=this.fontFamilies=t}))}disconnectedCallback(){super.disconnectedCallback(),r.Z.off("select",this.onConnect),r.Z.off("update",this.onConnect)}render(){const t=o.dy`
2
+ <cdtr-editor-container>
3
+ <cdtr-title style="color:var(--micro-info-color)">
4
+ <i>
5
+ <lang-text
6
+ whiteSpace="break-spaces"
7
+ text="typography_micro_copy"
8
+ ></lang-text
9
+ ></i>
10
+ </cdtr-title>
11
+ <cdtr-row>
12
+ <cdtr-col>
13
+ <cdtr-title>
14
+ <lang-text text="type"></lang-text>
15
+ </cdtr-title>
16
+ </cdtr-col>
17
+ <cdtr-col>
18
+ <cdtr-dropdown style="width:100%">
19
+ <cdtr-dropdown-button style="width:100%" slot="trigger"
20
+ >${this.themeType}</cdtr-dropdown-button
21
+ >
22
+ <div slot="content">
23
+ ${this.THEMES.map((t=>o.dy`<cdtr-dropdown-item
24
+ .value=${t.type}
25
+ .focused=${t.type===this.themeType}
26
+ .selected=${t.type===this.fontFamily}
27
+ @click=${t.onClick}
28
+ >${t.type}</cdtr-dropdown-item
29
+ >`))}
30
+ </div>
31
+ </cdtr-dropdown>
32
+ </cdtr-col>
33
+ </cdtr-row>
34
+ </cdtr-editor-container>
35
+ <cdtr-editor-container>
36
+ <cdtr-row mt="1" justify="space-between" alignItems="center">
37
+ <cdtr-col
38
+ ><cdtr-title style="display:block" class="align-lang"
39
+ ><lang-text text="color"></lang-text></cdtr-title
40
+ ></cdtr-col>
41
+ <cdtr-col sm="1">
42
+ <color-playground
43
+ type="text"
44
+ .value=${this.fontColor}
45
+ @change=${this.onChangeFontColor}
46
+ ></color-playground>
47
+ </cdtr-col>
48
+ </cdtr-row>
49
+ </cdtr-editor-container>
50
+ <cdtr-editor-container>
51
+ <cdtr-row alignItems="center" justify="space-between">
52
+ <cdtr-title style="display:block" class="align-lang"
53
+ ><lang-text text="fontFamily"></lang-text
54
+ ></cdtr-title>
55
+ <cdtr-col sm="12">
56
+ <cdtr-row alignItems="center" justify="flex-end">
57
+ <cdtr-dropdown
58
+ style="width:100%"
59
+ .value="${this.fontFamily}"
60
+ @change=${this.onchangeFontFamily}
61
+ >
62
+ <cdtr-dropdown-button
63
+ minWidth=${100}
64
+ class="dropdown-button"
65
+ slot="trigger"
66
+ ><lang-text text="${this.fontFamily}"></lang-text>
67
+ </cdtr-dropdown-button>
68
+ <div slot="content">
69
+ <cdtr-input
70
+ .placeholder="${c.h.get("lang","search")}.."
71
+ @input=${this.onFilteredFonts}
72
+ type="search"
73
+ ></cdtr-input>
74
+ ${this.filteredFonts.map((t=>o.dy`<cdtr-dropdown-item
75
+ .focused=${t.name===this.fontFamily}
76
+ .selected=${t.name===this.fontFamily}
77
+ value="${t.name}"
78
+ ><lang-text
79
+ .style="font-family:${t.cssRule};"
80
+ text="${t.name}"
81
+ ></lang-text>
82
+ </cdtr-dropdown-item>`))}
83
+ </div>
84
+ </cdtr-dropdown>
85
+ </cdtr-row>
86
+ </cdtr-col>
87
+ </cdtr-row>
88
+ </cdtr-editor-container>
89
+ <cdtr-editor-container>
90
+ <cdtr-row mt="1">
91
+ <cdtr-title><lang-text text="lineHeight"></lang-text></cdtr-title>
92
+ </cdtr-row>
93
+ <cdtr-row>
94
+ <cdtr-range-input
95
+ .value=${this.lineHeight}
96
+ @input=${this.onChangeLineHeight}
97
+ max="5"
98
+ min="0.4"
99
+ step="0.1"
100
+ ></cdtr-range-input>
101
+ </cdtr-row>
102
+ </cdtr-editor-container>
103
+ <cdtr-editor-container>
104
+ <cdtr-row mt="1">
105
+ <cdtr-title><lang-text text="letterSpacing"></lang-text></cdtr-title>
106
+ </cdtr-row>
107
+ <cdtr-row>
108
+ <cdtr-range-input
109
+ .value=${parseInt(this.letterSpacing)}
110
+ @input=${this.onChangeletterSpace}
111
+ unit="px"
112
+ max="20"
113
+ ></cdtr-range-input>
114
+ </cdtr-row>
115
+ </cdtr-editor-container>
116
+ <cdtr-editor-container>
117
+ <cdtr-range-device-editor
118
+ text="fontSize"
119
+ .value=${this.fontSize}
120
+ @input=${this.onChangeFontSize}
121
+ @device=${t=>{this.device=t.target.device,this.onConnect()}}
122
+ unit="px"
123
+ max="100"
124
+ min="8"
125
+ ></cdtr-range-device-editor>
126
+ </cdtr-editor-container>
127
+ `;return this.hasTextComponent?o.dy`${t} `:null}}(0,i.Z)(d,"properties",{themeType:{type:String},fontFamily:{type:String},fontSize:{type:Number},fontColor:{type:String},lineHeight:{type:Number},letterSpacing:{type:Number},fontFamilies:{type:Array},filteredFonts:{type:Array},hasTextComponent:{type:Boolean},accordion:{type:Boolean},isOpen:{type:Boolean},device:{type:String}}),(0,i.Z)(d,"styles",o.iv`
128
+ .dropdown-button {
129
+ min-width: 100px;
130
+ }
131
+ `),customElements.define("cdtr-text-editor-plugin",d)}}]);
Binary file
@@ -0,0 +1,24 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6479],{86479:(t,e,i)=>{i.r(e),i.d(e,{SortIcon:()=>r});var s=i(56666),h=i(21293);class r extends h.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.dy`<svg
2
+ style="${this.iconStyle}"
3
+ width="${this.width}"
4
+ height="${this.height}"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ viewBox="0 0 24 24"
7
+ ariaLabelledby="sortDownIconTitle"
8
+ stroke="black"
9
+ strokeWidth="0.75"
10
+ strokeLinecap="square"
11
+ strokeLinejoin="round"
12
+ fill="none"
13
+ color="black"
14
+ style="width: 22px; height: 22px;"
15
+ >
16
+ <title id="sortDownIconTitle">Sort in descending order</title>
17
+ <path d="M11 9H17"></path>
18
+ <path d="M11 5H19"></path>
19
+ <path d="M11 13H15"></path>
20
+ <path d="M10 17L7 20L4 17"></path>
21
+ <path d="M7 5V19"></path>
22
+ </svg>`}}(0,s.Z)(r,"styles",h.iv`
23
+
24
+ `),(0,s.Z)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-sort-icon",r)}}]);
Binary file