@ikas/core 1.0.4 → 1.0.6
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/index101.cjs +1 -1
- package/dist/index101.js +1 -1
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +3 -3
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +2 -2
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +275 -235
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +2 -83
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +28 -277
- package/dist/index117.js +2 -2
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +239 -30
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +83 -2
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +2 -2
- package/dist/index121.cjs +5 -1
- package/dist/index121.js +2961 -110
- package/dist/index122.cjs +1 -6
- package/dist/index122.js +2 -14
- package/dist/index123.cjs +1 -6
- package/dist/index123.js +5 -13
- package/dist/index124.cjs +1 -6
- package/dist/index124.js +111 -14
- package/dist/index125.cjs +6 -5
- package/dist/index125.js +14 -2962
- package/dist/index126.cjs +6 -1
- package/dist/index126.js +13 -2
- package/dist/index127.cjs +6 -1
- package/dist/index127.js +14 -5
- package/dist/index128.cjs +1 -6
- package/dist/index128.js +4 -27
- package/dist/index129.cjs +2 -2
- package/dist/index129.js +21 -9
- package/dist/index130.cjs +2 -2
- package/dist/index130.js +9 -4
- package/dist/index131.cjs +2 -2
- package/dist/index131.js +3 -6
- package/dist/index132.cjs +2 -2
- package/dist/index132.js +5 -9
- package/dist/index133.cjs +2 -2
- package/dist/index133.js +11 -2
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.cjs +2 -2
- package/dist/index135.js +2 -6
- package/dist/index136.cjs +2 -2
- package/dist/index136.js +6 -34
- package/dist/index137.cjs +2 -2
- package/dist/index137.js +34 -12
- package/dist/index138.cjs +2 -2
- package/dist/index138.js +11 -6
- package/dist/index139.cjs +6 -1
- package/dist/index139.js +13 -6
- package/dist/index140.cjs +1 -3
- package/dist/index140.js +67 -142
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +18 -30
- package/dist/index142.cjs +1 -1
- package/dist/index142.js +33 -142
- package/dist/index143.cjs +1 -15
- package/dist/index143.js +47 -134
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +38 -85
- package/dist/index145.cjs +1 -11
- package/dist/index145.js +87 -143
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +58 -81
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +73 -47
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +3 -23
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +8 -5
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +7 -6
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +6 -44
- package/dist/index152.cjs +3 -1
- package/dist/index152.js +144 -48
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +31 -9
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +144 -19
- package/dist/index155.cjs +15 -1
- package/dist/index155.js +136 -57
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +85 -284
- package/dist/index157.cjs +11 -1
- package/dist/index157.js +147 -18
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +80 -15
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +45 -59
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +20 -109
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +5 -42
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +6 -24
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +41 -164
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +46 -19
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +9 -57
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +19 -33
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +49 -42
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +283 -130
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +15 -77
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +14 -76
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +59 -14
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +106 -26
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +38 -27
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +18 -25
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +142 -150
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +22 -51
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +56 -3
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +33 -8
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +51 -7
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +133 -4
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +77 -67
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +77 -16
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +18 -34
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +30 -47
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +29 -38
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +30 -91
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +173 -58
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +50 -74
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +14 -26
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +2 -2
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +7 -27
- package/dist/index195.cjs +2 -1
- package/dist/index195.js +324 -29
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +47 -113
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +23 -56
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +2 -60
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +25 -14
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +31 -14
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +116 -2
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +59 -7
- package/dist/index203.cjs +1 -2
- package/dist/index203.js +56 -323
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +15 -48
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +1 -1
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +2 -2
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +1 -1
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +5 -83
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +5 -5
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +20 -5
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +83 -20
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +2 -2
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +6 -6
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +2 -2
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +1 -1
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +12 -12
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +2 -2
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +2 -2
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +3 -3
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +7 -7
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +4 -4
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +2 -2
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +2 -2
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +3 -5
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +6 -3
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +6 -5
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +5 -7
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +5 -17
- package/dist/index261.cjs +1 -1
- package/dist/index261.js +4 -4
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +17 -4
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +4 -3
- package/dist/index264.cjs +1 -1
- package/dist/index264.js +4 -3
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +3 -14
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +3 -9
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +14 -3
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +9 -10
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +3 -6
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +10 -5
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +6 -6
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +5 -6
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +7 -8
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +6 -5
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +8 -4
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +5 -9
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +4 -14
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +10 -5
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +13 -5
- package/dist/index280.cjs +1 -1
- package/dist/index280.js +5 -18
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +5 -12
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +17 -5
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +12 -4
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +1 -1
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +2 -2
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +5 -26
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +12 -9
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +4 -5
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +26 -5
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +8 -4
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +5 -5
- package/dist/index293.cjs +1 -1
- package/dist/index293.js +4 -8
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +5 -4
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +5 -7
- package/dist/index296.cjs +1 -1
- package/dist/index296.js +9 -5
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +3 -5
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +7 -5
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +4 -11
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +6 -4
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +2 -39
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +7 -2
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +7 -6
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +3 -7
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +38 -3
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +2 -2
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +6 -9
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +5 -3
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +7 -9
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +9 -6
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +5 -4
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +15 -6
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +3 -4
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +6 -17
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +3 -5
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +9 -5
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +3 -5
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +9 -6
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +11 -14
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +7 -3
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +3 -6
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +9 -3
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +5 -9
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +4 -5
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +6 -9
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +4 -12
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +16 -12
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +14 -12
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +12 -14
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +13 -6
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +6 -6
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +2 -2
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +4 -4
- package/dist/index335.cjs +1 -1
- package/dist/index335.js +1 -1
- package/dist/index339.cjs +1 -1
- package/dist/index339.js +3 -8
- package/dist/index340.cjs +1 -1
- package/dist/index340.js +4 -9
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +11 -5
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +7 -4
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +7 -4
- package/dist/index344.cjs +1 -1
- package/dist/index344.js +10 -5
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +6 -3
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +4 -5
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +4 -7
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +5 -5
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +5 -11
- package/dist/index350.cjs +1 -1
- package/dist/index350.js +7 -37
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +36 -41
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +41 -32
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +33 -25
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +26 -8
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +3 -3
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +2 -17
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +8 -6
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +5 -3
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +17 -10
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +5 -6
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +10 -3
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +6 -6
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +2 -5
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +6 -6
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +7 -4
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +7 -4
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +3 -3
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +4 -4
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +4 -15
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +4 -8
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +14 -4
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +8 -4
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +15 -4
- package/dist/index376.cjs +1 -1
- package/dist/index376.js +4 -10
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +4 -6
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +9 -5
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +6 -4
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +6 -4
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +4 -3
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +4 -8
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +3 -15
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +1 -1
- package/dist/index388.cjs +1 -1
- package/dist/index388.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +3 -3
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +2 -2
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +2 -2
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +2 -2
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +1 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +10 -10
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +13 -13
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +14 -14
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +14 -14
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +15 -15
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +13 -13
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +12 -12
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +11 -11
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +16 -16
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +13 -13
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +13 -13
- 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 +14 -14
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +1 -1
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +1 -1
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +1 -1
- package/package.json +1 -1
package/dist/index146.js
CHANGED
|
@@ -1,85 +1,62 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
w(n, a);
|
|
39
|
-
function n(h) {
|
|
40
|
-
g(this, n);
|
|
41
|
-
var t = _(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this));
|
|
42
|
-
return t.handleChange = function(i, f) {
|
|
43
|
-
var u = v(i);
|
|
44
|
-
if (u) {
|
|
45
|
-
var p = c(i, i.h || t.state.oldHue);
|
|
46
|
-
t.setState(p), t.props.onChangeComplete && t.debounce(t.props.onChangeComplete, p, f), t.props.onChange && t.props.onChange(p, f);
|
|
47
|
-
}
|
|
48
|
-
}, t.handleSwatchHover = function(i, f) {
|
|
49
|
-
var u = v(i);
|
|
50
|
-
if (u) {
|
|
51
|
-
var p = c(i, i.h || t.state.oldHue);
|
|
52
|
-
t.props.onSwatchHover && t.props.onSwatchHover(p, f);
|
|
53
|
-
}
|
|
54
|
-
}, t.state = l({}, c(h.color, 0)), t.debounce = y(function(i, f, u) {
|
|
55
|
-
i(f, u);
|
|
56
|
-
}, 100), t;
|
|
57
|
-
}
|
|
58
|
-
return d(n, [{
|
|
59
|
-
key: "render",
|
|
60
|
-
value: function() {
|
|
61
|
-
var t = {};
|
|
62
|
-
return this.props.onSwatchHover && (t.onSwatchHover = this.handleSwatchHover), m.createElement(e, l({}, this.props, this.state, {
|
|
63
|
-
onChange: this.handleChange
|
|
64
|
-
}, t));
|
|
1
|
+
import { jsxs as C, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u } from "react";
|
|
3
|
+
import { observer as V } from "mobx-react-lite";
|
|
4
|
+
import { DrawerImageSelect as U } from "./index35.js";
|
|
5
|
+
import v from "./index53.js";
|
|
6
|
+
import T from "./index77.js";
|
|
7
|
+
function j(n) {
|
|
8
|
+
var m;
|
|
9
|
+
const { value: s, rowData: r, columnDefinition: e, onValueChange: p } = n, [w, g] = u(!1), I = r && e.getDrawerTitle ? e.getDrawerTitle(r) : void 0, f = r && e.getGalleryImages ? e.getGalleryImages(r) : void 0, b = r && e.disableUpload ? e.disableUpload(r) : void 0, d = r && e.productImages ? e.productImages(r) : void 0, x = d == null ? void 0 : d.map((a) => ({
|
|
10
|
+
imageId: a.id ?? null,
|
|
11
|
+
fileName: a.name ?? null
|
|
12
|
+
})), N = (a) => {
|
|
13
|
+
var l;
|
|
14
|
+
a.stopPropagation(), g(!0), r && ((l = e.onDrawerToggle) == null || l.call(e, r, !0));
|
|
15
|
+
}, h = () => {
|
|
16
|
+
var a;
|
|
17
|
+
g(!1), r && ((a = e.onDrawerToggle) == null || a.call(e, r, !1));
|
|
18
|
+
}, S = e.onImageNameSave ? (a) => {
|
|
19
|
+
var c;
|
|
20
|
+
const l = s == null ? void 0 : s.find((y) => y.id === a.imageId);
|
|
21
|
+
r && l && ((c = e.onImageNameSave) == null || c.call(e, r, l, a.name ?? ""));
|
|
22
|
+
} : void 0, o = s != null && s.length ? s.find((a) => !(a != null && a.isVideo)) : void 0, i = (o == null ? void 0 : o.thumbnailSrc) || (o == null ? void 0 : o.url) || (o == null ? void 0 : o.src);
|
|
23
|
+
return /* @__PURE__ */ C("div", { className: "flex items-center", children: [
|
|
24
|
+
/* @__PURE__ */ t(
|
|
25
|
+
"button",
|
|
26
|
+
{
|
|
27
|
+
type: "button",
|
|
28
|
+
className: "flex-shrink-0 w-9 h-9 flex items-center justify-center rounded border border-solid border-gray-blue-2 bg-gray-blue-0 cursor-pointer overflow-hidden outline-none",
|
|
29
|
+
onClick: N,
|
|
30
|
+
children: i ? /* @__PURE__ */ t(
|
|
31
|
+
"img",
|
|
32
|
+
{
|
|
33
|
+
src: i,
|
|
34
|
+
alt: (o == null ? void 0 : o.name) ?? "",
|
|
35
|
+
className: "w-full h-full object-cover"
|
|
36
|
+
}
|
|
37
|
+
) : s != null && s.length && e.allowVideoUpload ? /* @__PURE__ */ t(v, { className: "h-[18px] w-[18px] text-gray-blue-7" }) : /* @__PURE__ */ t(T, { className: "h-[18px] w-[18px] text-gray-blue-7" })
|
|
65
38
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
39
|
+
),
|
|
40
|
+
r && ((m = e.rightContent) == null ? void 0 : m.call(e, r)),
|
|
41
|
+
/* @__PURE__ */ t(
|
|
42
|
+
U,
|
|
43
|
+
{
|
|
44
|
+
allowVideoUpload: e.allowVideoUpload,
|
|
45
|
+
title: I,
|
|
46
|
+
visible: w,
|
|
47
|
+
images: s,
|
|
48
|
+
galleryImages: f,
|
|
49
|
+
disableUpload: b,
|
|
50
|
+
onChange: (a) => p(a),
|
|
51
|
+
onClose: h,
|
|
52
|
+
onImageNameSave: S,
|
|
53
|
+
imageNameMaxLength: e.imageNameMaxLength,
|
|
54
|
+
productImages: x
|
|
70
55
|
}
|
|
71
|
-
|
|
72
|
-
})
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
h: 250,
|
|
76
|
-
s: 0.5,
|
|
77
|
-
l: 0.2,
|
|
78
|
-
a: 1
|
|
79
|
-
}
|
|
80
|
-
}), r;
|
|
81
|
-
};
|
|
56
|
+
)
|
|
57
|
+
] });
|
|
58
|
+
}
|
|
59
|
+
const q = V(j);
|
|
82
60
|
export {
|
|
83
|
-
|
|
84
|
-
H as default
|
|
61
|
+
q as ImageSelectCell
|
|
85
62
|
};
|
package/dist/index147.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),c=require("react"),v=require("mobx-react-lite"),S=require("@ikas/ui"),p=require("./index5.cjs"),T=require("./index132.cjs"),b=5;function L(o){return o.length>b?`${o.slice(0,b)}...`:o}function j(o){var f;const{filterRow:u,model:i,onChange:d}=o,[r,g]=c.useState(""),s=u.filterValue.value||[],h=c.useMemo(()=>{switch(i.locale){case"tr":return"tr-TR";case"en":return"en-US";case"de":return"de-DE";default:return"tr-TR"}},[i.locale]),a=c.useMemo(()=>i.filters.find(e=>{var t;return e.key===((t=u.filterValue)==null?void 0:t.key)}),[i.filters,(f=u.filterValue)==null?void 0:f.key]),x=c.useMemo(()=>{var m;const e=((m=a==null?void 0:a.options)==null?void 0:m.map(n=>({label:n.label,value:n.value})))??[],t=s.filter(n=>!e.some(w=>w.value===n)).map(n=>({label:L(n),value:n}));return[...e,...t]},[a==null?void 0:a.options,s]),y=e=>{e.key!=="Enter"||!r||(e.preventDefault(),e.stopPropagation(),r.trim()!==""&&!s.find(t=>r===t)&&d([...s,r]),g(""))};return l.jsxs("div",{className:"relative",style:{maxWidth:330,minWidth:330},onKeyDownCapture:y,children:[l.jsx(S.Select,{mode:"tags",maxTagCount:"responsive",value:s,showSearch:!0,searchValue:r,onSearch:g,onChange:e=>{const t=e;t.length<=s.length&&d(t)},options:x,tagClosable:!0,filterOption:(e,t)=>t?String(t.label??"").toLocaleLowerCase(h).includes(e.toLocaleLowerCase(h)):!1,style:{width:"100%"},placeholder:p.coreTranslations.common.actions.enterValue}),!!r.length&&l.jsxs("div",{className:"pointer-events-none absolute right-9 top-1/2 -translate-y-1/2 flex items-center gap-1.5 bg-white",children:[l.jsx(T.default,{className:"h-4 w-4 text-gray-blue-5"}),l.jsx("span",{className:"text-sm leading-5 text-gray-blue-9",children:p.coreTranslations.common.actions.enter})]})]})}const C=v.observer(j);exports.FilterStringInput=C;
|
package/dist/index147.js
CHANGED
|
@@ -1,52 +1,78 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, o, w ? y : {})
|
|
1
|
+
import { jsxs as g, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x, useMemo as m } from "react";
|
|
3
|
+
import { observer as C } from "mobx-react-lite";
|
|
4
|
+
import { Select as S } from "@ikas/ui";
|
|
5
|
+
import { coreTranslations as w } from "./index5.js";
|
|
6
|
+
import T from "./index132.js";
|
|
7
|
+
const y = 5;
|
|
8
|
+
function L(l) {
|
|
9
|
+
return l.length > y ? `${l.slice(0, y)}...` : l;
|
|
10
|
+
}
|
|
11
|
+
function V(l) {
|
|
12
|
+
var d;
|
|
13
|
+
const { filterRow: i, model: s, onChange: p } = l, [n, f] = x(""), o = i.filterValue.value || [], h = m(() => {
|
|
14
|
+
switch (s.locale) {
|
|
15
|
+
case "tr":
|
|
16
|
+
return "tr-TR";
|
|
17
|
+
case "en":
|
|
18
|
+
return "en-US";
|
|
19
|
+
case "de":
|
|
20
|
+
return "de-DE";
|
|
21
|
+
default:
|
|
22
|
+
return "tr-TR";
|
|
24
23
|
}
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
}, [s.locale]), a = m(
|
|
25
|
+
() => s.filters.find((e) => {
|
|
26
|
+
var t;
|
|
27
|
+
return e.key === ((t = i.filterValue) == null ? void 0 : t.key);
|
|
28
|
+
}),
|
|
29
|
+
[s.filters, (d = i.filterValue) == null ? void 0 : d.key]
|
|
30
|
+
), b = m(() => {
|
|
31
|
+
var c;
|
|
32
|
+
const e = ((c = a == null ? void 0 : a.options) == null ? void 0 : c.map((r) => ({
|
|
33
|
+
label: r.label,
|
|
34
|
+
value: r.value
|
|
35
|
+
}))) ?? [], t = o.filter((r) => !e.some((v) => v.value === r)).map((r) => ({ label: L(r), value: r }));
|
|
36
|
+
return [...e, ...t];
|
|
37
|
+
}, [a == null ? void 0 : a.options, o]);
|
|
38
|
+
return /* @__PURE__ */ g(
|
|
33
39
|
"div",
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
{
|
|
41
|
+
className: "relative",
|
|
42
|
+
style: { maxWidth: 330, minWidth: 330 },
|
|
43
|
+
onKeyDownCapture: (e) => {
|
|
44
|
+
e.key !== "Enter" || !n || (e.preventDefault(), e.stopPropagation(), n.trim() !== "" && !o.find((t) => n === t) && p([...o, n]), f(""));
|
|
45
|
+
},
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ u(
|
|
48
|
+
S,
|
|
49
|
+
{
|
|
50
|
+
mode: "tags",
|
|
51
|
+
maxTagCount: "responsive",
|
|
52
|
+
value: o,
|
|
53
|
+
showSearch: !0,
|
|
54
|
+
searchValue: n,
|
|
55
|
+
onSearch: f,
|
|
56
|
+
onChange: (e) => {
|
|
57
|
+
const t = e;
|
|
58
|
+
t.length <= o.length && p(t);
|
|
59
|
+
},
|
|
60
|
+
options: b,
|
|
61
|
+
tagClosable: !0,
|
|
62
|
+
filterOption: (e, t) => t ? String(t.label ?? "").toLocaleLowerCase(h).includes(e.toLocaleLowerCase(h)) : !1,
|
|
63
|
+
style: { width: "100%" },
|
|
64
|
+
placeholder: w.common.actions.enterValue
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
!!n.length && /* @__PURE__ */ g("div", { className: "pointer-events-none absolute right-9 top-1/2 -translate-y-1/2 flex items-center gap-1.5 bg-white", children: [
|
|
68
|
+
/* @__PURE__ */ u(T, { className: "h-4 w-4 text-gray-blue-5" }),
|
|
69
|
+
/* @__PURE__ */ u("span", { className: "text-sm leading-5 text-gray-blue-9", children: w.common.actions.enter })
|
|
70
|
+
] })
|
|
71
|
+
]
|
|
72
|
+
}
|
|
46
73
|
);
|
|
47
|
-
}
|
|
48
|
-
const
|
|
74
|
+
}
|
|
75
|
+
const _ = C(V);
|
|
49
76
|
export {
|
|
50
|
-
|
|
51
|
-
j as default
|
|
77
|
+
_ as FilterStringInput
|
|
52
78
|
};
|
package/dist/index148.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const o=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),t={randomUUID:o};module.exports=t;
|
package/dist/index148.js
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var c = function(r) {
|
|
4
|
-
var t = r.direction, e = i({
|
|
5
|
-
default: {
|
|
6
|
-
picker: {
|
|
7
|
-
width: "18px",
|
|
8
|
-
height: "18px",
|
|
9
|
-
borderRadius: "50%",
|
|
10
|
-
transform: "translate(-9px, -1px)",
|
|
11
|
-
backgroundColor: "rgb(248, 248, 248)",
|
|
12
|
-
boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.37)"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
vertical: {
|
|
16
|
-
picker: {
|
|
17
|
-
transform: "translate(-3px, -9px)"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}, { vertical: t === "vertical" });
|
|
21
|
-
return a.createElement("div", { style: e.picker });
|
|
1
|
+
const o = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), t = {
|
|
2
|
+
randomUUID: o
|
|
22
3
|
};
|
|
23
4
|
export {
|
|
24
|
-
|
|
25
|
-
c as default
|
|
5
|
+
t as default
|
|
26
6
|
};
|
package/dist/index149.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=
|
|
1
|
+
"use strict";let t;const e=new Uint8Array(16);function o(){if(!t&&(t=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!t))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(e)}module.exports=o;
|
package/dist/index149.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
let t;
|
|
2
|
+
const e = new Uint8Array(16);
|
|
3
|
+
function o() {
|
|
4
|
+
if (!t && (t = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !t))
|
|
5
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
6
|
+
return t(e);
|
|
7
|
+
}
|
|
5
8
|
export {
|
|
6
|
-
|
|
9
|
+
o as default
|
|
7
10
|
};
|
package/dist/index150.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=[];for(let i=0;i<256;++i)n.push((i+256).toString(16).slice(1));function c(i,u=0){return n[i[u+0]]+n[i[u+1]]+n[i[u+2]]+n[i[u+3]]+"-"+n[i[u+4]]+n[i[u+5]]+"-"+n[i[u+6]]+n[i[u+7]]+"-"+n[i[u+8]]+n[i[u+9]]+"-"+n[i[u+10]]+n[i[u+11]]+n[i[u+12]]+n[i[u+13]]+n[i[u+14]]+n[i[u+15]]}exports.unsafeStringify=c;
|
package/dist/index150.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const i = [];
|
|
2
|
+
for (let n = 0; n < 256; ++n)
|
|
3
|
+
i.push((n + 256).toString(16).slice(1));
|
|
4
|
+
function c(n, u = 0) {
|
|
5
|
+
return i[n[u + 0]] + i[n[u + 1]] + i[n[u + 2]] + i[n[u + 3]] + "-" + i[n[u + 4]] + i[n[u + 5]] + "-" + i[n[u + 6]] + i[n[u + 7]] + "-" + i[n[u + 8]] + i[n[u + 9]] + "-" + i[n[u + 10]] + i[n[u + 11]] + i[n[u + 12]] + i[n[u + 13]] + i[n[u + 14]] + i[n[u + 15]];
|
|
6
|
+
}
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
c as unsafeStringify
|
|
8
9
|
};
|
package/dist/index151.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index128.cjs"),t=require("./index197.cjs");var e=t.__require();const o=r.getDefaultExportFromCjs(e);exports.default=o;exports.libExports=e;
|
package/dist/index151.js
CHANGED
|
@@ -1,46 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
return l(o, function(t) {
|
|
6
|
-
if (r[t] && (i += 1, isNaN(r[t]) || (n += 1), t === "s" || t === "l")) {
|
|
7
|
-
var a = /^\d+%$/;
|
|
8
|
-
a.test(r[t]) && (n += 1);
|
|
9
|
-
}
|
|
10
|
-
}), i === n ? r : !1;
|
|
11
|
-
}, g = function(r, o) {
|
|
12
|
-
var i = r.hex ? s(r.hex) : s(r), n = i.toHsl(), t = i.toHsv(), a = i.toRgb(), v = i.toHex();
|
|
13
|
-
n.s === 0 && (n.h = o || 0, t.h = o || 0);
|
|
14
|
-
var f = v === "000000" && a.a === 0;
|
|
15
|
-
return {
|
|
16
|
-
hsl: n,
|
|
17
|
-
hex: f ? "transparent" : "#" + v,
|
|
18
|
-
rgb: a,
|
|
19
|
-
hsv: t,
|
|
20
|
-
oldHue: r.h || o || n.h,
|
|
21
|
-
source: r.source
|
|
22
|
-
};
|
|
23
|
-
}, p = function(r) {
|
|
24
|
-
if (r === "transparent")
|
|
25
|
-
return !0;
|
|
26
|
-
var o = String(r).charAt(0) === "#" ? 1 : 0;
|
|
27
|
-
return r.length !== 4 + o && r.length < 7 + o && s(r).isValid();
|
|
28
|
-
}, C = function(r) {
|
|
29
|
-
if (!r)
|
|
30
|
-
return "#fff";
|
|
31
|
-
var o = g(r);
|
|
32
|
-
if (o.hex === "transparent")
|
|
33
|
-
return "rgba(0,0,0,0.4)";
|
|
34
|
-
var i = (o.rgb.r * 299 + o.rgb.g * 587 + o.rgb.b * 114) / 1e3;
|
|
35
|
-
return i >= 128 ? "#000" : "#fff";
|
|
36
|
-
}, b = function(r, o) {
|
|
37
|
-
var i = r.replace("°", "");
|
|
38
|
-
return s(o + " (" + i + ")")._ok;
|
|
39
|
-
};
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index128.js";
|
|
2
|
+
import { __require as t } from "./index197.js";
|
|
3
|
+
var e = t();
|
|
4
|
+
const i = /* @__PURE__ */ r(e);
|
|
40
5
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
b as isvalidColorString,
|
|
44
|
-
u as simpleCheckForValidColor,
|
|
45
|
-
g as toState
|
|
6
|
+
i as default,
|
|
7
|
+
e as l
|
|
46
8
|
};
|
package/dist/index152.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("./index151.cjs"),b=require("./index232.cjs"),v=require("./index153.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;
|