@kong/kongponents 9.48.10-pr.3042.f75d935.0 → 9.49.1-pr.3042.f75d935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kongponents.css +1 -1
- package/dist/kongponents.es105.js +5 -5
- package/dist/kongponents.es107.js +3 -3
- package/dist/kongponents.es109.js +4 -4
- package/dist/kongponents.es113.js +2 -2
- package/dist/kongponents.es115.js +5 -5
- package/dist/kongponents.es117.js +2 -2
- package/dist/kongponents.es119.js +11 -11
- package/dist/kongponents.es122.js +6 -6
- package/dist/kongponents.es124.js +7 -7
- package/dist/kongponents.es128.js +2 -2
- package/dist/kongponents.es130.js +1 -1
- package/dist/kongponents.es132.js +9 -9
- package/dist/kongponents.es139.js +4 -4
- package/dist/kongponents.es141.js +1 -1
- package/dist/kongponents.es143.js +7 -7
- package/dist/kongponents.es147.js +2 -2
- package/dist/kongponents.es149.js +7 -7
- package/dist/kongponents.es151.js +1 -1
- package/dist/kongponents.es154.js +4 -4
- package/dist/kongponents.es156.js +5 -5
- package/dist/kongponents.es158.js +3 -3
- package/dist/kongponents.es160.js +13 -13
- package/dist/kongponents.es163.js +57 -53
- package/dist/kongponents.es165.js +18 -117
- package/dist/kongponents.es166.js +9 -119
- package/dist/kongponents.es167.js +7 -118
- package/dist/kongponents.es168.js +4 -119
- package/dist/kongponents.es169.js +3 -119
- package/dist/kongponents.es170.js +9 -119
- package/dist/kongponents.es171.js +108 -18
- package/dist/kongponents.es172.js +119 -5
- package/dist/kongponents.es173.js +16 -16
- package/dist/kongponents.es174.js +34 -34
- package/dist/kongponents.es175.js +19 -19
- package/dist/kongponents.es176.js +118 -23
- package/dist/kongponents.es177.js +119 -3
- package/dist/kongponents.es178.js +18 -20
- package/dist/kongponents.es179.js +5 -9
- package/dist/kongponents.es180.js +118 -7
- package/dist/kongponents.es181.js +119 -4
- package/dist/kongponents.es182.js +316 -8
- package/dist/kongponents.es183.js +38 -107
- package/dist/kongponents.es184.js +97 -118
- package/dist/kongponents.es185.js +30 -30
- package/dist/kongponents.es186.js +30 -30
- package/dist/kongponents.es187.js +23 -23
- package/dist/kongponents.es188.js +13 -13
- package/dist/kongponents.es189.js +18 -18
- package/dist/kongponents.es19.js +1 -1
- package/dist/kongponents.es190.js +120 -5
- package/dist/kongponents.es191.js +119 -5
- package/dist/kongponents.es192.js +18 -7
- package/dist/kongponents.es193.js +51 -4
- package/dist/kongponents.es194.js +115 -185
- package/dist/kongponents.es195.js +119 -5
- package/dist/kongponents.es196.js +119 -5
- package/dist/kongponents.es197.js +21 -22
- package/dist/kongponents.es198.js +115 -162
- package/dist/kongponents.es200.js +115 -13
- package/dist/kongponents.es201.js +5 -396
- package/dist/kongponents.es202.js +7 -17
- package/dist/kongponents.es203.js +59 -118
- package/dist/kongponents.es204.js +162 -115
- package/dist/kongponents.es205.js +20 -20
- package/dist/kongponents.es206.js +28 -28
- package/dist/kongponents.es207.js +4 -4
- package/dist/kongponents.es208.js +4 -4
- package/dist/kongponents.es209.js +119 -5
- package/dist/kongponents.es21.js +8 -8
- package/dist/kongponents.es210.js +24 -5
- package/dist/kongponents.es211.js +114 -5
- package/dist/kongponents.es212.js +17 -5
- package/dist/kongponents.es213.js +396 -5
- package/dist/kongponents.es214.js +1 -1
- package/dist/kongponents.es215.js +1 -1
- package/dist/kongponents.es216.js +5 -119
- package/dist/kongponents.es217.js +7 -0
- package/dist/kongponents.es218.js +5 -119
- package/dist/kongponents.es219.js +3 -3
- package/dist/kongponents.es220.js +5 -8
- package/dist/kongponents.es221.js +5 -60
- package/dist/kongponents.es222.js +22 -22
- package/dist/kongponents.es223.js +5 -119
- package/dist/kongponents.es224.js +20 -20
- package/dist/kongponents.es225.js +4 -4
- package/dist/kongponents.es226.js +7 -102
- package/dist/kongponents.es227.js +186 -314
- package/dist/kongponents.es228.js +118 -38
- package/dist/kongponents.es229.js +101 -97
- package/dist/kongponents.es230.js +5 -119
- package/dist/kongponents.es231.js +16 -16
- package/dist/kongponents.es232.js +16 -16
- package/dist/kongponents.es233.js +5 -52
- package/dist/kongponents.es234.js +5 -119
- package/dist/kongponents.es235.js +10 -119
- package/dist/kongponents.es236.js +5 -119
- package/dist/kongponents.es237.js +119 -5
- package/dist/kongponents.es238.js +119 -10
- package/dist/kongponents.es239.js +2 -24
- package/dist/kongponents.es24.js +1 -1
- package/dist/{kongponents.es251.js → kongponents.es240.js} +1 -1
- package/dist/kongponents.es241.js +318 -46
- package/dist/kongponents.es242.js +25 -0
- package/dist/kongponents.es243.js +46 -28
- package/dist/kongponents.es245.js +6 -23
- package/dist/kongponents.es246.js +26 -0
- package/dist/kongponents.es248.js +50 -0
- package/dist/kongponents.es250.js +36 -0
- package/dist/kongponents.es252.js +22 -319
- package/dist/kongponents.es254.js +45 -23
- package/dist/kongponents.es258.js +186 -0
- package/dist/kongponents.es26.js +4 -4
- package/dist/kongponents.es261.js +587 -90
- package/dist/kongponents.es263.js +2 -45
- package/dist/kongponents.es264.js +4 -0
- package/dist/kongponents.es265.js +110 -583
- package/dist/kongponents.es266.js +119 -2
- package/dist/kongponents.es267.js +12 -12
- package/dist/kongponents.es268.js +86 -114
- package/dist/kongponents.es270.js +37 -52
- package/dist/kongponents.es272.js +95 -6
- package/dist/kongponents.es274.js +45 -2
- package/dist/kongponents.es276.js +7 -0
- package/dist/kongponents.es277.js +5 -184
- package/dist/kongponents.es278.js +22 -0
- package/dist/kongponents.es279.js +4 -217
- package/dist/kongponents.es28.js +2 -2
- package/dist/kongponents.es280.js +5 -64
- package/dist/kongponents.es281.js +8 -0
- package/dist/kongponents.es282.js +9 -2
- package/dist/kongponents.es283.js +5 -1556
- package/dist/kongponents.es284.js +4 -5
- package/dist/kongponents.es285.js +17 -2
- package/dist/kongponents.es286.js +4 -6
- package/dist/kongponents.es287.js +8 -5
- package/dist/kongponents.es288.js +7 -5
- package/dist/kongponents.es289.js +3 -19
- package/dist/kongponents.es290.js +2 -4
- package/dist/kongponents.es291.js +5 -4
- package/dist/kongponents.es292.js +9 -5
- package/dist/kongponents.es293.js +4 -8
- package/dist/kongponents.es294.js +3 -5
- package/dist/kongponents.es295.js +3 -4
- package/dist/kongponents.es296.js +3 -16
- package/dist/kongponents.es297.js +7 -3
- package/dist/kongponents.es298.js +7 -8
- package/dist/kongponents.es299.js +4 -6
- package/dist/kongponents.es300.js +9 -3
- package/dist/kongponents.es301.js +6 -2
- package/dist/kongponents.es302.js +9 -6
- package/dist/kongponents.es303.js +6 -9
- package/dist/kongponents.es304.js +17 -4
- package/dist/kongponents.es305.js +12 -4
- package/dist/kongponents.es306.js +7 -3
- package/dist/kongponents.es307.js +12 -3
- package/dist/kongponents.es308.js +9 -7
- package/dist/kongponents.es309.js +5 -6
- package/dist/kongponents.es310.js +9 -5
- package/dist/kongponents.es311.js +15 -9
- package/dist/kongponents.es312.js +17 -5
- package/dist/kongponents.es313.js +6 -9
- package/dist/kongponents.es314.js +10 -6
- package/dist/kongponents.es315.js +6 -17
- package/dist/kongponents.es316.js +7 -11
- package/dist/kongponents.es317.js +5 -6
- package/dist/kongponents.es318.js +6 -12
- package/dist/kongponents.es319.js +9 -9
- package/dist/kongponents.es320.js +7 -5
- package/dist/kongponents.es321.js +3 -8
- package/dist/kongponents.es322.js +5 -15
- package/dist/kongponents.es323.js +15 -17
- package/dist/kongponents.es324.js +56 -6
- package/dist/kongponents.es326.js +8 -6
- package/dist/kongponents.es327.js +6 -7
- package/dist/kongponents.es328.js +7 -5
- package/dist/kongponents.es329.js +4 -6
- package/dist/kongponents.es330.js +8 -8
- package/dist/kongponents.es331.js +8 -7
- package/dist/kongponents.es332.js +636 -3
- package/dist/kongponents.es333.js +74 -6
- package/dist/kongponents.es334.js +4 -15
- package/dist/kongponents.es335.js +17 -367
- package/dist/kongponents.es336.js +4 -129
- package/dist/kongponents.es337.js +17 -94
- package/dist/kongponents.es338.js +10 -0
- package/dist/kongponents.es339.js +5 -8
- package/dist/kongponents.es340.js +8 -6
- package/dist/kongponents.es341.js +7 -7
- package/dist/kongponents.es342.js +4 -4
- package/dist/kongponents.es343.js +20 -9
- package/dist/kongponents.es344.js +5 -9
- package/dist/kongponents.es345.js +57 -583
- package/dist/kongponents.es346.js +169 -71
- package/dist/kongponents.es347.js +5 -5
- package/dist/kongponents.es348.js +6 -19
- package/dist/kongponents.es349.js +5 -5
- package/dist/kongponents.es350.js +5 -18
- package/dist/kongponents.es351.js +69 -7
- package/dist/kongponents.es352.js +2 -6
- package/dist/kongponents.es353.js +176 -9
- package/dist/kongponents.es355.js +64 -5
- package/dist/kongponents.es357.js +217 -5
- package/dist/kongponents.es358.js +365 -106
- package/dist/kongponents.es359.js +122 -164
- package/dist/kongponents.es360.js +2 -5
- package/dist/kongponents.es361.js +5773 -6
- package/dist/kongponents.es362.js +1557 -5
- package/dist/kongponents.es363.js +5 -5
- package/dist/kongponents.es364.js +6 -70
- package/dist/kongponents.es365.js +8 -2
- package/dist/kongponents.es366.js +5 -5773
- package/dist/kongponents.es367.js +9 -25
- package/dist/kongponents.es368.js +5 -10
- package/dist/kongponents.es369.js +9 -16
- package/dist/kongponents.es370.js +14 -7
- package/dist/kongponents.es371.js +3 -6
- package/dist/kongponents.es372.js +7 -8
- package/dist/kongponents.es373.js +3 -6
- package/dist/kongponents.es374.js +8 -7
- package/dist/kongponents.es375.js +7 -14
- package/dist/kongponents.es376.js +6 -3
- package/dist/kongponents.es377.js +2 -8
- package/dist/kongponents.es378.js +13 -3
- package/dist/kongponents.es379.js +4 -10
- package/dist/kongponents.es380.js +3 -8
- package/dist/kongponents.es381.js +26 -6
- package/dist/kongponents.es382.js +4 -2
- package/dist/kongponents.es383.js +3 -12
- package/dist/kongponents.es384.js +4 -5
- package/dist/kongponents.es385.js +4 -3
- package/dist/kongponents.es386.js +4 -26
- package/dist/kongponents.es387.js +14 -3
- package/dist/kongponents.es388.js +6 -4
- package/dist/kongponents.es389.js +30 -4
- package/dist/kongponents.es390.js +27 -4
- package/dist/kongponents.es391.js +16 -4
- package/dist/kongponents.es392.js +8 -13
- package/dist/kongponents.es393.js +4 -5
- package/dist/kongponents.es394.js +13 -29
- package/dist/kongponents.es395.js +8 -26
- package/dist/kongponents.es396.js +3 -16
- package/dist/kongponents.es397.js +5 -9
- package/dist/kongponents.es398.js +5 -4
- package/dist/kongponents.es399.js +7 -13
- package/dist/kongponents.es400.js +5 -8
- package/dist/kongponents.es401.js +10 -2
- package/dist/kongponents.es402.js +5 -5
- package/dist/kongponents.es403.js +4 -5
- package/dist/kongponents.es404.js +4 -7
- package/dist/kongponents.es405.js +5 -5
- package/dist/kongponents.es406.js +8 -11
- package/dist/kongponents.es407.js +6 -5
- package/dist/kongponents.es408.js +10 -5
- package/dist/kongponents.es409.js +6 -4
- package/dist/kongponents.es410.js +21 -5
- package/dist/kongponents.es411.js +7 -8
- package/dist/kongponents.es412.js +6 -6
- package/dist/kongponents.es413.js +7 -10
- package/dist/kongponents.es414.js +8 -6
- package/dist/kongponents.es415.js +25 -22
- package/dist/kongponents.es416.js +95 -7
- package/dist/kongponents.es418.js +10 -6
- package/dist/kongponents.es419.js +10 -8
- package/dist/kongponents.es420.js +12 -10
- package/dist/kongponents.es421.js +10 -10
- package/dist/kongponents.es422.js +18 -12
- package/dist/kongponents.es423.js +5 -10
- package/dist/kongponents.es424.js +55 -19
- package/dist/kongponents.es425.js +2 -6
- package/dist/kongponents.es426.js +17 -54
- package/dist/kongponents.es427.js +2 -2
- package/dist/kongponents.es428.js +11 -16
- package/dist/kongponents.es429.js +18 -2
- package/dist/kongponents.es430.js +63 -11
- package/dist/kongponents.es431.js +4 -17
- package/dist/kongponents.es432.js +1 -1
- package/dist/kongponents.es434.js +1 -1
- package/dist/kongponents.es435.js +1 -1
- package/dist/kongponents.es436.js +1 -1
- package/dist/kongponents.es437.js +1 -1
- package/dist/kongponents.es439.js +1 -1
- package/dist/kongponents.es441.js +1 -1
- package/dist/kongponents.es444.js +1 -1
- package/dist/kongponents.es446.js +2 -65
- package/dist/kongponents.es447.js +2 -5
- package/dist/kongponents.es448.js +11 -2
- package/dist/kongponents.es449.js +17 -2
- package/dist/kongponents.es450.js +2 -2
- package/dist/kongponents.es451.js +5 -5
- package/dist/kongponents.es456.js +2 -2
- package/dist/kongponents.es457.js +2 -2
- package/dist/kongponents.es458.js +2 -2
- package/dist/kongponents.es459.js +1 -1
- package/dist/kongponents.es463.js +1 -1
- package/dist/kongponents.es464.js +5 -5
- package/dist/kongponents.es466.js +1 -1
- package/dist/kongponents.es467.js +5 -5
- package/dist/kongponents.es468.js +1 -1
- package/dist/kongponents.es469.js +2 -2
- package/dist/kongponents.es470.js +2 -2
- package/dist/kongponents.es471.js +4 -4
- package/dist/kongponents.es472.js +4 -4
- package/dist/kongponents.es481.js +1 -1
- package/dist/kongponents.es483.js +1 -1
- package/dist/kongponents.es487.js +1 -1
- package/dist/kongponents.es488.js +1 -1
- package/dist/kongponents.es489.js +1 -1
- package/dist/kongponents.es490.js +1 -1
- package/dist/kongponents.es491.js +1 -1
- package/dist/kongponents.es493.js +1 -1
- package/dist/kongponents.es499.js +1 -1
- package/dist/kongponents.es501.js +4 -29
- package/dist/kongponents.es502.js +3 -119
- package/dist/kongponents.es503.js +9 -29
- package/dist/kongponents.es504.js +5 -10
- package/dist/kongponents.es505.js +4 -13
- package/dist/kongponents.es506.js +5 -32
- package/dist/kongponents.es507.js +3 -29
- package/dist/kongponents.es508.js +4 -10
- package/dist/kongponents.es509.js +4 -12
- package/dist/kongponents.es510.js +4 -17
- package/dist/kongponents.es511.js +10 -23
- package/dist/kongponents.es512.js +6 -16
- package/dist/kongponents.es513.js +6 -96
- package/dist/kongponents.es514.js +29 -45
- package/dist/kongponents.es515.js +118 -27
- package/dist/kongponents.es516.js +28 -70
- package/dist/kongponents.es517.js +9 -50
- package/dist/kongponents.es518.js +13 -34
- package/dist/kongponents.es519.js +29 -38
- package/dist/kongponents.es520.js +28 -3
- package/dist/kongponents.es521.js +10 -3
- package/dist/kongponents.es522.js +12 -9
- package/dist/kongponents.es523.js +17 -5
- package/dist/kongponents.es524.js +23 -4
- package/dist/kongponents.es525.js +16 -5
- package/dist/kongponents.es526.js +97 -3
- package/dist/kongponents.es527.js +44 -4
- package/dist/kongponents.es528.js +28 -4
- package/dist/kongponents.es529.js +70 -9
- package/dist/kongponents.es530.js +51 -6
- package/dist/kongponents.es531.js +34 -6
- package/dist/kongponents.es532.js +41 -4
- package/dist/kongponents.es542.js +1 -1
- package/dist/kongponents.es543.js +2 -2
- package/dist/kongponents.es546.js +2 -2
- package/dist/kongponents.es547.js +2 -2
- package/dist/kongponents.es553.js +1 -1
- package/dist/kongponents.es555.js +1 -1
- package/dist/kongponents.es556.js +1 -1
- package/dist/kongponents.es557.js +7 -20
- package/dist/kongponents.es558.js +3 -8
- package/dist/kongponents.es560.js +3 -6
- package/dist/kongponents.es561.js +15 -7
- package/dist/kongponents.es562.js +3 -5
- package/dist/kongponents.es563.js +10 -4
- package/dist/kongponents.es564.js +3 -6
- package/dist/kongponents.es565.js +4 -14
- package/dist/kongponents.es567.js +7 -4
- package/dist/kongponents.es568.js +4 -4
- package/dist/kongponents.es569.js +3 -6
- package/dist/kongponents.es570.js +4 -31
- package/dist/kongponents.es571.js +11 -34
- package/dist/kongponents.es572.js +9 -51
- package/dist/kongponents.es573.js +30 -8
- package/dist/kongponents.es574.js +24 -4
- package/dist/kongponents.es575.js +51 -5
- package/dist/kongponents.es576.js +3 -3
- package/dist/kongponents.es577.js +8 -15
- package/dist/kongponents.es578.js +20 -3
- package/dist/kongponents.es579.js +7 -9
- package/dist/kongponents.es580.js +6 -3
- package/dist/kongponents.es581.js +5 -11
- package/dist/kongponents.es582.js +7 -9
- package/dist/kongponents.es583.js +15 -24
- package/dist/kongponents.es584.js +4 -3
- package/dist/kongponents.es585.js +6 -8
- package/dist/kongponents.es586.js +34 -7
- package/dist/kongponents.es587.js +9 -3
- package/dist/kongponents.es597.js +1 -1
- package/dist/kongponents.es599.js +1 -1
- package/dist/kongponents.es600.js +1 -1
- package/dist/kongponents.es601.js +1 -1
- package/dist/kongponents.es604.js +2 -2
- package/dist/kongponents.es605.js +4 -4
- package/dist/kongponents.es607.js +2 -2
- package/dist/kongponents.es608.js +2 -2
- package/dist/kongponents.es609.js +2 -2
- package/dist/kongponents.es69.js +2 -2
- package/dist/kongponents.es72.js +7 -7
- package/dist/kongponents.es75.js +1 -1
- package/dist/kongponents.es77.js +1 -1
- package/dist/kongponents.es83.js +1 -1
- package/dist/kongponents.es87.js +3 -3
- package/dist/kongponents.es89.js +16 -16
- package/dist/kongponents.es94.js +2 -2
- package/dist/kongponents.es96.js +6 -6
- package/dist/kongponents.es99.js +2 -2
- package/dist/kongponents.umd.js +10 -10
- package/dist/kongponents105.cjs +1 -1
- package/dist/kongponents107.cjs +1 -1
- package/dist/kongponents109.cjs +1 -1
- package/dist/kongponents113.cjs +1 -1
- package/dist/kongponents115.cjs +1 -1
- package/dist/kongponents117.cjs +1 -1
- package/dist/kongponents119.cjs +1 -1
- package/dist/kongponents122.cjs +1 -1
- package/dist/kongponents124.cjs +1 -1
- package/dist/kongponents128.cjs +1 -1
- package/dist/kongponents130.cjs +1 -1
- package/dist/kongponents132.cjs +1 -1
- package/dist/kongponents139.cjs +1 -1
- package/dist/kongponents141.cjs +1 -1
- package/dist/kongponents143.cjs +1 -1
- package/dist/kongponents147.cjs +1 -1
- package/dist/kongponents149.cjs +1 -1
- package/dist/kongponents151.cjs +1 -1
- package/dist/kongponents154.cjs +1 -1
- package/dist/kongponents156.cjs +1 -1
- package/dist/kongponents158.cjs +1 -1
- package/dist/kongponents160.cjs +1 -1
- package/dist/kongponents163.cjs +1 -1
- package/dist/kongponents165.cjs +1 -1
- package/dist/kongponents166.cjs +1 -1
- package/dist/kongponents167.cjs +1 -1
- package/dist/kongponents168.cjs +1 -1
- package/dist/kongponents169.cjs +1 -1
- package/dist/kongponents170.cjs +1 -1
- package/dist/kongponents171.cjs +1 -1
- package/dist/kongponents172.cjs +1 -1
- package/dist/kongponents173.cjs +1 -1
- package/dist/kongponents174.cjs +1 -1
- package/dist/kongponents175.cjs +1 -1
- package/dist/kongponents176.cjs +1 -1
- package/dist/kongponents177.cjs +1 -1
- package/dist/kongponents178.cjs +1 -1
- package/dist/kongponents179.cjs +1 -1
- package/dist/kongponents180.cjs +1 -1
- package/dist/kongponents181.cjs +1 -1
- package/dist/kongponents182.cjs +1 -1
- package/dist/kongponents183.cjs +1 -1
- package/dist/kongponents184.cjs +2 -1
- package/dist/kongponents185.cjs +1 -1
- package/dist/kongponents186.cjs +1 -1
- package/dist/kongponents187.cjs +1 -1
- package/dist/kongponents188.cjs +1 -1
- package/dist/kongponents189.cjs +1 -1
- package/dist/kongponents19.cjs +1 -1
- package/dist/kongponents190.cjs +2 -1
- package/dist/kongponents191.cjs +1 -1
- package/dist/kongponents192.cjs +1 -1
- package/dist/kongponents193.cjs +1 -1
- package/dist/kongponents194.cjs +1 -1
- package/dist/kongponents195.cjs +1 -1
- package/dist/kongponents196.cjs +1 -1
- package/dist/kongponents197.cjs +1 -2
- package/dist/kongponents198.cjs +1 -1
- package/dist/kongponents200.cjs +1 -1
- package/dist/kongponents201.cjs +1 -1
- package/dist/kongponents202.cjs +1 -1
- package/dist/kongponents203.cjs +1 -1
- package/dist/kongponents204.cjs +1 -1
- package/dist/kongponents205.cjs +1 -1
- package/dist/kongponents206.cjs +1 -1
- package/dist/kongponents207.cjs +1 -1
- package/dist/kongponents208.cjs +1 -1
- package/dist/kongponents209.cjs +1 -1
- package/dist/kongponents21.cjs +1 -1
- package/dist/kongponents210.cjs +1 -1
- package/dist/kongponents211.cjs +1 -1
- package/dist/kongponents212.cjs +1 -1
- package/dist/kongponents213.cjs +1 -1
- package/dist/kongponents214.cjs +1 -1
- package/dist/kongponents215.cjs +1 -1
- package/dist/kongponents216.cjs +1 -1
- package/dist/kongponents217.cjs +1 -0
- package/dist/kongponents218.cjs +1 -1
- package/dist/kongponents219.cjs +1 -1
- package/dist/kongponents220.cjs +1 -1
- package/dist/kongponents221.cjs +1 -1
- package/dist/kongponents222.cjs +1 -1
- package/dist/kongponents223.cjs +1 -1
- package/dist/kongponents224.cjs +1 -1
- package/dist/kongponents225.cjs +1 -1
- package/dist/kongponents226.cjs +1 -5
- package/dist/kongponents227.cjs +1 -1
- package/dist/kongponents228.cjs +1 -1
- package/dist/kongponents229.cjs +5 -2
- package/dist/kongponents230.cjs +1 -1
- package/dist/kongponents231.cjs +1 -1
- package/dist/kongponents232.cjs +1 -1
- package/dist/kongponents233.cjs +1 -1
- package/dist/kongponents234.cjs +1 -1
- package/dist/kongponents235.cjs +1 -1
- package/dist/kongponents236.cjs +1 -1
- package/dist/kongponents237.cjs +1 -1
- package/dist/kongponents238.cjs +1 -1
- package/dist/kongponents239.cjs +1 -1
- package/dist/kongponents24.cjs +1 -1
- package/dist/{kongponents251.cjs → kongponents240.cjs} +1 -1
- package/dist/kongponents241.cjs +1 -1
- package/dist/kongponents242.cjs +1 -0
- package/dist/kongponents243.cjs +1 -1
- package/dist/kongponents245.cjs +1 -1
- package/dist/kongponents246.cjs +1 -0
- package/dist/kongponents248.cjs +1 -0
- package/dist/kongponents250.cjs +1 -0
- package/dist/kongponents252.cjs +1 -1
- package/dist/kongponents254.cjs +1 -1
- package/dist/kongponents258.cjs +1 -0
- package/dist/kongponents26.cjs +1 -1
- package/dist/kongponents261.cjs +6 -1
- package/dist/kongponents263.cjs +1 -1
- package/dist/kongponents264.cjs +1 -0
- package/dist/kongponents265.cjs +1 -6
- package/dist/kongponents266.cjs +1 -1
- package/dist/kongponents267.cjs +1 -1
- package/dist/kongponents268.cjs +1 -1
- package/dist/kongponents270.cjs +1 -1
- package/dist/kongponents272.cjs +1 -1
- package/dist/kongponents274.cjs +1 -1
- package/dist/kongponents276.cjs +1 -0
- package/dist/kongponents277.cjs +1 -1
- package/dist/kongponents278.cjs +1 -0
- package/dist/kongponents279.cjs +1 -4
- package/dist/kongponents28.cjs +1 -1
- package/dist/kongponents280.cjs +1 -1
- package/dist/kongponents281.cjs +1 -0
- package/dist/kongponents282.cjs +1 -1
- package/dist/kongponents283.cjs +1 -10
- package/dist/kongponents284.cjs +1 -1
- package/dist/kongponents285.cjs +1 -1
- package/dist/kongponents286.cjs +1 -1
- package/dist/kongponents287.cjs +1 -1
- package/dist/kongponents288.cjs +1 -1
- package/dist/kongponents289.cjs +1 -1
- package/dist/kongponents290.cjs +1 -1
- package/dist/kongponents291.cjs +1 -1
- package/dist/kongponents292.cjs +1 -1
- package/dist/kongponents293.cjs +1 -1
- package/dist/kongponents294.cjs +1 -1
- package/dist/kongponents295.cjs +1 -1
- package/dist/kongponents296.cjs +1 -1
- package/dist/kongponents297.cjs +1 -1
- package/dist/kongponents298.cjs +1 -1
- package/dist/kongponents299.cjs +1 -1
- package/dist/kongponents300.cjs +1 -1
- package/dist/kongponents301.cjs +1 -1
- package/dist/kongponents302.cjs +1 -1
- package/dist/kongponents303.cjs +1 -1
- package/dist/kongponents304.cjs +1 -1
- package/dist/kongponents305.cjs +1 -1
- package/dist/kongponents306.cjs +1 -1
- package/dist/kongponents307.cjs +1 -1
- package/dist/kongponents308.cjs +1 -1
- package/dist/kongponents309.cjs +1 -1
- package/dist/kongponents310.cjs +1 -1
- package/dist/kongponents311.cjs +1 -1
- package/dist/kongponents312.cjs +1 -1
- package/dist/kongponents313.cjs +1 -1
- package/dist/kongponents314.cjs +1 -1
- package/dist/kongponents315.cjs +1 -1
- package/dist/kongponents316.cjs +1 -1
- package/dist/kongponents317.cjs +1 -1
- package/dist/kongponents318.cjs +1 -1
- package/dist/kongponents319.cjs +1 -1
- package/dist/kongponents320.cjs +1 -1
- package/dist/kongponents321.cjs +1 -1
- package/dist/kongponents322.cjs +1 -1
- package/dist/kongponents323.cjs +1 -1
- package/dist/kongponents324.cjs +1 -1
- package/dist/kongponents326.cjs +1 -1
- package/dist/kongponents327.cjs +1 -1
- package/dist/kongponents328.cjs +1 -1
- package/dist/kongponents329.cjs +1 -1
- package/dist/kongponents330.cjs +1 -1
- package/dist/kongponents331.cjs +1 -1
- package/dist/kongponents332.cjs +1 -1
- package/dist/kongponents333.cjs +1 -1
- package/dist/kongponents334.cjs +1 -1
- package/dist/kongponents335.cjs +1 -1
- package/dist/kongponents336.cjs +1 -1
- package/dist/kongponents337.cjs +1 -1
- package/dist/kongponents338.cjs +1 -0
- package/dist/kongponents339.cjs +1 -1
- package/dist/kongponents340.cjs +1 -1
- package/dist/kongponents341.cjs +1 -1
- package/dist/kongponents342.cjs +1 -1
- package/dist/kongponents343.cjs +1 -1
- package/dist/kongponents344.cjs +1 -1
- package/dist/kongponents345.cjs +1 -1
- package/dist/kongponents346.cjs +1 -1
- package/dist/kongponents347.cjs +1 -1
- package/dist/kongponents348.cjs +1 -1
- package/dist/kongponents349.cjs +1 -1
- package/dist/kongponents350.cjs +1 -1
- package/dist/kongponents351.cjs +1 -1
- package/dist/kongponents352.cjs +1 -1
- package/dist/kongponents353.cjs +1 -1
- package/dist/kongponents355.cjs +1 -1
- package/dist/kongponents357.cjs +4 -1
- package/dist/kongponents358.cjs +1 -1
- package/dist/kongponents359.cjs +1 -1
- package/dist/kongponents360.cjs +1 -1
- package/dist/kongponents361.cjs +1 -1
- package/dist/kongponents362.cjs +10 -1
- package/dist/kongponents363.cjs +1 -1
- package/dist/kongponents364.cjs +1 -1
- package/dist/kongponents365.cjs +1 -1
- package/dist/kongponents366.cjs +1 -1
- package/dist/kongponents367.cjs +1 -1
- package/dist/kongponents368.cjs +1 -1
- package/dist/kongponents369.cjs +1 -1
- package/dist/kongponents370.cjs +1 -1
- package/dist/kongponents371.cjs +1 -1
- package/dist/kongponents372.cjs +1 -1
- package/dist/kongponents373.cjs +1 -1
- package/dist/kongponents374.cjs +1 -1
- package/dist/kongponents375.cjs +1 -1
- package/dist/kongponents376.cjs +1 -1
- package/dist/kongponents377.cjs +1 -1
- package/dist/kongponents378.cjs +1 -1
- package/dist/kongponents379.cjs +1 -1
- package/dist/kongponents380.cjs +1 -1
- package/dist/kongponents381.cjs +1 -1
- package/dist/kongponents382.cjs +1 -1
- package/dist/kongponents383.cjs +1 -1
- package/dist/kongponents384.cjs +1 -1
- package/dist/kongponents385.cjs +1 -1
- package/dist/kongponents386.cjs +1 -1
- package/dist/kongponents387.cjs +1 -1
- package/dist/kongponents388.cjs +1 -1
- package/dist/kongponents389.cjs +1 -1
- package/dist/kongponents390.cjs +1 -1
- package/dist/kongponents391.cjs +1 -1
- package/dist/kongponents392.cjs +1 -1
- package/dist/kongponents393.cjs +1 -1
- package/dist/kongponents394.cjs +1 -1
- package/dist/kongponents395.cjs +1 -1
- package/dist/kongponents396.cjs +1 -1
- package/dist/kongponents397.cjs +1 -1
- package/dist/kongponents398.cjs +1 -1
- package/dist/kongponents399.cjs +1 -1
- package/dist/kongponents400.cjs +1 -1
- package/dist/kongponents401.cjs +1 -1
- package/dist/kongponents402.cjs +1 -1
- package/dist/kongponents403.cjs +1 -1
- package/dist/kongponents404.cjs +1 -1
- package/dist/kongponents405.cjs +1 -1
- package/dist/kongponents406.cjs +1 -1
- package/dist/kongponents407.cjs +1 -1
- package/dist/kongponents408.cjs +1 -1
- package/dist/kongponents409.cjs +1 -1
- package/dist/kongponents410.cjs +1 -1
- package/dist/kongponents411.cjs +1 -1
- package/dist/kongponents412.cjs +1 -1
- package/dist/kongponents413.cjs +1 -1
- package/dist/kongponents414.cjs +1 -1
- package/dist/kongponents415.cjs +1 -1
- package/dist/kongponents416.cjs +1 -1
- package/dist/kongponents418.cjs +1 -1
- package/dist/kongponents419.cjs +1 -1
- package/dist/kongponents420.cjs +1 -1
- package/dist/kongponents421.cjs +1 -1
- package/dist/kongponents422.cjs +1 -1
- package/dist/kongponents423.cjs +1 -1
- package/dist/kongponents424.cjs +1 -1
- package/dist/kongponents425.cjs +1 -1
- package/dist/kongponents426.cjs +1 -1
- package/dist/kongponents427.cjs +1 -1
- package/dist/kongponents428.cjs +1 -1
- package/dist/kongponents429.cjs +1 -1
- package/dist/kongponents430.cjs +1 -1
- package/dist/kongponents431.cjs +1 -1
- package/dist/kongponents432.cjs +1 -1
- package/dist/kongponents434.cjs +1 -1
- package/dist/kongponents435.cjs +1 -1
- package/dist/kongponents436.cjs +1 -1
- package/dist/kongponents437.cjs +1 -1
- package/dist/kongponents439.cjs +1 -1
- package/dist/kongponents441.cjs +1 -1
- package/dist/kongponents444.cjs +1 -1
- package/dist/kongponents446.cjs +1 -1
- package/dist/kongponents447.cjs +1 -1
- package/dist/kongponents448.cjs +1 -1
- package/dist/kongponents449.cjs +1 -1
- package/dist/kongponents450.cjs +1 -1
- package/dist/kongponents451.cjs +1 -1
- package/dist/kongponents456.cjs +1 -1
- package/dist/kongponents457.cjs +1 -1
- package/dist/kongponents458.cjs +1 -1
- package/dist/kongponents459.cjs +1 -1
- package/dist/kongponents463.cjs +1 -1
- package/dist/kongponents464.cjs +1 -1
- package/dist/kongponents466.cjs +1 -1
- package/dist/kongponents467.cjs +1 -1
- package/dist/kongponents468.cjs +1 -1
- package/dist/kongponents469.cjs +1 -1
- package/dist/kongponents470.cjs +1 -1
- package/dist/kongponents471.cjs +1 -1
- package/dist/kongponents472.cjs +1 -1
- package/dist/kongponents481.cjs +1 -1
- package/dist/kongponents483.cjs +1 -1
- package/dist/kongponents487.cjs +1 -1
- package/dist/kongponents488.cjs +1 -1
- package/dist/kongponents489.cjs +1 -1
- package/dist/kongponents490.cjs +1 -1
- package/dist/kongponents491.cjs +1 -1
- package/dist/kongponents493.cjs +1 -1
- package/dist/kongponents499.cjs +1 -1
- package/dist/kongponents501.cjs +1 -1
- package/dist/kongponents502.cjs +1 -1
- package/dist/kongponents503.cjs +1 -1
- package/dist/kongponents504.cjs +1 -1
- package/dist/kongponents505.cjs +1 -1
- package/dist/kongponents506.cjs +1 -1
- package/dist/kongponents507.cjs +1 -1
- package/dist/kongponents508.cjs +1 -1
- package/dist/kongponents509.cjs +1 -1
- package/dist/kongponents510.cjs +1 -1
- package/dist/kongponents511.cjs +1 -1
- package/dist/kongponents512.cjs +1 -1
- package/dist/kongponents513.cjs +1 -1
- package/dist/kongponents514.cjs +1 -1
- package/dist/kongponents515.cjs +1 -1
- package/dist/kongponents516.cjs +1 -1
- package/dist/kongponents517.cjs +1 -1
- package/dist/kongponents518.cjs +1 -1
- package/dist/kongponents519.cjs +1 -1
- package/dist/kongponents520.cjs +1 -1
- package/dist/kongponents521.cjs +1 -1
- package/dist/kongponents522.cjs +1 -1
- package/dist/kongponents523.cjs +1 -1
- package/dist/kongponents524.cjs +1 -1
- package/dist/kongponents525.cjs +1 -1
- package/dist/kongponents526.cjs +1 -1
- package/dist/kongponents527.cjs +1 -1
- package/dist/kongponents528.cjs +1 -1
- package/dist/kongponents529.cjs +1 -1
- package/dist/kongponents530.cjs +1 -1
- package/dist/kongponents531.cjs +1 -1
- package/dist/kongponents532.cjs +1 -1
- package/dist/kongponents542.cjs +1 -1
- package/dist/kongponents543.cjs +1 -1
- package/dist/kongponents546.cjs +1 -1
- package/dist/kongponents547.cjs +1 -1
- package/dist/kongponents553.cjs +1 -1
- package/dist/kongponents555.cjs +1 -1
- package/dist/kongponents556.cjs +1 -1
- package/dist/kongponents557.cjs +1 -1
- package/dist/kongponents558.cjs +1 -1
- package/dist/kongponents560.cjs +1 -1
- package/dist/kongponents561.cjs +1 -1
- package/dist/kongponents562.cjs +1 -1
- package/dist/kongponents563.cjs +1 -1
- package/dist/kongponents564.cjs +1 -1
- package/dist/kongponents565.cjs +1 -1
- package/dist/kongponents567.cjs +1 -1
- package/dist/kongponents568.cjs +1 -1
- package/dist/kongponents569.cjs +1 -1
- package/dist/kongponents570.cjs +1 -1
- package/dist/kongponents571.cjs +1 -1
- package/dist/kongponents572.cjs +1 -1
- package/dist/kongponents573.cjs +1 -1
- package/dist/kongponents574.cjs +1 -1
- package/dist/kongponents575.cjs +1 -1
- package/dist/kongponents576.cjs +1 -1
- package/dist/kongponents577.cjs +1 -1
- package/dist/kongponents578.cjs +1 -1
- package/dist/kongponents579.cjs +1 -1
- package/dist/kongponents580.cjs +1 -1
- package/dist/kongponents581.cjs +1 -1
- package/dist/kongponents582.cjs +1 -1
- package/dist/kongponents583.cjs +1 -1
- package/dist/kongponents584.cjs +1 -1
- package/dist/kongponents585.cjs +1 -1
- package/dist/kongponents586.cjs +1 -1
- package/dist/kongponents587.cjs +1 -1
- package/dist/kongponents597.cjs +1 -1
- package/dist/kongponents599.cjs +1 -1
- package/dist/kongponents600.cjs +1 -1
- package/dist/kongponents601.cjs +1 -1
- package/dist/kongponents604.cjs +1 -1
- package/dist/kongponents605.cjs +1 -1
- package/dist/kongponents69.cjs +1 -1
- package/dist/kongponents72.cjs +1 -1
- package/dist/kongponents75.cjs +1 -1
- package/dist/kongponents77.cjs +1 -1
- package/dist/kongponents83.cjs +1 -1
- package/dist/kongponents87.cjs +1 -1
- package/dist/kongponents89.cjs +1 -1
- package/dist/kongponents94.cjs +1 -1
- package/dist/kongponents96.cjs +1 -1
- package/dist/kongponents99.cjs +1 -1
- package/package.json +1 -1
- package/dist/kongponents.es199.js +0 -116
- package/dist/kongponents.es247.js +0 -47
- package/dist/kongponents.es255.js +0 -93
- package/dist/kongponents.es257.js +0 -43
- package/dist/kongponents.es259.js +0 -54
- package/dist/kongponents.es269.js +0 -121
- package/dist/kongponents.es275.js +0 -178
- package/dist/kongponents.es325.js +0 -13
- package/dist/kongponents.es354.js +0 -10
- package/dist/kongponents.es356.js +0 -23
- package/dist/kongponents.es417.js +0 -9
- package/dist/kongponents199.cjs +0 -1
- package/dist/kongponents247.cjs +0 -1
- package/dist/kongponents255.cjs +0 -1
- package/dist/kongponents257.cjs +0 -1
- package/dist/kongponents259.cjs +0 -1
- package/dist/kongponents269.cjs +0 -1
- package/dist/kongponents275.cjs +0 -1
- package/dist/kongponents325.cjs +0 -1
- package/dist/kongponents354.cjs +0 -1
- package/dist/kongponents356.cjs +0 -1
- package/dist/kongponents417.cjs +0 -1
- /package/dist/{kongponents.es249.js → kongponents.es256.js} +0 -0
- /package/dist/{kongponents.es273.js → kongponents.es262.js} +0 -0
- /package/dist/{kongponents249.cjs → kongponents256.cjs} +0 -0
- /package/dist/{kongponents273.cjs → kongponents262.cjs} +0 -0
|
@@ -1,1559 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
function en() {
|
|
8
|
-
return typeof window < "u" ? window.console : global.console;
|
|
1
|
+
import n from "./kongponents.es284.js";
|
|
2
|
+
import t from "./kongponents.es285.js";
|
|
3
|
+
function f(a, r) {
|
|
4
|
+
return a != null && t(a, r, n);
|
|
9
5
|
}
|
|
10
|
-
const tn = en();
|
|
11
|
-
function nn(t) {
|
|
12
|
-
const e = /* @__PURE__ */ Object.create(null);
|
|
13
|
-
return function(o) {
|
|
14
|
-
return e[o] || (e[o] = t(o));
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
const on = /-(\w)/g, Tt = nn((t) => t.replace(on, (e, n) => n ? n.toUpperCase() : ""));
|
|
18
|
-
function rt(t) {
|
|
19
|
-
t.parentElement !== null && t.parentElement.removeChild(t);
|
|
20
|
-
}
|
|
21
|
-
function Ct(t, e, n) {
|
|
22
|
-
const o = n === 0 ? t.children[0] : t.children[n - 1].nextSibling;
|
|
23
|
-
t.insertBefore(e, o);
|
|
24
|
-
}
|
|
25
|
-
/**!
|
|
26
|
-
* Sortable 1.14.0
|
|
27
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
28
|
-
* @author owenm <owen23355@gmail.com>
|
|
29
|
-
* @license MIT
|
|
30
|
-
*/
|
|
31
|
-
function Ot(t, e) {
|
|
32
|
-
var n = Object.keys(t);
|
|
33
|
-
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
var o = Object.getOwnPropertySymbols(t);
|
|
35
|
-
e && (o = o.filter(function(i) {
|
|
36
|
-
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
37
|
-
})), n.push.apply(n, o);
|
|
38
|
-
}
|
|
39
|
-
return n;
|
|
40
|
-
}
|
|
41
|
-
function oe(t) {
|
|
42
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
43
|
-
var n = arguments[e] != null ? arguments[e] : {};
|
|
44
|
-
e % 2 ? Ot(Object(n), !0).forEach(function(o) {
|
|
45
|
-
rn(t, o, n[o]);
|
|
46
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ot(Object(n)).forEach(function(o) {
|
|
47
|
-
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return t;
|
|
51
|
-
}
|
|
52
|
-
function We(t) {
|
|
53
|
-
"@babel/helpers - typeof";
|
|
54
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? We = function(e) {
|
|
55
|
-
return typeof e;
|
|
56
|
-
} : We = function(e) {
|
|
57
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
58
|
-
}, We(t);
|
|
59
|
-
}
|
|
60
|
-
function rn(t, e, n) {
|
|
61
|
-
return e in t ? Object.defineProperty(t, e, {
|
|
62
|
-
value: n,
|
|
63
|
-
enumerable: !0,
|
|
64
|
-
configurable: !0,
|
|
65
|
-
writable: !0
|
|
66
|
-
}) : t[e] = n, t;
|
|
67
|
-
}
|
|
68
|
-
function re() {
|
|
69
|
-
return re = Object.assign || function(t) {
|
|
70
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
71
|
-
var n = arguments[e];
|
|
72
|
-
for (var o in n)
|
|
73
|
-
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
74
|
-
}
|
|
75
|
-
return t;
|
|
76
|
-
}, re.apply(this, arguments);
|
|
77
|
-
}
|
|
78
|
-
function an(t, e) {
|
|
79
|
-
if (t == null) return {};
|
|
80
|
-
var n = {}, o = Object.keys(t), i, r;
|
|
81
|
-
for (r = 0; r < o.length; r++)
|
|
82
|
-
i = o[r], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
|
|
83
|
-
return n;
|
|
84
|
-
}
|
|
85
|
-
function ln(t, e) {
|
|
86
|
-
if (t == null) return {};
|
|
87
|
-
var n = an(t, e), o, i;
|
|
88
|
-
if (Object.getOwnPropertySymbols) {
|
|
89
|
-
var r = Object.getOwnPropertySymbols(t);
|
|
90
|
-
for (i = 0; i < r.length; i++)
|
|
91
|
-
o = r[i], !(e.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (n[o] = t[o]);
|
|
92
|
-
}
|
|
93
|
-
return n;
|
|
94
|
-
}
|
|
95
|
-
var sn = "1.14.0";
|
|
96
|
-
function ie(t) {
|
|
97
|
-
if (typeof window < "u" && window.navigator)
|
|
98
|
-
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
99
|
-
}
|
|
100
|
-
var ae = ie(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Le = ie(/Edge/i), It = ie(/firefox/i), Pe = ie(/safari/i) && !ie(/chrome/i) && !ie(/android/i), Rt = ie(/iP(ad|od|hone)/i), un = ie(/chrome/i) && ie(/android/i), Yt = {
|
|
101
|
-
capture: !1,
|
|
102
|
-
passive: !1
|
|
103
|
-
};
|
|
104
|
-
function D(t, e, n) {
|
|
105
|
-
t.addEventListener(e, n, !ae && Yt);
|
|
106
|
-
}
|
|
107
|
-
function _(t, e, n) {
|
|
108
|
-
t.removeEventListener(e, n, !ae && Yt);
|
|
109
|
-
}
|
|
110
|
-
function qe(t, e) {
|
|
111
|
-
if (e) {
|
|
112
|
-
if (e[0] === ">" && (e = e.substring(1)), t)
|
|
113
|
-
try {
|
|
114
|
-
if (t.matches)
|
|
115
|
-
return t.matches(e);
|
|
116
|
-
if (t.msMatchesSelector)
|
|
117
|
-
return t.msMatchesSelector(e);
|
|
118
|
-
if (t.webkitMatchesSelector)
|
|
119
|
-
return t.webkitMatchesSelector(e);
|
|
120
|
-
} catch {
|
|
121
|
-
return !1;
|
|
122
|
-
}
|
|
123
|
-
return !1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
function cn(t) {
|
|
127
|
-
return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
|
|
128
|
-
}
|
|
129
|
-
function te(t, e, n, o) {
|
|
130
|
-
if (t) {
|
|
131
|
-
n = n || document;
|
|
132
|
-
do {
|
|
133
|
-
if (e != null && (e[0] === ">" ? t.parentNode === n && qe(t, e) : qe(t, e)) || o && t === n)
|
|
134
|
-
return t;
|
|
135
|
-
if (t === n) break;
|
|
136
|
-
} while (t = cn(t));
|
|
137
|
-
}
|
|
138
|
-
return null;
|
|
139
|
-
}
|
|
140
|
-
var xt = /\s+/g;
|
|
141
|
-
function G(t, e, n) {
|
|
142
|
-
if (t && e)
|
|
143
|
-
if (t.classList)
|
|
144
|
-
t.classList[n ? "add" : "remove"](e);
|
|
145
|
-
else {
|
|
146
|
-
var o = (" " + t.className + " ").replace(xt, " ").replace(" " + e + " ", " ");
|
|
147
|
-
t.className = (o + (n ? " " + e : "")).replace(xt, " ");
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
function m(t, e, n) {
|
|
151
|
-
var o = t && t.style;
|
|
152
|
-
if (o) {
|
|
153
|
-
if (n === void 0)
|
|
154
|
-
return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(t, "") : t.currentStyle && (n = t.currentStyle), e === void 0 ? n : n[e];
|
|
155
|
-
!(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = n + (typeof n == "string" ? "" : "px");
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
function Te(t, e) {
|
|
159
|
-
var n = "";
|
|
160
|
-
if (typeof t == "string")
|
|
161
|
-
n = t;
|
|
162
|
-
else
|
|
163
|
-
do {
|
|
164
|
-
var o = m(t, "transform");
|
|
165
|
-
o && o !== "none" && (n = o + " " + n);
|
|
166
|
-
} while (!e && (t = t.parentNode));
|
|
167
|
-
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
168
|
-
return i && new i(n);
|
|
169
|
-
}
|
|
170
|
-
function kt(t, e, n) {
|
|
171
|
-
if (t) {
|
|
172
|
-
var o = t.getElementsByTagName(e), i = 0, r = o.length;
|
|
173
|
-
if (n)
|
|
174
|
-
for (; i < r; i++)
|
|
175
|
-
n(o[i], i);
|
|
176
|
-
return o;
|
|
177
|
-
}
|
|
178
|
-
return [];
|
|
179
|
-
}
|
|
180
|
-
function ne() {
|
|
181
|
-
var t = document.scrollingElement;
|
|
182
|
-
return t || document.documentElement;
|
|
183
|
-
}
|
|
184
|
-
function P(t, e, n, o, i) {
|
|
185
|
-
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
186
|
-
var r, a, l, s, u, h, d;
|
|
187
|
-
if (t !== window && t.parentNode && t !== ne() ? (r = t.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, h = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, h = window.innerHeight, d = window.innerWidth), (e || n) && t !== window && (i = i || t.parentNode, !ae))
|
|
188
|
-
do
|
|
189
|
-
if (i && i.getBoundingClientRect && (m(i, "transform") !== "none" || n && m(i, "position") !== "static")) {
|
|
190
|
-
var p = i.getBoundingClientRect();
|
|
191
|
-
a -= p.top + parseInt(m(i, "border-top-width")), l -= p.left + parseInt(m(i, "border-left-width")), s = a + r.height, u = l + r.width;
|
|
192
|
-
break;
|
|
193
|
-
}
|
|
194
|
-
while (i = i.parentNode);
|
|
195
|
-
if (o && t !== window) {
|
|
196
|
-
var S = Te(i || t), w = S && S.a, E = S && S.d;
|
|
197
|
-
S && (a /= E, l /= w, d /= w, h /= E, s = a + h, u = l + d);
|
|
198
|
-
}
|
|
199
|
-
return {
|
|
200
|
-
top: a,
|
|
201
|
-
left: l,
|
|
202
|
-
bottom: s,
|
|
203
|
-
right: u,
|
|
204
|
-
width: d,
|
|
205
|
-
height: h
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
function At(t, e, n) {
|
|
210
|
-
for (var o = ge(t, !0), i = P(t)[e]; o; ) {
|
|
211
|
-
var r = P(o)[n], a = void 0;
|
|
212
|
-
if (a = i >= r, !a) return o;
|
|
213
|
-
if (o === ne()) break;
|
|
214
|
-
o = ge(o, !1);
|
|
215
|
-
}
|
|
216
|
-
return !1;
|
|
217
|
-
}
|
|
218
|
-
function Ce(t, e, n, o) {
|
|
219
|
-
for (var i = 0, r = 0, a = t.children; r < a.length; ) {
|
|
220
|
-
if (a[r].style.display !== "none" && a[r] !== v.ghost && (o || a[r] !== v.dragged) && te(a[r], n.draggable, t, !1)) {
|
|
221
|
-
if (i === e)
|
|
222
|
-
return a[r];
|
|
223
|
-
i++;
|
|
224
|
-
}
|
|
225
|
-
r++;
|
|
226
|
-
}
|
|
227
|
-
return null;
|
|
228
|
-
}
|
|
229
|
-
function _t(t, e) {
|
|
230
|
-
for (var n = t.lastElementChild; n && (n === v.ghost || m(n, "display") === "none" || e && !qe(n, e)); )
|
|
231
|
-
n = n.previousElementSibling;
|
|
232
|
-
return n || null;
|
|
233
|
-
}
|
|
234
|
-
function V(t, e) {
|
|
235
|
-
var n = 0;
|
|
236
|
-
if (!t || !t.parentNode)
|
|
237
|
-
return -1;
|
|
238
|
-
for (; t = t.previousElementSibling; )
|
|
239
|
-
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== v.clone && (!e || qe(t, e)) && n++;
|
|
240
|
-
return n;
|
|
241
|
-
}
|
|
242
|
-
function Pt(t) {
|
|
243
|
-
var e = 0, n = 0, o = ne();
|
|
244
|
-
if (t)
|
|
245
|
-
do {
|
|
246
|
-
var i = Te(t), r = i.a, a = i.d;
|
|
247
|
-
e += t.scrollLeft * r, n += t.scrollTop * a;
|
|
248
|
-
} while (t !== o && (t = t.parentNode));
|
|
249
|
-
return [e, n];
|
|
250
|
-
}
|
|
251
|
-
function dn(t, e) {
|
|
252
|
-
for (var n in t)
|
|
253
|
-
if (t.hasOwnProperty(n)) {
|
|
254
|
-
for (var o in e)
|
|
255
|
-
if (e.hasOwnProperty(o) && e[o] === t[n][o]) return Number(n);
|
|
256
|
-
}
|
|
257
|
-
return -1;
|
|
258
|
-
}
|
|
259
|
-
function ge(t, e) {
|
|
260
|
-
if (!t || !t.getBoundingClientRect) return ne();
|
|
261
|
-
var n = t, o = !1;
|
|
262
|
-
do
|
|
263
|
-
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
264
|
-
var i = m(n);
|
|
265
|
-
if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
266
|
-
if (!n.getBoundingClientRect || n === document.body) return ne();
|
|
267
|
-
if (o || e) return n;
|
|
268
|
-
o = !0;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
while (n = n.parentNode);
|
|
272
|
-
return ne();
|
|
273
|
-
}
|
|
274
|
-
function fn(t, e) {
|
|
275
|
-
if (t && e)
|
|
276
|
-
for (var n in e)
|
|
277
|
-
e.hasOwnProperty(n) && (t[n] = e[n]);
|
|
278
|
-
return t;
|
|
279
|
-
}
|
|
280
|
-
function at(t, e) {
|
|
281
|
-
return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
|
|
282
|
-
}
|
|
283
|
-
var Ne;
|
|
284
|
-
function Bt(t, e) {
|
|
285
|
-
return function() {
|
|
286
|
-
if (!Ne) {
|
|
287
|
-
var n = arguments, o = this;
|
|
288
|
-
n.length === 1 ? t.call(o, n[0]) : t.apply(o, n), Ne = setTimeout(function() {
|
|
289
|
-
Ne = void 0;
|
|
290
|
-
}, e);
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
function hn() {
|
|
295
|
-
clearTimeout(Ne), Ne = void 0;
|
|
296
|
-
}
|
|
297
|
-
function jt(t, e, n) {
|
|
298
|
-
t.scrollLeft += e, t.scrollTop += n;
|
|
299
|
-
}
|
|
300
|
-
function Ht(t) {
|
|
301
|
-
var e = window.Polymer, n = window.jQuery || window.Zepto;
|
|
302
|
-
return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
|
|
303
|
-
}
|
|
304
|
-
var $ = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
305
|
-
function pn() {
|
|
306
|
-
var t = [], e;
|
|
307
|
-
return {
|
|
308
|
-
captureAnimationState: function() {
|
|
309
|
-
if (t = [], !!this.options.animation) {
|
|
310
|
-
var o = [].slice.call(this.el.children);
|
|
311
|
-
o.forEach(function(i) {
|
|
312
|
-
if (!(m(i, "display") === "none" || i === v.ghost)) {
|
|
313
|
-
t.push({
|
|
314
|
-
target: i,
|
|
315
|
-
rect: P(i)
|
|
316
|
-
});
|
|
317
|
-
var r = oe({}, t[t.length - 1].rect);
|
|
318
|
-
if (i.thisAnimationDuration) {
|
|
319
|
-
var a = Te(i, !0);
|
|
320
|
-
a && (r.top -= a.f, r.left -= a.e);
|
|
321
|
-
}
|
|
322
|
-
i.fromRect = r;
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
addAnimationState: function(o) {
|
|
328
|
-
t.push(o);
|
|
329
|
-
},
|
|
330
|
-
removeAnimationState: function(o) {
|
|
331
|
-
t.splice(dn(t, {
|
|
332
|
-
target: o
|
|
333
|
-
}), 1);
|
|
334
|
-
},
|
|
335
|
-
animateAll: function(o) {
|
|
336
|
-
var i = this;
|
|
337
|
-
if (!this.options.animation) {
|
|
338
|
-
clearTimeout(e), typeof o == "function" && o();
|
|
339
|
-
return;
|
|
340
|
-
}
|
|
341
|
-
var r = !1, a = 0;
|
|
342
|
-
t.forEach(function(l) {
|
|
343
|
-
var s = 0, u = l.target, h = u.fromRect, d = P(u), p = u.prevFromRect, S = u.prevToRect, w = l.rect, E = Te(u, !0);
|
|
344
|
-
E && (d.top -= E.f, d.left -= E.e), u.toRect = d, u.thisAnimationDuration && at(p, d) && !at(h, d) && // Make sure animatingRect is on line between toRect & fromRect
|
|
345
|
-
(w.top - d.top) / (w.left - d.left) === (h.top - d.top) / (h.left - d.left) && (s = mn(w, p, S, i.options)), at(d, h) || (u.prevFromRect = h, u.prevToRect = d, s || (s = i.options.animation), i.animate(u, w, d, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
346
|
-
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
347
|
-
}, s), u.thisAnimationDuration = s);
|
|
348
|
-
}), clearTimeout(e), r ? e = setTimeout(function() {
|
|
349
|
-
typeof o == "function" && o();
|
|
350
|
-
}, a) : typeof o == "function" && o(), t = [];
|
|
351
|
-
},
|
|
352
|
-
animate: function(o, i, r, a) {
|
|
353
|
-
if (a) {
|
|
354
|
-
m(o, "transition", ""), m(o, "transform", "");
|
|
355
|
-
var l = Te(this.el), s = l && l.a, u = l && l.d, h = (i.left - r.left) / (s || 1), d = (i.top - r.top) / (u || 1);
|
|
356
|
-
o.animatingX = !!h, o.animatingY = !!d, m(o, "transform", "translate3d(" + h + "px," + d + "px,0)"), this.forRepaintDummy = gn(o), m(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), m(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
|
|
357
|
-
m(o, "transition", ""), m(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
358
|
-
}, a);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
function gn(t) {
|
|
364
|
-
return t.offsetWidth;
|
|
365
|
-
}
|
|
366
|
-
function mn(t, e, n, o) {
|
|
367
|
-
return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
|
|
368
|
-
}
|
|
369
|
-
var Ee = [], lt = {
|
|
370
|
-
initializeByDefault: !0
|
|
371
|
-
}, Re = {
|
|
372
|
-
mount: function(e) {
|
|
373
|
-
for (var n in lt)
|
|
374
|
-
lt.hasOwnProperty(n) && !(n in e) && (e[n] = lt[n]);
|
|
375
|
-
Ee.forEach(function(o) {
|
|
376
|
-
if (o.pluginName === e.pluginName)
|
|
377
|
-
throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
|
|
378
|
-
}), Ee.push(e);
|
|
379
|
-
},
|
|
380
|
-
pluginEvent: function(e, n, o) {
|
|
381
|
-
var i = this;
|
|
382
|
-
this.eventCanceled = !1, o.cancel = function() {
|
|
383
|
-
i.eventCanceled = !0;
|
|
384
|
-
};
|
|
385
|
-
var r = e + "Global";
|
|
386
|
-
Ee.forEach(function(a) {
|
|
387
|
-
n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r](oe({
|
|
388
|
-
sortable: n
|
|
389
|
-
}, o)), n.options[a.pluginName] && n[a.pluginName][e] && n[a.pluginName][e](oe({
|
|
390
|
-
sortable: n
|
|
391
|
-
}, o)));
|
|
392
|
-
});
|
|
393
|
-
},
|
|
394
|
-
initializePlugins: function(e, n, o, i) {
|
|
395
|
-
Ee.forEach(function(l) {
|
|
396
|
-
var s = l.pluginName;
|
|
397
|
-
if (!(!e.options[s] && !l.initializeByDefault)) {
|
|
398
|
-
var u = new l(e, n, e.options);
|
|
399
|
-
u.sortable = e, u.options = e.options, e[s] = u, re(o, u.defaults);
|
|
400
|
-
}
|
|
401
|
-
});
|
|
402
|
-
for (var r in e.options)
|
|
403
|
-
if (e.options.hasOwnProperty(r)) {
|
|
404
|
-
var a = this.modifyOption(e, r, e.options[r]);
|
|
405
|
-
typeof a < "u" && (e.options[r] = a);
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
getEventProperties: function(e, n) {
|
|
409
|
-
var o = {};
|
|
410
|
-
return Ee.forEach(function(i) {
|
|
411
|
-
typeof i.eventProperties == "function" && re(o, i.eventProperties.call(n[i.pluginName], e));
|
|
412
|
-
}), o;
|
|
413
|
-
},
|
|
414
|
-
modifyOption: function(e, n, o) {
|
|
415
|
-
var i;
|
|
416
|
-
return Ee.forEach(function(r) {
|
|
417
|
-
e[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(e[r.pluginName], o));
|
|
418
|
-
}), i;
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
function vn(t) {
|
|
422
|
-
var e = t.sortable, n = t.rootEl, o = t.name, i = t.targetEl, r = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, h = t.oldDraggableIndex, d = t.newDraggableIndex, p = t.originalEvent, S = t.putSortable, w = t.extraEventProperties;
|
|
423
|
-
if (e = e || n && n[$], !!e) {
|
|
424
|
-
var E, N = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
425
|
-
window.CustomEvent && !ae && !Le ? E = new CustomEvent(o, {
|
|
426
|
-
bubbles: !0,
|
|
427
|
-
cancelable: !0
|
|
428
|
-
}) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || n, E.from = l || n, E.item = i || n, E.clone = r, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = h, E.newDraggableIndex = d, E.originalEvent = p, E.pullMode = S ? S.lastPutMode : void 0;
|
|
429
|
-
var I = oe(oe({}, w), Re.getEventProperties(o, e));
|
|
430
|
-
for (var L in I)
|
|
431
|
-
E[L] = I[L];
|
|
432
|
-
n && n.dispatchEvent(E), N[z] && N[z].call(e, E);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
var bn = ["evt"], H = function(e, n) {
|
|
436
|
-
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = ln(o, bn);
|
|
437
|
-
Re.pluginEvent.bind(v)(e, n, oe({
|
|
438
|
-
dragEl: c,
|
|
439
|
-
parentEl: C,
|
|
440
|
-
ghostEl: y,
|
|
441
|
-
rootEl: T,
|
|
442
|
-
nextEl: we,
|
|
443
|
-
lastDownEl: $e,
|
|
444
|
-
cloneEl: O,
|
|
445
|
-
cloneHidden: pe,
|
|
446
|
-
dragStarted: Ie,
|
|
447
|
-
putSortable: M,
|
|
448
|
-
activeSortable: v.active,
|
|
449
|
-
originalEvent: i,
|
|
450
|
-
oldIndex: Se,
|
|
451
|
-
oldDraggableIndex: Me,
|
|
452
|
-
newIndex: W,
|
|
453
|
-
newDraggableIndex: he,
|
|
454
|
-
hideGhostForTarget: zt,
|
|
455
|
-
unhideGhostForTarget: Vt,
|
|
456
|
-
cloneNowHidden: function() {
|
|
457
|
-
pe = !0;
|
|
458
|
-
},
|
|
459
|
-
cloneNowShown: function() {
|
|
460
|
-
pe = !1;
|
|
461
|
-
},
|
|
462
|
-
dispatchSortableEvent: function(l) {
|
|
463
|
-
Y({
|
|
464
|
-
sortable: n,
|
|
465
|
-
name: l,
|
|
466
|
-
originalEvent: i
|
|
467
|
-
});
|
|
468
|
-
}
|
|
469
|
-
}, r));
|
|
470
|
-
};
|
|
471
|
-
function Y(t) {
|
|
472
|
-
vn(oe({
|
|
473
|
-
putSortable: M,
|
|
474
|
-
cloneEl: O,
|
|
475
|
-
targetEl: c,
|
|
476
|
-
rootEl: T,
|
|
477
|
-
oldIndex: Se,
|
|
478
|
-
oldDraggableIndex: Me,
|
|
479
|
-
newIndex: W,
|
|
480
|
-
newDraggableIndex: he
|
|
481
|
-
}, t));
|
|
482
|
-
}
|
|
483
|
-
var c, C, y, T, we, $e, O, pe, Se, W, Me, he, Be, M, De = !1, Ke = !1, Ze = [], be, Z, st, ut, Nt, Mt, Ie, _e, Fe, Xe = !1, je = !1, ze, X, ct = [], mt = !1, Qe = [], et = typeof document < "u", He = Rt, Ft = Le || ae ? "cssFloat" : "float", yn = et && !un && !Rt && "draggable" in document.createElement("div"), Gt = (function() {
|
|
484
|
-
if (et) {
|
|
485
|
-
if (ae)
|
|
486
|
-
return !1;
|
|
487
|
-
var t = document.createElement("x");
|
|
488
|
-
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
489
|
-
}
|
|
490
|
-
})(), Wt = function(e, n) {
|
|
491
|
-
var o = m(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = Ce(e, 0, n), a = Ce(e, 1, n), l = r && m(r), s = a && m(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + P(r).width, h = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + P(a).width;
|
|
492
|
-
if (o.display === "flex")
|
|
493
|
-
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
494
|
-
if (o.display === "grid")
|
|
495
|
-
return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
496
|
-
if (r && l.float && l.float !== "none") {
|
|
497
|
-
var d = l.float === "left" ? "left" : "right";
|
|
498
|
-
return a && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
|
|
499
|
-
}
|
|
500
|
-
return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Ft] === "none" || a && o[Ft] === "none" && u + h > i) ? "vertical" : "horizontal";
|
|
501
|
-
}, wn = function(e, n, o) {
|
|
502
|
-
var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
|
|
503
|
-
return i === l || r === s || i + a / 2 === l + u / 2;
|
|
504
|
-
}, En = function(e, n) {
|
|
505
|
-
var o;
|
|
506
|
-
return Ze.some(function(i) {
|
|
507
|
-
var r = i[$].options.emptyInsertThreshold;
|
|
508
|
-
if (!(!r || _t(i))) {
|
|
509
|
-
var a = P(i), l = e >= a.left - r && e <= a.right + r, s = n >= a.top - r && n <= a.bottom + r;
|
|
510
|
-
if (l && s)
|
|
511
|
-
return o = i;
|
|
512
|
-
}
|
|
513
|
-
}), o;
|
|
514
|
-
}, $t = function(e) {
|
|
515
|
-
function n(r, a) {
|
|
516
|
-
return function(l, s, u, h) {
|
|
517
|
-
var d = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
|
|
518
|
-
if (r == null && (a || d))
|
|
519
|
-
return !0;
|
|
520
|
-
if (r == null || r === !1)
|
|
521
|
-
return !1;
|
|
522
|
-
if (a && r === "clone")
|
|
523
|
-
return r;
|
|
524
|
-
if (typeof r == "function")
|
|
525
|
-
return n(r(l, s, u, h), a)(l, s, u, h);
|
|
526
|
-
var p = (a ? l : s).options.group.name;
|
|
527
|
-
return r === !0 || typeof r == "string" && r === p || r.join && r.indexOf(p) > -1;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
var o = {}, i = e.group;
|
|
531
|
-
(!i || We(i) != "object") && (i = {
|
|
532
|
-
name: i
|
|
533
|
-
}), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, e.group = o;
|
|
534
|
-
}, zt = function() {
|
|
535
|
-
!Gt && y && m(y, "display", "none");
|
|
536
|
-
}, Vt = function() {
|
|
537
|
-
!Gt && y && m(y, "display", "");
|
|
538
|
-
};
|
|
539
|
-
et && document.addEventListener("click", function(t) {
|
|
540
|
-
if (Ke)
|
|
541
|
-
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Ke = !1, !1;
|
|
542
|
-
}, !0);
|
|
543
|
-
var ye = function(e) {
|
|
544
|
-
if (c) {
|
|
545
|
-
e = e.touches ? e.touches[0] : e;
|
|
546
|
-
var n = En(e.clientX, e.clientY);
|
|
547
|
-
if (n) {
|
|
548
|
-
var o = {};
|
|
549
|
-
for (var i in e)
|
|
550
|
-
e.hasOwnProperty(i) && (o[i] = e[i]);
|
|
551
|
-
o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[$]._onDragOver(o);
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
}, _n = function(e) {
|
|
555
|
-
c && c.parentNode[$]._isOutsideThisEl(e.target);
|
|
556
|
-
};
|
|
557
|
-
function v(t, e) {
|
|
558
|
-
if (!(t && t.nodeType && t.nodeType === 1))
|
|
559
|
-
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
|
|
560
|
-
this.el = t, this.options = e = re({}, e), t[$] = this;
|
|
561
|
-
var n = {
|
|
562
|
-
group: null,
|
|
563
|
-
sort: !0,
|
|
564
|
-
disabled: !1,
|
|
565
|
-
store: null,
|
|
566
|
-
handle: null,
|
|
567
|
-
draggable: /^[uo]l$/i.test(t.nodeName) ? ">li" : ">*",
|
|
568
|
-
swapThreshold: 1,
|
|
569
|
-
// percentage; 0 <= x <= 1
|
|
570
|
-
invertSwap: !1,
|
|
571
|
-
// invert always
|
|
572
|
-
invertedSwapThreshold: null,
|
|
573
|
-
// will be set to same as swapThreshold if default
|
|
574
|
-
removeCloneOnHide: !0,
|
|
575
|
-
direction: function() {
|
|
576
|
-
return Wt(t, this.options);
|
|
577
|
-
},
|
|
578
|
-
ghostClass: "sortable-ghost",
|
|
579
|
-
chosenClass: "sortable-chosen",
|
|
580
|
-
dragClass: "sortable-drag",
|
|
581
|
-
ignore: "a, img",
|
|
582
|
-
filter: null,
|
|
583
|
-
preventOnFilter: !0,
|
|
584
|
-
animation: 0,
|
|
585
|
-
easing: null,
|
|
586
|
-
setData: function(a, l) {
|
|
587
|
-
a.setData("Text", l.textContent);
|
|
588
|
-
},
|
|
589
|
-
dropBubble: !1,
|
|
590
|
-
dragoverBubble: !1,
|
|
591
|
-
dataIdAttr: "data-id",
|
|
592
|
-
delay: 0,
|
|
593
|
-
delayOnTouchOnly: !1,
|
|
594
|
-
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
595
|
-
forceFallback: !1,
|
|
596
|
-
fallbackClass: "sortable-fallback",
|
|
597
|
-
fallbackOnBody: !1,
|
|
598
|
-
fallbackTolerance: 0,
|
|
599
|
-
fallbackOffset: {
|
|
600
|
-
x: 0,
|
|
601
|
-
y: 0
|
|
602
|
-
},
|
|
603
|
-
supportPointer: v.supportPointer !== !1 && "PointerEvent" in window && !Pe,
|
|
604
|
-
emptyInsertThreshold: 5
|
|
605
|
-
};
|
|
606
|
-
Re.initializePlugins(this, t, n);
|
|
607
|
-
for (var o in n)
|
|
608
|
-
!(o in e) && (e[o] = n[o]);
|
|
609
|
-
$t(e);
|
|
610
|
-
for (var i in this)
|
|
611
|
-
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
612
|
-
this.nativeDraggable = e.forceFallback ? !1 : yn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? D(t, "pointerdown", this._onTapStart) : (D(t, "mousedown", this._onTapStart), D(t, "touchstart", this._onTapStart)), this.nativeDraggable && (D(t, "dragover", this), D(t, "dragenter", this)), Ze.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), re(this, pn());
|
|
613
|
-
}
|
|
614
|
-
v.prototype = /** @lends Sortable.prototype */
|
|
615
|
-
{
|
|
616
|
-
constructor: v,
|
|
617
|
-
_isOutsideThisEl: function(e) {
|
|
618
|
-
!this.el.contains(e) && e !== this.el && (_e = null);
|
|
619
|
-
},
|
|
620
|
-
_getDirection: function(e, n) {
|
|
621
|
-
return typeof this.options.direction == "function" ? this.options.direction.call(this, e, n, c) : this.options.direction;
|
|
622
|
-
},
|
|
623
|
-
_onTapStart: function(e) {
|
|
624
|
-
if (e.cancelable) {
|
|
625
|
-
var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, h = i.filter;
|
|
626
|
-
if (An(o), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Pe && s && s.tagName.toUpperCase() === "SELECT") && (s = te(s, i.draggable, o, !1), !(s && s.animated) && $e !== s)) {
|
|
627
|
-
if (Se = V(s), Me = V(s, i.draggable), typeof h == "function") {
|
|
628
|
-
if (h.call(this, e, s, this)) {
|
|
629
|
-
Y({
|
|
630
|
-
sortable: n,
|
|
631
|
-
rootEl: u,
|
|
632
|
-
name: "filter",
|
|
633
|
-
targetEl: s,
|
|
634
|
-
toEl: o,
|
|
635
|
-
fromEl: o
|
|
636
|
-
}), H("filter", n, {
|
|
637
|
-
evt: e
|
|
638
|
-
}), r && e.cancelable && e.preventDefault();
|
|
639
|
-
return;
|
|
640
|
-
}
|
|
641
|
-
} else if (h && (h = h.split(",").some(function(d) {
|
|
642
|
-
if (d = te(u, d.trim(), o, !1), d)
|
|
643
|
-
return Y({
|
|
644
|
-
sortable: n,
|
|
645
|
-
rootEl: d,
|
|
646
|
-
name: "filter",
|
|
647
|
-
targetEl: s,
|
|
648
|
-
fromEl: o,
|
|
649
|
-
toEl: o
|
|
650
|
-
}), H("filter", n, {
|
|
651
|
-
evt: e
|
|
652
|
-
}), !0;
|
|
653
|
-
}), h)) {
|
|
654
|
-
r && e.cancelable && e.preventDefault();
|
|
655
|
-
return;
|
|
656
|
-
}
|
|
657
|
-
i.handle && !te(u, i.handle, o, !1) || this._prepareDragStart(e, l, s);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
|
-
_prepareDragStart: function(e, n, o) {
|
|
662
|
-
var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
|
|
663
|
-
if (o && !c && o.parentNode === r) {
|
|
664
|
-
var u = P(o);
|
|
665
|
-
if (T = r, c = o, C = c.parentNode, we = c.nextSibling, $e = o, Be = a.group, v.dragged = c, be = {
|
|
666
|
-
target: c,
|
|
667
|
-
clientX: (n || e).clientX,
|
|
668
|
-
clientY: (n || e).clientY
|
|
669
|
-
}, Nt = be.clientX - u.left, Mt = be.clientY - u.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, c.style["will-change"] = "all", s = function() {
|
|
670
|
-
if (H("delayEnded", i, {
|
|
671
|
-
evt: e
|
|
672
|
-
}), v.eventCanceled) {
|
|
673
|
-
i._onDrop();
|
|
674
|
-
return;
|
|
675
|
-
}
|
|
676
|
-
i._disableDelayedDragEvents(), !It && i.nativeDraggable && (c.draggable = !0), i._triggerDragStart(e, n), Y({
|
|
677
|
-
sortable: i,
|
|
678
|
-
name: "choose",
|
|
679
|
-
originalEvent: e
|
|
680
|
-
}), G(c, a.chosenClass, !0);
|
|
681
|
-
}, a.ignore.split(",").forEach(function(h) {
|
|
682
|
-
kt(c, h.trim(), dt);
|
|
683
|
-
}), D(l, "dragover", ye), D(l, "mousemove", ye), D(l, "touchmove", ye), D(l, "mouseup", i._onDrop), D(l, "touchend", i._onDrop), D(l, "touchcancel", i._onDrop), It && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), H("delayStart", this, {
|
|
684
|
-
evt: e
|
|
685
|
-
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Le || ae))) {
|
|
686
|
-
if (v.eventCanceled) {
|
|
687
|
-
this._onDrop();
|
|
688
|
-
return;
|
|
689
|
-
}
|
|
690
|
-
D(l, "mouseup", i._disableDelayedDrag), D(l, "touchend", i._disableDelayedDrag), D(l, "touchcancel", i._disableDelayedDrag), D(l, "mousemove", i._delayedDragTouchMoveHandler), D(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && D(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
|
|
691
|
-
} else
|
|
692
|
-
s();
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
_delayedDragTouchMoveHandler: function(e) {
|
|
696
|
-
var n = e.touches ? e.touches[0] : e;
|
|
697
|
-
Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
698
|
-
},
|
|
699
|
-
_disableDelayedDrag: function() {
|
|
700
|
-
c && dt(c), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
701
|
-
},
|
|
702
|
-
_disableDelayedDragEvents: function() {
|
|
703
|
-
var e = this.el.ownerDocument;
|
|
704
|
-
_(e, "mouseup", this._disableDelayedDrag), _(e, "touchend", this._disableDelayedDrag), _(e, "touchcancel", this._disableDelayedDrag), _(e, "mousemove", this._delayedDragTouchMoveHandler), _(e, "touchmove", this._delayedDragTouchMoveHandler), _(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
705
|
-
},
|
|
706
|
-
_triggerDragStart: function(e, n) {
|
|
707
|
-
n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? D(document, "pointermove", this._onTouchMove) : n ? D(document, "touchmove", this._onTouchMove) : D(document, "mousemove", this._onTouchMove) : (D(c, "dragend", this), D(T, "dragstart", this._onDragStart));
|
|
708
|
-
try {
|
|
709
|
-
document.selection ? Ve(function() {
|
|
710
|
-
document.selection.empty();
|
|
711
|
-
}) : window.getSelection().removeAllRanges();
|
|
712
|
-
} catch {
|
|
713
|
-
}
|
|
714
|
-
},
|
|
715
|
-
_dragStarted: function(e, n) {
|
|
716
|
-
if (De = !1, T && c) {
|
|
717
|
-
H("dragStarted", this, {
|
|
718
|
-
evt: n
|
|
719
|
-
}), this.nativeDraggable && D(document, "dragover", _n);
|
|
720
|
-
var o = this.options;
|
|
721
|
-
!e && G(c, o.dragClass, !1), G(c, o.ghostClass, !0), v.active = this, e && this._appendGhost(), Y({
|
|
722
|
-
sortable: this,
|
|
723
|
-
name: "start",
|
|
724
|
-
originalEvent: n
|
|
725
|
-
});
|
|
726
|
-
} else
|
|
727
|
-
this._nulling();
|
|
728
|
-
},
|
|
729
|
-
_emulateDragOver: function() {
|
|
730
|
-
if (Z) {
|
|
731
|
-
this._lastX = Z.clientX, this._lastY = Z.clientY, zt();
|
|
732
|
-
for (var e = document.elementFromPoint(Z.clientX, Z.clientY), n = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(Z.clientX, Z.clientY), e !== n); )
|
|
733
|
-
n = e;
|
|
734
|
-
if (c.parentNode[$]._isOutsideThisEl(e), n)
|
|
735
|
-
do {
|
|
736
|
-
if (n[$]) {
|
|
737
|
-
var o = void 0;
|
|
738
|
-
if (o = n[$]._onDragOver({
|
|
739
|
-
clientX: Z.clientX,
|
|
740
|
-
clientY: Z.clientY,
|
|
741
|
-
target: e,
|
|
742
|
-
rootEl: n
|
|
743
|
-
}), o && !this.options.dragoverBubble)
|
|
744
|
-
break;
|
|
745
|
-
}
|
|
746
|
-
e = n;
|
|
747
|
-
} while (n = n.parentNode);
|
|
748
|
-
Vt();
|
|
749
|
-
}
|
|
750
|
-
},
|
|
751
|
-
_onTouchMove: function(e) {
|
|
752
|
-
if (be) {
|
|
753
|
-
var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = e.touches ? e.touches[0] : e, a = y && Te(y, !0), l = y && a && a.a, s = y && a && a.d, u = He && X && Pt(X), h = (r.clientX - be.clientX + i.x) / (l || 1) + (u ? u[0] - ct[0] : 0) / (l || 1), d = (r.clientY - be.clientY + i.y) / (s || 1) + (u ? u[1] - ct[1] : 0) / (s || 1);
|
|
754
|
-
if (!v.active && !De) {
|
|
755
|
-
if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
|
|
756
|
-
return;
|
|
757
|
-
this._onDragStart(e, !0);
|
|
758
|
-
}
|
|
759
|
-
if (y) {
|
|
760
|
-
a ? (a.e += h - (st || 0), a.f += d - (ut || 0)) : a = {
|
|
761
|
-
a: 1,
|
|
762
|
-
b: 0,
|
|
763
|
-
c: 0,
|
|
764
|
-
d: 1,
|
|
765
|
-
e: h,
|
|
766
|
-
f: d
|
|
767
|
-
};
|
|
768
|
-
var p = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
|
|
769
|
-
m(y, "webkitTransform", p), m(y, "mozTransform", p), m(y, "msTransform", p), m(y, "transform", p), st = h, ut = d, Z = r;
|
|
770
|
-
}
|
|
771
|
-
e.cancelable && e.preventDefault();
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
_appendGhost: function() {
|
|
775
|
-
if (!y) {
|
|
776
|
-
var e = this.options.fallbackOnBody ? document.body : T, n = P(c, !0, He, !0, e), o = this.options;
|
|
777
|
-
if (He) {
|
|
778
|
-
for (X = e; m(X, "position") === "static" && m(X, "transform") === "none" && X !== document; )
|
|
779
|
-
X = X.parentNode;
|
|
780
|
-
X !== document.body && X !== document.documentElement ? (X === document && (X = ne()), n.top += X.scrollTop, n.left += X.scrollLeft) : X = ne(), ct = Pt(X);
|
|
781
|
-
}
|
|
782
|
-
y = c.cloneNode(!0), G(y, o.ghostClass, !1), G(y, o.fallbackClass, !0), G(y, o.dragClass, !0), m(y, "transition", ""), m(y, "transform", ""), m(y, "box-sizing", "border-box"), m(y, "margin", 0), m(y, "top", n.top), m(y, "left", n.left), m(y, "width", n.width), m(y, "height", n.height), m(y, "opacity", "0.8"), m(y, "position", He ? "absolute" : "fixed"), m(y, "zIndex", "100000"), m(y, "pointerEvents", "none"), v.ghost = y, e.appendChild(y), m(y, "transform-origin", Nt / parseInt(y.style.width) * 100 + "% " + Mt / parseInt(y.style.height) * 100 + "%");
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
_onDragStart: function(e, n) {
|
|
786
|
-
var o = this, i = e.dataTransfer, r = o.options;
|
|
787
|
-
if (H("dragStart", this, {
|
|
788
|
-
evt: e
|
|
789
|
-
}), v.eventCanceled) {
|
|
790
|
-
this._onDrop();
|
|
791
|
-
return;
|
|
792
|
-
}
|
|
793
|
-
H("setupClone", this), v.eventCanceled || (O = Ht(c), O.draggable = !1, O.style["will-change"] = "", this._hideClone(), G(O, this.options.chosenClass, !1), v.clone = O), o.cloneId = Ve(function() {
|
|
794
|
-
H("clone", o), !v.eventCanceled && (o.options.removeCloneOnHide || T.insertBefore(O, c), o._hideClone(), Y({
|
|
795
|
-
sortable: o,
|
|
796
|
-
name: "clone"
|
|
797
|
-
}));
|
|
798
|
-
}), !n && G(c, r.dragClass, !0), n ? (Ke = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (_(document, "mouseup", o._onDrop), _(document, "touchend", o._onDrop), _(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, c)), D(document, "drop", o), m(c, "transform", "translateZ(0)")), De = !0, o._dragStartId = Ve(o._dragStarted.bind(o, n, e)), D(document, "selectstart", o), Ie = !0, Pe && m(document.body, "user-select", "none");
|
|
799
|
-
},
|
|
800
|
-
// Returns true - if no further action is needed (either inserted or another condition)
|
|
801
|
-
_onDragOver: function(e) {
|
|
802
|
-
var n = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = v.active, h = Be === s, d = l.sort, p = M || u, S, w = this, E = !1;
|
|
803
|
-
if (mt) return;
|
|
804
|
-
function N(de, tt) {
|
|
805
|
-
H(de, w, oe({
|
|
806
|
-
evt: e,
|
|
807
|
-
isOwner: h,
|
|
808
|
-
axis: S ? "vertical" : "horizontal",
|
|
809
|
-
revert: a,
|
|
810
|
-
dragRect: i,
|
|
811
|
-
targetRect: r,
|
|
812
|
-
canSort: d,
|
|
813
|
-
fromSortable: p,
|
|
814
|
-
target: o,
|
|
815
|
-
completed: I,
|
|
816
|
-
onMove: function(Oe, nt) {
|
|
817
|
-
return Ge(T, n, c, i, Oe, P(Oe), e, nt);
|
|
818
|
-
},
|
|
819
|
-
changed: L
|
|
820
|
-
}, tt));
|
|
821
|
-
}
|
|
822
|
-
function z() {
|
|
823
|
-
N("dragOverAnimationCapture"), w.captureAnimationState(), w !== p && p.captureAnimationState();
|
|
824
|
-
}
|
|
825
|
-
function I(de) {
|
|
826
|
-
return N("dragOverCompleted", {
|
|
827
|
-
insertion: de
|
|
828
|
-
}), de && (h ? u._hideClone() : u._showClone(w), w !== p && (G(c, M ? M.options.ghostClass : u.options.ghostClass, !1), G(c, l.ghostClass, !0)), M !== w && w !== v.active ? M = w : w === v.active && M && (M = null), p === w && (w._ignoreWhileAnimating = o), w.animateAll(function() {
|
|
829
|
-
N("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
|
|
830
|
-
}), w !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (_e = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[$]._isOutsideThisEl(e.target), !de && ye(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), E = !0;
|
|
831
|
-
}
|
|
832
|
-
function L() {
|
|
833
|
-
W = V(c), he = V(c, l.draggable), Y({
|
|
834
|
-
sortable: w,
|
|
835
|
-
name: "change",
|
|
836
|
-
toEl: n,
|
|
837
|
-
newIndex: W,
|
|
838
|
-
newDraggableIndex: he,
|
|
839
|
-
originalEvent: e
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = te(o, l.draggable, n, !0), N("dragOver"), v.eventCanceled) return E;
|
|
843
|
-
if (c.contains(e.target) || o.animated && o.animatingX && o.animatingY || w._ignoreWhileAnimating === o)
|
|
844
|
-
return I(!1);
|
|
845
|
-
if (Ke = !1, u && !l.disabled && (h ? d || (a = C !== T) : M === this || (this.lastPutMode = Be.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
|
|
846
|
-
if (S = this._getDirection(e, o) === "vertical", i = P(c), N("dragOverValid"), v.eventCanceled) return E;
|
|
847
|
-
if (a)
|
|
848
|
-
return C = T, z(), this._hideClone(), N("revert"), v.eventCanceled || (we ? T.insertBefore(c, we) : T.appendChild(c)), I(!0);
|
|
849
|
-
var k = _t(n, l.draggable);
|
|
850
|
-
if (!k || Cn(e, S, this) && !k.animated) {
|
|
851
|
-
if (k === c)
|
|
852
|
-
return I(!1);
|
|
853
|
-
if (k && n === e.target && (o = k), o && (r = P(o)), Ge(T, n, c, i, o, r, e, !!o) !== !1)
|
|
854
|
-
return z(), n.appendChild(c), C = n, L(), I(!0);
|
|
855
|
-
} else if (k && Tn(e, S, this)) {
|
|
856
|
-
var Q = Ce(n, 0, l, !0);
|
|
857
|
-
if (Q === c)
|
|
858
|
-
return I(!1);
|
|
859
|
-
if (o = Q, r = P(o), Ge(T, n, c, i, o, r, e, !1) !== !1)
|
|
860
|
-
return z(), n.insertBefore(c, Q), C = n, L(), I(!0);
|
|
861
|
-
} else if (o.parentNode === n) {
|
|
862
|
-
r = P(o);
|
|
863
|
-
var B = 0, J, le = c.parentNode !== n, F = !wn(c.animated && c.toRect || i, o.animated && o.toRect || r, S), se = S ? "top" : "left", U = At(o, "top", "top") || At(c, "top", "top"), ue = U ? U.scrollTop : void 0;
|
|
864
|
-
_e !== o && (J = r[se], Xe = !1, je = !F && l.invertSwap || le), B = On(e, o, r, S, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, je, _e === o);
|
|
865
|
-
var q;
|
|
866
|
-
if (B !== 0) {
|
|
867
|
-
var ee = V(c);
|
|
868
|
-
do
|
|
869
|
-
ee -= B, q = C.children[ee];
|
|
870
|
-
while (q && (m(q, "display") === "none" || q === y));
|
|
871
|
-
}
|
|
872
|
-
if (B === 0 || q === o)
|
|
873
|
-
return I(!1);
|
|
874
|
-
_e = o, Fe = B;
|
|
875
|
-
var ce = o.nextElementSibling, K = !1;
|
|
876
|
-
K = B === 1;
|
|
877
|
-
var me = Ge(T, n, c, i, o, r, e, K);
|
|
878
|
-
if (me !== !1)
|
|
879
|
-
return (me === 1 || me === -1) && (K = me === 1), mt = !0, setTimeout(Sn, 30), z(), K && !ce ? n.appendChild(c) : o.parentNode.insertBefore(c, K ? ce : o), U && jt(U, 0, ue - U.scrollTop), C = c.parentNode, J !== void 0 && !je && (ze = Math.abs(J - P(o)[se])), L(), I(!0);
|
|
880
|
-
}
|
|
881
|
-
if (n.contains(c))
|
|
882
|
-
return I(!1);
|
|
883
|
-
}
|
|
884
|
-
return !1;
|
|
885
|
-
},
|
|
886
|
-
_ignoreWhileAnimating: null,
|
|
887
|
-
_offMoveEvents: function() {
|
|
888
|
-
_(document, "mousemove", this._onTouchMove), _(document, "touchmove", this._onTouchMove), _(document, "pointermove", this._onTouchMove), _(document, "dragover", ye), _(document, "mousemove", ye), _(document, "touchmove", ye);
|
|
889
|
-
},
|
|
890
|
-
_offUpEvents: function() {
|
|
891
|
-
var e = this.el.ownerDocument;
|
|
892
|
-
_(e, "mouseup", this._onDrop), _(e, "touchend", this._onDrop), _(e, "pointerup", this._onDrop), _(e, "touchcancel", this._onDrop), _(document, "selectstart", this);
|
|
893
|
-
},
|
|
894
|
-
_onDrop: function(e) {
|
|
895
|
-
var n = this.el, o = this.options;
|
|
896
|
-
if (W = V(c), he = V(c, o.draggable), H("drop", this, {
|
|
897
|
-
evt: e
|
|
898
|
-
}), C = c && c.parentNode, W = V(c), he = V(c, o.draggable), v.eventCanceled) {
|
|
899
|
-
this._nulling();
|
|
900
|
-
return;
|
|
901
|
-
}
|
|
902
|
-
De = !1, je = !1, Xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), vt(this.cloneId), vt(this._dragStartId), this.nativeDraggable && (_(document, "drop", this), _(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Pe && m(document.body, "user-select", ""), m(c, "transform", ""), e && (Ie && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), y && y.parentNode && y.parentNode.removeChild(y), (T === C || M && M.lastPutMode !== "clone") && O && O.parentNode && O.parentNode.removeChild(O), c && (this.nativeDraggable && _(c, "dragend", this), dt(c), c.style["will-change"] = "", Ie && !De && G(c, M ? M.options.ghostClass : this.options.ghostClass, !1), G(c, this.options.chosenClass, !1), Y({
|
|
903
|
-
sortable: this,
|
|
904
|
-
name: "unchoose",
|
|
905
|
-
toEl: C,
|
|
906
|
-
newIndex: null,
|
|
907
|
-
newDraggableIndex: null,
|
|
908
|
-
originalEvent: e
|
|
909
|
-
}), T !== C ? (W >= 0 && (Y({
|
|
910
|
-
rootEl: C,
|
|
911
|
-
name: "add",
|
|
912
|
-
toEl: C,
|
|
913
|
-
fromEl: T,
|
|
914
|
-
originalEvent: e
|
|
915
|
-
}), Y({
|
|
916
|
-
sortable: this,
|
|
917
|
-
name: "remove",
|
|
918
|
-
toEl: C,
|
|
919
|
-
originalEvent: e
|
|
920
|
-
}), Y({
|
|
921
|
-
rootEl: C,
|
|
922
|
-
name: "sort",
|
|
923
|
-
toEl: C,
|
|
924
|
-
fromEl: T,
|
|
925
|
-
originalEvent: e
|
|
926
|
-
}), Y({
|
|
927
|
-
sortable: this,
|
|
928
|
-
name: "sort",
|
|
929
|
-
toEl: C,
|
|
930
|
-
originalEvent: e
|
|
931
|
-
})), M && M.save()) : W !== Se && W >= 0 && (Y({
|
|
932
|
-
sortable: this,
|
|
933
|
-
name: "update",
|
|
934
|
-
toEl: C,
|
|
935
|
-
originalEvent: e
|
|
936
|
-
}), Y({
|
|
937
|
-
sortable: this,
|
|
938
|
-
name: "sort",
|
|
939
|
-
toEl: C,
|
|
940
|
-
originalEvent: e
|
|
941
|
-
})), v.active && ((W == null || W === -1) && (W = Se, he = Me), Y({
|
|
942
|
-
sortable: this,
|
|
943
|
-
name: "end",
|
|
944
|
-
toEl: C,
|
|
945
|
-
originalEvent: e
|
|
946
|
-
}), this.save()))), this._nulling();
|
|
947
|
-
},
|
|
948
|
-
_nulling: function() {
|
|
949
|
-
H("nulling", this), T = c = C = y = we = O = $e = pe = be = Z = Ie = W = he = Se = Me = _e = Fe = M = Be = v.dragged = v.ghost = v.clone = v.active = null, Qe.forEach(function(e) {
|
|
950
|
-
e.checked = !0;
|
|
951
|
-
}), Qe.length = st = ut = 0;
|
|
952
|
-
},
|
|
953
|
-
handleEvent: function(e) {
|
|
954
|
-
switch (e.type) {
|
|
955
|
-
case "drop":
|
|
956
|
-
case "dragend":
|
|
957
|
-
this._onDrop(e);
|
|
958
|
-
break;
|
|
959
|
-
case "dragenter":
|
|
960
|
-
case "dragover":
|
|
961
|
-
c && (this._onDragOver(e), Dn(e));
|
|
962
|
-
break;
|
|
963
|
-
case "selectstart":
|
|
964
|
-
e.preventDefault();
|
|
965
|
-
break;
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
/**
|
|
969
|
-
* Serializes the item into an array of string.
|
|
970
|
-
* @returns {String[]}
|
|
971
|
-
*/
|
|
972
|
-
toArray: function() {
|
|
973
|
-
for (var e = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
|
|
974
|
-
n = o[i], te(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || xn(n));
|
|
975
|
-
return e;
|
|
976
|
-
},
|
|
977
|
-
/**
|
|
978
|
-
* Sorts the elements according to the array.
|
|
979
|
-
* @param {String[]} order order of the items
|
|
980
|
-
*/
|
|
981
|
-
sort: function(e, n) {
|
|
982
|
-
var o = {}, i = this.el;
|
|
983
|
-
this.toArray().forEach(function(r, a) {
|
|
984
|
-
var l = i.children[a];
|
|
985
|
-
te(l, this.options.draggable, i, !1) && (o[r] = l);
|
|
986
|
-
}, this), n && this.captureAnimationState(), e.forEach(function(r) {
|
|
987
|
-
o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
|
|
988
|
-
}), n && this.animateAll();
|
|
989
|
-
},
|
|
990
|
-
/**
|
|
991
|
-
* Save the current sorting
|
|
992
|
-
*/
|
|
993
|
-
save: function() {
|
|
994
|
-
var e = this.options.store;
|
|
995
|
-
e && e.set && e.set(this);
|
|
996
|
-
},
|
|
997
|
-
/**
|
|
998
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
999
|
-
* @param {HTMLElement} el
|
|
1000
|
-
* @param {String} [selector] default: `options.draggable`
|
|
1001
|
-
* @returns {HTMLElement|null}
|
|
1002
|
-
*/
|
|
1003
|
-
closest: function(e, n) {
|
|
1004
|
-
return te(e, n || this.options.draggable, this.el, !1);
|
|
1005
|
-
},
|
|
1006
|
-
/**
|
|
1007
|
-
* Set/get option
|
|
1008
|
-
* @param {string} name
|
|
1009
|
-
* @param {*} [value]
|
|
1010
|
-
* @returns {*}
|
|
1011
|
-
*/
|
|
1012
|
-
option: function(e, n) {
|
|
1013
|
-
var o = this.options;
|
|
1014
|
-
if (n === void 0)
|
|
1015
|
-
return o[e];
|
|
1016
|
-
var i = Re.modifyOption(this, e, n);
|
|
1017
|
-
typeof i < "u" ? o[e] = i : o[e] = n, e === "group" && $t(o);
|
|
1018
|
-
},
|
|
1019
|
-
/**
|
|
1020
|
-
* Destroy
|
|
1021
|
-
*/
|
|
1022
|
-
destroy: function() {
|
|
1023
|
-
H("destroy", this);
|
|
1024
|
-
var e = this.el;
|
|
1025
|
-
e[$] = null, _(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart), _(e, "pointerdown", this._onTapStart), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(n) {
|
|
1026
|
-
n.removeAttribute("draggable");
|
|
1027
|
-
}), this._onDrop(), this._disableDelayedDragEvents(), Ze.splice(Ze.indexOf(this.el), 1), this.el = e = null;
|
|
1028
|
-
},
|
|
1029
|
-
_hideClone: function() {
|
|
1030
|
-
if (!pe) {
|
|
1031
|
-
if (H("hideClone", this), v.eventCanceled) return;
|
|
1032
|
-
m(O, "display", "none"), this.options.removeCloneOnHide && O.parentNode && O.parentNode.removeChild(O), pe = !0;
|
|
1033
|
-
}
|
|
1034
|
-
},
|
|
1035
|
-
_showClone: function(e) {
|
|
1036
|
-
if (e.lastPutMode !== "clone") {
|
|
1037
|
-
this._hideClone();
|
|
1038
|
-
return;
|
|
1039
|
-
}
|
|
1040
|
-
if (pe) {
|
|
1041
|
-
if (H("showClone", this), v.eventCanceled) return;
|
|
1042
|
-
c.parentNode == T && !this.options.group.revertClone ? T.insertBefore(O, c) : we ? T.insertBefore(O, we) : T.appendChild(O), this.options.group.revertClone && this.animate(c, O), m(O, "display", ""), pe = !1;
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
};
|
|
1046
|
-
function Dn(t) {
|
|
1047
|
-
t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
|
|
1048
|
-
}
|
|
1049
|
-
function Ge(t, e, n, o, i, r, a, l) {
|
|
1050
|
-
var s, u = t[$], h = u.options.onMove, d;
|
|
1051
|
-
return window.CustomEvent && !ae && !Le ? s = new CustomEvent("move", {
|
|
1052
|
-
bubbles: !0,
|
|
1053
|
-
cancelable: !0
|
|
1054
|
-
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = n, s.draggedRect = o, s.related = i || e, s.relatedRect = r || P(e), s.willInsertAfter = l, s.originalEvent = a, t.dispatchEvent(s), h && (d = h.call(u, s, a)), d;
|
|
1055
|
-
}
|
|
1056
|
-
function dt(t) {
|
|
1057
|
-
t.draggable = !1;
|
|
1058
|
-
}
|
|
1059
|
-
function Sn() {
|
|
1060
|
-
mt = !1;
|
|
1061
|
-
}
|
|
1062
|
-
function Tn(t, e, n) {
|
|
1063
|
-
var o = P(Ce(n.el, 0, n.options, !0)), i = 10;
|
|
1064
|
-
return e ? t.clientX < o.left - i || t.clientY < o.top && t.clientX < o.right : t.clientY < o.top - i || t.clientY < o.bottom && t.clientX < o.left;
|
|
1065
|
-
}
|
|
1066
|
-
function Cn(t, e, n) {
|
|
1067
|
-
var o = P(_t(n.el, n.options.draggable)), i = 10;
|
|
1068
|
-
return e ? t.clientX > o.right + i || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + i;
|
|
1069
|
-
}
|
|
1070
|
-
function On(t, e, n, o, i, r, a, l) {
|
|
1071
|
-
var s = o ? t.clientY : t.clientX, u = o ? n.height : n.width, h = o ? n.top : n.left, d = o ? n.bottom : n.right, p = !1;
|
|
1072
|
-
if (!a) {
|
|
1073
|
-
if (l && ze < u * i) {
|
|
1074
|
-
if (!Xe && (Fe === 1 ? s > h + u * r / 2 : s < d - u * r / 2) && (Xe = !0), Xe)
|
|
1075
|
-
p = !0;
|
|
1076
|
-
else if (Fe === 1 ? s < h + ze : s > d - ze)
|
|
1077
|
-
return -Fe;
|
|
1078
|
-
} else if (s > h + u * (1 - i) / 2 && s < d - u * (1 - i) / 2)
|
|
1079
|
-
return In(e);
|
|
1080
|
-
}
|
|
1081
|
-
return p = p || a, p && (s < h + u * r / 2 || s > d - u * r / 2) ? s > h + u / 2 ? 1 : -1 : 0;
|
|
1082
|
-
}
|
|
1083
|
-
function In(t) {
|
|
1084
|
-
return V(c) < V(t) ? 1 : -1;
|
|
1085
|
-
}
|
|
1086
|
-
function xn(t) {
|
|
1087
|
-
for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--; )
|
|
1088
|
-
o += e.charCodeAt(n);
|
|
1089
|
-
return o.toString(36);
|
|
1090
|
-
}
|
|
1091
|
-
function An(t) {
|
|
1092
|
-
Qe.length = 0;
|
|
1093
|
-
for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
|
|
1094
|
-
var o = e[n];
|
|
1095
|
-
o.checked && Qe.push(o);
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
function Ve(t) {
|
|
1099
|
-
return setTimeout(t, 0);
|
|
1100
|
-
}
|
|
1101
|
-
function vt(t) {
|
|
1102
|
-
return clearTimeout(t);
|
|
1103
|
-
}
|
|
1104
|
-
et && D(document, "touchmove", function(t) {
|
|
1105
|
-
(v.active || De) && t.cancelable && t.preventDefault();
|
|
1106
|
-
});
|
|
1107
|
-
v.utils = {
|
|
1108
|
-
on: D,
|
|
1109
|
-
off: _,
|
|
1110
|
-
css: m,
|
|
1111
|
-
find: kt,
|
|
1112
|
-
is: function(e, n) {
|
|
1113
|
-
return !!te(e, n, e, !1);
|
|
1114
|
-
},
|
|
1115
|
-
extend: fn,
|
|
1116
|
-
throttle: Bt,
|
|
1117
|
-
closest: te,
|
|
1118
|
-
toggleClass: G,
|
|
1119
|
-
clone: Ht,
|
|
1120
|
-
index: V,
|
|
1121
|
-
nextTick: Ve,
|
|
1122
|
-
cancelNextTick: vt,
|
|
1123
|
-
detectDirection: Wt,
|
|
1124
|
-
getChild: Ce
|
|
1125
|
-
};
|
|
1126
|
-
v.get = function(t) {
|
|
1127
|
-
return t[$];
|
|
1128
|
-
};
|
|
1129
|
-
v.mount = function() {
|
|
1130
|
-
for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
1131
|
-
e[n] = arguments[n];
|
|
1132
|
-
e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
|
|
1133
|
-
if (!o.prototype || !o.prototype.constructor)
|
|
1134
|
-
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
1135
|
-
o.utils && (v.utils = oe(oe({}, v.utils), o.utils)), Re.mount(o);
|
|
1136
|
-
});
|
|
1137
|
-
};
|
|
1138
|
-
v.create = function(t, e) {
|
|
1139
|
-
return new v(t, e);
|
|
1140
|
-
};
|
|
1141
|
-
v.version = sn;
|
|
1142
|
-
var A = [], xe, bt, yt = !1, ft, ht, Je, Ae;
|
|
1143
|
-
function Pn() {
|
|
1144
|
-
function t() {
|
|
1145
|
-
this.defaults = {
|
|
1146
|
-
scroll: !0,
|
|
1147
|
-
forceAutoScrollFallback: !1,
|
|
1148
|
-
scrollSensitivity: 30,
|
|
1149
|
-
scrollSpeed: 10,
|
|
1150
|
-
bubbleScroll: !0
|
|
1151
|
-
};
|
|
1152
|
-
for (var e in this)
|
|
1153
|
-
e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
1154
|
-
}
|
|
1155
|
-
return t.prototype = {
|
|
1156
|
-
dragStarted: function(n) {
|
|
1157
|
-
var o = n.originalEvent;
|
|
1158
|
-
this.sortable.nativeDraggable ? D(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? D(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? D(document, "touchmove", this._handleFallbackAutoScroll) : D(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1159
|
-
},
|
|
1160
|
-
dragOverCompleted: function(n) {
|
|
1161
|
-
var o = n.originalEvent;
|
|
1162
|
-
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
1163
|
-
},
|
|
1164
|
-
drop: function() {
|
|
1165
|
-
this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : (_(document, "pointermove", this._handleFallbackAutoScroll), _(document, "touchmove", this._handleFallbackAutoScroll), _(document, "mousemove", this._handleFallbackAutoScroll)), Xt(), Ue(), hn();
|
|
1166
|
-
},
|
|
1167
|
-
nulling: function() {
|
|
1168
|
-
Je = bt = xe = yt = Ae = ft = ht = null, A.length = 0;
|
|
1169
|
-
},
|
|
1170
|
-
_handleFallbackAutoScroll: function(n) {
|
|
1171
|
-
this._handleAutoScroll(n, !0);
|
|
1172
|
-
},
|
|
1173
|
-
_handleAutoScroll: function(n, o) {
|
|
1174
|
-
var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
|
|
1175
|
-
if (Je = n, o || this.options.forceAutoScrollFallback || Le || ae || Pe) {
|
|
1176
|
-
pt(n, this.options, l, o);
|
|
1177
|
-
var s = ge(l, !0);
|
|
1178
|
-
yt && (!Ae || r !== ft || a !== ht) && (Ae && Xt(), Ae = setInterval(function() {
|
|
1179
|
-
var u = ge(document.elementFromPoint(r, a), !0);
|
|
1180
|
-
u !== s && (s = u, Ue()), pt(n, i.options, u, o);
|
|
1181
|
-
}, 10), ft = r, ht = a);
|
|
1182
|
-
} else {
|
|
1183
|
-
if (!this.options.bubbleScroll || ge(l, !0) === ne()) {
|
|
1184
|
-
Ue();
|
|
1185
|
-
return;
|
|
1186
|
-
}
|
|
1187
|
-
pt(n, this.options, ge(l, !1), !1);
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
}, re(t, {
|
|
1191
|
-
pluginName: "scroll",
|
|
1192
|
-
initializeByDefault: !0
|
|
1193
|
-
});
|
|
1194
|
-
}
|
|
1195
|
-
function Ue() {
|
|
1196
|
-
A.forEach(function(t) {
|
|
1197
|
-
clearInterval(t.pid);
|
|
1198
|
-
}), A = [];
|
|
1199
|
-
}
|
|
1200
|
-
function Xt() {
|
|
1201
|
-
clearInterval(Ae);
|
|
1202
|
-
}
|
|
1203
|
-
var pt = Bt(function(t, e, n, o) {
|
|
1204
|
-
if (e.scroll) {
|
|
1205
|
-
var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = ne(), u = !1, h;
|
|
1206
|
-
bt !== n && (bt = n, Ue(), xe = e.scroll, h = e.scrollFn, xe === !0 && (xe = ge(n, !0)));
|
|
1207
|
-
var d = 0, p = xe;
|
|
1208
|
-
do {
|
|
1209
|
-
var S = p, w = P(S), E = w.top, N = w.bottom, z = w.left, I = w.right, L = w.width, k = w.height, Q = void 0, B = void 0, J = S.scrollWidth, le = S.scrollHeight, F = m(S), se = S.scrollLeft, U = S.scrollTop;
|
|
1210
|
-
S === s ? (Q = L < J && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), B = k < le && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (Q = L < J && (F.overflowX === "auto" || F.overflowX === "scroll"), B = k < le && (F.overflowY === "auto" || F.overflowY === "scroll"));
|
|
1211
|
-
var ue = Q && (Math.abs(I - i) <= a && se + L < J) - (Math.abs(z - i) <= a && !!se), q = B && (Math.abs(N - r) <= a && U + k < le) - (Math.abs(E - r) <= a && !!U);
|
|
1212
|
-
if (!A[d])
|
|
1213
|
-
for (var ee = 0; ee <= d; ee++)
|
|
1214
|
-
A[ee] || (A[ee] = {});
|
|
1215
|
-
(A[d].vx != ue || A[d].vy != q || A[d].el !== S) && (A[d].el = S, A[d].vx = ue, A[d].vy = q, clearInterval(A[d].pid), (ue != 0 || q != 0) && (u = !0, A[d].pid = setInterval((function() {
|
|
1216
|
-
o && this.layer === 0 && v.active._onTouchMove(Je);
|
|
1217
|
-
var ce = A[this.layer].vy ? A[this.layer].vy * l : 0, K = A[this.layer].vx ? A[this.layer].vx * l : 0;
|
|
1218
|
-
typeof h == "function" && h.call(v.dragged.parentNode[$], K, ce, t, Je, A[this.layer].el) !== "continue" || jt(A[this.layer].el, K, ce);
|
|
1219
|
-
}).bind({
|
|
1220
|
-
layer: d
|
|
1221
|
-
}), 24))), d++;
|
|
1222
|
-
} while (e.bubbleScroll && p !== s && (p = ge(p, !1)));
|
|
1223
|
-
yt = u;
|
|
1224
|
-
}
|
|
1225
|
-
}, 30), Ut = function(e) {
|
|
1226
|
-
var n = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
|
|
1227
|
-
if (n) {
|
|
1228
|
-
var u = o || r;
|
|
1229
|
-
l();
|
|
1230
|
-
var h = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, d = document.elementFromPoint(h.clientX, h.clientY);
|
|
1231
|
-
s(), u && !u.el.contains(d) && (a("spill"), this.onSpill({
|
|
1232
|
-
dragEl: i,
|
|
1233
|
-
putSortable: o
|
|
1234
|
-
}));
|
|
1235
|
-
}
|
|
1236
|
-
};
|
|
1237
|
-
function Dt() {
|
|
1238
|
-
}
|
|
1239
|
-
Dt.prototype = {
|
|
1240
|
-
startIndex: null,
|
|
1241
|
-
dragStart: function(e) {
|
|
1242
|
-
var n = e.oldDraggableIndex;
|
|
1243
|
-
this.startIndex = n;
|
|
1244
|
-
},
|
|
1245
|
-
onSpill: function(e) {
|
|
1246
|
-
var n = e.dragEl, o = e.putSortable;
|
|
1247
|
-
this.sortable.captureAnimationState(), o && o.captureAnimationState();
|
|
1248
|
-
var i = Ce(this.sortable.el, this.startIndex, this.options);
|
|
1249
|
-
i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
|
|
1250
|
-
},
|
|
1251
|
-
drop: Ut
|
|
1252
|
-
};
|
|
1253
|
-
re(Dt, {
|
|
1254
|
-
pluginName: "revertOnSpill"
|
|
1255
|
-
});
|
|
1256
|
-
function St() {
|
|
1257
|
-
}
|
|
1258
|
-
St.prototype = {
|
|
1259
|
-
onSpill: function(e) {
|
|
1260
|
-
var n = e.dragEl, o = e.putSortable, i = o || this.sortable;
|
|
1261
|
-
i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
|
|
1262
|
-
},
|
|
1263
|
-
drop: Ut
|
|
1264
|
-
};
|
|
1265
|
-
re(St, {
|
|
1266
|
-
pluginName: "removeOnSpill"
|
|
1267
|
-
});
|
|
1268
|
-
v.mount(new Pn());
|
|
1269
|
-
v.mount(St, Dt);
|
|
1270
|
-
function Nn(t, e) {
|
|
1271
|
-
return Object.values(t).indexOf(e);
|
|
1272
|
-
}
|
|
1273
|
-
function Mn(t, e, n, o) {
|
|
1274
|
-
if (!t)
|
|
1275
|
-
return [];
|
|
1276
|
-
const i = Object.values(t), r = e.length - o;
|
|
1277
|
-
return [...e].map((l, s) => s >= r ? i.length : i.indexOf(l));
|
|
1278
|
-
}
|
|
1279
|
-
function Fn(t) {
|
|
1280
|
-
return ["transition-group", "TransitionGroup"].includes(t);
|
|
1281
|
-
}
|
|
1282
|
-
function Lt(t) {
|
|
1283
|
-
if (!t || t.length !== 1)
|
|
1284
|
-
return !1;
|
|
1285
|
-
const [{ type: e }] = t;
|
|
1286
|
-
return e ? Fn(e.name) : !1;
|
|
1287
|
-
}
|
|
1288
|
-
function Xn(t, e) {
|
|
1289
|
-
return e ? { ...e.props, ...e.attrs } : t;
|
|
1290
|
-
}
|
|
1291
|
-
const wt = ["Start", "Add", "Remove", "Update", "End"], Et = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], Ln = ["Move", ...wt, ...Et].map((t) => "on" + t);
|
|
1292
|
-
let gt = null;
|
|
1293
|
-
const Yn = qt({
|
|
1294
|
-
name: "VueDraggableNext",
|
|
1295
|
-
inheritAttrs: !1,
|
|
1296
|
-
props: {
|
|
1297
|
-
options: Object,
|
|
1298
|
-
list: {
|
|
1299
|
-
type: Array,
|
|
1300
|
-
required: !1,
|
|
1301
|
-
default: null
|
|
1302
|
-
},
|
|
1303
|
-
noTransitionOnDrag: {
|
|
1304
|
-
type: Boolean,
|
|
1305
|
-
default: !1
|
|
1306
|
-
},
|
|
1307
|
-
clone: {
|
|
1308
|
-
type: Function,
|
|
1309
|
-
default: (t) => t
|
|
1310
|
-
},
|
|
1311
|
-
tag: {
|
|
1312
|
-
type: String,
|
|
1313
|
-
default: "div"
|
|
1314
|
-
},
|
|
1315
|
-
move: {
|
|
1316
|
-
type: Function,
|
|
1317
|
-
default: null
|
|
1318
|
-
},
|
|
1319
|
-
componentData: {
|
|
1320
|
-
type: Object,
|
|
1321
|
-
required: !1,
|
|
1322
|
-
default: null
|
|
1323
|
-
},
|
|
1324
|
-
component: {
|
|
1325
|
-
type: String,
|
|
1326
|
-
default: null
|
|
1327
|
-
},
|
|
1328
|
-
modelValue: {
|
|
1329
|
-
type: Array,
|
|
1330
|
-
required: !1,
|
|
1331
|
-
default: null
|
|
1332
|
-
}
|
|
1333
|
-
},
|
|
1334
|
-
emits: [
|
|
1335
|
-
"update:modelValue",
|
|
1336
|
-
"move",
|
|
1337
|
-
"change",
|
|
1338
|
-
...wt.map((t) => t.toLowerCase()),
|
|
1339
|
-
...Et.map((t) => t.toLowerCase())
|
|
1340
|
-
],
|
|
1341
|
-
setup(t, { emit: e, slots: n, attrs: o }) {
|
|
1342
|
-
const i = ve(!1), r = ve(!1), a = ve(0), l = ve(0), s = ve([]), u = ve(null), h = ve(null), d = Kt(() => t.list ? t.list : t.modelValue), p = Zt();
|
|
1343
|
-
function S() {
|
|
1344
|
-
return t.component ? Jt(t.component) : t.tag;
|
|
1345
|
-
}
|
|
1346
|
-
function w(f) {
|
|
1347
|
-
if (h.value)
|
|
1348
|
-
for (const g in f) {
|
|
1349
|
-
const b = Tt(g);
|
|
1350
|
-
Ln.indexOf(b) === -1 && h.value.option(b, f[g]);
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
function E() {
|
|
1354
|
-
var f;
|
|
1355
|
-
return ((f = p == null ? void 0 : p.proxy) == null ? void 0 : f.$el.children) || [];
|
|
1356
|
-
}
|
|
1357
|
-
async function N() {
|
|
1358
|
-
var f;
|
|
1359
|
-
await it(), s.value = Mn(E(), ((f = p == null ? void 0 : p.proxy) == null ? void 0 : f.$el.children) || [], i.value, l.value);
|
|
1360
|
-
}
|
|
1361
|
-
function z(f) {
|
|
1362
|
-
const g = Nn(E() || [], f);
|
|
1363
|
-
if (g === -1)
|
|
1364
|
-
return null;
|
|
1365
|
-
const b = d.value ? d.value[g] : null;
|
|
1366
|
-
return { index: g, element: b };
|
|
1367
|
-
}
|
|
1368
|
-
function I(f) {
|
|
1369
|
-
it(() => e("change", f));
|
|
1370
|
-
}
|
|
1371
|
-
function L(f) {
|
|
1372
|
-
if (t.list) {
|
|
1373
|
-
f(t.list);
|
|
1374
|
-
return;
|
|
1375
|
-
}
|
|
1376
|
-
const g = [...t.modelValue || []];
|
|
1377
|
-
f(g), e("update:modelValue", g);
|
|
1378
|
-
}
|
|
1379
|
-
function k(...f) {
|
|
1380
|
-
L((b) => b.splice(...f));
|
|
1381
|
-
}
|
|
1382
|
-
function Q(f, g) {
|
|
1383
|
-
L((x) => x.splice(g, 0, x.splice(f, 1)[0]));
|
|
1384
|
-
}
|
|
1385
|
-
function B(f) {
|
|
1386
|
-
const g = s.value, b = g.length;
|
|
1387
|
-
return f > b - 1 ? b : g[f];
|
|
1388
|
-
}
|
|
1389
|
-
function J() {
|
|
1390
|
-
var g, b;
|
|
1391
|
-
return n.default && ((b = (g = n.default()[0]) == null ? void 0 : g.component) == null ? void 0 : b.proxy) || null;
|
|
1392
|
-
}
|
|
1393
|
-
function le(f) {
|
|
1394
|
-
if (!t.noTransitionOnDrag || !i.value)
|
|
1395
|
-
return;
|
|
1396
|
-
const g = E();
|
|
1397
|
-
g[f] && (g[f].data = null);
|
|
1398
|
-
const b = J();
|
|
1399
|
-
b && (b.children = [], b.kept = void 0);
|
|
1400
|
-
}
|
|
1401
|
-
function F(f) {
|
|
1402
|
-
N(), u.value = z(f.item), u.value && (f.item._underlying_vm_ = t.clone(u.value.element), gt = f.item);
|
|
1403
|
-
}
|
|
1404
|
-
function se(f) {
|
|
1405
|
-
const g = f.item._underlying_vm_;
|
|
1406
|
-
if (g === void 0)
|
|
1407
|
-
return;
|
|
1408
|
-
rt(f.item);
|
|
1409
|
-
const b = B(f.newIndex);
|
|
1410
|
-
k(b, 0, g), N(), I({ added: { element: g, newIndex: b } });
|
|
1411
|
-
}
|
|
1412
|
-
function U(f) {
|
|
1413
|
-
var b;
|
|
1414
|
-
if (Ct((b = p == null ? void 0 : p.proxy) == null ? void 0 : b.$el, f.item, f.oldIndex), f.pullMode === "clone") {
|
|
1415
|
-
rt(f.clone);
|
|
1416
|
-
return;
|
|
1417
|
-
}
|
|
1418
|
-
if (!u.value)
|
|
1419
|
-
return;
|
|
1420
|
-
const g = u.value.index;
|
|
1421
|
-
k(g, 1), le(g), I({ removed: { element: u.value.element, oldIndex: g } });
|
|
1422
|
-
}
|
|
1423
|
-
function ue(f) {
|
|
1424
|
-
var x, R;
|
|
1425
|
-
rt(f.item), Ct(f.from, f.item, f.oldIndex);
|
|
1426
|
-
const g = (x = u.value) == null ? void 0 : x.index, b = B(f.newIndex);
|
|
1427
|
-
Q(g, b), I({
|
|
1428
|
-
moved: { element: (R = u.value) == null ? void 0 : R.element, oldIndex: g, newIndex: b }
|
|
1429
|
-
});
|
|
1430
|
-
}
|
|
1431
|
-
function q(f, g) {
|
|
1432
|
-
Object.prototype.hasOwnProperty.call(f, g) && (f[g] += a.value);
|
|
1433
|
-
}
|
|
1434
|
-
function ee(f) {
|
|
1435
|
-
return f.__draggable_component__;
|
|
1436
|
-
}
|
|
1437
|
-
function ce({ to: f, related: g }) {
|
|
1438
|
-
const b = ee(f);
|
|
1439
|
-
if (!b)
|
|
1440
|
-
return { component: b };
|
|
1441
|
-
const x = b.realList, R = { list: x, component: b };
|
|
1442
|
-
if (f !== g && x && b.getUnderlyingVm) {
|
|
1443
|
-
const fe = b.getUnderlyingVm(g);
|
|
1444
|
-
if (fe)
|
|
1445
|
-
return Object.assign(fe, R);
|
|
1446
|
-
}
|
|
1447
|
-
return R;
|
|
1448
|
-
}
|
|
1449
|
-
function K(f, g) {
|
|
1450
|
-
const b = [...g.to.children].filter((j) => j.style.display !== "none");
|
|
1451
|
-
if (b.length === 0)
|
|
1452
|
-
return 0;
|
|
1453
|
-
const x = b.indexOf(g.related), R = f.component.getVmIndex(x);
|
|
1454
|
-
return b.indexOf(gt) !== -1 || !g.willInsertAfter ? R : R + 1;
|
|
1455
|
-
}
|
|
1456
|
-
const me = () => {
|
|
1457
|
-
var R, fe;
|
|
1458
|
-
const f = {};
|
|
1459
|
-
wt.forEach((j) => {
|
|
1460
|
-
f["on" + j] = tt(j);
|
|
1461
|
-
}), Et.forEach((j) => {
|
|
1462
|
-
f["on" + j] = de.bind(null, j);
|
|
1463
|
-
});
|
|
1464
|
-
const g = Object.keys(o).reduce((j, ke) => (j[Tt(ke)] = o[ke], j), {}), b = Object.assign({}, g, f, {
|
|
1465
|
-
onMove: (j, ke) => Ye(j, ke)
|
|
1466
|
-
});
|
|
1467
|
-
"draggable" in b || (b.draggable = ">*");
|
|
1468
|
-
const x = ((R = p == null ? void 0 : p.proxy) == null ? void 0 : R.$el.nodeType) === 1 ? p.proxy.$el : ((fe = p == null ? void 0 : p.proxy) == null ? void 0 : fe.$el.parentElement) || null;
|
|
1469
|
-
x && (h.value = new v(x, b), x.__draggable_component__ = p == null ? void 0 : p.proxy, N());
|
|
1470
|
-
};
|
|
1471
|
-
function de(f, g) {
|
|
1472
|
-
it(() => e(f.toLowerCase(), g));
|
|
1473
|
-
}
|
|
1474
|
-
function tt(f) {
|
|
1475
|
-
return (g) => {
|
|
1476
|
-
if (d.value !== null) {
|
|
1477
|
-
const b = "onDrag" + f, x = nt[b];
|
|
1478
|
-
x && x(g);
|
|
1479
|
-
}
|
|
1480
|
-
de(f, g);
|
|
1481
|
-
};
|
|
1482
|
-
}
|
|
1483
|
-
function Ye(f, g) {
|
|
1484
|
-
const b = t.move;
|
|
1485
|
-
if (!b || !d.value)
|
|
1486
|
-
return !0;
|
|
1487
|
-
const x = ce(f), R = u.value, fe = K(x, f);
|
|
1488
|
-
R && Object.assign(R, { futureIndex: fe });
|
|
1489
|
-
const j = Object.assign({}, f, {
|
|
1490
|
-
relatedContext: x,
|
|
1491
|
-
draggedContext: R
|
|
1492
|
-
});
|
|
1493
|
-
return b(j, g);
|
|
1494
|
-
}
|
|
1495
|
-
function Oe() {
|
|
1496
|
-
N(), gt = null;
|
|
1497
|
-
}
|
|
1498
|
-
const nt = {
|
|
1499
|
-
onDragStart: F,
|
|
1500
|
-
onDragAdd: se,
|
|
1501
|
-
onDragRemove: U,
|
|
1502
|
-
onDragUpdate: ue,
|
|
1503
|
-
onDragMove: Ye,
|
|
1504
|
-
onDragEnd: Oe
|
|
1505
|
-
};
|
|
1506
|
-
return Qt(() => {
|
|
1507
|
-
me();
|
|
1508
|
-
}), t.list !== null && t.modelValue !== null && tn.error("list props are mutually exclusive! Please set one."), {
|
|
1509
|
-
getTag: S,
|
|
1510
|
-
realList: d,
|
|
1511
|
-
visibleIndexes: s,
|
|
1512
|
-
noneFunctionalComponentMode: r,
|
|
1513
|
-
headerOffset: a,
|
|
1514
|
-
footerOffset: l,
|
|
1515
|
-
transitionMode: i,
|
|
1516
|
-
computeIndexes: N,
|
|
1517
|
-
updateOptions: w,
|
|
1518
|
-
getChildrenNodes: E,
|
|
1519
|
-
getUnderlyingVm: z,
|
|
1520
|
-
emitChanges: I,
|
|
1521
|
-
alterList: L,
|
|
1522
|
-
spliceList: k,
|
|
1523
|
-
updatePosition: Q,
|
|
1524
|
-
getVmIndex: B,
|
|
1525
|
-
getComponent: J,
|
|
1526
|
-
resetTransitionData: le,
|
|
1527
|
-
onDragStart: F,
|
|
1528
|
-
onDragAdd: se,
|
|
1529
|
-
onDragRemove: U,
|
|
1530
|
-
onDragUpdate: ue,
|
|
1531
|
-
updateProperty: q,
|
|
1532
|
-
onDragMove: Ye,
|
|
1533
|
-
onDragEnd: Oe,
|
|
1534
|
-
mounted: me,
|
|
1535
|
-
context: u,
|
|
1536
|
-
sortableInstance: h,
|
|
1537
|
-
getRelatedContextFromMoveEvent: ce,
|
|
1538
|
-
getTargetedComponent: ee,
|
|
1539
|
-
computeFutureIndex: K
|
|
1540
|
-
// ... other exposed functions as needed
|
|
1541
|
-
};
|
|
1542
|
-
},
|
|
1543
|
-
render() {
|
|
1544
|
-
const t = this.getTag(), e = Xn(this.$attrs, this.componentData);
|
|
1545
|
-
if (typeof t == "string") {
|
|
1546
|
-
const o = this.$slots.default && typeof this.$slots.default == "function" ? this.$slots.default() : null;
|
|
1547
|
-
return o ? (this.transitionMode = Lt(o), ot(t, e, o)) : ot(t, e, []);
|
|
1548
|
-
}
|
|
1549
|
-
const n = this.$slots.default ? { default: this.$slots.default } : {};
|
|
1550
|
-
if (this.$slots.default) {
|
|
1551
|
-
const o = typeof this.$slots.default == "function" ? this.$slots.default() : null;
|
|
1552
|
-
this.transitionMode = Lt(o || []);
|
|
1553
|
-
}
|
|
1554
|
-
return ot(t, e, n);
|
|
1555
|
-
}
|
|
1556
|
-
});
|
|
1557
6
|
export {
|
|
1558
|
-
|
|
7
|
+
f as default
|
|
1559
8
|
};
|