@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
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
/*! For license information please see 6022.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6022],{56022(t,e,i){i.r(e),i.d(e,{AttachedFilesPlugin:()=>gt});const s=globalThis,o=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;let l=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==r)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(o&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}};const a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,r))(e)})(t):t,{is:h,defineProperty:d,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:u,getPrototypeOf:f}=Object,g=globalThis,v=g.trustedTypes,m=v?v.emptyScript:"",$=g.reactiveElementPolyfillSupport,y=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},_=(t,e)=>!h(t,e),b={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:_};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),g.litPropertyMetadata??(g.litPropertyMetadata=new WeakMap);let A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);void 0!==s&&d(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:o}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){const r=null==s?void 0:s.call(this);null==o||o.call(this,e),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...p(t),...u(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const i of e){const e=document.createElement("style"),o=s.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var i;const s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(void 0!==o&&!0===s.reflect){const r=(void 0!==(null==(i=s.converter)?void 0:i.toAttribute)?s.converter:x).toAttribute(e,s.type);this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){var i,s;const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(i=t.converter)?void 0:i.fromAttribute)?t.converter:x;this._$Em=r;const l=n.fromAttribute(e,t.type);this[r]=l??(null==(s=this._$Ej)?void 0:s.get(r))??l,this._$Em=null}}requestUpdate(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;var r;if(void 0!==t){const n=this.constructor;if(!1===s&&(o=this[t]),i??(i=n.getPropertyOptions(t)),!((i.hasChanged??_)(o,e)||i.useDefault&&i.reflect&&o===(null==(r=this._$Ej)?void 0:r.get(t))&&!this.hasAttribute(n._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,i,s){let{useDefault:o,reflect:r,wrapped:n}=i;o&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),!0!==n||void 0!==s)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),!0===r&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,s=this[e];!0!==t||this._$AL.has(e)||void 0===s||this.C(e,void 0,i,s)}}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(i)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[y("elementProperties")]=new Map,A[y("finalized")]=new Map,null==$||$({ReactiveElement:A}),(g.reactiveElementVersions??(g.reactiveElementVersions=[])).push("2.1.2");const C=globalThis,w=t=>t,E=C.trustedTypes,S=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",H=`lit$${Math.random().toFixed(9).slice(2)}$`,z="?"+H,P=`<${z}>`,M=document,T=()=>M.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,V="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,N=/>/g,k=RegExp(`>|${V}(?:([^\\s"'>=/]+)(${V}*=${V}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,B=/"/g,Z=/^(?:script|style|textarea|title)$/i,D=(J=1,function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];return{_$litType$:J,strings:t,values:i}}),I=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),W=new WeakMap,K=M.createTreeWalker(M,129);var J;function G(t,e){if(!O(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==S?S.createHTML(e):e}class Q{constructor(t,e){let i,{strings:s,_$litType$:o}=t;this.parts=[];let r=0,n=0;const l=s.length-1,a=this.parts,[h,d]=((t,e)=>{const i=t.length-1,s=[];let o,r=2===e?"<svg>":3===e?"<math>":"",n=F;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===F?"!--"===a[1]?n=R:void 0!==a[1]?n=N:void 0!==a[2]?(Z.test(a[2])&&(o=RegExp("</"+a[2],"g")),n=k):void 0!==a[3]&&(n=k):n===k?">"===a[0]?(n=o??F,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?k:'"'===a[3]?B:j):n===B||n===j?n=k:n===R||n===N?n=F:(n=k,o=void 0);const c=n===k&&t[e+1].startsWith("/>")?" ":"";r+=n===F?i+P:h>=0?(s.push(l),i.slice(0,h)+L+i.slice(h)+H+c):i+H+(-2===h?e:c)}return[G(t,r+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]})(s,o);if(this.el=Q.createElement(h,e),K.currentNode=this.el.content,2===o||3===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=K.nextNode())&&a.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(L)){const e=d[n++],s=i.getAttribute(t).split(H),o=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:o[2],strings:s,ctor:"."===o[1]?it:"?"===o[1]?st:"@"===o[1]?ot:et}),i.removeAttribute(t)}else t.startsWith(H)&&(a.push({type:6,index:r}),i.removeAttribute(t));if(Z.test(i.tagName)){const t=i.textContent.split(H),e=t.length-1;if(e>0){i.textContent=E?E.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],T()),K.nextNode(),a.push({type:2,index:++r});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===z)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(H,t+1));)a.push({type:7,index:r}),t+=H.length-1}r++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function X(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;var o,r;if(e===I)return e;let n=void 0!==s?null==(o=i._$Co)?void 0:o[s]:i._$Cl;const l=U(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==l&&(null==(r=null==n?void 0:n._$AO)||r.call(n,!1),void 0===l?n=void 0:(n=new l(t),n._$AT(t,i,s)),void 0!==s?(i._$Co??(i._$Co=[]))[s]=n:i._$Cl=n),void 0!==n&&(e=X(t,n._$AS(t,e.values),n,s)),e}class Y{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((null==t?void 0:t.creationScope)??M).importNode(e,!0);K.currentNode=s;let o=K.nextNode(),r=0,n=0,l=i[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new tt(o,o.nextSibling,this,t):1===l.type?e=new l.ctor(o,l.name,l.strings,this,t):6===l.type&&(e=new rt(o,this,t)),this._$AV.push(e),l=i[++n]}r!==(null==l?void 0:l.index)&&(o=K.nextNode(),r++)}return K.currentNode=M,s}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class tt{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(null==s?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=X(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),U(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==q&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=Q.createElement(G(s.h,s.h[0]),this.options)),s);if((null==(e=this._$AH)?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new Y(o,this),e=t.u(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=W.get(t.strings);return void 0===e&&W.set(t.strings,e=new Q(t)),e}k(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new tt(this.O(T()),this.O(T()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var i;for(null==(i=this._$AP)||i.call(this,!1,!0,e);t!==this._$AB;){const e=w(t).nextSibling;w(t).remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,o){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=q}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;const o=this.strings;let r=!1;if(void 0===o)t=X(this,t,e,0),r=!U(t)||t!==this._$AH&&t!==I,r&&(this._$AH=t);else{const s=t;let n,l;for(t=o[0],n=0;n<o.length-1;n++)l=X(this,s[i+n],e,n),l===I&&(l=this._$AH[n]),r||(r=!U(l)||l!==this._$AH[n]),l===q?t=q:t!==q&&(t+=(l??"")+o[n+1]),this._$AH[n]=l}r&&!s&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class it extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}class st extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}}class ot extends et{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t){if((t=X(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??q)===I)return;const e=this._$AH,i=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,s=t!==q&&(e===q||i);i&&this.element.removeEventListener(this.name,this,e),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}const nt=C.litHtmlPolyfillSupport;null==nt||nt(Q,tt),(C.litHtmlVersions??(C.litHtmlVersions=[])).push("3.3.2");const lt=globalThis;class at extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const s=(null==i?void 0:i.renderBefore)??e;let o=s._$litPart$;if(void 0===o){const t=(null==i?void 0:i.renderBefore)??null;s._$litPart$=o=new tt(e.insertBefore(T(),t),t,void 0,i??{})}return o._$AI(t),o})(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 I}}var ht;at._$litElement$=!0,at.finalized=!0,null==(ht=lt.litElementHydrateSupport)||ht.call(lt,{LitElement:at});const dt=lt.litElementPolyfillSupport;null==dt||dt({LitElement:at}),(lt.litElementVersions??(lt.litElementVersions=[])).push("4.2.2");const ct={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:_};var pt=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ft=(t,e,i,s)=>{for(var o,r=s>1?void 0:s?ut(e,i):e,n=t.length-1;n>=0;n--)(o=t[n])&&(r=(s?o(e,i,r):o(r))||r);return s&&r&&pt(e,i,r),r};let gt=class extends at{constructor(){super(),this.files=[],this.maxFiles=1/0,this.maxFileSizeMB=1/0,this.isLoading=!1,this.buttonText="Attached Files",this.addFilesText="Add Files",this.maxFilesReachedText="Maximum number of files reached",this.fileTooLargeText="File size exceeds the limit",this.error="",this.customColor="",this.customTextColor="",this.iconColor="",this.loadingText="Loading files...",this.lazyLoad=null,this._isOpen=!1,this._lazyLoadPromise=null,this.initializeLazyLoad()}initializeLazyLoad(){let t,e;const i=new Promise((i,s)=>{t=i,e=s});this._lazyLoadPromise={promise:i,resolve:t,reject:e},this.lazyLoad=this._lazyLoadPromise,this._lazyLoadPromise.promise.then(t=>{this.handleLazyLoadedFiles(t)}).catch(t=>{console.error("Lazy load promise rejected:",t),this.error=`Failed to load files: ${t.message}`})}handleLazyLoadedFiles(t){if(!Array.isArray(t))return void console.error("Lazy loaded files must be an array");const e=t.filter(t=>t&&"object"==typeof t?!!(t.id&&t.name&&t.type&&t.url)||(console.warn("File missing required properties:",t),!1):(console.warn("Invalid file object:",t),!1));if(0===e.length)return void console.warn("No valid files found in lazy load");const i=this.maxFiles-this.files.length;if(i<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const s=e.slice(0,i);this.files=[...this.files,...s],this.error="",this.dispatchEvent(new CustomEvent("lazy-files-loaded",{detail:{files:s,totalFiles:this.files.length},bubbles:!0,composed:!0})),this.requestUpdate()}resolveLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.resolve(t)}rejectLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.reject(t)}getLazyLoadPromise(){var t;return(null==(t=this._lazyLoadPromise)?void 0:t.promise)||null}resetLazyLoad(){this.initializeLazyLoad()}showLoading(t){this.isLoading=!0,t&&(this.loadingText=t),this.requestUpdate()}hideLoading(){this.isLoading=!1,this.requestUpdate()}formatFileSize(t){if(0===t)return"0 B";const e=Math.floor(Math.log(t)/Math.log(1024));return`${parseFloat((t/Math.pow(1024,e)).toFixed(2))} ${["B","KB","MB","GB"][e]}`}displayName(t){const e=t.name||t.url||"",i=e.split(/[?#]/)[0].split("/").filter(Boolean).pop()||e;try{return decodeURIComponent(i)}catch{return i}}extension(t){const e=this.displayName(t).match(/\.([a-z0-9]{1,5})$/i);return e?e[1].toLowerCase():""}fileKind(t){const e=(t.type||"").toLowerCase().split("/")[0];if(["image","pdf","video","audio"].includes(e))return e;if((t.type||"").toLowerCase().includes("pdf"))return"pdf";const i=this.extension(t);return/^(png|jpe?g|gif|webp|svg|bmp|avif)$/.test(i)?"image":"pdf"===i?"pdf":/^(mp4|mov|webm|avi|mkv)$/.test(i)?"video":/^(mp3|wav|ogg|m4a|aac)$/.test(i)?"audio":"file"}fileIcon(t){switch(t){case"pdf":return D`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M5 4H15V8H19V20H5V4ZM3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM10.4999 7.5C10.4999 9.07749 10.0442 10.9373 9.27493 12.6534C8.50287 14.3757 7.46143 15.8502 6.37524 16.7191L7.55464 18.3321C10.4821 16.3804 13.7233 15.0421 16.8585 15.49L17.3162 13.5513C14.6435 12.6604 12.4999 9.98994 12.4999 7.5H10.4999ZM11.0999 13.4716C11.3673 12.8752 11.6042 12.2563 11.8037 11.6285C12.2753 12.3531 12.8553 13.0182 13.5101 13.5953C12.5283 13.7711 11.5665 14.0596 10.6352 14.4276C10.7999 14.1143 10.9551 13.7948 11.0999 13.4716Z"></path></svg>`;case"video":return D`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z"></path></svg>`;case"audio":return D`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M20 3V17C20 19.2091 18.2091 21 16 21C13.7909 21 12 19.2091 12 17C12 14.7909 13.7909 13 16 13C16.7286 13 17.4117 13.1948 18 13.5351V6H9V17C9 19.2091 7.20914 21 5 21C2.79086 21 1 19.2091 1 17C1 14.7909 2.79086 13 5 13C5.72857 13 6.41165 13.1948 7 13.5351V3H20ZM5 19C6.10457 19 7 18.1046 7 17C7 15.8954 6.10457 15 5 15C3.89543 15 3 15.8954 3 17C3 18.1046 3.89543 19 5 19ZM16 19C17.1046 19 18 18.1046 18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17C14 18.1046 14.8954 19 16 19Z"></path></svg>`;default:return D`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z"></path></svg>`}}getFilePreview(t){const e=this.fileKind(t);return"image"===e&&t.url?D`<img src=${t.url} alt=${this.displayName(t)} />`:this.fileIcon(e)}handleFileSelect(t){const e=t.target;if(e.files&&e.files.length>0){const t=this.maxFiles-this.files.length;if(t<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const i=1024*this.maxFileSizeMB*1024,s=Array.from(e.files).filter(t=>t.size>i);if(s.length>0)return this.error=`${this.fileTooLargeText} (${this.maxFileSizeMB}MB)`,void this.dispatchEvent(new CustomEvent("file-too-large",{detail:{files:s,maxSize:this.maxFileSizeMB},bubbles:!0,composed:!0}));this.error="",this.isLoading=!0;const o=Array.from(e.files).slice(0,t);let r=0;o.forEach(t=>{const e=new FileReader;e.onload=e=>{var i;const s={id:Math.random().toString(36).substr(2,9),name:t.name,type:t.type.split("/")[0],url:null==(i=e.target)?void 0:i.result,size:t.size};this.files=[...this.files,s],this.dispatchEvent(new CustomEvent("file-added",{detail:s,bubbles:!0,composed:!0})),r++,r===o.length&&(this.isLoading=!1)},e.readAsDataURL(t)})}}handleRemoveFile(t){const e=this.files.find(e=>e.id===t);e&&(this.files=this.files.filter(e=>e.id!==t),this.dispatchEvent(new CustomEvent("file-removed",{detail:e,bubbles:!0,composed:!0})))}render(){return Array.isArray(this.files)||(this.files=[]),D`
|
|
3
|
+
<div class="button-container">
|
|
4
|
+
<cdtr-popover
|
|
5
|
+
?opened=${this._isOpen}
|
|
6
|
+
@opened-changed=${t=>{this._isOpen=t.detail.value,this.requestUpdate(),this._isOpen||(this.error="")}}
|
|
7
|
+
>
|
|
8
|
+
<paper-button
|
|
9
|
+
slot="trigger"
|
|
10
|
+
dir="auto"
|
|
11
|
+
class=${this.isLoading?"loading-button":""}
|
|
12
|
+
>
|
|
13
|
+
${this.isLoading?D`<div class="button-loading-spinner"></div>`:D`<svg
|
|
14
|
+
style="color: ${this.iconColor};"
|
|
15
|
+
width="18"
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
d="M14.8287 7.75737L9.1718 13.4142C8.78127 13.8047 8.78127 14.4379 9.1718 14.8284C9.56232 15.219 10.1955 15.219 10.586 14.8284L16.2429 9.17158C17.4144 8.00001 17.4144 6.10052 16.2429 4.92894C15.0713 3.75737 13.1718 3.75737 12.0002 4.92894L6.34337 10.5858C4.39075 12.5384 4.39075 15.7042 6.34337 17.6569C8.29599 19.6095 11.4618 19.6095 13.4144 17.6569L19.0713 12L20.4855 13.4142L14.8287 19.0711C12.095 21.8047 7.66283 21.8047 4.92916 19.0711C2.19549 16.3374 2.19549 11.9053 4.92916 9.17158L10.586 3.51473C12.5386 1.56211 15.7045 1.56211 17.6571 3.51473C19.6097 5.46735 19.6097 8.63317 17.6571 10.5858L12.0002 16.2427C10.8287 17.4142 8.92916 17.4142 7.75759 16.2427C6.58601 15.0711 6.58601 13.1716 7.75759 12L13.4144 6.34316L14.8287 7.75737Z"
|
|
22
|
+
></path>
|
|
23
|
+
</svg>`}
|
|
24
|
+
</paper-button>
|
|
25
|
+
<div slot="content" class="popover-content" dir="auto">
|
|
26
|
+
${this.error?D` <div class="error-message">${this.error}</div> `:""}
|
|
27
|
+
<div class="file-list">
|
|
28
|
+
${this.files.map(t=>{const e=this.displayName(t),i=[this.extension(t),t.size?this.formatFileSize(t.size):""].filter(Boolean).join(" · ");return D`
|
|
29
|
+
<div class="file-row">
|
|
30
|
+
<div class="file-thumb">${this.getFilePreview(t)}</div>
|
|
31
|
+
<div class="file-info">
|
|
32
|
+
${t.url&&!t.url.startsWith("data:")?D`<a
|
|
33
|
+
class="file-name"
|
|
34
|
+
href=${t.url}
|
|
35
|
+
target="_blank"
|
|
36
|
+
rel="noopener"
|
|
37
|
+
title=${e}
|
|
38
|
+
>${e}</a
|
|
39
|
+
>`:D`<div class="file-name" title=${e}>
|
|
40
|
+
${e}
|
|
41
|
+
</div>`}
|
|
42
|
+
${i?D`<div class="file-meta">${i}</div>`:""}
|
|
43
|
+
</div>
|
|
44
|
+
<button
|
|
45
|
+
class="remove-btn"
|
|
46
|
+
title="Remove"
|
|
47
|
+
@click=${()=>this.handleRemoveFile(t.id)}
|
|
48
|
+
>
|
|
49
|
+
<svg
|
|
50
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
51
|
+
viewBox="0 0 24 24"
|
|
52
|
+
fill="currentColor"
|
|
53
|
+
width="16"
|
|
54
|
+
height="16"
|
|
55
|
+
>
|
|
56
|
+
<path
|
|
57
|
+
d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z"
|
|
58
|
+
></path>
|
|
59
|
+
</svg>
|
|
60
|
+
</button>
|
|
61
|
+
</div>
|
|
62
|
+
`})}
|
|
63
|
+
${this.files.length<this.maxFiles?D`
|
|
64
|
+
<div class="add-row">
|
|
65
|
+
<label class="add-files-btn">
|
|
66
|
+
<svg viewBox="0 0 24 24" fill="currentColor">
|
|
67
|
+
<path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"></path>
|
|
68
|
+
</svg>
|
|
69
|
+
<span>${this.addFilesText}</span>
|
|
70
|
+
<input
|
|
71
|
+
type="file"
|
|
72
|
+
multiple
|
|
73
|
+
hidden
|
|
74
|
+
@change=${this.handleFileSelect}
|
|
75
|
+
/>
|
|
76
|
+
</label>
|
|
77
|
+
${this.isLoading?D`<div class="loading-overlay">
|
|
78
|
+
<div class="loading-spinner"></div>
|
|
79
|
+
<div class="loading-text">${this.loadingText}</div>
|
|
80
|
+
</div>`:""}
|
|
81
|
+
</div>
|
|
82
|
+
`:D`
|
|
83
|
+
<div class="error-message">
|
|
84
|
+
${this.maxFilesReachedText} (${this.maxFiles})
|
|
85
|
+
</div>
|
|
86
|
+
`}
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</cdtr-popover>
|
|
90
|
+
${this.files.length>0?D`
|
|
91
|
+
<span class="count-badge">${this.files.length}</span>
|
|
92
|
+
`:""}
|
|
93
|
+
</div>
|
|
94
|
+
`}};gt.styles=(function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];const o=1===t.length?t[0]:i.reduce((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new l(o,t,r)})`
|
|
95
|
+
.popover-content {
|
|
96
|
+
width: 280px;
|
|
97
|
+
max-width: calc(100vw - 32px);
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
font-family: inherit;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.file-list {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
gap: 6px;
|
|
106
|
+
padding: 12px;
|
|
107
|
+
max-height: calc(100vh - 200px);
|
|
108
|
+
overflow-y: auto;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.file-row {
|
|
113
|
+
position: relative;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
gap: 10px;
|
|
117
|
+
padding: 8px 10px;
|
|
118
|
+
border-radius: 8px;
|
|
119
|
+
background: #f5f5f5;
|
|
120
|
+
min-width: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.file-thumb {
|
|
124
|
+
flex: none;
|
|
125
|
+
width: 36px;
|
|
126
|
+
height: 36px;
|
|
127
|
+
border-radius: 6px;
|
|
128
|
+
background: #fff;
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
color: #555;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.file-thumb img {
|
|
137
|
+
width: 100%;
|
|
138
|
+
height: 100%;
|
|
139
|
+
object-fit: cover;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.file-thumb svg {
|
|
143
|
+
width: 20px;
|
|
144
|
+
height: 20px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.file-info {
|
|
148
|
+
flex: 1;
|
|
149
|
+
min-width: 0;
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
gap: 2px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.file-name {
|
|
156
|
+
font-size: 13px;
|
|
157
|
+
color: #222;
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
text-overflow: ellipsis;
|
|
161
|
+
text-decoration: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
a.file-name:hover {
|
|
165
|
+
text-decoration: underline;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.file-meta {
|
|
169
|
+
font-size: 11px;
|
|
170
|
+
color: #777;
|
|
171
|
+
text-transform: uppercase;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.remove-btn {
|
|
175
|
+
flex: none;
|
|
176
|
+
width: 28px;
|
|
177
|
+
height: 28px;
|
|
178
|
+
border-radius: 6px;
|
|
179
|
+
background: transparent;
|
|
180
|
+
color: #888;
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: center;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
border: none;
|
|
186
|
+
padding: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.remove-btn:hover {
|
|
190
|
+
background: #fde8e8;
|
|
191
|
+
color: #d32f2f;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.add-row {
|
|
195
|
+
position: relative;
|
|
196
|
+
margin-top: 2px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.add-files-btn {
|
|
200
|
+
width: 100%;
|
|
201
|
+
box-sizing: border-box;
|
|
202
|
+
min-height: 44px;
|
|
203
|
+
display: flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
justify-content: center;
|
|
206
|
+
gap: 8px;
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
border: 2px dashed #ccc;
|
|
209
|
+
border-radius: 8px;
|
|
210
|
+
background: transparent;
|
|
211
|
+
font-size: 13px;
|
|
212
|
+
color: #444;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.add-files-btn svg {
|
|
216
|
+
width: 18px;
|
|
217
|
+
height: 18px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.add-files-btn:hover {
|
|
221
|
+
border-color: #666;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.error-message {
|
|
225
|
+
color: red;
|
|
226
|
+
font-size: 12px;
|
|
227
|
+
text-align: center;
|
|
228
|
+
padding: 8px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.loading-overlay {
|
|
232
|
+
position: absolute;
|
|
233
|
+
top: 0;
|
|
234
|
+
left: 0;
|
|
235
|
+
right: 0;
|
|
236
|
+
bottom: 0;
|
|
237
|
+
background: rgba(255, 255, 255, 0.9);
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
align-items: center;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
z-index: 10;
|
|
243
|
+
border-radius: 8px;
|
|
244
|
+
backdrop-filter: blur(2px);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.loading-spinner {
|
|
248
|
+
width: 32px;
|
|
249
|
+
height: 32px;
|
|
250
|
+
border: 3px solid #f3f3f3;
|
|
251
|
+
border-top: 3px solid #3498db;
|
|
252
|
+
border-radius: 50%;
|
|
253
|
+
animation: spin 1s linear infinite;
|
|
254
|
+
margin-bottom: 8px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.loading-text {
|
|
258
|
+
font-size: 12px;
|
|
259
|
+
color: #666;
|
|
260
|
+
text-align: center;
|
|
261
|
+
margin-top: 4px;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@keyframes spin {
|
|
265
|
+
0% {
|
|
266
|
+
transform: rotate(0deg);
|
|
267
|
+
}
|
|
268
|
+
100% {
|
|
269
|
+
transform: rotate(360deg);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.loading-button {
|
|
274
|
+
opacity: 0.7;
|
|
275
|
+
pointer-events: none;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.button-loading-spinner {
|
|
279
|
+
width: 18px;
|
|
280
|
+
height: 18px;
|
|
281
|
+
border: 2px solid #f3f3f3;
|
|
282
|
+
border-top: 2px solid #3498db;
|
|
283
|
+
border-radius: 50%;
|
|
284
|
+
animation: spin 1s linear infinite;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.preview-section {
|
|
288
|
+
margin-top: 8px;
|
|
289
|
+
display: flex;
|
|
290
|
+
gap: 8px;
|
|
291
|
+
flex-wrap: wrap;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.preview-item {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
gap: 4px;
|
|
298
|
+
padding: 4px 8px;
|
|
299
|
+
background: #f5f5f5;
|
|
300
|
+
border-radius: 4px;
|
|
301
|
+
font-size: 12px;
|
|
302
|
+
}
|
|
303
|
+
paper-button {
|
|
304
|
+
min-width: 10px;
|
|
305
|
+
}
|
|
306
|
+
.preview-item cdtr-icon {
|
|
307
|
+
width: 16px;
|
|
308
|
+
height: 16px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.button-container {
|
|
312
|
+
position: relative;
|
|
313
|
+
display: inline-block;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.count-badge {
|
|
317
|
+
position: absolute;
|
|
318
|
+
top: 2px;
|
|
319
|
+
right: 2px;
|
|
320
|
+
min-width: 16px;
|
|
321
|
+
height: 16px;
|
|
322
|
+
padding: 0 4px;
|
|
323
|
+
box-sizing: border-box;
|
|
324
|
+
border-radius: 8px;
|
|
325
|
+
background: #e53935;
|
|
326
|
+
color: #fff;
|
|
327
|
+
font-size: 10px;
|
|
328
|
+
font-weight: 600;
|
|
329
|
+
line-height: 16px;
|
|
330
|
+
text-align: center;
|
|
331
|
+
pointer-events: none;
|
|
332
|
+
z-index: 2;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
`,gt.properties={files:{type:Array},maxFiles:{type:Number},maxFileSizeMB:{type:Number},isLoading:{type:Boolean},buttonText:{type:String},addFilesText:{type:String},maxFilesReachedText:{type:String},iconColor:{type:String},fileTooLargeText:{type:String},error:{type:String},customColor:{type:String},customTextColor:{type:String},loadingText:{type:String}},ft([function(t){return(e,i)=>"object"==typeof i?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct,e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;const{kind:s,metadata:o}=i;let r=globalThis.litPropertyMetadata.get(o);if(void 0===r&&globalThis.litPropertyMetadata.set(o,r=new Map),"setter"===s&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===s){const{name:s}=i;return{set(i){const o=e.get.call(this);e.set.call(this,i),this.requestUpdate(s,o,t,!0,i)},init(e){return void 0!==e&&this.C(s,void 0,t,e),e}}}if("setter"===s){const{name:s}=i;return function(i){const o=this[s];e.call(this,i),this.requestUpdate(s,o,t,!0,i)}}throw Error("Unsupported decorator location: "+s)}(t,e,i):((t,e,i)=>{const s=e.hasOwnProperty(i);return e.constructor.createProperty(i,t),s?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}({type:Object,attribute:!1})],gt.prototype,"lazyLoad",2),gt=ft([(t=>(e,i)=>{void 0!==i?i.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("cdtr-attached-files-plugin")],gt)}}]);
|
|
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([[6024],{36024(e,t,i){i.r(t),i.d(t,{Checkbox:()=>s});var n=i(59929),o=i(12106);class s extends n.WF{constructor(){super(),this.inputId=void 0,this.event=void 0,this.value=void 0,this.checked=!0,this.controlled=!0,this.inputId=(0,o.A)(),this.event=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0})}onToggle(){this.controlled||(this.checked=!this.checked),this.dispatchEvent(this.event)}toggle(){this.checked=!this.checked,this.dispatchEvent(this.event)}render(){return n.qy`<span
|
|
2
2
|
@click=${this.onToggle}
|
|
3
3
|
tabindex="0"
|
|
4
4
|
class="root ${this.checked?"checked":""}"
|
|
Binary file
|
|
@@ -1,34 +1,8 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6036],{
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6036],{16036(t,e,i){i.r(e),i.d(e,{JusitifyRightIcon:()=>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 style="${this.iconStyle}" width="${this.width}" height="${this.height}" xmlns="http://www.w3.org/2000/svg" width="19" height="27" viewBox="0 0 19 27" fill="none">
|
|
2
|
+
<rect x="15" y="15.5" width="15" height="4" rx="2" transform="rotate(-180 15 15.5)" fill="var(--primary)"/>
|
|
3
|
+
<rect x="18.5" width="27" height="2" rx="1" transform="rotate(90 18.5 0)" fill="#C4C4C4"/>
|
|
4
|
+
</svg> `}}r.styles=h.AH`
|
|
2
5
|
:host {
|
|
3
|
-
display:
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
+
display: inherit;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
background: #e8e4f0;
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
position: relative;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
}
|
|
15
|
-
.skeleton-item::after {
|
|
16
|
-
content: "";
|
|
17
|
-
position: absolute;
|
|
18
|
-
top: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
background: linear-gradient(90deg, #e8e4f0, #f0ecf8, #e8e4f0);
|
|
23
|
-
animation: skeleton-shimmer 1.6s ease-in-out infinite;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@keyframes skeleton-shimmer {
|
|
27
|
-
0% {
|
|
28
|
-
transform: translate3d(-100%, 0, 0);
|
|
29
|
-
}
|
|
30
|
-
100% {
|
|
31
|
-
transform: translate3d(100%, 0, 0);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`,customElements.define("cdtr-image-skeleton",n)}}]);
|
|
8
|
+
`,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-justify-right-icon",r)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/*! For license information please see 6038.creaditor.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6038],{46631(e,t,o){o.d(t,{A:()=>s});var r=o(59929),i=o(90537);class n extends r.WF{constructor(){super(),this.label="",this.open=!0,this.persistKey=""}toggle(){this.open=!this.open,(0,i.Q)(this.persistKey,this.open)}render(){return r.qy`
|
|
2
3
|
<div class="section">
|
|
3
4
|
<div class="header" @click=${this.toggle}>
|
|
4
5
|
<span class="title"><lang-text text="${this.label}"></lang-text></span>
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
</div>
|
|
13
14
|
</div>
|
|
14
15
|
</div>
|
|
15
|
-
`}}
|
|
16
|
+
`}}n.styles=r.AH`
|
|
16
17
|
:host {
|
|
17
18
|
display: block;
|
|
18
19
|
direction: var(--direction-locale, ltr);
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
/* Light on top: the controls inside bring their own leading pad. */
|
|
84
85
|
padding: var(--space-1) var(--space-4) var(--space-3) var(--space-4);
|
|
85
86
|
}
|
|
86
|
-
`,
|
|
87
|
+
`,n.properties={label:{type:String,reflect:!0,attribute:"data-label"},open:{type:Boolean,reflect:!0},persistKey:{type:String}},customElements.define("cdtr-editor-section",n);const s=(e,t)=>r.qy`
|
|
87
88
|
<cdtr-editor-section
|
|
88
89
|
.label=${e.label}
|
|
89
90
|
.open=${!1!==e.open}
|
|
@@ -91,11 +92,26 @@
|
|
|
91
92
|
>
|
|
92
93
|
${t}
|
|
93
94
|
</cdtr-editor-section>
|
|
94
|
-
`},
|
|
95
|
+
`},66038(e,t,o){o.r(t),o.d(t,{SettingEditor:()=>f});var r=o(59929),i=o(80181),n=o(16655),s=o(70367);const a=(0,n.u$)(class extends n.WL{constructor(e){if(super(e),e.type!==n.OA.PROPERTY&&e.type!==n.OA.ATTRIBUTE&&e.type!==n.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,s.Rt)(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===i.c0||t===i.s6)return t;const o=e.element,r=e.name;if(e.type===n.OA.PROPERTY){if(t===o[r])return i.c0}else if(e.type===n.OA.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(r))return i.c0}else if(e.type===n.OA.ATTRIBUTE&&o.getAttribute(r)===t+"")return i.c0;return(0,s.mY)(e),t}});var l=o(43180),c=o(28795),d=(o(46631),o(71939)),h=o(53658);const p=r.JW`<path d="M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.99C2.44 18 2 17.55 2 17V4.01C2 3.45 2.46 3 2.99 3H21.01C21.56 3 22 3.45 22 4.01V17C22 17.55 21.54 18 21.01 18H13Z"/>`,g=r.JW`<path d="M4 6H20V18H4V6ZM2 5C2 4.45 2.45 4 3 4H21C21.55 4 22 4.45 22 5V19C22 19.55 21.55 20 21 20H3C2.45 20 2 19.55 2 19V5ZM17 11C17 11.55 17.45 12 18 12C18.55 12 19 11.55 19 11C19 10.45 18.55 10 18 10C17.45 10 17 10.45 17 11Z"/>`,v=r.JW`<path d="M7 4V20H17V4H7ZM6 2H18C18.55 2 19 2.45 19 3V21C19 21.55 18.55 22 18 22H6C5.45 22 5 21.55 5 21V3C5 2.45 5.45 2 6 2ZM12 17C12.55 17 13 17.45 13 18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18C11 17.45 11.45 17 12 17Z"/>`;class f extends r.WF{constructor(){super(),this.onInspect=this.onInspect.bind(this),this.name="",this.element_ID=" ",this.cmds={onToggleDisplayMode:(e,t)=>{c.Ay.store().execCommand(`show_on_${e}`,t),this[`show_on_${e}`]=t},onChangeElementID(e){c.Ay.store().execCommand("element_ID",e.target.value)},onChangeName(e){c.Ay.store().execCommand("name",e.target.value)},onToggleShowAfter:()=>this.setShowAfter(this.show_after_video?null:60),onChangeShowAfter:e=>{const t=(0,h.p)(e.target.value);t?this.setShowAfter(t):this.requestUpdate()}}}setShowAfter(e){c.Ay.store().execCommand("show_after_video",e),this.show_after_video=e}onInspect(){if(c.Ay.components.length>0){const e=c.Ay.components[0],t=e.props;this.show_on_desktop=!!t.show_on_desktop,this.show_on_tablet=!!t.show_on_tablet,this.show_on_mobile=!!t.show_on_mobile,this.name=t.name||"",this.element_ID=t.element_ID||"",this.show_after_video=t.show_after_video||null,this.videoTiming=this.show_after_video>0||(e=>{let{id:t,type:o}=e;return!["root","col","video"].includes(o)&&!document.querySelector(`[data-id="${t}"] [data-type="video"]`)})(e)&&(0,d.j)(this)}}connectedCallback(){super.connectedCallback(),c.Ay.on("select",this.onInspect),c.Ay.on("update",this.onInspect),this.onInspect()}disconnectedCallback(){super.disconnectedCallback(),c.Ay.off("select",this.onInspect),c.Ay.off("update",this.onInspect)}renderCheck(){return r.qy`<svg class="check" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
95
96
|
<circle cx="12" cy="12" r="12" fill="currentColor"></circle>
|
|
96
97
|
<path d="M7 12.5l3.2 3.2L17 9" stroke="#fff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
97
|
-
</svg>`}
|
|
98
|
-
|
|
98
|
+
</svg>`}renderVideoTiming(){return r.qy`<cdtr-editor-section .label=${"video_timing"} .open=${!0}>
|
|
99
|
+
<cdtr-row>
|
|
100
|
+
<cdtr-checkbox .checked=${!!this.show_after_video} @change=${this.cmds.onToggleShowAfter}>
|
|
101
|
+
<cdtr-title><lang-text text="show_after_watching"></lang-text></cdtr-title>
|
|
102
|
+
</cdtr-checkbox>
|
|
103
|
+
</cdtr-row>
|
|
104
|
+
${this.show_after_video?r.qy`<div class="video-timing-time">
|
|
105
|
+
<cdtr-input
|
|
106
|
+
aria-label="m:ss"
|
|
107
|
+
.value=${a((0,h.f)(this.show_after_video))}
|
|
108
|
+
@change=${this.cmds.onChangeShowAfter}
|
|
109
|
+
></cdtr-input>
|
|
110
|
+
<lang-text text="of_the_video"></lang-text>
|
|
111
|
+
</div>
|
|
112
|
+
<p class="video-timing-hint"><lang-text text="show_after_hint" whiteSpace="normal"></lang-text></p>`:""}
|
|
113
|
+
</cdtr-editor-section>`}render(){const e=c.Ay.getSelectedComponent();if(!e||0===e.length)return r.qy``;const t="block"===e[0].type,o="web"===l.M.get("config","channel")||t;return r.qy`
|
|
114
|
+
${o?r.qy`<cdtr-editor-section .label=${"display_mode"} .open=${!0}>
|
|
99
115
|
<span class="device-toggle-title"><lang-text text="show_element_on"></lang-text></span>
|
|
100
116
|
<div class="device-toggle-row">
|
|
101
117
|
<div
|
|
@@ -103,7 +119,7 @@
|
|
|
103
119
|
@click=${()=>this.cmds.onToggleDisplayMode("desktop",!this.show_on_desktop)}
|
|
104
120
|
>
|
|
105
121
|
${this.renderCheck()}
|
|
106
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${
|
|
122
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${p}</svg>
|
|
107
123
|
<lang-text text="desktop"></lang-text>
|
|
108
124
|
</div>
|
|
109
125
|
<div
|
|
@@ -111,7 +127,7 @@
|
|
|
111
127
|
@click=${()=>this.cmds.onToggleDisplayMode("tablet",!this.show_on_tablet)}
|
|
112
128
|
>
|
|
113
129
|
${this.renderCheck()}
|
|
114
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${
|
|
130
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${g}</svg>
|
|
115
131
|
<lang-text text="tablet"></lang-text>
|
|
116
132
|
</div>
|
|
117
133
|
<div
|
|
@@ -119,12 +135,13 @@
|
|
|
119
135
|
@click=${()=>this.cmds.onToggleDisplayMode("mobile",!this.show_on_mobile)}
|
|
120
136
|
>
|
|
121
137
|
${this.renderCheck()}
|
|
122
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${
|
|
138
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${v}</svg>
|
|
123
139
|
<lang-text text="mobile"></lang-text>
|
|
124
140
|
</div>
|
|
125
141
|
</div>
|
|
126
|
-
</cdtr-editor-section>`:
|
|
127
|
-
|
|
142
|
+
</cdtr-editor-section>`:r.qy``}
|
|
143
|
+
${this.videoTiming?this.renderVideoTiming():""}
|
|
144
|
+
<cdtr-editor-section .label=${"properties"} .open=${!0}>
|
|
128
145
|
<cdtr-row mt="1">
|
|
129
146
|
<cdtr-title><lang-text text="name"></lang-text></cdtr-title>
|
|
130
147
|
</cdtr-row>
|
|
@@ -150,7 +167,7 @@
|
|
|
150
167
|
></cdtr-input>
|
|
151
168
|
</cdtr-row>
|
|
152
169
|
</cdtr-editor-section>
|
|
153
|
-
`}}
|
|
170
|
+
`}}f.properties={name:{},element_ID:{},show_on_desktop:{},show_on_tablet:{},show_on_mobile:{},show_after_video:{},videoTiming:{}},f.styles=r.AH`
|
|
154
171
|
:host {
|
|
155
172
|
direction: var(--direction-locale);
|
|
156
173
|
}
|
|
@@ -161,6 +178,23 @@
|
|
|
161
178
|
font-weight: 600;
|
|
162
179
|
color: var(--color-text, #333);
|
|
163
180
|
}
|
|
181
|
+
.video-timing-time {
|
|
182
|
+
display: flex;
|
|
183
|
+
margin-top: var(--space-2, 8px);
|
|
184
|
+
align-items: center;
|
|
185
|
+
gap: var(--space-2, 8px);
|
|
186
|
+
font-size: var(--text-sm, 13px);
|
|
187
|
+
color: var(--color-text-muted, #666);
|
|
188
|
+
}
|
|
189
|
+
.video-timing-time cdtr-input {
|
|
190
|
+
width: 80px;
|
|
191
|
+
}
|
|
192
|
+
.video-timing-hint {
|
|
193
|
+
margin: var(--space-2, 8px) 0 0;
|
|
194
|
+
font-size: var(--text-xs, 12px);
|
|
195
|
+
line-height: 1.5;
|
|
196
|
+
color: var(--color-text-muted, #666);
|
|
197
|
+
}
|
|
164
198
|
.device-toggle-row {
|
|
165
199
|
display: flex;
|
|
166
200
|
gap: var(--space-2, 8px);
|
|
@@ -218,4 +252,4 @@
|
|
|
218
252
|
opacity: 1;
|
|
219
253
|
transform: scale(1);
|
|
220
254
|
}
|
|
221
|
-
`,customElements.define("cdtr-setting-editor",
|
|
255
|
+
`,customElements.define("cdtr-setting-editor",f)}}]);
|
|
Binary file
|