@creaditor/web-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 (393) hide show
  1. package/README.md +92 -0
  2. package/dist/.gitkeep +0 -0
  3. package/dist/112.creaditor.bundle.js +94 -0
  4. package/dist/112.creaditor.bundle.js.gz +0 -0
  5. package/dist/1142.creaditor.bundle.js +1 -0
  6. package/dist/1142.creaditor.bundle.js.gz +0 -0
  7. package/dist/1260.creaditor.bundle.js +234 -0
  8. package/dist/1260.creaditor.bundle.js.gz +0 -0
  9. package/dist/1271.creaditor.bundle.js +439 -0
  10. package/dist/1271.creaditor.bundle.js.gz +0 -0
  11. package/dist/1317.creaditor.bundle.js +142 -0
  12. package/dist/1317.creaditor.bundle.js.LICENSE.txt +20 -0
  13. package/dist/1317.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  14. package/dist/1317.creaditor.bundle.js.gz +0 -0
  15. package/dist/1334.creaditor.bundle.js +51 -0
  16. package/dist/1334.creaditor.bundle.js.gz +0 -0
  17. package/dist/1396.creaditor.bundle.js +1 -0
  18. package/dist/1396.creaditor.bundle.js.gz +0 -0
  19. package/dist/1452.creaditor.bundle.js +23 -0
  20. package/dist/1452.creaditor.bundle.js.gz +0 -0
  21. package/dist/1456.creaditor.bundle.js +73 -0
  22. package/dist/1456.creaditor.bundle.js.gz +0 -0
  23. package/dist/1529.creaditor.bundle.js +16 -0
  24. package/dist/1529.creaditor.bundle.js.gz +0 -0
  25. package/dist/1565.creaditor.bundle.js +1016 -0
  26. package/dist/1565.creaditor.bundle.js.gz +0 -0
  27. package/dist/168.creaditor.bundle.js +540 -0
  28. package/dist/168.creaditor.bundle.js.LICENSE.txt +10 -0
  29. package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  30. package/dist/168.creaditor.bundle.js.gz +0 -0
  31. package/dist/170.creaditor.bundle.js +51 -0
  32. package/dist/170.creaditor.bundle.js.gz +0 -0
  33. package/dist/175.creaditor.bundle.js +75 -0
  34. package/dist/175.creaditor.bundle.js.gz +0 -0
  35. package/dist/1756.creaditor.bundle.js +1 -0
  36. package/dist/1756.creaditor.bundle.js.gz +0 -0
  37. package/dist/1936.creaditor.bundle.js +177 -0
  38. package/dist/1936.creaditor.bundle.js.LICENSE.txt +29 -0
  39. package/dist/1936.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  40. package/dist/1936.creaditor.bundle.js.gz +0 -0
  41. package/dist/1972.creaditor.bundle.js +12 -0
  42. package/dist/1972.creaditor.bundle.js.gz +0 -0
  43. package/dist/2001.creaditor.bundle.js +318 -0
  44. package/dist/2001.creaditor.bundle.js.LICENSE.txt +11 -0
  45. package/dist/2001.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  46. package/dist/2001.creaditor.bundle.js.gz +0 -0
  47. package/dist/211.creaditor.bundle.js +1 -0
  48. package/dist/211.creaditor.bundle.js.gz +0 -0
  49. package/dist/2112.creaditor.bundle.js +24 -0
  50. package/dist/2112.creaditor.bundle.js.gz +0 -0
  51. package/dist/2234.creaditor.bundle.js +1 -0
  52. package/dist/2234.creaditor.bundle.js.gz +0 -0
  53. package/dist/2298.creaditor.bundle.js +1 -0
  54. package/dist/2298.creaditor.bundle.js.gz +0 -0
  55. package/dist/235.creaditor.bundle.js +11 -0
  56. package/dist/235.creaditor.bundle.js.LICENSE.txt +17 -0
  57. package/dist/235.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  58. package/dist/235.creaditor.bundle.js.gz +0 -0
  59. package/dist/2350.creaditor.bundle.js +23 -0
  60. package/dist/2350.creaditor.bundle.js.gz +0 -0
  61. package/dist/2377.creaditor.bundle.js +64 -0
  62. package/dist/2377.creaditor.bundle.js.gz +0 -0
  63. package/dist/2384.creaditor.bundle.js +46 -0
  64. package/dist/2384.creaditor.bundle.js.gz +0 -0
  65. package/dist/2397.creaditor.bundle.js +38 -0
  66. package/dist/2397.creaditor.bundle.js.gz +0 -0
  67. package/dist/2409.creaditor.bundle.js +36 -0
  68. package/dist/2409.creaditor.bundle.js.gz +0 -0
  69. package/dist/2438.creaditor.bundle.js +67 -0
  70. package/dist/2438.creaditor.bundle.js.gz +0 -0
  71. package/dist/2547.creaditor.bundle.js +6 -0
  72. package/dist/2547.creaditor.bundle.js.gz +0 -0
  73. package/dist/2550.creaditor.bundle.js +75 -0
  74. package/dist/2550.creaditor.bundle.js.LICENSE.txt +1 -0
  75. package/dist/2550.creaditor.bundle.js.gz +0 -0
  76. package/dist/2590.creaditor.bundle.js +7 -0
  77. package/dist/2590.creaditor.bundle.js.gz +0 -0
  78. package/dist/2706.creaditor.bundle.js +130 -0
  79. package/dist/2706.creaditor.bundle.js.LICENSE.txt +20 -0
  80. package/dist/2706.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  81. package/dist/2706.creaditor.bundle.js.gz +0 -0
  82. package/dist/271.creaditor.bundle.js +99 -0
  83. package/dist/271.creaditor.bundle.js.gz +0 -0
  84. package/dist/2717.creaditor.bundle.js +407 -0
  85. package/dist/2717.creaditor.bundle.js.LICENSE.txt +23 -0
  86. package/dist/2717.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  87. package/dist/2717.creaditor.bundle.js.gz +0 -0
  88. package/dist/2765.creaditor.bundle.js +1 -0
  89. package/dist/2765.creaditor.bundle.js.gz +0 -0
  90. package/dist/2773.creaditor.bundle.js +25 -0
  91. package/dist/2773.creaditor.bundle.js.gz +0 -0
  92. package/dist/2833.creaditor.bundle.js +23 -0
  93. package/dist/2833.creaditor.bundle.js.gz +0 -0
  94. package/dist/2834.creaditor.bundle.js +14 -0
  95. package/dist/2834.creaditor.bundle.js.LICENSE.txt +5 -0
  96. package/dist/2834.creaditor.bundle.js.gz +0 -0
  97. package/dist/2956.creaditor.bundle.js +40 -0
  98. package/dist/2956.creaditor.bundle.js.gz +0 -0
  99. package/dist/2963.creaditor.bundle.js +25 -0
  100. package/dist/2963.creaditor.bundle.js.gz +0 -0
  101. package/dist/307.creaditor.bundle.js +23 -0
  102. package/dist/307.creaditor.bundle.js.gz +0 -0
  103. package/dist/3095.creaditor.bundle.js +161 -0
  104. package/dist/3095.creaditor.bundle.js.gz +0 -0
  105. package/dist/3105.creaditor.bundle.js +1 -0
  106. package/dist/3105.creaditor.bundle.js.gz +0 -0
  107. package/dist/3233.creaditor.bundle.js +12 -0
  108. package/dist/3233.creaditor.bundle.js.gz +0 -0
  109. package/dist/3521.creaditor.bundle.js +12 -0
  110. package/dist/3521.creaditor.bundle.js.gz +0 -0
  111. package/dist/353.creaditor.bundle.js +9 -0
  112. package/dist/353.creaditor.bundle.js.gz +0 -0
  113. package/dist/3545.creaditor.bundle.js +1 -0
  114. package/dist/3545.creaditor.bundle.js.gz +0 -0
  115. package/dist/3553.creaditor.bundle.js +60 -0
  116. package/dist/3553.creaditor.bundle.js.gz +0 -0
  117. package/dist/3606.creaditor.bundle.js +113 -0
  118. package/dist/3606.creaditor.bundle.js.gz +0 -0
  119. package/dist/365.creaditor.bundle.js +26 -0
  120. package/dist/365.creaditor.bundle.js.gz +0 -0
  121. package/dist/380.creaditor.bundle.js +186 -0
  122. package/dist/380.creaditor.bundle.js.gz +0 -0
  123. package/dist/3827.creaditor.bundle.js +13 -0
  124. package/dist/3827.creaditor.bundle.js.gz +0 -0
  125. package/dist/3875.creaditor.bundle.js +8 -0
  126. package/dist/3875.creaditor.bundle.js.gz +0 -0
  127. package/dist/3932.creaditor.bundle.js +30 -0
  128. package/dist/3932.creaditor.bundle.js.gz +0 -0
  129. package/dist/3971.creaditor.bundle.js +51 -0
  130. package/dist/3971.creaditor.bundle.js.gz +0 -0
  131. package/dist/4061.creaditor.bundle.js +1 -0
  132. package/dist/4061.creaditor.bundle.js.gz +0 -0
  133. package/dist/407.creaditor.bundle.js +21 -0
  134. package/dist/407.creaditor.bundle.js.gz +0 -0
  135. package/dist/4074.creaditor.bundle.js +33 -0
  136. package/dist/4074.creaditor.bundle.js.gz +0 -0
  137. package/dist/4100.creaditor.bundle.js +13 -0
  138. package/dist/4100.creaditor.bundle.js.gz +0 -0
  139. package/dist/4109.creaditor.bundle.js +2 -0
  140. package/dist/4109.creaditor.bundle.js.LICENSE.txt +1 -0
  141. package/dist/4109.creaditor.bundle.js.gz +0 -0
  142. package/dist/4114.creaditor.bundle.js +20 -0
  143. package/dist/4114.creaditor.bundle.js.gz +0 -0
  144. package/dist/4161.creaditor.bundle.js +21 -0
  145. package/dist/4161.creaditor.bundle.js.gz +0 -0
  146. package/dist/4186.creaditor.bundle.js +453 -0
  147. package/dist/4186.creaditor.bundle.js.LICENSE.txt +10 -0
  148. package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  149. package/dist/4186.creaditor.bundle.js.gz +0 -0
  150. package/dist/4217.creaditor.bundle.js +105 -0
  151. package/dist/4217.creaditor.bundle.js.gz +0 -0
  152. package/dist/4288.creaditor.bundle.js +98 -0
  153. package/dist/4288.creaditor.bundle.js.gz +0 -0
  154. package/dist/4413.creaditor.bundle.js +16 -0
  155. package/dist/4413.creaditor.bundle.js.gz +0 -0
  156. package/dist/4475.creaditor.bundle.js +16 -0
  157. package/dist/4475.creaditor.bundle.js.gz +0 -0
  158. package/dist/453.creaditor.bundle.js +114 -0
  159. package/dist/453.creaditor.bundle.js.gz +0 -0
  160. package/dist/4569.creaditor.bundle.js +1047 -0
  161. package/dist/4569.creaditor.bundle.js.gz +0 -0
  162. package/dist/4615.creaditor.bundle.js +14 -0
  163. package/dist/4615.creaditor.bundle.js.gz +0 -0
  164. package/dist/467.creaditor.bundle.js +23 -0
  165. package/dist/467.creaditor.bundle.js.gz +0 -0
  166. package/dist/4762.creaditor.bundle.js +53 -0
  167. package/dist/4762.creaditor.bundle.js.gz +0 -0
  168. package/dist/4770.creaditor.bundle.js +32 -0
  169. package/dist/4770.creaditor.bundle.js.gz +0 -0
  170. package/dist/4819.creaditor.bundle.js +407 -0
  171. package/dist/4819.creaditor.bundle.js.gz +0 -0
  172. package/dist/4947.creaditor.bundle.js +18 -0
  173. package/dist/4947.creaditor.bundle.js.gz +0 -0
  174. package/dist/4987.creaditor.bundle.js +171 -0
  175. package/dist/4987.creaditor.bundle.js.LICENSE.txt +11 -0
  176. package/dist/4987.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  177. package/dist/4987.creaditor.bundle.js.gz +0 -0
  178. package/dist/4988.creaditor.bundle.js +6 -0
  179. package/dist/4988.creaditor.bundle.js.gz +0 -0
  180. package/dist/5133.creaditor.bundle.js +60 -0
  181. package/dist/5133.creaditor.bundle.js.gz +0 -0
  182. package/dist/5156.creaditor.bundle.js +93 -0
  183. package/dist/5156.creaditor.bundle.js.gz +0 -0
  184. package/dist/5284.creaditor.bundle.js +2 -0
  185. package/dist/5284.creaditor.bundle.js.LICENSE.txt +1 -0
  186. package/dist/5284.creaditor.bundle.js.gz +0 -0
  187. package/dist/5340.creaditor.bundle.js +66 -0
  188. package/dist/5340.creaditor.bundle.js.gz +0 -0
  189. package/dist/5391.creaditor.bundle.js +227 -0
  190. package/dist/5391.creaditor.bundle.js.gz +0 -0
  191. package/dist/5411.creaditor.bundle.js +27 -0
  192. package/dist/5411.creaditor.bundle.js.gz +0 -0
  193. package/dist/5428.creaditor.bundle.js +23 -0
  194. package/dist/5428.creaditor.bundle.js.gz +0 -0
  195. package/dist/5501.creaditor.bundle.js +112 -0
  196. package/dist/5501.creaditor.bundle.js.gz +0 -0
  197. package/dist/5530.creaditor.bundle.js +36 -0
  198. package/dist/5530.creaditor.bundle.js.gz +0 -0
  199. package/dist/5666.creaditor.bundle.js +28 -0
  200. package/dist/5666.creaditor.bundle.js.gz +0 -0
  201. package/dist/567.creaditor.bundle.js +439 -0
  202. package/dist/567.creaditor.bundle.js.gz +0 -0
  203. package/dist/5713.creaditor.bundle.js +86 -0
  204. package/dist/5713.creaditor.bundle.js.LICENSE.txt +10 -0
  205. package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  206. package/dist/5713.creaditor.bundle.js.gz +0 -0
  207. package/dist/574.creaditor.bundle.js +115 -0
  208. package/dist/574.creaditor.bundle.js.LICENSE.txt +21 -0
  209. package/dist/574.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  210. package/dist/574.creaditor.bundle.js.gz +0 -0
  211. package/dist/578.creaditor.bundle.js +29 -0
  212. package/dist/578.creaditor.bundle.js.gz +0 -0
  213. package/dist/5791.creaditor.bundle.js +288 -0
  214. package/dist/5791.creaditor.bundle.js.gz +0 -0
  215. package/dist/5813.creaditor.bundle.js +613 -0
  216. package/dist/5813.creaditor.bundle.js.LICENSE.txt +10 -0
  217. package/dist/5813.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  218. package/dist/5813.creaditor.bundle.js.gz +0 -0
  219. package/dist/5839.creaditor.bundle.js +47 -0
  220. package/dist/5839.creaditor.bundle.js.gz +0 -0
  221. package/dist/5849.creaditor.bundle.js +18 -0
  222. package/dist/5849.creaditor.bundle.js.gz +0 -0
  223. package/dist/5850.creaditor.bundle.js +23 -0
  224. package/dist/5850.creaditor.bundle.js.gz +0 -0
  225. package/dist/59.creaditor.bundle.js +381 -0
  226. package/dist/59.creaditor.bundle.js.LICENSE.txt +10 -0
  227. package/dist/59.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  228. package/dist/59.creaditor.bundle.js.gz +0 -0
  229. package/dist/5926.creaditor.bundle.js +63 -0
  230. package/dist/5926.creaditor.bundle.js.gz +0 -0
  231. package/dist/6036.creaditor.bundle.js +34 -0
  232. package/dist/6036.creaditor.bundle.js.gz +0 -0
  233. package/dist/6151.creaditor.bundle.js +1 -0
  234. package/dist/6151.creaditor.bundle.js.gz +0 -0
  235. package/dist/6216.creaditor.bundle.js +2 -0
  236. package/dist/6216.creaditor.bundle.js.LICENSE.txt +10 -0
  237. package/dist/6216.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  238. package/dist/6216.creaditor.bundle.js.gz +0 -0
  239. package/dist/638.creaditor.bundle.js +23 -0
  240. package/dist/638.creaditor.bundle.js.gz +0 -0
  241. package/dist/6442.creaditor.bundle.js +236 -0
  242. package/dist/6442.creaditor.bundle.js.gz +0 -0
  243. package/dist/6459.creaditor.bundle.js +23 -0
  244. package/dist/6459.creaditor.bundle.js.gz +0 -0
  245. package/dist/6496.creaditor.bundle.js +19 -0
  246. package/dist/6496.creaditor.bundle.js.gz +0 -0
  247. package/dist/653.creaditor.bundle.js +23 -0
  248. package/dist/653.creaditor.bundle.js.gz +0 -0
  249. package/dist/6751.creaditor.bundle.js +1 -0
  250. package/dist/6751.creaditor.bundle.js.gz +0 -0
  251. package/dist/6814.creaditor.bundle.js +1 -0
  252. package/dist/6814.creaditor.bundle.js.gz +0 -0
  253. package/dist/7051.creaditor.bundle.js +162 -0
  254. package/dist/7051.creaditor.bundle.js.LICENSE.txt +17 -0
  255. package/dist/7051.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  256. package/dist/7051.creaditor.bundle.js.gz +0 -0
  257. package/dist/7055.creaditor.bundle.js +75 -0
  258. package/dist/7055.creaditor.bundle.js.LICENSE.txt +1 -0
  259. package/dist/7055.creaditor.bundle.js.gz +0 -0
  260. package/dist/715.creaditor.bundle.js +142 -0
  261. package/dist/715.creaditor.bundle.js.LICENSE.txt +11 -0
  262. package/dist/715.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  263. package/dist/715.creaditor.bundle.js.gz +0 -0
  264. package/dist/7155.creaditor.bundle.js +23 -0
  265. package/dist/7155.creaditor.bundle.js.gz +0 -0
  266. package/dist/7209.creaditor.bundle.js +660 -0
  267. package/dist/7209.creaditor.bundle.js.gz +0 -0
  268. package/dist/7238.creaditor.bundle.js +131 -0
  269. package/dist/7238.creaditor.bundle.js.gz +0 -0
  270. package/dist/7255.creaditor.bundle.js +11 -0
  271. package/dist/7255.creaditor.bundle.js.gz +0 -0
  272. package/dist/738.creaditor.bundle.js +14 -0
  273. package/dist/738.creaditor.bundle.js.gz +0 -0
  274. package/dist/7380.creaditor.bundle.js +19 -0
  275. package/dist/7380.creaditor.bundle.js.gz +0 -0
  276. package/dist/7463.creaditor.bundle.js +395 -0
  277. package/dist/7463.creaditor.bundle.js.LICENSE.txt +10 -0
  278. package/dist/7463.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  279. package/dist/7463.creaditor.bundle.js.gz +0 -0
  280. package/dist/7466.creaditor.bundle.js +1 -0
  281. package/dist/7466.creaditor.bundle.js.gz +0 -0
  282. package/dist/752.creaditor.bundle.js +40 -0
  283. package/dist/752.creaditor.bundle.js.gz +0 -0
  284. package/dist/7523.creaditor.bundle.js +27 -0
  285. package/dist/7523.creaditor.bundle.js.gz +0 -0
  286. package/dist/7564.creaditor.bundle.js +1 -0
  287. package/dist/7564.creaditor.bundle.js.gz +0 -0
  288. package/dist/763.creaditor.bundle.js +1 -0
  289. package/dist/763.creaditor.bundle.js.gz +0 -0
  290. package/dist/767.creaditor.bundle.js +274 -0
  291. package/dist/767.creaditor.bundle.js.gz +0 -0
  292. package/dist/7759.creaditor.bundle.js +25 -0
  293. package/dist/7759.creaditor.bundle.js.gz +0 -0
  294. package/dist/7838.creaditor.bundle.js +20 -0
  295. package/dist/7838.creaditor.bundle.js.gz +0 -0
  296. package/dist/7937.creaditor.bundle.js +130 -0
  297. package/dist/7937.creaditor.bundle.js.gz +0 -0
  298. package/dist/7997.creaditor.bundle.js +173 -0
  299. package/dist/7997.creaditor.bundle.js.gz +0 -0
  300. package/dist/8042.creaditor.bundle.js +71 -0
  301. package/dist/8042.creaditor.bundle.js.gz +0 -0
  302. package/dist/8064.creaditor.bundle.js +25 -0
  303. package/dist/8064.creaditor.bundle.js.gz +0 -0
  304. package/dist/8141.creaditor.bundle.js +21 -0
  305. package/dist/8141.creaditor.bundle.js.LICENSE.txt +5 -0
  306. package/dist/8141.creaditor.bundle.js.gz +0 -0
  307. package/dist/8173.creaditor.bundle.js +455 -0
  308. package/dist/8173.creaditor.bundle.js.LICENSE.txt +10 -0
  309. package/dist/8173.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  310. package/dist/8173.creaditor.bundle.js.gz +0 -0
  311. package/dist/8250.creaditor.bundle.js +1 -0
  312. package/dist/8250.creaditor.bundle.js.gz +0 -0
  313. package/dist/8251.creaditor.bundle.js +23 -0
  314. package/dist/8251.creaditor.bundle.js.gz +0 -0
  315. package/dist/8303.creaditor.bundle.js +57 -0
  316. package/dist/8303.creaditor.bundle.js.LICENSE.txt +10 -0
  317. package/dist/8303.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  318. package/dist/8303.creaditor.bundle.js.gz +0 -0
  319. package/dist/8305.creaditor.bundle.js +32 -0
  320. package/dist/8305.creaditor.bundle.js.gz +0 -0
  321. package/dist/8315.creaditor.bundle.js +44 -0
  322. package/dist/8315.creaditor.bundle.js.gz +0 -0
  323. package/dist/8443.creaditor.bundle.js +72 -0
  324. package/dist/8443.creaditor.bundle.js.gz +0 -0
  325. package/dist/84702e107adede1a967468c78921d455.mp4 +0 -0
  326. package/dist/8516.creaditor.bundle.js +15 -0
  327. package/dist/8516.creaditor.bundle.js.gz +0 -0
  328. package/dist/8533.creaditor.bundle.js +1 -0
  329. package/dist/8533.creaditor.bundle.js.gz +0 -0
  330. package/dist/8570.creaditor.bundle.js +102 -0
  331. package/dist/8570.creaditor.bundle.js.gz +0 -0
  332. package/dist/8646.creaditor.bundle.js +122 -0
  333. package/dist/8646.creaditor.bundle.js.gz +0 -0
  334. package/dist/8654.creaditor.bundle.js +109 -0
  335. package/dist/8654.creaditor.bundle.js.gz +0 -0
  336. package/dist/8676.creaditor.bundle.js +23 -0
  337. package/dist/8676.creaditor.bundle.js.gz +0 -0
  338. package/dist/88.creaditor.bundle.js +1 -0
  339. package/dist/88.creaditor.bundle.js.gz +0 -0
  340. package/dist/8854.creaditor.bundle.js +79 -0
  341. package/dist/8854.creaditor.bundle.js.gz +0 -0
  342. package/dist/8876.creaditor.bundle.js +25 -0
  343. package/dist/8876.creaditor.bundle.js.LICENSE.txt +32 -0
  344. package/dist/8876.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  345. package/dist/8876.creaditor.bundle.js.gz +0 -0
  346. package/dist/8916.creaditor.bundle.js +18 -0
  347. package/dist/8916.creaditor.bundle.js.gz +0 -0
  348. package/dist/8921.creaditor.bundle.js +25 -0
  349. package/dist/8921.creaditor.bundle.js.gz +0 -0
  350. package/dist/898.creaditor.bundle.js +548 -0
  351. package/dist/898.creaditor.bundle.js.LICENSE.txt +10 -0
  352. package/dist/898.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  353. package/dist/898.creaditor.bundle.js.gz +0 -0
  354. package/dist/8983.creaditor.bundle.js +1 -0
  355. package/dist/8983.creaditor.bundle.js.gz +0 -0
  356. package/dist/9041.creaditor.bundle.js +171 -0
  357. package/dist/9041.creaditor.bundle.js.gz +0 -0
  358. package/dist/9089.creaditor.bundle.js +21 -0
  359. package/dist/9089.creaditor.bundle.js.gz +0 -0
  360. package/dist/9162.creaditor.bundle.js +23 -0
  361. package/dist/9162.creaditor.bundle.js.gz +0 -0
  362. package/dist/9184.creaditor.bundle.js +23 -0
  363. package/dist/9184.creaditor.bundle.js.gz +0 -0
  364. package/dist/9193.creaditor.bundle.js +1 -0
  365. package/dist/9193.creaditor.bundle.js.gz +0 -0
  366. package/dist/9250.creaditor.bundle.js +274 -0
  367. package/dist/9250.creaditor.bundle.js.gz +0 -0
  368. package/dist/9386.creaditor.bundle.js +23 -0
  369. package/dist/9386.creaditor.bundle.js.gz +0 -0
  370. package/dist/9453.creaditor.bundle.js +15 -0
  371. package/dist/9453.creaditor.bundle.js.gz +0 -0
  372. package/dist/9570.creaditor.bundle.js +23 -0
  373. package/dist/9570.creaditor.bundle.js.gz +0 -0
  374. package/dist/975.creaditor.bundle.js +23 -0
  375. package/dist/975.creaditor.bundle.js.gz +0 -0
  376. package/dist/976.creaditor.bundle.js +23 -0
  377. package/dist/976.creaditor.bundle.js.gz +0 -0
  378. package/dist/9986.creaditor.bundle.js +11 -0
  379. package/dist/9986.creaditor.bundle.js.gz +0 -0
  380. package/dist/9990.creaditor.bundle.js +16 -0
  381. package/dist/9990.creaditor.bundle.js.gz +0 -0
  382. package/dist/creaditor.bundle.js +6433 -0
  383. package/dist/creaditor.bundle.js.LICENSE.txt +102 -0
  384. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  385. package/dist/creaditor.bundle.js.gz +0 -0
  386. package/dist/dca9330af07325d31ab04d60838684cd.png +0 -0
  387. package/dist/index.html +1 -0
  388. package/dist/index.html.gz +0 -0
  389. package/dist/service-worker.js +1 -0
  390. package/dist/service-worker.js.gz +0 -0
  391. package/dist/workbox-f3063069.js +1 -0
  392. package/dist/workbox-f3063069.js.gz +0 -0
  393. package/package.json +37 -0
