@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
package/README.md ADDED
@@ -0,0 +1,258 @@
1
+ # @creaditor/newsletter-starterkit
2
+
3
+ > 📧 A powerful visual editor for creating beautiful email newsletters
4
+
5
+ A drag-and-drop newsletter editor with everything built-in. No external dependencies required!
6
+
7
+ ## ✨ Features
8
+
9
+ - 🎨 **Visual Drag & Drop** - Intuitive interface for building newsletters
10
+ - 📱 **Responsive Design** - Mobile-friendly emails out of the box
11
+ - 🔧 **Customizable** - Full control over styles and components
12
+ - 🌍 **i18n Support** - Multiple languages supported
13
+ - 💾 **Auto-save** - Never lose your work
14
+ - 📝 **Rich Text Editor** - Powerful text editing capabilities
15
+ - 🖼️ **Media Gallery** - Easy image and media management
16
+ - 🎯 **Merge Tags** - Personalize emails for each recipient
17
+ - ⚡ **Self-Contained** - All files bundled, no CDN required
18
+
19
+ ## 📦 Installation
20
+
21
+ ```bash
22
+ npm install @creaditor/newsletter-starterkit
23
+ ```
24
+
25
+ Or with yarn:
26
+
27
+ ```bash
28
+ yarn add @creaditor/newsletter-starterkit
29
+ ```
30
+
31
+ ## 🚀 Quick Start
32
+
33
+ ### Simple HTML Integration
34
+
35
+ ```html
36
+ <!DOCTYPE html>
37
+ <html lang="en">
38
+ <head>
39
+ <meta charset="UTF-8">
40
+ <title>Newsletter Editor</title>
41
+ </head>
42
+ <body>
43
+ <div id="root"></div>
44
+
45
+ <!-- Load the editor bundle -->
46
+ <script src="node_modules/@creaditor/newsletter-starterkit/dist/creaditor.bundle.js"></script>
47
+
48
+ <script>
49
+ // Initialize the editor
50
+ const editor = new cdtrStarter({
51
+ target: document.getElementById('root'),
52
+ width: '650px',
53
+ language: 'en',
54
+ onSave: (data) => {
55
+ console.log('Newsletter saved:', data);
56
+ // Send to your backend
57
+ }
58
+ });
59
+ </script>
60
+ </body>
61
+ </html>
62
+ ```
63
+
64
+ ### With Configuration
65
+
66
+ ```javascript
67
+ const editor = new cdtrStarter({
68
+ target: document.getElementById('root'),
69
+ width: '650px',
70
+ language: 'en',
71
+
72
+ // Document name
73
+ documentName: 'My Newsletter',
74
+
75
+ // User information
76
+ user: {
77
+ id: 'user123',
78
+ email: 'user@example.com',
79
+ name: 'John Doe',
80
+ logo: 'https://example.com/logo.png'
81
+ },
82
+
83
+ // Initial components (optional)
84
+ components: [],
85
+
86
+ // Callbacks
87
+ onSave: (data) => {
88
+ console.log('Content saved:', data);
89
+ },
90
+
91
+ onChange: () => {
92
+ console.log('Content changed');
93
+ },
94
+
95
+ onSendTestEmail: (email) => {
96
+ console.log('Send test to:', email);
97
+ }
98
+ });
99
+ ```
100
+
101
+ ## 📖 API
102
+
103
+ ### Constructor Options
104
+
105
+ | Option | Type | Default | Description |
106
+ |--------|------|---------|-------------|
107
+ | `target` | HTMLElement | required | The DOM element to mount the editor |
108
+ | `width` | string | '650px' | Width of the newsletter |
109
+ | `language` | string | 'en' | Editor language (en, he, etc.) |
110
+ | `languageJson` | object | - | Custom language translations |
111
+ | `documentName` | string | - | Name of the document |
112
+ | `components` | array | [] | Initial newsletter components |
113
+ | `user` | object | - | User information (id, email, name, logo) |
114
+ | `onSave` | function | - | Called when content is saved |
115
+ | `onChange` | function | - | Called when content changes |
116
+ | `onSendTestEmail` | function | - | Called when test email is requested |
117
+ | `fonts` | array | - | Available fonts |
118
+ | `mergeTags` | object | - | Merge tags for personalization |
119
+ | `plugins` | array | [] | Additional plugins |
120
+
121
+ ### Methods
122
+
123
+ ```javascript
124
+ // Get newsletter data as JSON
125
+ const data = await editor.commands.toJSON();
126
+ ```
127
+
128
+ ## 🎨 Customization
129
+
130
+ ### Custom Fonts
131
+
132
+ ```javascript
133
+ const editor = new cdtrStarter({
134
+ target: document.getElementById('root'),
135
+ fonts: [
136
+ {
137
+ id: 'Roboto',
138
+ cssRule: 'Roboto, sans-serif',
139
+ name: 'Roboto',
140
+ url: 'https://fonts.googleapis.com/css2?family=Roboto&display=swap'
141
+ }
142
+ ]
143
+ });
144
+ ```
145
+
146
+ ### Merge Tags (Personalization)
147
+
148
+ ```javascript
149
+ const editor = new cdtrStarter({
150
+ target: document.getElementById('root'),
151
+ mergeTags: {
152
+ items: [
153
+ { value: 'name', label: 'First Name' },
154
+ { value: 'email', label: 'Email' },
155
+ { value: 'company', label: 'Company' }
156
+ ],
157
+ prefix: '{{',
158
+ suffix: '}}',
159
+ title: 'Personalization'
160
+ }
161
+ });
162
+ ```
163
+
164
+ ## 🌍 Internationalization
165
+
166
+ Supported languages:
167
+ - English (en)
168
+ - Hebrew (he)
169
+ - Custom (provide your own languageJson)
170
+
171
+ ```javascript
172
+ const editor = new cdtrStarter({
173
+ target: document.getElementById('root'),
174
+ language: 'he', // Hebrew
175
+ // Or provide custom translations:
176
+ languageJson: {
177
+ "save": "Save",
178
+ "cancel": "Cancel",
179
+ // ... more translations
180
+ }
181
+ });
182
+ ```
183
+
184
+ ## 📁 Package Contents
185
+
186
+ ```
187
+ @creaditor/newsletter-starterkit/
188
+ └── dist/
189
+ ├── creaditor.bundle.js (2.2MB - Main bundle)
190
+ ├── index.html (Demo page)
191
+ └── [chunk files].js (Lazy-loaded modules)
192
+ ```
193
+
194
+ ## 📱 Browser Support
195
+
196
+ - Chrome (latest)
197
+ - Firefox (latest)
198
+ - Safari (latest)
199
+ - Edge (latest)
200
+
201
+ ## 💡 Integration Examples
202
+
203
+ ### With CDN (if self-hosting)
204
+
205
+ ```html
206
+ <script src="https://your-cdn.com/creaditor.bundle.js"></script>
207
+ <script>
208
+ const editor = new cdtrStarter({
209
+ target: document.getElementById('root')
210
+ });
211
+ </script>
212
+ ```
213
+
214
+ ### With React (Load via useEffect)
215
+
216
+ ```jsx
217
+ import { useEffect, useRef } from 'react';
218
+
219
+ function NewsletterEditor() {
220
+ const rootRef = useRef(null);
221
+
222
+ useEffect(() => {
223
+ // Load script
224
+ const script = document.createElement('script');
225
+ script.src = '/node_modules/@creaditor/newsletter-starterkit/dist/creaditor.bundle.js';
226
+ script.onload = () => {
227
+ new window.cdtrStarter({
228
+ target: rootRef.current,
229
+ width: '100%',
230
+ language: 'en'
231
+ });
232
+ };
233
+ document.body.appendChild(script);
234
+
235
+ return () => document.body.removeChild(script);
236
+ }, []);
237
+
238
+ return <div ref={rootRef} />;
239
+ }
240
+ ```
241
+
242
+ ## 🤝 Contributing
243
+
244
+ Contributions are welcome! Please feel free to submit a Pull Request.
245
+
246
+ ## 📄 License
247
+
248
+ ISC © Adi L
249
+
250
+ ## 🔗 Links
251
+
252
+ - [GitHub Repository](https://github.com/yourusername/creaditor-monorepo)
253
+ - [Report Issues](https://github.com/yourusername/creaditor-monorepo/issues)
254
+
255
+ ---
256
+
257
+ Made with ❤️ by Adi L
258
+
@@ -0,0 +1,318 @@
1
+ /*! For license information please see 1030.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1030],{61030:(t,e,i)=>{i.r(e),i.d(e,{AttachedFilesPlugin:()=>gt});const s=globalThis,r=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;let l=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==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(r&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}};const a=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,o))(e)})(t):t,{is:h,defineProperty:d,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:u,getPrototypeOf:f}=Object,g=globalThis,v=g.trustedTypes,m=v?v.emptyScript:"",$=g.reactiveElementPolyfillSupport,y=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},x=(t,e)=>!h(t,e),b={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:x};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),g.litPropertyMetadata??(g.litPropertyMetadata=new WeakMap);let A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;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 i=Symbol(),s=this.getPropertyDescriptor(t,i,e);void 0!==s&&d(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){const o=null==s?void 0:s.call(this);null==r||r.call(this,e),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...p(t),...u(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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(){var t;this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(r)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=s.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var i;const s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(void 0!==r&&!0===s.reflect){const o=(void 0!==(null==(i=s.converter)?void 0:i.toAttribute)?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){var i,s;const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(i=t.converter)?void 0:i.fromAttribute)?t.converter:_;this._$Em=o;const l=n.fromAttribute(e,t.type);this[o]=l??(null==(s=this._$Ej)?void 0:s.get(o))??l,this._$Em=null}}requestUpdate(t,e,i){var s;if(void 0!==t){const r=this.constructor,o=this[t];if(i??(i=r.getPropertyOptions(t)),!((i.hasChanged??x)(o,e)||i.useDefault&&i.reflect&&o===(null==(s=this._$Ej)?void 0:s.get(t))&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,i,s){let{useDefault:r,reflect:o,wrapped:n}=i;r&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),!0!==n||void 0!==s)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??(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(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(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,i]of t){const{wrapped:t}=i,s=this[e];!0!==t||this._$AL.has(e)||void 0===s||this.C(e,void 0,i,s)}}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(i)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),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=this._$Eq.forEach((t=>this._$ET(t,this[t])))),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[y("elementProperties")]=new Map,A[y("finalized")]=new Map,null==$||$({ReactiveElement:A}),(g.reactiveElementVersions??(g.reactiveElementVersions=[])).push("2.1.1");const w=globalThis,E=w.trustedTypes,S=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",L=`lit$${Math.random().toFixed(9).slice(2)}$`,z="?"+L,P=`<${z}>`,M=document,T=()=>M.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,U="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,k=/>/g,N=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,V=/"/g,B=/^(?:script|style|textarea|title)$/i,D=(K=1,function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];return{_$litType$:K,strings:t,values:i}}),q=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),Z=new WeakMap,W=M.createTreeWalker(M,129);var K;function J(t,e){if(!O(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==S?S.createHTML(e):e}class G{constructor(t,e){let i,{strings:s,_$litType$:r}=t;this.parts=[];let o=0,n=0;const l=s.length-1,a=this.parts,[h,d]=((t,e)=>{const i=t.length-1,s=[];let r,o=2===e?"<svg>":3===e?"<math>":"",n=F;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===F?"!--"===a[1]?n=R:void 0!==a[1]?n=k:void 0!==a[2]?(B.test(a[2])&&(r=RegExp("</"+a[2],"g")),n=N):void 0!==a[3]&&(n=N):n===N?">"===a[0]?(n=r??F,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?N:'"'===a[3]?V:j):n===V||n===j?n=N:n===R||n===k?n=F:(n=N,r=void 0);const c=n===N&&t[e+1].startsWith("/>")?" ":"";o+=n===F?i+P:h>=0?(s.push(l),i.slice(0,h)+C+i.slice(h)+L+c):i+L+(-2===h?e:c)}return[J(t,o+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]})(s,r);if(this.el=G.createElement(h,e),W.currentNode=this.el.content,2===r||3===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=W.nextNode())&&a.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=d[n++],s=i.getAttribute(t).split(L),r=/([.?@])?(.*)/.exec(e);a.push({type:1,index:o,name:r[2],strings:s,ctor:"."===r[1]?et:"?"===r[1]?it:"@"===r[1]?st:tt}),i.removeAttribute(t)}else t.startsWith(L)&&(a.push({type:6,index:o}),i.removeAttribute(t));if(B.test(i.tagName)){const t=i.textContent.split(L),e=t.length-1;if(e>0){i.textContent=E?E.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],T()),W.nextNode(),a.push({type:2,index:++o});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===z)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(L,t+1));)a.push({type:7,index:o}),t+=L.length-1}o++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function Q(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;var r,o;if(e===q)return e;let n=void 0!==s?null==(r=i._$Co)?void 0:r[s]:i._$Cl;const l=H(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==l&&(null==(o=null==n?void 0:n._$AO)||o.call(n,!1),void 0===l?n=void 0:(n=new l(t),n._$AT(t,i,s)),void 0!==s?(i._$Co??(i._$Co=[]))[s]=n:i._$Cl=n),void 0!==n&&(e=Q(t,n._$AS(t,e.values),n,s)),e}class X{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:i}=this._$AD,s=((null==t?void 0:t.creationScope)??M).importNode(e,!0);W.currentNode=s;let r=W.nextNode(),o=0,n=0,l=i[0];for(;void 0!==l;){if(o===l.index){let e;2===l.type?e=new Y(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new rt(r,this,t)),this._$AV.push(e),l=i[++n]}o!==(null==l?void 0:l.index)&&(r=W.nextNode(),o++)}return W.currentNode=M,s}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(null==s?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),H(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==I&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,r="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=G.createElement(J(s.h,s.h[0]),this.options)),s);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new X(r,this),e=t.u(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new G(t)),e}k(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new Y(this.O(T()),this.O(T()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var i;for(null==(i=this._$AP)||i.call(this,!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;const r=this.strings;let o=!1;if(void 0===r)t=Q(this,t,e,0),o=!H(t)||t!==this._$AH&&t!==q,o&&(this._$AH=t);else{const s=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=Q(this,s[i+n],e,n),l===q&&(l=this._$AH[n]),o||(o=!H(l)||l!==this._$AH[n]),l===I?t=I:t!==I&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}o&&!s&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}class it extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==I)}}class st extends tt{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t){if((t=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??I)===q)return;const e=this._$AH,i=t===I&&e!==I||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,s=t!==I&&(e===I||i);i&&this.element.removeEventListener(this.name,this,e),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const ot=w.litHtmlPolyfillSupport;null==ot||ot(G,Y),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.3.1");const nt=globalThis;class lt extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const s=(null==i?void 0:i.renderBefore)??e;let r=s._$litPart$;if(void 0===r){const t=(null==i?void 0:i.renderBefore)??null;s._$litPart$=r=new Y(e.insertBefore(T(),t),t,void 0,i??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return q}}var at;lt._$litElement$=!0,lt.finalized=!0,null==(at=nt.litElementHydrateSupport)||at.call(nt,{LitElement:lt});const ht=nt.litElementPolyfillSupport;null==ht||ht({LitElement:lt}),(nt.litElementVersions??(nt.litElementVersions=[])).push("4.2.1");const dt={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:x},ct=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dt,e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;const{kind:s,metadata:r}=i;let o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),"setter"===s&&((t=Object.create(t)).wrapped=!0),o.set(i.name,t),"accessor"===s){const{name:s}=i;return{set(i){const r=e.get.call(this);e.set.call(this,i),this.requestUpdate(s,r,t)},init(e){return void 0!==e&&this.C(s,void 0,t,e),e}}}if("setter"===s){const{name:s}=i;return function(i){const r=this[s];e.call(this,i),this.requestUpdate(s,r,t)}}throw Error("Unsupported decorator location: "+s)};var pt=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ft=(t,e,i,s)=>{for(var r,o=s>1?void 0:s?ut(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s?r(e,i,o):r(o))||o);return s&&o&&pt(e,i,o),o};let gt=class extends lt{constructor(){super(),this.files=[],this.maxFiles=1/0,this.maxFileSizeMB=1/0,this.isLoading=!1,this.buttonText="Attached Files",this.addFilesText="Add Files",this.maxFilesReachedText="Maximum number of files reached",this.fileTooLargeText="File size exceeds the limit",this.error="",this.customColor="",this.customTextColor="",this.iconColor="",this.loadingText="Loading files...",this.lazyLoad=null,this._isOpen=!1,this._lazyLoadPromise=null,this.initializeLazyLoad()}initializeLazyLoad(){let t,e;const i=new Promise(((i,s)=>{t=i,e=s}));this._lazyLoadPromise={promise:i,resolve:t,reject:e},this.lazyLoad=this._lazyLoadPromise,this._lazyLoadPromise.promise.then((t=>{this.handleLazyLoadedFiles(t)})).catch((t=>{console.error("Lazy load promise rejected:",t),this.error=`Failed to load files: ${t.message}`}))}handleLazyLoadedFiles(t){if(!Array.isArray(t))return void console.error("Lazy loaded files must be an array");const e=t.filter((t=>t&&"object"==typeof t?!!(t.id&&t.name&&t.type&&t.url)||(console.warn("File missing required properties:",t),!1):(console.warn("Invalid file object:",t),!1)));if(0===e.length)return void console.warn("No valid files found in lazy load");const i=this.maxFiles-this.files.length;if(i<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const s=e.slice(0,i);this.files=[...this.files,...s],this.error="",this.dispatchEvent(new CustomEvent("lazy-files-loaded",{detail:{files:s,totalFiles:this.files.length},bubbles:!0,composed:!0})),this.requestUpdate()}resolveLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.resolve(t)}rejectLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.reject(t)}getLazyLoadPromise(){var t;return(null==(t=this._lazyLoadPromise)?void 0:t.promise)||null}resetLazyLoad(){this.initializeLazyLoad()}showLoading(t){this.isLoading=!0,t&&(this.loadingText=t),this.requestUpdate()}hideLoading(){this.isLoading=!1,this.requestUpdate()}formatFileSize(t){if(0===t)return"0 B";const e=Math.floor(Math.log(t)/Math.log(1024));return`${parseFloat((t/Math.pow(1024,e)).toFixed(2))} ${["B","KB","MB","GB"][e]}`}getFilePreview(t){switch(t.type){case"image":return D`<img
3
+ class="file-preview"
4
+ src=${t.url}
5
+ alt=${t.name}
6
+ />`;case"pdf":return D`<cdtr-icon name="pdf" size="48"></cdtr-icon>`;case"video":return D`<cdtr-icon name="video" size="48"></cdtr-icon>`;case"audio":return D`<cdtr-icon name="audio" size="48"></cdtr-icon>`;default:return D`<cdtr-icon name="file" size="48"></cdtr-icon>`}}handleFileSelect(t){const e=t.target;if(e.files&&e.files.length>0){const t=this.maxFiles-this.files.length;if(t<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const i=1024*this.maxFileSizeMB*1024,s=Array.from(e.files).filter((t=>t.size>i));if(s.length>0)return this.error=`${this.fileTooLargeText} (${this.maxFileSizeMB}MB)`,void this.dispatchEvent(new CustomEvent("file-too-large",{detail:{files:s,maxSize:this.maxFileSizeMB},bubbles:!0,composed:!0}));this.error="",this.isLoading=!0;const r=Array.from(e.files).slice(0,t);let o=0;r.forEach((t=>{const e=new FileReader;e.onload=e=>{var i;const s={id:Math.random().toString(36).substr(2,9),name:t.name,type:t.type.split("/")[0],url:null==(i=e.target)?void 0:i.result,size:t.size};this.files=[...this.files,s],this.dispatchEvent(new CustomEvent("file-added",{detail:s,bubbles:!0,composed:!0})),o++,o===r.length&&(this.isLoading=!1)},e.readAsDataURL(t)}))}}handleRemoveFile(t){const e=this.files.find((e=>e.id===t));e&&(this.files=this.files.filter((e=>e.id!==t)),this.dispatchEvent(new CustomEvent("file-removed",{detail:e,bubbles:!0,composed:!0})))}render(){return Array.isArray(this.files)||(this.files=[]),D`
7
+ <div class="button-container">
8
+ <cdtr-popover
9
+ ?opened=${this._isOpen}
10
+ @opened-changed=${t=>{this._isOpen=t.detail.value,this._isOpen||(this.error="")}}
11
+ >
12
+ <paper-button
13
+ slot="trigger"
14
+ dir="auto"
15
+ class=${this.isLoading?"loading-button":""}
16
+ >
17
+ ${this.isLoading?D`<div class="button-loading-spinner"></div>`:D`<svg
18
+ style="color: ${this.iconColor};"
19
+ width="18"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ viewBox="0 0 24 24"
22
+ fill="currentColor"
23
+ >
24
+ <path
25
+ d="M14.8287 7.75737L9.1718 13.4142C8.78127 13.8047 8.78127 14.4379 9.1718 14.8284C9.56232 15.219 10.1955 15.219 10.586 14.8284L16.2429 9.17158C17.4144 8.00001 17.4144 6.10052 16.2429 4.92894C15.0713 3.75737 13.1718 3.75737 12.0002 4.92894L6.34337 10.5858C4.39075 12.5384 4.39075 15.7042 6.34337 17.6569C8.29599 19.6095 11.4618 19.6095 13.4144 17.6569L19.0713 12L20.4855 13.4142L14.8287 19.0711C12.095 21.8047 7.66283 21.8047 4.92916 19.0711C2.19549 16.3374 2.19549 11.9053 4.92916 9.17158L10.586 3.51473C12.5386 1.56211 15.7045 1.56211 17.6571 3.51473C19.6097 5.46735 19.6097 8.63317 17.6571 10.5858L12.0002 16.2427C10.8287 17.4142 8.92916 17.4142 7.75759 16.2427C6.58601 15.0711 6.58601 13.1716 7.75759 12L13.4144 6.34316L14.8287 7.75737Z"
26
+ ></path>
27
+ </svg>`}
28
+ </paper-button>
29
+ <div slot="content" class="popover-content" dir="auto">
30
+ ${this.error?D` <div class="error-message">${this.error}</div> `:""}
31
+ <div class="file-grid">
32
+ ${this.files.map((t=>D`
33
+ <div class="file-card">
34
+ <button
35
+ class="remove-btn"
36
+ @click=${()=>this.handleRemoveFile(t.id)}
37
+ >
38
+ <svg
39
+ xmlns="http://www.w3.org/2000/svg"
40
+ viewBox="0 0 24 24"
41
+ fill="currentColor"
42
+ width="16"
43
+ height="16"
44
+ >
45
+ <path
46
+ d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z"
47
+ ></path>
48
+ </svg>
49
+ </button>
50
+ ${this.getFilePreview(t)}
51
+ <div class="file-name">${t.name}</div>
52
+ ${t.size?D`<div class="file-size">
53
+ ${this.formatFileSize(t.size)}
54
+ </div>`:""}
55
+ </div>
56
+ `))}
57
+ ${this.files.length<this.maxFiles?D`
58
+ <div class="file-card">
59
+ <label class="add-files-btn">
60
+ <cdtr-icon name="add" size="32"></cdtr-icon>
61
+ <span>${this.addFilesText}</span>
62
+ <input
63
+ type="file"
64
+ multiple
65
+ hidden
66
+ @change=${this.handleFileSelect}
67
+ />
68
+ </label>
69
+ ${this.isLoading?D`<div class="loading-overlay">
70
+ <div class="loading-spinner"></div>
71
+ <div class="loading-text">${this.loadingText}</div>
72
+ </div>`:""}
73
+ </div>
74
+ `:D`
75
+ <div class="error-message">
76
+ ${this.maxFilesReachedText} (${this.maxFiles})
77
+ </div>
78
+ `}
79
+ </div>
80
+ </div>
81
+ </cdtr-popover>
82
+ ${this.files.length>0?D`
83
+ <div class="preview-strip">
84
+ ${this.files.slice(0,3).map((t=>D`
85
+ ${"image"===t.type?D`<img
86
+ class="preview-icon-image"
87
+ src=${t.url}
88
+ alt=${t.name}
89
+ />`:D` <div class="preview-icon-card">
90
+ <svg
91
+ class="preview-icon"
92
+ xmlns="http://www.w3.org/2000/svg"
93
+ viewBox="0 0 24 24"
94
+ fill="currentColor"
95
+ >
96
+ <path
97
+ d="M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z"
98
+ ></path>
99
+ </svg>
100
+ </div>`}
101
+ `))}
102
+ ${this.files.length>3?D`<span class="preview-count"
103
+ >+${this.files.length-3}</span
104
+ >`:""}
105
+ </div>
106
+ `:""}
107
+ </div>
108
+ `}};gt.styles=(function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];const r=1===t.length?t[0]:i.reduce(((e,i,s)=>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.")})(i)+t[s+1]),t[0]);return new l(r,t,o)})`
109
+ .file-grid {
110
+ display: grid;
111
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
112
+ gap: 1rem;
113
+ padding: 1rem;
114
+ max-height: calc(100vh - 200px);
115
+ overflow-y: auto;
116
+ }
117
+
118
+ .file-card {
119
+ position: relative;
120
+ width: 120px;
121
+ height: 120px;
122
+ border-radius: 8px;
123
+ background: #f5f5f5;
124
+ display: flex;
125
+ flex-direction: column;
126
+ align-items: center;
127
+ justify-content: center;
128
+ margin: auto;
129
+ }
130
+
131
+ .file-preview {
132
+ width: 100%;
133
+ height: 80px;
134
+ object-fit: contain;
135
+ background: white;
136
+ }
137
+
138
+ .file-name {
139
+ width: 100%;
140
+ padding: 4px;
141
+ font-size: 12px;
142
+ text-align: center;
143
+ white-space: nowrap;
144
+ overflow: hidden;
145
+ text-overflow: ellipsis;
146
+ }
147
+
148
+ .remove-btn {
149
+ position: absolute;
150
+ top: 4px;
151
+ right: 4px;
152
+ width: 20px;
153
+ height: 20px;
154
+ border-radius: 50%;
155
+ background: red;
156
+ color: white;
157
+ display: flex;
158
+ align-items: center;
159
+ justify-content: center;
160
+ cursor: pointer;
161
+ border: none;
162
+ padding: 4px;
163
+ }
164
+
165
+ .add-files-btn {
166
+ width: 100%;
167
+ height: 100%;
168
+ display: flex;
169
+ flex-direction: column;
170
+ align-items: center;
171
+ justify-content: center;
172
+ gap: 8px;
173
+ cursor: pointer;
174
+ border: 2px dashed #ccc;
175
+ border-radius: 8px;
176
+ background: transparent;
177
+ }
178
+
179
+ .add-files-btn:hover {
180
+ border-color: #666;
181
+ }
182
+
183
+ .error-message {
184
+ color: red;
185
+ font-size: 12px;
186
+ text-align: center;
187
+ padding: 8px;
188
+ }
189
+
190
+ .loading-overlay {
191
+ position: absolute;
192
+ top: 0;
193
+ left: 0;
194
+ right: 0;
195
+ bottom: 0;
196
+ background: rgba(255, 255, 255, 0.9);
197
+ display: flex;
198
+ flex-direction: column;
199
+ align-items: center;
200
+ justify-content: center;
201
+ z-index: 10;
202
+ border-radius: 8px;
203
+ backdrop-filter: blur(2px);
204
+ }
205
+
206
+ .loading-spinner {
207
+ width: 32px;
208
+ height: 32px;
209
+ border: 3px solid #f3f3f3;
210
+ border-top: 3px solid #3498db;
211
+ border-radius: 50%;
212
+ animation: spin 1s linear infinite;
213
+ margin-bottom: 8px;
214
+ }
215
+
216
+ .loading-text {
217
+ font-size: 12px;
218
+ color: #666;
219
+ text-align: center;
220
+ margin-top: 4px;
221
+ }
222
+
223
+ @keyframes spin {
224
+ 0% {
225
+ transform: rotate(0deg);
226
+ }
227
+ 100% {
228
+ transform: rotate(360deg);
229
+ }
230
+ }
231
+
232
+ .loading-button {
233
+ opacity: 0.7;
234
+ pointer-events: none;
235
+ }
236
+
237
+ .button-loading-spinner {
238
+ width: 18px;
239
+ height: 18px;
240
+ border: 2px solid #f3f3f3;
241
+ border-top: 2px solid #3498db;
242
+ border-radius: 50%;
243
+ animation: spin 1s linear infinite;
244
+ }
245
+
246
+ .preview-section {
247
+ margin-top: 8px;
248
+ display: flex;
249
+ gap: 8px;
250
+ flex-wrap: wrap;
251
+ }
252
+
253
+ .preview-item {
254
+ display: flex;
255
+ align-items: center;
256
+ gap: 4px;
257
+ padding: 4px 8px;
258
+ background: #f5f5f5;
259
+ border-radius: 4px;
260
+ font-size: 12px;
261
+ }
262
+ paper-button {
263
+ min-width: 10px;
264
+ }
265
+ .preview-item cdtr-icon {
266
+ width: 16px;
267
+ height: 16px;
268
+ }
269
+
270
+ .preview-count {
271
+ margin-top: 8px;
272
+ font-size: 12px;
273
+ color: #666;
274
+ }
275
+
276
+ .button-container {
277
+ position: relative;
278
+ display: inline-block;
279
+ }
280
+ .preview-icon-card {
281
+ background-color: #160d0d;
282
+ border-radius: 4px;
283
+ padding: 4px;
284
+ z-index: 1;
285
+ }
286
+ .preview-strip {
287
+ position: absolute;
288
+ bottom: -15px;
289
+ left: 0;
290
+ right: 0;
291
+ display: flex;
292
+ gap: 2px;
293
+ padding-left: 12px;
294
+ }
295
+
296
+ .preview-icon {
297
+ width: 12px;
298
+ height: 12px;
299
+ color: white;
300
+ }
301
+ .preview-icon-image {
302
+ width: 16px;
303
+ height: 16px;
304
+ object-fit: cover;
305
+ }
306
+ .preview-count {
307
+ font-size: 10px;
308
+ color: white;
309
+ margin-left: 2px;
310
+ }
311
+
312
+ .file-size {
313
+ font-size: 10px;
314
+ color: #666;
315
+ }
316
+
317
+
318
+ `,gt.properties={files:{type:Array},maxFiles:{type:Number},maxFileSizeMB:{type:Number},isLoading:{type:Boolean},buttonText:{type:String},addFilesText:{type:String},maxFilesReachedText:{type:String},iconColor:{type:String},fileTooLargeText:{type:String},error:{type:String},customColor:{type:String},customTextColor:{type:String},loadingText:{type:String}},ft([function(t){return(e,i)=>"object"==typeof i?ct(t,e,i):((t,e,i)=>{const s=e.hasOwnProperty(i);return e.constructor.createProperty(i,t),s?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}({type:Object,attribute:!1})],gt.prototype,"lazyLoad",2),gt=ft([(t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("cdtr-attached-files-plugin")],gt)}}]);
@@ -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,21 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1101],{31101:(t,i,e)=>{e.r(i),e.d(i,{MenuIcon:()=>r});var h=e(56666),s=e(21293);class r extends s.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.dy`<svg
2
+ style="${this.iconStyle}"
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 24 24"
5
+ width="${this.width}"
6
+ height="${this.height}"
7
+ >
8
+ <path fill="none" d="M0 0h24v24H0z" />
9
+ <path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" />
10
+ </svg>`}}(0,h.Z)(r,"styles",s.iv`
11
+ :host {
12
+ display: inherit;
13
+ --cdtr-icon-width: 20px;
14
+ --cdtr-icon-height: 20px;
15
+ }
16
+ svg {
17
+ width: var(--cdtr-icon-width);
18
+ height: var(--cdtr-icon-height);
19
+ color: var(--cdtr-icon-color);
20
+ }
21
+ `),(0,h.Z)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-menu-icon",r)}}]);
Binary file
@@ -0,0 +1,23 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[116],{50116:(t,i,e)=>{e.r(i),e.d(i,{ArrowUpIcon:()=>s});var h=e(56666),r=e(21293);class s extends r.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.dy` <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 24 24"
4
+ style="${this.iconStyle}"
5
+ width="${this.width}"
6
+ height="${this.height}"
7
+ >
8
+ <path fill="none" d="M0 0h24v24H0z" />
9
+ <path
10
+ d="M13 7.828V20h-2V7.828l-5.364 5.364-1.414-1.414L12 4l7.778 7.778-1.414 1.414L13 7.828z"
11
+ />
12
+ </svg>`}}(0,h.Z)(s,"styles",r.iv`
13
+ :host {
14
+ display: inherit;
15
+ --cdtr-icon-width: 20px;
16
+ --cdtr-icon-height: 20px;
17
+ }
18
+ svg {
19
+ width: var(--cdtr-icon-width);
20
+ height: var(--cdtr-icon-height);
21
+ color: var(--cdtr-icon-color);
22
+ }
23
+ `),(0,h.Z)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-arrow-up-icon",s)}}]);
Binary file