@creaditor/web-starterkit 1.0.67 → 1.0.69
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/dist/{8854.creaditor.bundle.js → 1023.creaditor.bundle.js} +1 -1
- package/dist/1023.creaditor.bundle.js.gz +0 -0
- package/dist/{9041.creaditor.bundle.js → 115.creaditor.bundle.js} +1 -1
- package/dist/115.creaditor.bundle.js.gz +0 -0
- package/dist/{2963.creaditor.bundle.js → 118.creaditor.bundle.js} +1 -1
- package/dist/118.creaditor.bundle.js.gz +0 -0
- package/dist/{8042.creaditor.bundle.js → 128.creaditor.bundle.js} +1 -1
- package/dist/128.creaditor.bundle.js.gz +0 -0
- package/dist/1292.creaditor.bundle.js +1 -0
- package/dist/1292.creaditor.bundle.js.gz +0 -0
- package/dist/{8916.creaditor.bundle.js → 1294.creaditor.bundle.js} +1 -1
- package/dist/1294.creaditor.bundle.js.gz +0 -0
- package/dist/1317.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/1317.creaditor.bundle.js.gz +0 -0
- package/dist/{2154.creaditor.bundle.js → 1336.creaditor.bundle.js} +1 -1
- package/dist/1336.creaditor.bundle.js.gz +0 -0
- package/dist/{2350.creaditor.bundle.js → 1355.creaditor.bundle.js} +1 -1
- package/dist/1355.creaditor.bundle.js.gz +0 -0
- package/dist/{3553.creaditor.bundle.js → 1364.creaditor.bundle.js} +1 -1
- package/dist/1364.creaditor.bundle.js.gz +0 -0
- package/dist/1381.creaditor.bundle.js +1 -0
- package/dist/1381.creaditor.bundle.js.gz +0 -0
- package/dist/1396.creaditor.bundle.js.gz +0 -0
- package/dist/{271.creaditor.bundle.js → 1397.creaditor.bundle.js} +1 -1
- package/dist/1397.creaditor.bundle.js.gz +0 -0
- package/dist/{5411.creaditor.bundle.js → 1426.creaditor.bundle.js} +1 -1
- package/dist/1426.creaditor.bundle.js.gz +0 -0
- package/dist/145.creaditor.bundle.js +6 -0
- package/dist/145.creaditor.bundle.js.gz +0 -0
- package/dist/{112.creaditor.bundle.js → 1450.creaditor.bundle.js} +1 -1
- package/dist/1450.creaditor.bundle.js.gz +0 -0
- package/dist/{6151.creaditor.bundle.js → 1606.creaditor.bundle.js} +1 -1
- package/dist/1606.creaditor.bundle.js.gz +0 -0
- package/dist/166.creaditor.bundle.js +34 -0
- package/dist/166.creaditor.bundle.js.gz +0 -0
- package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/168.creaditor.bundle.js.gz +0 -0
- package/dist/{767.creaditor.bundle.js → 1691.creaditor.bundle.js} +1 -1
- package/dist/1691.creaditor.bundle.js.gz +0 -0
- package/dist/{3521.creaditor.bundle.js → 1694.creaditor.bundle.js} +2 -2
- package/dist/1694.creaditor.bundle.js.gz +0 -0
- package/dist/182.creaditor.bundle.js +12 -0
- package/dist/182.creaditor.bundle.js.gz +0 -0
- package/dist/{3827.creaditor.bundle.js → 1970.creaditor.bundle.js} +1 -1
- package/dist/1970.creaditor.bundle.js.gz +0 -0
- package/dist/{2234.creaditor.bundle.js → 2079.creaditor.bundle.js} +1 -1
- package/dist/2079.creaditor.bundle.js.gz +0 -0
- package/dist/{175.creaditor.bundle.js → 2194.creaditor.bundle.js} +1 -1
- package/dist/2194.creaditor.bundle.js.gz +0 -0
- package/dist/{2397.creaditor.bundle.js → 2218.creaditor.bundle.js} +1 -1
- package/dist/2218.creaditor.bundle.js.gz +0 -0
- package/dist/{8646.creaditor.bundle.js → 2232.creaditor.bundle.js} +1 -1
- package/dist/2232.creaditor.bundle.js.gz +0 -0
- package/dist/{5839.creaditor.bundle.js → 2260.creaditor.bundle.js} +1 -1
- package/dist/2260.creaditor.bundle.js.gz +0 -0
- package/dist/{7466.creaditor.bundle.js → 2268.creaditor.bundle.js} +1 -1
- package/dist/2268.creaditor.bundle.js.gz +0 -0
- package/dist/{7493.creaditor.bundle.js → 2318.creaditor.bundle.js} +1 -1
- package/dist/2318.creaditor.bundle.js.gz +0 -0
- package/dist/{353.creaditor.bundle.js → 2346.creaditor.bundle.js} +1 -1
- package/dist/2346.creaditor.bundle.js.gz +0 -0
- package/dist/235.creaditor.bundle.js.gz +0 -0
- package/dist/{4413.creaditor.bundle.js → 2358.creaditor.bundle.js} +1 -1
- package/dist/2358.creaditor.bundle.js.gz +0 -0
- package/dist/2377.creaditor.bundle.js +86 -57
- package/dist/2377.creaditor.bundle.js.gz +0 -0
- package/dist/{3971.creaditor.bundle.js → 2422.creaditor.bundle.js} +1 -1
- package/dist/2422.creaditor.bundle.js.gz +0 -0
- package/dist/2550.creaditor.bundle.js.gz +0 -0
- package/dist/{6442.creaditor.bundle.js → 2608.creaditor.bundle.js} +1 -1
- package/dist/2608.creaditor.bundle.js.gz +0 -0
- package/dist/{2956.creaditor.bundle.js → 27.creaditor.bundle.js} +1 -1
- package/dist/27.creaditor.bundle.js.gz +0 -0
- package/dist/2706.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2706.creaditor.bundle.js.gz +0 -0
- package/dist/2717.creaditor.bundle.js.gz +0 -0
- package/dist/2837.creaditor.bundle.js +1 -1
- package/dist/2837.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/2837.creaditor.bundle.js.gz +0 -0
- package/dist/{976.creaditor.bundle.js → 2923.creaditor.bundle.js} +1 -1
- package/dist/2923.creaditor.bundle.js.gz +0 -0
- package/dist/{2655.creaditor.bundle.js → 2924.creaditor.bundle.js} +2 -2
- package/dist/2924.creaditor.bundle.js.gz +0 -0
- package/dist/{2547.creaditor.bundle.js → 2960.creaditor.bundle.js} +1 -1
- package/dist/2960.creaditor.bundle.js.gz +0 -0
- package/dist/{8196.creaditor.bundle.js → 2992.creaditor.bundle.js} +1 -1
- package/dist/2992.creaditor.bundle.js.gz +0 -0
- package/dist/3105.creaditor.bundle.js.gz +0 -0
- package/dist/{7155.creaditor.bundle.js → 3126.creaditor.bundle.js} +1 -1
- package/dist/3126.creaditor.bundle.js.gz +0 -0
- package/dist/3252.creaditor.bundle.js +1 -0
- package/dist/3252.creaditor.bundle.js.gz +0 -0
- package/dist/3274.creaditor.bundle.js +1 -0
- package/dist/3274.creaditor.bundle.js.gz +0 -0
- package/dist/3278.creaditor.bundle.js +87 -0
- package/dist/3278.creaditor.bundle.js.gz +0 -0
- package/dist/333.creaditor.bundle.js +1 -0
- package/dist/333.creaditor.bundle.js.gz +0 -0
- package/dist/{8251.creaditor.bundle.js → 3382.creaditor.bundle.js} +1 -1
- package/dist/3382.creaditor.bundle.js.gz +0 -0
- package/dist/{4114.creaditor.bundle.js → 3445.creaditor.bundle.js} +1 -1
- package/dist/3445.creaditor.bundle.js.gz +0 -0
- package/dist/3462.creaditor.bundle.js +288 -0
- package/dist/3462.creaditor.bundle.js.gz +0 -0
- package/dist/{8878.creaditor.bundle.js → 3515.creaditor.bundle.js} +1 -1
- package/dist/3515.creaditor.bundle.js.gz +0 -0
- package/dist/{5133.creaditor.bundle.js → 3535.creaditor.bundle.js} +1 -1
- package/dist/3535.creaditor.bundle.js.gz +0 -0
- package/dist/3545.creaditor.bundle.js +1 -1
- package/dist/3545.creaditor.bundle.js.gz +0 -0
- package/dist/{5666.creaditor.bundle.js → 3559.creaditor.bundle.js} +1 -1
- package/dist/3559.creaditor.bundle.js.gz +0 -0
- package/dist/{8299.creaditor.bundle.js → 3693.creaditor.bundle.js} +3 -3
- package/dist/3693.creaditor.bundle.js.gz +0 -0
- package/dist/{5391.creaditor.bundle.js → 370.creaditor.bundle.js} +1 -1
- package/dist/370.creaditor.bundle.js.gz +0 -0
- package/dist/{9453.creaditor.bundle.js → 38.creaditor.bundle.js} +1 -1
- package/dist/38.creaditor.bundle.js.gz +0 -0
- package/dist/{4100.creaditor.bundle.js → 3837.creaditor.bundle.js} +1 -1
- package/dist/3837.creaditor.bundle.js.gz +0 -0
- package/dist/{638.creaditor.bundle.js → 3972.creaditor.bundle.js} +1 -1
- package/dist/3972.creaditor.bundle.js.gz +0 -0
- package/dist/{1271.creaditor.bundle.js → 4003.creaditor.bundle.js} +1 -1
- package/dist/4003.creaditor.bundle.js.gz +0 -0
- package/dist/{5713.creaditor.bundle.js → 4038.creaditor.bundle.js} +2 -2
- package/dist/4038.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4038.creaditor.bundle.js.gz +0 -0
- package/dist/4109.creaditor.bundle.js.gz +0 -0
- package/dist/{5849.creaditor.bundle.js → 4206.creaditor.bundle.js} +1 -1
- package/dist/4206.creaditor.bundle.js.gz +0 -0
- package/dist/{1456.creaditor.bundle.js → 4257.creaditor.bundle.js} +1 -1
- package/dist/4257.creaditor.bundle.js.gz +0 -0
- package/dist/4323.creaditor.bundle.js +1 -0
- package/dist/4323.creaditor.bundle.js.gz +0 -0
- package/dist/{4161.creaditor.bundle.js → 4432.creaditor.bundle.js} +1 -1
- package/dist/4432.creaditor.bundle.js.gz +0 -0
- package/dist/4536.creaditor.bundle.js +1 -0
- package/dist/4536.creaditor.bundle.js.gz +0 -0
- package/dist/{8443.creaditor.bundle.js → 4637.creaditor.bundle.js} +1 -1
- package/dist/4637.creaditor.bundle.js.gz +0 -0
- package/dist/{8315.creaditor.bundle.js → 4678.creaditor.bundle.js} +1 -1
- package/dist/4678.creaditor.bundle.js.gz +0 -0
- package/dist/{6751.creaditor.bundle.js → 4684.creaditor.bundle.js} +1 -1
- package/dist/4684.creaditor.bundle.js.gz +0 -0
- package/dist/{8064.creaditor.bundle.js → 4801.creaditor.bundle.js} +1 -1
- package/dist/4801.creaditor.bundle.js.gz +0 -0
- package/dist/{7838.creaditor.bundle.js → 487.creaditor.bundle.js} +1 -1
- package/dist/487.creaditor.bundle.js.gz +0 -0
- package/dist/4987.creaditor.bundle.js.gz +0 -0
- package/dist/{170.creaditor.bundle.js → 4999.creaditor.bundle.js} +1 -1
- package/dist/4999.creaditor.bundle.js.gz +0 -0
- package/dist/{4061.creaditor.bundle.js → 5121.creaditor.bundle.js} +1 -1
- package/dist/5121.creaditor.bundle.js.gz +0 -0
- package/dist/{4475.creaditor.bundle.js → 5150.creaditor.bundle.js} +1 -1
- package/dist/5150.creaditor.bundle.js.gz +0 -0
- package/dist/{9250.creaditor.bundle.js → 5189.creaditor.bundle.js} +1 -1
- package/dist/5189.creaditor.bundle.js.gz +0 -0
- package/dist/{5501.creaditor.bundle.js → 5211.creaditor.bundle.js} +1 -1
- package/dist/5211.creaditor.bundle.js.gz +0 -0
- package/dist/5242.creaditor.bundle.js +162 -0
- package/dist/5242.creaditor.bundle.js.LICENSE.txt +17 -0
- package/dist/5242.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5242.creaditor.bundle.js.gz +0 -0
- package/dist/{2384.creaditor.bundle.js → 5259.creaditor.bundle.js} +1 -1
- package/dist/5259.creaditor.bundle.js.gz +0 -0
- package/dist/5284.creaditor.bundle.js.gz +0 -0
- package/dist/{7348.creaditor.bundle.js → 5328.creaditor.bundle.js} +11 -11
- package/dist/5328.creaditor.bundle.js.gz +0 -0
- package/dist/{1334.creaditor.bundle.js → 5473.creaditor.bundle.js} +1 -1
- package/dist/5473.creaditor.bundle.js.gz +0 -0
- package/dist/{1728.creaditor.bundle.js → 5541.creaditor.bundle.js} +2 -2
- package/dist/5541.creaditor.bundle.js.gz +0 -0
- package/dist/566.creaditor.bundle.js +20 -0
- package/dist/566.creaditor.bundle.js.gz +0 -0
- package/dist/567.creaditor.bundle.js +109 -539
- package/dist/567.creaditor.bundle.js.gz +0 -0
- package/dist/{7209.creaditor.bundle.js → 5728.creaditor.bundle.js} +26 -7
- package/dist/5728.creaditor.bundle.js.gz +0 -0
- package/dist/574.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/574.creaditor.bundle.js.gz +0 -0
- package/dist/5780.creaditor.bundle.js +142 -0
- package/dist/5780.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/5780.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5780.creaditor.bundle.js.gz +0 -0
- package/dist/579.creaditor.bundle.js +1 -0
- package/dist/579.creaditor.bundle.js.gz +0 -0
- package/dist/{5926.creaditor.bundle.js → 58.creaditor.bundle.js} +2 -2
- package/dist/58.creaditor.bundle.js.gz +0 -0
- package/dist/59.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/59.creaditor.bundle.js.gz +0 -0
- package/dist/{6323.creaditor.bundle.js → 5978.creaditor.bundle.js} +7 -7
- package/dist/5978.creaditor.bundle.js.gz +0 -0
- package/dist/{407.creaditor.bundle.js → 60.creaditor.bundle.js} +1 -1
- package/dist/60.creaditor.bundle.js.gz +0 -0
- package/dist/{4186.creaditor.bundle.js → 6004.creaditor.bundle.js} +3 -3
- package/dist/6004.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6004.creaditor.bundle.js.gz +0 -0
- package/dist/6022.creaditor.bundle.js +335 -0
- package/dist/6022.creaditor.bundle.js.LICENSE.txt +11 -0
- package/dist/6022.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6022.creaditor.bundle.js.gz +0 -0
- package/dist/{3606.creaditor.bundle.js → 6024.creaditor.bundle.js} +1 -1
- package/dist/6024.creaditor.bundle.js.gz +0 -0
- package/dist/6036.creaditor.bundle.js +6 -32
- package/dist/6036.creaditor.bundle.js.gz +0 -0
- package/dist/{7654.creaditor.bundle.js → 6038.creaditor.bundle.js} +47 -13
- package/dist/6038.creaditor.bundle.js.LICENSE.txt +5 -0
- package/dist/6038.creaditor.bundle.js.gz +0 -0
- package/dist/{3847.creaditor.bundle.js → 6051.creaditor.bundle.js} +4 -4
- package/dist/6051.creaditor.bundle.js.gz +0 -0
- package/dist/{4762.creaditor.bundle.js → 6077.creaditor.bundle.js} +1 -1
- package/dist/6077.creaditor.bundle.js.gz +0 -0
- package/dist/{100.creaditor.bundle.js → 6182.creaditor.bundle.js} +5 -5
- package/dist/6182.creaditor.bundle.js.gz +0 -0
- package/dist/{9694.creaditor.bundle.js → 6205.creaditor.bundle.js} +1 -1
- package/dist/6205.creaditor.bundle.js.gz +0 -0
- package/dist/6216.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/6216.creaditor.bundle.js.gz +0 -0
- package/dist/6339.creaditor.bundle.js +16 -0
- package/dist/6339.creaditor.bundle.js.gz +0 -0
- package/dist/{4639.creaditor.bundle.js → 6343.creaditor.bundle.js} +1 -1
- package/dist/6343.creaditor.bundle.js.gz +0 -0
- package/dist/{453.creaditor.bundle.js → 6412.creaditor.bundle.js} +1 -1
- package/dist/6412.creaditor.bundle.js.gz +0 -0
- package/dist/{380.creaditor.bundle.js → 6482.creaditor.bundle.js} +1 -1
- package/dist/6482.creaditor.bundle.js.gz +0 -0
- package/dist/6545.creaditor.bundle.js +15 -0
- package/dist/6545.creaditor.bundle.js.gz +0 -0
- package/dist/{2112.creaditor.bundle.js → 6565.creaditor.bundle.js} +1 -1
- package/dist/6565.creaditor.bundle.js.gz +0 -0
- package/dist/{2409.creaditor.bundle.js → 6579.creaditor.bundle.js} +1 -1
- package/dist/6579.creaditor.bundle.js.gz +0 -0
- package/dist/685.creaditor.bundle.js +12 -0
- package/dist/685.creaditor.bundle.js.gz +0 -0
- package/dist/{9386.creaditor.bundle.js → 6977.creaditor.bundle.js} +1 -1
- package/dist/6977.creaditor.bundle.js.gz +0 -0
- package/dist/7055.creaditor.bundle.js.gz +0 -0
- package/dist/{5850.creaditor.bundle.js → 707.creaditor.bundle.js} +1 -1
- package/dist/707.creaditor.bundle.js.gz +0 -0
- package/dist/{4770.creaditor.bundle.js → 7127.creaditor.bundle.js} +1 -1
- package/dist/7127.creaditor.bundle.js.gz +0 -0
- package/dist/7255.creaditor.bundle.js +1 -11
- package/dist/7255.creaditor.bundle.js.gz +0 -0
- package/dist/{8921.creaditor.bundle.js → 7326.creaditor.bundle.js} +1 -1
- package/dist/7326.creaditor.bundle.js.gz +0 -0
- package/dist/{4074.creaditor.bundle.js → 7399.creaditor.bundle.js} +1 -1
- package/dist/7399.creaditor.bundle.js.gz +0 -0
- package/dist/7463.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7463.creaditor.bundle.js.gz +0 -0
- package/dist/{4947.creaditor.bundle.js → 7514.creaditor.bundle.js} +1 -1
- package/dist/7514.creaditor.bundle.js.gz +0 -0
- package/dist/{9431.creaditor.bundle.js → 7573.creaditor.bundle.js} +1 -1
- package/dist/7573.creaditor.bundle.js.gz +0 -0
- package/dist/{4288.creaditor.bundle.js → 7630.creaditor.bundle.js} +1 -1
- package/dist/7630.creaditor.bundle.js.gz +0 -0
- package/dist/{7380.creaditor.bundle.js → 7733.creaditor.bundle.js} +1 -1
- package/dist/7733.creaditor.bundle.js.gz +0 -0
- package/dist/{578.creaditor.bundle.js → 7739.creaditor.bundle.js} +1 -1
- package/dist/7739.creaditor.bundle.js.gz +0 -0
- package/dist/7789.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/7789.creaditor.bundle.js.gz +0 -0
- package/dist/{2833.creaditor.bundle.js → 8128.creaditor.bundle.js} +1 -1
- package/dist/8128.creaditor.bundle.js.gz +0 -0
- package/dist/8142.creaditor.bundle.js +11 -0
- package/dist/8142.creaditor.bundle.js.gz +0 -0
- package/dist/8173.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/8173.creaditor.bundle.js.gz +0 -0
- package/dist/8230.creaditor.bundle.js +1 -0
- package/dist/8230.creaditor.bundle.js.gz +0 -0
- package/dist/{653.creaditor.bundle.js → 8260.creaditor.bundle.js} +1 -1
- package/dist/8260.creaditor.bundle.js.gz +0 -0
- package/dist/{9570.creaditor.bundle.js → 83.creaditor.bundle.js} +1 -1
- package/dist/83.creaditor.bundle.js.gz +0 -0
- package/dist/{752.creaditor.bundle.js → 8498.creaditor.bundle.js} +1 -1
- package/dist/8498.creaditor.bundle.js.gz +0 -0
- package/dist/{9986.creaditor.bundle.js → 8531.creaditor.bundle.js} +1 -1
- package/dist/8531.creaditor.bundle.js.gz +0 -0
- package/dist/8533.creaditor.bundle.js.gz +0 -0
- package/dist/{6496.creaditor.bundle.js → 8586.creaditor.bundle.js} +1 -1
- package/dist/8586.creaditor.bundle.js.gz +0 -0
- package/dist/{975.creaditor.bundle.js → 8696.creaditor.bundle.js} +1 -1
- package/dist/8696.creaditor.bundle.js.gz +0 -0
- package/dist/{738.creaditor.bundle.js → 8861.creaditor.bundle.js} +1 -1
- package/dist/8861.creaditor.bundle.js.gz +0 -0
- package/dist/{4615.creaditor.bundle.js → 8918.creaditor.bundle.js} +1 -1
- package/dist/8918.creaditor.bundle.js.gz +0 -0
- package/dist/{5379.creaditor.bundle.js → 8960.creaditor.bundle.js} +1 -1
- package/dist/8960.creaditor.bundle.js.gz +0 -0
- package/dist/898.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/898.creaditor.bundle.js.gz +0 -0
- package/dist/8994.creaditor.bundle.js +544 -0
- package/dist/8994.creaditor.bundle.js.gz +0 -0
- package/dist/{9990.creaditor.bundle.js → 9028.creaditor.bundle.js} +1 -1
- package/dist/9028.creaditor.bundle.js.gz +0 -0
- package/dist/{5530.creaditor.bundle.js → 9069.creaditor.bundle.js} +1 -1
- package/dist/9069.creaditor.bundle.js.gz +0 -0
- package/dist/{7997.creaditor.bundle.js → 9082.creaditor.bundle.js} +1 -1
- package/dist/9082.creaditor.bundle.js.gz +0 -0
- package/dist/{6814.creaditor.bundle.js → 9136.creaditor.bundle.js} +1 -1
- package/dist/9136.creaditor.bundle.js.gz +0 -0
- package/dist/9158.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/9158.creaditor.bundle.js.gz +0 -0
- package/dist/{1403.creaditor.bundle.js → 9384.creaditor.bundle.js} +1 -1
- package/dist/9384.creaditor.bundle.js.gz +0 -0
- package/dist/{8654.creaditor.bundle.js → 9468.creaditor.bundle.js} +1 -1
- package/dist/9468.creaditor.bundle.js.gz +0 -0
- package/dist/{8570.creaditor.bundle.js → 9672.creaditor.bundle.js} +1 -1
- package/dist/9672.creaditor.bundle.js.gz +0 -0
- package/dist/9700.creaditor.bundle.js +64 -0
- package/dist/9700.creaditor.bundle.js.gz +0 -0
- package/dist/{467.creaditor.bundle.js → 9786.creaditor.bundle.js} +1 -1
- package/dist/9786.creaditor.bundle.js.gz +0 -0
- package/dist/{8983.creaditor.bundle.js → 9791.creaditor.bundle.js} +1 -1
- package/dist/9791.creaditor.bundle.js.gz +0 -0
- package/dist/9823.creaditor.bundle.js +6 -0
- package/dist/9823.creaditor.bundle.js.gz +0 -0
- package/dist/993.creaditor.bundle.js +1 -0
- package/dist/993.creaditor.bundle.js.gz +0 -0
- package/dist/{7238.creaditor.bundle.js → 9931.creaditor.bundle.js} +1 -1
- package/dist/9931.creaditor.bundle.js.gz +0 -0
- package/dist/{7523.creaditor.bundle.js → 9976.creaditor.bundle.js} +1 -1
- package/dist/9976.creaditor.bundle.js.gz +0 -0
- package/dist/{2773.creaditor.bundle.js → 9998.creaditor.bundle.js} +1 -1
- package/dist/9998.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +342 -342
- package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/creaditor.bundle.js.gz +0 -0
- package/dist/index.html.gz +0 -0
- package/dist/service-worker.js +1 -1
- package/dist/service-worker.js.gz +0 -0
- package/dist/workbox-f3063069.js.gz +0 -0
- package/package.json +1 -1
- package/dist/100.creaditor.bundle.js.gz +0 -0
- package/dist/112.creaditor.bundle.js.gz +0 -0
- package/dist/1271.creaditor.bundle.js.gz +0 -0
- package/dist/1334.creaditor.bundle.js.gz +0 -0
- package/dist/1403.creaditor.bundle.js.gz +0 -0
- package/dist/1456.creaditor.bundle.js.gz +0 -0
- package/dist/1529.creaditor.bundle.js +0 -16
- package/dist/1529.creaditor.bundle.js.gz +0 -0
- package/dist/170.creaditor.bundle.js.gz +0 -0
- package/dist/1728.creaditor.bundle.js.gz +0 -0
- package/dist/175.creaditor.bundle.js.gz +0 -0
- package/dist/1972.creaditor.bundle.js +0 -12
- package/dist/1972.creaditor.bundle.js.gz +0 -0
- package/dist/211.creaditor.bundle.js +0 -1
- package/dist/211.creaditor.bundle.js.gz +0 -0
- package/dist/2112.creaditor.bundle.js.gz +0 -0
- package/dist/2154.creaditor.bundle.js.gz +0 -0
- package/dist/2234.creaditor.bundle.js.gz +0 -0
- package/dist/2298.creaditor.bundle.js +0 -1
- package/dist/2298.creaditor.bundle.js.gz +0 -0
- package/dist/2350.creaditor.bundle.js.gz +0 -0
- package/dist/2384.creaditor.bundle.js.gz +0 -0
- package/dist/2397.creaditor.bundle.js.gz +0 -0
- package/dist/2409.creaditor.bundle.js.gz +0 -0
- package/dist/2547.creaditor.bundle.js.gz +0 -0
- package/dist/2590.creaditor.bundle.js +0 -6
- package/dist/2590.creaditor.bundle.js.gz +0 -0
- package/dist/2655.creaditor.bundle.js.gz +0 -0
- package/dist/271.creaditor.bundle.js.gz +0 -0
- package/dist/2765.creaditor.bundle.js +0 -1
- package/dist/2765.creaditor.bundle.js.gz +0 -0
- package/dist/2773.creaditor.bundle.js.gz +0 -0
- package/dist/2833.creaditor.bundle.js.gz +0 -0
- package/dist/2956.creaditor.bundle.js.gz +0 -0
- package/dist/2963.creaditor.bundle.js.gz +0 -0
- package/dist/3233.creaditor.bundle.js +0 -12
- package/dist/3233.creaditor.bundle.js.gz +0 -0
- package/dist/3418.creaditor.bundle.js +0 -1
- package/dist/3418.creaditor.bundle.js.gz +0 -0
- package/dist/3521.creaditor.bundle.js.gz +0 -0
- package/dist/353.creaditor.bundle.js.gz +0 -0
- package/dist/3553.creaditor.bundle.js.gz +0 -0
- package/dist/3600.creaditor.bundle.js +0 -1
- package/dist/3600.creaditor.bundle.js.gz +0 -0
- package/dist/3601.creaditor.bundle.js +0 -288
- package/dist/3601.creaditor.bundle.js.gz +0 -0
- package/dist/3606.creaditor.bundle.js.gz +0 -0
- package/dist/3792.creaditor.bundle.js +0 -1
- package/dist/3792.creaditor.bundle.js.gz +0 -0
- package/dist/380.creaditor.bundle.js.gz +0 -0
- package/dist/3827.creaditor.bundle.js.gz +0 -0
- package/dist/3847.creaditor.bundle.js.gz +0 -0
- package/dist/3875.creaditor.bundle.js +0 -8
- package/dist/3875.creaditor.bundle.js.gz +0 -0
- package/dist/3971.creaditor.bundle.js.gz +0 -0
- package/dist/4000.creaditor.bundle.js +0 -1
- package/dist/4000.creaditor.bundle.js.gz +0 -0
- package/dist/4061.creaditor.bundle.js.gz +0 -0
- package/dist/407.creaditor.bundle.js.gz +0 -0
- package/dist/4074.creaditor.bundle.js.gz +0 -0
- package/dist/4100.creaditor.bundle.js.gz +0 -0
- package/dist/4114.creaditor.bundle.js.gz +0 -0
- package/dist/4161.creaditor.bundle.js.gz +0 -0
- package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/4186.creaditor.bundle.js.gz +0 -0
- package/dist/4288.creaditor.bundle.js.gz +0 -0
- package/dist/4413.creaditor.bundle.js.gz +0 -0
- package/dist/4475.creaditor.bundle.js.gz +0 -0
- package/dist/453.creaditor.bundle.js.gz +0 -0
- package/dist/4615.creaditor.bundle.js.gz +0 -0
- package/dist/4639.creaditor.bundle.js.gz +0 -0
- package/dist/467.creaditor.bundle.js.gz +0 -0
- package/dist/4762.creaditor.bundle.js.gz +0 -0
- package/dist/4770.creaditor.bundle.js.gz +0 -0
- package/dist/4947.creaditor.bundle.js.gz +0 -0
- package/dist/4988.creaditor.bundle.js +0 -6
- package/dist/4988.creaditor.bundle.js.gz +0 -0
- package/dist/507.creaditor.bundle.js +0 -334
- package/dist/507.creaditor.bundle.js.gz +0 -0
- package/dist/5133.creaditor.bundle.js.gz +0 -0
- package/dist/5156.creaditor.bundle.js +0 -93
- package/dist/5156.creaditor.bundle.js.gz +0 -0
- package/dist/5379.creaditor.bundle.js.gz +0 -0
- package/dist/5391.creaditor.bundle.js.gz +0 -0
- package/dist/5411.creaditor.bundle.js.gz +0 -0
- package/dist/5501.creaditor.bundle.js.gz +0 -0
- package/dist/5530.creaditor.bundle.js.gz +0 -0
- package/dist/5666.creaditor.bundle.js.gz +0 -0
- package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
- package/dist/5713.creaditor.bundle.js.gz +0 -0
- package/dist/578.creaditor.bundle.js.gz +0 -0
- package/dist/5839.creaditor.bundle.js.gz +0 -0
- package/dist/5849.creaditor.bundle.js.gz +0 -0
- package/dist/5850.creaditor.bundle.js.gz +0 -0
- package/dist/5926.creaditor.bundle.js.gz +0 -0
- package/dist/6151.creaditor.bundle.js.gz +0 -0
- package/dist/6323.creaditor.bundle.js.gz +0 -0
- package/dist/638.creaditor.bundle.js.gz +0 -0
- package/dist/6442.creaditor.bundle.js.gz +0 -0
- package/dist/6496.creaditor.bundle.js.gz +0 -0
- package/dist/653.creaditor.bundle.js.gz +0 -0
- package/dist/6751.creaditor.bundle.js.gz +0 -0
- package/dist/6814.creaditor.bundle.js.gz +0 -0
- package/dist/6937.creaditor.bundle.js +0 -1
- package/dist/6937.creaditor.bundle.js.gz +0 -0
- package/dist/7155.creaditor.bundle.js.gz +0 -0
- package/dist/7209.creaditor.bundle.js.gz +0 -0
- package/dist/7238.creaditor.bundle.js.gz +0 -0
- package/dist/7348.creaditor.bundle.js.gz +0 -0
- package/dist/738.creaditor.bundle.js.gz +0 -0
- package/dist/7380.creaditor.bundle.js.gz +0 -0
- package/dist/7466.creaditor.bundle.js.gz +0 -0
- package/dist/7493.creaditor.bundle.js.gz +0 -0
- package/dist/752.creaditor.bundle.js.gz +0 -0
- package/dist/7523.creaditor.bundle.js.gz +0 -0
- package/dist/7564.creaditor.bundle.js +0 -1
- package/dist/7564.creaditor.bundle.js.gz +0 -0
- package/dist/7654.creaditor.bundle.js.gz +0 -0
- package/dist/767.creaditor.bundle.js.gz +0 -0
- package/dist/7838.creaditor.bundle.js.gz +0 -0
- package/dist/7997.creaditor.bundle.js.gz +0 -0
- package/dist/8042.creaditor.bundle.js.gz +0 -0
- package/dist/8064.creaditor.bundle.js.gz +0 -0
- package/dist/8088.creaditor.bundle.js +0 -141
- package/dist/8088.creaditor.bundle.js.gz +0 -0
- package/dist/8141.creaditor.bundle.js +0 -20
- package/dist/8141.creaditor.bundle.js.gz +0 -0
- package/dist/8196.creaditor.bundle.js.gz +0 -0
- package/dist/823.creaditor.bundle.js +0 -1
- package/dist/823.creaditor.bundle.js.gz +0 -0
- package/dist/8250.creaditor.bundle.js +0 -1
- package/dist/8250.creaditor.bundle.js.gz +0 -0
- package/dist/8251.creaditor.bundle.js.gz +0 -0
- package/dist/8299.creaditor.bundle.js.gz +0 -0
- package/dist/8315.creaditor.bundle.js.gz +0 -0
- package/dist/8443.creaditor.bundle.js.gz +0 -0
- package/dist/8516.creaditor.bundle.js +0 -15
- package/dist/8516.creaditor.bundle.js.gz +0 -0
- package/dist/8570.creaditor.bundle.js.gz +0 -0
- package/dist/8646.creaditor.bundle.js.gz +0 -0
- package/dist/8654.creaditor.bundle.js.gz +0 -0
- package/dist/8758.creaditor.bundle.js +0 -1
- package/dist/8758.creaditor.bundle.js.gz +0 -0
- package/dist/8854.creaditor.bundle.js.gz +0 -0
- package/dist/8878.creaditor.bundle.js.gz +0 -0
- package/dist/8916.creaditor.bundle.js.gz +0 -0
- package/dist/8921.creaditor.bundle.js.gz +0 -0
- package/dist/8983.creaditor.bundle.js.gz +0 -0
- package/dist/9041.creaditor.bundle.js.gz +0 -0
- package/dist/9250.creaditor.bundle.js.gz +0 -0
- package/dist/9386.creaditor.bundle.js.gz +0 -0
- package/dist/9431.creaditor.bundle.js.gz +0 -0
- package/dist/9453.creaditor.bundle.js.gz +0 -0
- package/dist/9570.creaditor.bundle.js.gz +0 -0
- package/dist/9694.creaditor.bundle.js.gz +0 -0
- package/dist/975.creaditor.bundle.js.gz +0 -0
- package/dist/976.creaditor.bundle.js.gz +0 -0
- package/dist/9986.creaditor.bundle.js.gz +0 -0
- package/dist/9990.creaditor.bundle.js.gz +0 -0
- package/dist/9994.creaditor.bundle.js +0 -114
- package/dist/9994.creaditor.bundle.js.gz +0 -0
- /package/dist/{4186.creaditor.bundle.js.LICENSE.txt → 4038.creaditor.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5713.creaditor.bundle.js.LICENSE.txt → 6004.creaditor.bundle.js.LICENSE.txt} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2923],{12923(t,e,i){i.r(e),i.d(e,{FacebookIcon:()=>r});var h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
viewBox="0 0 24 24"
|
|
4
4
|
width="24"
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2924],{92924(e,t,i){i.r(t),i.d(t,{NextButton:()=>M,PUBLISH_ERROR_EVENT:()=>E,PUBLISH_EVENT:()=>T});var o=i(59929),s=i(43180),n=i(44222),r=i(13548),a=i(66082),l=i(28795),d=i(73203),c=i(26198);const p=`${(0,a.Ay)()?"http://127.0.0.1:8000":"https://studio.creaditor.ai"}/api/seo-generate`;const h=o.qy`
|
|
2
2
|
<svg viewBox="0 0 24 24" fill="currentColor" width="16" height="16" aria-hidden="true">
|
|
3
3
|
<path
|
|
4
4
|
d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"
|
|
@@ -624,7 +624,7 @@
|
|
|
624
624
|
width: 15px;
|
|
625
625
|
height: 15px;
|
|
626
626
|
}
|
|
627
|
-
`,f.properties={message:{type:String},sub:{type:String},url:{type:String},seoTitle:{type:String},seoDescription:{type:String},copied:{type:Boolean}},customElements.define("cdtr-publish-success",f);var g=i(
|
|
627
|
+
`,f.properties={message:{type:String},sub:{type:String},url:{type:String},seoTitle:{type:String},seoDescription:{type:String},copied:{type:Boolean}},customElements.define("cdtr-publish-success",f);var g=i(6979),b=i(90541),x=i(53415),m=i(83669);const y=l.Ay,w=e=>{if(!e.fix)return!1;let t=!1;for(const i of e.fix.patches){const e=s.M.get("components",i.id);e&&(y.store().execCommand2({transactions:[{key:i.key,value:i.value}],update:[e]}),t=!0)}return t},v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(s.M.get("lang",e)||e).replace(/\{(\w+)\}/g,(e,i)=>null!=t[i]?String(t[i]):"")},k=e=>{const t=e.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);return t?"#"+t.slice(1,4).map(e=>Number(e).toString(16).padStart(2,"0")).join(""):e},$=e=>new Promise(t=>setTimeout(t,e)),_=()=>!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,z=e=>`${e.ruleId}|${e.elementIds.join(",")}`,S=e=>e.filter(e=>"error"===e.severity).length,C={"col-grid":"inbox","block-too-wide":"inbox","gmail-clip":"inbox","wider-than-container":"phone","fixed-without-max":"phone","cramped-columns":"phone"};class L extends o.WF{constructor(){super(),this.resolve=()=>{},this.htmlBytes=void 0,this.fixedTimer=void 0,this.findings=[],this.collapsed=!1,this.open={},this.fixing=new Set,this.fixedCount=0,this.analyzing=!1,this.stage="",this.stageCount=0,this.autoFixed=0,this.addEventListener("click",e=>{e.composedPath()[0]===this&&this.dismiss()}),this.onKeydown=this.onKeydown.bind(this)}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.onKeydown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){"Escape"===e.key&&this.dismiss()}dismiss(){this.collapsed||this.stage||this.fixing.size>0||this.analyzing||this.resolve("edit")}get groups(){return(0,b.kG)(this.findings)}isOpen(e,t){return this.open[e.id]??0===t}toggle(e,t){this.open={...this.open,[e.id]:!this.isOpen(e,t)}}rerun(){this.findings=(0,b.JT)((0,x.D)(),{channel:(0,x.l)(),htmlBytes:this.htmlBytes})}async runFixes(e){!this.fixing.size&&e.length&&(this.fixing=new Set(e.map(z)),await $(_()?0:1100),e.forEach(w),await $(60),this.rerun(),this.fixing=new Set,this.fixedCount=e.reduce((e,t)=>e+t.count,0),clearTimeout(this.fixedTimer),this.fixedTimer=setTimeout(()=>this.fixedCount=0,2400))}fix(e){this.runFixes([e])}fixGroup(e){this.runFixes(e.items.filter(e=>e.fix))}show(e){this.collapsed=!0,(e=>{const t=s.M.get("components",e);t&&(y.clean().selectComponent(t),setTimeout(()=>{const t=document.querySelector(`[data-id="${CSS.escape(e)}"]`);if(!t)return;const i=t.closest(".amazingbar-content-wrapper");if(i){const e=i.getBoundingClientRect(),o=t.getBoundingClientRect();i.scrollTop+=o.top-e.top-(i.clientHeight-o.height)/2}else t.scrollIntoView({block:"center"})},300))})(e.elementIds[0]||e.elementId)}async analyze(e){this.analyzing=!0;try{const[t]=await Promise.all([e(),$(_()?0:600)]);this.findings=t.findings,void 0!==t.htmlBytes&&(this.htmlBytes=t.htmlBytes)}finally{this.analyzing=!1}}expand(){this.collapsed=!1,this.analyze(()=>({findings:(0,b.JT)((0,x.D)(),{channel:(0,x.l)(),htmlBytes:this.htmlBytes})}))}get canFixAndContinue(){const e=this.findings.filter(e=>"error"===e.severity);return e.length>0&&e.every(e=>e.fix)}async fixAndContinue(){const e=this.groups.flatMap(e=>e.items).filter(e=>"error"===e.severity&&e.fix);await this.runFixes(e),S(this.findings)||setTimeout(()=>this.resolve("continue"),_()?0:700)}renderSample(e){const t=e.message.params||{},i=e=>"string"==typeof e&&/^[#\w(),.%\s]+$/.test(e);return i(t.color)&&i(t.background)?o.qy`<div class="sample">
|
|
628
628
|
<b style="color:${t.color};background:${t.background}">Aa אב</b>
|
|
629
629
|
<code dir="ltr">${k(String(t.color))} / ${k(String(t.background))}</code>
|
|
630
630
|
</div>`:null}renderOnlyShows(e){const t=C[e.ruleId];if(!t)return null;const i="phone"===t?o.qy`<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="7" y="2" width="10" height="20" rx="2" /><path d="M11 18h2" /></svg>`:o.qy`<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2" /><path d="m3 7 9 6 9-6" /></svg>`;return o.qy`<span class="only-shows" title=${v("preflight_only_shows_hint")}>${i}${v(`preflight_only_${t}`)}</span>`}renderStage(){const e=this.stageCount,t="checking"===this.stage?o.qy`<span class="spark" aria-hidden="true">✦</span><div><b>${v("preflight_checking")}</b></div>`:"fixing"===this.stage?o.qy`<span class="spark" aria-hidden="true">✦</span><div>
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2960],{72960(t,e,s){s.r(e),s.d(e,{DraggableElement:()=>r});var i=s(59929);let n,o;class h{constructor(t,e){this.target=void 0,this.options=void 0,this.handle=void 0,this.x=void 0,this.y=void 0,this.initX=void 0,this.initY=void 0,this.firstX=void 0,this.firstY=void 0,this.target=t,this.options=e||{},this.handle=this.options.handle,this.x=n||0,this.y=o||0,this.initX=0,this.initY=0,this.firstX=0,this.firstY=0,this.onMouseDown=this.onMouseDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onMouseMove=this.onMouseMove.bind(this),this.init()}onMouseMove(t){const e=this.initY+(t.pageY-this.firstY),s=this.initX+(t.pageX-this.firstX),i=t.pageX-this.firstX,h=t.pageY-this.firstY;(Math.abs(i)>10||Math.abs(h)>10)&&(this.y=e,this.x=s,n=s,o=e,this.options.onMove&&this.options.onMove(s,e))}onMouseDown(t){if(1!==t.which)return;if(t.target.closest("input,textarea,cdtr-input,.cdtr-ignore"))return;if(t.target.closest("[role='button']"))return;if(t.preventDefault(),this.handle&&!t.target.closest(this.handle))return;const e=this.target.getBoundingClientRect();this.initX=e.left+window.scrollX,this.initY=e.top+window.scrollY,this.firstX=t.pageX,this.firstY=t.pageY,this.target.addEventListener("blur",this.onMouseUp,!1),window.addEventListener("mouseup",this.onMouseUp,!1),window.addEventListener("mousemove",this.onMouseMove,!1)}onMouseUp(){this.firstX=this.x,this.firstY=this.y,this.target.removeEventListener("blur",this.onMouseUp,!1),window.removeEventListener("mouseup",this.onMouseUp,!1),window.removeEventListener("mousemove",this.onMouseMove,!1),this.options.onEnd&&this.options.onEnd(this.x,this.y)}init(){this.options.onMove&&n&&o&&this.options.onMove(n,o),this.target&&this.target.addEventListener("mousedown",this.onMouseDown,!1)}destroy(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown,!1)}}class r extends i.WF{constructor(){super(),this.draggableInstance=null,this.clientX="",this.clientY="",this.x="",this.y="",this.handle=""}render(){return this.style.left=this.x,this.style.top=this.y,i.qy` <slot></slot> `}disconnectedCallback(){super.disconnectedCallback(),this.draggableInstance&&this.draggableInstance.destroy()}connectedCallback(){super.connectedCallback(),this.draggableInstance=new h(this.children[0],{handle:this.handle,onMove:(t,e)=>{this.x=String(t),this.y=String(e),this.clientX=String(t),this.clientY=String(e);const s=new UIEvent("move",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(s)},onEnd:(t,e)=>{const s=new UIEvent("end",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(s)}})}}r.styles=i.AH`
|
|
2
2
|
:host {
|
|
3
3
|
position: absolute;
|
|
4
4
|
display: block;
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2992],{32992(e,t,n){"use strict";n.d(t,{default:()=>d});n(91009);var r=n(59929);let a=!1;const l=e=>{{const{component:t,commands:n,helpers:l}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:l,changeTab:i,tabs:o}=e;a=!1;return[{type:"heading",level:3,text:"items"},{type:"lit",node:()=>{const e=JSON.parse(JSON.stringify(t.props.data));return r.qy` <cdtr-editor-container>
|
|
2
2
|
<cdtr-row>
|
|
3
3
|
${e.map((t,l)=>r.qy` <cdtr-col sm="12">
|
|
4
4
|
<cdtr-row
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3126],{93126(t,i,e){e.r(i),e.d(i,{ArrowUpIcon:()=>r});var h=e(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
viewBox="0 0 24 24"
|
|
4
4
|
style="${this.iconStyle}"
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3252],{83252(e,t,n){n.d(t,{default:()=>E});let s=!1;const o=e=>{{const{component:t,commands:n,helpers:o}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"},{text:"list-settings"},{text:"settings"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:a,changeTab:i,tabs:r}=e;s=!1;return[{type:"heading",active:()=>"list-settings"===a.text,level:5,text:"autotype_info"},{type:"heading",level:3,text:"design",active:()=>"design"===a.text},{type:"typography",active:()=>"design"===a.text,bold:700===t.props.style.fontWeight,italic:"italic"===t.props.style.fontStyle,underline:"underline"===t.props.style.textDecoration,onChange:e=>{switch(e){case"bold":const e=700===t.props.style.fontWeight?400:700;n.execCommand("style",{fontWeight:e});break;case"italic":const s="italic"===t.props.style.fontStyle?"normal":"italic";n.execCommand("style",{fontStyle:s});break;case"underline":const o="underline"===t.props.style.textDecoration?"none":"underline";n.execCommand("style",{textDecoration:o})}}},{type:"fontFamily",active:()=>"design"===a.text,value:t.props.style.fontFamily,weight:!0,weightValue:t.props.style.fontWeight,onChange:e=>{const t=e.target.value;n.execCommand("style",{fontFamily:t})},onWeightChange:e=>{n.execCommand("style",{fontWeight:e.detail.value})}},{type:"divider",active:()=>"design"===a.text},{type:"colorpicker",active:()=>"design"===a.text,title:"color",value:t.props.style.color,onChange:e=>{const t=e.target.value;n.execCommand("style",{color:t})}},{type:"fontSize",active:()=>"design"===a.text,title:"size",max:150,min:8,device:e=>{const n=e.target.device;e.target.value="phone"===n?parseInt(t.props?.breakpoints?.sm?.style?.fontSize)||14:parseInt(t.props.style.fontSize)||14},value:parseInt(t.props.style.fontSize)||14,onInput:e=>{const t=e.target.value;"phone"===e.target.device?n.execCommand("breakpoints",e=>{const n=e.props.breakpoints?.sm||{};return{sm:o.deepMerge(n,{style:{fontSize:t+"px"}})}}):n.execCommand("style",{fontSize:t+"px"})}},{type:"slider",max:5e3,min:0,title:"sleepBetween",value:parseInt(t.props.sleepBetween)||1e3,active:()=>"list-settings"===a.text,onInput:e=>{const t=e.target.value;n.execCommand("sleepBetween",parseInt(t))}},{type:"heading",active:()=>"list-settings"===a.text,level:6,text:"how_much_should_wait_between_each_item"},{type:"slider",active:()=>"list-settings"===a.text,max:5e3,min:0,title:"speed",value:parseInt(t.props.speed)||50,active:()=>"list-settings"===a.text,onInput:e=>{const t=e.target.value;n.execCommand("speed",parseInt(t))}}]}}}},a=e=>{let{helpers:t,template:n,reRender:s}=e;return{set:(e,n,o)=>{switch(n){case"style":const a={...e[n]};return e[n]=t.deepMerge(a,o),s(),!0;case"size":case"text":return e[n]=o,s(),!0;case"data":Array.isArray(o)&&(e[n]=o,s())}return!0}}};var i=n(25873),r=n(81318),l=n(1366),c=n(67291),p=n(28396);let d;var m=n(72591),u=n.n(m),y=n(88639),g=n.n(y),h=n(88128),A=n.n(h),C=n(30855),x=n.n(C),v=n(93051),f=n.n(v),b=n(3472),k={};k.setAttributes=x(),k.insert=A().bind(null,"head"),k.domAPI=g(),k.insertStyleElement=f();u()(b.A,k);const w=b.A&&b.A.locals?b.A.locals:void 0,E=()=>{const e="autotype";return{name:e,menu:t=>{let{Compose:n}=t;return new n(()=>({type:e,props:{style:{},speed:50,sleepBetween:1e3,text:{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:"Hello World"}]}]}}}),{group:"elements",name:e,puzzle:['<svg width="46" height="32" viewBox="0 0 46 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17.44 31L14.688 23.928H5.632L2.912 31H0L8.928 8.056H11.52L20.416 31H17.44ZM11.264 14.456C11.2 14.2853 11.0933 13.976 10.944 13.528C10.7947 13.08 10.6453 12.6213 10.496 12.152C10.368 11.6613 10.2613 11.288 10.176 11.032C10.0693 11.4587 9.952 11.896 9.824 12.344C9.71733 12.7707 9.6 13.1653 9.472 13.528C9.36533 13.8907 9.26933 14.2 9.184 14.456L6.592 21.368H13.824L11.264 14.456ZM30.0695 8.152C31.9682 8.152 33.5575 8.33333 34.8375 8.696C36.1388 9.05867 37.1095 9.656 37.7495 10.488C38.4108 11.32 38.7415 12.4293 38.7415 13.816C38.7415 14.712 38.5708 15.512 38.2295 16.216C37.9095 16.8987 37.4188 17.4747 36.7575 17.944C36.1175 18.392 35.3282 18.7013 34.3895 18.872V19.032C35.3495 19.1813 36.2135 19.4587 36.9815 19.864C37.7708 20.2693 38.3895 20.8453 38.8375 21.592C39.2855 22.3387 39.5095 23.3093 39.5095 24.504C39.5095 25.8907 39.1895 27.0747 38.5495 28.056C37.9095 29.016 36.9922 29.752 35.7975 30.264C34.6242 30.7547 33.2162 31 31.5735 31H23.5415V8.152H30.0695ZM30.6455 17.88C32.6082 17.88 33.9522 17.5707 34.6775 16.952C35.4028 16.312 35.7655 15.3733 35.7655 14.136C35.7655 12.8773 35.3175 11.9813 34.4215 11.448C33.5468 10.8933 32.1388 10.616 30.1975 10.616H26.4215V17.88H30.6455ZM26.4215 20.28V28.568H31.0295C33.0562 28.568 34.4642 28.1733 35.2535 27.384C36.0428 26.5947 36.4375 25.56 36.4375 24.28C36.4375 23.4693 36.2562 22.7653 35.8935 22.168C35.5522 21.5707 34.9655 21.112 34.1335 20.792C33.3228 20.4507 32.2135 20.28 30.8055 20.28H26.4215Z" fill="black"/>\n<rect x="42" y="1" width="1" height="30" fill="black"/>\n<rect x="39" width="7" height="1" fill="black"/>\n<rect x="39" y="31" width="7" height="1" fill="black"/>\n</svg>\n'],tags:[e,"text"],index:null})},create:t=>{const{createElement:n,compose:s,helpers:m}=t,u=(s.editor,e=>{for(const t in e.style)if(Object.hasOwnProperty.call(e.style,t)){const n=e.style[t];y.style[t]=n}y.classList.contains("autotype-selected")||A.chain().focus().setContent(e.text).run()}),y=document.createElement("div");y.classList.add(w.autoTypeEditing);const g=document.createElement("div"),h=document.createElement("div");h.classList.add(w.caret);const A=(e=>{let{content:t,element:n}=e;return d=new r.KE({element:n,extensions:[l.A,c.A,p.A],editorProps:{},injectCSS:!1,content:t}),d})({element:h,content:s.props.text});A.on("focus",()=>{y.classList.add("autotype-selected")}),A.on("blur",()=>{y.classList.remove("autotype-selected")}),A.on("update",e=>{let{editor:t,transaction:n}=e;if(0===n.steps.length)return;(e=>{s.editor.store().execCommands([{key:"text",value:JSON.parse(JSON.stringify(e))}])})(A.getJSON())}),y.append(g,h);i.H(g);return u(s.props),n({name:e,id:s.id,template:y,resizeable:!0,handleBar:!0,draggable:{group:"element"},defaultProps:{},validator:a({template:y,helpers:m,reRender:()=>{u(s.props)}}),schema:s.schema,onSelect:e=>{y.classList.add(e)},onDeselect:e=>{y.classList.remove(e)},elementProps:s,remove:()=>{y.remove()},createEditor:o})}}}},3472(e,t,n){n.d(t,{A:()=>r});var s=n(82001),o=n.n(s),a=n(40935),i=n.n(a)()(o());i.push([e.id,'\n.ZBsBZOYVC6wCOkoT7OFk {\n background-color: transparent;\n min-width: 1rem;\n min-height: 1em;\n}\n\n.yOO_P1NnvBQ705I1zyUA {\n display: inline-block;\n}\n\n.yOO_P1NnvBQ705I1zyUA::after {\n content: "";\n width: 2px;\n height: 1em;\n background: #ec7fff;\n display: inline-block;\n vertical-align: text-bottom;\n animation: p0oX1Sqo4sKJHs_I1qOK 1.5s steps(2) infinite;\n}\n\n@keyframes p0oX1Sqo4sKJHs_I1qOK {\n 0% {\n opacity: 0;\n }\n}\n',"",{version:3,sources:["webpack://./../web-editors/autotype-editor-component/src/styles.module.css"],names:[],mappings:";AACA;EACE,6BAA6B;EAC7B,eAAe;EACf,eAAe;AACjB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,WAAW;EACX,UAAU;EACV,WAAW;EACX,mBAAmB;EACnB,qBAAqB;EACrB,2BAA2B;EAC3B,sDAA8C;AAChD;;AAEA;EACE;IACE,UAAU;EACZ;AACF",sourcesContent:['\n.autoTypeEditing {\n background-color: transparent;\n min-width: 1rem;\n min-height: 1em;\n}\n\n.caret {\n display: inline-block;\n}\n\n.caret::after {\n content: "";\n width: 2px;\n height: 1em;\n background: #ec7fff;\n display: inline-block;\n vertical-align: text-bottom;\n animation: cursor-blink 1.5s steps(2) infinite;\n}\n\n@keyframes cursor-blink {\n 0% {\n opacity: 0;\n }\n}\n'],sourceRoot:""}]),i.locals={autoTypeEditing:"ZBsBZOYVC6wCOkoT7OFk",caret:"yOO_P1NnvBQ705I1zyUA","cursor-blink":"p0oX1Sqo4sKJHs_I1qOK"};const r=i},67291(e,t,n){n.d(t,{A:()=>o});var s=n(81318);const o=s.bP.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,s.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3274],{93274(t,e,n){var o=n(45328),i=n(2318),s=n(15259);const r=["animations","settings"],a=["presets","open_modal","icons"];function l(t){const e=String(t.weightValue||400);return{type:"dropdown",active:t.active,title:"fontWeight",value:e,selected:e,items:s.FONT_WEIGHTS.map(t=>({value:String(t.value)})),onChange:e=>t.onWeightChange({detail:{value:parseInt(e.target.value,10)}})}}function u(t){return e=>{const n=(0,i.A)(e);return{select:n.select,tabs:e=>n.tabs(e).filter(e=>!(r.includes(e.text)||"submit"===t&&"interactions"===e.text)),layout:e=>function(t,e){const n=[];let o=null;for(const i of t)i&&"heading"===i.type&&(o=i.text),a.includes(o)||(i&&"fontFamily"===i.type?n.push(l(i)):"submit"===e&&"text"===o&&i&&"custom"===i.type||n.push(i));return n}(n.layout(e),t)}}}const p=["300","400","500","600","700","800","900"],c=["left","center","right"];function d(t){let{component:e,commands:n}=t;const o=()=>e.props.style,i=t=>n.execCommand("style",t);return{select:()=>{},tabs:()=>[{text:"style",selected:!0}],layout:()=>[{type:"colorpicker",title:"font_color",value:o().color,onChange:t=>i({color:t.target.value})},{type:"slider",title:"fontSize",min:8,max:120,step:1,value:parseInt(o().fontSize)||16,onInput:t=>i({fontSize:t.target.value+"px"})},{type:"dropdown",title:"fontWeight",value:String(o().fontWeight||""),selected:String(o().fontWeight||""),items:p.map(t=>({value:t})),onChange:t=>i({fontWeight:t.target.value})},{type:"dropdown",title:"alignment",value:o().textAlign,selected:o().textAlign,items:c.map(t=>({value:t})),onChange:t=>i({textAlign:t.target.value})}]}}class h extends o.EditorBuilder{connectWith(){const{commands:t,helpers:e}=this.commandsBuilder();var n;this.type=this.target.type,this.component=this.target,this.props=this.target.props,this.editor=("text"===(n=this.target.kind)?d:u(n))({component:this.target,props:this.target.props,commands:t,helpers:e})}execCommandWrapper(t,e){this.target.execCommand(t,e)}shouldShowDesignControls(){return!1}getColElementData(){return null}updated(t){super.updated(t),t.has("target")&&this.connectWith()}}h.properties={...o.EditorBuilder.properties,target:{attribute:!1}},customElements.define("cdtr-ai-editor-builder",h)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3278],{83278(e,t,n){n.d(t,{default:()=>T});function o(e){const t={};return e.dispatchEvent(new CustomEvent("cdtr-video-host",{bubbles:!0,composed:!0,detail:t})),"function"==typeof t.panel||"function"==typeof t.block?t:null}const r={button:()=>!0,question:e=>Array.isArray(e.answers)&&e.answers.every(e=>"string"==typeof e)&&(null===e.correct||void 0!==e.answers[e.correct])},i=e=>e&&r[e.kind]&&"number"==typeof e.at&&e.at>=0&&"string"==typeof e.id&&r[e.kind](e),a=e=>(Array.isArray(e)?e.filter(i):[]).sort((e,t)=>e.at-t.at),s=()=>Math.random().toString(36).slice(2,10),l=e=>(e.length?e[e.length-1].at:0)+60,d=e=>({id:s(),at:l(e),kind:"button",text:"",url:""}),c=e=>({id:s(),at:l(e),kind:"question",question:"",answers:["",""],correct:0}),p=e=>{const t=e.trim();return!t||/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`};var u=n(59929),m=n(43180);function h(e){const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=String(e%60).padStart(2,"0");return t?`${t}:${String(n).padStart(2,"0")}:${o}`:`${n}:${o}`}const g=(e,t)=>m.M.get("lang",e)||t;class A extends u.WF{constructor(){super(),this.actions=[],this.open=null}send(e){this.actions=e,this.dispatchEvent(new CustomEvent("actions-change",{detail:e}))}edit(e,t){this.send(this.actions.map(n=>n.id===e?{...n,...t}:n).sort((e,t)=>e.at-t.at))}add(e){const t=e(this.actions);this.open=t.id,this.send([...this.actions,t])}editAnswer(e,t,n){this.edit(e.id,{answers:e.answers.map((e,o)=>o===t?n:e)})}removeAnswer(e,t){this.edit(e.id,((e,t)=>{let{answers:n,correct:o}=e;return{answers:n.filter((e,n)=>n!==t),correct:t===o?null:t<o?o-1:o}})(e,t))}remove(e){this.open=null,this.send(this.actions.filter(t=>t.id!==e))}editTime(e,t){const n=function(e){const t=String(e).trim().split(":");return t.length>3||!t.every(e=>/^\d+$/.test(e))||t.slice(1).some(e=>Number(e)>59)?null:t.reduce((e,t)=>60*e+Number(t),0)}(t.value);null===n?t.value=h(e.at):this.edit(e.id,{at:n})}renderTime(e){return u.qy`<label class="time"><lang-text text="at_time"></lang-text>
|
|
2
|
+
<input .value=${h(e.at)} @change=${t=>this.editTime(e,t.target)} />
|
|
3
|
+
</label>`}renderButtonForm(e){return u.qy`
|
|
4
|
+
<div class="pair">
|
|
5
|
+
${this.renderTime(e)}
|
|
6
|
+
<label class="grow"><lang-text text="button_text"></lang-text>
|
|
7
|
+
<input .value=${e.text} @change=${t=>this.edit(e.id,{text:t.target.value.trim()})} />
|
|
8
|
+
</label>
|
|
9
|
+
</div>
|
|
10
|
+
<label><lang-text text="link"></lang-text>
|
|
11
|
+
<input type="url" placeholder="https://" .value=${e.url} @change=${t=>this.edit(e.id,{url:p(t.target.value)})} />
|
|
12
|
+
</label>`}renderQuestionForm(e){return u.qy`
|
|
13
|
+
<div class="pair">
|
|
14
|
+
${this.renderTime(e)}
|
|
15
|
+
<label class="grow"><lang-text text="moment_question"></lang-text>
|
|
16
|
+
<input .value=${e.question} @change=${t=>this.edit(e.id,{question:t.target.value.trim()})} />
|
|
17
|
+
</label>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="answers" role="group" aria-labelledby=${`answers-${e.id}`}>
|
|
20
|
+
<span class="label" id=${`answers-${e.id}`}><lang-text text="answers_pick_right"></lang-text></span>
|
|
21
|
+
${e.answers.map((t,n)=>u.qy`<div class="answer">
|
|
22
|
+
<input type="radio" name=${`right-${e.id}`} aria-label=${`${g("right_answer","Right answer")}: ${n+1}`} .checked=${n===e.correct} @change=${()=>this.edit(e.id,{correct:n})} />
|
|
23
|
+
<input aria-label=${`${g("answer","Answer")} ${n+1}`} .value=${t} @change=${t=>this.editAnswer(e,n,t.target.value.trim())} />
|
|
24
|
+
${e.answers.length>2?u.qy`<button class="drop" aria-label=${g("remove","Remove")} @click=${()=>this.removeAnswer(e,n)}>×</button>`:""}
|
|
25
|
+
</div>`)}
|
|
26
|
+
${e.answers.length<4?u.qy`<button class="link" @click=${()=>this.edit(e.id,{answers:[...e.answers,""]})}><lang-text text="add_answer"></lang-text></button>`:""}
|
|
27
|
+
</div>`}renderForm(e){return u.qy`<div class="form">
|
|
28
|
+
${"question"===e.kind?this.renderQuestionForm(e):this.renderButtonForm(e)}
|
|
29
|
+
<button class="remove" @click=${()=>this.remove(e.id)}><lang-text text="remove"></lang-text></button>
|
|
30
|
+
</div>`}renderRow(e){const t="question"===e.kind?e.question:e.text,n=(e=>"question"===e.kind?e.question.trim()?e.answers.filter(e=>e.trim()).length<2?"needs_answers":e.answers[e.correct]?.trim()?null:"needs_right_answer":"needs_question":e.text.trim()?/^https?:\/\//i.test(e.url)?null:"needs_link":"needs_text")(e);return u.qy`<button class="head" aria-expanded=${this.open===e.id} @click=${()=>this.open=this.open===e.id?null:e.id}>
|
|
31
|
+
<span class="at">${h(e.at)}</span>
|
|
32
|
+
<span class="what"><lang-text text=${"question"===e.kind?"moment_question":"moment_button"}></lang-text>${t?` · ${t}`:""}</span>
|
|
33
|
+
${n?u.qy`<span class="missing"><lang-text text=${n}></lang-text></span>`:""}
|
|
34
|
+
</button>`}render(){return u.qy`
|
|
35
|
+
<div class="list">${this.actions.map(e=>u.qy`<div class="row ${this.open===e.id?"open":""}">
|
|
36
|
+
${this.renderRow(e)}
|
|
37
|
+
${this.open===e.id?this.renderForm(e):""}
|
|
38
|
+
</div>`)}</div>
|
|
39
|
+
<div class="adds">
|
|
40
|
+
<button class="add" @click=${()=>this.add(d)}><lang-text text="add_button"></lang-text></button>
|
|
41
|
+
<button class="add" @click=${()=>this.add(c)}><lang-text text="add_question"></lang-text></button>
|
|
42
|
+
</div>
|
|
43
|
+
<p class="hint"><lang-text text="moments_hint" whiteSpace="normal"></lang-text></p>
|
|
44
|
+
`}}A.properties={actions:{attribute:!1},open:{state:!0}},A.styles=u.AH`
|
|
45
|
+
:host { display: block; font-size: var(--text-sm, 13px); color: var(--color-text, #333); }
|
|
46
|
+
.list { border: 1px solid var(--color-border, #e6e6ea); border-radius: var(--radius-md, 8px); }
|
|
47
|
+
.list:empty { display: none; }
|
|
48
|
+
.row + .row { border-top: 1px solid var(--color-border, #e6e6ea); }
|
|
49
|
+
.head {
|
|
50
|
+
all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px;
|
|
51
|
+
padding: 10px 12px; cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
.head:focus-visible { outline: 2px solid var(--color-primary, #6366f1); outline-offset: -2px; }
|
|
54
|
+
.row.open .head { background: var(--color-primary-soft, rgba(99, 102, 241, 0.06)); }
|
|
55
|
+
.at { font-weight: 500; color: var(--color-primary, #6366f1); font-variant-numeric: tabular-nums; }
|
|
56
|
+
.what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
57
|
+
.form { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-top: 1px solid var(--color-border, #e6e6ea); }
|
|
58
|
+
.pair { display: flex; gap: 10px; }
|
|
59
|
+
label { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-xs, 12px); color: var(--color-text-muted, #666); }
|
|
60
|
+
.label { font-size: var(--text-xs, 12px); color: var(--color-text-muted, #666); }
|
|
61
|
+
label.time { width: 72px; flex-shrink: 0; }
|
|
62
|
+
label.grow { flex: 1; min-width: 0; }
|
|
63
|
+
input {
|
|
64
|
+
box-sizing: border-box; width: 100%; padding: 7px 8px; font: inherit; font-size: var(--text-sm, 13px);
|
|
65
|
+
color: var(--color-text, #333); border: 1px solid var(--color-border-strong, #d0d0d6); border-radius: 6px;
|
|
66
|
+
}
|
|
67
|
+
input:focus { outline: none; border-color: var(--color-primary, #6366f1); }
|
|
68
|
+
.remove { all: unset; align-self: flex-end; cursor: pointer; color: var(--color-text-muted, #666); }
|
|
69
|
+
.remove:hover, .remove:focus-visible { color: var(--color-danger, #dc2626); }
|
|
70
|
+
.remove:focus-visible, .add:focus-visible { outline: 2px solid var(--color-primary, #6366f1); outline-offset: 2px; }
|
|
71
|
+
.missing { flex-shrink: 0; font-size: var(--text-xs, 12px); color: var(--color-warning, #b45309); }
|
|
72
|
+
.adds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
|
|
73
|
+
.add {
|
|
74
|
+
all: unset; box-sizing: border-box; padding: 9px 0; text-align: center; cursor: pointer;
|
|
75
|
+
color: var(--color-primary, #6366f1); border: 1px solid var(--color-border, #e6e6ea); border-radius: 6px;
|
|
76
|
+
}
|
|
77
|
+
.answers { display: flex; flex-direction: column; gap: 6px; }
|
|
78
|
+
.answer { display: flex; align-items: center; gap: 8px; }
|
|
79
|
+
.answer input[type="radio"] { width: auto; margin: 0; accent-color: var(--color-primary, #6366f1); }
|
|
80
|
+
.drop { all: unset; cursor: pointer; padding: 0 4px; font-size: 16px; line-height: 1; color: var(--color-text-muted, #666); }
|
|
81
|
+
.drop:hover, .drop:focus-visible { color: var(--color-danger, #dc2626); }
|
|
82
|
+
.drop:focus-visible { outline: 2px solid var(--color-primary, #6366f1); }
|
|
83
|
+
.link { all: unset; align-self: flex-start; cursor: pointer; color: var(--color-primary, #6366f1); }
|
|
84
|
+
.link:focus-visible { outline: 2px solid var(--color-primary, #6366f1); outline-offset: 2px; }
|
|
85
|
+
.add:hover, .add:focus-visible { border-color: var(--color-primary, #6366f1); }
|
|
86
|
+
.hint { margin: 8px 0 0; font-size: var(--text-xs, 12px); line-height: 1.5; color: var(--color-text-muted, #666); }
|
|
87
|
+
`,customElements.get("cdtr-video-moments")||customElements.define("cdtr-video-moments",A);const x=new Map,v=e=>{{const{component:t,commands:n,helpers:r}=e,i=t.parent("col"),s=e=>"style"===e.text,l=(e,n)=>t.props[e]??t.props.style?.[e]??n;return{select:e=>{let{changeTab:t,tab:n}=e;n.text||t("style")},tabs:e=>{const t=[{text:"style",selected:!0},{text:"animations"},{text:"settings"}];return e?(t.forEach(t=>t.selected=t.text===e),t):t},layout:e=>{let{tab:d,changeTab:c,tabs:p}=e;const u=t.element?o(t.element):null,m=t.element&&function(e){const t={};return e.dispatchEvent(new CustomEvent("cdtr-video-timing",{bubbles:!0,composed:!0,detail:t})),!0===t.offer}(t.element);return[{type:"heading",level:6,text:"video",active:()=>s(d)},{type:"input",title:"add_urlAddress_from_media_site",active:()=>s(d),value:l("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]}`)}n.execCommand("url",t)}},...u?.panel?[{type:"custom",active:()=>s(d),node:()=>u.panel()}]:[],{type:"heading",level:6,text:"playback",active:()=>s(d)},{type:"checkbox",title:"autoplay",info:"autoplayMutedInfo",active:()=>s(d),checked:!!l("playing",!1),onChange:e=>{const t=e.target.checked;n.execCommand("playing",t),t&&!l("muted",!0)&&(n.execCommand("muted",!0),c("style"))}},{type:"checkbox",title:"playInLoop",active:()=>s(d),checked:!!l("loop",!1),onChange:e=>{n.execCommand("loop",e.target.checked)}},{type:"checkbox",title:"slientMode",active:()=>s(d),checked:!!l("muted",!0),onChange:e=>{n.execCommand("muted",e.target.checked)}},{type:"checkbox",title:"showControls",active:()=>s(d),checked:!1!==l("controls",!0),onChange:e=>{n.execCommand("controls",e.target.checked)}},{type:"checkbox",title:"showAsImage",active:()=>s(d),checked:!!l("light",!1),onChange:e=>{n.execCommand("light",e.target.checked)}},{type:"checkbox",title:"playInline",active:()=>s(d),checked:!!l("playsinline",!1),onChange:e=>{n.execCommand("playsinline",e.target.checked)}},{type:"slider",title:"volume",min:0,max:100,unit:"%",active:()=>s(d),value:Math.round(100*(l("volume",.8)??.8)),onInput:e=>{n.execCommand("volume",Number(e.target.value)/100)}},...m?[{type:"heading",level:6,text:"on_the_video",active:()=>s(d)},{type:"custom",active:()=>s(d),node:()=>((e,t)=>{let n=x.get(e.id);return n||(n=document.createElement("cdtr-video-moments"),n.addEventListener("actions-change",e=>n.commands.execCommand("actions",e.detail)),x.set(e.id,n)),n.commands=t,n.actions=a(e.props.actions),n})(t,n)}]:[],{type:"heading",level:6,text:"size",active:()=>s(d)},{type:"fontSize",title:"size",min:10,active:()=>s(d),max:i?.element?.offsetWidth,value:parseInt(t.props.style.width),device:e=>{if("phone"===e.target.device){const n=t.props?.breakpoints?.sm?.style?.width||t.props.style.width;e.target.value=parseInt(n)}else e.target.value=parseInt(t.props.style.width)},onInput:e=>{const t=e.target.value;"phone"===e.target.device?n.execCommand("breakpoints",e=>{const n=e.props.breakpoints?.sm||{};return{sm:r.deepMerge(n,{style:{width:t+"px",height:9*t/16+"px"}})}}):n.execCommand("style",{width:t+"px"})}}]}}}};var f=n(69893);const b=["playing","loop","muted","controls","light","playsinline"],y=()=>({set:(e,t,n)=>{if(b.includes(t))return e[t]=Boolean(n),!0;switch(t){case"url":return e[t]=n,!0;case"actions":return e[t]=a(n),!0;case"volume":{const o=parseFloat(n);return!Number.isNaN(o)&&(e[t]=Math.min(1,Math.max(0,o)),!0)}case"style":if("object"==typeof n)return n.width&&(n.height=9*parseFloat(n.width)/16+"px"),e[t]=(0,f.A)(e[t],n),!0}}});var k=n(72591),C=n.n(k),w=n(88639),E=n.n(w),B=n(88128),$=n.n(B),q=n(30855),_=n.n(q),z=n(93051),I=n.n(z),S=n(19948),j={};j.setAttributes=_(),j.insert=$().bind(null,"head"),j.domAPI=E(),j.insertStyleElement=I();C()(S.A,j);const M=S.A&&S.A.locals?S.A.locals:void 0;n(15284);const F="video";const T=()=>({name:F,create:e=>{const{createElement:t,compose:n,helpers:r}=e,{arrayToString:i,mergeDiff:a}=r,s=document.createElement("div");s.classList.add(M.root);const l=document.createElement("div");l.classList.add(M.cover);const d=document.createElement("cdtr-media-player"),c=document.createElement("div");c.classList.add(M.empty),c.innerHTML='<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M10 8.5l5 3.5-5 3.5z"/></svg>';const p=document.createElement("strong"),u=document.createElement("span");return c.append(p,u),s.append(d,c,l),s.addEventListener("click",()=>{d.playing=!1}),t({name:F,id:n.id,template:s,defaultProps:{url:"https://www.youtube.com/watch?v=04Or_U9OexU",playing:!1,loop:!1,muted:!0,controls:!0,light:!1,playsinline:!1,volume:.8,style:{width:"400px",height:"225px"}},draggable:{group:"element"},droppable:{group:"element"},render:e=>{const t=n.props,r=(e,n)=>t[e]??t.style?.[e]??n,i=r("url");d.url=i;const l=!String(i??"").trim();if(s.classList.toggle(M.blank,l),l){const e=o(s)?.block?.()??null;c.classList.toggle(M.hosted,!!e),e&&e.parentNode!==c&&c.append(e),e||c.querySelector(":scope > div")?.remove(),p.textContent=m.M.get("lang","video_paste_link")||"Paste a video link",u.textContent=m.M.get("lang","video_link_sources")||"YouTube, Vimeo or an MP4 file",Object.assign(c.style,{width:t.style.width,height:t.style.height})}a(d,{style:t.style}),d.width=t.style.width,d.height=t.style.height,d.playing=!!r("playing",!1),d.loop=!!r("loop",!1),d.controls=!1!==r("controls",!0),d.light=!!r("light",!1),d.playsinline=!!r("playsinline",!1);const h=r("volume",.8);d.volume="number"==typeof h?h:.8,d.muted=!0},atomElement:d,resizeable:()=>s,handleBar:!0,validator:y(),schema:n.schema,onSelect:e=>{d.classList.add(e)},onDeselect:e=>{d.classList.remove(e)},elementProps:n,remove:()=>{s.remove()},createEditor:v})}})},19948(e,t,n){n.d(t,{A:()=>s});var o=n(82001),r=n.n(o),i=n(40935),a=n.n(i)()(r());a.push([e.id,".BaT92HY5C7Gxgg9C1_pc {\n position: relative;\n max-width: 100%;\n}\n.aybkK2AXl8f2XctkkRjJ {\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n opacity: 0.6;\n}\n\n.BaT92HY5C7Gxgg9C1_pc:hover .aybkK2AXl8f2XctkkRjJ {\n display: block;\n background-color: var(--primary);\n}\n\n/* no link yet: a quiet placeholder the size of the video */\n.meCvGtDIqeqhKAtynZ3d {\n display: none;\n box-sizing: border-box;\n max-width: 100%;\n min-height: 160px;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid #dcdde3;\n border-radius: 8px;\n background: #eeeff2;\n color: #6b6880;\n font-size: 13px;\n text-align: center;\n}\n.meCvGtDIqeqhKAtynZ3d svg {\n width: 40px;\n height: 40px;\n margin-bottom: 4px;\n fill: none;\n stroke: currentColor;\n stroke-width: 1.5;\n stroke-linejoin: round;\n}\n.meCvGtDIqeqhKAtynZ3d svg path {\n fill: currentColor;\n stroke: none;\n}\n.meCvGtDIqeqhKAtynZ3d strong {\n font-size: 15px;\n font-weight: 500;\n color: #1f1d2b;\n}\n/* The page's own content (the course builder's upload) stands in for the words, with its own edge. */\n.OjkoAFfgIQWkff_cKpRf > svg,\n.OjkoAFfgIQWkff_cKpRf > strong,\n.OjkoAFfgIQWkff_cKpRf > span {\n display: none;\n}\n.meCvGtDIqeqhKAtynZ3d.OjkoAFfgIQWkff_cKpRf {\n border: 0;\n background: #fff;\n}\n.cUFSqapO5YVXlS_kCjQ_ .meCvGtDIqeqhKAtynZ3d {\n display: flex;\n}\n.cUFSqapO5YVXlS_kCjQ_ cdtr-media-player {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./../web-editors/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;;AAEA,2DAA2D;AAC3D;EACE,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,iBAAiB;EACjB,sBAAsB;EACtB,mBAAmB;EACnB,uBAAuB;EACvB,QAAQ;EACR,yBAAyB;EACzB,kBAAkB;EAClB,mBAAmB;EACnB,cAAc;EACd,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,UAAU;EACV,oBAAoB;EACpB,iBAAiB;EACjB,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;AACd;AACA;EACE,eAAe;EACf,gBAAgB;EAChB,cAAc;AAChB;AACA,qGAAqG;AACrG;;;EAGE,aAAa;AACf;AACA;EACE,SAAS;EACT,gBAAgB;AAClB;AACA;EACE,aAAa;AACf;AACA;EACE,wBAAwB;AAC1B",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\n/* no link yet: a quiet placeholder the size of the video */\n.empty {\n display: none;\n box-sizing: border-box;\n max-width: 100%;\n min-height: 160px;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border: 1px solid #dcdde3;\n border-radius: 8px;\n background: #eeeff2;\n color: #6b6880;\n font-size: 13px;\n text-align: center;\n}\n.empty svg {\n width: 40px;\n height: 40px;\n margin-bottom: 4px;\n fill: none;\n stroke: currentColor;\n stroke-width: 1.5;\n stroke-linejoin: round;\n}\n.empty svg path {\n fill: currentColor;\n stroke: none;\n}\n.empty strong {\n font-size: 15px;\n font-weight: 500;\n color: #1f1d2b;\n}\n/* The page's own content (the course builder's upload) stands in for the words, with its own edge. */\n.hosted > svg,\n.hosted > strong,\n.hosted > span {\n display: none;\n}\n.empty.hosted {\n border: 0;\n background: #fff;\n}\n.blank .empty {\n display: flex;\n}\n.blank cdtr-media-player {\n display: none !important;\n}\n"],sourceRoot:""}]),a.locals={root:"BaT92HY5C7Gxgg9C1_pc",cover:"aybkK2AXl8f2XctkkRjJ",empty:"meCvGtDIqeqhKAtynZ3d",hosted:"OjkoAFfgIQWkff_cKpRf",blank:"cUFSqapO5YVXlS_kCjQ_"};const s=a}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[333],{20333(e,t,o){o.d(t,{default:()=>l});const a=e=>{{const{component:t,commands:o,helpers:a}=e;return{select:e=>{let{changeTab:t,tab:o}=e},tabs:e=>{const t=[{text:"style"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:a,changeTab:r,tabs:n}=e;const l=t.parent("col");return[{type:"datetime",value:t.props.date,active:"style"===a.text,onChange:e=>{const t=e.target.value;o.execCommand("date",t.toString())}},{type:"slider",title:"width",max:l.element.offsetWidth,min:100,value:parseFloat(t.props.containerWidth),active:"style"===a.text,onInput:e=>{const t=e.target.value;o.execCommand("containerWidth",t+"px")}},{type:"divider",active:"style"===a.text},{type:"heading",level:5,text:"numbers"},{type:"fontFamily",title:"font",value:t.props.numberFontFamily,onChange:e=>{const t=e.target.value;o.execCommand("numberFontFamily",t)}},{type:"slider",title:"size",max:100,min:10,value:parseFloat(t.props.numberSize),onInput:e=>{const t=e.target.value;o.execCommand("numberSize",t+"px")}},{type:"colorpicker",title:"color",value:t.props.numberColor,onChange:e=>{const t=e.target.value;o.execCommand("numberColor",t)}},{type:"divider"},{type:"heading",level:5,text:"labels"},{type:"checkbox",title:"counterTitle",checked:t.props.hasLabels,onChange:e=>{const t=e.target.checked;o.execCommand("hasLabels",t)}},{type:"fontFamily",title:"font",value:t.props.labelFontFamily,onChange:e=>{const t=e.target.value;o.execCommand("labelFontFamily",t)}},{type:"slider",title:"size",max:100,min:10,value:parseFloat(t.props.labelSize),onInput:e=>{const t=e.target.value;o.execCommand("labelSize",t+"px")}},{type:"colorpicker",title:"color",value:t.props.labelColor,onChange:e=>{const t=e.target.value;o.execCommand("labelColor",t)}},{type:"divider"},{type:"heading",level:5,text:"border"},{type:"colorpicker",title:"color",value:t.props.borderColor,onChange:e=>{const t=e.target.value;o.execCommand("borderColor",t)}},{type:"slider",title:"size",max:10,min:0,value:parseFloat(t.props.colBorderSize),onInput:e=>{const t=e.target.value;o.execCommand("colBorderSize",t+"px")}},{type:"borderpicker",title:"style",value:t.props.borderStyle,onChange:e=>{const t=e.target.value;o.execCommand("colBorderStyle",t)}},{type:"colorpicker",title:"background",value:t.props.colBg,onChange:e=>{const t=e.target.value;o.execCommand("colBg",t)}}]}}}};var r=o(69893);const n=e=>{let{helpers:t,template:o,countdown:a}=e;return{set:(e,t,o)=>{switch(t){case"containerWidth":case"numberFontFamily":case"colorpicker":case"labelSize":case"labelColor":case"colBg":case"numberSize":case"numberColor":case"colBorderSize":case"colBorderColor":case"hasLabels":case"colBorderSize":case"labelFontFamily":case"numberFontFamily":return a[t]=e[t]=o,!0;case"style":return e[t]=(0,r.A)(e[t],o),!0}}}};(function(e,t){try{const o=document.head.querySelector(`script[src="${e}"]`);if(o){const e=parseInt(o.dataset.requested,10)||1;return o.dataset.requested=String(e+1),void("function"==typeof t&&t())}const a=document.createElement("script");a.type=e.includes("?module")?"module":"text/javascript",a.dataset.loaded="false",a.async=!0,a.defer=!0,a.src=e,a.addEventListener("load",()=>{a.dataset.loaded="true",a.dataset.requested=String((parseInt(a.dataset.requested,10)||0)+1),"function"==typeof t&&t()},{once:!0}),a.addEventListener("error",()=>{a.dataset.error="true"},{once:!0}),document.head.appendChild(a)}catch(e){console.error("loadScript:",e)}})("https://unpkg.com/@creaditor/countdown@latest/dist/countdown-element.js?module");const l=()=>{const e="countdown";return{name:e,create:t=>{let{createElement:o,compose:r,helpers:l}=t;const{arrayToString:c,mergeDiff:s}=l,d=r.props,i=document.createElement("div"),p=document.createElement("countdown-element");return i.append(p),o({name:e,id:r.id,template:i,render:()=>{!function(){for(const e in d)if(Object.hasOwnProperty.call(d,e)){const t=d[e];p[e]=t}}(),s(p,{style:r.props.style})},defaultProps:{hasColons:!0,hasLabels:!0,data:"",language:"he",style:{},classList:[],containerWidth:"400px",containerBg:"transparent",containerRadius:"0",colBg:"transparent",colBorderStyle:"none",colBorderSize:"0",colBorderColor:"none",colBorderPadding:"0",colBorderRadius:"100px",numberSize:"30px",numberColor:"black",numberFontFamily:"Arial",labelSize:"14px",labelColor:"black",labelfontFamily:"Arial"},validator:n({template:i,helpers:l,countdown:p}),draggable:{group:"element"},droppable:{group:"element"},handleBar:!0,schema:r.schema,onSelect:e=>{p.classList.add(e)},onDeselect:e=>{p.classList.remove(e)},elementProps:r,remove:()=>{i.remove()},createEditor:a})}}}}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3382],{3382(e,t,i){i.r(t),i.d(t,{newFolderIcon:()=>d});var s=i(59929);class d extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<svg
|
|
2
2
|
style="${this.iconStyle}"
|
|
3
3
|
width="${this.width}"
|
|
4
4
|
height="${this.height}"
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3445],{3445(t,e,i){i.r(e),i.d(e,{SettingIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`
|
|
2
2
|
<svg
|
|
3
3
|
style="${this.iconStyle}"
|
|
4
4
|
width="${this.width}"
|
|
Binary file
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3462],{13462(t,e,i){i.r(e),i.d(e,{MakeNewsletterAsEventPlugin:()=>p});var a=i(59929),o=i(49410),n=i(21421),r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=(t,e,i,a)=>{for(var o,n=a>1?void 0:a?s(e,i):e,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(a?o(e,i,n):o(n))||n);return a&&n&&r(e,i,n),n};let p=class extends a.WF{constructor(){super(...arguments),this.lang="en",this.primaryColor="#000000",this.primaryTextColor="#ffffff",this.buttonText="#ffffff",this.iconColor="#ffffff",this.buttonTextContent="",this.headerText="Create Event",this.startLabel="Start Date & Time",this.endLabel="End Date & Time",this.locationLabel="Location",this.linkLabel="Link (Optional)",this.saveButtonText="Save Event",this.cancelEventText="Cancel Event",this.confirmCancelText="Are you sure you want to cancel?",this.creatingEventText="Creating Event...",this.eventCreatedText="Event Created!",this.errorMessage="End date/time must be after start date/time",this.locationPlaceholder="Enter event location",this.linkPlaceholder="Enter event link",this.initialStartDate="",this.initialStartTime="",this.initialEndDate="",this.initialEndTime="",this.initialLocation="",this.initialLink="",this.startDate="",this.startTime="",this.endDate="",this.endTime="",this.location="",this.link="",this.error="",this.isSaving=!1,this.isSaved=!1,this.isConfirmingCancel=!1,this.popoverRef=(0,n._)(),this.cancelTimeout=null}get buttonDisplayText(){return this.isSaved?this.eventCreatedText:this.isSaving?this.creatingEventText:this.startDate&&this.startTime?new Date(`${this.startDate}T${this.startTime}`).toLocaleDateString(this.lang,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}):this.buttonTextContent}connectedCallback(){super.connectedCallback(),this.initialStartDate&&this.initialStartTime&&(this.startDate=this.initialStartDate,this.startTime=this.initialStartTime),this.initialEndDate&&this.initialEndTime&&(this.endDate=this.initialEndDate,this.endTime=this.initialEndTime),this.initialLocation&&(this.location=this.initialLocation),this.initialLink&&(this.link=this.initialLink)}handleStartDateTimeChange(t){const e=t.target,[i,a]=e.value.split("T");if(this.startDate=i,this.startTime=a,!this.endDate&&!this.endTime){const t=new Date(new Date(`${i}T${a}`).getTime()+36e5);this.endDate=t.toISOString().split("T")[0],this.endTime=t.toTimeString().slice(0,5)}this.validateDates()}handleEndDateTimeChange(t){const e=t.target,[i,a]=e.value.split("T");this.endDate=i,this.endTime=a,this.validateDates()}validateDates(){if(this.startDate&&this.startTime&&this.endDate&&this.endTime){const t=new Date(`${this.startDate}T${this.startTime}`);new Date(`${this.endDate}T${this.endTime}`)<=t?this.error=this.errorMessage:this.error=""}}async handleSave(){var t;if(this.error)return;this.isSaving=!0,this.isSaved=!1;const e=new CustomEvent("event-created",{detail:{startDate:this.startDate,startTime:this.startTime,endDate:this.endDate,endTime:this.endTime,location:this.location,link:this.link},bubbles:!0,composed:!0});this.dispatchEvent(e),null==(t=this.popoverRef.value)||t.close(),await new Promise(t=>setTimeout(t,1500)),this.isSaving=!1,this.isSaved=!0,setTimeout(()=>{this.isSaved=!1},2e3)}handleCancelEvent(){var t;if(this.isConfirmingCancel){this.cancelTimeout&&(clearTimeout(this.cancelTimeout),this.cancelTimeout=null),this.startDate="",this.startTime="",this.endDate="",this.endTime="",this.location="",this.link="",this.error="",this.isConfirmingCancel=!1;const e=new CustomEvent("event-cancelled",{detail:{startDate:this.startDate,startTime:this.startTime,endDate:this.endDate,endTime:this.endTime,location:this.location,link:this.link},bubbles:!0,composed:!0});this.dispatchEvent(e),null==(t=this.popoverRef.value)||t.close()}else this.isConfirmingCancel=!0,this.cancelTimeout=window.setTimeout(()=>{this.isConfirmingCancel=!1},3e3)}disconnectedCallback(){super.disconnectedCallback(),this.cancelTimeout&&clearTimeout(this.cancelTimeout)}render(){return a.qy`
|
|
2
|
+
<cdtr-popover ${(0,n.K)(this.popoverRef)}>
|
|
3
|
+
<paper-button
|
|
4
|
+
color="primary"
|
|
5
|
+
slot="trigger"
|
|
6
|
+
dir="auto"
|
|
7
|
+
?disabled=${this.isSaving}
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
style="color:${this.iconColor}"
|
|
11
|
+
class="button-content ${this.isSaved?"hidden":""}"
|
|
12
|
+
>
|
|
13
|
+
<svg
|
|
14
|
+
width="20"
|
|
15
|
+
height="20"
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="${this.iconColor||"currentColor"}"
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
d="M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM11 13V17H6V13H11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"
|
|
22
|
+
></path>
|
|
23
|
+
</svg>
|
|
24
|
+
${this.buttonDisplayText}
|
|
25
|
+
</div>
|
|
26
|
+
<div
|
|
27
|
+
class="button-border ${this.isSaving?"loading":""} ${this.isSaved?"success":""}"
|
|
28
|
+
></div>
|
|
29
|
+
<svg
|
|
30
|
+
class="checkmark ${this.isSaved?"visible":""}"
|
|
31
|
+
viewBox="0 0 24 24"
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
>
|
|
34
|
+
<path
|
|
35
|
+
d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"
|
|
36
|
+
fill="${"currentColor"}"
|
|
37
|
+
/>
|
|
38
|
+
</svg>
|
|
39
|
+
</paper-button>
|
|
40
|
+
<div slot="content" class="popover-content" dir="auto">
|
|
41
|
+
<div class="popover-header">
|
|
42
|
+
<h3 dir="auto">${this.headerText}</h3>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div class="input-group">
|
|
46
|
+
<label dir="auto">${this.startLabel}</label>
|
|
47
|
+
<input
|
|
48
|
+
type="datetime-local"
|
|
49
|
+
.value=${`${this.startDate}T${this.startTime}`}
|
|
50
|
+
@change=${this.handleStartDateTimeChange}
|
|
51
|
+
dir="auto"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div class="input-group">
|
|
56
|
+
<label dir="auto">${this.endLabel}</label>
|
|
57
|
+
<input
|
|
58
|
+
type="datetime-local"
|
|
59
|
+
.value=${`${this.endDate}T${this.endTime}`}
|
|
60
|
+
@change=${this.handleEndDateTimeChange}
|
|
61
|
+
dir="auto"
|
|
62
|
+
/>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div class="input-group">
|
|
66
|
+
<label dir="auto">${this.locationLabel}</label>
|
|
67
|
+
<input
|
|
68
|
+
type="text"
|
|
69
|
+
.value=${this.location}
|
|
70
|
+
@input=${t=>this.location=t.target.value}
|
|
71
|
+
placeholder=${this.locationPlaceholder}
|
|
72
|
+
dir="auto"
|
|
73
|
+
/>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="input-group">
|
|
77
|
+
<label dir="auto">${this.linkLabel}</label>
|
|
78
|
+
<input
|
|
79
|
+
name="link"
|
|
80
|
+
type="url"
|
|
81
|
+
.value=${this.link}
|
|
82
|
+
@input=${t=>this.link=t.target.value}
|
|
83
|
+
placeholder=${this.linkPlaceholder}
|
|
84
|
+
dir="auto"
|
|
85
|
+
/>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
${this.error?a.qy`<div class="error" dir="auto">${this.error}</div>`:""}
|
|
89
|
+
|
|
90
|
+
<div class="button-group">
|
|
91
|
+
${this.startDate||this.endDate?a.qy`
|
|
92
|
+
<paper-button
|
|
93
|
+
style=${`background: #ff0000;color:${this.primaryTextColor}`}
|
|
94
|
+
class="cancel-event ${this.isConfirmingCancel?"confirming":""}"
|
|
95
|
+
@click=${this.handleCancelEvent}
|
|
96
|
+
?disabled=${this.isSaving}
|
|
97
|
+
dir="auto"
|
|
98
|
+
>
|
|
99
|
+
${this.isConfirmingCancel?this.confirmCancelText:this.cancelEventText}
|
|
100
|
+
</paper-button>
|
|
101
|
+
`:""}
|
|
102
|
+
<paper-button
|
|
103
|
+
@click=${this.handleSave}
|
|
104
|
+
?disabled=${!!this.error||this.isSaving}
|
|
105
|
+
style=${`background: ${this.primaryColor};color:${this.primaryTextColor};width:100%;`}
|
|
106
|
+
dir="auto"
|
|
107
|
+
>
|
|
108
|
+
${this.saveButtonText}
|
|
109
|
+
</paper-button>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</cdtr-popover>
|
|
113
|
+
`}};p.styles=a.AH`
|
|
114
|
+
:host {
|
|
115
|
+
display: block;
|
|
116
|
+
}
|
|
117
|
+
* {
|
|
118
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
}
|
|
121
|
+
.popover-content {
|
|
122
|
+
padding: 16px;
|
|
123
|
+
min-width: 300px;
|
|
124
|
+
}
|
|
125
|
+
.popover-header {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: 8px;
|
|
129
|
+
margin-bottom: 16px;
|
|
130
|
+
padding-bottom: 8px;
|
|
131
|
+
border-bottom: 1px solid #e0e0e0;
|
|
132
|
+
}
|
|
133
|
+
.popover-header h3 {
|
|
134
|
+
margin: 0;
|
|
135
|
+
font-size: 16px;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
color: #333;
|
|
138
|
+
}
|
|
139
|
+
.popover-header svg {
|
|
140
|
+
width: 20px;
|
|
141
|
+
height: 20px;
|
|
142
|
+
color: #666;
|
|
143
|
+
}
|
|
144
|
+
.input-group {
|
|
145
|
+
margin-bottom: 16px;
|
|
146
|
+
}
|
|
147
|
+
.input-group label {
|
|
148
|
+
display: block;
|
|
149
|
+
margin-bottom: 4px;
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
color: #333;
|
|
152
|
+
}
|
|
153
|
+
.input-group input {
|
|
154
|
+
padding: 8px 12px;
|
|
155
|
+
border: 1px solid #ccc;
|
|
156
|
+
border-radius: 4px;
|
|
157
|
+
width: 100%;
|
|
158
|
+
font-size: 14px;
|
|
159
|
+
transition: border-color 0.2s;
|
|
160
|
+
}
|
|
161
|
+
.input-group input:focus {
|
|
162
|
+
border-color: #666;
|
|
163
|
+
outline: none;
|
|
164
|
+
}
|
|
165
|
+
.datetime-container {
|
|
166
|
+
display: grid;
|
|
167
|
+
grid-template-columns: 1fr 1fr;
|
|
168
|
+
gap: 8px;
|
|
169
|
+
}
|
|
170
|
+
.error {
|
|
171
|
+
color: #ff0000;
|
|
172
|
+
font-size: 12px;
|
|
173
|
+
margin-bottom: 8px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.button-content {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
gap: 8px;
|
|
180
|
+
position: relative;
|
|
181
|
+
z-index: 1;
|
|
182
|
+
transition: opacity 0.3s ease;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.button-content.hidden {
|
|
186
|
+
opacity: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.button-border {
|
|
190
|
+
position: absolute;
|
|
191
|
+
top: 0;
|
|
192
|
+
left: 0;
|
|
193
|
+
right: 0;
|
|
194
|
+
bottom: 0;
|
|
195
|
+
border: 2px solid transparent;
|
|
196
|
+
border-radius: 4px;
|
|
197
|
+
pointer-events: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.button-border.loading {
|
|
201
|
+
border-color: #ffffff;
|
|
202
|
+
animation: borderRotate 1.5s linear infinite;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.button-border.success {
|
|
206
|
+
border-color: #4caf50;
|
|
207
|
+
animation: borderSuccess 0.5s ease-out forwards;
|
|
208
|
+
}
|
|
209
|
+
paper-button {
|
|
210
|
+
min-width: 10px;
|
|
211
|
+
max-height:40px;
|
|
212
|
+
}
|
|
213
|
+
.checkmark {
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: 50%;
|
|
216
|
+
left: 50%;
|
|
217
|
+
transform: translate(-50%, -50%) scale(0);
|
|
218
|
+
width: 24px;
|
|
219
|
+
height: 24px;
|
|
220
|
+
opacity: 0;
|
|
221
|
+
transition: opacity 0.3s ease;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.checkmark.visible {
|
|
225
|
+
opacity: 1;
|
|
226
|
+
transform: translate(-50%, -50%) scale(1);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@keyframes borderRotate {
|
|
230
|
+
0% {
|
|
231
|
+
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
232
|
+
}
|
|
233
|
+
25% {
|
|
234
|
+
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
235
|
+
}
|
|
236
|
+
50% {
|
|
237
|
+
clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
|
|
238
|
+
}
|
|
239
|
+
75% {
|
|
240
|
+
clip-path: polygon(100% 100%, 0 100%, 0 100%, 100% 100%);
|
|
241
|
+
}
|
|
242
|
+
100% {
|
|
243
|
+
clip-path: polygon(0 100%, 0 0, 0 0, 0 100%);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
@keyframes borderSuccess {
|
|
248
|
+
0% {
|
|
249
|
+
clip-path: polygon(0 0, 0 0, 0 0, 0 0);
|
|
250
|
+
}
|
|
251
|
+
100% {
|
|
252
|
+
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@keyframes checkmarkSuccess {
|
|
257
|
+
0% {
|
|
258
|
+
transform: translate(-50%, -50%) scale(0);
|
|
259
|
+
opacity: 0;
|
|
260
|
+
}
|
|
261
|
+
50% {
|
|
262
|
+
transform: translate(-50%, -50%) scale(1.2);
|
|
263
|
+
opacity: 1;
|
|
264
|
+
}
|
|
265
|
+
100% {
|
|
266
|
+
transform: translate(-50%, -50%) scale(1);
|
|
267
|
+
opacity: 1;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.button-group {
|
|
272
|
+
display: flex;
|
|
273
|
+
gap: 8px;
|
|
274
|
+
margin-top: 16px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@keyframes pulse {
|
|
278
|
+
0% {
|
|
279
|
+
transform: scale(1);
|
|
280
|
+
}
|
|
281
|
+
50% {
|
|
282
|
+
transform: scale(1.05);
|
|
283
|
+
}
|
|
284
|
+
100% {
|
|
285
|
+
transform: scale(1);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
`,l([(0,o.MZ)({type:String})],p.prototype,"lang",2),l([(0,o.MZ)({type:String})],p.prototype,"primaryColor",2),l([(0,o.MZ)({type:String})],p.prototype,"primaryTextColor",2),l([(0,o.MZ)({type:String})],p.prototype,"buttonText",2),l([(0,o.MZ)({type:String})],p.prototype,"iconColor",2),l([(0,o.MZ)({type:String})],p.prototype,"buttonTextContent",2),l([(0,o.MZ)({type:String})],p.prototype,"headerText",2),l([(0,o.MZ)({type:String})],p.prototype,"startLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"endLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"locationLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"linkLabel",2),l([(0,o.MZ)({type:String})],p.prototype,"saveButtonText",2),l([(0,o.MZ)({type:String})],p.prototype,"cancelEventText",2),l([(0,o.MZ)({type:String})],p.prototype,"confirmCancelText",2),l([(0,o.MZ)({type:String})],p.prototype,"creatingEventText",2),l([(0,o.MZ)({type:String})],p.prototype,"eventCreatedText",2),l([(0,o.MZ)({type:String})],p.prototype,"errorMessage",2),l([(0,o.MZ)({type:String})],p.prototype,"locationPlaceholder",2),l([(0,o.MZ)({type:String})],p.prototype,"linkPlaceholder",2),l([(0,o.MZ)({type:String})],p.prototype,"initialStartDate",2),l([(0,o.MZ)({type:String})],p.prototype,"initialStartTime",2),l([(0,o.MZ)({type:String})],p.prototype,"initialEndDate",2),l([(0,o.MZ)({type:String})],p.prototype,"initialEndTime",2),l([(0,o.MZ)({type:String})],p.prototype,"initialLocation",2),l([(0,o.MZ)({type:String})],p.prototype,"initialLink",2),l([(0,o.MZ)()],p.prototype,"startDate",2),l([(0,o.MZ)()],p.prototype,"startTime",2),l([(0,o.MZ)()],p.prototype,"endDate",2),l([(0,o.MZ)()],p.prototype,"endTime",2),l([(0,o.MZ)()],p.prototype,"location",2),l([(0,o.MZ)()],p.prototype,"link",2),l([(0,o.MZ)()],p.prototype,"error",2),l([(0,o.MZ)()],p.prototype,"isSaving",2),l([(0,o.MZ)()],p.prototype,"isSaved",2),l([(0,o.MZ)()],p.prototype,"isConfirmingCancel",2),p=l([(0,o.EM)("cdtr-make-newsletter-as-event-plugin")],p)}}]);
|
|
Binary file
|