@creaditor/newsletter-starterkit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +258 -0
- package/dist/1030.creaditor.bundle.js +318 -0
- package/dist/1030.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/1030.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1030.creaditor.bundle.js.gz +0 -0
- package/dist/1101.creaditor.bundle.js +21 -0
- package/dist/1101.creaditor.bundle.js.gz +0 -0
- package/dist/116.creaditor.bundle.js +23 -0
- package/dist/116.creaditor.bundle.js.gz +0 -0
- package/dist/1199.creaditor.bundle.js +23 -0
- package/dist/1199.creaditor.bundle.js.gz +0 -0
- package/dist/132.creaditor.bundle.js +30 -0
- package/dist/132.creaditor.bundle.js.gz +0 -0
- package/dist/1366.creaditor.bundle.js +238 -0
- package/dist/1366.creaditor.bundle.js.LICENSE.txt +21 -0
- package/dist/1366.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1366.creaditor.bundle.js.gz +0 -0
- package/dist/1381.creaditor.bundle.js +6 -0
- package/dist/1381.creaditor.bundle.js.gz +0 -0
- package/dist/1410.creaditor.bundle.js +236 -0
- package/dist/1410.creaditor.bundle.js.LICENSE.txt +21 -0
- package/dist/1410.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1410.creaditor.bundle.js.gz +0 -0
- package/dist/1449.creaditor.bundle.js +604 -0
- package/dist/1449.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/1449.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1449.creaditor.bundle.js.gz +0 -0
- package/dist/1582.creaditor.bundle.js +23 -0
- package/dist/1582.creaditor.bundle.js.gz +0 -0
- package/dist/1650.creaditor.bundle.js +23 -0
- package/dist/1650.creaditor.bundle.js.gz +0 -0
- package/dist/168.creaditor.bundle.js +142 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt +20 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/168.creaditor.bundle.js.gz +0 -0
- package/dist/1731.creaditor.bundle.js +51 -0
- package/dist/1731.creaditor.bundle.js.gz +0 -0
- package/dist/1790.creaditor.bundle.js +1 -0
- package/dist/1790.creaditor.bundle.js.gz +0 -0
- package/dist/185.creaditor.bundle.js +114 -0
- package/dist/185.creaditor.bundle.js.gz +0 -0
- package/dist/1867.creaditor.bundle.js +171 -0
- package/dist/1867.creaditor.bundle.js.gz +0 -0
- package/dist/19.creaditor.bundle.js +36 -0
- package/dist/19.creaditor.bundle.js.gz +0 -0
- package/dist/201.creaditor.bundle.js +98 -0
- package/dist/201.creaditor.bundle.js.gz +0 -0
- package/dist/2012.creaditor.bundle.js +6 -0
- package/dist/2012.creaditor.bundle.js.gz +0 -0
- package/dist/2022.creaditor.bundle.js +13 -0
- package/dist/2022.creaditor.bundle.js.gz +0 -0
- package/dist/2050.creaditor.bundle.js +16 -0
- package/dist/2050.creaditor.bundle.js.gz +0 -0
- package/dist/2087.creaditor.bundle.js +25 -0
- package/dist/2087.creaditor.bundle.js.gz +0 -0
- package/dist/2111.creaditor.bundle.js +23 -0
- package/dist/2111.creaditor.bundle.js.gz +0 -0
- package/dist/2118.creaditor.bundle.js +23 -0
- package/dist/2118.creaditor.bundle.js.gz +0 -0
- package/dist/2182.creaditor.bundle.js +27 -0
- package/dist/2182.creaditor.bundle.js.gz +0 -0
- package/dist/2340.creaditor.bundle.js +440 -0
- package/dist/2340.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/2340.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2340.creaditor.bundle.js.gz +0 -0
- package/dist/2357.creaditor.bundle.js +25 -0
- package/dist/2357.creaditor.bundle.js.gz +0 -0
- package/dist/2365.creaditor.bundle.js +25 -0
- package/dist/2365.creaditor.bundle.js.gz +0 -0
- package/dist/2397.creaditor.bundle.js +661 -0
- package/dist/2397.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/2397.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2397.creaditor.bundle.js.gz +0 -0
- package/dist/2416.creaditor.bundle.js +32 -0
- package/dist/2416.creaditor.bundle.js.gz +0 -0
- package/dist/2455.creaditor.bundle.js +75 -0
- package/dist/2455.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/2455.creaditor.bundle.js.gz +0 -0
- package/dist/2475.creaditor.bundle.js +177 -0
- package/dist/2475.creaditor.bundle.js.LICENSE.txt +23 -0
- package/dist/2475.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2475.creaditor.bundle.js.gz +0 -0
- package/dist/2543.creaditor.bundle.js +112 -0
- package/dist/2543.creaditor.bundle.js.gz +0 -0
- package/dist/2605.creaditor.bundle.js +171 -0
- package/dist/2605.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/2605.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2605.creaditor.bundle.js.gz +0 -0
- package/dist/2609.creaditor.bundle.js +2 -0
- package/dist/2609.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/2609.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2609.creaditor.bundle.js.gz +0 -0
- package/dist/2721.creaditor.bundle.js +11 -0
- package/dist/2721.creaditor.bundle.js.gz +0 -0
- package/dist/2757.creaditor.bundle.js +1 -0
- package/dist/2757.creaditor.bundle.js.gz +0 -0
- package/dist/296.creaditor.bundle.js +11 -0
- package/dist/296.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/296.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/296.creaditor.bundle.js.gz +0 -0
- package/dist/2977.creaditor.bundle.js +53 -0
- package/dist/2977.creaditor.bundle.js.gz +0 -0
- package/dist/3020.creaditor.bundle.js +13 -0
- package/dist/3020.creaditor.bundle.js.gz +0 -0
- package/dist/308.creaditor.bundle.js +16 -0
- package/dist/308.creaditor.bundle.js.gz +0 -0
- package/dist/315.creaditor.bundle.js +142 -0
- package/dist/315.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/315.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/315.creaditor.bundle.js.gz +0 -0
- package/dist/335.creaditor.bundle.js +23 -0
- package/dist/335.creaditor.bundle.js.gz +0 -0
- package/dist/3381.creaditor.bundle.js +40 -0
- package/dist/3381.creaditor.bundle.js.gz +0 -0
- package/dist/3453.creaditor.bundle.js +23 -0
- package/dist/3453.creaditor.bundle.js.gz +0 -0
- package/dist/3585.creaditor.bundle.js +1 -0
- package/dist/3585.creaditor.bundle.js.gz +0 -0
- package/dist/3614.creaditor.bundle.js +26 -0
- package/dist/3614.creaditor.bundle.js.gz +0 -0
- package/dist/3622.creaditor.bundle.js +236 -0
- package/dist/3622.creaditor.bundle.js.gz +0 -0
- package/dist/3691.creaditor.bundle.js +2 -0
- package/dist/3691.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/3691.creaditor.bundle.js.gz +0 -0
- package/dist/3727.creaditor.bundle.js +227 -0
- package/dist/3727.creaditor.bundle.js.gz +0 -0
- package/dist/3732.creaditor.bundle.js +15 -0
- package/dist/3732.creaditor.bundle.js.gz +0 -0
- package/dist/3755.creaditor.bundle.js +94 -0
- package/dist/3755.creaditor.bundle.js.gz +0 -0
- package/dist/3778.creaditor.bundle.js +1 -0
- package/dist/3778.creaditor.bundle.js.gz +0 -0
- package/dist/3794.creaditor.bundle.js +34 -0
- package/dist/3794.creaditor.bundle.js.gz +0 -0
- package/dist/3831.creaditor.bundle.js +23 -0
- package/dist/3831.creaditor.bundle.js.gz +0 -0
- package/dist/3847.creaditor.bundle.js +34 -0
- package/dist/3847.creaditor.bundle.js.gz +0 -0
- package/dist/4.creaditor.bundle.js +6 -0
- package/dist/4.creaditor.bundle.js.gz +0 -0
- package/dist/4050.creaditor.bundle.js +424 -0
- package/dist/4050.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/4050.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4050.creaditor.bundle.js.gz +0 -0
- package/dist/4128.creaditor.bundle.js +395 -0
- package/dist/4128.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/4128.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4128.creaditor.bundle.js.gz +0 -0
- package/dist/4159.creaditor.bundle.js +453 -0
- package/dist/4159.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/4159.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4159.creaditor.bundle.js.gz +0 -0
- package/dist/42.creaditor.bundle.js +18 -0
- package/dist/42.creaditor.bundle.js.gz +0 -0
- package/dist/4212.creaditor.bundle.js +72 -0
- package/dist/4212.creaditor.bundle.js.gz +0 -0
- package/dist/4455.creaditor.bundle.js +16 -0
- package/dist/4455.creaditor.bundle.js.gz +0 -0
- package/dist/4473.creaditor.bundle.js +51 -0
- package/dist/4473.creaditor.bundle.js.gz +0 -0
- package/dist/4569.creaditor.bundle.js +23 -0
- package/dist/4569.creaditor.bundle.js.gz +0 -0
- package/dist/4648.creaditor.bundle.js +122 -0
- package/dist/4648.creaditor.bundle.js.gz +0 -0
- package/dist/4661.creaditor.bundle.js +25 -0
- package/dist/4661.creaditor.bundle.js.gz +0 -0
- package/dist/4807.creaditor.bundle.js +105 -0
- package/dist/4807.creaditor.bundle.js.gz +0 -0
- package/dist/4900.creaditor.bundle.js +19 -0
- package/dist/4900.creaditor.bundle.js.gz +0 -0
- package/dist/494.creaditor.bundle.js +23 -0
- package/dist/494.creaditor.bundle.js.gz +0 -0
- package/dist/5034.creaditor.bundle.js +27 -0
- package/dist/5034.creaditor.bundle.js.gz +0 -0
- package/dist/5090.creaditor.bundle.js +173 -0
- package/dist/5090.creaditor.bundle.js.gz +0 -0
- package/dist/5204.creaditor.bundle.js +1 -0
- package/dist/5204.creaditor.bundle.js.gz +0 -0
- package/dist/5246.creaditor.bundle.js +900 -0
- package/dist/5246.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/5246.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5246.creaditor.bundle.js.gz +0 -0
- package/dist/5320.creaditor.bundle.js +408 -0
- package/dist/5320.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/5320.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5320.creaditor.bundle.js.gz +0 -0
- package/dist/5349.creaditor.bundle.js +289 -0
- package/dist/5349.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/5349.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5349.creaditor.bundle.js.gz +0 -0
- package/dist/5478.creaditor.bundle.js +18 -0
- package/dist/5478.creaditor.bundle.js.gz +0 -0
- package/dist/5581.creaditor.bundle.js +23 -0
- package/dist/5581.creaditor.bundle.js.gz +0 -0
- package/dist/5848.creaditor.bundle.js +14 -0
- package/dist/5848.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/5848.creaditor.bundle.js.gz +0 -0
- package/dist/5910.creaditor.bundle.js +11 -0
- package/dist/5910.creaditor.bundle.js.gz +0 -0
- package/dist/5978.creaditor.bundle.js +73 -0
- package/dist/5978.creaditor.bundle.js.gz +0 -0
- package/dist/5985.creaditor.bundle.js +109 -0
- package/dist/5985.creaditor.bundle.js.gz +0 -0
- package/dist/6046.creaditor.bundle.js +36 -0
- package/dist/6046.creaditor.bundle.js.gz +0 -0
- package/dist/6052.creaditor.bundle.js +113 -0
- package/dist/6052.creaditor.bundle.js.gz +0 -0
- package/dist/6069.creaditor.bundle.js +1 -0
- package/dist/6069.creaditor.bundle.js.gz +0 -0
- package/dist/6080.creaditor.bundle.js +9 -0
- package/dist/6080.creaditor.bundle.js.gz +0 -0
- package/dist/6178.creaditor.bundle.js +60 -0
- package/dist/6178.creaditor.bundle.js.gz +0 -0
- package/dist/6196.creaditor.bundle.js +12 -0
- package/dist/6196.creaditor.bundle.js.gz +0 -0
- package/dist/6220.creaditor.bundle.js +381 -0
- package/dist/6220.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/6220.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6220.creaditor.bundle.js.gz +0 -0
- package/dist/6234.creaditor.bundle.js +1 -0
- package/dist/6234.creaditor.bundle.js.gz +0 -0
- package/dist/6236.creaditor.bundle.js +51 -0
- package/dist/6236.creaditor.bundle.js.gz +0 -0
- package/dist/6308.creaditor.bundle.js +102 -0
- package/dist/6308.creaditor.bundle.js.gz +0 -0
- package/dist/6354.creaditor.bundle.js +179 -0
- package/dist/6354.creaditor.bundle.js.LICENSE.txt +21 -0
- package/dist/6354.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6354.creaditor.bundle.js.gz +0 -0
- package/dist/6430.creaditor.bundle.js +131 -0
- package/dist/6430.creaditor.bundle.js.gz +0 -0
- package/dist/6479.creaditor.bundle.js +24 -0
- package/dist/6479.creaditor.bundle.js.gz +0 -0
- package/dist/6491.creaditor.bundle.js +79 -0
- package/dist/6491.creaditor.bundle.js.gz +0 -0
- package/dist/6524.creaditor.bundle.js +20 -0
- package/dist/6524.creaditor.bundle.js.gz +0 -0
- package/dist/6577.creaditor.bundle.js +21 -0
- package/dist/6577.creaditor.bundle.js.gz +0 -0
- package/dist/6588.creaditor.bundle.js +99 -0
- package/dist/6588.creaditor.bundle.js.gz +0 -0
- package/dist/6593.creaditor.bundle.js +14 -0
- package/dist/6593.creaditor.bundle.js.gz +0 -0
- package/dist/6652.creaditor.bundle.js +1 -0
- package/dist/6652.creaditor.bundle.js.gz +0 -0
- package/dist/6700.creaditor.bundle.js +1 -0
- package/dist/6700.creaditor.bundle.js.gz +0 -0
- package/dist/6724.creaditor.bundle.js +75 -0
- package/dist/6724.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/6724.creaditor.bundle.js.gz +0 -0
- package/dist/6737.creaditor.bundle.js +61 -0
- package/dist/6737.creaditor.bundle.js.gz +0 -0
- package/dist/6807.creaditor.bundle.js +21 -0
- package/dist/6807.creaditor.bundle.js.gz +0 -0
- package/dist/6826.creaditor.bundle.js +23 -0
- package/dist/6826.creaditor.bundle.js.gz +0 -0
- package/dist/6848.creaditor.bundle.js +130 -0
- package/dist/6848.creaditor.bundle.js.gz +0 -0
- package/dist/6883.creaditor.bundle.js +14 -0
- package/dist/6883.creaditor.bundle.js.gz +0 -0
- package/dist/6892.creaditor.bundle.js +17 -0
- package/dist/6892.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/6892.creaditor.bundle.js.gz +0 -0
- package/dist/6961.creaditor.bundle.js +8 -0
- package/dist/6961.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/6961.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6961.creaditor.bundle.js.gz +0 -0
- package/dist/6964.creaditor.bundle.js +162 -0
- package/dist/6964.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/6964.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6964.creaditor.bundle.js.gz +0 -0
- package/dist/6993.creaditor.bundle.js +46 -0
- package/dist/6993.creaditor.bundle.js.gz +0 -0
- package/dist/7035.creaditor.bundle.js +67 -0
- package/dist/7035.creaditor.bundle.js.gz +0 -0
- package/dist/709.creaditor.bundle.js +18 -0
- package/dist/709.creaditor.bundle.js.gz +0 -0
- package/dist/7149.creaditor.bundle.js +23 -0
- package/dist/7149.creaditor.bundle.js.gz +0 -0
- package/dist/7302.creaditor.bundle.js +2 -0
- package/dist/7302.creaditor.bundle.js.LICENSE.txt +1 -0
- package/dist/7302.creaditor.bundle.js.gz +0 -0
- package/dist/7490.creaditor.bundle.js +1 -0
- package/dist/7490.creaditor.bundle.js.gz +0 -0
- package/dist/7511.creaditor.bundle.js +21 -0
- package/dist/7511.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/7511.creaditor.bundle.js.gz +0 -0
- package/dist/7576.creaditor.bundle.js +23 -0
- package/dist/7576.creaditor.bundle.js.gz +0 -0
- package/dist/7597.creaditor.bundle.js +47 -0
- package/dist/7597.creaditor.bundle.js.gz +0 -0
- package/dist/7804.creaditor.bundle.js +60 -0
- package/dist/7804.creaditor.bundle.js.gz +0 -0
- package/dist/7837.creaditor.bundle.js +63 -0
- package/dist/7837.creaditor.bundle.js.gz +0 -0
- package/dist/7911.creaditor.bundle.js +965 -0
- package/dist/7911.creaditor.bundle.js.gz +0 -0
- package/dist/7946.creaditor.bundle.js +1 -0
- package/dist/7946.creaditor.bundle.js.gz +0 -0
- package/dist/7988.creaditor.bundle.js +440 -0
- package/dist/7988.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/7988.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7988.creaditor.bundle.js.gz +0 -0
- package/dist/8073.creaditor.bundle.js +12 -0
- package/dist/8073.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/8287.creaditor.bundle.js +8 -0
- package/dist/8287.creaditor.bundle.js.gz +0 -0
- package/dist/8290.creaditor.bundle.js +23 -0
- package/dist/8290.creaditor.bundle.js.gz +0 -0
- package/dist/8312.creaditor.bundle.js +44 -0
- package/dist/8312.creaditor.bundle.js.gz +0 -0
- package/dist/8333.creaditor.bundle.js +40 -0
- package/dist/8333.creaditor.bundle.js.gz +0 -0
- package/dist/8522.creaditor.bundle.js +20 -0
- package/dist/8522.creaditor.bundle.js.gz +0 -0
- package/dist/8550.creaditor.bundle.js +2 -0
- package/dist/8550.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/8550.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8550.creaditor.bundle.js.gz +0 -0
- package/dist/8642.creaditor.bundle.js +274 -0
- package/dist/8642.creaditor.bundle.js.gz +0 -0
- package/dist/865.creaditor.bundle.js +28 -0
- package/dist/865.creaditor.bundle.js.gz +0 -0
- package/dist/8718.creaditor.bundle.js +93 -0
- package/dist/8718.creaditor.bundle.js.gz +0 -0
- package/dist/8724.creaditor.bundle.js +15 -0
- package/dist/8724.creaditor.bundle.js.gz +0 -0
- package/dist/8885.creaditor.bundle.js +23 -0
- package/dist/8885.creaditor.bundle.js.gz +0 -0
- package/dist/9000.creaditor.bundle.js +1 -0
- package/dist/9000.creaditor.bundle.js.gz +0 -0
- package/dist/9001.creaditor.bundle.js +12 -0
- package/dist/9001.creaditor.bundle.js.gz +0 -0
- package/dist/901.creaditor.bundle.js +274 -0
- package/dist/901.creaditor.bundle.js.gz +0 -0
- package/dist/9050.creaditor.bundle.js +19 -0
- package/dist/9050.creaditor.bundle.js.gz +0 -0
- package/dist/9113.creaditor.bundle.js +407 -0
- package/dist/9113.creaditor.bundle.js.gz +0 -0
- package/dist/9136.creaditor.bundle.js +33 -0
- package/dist/9136.creaditor.bundle.js.gz +0 -0
- package/dist/9201.creaditor.bundle.js +130 -0
- package/dist/9201.creaditor.bundle.js.LICENSE.txt +20 -0
- package/dist/9201.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9201.creaditor.bundle.js.gz +0 -0
- package/dist/9203.creaditor.bundle.js +956 -0
- package/dist/9203.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/9203.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9203.creaditor.bundle.js.gz +0 -0
- package/dist/9265.creaditor.bundle.js +1 -0
- package/dist/9265.creaditor.bundle.js.gz +0 -0
- package/dist/9394.creaditor.bundle.js +25 -0
- package/dist/9394.creaditor.bundle.js.gz +0 -0
- package/dist/9476.creaditor.bundle.js +72 -0
- package/dist/9476.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/9476.creaditor.bundle.js.gz +0 -0
- package/dist/9530.creaditor.bundle.js +69 -0
- package/dist/9530.creaditor.bundle.js.gz +0 -0
- package/dist/9628.creaditor.bundle.js +455 -0
- package/dist/9628.creaditor.bundle.js.LICENSE.txt +10 -0
- package/dist/9628.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9628.creaditor.bundle.js.gz +0 -0
- package/dist/966.creaditor.bundle.js +23 -0
- package/dist/966.creaditor.bundle.js.gz +0 -0
- package/dist/9766.creaditor.bundle.js +267 -0
- package/dist/9766.creaditor.bundle.js.gz +0 -0
- package/dist/9800.creaditor.bundle.js +1 -0
- package/dist/9800.creaditor.bundle.js.gz +0 -0
- package/dist/9838.creaditor.bundle.js +65 -0
- package/dist/9838.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/9838.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9838.creaditor.bundle.js.gz +0 -0
- package/dist/9928.creaditor.bundle.js +32 -0
- package/dist/9928.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor-starterkit.js +5395 -0
- package/dist/creaditor-starterkit.js.LICENSE.txt +110 -0
- package/dist/creaditor-starterkit.js.LICENSE.txt.gz +0 -0
- package/dist/creaditor-starterkit.js.gz +0 -0
- package/dist/creaditor.bundle.js +5394 -0
- package/dist/creaditor.bundle.js.LICENSE.txt +110 -0
- package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/creaditor.bundle.js.gz +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-e24b9bdc.js +1 -0
- package/dist/workbox-e24b9bdc.js.gz +0 -0
- package/package.json +35 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2757],{52757:(e,t,n)=>{n.r(t),n.d(t,{ParticlesJsBackground:()=>o});var i=n(56666),a=n(21293),s=n(27338),c=n(9571);class o extends a.oi{constructor(){super(),(0,i.Z)(this,"containerRef",(0,s.V)()),this.containerId="particles-"+(0,c.Z)(),this.config={particles:{number:{value:20},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:10,random:!0,anim:{enable:!1,speed:80,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:300,color:"#484554",opacity:.4,width:2},move:{enable:!0,speed:5,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"repulse"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:800,line_linked:{opacity:1}},bubble:{distance:800,size:80,duration:2,opacity:.8,speed:3},repulse:{distance:400,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}}createRenderRoot(){return this}render(){return a.dy`<div id=${this.containerId} ${(0,s.i)(this.containerRef)}></div>`}connectedCallback(){super.connectedCallback(),n.e(3778).then(n.t.bind(n,43778,23)).then((()=>{setTimeout((()=>{particlesJS(this.containerId,this.config)}),0)}))}disconnectedCallback(){super.disconnectedCallback()}}(0,i.Z)(o,"properties",{name:{}}),(0,i.Z)(o,"styles",a.iv``),customElements.define("cdtr-particlesjs",o)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*! For license information please see 296.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[296],{60296:(e,t,n)=>{n.r(t),n.d(t,{MyElement:()=>r});var i=n(8427),o=n(62331),s=function(e,t,n,i){var o,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var h=e.length-1;h>=0;h--)(o=e[h])&&(r=(s<3?o(r):s>3?o(t,n,r):o(t,n))||r);return s>3&&r&&Object.defineProperty(t,n,r),r};let r=class extends i.oi{constructor(){super(),this.mode="input",this.value="",this.placeholder="",this.inputStyle="",this.height="26px",this.width="100px",this.value="",this.placeholder="",this.inputEvent=new UIEvent("input",{view:window,bubbles:!0,cancelable:!0}),this.submitEvent=new UIEvent("submit",{view:window,bubbles:!0,cancelable:!0}),this.blurEvent=new UIEvent("blur",{view:window,bubbles:!0,cancelable:!0}),this.changeEvent=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0}),this.focusEvent=new UIEvent("focus",{view:window,bubbles:!0,cancelable:!0}),this.onChangeInput=this.onChangeInput.bind(this),this.onBlurInput=this.onBlurInput.bind(this),this.onFocusInput=this.onFocusInput.bind(this),this.onSubmit=this.onSubmit.bind(this),this.iframe=document.createElement("iframe"),this.form=document.createElement("form"),this.styleTag=document.createElement("style"),this.input=document.createElement("input")}onChangeInput(e){var t;const n=null===(t=e.target)||void 0===t?void 0:t.value;this.value=n;this.dispatchEvent(this.inputEvent),this.dispatchEvent(this.changeEvent)}onSubmit(e){this.dispatchEvent(this.submitEvent),e.preventDefault()}onBlurInput(){this.dispatchEvent(this.blurEvent)}onFocusInput(){this.dispatchEvent(this.focusEvent)}renderIframe(){var e,t;const n=this.iframe,i=this.form;n&&(this.input.setAttribute("style",this.inputStyle),this.input.removeEventListener("input",this.onChangeInput),this.input.addEventListener("input",this.onChangeInput),this.input.addEventListener("blur",this.onBlurInput),this.input.addEventListener("focus",this.onFocusInput),this.input.placeholder=this.placeholder,this.input.value=this.value,this.styleTag.innerHTML='\nbody,html{\n margin:0;\n box-sizing: border-box;\n overflow:hidden;\n}\ninput {\n display: inline-block;\n width: 100%;\n padding: 0.105rem 0.45rem;\n font-size: 14px;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-radius: 0.25rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n margin: 0;\n font-family: Arial, Helvetica, sans-serif;\n border-color:#9EADBD;\n outline:#9EADBD;\n box-sizing: border-box;\n }\n input:hover {\n box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 10%);\n }\n input::placeholder {\n font-family: Arial, Helvetica, sans-serif;\n }\n input:focus {\n border-color: #0088ff;\n box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 25%);\n }\n input[type="number"] {\n padding-right: 0px;\n padding-left: 4px;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n',i.appendChild(this.input),i.removeEventListener("submit",this.onSubmit),i.addEventListener("submit",this.onSubmit),null===(e=n.contentWindow)||void 0===e||e.document.body.appendChild(this.styleTag),null===(t=n.contentWindow)||void 0===t||t.document.body.appendChild(i),n.style.height=this.height,n.style.height=this.height,this.input.style.width=this.width,this.input.style.height=this.height)}connectedCallback(){var e;super.connectedCallback(),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.iframe),this.renderIframe()}focus(){this.input.focus()}render(){return this.input.value="string"==typeof this.value?this.value:"",i.dy``}};r.styles=i.iv`
|
|
3
|
+
* {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
iframe {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
border: none;
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
`,s([(0,o.Cb)({reflect:!0})],r.prototype,"mode",void 0),s([(0,o.Cb)({reflect:!0})],r.prototype,"value",void 0),s([(0,o.Cb)({reflect:!0})],r.prototype,"placeholder",void 0),s([(0,o.Cb)({reflect:!0})],r.prototype,"inputStyle",void 0),s([(0,o.Cb)({reflect:!0})],r.prototype,"height",void 0),s([(0,o.Cb)({reflect:!0})],r.prototype,"width",void 0),r=s([(0,o.Mo)("cdtr-input-iframe")],r)},62331:(e,t,n)=>{n.d(t,{Mo:()=>i,Cb:()=>s});const i=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:n,elements:i}=t;return{kind:n,elements:i,finisher(t){customElements.define(e,t)}}})(e,t),o=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function s(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):o(e,t)}var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements}}]);
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2977],{42475:(e,t,r)=>{r.r(t),r.d(t,{Page500:()=>o});var a=r(56666),i=r(21293);class o extends i.oi{constructor(){super()}render(){return i.dy`<div class="root">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<cdtr-row spacing="1rem">
|
|
4
|
+
<h1><lang-text text="connection_error"></lang-text></h1>
|
|
5
|
+
<p>
|
|
6
|
+
<lang-text
|
|
7
|
+
whiteSpace="break-spaces"
|
|
8
|
+
text="error_client_disconnected"
|
|
9
|
+
></lang-text>
|
|
10
|
+
</p>
|
|
11
|
+
<paper-button
|
|
12
|
+
@click=${()=>window.location.reload()}
|
|
13
|
+
style="background:var(--primary);color:var(--primary-text)"
|
|
14
|
+
><lang-text
|
|
15
|
+
whiteSpace="break-spaces"
|
|
16
|
+
text="click_to_refresh"
|
|
17
|
+
></lang-text
|
|
18
|
+
></paper-button>
|
|
19
|
+
</cdtr-row>
|
|
20
|
+
</div>
|
|
21
|
+
</div>`}}(0,a.Z)(o,"properties",{}),(0,a.Z)(o,"styles",i.iv`
|
|
22
|
+
:host {
|
|
23
|
+
position: fixed;
|
|
24
|
+
width: 100vw;
|
|
25
|
+
height: 100vh;
|
|
26
|
+
left: 0;
|
|
27
|
+
top: 0;
|
|
28
|
+
z-index: 999999;
|
|
29
|
+
background-color: #0000001f;
|
|
30
|
+
}
|
|
31
|
+
.container {
|
|
32
|
+
left: 50%;
|
|
33
|
+
top: 50%;
|
|
34
|
+
position: absolute;
|
|
35
|
+
transform: translate(-50%, -50%);
|
|
36
|
+
background: #fff;
|
|
37
|
+
width: 700px;
|
|
38
|
+
z-index: 9999999;
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
|
41
|
+
padding: 3rem;
|
|
42
|
+
direction: var(--direction-locale);
|
|
43
|
+
text-align: var(--text-align-locale);
|
|
44
|
+
}
|
|
45
|
+
svg {
|
|
46
|
+
max-width: 500px;
|
|
47
|
+
}
|
|
48
|
+
h1 {
|
|
49
|
+
font-family: Arial;
|
|
50
|
+
color: var(--primary);
|
|
51
|
+
margin: 0;
|
|
52
|
+
}
|
|
53
|
+
`),customElements.define("cdtr-500",o)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3020],{63020:(t,e,i)=>{i.r(e),i.d(e,{DropOffIcon:()=>n});var s=i(56666),h=i(21293);class n extends h.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.dy`<svg
|
|
2
|
+
style="${this.iconStyle}"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 24 24"
|
|
5
|
+
width="${this.width}"
|
|
6
|
+
height="${this.height}"
|
|
7
|
+
>
|
|
8
|
+
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
|
+
<path
|
|
10
|
+
d="M18.154 19.568A9 9 0 0 1 5.432 6.846L1.393 2.808l1.415-1.415 19.799 19.8-1.415 1.414-3.038-3.04zM6.847 8.262a7 7 0 0 0 9.891 9.89l-9.89-9.89zM20.414 16.2l-1.599-1.599a6.995 6.995 0 0 0-1.865-6.55L12 3.1 9.657 5.443 8.243 4.03 12 .272l6.364 6.364a9.002 9.002 0 0 1 2.05 9.564z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}(0,s.Z)(n,"styles",h.iv`
|
|
13
|
+
`),(0,s.Z)(n,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-drop-off-icon",n)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[308],{90308:(t,e,i)=>{i.r(e),i.d(e,{ArrowIcon:()=>r});var s=i(56666),h=i(21293);class r extends h.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){if(this.to&&"left"===this.to)this.style.transform="rotate(180deg)";return h.dy`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
viewBox="0 0 24 24"
|
|
4
|
+
style="${this.iconStyle}"
|
|
5
|
+
width="${this.width}"
|
|
6
|
+
height="${this.height}"
|
|
7
|
+
>
|
|
8
|
+
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
|
+
<path
|
|
10
|
+
d="M13.172 12l-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}(0,s.Z)(r,"styles",h.iv`
|
|
13
|
+
:host {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
}
|
|
16
|
+
`),(0,s.Z)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String},to:{type:String,reflect:!0}}),customElements.define("cdtr-arrow-icon",r)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*! For license information please see 315.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[315],{70315:(t,e,s)=>{s.r(e),s.d(e,{UserMenu:()=>ft});const i=globalThis,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;let a=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}};const l=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,o))(e)})(t):t,{is:h,defineProperty:d,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:u,getPrototypeOf:v}=Object,$=globalThis,f=$.trustedTypes,g=f?f.emptyScript:"",_=$.reactiveElementPolyfillSupport,m=(t,e)=>t,y={toAttribute(t,e){switch(e){case Boolean:t=t?g: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}},A=(t,e)=>!h(t,e),b={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:A};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),$.litPropertyMetadata??($.litPropertyMetadata=new WeakMap);let E=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&d(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=c(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==r||r.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...p(t),...u(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(l(t))}else void 0!==t&&e.push(l(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"),r=i.litNonce;void 0!==r&&e.setAttribute("nonce",r),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),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const o=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:y).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){var s,i;const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:y;this._$Em=o;const a=n.fromAttribute(e,t.type);this[o]=a??(null==(i=this._$Ej)?void 0:i.get(o))??a,this._$Em=null}}requestUpdate(t,e,s){var i;if(void 0!==t){const r=this.constructor,o=this[t];if(s??(s=r.getPropertyOptions(t)),!((s.hasChanged??A)(o,e)||s.useDefault&&s.reflect&&o===(null==(i=this._$Ej)?void 0:i.get(t))&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,s,i){let{useDefault:r,reflect:o,wrapped:n}=s;r&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==n||void 0!==i)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,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){}};E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[m("elementProperties")]=new Map,E[m("finalized")]=new Map,null==_||_({ReactiveElement:E}),($.reactiveElementVersions??($.reactiveElementVersions=[])).push("2.1.1");const w=globalThis,S=w.trustedTypes,x=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",P=`lit$${Math.random().toFixed(9).slice(2)}$`,U="?"+P,O=`<${U}>`,M=document,H=()=>M.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,N="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,j=/>/g,z=RegExp(`>|${N}(?:([^\\s"'>=/]+)(${N}*=${N}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),D=/'/g,B=/"/g,I=/^(?:script|style|textarea|title)$/i,V=(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}}),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),J=new WeakMap,K=M.createTreeWalker(M,129);var Z;function F(t,e){if(!k(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}class G{constructor(t,e){let s,{strings:i,_$litType$:r}=t;this.parts=[];let o=0,n=0;const a=i.length-1,l=this.parts,[h,d]=((t,e)=>{const s=t.length-1,i=[];let r,o=2===e?"<svg>":3===e?"<math>":"",n=R;for(let e=0;e<s;e++){const s=t[e];let a,l,h=-1,d=0;for(;d<s.length&&(n.lastIndex=d,l=n.exec(s),null!==l);)d=n.lastIndex,n===R?"!--"===l[1]?n=L:void 0!==l[1]?n=j:void 0!==l[2]?(I.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=z):void 0!==l[3]&&(n=z):n===z?">"===l[0]?(n=r??R,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?z:'"'===l[3]?B:D):n===B||n===D?n=z:n===L||n===j?n=R:(n=z,r=void 0);const c=n===z&&t[e+1].startsWith("/>")?" ":"";o+=n===R?s+O:h>=0?(i.push(a),s.slice(0,h)+C+s.slice(h)+P+c):s+P+(-2===h?e:c)}return[F(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]})(i,r);if(this.el=G.createElement(h,e),K.currentNode=this.el.content,2===r||3===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=K.nextNode())&&l.length<a;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(C)){const e=d[n++],i=s.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:o,name:r[2],strings:i,ctor:"."===r[1]?et:"?"===r[1]?st:"@"===r[1]?it:tt}),s.removeAttribute(t)}else t.startsWith(P)&&(l.push({type:6,index:o}),s.removeAttribute(t));if(I.test(s.tagName)){const t=s.textContent.split(P),e=t.length-1;if(e>0){s.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],H()),K.nextNode(),l.push({type:2,index:++o});s.append(t[e],H())}}}else if(8===s.nodeType)if(s.data===U)l.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(P,t+1));)l.push({type:7,index:o}),t+=P.length-1}o++}}static createElement(t,e){const s=M.createElement("template");return s.innerHTML=t,s}}function Q(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0;var r,o;if(e===q)return e;let n=void 0!==i?null==(r=s._$Co)?void 0:r[i]:s._$Cl;const a=T(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==a&&(null==(o=null==n?void 0:n._$AO)||o.call(n,!1),void 0===a?n=void 0:(n=new a(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??(s._$Co=[]))[i]=n:s._$Cl=n),void 0!==n&&(e=Q(t,n._$AS(t,e.values),n,i)),e}class X{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((null==t?void 0:t.creationScope)??M).importNode(e,!0);K.currentNode=i;let r=K.nextNode(),o=0,n=0,a=s[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new Y(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new rt(r,this,t)),this._$AV.push(e),a=s[++n]}o!==(null==a?void 0:a.index)&&(r=K.nextNode(),o++)}return K.currentNode=M,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 Y{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=W,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=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),T(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>k(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!==W&&T(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=G.createElement(F(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.p(s);else{const t=new X(r,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 G(t)),e}k(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new Y(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(r),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 tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=W}_$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 r=this.strings;let o=!1;if(void 0===r)t=Q(this,t,e,0),o=!T(t)||t!==this._$AH&&t!==q,o&&(this._$AH=t);else{const i=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=Q(this,i[s+n],e,n),a===q&&(a=this._$AH[n]),o||(o=!T(a)||a!==this._$AH[n]),a===W?t=W:t!==W&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}o&&!i&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}class st extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==W)}}class it extends tt{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t){if((t=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??W)===q)return;const e=this._$AH,s=t===W&&e!==W||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==W&&(e===W||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 rt{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){Q(this,t)}}const ot=w.litHtmlPolyfillSupport;null==ot||ot(G,Y),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.3.1");const nt=globalThis;class at extends E{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 r=i._$litPart$;if(void 0===r){const t=(null==s?void 0:s.renderBefore)??null;i._$litPart$=r=new Y(e.insertBefore(H(),t),t,void 0,s??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return q}}var lt;at._$litElement$=!0,at.finalized=!0,null==(lt=nt.litElementHydrateSupport)||lt.call(nt,{LitElement:at});const ht=nt.litElementPolyfillSupport;null==ht||ht({LitElement:at}),(nt.litElementVersions??(nt.litElementVersions=[])).push("4.2.1");const dt={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:A},ct=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dt,e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;const{kind:i,metadata:r}=s;let o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),"setter"===i&&((t=Object.create(t)).wrapped=!0),o.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const r=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t,e),e}}}if("setter"===i){const{name:i}=s;return function(s){const r=this[i];e.call(this,s),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function pt(t){return(e,s)=>"object"==typeof s?ct(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}var ut=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,$t=(t,e,s,i)=>{for(var r,o=i>1?void 0:i?vt(e,s):e,n=t.length-1;n>=0;n--)(r=t[n])&&(o=(i?r(e,s,o):r(o))||o);return i&&o&&ut(e,s,o),o};customElements.get("cdtr-dropdown")||s.e(6964).then(s.bind(s,6964));let ft=class extends at{constructor(){super(),this.username="",this.avatarUrl="",this.onLogout=()=>{const t=new CustomEvent("logout");this.dispatchEvent(t)},this.logoutText="Logout"}handleLogout(){console.log("Logout clicked"),this.onLogout()}getInitials(){return this.username?this.username.split(" ").map((t=>t.charAt(0))).join("").toUpperCase().slice(0,2):"?"}renderAvatar(){return this.avatarUrl?V`<img src="${this.avatarUrl}" alt="${this.username}" />`:this.username?V`<span class="initials">${this.getInitials()}</span>`:V`
|
|
3
|
+
<svg class="default" viewBox="0 0 24 24" fill="currentColor">
|
|
4
|
+
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/>
|
|
5
|
+
</svg>
|
|
6
|
+
`}render(){return V`
|
|
7
|
+
<cdtr-dropdown>
|
|
8
|
+
<button
|
|
9
|
+
class="avatar ${!this.avatarUrl&&this.username?"initials":this.avatarUrl||this.username?"":"default"}"
|
|
10
|
+
slot="trigger"
|
|
11
|
+
type="button"
|
|
12
|
+
aria-label="User menu"
|
|
13
|
+
aria-haspopup="true"
|
|
14
|
+
aria-expanded="false"
|
|
15
|
+
tabindex="0"
|
|
16
|
+
>
|
|
17
|
+
${this.renderAvatar()}
|
|
18
|
+
</button>
|
|
19
|
+
|
|
20
|
+
<div slot="content">
|
|
21
|
+
<cdtr-dropdown-item
|
|
22
|
+
class="logout"
|
|
23
|
+
@click=${this.handleLogout}
|
|
24
|
+
>
|
|
25
|
+
<svg class="logout-icon" viewBox="0 0 24 24" fill="currentColor">
|
|
26
|
+
<path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/>
|
|
27
|
+
</svg>
|
|
28
|
+
${this.logoutText}
|
|
29
|
+
</cdtr-dropdown-item>
|
|
30
|
+
</div>
|
|
31
|
+
</cdtr-dropdown>
|
|
32
|
+
`}};ft.styles=(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 r=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(r,t,o)})`
|
|
33
|
+
:host {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.avatar-container {
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.avatar {
|
|
42
|
+
width: 40px;
|
|
43
|
+
height: 40px;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
background: var(--primary, #6366f1);
|
|
49
|
+
color: white;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
border: 2px solid transparent;
|
|
53
|
+
transition: all 0.2s ease;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
user-select: none;
|
|
56
|
+
outline: none;
|
|
57
|
+
-webkit-tap-highlight-color: transparent;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
margin: 0;
|
|
60
|
+
padding: 0;
|
|
61
|
+
line-height: 1;
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
vertical-align: middle;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.avatar:hover {
|
|
68
|
+
border-color: var(--primary, #6366f1);
|
|
69
|
+
transform: scale(1.05);
|
|
70
|
+
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.avatar:active {
|
|
74
|
+
transform: scale(0.98);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.avatar:focus {
|
|
78
|
+
border-color: var(--primary, #6366f1);
|
|
79
|
+
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.avatar img {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
object-fit: cover;
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
display: block;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.avatar.initials {
|
|
92
|
+
background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary-dark, #4f46e5));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.avatar.default {
|
|
96
|
+
background: linear-gradient(135deg, #6b7280, #4b5563);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.avatar svg {
|
|
100
|
+
width: 20px;
|
|
101
|
+
height: 20px;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Custom dropdown styling for user menu */
|
|
106
|
+
:host cdtr-dropdown {
|
|
107
|
+
--dropdown-content-min-width: 160px;
|
|
108
|
+
overflow: visible;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host cdtr-dropdown-item {
|
|
112
|
+
padding: 12px 16px;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
transition: background-color 0.2s ease;
|
|
115
|
+
border-bottom: 1px solid #f3f4f6;
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 8px;
|
|
119
|
+
color: #374151;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host cdtr-dropdown-item:last-child {
|
|
123
|
+
border-bottom: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host cdtr-dropdown-item:hover {
|
|
127
|
+
background-color: #f9fafb;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host cdtr-dropdown-item.logout {
|
|
131
|
+
color: #dc2626;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host cdtr-dropdown-item.logout:hover {
|
|
135
|
+
background-color: #fef2f2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.logout-icon {
|
|
139
|
+
width: 16px;
|
|
140
|
+
height: 16px;
|
|
141
|
+
}
|
|
142
|
+
`,$t([pt({type:String})],ft.prototype,"username",2),$t([pt({type:String})],ft.prototype,"avatarUrl",2),$t([pt({attribute:!1})],ft.prototype,"onLogout",2),$t([pt({type:String})],ft.prototype,"logoutText",2),ft=$t([(t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("cdtr-user-menu")],ft)}}]);
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[335],{20335:(t,i,e)=>{e.r(i),e.d(i,{TimeIcon:()=>r});var h=e(56666),s=e(21293);class r extends s.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.dy`<svg
|
|
2
|
+
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="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm1-8h4v2h-6V7h2v5z"
|
|
11
|
+
/>
|
|
12
|
+
</svg>`}}(0,h.Z)(r,"styles",s.iv`
|
|
13
|
+
:host {
|
|
14
|
+
display: inherit;
|
|
15
|
+
--cdtr-icon-width: 20px;
|
|
16
|
+
--cdtr-icon-height: 20px;
|
|
17
|
+
}
|
|
18
|
+
svg {
|
|
19
|
+
width: var(--cdtr-icon-width);
|
|
20
|
+
height: var(--cdtr-icon-height);
|
|
21
|
+
color: var(--cdtr-icon-color);
|
|
22
|
+
}
|
|
23
|
+
`),(0,h.Z)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-time-icon",r)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3381],{63381:(e,t,i)=>{i.r(t),i.d(t,{MergeTags:()=>o});var r=i(56666),s=i(21293),a=i(70235);class o extends s.oi{constructor(){super()}connectedCallback(){if(super.connectedCallback(),this.level=0,this.mergeTags=a.h.get("config","editor","configure","editorProps","mergeTags","items"),!this.mergeTags)return s.dy``;this.storage={0:[...this.mergeTags]},this.pprefix=a.h.get("config","editor","configure","editorProps","mergeTags","prefix")||"",this.suffix=a.h.get("config","editor","configure","editorProps","mergeTags","suffix")||"",this.title=a.h.get("config","editor","configure","editorProps","mergeTags","title")||"Merge Tags",this.createdEvent=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0})}dispatch(e){this.value=this.pprefix+e.target.value+this.suffix,this.dispatchEvent(this.createdEvent)}render(){return this.mergeTags?s.dy`<cdtr-list-picker
|
|
2
|
+
.height="${this.height}"
|
|
3
|
+
.left="${this.left}"
|
|
4
|
+
@change="${this.dispatch}"
|
|
5
|
+
.title="${this.title}"
|
|
6
|
+
heading="${this.title}"
|
|
7
|
+
.list=${this.mergeTags}
|
|
8
|
+
hasModal=${!0}
|
|
9
|
+
hasSearch=${!0}
|
|
10
|
+
></cdtr-list-picker> `:s.dy``}}(0,r.Z)(o,"styles",s.iv`
|
|
11
|
+
@keyframes slide-in {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: translateX(10%);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
to {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transform: translateX(0%);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.animate {
|
|
23
|
+
animation: slide-in 0.2s ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
.dropdown-content {
|
|
26
|
+
width: 220px;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
max-width: 100%;
|
|
29
|
+
position: fixed;
|
|
30
|
+
z-index: 9999;
|
|
31
|
+
background: rgb(255, 255, 255);
|
|
32
|
+
height: 100%;
|
|
33
|
+
top: 52px;
|
|
34
|
+
padding: 10px;
|
|
35
|
+
box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
|
|
36
|
+
max-height: 60vh;
|
|
37
|
+
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
|
|
38
|
+
border-radius: 10px;
|
|
39
|
+
}
|
|
40
|
+
`),(0,r.Z)(o,"properties",{value:{type:String,reflect:!1},mergeTags:{type:Array},level:{type:Number},left:{type:String},top:{type:String},height:{type:Number}}),customElements.define("cdtr-merge-tags",o)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3453],{13453:(t,i,e)=>{e.r(i),e.d(i,{BackgroundIcon:()=>s});var h=e(56666),r=e(21293);class s extends r.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.dy`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
viewBox="0 0 24 24"
|
|
4
|
+
style="${this.iconStyle}"
|
|
5
|
+
width="${this.width}"
|
|
6
|
+
height="${this.height}"
|
|
7
|
+
>
|
|
8
|
+
<path fill="none" d="M0 0H24V24H0z" />
|
|
9
|
+
<path
|
|
10
|
+
d="M20 3c.552 0 1 .448 1 1v1.757l-2 2V5H5v8.1l4-4 4.328 4.329-1.327 1.327-.006 4.239 4.246.006 1.33-1.33L18.899 19H19v-2.758l2-2V20c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm1.778 4.808l1.414 1.414L15.414 17l-1.416-.002.002-1.412 7.778-7.778zM15.5 7c.828 0 1.5.672 1.5 1.5s-.672 1.5-1.5 1.5S14 9.328 14 8.5 14.672 7 15.5 7z"
|
|
11
|
+
/>
|
|
12
|
+
</svg> `}}(0,h.Z)(s,"styles",r.iv`
|
|
13
|
+
:host {
|
|
14
|
+
display: inherit;
|
|
15
|
+
--cdtr-icon-width: 20px;
|
|
16
|
+
--cdtr-icon-height: 20px;
|
|
17
|
+
}
|
|
18
|
+
svg {
|
|
19
|
+
width: var(--cdtr-icon-width);
|
|
20
|
+
height: var(--cdtr-icon-height);
|
|
21
|
+
color: var(--cdtr-icon-color);
|
|
22
|
+
}
|
|
23
|
+
`),(0,h.Z)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-background-icon",s)}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3585],{83585:(e,t,s)=>{s.r(t),s.d(t,{default:()=>C});const n=e=>{{const{component:t,commands:s,helpers:n}=e,o=t.parent("col");return{select:e=>{let{changeTab:t,tab:s}=e},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:r,changeTab:i,tabs:a}=e;const l=[{type:"input",title:"add_urlAddress_from_media_site",active:()=>"design"===r.text,value:t.props.url||"",onChange:e=>{let t=e.target.value;if(-1!==t.indexOf("youtube.com/shorts/")){const e=t.split("/");e.length>0&&(t=`https://youtu.be/${e[e.length-1]}`)}s.execCommand("url",t)}},{type:"divider",active:()=>"design"===r.text},{type:"fontSize",title:"size",min:10,active:()=>"design"===r.text,max:o?.element?.offsetWidth,value:parseInt(t.props.style.width),device:e=>{if("phone"===e.target.device){const s=t.props?.breakpoints?.sm?.style?.width||t.props.style.width;e.target.value=parseInt(s)}else e.target.value=parseInt(t.props.style.width)},onInput:e=>{const t=e.target.value;"phone"===e.target.device?s.execCommand("breakpoints",(e=>{const s=e.props.breakpoints?.sm||{};return{sm:n.deepMerge(s,{style:{width:t+"px",height:e.props.isCircle?t+"px":"auto"}})}})):s.execCommand("style",(e=>({width:t+"px",height:e.props.isCircle?t+"px":"auto"})))}},{type:"divider"},{type:"divider",active:()=>"design"===r.text}];return l}}}};var o=s(46245);const r=()=>({set:(e,t,s)=>{switch(t){case"url":return e[t]=s,!0;case"style":if("object"==typeof s)return s.width&&(s.height=parseFloat(s.width)/1.8+"px"),e[t]=(0,o.Z)(e[t],s),!0}}});var i=s(46062),a=s.n(i),l=s(32877),c=s.n(l),d=s(96793),p=s.n(d),h=s(17892),u=s.n(h),m=s(11173),A=s.n(m),g=s(34024),v={};v.setAttributes=u(),v.insert=p().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=A();a()(g.Z,v);const y=g.Z&&g.Z.locals?g.Z.locals:void 0;s(23691);const b="video";const C=()=>({name:b,create:e=>{const{createElement:t,compose:s,helpers:o}=e,{arrayToString:i,mergeDiff:a}=o,l=document.createElement("div");l.classList.add(y.root);const c=document.createElement("div");c.classList.add(y.cover);const d=document.createElement("cdtr-media-player");return l.append(d,c),l.addEventListener("click",(()=>{d.playing=!1})),t({name:b,id:s.id,template:l,defaultProps:{style:{height:"auto",width:"400px",height:"300px",playing:!1,loop:!1,light:!1,controls:!0,autoPlay:!1,muted:!1,url:"https://www.youtube.com/watch?v=04Or_U9OexU"}},draggable:{group:"element"},droppable:{group:"element"},render:e=>{d.url=s.props.url,a(d,{style:s.props.style}),d.width=s.props.style.width,d.height=s.props.style.height},atomElement:d,resizeable:()=>l,handleBar:!0,validator:r(),schema:s.schema,onSelect:e=>{d.classList.add(e)},onDeselect:e=>{d.classList.remove(e)},elementProps:s,remove:()=>{l.remove()},createEditor:n})}})},34024:(e,t,s)=>{s.d(t,{Z:()=>a});var n=s(40272),o=s.n(n),r=s(82609),i=s.n(r)()(o());i.push([e.id,".L0bAAMsmDgLWsLmiJqDt {\n position: relative;\n max-width: 100%;\n}\n.wkeXKWFE5PovclYk2Cus {\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n opacity: 0.6;\n}\n\n.L0bAAMsmDgLWsLmiJqDt:hover .wkeXKWFE5PovclYk2Cus {\n display: block;\n background-color: var(--primary);\n}\n","",{version:3,sources:["webpack://./../video-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,eAAe;AACjB;AACA;EACE,WAAW;EACX,YAAY;EACZ,OAAO;EACP,MAAM;EACN,kBAAkB;EAClB,YAAY;AACd;;AAEA;EACE,cAAc;EACd,gCAAgC;AAClC",sourcesContent:[".root {\n position: relative;\n max-width: 100%;\n}\n.cover {\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n opacity: 0.6;\n}\n\n.root:hover .cover {\n display: block;\n background-color: var(--primary);\n}\n"],sourceRoot:""}]),i.locals={root:"L0bAAMsmDgLWsLmiJqDt",cover:"wkeXKWFE5PovclYk2Cus"};const a=i}}]);
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3614],{73614:(t,i,e)=>{e.r(i),e.d(i,{SpacingIcon:()=>h});var H=e(56666),V=e(21293);class h extends V.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return V.dy`<svg
|
|
2
|
+
style="${this.iconStyle}"
|
|
3
|
+
width="${this.width}"
|
|
4
|
+
height="${this.height}"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
fill-rule="evenodd"
|
|
11
|
+
clip-rule="evenodd"
|
|
12
|
+
d="M11 3H13V4V5H11V4V3ZM17 4V3H20C20.2652 3 20.5196 3.10536 20.7071 3.29289C20.8946 3.48043 21 3.73478 21 4V7H20H19V5H17V4ZM16 4V5H14V4H16ZM7 3H4C3.73478 3 3.48043 3.10536 3.29289 3.29289C3.10536 3.48043 3 3.73478 3 4V7H4H5V5H7V4V3ZM10 5H8V4H10V5ZM20 11H21V13H20H19V11H20ZM5 13V11H4H3V13H4H5ZM3 17V20C3 20.2652 3.10536 20.5196 3.29289 20.7071C3.48043 20.8946 3.73478 21 4 21H7V20V19H5V17H4H3ZM5 16H4V14H5V16ZM19 16V14H20V16H19ZM19 17V19H17V20V21H20C20.2652 21 20.5196 20.8946 20.7071 20.7071C20.8946 20.5196 21 20.2652 21 20V17H20H19ZM14 19H16V20H14V19ZM13 19H11V20V21H13V20V19ZM10 19H8V20H10V19ZM20 10H19V8H20V10ZM5 10V8H4V10H5Z"
|
|
13
|
+
fill="black"
|
|
14
|
+
/>
|
|
15
|
+
</svg> `}}(0,H.Z)(h,"styles",V.iv`
|
|
16
|
+
:host {
|
|
17
|
+
display: inherit;
|
|
18
|
+
--cdtr-icon-width: 20px;
|
|
19
|
+
--cdtr-icon-height: 20px;
|
|
20
|
+
}
|
|
21
|
+
svg {
|
|
22
|
+
width: var(--cdtr-icon-width);
|
|
23
|
+
height: var(--cdtr-icon-height);
|
|
24
|
+
color: var(--cdtr-icon-color);
|
|
25
|
+
}
|
|
26
|
+
`),(0,H.Z)(h,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-spacing-icon",h)}}]);
|
|
Binary file
|