@@ -0,0 +1,27 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7523],{67523(t,e,r){r.r(e),r.d(e,{FormatColor:()=>o});var i=r(59929);class o extends i.WF{constructor(){super(),this.iconStyle=""}render(){return i.qy`
2
+ <svg
3
+ style=${this.iconStyle}
4
+ xmlns="http://www.w3.org/2000/svg"
5
+ viewBox="0 0 24 24"
6
+ focusable="false"
7
+ width="24"
8
+ height="24"
9
+ >
10
+ <path fill="none" d="M0 0h24v24H0z" />
11
+ <path
12
+ d="M15.246 14H8.754l-1.6 4H5l6-15h2l6 15h-2.154l-1.6-4zm-.8-2L12 5.885 9.554 12h4.892zM3 20h18v2H3v-2z"
13
+ />
14
+ <path style="fill:${this.color}" d="M0 20h24v4H0z"></path>
15
+ </svg>
16
+ `}}o.styles=i.AH`
17
+ :host {
18
+ display: inherit;
19
+ --cdtr-icon-width: 20px;
20
+ --cdtr-icon-height: 20px;
21
+ }
22
+ svg {
23
+ width: var(--cdtr-icon-width);
24
+ height: var(--cdtr-icon-height);
25
+ color: var(--cdtr-icon-color);
26
+ }
27
+ `,o.properties={iconStyle:{type:String},color:{type:String}},customElements.define("cdtr-text-format-color",o)}}]);
Binary file
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7564],{7564(e,t,n){n.d(t,{default:()=>y});const o=e=>{{const{component:t,commands:n,helpers:o}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"},{text:"animations"},{text:"settings"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:o,changeTab:r,tabs:s}=e;const l=t.closest("col");return[{type:"colorpicker",title:"color",value:t.props.style.borderColor,onChange:e=>{const t=e.target.value;n.execCommand("style",{borderColor:t})}},{type:"slider",title:"width",value:parseFloat(t.props.style.width),unit:"px",min:20,max:parseInt(window.getComputedStyle(l.element).width),onInput:e=>{const t=e.target.value;n.execCommand("style",{width:t+"px"})}},{type:"slider",title:"height",unit:"px",value:parseFloat(t.props.style.borderTopWidth),min:1,max:80,onInput:e=>{const t=e.target.value;n.execCommand("style",{borderTopWidth:t+"px"})}},{type:"slider",title:"radius",unit:"px",value:parseFloat(t.props.style.borderRadius),min:0,max:99,onInput:e=>{const t=e.target.value;n.execCommand("style",{borderRadius:t+"px"})}},{type:"borderpicker",title:"style",value:t.props.style.borderTopStyle,onChange:e=>{const t=e.target.value;n.execCommand("style",{borderTopStyle:t})}}]}}}},r=e=>{let{helpers:t}=e;return{set:(e,n,o)=>"style"===n&&(e[n]=t.deepMerge(e[n],o),!0)}};var s=n(72591),l=n.n(s),a=n(88639),i=n.n(a),d=n(88128),p=n.n(d),A=n(30855),c=n.n(A),u=n(93051),m=n.n(u),b=n(26149),h={};h.setAttributes=c(),h.insert=p().bind(null,"head"),h.domAPI=i(),h.insertStyleElement=m();l()(b.A,h);const C=b.A&&b.A.locals?b.A.locals:void 0,y=()=>{const e="divider";return{name:e,create:t=>{let{createElement:n,compose:s,helpers:l}=t;const a=document.createElement("div"),i=document.createElement("div");return i.classList.add(C.divider),a.classList.add(C.root),a.append(i),n({name:e,id:s.id,template:a,defaultProps:{style:{width:"300px",borderTopWidth:"5px",borderTopStyle:"solid",borderTopColor:"#000"}},draggable:{group:"element"},droppable:{group:"element"},handleBar:!0,render:()=>{if(s.props.style)for(const e in s.props.style)if(Object.hasOwnProperty.call(s.props.style,e)){const t=s.props.style[e];i.style[e]=t}},validator:r({template:a,helpers:l,divider:i}),schema:s.schema,onSelect:e=>{a.classList.add(e)},onDeselect:e=>{a.classList.remove(e)},elementProps:s,remove:()=>{a.remove()},createEditor:o})}}}},26149(e,t,n){n.d(t,{A:()=>a});var o=n(82001),r=n.n(o),s=n(40935),l=n.n(s)()(r());l.push([e.id,'.bb8tTDVKPL6l_p1cP_MF{\n min-height: 20px;\n}\n\n.ZKWR9YGnzQtvYWPfni0a{\n margin: auto;\n display: block;\n}\n.ZKWR9YGnzQtvYWPfni0a:after{\n content: "";\n display: block;\n width: 100%;\n height:20px;\n background-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.ZKWR9YGnzQtvYWPfni0a:before{\n content: "";\n display: block;\n width: 100%;\n height:20px;\n background-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n transform: translateY(-100%);\n z-index: 1;\n}',"",{version:3,sources:["webpack://./../web-editors/divider-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;IACI,gBAAgB;AACpB;;AAEA;IACI,YAAY;IACZ,cAAc;AAClB;AACA;IACI,WAAW;IACX,cAAc;IACd,WAAW;IACX,WAAW;IACX,6BAA6B;IAC7B,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,UAAU;AACd;AACA;IACI,WAAW;IACX,cAAc;IACd,WAAW;IACX,WAAW;IACX,6BAA6B;IAC7B,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,4BAA4B;IAC5B,UAAU;AACd",sourcesContent:['.root{\n min-height: 20px;\n}\n\n.divider{\n margin: auto;\n display: block;\n}\n.divider:after{\n content: "";\n display: block;\n width: 100%;\n height:20px;\n background-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.divider:before{\n content: "";\n display: block;\n width: 100%;\n height:20px;\n background-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n transform: translateY(-100%);\n z-index: 1;\n}'],sourceRoot:""}]),l.locals={root:"bb8tTDVKPL6l_p1cP_MF",divider:"ZKWR9YGnzQtvYWPfni0a"};const a=l}}]);
Binary file
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[763],{10763(e,t,n){n.d(t,{default:()=>B});var o=n(96374);const i=e=>{{const{component:t,commands:n,helpers:i}=e;return{select:e=>{let{changeTab:t,tab:n}=e},tabs:e=>{const t=[{text:"design",selected:!0},{text:"link"},{text:"icons"},{text:"settings"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:i,changeTab:r,tabs:a}=e;return[{type:"input",title:"whatTheBtnSays",mergeTags:!0,emoji:!0,active:()=>"design"===i.text,value:t.props.text||"",onInput:e=>{const t=e.target.value;n.execCommand("text",t)}},{type:"divider",active:()=>"design"===i.text},{type:"divider",active:()=>"design"===i.text},{type:"typography",active:()=>"design"===i.text,bold:700===t.props.style.fontWeight,italic:"italic"===t.props.style.fontStyle,underline:"underline"===t.props.style.textDecoration,onChange:e=>{switch(e){case"bold":const e=700===t.props.style.fontWeight?400:700;n.execCommand("style",{fontWeight:e});break;case"italic":const o="italic"===t.props.style.fontStyle?"normal":"italic";n.execCommand("style",{fontStyle:o});break;case"underline":const i="underline"===t.props.style.textDecoration?"none":"underline";n.execCommand("style",{textDecoration:i})}}},{type:"divider",active:()=>"design"===i.text},{type:"fontFamily",active:()=>"design"===i.text,value:t.props.style.fontFamily,onChange:e=>{const t=e.target.value;n.execCommand("style",{fontFamily:t})}},{type:"divider",active:()=>"design"===i.text},{type:"slider",title:"fontSize",step:1,min:8,max:50,active:()=>"design"===i.text,value:parseInt(t.props.style.fontSize)||14,onInput:e=>{const t=e.target.value;n.execCommand("style",{fontSize:t+"px",height:"auto"})}},{type:"divider",active:()=>"design"===i.text},{type:"slider",title:"width",min:10,max:500,active:()=>"design"===i.text,value:parseInt(t.props.style.width),onInput:e=>{const t=e.target.value;n.execCommand("style",{width:t+"px",minWidth:null})}},{type:"divider",active:()=>"design"===i.text},{type:"colorpicker",alpha:!1,title:"button_background",active:()=>"design"===i.text,value:t.props.style.background,onChange:e=>{const i=e.target.value,r=(0,o.w)(t.props.style.color,i);n.execCommand("style",{color:r}),n.execCommand("style",{background:i,backgroundColor:null})}},{type:"divider",active:()=>"design"===i.text},{type:"colorpicker",title:"font_color",alpha:!1,active:()=>"design"===i.text,value:t.props.style.color,onChange:e=>{const t=e.target.value;n.execCommand("style",{color:t})}},{type:"divider",active:()=>"design"===i.text},{type:"slider",title:"radius",min:0,max:100,active:()=>"design"===i.text,value:parseInt(t.props.style.borderRadius),onInput:e=>{const t=e.target.value;n.execCommand("style",{borderRadius:t+"px"})}},{type:"divider",active:()=>"design"===i.text},{type:"linkpicker",href:t.props.onClick?.link,protocol:t.props.onClick?.link?.protocol,target:t.props.onClick?.link?.target,autofocus:!0,active:()=>"link"===i.text,onChange:e=>{const t={link:e.target.value};n.execCommand("onClick",t)}},{type:"checkbox",title:"hasIcon",useIconsApi:!0,checked:!!t.props.hasIcon,active:()=>"icons"===i.text,onChange:e=>{const t=e.target.checked;n.execCommand("hasIcon",t),n.execCommand("iconDirection","left")}},{type:"dropdown",active:()=>"icons"===i.text&&!0===t.props.hasIcon,title:"iconDirection",value:t.props.iconDirection,onChange:e=>{const t=e.target.value;n.execCommand("iconDirection",t)},items:[{value:"left",label:"left"},{value:"right",label:"right"}]},{type:"slider",title:"size",min:10,max:100,active:()=>"icons"===i.text&&!0===t.props.hasIcon,value:t.props.iconSize||16,onInput:e=>{const t=e.target.value;n.execCommand("iconSize",t)}},{type:"icons",active:()=>"icons"===i.text&&!0===t.props.hasIcon,selectedIcon:t.props.iconUrl,onChange:e=>{const t=e.detail;n.execCommand("iconUrl",t.src)}},{type:"divider",active:()=>"design"===i.text},{type:"borderpicker",title:"border",active:()=>"design"===i.text,value:t.props.style.border,onChange:e=>{const t=e.target.value;n.execCommand("style",{border:t})}},{type:"slider",title:"borderWidth",active:()=>"design"===i.text,value:t.props.style.borderWidth,onInput:e=>{const t=e.target.value;n.execCommand("style",{borderWidth:t+"px"})}},{type:"colorpicker",title:"borderColor",active:()=>"design"===i.text,value:t.props.style.borderColor,onChange:e=>{const t=e.target.value;n.execCommand("style",{borderColor:t})}},{type:"divider",active:()=>"design"===i.text},{type:"spacingPicker",active:()=>"design"===i.text,hasLeft:!1,hasRight:!1,value:{top:parseInt(t.props.style.paddingTop)||0,bottom:parseInt(t.props.style.paddingBottom)||0,left:parseInt(t.props.style.paddingLeft)||0,right:parseInt(t.props.style.paddingRight)||0},onChange:e=>{e.target.value;const t=e.target.topValue,o=e.target.bottomValue,i=e.target.leftValue,r=e.target.rightValue;n.execCommand("style",{paddingTop:t+"px",paddingBottom:o+"px",paddingLeft:i+"px",paddingRight:r+"px",padding:null})}}]}}}},r=e=>{let{helpers:t,editor:n,getFocused:o}=e;return{set:(e,i,r)=>{switch(i){case"style":return e[i]=t.deepMerge(e[i],r),!0;case"text":return e.text=r,o()||n.chain().setContent(r).run(),!0;case"ripple":case"rippleColor":case"scaleOnHover":case"hasIcon":case"iconUrl":case"iconSize":case"iconDirection":return e[i]=r,!0;case"onClick":if(r.link)return e[i]=r,!0}}}};var a=n(72591),s=n.n(a),l=n(88639),c=n.n(l),d=n(88128),p=n.n(d),u=n(30855),m=n.n(u),g=n(93051),A=n.n(g),h=n(49536),y={};y.setAttributes=m(),y.insert=p().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=A();s()(h.A,y);const x=h.A&&h.A.locals?h.A.locals:void 0;var C=n(81318),v=n(1366);const b=C.bP.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,C.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});var f=n(85194),E=n(28396);const k=C.YY.create({addKeyboardShortcuts:()=>({Enter:()=>!0})});const B=()=>{const e="button";return{name:e,create:t=>{const{createElement:n,compose:o,helpers:a}=t,{arrayToString:s,mergeDiff:l}=a;let c=!1;const d=document.createElement("div"),p=document.createElement("div"),{editor:u}=function(e){let{content:t,element:n}=e;return{element:n,editor:new C.KE({element:n,extensions:[v.A,b,E.A,f.Ay,k],content:t})}}({content:o.props.text,element:p});d.appendChild(p);return u.view.dom.setAttribute("dir","auto"),u.on("update",e=>{let{editor:t}=e;const n=t.getText();o.editor.store().updateComponent(o,"text",n)}),u.on("focus",e=>{let{event:t,editor:n}=e;c=!0}),u.on("blur",e=>{let{event:t,editor:n}=e;c=!1}),d.className=x.button,n({name:e,id:o.id,template:d,commands:{insertContent:e=>{u.commands.insertContent(e),u.chain().focus()}},defaultProps:{style:{height:"auto",width:"200px",padding:"10px",borderRadius:"5px",fontFamily:"Arial",fontSize:"16px"},text:"button"},render:()=>{try{o.props.style.display="",o.props.style.direction=""}catch(e){console.error(e)}l(d,{style:o.props.style}),d.style.height="auto";const e=o.props.hasIcon,t=o.props.iconUrl,n=o.props.iconDirection,i=o.props.iconSize,r="icon_in_button";let a=d.querySelector(`.${r}`)||document.createElement("img");e&&t?(a.className=r,a.src=t,a.style.width=(i||16)+"px",a.style.height=(i||16)+"px",a.style.marginRight="8px",a.style.marginLeft="8px","left"===n?d.insertBefore(a,d.firstChild):d.appendChild(a)):a.remove()},draggable:{group:"element"},droppable:{group:"element"},resizeable:()=>d,handleBar:!0,validator:r({template:d,helpers:a,editor:u,getFocused:function(){return c}}),schema:o.schema,onSelect:e=>{d.classList.add(e)},onDeselect:e=>{d.classList.remove(e)},elementProps:o,destroy:()=>{u.destroy()},remove:()=>{d.remove()},createEditor:i})}}}},49536(e,t,n){n.d(t,{A:()=>s});var o=n(82001),i=n.n(o),r=n(40935),a=n.n(r)()(i());a.push([e.id,".BEr8unIfy4OEGYhlHclN {\n cursor: text !important;\n}\n.BEr8unIfy4OEGYhlHclN {\n min-width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding:10px;\n}\n.BEr8unIfy4OEGYhlHclN p {\n margin: 0;\n line-height: 1;\n}\n.cI3RTMAdk9qoZ8mu9Sm9 {\n width: 100%;\n}\n.VSumPf0Ui7b1pl8cMATP {\n position: absolute;\n z-index: 9;\n width: 3px;\n height: 90%;\n background: var(--resizer-color);\n border-radius: 20px;\n}\n.Vo2Ewnq6ekWFdNMjxBIB {\n left: -8px;\n cursor: w-resize;\n}\n.WLZC84sb1rfaRnHCDyj8 {\n left: calc(100% + 5px);\n cursor: e-resize;\n}\n\n.BEr8unIfy4OEGYhlHclN .VSumPf0Ui7b1pl8cMATP {\n display: none;\n}\n.BEr8unIfy4OEGYhlHclN.Qh20ei1Fa8QUbGinFFbw .VSumPf0Ui7b1pl8cMATP {\n display: block;\n}\n/* .handle{\n display: none;\n}\n.button.selected .handle{\n display: block;\n} */\n","",{version:3,sources:["webpack://./../web-editors/button-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;EACE,uBAAuB;AAOzB;AARA;EAEE,eAAe;EACf,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,kBAAkB;EAClB,YAAY;AACd;AACA;EACE,SAAS;EACT,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,kBAAkB;EAClB,UAAU;EACV,UAAU;EACV,WAAW;EACX,gCAAgC;EAChC,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,gBAAgB;AAClB;AACA;EACE,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,aAAa;AACf;AACA;EACE,cAAc;AAChB;AACA;;;;;GAKG",sourcesContent:[".button {\n cursor: text !important;\n min-width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding:10px;\n}\n.button p {\n margin: 0;\n line-height: 1;\n}\n.contentEditable {\n width: 100%;\n}\n.margin {\n position: absolute;\n z-index: 9;\n width: 3px;\n height: 90%;\n background: var(--resizer-color);\n border-radius: 20px;\n}\n.marginLeft {\n left: -8px;\n cursor: w-resize;\n}\n.marginRight {\n left: calc(100% + 5px);\n cursor: e-resize;\n}\n\n.button .margin {\n display: none;\n}\n.button.selected .margin {\n display: block;\n}\n/* .handle{\n display: none;\n}\n.button.selected .handle{\n display: block;\n} */\n"],sourceRoot:""}]),a.locals={button:"BEr8unIfy4OEGYhlHclN",contentEditable:"cI3RTMAdk9qoZ8mu9Sm9",margin:"VSumPf0Ui7b1pl8cMATP",marginLeft:"Vo2Ewnq6ekWFdNMjxBIB",marginRight:"WLZC84sb1rfaRnHCDyj8",selected:"Qh20ei1Fa8QUbGinFFbw"};const s=a}}]);
Binary file
@@ -0,0 +1,274 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[767],{70767(e,t,r){r.r(t),r.d(t,{PexelsGallery:()=>c});var o=r(59929),a=r(49549),s=r(93967),l=r(86959);function i(e){e||(e={query:"nature",per_page:1});const t=`${l.XW.agent_url}pexels/search/?query=${e.query||"marketing"}&per_page=${e.per_page||1}`;return fetch(t).then(e=>e.json()).then(e=>{if("success"===e.status&&e.data)return e.data.photos;throw new Error("Invalid response from backend")}).catch(e=>{throw console.error("Error fetching images:",e),e})}class c extends o.WF{constructor(){super(),this.images=[],this.loading=!1,this.searchQuery="",this.page=1,this.hasMore=!0,this.perPage=20,this.multi=!0,this.selectedColor="",this.defaultSearchTerms=["nature","landscape","city","people","technology","food","architecture","travel","business","art"],this.colorOptions=[{name:"Red",value:"red",hex:"#ff0000"},{name:"Orange",value:"orange",hex:"#ff8000"},{name:"Yellow",value:"yellow",hex:"#ffff00"},{name:"Green",value:"green",hex:"#00ff00"},{name:"Blue",value:"blue",hex:"#0000ff"},{name:"Purple",value:"purple",hex:"#8000ff"},{name:"Pink",value:"pink",hex:"#ff0080"},{name:"Brown",value:"brown",hex:"#8b4513"},{name:"Black",value:"black",hex:"#000000"},{name:"White",value:"white",hex:"#ffffff"},{name:"Gray",value:"gray",hex:"#808080"},{name:"Teal",value:"teal",hex:"#008080"},{name:"Navy",value:"navy",hex:"#000080"},{name:"Maroon",value:"maroon",hex:"#800000"},{name:"Olive",value:"olive",hex:"#808000"},{name:"Lime",value:"lime",hex:"#00ff00"},{name:"Aqua",value:"aqua",hex:"#00ffff"},{name:"Silver",value:"silver",hex:"#c0c0c0"},{name:"Fuchsia",value:"fuchsia",hex:"#ff00ff"},{name:"Coral",value:"coral",hex:"#ff7f50"},{name:"Gold",value:"gold",hex:"#ffd700"},{name:"Indigo",value:"indigo",hex:"#4b0082"},{name:"Violet",value:"violet",hex:"#ee82ee"},{name:"Cyan",value:"cyan",hex:"#00ffff"},{name:"Magenta",value:"magenta",hex:"#ff00ff"}],this.cacheKey="pexels-gallery-cache",this.cacheExpiry=864e5,this.isTyping=!1,this.lastSearchQuery="",this.searchTimeout=null}connectedCallback(){super.connectedCallback(),this.loadFromCache()}getCacheData(){try{const e=localStorage.getItem(this.cacheKey);if(!e)return null;const t=JSON.parse(e),r=Date.now();return t.timestamp&&r-t.timestamp>this.cacheExpiry?(localStorage.removeItem(this.cacheKey),null):t}catch(e){return console.error("Error reading cache:",e),null}}saveToCache(){if(!this.isTyping)try{const e={images:this.images,searchQuery:this.searchQuery,selectedColor:this.selectedColor,page:this.page,hasMore:this.hasMore,timestamp:Date.now()};localStorage.setItem(this.cacheKey,JSON.stringify(e))}catch(e){console.error("Error saving to cache:",e)}}loadFromCache(){const e=this.getCacheData();e?(this.images=e.images||[],this.searchQuery=e.searchQuery||"",this.selectedColor=e.selectedColor||"",this.page=e.page||1,this.hasMore=void 0===e.hasMore||e.hasMore,console.log("Gallery state restored from cache"),this.requestUpdate(),this.updateComplete.then(()=>{this.updateSearchInput()})):this.loadRandomImages()}updateSearchInput(){const e=this.shadowRoot?.querySelector('cdtr-input[type="search"]');e&&(e.value=this.searchQuery)}async loadRandomImages(){this.loading=!0;try{const e=this.defaultSearchTerms[Math.floor(Math.random()*this.defaultSearchTerms.length)],t=await i({query:e,per_page:this.perPage});t?(this.images=t||[],this.hasMore=t&&t.length===this.perPage,this.searchQuery="",this.selectedColor="",this.page=1,this.saveToCache()):(console.error("Failed to load images from Pexels"),this.images=[])}catch(e){console.error("Error loading images:",e),this.images=[]}finally{this.loading=!1}}async searchImages(e){if(!e.trim())return this.loadRandomImages();this.loading=!0,this.searchQuery=e,this.page=1;try{const t=await i({query:e,per_page:this.perPage});t?(this.images=t||[],this.hasMore=t&&t.length===this.perPage,this.saveToCache()):(console.error("Failed to search images from Pexels"),this.images=[])}catch(e){console.error("Error searching images:",e),this.images=[]}finally{this.loading=!1}}async loadMoreImages(){if(!this.loading&&this.hasMore){this.loading=!0,this.page++;try{let e;if(this.selectedColor&&"all"!==this.selectedColor){let t=this.removeColorFilters(this.searchQuery);e=t.trim()?`${t} ${this.selectedColor}`:this.selectedColor}else{e=this.removeColorFilters(this.searchQuery)||this.defaultSearchTerms[Math.floor(Math.random()*this.defaultSearchTerms.length)]}const t=await i({query:e,per_page:this.perPage});if(t.ok){const e=(await t.json()).photos||[];this.images=[...this.images,...e],this.hasMore=e.length===this.perPage,this.saveToCache()}}catch(e){console.error("Error loading more images:",e)}finally{this.loading=!1}}}onSearch(e){const t=e.target.value;this.isTyping=!0,t!==this.lastSearchQuery&&(this.lastSearchQuery=t,this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.isTyping=!1,this.searchWithColor(t,this.selectedColor)},500))}onSelectImage(e){const t=`Photo by ${e.photographer} on Pexels`,r=`Photo by <a href="${e.photographer_url}" target="_blank" rel="noopener noreferrer">${e.photographer}</a> on <a href="${e.url}" target="_blank" rel="noopener noreferrer">Pexels</a>`,o={detail:{id:e.id,src:e.src.medium||e.src.large||e.src.original,name:`Pexels Image ${e.id}`,size:`${e.width}x${e.height}`,photographer:e.photographer,photographerUrl:e.photographer_url,pexelsUrl:e.url,alt:e.alt||`Photo by ${e.photographer} on Pexels`,attributionText:t,attributionHtml:r},bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("file",o))}sendSelectedImages(){const e={detail:this.images.filter(e=>e.selected).map(e=>{const t=`Photo by ${e.photographer} on Pexels`,r=`Photo by <a href="${e.photographer_url}" target="_blank" rel="noopener noreferrer">${e.photographer}</a> on <a href="${e.url}" target="_blank" rel="noopener noreferrer">Pexels</a>`;return{id:e.id,src:e.src.medium||e.src.large||e.src.original,name:`Pexels Image ${e.id}`,size:`${e.width}x${e.height}`,photographer:e.photographer,photographerUrl:e.photographer_url,pexelsUrl:e.url,alt:e.alt||`Photo by ${e.photographer} on Pexels`,attributionText:t,attributionHtml:r}}),bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("file",e))}onScroll(e){const t=e.target;t.scrollTop+t.offsetHeight>=t.scrollHeight-50&&this.loadMoreImages()}clearCache(){localStorage.removeItem(this.cacheKey),console.log("Gallery cache cleared")}onColorChange(e){console.log("Color change event:",e);const t=e.target.value;console.log("Selected color:",t),this.selectedColor="all"===t?"":t;const r=this.searchQuery||"";this.searchWithColor(r,this.selectedColor)}searchWithColor(e,t){if(t&&"all"!==t){let r=this.removeColorFilters(e),o=r.trim()?`${r} ${t}`:t;this.searchImages(o)}else{let t=this.removeColorFilters(e);this.searchImages(t)}}removeColorFilters(e){if(!e)return"";const t=this.colorOptions.map(e=>e.value);return e.split(" ").filter(e=>{const r=e.toLowerCase().trim();return!t.includes(r)}).join(" ").trim()}getSelectedColorName(){if(!this.selectedColor)return"Filter by color";const e=this.colorOptions.find(e=>e.value===this.selectedColor);return e?e.name:"Filter by color"}getSelectedColorHex(){if(!this.selectedColor)return"#666";const e=this.colorOptions.find(e=>e.value===this.selectedColor);return e?e.hex:"#666"}render(){return o.qy`
2
+ <div class="gallery-container">
3
+ <cdtr-row alignItems="center">
4
+ <cdtr-input
5
+ type="search"
6
+ @input=${this.onSearch}
7
+ placeholder="Search images..."
8
+ class="search"
9
+ ></cdtr-input>
10
+
11
+ <div class="divider-y"></div>
12
+
13
+ <!-- Color Filter Dropdown -->
14
+ <div class="color-dropdown">
15
+ <cdtr-dropdown
16
+ .value=${this.selectedColor||""}
17
+ @change=${this.onColorChange}
18
+ >
19
+ <paper-button slot="trigger">
20
+ <div
21
+ class="color-preview"
22
+ style="background-color: ${this.getSelectedColorHex()}"
23
+ ></div>
24
+ </paper-button>
25
+ <div slot="content">
26
+ <cdtr-dropdown-item
27
+ value="all"
28
+ .selected=${!this.selectedColor}
29
+ >
30
+ <div
31
+ class="color-circle"
32
+ style="background-color: transparent; border: 2px dashed #ccc;"
33
+ ></div>
34
+ <span style="margin-left: 8px; font-size: 12px;">All Colors</span>
35
+ </cdtr-dropdown-item>
36
+ ${this.colorOptions.map(e=>o.qy`
37
+ <cdtr-dropdown-item
38
+ value="${e.value}"
39
+ .selected=${this.selectedColor===e.value}
40
+ >
41
+ <div
42
+ class="color-circle"
43
+ style="background-color: ${e.hex}"
44
+ ></div>
45
+ <span style="margin-left: 8px; font-size: 12px;">${e.name}</span>
46
+ </cdtr-dropdown-item>
47
+ `)}
48
+ </div>
49
+ </cdtr-dropdown>
50
+ </div>
51
+
52
+ <paper-button @click=${this.loadRandomImages} class="icon-btn">
53
+ <cdtr-tooltip delay="500,0" arrow=${!1} content="refresh">
54
+ <cdtr-refresh-icon></cdtr-refresh-icon>
55
+ </cdtr-tooltip>
56
+ </paper-button>
57
+ </cdtr-row>
58
+
59
+ <cdtr-row mt="2" alignItems="center" justify="space-between">
60
+ <div class="pexels-header-credit">
61
+ <div class="status-indicator">
62
+ <div class="connected-dot"></div>
63
+ </div>
64
+ <div class="credit-content">
65
+ <span class="credit-text">Powered by </span>
66
+ <a
67
+ href="https://www.pexels.com"
68
+ target="_blank"
69
+ rel="noopener noreferrer"
70
+ class="pexels-header-link"
71
+ >
72
+ Pexels
73
+ </a>
74
+ </div>
75
+ </div>
76
+ </cdtr-row>
77
+
78
+ <cdtr-row mt="2" justify="space-between">
79
+ <cdtr-col sm="12">
80
+ <cdtr-row
81
+ @scroll=${this.onScroll}
82
+ class="scroll-body"
83
+ justify="space-evenly"
84
+ >
85
+ ${this.loading&&0===this.images.length?o.qy`<cdtr-col sm="12">
86
+ <cdtr-row justify="center">
87
+ <cdtr-spinner></cdtr-spinner>
88
+ <lang-text text="loading"></lang-text>
89
+ </cdtr-row>
90
+ </cdtr-col>`:(0,a.u)(this.images||[],e=>e.id,(e,t)=>o.qy`<cdtr-col class="file-col" sm="3">
91
+ <cdtr-editor-media-card
92
+ @dblclick=${()=>this.onSelectImage(e)}
93
+ @click=${t=>{t.shiftKey&&this.multi||this.images.forEach(e=>e.selected=!1),e.selected=!e.selected,this.images=[...this.images],this.isTyping||this.saveToCache()}}
94
+ .selected=${e.selected}
95
+ .controls=${!1}
96
+ src=${e.src.medium||e.src.large||e.src.original}
97
+ name=${`Photo by ${e.photographer}`}
98
+ subTitle=${`${e.width}x${e.height}`}
99
+ >
100
+ <div slot="footer" class="pexels-credit">
101
+ <a
102
+ href="${e.photographer_url}"
103
+ target="_blank"
104
+ rel="noopener noreferrer"
105
+ class="photographer-link"
106
+ >
107
+ ${e.photographer}
108
+ </a>
109
+ <span class="credit-text"> on </span>
110
+ <a
111
+ href="${e.url}"
112
+ target="_blank"
113
+ rel="noopener noreferrer"
114
+ class="pexels-link"
115
+ >
116
+ Pexels
117
+ </a>
118
+ </div>
119
+ </cdtr-editor-media-card>
120
+ </cdtr-col>`)}
121
+ ${this.loading&&this.images.length>0?o.qy`<cdtr-col sm="12">
122
+ <cdtr-row justify="center">
123
+ <cdtr-spinner></cdtr-spinner>
124
+ <lang-text text="loadingMore"></lang-text>
125
+ </cdtr-row>
126
+ </cdtr-col>`:null}
127
+ </cdtr-row>
128
+ </cdtr-col>
129
+ </cdtr-row>
130
+
131
+ <cdtr-row alignItems="center" justify="flex-start" class="footer">
132
+ <paper-button @click=${this.sendSelectedImages} class="add-btn">
133
+ <lang-text text="choose"></lang-text>
134
+ </paper-button>
135
+ </cdtr-row>
136
+ </div>
137
+ `}}c.styles=[s.T,o.AH`
138
+ :host {
139
+ --alpha: rgba(0, 123, 255, 0.1);
140
+ --primary: #007bff;
141
+ }
142
+
143
+ .color-dropdown {
144
+ display: inline-block;
145
+ }
146
+
147
+ .color-preview {
148
+ width: 20px;
149
+ height: 20px;
150
+ border-radius: 50%;
151
+ border: 2px solid white;
152
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
153
+ display: inline-block;
154
+ }
155
+
156
+ .color-circle {
157
+ width: 20px;
158
+ height: 20px;
159
+ border-radius: 50%;
160
+ border: 2px solid white;
161
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
162
+ display: inline-block;
163
+ }
164
+
165
+ .clear-color {
166
+ color: #666;
167
+ font-style: italic;
168
+ }
169
+ .pexels-credit {
170
+ position: absolute;
171
+ bottom: 5px;
172
+ left: 5px;
173
+ right: 5px;
174
+ background: rgba(0, 0, 0, 0.7);
175
+ color: white;
176
+ padding: 4px 8px;
177
+ border-radius: 4px;
178
+ font-size: 10px;
179
+ text-align: center;
180
+ opacity: 0;
181
+ transition: opacity 0.2s ease;
182
+ }
183
+
184
+ .file-col:hover .pexels-credit {
185
+ opacity: 1;
186
+ }
187
+
188
+ .photographer-link,
189
+ .pexels-link {
190
+ color: #fff;
191
+ text-decoration: none;
192
+ font-weight: 500;
193
+ }
194
+
195
+ .photographer-link:hover,
196
+ .pexels-link:hover {
197
+ text-decoration: underline;
198
+ }
199
+
200
+ .credit-text {
201
+ color: rgba(255, 255, 255, 0.8);
202
+ }
203
+
204
+ .pexels-header-credit {
205
+ display: flex;
206
+ align-items: center;
207
+ gap: 8px;
208
+ background: rgba(255, 255, 255, 0.95);
209
+ backdrop-filter: blur(10px);
210
+ border: 1px solid rgba(0, 0, 0, 0.08);
211
+ border-radius: 12px;
212
+ padding: 6px 12px;
213
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
214
+ transition: all 0.2s ease;
215
+ font-size: 11px;
216
+ font-weight: 500;
217
+ letter-spacing: 0.3px;
218
+ }
219
+
220
+ .pexels-header-credit:hover {
221
+ transform: translateY(-1px);
222
+ box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
223
+ border-color: rgba(0, 0, 0, 0.12);
224
+ }
225
+
226
+ .status-indicator {
227
+ display: flex;
228
+ align-items: center;
229
+ justify-content: center;
230
+ }
231
+
232
+ .connected-dot {
233
+ width: 6px;
234
+ height: 6px;
235
+ border-radius: 50%;
236
+ background: #10b981;
237
+ box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
238
+ animation: pulse-green 2s infinite;
239
+ }
240
+
241
+ @keyframes pulse-green {
242
+ 0%,
243
+ 100% {
244
+ box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
245
+ transform: scale(1);
246
+ }
247
+ 50% {
248
+ box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
249
+ transform: scale(1.1);
250
+ }
251
+ }
252
+
253
+ .credit-content {
254
+ display: flex;
255
+ align-items: center;
256
+ gap: 4px;
257
+ }
258
+
259
+ .credit-text {
260
+ color: #6b7280;
261
+ font-weight: 400;
262
+ }
263
+
264
+ .pexels-header-link {
265
+ color: #3b82f6;
266
+ text-decoration: none;
267
+ font-weight: 600;
268
+ transition: color 0.2s ease;
269
+ }
270
+
271
+ .pexels-header-link:hover {
272
+ color: #2563eb;
273
+ }
274
+ `],c.properties={images:{type:Array},loading:{type:Boolean},searchQuery:{type:String},page:{type:Number},hasMore:{type:Boolean},multi:{type:Boolean},selectedColor:{type:String}},customElements.define("cdtr-pexels-gallery",c)}}]);
Binary file
@@ -0,0 +1,25 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7759],{97759(t,i,e){e.r(i),e.d(i,{VideoIcon:()=>s});var h=e(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 24 24"
5
+ style="${this.iconStyle}"
6
+ width="${this.width}"
7
+ height="${this.height}"
8
+ >
9
+ <path fill="none" d="M0 0H24V24H0z" />
10
+ <path
11
+ d="M16 4c.552 0 1 .448 1 1v4.2l5.213-3.65c.226-.158.538-.103.697.124.058.084.09.184.09.286v12.08c0 .276-.224.5-.5.5-.103 0-.203-.032-.287-.09L17 14.8V19c0 .552-.448 1-1 1H2c-.552 0-1-.448-1-1V5c0-.552.448-1 1-1h14zm-1 2H3v12h12V6zM8 8h2v3h3v2H9.999L10 16H8l-.001-3H5v-2h3V8zm13 .841l-4 2.8v.718l4 2.8V8.84z"
12
+ />
13
+ </svg>
14
+ `}}s.styles=h.AH`
15
+ :host {
16
+ display: inherit;
17
+ --cdtr-icon-width: 20px;
18
+ --cdtr-icon-height: 20px;
19
+ }
20
+ svg {
21
+ width: var(--cdtr-icon-width);
22
+ height: var(--cdtr-icon-height);
23
+ color: var(--cdtr-icon-color);
24
+ }
25
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-video-icon",s)}}]);
Binary file
@@ -0,0 +1,20 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7838],{67838(t,e,i){i.r(e),i.d(e,{FilterIcon:()=>s});var r=i(59929);class s extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy`<svg
2
+ style="${this.iconStyle}"
3
+ width="${this.width}"
4
+ height="${this.height}"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ role="img"
7
+ viewBox="0 0 24 24"
8
+ ariaLabelledby="filterIconTitle"
9
+ stroke="black"
10
+ strokeWidth="1"
11
+ strokeLinecap="square"
12
+ strokeLinejoin="round"
13
+ fill="none"
14
+ color="black"
15
+ >
16
+ <title id="filterIconTitle">Filter</title>
17
+ <path d="M10 12.261L4.028 3.972h16L14 12.329V17l-4 3z"></path>
18
+ </svg>`}}s.styles=r.AH`
19
+
20
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-filter-icon",s)}}]);
Binary file
@@ -0,0 +1,130 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7937],{67937(t,e,i){i.r(e),i.d(e,{EditorTabItem:()=>o});var n=i(59929);class o extends n.WF{constructor(){super()}firstUpdated(){super.firstUpdated()}focus(){const t=this.shadowRoot.querySelector("paper-button");t?t.focus():super.focus()}onClickItem(t){this.value=t;const e=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}handleKeyDown(t){if(console.log("Key pressed:",t.key,"on icon:",this.icon),"Enter"===t.key||" "===t.key)return t.preventDefault(),t.stopPropagation(),void this.onClickItem(this.icon);if("ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key){t.preventDefault(),t.stopPropagation(),console.log("Dispatching arrow navigation event for:",t.key,"current icon:",this.icon);const e=new CustomEvent("arrow-navigation",{detail:{key:t.key,currentIcon:this.icon},bubbles:!0,cancelable:!0});this.dispatchEvent(e)}}factory(){let t=this.selected?"fill: var(--primary);":"";switch(this.icon){case"box-shadow":return i.e(1456).then(i.bind(i,11456)),n.qy`<cdtr-box-shadow-icon
2
+ iconStyle=${t}
3
+ ></cdtr-box-shadow-icon>`;case"design":return i.e(9162).then(i.bind(i,59162)),n.qy`<cdtr-design-icon iconStyle=${t}></cdtr-design-icon>`;case"text":case"typography":return i.e(9089).then(i.bind(i,59089)),n.qy`<cdtr-text-icon iconStyle=${t}></cdtr-text-icon>`;case"animations":return i.e(9184).then(i.bind(i,29184)),n.qy`<cdtr-animation-icon
4
+ iconStyle=${t}
5
+ ></cdtr-animation-icon>`;case"settings":return i.e(4114).then(i.bind(i,84114)),n.qy`<cdtr-setting-icon
6
+ iconStyle=${t}
7
+ ></cdtr-setting-icon>`;case"qr":return n.qy`<img style="width: 20px; height: 20px;" alt="qr" width="20" height="20" src="https://img.creaditor.ai/images/qr?link=https%3A%2F%2Fexample.com&size=20" />`;case"link":return i.e(5428).then(i.bind(i,85428)),n.qy`<cdtr-link-icon iconStyle=${t}></cdtr-link-icon>`;case"spacing":return i.e(365).then(i.bind(i,50365)),n.qy`<cdtr-spacing-icon
8
+ iconStyle=${t}
9
+ ></cdtr-spacing-icon>`;case"background":case"image":case"giphy":return i.e(1452).then(i.bind(i,61452)),n.qy`<cdtr-background-icon
10
+ iconStyle=${t}
11
+ ></cdtr-background-icon>`;case"video":return i.e(7759).then(i.bind(i,97759)),n.qy`<cdtr-video-icon iconStyle=${t}></cdtr-video-icon>`;case"list-check":return i.e(6459).then(i.bind(i,16459)),n.qy`<cdtr-list-check-icon
12
+ iconStyle=${t}
13
+ ></cdtr-list-check-icon>`;case"time":return i.e(307).then(i.bind(i,307)),n.qy`<cdtr-time-icon iconStyle=${t}></cdtr-time-icon>`;case"icons":return n.qy`<cdtr-icon icon="emoji"></cdtr-icon>`;case"list-settings":return i.e(8676).then(i.bind(i,48676)),n.qy`<cdtr-list-settings-icon
14
+ iconStyle=${t}
15
+ ></cdtr-list-settings-icon>`;case"automations":return i.e(8305).then(i.bind(i,58305)),n.qy`<cdtr-automation-icon
16
+ iconStyle=${t}
17
+ ></cdtr-automation-icon>`;case"ai":return n.qy`<svg
18
+ xmlns="http://www.w3.org/2000/svg"
19
+ xmlnsXlink="http://www.w3.org/1999/xlink"
20
+ width="20"
21
+ zoomAndPan="magnify"
22
+ viewBox="0 0 20.25 20.999999"
23
+ height="28"
24
+ preserveAspectRatio="xMidYMid meet"
25
+ version="1.0"
26
+ >
27
+ <defs>
28
+ <clippath id="84a0f9f97b">
29
+ <path
30
+ d="M 0 0.375 L 19.527344 0.375 L 19.527344 19.902344 L 0 19.902344 Z M 0 0.375 "
31
+ clip-rule="nonzero"
32
+ ></path>
33
+ </clippath>
34
+ </defs>
35
+ <g clip-path="url(#84a0f9f97b)">
36
+ <path
37
+ fill="#9747ff"
38
+ d="M 12.316406 0.679688 C 12.160156 0.382812 11.734375 0.382812 11.574219 0.679688 L 11.132812 1.507812 C 11.09375 1.582031 11.035156 1.640625 10.960938 1.679688 L 10.128906 2.117188 C 9.828125 2.277344 9.828125 2.699219 10.128906 2.855469 L 10.960938 3.296875 C 11.035156 3.335938 11.09375 3.394531 11.132812 3.46875 L 11.574219 4.296875 C 11.734375 4.59375 12.160156 4.59375 12.316406 4.296875 L 12.757812 3.46875 C 12.800781 3.394531 12.859375 3.335938 12.933594 3.296875 L 13.765625 2.855469 C 14.0625 2.699219 14.0625 2.277344 13.765625 2.117188 L 12.933594 1.679688 C 12.859375 1.640625 12.800781 1.582031 12.757812 1.507812 Z M 15.167969 16.96875 L 16.875 17.617188 L 16.226562 15.917969 Z M 16.882812 13.496094 L 5.136719 1.816406 C 4.15625 0.839844 2.558594 0.839844 1.574219 1.816406 L 0.984375 2.40625 C 0 3.382812 0 4.96875 0.984375 5.949219 L 12.730469 17.625 C 12.929688 17.824219 13.273438 18.039062 13.542969 18.140625 L 17.152344 19.507812 C 18.167969 19.890625 19.164062 18.902344 18.777344 17.890625 L 17.402344 14.300781 C 17.300781 14.035156 17.085938 13.695312 16.882812 13.496094 Z M 15.316406 14.296875 L 5.730469 4.769531 L 3.953125 6.535156 L 13.535156 16.066406 Z M 3.949219 3 L 4.542969 3.585938 L 2.765625 5.355469 L 2.171875 4.765625 C 1.84375 4.441406 1.84375 3.910156 2.171875 3.585938 L 2.761719 3 C 3.089844 2.671875 3.621094 2.671875 3.949219 3 Z M 4.550781 12.996094 C 4.390625 12.699219 3.964844 12.699219 3.808594 12.996094 L 3 14.503906 C 2.960938 14.578125 2.902344 14.640625 2.828125 14.679688 L 1.308594 15.480469 C 1.011719 15.636719 1.011719 16.058594 1.308594 16.214844 L 2.828125 17.015625 C 2.902344 17.054688 2.960938 17.117188 3 17.191406 L 3.808594 18.699219 C 3.964844 18.996094 4.390625 18.996094 4.550781 18.699219 L 5.355469 17.191406 C 5.394531 17.117188 5.453125 17.054688 5.527344 17.015625 L 7.046875 16.214844 C 7.34375 16.058594 7.34375 15.636719 7.046875 15.480469 L 5.527344 14.679688 C 5.453125 14.640625 5.394531 14.578125 5.355469 14.503906 Z M 17.355469 5.480469 C 17.199219 5.183594 16.773438 5.183594 16.613281 5.480469 L 16.027344 6.582031 C 15.988281 6.65625 15.929688 6.714844 15.855469 6.753906 L 14.746094 7.335938 C 14.449219 7.496094 14.449219 7.917969 14.746094 8.074219 L 15.855469 8.660156 C 15.929688 8.699219 15.988281 8.757812 16.027344 8.832031 L 16.613281 9.933594 C 16.773438 10.230469 17.199219 10.230469 17.355469 9.933594 L 17.945312 8.832031 C 17.984375 8.757812 18.042969 8.699219 18.117188 8.660156 L 19.226562 8.074219 C 19.523438 7.917969 19.523438 7.496094 19.226562 7.335938 L 18.117188 6.753906 C 18.042969 6.714844 17.984375 6.65625 17.945312 6.582031 Z M 17.355469 5.480469 "
39
+ fill-opacity="1"
40
+ fill-rule="evenodd"
41
+ ></path>
42
+ </g>
43
+ </svg>`;default:return null}}render(){return n.qy`
44
+ <paper-button
45
+ data-icon="${this.icon}"
46
+ tabindex="0"
47
+ @keydown=${t=>this.handleKeyDown(t)}
48
+ @click=${()=>this.onClickItem(this.icon)}
49
+ style="outline: none;"
50
+ ><cdtr-row style="position:relative;min-height:40px;" justify="center">
51
+ <cdtr-col sm="12">
52
+ <div
53
+ class="${this.selected?"tab-item selected":"tab-item"}"
54
+ ></div>
55
+ <cdtr-row justify="center"
56
+ ><span style="transform:translateY(50%)" class="factory-item"
57
+ >${this.factory()}</span
58
+ >
59
+ </cdtr-row>
60
+ </cdtr-col>
61
+ <cdtr-col style="margin-top: 7px;" sm="12">
62
+ <cdtr-title
63
+ style="${this.selected?"color:var(--primary)":""}"
64
+ ><lang-text
65
+ style="font-size:10px;"
66
+ class="label-item"
67
+ text="${this.icon}"
68
+ ></lang-text
69
+ ></cdtr-title>
70
+ </cdtr-col> </cdtr-row
71
+ ></paper-button>
72
+ `}}o.styles=n.AH`
73
+ :host {
74
+ display: flex;
75
+ margin-bottom: 10px;
76
+ }
77
+ paper-button {
78
+ min-width: 0;
79
+ margin: 0;
80
+ width: 100%;
81
+ padding: 0;
82
+ height: 50px;
83
+ }
84
+ .factory-item {
85
+ transition: transform 0.5s ease-in-out;
86
+ }
87
+
88
+ .tab-item {
89
+ padding: 5px 0;
90
+ position: absolute;
91
+ top: 50%;
92
+ left: 50%;
93
+ opacity: 0.1;
94
+ width: 100%;
95
+ height: 40px;
96
+ transform: translate(-50%, -50%);
97
+ }
98
+ .tab-selected:after {
99
+ content: "";
100
+ position: absolute;
101
+ top: 0;
102
+ left: 0;
103
+ width: 1px;
104
+ transform: translateX(-1px);
105
+ height: 100%;
106
+ background: #fff;
107
+ opacity: 1;
108
+ z-index: 1;
109
+ }
110
+ .label-item {
111
+ transform: translateY(-50%);
112
+ }
113
+
114
+ .tab-item:hover {
115
+ background: #9a9a9a;
116
+ }
117
+ .selected {
118
+ background: var(--primary) !important;
119
+ border-top: 1px solid black;
120
+ border-bottom: 1px solid black;
121
+ }
122
+
123
+ cdtr-title {
124
+ text-align: center;
125
+ display: block;
126
+ margin: auto;
127
+ width: 100%;
128
+ }
129
+
130
+ `,o.properties={icon:{},labelMode:{},selected:{}},customElements.define("cdtr-editor-tab-item",o)}}]);
Binary file