@ikas/core 1.0.10 → 1.0.12
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/core.css +1 -1
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +1 -1
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +1 -1
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +1 -1
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +7 -7
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +1 -1
- package/dist/index141.cjs +6 -1
- package/dist/index141.js +11 -404
- package/dist/index142.cjs +1 -6
- package/dist/index142.js +404 -11
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +6 -111
- package/dist/index144.cjs +3 -1
- package/dist/index144.js +146 -6
- package/dist/index145.cjs +1 -3
- package/dist/index145.js +29 -144
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +141 -28
- package/dist/index147.cjs +15 -1
- package/dist/index147.js +107 -114
- package/dist/index148.cjs +1 -15
- package/dist/index148.js +86 -136
- package/dist/index149.cjs +11 -1
- package/dist/index149.js +147 -86
- package/dist/index150.cjs +1 -11
- package/dist/index150.js +72 -137
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +46 -79
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +21 -47
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +5 -24
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +6 -5
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +44 -6
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +48 -42
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +9 -50
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +19 -9
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +58 -19
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +280 -52
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +17 -284
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +9 -10
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +60 -14
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +102 -53
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +30 -101
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +19 -37
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +162 -19
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +19 -163
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +53 -19
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +27 -51
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +43 -25
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +117 -35
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +63 -115
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +72 -73
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +15 -76
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +28 -14
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +26 -28
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +13 -13
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +171 -27
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +51 -174
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +14 -51
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +2 -27
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +8 -2
- package/dist/index184.cjs +2 -1
- package/dist/index184.js +325 -26
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +48 -30
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +23 -112
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +2 -60
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +24 -56
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +29 -14
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +115 -14
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +60 -2
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +59 -7
- package/dist/index193.cjs +1 -2
- package/dist/index193.js +14 -324
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +16 -48
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +11 -4
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +8 -8
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +5 -8
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +9 -2
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +8 -17
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +2 -13
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +40 -9
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +4 -4
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +5 -40
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +5 -5
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +20 -5
- package/dist/index208.cjs +5 -1
- package/dist/index208.js +2961 -19
- package/dist/index209.cjs +1 -5
- package/dist/index209.js +2 -2962
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +5 -2
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +2 -5
- package/dist/index212.js +2 -2
- package/dist/index213.js +2 -2
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +2 -2
- package/dist/index218.cjs +8 -1
- package/dist/index218.js +76 -2
- package/dist/index219.cjs +3 -3
- package/dist/index219.js +83 -66
- package/dist/index220.cjs +5 -8
- package/dist/index220.js +49 -90
- package/dist/index221.cjs +1 -5
- package/dist/index221.js +7 -51
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +4 -7
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +51 -4
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +25 -51
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +16 -10
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +42 -15
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +13 -3
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +13 -8
- package/dist/index229.cjs +1 -1
- package/dist/index229.js +61 -4
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +15 -5
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +6 -26
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +3 -16
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +28 -41
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +6 -13
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +5 -13
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +6 -60
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +10 -15
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +9 -5
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +15 -3
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +3 -28
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +7 -6
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +4 -5
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +5 -6
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +38 -10
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +2 -39
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +111 -2
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +1 -1
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +1 -1
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +2 -2
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +5 -5
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +4 -12
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +17 -9
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +4 -4
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +4 -26
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +3 -9
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +3 -5
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +13 -4
- package/dist/index261.cjs +1 -1
- package/dist/index261.js +9 -5
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +3 -5
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +10 -9
- package/dist/index264.cjs +1 -1
- package/dist/index264.js +6 -4
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +5 -7
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +6 -5
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +6 -6
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +8 -18
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +5 -4
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +4 -5
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +9 -3
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +13 -3
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +5 -15
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +5 -9
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +17 -3
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +12 -10
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +12 -6
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +4 -6
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +5 -6
- package/dist/index280.cjs +1 -1
- package/dist/index280.js +26 -6
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +10 -8
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +5 -5
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +6 -4
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +5 -13
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +6 -5
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +9 -5
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +4 -17
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +7 -12
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +5 -5
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +6 -4
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +5 -12
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +13 -4
- package/dist/index293.cjs +1 -1
- package/dist/index293.js +4 -5
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +69 -37
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +19 -2
- package/dist/index296.cjs +1 -1
- package/dist/index296.js +35 -2
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +49 -6
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +39 -7
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +91 -3
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +59 -70
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +37 -17
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +2 -35
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +2 -50
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +6 -39
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +7 -91
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +3 -59
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +5 -29
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +15 -9
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +3 -4
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +5 -16
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +6 -6
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +3 -3
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +9 -9
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +5 -5
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +9 -5
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +11 -5
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +4 -4
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +9 -17
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +5 -5
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +5 -15
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +6 -3
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +4 -6
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +17 -6
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +9 -4
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +5 -9
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +5 -3
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +13 -8
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +12 -12
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +14 -9
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +6 -5
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +29 -7
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +8 -13
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +4 -12
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +16 -13
- package/dist/index339.cjs +1 -1
- package/dist/index339.js +3 -38
- package/dist/index340.cjs +1 -1
- package/dist/index340.js +5 -42
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +7 -33
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +8 -26
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +6 -7
- package/dist/index344.cjs +1 -1
- package/dist/index344.js +10 -11
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +5 -6
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +4 -10
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +4 -5
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +5 -4
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +5 -4
- package/dist/index350.cjs +1 -1
- package/dist/index350.js +37 -5
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +43 -3
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +33 -5
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +26 -8
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +11 -7
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +7 -5
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +14 -8
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +3 -4
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +17 -2
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +5 -13
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +10 -3
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +6 -17
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +3 -5
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +6 -10
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +6 -6
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +6 -3
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +4 -7
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +4 -7
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +4 -7
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +3 -3
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +15 -4
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +3 -4
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +8 -4
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +4 -14
- package/dist/index374.cjs +14 -1
- package/dist/index374.js +6857 -8
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +2 -5
- package/dist/index376.cjs +1 -1
- package/dist/index376.js +8 -4
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +4 -10
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +4 -6
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +3 -5
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +10 -4
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +6 -4
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +6 -3
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +4 -6
- package/dist/index384.cjs +1 -1
- package/dist/index384.js +4 -8
- package/dist/index385.cjs +1 -1
- package/dist/index385.js +6 -8
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +8 -16
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +9 -3
- package/dist/index388.cjs +1 -1
- package/dist/index388.js +16 -3
- package/dist/index389.cjs +1 -1
- package/dist/index389.js +3 -6
- package/dist/index390.cjs +1 -1
- package/dist/index390.js +3 -8
- package/dist/index391.cjs +1 -1
- package/dist/index391.js +5 -3
- package/dist/index392.cjs +1 -1
- package/dist/index392.js +7 -15
- package/dist/index393.cjs +1 -14
- package/dist/index393.js +3 -6857
- package/dist/index394.cjs +1 -1
- package/dist/index394.js +16 -2
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +6 -6
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +11 -11
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +9 -9
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +14 -14
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +12 -12
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +8 -8
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +9 -9
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +10 -10
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +14 -14
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +13 -13
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +10 -10
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +11 -11
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +10 -10
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +12 -12
- package/package.json +1 -1
package/dist/index142.js
CHANGED
|
@@ -1,13 +1,406 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as r, jsxs as O } from "react/jsx-runtime";
|
|
2
|
+
import { useState as R, useMemo as m, useCallback as I } from "react";
|
|
3
|
+
import { observer as me } from "mobx-react-lite";
|
|
4
|
+
import { action as h } from "mobx";
|
|
5
|
+
import B from "./index56.js";
|
|
6
|
+
import { RangePicker as ge, Select as x, Button as W, Popover as Ce, NumberInput as ye, TreeSelect as S } from "@ikas/ui";
|
|
7
|
+
import { FilterType as f } from "./index15.js";
|
|
8
|
+
import { DateFilterPickerHelpers as A, DateFilterPickerShortcutEnum as C } from "./index16.js";
|
|
9
|
+
import { FilterStringInput as ve } from "./index338.js";
|
|
10
|
+
import { coreTranslations as T } from "./index5.js";
|
|
11
|
+
import be from "./index66.js";
|
|
12
|
+
import Se from "./index130.js";
|
|
13
|
+
import Te from "./index63.js";
|
|
14
|
+
function z(w) {
|
|
15
|
+
return w.map((o) => ({ label: o.label, value: o.value }));
|
|
16
|
+
}
|
|
17
|
+
function E(w) {
|
|
18
|
+
return w.map((o) => ({
|
|
19
|
+
key: o.value,
|
|
20
|
+
title: o.label,
|
|
21
|
+
value: o.value,
|
|
22
|
+
children: o.children ? E(o.children) : void 0
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
function we(w) {
|
|
26
|
+
var G, U, $, j, F, H;
|
|
27
|
+
const { filterRow: o, originalModel: _, model: l, isLast: X } = w, [q, k] = R(!1), [M, y] = R(!1), [J, Y] = R(""), Q = m(
|
|
28
|
+
() => l.filters.map((e) => ({ label: e.title, value: e.key })),
|
|
29
|
+
[l.filters]
|
|
30
|
+
), t = m(
|
|
31
|
+
() => l.filters.find((e) => {
|
|
32
|
+
var a;
|
|
33
|
+
return e.key === ((a = o.filterValue) == null ? void 0 : a.key);
|
|
34
|
+
}),
|
|
35
|
+
[l.filters, (G = o.filterValue) == null ? void 0 : G.key]
|
|
36
|
+
), i = t == null ? void 0 : t.type, Z = t == null ? void 0 : t.key, v = (U = _.filters.find(
|
|
37
|
+
(e) => {
|
|
38
|
+
var a;
|
|
39
|
+
return e.key === ((a = o.filterValue) == null ? void 0 : a.key);
|
|
40
|
+
}
|
|
41
|
+
)) == null ? void 0 : U.isLoading, b = ($ = _.filters.find(
|
|
42
|
+
(e) => {
|
|
43
|
+
var a;
|
|
44
|
+
return e.key === ((a = o.filterValue) == null ? void 0 : a.key);
|
|
45
|
+
}
|
|
46
|
+
)) == null ? void 0 : $.isDynamicNotFound, s = (t == null ? void 0 : t.options) || [], ee = m(() => {
|
|
47
|
+
const e = l.filterConditionOptions(
|
|
48
|
+
i || f.SELECT,
|
|
49
|
+
t
|
|
50
|
+
);
|
|
51
|
+
return i === f.DATE_RANGE_PICKER ? [e[0]] : e;
|
|
52
|
+
}, [l, i, t]), N = (j = o.filterValue) == null ? void 0 : j.value, te = h((e) => {
|
|
53
|
+
k(!1), y(!1), l.filterTypeValueChange(o, t, e), l.onFilterConditionInputChange(
|
|
54
|
+
o,
|
|
55
|
+
l.filterConditionOptions(
|
|
56
|
+
i || f.SELECT,
|
|
57
|
+
t
|
|
58
|
+
)[0].value,
|
|
59
|
+
i
|
|
60
|
+
);
|
|
61
|
+
}), ae = h((e) => {
|
|
62
|
+
l.onFilterConditionInputChange(o, e, i);
|
|
63
|
+
}), oe = I(() => {
|
|
64
|
+
setTimeout(() => {
|
|
65
|
+
l.deleteFilterRow(o);
|
|
66
|
+
}, 0);
|
|
67
|
+
}, [l, o]), K = h((e) => {
|
|
68
|
+
l.onFilterValueChange(
|
|
69
|
+
Number(e) || 0,
|
|
70
|
+
t,
|
|
71
|
+
o
|
|
72
|
+
);
|
|
73
|
+
}), le = h((e) => {
|
|
74
|
+
var n;
|
|
75
|
+
l.onFilterValueChange(e, t, o);
|
|
76
|
+
const a = l.filters.find(
|
|
77
|
+
(c) => {
|
|
78
|
+
var d;
|
|
79
|
+
return c.key === ((d = o.filterValue) == null ? void 0 : d.key);
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
(n = a == null ? void 0 : a.onChange) == null || n.call(a, e);
|
|
83
|
+
}), L = h((e) => {
|
|
84
|
+
const a = Array.isArray(e) ? e : [e];
|
|
85
|
+
l.onFilterValueChange(a, t, o);
|
|
86
|
+
}), ne = h((e) => {
|
|
87
|
+
const a = Array.isArray(e) ? e : [e];
|
|
88
|
+
l.onFilterValueChange(a, t, o);
|
|
89
|
+
}), re = I(
|
|
90
|
+
h((e) => {
|
|
91
|
+
var a;
|
|
92
|
+
Y(e), (a = t == null ? void 0 : t.onSearch) == null || a.call(t, e);
|
|
93
|
+
}),
|
|
94
|
+
[t]
|
|
95
|
+
), ie = I(
|
|
96
|
+
h(() => {
|
|
97
|
+
var e;
|
|
98
|
+
Y(""), (e = t == null ? void 0 : t.onSearch) == null || e.call(t, "");
|
|
99
|
+
}),
|
|
100
|
+
[t]
|
|
101
|
+
), D = m(() => {
|
|
102
|
+
const e = o.filterValue.value;
|
|
103
|
+
return Array.isArray(e) && e.length === 1 && A.isShortcut(e[0]) ? e[0] : C.PICKER;
|
|
104
|
+
}, [o.filterValue.value]), g = m(
|
|
105
|
+
() => A.getDateValue(o.filterValue.value),
|
|
106
|
+
[o.filterValue.value]
|
|
107
|
+
), P = m(
|
|
108
|
+
() => Object.values(C).map((e) => ({
|
|
109
|
+
label: A.getShortcutLabel(e),
|
|
110
|
+
type: e
|
|
111
|
+
})),
|
|
112
|
+
[]
|
|
113
|
+
), se = m(() => {
|
|
114
|
+
const e = P.find(
|
|
115
|
+
(a) => a.type === D
|
|
116
|
+
);
|
|
117
|
+
if ((e == null ? void 0 : e.type) === C.PICKER && g) {
|
|
118
|
+
const a = g[0].format("DD.MM.YYYY"), n = g[1].format("DD.MM.YYYY");
|
|
119
|
+
return a === n ? a : `${a} - ${n}`;
|
|
120
|
+
}
|
|
121
|
+
return e == null ? void 0 : e.label;
|
|
122
|
+
}, [D, g, P]), ue = h((e) => {
|
|
123
|
+
e === C.PICKER ? y(!0) : (l.onFilterValueChange([e], t, o), y(!1), setTimeout(() => {
|
|
124
|
+
k(!1);
|
|
125
|
+
}, 0));
|
|
126
|
+
}), ce = h((e) => {
|
|
127
|
+
if (!e) return;
|
|
128
|
+
const [a, n] = e;
|
|
129
|
+
l.onFilterValueChange(
|
|
130
|
+
[
|
|
131
|
+
B(a).startOf("day").valueOf().toString(),
|
|
132
|
+
B(n).endOf("day").valueOf().toString()
|
|
133
|
+
],
|
|
134
|
+
t,
|
|
135
|
+
o
|
|
136
|
+
), k(!1);
|
|
137
|
+
}), he = m(() => {
|
|
138
|
+
if (i !== f.SELECT_OPTION_GROUP) return [];
|
|
139
|
+
const e = [];
|
|
140
|
+
return s.forEach((a) => {
|
|
141
|
+
var n;
|
|
142
|
+
e.push({
|
|
143
|
+
label: a.label,
|
|
144
|
+
options: ((n = a.children) == null ? void 0 : n.map((c) => ({ label: c.label, value: c.value }))) || []
|
|
145
|
+
});
|
|
146
|
+
}), e;
|
|
147
|
+
}, [i, s]), fe = m(() => {
|
|
148
|
+
var c;
|
|
149
|
+
if (s.length <= 6) return s;
|
|
150
|
+
const e = (c = o.filterValue) == null ? void 0 : c.value, a = s.filter((d) => e == null ? void 0 : e.includes(d.value)), n = s.filter((d) => !(e != null && e.includes(d.value)));
|
|
151
|
+
return [...a, ...n];
|
|
152
|
+
}, [s, (F = o.filterValue) == null ? void 0 : F.value]), de = /* @__PURE__ */ r(
|
|
153
|
+
"div",
|
|
154
|
+
{
|
|
155
|
+
className: "flex flex-col gap-1",
|
|
156
|
+
style: { width: 190, maxHeight: 300, overflowY: "auto", padding: "6px 6px 0" },
|
|
157
|
+
children: P.map((e) => {
|
|
158
|
+
const a = M ? e.type === C.PICKER : D === e.type;
|
|
159
|
+
return /* @__PURE__ */ O(
|
|
160
|
+
"button",
|
|
161
|
+
{
|
|
162
|
+
type: "button",
|
|
163
|
+
className: `w-full text-left py-2 px-[10px] text-sm leading-5 rounded cursor-pointer transition-all duration-300 border-0 outline-none ${a ? "bg-[var(--gray-blue-1)] text-[var(--gray-blue-9)] font-medium" : "bg-transparent text-[var(--gray-blue-9)] font-normal hover:bg-[var(--gray-blue-1)]"}`,
|
|
164
|
+
onClick: () => ue(e.type),
|
|
165
|
+
children: [
|
|
166
|
+
e.label,
|
|
167
|
+
e.type === C.PICKER && /* @__PURE__ */ r("div", { style: { opacity: 0, height: 0, overflow: "hidden" }, children: /* @__PURE__ */ r(
|
|
168
|
+
ge,
|
|
169
|
+
{
|
|
170
|
+
value: g ? [
|
|
171
|
+
g[0].toDate(),
|
|
172
|
+
g[1].toDate()
|
|
173
|
+
] : null,
|
|
174
|
+
open: M,
|
|
175
|
+
onOpenChange: (n) => {
|
|
176
|
+
setTimeout(() => {
|
|
177
|
+
y(n);
|
|
178
|
+
}, 0);
|
|
179
|
+
},
|
|
180
|
+
onChange: (n) => {
|
|
181
|
+
n && ce([n[0].toDate(), n[1].toDate()]);
|
|
182
|
+
},
|
|
183
|
+
size: "sm",
|
|
184
|
+
allowClear: !1
|
|
185
|
+
}
|
|
186
|
+
) })
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
e.type
|
|
190
|
+
);
|
|
191
|
+
})
|
|
192
|
+
}
|
|
193
|
+
), pe = () => {
|
|
194
|
+
var e, a, n, c, d;
|
|
195
|
+
if (i === f.DATE_RANGE_PICKER)
|
|
196
|
+
return /* @__PURE__ */ r("div", { style: { width: 330 }, children: /* @__PURE__ */ r(
|
|
197
|
+
Ce,
|
|
198
|
+
{
|
|
199
|
+
content: de,
|
|
200
|
+
trigger: "click",
|
|
201
|
+
placement: "bottomLeft",
|
|
202
|
+
showArrow: !1,
|
|
203
|
+
open: q,
|
|
204
|
+
onOpenChange: (u) => {
|
|
205
|
+
u ? D === C.PICKER && y(!0) : y(!1), setTimeout(() => {
|
|
206
|
+
k(u);
|
|
207
|
+
}, 10);
|
|
208
|
+
},
|
|
209
|
+
popoverContentStyle: { padding: 0 },
|
|
210
|
+
children: /* @__PURE__ */ O(
|
|
211
|
+
W,
|
|
212
|
+
{
|
|
213
|
+
block: !0,
|
|
214
|
+
className: "justify-between gap-1.5 px-[11px] text-sm font-medium",
|
|
215
|
+
children: [
|
|
216
|
+
/* @__PURE__ */ O("div", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
217
|
+
/* @__PURE__ */ r(Se, { className: "h-4 w-4 shrink-0 text-gray-blue" }),
|
|
218
|
+
/* @__PURE__ */ r("span", { className: "truncate", children: se })
|
|
219
|
+
] }),
|
|
220
|
+
/* @__PURE__ */ r(Te, { className: "h-4 w-4 flex-shrink-0 text-gray-blue" })
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
)
|
|
224
|
+
}
|
|
225
|
+
) });
|
|
226
|
+
if (i === f.STRING_INPUT)
|
|
227
|
+
return /* @__PURE__ */ r(
|
|
228
|
+
ve,
|
|
229
|
+
{
|
|
230
|
+
filterRow: o,
|
|
231
|
+
model: l,
|
|
232
|
+
onChange: le
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
if (i === f.NUMBER_INPUT)
|
|
236
|
+
return s.length > 0 ? /* @__PURE__ */ r(
|
|
237
|
+
x,
|
|
238
|
+
{
|
|
239
|
+
style: { width: 330 },
|
|
240
|
+
value: N != null ? String(N) : void 0,
|
|
241
|
+
onChange: (u) => K(Number(u)),
|
|
242
|
+
options: z(s),
|
|
243
|
+
placeholder: T.common.placeholder.select,
|
|
244
|
+
showSearch: !0,
|
|
245
|
+
loading: !!v,
|
|
246
|
+
isDynamicNotFound: !!b
|
|
247
|
+
}
|
|
248
|
+
) : /* @__PURE__ */ r(
|
|
249
|
+
ye,
|
|
250
|
+
{
|
|
251
|
+
style: { width: 330 },
|
|
252
|
+
value: Number((e = o.filterValue) == null ? void 0 : e.value) ? Number((a = o.filterValue) == null ? void 0 : a.value) : 0,
|
|
253
|
+
onChange: K
|
|
254
|
+
}
|
|
255
|
+
);
|
|
256
|
+
if (i === f.TREE_SELECT)
|
|
257
|
+
return t != null && t.isCategoryFilter ? /* @__PURE__ */ r(
|
|
258
|
+
S,
|
|
259
|
+
{
|
|
260
|
+
placeholder: T.common.placeholder.select,
|
|
261
|
+
value: (n = o.filterValue) == null ? void 0 : n.value,
|
|
262
|
+
onChange: L,
|
|
263
|
+
treeData: E(s),
|
|
264
|
+
filterTreeNode: t != null && t.onSearch ? () => !0 : void 0,
|
|
265
|
+
treeCheckable: !0,
|
|
266
|
+
showCheckedStrategy: S.SHOW_ALL,
|
|
267
|
+
onSearch: re,
|
|
268
|
+
searchValue: J,
|
|
269
|
+
onOpenChange: (u) => {
|
|
270
|
+
u || ie();
|
|
271
|
+
},
|
|
272
|
+
style: { width: 330 },
|
|
273
|
+
tagClosable: !1,
|
|
274
|
+
maxTagCount: "responsive",
|
|
275
|
+
maxTagTextLength: 10,
|
|
276
|
+
loading: !!v,
|
|
277
|
+
isDynamicNotFound: !!b
|
|
278
|
+
}
|
|
279
|
+
) : /* @__PURE__ */ r(
|
|
280
|
+
S,
|
|
281
|
+
{
|
|
282
|
+
placeholder: T.common.placeholder.select,
|
|
283
|
+
value: (c = o.filterValue) == null ? void 0 : c.value,
|
|
284
|
+
onChange: L,
|
|
285
|
+
treeData: E(s),
|
|
286
|
+
filterTreeNode: t != null && t.onSearch ? () => !0 : void 0,
|
|
287
|
+
treeCheckable: !0,
|
|
288
|
+
showCheckedStrategy: S.SHOW_ALL,
|
|
289
|
+
onSearch: (t == null ? void 0 : t.onSearch) || void 0,
|
|
290
|
+
style: { width: 330 },
|
|
291
|
+
tagClosable: !1,
|
|
292
|
+
maxTagCount: "responsive",
|
|
293
|
+
maxTagTextLength: 10,
|
|
294
|
+
loading: !!v,
|
|
295
|
+
isDynamicNotFound: !!b
|
|
296
|
+
}
|
|
297
|
+
);
|
|
298
|
+
if (i === f.SELECT_OPTION_GROUP) {
|
|
299
|
+
const u = he.flatMap(
|
|
300
|
+
(p) => p.options.map((V) => ({ ...V, label: `${p.label} / ${V.label}` }))
|
|
301
|
+
);
|
|
302
|
+
return /* @__PURE__ */ r(
|
|
303
|
+
x,
|
|
304
|
+
{
|
|
305
|
+
style: { width: 330 },
|
|
306
|
+
mode: "multiple",
|
|
307
|
+
value: N,
|
|
308
|
+
options: u,
|
|
309
|
+
onClear: () => l.onFilterValueChange([], t, o),
|
|
310
|
+
onChange: (p) => l.onFilterValueChange(
|
|
311
|
+
p,
|
|
312
|
+
t,
|
|
313
|
+
o
|
|
314
|
+
),
|
|
315
|
+
allowClear: !0,
|
|
316
|
+
placeholder: T.common.placeholder.select,
|
|
317
|
+
maxTagCount: "responsive",
|
|
318
|
+
showSearch: !0,
|
|
319
|
+
filterOption: (p, V) => V ? String(V.label ?? "").toLowerCase().includes(p.toLowerCase()) : !1,
|
|
320
|
+
loading: !!v,
|
|
321
|
+
isDynamicNotFound: !!b
|
|
322
|
+
}
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
return i === f.MULTISELECT ? /* @__PURE__ */ r(
|
|
326
|
+
S,
|
|
327
|
+
{
|
|
328
|
+
placeholder: T.common.placeholder.select,
|
|
329
|
+
value: (d = o.filterValue) == null ? void 0 : d.value,
|
|
330
|
+
onChange: L,
|
|
331
|
+
treeData: E(fe),
|
|
332
|
+
filterTreeNode: t != null && t.onSearch ? () => !0 : void 0,
|
|
333
|
+
treeCheckable: !0,
|
|
334
|
+
showCheckedStrategy: S.SHOW_ALL,
|
|
335
|
+
onSearch: (t == null ? void 0 : t.onSearch) || void 0,
|
|
336
|
+
style: { width: 330 },
|
|
337
|
+
tagClosable: !1,
|
|
338
|
+
maxTagCount: "responsive",
|
|
339
|
+
maxTagTextLength: 10,
|
|
340
|
+
loading: !!v,
|
|
341
|
+
isDynamicNotFound: !!b
|
|
342
|
+
}
|
|
343
|
+
) : /* @__PURE__ */ r(
|
|
344
|
+
x,
|
|
345
|
+
{
|
|
346
|
+
style: { width: 330 },
|
|
347
|
+
value: N,
|
|
348
|
+
options: z(s),
|
|
349
|
+
onClear: () => l.onFilterValueChange([], t, o),
|
|
350
|
+
onChange: (u) => ne(u),
|
|
351
|
+
allowClear: !0,
|
|
352
|
+
placeholder: T.common.placeholder.select,
|
|
353
|
+
maxTagCount: "responsive",
|
|
354
|
+
showSearch: !0,
|
|
355
|
+
filterOption: (u, p) => p ? String(p.label ?? "").toLowerCase().includes(u.toLowerCase()) : !1,
|
|
356
|
+
loading: !!v,
|
|
357
|
+
isDynamicNotFound: !!b
|
|
358
|
+
}
|
|
359
|
+
);
|
|
360
|
+
};
|
|
361
|
+
return /* @__PURE__ */ O(
|
|
362
|
+
"div",
|
|
363
|
+
{
|
|
364
|
+
className: `flex items-center gap-2 ${X ? "" : "mb-3"}`,
|
|
365
|
+
children: [
|
|
366
|
+
/* @__PURE__ */ r(
|
|
367
|
+
x,
|
|
368
|
+
{
|
|
369
|
+
showSearch: !0,
|
|
370
|
+
filterOption: (e, a) => String((a == null ? void 0 : a.label) ?? "").toLowerCase().includes(e.toLowerCase()),
|
|
371
|
+
style: { width: 162 },
|
|
372
|
+
options: Q,
|
|
373
|
+
value: Z,
|
|
374
|
+
onChange: (e) => te(e)
|
|
375
|
+
}
|
|
376
|
+
),
|
|
377
|
+
/* @__PURE__ */ r(
|
|
378
|
+
x,
|
|
379
|
+
{
|
|
380
|
+
style: { width: 120 },
|
|
381
|
+
options: ee.map((e) => ({
|
|
382
|
+
label: e.label,
|
|
383
|
+
value: e.value
|
|
384
|
+
})),
|
|
385
|
+
value: (H = o.filterValue) == null ? void 0 : H.condition,
|
|
386
|
+
onChange: (e) => ae(e)
|
|
387
|
+
}
|
|
388
|
+
),
|
|
389
|
+
pe(),
|
|
390
|
+
/* @__PURE__ */ r(
|
|
391
|
+
W,
|
|
392
|
+
{
|
|
393
|
+
variant: "text",
|
|
394
|
+
onClick: oe,
|
|
395
|
+
className: "ml-auto w-[70px] h-10 shrink-0 text-gray-blue-4 hover:text-error hover:bg-transparent border-0 p-0",
|
|
396
|
+
icon: /* @__PURE__ */ r(be, { className: "h-3.5 w-3.5" })
|
|
397
|
+
}
|
|
398
|
+
)
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
const Me = me(we);
|
|
11
404
|
export {
|
|
12
|
-
|
|
405
|
+
Me as FilterRow
|
|
13
406
|
};
|
package/dist/index143.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index140.cjs"),t=require("./index186.cjs");var e=t.__require();const o=r.getDefaultExportFromCjs(e);exports.default=o;exports.libExports=e;
|
package/dist/index143.js
CHANGED
|
@@ -1,113 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
width: "74",
|
|
8
|
-
height: "20",
|
|
9
|
-
viewBox: "0 0 74 20",
|
|
10
|
-
fill: "none",
|
|
11
|
-
...h,
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ C(
|
|
14
|
-
"path",
|
|
15
|
-
{
|
|
16
|
-
d: "M73.5504 15.4516C73.5504 16.0053 73.4347 16.5339 73.2006 17.0399C72.9691 17.5485 72.6294 17.9944 72.1816 18.3753C71.7361 18.7585 71.18 19.0667 70.5207 19.2972C69.8588 19.5277 69.1064 19.6429 68.2659 19.6429C67.2493 19.6429 66.288 19.4876 65.3847 19.177C64.6398 18.9214 63.9704 18.5582 63.379 18.0871C63.1677 17.9218 63.1299 17.6187 63.291 17.4057L64.5115 15.7974C64.6801 15.5769 64.9947 15.5368 65.211 15.7071C65.5507 15.9752 65.9307 16.1932 66.351 16.361C66.9297 16.5915 67.4808 16.7067 67.9992 16.7067C68.6057 16.7067 69.041 16.574 69.3002 16.3059C69.5594 16.0404 69.6877 15.7372 69.6877 15.399C69.6877 15.1334 69.5846 14.888 69.3808 14.6649C69.1744 14.442 68.8473 14.2766 68.4018 14.1715L66.8467 13.6904C66.434 13.5827 66.0239 13.4374 65.6111 13.2494C65.201 13.0641 64.826 12.8236 64.4863 12.528C64.1465 12.2349 63.8723 11.8791 63.6685 11.4607C63.4621 11.0424 63.359 10.5488 63.359 9.98015C63.359 9.42893 63.4722 8.91284 63.6937 8.43191C63.9176 7.95088 64.2397 7.52752 64.6599 7.16173C65.0801 6.79839 65.6036 6.5078 66.2302 6.29484C66.8543 6.08198 67.569 5.97419 68.3742 5.97419C69.2323 5.97419 70.0451 6.09197 70.8151 6.32245C71.419 6.50534 71.9978 6.76334 72.5464 7.09907C72.7905 7.24936 72.8559 7.57256 72.6873 7.80558L71.5775 9.34883C71.4266 9.56178 71.1372 9.61436 70.9132 9.47905C70.6439 9.31369 70.3571 9.17847 70.0501 9.07067C69.5946 8.91284 69.1241 8.83275 68.6434 8.83275C68.1603 8.83275 67.7929 8.93791 67.5438 9.15086C67.2921 9.36635 67.1688 9.63189 67.1688 9.95254C67.1688 10.1856 67.2518 10.3935 67.4229 10.5814C67.5916 10.7668 67.8734 10.9046 68.2659 10.9948L69.4462 11.2878C70.9308 11.6962 71.9853 12.2499 72.6118 12.9438C73.2359 13.6378 73.5504 14.4746 73.5504 15.4516",
|
|
17
|
-
fill: "white"
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ C(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
d: "M30.8345 6.7058V18.8863C30.8345 19.157 30.6131 19.3774 30.3413 19.3774H27.5758C27.3015 19.3774 27.0801 19.157 27.0801 18.8863V6.7058C27.0801 6.43518 27.3015 6.21469 27.5758 6.21469H30.3413C30.6131 6.21469 30.8345 6.43518 30.8345 6.7058Z",
|
|
24
|
-
fill: "white"
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ C(
|
|
28
|
-
"path",
|
|
29
|
-
{
|
|
30
|
-
d: "M30.8345 1.09905V3.85481C30.8345 4.12542 30.6131 4.34583 30.3413 4.34583H27.5733C27.3015 4.34583 27.0801 4.12542 27.0801 3.85481V1.09905C27.0801 0.82843 27.3015 0.608028 27.5733 0.608028H30.3413C30.6131 0.608028 30.8345 0.82843 30.8345 1.09905Z",
|
|
31
|
-
fill: "white"
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
/* @__PURE__ */ C(
|
|
35
|
-
"path",
|
|
36
|
-
{
|
|
37
|
-
d: "M46.446 19.3774H42.996C42.7569 19.3774 42.538 19.2497 42.4222 19.0417L40.243 15.1635L37.4573 19.0993C37.334 19.2746 37.1327 19.3774 36.9188 19.3774H34.6188C34.3445 19.3774 34.123 19.157 34.123 18.8863V1.09902C34.123 0.828402 34.3445 0.608 34.6188 0.608H37.3844C37.6587 0.608 37.8776 0.828402 37.8776 1.09902V12.8737L42.0322 6.51283C42.153 6.32748 42.3618 6.2147 42.5833 6.2147H45.9452C46.212 6.2147 46.3679 6.51537 46.212 6.73086L42.4374 12.0646L46.7253 18.8763C46.8637 19.0943 46.7052 19.3774 46.446 19.3774",
|
|
38
|
-
fill: "white"
|
|
39
|
-
}
|
|
40
|
-
),
|
|
41
|
-
/* @__PURE__ */ C(
|
|
42
|
-
"path",
|
|
43
|
-
{
|
|
44
|
-
d: "M56.339 15.2387C55.74 15.8976 54.9675 16.2257 54.0188 16.2257C53.5558 16.2257 53.1255 16.1381 52.7329 15.9602C52.3404 15.7823 52.0007 15.5418 51.7138 15.2387C51.4269 14.9356 51.208 14.5773 51.057 14.1589C50.9035 13.7405 50.828 13.2896 50.828 12.8086V12.7835C50.828 12.3025 50.9035 11.8516 51.057 11.4357C51.208 11.0173 51.4269 10.6565 51.7138 10.3534C52.0007 10.0503 52.3404 9.80979 52.7329 9.63189C53.1255 9.45399 53.5558 9.36635 54.0188 9.36635C54.9675 9.36635 55.74 9.69455 56.339 10.3534C56.9203 10.9922 57.2172 11.8064 57.2373 12.796C57.2172 13.7856 56.9203 14.6023 56.339 15.2387ZM60.4181 6.21466H58.0879C57.8161 6.21466 57.5946 6.43515 57.5946 6.70576V7.91328L57.5872 7.89576C57.0864 7.27443 56.4547 6.7934 55.6948 6.45522C54.9348 6.11703 54.1547 5.94667 53.3495 5.94667C52.509 5.94667 51.7088 6.12203 50.9488 6.46775C50.1888 6.81601 49.5271 7.29195 48.9659 7.89576C48.4022 8.50201 47.9542 9.22351 47.6247 10.0603C47.2925 10.8971 47.1289 11.8039 47.1289 12.7835V12.8086C47.1289 13.7882 47.2925 14.6951 47.6247 15.5318C47.9542 16.3711 48.4022 17.09 48.9659 17.6963C49.5271 18.3001 50.1888 18.7762 50.9488 19.1243C51.7088 19.47 52.509 19.6429 53.3495 19.6429C54.1547 19.6429 54.9348 19.475 55.6948 19.1369C56.4547 18.7987 57.0864 18.3176 57.5872 17.6963L57.5946 17.6788V18.8863C57.5946 19.1569 57.8161 19.3774 58.0879 19.3774H60.4181C60.6899 19.3774 60.9113 19.1569 60.9113 18.8863V6.70576C60.9113 6.43515 60.6899 6.21466 60.4181 6.21466Z",
|
|
45
|
-
fill: "white"
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ C(
|
|
49
|
-
"path",
|
|
50
|
-
{
|
|
51
|
-
d: "M21.1468 8.42684L11.3075 19.5803C11.1415 19.7682 10.8319 19.6505 10.8319 19.4025V12.022H0.720963C0.48694 12.022 0.363637 11.7464 0.51713 11.571L10.3563 0.420003C10.5224 0.232114 10.8319 0.347442 10.8319 0.597902V7.97841H20.9429C21.1744 7.97841 21.3002 8.25148 21.1468 8.42684",
|
|
52
|
-
fill: "#DCFB6E"
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
function a(h) {
|
|
60
|
-
return /* @__PURE__ */ l(
|
|
61
|
-
"svg",
|
|
62
|
-
{
|
|
63
|
-
width: "80",
|
|
64
|
-
height: "32",
|
|
65
|
-
viewBox: "0 0 80 32",
|
|
66
|
-
fill: "none",
|
|
67
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
68
|
-
...h,
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ C("rect", { width: "32", height: "32", rx: "4", fill: "#000" }),
|
|
71
|
-
/* @__PURE__ */ C(
|
|
72
|
-
"path",
|
|
73
|
-
{
|
|
74
|
-
d: "m23.693 14.767-7.58 8.63a.21.21 0 0 1-.365-.138v-5.71H7.959a.21.21 0 0 1-.157-.35l7.58-8.627a.209.209 0 0 1 .366.138v5.71h7.788a.21.21 0 0 1 .157.347",
|
|
75
|
-
fill: "#DCFB6E"
|
|
76
|
-
}
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ C(
|
|
79
|
-
"path",
|
|
80
|
-
{
|
|
81
|
-
d: "M80 20.605q0 .718-.3 1.373-.3.66-.878 1.155-.576.497-1.43.797-.855.3-1.94.299a7.6 7.6 0 0 1-2.48-.403 5.7 5.7 0 0 1-1.727-.942.425.425 0 0 1-.076-.59l1.05-1.39a.425.425 0 0 1 .603-.078q.439.348.981.565.749.3 1.419.3.784 0 1.12-.347.334-.346.333-.784a.93.93 0 0 0-.264-.635q-.267-.29-.843-.427l-1.338-.416a6.5 6.5 0 0 1-1.064-.38 4 4 0 0 1-.968-.625 2.9 2.9 0 0 1-.704-.922q-.266-.543-.266-1.28 0-.715.288-1.34.29-.623.832-1.097a4 4 0 0 1 1.351-.75q.807-.276 1.846-.277 1.107.001 2.1.301.781.236 1.491.672c.21.13.266.409.121.61l-.955 1.335a.426.426 0 0 1-.572.112 4 4 0 0 0-.743-.353 3.7 3.7 0 0 0-1.21-.206q-.625 0-.947.276a.87.87 0 0 0-.323.693q0 .3.219.543.218.24.726.358l1.016.253q1.916.53 2.724 1.432.808.9.808 2.168m-36.768-7.562v10.532c0 .234-.19.424-.425.424h-2.38a.426.426 0 0 1-.427-.424V13.043c0-.234.19-.424.427-.424h2.38c.234 0 .425.19.425.424m0-4.847v2.382c0 .234-.19.425-.425.425h-2.383a.425.425 0 0 1-.424-.425V8.196c0-.234.19-.425.425-.425h2.382c.234 0 .425.19.425.425M56.67 24H53.7a.56.56 0 0 1-.494-.291l-1.876-3.353-2.397 3.403a.56.56 0 0 1-.464.24h-1.98a.426.426 0 0 1-.426-.424V8.195c0-.233.19-.424.426-.424h2.381c.236 0 .425.19.425.425v10.18l3.576-5.5a.57.57 0 0 1 .474-.257h2.894c.23 0 .364.26.23.446l-3.25 4.612 3.691 5.889a.283.283 0 0 1-.24.433m8.515-3.579q-.773.854-1.998.854-.598 0-1.106-.23a2.8 2.8 0 0 1-.878-.623 2.6 2.6 0 0 1-.565-.934 3.4 3.4 0 0 1-.197-1.167v-.022q0-.624.197-1.165.195-.543.565-.936.371-.393.877-.624.51-.23 1.107-.23 1.225 0 1.998.854.748.829.773 2.112c-.018.856-.273 1.562-.773 2.112m3.51-7.801H66.69a.425.425 0 0 0-.425.425v1.043l-.006-.015a4.3 4.3 0 0 0-1.629-1.245 4.92 4.92 0 0 0-4.085.01 5.4 5.4 0 0 0-1.707 1.235 5.9 5.9 0 0 0-1.154 1.872 6.3 6.3 0 0 0-.427 2.354v.022q-.002 1.27.427 2.354a5.9 5.9 0 0 0 1.154 1.872 5.4 5.4 0 0 0 1.707 1.234 4.9 4.9 0 0 0 2.066.449q1.039 0 2.019-.438a4.3 4.3 0 0 0 1.629-1.245l.006-.015v1.044c0 .234.19.424.425.424h2.006c.234 0 .424-.19.424-.424V13.044a.425.425 0 0 0-.424-.425",
|
|
82
|
-
fill: "#000"
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
function e(h) {
|
|
90
|
-
return /* @__PURE__ */ C(
|
|
91
|
-
"svg",
|
|
92
|
-
{
|
|
93
|
-
width: "24",
|
|
94
|
-
height: "24",
|
|
95
|
-
viewBox: "0 0 24 24",
|
|
96
|
-
fill: "none",
|
|
97
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
98
|
-
...h,
|
|
99
|
-
children: /* @__PURE__ */ C(
|
|
100
|
-
"path",
|
|
101
|
-
{
|
|
102
|
-
d: "M22.257 10.3559L12.1518 21.8618C11.9813 22.0556 11.6633 21.9342 11.6633 21.6784V14.0646H1.27909C1.03874 14.0646 0.912105 13.7803 1.06975 13.5994L11.1749 2.09604C11.3455 1.90221 11.6633 2.02119 11.6633 2.27956V9.8933H22.0476C22.2853 9.8933 22.4145 10.175 22.257 10.3559Z",
|
|
103
|
-
fill: "#DCFB6E"
|
|
104
|
-
}
|
|
105
|
-
)
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
}
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index140.js";
|
|
2
|
+
import { __require as t } from "./index186.js";
|
|
3
|
+
var e = t();
|
|
4
|
+
const i = /* @__PURE__ */ r(e);
|
|
109
5
|
export {
|
|
110
|
-
|
|
111
|
-
e as
|
|
112
|
-
t as LogoIkas
|
|
6
|
+
i as default,
|
|
7
|
+
e as l
|
|
113
8
|
};
|
package/dist/index144.cjs
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),f=require("./index143.cjs"),b=require("./index224.cjs"),v=require("./index145.cjs");var g=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}return n},m=(function(){function n(t,o){for(var r=0;r<o.length;r++){var e=o[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}return function(t,o,r){return o&&n(t.prototype,o),r&&n(t,r),t}})();function w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var d=(function(n){y(t,n);function t(){var o,r,e,i;w(this,t);for(var l=arguments.length,u=Array(l),p=0;p<l;p++)u[p]=arguments[p];return i=(r=(e=c(this,(o=t.__proto__||Object.getPrototypeOf(t)).call.apply(o,[this].concat(u))),e),e.handleChange=function(s){var h=b.calculateChange(s,e.props.hsl,e.props.direction,e.props.a,e.container);h&&typeof e.props.onChange=="function"&&e.props.onChange(h,s)},e.handleMouseDown=function(s){e.handleChange(s),window.addEventListener("mousemove",e.handleChange),window.addEventListener("mouseup",e.handleMouseUp)},e.handleMouseUp=function(){e.unbindEventListeners()},e.unbindEventListeners=function(){window.removeEventListener("mousemove",e.handleChange),window.removeEventListener("mouseup",e.handleMouseUp)},r),c(e,i)}return m(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var r=this,e=this.props.rgb,i=f.default({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+`, 0) 0%,
|
|
2
|
+
rgba(`+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:e.a*100+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+`, 0) 0%,
|
|
3
|
+
rgba(`+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:e.a*100+"%"}},overwrite:g({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return a.createElement("div",{style:i.alpha},a.createElement("div",{style:i.checkboard},a.createElement(v.Checkboard,{renderers:this.props.renderers})),a.createElement("div",{style:i.gradient}),a.createElement("div",{style:i.container,ref:function(u){return r.container=u},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.createElement("div",{style:i.pointer},this.props.pointer?a.createElement(this.props.pointer,this.props):a.createElement("div",{style:i.slider}))))}}]),t})(a.PureComponent||a.Component);exports.Alpha=d;exports.default=d;
|