@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.
- package/README.md +92 -0
- package/dist/.gitkeep +0 -0
- package/dist/112.creaditor.bundle.js +94 -0
- package/dist/112.creaditor.bundle.js.gz +0 -0
- package/dist/1142.creaditor.bundle.js +1 -0
- package/dist/1142.creaditor.bundle.js.gz +0 -0
- package/dist/1260.creaditor.bundle.js +234 -0
- package/dist/1260.creaditor.bundle.js.gz +0 -0
- package/dist/1271.creaditor.bundle.js +439 -0
- package/dist/1271.creaditor.bundle.js.gz +0 -0
- package/dist/1317.creaditor.bundle.js +142 -0
- package/dist/1317.creaditor.bundle.js.LICENSE.txt +20 -0
- package/dist/1317.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1317.creaditor.bundle.js.gz +0 -0
- package/dist/1334.creaditor.bundle.js +51 -0
- package/dist/1334.creaditor.bundle.js.gz +0 -0
- package/dist/1396.creaditor.bundle.js +1 -0
- package/dist/1396.creaditor.bundle.js.gz +0 -0
- package/dist/1452.creaditor.bundle.js +23 -0
- package/dist/1452.creaditor.bundle.js.gz +0 -0
- package/dist/1456.creaditor.bundle.js +73 -0
- package/dist/1456.creaditor.bundle.js.gz +0 -0
- package/dist/1529.creaditor.bundle.js +16 -0
- package/dist/1529.creaditor.bundle.js.gz +0 -0
- package/dist/1565.creaditor.bundle.js +1016 -0
- package/dist/1565.creaditor.bundle.js.gz +0 -0
- package/dist/168.creaditor.bundle.js +540 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/168.creaditor.bundle.js.gz +0 -0
- package/dist/170.creaditor.bundle.js +51 -0
- package/dist/170.creaditor.bundle.js.gz +0 -0
- package/dist/175.creaditor.bundle.js +75 -0
- package/dist/175.creaditor.bundle.js.gz +0 -0
- package/dist/1756.creaditor.bundle.js +1 -0
- package/dist/1756.creaditor.bundle.js.gz +0 -0
- package/dist/1936.creaditor.bundle.js +177 -0
- package/dist/1936.creaditor.bundle.js.LICENSE.txt +29 -0
- package/dist/1936.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1936.creaditor.bundle.js.gz +0 -0
- package/dist/1972.creaditor.bundle.js +12 -0
- package/dist/1972.creaditor.bundle.js.gz +0 -0
- package/dist/2001.creaditor.bundle.js +318 -0
- package/dist/2001.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/2001.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2001.creaditor.bundle.js.gz +0 -0
- package/dist/211.creaditor.bundle.js +1 -0
- package/dist/211.creaditor.bundle.js.gz +0 -0
- package/dist/2112.creaditor.bundle.js +24 -0
- package/dist/2112.creaditor.bundle.js.gz +0 -0
- package/dist/2234.creaditor.bundle.js +1 -0
- package/dist/2234.creaditor.bundle.js.gz +0 -0
- package/dist/2298.creaditor.bundle.js +1 -0
- package/dist/2298.creaditor.bundle.js.gz +0 -0
- package/dist/235.creaditor.bundle.js +11 -0
- package/dist/235.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/235.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/235.creaditor.bundle.js.gz +0 -0
- package/dist/2350.creaditor.bundle.js +23 -0
- package/dist/2350.creaditor.bundle.js.gz +0 -0
- package/dist/2377.creaditor.bundle.js +64 -0
- package/dist/2377.creaditor.bundle.js.gz +0 -0
- package/dist/2384.creaditor.bundle.js +46 -0
- package/dist/2384.creaditor.bundle.js.gz +0 -0
- package/dist/2397.creaditor.bundle.js +38 -0
- package/dist/2397.creaditor.bundle.js.gz +0 -0
- package/dist/2409.creaditor.bundle.js +36 -0
- package/dist/2409.creaditor.bundle.js.gz +0 -0
- package/dist/2438.creaditor.bundle.js +67 -0
- package/dist/2438.creaditor.bundle.js.gz +0 -0
- package/dist/2547.creaditor.bundle.js +6 -0
- package/dist/2547.creaditor.bundle.js.gz +0 -0
- package/dist/2550.creaditor.bundle.js +75 -0
- package/dist/2550.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/2550.creaditor.bundle.js.gz +0 -0
- package/dist/2590.creaditor.bundle.js +7 -0
- package/dist/2590.creaditor.bundle.js.gz +0 -0
- package/dist/2706.creaditor.bundle.js +130 -0
- package/dist/2706.creaditor.bundle.js.LICENSE.txt +20 -0
- package/dist/2706.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2706.creaditor.bundle.js.gz +0 -0
- package/dist/271.creaditor.bundle.js +99 -0
- package/dist/271.creaditor.bundle.js.gz +0 -0
- package/dist/2717.creaditor.bundle.js +407 -0
- package/dist/2717.creaditor.bundle.js.LICENSE.txt +23 -0
- package/dist/2717.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2717.creaditor.bundle.js.gz +0 -0
- package/dist/2765.creaditor.bundle.js +1 -0
- package/dist/2765.creaditor.bundle.js.gz +0 -0
- package/dist/2773.creaditor.bundle.js +25 -0
- package/dist/2773.creaditor.bundle.js.gz +0 -0
- package/dist/2833.creaditor.bundle.js +23 -0
- package/dist/2833.creaditor.bundle.js.gz +0 -0
- package/dist/2834.creaditor.bundle.js +14 -0
- package/dist/2834.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/2834.creaditor.bundle.js.gz +0 -0
- package/dist/2956.creaditor.bundle.js +40 -0
- package/dist/2956.creaditor.bundle.js.gz +0 -0
- package/dist/2963.creaditor.bundle.js +25 -0
- package/dist/2963.creaditor.bundle.js.gz +0 -0
- package/dist/307.creaditor.bundle.js +23 -0
- package/dist/307.creaditor.bundle.js.gz +0 -0
- package/dist/3095.creaditor.bundle.js +161 -0
- package/dist/3095.creaditor.bundle.js.gz +0 -0
- package/dist/3105.creaditor.bundle.js +1 -0
- package/dist/3105.creaditor.bundle.js.gz +0 -0
- package/dist/3233.creaditor.bundle.js +12 -0
- package/dist/3233.creaditor.bundle.js.gz +0 -0
- package/dist/3521.creaditor.bundle.js +12 -0
- package/dist/3521.creaditor.bundle.js.gz +0 -0
- package/dist/353.creaditor.bundle.js +9 -0
- package/dist/353.creaditor.bundle.js.gz +0 -0
- package/dist/3545.creaditor.bundle.js +1 -0
- package/dist/3545.creaditor.bundle.js.gz +0 -0
- package/dist/3553.creaditor.bundle.js +60 -0
- package/dist/3553.creaditor.bundle.js.gz +0 -0
- package/dist/3606.creaditor.bundle.js +113 -0
- package/dist/3606.creaditor.bundle.js.gz +0 -0
- package/dist/365.creaditor.bundle.js +26 -0
- package/dist/365.creaditor.bundle.js.gz +0 -0
- package/dist/380.creaditor.bundle.js +186 -0
- package/dist/380.creaditor.bundle.js.gz +0 -0
- package/dist/3827.creaditor.bundle.js +13 -0
- package/dist/3827.creaditor.bundle.js.gz +0 -0
- package/dist/3875.creaditor.bundle.js +8 -0
- package/dist/3875.creaditor.bundle.js.gz +0 -0
- package/dist/3932.creaditor.bundle.js +30 -0
- package/dist/3932.creaditor.bundle.js.gz +0 -0
- package/dist/3971.creaditor.bundle.js +51 -0
- package/dist/3971.creaditor.bundle.js.gz +0 -0
- package/dist/4061.creaditor.bundle.js +1 -0
- package/dist/4061.creaditor.bundle.js.gz +0 -0
- package/dist/407.creaditor.bundle.js +21 -0
- package/dist/407.creaditor.bundle.js.gz +0 -0
- package/dist/4074.creaditor.bundle.js +33 -0
- package/dist/4074.creaditor.bundle.js.gz +0 -0
- package/dist/4100.creaditor.bundle.js +13 -0
- package/dist/4100.creaditor.bundle.js.gz +0 -0
- package/dist/4109.creaditor.bundle.js +2 -0
- package/dist/4109.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/4109.creaditor.bundle.js.gz +0 -0
- package/dist/4114.creaditor.bundle.js +20 -0
- package/dist/4114.creaditor.bundle.js.gz +0 -0
- package/dist/4161.creaditor.bundle.js +21 -0
- package/dist/4161.creaditor.bundle.js.gz +0 -0
- package/dist/4186.creaditor.bundle.js +453 -0
- package/dist/4186.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4186.creaditor.bundle.js.gz +0 -0
- package/dist/4217.creaditor.bundle.js +105 -0
- package/dist/4217.creaditor.bundle.js.gz +0 -0
- package/dist/4288.creaditor.bundle.js +98 -0
- package/dist/4288.creaditor.bundle.js.gz +0 -0
- package/dist/4413.creaditor.bundle.js +16 -0
- package/dist/4413.creaditor.bundle.js.gz +0 -0
- package/dist/4475.creaditor.bundle.js +16 -0
- package/dist/4475.creaditor.bundle.js.gz +0 -0
- package/dist/453.creaditor.bundle.js +114 -0
- package/dist/453.creaditor.bundle.js.gz +0 -0
- package/dist/4569.creaditor.bundle.js +1047 -0
- package/dist/4569.creaditor.bundle.js.gz +0 -0
- package/dist/4615.creaditor.bundle.js +14 -0
- package/dist/4615.creaditor.bundle.js.gz +0 -0
- package/dist/467.creaditor.bundle.js +23 -0
- package/dist/467.creaditor.bundle.js.gz +0 -0
- package/dist/4762.creaditor.bundle.js +53 -0
- package/dist/4762.creaditor.bundle.js.gz +0 -0
- package/dist/4770.creaditor.bundle.js +32 -0
- package/dist/4770.creaditor.bundle.js.gz +0 -0
- package/dist/4819.creaditor.bundle.js +407 -0
- package/dist/4819.creaditor.bundle.js.gz +0 -0
- package/dist/4947.creaditor.bundle.js +18 -0
- package/dist/4947.creaditor.bundle.js.gz +0 -0
- package/dist/4987.creaditor.bundle.js +171 -0
- package/dist/4987.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/4987.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4987.creaditor.bundle.js.gz +0 -0
- package/dist/4988.creaditor.bundle.js +6 -0
- package/dist/4988.creaditor.bundle.js.gz +0 -0
- package/dist/5133.creaditor.bundle.js +60 -0
- package/dist/5133.creaditor.bundle.js.gz +0 -0
- package/dist/5156.creaditor.bundle.js +93 -0
- package/dist/5156.creaditor.bundle.js.gz +0 -0
- package/dist/5284.creaditor.bundle.js +2 -0
- package/dist/5284.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/5284.creaditor.bundle.js.gz +0 -0
- package/dist/5340.creaditor.bundle.js +66 -0
- package/dist/5340.creaditor.bundle.js.gz +0 -0
- package/dist/5391.creaditor.bundle.js +227 -0
- package/dist/5391.creaditor.bundle.js.gz +0 -0
- package/dist/5411.creaditor.bundle.js +27 -0
- package/dist/5411.creaditor.bundle.js.gz +0 -0
- package/dist/5428.creaditor.bundle.js +23 -0
- package/dist/5428.creaditor.bundle.js.gz +0 -0
- package/dist/5501.creaditor.bundle.js +112 -0
- package/dist/5501.creaditor.bundle.js.gz +0 -0
- package/dist/5530.creaditor.bundle.js +36 -0
- package/dist/5530.creaditor.bundle.js.gz +0 -0
- package/dist/5666.creaditor.bundle.js +28 -0
- package/dist/5666.creaditor.bundle.js.gz +0 -0
- package/dist/567.creaditor.bundle.js +439 -0
- package/dist/567.creaditor.bundle.js.gz +0 -0
- package/dist/5713.creaditor.bundle.js +86 -0
- package/dist/5713.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5713.creaditor.bundle.js.gz +0 -0
- package/dist/574.creaditor.bundle.js +115 -0
- package/dist/574.creaditor.bundle.js.LICENSE.txt +21 -0
- package/dist/574.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/574.creaditor.bundle.js.gz +0 -0
- package/dist/578.creaditor.bundle.js +29 -0
- package/dist/578.creaditor.bundle.js.gz +0 -0
- package/dist/5791.creaditor.bundle.js +288 -0
- package/dist/5791.creaditor.bundle.js.gz +0 -0
- package/dist/5813.creaditor.bundle.js +613 -0
- package/dist/5813.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/5813.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5813.creaditor.bundle.js.gz +0 -0
- package/dist/5839.creaditor.bundle.js +47 -0
- package/dist/5839.creaditor.bundle.js.gz +0 -0
- package/dist/5849.creaditor.bundle.js +18 -0
- package/dist/5849.creaditor.bundle.js.gz +0 -0
- package/dist/5850.creaditor.bundle.js +23 -0
- package/dist/5850.creaditor.bundle.js.gz +0 -0
- package/dist/59.creaditor.bundle.js +381 -0
- package/dist/59.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/59.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/59.creaditor.bundle.js.gz +0 -0
- package/dist/5926.creaditor.bundle.js +63 -0
- package/dist/5926.creaditor.bundle.js.gz +0 -0
- package/dist/6036.creaditor.bundle.js +34 -0
- package/dist/6036.creaditor.bundle.js.gz +0 -0
- package/dist/6151.creaditor.bundle.js +1 -0
- package/dist/6151.creaditor.bundle.js.gz +0 -0
- package/dist/6216.creaditor.bundle.js +2 -0
- package/dist/6216.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/6216.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6216.creaditor.bundle.js.gz +0 -0
- package/dist/638.creaditor.bundle.js +23 -0
- package/dist/638.creaditor.bundle.js.gz +0 -0
- package/dist/6442.creaditor.bundle.js +236 -0
- package/dist/6442.creaditor.bundle.js.gz +0 -0
- package/dist/6459.creaditor.bundle.js +23 -0
- package/dist/6459.creaditor.bundle.js.gz +0 -0
- package/dist/6496.creaditor.bundle.js +19 -0
- package/dist/6496.creaditor.bundle.js.gz +0 -0
- package/dist/653.creaditor.bundle.js +23 -0
- package/dist/653.creaditor.bundle.js.gz +0 -0
- package/dist/6751.creaditor.bundle.js +1 -0
- package/dist/6751.creaditor.bundle.js.gz +0 -0
- package/dist/6814.creaditor.bundle.js +1 -0
- package/dist/6814.creaditor.bundle.js.gz +0 -0
- package/dist/7051.creaditor.bundle.js +162 -0
- package/dist/7051.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/7051.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7051.creaditor.bundle.js.gz +0 -0
- package/dist/7055.creaditor.bundle.js +75 -0
- package/dist/7055.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/7055.creaditor.bundle.js.gz +0 -0
- package/dist/715.creaditor.bundle.js +142 -0
- package/dist/715.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/715.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/715.creaditor.bundle.js.gz +0 -0
- package/dist/7155.creaditor.bundle.js +23 -0
- package/dist/7155.creaditor.bundle.js.gz +0 -0
- package/dist/7209.creaditor.bundle.js +660 -0
- package/dist/7209.creaditor.bundle.js.gz +0 -0
- package/dist/7238.creaditor.bundle.js +131 -0
- package/dist/7238.creaditor.bundle.js.gz +0 -0
- package/dist/7255.creaditor.bundle.js +11 -0
- package/dist/7255.creaditor.bundle.js.gz +0 -0
- package/dist/738.creaditor.bundle.js +14 -0
- package/dist/738.creaditor.bundle.js.gz +0 -0
- package/dist/7380.creaditor.bundle.js +19 -0
- package/dist/7380.creaditor.bundle.js.gz +0 -0
- package/dist/7463.creaditor.bundle.js +395 -0
- package/dist/7463.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/7463.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7463.creaditor.bundle.js.gz +0 -0
- package/dist/7466.creaditor.bundle.js +1 -0
- package/dist/7466.creaditor.bundle.js.gz +0 -0
- package/dist/752.creaditor.bundle.js +40 -0
- package/dist/752.creaditor.bundle.js.gz +0 -0
- package/dist/7523.creaditor.bundle.js +27 -0
- package/dist/7523.creaditor.bundle.js.gz +0 -0
- package/dist/7564.creaditor.bundle.js +1 -0
- package/dist/7564.creaditor.bundle.js.gz +0 -0
- package/dist/763.creaditor.bundle.js +1 -0
- package/dist/763.creaditor.bundle.js.gz +0 -0
- package/dist/767.creaditor.bundle.js +274 -0
- package/dist/767.creaditor.bundle.js.gz +0 -0
- package/dist/7759.creaditor.bundle.js +25 -0
- package/dist/7759.creaditor.bundle.js.gz +0 -0
- package/dist/7838.creaditor.bundle.js +20 -0
- package/dist/7838.creaditor.bundle.js.gz +0 -0
- package/dist/7937.creaditor.bundle.js +130 -0
- package/dist/7937.creaditor.bundle.js.gz +0 -0
- package/dist/7997.creaditor.bundle.js +173 -0
- package/dist/7997.creaditor.bundle.js.gz +0 -0
- package/dist/8042.creaditor.bundle.js +71 -0
- package/dist/8042.creaditor.bundle.js.gz +0 -0
- package/dist/8064.creaditor.bundle.js +25 -0
- package/dist/8064.creaditor.bundle.js.gz +0 -0
- package/dist/8141.creaditor.bundle.js +21 -0
- package/dist/8141.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/8141.creaditor.bundle.js.gz +0 -0
- package/dist/8173.creaditor.bundle.js +455 -0
- package/dist/8173.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/8173.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8173.creaditor.bundle.js.gz +0 -0
- package/dist/8250.creaditor.bundle.js +1 -0
- package/dist/8250.creaditor.bundle.js.gz +0 -0
- package/dist/8251.creaditor.bundle.js +23 -0
- package/dist/8251.creaditor.bundle.js.gz +0 -0
- package/dist/8303.creaditor.bundle.js +57 -0
- package/dist/8303.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/8303.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8303.creaditor.bundle.js.gz +0 -0
- package/dist/8305.creaditor.bundle.js +32 -0
- package/dist/8305.creaditor.bundle.js.gz +0 -0
- package/dist/8315.creaditor.bundle.js +44 -0
- package/dist/8315.creaditor.bundle.js.gz +0 -0
- package/dist/8443.creaditor.bundle.js +72 -0
- package/dist/8443.creaditor.bundle.js.gz +0 -0
- package/dist/84702e107adede1a967468c78921d455.mp4 +0 -0
- package/dist/8516.creaditor.bundle.js +15 -0
- package/dist/8516.creaditor.bundle.js.gz +0 -0
- package/dist/8533.creaditor.bundle.js +1 -0
- package/dist/8533.creaditor.bundle.js.gz +0 -0
- package/dist/8570.creaditor.bundle.js +102 -0
- package/dist/8570.creaditor.bundle.js.gz +0 -0
- package/dist/8646.creaditor.bundle.js +122 -0
- package/dist/8646.creaditor.bundle.js.gz +0 -0
- package/dist/8654.creaditor.bundle.js +109 -0
- package/dist/8654.creaditor.bundle.js.gz +0 -0
- package/dist/8676.creaditor.bundle.js +23 -0
- package/dist/8676.creaditor.bundle.js.gz +0 -0
- package/dist/88.creaditor.bundle.js +1 -0
- package/dist/88.creaditor.bundle.js.gz +0 -0
- package/dist/8854.creaditor.bundle.js +79 -0
- package/dist/8854.creaditor.bundle.js.gz +0 -0
- package/dist/8876.creaditor.bundle.js +25 -0
- package/dist/8876.creaditor.bundle.js.LICENSE.txt +32 -0
- package/dist/8876.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8876.creaditor.bundle.js.gz +0 -0
- package/dist/8916.creaditor.bundle.js +18 -0
- package/dist/8916.creaditor.bundle.js.gz +0 -0
- package/dist/8921.creaditor.bundle.js +25 -0
- package/dist/8921.creaditor.bundle.js.gz +0 -0
- package/dist/898.creaditor.bundle.js +548 -0
- package/dist/898.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/898.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/898.creaditor.bundle.js.gz +0 -0
- package/dist/8983.creaditor.bundle.js +1 -0
- package/dist/8983.creaditor.bundle.js.gz +0 -0
- package/dist/9041.creaditor.bundle.js +171 -0
- package/dist/9041.creaditor.bundle.js.gz +0 -0
- package/dist/9089.creaditor.bundle.js +21 -0
- package/dist/9089.creaditor.bundle.js.gz +0 -0
- package/dist/9162.creaditor.bundle.js +23 -0
- package/dist/9162.creaditor.bundle.js.gz +0 -0
- package/dist/9184.creaditor.bundle.js +23 -0
- package/dist/9184.creaditor.bundle.js.gz +0 -0
- package/dist/9193.creaditor.bundle.js +1 -0
- package/dist/9193.creaditor.bundle.js.gz +0 -0
- package/dist/9250.creaditor.bundle.js +274 -0
- package/dist/9250.creaditor.bundle.js.gz +0 -0
- package/dist/9386.creaditor.bundle.js +23 -0
- package/dist/9386.creaditor.bundle.js.gz +0 -0
- package/dist/9453.creaditor.bundle.js +15 -0
- package/dist/9453.creaditor.bundle.js.gz +0 -0
- package/dist/9570.creaditor.bundle.js +23 -0
- package/dist/9570.creaditor.bundle.js.gz +0 -0
- package/dist/975.creaditor.bundle.js +23 -0
- package/dist/975.creaditor.bundle.js.gz +0 -0
- package/dist/976.creaditor.bundle.js +23 -0
- package/dist/976.creaditor.bundle.js.gz +0 -0
- package/dist/9986.creaditor.bundle.js +11 -0
- package/dist/9986.creaditor.bundle.js.gz +0 -0
- package/dist/9990.creaditor.bundle.js +16 -0
- package/dist/9990.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +6433 -0
- package/dist/creaditor.bundle.js.LICENSE.txt +102 -0
- package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/creaditor.bundle.js.gz +0 -0
- package/dist/dca9330af07325d31ab04d60838684cd.png +0 -0
- package/dist/index.html +1 -0
- package/dist/index.html.gz +0 -0
- package/dist/service-worker.js +1 -0
- package/dist/service-worker.js.gz +0 -0
- package/dist/workbox-f3063069.js +1 -0
- package/dist/workbox-f3063069.js.gz +0 -0
- package/package.json +37 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[638],{638(e,t,i){i.r(t),i.d(t,{DevicePicker:()=>l});var o,r,c,n,d=i(59088),p=i(36936),s=i(59929);let l=(o=(0,i(49410).MZ)({type:String}),(n=class extends s.WF{constructor(){super(),(0,d.A)(this,"device",c,this)}choose(e){this.device=e}render(){return s.qy` <cdtr-row alignItems="center">
|
|
2
|
+
<paper-button @click=${()=>this.choose("phone")}>
|
|
3
|
+
<cdtr-tooltip content="design_for_phone">
|
|
4
|
+
<cdtr-icon
|
|
5
|
+
color=${"phone"===this.device?"var(--primary)":""}
|
|
6
|
+
width="18"
|
|
7
|
+
icon="phone"
|
|
8
|
+
></cdtr-icon>
|
|
9
|
+
</cdtr-tooltip>
|
|
10
|
+
</paper-button>
|
|
11
|
+
<paper-button @click=${()=>this.choose("desktop")}
|
|
12
|
+
><cdtr-tooltip content="design_for_desktop"
|
|
13
|
+
><cdtr-icon
|
|
14
|
+
color=${"desktop"===this.device?"var(--primary)":""}
|
|
15
|
+
width="18"
|
|
16
|
+
icon="desktop"
|
|
17
|
+
></cdtr-icon></cdtr-tooltip></paper-button
|
|
18
|
+
></cdtr-row>`}}).styles=s.AH`
|
|
19
|
+
paper-button {
|
|
20
|
+
padding: 0;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
}
|
|
23
|
+
`,r=n,c=(0,p.A)(r.prototype,"device",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r);customElements.define("cdtr-device-picker",l)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6442],{66442(e,i,a){a.r(i),a.d(i,{CouchMark:()=>t});var s=a(59929);class t extends s.WF{constructor(){super()}render(){return s.qy`<div class="pulser">
|
|
2
|
+
<div class="pulse pulse1"></div>
|
|
3
|
+
<div class="pulse pulse2"></div>
|
|
4
|
+
<div class="pulse pulse4"></div>
|
|
5
|
+
</div>`}}t.properties={name:{}},t.styles=s.AH`
|
|
6
|
+
:host {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.pulse {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 50%;
|
|
14
|
+
left: 50%;
|
|
15
|
+
transform: translate(-50%, -50%);
|
|
16
|
+
width: 30px;
|
|
17
|
+
height: 30px;
|
|
18
|
+
-webkit-border-radius: 50%;
|
|
19
|
+
-moz-border-radius: 50%;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
-webkit-box-sizing: border-box;
|
|
22
|
+
-moz-box-sizing: border-box;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pulse1 {
|
|
27
|
+
border: 13px solid #845EC2;
|
|
28
|
+
-webkit-animation: pulse1 2s linear infinite;
|
|
29
|
+
-moz-animation: pulse1 2s linear infinite;
|
|
30
|
+
animation: pulse1 2s linear infinite;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pulse2 {
|
|
34
|
+
border: 8px solid #845EC2;
|
|
35
|
+
opacity: 0.2;
|
|
36
|
+
-webkit-animation: pulse2 2s linear infinite;
|
|
37
|
+
-moz-animation: pulse2 2s linear infinite;
|
|
38
|
+
animation: pulse2 2s linear infinite;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pulse3 {
|
|
42
|
+
border: 10px solid #845EC2;
|
|
43
|
+
opacity: 0.5;
|
|
44
|
+
-webkit-animation: pulse3 2s linear infinite;
|
|
45
|
+
-moz-animation: pulse3 2s linear infinite;
|
|
46
|
+
animation: pulse3 2s linear infinite;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pulse4 {
|
|
50
|
+
border: 15px solid #845EC2;
|
|
51
|
+
opacity: 0.1;
|
|
52
|
+
-webkit-animation: pulse4 2s linear infinite;
|
|
53
|
+
-moz-animation: pulse4 2s linear infinite;
|
|
54
|
+
animation: pulse4 2s linear infinite;
|
|
55
|
+
width: 30px;
|
|
56
|
+
height: 30px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* moz */
|
|
60
|
+
@-moz-keyframes pulse1 {
|
|
61
|
+
0% {
|
|
62
|
+
-moz-transform: scale(0);
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
20% {
|
|
66
|
+
-moz-transform: scale(0);
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
40% {
|
|
70
|
+
-moz-transform: scale(0.2);
|
|
71
|
+
opacity: 0.4;
|
|
72
|
+
}
|
|
73
|
+
60% {
|
|
74
|
+
-moz-transform: scale(0.4);
|
|
75
|
+
opacity: 0.6;
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
-moz-transform: scale(0.6);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@-moz-keyframes pulse2 {
|
|
84
|
+
0% {
|
|
85
|
+
-moz-transform: scale(0);
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
25% {
|
|
89
|
+
-moz-transform: scale(0.2);
|
|
90
|
+
opacity: 0.7;
|
|
91
|
+
}
|
|
92
|
+
40% {
|
|
93
|
+
-moz-transform: scale(0.4);
|
|
94
|
+
opacity: 0.5;
|
|
95
|
+
}
|
|
96
|
+
65% {
|
|
97
|
+
-moz-transform: scale(0.6);
|
|
98
|
+
opacity: 0.3;
|
|
99
|
+
}
|
|
100
|
+
100% {
|
|
101
|
+
-moz-transform: scale(0.8);
|
|
102
|
+
opacity: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@-moz-keyframes pulse3 {
|
|
107
|
+
0% {
|
|
108
|
+
-moz-transform: scale(0.1);
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
111
|
+
25% {
|
|
112
|
+
-moz-transform: scale(0.3);
|
|
113
|
+
opacity: 0.7;
|
|
114
|
+
}
|
|
115
|
+
50% {
|
|
116
|
+
-moz-transform: scale(0.5);
|
|
117
|
+
opacity: 0.5;
|
|
118
|
+
}
|
|
119
|
+
75% {
|
|
120
|
+
-moz-transform: scale(0.6);
|
|
121
|
+
opacity: 0.3;
|
|
122
|
+
}
|
|
123
|
+
100% {
|
|
124
|
+
-moz-transform: scale(0.66);
|
|
125
|
+
opacity: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@-moz-keyframes pulse4 {
|
|
130
|
+
0% {
|
|
131
|
+
-moz-transform: scale(0.1);
|
|
132
|
+
opacity: 0;
|
|
133
|
+
}
|
|
134
|
+
30% {
|
|
135
|
+
-moz-transform: scale(0.3);
|
|
136
|
+
opacity: 0.6;
|
|
137
|
+
}
|
|
138
|
+
80% {
|
|
139
|
+
-moz-transform: scale(0.6);
|
|
140
|
+
opacity: 0.4;
|
|
141
|
+
}
|
|
142
|
+
100% {
|
|
143
|
+
-moz-transform: scale(0.8);
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* webkit */
|
|
149
|
+
@-webkit-keyframes pulse1 {
|
|
150
|
+
0% {
|
|
151
|
+
-webkit-transform: scale(0);
|
|
152
|
+
opacity: 0;
|
|
153
|
+
}
|
|
154
|
+
20% {
|
|
155
|
+
-webkit-transform: scale(0);
|
|
156
|
+
opacity: 0;
|
|
157
|
+
}
|
|
158
|
+
40% {
|
|
159
|
+
-webkit-transform: scale(0.2);
|
|
160
|
+
opacity: 0.4;
|
|
161
|
+
}
|
|
162
|
+
60% {
|
|
163
|
+
-webkit-transform: scale(0.4);
|
|
164
|
+
opacity: 0.6;
|
|
165
|
+
}
|
|
166
|
+
100% {
|
|
167
|
+
-webkit-transform: scale(0.6);
|
|
168
|
+
opacity: 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
@-webkit-keyframes pulse2 {
|
|
173
|
+
0% {
|
|
174
|
+
-webkit-transform: scale(0);
|
|
175
|
+
opacity: 0;
|
|
176
|
+
}
|
|
177
|
+
25% {
|
|
178
|
+
-webkit-transform: scale(0.2);
|
|
179
|
+
opacity: 0.7;
|
|
180
|
+
}
|
|
181
|
+
40% {
|
|
182
|
+
-webkit-transform: scale(0.4);
|
|
183
|
+
opacity: 0.5;
|
|
184
|
+
}
|
|
185
|
+
65% {
|
|
186
|
+
-webkit-transform: scale(0.6);
|
|
187
|
+
opacity: 0.3;
|
|
188
|
+
}
|
|
189
|
+
100% {
|
|
190
|
+
-webkit-transform: scale(0.8);
|
|
191
|
+
opacity: 0;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@-webkit-keyframes pulse3 {
|
|
196
|
+
0% {
|
|
197
|
+
-webkit-transform: scale(0.1);
|
|
198
|
+
opacity: 0;
|
|
199
|
+
}
|
|
200
|
+
25% {
|
|
201
|
+
-webkit-transform: scale(0.3);
|
|
202
|
+
opacity: 0.7;
|
|
203
|
+
}
|
|
204
|
+
50% {
|
|
205
|
+
-webkit-transform: scale(0.5);
|
|
206
|
+
opacity: 0.5;
|
|
207
|
+
}
|
|
208
|
+
75% {
|
|
209
|
+
-webkit-transform: scale(0.6);
|
|
210
|
+
opacity: 0.3;
|
|
211
|
+
}
|
|
212
|
+
100% {
|
|
213
|
+
-webkit-transform: scale(0.66);
|
|
214
|
+
opacity: 0;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@-webkit-keyframes pulse4 {
|
|
219
|
+
0% {
|
|
220
|
+
-webkit-transform: scale(0.1);
|
|
221
|
+
opacity: 0;
|
|
222
|
+
}
|
|
223
|
+
30% {
|
|
224
|
+
-webkit-transform: scale(0.3);
|
|
225
|
+
opacity: 0.6;
|
|
226
|
+
}
|
|
227
|
+
80% {
|
|
228
|
+
-webkit-transform: scale(0.6);
|
|
229
|
+
opacity: 0.4;
|
|
230
|
+
}
|
|
231
|
+
100% {
|
|
232
|
+
-webkit-transform: scale(0.8);
|
|
233
|
+
opacity: 0;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
`,customElements.define("cdtr-couch-mark",t)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6459],{16459(t,h,e){e.r(h),e.d(h,{CheckIcon:()=>s});var i=e(59929);class s extends i.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return i.qy`<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="M11 4h10v2H11V4zm0 4h6v2h-6V8zm0 6h10v2H11v-2zm0 4h6v2h-6v-2zM3 4h6v6H3V4zm2 2v2h2V6H5zm-2 8h6v6H3v-6zm2 2v2h2v-2H5z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}s.styles=i.AH`
|
|
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
|
+
`,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-list-check-icon",s)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6496],{86496(t,e,i){i.r(e),i.d(e,{SearchIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<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="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}h.styles=s.AH`
|
|
13
|
+
:host {
|
|
14
|
+
--cdtr-icon-color: #474747;
|
|
15
|
+
}
|
|
16
|
+
svg {
|
|
17
|
+
fill: var(--cdtr-icon-color);
|
|
18
|
+
}
|
|
19
|
+
`,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-search-icon",h)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[653],{50653(t,e,i){i.r(e),i.d(e,{TwitterIcon:()=>h});var r=i(59929);class h extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy` <svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
viewBox="0 0 24 24"
|
|
4
|
+
width="24"
|
|
5
|
+
height="24"
|
|
6
|
+
style=${this.iconStyle}
|
|
7
|
+
>
|
|
8
|
+
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
|
+
<path
|
|
10
|
+
d="M22.162 5.656a8.384 8.384 0 0 1-2.402.658A4.196 4.196 0 0 0 21.6 4c-.82.488-1.719.83-2.656 1.015a4.182 4.182 0 0 0-7.126 3.814 11.874 11.874 0 0 1-8.62-4.37 4.168 4.168 0 0 0-.566 2.103c0 1.45.738 2.731 1.86 3.481a4.168 4.168 0 0 1-1.894-.523v.052a4.185 4.185 0 0 0 3.355 4.101 4.21 4.21 0 0 1-1.89.072A4.185 4.185 0 0 0 7.97 16.65a8.394 8.394 0 0 1-6.191 1.732 11.83 11.83 0 0 0 6.41 1.88c7.693 0 11.9-6.373 11.9-11.9 0-.18-.005-.362-.013-.54a8.496 8.496 0 0 0 2.087-2.165z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}h.styles=r.AH`
|
|
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
|
+
`,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-twitter-icon",h)}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6751],{56751(e,t,n){n.d(t,{default:()=>x});const a={en:{key:"English",value:"en"},he:{key:"Hebrew",value:"he"},ar:{key:"Arabic",value:"ar"}},o=Object.keys(a).map(e=>a[e]),s=e=>{const{component:t,commands:n,helpers:s,template:i}=e,l=t.parent("col");return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"image",selected:!0},{text:"design"},{text:"link"},{text:"settings"}];return t.forEach(t=>t.selected=t.text===e),t},layout:e=>{let{tab:s,changeTab:i,tabs:r}=e;return[{type:"info",text:"image_micro_copy",active:()=>"image"===s.text},{type:"input",title:"address",active:()=>"image"===s.text,value:t.props.address,onChange:e=>{const t=e.target.value,a={link:{href:`https://www.google.com/maps/place/${t}`}};n.execCommand("address",t),n.execCommand("onClick",a)}},{type:"divider",active:()=>"image"===s.text},{type:"dropdown",title:"type",active:()=>"image"===s.text,selected:a[t.props.lang]?.value,value:a[t.props.lang]?.value,onChange:e=>{const t=e.target.value;n.execCommand("lang",t)},items:o},{type:"divider",active:()=>"image"===s.text},{type:"checkbox",title:"fullWidthOnMobile",checked:!!t.props.isFullWidthOnMobile,active:()=>"image"===s.text,onChange:e=>{const t=e.target.checked;n.execCommand("isFullWidthOnMobile",t)}},{type:"divider"},{type:"slider",title:"size",min:100,max:1e3,active:()=>"design"===s.text,value:parseInt(t.props.style.width),onInput:e=>{const t=e.target.value;n.execCommand("style",{width:t+"px",height:"auto"})}},{type:"divider",active:()=>"design"===s.text},{type:"justifyContent",value:l?.props.justify,active:()=>"design"===s.text,onChange:e=>{const t=e.target.value;n.execCommand("justify",t,{find:"col"})}},{type:"justifyContent",title:"alignItems",active:()=>"design"===s.text,value:l?.props.alignItems,onChange:e=>{const t=e.target.value;n.execCommand("alignItems",t,{find:"col"})}},{type:"linkpicker",href:t.props.onClick?.link?.href,protocol:t.props.onClick?.link?.protocol,target:t.props.onClick?.link?.target,active:()=>"link"===s.text,onChange:e=>{const t={link:e.target.value};n.execCommand("onClick",t)}}]}}};var i=n(52144);const l=()=>({set:(e,t,n)=>{switch(t){case"style":if("object"==typeof n)return e[t]=(0,i.A)(e[t],n),!0;case"src":case"isFullWidthOnMobile":case"isOpenWithModal":case"isCircle":case"onClick":case"lang":case"onClick":case"address":return e[t]=n,!0}}});var r=n(72591),c=n.n(r),p=n(88639),d=n.n(p),m=n(88128),h=n.n(m),g=n(30855),u=n.n(g),A=n(93051),v=n.n(A),y=n(86121),C={};C.setAttributes=u(),C.insert=h().bind(null,"head"),C.domAPI=d(),C.insertStyleElement=v();c()(y.A,C);const k=y.A&&y.A.locals?y.A.locals:void 0,x=()=>({name:"map",create:e=>{const{createElement:t,compose:n,helpers:a}=e,o=document.createElement("div");o.classList.add(k.root);const i=document.createElement("img");i.style.maxWidth="100%",i.loading="lazy",o.append(i);const r=t({name:"map",id:n.id,template:o,atomElement:i,resize:e=>{let{width:t,height:n}=e;r.commands.execCommand("style",{width:t+"px"}),i.style.height="auto"},render:()=>{const e=i.getBoundingClientRect().width||parseInt(n.props.style.width);i.width=e,i.height="auto";const t=function(e,t){let{width:n,height:a,lang:o}=t;const s=encodeURIComponent(e);return`https://maps.googleapis.com/maps/api/staticmap?size=${parseInt(n)}x${parseInt(a)}&maptype=roadmap&markers=size:mid%7Ccolor:red%7C${s}&key=AIzaSyBkb9j_nB9VRLWePOW-2vswJkgNsOI-hyo&language=${o}`}(n.props.address,{width:e,height:e,lang:n.props.lang});i.src=t;for(const e in n.props.style)if(Object.hasOwnProperty.call(n.props.style,e)){const t=n.props.style[e];i.style[e]=t}},defaultProps:{style:{height:"200px",width:"400px"},address:"תל אביב"},draggable:{group:"element"},droppable:{group:"element"},resizeable:()=>o,handleBar:!0,validator:l({template:o,helpers:a}),schema:n.schema,onSelect:e=>{o.classList.add(e)},onDeselect:e=>{o.classList.remove(e)},elementProps:n,remove:()=>{o.remove()},createEditor:s});return r}})},86121(e,t,n){n.d(t,{A:()=>l});var a=n(82001),o=n.n(a),s=n(40935),i=n.n(s)()(o());i.push([e.id,".nFrssUYv_Du1tY7Tm3oJ {\n position: relative;\n }\n .fmAJqhJ4k2cFq8AdpzoA {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .nFrssUYv_Du1tY7Tm3oJ:hover .fmAJqhJ4k2cFq8AdpzoA {\n display: block;\n }\n ","",{version:3,sources:["webpack://./../newsletter-editors/map-editor-component-newsletter/lib/style.module.css"],names:[],mappings:"AAAA;IACI,kBAAkB;EACpB;EACA;IACE,aAAa;IACb,WAAW;IACX,YAAY;IACZ,OAAO;IACP,MAAM;IACN,kBAAkB;IAClB,gCAAgC;IAChC,YAAY;EACd;;EAEA;IACE,cAAc;EAChB",sourcesContent:[".root {\n position: relative;\n }\n .cover {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .root:hover .cover {\n display: block;\n }\n "],sourceRoot:""}]),i.locals={root:"nFrssUYv_Du1tY7Tm3oJ",cover:"fmAJqhJ4k2cFq8AdpzoA"};const l=i}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6814],{46814(e,t,s){s.d(t,{default:()=>I});const n={en:{key:"English",value:"en"},he:{key:"Hebrew",value:"he"},ar:{key:"Arabic",value:"ar"}},o=Object.keys(n).map(e=>n[e]),r=e=>{const{component:t,commands:s,helpers:r,template:a}=e;return{select:e=>{let{changeTab:t,tab:s}=e;"design"!==s.text&&t("design")},tabs:e=>{const t=[{text:"design"}];return t.forEach(t=>t.selected=t.text===e),t},layout:e=>{let{tab:r,changeTab:a,tabs:l}=e;return[{type:"input",title:"address",value:t.props.address,onChange:e=>{const t=e.target.value;s.execCommand("address",t)}},{type:"divider"},{type:"dropdown",title:"type",active:()=>"design"===r.text,selected:n[t.props.lang]?.value,value:n[t.props.lang]?.value,onChange:e=>{const t=e.target.value;s.execCommand("lang",t)},items:o},{type:"divider"},{type:"slider",title:"size",min:100,max:1e3,active:()=>"design"===r.text,value:parseInt(t.props.style.width),onInput:e=>{const t=e.target.value;s.execCommand("style",{width:t+"px",height:t/1.8+"px"})}},{type:"divider"},{type:"radius",title:"radius",active:()=>"design"===r.text,min:0,max:parseInt(t.props.style.width)/2,value:parseInt(t.props.style.borderRadius),elementId:t.id,borderTopRightRadius:parseInt(t.props.style.borderTopRightRadius),borderTopLeftRadius:parseInt(t.props.style.borderTopLeftRadius),borderBottomRightRadius:parseInt(t.props.style.borderBottomRightRadius),borderBottomLeftRadius:parseInt(t.props.style.borderBottomLeftRadius),onInput:e=>{s.execCommand("style",{...e.target.json})}}]}}};var a=s(52144);const l=e=>{let{helpers:t,image:s}=e;return{set:(e,t,s)=>{switch(t){case"style":if("object"==typeof s)return e[t]=(0,a.A)(e[t],s),!0;case"src":case"isFullWidthOnMobile":case"isOpenWithModal":case"isCircle":case"onClick":case"alt":return e[t]=s,!0}}}},i="AIzaSyAAWI9NHgjWXKv6Vu2RqsMnzcHd5gx3vvY";var p=s(72591),d=s.n(p),c=s(88639),m=s.n(c),u=s(88128),h=s.n(u),g=s(30855),A=s.n(g),y=s(93051),v=s.n(y),b=s(69632),C={};C.setAttributes=A(),C.insert=h().bind(null,"head"),C.domAPI=m(),C.insertStyleElement=v();d()(b.A,C);const f=b.A&&b.A.locals?b.A.locals:void 0,I=()=>{!function(){const e="google-google-map-script";if(document.getElementById(e))return null;let t=document.createElement("script");t.id=e,t.type="text/javascript",t.src=`https://maps.googleapis.com/maps/api/js?key=${i}&callback=initMap`,document.body.appendChild(t)}();return{name:"map",create:e=>{const{createElement:t,compose:s,helpers:n}=e,o=document.createElement("div");o.classList.add(f.root);const a=document.createElement("div");a.classList.add(f.cover);const p=document.createElement("iframe");return p.loading="lazy",p.allowFullscreen="true",p.referrerpolicy="no-referrer-when-downgrade",o.append(p,a),t({name:"map",id:s.id,template:o,atomElement:p,render:()=>{p.width=s.props.style.width,p.height=s.props.style.height;const e=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return`https://www.google.com/maps/embed/v1/place?q=${encodeURIComponent(e)}&key=${i}&language=${t}`}(s.props.address,s.props.lang);p.src=e;for(const e in s.props.style)if(Object.hasOwnProperty.call(s.props.style,e)){const t=s.props.style[e];p.style[e]=t}},defaultProps:{style:{height:"200px",width:"200px"},address:"תל אביב"},draggable:{group:"element"},droppable:{group:"element"},resizeable:()=>o,handleBar:!0,validator:l({template:o,helpers:n}),schema:s.schema,onSelect:e=>{o.classList.add(e)},onDeselect:e=>{o.classList.remove(e)},elementProps:s,remove:()=>{o.remove()},createEditor:r})}}}},69632(e,t,s){s.d(t,{A:()=>l});var n=s(82001),o=s.n(n),r=s(40935),a=s.n(r)()(o());a.push([e.id,".K7psR4JLWOUIitZzJsh_ {\n position: relative;\n }\n .D3YnVg9f4nr9mHqbRr27 {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .K7psR4JLWOUIitZzJsh_:hover .D3YnVg9f4nr9mHqbRr27 {\n display: block;\n }\n ","",{version:3,sources:["webpack://./../web-editors/map-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;IACI,kBAAkB;EACpB;EACA;IACE,aAAa;IACb,WAAW;IACX,YAAY;IACZ,OAAO;IACP,MAAM;IACN,kBAAkB;IAClB,gCAAgC;IAChC,YAAY;EACd;;EAEA;IACE,cAAc;EAChB",sourcesContent:[".root {\n position: relative;\n }\n .cover {\n display: none;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n background-color: var(--primary);\n opacity: 0.6;\n }\n \n .root:hover .cover {\n display: block;\n }\n "],sourceRoot:""}]),a.locals={root:"K7psR4JLWOUIitZzJsh_",cover:"D3YnVg9f4nr9mHqbRr27"};const l=a}}]);
|
|
Binary file
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/*! For license information please see 7051.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7051],{97051(t,e,s){s.r(e),s.d(e,{default:()=>St});var i=Object.defineProperty,n=(t,e,s)=>((t,e,s)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s)(t,"symbol"!=typeof e?e+"":e,s);const o=globalThis,r=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new WeakMap;let a=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==l)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 s=void 0!==e&&1===e.length;s&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&h.set(e,t))}return t}toString(){return this.cssText}};const d=function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i<e;i++)s[i-1]=arguments[i];const n=1===t.length?t[0]:s.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(n,t,l)},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,l))(e)})(t):t,{is:u,defineProperty:p,getOwnPropertyDescriptor:f,getOwnPropertyNames:$,getOwnPropertySymbols:v,getPrototypeOf:g}=Object,m=globalThis,_=m.trustedTypes,y=_?_.emptyScript:"",b=m.reactiveElementPolyfillSupport,A=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch{s=null}}return s}},E=(t,e)=>!u(t,e),x={attribute:!0,type:String,converter:w,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),m.litPropertyMetadata??(m.litPropertyMetadata=new WeakMap);let C=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]:x;if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&p(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=f(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const o=null==i?void 0:i.call(this);null==n||n.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const t=this.properties,e=[...$(t),...v(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){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 s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(r)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),i=o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.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,s){this._$AK(t,s)}_$ET(t,e){var s;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(void 0!==n&&!0===i.reflect){const o=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:w).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(t,e){var s,i;const n=this.constructor,o=n._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=n.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:w;this._$Em=o;const l=r.fromAttribute(e,t.type);this[o]=l??(null==(i=this._$Ej)?void 0:i.get(o))??l,this._$Em=null}}requestUpdate(t,e,s){var i;if(void 0!==t){const n=this.constructor,o=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??E)(o,e)||s.useDefault&&s.reflect&&o===(null==(i=this._$Ej)?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,s,i){let{useDefault:n,reflect:o,wrapped:r}=s;n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==r||void 0!==i)||(this._$AL.has(t)||(this.hasUpdated||n||(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,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(s)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(s)}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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[A("elementProperties")]=new Map,C[A("finalized")]=new Map,null==b||b({ReactiveElement:C}),(m.reactiveElementVersions??(m.reactiveElementVersions=[])).push("2.1.1");const S=globalThis,k=S.trustedTypes,P=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,R="$lit$",T=`lit$${Math.random().toFixed(9).slice(2)}$`,U="?"+T,N=`<${U}>`,O=document,H=()=>O.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,L=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,G=/"/g,V=/^(?:script|style|textarea|title)$/i,q=(Z=1,function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i<e;i++)s[i-1]=arguments[i];return{_$litType$:Z,strings:t,values:s}}),K=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),J=new WeakMap,Q=O.createTreeWalker(O,129);var Z;function X(t,e){if(!I(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==P?P.createHTML(e):e}class Y{constructor(t,e){let s,{strings:i,_$litType$:n}=t;this.parts=[];let o=0,r=0;const l=i.length-1,h=this.parts,[a,d]=((t,e)=>{const s=t.length-1,i=[];let n,o=2===e?"<svg>":3===e?"<math>":"",r=B;for(let e=0;e<s;e++){const s=t[e];let l,h,a=-1,d=0;for(;d<s.length&&(r.lastIndex=d,h=r.exec(s),null!==h);)d=r.lastIndex,r===B?"!--"===h[1]?r=D:void 0!==h[1]?r=L:void 0!==h[2]?(V.test(h[2])&&(n=RegExp("</"+h[2],"g")),r=j):void 0!==h[3]&&(r=j):r===j?">"===h[0]?(r=n??B,a=-1):void 0===h[1]?a=-2:(a=r.lastIndex-h[2].length,l=h[1],r=void 0===h[3]?j:'"'===h[3]?G:W):r===G||r===W?r=j:r===D||r===L?r=B:(r=j,n=void 0);const c=r===j&&t[e+1].startsWith("/>")?" ":"";o+=r===B?s+N:a>=0?(i.push(l),s.slice(0,a)+R+s.slice(a)+T+c):s+T+(-2===a?e:c)}return[X(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]})(i,n);if(this.el=Y.createElement(a,e),Q.currentNode=this.el.content,2===n||3===n){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=Q.nextNode())&&h.length<l;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(R)){const e=d[r++],i=s.getAttribute(t).split(T),n=/([.?@])?(.*)/.exec(e);h.push({type:1,index:o,name:n[2],strings:i,ctor:"."===n[1]?nt:"?"===n[1]?ot:"@"===n[1]?rt:it}),s.removeAttribute(t)}else t.startsWith(T)&&(h.push({type:6,index:o}),s.removeAttribute(t));if(V.test(s.tagName)){const t=s.textContent.split(T),e=t.length-1;if(e>0){s.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],H()),Q.nextNode(),h.push({type:2,index:++o});s.append(t[e],H())}}}else if(8===s.nodeType)if(s.data===U)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(T,t+1));)h.push({type:7,index:o}),t+=T.length-1}o++}}static createElement(t,e){const s=O.createElement("template");return s.innerHTML=t,s}}function tt(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0;var n,o;if(e===K)return e;let r=void 0!==i?null==(n=s._$Co)?void 0:n[i]:s._$Cl;const l=M(e)?void 0:e._$litDirective$;return(null==r?void 0:r.constructor)!==l&&(null==(o=null==r?void 0:r._$AO)||o.call(r,!1),void 0===l?r=void 0:(r=new l(t),r._$AT(t,s,i)),void 0!==i?(s._$Co??(s._$Co=[]))[i]=r:s._$Cl=r),void 0!==r&&(e=tt(t,r._$AS(t,e.values),r,i)),e}class et{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((null==t?void 0:t.creationScope)??O).importNode(e,!0);Q.currentNode=i;let n=Q.nextNode(),o=0,r=0,l=s[0];for(;void 0!==l;){if(o===l.index){let e;2===l.type?e=new st(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new lt(n,this,t)),this._$AV.push(e),l=s[++r]}o!==(null==l?void 0:l.index)&&(n=Q.nextNode(),o++)}return Q.currentNode=O,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class st{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(null==i?void 0:i.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=tt(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),M(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>I(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!==F&&M(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Y.createElement(X(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===n)this._$AH.p(s);else{const t=new et(n,this),e=t.u(this.options);t.p(s),this.T(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}k(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new st(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var s;for(null==(s=this._$AP)||s.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 it{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=F}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;const n=this.strings;let o=!1;if(void 0===n)t=tt(this,t,e,0),o=!M(t)||t!==this._$AH&&t!==K,o&&(this._$AH=t);else{const i=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=tt(this,i[s+r],e,r),l===K&&(l=this._$AH[r]),o||(o=!M(l)||l!==this._$AH[r]),l===F?t=F:t!==F&&(t+=(l??"")+n[r+1]),this._$AH[r]=l}o&&!i&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class nt extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}class ot extends it{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}}class rt extends it{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t){if((t=tt(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??F)===K)return;const e=this._$AH,s=t===F&&e!==F||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==F&&(e===F||s);s&&this.element.removeEventListener(this.name,this,e),i&&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 lt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const ht=S.litHtmlPolyfillSupport;null==ht||ht(Y,st),(S.litHtmlVersions??(S.litHtmlVersions=[])).push("3.3.1");const at=globalThis;let dt=class extends C{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,s)=>{const i=(null==s?void 0:s.renderBefore)??e;let n=i._$litPart$;if(void 0===n){const t=(null==s?void 0:s.renderBefore)??null;i._$litPart$=n=new st(e.insertBefore(H(),t),t,void 0,s??{})}return n._$AI(t),n})(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 K}};var ct;dt._$litElement$=!0,dt.finalized=!0,null==(ct=at.litElementHydrateSupport)||ct.call(at,{LitElement:dt});const ut=at.litElementPolyfillSupport;null==ut||ut({LitElement:dt}),(at.litElementVersions??(at.litElementVersions=[])).push("4.2.1");const pt=2;class ft{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const $t=(t,e)=>{var s;const i=t._$AN;if(void 0===i)return!1;for(const t of i)null==(s=t._$AO)||s.call(t,e,!1),$t(t,e);return!0},vt=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===(null==s?void 0:s.size))},gt=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),yt(e)}};function mt(t){void 0!==this._$AN?(vt(this),this._$AM=t,gt(this)):this._$AM=t}function _t(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)$t(i[t],!1),vt(i[t]);else null!=i&&($t(i,!1),vt(i));else $t(this,t)}const yt=t=>{t.type==pt&&(t._$AP??(t._$AP=_t),t._$AQ??(t._$AQ=mt))};class bt extends ft{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),gt(this),this.isConnected=t._$AU}_$AO(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var s,i;t!==this.isConnected&&(this.isConnected=t,t?null==(s=this.reconnected)||s.call(this):null==(i=this.disconnected)||i.call(this)),e&&($t(this,t),vt(this))}setValue(t){if((t=>void 0===t.strings)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class At{}const wt=new WeakMap,Et=(t=>function(){for(var e=arguments.length,s=new Array(e),i=0;i<e;i++)s[i]=arguments[i];return{_$litDirective$:t,values:s}})(class extends bt{render(t){return F}update(t,e){let[s]=e;var i;const n=s!==this.G;return n&&void 0!==this.G&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.G=s,this.ht=null==(i=t.options)?void 0:i.host,this.rt(this.ct=t.element)),F}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=wt.get(e);void 0===s&&(s=new WeakMap,wt.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e;return"function"==typeof this.G?null==(t=wt.get(this.ht??globalThis))?void 0:t.get(this.G):null==(e=this.G)?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});let xt=1500;function Ct(){return xt++}class St extends dt{constructor(){super(),n(this,"contentRef",new At),this.toggle=this.toggle.bind(this),this.onEnter=this.onEnter.bind(this),this.onKeydown=this.onKeydown.bind(this),this.overflow=!0,this.maxHeight=300,this.left=0,this.top=0,this.custom=!1,this.opened=!1}close(){this.toggle()}onBouncing(t){this.searchText=t.target.value;const e=new UIEvent("search",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}render(){return q`
|
|
3
|
+
<slot @click=${()=>this.toggle()} tabindex="0" name="trigger"></slot>
|
|
4
|
+
${this.opened?q` <div
|
|
5
|
+
@mouseup=${this.onClickOutside}
|
|
6
|
+
class="backdrop"
|
|
7
|
+
style="z-index:${Ct()};"
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
${Et(this.contentRef)}
|
|
11
|
+
@mouseup=${this.preventClosing}
|
|
12
|
+
style="z-index:${Ct()};left:${this.left}px;top:${this.top}px;"
|
|
13
|
+
class="dropdown-content fade-in ${this.custom?"":"dropdown-background"}"
|
|
14
|
+
>
|
|
15
|
+
${this.search?q`<cdtr-input
|
|
16
|
+
@input=${this.onBouncing}
|
|
17
|
+
type="search"
|
|
18
|
+
value=${this.searchText}
|
|
19
|
+
></cdtr-input>`:null}
|
|
20
|
+
<slot name="content"></slot>
|
|
21
|
+
</div>
|
|
22
|
+
</div>`:null}
|
|
23
|
+
`}preventClosing(t){return t.stopPropagation(),setTimeout(()=>{this.calcRects()},0),!1}onClickOutside(){this.toggle(!1)}updated(){var t;this.opened&&(setTimeout(()=>{this.calcRects()},0),null==(t=this.contentRef.value)||t.classList.add("fade-in"),this.contentRef.value.style.maxHeight=`${this.maxHeight}px`)}calcRects(){var t,e;let s=0,i=0;const n=this.getBoundingClientRect(),o=null==(e=null==(t=this.contentRef)?void 0:t.value)?void 0:e.getBoundingClientRect();o&&(s=n.left,i=n.top,s<0&&(s=0),i<0&&(i=0),s+o.width>window.innerWidth&&(s=window.innerWidth-o.width),i+o.height>window.innerHeight&&(i=window.innerHeight-o.height),this.left=s,this.top=i,this.contentRef.value.style.left=`${n.left}px`,this.contentRef.value.style.top=`${i+n.height}px`,this.contentRef.value.style.overflow=this.overflow?"hidden auto":"hidden")}toggle(){var t;const e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]||!this.opened;e?(window.removeEventListener("keydown",this.onKeydown),window.addEventListener("keydown",this.onKeydown),this.opened=e,setTimeout(()=>{const t=this.focusedItem=this.querySelector("cdtr-dropdown-item[focused]")||this.querySelector("cdtr-dropdown-item");t&&t.focus()},20)):(window.removeEventListener("keydown",this.onKeydown),null==(t=this.contentRef.value)||t.classList.add("fade-out"),setTimeout(()=>{this.opened=e},150)),this.setAttribute("aria-expanded",e)}onEnter(t){t.target===this&&13===t.keyCode&&this.toggle()}onKeydown(t){this.focusedItem&&40===t.keyCode&&this.focusedItem.nextElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.nextElementSibling.nodeName?(this.focusedItem=this.focusedItem.nextElementSibling,this.focusedItem&&this.focusedItem.focus()):this.focusedItem&&38===t.keyCode&&this.focusedItem.previousElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.previousElementSibling.nodeName?(this.focusedItem=this.focusedItem.previousElementSibling,this.focusedItem&&this.focusedItem.focus()):27===t.keyCode&&this.toggle();const e=new UIEvent("keypress",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("tabindex","0"),this.setAttribute("aria-disabled","false"),this.setAttribute("aria-haspopup","true"),this.setAttribute("aria-expanded",this.opened),this.addEventListener("keydown",this.onEnter),setTimeout(()=>{this.opened&&this.toggle(!0)},50)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("keydown",this.onKeydown)}patch(t){this.value=t,this.toggle(!1);const e=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e),setTimeout(()=>{this.focus()},0)}}n(St,"styles",d`
|
|
24
|
+
:host {
|
|
25
|
+
display: inline-block;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.backdrop {
|
|
31
|
+
position: fixed;
|
|
32
|
+
top: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
background: transparent;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
.dropdown-background {
|
|
40
|
+
background: #fff;
|
|
41
|
+
}
|
|
42
|
+
.dropdown-content {
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
min-width: 50px;
|
|
45
|
+
min-height: 50;
|
|
46
|
+
position: fixed;
|
|
47
|
+
border-radius: 0.25rem;
|
|
48
|
+
/* padding: 3px; */
|
|
49
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
50
|
+
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
51
|
+
}
|
|
52
|
+
.fade-in {
|
|
53
|
+
animation: fade-in 0.3s;
|
|
54
|
+
}
|
|
55
|
+
.fade-out {
|
|
56
|
+
animation: fade-out 0.3s;
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
@keyframes fade-in {
|
|
60
|
+
from {
|
|
61
|
+
opacity: 0;
|
|
62
|
+
margin-top: 5px;
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@keyframes fade-out {
|
|
69
|
+
from {
|
|
70
|
+
opacity: 1;
|
|
71
|
+
}
|
|
72
|
+
to {
|
|
73
|
+
margin-top: 5px;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
`),n(St,"properties",{search:{type:Boolean},searchText:{type:String},left:{type:Number},top:{type:Number},opened:{type:Boolean},maxHeight:{type:Number},overflow:{type:Boolean},value:{type:String},custom:{type:String}});class kt extends dt{constructor(){super(),this.minWidth=50}render(){return q`<paper-button style="min-width:${this.minWidth}px"
|
|
78
|
+
><slot></slot> <cdtr-dd-arrow-icon></cdtr-dd-arrow-icon
|
|
79
|
+
></paper-button>`}}n(kt,"properties",{minWidth:{type:Number}}),n(kt,"styles",d`
|
|
80
|
+
paper-button {
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
text-transform: capitalize;
|
|
84
|
+
width: 100%;
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
line-height: 1.5;
|
|
88
|
+
color: rgb(33, 37, 41);
|
|
89
|
+
background: rgb(255, 255, 255);
|
|
90
|
+
background-clip: padding-box;
|
|
91
|
+
border-width: 1px;
|
|
92
|
+
border-style: solid;
|
|
93
|
+
border-image: initial;
|
|
94
|
+
appearance: none;
|
|
95
|
+
border-radius: 0.25rem;
|
|
96
|
+
transition: border-color 0.15s ease-in-out 0s,
|
|
97
|
+
box-shadow 0.15s ease-in-out 0s;
|
|
98
|
+
margin: 0px;
|
|
99
|
+
font-family: var(--font-family);
|
|
100
|
+
border-color: var(--input-border-color);
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
padding: 5px;
|
|
103
|
+
font-size: 12px;
|
|
104
|
+
}
|
|
105
|
+
paper-button:hover {
|
|
106
|
+
border-color: black;
|
|
107
|
+
}
|
|
108
|
+
`);class Pt extends dt{constructor(){super(),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}focus(){this.shadowRoot.querySelector(".dropdown-item").focus()}onFocus(){this.focused=!0}onBlur(){this.focused=!1}onClick(t){if(this.notClickable)return;const e=this.closest("cdtr-dropdown");e&&e.patch(this.value,t,this)}onPress(t){if(13===t.keyCode){const e=new UIEvent("click",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e);const s=this.closest("cdtr-dropdown");s&&s.patch(this.value,t,this)}}connectedCallback(){super.connectedCallback(),this.selected&&this.scrollIntoView({behavior:"smooth",block:"start"})}render(){return q`<div role="button"
|
|
109
|
+
@click=${this.onClick}
|
|
110
|
+
@keydown=${this.onPress}
|
|
111
|
+
@blur=${this.onBlur}
|
|
112
|
+
@focus=${this.onFocus}
|
|
113
|
+
class="dropdown-item"
|
|
114
|
+
tabindex="0"
|
|
115
|
+
>
|
|
116
|
+
${this.selected?q` <svg
|
|
117
|
+
class="selected-svg"
|
|
118
|
+
fill="var(--primary)"
|
|
119
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
120
|
+
viewBox="0 0 24 24"
|
|
121
|
+
width="24"
|
|
122
|
+
height="24"
|
|
123
|
+
>
|
|
124
|
+
<path fill="none" d="M0 0h24v24H0z" />
|
|
125
|
+
<path
|
|
126
|
+
d="M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z"
|
|
127
|
+
/>
|
|
128
|
+
</svg>`:null}
|
|
129
|
+
<slot></slot>
|
|
130
|
+
</div>`}}n(Pt,"properties",{focused:{type:Boolean,reflect:!0},selected:{type:Boolean,reflect:!0},value:{type:String,reflect:!0},notClickable:{type:Boolean}}),n(Pt,"styles",d`
|
|
131
|
+
.dropdown-item {
|
|
132
|
+
position: relative;
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
display: flex;
|
|
135
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
margin-bottom: 2px;
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
user-select: none;
|
|
142
|
+
width: 100%;
|
|
143
|
+
justify-content: space-between;
|
|
144
|
+
box-sizing: border-box;
|
|
145
|
+
padding: 10px 20px;
|
|
146
|
+
}
|
|
147
|
+
.dropdown-item:hover {
|
|
148
|
+
background: #f3f3f396;
|
|
149
|
+
}
|
|
150
|
+
.dropdown-item:focus {
|
|
151
|
+
color: var(--primary-color);
|
|
152
|
+
outline: none;
|
|
153
|
+
background: #f3f3f3;
|
|
154
|
+
}
|
|
155
|
+
.selected-svg {
|
|
156
|
+
width: 16px;
|
|
157
|
+
position: absolute;
|
|
158
|
+
left: 95%;
|
|
159
|
+
transform: translate(-70%, -50%);
|
|
160
|
+
top: 50%;
|
|
161
|
+
}
|
|
162
|
+
`),customElements.get("cdtr-dropdown-item")||customElements.define("cdtr-dropdown-item",Pt),customElements.get("cdtr-dropdown-button")||customElements.define("cdtr-dropdown-button",kt),customElements.get("cdtr-dropdown")||customElements.define("cdtr-dropdown",St)}}]);
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @license
|
|
15
|
+
* Copyright 2020 Google LLC
|
|
16
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
+
*/
|
|
Binary file
|
|
Binary file
|