@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
+ /*! For license information please see datepicker.js.LICENSE.txt */
Binary file
@@ -0,0 +1,177 @@
1
+ /*! For license information please see 2475.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2475],{82979:(t,e,s)=>{var i=s(8427),n=s(62331),o=s(61828),r=s(9085),h=function(t,e,s,i){var n,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var h=t.length-1;h>=0;h--)(n=t[h])&&(r=(o<3?n(r):o>3?n(e,s,r):n(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};let a=class extends i.oi{constructor(){super(),this.removeable=!0,this.inputValue="",this.placeholder="",this.max="50",this.primaryText="#fff",this.primary="#845EC2",this.maxItems=20,this.focused=!1,this.items=[],this.suggestions=[],this.filtered=[],this.opened=!1,this.freeSolo=!0,this.setFocus=this.setFocus.bind(this),this.addItem=this.addItem.bind(this),this.keypress=this.keypress.bind(this),this.onTabClicked=this.onTabClicked.bind(this),this.keyCount=0,this.items=[],this.focused=!1,this.inputRef=(0,o.V)(),this.suggestionElRef=(0,o.V)()}setFocus(){if(this.inputRef.value!==document.activeElement){this.inputRef.value.focus()}}removeItems(t){this.value=this.items[t];const e=[...this.items];e.splice(t,1),this.items=e;const s=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(s)}addItem(t){const e=[...this.items],s=this.inputRef.value;let i;i=t?t.split(","):s.value.split(","),i.forEach((t=>{const i=t.replace(/,/g,"");if(i&&i.trim()&&-1===this.items.findIndex((t=>t.value===i))){if(!this.freeSolo&&-1===this.suggestions.findIndex((t=>t.value===i)))return;e.push({value:i}),s.value="",this.items=e,this.filtered=this.suggestions.filter((t=>t.value.includes(this.inputValue)&&-1===this.items.findIndex((e=>e.value===t.value))));const t=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t)}}))}onTabClicked(t){const e=this.inputRef.value;"Tab"===t.key&&this.focused&&e.value.trim()&&(this.addItem(),t.preventDefault())}keypress(t){","===t.key||"Enter"===t.key?(this.opened=!1,this.addItem()):this.opened=!0;const e=this.inputRef.value;if(0===e.value.length&&"Backspace"===t.key&&this.keyCount++,"Backspace"===t.key&&""===e.value&&this.keyCount>1){this.keyCount=0;const t=[...this.items];t.pop(),this.items=t}this.inputValue=e.value,this.inputValue.trim()?this.filtered=this.suggestions.filter((t=>t.value.includes(this.inputValue)&&-1===this.items.findIndex((e=>e.value===t.value)))):this.filtered=this.suggestions}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.onTabClicked),setTimeout((()=>{this.filtered=this.suggestions.filter((t=>t.value.includes(this.inputValue)&&-1===this.items.findIndex((e=>e.value===t.value))))}),50)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.onTabClicked)}render(){return i.dy`<div class="container" @click=${this.setFocus}>
3
+ <span
4
+ >${(0,r.r)(this.items,(t=>t.value),((t,e)=>i.dy`<div
5
+ .style="background:${this.primary};color:${this.primaryText}"
6
+ class="chips"
7
+ >
8
+ <div>
9
+ ${t.value}
10
+ ${this.removeable?i.dy`<button
11
+ @click=${()=>this.removeItems(e)}
12
+ class="remove_button"
13
+ >
14
+ <svg
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ viewBox="0 0 24 24"
17
+ width="13"
18
+ height="20"
19
+ fill="${this.primaryText}"
20
+ >
21
+ <path fill="none" d="M0 0h24v24H0z" />
22
+ <path
23
+ d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"
24
+ />
25
+ </svg>
26
+ </button>`:null}
27
+ </div>
28
+ </div>`))}
29
+ <input
30
+ dir="auto"
31
+ ${(0,o.i)(this.inputRef)}
32
+ .placeholder=${this.placeholder}
33
+ .max=${this.max}
34
+ @keyup=${this.keypress}
35
+ @focus=${()=>{this.focused=!0,this.suggestions.length>0&&setTimeout((()=>{this.opened=!0}),200)}}
36
+ @blur=${()=>{this.focused=!1,setTimeout((()=>{this.opened=!1}),200)}}
37
+ /></span>
38
+ </div>`}};a.styles=i.iv`
39
+ .full-width {
40
+ width: 100%;
41
+ }
42
+ .container {
43
+ border: 1px solid grey;
44
+ border-radius: 0.25rem;
45
+ line-height: 1.5;
46
+ background: padding-box rgb(255, 255, 255);
47
+ outline: 1px solid transparent;
48
+ font-family: Arial, Helvetica, sans-serif;
49
+ box-sizing: border-box;
50
+ position: relative;
51
+ }
52
+ .container:focus {
53
+ border-color: blue;
54
+ }
55
+ .suggestion-btn {
56
+ background: #fff;
57
+ }
58
+ .suggestion-btn:hover {
59
+ background: #f5f5f5;
60
+ }
61
+ .suggestions-holder {
62
+ position: absolute;
63
+ top: 105%;
64
+ left: 0;
65
+ width: 100%;
66
+ height: 100%;
67
+ background-color: #fff;
68
+ /* transition: all 0.3s ease-in-out; */
69
+ }
70
+ .suggestions-content {
71
+ top: 105%;
72
+ left: 0;
73
+ max-height: 400px;
74
+ overflow-y: auto;
75
+ overflow-x: hidden;
76
+ max-width: 400px;
77
+ width: 100%;
78
+ padding: 10px;
79
+ box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
80
+ z-index: 99;
81
+ }
82
+ .chips {
83
+ border-radius: 30px;
84
+ padding: 0 28px;
85
+ background-color: blue;
86
+ color: #fff;
87
+ display: inline-block;
88
+ margin: 5px;
89
+ position: relative;
90
+ font-family: Arial, Helvetica, sans-serif;
91
+ font-size: 14px;
92
+ animation: jackInTheBox 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
93
+ }
94
+
95
+ @keyframes jackInTheBox {
96
+ from {
97
+ opacity: 0;
98
+ transform: scale(0.1) rotate(30deg);
99
+ transform-origin: center bottom;
100
+ }
101
+
102
+ 50% {
103
+ transform: rotate(-10deg);
104
+ }
105
+
106
+ 70% {
107
+ transform: rotate(3deg);
108
+ }
109
+
110
+ to {
111
+ opacity: 1;
112
+ transform: scale(1);
113
+ }
114
+ }
115
+ .remove_button {
116
+ padding: 1px;
117
+ background-color: #484553a6;
118
+ border-radius: 100%;
119
+ height: 17px;
120
+ display: flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ position: absolute;
124
+ right: 2px;
125
+ top: 50%;
126
+ transform: translateY(-50%);
127
+ transition: transform 0.2s ease-in-out;
128
+ }
129
+ .remove_button:hover {
130
+ transform: translateY(-50%) scale(1.2);
131
+ }
132
+ input {
133
+ height: 30px;
134
+ display: inline-block;
135
+ padding: 10px;
136
+ font-size: 14px;
137
+ font-weight: 400;
138
+ line-height: 1.5;
139
+ color: #212529;
140
+ background: #fff;
141
+ background-clip: padding-box;
142
+ border: 1px solid #ced4da;
143
+ -webkit-appearance: none;
144
+ -moz-appearance: none;
145
+ appearance: none;
146
+ margin: 0;
147
+ font-family: Arial;
148
+ border: none;
149
+ outline: none;
150
+ box-sizing: border-box;
151
+ }
152
+ input:hover {
153
+ border: none;
154
+ outline: none;
155
+ }
156
+ button {
157
+ position: relative;
158
+ display: inline-block;
159
+ font-weight: 400;
160
+ text-align: center;
161
+ white-space: nowrap;
162
+ vertical-align: middle;
163
+ -webkit-user-select: none;
164
+ -moz-user-select: none;
165
+ -ms-user-select: none;
166
+ user-select: none;
167
+ border: 1px solid transparent;
168
+ font-family: Arial;
169
+ padding: 0.375rem 0.35rem;
170
+ font-size: 13px;
171
+ line-height: 1.5;
172
+ border-radius: 3px;
173
+ text-transform: none;
174
+ transition: color 0.15s ease-in-out, background 0.15s ease-in-out,
175
+ border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
176
+ }
177
+ `,h([(0,n.Cb)({type:Boolean})],a.prototype,"removeable",void 0),h([(0,n.Cb)({type:String})],a.prototype,"value",void 0),h([(0,n.Cb)({type:String})],a.prototype,"inputValue",void 0),h([(0,n.Cb)({type:String})],a.prototype,"placeholder",void 0),h([(0,n.Cb)({type:String})],a.prototype,"max",void 0),h([(0,n.Cb)({type:String})],a.prototype,"primaryText",void 0),h([(0,n.Cb)({type:String})],a.prototype,"primary",void 0),h([(0,n.Cb)({type:Number})],a.prototype,"maxItems",void 0),h([(0,n.Cb)({type:Boolean})],a.prototype,"focused",void 0),h([(0,n.Cb)({type:Array})],a.prototype,"items",void 0),h([(0,n.Cb)({type:Array})],a.prototype,"suggestions",void 0),h([(0,n.Cb)({type:Array})],a.prototype,"filtered",void 0),h([(0,n.Cb)({type:Boolean})],a.prototype,"opened",void 0),h([(0,n.Cb)({type:Boolean})],a.prototype,"freeSolo",void 0),a=h([(0,n.Mo)("cdtr-chips-input")],a)},62331:(t,e,s)=>{s.d(e,{Mo:()=>i,Cb:()=>o});const i=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:s,elements:i}=e;return{kind:s,elements:i,finisher(e){customElements.define(t,e)}}})(t,e),n=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(s){s.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(s){s.createProperty(e.key,t)}};function o(t){return(e,s)=>void 0!==s?((t,e,s)=>{e.constructor.createProperty(s,t)})(t,e,s):n(t,e)}var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements},9085:(t,e,s)=>{s.d(e,{r:()=>h});var i=s(93311),n=s(47514),o=s(68707);const r=(t,e,s)=>{const i=new Map;for(let n=e;n<=s;n++)i.set(t[n],n);return i},h=(0,n.XM)(class extends n.Xe{constructor(t){if(super(t),t.type!==n.pX.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,s){let i;void 0===s?s=e:void 0!==e&&(i=e);const n=[],o=[];let r=0;for(const e of t)n[r]=i?i(e,r):r,o[r]=s(e,r),r++;return{values:o,keys:n}}render(t,e,s){return this.ht(t,e,s).values}update(t,[e,s,n]){var h;const a=(0,o.i9)(t),{values:l,keys:c}=this.ht(e,s,n);if(!Array.isArray(a))return this.ut=c,l;const d=null!==(h=this.ut)&&void 0!==h?h:this.ut=[],p=[];let u,f,m=0,y=a.length-1,$=0,g=l.length-1;for(;m<=y&&$<=g;)if(null===a[m])m++;else if(null===a[y])y--;else if(d[m]===c[$])p[$]=(0,o.fk)(a[m],l[$]),m++,$++;else if(d[y]===c[g])p[g]=(0,o.fk)(a[y],l[g]),y--,g--;else if(d[m]===c[g])p[g]=(0,o.fk)(a[m],l[g]),(0,o._Y)(t,p[g+1],a[m]),m++,g--;else if(d[y]===c[$])p[$]=(0,o.fk)(a[y],l[$]),(0,o._Y)(t,a[m],a[y]),y--,$++;else if(void 0===u&&(u=r(c,$,g),f=r(d,m,y)),u.has(d[m]))if(u.has(d[y])){const e=f.get(c[$]),s=void 0!==e?a[e]:null;if(null===s){const e=(0,o._Y)(t,a[m]);(0,o.fk)(e,l[$]),p[$]=e}else p[$]=(0,o.fk)(s,l[$]),(0,o._Y)(t,a[m],s),a[e]=null;$++}else(0,o.ws)(a[y]),y--;else(0,o.ws)(a[m]),m++;for(;$<=g;){const e=(0,o._Y)(t,p[g+1]);(0,o.fk)(e,l[$]),p[$++]=e}for(;m<=y;){const t=a[m++];null!==t&&(0,o.ws)(t)}return this.ut=c,(0,o.hl)(t,p),i.Jb}})},3959:(t,e,s)=>{s.d(e,{V:()=>h});var i=s(33692),n=s(50875);const o="important",r=" !"+o,h=(0,n.XM)(class extends n.Xe{constructor(t){if(super(t),t.type!==n.pX.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(r);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?o:""):s[t]=i}}return i.Jb}})},78792:(t,e,s)=>{s.d(e,{fl:()=>x,iv:()=>a,Ts:()=>A,Qu:()=>E});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),r=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1]),t[0]);return new h(s,t,o)},l=(t,e)=>{if(n)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,t.appendChild(e)}},c=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,o))(e)})(t):t,{is:d,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:f,getOwnPropertySymbols:m,getPrototypeOf:y}=Object,$=globalThis,g=$.trustedTypes,v=g?g.emptyScript:"",_=$.reactiveElementPolyfillSupport,b=(t,e)=>t,A={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},E=(t,e)=>!d(t,e),w={attribute:!0,type:String,converter:A,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),$.litPropertyMetadata??=new WeakMap;class x extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&p(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const o=i?.call(this);n?.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??w}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...m(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const n=(void 0!==s.converter?.toAttribute?s.converter:A).toAttribute(e,s.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:A;this._$Em=i;const o=n.fromAttribute(e,t.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const i=this.constructor,n=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??E)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==n||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,_?.({ReactiveElement:x}),($.reactiveElementVersions??=[]).push("2.1.1")},60981:(t,e,s)=>{s.d(e,{Mo:()=>i});const i=t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};var n=s(78792);n.Ts,n.Qu},74411:(t,e,s)=>{s.d(e,{oi:()=>V,iv:()=>i.iv,dy:()=>x});var i=s(78792);const n=globalThis,o=n.trustedTypes,r=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,d=document,p=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,m=t=>f(t)||"function"==typeof t?.[Symbol.iterator],y="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,v=/>/g,_=RegExp(`>|${y}(?:([^\\s"'>=/]+)(${y}*=${y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,A=/"/g,E=/^(?:script|style|textarea|title)$/i,w=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),x=w(1),k=(w(2),w(3),Symbol.for("lit-noChange")),C=Symbol.for("lit-nothing"),S=new WeakMap,P=d.createTreeWalker(d,129);function T(t,e){if(!f(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const U=(t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",r=$;for(let e=0;e<s;e++){const s=t[e];let l,d,p=-1,u=0;for(;u<s.length&&(r.lastIndex=u,d=r.exec(s),null!==d);)u=r.lastIndex,r===$?"!--"===d[1]?r=g:void 0!==d[1]?r=v:void 0!==d[2]?(E.test(d[2])&&(n=RegExp("</"+d[2],"g")),r=_):void 0!==d[3]&&(r=_):r===_?">"===d[0]?(r=n??$,p=-1):void 0===d[1]?p=-2:(p=r.lastIndex-d[2].length,l=d[1],r=void 0===d[3]?_:'"'===d[3]?A:b):r===A||r===b?r=_:r===g||r===v?r=$:(r=_,n=void 0);const f=r===_&&t[e+1].startsWith("/>")?" ":"";o+=r===$?s+c:p>=0?(i.push(l),s.slice(0,p)+h+s.slice(p)+a+f):s+a+(-2===p?e:f)}return[T(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class M{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const c=t.length-1,d=this.parts,[u,f]=U(t,e);if(this.el=M.createElement(u,s),P.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=P.nextNode())&&d.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=f[r++],s=i.getAttribute(t).split(a),o=/([.?@])?(.*)/.exec(e);d.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?N:"?"===o[1]?z:"@"===o[1]?j:I}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:n}),i.removeAttribute(t));if(E.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],p()),P.nextNode(),d.push({type:2,index:++n});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===l)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function O(t,e,s=t,i){if(e===k)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=u(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=O(t,n._$AS(t,e.values),n,i)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);P.currentNode=i;let n=P.nextNode(),o=0,r=0,h=s[0];for(;void 0!==h;){if(o===h.index){let e;2===h.type?e=new H(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new B(n,this,t)),this._$AV.push(e),h=s[++r]}o!==h?.index&&(n=P.nextNode(),o++)}return P.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=C,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),u(t)?t===C||null==t||""===t?(this._$AH!==C&&this._$AR(),this._$AH=C):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):m(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==C&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=M.createElement(T(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new R(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new M(t)),e}k(t){f(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new H(this.O(p()),this.O(p()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class I{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=C,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=C}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=O(this,t,e,0),o=!u(t)||t!==this._$AH&&t!==k,o&&(this._$AH=t);else{const i=t;let r,h;for(t=n[0],r=0;r<n.length-1;r++)h=O(this,i[s+r],e,r),h===k&&(h=this._$AH[r]),o||=!u(h)||h!==this._$AH[r],h===C?t=C:t!==C&&(t+=(h??"")+n[r+1]),this._$AH[r]=h}o&&!i&&this.j(t)}j(t){t===C?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class N extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===C?void 0:t}}class z extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==C)}}class j extends I{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=O(this,t,e,0)??C)===k)return;const s=this._$AH,i=t===C&&s!==C||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==C&&(s===C||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class B{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){O(this,t)}}const L=n.litHtmlPolyfillSupport;L?.(M,H),(n.litHtmlVersions??=[]).push("3.3.1");const D=globalThis;class V extends i.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new H(e.insertBefore(p(),t),t,void 0,s??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return k}}V._$litElement$=!0,V.finalized=!0,D.litElementHydrateSupport?.({LitElement:V});const W=D.litElementPolyfillSupport;W?.({LitElement:V});(D.litElementVersions??=[]).push("4.2.1")}}]);
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2018 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
12
+
13
+ /**
14
+ * @license
15
+ * Copyright 2019 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
18
+
19
+ /**
20
+ * @license
21
+ * Copyright 2021 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */
Binary file
@@ -0,0 +1,112 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2543],{62543:(t,e,i)=>{i.r(e),i.d(e,{ListPicker:()=>a});var l=i(56666),s=i(21293),r=(i(70235),i(27338));class a extends s.oi{constructor(){super(),(0,l.Z)(this,"inputRef",(0,r.V)()),(0,l.Z)(this,"modalRef",(0,r.V)()),this.level=0,this.storage={},this.filtered=[],this.dispatch=this.dispatch.bind(this)}disconnectedCallback(){super.disconnectedCallback()}connectedCallback(){super.connectedCallback(),this.storage[0]||(this.storage={0:[...this.list]}),this.createdEvent=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0})}findSelected(){if(this.selected){const t=(e,i)=>{for(const l of e){if(l.value===this.selected)return this.level=i,this.storage[i]=[...e],!0;if(l.children&&t(l.children,i+1))return!0}return!1};t(this.storage[0],0)}}onSearch(t){const e=t.target.value;if(""===e)return void(this.filtered=[]);const i=function(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=[];for(const r of t){if(r.label.toLowerCase().includes(e.toLowerCase())){let t=s.find((t=>t.parentLabel===l));t||(t={parentLabel:l,items:[]},s.push(t)),t.items.push(r)}r.children&&(s=s.concat(i(r.children,r.label)))}return s};this.filtered=i(this.storage[0])}close(){this.opened=!1,this.modalRef.value?.close()}dispatch(t){this.value=t,this.dispatchEvent(this.createdEvent),this.inputRef&&this.inputRef.value&&(this.inputRef.value.value=""),this.close(),this.filtered=[]}updated(t){t.has("selected")&&this.findSelected()}render(){const t=s.dy`${(t=>this.filtered&&this.filtered.length>0?this.filtered.map((t=>{let{items:e,parentLabel:i}=t;return s.dy`<h3
2
+ style="font-size:16px;text-align:var(--text-align-locale)"
3
+ >
4
+ ${i}
5
+ </h3>
6
+ ${e.map((t=>s.dy` <cdtr-dropdown-item
7
+ class="${t.value===this.selected?"selected":""}"
8
+ @click=${()=>this.dispatch(t.value)}
9
+ .value="${t.value}"
10
+ ><cdtr-row class="animate">
11
+ ${t.value===this.selected?" ✓ ":""}${" "}
12
+ <lang-text text="${t.label}"></lang-text>
13
+ </cdtr-row>
14
+ </cdtr-dropdown-item>`))}
15
+ <cdtr-divider></cdtr-divider>`})):t.map((t=>t.children&&t.children.length>0?s.dy`
16
+ <cdtr-dropdown-item
17
+ class="slideFromLeft"
18
+ @click=${()=>{this.level++,this.storage[this.level]=[...t.children],this.list=t.children}}
19
+ .notClickable=${!0}
20
+ >
21
+ <cdtr-row
22
+ class="animate"
23
+ alignItems="center"
24
+ justify="space-between"
25
+ style="min-width:0;padding:2px;width:100%;display:flex;align-items:center;justify-content:space-between;"
26
+ >
27
+ <lang-text text="${t.label}"></lang-text>
28
+ <svg
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ viewBox="0 0 24 24"
31
+ width="20"
32
+ fill="currentColor"
33
+ >
34
+ <path
35
+ fill="#000"
36
+ d="M11.8284 12.0005L14.6569 14.8289L13.2426 16.2431L9 12.0005L13.2426 7.75781L14.6569 9.17203L11.8284 12.0005Z"
37
+ ></path>
38
+ </svg>
39
+ </cdtr-row>
40
+ </cdtr-dropdown-item>
41
+ `:s.dy`<cdtr-dropdown-item
42
+ class="slideFromLeft ${t.value===this.selected?"selected":""}"
43
+ @click=${()=>this.dispatch(t.value)}
44
+ .value="${t.value}"
45
+ ><cdtr-row class="animate">
46
+ ${t.value===this.selected?" ✓ ":""}${" "}
47
+ <lang-text text="${t.label}"></lang-text>
48
+ </cdtr-row>
49
+ </cdtr-dropdown-item>`)))(this.filtered.length>0?this.filtered:this.storage[this.level])}`,e=s.dy`<cdtr-row
50
+ slot="header"
51
+ class="header"
52
+ justify="flex-start"
53
+ >
54
+ ${this.level>0?s.dy` <paper-button
55
+ @click=${t=>{this.level--,this.level<0?(this.level=0,this.list=this.storage[this.level],this.close()):this.list=this.storage[this.level]}}
56
+ >
57
+ <cdtr-arrow-icon></cdtr-arrow-icon>
58
+ <cdtr-title>
59
+ <lang-text
60
+ style="font-weight:700;"
61
+ text="${this.level>0?"go_back":"close"}"
62
+ ></lang-text>
63
+ </cdtr-title>
64
+ </paper-button>`:""}
65
+ ${0===this.level?s.dy`<cdtr-col sm="12"
66
+ ><h3
67
+ style="padding:0 3px;text-align:var(--text-align-locale);font-size:20px !important;"
68
+ >
69
+ <lang-text text="${this.heading}"></lang-text>
70
+ </h3>
71
+ </cdtr-col>`:""}
72
+ ${this.hasSearch&&s.dy`<cdtr-input
73
+ ${(0,r.i)(this.inputRef)}
74
+ placeholder="search"
75
+ @input=${this.onSearch}
76
+ style="width:100%"
77
+ ></cdtr-input>`}
78
+ </cdtr-row>
79
+ <div style="direction:var(--direction);" slot="content">${t}</div>`;return this.hasModal?s.dy` <cdtr-draggable-box
80
+ ${(0,r.i)(this.modalRef)}
81
+ style="direction:var(--direction);"
82
+ .height=${this.height||300}
83
+ .left=${this.left}
84
+ .top=${this.top}
85
+ .opened=${this.opened}
86
+ >
87
+ <cdtr-dropdown-button
88
+ style="min-width:0;width:100%;display:block;"
89
+ slot="trigger"
90
+ ><lang-text text="${this.title}"></lang-text
91
+ ></cdtr-dropdown-button>
92
+ ${e}
93
+ </cdtr-draggable-box>`:e}}(0,l.Z)(a,"styles",s.iv`
94
+ .selected {
95
+ background: #f1f1f1 !important;
96
+ border-radius: 5px;
97
+ display: block;
98
+ }
99
+ .slideFromLeft {
100
+ animation: slideFromLeft 0.2s ease-in-out;
101
+ display: block;
102
+ }
103
+ @keyframes slideFromLeft {
104
+ from {
105
+ transform: translateX(-10%);
106
+ opacity: 0;
107
+ }
108
+ to {
109
+ transform: translateX(0);
110
+ }
111
+ }
112
+ `),(0,l.Z)(a,"properties",{value:{type:String,reflect:!1},title:{type:String,reflect:!1},heading:{type:String},list:{type:Array},level:{type:Number},left:{type:String},top:{type:String},opened:{type:Boolean},hasModal:{type:Boolean},hasSearch:{type:Boolean},selected:{type:String},height:{type:Number},filtered:{type:Array}}),customElements.define("cdtr-list-picker",a)}}]);
Binary file
@@ -0,0 +1,171 @@
1
+ /*! For license information please see 2605.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2605],{2605:(t,e,s)=>{s.r(e),s.d(e,{SendTestEmailsPlugin:()=>V});var i=s(21293);const r=globalThis,o=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),n=new WeakMap;const l=t=>new class{constructor(t,e,s){if(this._$cssResult$=!0,s!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,a),h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),i=r.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}},p=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return l(e)})(t):t,{is:d,defineProperty:c,getOwnPropertyDescriptor:u,getOwnPropertyNames:m,getOwnPropertySymbols:f,getPrototypeOf:g}=Object,y=globalThis,v=y.trustedTypes,E=v?v.emptyScript:"",b=y.reactiveElementPolyfillSupport,$=(t,e)=>t,S={toAttribute(t,e){switch(e){case Boolean:t=t?E:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},w=(t,e)=>!d(t,e),x={attribute:!0,type:String,converter:S,reflect:!1,useDefault:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class _ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const o=i?.call(this);r?.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const t=this.properties,e=[...m(t),...f(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:S).toAttribute(e,s.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:S;this._$Em=i;const o=r.fromAttribute(e,t.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const i=this.constructor,r=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??w)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==r||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[$("elementProperties")]=new Map,_[$("finalized")]=new Map,b?.({ReactiveElement:_}),(y.reactiveElementVersions??=[]).push("2.1.1");const C={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:w},P=(t=C,e,s)=>{const{kind:i,metadata:r}=s;let o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),"setter"===i&&((t=Object.create(t)).wrapped=!0),o.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const r=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t,e),e}}}if("setter"===i){const{name:i}=s;return function(s){const r=this[i];e.call(this,s),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function O(t){return(e,s)=>"object"==typeof s?P(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}function T(t){return O({...t,state:!0,attribute:!1})}var U=Object.defineProperty,A=Object.getOwnPropertyDescriptor,M=(t,e,s,i)=>{for(var r,o=i>1?void 0:i?A(e,s):e,a=t.length-1;a>=0;a--)(r=t[a])&&(o=(i?r(e,s,o):r(o))||o);return i&&o&&U(e,s,o),o};const k="cdtr-test-emails";let V=class extends i.oi{constructor(){super(...arguments),this.emails=[],this.inputValue="",this.error="",this.isLoading=!1,this.customColor="#000",this.customTextColor="#ffffff",this.buttonText="#ffffff",this.triggerText="Send Test Emails",this.headerText="Send Test Emails",this.inputPlaceholder="Enter email addresses (comma or enter to add)",this.sendButtonText="Send",this.loadingText="Sending...",this.invalidEmailError="Please enter a valid email address",this.noEmailsError="Please add at least one email address"}connectedCallback(){super.connectedCallback();const t=localStorage.getItem(k);t&&(this.emails=JSON.parse(t))}validateEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}handleInput(t){const e=t.target;this.inputValue=e.value,this.error=""}handleKeyDown(t){"Enter"!==t.key&&","!==t.key||(t.preventDefault(),this.addEmail())}addEmail(){const t=this.inputValue.trim();t&&(this.validateEmail(t)?(this.emails.includes(t)||(this.emails=[...this.emails,t],localStorage.setItem(k,JSON.stringify(this.emails)),this.dispatchEvent(new CustomEvent("email-added",{detail:{email:t},bubbles:!0,composed:!0}))),this.inputValue=""):this.error=this.invalidEmailError)}removeEmail(t){this.emails=this.emails.filter((e=>e!==t)),localStorage.setItem(k,JSON.stringify(this.emails)),this.dispatchEvent(new CustomEvent("email-removed",{detail:{email:t},bubbles:!0,composed:!0}))}sendEmails(){this.inputValue.trim()&&this.validateEmail(this.inputValue.trim())&&this.addEmail(),0!==this.emails.length?(this.isLoading=!0,this.dispatchEvent(new CustomEvent("sendEmails",{detail:{emails:this.emails},bubbles:!0,composed:!0})),setTimeout((()=>{this.isLoading=!1;const t=this.shadowRoot?.querySelector("cdtr-popover");t&&t.close&&t.close()}),1e3)):this.error=this.noEmailsError}render(){return i.dy`
3
+ <cdtr-popover>
4
+ <paper-button
5
+ color="primary"
6
+ slot="trigger"
7
+ style="color: ${this.customTextColor};"
8
+ >
9
+ <svg
10
+ width="20"
11
+ height="20"
12
+ xmlns="http://www.w3. org/2000/svg"
13
+ viewBox="0 0 24 24"
14
+ fill="currentColor"
15
+ >
16
+ <path
17
+ d="M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z"
18
+ ></path>
19
+ </svg>
20
+ <span dir="auto">${this.triggerText}</span>
21
+ </paper-button>
22
+ <div slot="content" class="popover-content" dir="auto">
23
+ <div class="popover-header">
24
+ <svg
25
+ xmlns="http://www.w3.org/2000/svg"
26
+ viewBox="0 0 24 24"
27
+ fill="currentColor"
28
+ >
29
+ <path
30
+ d="M21 3C21.5523 3 22 3.44772 22 4V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V19H20V7.3L12 14.5L2 5.5V4C2 3.44772 2.44772 3 3 3H21ZM8 15V17H0V15H8ZM5 10V12H0V10H5ZM19.5659 5H4.43414L12 11.8093L19.5659 5Z"
31
+ ></path>
32
+ </svg>
33
+ <h3>${this.headerText}</h3>
34
+ </div>
35
+ <input
36
+ name="emails"
37
+ class="email-input"
38
+ type="text"
39
+ .value=${this.inputValue}
40
+ @input=${this.handleInput}
41
+ @keydown=${this.handleKeyDown}
42
+ placeholder=${this.inputPlaceholder}
43
+ dir="auto"
44
+ />
45
+ ${this.error?i.dy`<div class="error" dir="auto">${this.error}</div>`:""}
46
+ <div class="email-tags">
47
+ ${this.emails.map((t=>i.dy`
48
+ <div class="email-tag" dir="auto">
49
+ ${t}
50
+ <span
51
+ class="remove-tag"
52
+ @click=${()=>this.removeEmail(t)}
53
+ >×</span
54
+ >
55
+ </div>
56
+ `))}
57
+ </div>
58
+ <paper-button
59
+ size="sm"
60
+ fullwidth
61
+ @click=${this.sendEmails}
62
+ ?disabled=${this.isLoading}
63
+ class="send-button"
64
+ style="background: ${this.customColor}; color: ${this.customTextColor};width:100%;"
65
+ >
66
+ ${this.isLoading?i.dy`
67
+ <span class="loading-spinner"></span>
68
+ <span dir="auto">${this.loadingText}</span>
69
+ `:i.dy`<span dir="auto">${this.sendButtonText}</span>`}
70
+ </paper-button>
71
+ </div>
72
+ </cdtr-popover>
73
+ `}};V.styles=i.iv`
74
+ :host {
75
+ display: block;
76
+ }
77
+ * {
78
+ font-family: Arial, Helvetica, sans-serif;
79
+ box-sizing: border-box;
80
+ }
81
+ paper-button {
82
+ text-transform: none;
83
+ min-width: 10px;
84
+ }
85
+ .popover-content {
86
+ padding: 16px;
87
+ min-width: 300px;
88
+ }
89
+ .popover-header {
90
+ display: flex;
91
+ align-items: center;
92
+ gap: 8px;
93
+ margin-bottom: 16px;
94
+ padding-bottom: 8px;
95
+ border-bottom: 1px solid #e0e0e0;
96
+ }
97
+ .popover-header h3 {
98
+ margin: 0;
99
+ font-size: 16px;
100
+ font-weight: 600;
101
+ color: #333;
102
+ }
103
+ .popover-header svg {
104
+ width: 20px;
105
+ height: 20px;
106
+ color: #666;
107
+ }
108
+ .email-input {
109
+ padding: 8px 12px;
110
+ border: 1px solid #ccc;
111
+ border-radius: 4px;
112
+ width: 100%;
113
+ margin-bottom: 8px;
114
+ font-size: 14px;
115
+ transition: border-color 0.2s;
116
+ }
117
+ .email-input:focus {
118
+ outline: none;
119
+ border-color: #666;
120
+ }
121
+ .email-tags {
122
+ display: flex;
123
+ flex-wrap: wrap;
124
+ gap: 4px;
125
+ margin-bottom: 16px;
126
+ max-width: 200px;
127
+ }
128
+ .email-tag {
129
+ background: #f0f0f0;
130
+ padding: 4px 8px;
131
+ border-radius: 4px;
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 4px;
135
+ font-size: 13px;
136
+ }
137
+ .remove-tag {
138
+ cursor: pointer;
139
+ color: #666;
140
+ font-size: 16px;
141
+ line-height: 1;
142
+ padding: 0 2px;
143
+ }
144
+ .remove-tag:hover {
145
+ color: #ff0000;
146
+ }
147
+ .error {
148
+ color: #ff0000;
149
+ font-size: 12px;
150
+ margin-bottom: 8px;
151
+ }
152
+ .loading-spinner {
153
+ display: inline-block;
154
+ width: 16px;
155
+ height: 16px;
156
+ border: 2px solid #ffffff;
157
+ border-radius: 50%;
158
+ border-top-color: transparent;
159
+ animation: spin 1s ease-in-out infinite;
160
+ margin-right: 8px;
161
+ }
162
+ @keyframes spin {
163
+ to {
164
+ transform: rotate(360deg);
165
+ }
166
+ }
167
+ .send-button:disabled {
168
+ opacity: 0.6;
169
+ cursor: not-allowed;
170
+ }
171
+ `,M([T()],V.prototype,"emails",2),M([T()],V.prototype,"inputValue",2),M([T()],V.prototype,"error",2),M([T()],V.prototype,"isLoading",2),M([O({type:String})],V.prototype,"customColor",2),M([O({type:String})],V.prototype,"customTextColor",2),M([O({type:String})],V.prototype,"buttonText",2),M([O({type:String})],V.prototype,"triggerText",2),M([O({type:String})],V.prototype,"headerText",2),M([O({type:String})],V.prototype,"inputPlaceholder",2),M([O({type:String})],V.prototype,"sendButtonText",2),M([O({type:String})],V.prototype,"loadingText",2),M([O({type:String})],V.prototype,"invalidEmailError",2),M([O({type:String})],V.prototype,"noEmailsError",2),V=M([(t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("cdtr-send-test-emails-plugin")],V)}}]);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
Binary file
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 2609.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2609],{72609:(e,t,s)=>{s.d(t,{i:()=>r});s(94002);var i=s(33972),n=s(23708);const l={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map((function(e){return this._indexToValue(this.indexOf(e))}),this).filter((function(e){return null!=e}),this)):n.P._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter((function(e){return null!=e}));this._selection.clear(t);for(var s=0;s<t.length;s++)this._selection.setItemSelected(t[s],!0);this.fallbackSelection&&!this._selection.get().length&&(this._valueToItem(this.fallbackSelection)&&this.select(this.fallbackSelection))},_selectionChange:function(){var e=this._selection.get();this.multi?(this._setSelectedItems(e),this._setSelectedItem(e.length?e[0]:null)):null!=e?(this._setSelectedItems([e]),this._setSelectedItem(e)):(this._setSelectedItems([]),this._setSelectedItem(null))},_toggleSelected:function(e){var t=this.selectedValues.indexOf(e);t<0?this.push("selectedValues",e):this.splice("selectedValues",t,1)},_valuesToItems:function(e){return null==e?null:e.map((function(e){return this._valueToItem(e)}),this)}},c=[n.P,l];var a=s(3572);const o={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String},disabled:{type:Boolean,value:!1,observer:"_disabledChanged"}},_MODIFIER_KEYS:["Alt","AltGraph","CapsLock","Control","Fn","FnLock","Hyper","Meta","NumLock","OS","ScrollLock","Shift","Super","Symbol","SymbolLock"],_SEARCH_RESET_TIMEOUT_MS:1e3,_previousTabIndex:0,hostAttributes:{role:"menu"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown","iron-items-changed":"_onIronItemsChanged"},keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey","shift+tab:keydown":"_onShiftTabDown"},attached:function(){this._resetTabindices()},select:function(e){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var t=this._valueToItem(e);t&&t.hasAttribute("disabled")||(this._setFocusedItem(t),l.select.apply(this,arguments))},_resetTabindices:function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach((function(t){t.setAttribute("tabindex",t===e?"0":"-1"),t.setAttribute("aria-selected",this._selection.isSelected(t))}),this)},_updateMultiselectable:function(e){e?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},_focusWithKeyboardEvent:function(e){if(-1===this._MODIFIER_KEYS.indexOf(e.key)){this.cancelDebouncer("_clearSearchText");for(var t,s=this._searchText||"",i=(s+=(e.key&&1==e.key.length?e.key:String.fromCharCode(e.keyCode)).toLocaleLowerCase()).length,n=0;t=this.items[n];n++)if(!t.hasAttribute("disabled")){var l=this.attrForItemTitle||"textContent",c=(t[l]||t.getAttribute(l)||"").trim();if(!(c.length<i)&&c.slice(0,i).toLocaleLowerCase()==s){this._setFocusedItem(t);break}}this._searchText=s,this.debounce("_clearSearchText",this._clearSearchText,this._SEARCH_RESET_TIMEOUT_MS)}},_clearSearchText:function(){this._searchText=""},_focusPrevious:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),s=1;s<e+1;s++){var i=this.items[(t-s+e)%e];if(!i.hasAttribute("disabled")){var n=(0,a.vz)(i).getOwnerRoot()||document;if(this._setFocusedItem(i),(0,a.vz)(n).activeElement==i)return}}},_focusNext:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),s=1;s<e+1;s++){var i=this.items[(t+s)%e];if(!i.hasAttribute("disabled")){var n=(0,a.vz)(i).getOwnerRoot()||document;if(this._setFocusedItem(i),(0,a.vz)(n).activeElement==i)return}}},_applySelection:function(e,t){t?e.setAttribute("aria-selected","true"):e.setAttribute("aria-selected","false"),n.P._applySelection.apply(this,arguments)},_focusedItemChanged:function(e,t){t&&t.setAttribute("tabindex","-1"),!e||e.hasAttribute("disabled")||this.disabled||(e.setAttribute("tabindex","0"),e.focus())},_onIronItemsChanged:function(e){e.detail.addedNodes.length&&this._resetTabindices()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");o._shiftTabPressed=!0,this._setFocusedItem(null),this.setAttribute("tabindex","-1"),this.async((function(){this.setAttribute("tabindex",t),o._shiftTabPressed=!1}),1)},_onFocus:function(e){if(!o._shiftTabPressed){var t=(0,a.vz)(e).rootTarget;(t===this||void 0===t.tabIndex||this.isLightDescendant(t))&&(this._defaultFocusAsync=this.async((function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this._setFocusedItem(null),e?this._setFocusedItem(e):this.items[0]&&this._focusNext()})))}},_onUpKey:function(e){this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onEscKey:function(e){var t=this.focusedItem;t&&t.blur()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down esc")||this._focusWithKeyboardEvent(e),e.stopPropagation()},_activateHandler:function(e){n.P._activateHandler.call(this,e),e.stopPropagation()},_disabledChanged:function(e){e?(this._previousTabIndex=this.hasAttribute("tabindex")?this.tabIndex:0,this.removeAttribute("tabindex")):this.hasAttribute("tabindex")||this.setAttribute("tabindex",this._previousTabIndex)},_shiftTabPressed:!1},r=[c,i.G,o]},23708:(e,t,s)=>{s.d(t,{P:()=>c});s(94002);var i=s(3572),n=s(23025);class l{constructor(e){this.selection=[],this.selectCallback=e}get(){return this.multi?this.selection.slice():this.selection[0]}clear(e){this.selection.slice().forEach((function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)}),this)}isSelected(e){return this.selection.indexOf(e)>=0}setItemSelected(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var s=this.selection.indexOf(e);s>=0&&this.selection.splice(s,1)}this.selectCallback&&this.selectCallback(e,t)}}select(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}toggle(e){this.setItemSelected(e,!this.isSelected(e))}}const c={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new l(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&(0,i.vz)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=(0,i.vz)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,s=0;t=this.items[s];s++)if(this._valueForItem(t)==e)return s},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var s=e[(0,n.z)(this.attrForSelected)];return null!=s?s:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return(0,i.vz)(e).observeNodes((function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})}))},_activateHandler:function(e){for(var t=e.target,s=this.items;t&&t!=this;){var i=s.indexOf(t);if(i>=0){var n=this._indexToValue(i);return void this._itemActivate(n,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}}}}]);
@@ -0,0 +1,10 @@
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
+ */
Binary file
@@ -0,0 +1,11 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2721],{2721:(t,e,i)=>{i.r(e),i.d(e,{MoreIcon:()=>c});var s=i(56666),r=i(21293);class c extends r.oi{constructor(){super(),this.iconStyle=""}render(){return r.dy` <svg style="${this.iconStyle}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z" /><path d="M12 3c-.825 0-1.5.675-1.5 1.5S11.175 6 12 6s1.5-.675 1.5-1.5S12.825 3 12 3zm0 15c-.825 0-1.5.675-1.5 1.5S11.175 21 12 21s1.5-.675 1.5-1.5S12.825 18 12 18zm0-7.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5-.675-1.5-1.5-1.5z" /></svg>`}}(0,s.Z)(c,"styles",r.iv`
2
+ :host {
3
+ --cdtr-icon-width: 20px;
4
+ --cdtr-icon-height: 20px;
5
+ }
6
+ svg {
7
+ width: var(--cdtr-icon-width);
8
+ height: var(--cdtr-icon-height);
9
+ fill: var(--cdtr-icon-color);
10
+ }
11
+ `),(0,s.Z)(c,"properties",{iconStyle:{type:String}}),customElements.define("cdtr-more-icon",c)}}]);
Binary file