@weng-lab/ui-components 2.0.2 → 2.0.3
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/ui-components.es100.js +13 -110
- package/dist/ui-components.es100.js.map +1 -1
- package/dist/ui-components.es101.js +2 -17
- package/dist/ui-components.es101.js.map +1 -1
- package/dist/ui-components.es102.js +76 -2
- package/dist/ui-components.es102.js.map +1 -1
- package/dist/ui-components.es103.js +93 -3
- package/dist/ui-components.es103.js.map +1 -1
- package/dist/ui-components.es104.js +51 -31
- package/dist/ui-components.es104.js.map +1 -1
- package/dist/ui-components.es105.js +8 -15
- package/dist/ui-components.es105.js.map +1 -1
- package/dist/ui-components.es106.js +4 -57
- package/dist/ui-components.es106.js.map +1 -1
- package/dist/ui-components.es107.js +51 -6
- package/dist/ui-components.es107.js.map +1 -1
- package/dist/ui-components.es108.js +209 -48
- package/dist/ui-components.es108.js.map +1 -1
- package/dist/ui-components.es109.js +8 -18
- package/dist/ui-components.es109.js.map +1 -1
- package/dist/ui-components.es11.js +2 -2
- package/dist/ui-components.es110.js +3 -413
- package/dist/ui-components.es110.js.map +1 -1
- package/dist/ui-components.es111.js +2 -498
- package/dist/ui-components.es111.js.map +1 -1
- package/dist/ui-components.es112.js +8 -344
- package/dist/ui-components.es112.js.map +1 -1
- package/dist/ui-components.es113.js +3 -272
- package/dist/ui-components.es113.js.map +1 -1
- package/dist/ui-components.es114.js +153 -174
- package/dist/ui-components.es114.js.map +1 -1
- package/dist/ui-components.es115.js +56 -278
- package/dist/ui-components.es115.js.map +1 -1
- package/dist/ui-components.es116.js +253 -232
- package/dist/ui-components.es116.js.map +1 -1
- package/dist/ui-components.es117.js +160 -3
- package/dist/ui-components.es117.js.map +1 -1
- package/dist/ui-components.es118.js +74 -21
- package/dist/ui-components.es118.js.map +1 -1
- package/dist/ui-components.es119.js +63 -6
- package/dist/ui-components.es119.js.map +1 -1
- package/dist/ui-components.es120.js +42 -4
- package/dist/ui-components.es120.js.map +1 -1
- package/dist/ui-components.es121.js +4 -6
- package/dist/ui-components.es121.js.map +1 -1
- package/dist/ui-components.es122.js +4 -4
- package/dist/ui-components.es122.js.map +1 -1
- package/dist/ui-components.es123.js +39 -7
- package/dist/ui-components.es123.js.map +1 -1
- package/dist/ui-components.es124.js +24 -27
- package/dist/ui-components.es124.js.map +1 -1
- package/dist/ui-components.es125.js +5 -4
- package/dist/ui-components.es125.js.map +1 -1
- package/dist/ui-components.es126.js +7 -7
- package/dist/ui-components.es126.js.map +1 -1
- package/dist/ui-components.es127.js +28 -6
- package/dist/ui-components.es127.js.map +1 -1
- package/dist/ui-components.es128.js +9 -7
- package/dist/ui-components.es128.js.map +1 -1
- package/dist/ui-components.es129.js +114 -6
- package/dist/ui-components.es129.js.map +1 -1
- package/dist/ui-components.es130.js +12 -7
- package/dist/ui-components.es130.js.map +1 -1
- package/dist/ui-components.es131.js +6 -198
- package/dist/ui-components.es131.js.map +1 -1
- package/dist/ui-components.es132.js +294 -8
- package/dist/ui-components.es132.js.map +1 -1
- package/dist/ui-components.es133.js +94 -4
- package/dist/ui-components.es133.js.map +1 -1
- package/dist/ui-components.es134.js +81 -5
- package/dist/ui-components.es134.js.map +1 -1
- package/dist/ui-components.es135.js +76 -10
- package/dist/ui-components.es135.js.map +1 -1
- package/dist/ui-components.es136.js +16 -7
- package/dist/ui-components.es136.js.map +1 -1
- package/dist/ui-components.es137.js +2 -25
- package/dist/ui-components.es137.js.map +1 -1
- package/dist/ui-components.es138.js +31 -3
- package/dist/ui-components.es138.js.map +1 -1
- package/dist/ui-components.es139.js +14 -160
- package/dist/ui-components.es139.js.map +1 -1
- package/dist/ui-components.es14.js +20 -41
- package/dist/ui-components.es14.js.map +1 -1
- package/dist/ui-components.es140.js +6 -4
- package/dist/ui-components.es140.js.map +1 -1
- package/dist/ui-components.es141.js +5 -20
- package/dist/ui-components.es141.js.map +1 -1
- package/dist/ui-components.es142.js +30 -3
- package/dist/ui-components.es142.js.map +1 -1
- package/dist/ui-components.es143.js +4 -8
- package/dist/ui-components.es143.js.map +1 -1
- package/dist/ui-components.es144.js +7 -4
- package/dist/ui-components.es144.js.map +1 -1
- package/dist/ui-components.es145.js +4 -4
- package/dist/ui-components.es145.js.map +1 -1
- package/dist/ui-components.es146.js +7 -36
- package/dist/ui-components.es146.js.map +1 -1
- package/dist/ui-components.es147.js +6 -336
- package/dist/ui-components.es147.js.map +1 -1
- package/dist/ui-components.es148.js +8 -249
- package/dist/ui-components.es148.js.map +1 -1
- package/dist/ui-components.es149.js +48 -7
- package/dist/ui-components.es149.js.map +1 -1
- package/dist/ui-components.es15.js +125 -6
- package/dist/ui-components.es15.js.map +1 -1
- package/dist/ui-components.es150.js +198 -8
- package/dist/ui-components.es150.js.map +1 -1
- package/dist/ui-components.es151.js +19 -312
- package/dist/ui-components.es151.js.map +1 -1
- package/dist/ui-components.es152.js +280 -7
- package/dist/ui-components.es152.js.map +1 -1
- package/dist/ui-components.es153.js +8 -7
- package/dist/ui-components.es153.js.map +1 -1
- package/dist/ui-components.es154.js +7 -7
- package/dist/ui-components.es154.js.map +1 -1
- package/dist/ui-components.es155.js +6 -7
- package/dist/ui-components.es155.js.map +1 -1
- package/dist/ui-components.es156.js +3 -59
- package/dist/ui-components.es156.js.map +1 -1
- package/dist/ui-components.es157.js +7 -7
- package/dist/ui-components.es157.js.map +1 -1
- package/dist/ui-components.es158.js +4 -8
- package/dist/ui-components.es158.js.map +1 -1
- package/dist/ui-components.es159.js +5 -125
- package/dist/ui-components.es159.js.map +1 -1
- package/dist/ui-components.es16.js +36 -6
- package/dist/ui-components.es16.js.map +1 -1
- package/dist/ui-components.es160.js +11 -4
- package/dist/ui-components.es160.js.map +1 -1
- package/dist/ui-components.es161.js +7 -4
- package/dist/ui-components.es161.js.map +1 -1
- package/dist/ui-components.es162.js +24 -3
- package/dist/ui-components.es162.js.map +1 -1
- package/dist/ui-components.es163.js +155 -96
- package/dist/ui-components.es163.js.map +1 -1
- package/dist/ui-components.es164.js +3 -7
- package/dist/ui-components.es164.js.map +1 -1
- package/dist/ui-components.es165.js +20 -63
- package/dist/ui-components.es165.js.map +1 -1
- package/dist/ui-components.es166.js +7 -173
- package/dist/ui-components.es166.js.map +1 -1
- package/dist/ui-components.es167.js +8 -193
- package/dist/ui-components.es167.js.map +1 -1
- package/dist/ui-components.es168.js +335 -21
- package/dist/ui-components.es168.js.map +1 -1
- package/dist/ui-components.es169.js +14 -6
- package/dist/ui-components.es169.js.map +1 -1
- package/dist/ui-components.es17.js +23 -6
- package/dist/ui-components.es17.js.map +1 -1
- package/dist/ui-components.es170.js +7 -6
- package/dist/ui-components.es170.js.map +1 -1
- package/dist/ui-components.es171.js +4 -8
- package/dist/ui-components.es171.js.map +1 -1
- package/dist/ui-components.es172.js +4 -26
- package/dist/ui-components.es172.js.map +1 -1
- package/dist/ui-components.es173.js +36 -28
- package/dist/ui-components.es173.js.map +1 -1
- package/dist/ui-components.es174.js +249 -12
- package/dist/ui-components.es174.js.map +1 -1
- package/dist/ui-components.es175.js +312 -5
- package/dist/ui-components.es175.js.map +1 -1
- package/dist/ui-components.es176.js +7 -197
- package/dist/ui-components.es176.js.map +1 -1
- package/dist/ui-components.es177.js +7 -189
- package/dist/ui-components.es177.js.map +1 -1
- package/dist/ui-components.es178.js +7 -10
- package/dist/ui-components.es178.js.map +1 -1
- package/dist/ui-components.es179.js +7 -6
- package/dist/ui-components.es179.js.map +1 -1
- package/dist/ui-components.es18.js +254 -6
- package/dist/ui-components.es18.js.map +1 -1
- package/dist/ui-components.es180.js +57 -8
- package/dist/ui-components.es180.js.map +1 -1
- package/dist/ui-components.es181.js +7 -258
- package/dist/ui-components.es181.js.map +1 -1
- package/dist/ui-components.es182.js +6 -159
- package/dist/ui-components.es182.js.map +1 -1
- package/dist/ui-components.es183.js +7 -74
- package/dist/ui-components.es183.js.map +1 -1
- package/dist/ui-components.es184.js +6 -7
- package/dist/ui-components.es184.js.map +1 -1
- package/dist/ui-components.es185.js +6 -63
- package/dist/ui-components.es185.js.map +1 -1
- package/dist/ui-components.es186.js +7 -42
- package/dist/ui-components.es186.js.map +1 -1
- package/dist/ui-components.es187.js +8 -3
- package/dist/ui-components.es187.js.map +1 -1
- package/dist/ui-components.es188.js +25 -7
- package/dist/ui-components.es188.js.map +1 -1
- package/dist/ui-components.es189.js +26 -153
- package/dist/ui-components.es189.js.map +1 -1
- package/dist/ui-components.es19.js +39 -6
- package/dist/ui-components.es19.js.map +1 -1
- package/dist/ui-components.es190.js +11 -4
- package/dist/ui-components.es190.js.map +1 -1
- package/dist/ui-components.es191.js +5 -39
- package/dist/ui-components.es191.js.map +1 -1
- package/dist/ui-components.es192.js +195 -25
- package/dist/ui-components.es192.js.map +1 -1
- package/dist/ui-components.es193.js +189 -8
- package/dist/ui-components.es193.js.map +1 -1
- package/dist/ui-components.es194.js +9 -28
- package/dist/ui-components.es194.js.map +1 -1
- package/dist/ui-components.es195.js +22 -9
- package/dist/ui-components.es195.js.map +1 -1
- package/dist/ui-components.es196.js +3 -115
- package/dist/ui-components.es196.js.map +1 -1
- package/dist/ui-components.es197.js +31 -12
- package/dist/ui-components.es197.js.map +1 -1
- package/dist/ui-components.es198.js +124 -4
- package/dist/ui-components.es198.js.map +1 -1
- package/dist/ui-components.es199.js +5 -294
- package/dist/ui-components.es199.js.map +1 -1
- package/dist/ui-components.es2.js +5 -5
- package/dist/ui-components.es20.js +41 -6
- package/dist/ui-components.es20.js.map +1 -1
- package/dist/ui-components.es200.js +4 -93
- package/dist/ui-components.es200.js.map +1 -1
- package/dist/ui-components.es201.js +3 -81
- package/dist/ui-components.es201.js.map +1 -1
- package/dist/ui-components.es202.js +98 -74
- package/dist/ui-components.es202.js.map +1 -1
- package/dist/ui-components.es203.js +6 -16
- package/dist/ui-components.es203.js.map +1 -1
- package/dist/ui-components.es204.js +64 -2
- package/dist/ui-components.es204.js.map +1 -1
- package/dist/ui-components.es205.js +172 -6
- package/dist/ui-components.es205.js.map +1 -1
- package/dist/ui-components.es206.js +193 -15
- package/dist/ui-components.es206.js.map +1 -1
- package/dist/ui-components.es207.js +7 -2
- package/dist/ui-components.es207.js.map +1 -1
- package/dist/ui-components.es208.js +2 -8
- package/dist/ui-components.es208.js.map +1 -1
- package/dist/ui-components.es209.js +2 -327
- package/dist/ui-components.es209.js.map +1 -1
- package/dist/ui-components.es21.js +5 -5
- package/dist/ui-components.es21.js.map +1 -1
- package/dist/ui-components.es210.js +6 -49
- package/dist/ui-components.es210.js.map +1 -1
- package/dist/ui-components.es211.js +413 -2
- package/dist/ui-components.es211.js.map +1 -1
- package/dist/ui-components.es212.js +498 -4
- package/dist/ui-components.es212.js.map +1 -1
- package/dist/ui-components.es213.js +344 -4
- package/dist/ui-components.es213.js.map +1 -1
- package/dist/ui-components.es214.js +272 -9
- package/dist/ui-components.es214.js.map +1 -1
- package/dist/ui-components.es215.js +177 -12
- package/dist/ui-components.es215.js.map +1 -1
- package/dist/ui-components.es216.js +236 -33
- package/dist/ui-components.es216.js.map +1 -1
- package/dist/ui-components.es217.js +110 -22
- package/dist/ui-components.es217.js.map +1 -1
- package/dist/ui-components.es218.js +15 -10
- package/dist/ui-components.es218.js.map +1 -1
- package/dist/ui-components.es219.js +450 -2
- package/dist/ui-components.es219.js.map +1 -1
- package/dist/ui-components.es22.js +6 -255
- package/dist/ui-components.es22.js.map +1 -1
- package/dist/ui-components.es220.js +3 -3
- package/dist/ui-components.es220.js.map +1 -1
- package/dist/ui-components.es221.js +3 -46
- package/dist/ui-components.es221.js.map +1 -1
- package/dist/ui-components.es222.js +41 -9
- package/dist/ui-components.es222.js.map +1 -1
- package/dist/ui-components.es223.js +8 -2
- package/dist/ui-components.es223.js.map +1 -1
- package/dist/ui-components.es224.js +24 -2
- package/dist/ui-components.es224.js.map +1 -1
- package/dist/ui-components.es225.js +2 -2
- package/dist/ui-components.es226.js +232 -7
- package/dist/ui-components.es226.js.map +1 -1
- package/dist/ui-components.es227.js +2 -7
- package/dist/ui-components.es227.js.map +1 -1
- package/dist/ui-components.es228.js +2 -2
- package/dist/ui-components.es229.js +10 -2
- package/dist/ui-components.es229.js.map +1 -1
- package/dist/ui-components.es23.js +6 -718
- package/dist/ui-components.es23.js.map +1 -1
- package/dist/ui-components.es230.js +2 -4
- package/dist/ui-components.es230.js.map +1 -1
- package/dist/ui-components.es231.js +2 -60
- package/dist/ui-components.es231.js.map +1 -1
- package/dist/ui-components.es232.js +2 -31
- package/dist/ui-components.es232.js.map +1 -1
- package/dist/ui-components.es233.js +2 -118
- package/dist/ui-components.es233.js.map +1 -1
- package/dist/ui-components.es234.js +2 -4
- package/dist/ui-components.es234.js.map +1 -1
- package/dist/ui-components.es235.js +2 -15
- package/dist/ui-components.es235.js.map +1 -1
- package/dist/ui-components.es236.js +2 -39
- package/dist/ui-components.es236.js.map +1 -1
- package/dist/ui-components.es237.js +2 -5
- package/dist/ui-components.es237.js.map +1 -1
- package/dist/ui-components.es238.js +3 -17
- package/dist/ui-components.es238.js.map +1 -1
- package/dist/ui-components.es239.js +7 -9
- package/dist/ui-components.es239.js.map +1 -1
- package/dist/ui-components.es24.js +6 -661
- package/dist/ui-components.es24.js.map +1 -1
- package/dist/ui-components.es240.js +476 -8
- package/dist/ui-components.es240.js.map +1 -1
- package/dist/ui-components.es241.js +167 -8
- package/dist/ui-components.es241.js.map +1 -1
- package/dist/ui-components.es242.js +25 -8
- package/dist/ui-components.es242.js.map +1 -1
- package/dist/ui-components.es243.js +35 -8
- package/dist/ui-components.es243.js.map +1 -1
- package/dist/ui-components.es244.js +7 -8
- package/dist/ui-components.es244.js.map +1 -1
- package/dist/ui-components.es245.js +4 -5
- package/dist/ui-components.es245.js.map +1 -1
- package/dist/ui-components.es246.js +8 -11
- package/dist/ui-components.es246.js.map +1 -1
- package/dist/ui-components.es247.js +3 -42
- package/dist/ui-components.es247.js.map +1 -1
- package/dist/ui-components.es248.js +3 -2
- package/dist/ui-components.es248.js.map +1 -1
- package/dist/ui-components.es249.js +7 -75
- package/dist/ui-components.es249.js.map +1 -1
- package/dist/ui-components.es25.js +6 -11
- package/dist/ui-components.es25.js.map +1 -1
- package/dist/ui-components.es250.js +7 -92
- package/dist/ui-components.es250.js.map +1 -1
- package/dist/ui-components.es251.js +61 -48
- package/dist/ui-components.es251.js.map +1 -1
- package/dist/ui-components.es252.js +7 -7
- package/dist/ui-components.es252.js.map +1 -1
- package/dist/ui-components.es253.js +46 -4
- package/dist/ui-components.es253.js.map +1 -1
- package/dist/ui-components.es254.js +39 -50
- package/dist/ui-components.es254.js.map +1 -1
- package/dist/ui-components.es255.js +61 -3
- package/dist/ui-components.es255.js.map +1 -1
- package/dist/ui-components.es256.js +76 -7
- package/dist/ui-components.es256.js.map +1 -1
- package/dist/ui-components.es257.js +22 -474
- package/dist/ui-components.es257.js.map +1 -1
- package/dist/ui-components.es258.js +40 -164
- package/dist/ui-components.es258.js.map +1 -1
- package/dist/ui-components.es259.js +38 -23
- package/dist/ui-components.es259.js.map +1 -1
- package/dist/ui-components.es26.js +6 -75
- package/dist/ui-components.es26.js.map +1 -1
- package/dist/ui-components.es260.js +30 -34
- package/dist/ui-components.es260.js.map +1 -1
- package/dist/ui-components.es261.js +117 -7
- package/dist/ui-components.es261.js.map +1 -1
- package/dist/ui-components.es262.js +59 -7
- package/dist/ui-components.es262.js.map +1 -1
- package/dist/ui-components.es263.js +4 -8
- package/dist/ui-components.es263.js.map +1 -1
- package/dist/ui-components.es264.js +15 -4
- package/dist/ui-components.es264.js.map +1 -1
- package/dist/ui-components.es265.js +38 -7
- package/dist/ui-components.es265.js.map +1 -1
- package/dist/ui-components.es266.js +5 -3
- package/dist/ui-components.es266.js.map +1 -1
- package/dist/ui-components.es267.js +17 -3
- package/dist/ui-components.es267.js.map +1 -1
- package/dist/ui-components.es268.js +9 -232
- package/dist/ui-components.es268.js.map +1 -1
- package/dist/ui-components.es269.js +8 -2
- package/dist/ui-components.es269.js.map +1 -1
- package/dist/ui-components.es27.js +6 -113
- package/dist/ui-components.es27.js.map +1 -1
- package/dist/ui-components.es270.js +8 -2
- package/dist/ui-components.es270.js.map +1 -1
- package/dist/ui-components.es271.js +8 -10
- package/dist/ui-components.es271.js.map +1 -1
- package/dist/ui-components.es272.js +8 -2
- package/dist/ui-components.es272.js.map +1 -1
- package/dist/ui-components.es273.js +9 -2
- package/dist/ui-components.es273.js.map +1 -1
- package/dist/ui-components.es274.js +4 -146
- package/dist/ui-components.es274.js.map +1 -1
- package/dist/ui-components.es275.js +11 -11
- package/dist/ui-components.es275.js.map +1 -1
- package/dist/ui-components.es276.js +42 -3
- package/dist/ui-components.es276.js.map +1 -1
- package/dist/ui-components.es277.js +3 -15
- package/dist/ui-components.es277.js.map +1 -1
- package/dist/ui-components.es278.js +46 -19
- package/dist/ui-components.es278.js.map +1 -1
- package/dist/ui-components.es279.js +9 -29
- package/dist/ui-components.es279.js.map +1 -1
- package/dist/ui-components.es28.js +179 -165
- package/dist/ui-components.es28.js.map +1 -1
- package/dist/ui-components.es280.js +6 -11
- package/dist/ui-components.es280.js.map +1 -1
- package/dist/ui-components.es281.js +6 -11
- package/dist/ui-components.es281.js.map +1 -1
- package/dist/ui-components.es282.js +8 -149
- package/dist/ui-components.es282.js.map +1 -1
- package/dist/ui-components.es283.js +3 -11
- package/dist/ui-components.es283.js.map +1 -1
- package/dist/ui-components.es284.js +3 -6
- package/dist/ui-components.es284.js.map +1 -1
- package/dist/ui-components.es285.js +11 -170
- package/dist/ui-components.es285.js.map +1 -1
- package/dist/ui-components.es286.js +7 -7
- package/dist/ui-components.es286.js.map +1 -1
- package/dist/ui-components.es287.js +2 -8
- package/dist/ui-components.es287.js.map +1 -1
- package/dist/ui-components.es288.js +74 -6
- package/dist/ui-components.es288.js.map +1 -1
- package/dist/ui-components.es289.js +73 -504
- package/dist/ui-components.es289.js.map +1 -1
- package/dist/ui-components.es29.js +659 -137
- package/dist/ui-components.es29.js.map +1 -1
- package/dist/ui-components.es290.js +3 -7
- package/dist/ui-components.es290.js.map +1 -1
- package/dist/ui-components.es291.js +8 -234
- package/dist/ui-components.es291.js.map +1 -1
- package/dist/ui-components.es292.js +19 -7
- package/dist/ui-components.es292.js.map +1 -1
- package/dist/ui-components.es293.js +51 -7
- package/dist/ui-components.es293.js.map +1 -1
- package/dist/ui-components.es294.js +7 -7
- package/dist/ui-components.es294.js.map +1 -1
- package/dist/ui-components.es295.js +20 -6
- package/dist/ui-components.es295.js.map +1 -1
- package/dist/ui-components.es296.js +5 -7
- package/dist/ui-components.es296.js.map +1 -1
- package/dist/ui-components.es297.js +3 -7
- package/dist/ui-components.es297.js.map +1 -1
- package/dist/ui-components.es298.js +26 -243
- package/dist/ui-components.es298.js.map +1 -1
- package/dist/ui-components.es299.js +12 -7
- package/dist/ui-components.es299.js.map +1 -1
- package/dist/ui-components.es3.js +29 -29
- package/dist/ui-components.es30.js +635 -49
- package/dist/ui-components.es30.js.map +1 -1
- package/dist/ui-components.es300.js +14 -47
- package/dist/ui-components.es300.js.map +1 -1
- package/dist/ui-components.es301.js +10 -3
- package/dist/ui-components.es301.js.map +1 -1
- package/dist/ui-components.es302.js +9 -6
- package/dist/ui-components.es302.js.map +1 -1
- package/dist/ui-components.es303.js +146 -6
- package/dist/ui-components.es303.js.map +1 -1
- package/dist/ui-components.es304.js +10 -5
- package/dist/ui-components.es304.js.map +1 -1
- package/dist/ui-components.es305.js +19 -4
- package/dist/ui-components.es305.js.map +1 -1
- package/dist/ui-components.es306.js +505 -6
- package/dist/ui-components.es306.js.map +1 -1
- package/dist/ui-components.es307.js +7 -169
- package/dist/ui-components.es307.js.map +1 -1
- package/dist/ui-components.es308.js +232 -13
- package/dist/ui-components.es308.js.map +1 -1
- package/dist/ui-components.es309.js +7 -333
- package/dist/ui-components.es309.js.map +1 -1
- package/dist/ui-components.es31.js +10 -460
- package/dist/ui-components.es31.js.map +1 -1
- package/dist/ui-components.es310.js +7 -322
- package/dist/ui-components.es310.js.map +1 -1
- package/dist/ui-components.es311.js +7 -7
- package/dist/ui-components.es311.js.map +1 -1
- package/dist/ui-components.es312.js +7 -43
- package/dist/ui-components.es312.js.map +1 -1
- package/dist/ui-components.es313.js +7 -3
- package/dist/ui-components.es313.js.map +1 -1
- package/dist/ui-components.es314.js +6 -7
- package/dist/ui-components.es314.js.map +1 -1
- package/dist/ui-components.es315.js +242 -40
- package/dist/ui-components.es315.js.map +1 -1
- package/dist/ui-components.es316.js +7 -64
- package/dist/ui-components.es316.js.map +1 -1
- package/dist/ui-components.es317.js +46 -37
- package/dist/ui-components.es317.js.map +1 -1
- package/dist/ui-components.es318.js +3 -21
- package/dist/ui-components.es318.js.map +1 -1
- package/dist/ui-components.es319.js +6 -19
- package/dist/ui-components.es319.js.map +1 -1
- package/dist/ui-components.es32.js +49 -616
- package/dist/ui-components.es32.js.map +1 -1
- package/dist/ui-components.es320.js +7 -51
- package/dist/ui-components.es320.js.map +1 -1
- package/dist/ui-components.es321.js +5 -5
- package/dist/ui-components.es321.js.map +1 -1
- package/dist/ui-components.es322.js +5 -46
- package/dist/ui-components.es322.js.map +1 -1
- package/dist/ui-components.es323.js +14 -7
- package/dist/ui-components.es323.js.map +1 -1
- package/dist/ui-components.es324.js +333 -23
- package/dist/ui-components.es324.js.map +1 -1
- package/dist/ui-components.es325.js +318 -72
- package/dist/ui-components.es325.js.map +1 -1
- package/dist/ui-components.es326.js +6 -60
- package/dist/ui-components.es326.js.map +1 -1
- package/dist/ui-components.es327.js +3 -4
- package/dist/ui-components.es327.js.map +1 -1
- package/dist/ui-components.es328.js +6 -25
- package/dist/ui-components.es328.js.map +1 -1
- package/dist/ui-components.es329.js +168 -12
- package/dist/ui-components.es329.js.map +1 -1
- package/dist/ui-components.es33.js +69 -252
- package/dist/ui-components.es33.js.map +1 -1
- package/dist/ui-components.es330.js +2 -10
- package/dist/ui-components.es330.js.map +1 -1
- package/dist/ui-components.es331.js +2 -10
- package/dist/ui-components.es331.js.map +1 -1
- package/dist/ui-components.es332.js +12 -2
- package/dist/ui-components.es332.js.map +1 -1
- package/dist/ui-components.es333.js +150 -2
- package/dist/ui-components.es333.js.map +1 -1
- package/dist/ui-components.es334.js +11 -7
- package/dist/ui-components.es334.js.map +1 -1
- package/dist/ui-components.es335.js +12 -2
- package/dist/ui-components.es335.js.map +1 -1
- package/dist/ui-components.es336.js +7 -74
- package/dist/ui-components.es336.js.map +1 -1
- package/dist/ui-components.es337.js +6 -74
- package/dist/ui-components.es337.js.map +1 -1
- package/dist/ui-components.es338.js +171 -4
- package/dist/ui-components.es338.js.map +1 -1
- package/dist/ui-components.es339.js +7 -7
- package/dist/ui-components.es339.js.map +1 -1
- package/dist/ui-components.es34.js +189 -69
- package/dist/ui-components.es34.js.map +1 -1
- package/dist/ui-components.es340.js +6 -8
- package/dist/ui-components.es340.js.map +1 -1
- package/dist/ui-components.es341.js +6 -71
- package/dist/ui-components.es341.js.map +1 -1
- package/dist/ui-components.es342.js +112 -105
- package/dist/ui-components.es342.js.map +1 -1
- package/dist/ui-components.es343.js +8 -25
- package/dist/ui-components.es343.js.map +1 -1
- package/dist/ui-components.es344.js +4 -2
- package/dist/ui-components.es344.js.map +1 -1
- package/dist/ui-components.es345.js +9 -2
- package/dist/ui-components.es345.js.map +1 -1
- package/dist/ui-components.es346.js +71 -6
- package/dist/ui-components.es346.js.map +1 -1
- package/dist/ui-components.es347.js +105 -112
- package/dist/ui-components.es347.js.map +1 -1
- package/dist/ui-components.es348.js +25 -7
- package/dist/ui-components.es348.js.map +1 -1
- package/dist/ui-components.es349.js +2 -10
- package/dist/ui-components.es349.js.map +1 -1
- package/dist/ui-components.es35.js +157 -87
- package/dist/ui-components.es35.js.map +1 -1
- package/dist/ui-components.es350.js +9 -9
- package/dist/ui-components.es350.js.map +1 -1
- package/dist/ui-components.es351.js +9 -4
- package/dist/ui-components.es351.js.map +1 -1
- package/dist/ui-components.es352.js +4 -4
- package/dist/ui-components.es352.js.map +1 -1
- package/dist/ui-components.es353.js +5 -3
- package/dist/ui-components.es353.js.map +1 -1
- package/dist/ui-components.es354.js +3 -72
- package/dist/ui-components.es354.js.map +1 -1
- package/dist/ui-components.es355.js +72 -4
- package/dist/ui-components.es355.js.map +1 -1
- package/dist/ui-components.es356.js +4 -19
- package/dist/ui-components.es356.js.map +1 -1
- package/dist/ui-components.es357.js +19 -4
- package/dist/ui-components.es357.js.map +1 -1
- package/dist/ui-components.es358.js +4 -2
- package/dist/ui-components.es358.js.map +1 -1
- package/dist/ui-components.es359.js +6 -5
- package/dist/ui-components.es359.js.map +1 -1
- package/dist/ui-components.es36.js +42 -36
- package/dist/ui-components.es36.js.map +1 -1
- package/dist/ui-components.es37.js +395 -193
- package/dist/ui-components.es37.js.map +1 -1
- package/dist/ui-components.es379.js +5 -6
- package/dist/ui-components.es379.js.map +1 -1
- package/dist/ui-components.es38.js +546 -168
- package/dist/ui-components.es38.js.map +1 -1
- package/dist/ui-components.es39.js +281 -17
- package/dist/ui-components.es39.js.map +1 -1
- package/dist/ui-components.es4.js +7 -7
- package/dist/ui-components.es4.js.map +1 -1
- package/dist/ui-components.es40.js +76 -304
- package/dist/ui-components.es40.js.map +1 -1
- package/dist/ui-components.es41.js +81 -110
- package/dist/ui-components.es41.js.map +1 -1
- package/dist/ui-components.es42.js +67 -141
- package/dist/ui-components.es42.js.map +1 -1
- package/dist/ui-components.es43.js +166 -942
- package/dist/ui-components.es43.js.map +1 -1
- package/dist/ui-components.es44.js +232 -92
- package/dist/ui-components.es44.js.map +1 -1
- package/dist/ui-components.es45.js +17 -371
- package/dist/ui-components.es45.js.map +1 -1
- package/dist/ui-components.es46.js +345 -208
- package/dist/ui-components.es46.js.map +1 -1
- package/dist/ui-components.es47.js +148 -235
- package/dist/ui-components.es47.js.map +1 -1
- package/dist/ui-components.es48.js +142 -19
- package/dist/ui-components.es48.js.map +1 -1
- package/dist/ui-components.es49.js +1031 -121
- package/dist/ui-components.es49.js.map +1 -1
- package/dist/ui-components.es5.js +1 -1
- package/dist/ui-components.es50.js +124 -36
- package/dist/ui-components.es50.js.map +1 -1
- package/dist/ui-components.es51.js +386 -23
- package/dist/ui-components.es51.js.map +1 -1
- package/dist/ui-components.es52.js +6 -254
- package/dist/ui-components.es52.js.map +1 -1
- package/dist/ui-components.es53.js +52 -37
- package/dist/ui-components.es53.js.map +1 -1
- package/dist/ui-components.es54.js +162 -6
- package/dist/ui-components.es54.js.map +1 -1
- package/dist/ui-components.es55.js +210 -52
- package/dist/ui-components.es55.js.map +1 -1
- package/dist/ui-components.es56.js +238 -158
- package/dist/ui-components.es56.js.map +1 -1
- package/dist/ui-components.es59.js +1 -1
- package/dist/ui-components.es6.js +1 -1
- package/dist/ui-components.es60.js +1 -1
- package/dist/ui-components.es63.js +1 -1
- package/dist/ui-components.es64.js +1 -1
- package/dist/ui-components.es65.js +6 -15
- package/dist/ui-components.es65.js.map +1 -1
- package/dist/ui-components.es66.js +6 -6
- package/dist/ui-components.es66.js.map +1 -1
- package/dist/ui-components.es67.js +6 -6
- package/dist/ui-components.es67.js.map +1 -1
- package/dist/ui-components.es68.js +3 -3
- package/dist/ui-components.es68.js.map +1 -1
- package/dist/ui-components.es69.js +298 -6
- package/dist/ui-components.es69.js.map +1 -1
- package/dist/ui-components.es7.js +1 -1
- package/dist/ui-components.es70.js +319 -204
- package/dist/ui-components.es70.js.map +1 -1
- package/dist/ui-components.es71.js +225 -354
- package/dist/ui-components.es71.js.map +1 -1
- package/dist/ui-components.es72.js +213 -235
- package/dist/ui-components.es72.js.map +1 -1
- package/dist/ui-components.es73.js +110 -201
- package/dist/ui-components.es73.js.map +1 -1
- package/dist/ui-components.es74.js +13 -171
- package/dist/ui-components.es74.js.map +1 -1
- package/dist/ui-components.es75.js +2 -13
- package/dist/ui-components.es75.js.map +1 -1
- package/dist/ui-components.es76.js +2 -209
- package/dist/ui-components.es76.js.map +1 -1
- package/dist/ui-components.es79.js +15 -2
- package/dist/ui-components.es79.js.map +1 -1
- package/dist/ui-components.es8.js +2 -2
- package/dist/ui-components.es80.js +5 -2
- package/dist/ui-components.es80.js.map +1 -1
- package/dist/ui-components.es81.js +3 -5
- package/dist/ui-components.es81.js.map +1 -1
- package/dist/ui-components.es82.js +6 -14
- package/dist/ui-components.es82.js.map +1 -1
- package/dist/ui-components.es83.js +8 -7
- package/dist/ui-components.es83.js.map +1 -1
- package/dist/ui-components.es84.js +8 -449
- package/dist/ui-components.es84.js.map +1 -1
- package/dist/ui-components.es85.js +13 -3
- package/dist/ui-components.es85.js.map +1 -1
- package/dist/ui-components.es86.js +21 -3
- package/dist/ui-components.es86.js.map +1 -1
- package/dist/ui-components.es87.js +7 -3
- package/dist/ui-components.es87.js.map +1 -1
- package/dist/ui-components.es88.js +11 -3
- package/dist/ui-components.es88.js.map +1 -1
- package/dist/ui-components.es89.js +2 -14
- package/dist/ui-components.es89.js.map +1 -1
- package/dist/ui-components.es9.js +1 -1
- package/dist/ui-components.es90.js +14 -42
- package/dist/ui-components.es90.js.map +1 -1
- package/dist/ui-components.es91.js +2 -8
- package/dist/ui-components.es91.js.map +1 -1
- package/dist/ui-components.es92.js +7 -8
- package/dist/ui-components.es92.js.map +1 -1
- package/dist/ui-components.es93.js +326 -23
- package/dist/ui-components.es93.js.map +1 -1
- package/dist/ui-components.es94.js +49 -6
- package/dist/ui-components.es94.js.map +1 -1
- package/dist/ui-components.es95.js +21 -13
- package/dist/ui-components.es95.js.map +1 -1
- package/dist/ui-components.es96.js +33 -4
- package/dist/ui-components.es96.js.map +1 -1
- package/dist/ui-components.es97.js +23 -7
- package/dist/ui-components.es97.js.map +1 -1
- package/dist/ui-components.es98.js +10 -19
- package/dist/ui-components.es98.js.map +1 -1
- package/dist/ui-components.es99.js +3 -8
- package/dist/ui-components.es99.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es38.js","sources":["../../../node_modules/.pnpm/@mui+material@7.2.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__@emotion+s_56c3cb211b767c0a0b4c5f346237ccd0/node_modules/@mui/material/esm/Checkbox/Checkbox.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport SwitchBase from \"../internal/SwitchBase.js\";\nimport CheckBoxOutlineBlankIcon from \"../internal/svg-icons/CheckBoxOutlineBlank.js\";\nimport CheckBoxIcon from \"../internal/svg-icons/CheckBox.js\";\nimport IndeterminateCheckBoxIcon from \"../internal/svg-icons/IndeterminateCheckBox.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport checkboxClasses, { getCheckboxUtilityClass } from \"./checkboxClasses.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { mergeSlotProps } from \"../utils/index.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n indeterminate,\n color,\n size\n } = ownerState;\n const slots = {\n root: ['root', indeterminate && 'indeterminate', `color${capitalize(color)}`, `size${capitalize(size)}`]\n };\n const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);\n return {\n ...classes,\n // forward the disabled and checked classes to the SwitchBase\n ...composedClasses\n };\n};\nconst CheckboxRoot = styled(SwitchBase, {\n shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n name: 'MuiCheckbox',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${capitalize(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n variants: [{\n props: {\n color: 'default',\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)\n }\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color,\n disableRipple: false\n },\n style: {\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)\n }\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n [`&.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]: {\n color: (theme.vars || theme).palette[color].main\n },\n [`&.${checkboxClasses.disabled}`]: {\n color: (theme.vars || theme).palette.action.disabled\n }\n }\n })), {\n // Should be last to override other colors\n props: {\n disableRipple: false\n },\n style: {\n // Reset on touch devices, it doesn't add specificity\n '&:hover': {\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }]\n})));\nconst defaultCheckedIcon = /*#__PURE__*/_jsx(CheckBoxIcon, {});\nconst defaultIcon = /*#__PURE__*/_jsx(CheckBoxOutlineBlankIcon, {});\nconst defaultIndeterminateIcon = /*#__PURE__*/_jsx(IndeterminateCheckBoxIcon, {});\nconst Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCheckbox'\n });\n const {\n checkedIcon = defaultCheckedIcon,\n color = 'primary',\n icon: iconProp = defaultIcon,\n indeterminate = false,\n indeterminateIcon: indeterminateIconProp = defaultIndeterminateIcon,\n inputProps,\n size = 'medium',\n disableRipple = false,\n className,\n slots = {},\n slotProps = {},\n ...other\n } = props;\n const icon = indeterminate ? indeterminateIconProp : iconProp;\n const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;\n const ownerState = {\n ...props,\n disableRipple,\n color,\n indeterminate,\n size\n };\n const classes = useUtilityClasses(ownerState);\n const externalInputProps = slotProps.input ?? inputProps;\n const [RootSlot, rootSlotProps] = useSlot('root', {\n ref,\n elementType: CheckboxRoot,\n className: clsx(classes.root, className),\n shouldForwardComponentProp: true,\n externalForwardedProps: {\n slots,\n slotProps,\n ...other\n },\n ownerState,\n additionalProps: {\n type: 'checkbox',\n icon: /*#__PURE__*/React.cloneElement(icon, {\n fontSize: icon.props.fontSize ?? size\n }),\n checkedIcon: /*#__PURE__*/React.cloneElement(indeterminateIcon, {\n fontSize: indeterminateIcon.props.fontSize ?? size\n }),\n disableRipple,\n slots,\n slotProps: {\n input: mergeSlotProps(typeof externalInputProps === 'function' ? externalInputProps(ownerState) : externalInputProps, {\n 'data-indeterminate': indeterminate\n })\n }\n }\n });\n return /*#__PURE__*/_jsx(RootSlot, {\n ...rootSlotProps,\n classes: classes\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Checkbox.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n /**\n * The icon to display when the component is checked.\n * @default <CheckBoxIcon />\n */\n checkedIcon: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The default checked state. Use when the component is not controlled.\n */\n defaultChecked: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * The icon to display when the component is unchecked.\n * @default <CheckBoxOutlineBlankIcon />\n */\n icon: PropTypes.node,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * If `true`, the component appears indeterminate.\n * This does not set the native input element to indeterminate due\n * to inconsistent behavior across browsers.\n * However, we set a `data-indeterminate` attribute on the `input`.\n * @default false\n */\n indeterminate: PropTypes.bool,\n /**\n * The icon to display when the component is indeterminate.\n * @default <IndeterminateCheckBoxIcon />\n */\n indeterminateIcon: PropTypes.node,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n inputProps: PropTypes.object,\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * @default false\n */\n required: PropTypes.bool,\n /**\n * The size of the component.\n * `small` is equivalent to the dense checkbox styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default Checkbox;"],"names":["useUtilityClasses","ownerState","classes","indeterminate","color","size","slots","capitalize","composedClasses","composeClasses","getCheckboxUtilityClass","CheckboxRoot","styled","SwitchBase","prop","rootShouldForwardProp","props","styles","memoTheme","theme","alpha","createSimplePaletteValueFilter","checkboxClasses","defaultCheckedIcon","_jsx","CheckBoxIcon","defaultIcon","CheckBoxOutlineBlankIcon","defaultIndeterminateIcon","IndeterminateCheckBoxIcon","Checkbox","React","inProps","ref","useDefaultProps","checkedIcon","iconProp","indeterminateIconProp","inputProps","disableRipple","className","slotProps","other","icon","indeterminateIcon","externalInputProps","RootSlot","rootSlotProps","useSlot","clsx","mergeSlotProps","PropTypes"],"mappings":";;;;;;;;;;;;;;;;;;;AAqBA,MAAMA,IAAoB,CAAAC,MAAc;AACtC,QAAM;AAAA,IACJ,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC;AAAA,EACJ,IAAMJ,GACEK,IAAQ;AAAA,IACZ,MAAM,CAAC,QAAQH,KAAiB,iBAAiB,QAAQI,EAAWH,CAAK,CAAC,IAAI,OAAOG,EAAWF,CAAI,CAAC,EAAE;AAAA,EAC3G,GACQG,IAAkBC,EAAeH,GAAOI,GAAyBR,CAAO;AAC9E,SAAO;AAAA,IACL,GAAGA;AAAA;AAAA,IAEH,GAAGM;AAAA,EACP;AACA,GACMG,IAAeC,EAAOC,GAAY;AAAA,EACtC,mBAAmB,CAAAC,MAAQC,EAAsBD,CAAI,KAAKA,MAAS;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,EACN,mBAAmB,CAACE,GAAOC,MAAW;AACpC,UAAM;AAAA,MACJ,YAAAhB;AAAA,IACN,IAAQe;AACJ,WAAO,CAACC,EAAO,MAAMhB,EAAW,iB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U,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,OAAOA,EAAU;AACnB;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es38.js","sources":["../../../node_modules/.pnpm/@mui+material@7.2.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__@emotion+s_56c3cb211b767c0a0b4c5f346237ccd0/node_modules/@mui/material/esm/InputBase/InputBase.js"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nvar _InputGlobalStyles;\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport refType from '@mui/utils/refType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport TextareaAutosize from \"../TextareaAutosize/index.js\";\nimport isHostComponent from \"../utils/isHostComponent.js\";\nimport formControlState from \"../FormControl/formControlState.js\";\nimport FormControlContext from \"../FormControl/FormControlContext.js\";\nimport useFormControl from \"../FormControl/useFormControl.js\";\nimport { styled, globalCss } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport { isFilled } from \"./utils.js\";\nimport inputBaseClasses, { getInputBaseUtilityClass } from \"./inputBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const rootOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.formControl && styles.formControl, ownerState.startAdornment && styles.adornedStart, ownerState.endAdornment && styles.adornedEnd, ownerState.error && styles.error, ownerState.size === 'small' && styles.sizeSmall, ownerState.multiline && styles.multiline, ownerState.color && styles[`color${capitalize(ownerState.color)}`], ownerState.fullWidth && styles.fullWidth, ownerState.hiddenLabel && styles.hiddenLabel];\n};\nexport const inputOverridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disabled,\n error,\n endAdornment,\n focused,\n formControl,\n fullWidth,\n hiddenLabel,\n multiline,\n readOnly,\n size,\n startAdornment,\n type\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, disabled && 'disabled', error && 'error', fullWidth && 'fullWidth', focused && 'focused', formControl && 'formControl', size && size !== 'medium' && `size${capitalize(size)}`, multiline && 'multiline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', hiddenLabel && 'hiddenLabel', readOnly && 'readOnly'],\n input: ['input', disabled && 'disabled', type === 'search' && 'inputTypeSearch', multiline && 'inputMultiline', size === 'small' && 'inputSizeSmall', hiddenLabel && 'inputHiddenLabel', startAdornment && 'inputAdornedStart', endAdornment && 'inputAdornedEnd', readOnly && 'readOnly']\n };\n return composeClasses(slots, getInputBaseUtilityClass, classes);\n};\nexport const InputBaseRoot = styled('div', {\n name: 'MuiInputBase',\n slot: 'Root',\n overridesResolver: rootOverridesResolver\n})(memoTheme(({\n theme\n}) => ({\n ...theme.typography.body1,\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: '1.4375em',\n // 23px\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n [`&.${inputBaseClasses.disabled}`]: {\n color: (theme.vars || theme).palette.text.disabled,\n cursor: 'default'\n },\n variants: [{\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n padding: '4px 0 5px'\n }\n }, {\n props: ({\n ownerState,\n size\n }) => ownerState.multiline && size === 'small',\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.fullWidth,\n style: {\n width: '100%'\n }\n }]\n})));\nexport const InputBaseInput = styled('input', {\n name: 'MuiInputBase',\n slot: 'Input',\n overridesResolver: inputOverridesResolver\n})(memoTheme(({\n theme\n}) => {\n const light = theme.palette.mode === 'light';\n const placeholder = {\n color: 'currentColor',\n ...(theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n }),\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n const placeholderHidden = {\n opacity: '0 !important'\n };\n const placeholderVisible = theme.vars ? {\n opacity: theme.vars.opacity.inputPlaceholder\n } : {\n opacity: light ? 0.42 : 0.5\n };\n return {\n font: 'inherit',\n letterSpacing: 'inherit',\n color: 'currentColor',\n padding: '4px 0 5px',\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.4375em',\n // Reset 23pxthe native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n WebkitAppearance: 'none'\n },\n // Show and hide the placeholder logic\n [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n },\n [`&.${inputBaseClasses.disabled}`]: {\n opacity: 1,\n // Reset iOS opacity\n WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug\n },\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disableInjectingGlobalStyles,\n style: {\n animationName: 'mui-auto-fill-cancel',\n animationDuration: '10ms',\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n paddingTop: 1\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.multiline,\n style: {\n height: 'auto',\n resize: 'none',\n padding: 0,\n paddingTop: 0\n }\n }, {\n props: {\n type: 'search'\n },\n style: {\n MozAppearance: 'textfield' // Improve type search style.\n }\n }]\n };\n}));\nconst InputGlobalStyles = globalCss({\n '@keyframes mui-auto-fill': {\n from: {\n display: 'block'\n }\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {\n display: 'block'\n }\n }\n});\n\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\nconst InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInputBase'\n });\n const {\n 'aria-describedby': ariaDescribedby,\n autoComplete,\n autoFocus,\n className,\n color,\n components = {},\n componentsProps = {},\n defaultValue,\n disabled,\n disableInjectingGlobalStyles,\n endAdornment,\n error,\n fullWidth = false,\n id,\n inputComponent = 'input',\n inputProps: inputPropsProp = {},\n inputRef: inputRefProp,\n margin,\n maxRows,\n minRows,\n multiline = false,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n onKeyDown,\n onKeyUp,\n placeholder,\n readOnly,\n renderSuffix,\n rows,\n size,\n slotProps = {},\n slots = {},\n startAdornment,\n type = 'text',\n value: valueProp,\n ...other\n } = props;\n const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef();\n const handleInputRefWarning = React.useCallback(instance => {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n const handleInputRef = useForkRef(inputRef, inputRefProp, inputPropsProp.ref, handleInputRefWarning);\n const [focused, setFocused] = React.useState(false);\n const muiFormControl = useFormControl();\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n return undefined;\n }, [muiFormControl]);\n }\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'size', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused;\n\n // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n React.useEffect(() => {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n const onFilled = muiFormControl && muiFormControl.onFilled;\n const onEmpty = muiFormControl && muiFormControl.onEmpty;\n const checkDirty = React.useCallback(obj => {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(() => {\n if (isControlled) {\n checkDirty({\n value\n });\n }\n }, [value, checkDirty, isControlled]);\n const handleFocus = event => {\n if (onFocus) {\n onFocus(event);\n }\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n const handleBlur = event => {\n if (onBlur) {\n onBlur(event);\n }\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n const handleChange = (event, ...args) => {\n if (!isControlled) {\n const element = event.target || inputRef.current;\n if (element == null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://mui.com/r/input-component-ref-interface for more info.' : _formatErrorMessage(1));\n }\n checkDirty({\n value: element.value\n });\n }\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange(event, ...args);\n }\n\n // Perform in the willUpdate\n if (onChange) {\n onChange(event, ...args);\n }\n };\n\n // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n React.useEffect(() => {\n checkDirty(inputRef.current);\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const handleClick = event => {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n if (onClick) {\n onClick(event);\n }\n };\n let InputComponent = inputComponent;\n let inputProps = inputPropsProp;\n if (multiline && InputComponent === 'input') {\n if (rows) {\n if (process.env.NODE_ENV !== 'production') {\n if (minRows || maxRows) {\n console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');\n }\n }\n inputProps = {\n type: undefined,\n minRows: rows,\n maxRows: rows,\n ...inputProps\n };\n } else {\n inputProps = {\n type: undefined,\n maxRows,\n minRows,\n ...inputProps\n };\n }\n InputComponent = TextareaAutosize;\n }\n const handleAutoFill = event => {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n React.useEffect(() => {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n const ownerState = {\n ...props,\n color: fcs.color || 'primary',\n disabled: fcs.disabled,\n endAdornment,\n error: fcs.error,\n focused: fcs.focused,\n formControl: muiFormControl,\n fullWidth,\n hiddenLabel: fcs.hiddenLabel,\n multiline,\n size: fcs.size,\n startAdornment,\n type\n };\n const classes = useUtilityClasses(ownerState);\n const Root = slots.root || components.Root || InputBaseRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const Input = slots.input || components.Input || InputBaseInput;\n inputProps = {\n ...inputProps,\n ...(slotProps.input ?? componentsProps.input)\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [!disableInjectingGlobalStyles && typeof InputGlobalStyles === 'function' && (// For Emotion/Styled-components, InputGlobalStyles will be a function\n // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.\n _InputGlobalStyles || (_InputGlobalStyles = /*#__PURE__*/_jsx(InputGlobalStyles, {}))), /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n ref: ref,\n onClick: handleClick,\n ...other,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),\n children: [startAdornment, /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(Input, {\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n type: type,\n ...inputProps,\n ...(!isHostComponent(Input) && {\n as: InputComponent,\n ownerState: {\n ...ownerState,\n ...inputProps.ownerState\n }\n }),\n ref: handleInputRef,\n className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n })\n }), endAdornment, renderSuffix ? renderSuffix({\n ...fcs,\n startAdornment\n }) : null]\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n /**\n * If `true`, the `input` element is focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The components used for each slot inside.\n *\n * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n components: PropTypes.shape({\n Input: PropTypes.elementType,\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n /**\n * If `true`, the component is disabled.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.\n * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.\n * @default false\n */\n disableInjectingGlobalStyles: PropTypes.bool,\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n /**\n * If `true`, the `input` will indicate an error.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n error: PropTypes.bool,\n /**\n * If `true`, the `input` will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n * @default 'input'\n */\n inputComponent: elementTypeAcceptingRef,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.\n * @default {}\n */\n inputProps: PropTypes.object,\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.\n * @default false\n */\n multiline: PropTypes.bool,\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n /**\n * Callback fired when the `input` is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n /**\n * Callback fired when the value is changed.\n *\n * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * Callback fired when the `input` doesn't satisfy its constraints.\n */\n onInvalid: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder: PropTypes.string,\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n /**\n * If `true`, the `input` element is required.\n * The prop defaults to the value (`false`) inherited from the parent FormControl component.\n */\n required: PropTypes.bool,\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The size of the component.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n input: PropTypes.object,\n root: PropTypes.object\n }),\n /**\n * The components used for each slot inside.\n *\n * This prop is an alias for the `components` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n input: PropTypes.elementType,\n root: PropTypes.elementType\n }),\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).\n * @default 'text'\n */\n type: PropTypes.string,\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default InputBase;"],"names":["_InputGlobalStyles","rootOverridesResolver","props","styles","ownerState","capitalize","inputOverridesResolver","useUtilityClasses","classes","color","disabled","error","endAdornment","focused","formControl","fullWidth","hiddenLabel","multiline","readOnly","size","startAdornment","type","slots","composeClasses","getInputBaseUtilityClass","InputBaseRoot","styled","memoTheme","theme","inputBaseClasses","InputBaseInput","light","placeholder","placeholderHidden","placeholderVisible","InputGlobalStyles","globalCss","InputBase","React","inProps","ref","useDefaultProps","ariaDescribedby","autoComplete","autoFocus","className","components","componentsProps","defaultValue","disableInjectingGlobalStyles","id","inputComponent","inputPropsProp","inputRefProp","margin","maxRows","minRows","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","renderSuffix","rows","slotProps","valueProp","other","value","isControlled","inputRef","handleInputRefWarning","instance","handleInputRef","useForkRef","setFocused","muiFormControl","useFormControl","fcs","formControlState","onFilled","onEmpty","checkDirty","obj","isFilled","useEnhancedEffect","handleFocus","event","handleBlur","handleChange","args","element","_formatErrorMessage","handleClick","InputComponent","inputProps","TextareaAutosize","handleAutoFill","Root","rootProps","Input","_jsxs","_jsx","isHostComponent","clsx","FormControlContext","PropTypes","elementTypeAcceptingRef","refType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,IAAIA;AAqBQ,MAACC,KAAwB,CAACC,GAAOC,MAAW;AACtD,QAAM;AAAA,IACJ,YAAAC;AAAA,EACJ,IAAMF;AACJ,SAAO,CAACC,EAAO,MAAMC,EAAW,eAAeD,EAAO,aAAaC,EAAW,kBAAkBD,EAAO,cAAcC,EAAW,gBA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,MAAMA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,MAAMA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIhB,OAAOA,EAAU;AACnB;","x_google_ignoreList":[0]}
|
|
@@ -1,35 +1,299 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import e from "./ui-components.es80.js";
|
|
3
|
+
import { clsx as T } from "./ui-components.es79.js";
|
|
4
|
+
import B from "./ui-components.es81.js";
|
|
5
|
+
import R from "./ui-components.es169.js";
|
|
6
|
+
import x, { getIconButtonUtilityClass as $ } from "./ui-components.es181.js";
|
|
7
|
+
import { j as l } from "./ui-components.es12.js";
|
|
8
|
+
import { useDefaultProps as w } from "./ui-components.es84.js";
|
|
9
|
+
import P from "./ui-components.es151.js";
|
|
10
|
+
import O from "./ui-components.es31.js";
|
|
11
|
+
import a from "./ui-components.es147.js";
|
|
12
|
+
import S from "./ui-components.es85.js";
|
|
13
|
+
import k from "./ui-components.es168.js";
|
|
14
|
+
import N from "./ui-components.es174.js";
|
|
15
|
+
import E from "./ui-components.es141.js";
|
|
16
|
+
import { alpha as z } from "./ui-components.es48.js";
|
|
17
|
+
const L = (o) => {
|
|
18
|
+
const {
|
|
19
|
+
classes: t,
|
|
20
|
+
disabled: r,
|
|
21
|
+
color: n,
|
|
22
|
+
edge: s,
|
|
23
|
+
size: p,
|
|
24
|
+
loading: d
|
|
25
|
+
} = o, c = {
|
|
26
|
+
root: ["root", d && "loading", r && "disabled", n !== "default" && `color${a(n)}`, s && `edge${a(s)}`, `size${a(p)}`],
|
|
27
|
+
loadingIndicator: ["loadingIndicator"],
|
|
28
|
+
loadingWrapper: ["loadingWrapper"]
|
|
29
|
+
};
|
|
30
|
+
return S(c, $, t);
|
|
31
|
+
}, M = O(k, {
|
|
32
|
+
name: "MuiIconButton",
|
|
33
|
+
slot: "Root",
|
|
34
|
+
overridesResolver: (o, t) => {
|
|
35
|
+
const {
|
|
36
|
+
ownerState: r
|
|
37
|
+
} = o;
|
|
38
|
+
return [t.root, r.loading && t.loading, r.color !== "default" && t[`color${a(r.color)}`], r.edge && t[`edge${a(r.edge)}`], t[`size${a(r.size)}`]];
|
|
39
|
+
}
|
|
40
|
+
})(B(({
|
|
41
|
+
theme: o
|
|
42
|
+
}) => ({
|
|
43
|
+
textAlign: "center",
|
|
44
|
+
flex: "0 0 auto",
|
|
45
|
+
fontSize: o.typography.pxToRem(24),
|
|
46
|
+
padding: 8,
|
|
47
|
+
borderRadius: "50%",
|
|
48
|
+
color: (o.vars || o).palette.action.active,
|
|
49
|
+
transition: o.transitions.create("background-color", {
|
|
50
|
+
duration: o.transitions.duration.shortest
|
|
51
|
+
}),
|
|
52
|
+
variants: [{
|
|
53
|
+
props: (t) => !t.disableRipple,
|
|
54
|
+
style: {
|
|
55
|
+
"--IconButton-hoverBg": o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : z(o.palette.action.active, o.palette.action.hoverOpacity),
|
|
56
|
+
"&:hover": {
|
|
57
|
+
backgroundColor: "var(--IconButton-hoverBg)",
|
|
58
|
+
// Reset on touch devices, it doesn't add specificity
|
|
59
|
+
"@media (hover: none)": {
|
|
60
|
+
backgroundColor: "transparent"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
props: {
|
|
66
|
+
edge: "start"
|
|
67
|
+
},
|
|
68
|
+
style: {
|
|
69
|
+
marginLeft: -12
|
|
70
|
+
}
|
|
71
|
+
}, {
|
|
72
|
+
props: {
|
|
73
|
+
edge: "start",
|
|
74
|
+
size: "small"
|
|
75
|
+
},
|
|
76
|
+
style: {
|
|
77
|
+
marginLeft: -3
|
|
78
|
+
}
|
|
79
|
+
}, {
|
|
80
|
+
props: {
|
|
81
|
+
edge: "end"
|
|
82
|
+
},
|
|
83
|
+
style: {
|
|
84
|
+
marginRight: -12
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
props: {
|
|
88
|
+
edge: "end",
|
|
89
|
+
size: "small"
|
|
90
|
+
},
|
|
91
|
+
style: {
|
|
92
|
+
marginRight: -3
|
|
93
|
+
}
|
|
94
|
+
}]
|
|
95
|
+
})), B(({
|
|
96
|
+
theme: o
|
|
97
|
+
}) => ({
|
|
98
|
+
variants: [{
|
|
99
|
+
props: {
|
|
100
|
+
color: "inherit"
|
|
101
|
+
},
|
|
102
|
+
style: {
|
|
103
|
+
color: "inherit"
|
|
104
|
+
}
|
|
105
|
+
}, ...Object.entries(o.palette).filter(R()).map(([t]) => ({
|
|
106
|
+
props: {
|
|
107
|
+
color: t
|
|
108
|
+
},
|
|
109
|
+
style: {
|
|
110
|
+
color: (o.vars || o).palette[t].main
|
|
111
|
+
}
|
|
112
|
+
})), ...Object.entries(o.palette).filter(R()).map(([t]) => ({
|
|
113
|
+
props: {
|
|
114
|
+
color: t
|
|
115
|
+
},
|
|
116
|
+
style: {
|
|
117
|
+
"--IconButton-hoverBg": o.vars ? `rgba(${(o.vars || o).palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : z((o.vars || o).palette[t].main, o.palette.action.hoverOpacity)
|
|
118
|
+
}
|
|
119
|
+
})), {
|
|
120
|
+
props: {
|
|
121
|
+
size: "small"
|
|
122
|
+
},
|
|
123
|
+
style: {
|
|
124
|
+
padding: 5,
|
|
125
|
+
fontSize: o.typography.pxToRem(18)
|
|
126
|
+
}
|
|
127
|
+
}, {
|
|
128
|
+
props: {
|
|
129
|
+
size: "large"
|
|
130
|
+
},
|
|
131
|
+
style: {
|
|
132
|
+
padding: 12,
|
|
133
|
+
fontSize: o.typography.pxToRem(28)
|
|
134
|
+
}
|
|
135
|
+
}],
|
|
136
|
+
[`&.${x.disabled}`]: {
|
|
137
|
+
backgroundColor: "transparent",
|
|
138
|
+
color: (o.vars || o).palette.action.disabled
|
|
139
|
+
},
|
|
140
|
+
[`&.${x.loading}`]: {
|
|
141
|
+
color: "transparent"
|
|
142
|
+
}
|
|
143
|
+
}))), F = O("span", {
|
|
144
|
+
name: "MuiIconButton",
|
|
145
|
+
slot: "LoadingIndicator"
|
|
146
|
+
})(({
|
|
147
|
+
theme: o
|
|
148
|
+
}) => ({
|
|
149
|
+
display: "none",
|
|
150
|
+
position: "absolute",
|
|
151
|
+
visibility: "visible",
|
|
152
|
+
top: "50%",
|
|
153
|
+
left: "50%",
|
|
154
|
+
transform: "translate(-50%, -50%)",
|
|
155
|
+
color: (o.vars || o).palette.action.disabled,
|
|
156
|
+
variants: [{
|
|
157
|
+
props: {
|
|
158
|
+
loading: !0
|
|
159
|
+
},
|
|
160
|
+
style: {
|
|
161
|
+
display: "flex"
|
|
162
|
+
}
|
|
163
|
+
}]
|
|
164
|
+
})), U = /* @__PURE__ */ f.forwardRef(function(t, r) {
|
|
165
|
+
const n = w({
|
|
166
|
+
props: t,
|
|
167
|
+
name: "MuiIconButton"
|
|
168
|
+
}), {
|
|
169
|
+
edge: s = !1,
|
|
170
|
+
children: p,
|
|
171
|
+
className: d,
|
|
172
|
+
color: c = "default",
|
|
173
|
+
disabled: m = !1,
|
|
174
|
+
disableFocusRipple: y = !1,
|
|
175
|
+
size: h = "medium",
|
|
176
|
+
id: b,
|
|
177
|
+
loading: i = null,
|
|
178
|
+
loadingIndicator: C,
|
|
179
|
+
...j
|
|
180
|
+
} = n, v = P(b), I = C ?? /* @__PURE__ */ l.jsx(N, {
|
|
181
|
+
"aria-labelledby": v,
|
|
182
|
+
color: "inherit",
|
|
183
|
+
size: 16
|
|
184
|
+
}), g = {
|
|
185
|
+
...n,
|
|
186
|
+
edge: s,
|
|
187
|
+
color: c,
|
|
188
|
+
disabled: m,
|
|
189
|
+
disableFocusRipple: y,
|
|
190
|
+
loading: i,
|
|
191
|
+
loadingIndicator: I,
|
|
192
|
+
size: h
|
|
193
|
+
}, u = L(g);
|
|
194
|
+
return /* @__PURE__ */ l.jsxs(M, {
|
|
195
|
+
id: i ? v : b,
|
|
196
|
+
className: T(u.root, d),
|
|
197
|
+
centerRipple: !0,
|
|
198
|
+
focusRipple: !y,
|
|
199
|
+
disabled: m || i,
|
|
200
|
+
ref: r,
|
|
201
|
+
...j,
|
|
202
|
+
ownerState: g,
|
|
203
|
+
children: [typeof i == "boolean" && // use plain HTML span to minimize the runtime overhead
|
|
204
|
+
/* @__PURE__ */ l.jsx("span", {
|
|
205
|
+
className: u.loadingWrapper,
|
|
206
|
+
style: {
|
|
207
|
+
display: "contents"
|
|
208
|
+
},
|
|
209
|
+
children: /* @__PURE__ */ l.jsx(F, {
|
|
210
|
+
className: u.loadingIndicator,
|
|
211
|
+
ownerState: g,
|
|
212
|
+
children: i && I
|
|
213
|
+
})
|
|
214
|
+
}), p]
|
|
215
|
+
});
|
|
12
216
|
});
|
|
13
|
-
process.env.NODE_ENV !== "production" && (
|
|
217
|
+
process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
14
218
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
15
219
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
16
220
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
17
221
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
222
|
+
/**
|
|
223
|
+
* The icon to display.
|
|
224
|
+
*/
|
|
225
|
+
children: E(e.node, (o) => f.Children.toArray(o.children).some((r) => /* @__PURE__ */ f.isValidElement(r) && r.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
226
|
+
`)) : null),
|
|
227
|
+
/**
|
|
228
|
+
* Override or extend the styles applied to the component.
|
|
229
|
+
*/
|
|
230
|
+
classes: e.object,
|
|
18
231
|
/**
|
|
19
232
|
* @ignore
|
|
20
233
|
*/
|
|
21
|
-
|
|
234
|
+
className: e.string,
|
|
235
|
+
/**
|
|
236
|
+
* The color of the component.
|
|
237
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
238
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
239
|
+
* @default 'default'
|
|
240
|
+
*/
|
|
241
|
+
color: e.oneOfType([e.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
242
|
+
/**
|
|
243
|
+
* If `true`, the component is disabled.
|
|
244
|
+
* @default false
|
|
245
|
+
*/
|
|
246
|
+
disabled: e.bool,
|
|
247
|
+
/**
|
|
248
|
+
* If `true`, the keyboard focus ripple is disabled.
|
|
249
|
+
* @default false
|
|
250
|
+
*/
|
|
251
|
+
disableFocusRipple: e.bool,
|
|
252
|
+
/**
|
|
253
|
+
* If `true`, the ripple effect is disabled.
|
|
254
|
+
*
|
|
255
|
+
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
256
|
+
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
257
|
+
* @default false
|
|
258
|
+
*/
|
|
259
|
+
disableRipple: e.bool,
|
|
260
|
+
/**
|
|
261
|
+
* If given, uses a negative margin to counteract the padding on one
|
|
262
|
+
* side (this is often helpful for aligning the left or right
|
|
263
|
+
* side of the icon with content above or below, without ruining the border
|
|
264
|
+
* size and shape).
|
|
265
|
+
* @default false
|
|
266
|
+
*/
|
|
267
|
+
edge: e.oneOf(["end", "start", !1]),
|
|
268
|
+
/**
|
|
269
|
+
* @ignore
|
|
270
|
+
*/
|
|
271
|
+
id: e.string,
|
|
272
|
+
/**
|
|
273
|
+
* If `true`, the loading indicator is visible and the button is disabled.
|
|
274
|
+
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
275
|
+
* @default null
|
|
276
|
+
*/
|
|
277
|
+
loading: e.bool,
|
|
278
|
+
/**
|
|
279
|
+
* Element placed before the children if the button is in loading state.
|
|
280
|
+
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
281
|
+
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
282
|
+
* @default <CircularProgress color="inherit" size={16} />
|
|
283
|
+
*/
|
|
284
|
+
loadingIndicator: e.node,
|
|
22
285
|
/**
|
|
23
|
-
* The
|
|
24
|
-
*
|
|
286
|
+
* The size of the component.
|
|
287
|
+
* `small` is equivalent to the dense button styling.
|
|
288
|
+
* @default 'medium'
|
|
25
289
|
*/
|
|
26
|
-
|
|
290
|
+
size: e.oneOfType([e.oneOf(["small", "medium", "large"]), e.string]),
|
|
27
291
|
/**
|
|
28
292
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29
293
|
*/
|
|
30
294
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
31
295
|
});
|
|
32
296
|
export {
|
|
33
|
-
|
|
297
|
+
U as default
|
|
34
298
|
};
|
|
35
299
|
//# sourceMappingURL=ui-components.es39.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es39.js","sources":["../../../node_modules/.pnpm/@mui+material@7.2.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__@emotion+s_56c3cb211b767c0a0b4c5f346237ccd0/node_modules/@mui/material/esm/Box/Box.js"],"sourcesContent":["'use client';\n\nimport { createBox } from '@mui/system';\nimport PropTypes from 'prop-types';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from \"../className/index.js\";\nimport { createTheme } from \"../styles/index.js\";\nimport THEME_ID from \"../styles/identifier.js\";\nimport boxClasses from \"./boxClasses.js\";\nconst defaultTheme = createTheme();\nconst Box = createBox({\n themeId: THEME_ID,\n defaultTheme,\n defaultClassName: boxClasses.root,\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;"],"names":["defaultTheme","createTheme","Box","createBox","THEME_ID","boxClasses","ClassNameGenerator","PropTypes"],"mappings":";;;;;;AAQA,MAAMA,IAAeC,EAAW,GAC1BC,IAAMC,EAAU;AAAA,EACpB,SAASC;AAAA,EACT,cAAAJ;AAAA,EACA,kBAAkBK,EAAW;AAAA,EAC7B,mBAAmBC,EAAmB;AACxC,CAAC;AACD,QAAQ,IAAI,aAAa,iBAAeJ,EAAI,YAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ7E,UAAUK,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKpB,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,IAAIA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AACxJ;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es39.js","sources":["../../../node_modules/.pnpm/@mui+material@7.2.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__@emotion+s_56c3cb211b767c0a0b4c5f346237ccd0/node_modules/@mui/material/esm/IconButton/IconButton.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { unstable_useId as useId } from \"../utils/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport CircularProgress from \"../CircularProgress/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport iconButtonClasses, { getIconButtonUtilityClass } from \"./iconButtonClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n color,\n edge,\n size,\n loading\n } = ownerState;\n const slots = {\n root: ['root', loading && 'loading', disabled && 'disabled', color !== 'default' && `color${capitalize(color)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],\n loadingIndicator: ['loadingIndicator'],\n loadingWrapper: ['loadingWrapper']\n };\n return composeClasses(slots, getIconButtonUtilityClass, classes);\n};\nconst IconButtonRoot = styled(ButtonBase, {\n name: 'MuiIconButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.loading && styles.loading, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.edge && styles[`edge${capitalize(ownerState.edge)}`], styles[`size${capitalize(ownerState.size)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 8,\n borderRadius: '50%',\n color: (theme.vars || theme).palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: props => !props.disableRipple,\n style: {\n '--IconButton-hoverBg': theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),\n '&:hover': {\n backgroundColor: 'var(--IconButton-hoverBg)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: {\n edge: 'start'\n },\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: {\n edge: 'end'\n },\n style: {\n marginRight: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }]\n})), memoTheme(({\n theme\n}) => ({\n variants: [{\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n '--IconButton-hoverBg': theme.vars ? `rgba(${(theme.vars || theme).palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color].main, theme.palette.action.hoverOpacity)\n }\n })), {\n props: {\n size: 'small'\n },\n style: {\n padding: 5,\n fontSize: theme.typography.pxToRem(18)\n }\n }, {\n props: {\n size: 'large'\n },\n style: {\n padding: 12,\n fontSize: theme.typography.pxToRem(28)\n }\n }],\n [`&.${iconButtonClasses.disabled}`]: {\n backgroundColor: 'transparent',\n color: (theme.vars || theme).palette.action.disabled\n },\n [`&.${iconButtonClasses.loading}`]: {\n color: 'transparent'\n }\n})));\nconst IconButtonLoadingIndicator = styled('span', {\n name: 'MuiIconButton',\n slot: 'LoadingIndicator'\n})(({\n theme\n}) => ({\n display: 'none',\n position: 'absolute',\n visibility: 'visible',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: (theme.vars || theme).palette.action.disabled,\n variants: [{\n props: {\n loading: true\n },\n style: {\n display: 'flex'\n }\n }]\n}));\n\n/**\n * Refer to the [Icons](/material-ui/icons/) section of the documentation\n * regarding the available icon options.\n */\nconst IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiIconButton'\n });\n const {\n edge = false,\n children,\n className,\n color = 'default',\n disabled = false,\n disableFocusRipple = false,\n size = 'medium',\n id: idProp,\n loading = null,\n loadingIndicator: loadingIndicatorProp,\n ...other\n } = props;\n const loadingId = useId(idProp);\n const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {\n \"aria-labelledby\": loadingId,\n color: \"inherit\",\n size: 16\n });\n const ownerState = {\n ...props,\n edge,\n color,\n disabled,\n disableFocusRipple,\n loading,\n loadingIndicator,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(IconButtonRoot, {\n id: loading ? loadingId : idProp,\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled || loading,\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: [typeof loading === 'boolean' &&\n /*#__PURE__*/\n // use plain HTML span to minimize the runtime overhead\n _jsx(\"span\", {\n className: classes.loadingWrapper,\n style: {\n display: 'contents'\n },\n children: /*#__PURE__*/_jsx(IconButtonLoadingIndicator, {\n className: classes.loadingIndicator,\n ownerState: ownerState,\n children: loading && loadingIndicator\n })\n }), children]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The icon to display.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);\n if (found) {\n return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\\n'));\n }\n return null;\n }),\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * If `true`, the loading indicator is visible and the button is disabled.\n * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).\n * @default null\n */\n loading: PropTypes.bool,\n /**\n * Element placed before the children if the button is in loading state.\n * The node should contain an element with `role=\"progressbar\"` with an accessible name.\n * By default, it renders a `CircularProgress` that is labeled by the button itself.\n * @default <CircularProgress color=\"inherit\" size={16} />\n */\n loadingIndicator: PropTypes.node,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default IconButton;"],"names":["useUtilityClasses","ownerState","classes","disabled","color","edge","size","loading","slots","capitalize","composeClasses","getIconButtonUtilityClass","IconButtonRoot","styled","ButtonBase","props","styles","memoTheme","theme","alpha","createSimplePaletteValueFilter","iconButtonClasses","IconButtonLoadingIndicator","IconButton","React","inProps","ref","useDefaultProps","children","className","disableFocusRipple","idProp","loadingIndicatorProp","other","loadingId","useId","loadingIndicator","_jsx","CircularProgress","_jsxs","clsx","chainPropTypes","PropTypes","child"],"mappings":";;;;;;;;;;;;;;;;AAkBA,MAAMA,IAAoB,CAAAC,MAAc;AACtC,QAAM;AAAA,IACJ,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC;AAAA,EACJ,IAAMN,GACEO,IAAQ;AAAA,IACZ,MAAM,CAAC,QAAQD,KAAW,WAAWJ,KAAY,YAAYC,MAAU,aAAa,QAAQK,EAAWL,CAAK,CAAC,IAAIC,KAAQ,OAAOI,EAAWJ,CAAI,CAAC,IAAI,OAAOI,EAAWH,CAAI,CAAC,EAAE;AAAA,IAC7K,kBAAkB,CAAC,kBAAkB;AAAA,IACrC,gBAAgB,CAAC,gBAAgB;AAAA,EACrC;AACE,SAAOI,EAAeF,GAAOG,GAA2BT,CAAO;AACjE,GACMU,IAAiBC,EAAOC,GAAY;AAAA,EACxC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,mBAAmB,CAACC,GAAOC,MAAW;AACpC,UAAM;AAAA,MACJ,YAAAf;AAAA,IACN,IAAQc;AACJ,WAAO,CAACC,EAAO,MAAMf,EAAW,WAAWe,EAAO,SAASf,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;AAAA,EAID,SAASD,EAAU;AAAA;AAAA;AAAA;AAAA,EAInB,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOrB,OAAOA,EAAgD,UAAU,CAACA,EAAU,MAAM,CAAC,WAAW,WAAW,WAAW,aAAa,SAAS,QAAQ,WAAW,SAAS,CAAC,GAAGA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAK3L,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKpB,oBAAoBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ9B,eAAeA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQzB,MAAMA,EAAU,MAAM,CAAC,OAAO,SAAS,EAAK,CAAC;AAAA;AAAA;AAAA;AAAA,EAI7C,IAAIA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMd,SAASA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOnB,kBAAkBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,MAAMA,EAAgD,UAAU,CAACA,EAAU,MAAM,CAAC,SAAS,UAAU,OAAO,CAAC,GAAGA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,EAIjI,IAAIA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,QAAQA,EAAU,IAAI,CAAC,CAAC,GAAGA,EAAU,MAAMA,EAAU,MAAM,CAAC;AACxJ;","x_google_ignoreList":[0]}
|
|
@@ -2,12 +2,12 @@ import { j as a } from "./ui-components.es12.js";
|
|
|
2
2
|
import { c as w } from "./ui-components.es13.js";
|
|
3
3
|
import { useGridApiRef as $, useKeepGroupedColumnsHidden as I, DataGridPremium as M } from "@mui/x-data-grid-premium";
|
|
4
4
|
import { useRef as E, useMemo as z, useCallback as O, useEffect as j } from "react";
|
|
5
|
-
import k from "./ui-components.
|
|
6
|
-
import { CustomToolbar as W } from "./ui-components.
|
|
7
|
-
import { HeaderWithTooltip as _ } from "./ui-components.
|
|
8
|
-
import { useContainerResize as N } from "./ui-components.
|
|
9
|
-
import B from "./ui-components.
|
|
10
|
-
import K from "./ui-components.
|
|
5
|
+
import k from "./ui-components.es14.js";
|
|
6
|
+
import { CustomToolbar as W } from "./ui-components.es15.js";
|
|
7
|
+
import { HeaderWithTooltip as _ } from "./ui-components.es16.js";
|
|
8
|
+
import { useContainerResize as N } from "./ui-components.es17.js";
|
|
9
|
+
import B from "./ui-components.es18.js";
|
|
10
|
+
import K from "./ui-components.es19.js";
|
|
11
11
|
const y = {
|
|
12
12
|
expand: !0,
|
|
13
13
|
includeHeaders: !0,
|
|
@@ -99,7 +99,7 @@ const y = {
|
|
|
99
99
|
e[2] !== s ? (i = {
|
|
100
100
|
display: "flex",
|
|
101
101
|
flexDirection: "column",
|
|
102
|
-
height: "
|
|
102
|
+
height: "min-content",
|
|
103
103
|
...s
|
|
104
104
|
}, e[2] = s, e[3] = i) : i = e[3];
|
|
105
105
|
let u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es4.js","sources":["../src/components/Table/Table.tsx"],"sourcesContent":["import {\n DataGridPremium,\n GridApiPremium,\n GridAutosizeOptions,\n GridColDef,\n GridColumnHeaderParams,\n GridToolbarProps,\n ToolbarPropsOverrides,\n useGridApiRef,\n useKeepGroupedColumnsHidden,\n} from \"@mui/x-data-grid-premium\";\nimport NoSsr from \"@mui/material/NoSsr\";\nimport Skeleton from \"@mui/material/Skeleton\";\nimport { useMemo, useEffect, useCallback, useRef, ReactNode, CSSProperties, RefObject } from \"react\";\nimport TableFallback from \"./EmptyFallback\";\nimport { TableProps } from \"./types\";\nimport { CustomToolbar } from \"./CustomToolbar\";\nimport { HeaderWithTooltip } from \"./HeaderWithToolip\";\nimport { useContainerResize } from \"./useContainerResize\";\n\nexport const autosizeOptions: GridAutosizeOptions = {\n expand: true,\n includeHeaders: true,\n outliersFactor: 1.5,\n};\n\ntype CustomDataGridProps = Omit<TableProps, \"emptyTableFallback\" | \"error\"> & { rows: NonNullable<TableProps[\"rows\"]> };\n\nconst CustomDataGridPremium = (props: CustomDataGridProps) => {\n const {\n pagination = true,\n columns,\n density = \"compact\",\n rows,\n apiRef: externalApiRef,\n showToolbar = true,\n divHeight,\n sx = {},\n slots = {},\n label,\n labelTooltip,\n downloadFileName,\n toolbarSlot,\n toolbarStyle,\n toolbarIconColor,\n initialState,\n onReady,\n ...restDataGridProps\n } = props;\n\n // Create a ref for the wrapper div to measure container resizing\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n const toolbarPropsRef = useRef({ label, downloadFileName, labelTooltip, toolbarSlot, toolbarStyle, toolbarIconColor });\n toolbarPropsRef.current = { label, downloadFileName, labelTooltip, toolbarSlot, toolbarStyle, toolbarIconColor };\n\n // Stable component identity regardless of toolbar prop changes, so DataGrid never unmounts/remounts the toolbar slot\n const CustomToolbarWrapper = useMemo(\n () => (props: GridToolbarProps & ToolbarPropsOverrides) => <CustomToolbar {...props} {...toolbarPropsRef.current} />,\n []\n );\n\n // This handles transforming columns of the TableColDef type back to GridColDef, dealing with adding the tooltip element to the RenderHeader\n const transformedColumns: GridColDef[] = useMemo(() => {\n return columns.map((col) => {\n // If no tooltip is defined, return the column as-is\n if (!col.tooltip) {\n return col;\n }\n\n // If tooltip exists, override the renderHeader with HeaderWithTooltip\n return {\n ...col,\n renderHeader: (params: GridColumnHeaderParams) => (\n <HeaderWithTooltip\n params={params}\n tooltipTitle={col.tooltip!} // We know it exists here\n originalRenderHeader={col.renderHeader} // Pass the user's custom renderer if it exists\n />\n ),\n };\n });\n }, [columns]);\n\n const internalApiRef = useGridApiRef();\n // prioritize using the provided apiRef if available, otherwise create a new one\n const apiRef = externalApiRef ?? internalApiRef;\n\n const handleResizeCols = useCallback(() => {\n // need to check .autosizeColumns since the current was being set with an empty object\n if (!apiRef.current?.autosizeColumns) return;\n apiRef.current.autosizeColumns(autosizeOptions);\n }, [apiRef]);\n\n // trigger resize when rows or columns change so that rows/columns don't need to be memoized outside of this component\n // otherwise sometimes would snap back to default widths when rows/columns change\n useEffect(() => {\n handleResizeCols();\n }, [rows, transformedColumns, handleResizeCols]);\n\n useEffect(() => {\n return apiRef.current?.subscribeEvent(\"rowExpansionChange\", (params) => {\n if (params.childrenExpanded) {\n apiRef.current?.autosizeColumns(autosizeOptions);\n }\n });\n }, [apiRef]);\n\n useEffect(() => {\n if (!apiRef.current) return;\n const cleanups = onReady?.(apiRef as RefObject<GridApiPremium>);\n if (!cleanups) return;\n if (Array.isArray(cleanups)) return () => cleanups.forEach(fn => fn());\n return cleanups;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n // Measure wrapper div for changes in size to trigger autosizeColumns\n // Both resize and viewportInnerSizeChange events on the DataGrid are triggered on column resize so couldn't use those instead\n useContainerResize(wrapperRef, handleResizeCols);\n\n const internalInitialState = useKeepGroupedColumnsHidden({\n apiRef,\n initialState,\n });\n\n return (\n <div ref={wrapperRef} style={{ width: \"100%\", height: '100%' }}>\n <DataGridPremium\n apiRef={apiRef}\n columns={transformedColumns}\n autosizeOnMount\n rows={rows}\n autosizeOptions={autosizeOptions}\n disableRowSelectionOnClick\n showToolbar={showToolbar}\n density={density}\n sx={{\n \"& .MuiDataGrid-toolbarDivider\": {\n height: \"20px\",\n },\n ...sx,\n }}\n slots={{\n toolbar: CustomToolbarWrapper,\n ...slots,\n }}\n disableAggregation\n disablePivoting\n initialState={internalInitialState}\n {...restDataGridProps}\n />\n </div>\n );\n};\n\nconst TableContainer = ({ divHeight = {}, children }: { divHeight?: CSSProperties; children: ReactNode }) => (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n ...divHeight,\n }}\n >\n {children}\n </div>\n);\n\nconst TableSSRBoundary = ({ children }: { children: ReactNode }) => (\n <NoSsr fallback={<Skeleton variant=\"rounded\" width=\"100%\" height=\"100%\" sx={{ minHeight: 100 }} />}>\n {children}\n </NoSsr>\n);\n\nconst Table = (props: TableProps) => {\n const {\n rows = [],\n emptyTableFallback,\n error = false,\n label,\n divHeight,\n ...restProps\n } = props;\n\n //Assign default ID if no ID is provided in the row data\n const rowsWithIds = useMemo(() => rows.map((row, index) => ({ ...row, id: row?.id || index })), [rows]);\n\n if (emptyTableFallback && rowsWithIds.length === 0 && !restProps.loading) {\n return typeof emptyTableFallback === \"string\" ? (\n <TableFallback message={emptyTableFallback} variant=\"empty\" />\n ) : (\n emptyTableFallback\n );\n }\n\n if (error) {\n return <TableFallback message={`Error fetching ${label}`} variant=\"error\" />;\n }\n\n return (\n <TableContainer divHeight={divHeight}>\n <TableSSRBoundary>\n <CustomDataGridPremium rows={rowsWithIds} label={label} {...restProps} />\n </TableSSRBoundary>\n </TableContainer>\n );\n};\n\nexport default Table;\n"],"names":["autosizeOptions","expand","includeHeaders","outliersFactor","CustomDataGridPremium","props","pagination","columns","density","rows","apiRef","externalApiRef","showToolbar","divHeight","sx","slots","label","labelTooltip","downloadFileName","toolbarSlot","toolbarStyle","toolbarIconColor","initialState","onReady","restDataGridProps","wrapperRef","useRef","toolbarPropsRef","current","CustomToolbarWrapper","useMemo","jsx","CustomToolbar","transformedColumns","map","col","tooltip","renderHeader","params","HeaderWithTooltip","internalApiRef","useGridApiRef","handleResizeCols","useCallback","autosizeColumns","useEffect","subscribeEvent","childrenExpanded","cleanups","Array","isArray","forEach","fn","useContainerResize","internalInitialState","useKeepGroupedColumnsHidden","width","height","DataGridPremium","toolbar","TableContainer","t0","$","_c","t1","children","t2","undefined","t3","display","flexDirection","t4","TableSSRBoundary","Symbol","for","Skeleton","minHeight","NoSsr","Table","emptyTableFallback","restProps","error","_temp","rowsWithIds","length","loading","TableFallback","t5","row","index","id"],"mappings":";;;;;;;;;;AAoBO,MAAMA,IAAuC;AAAA,EAClDC,QAAQ;AAAA,EACRC,gBAAgB;AAAA,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GridPremium,\n GridApiPremium,\n GridAutosizeOptions,\n GridColDef,\n GridColumnHeaderParams,\n GridToolbarProps,\n ToolbarPropsOverrides,\n useGridApiRef,\n useKeepGroupedColumnsHidden,\n} from \"@mui/x-data-grid-premium\";\nimport NoSsr from \"@mui/material/NoSsr\";\nimport Skeleton from \"@mui/material/Skeleton\";\nimport { useMemo, useEffect, useCallback, useRef, ReactNode, CSSProperties, RefObject } from \"react\";\nimport TableFallback from \"./EmptyFallback\";\nimport { TableProps } from \"./types\";\nimport { CustomToolbar } from \"./CustomToolbar\";\nimport { HeaderWithTooltip } from \"./HeaderWithToolip\";\nimport { useContainerResize } from \"./useContainerResize\";\n\nexport const autosizeOptions: GridAutosizeOptions = {\n expand: true,\n includeHeaders: true,\n outliersFactor: 1.5,\n};\n\ntype CustomDataGridProps = Omit<TableProps, \"emptyTableFallback\" | \"error\"> & { rows: NonNullable<TableProps[\"rows\"]> };\n\nconst CustomDataGridPremium = (props: CustomDataGridProps) => {\n const {\n pagination = true,\n columns,\n density = \"compact\",\n rows,\n apiRef: externalApiRef,\n showToolbar = true,\n divHeight,\n sx = {},\n slots = {},\n label,\n labelTooltip,\n downloadFileName,\n toolbarSlot,\n toolbarStyle,\n toolbarIconColor,\n initialState,\n onReady,\n ...restDataGridProps\n } = props;\n\n // Create a ref for the wrapper div to measure container resizing\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n const toolbarPropsRef = useRef({ label, downloadFileName, labelTooltip, toolbarSlot, toolbarStyle, toolbarIconColor });\n toolbarPropsRef.current = { label, downloadFileName, labelTooltip, toolbarSlot, toolbarStyle, toolbarIconColor };\n\n // Stable component identity regardless of toolbar prop changes, so DataGrid never unmounts/remounts the toolbar slot\n const CustomToolbarWrapper = useMemo(\n () => (props: GridToolbarProps & ToolbarPropsOverrides) => <CustomToolbar {...props} {...toolbarPropsRef.current} />,\n []\n );\n\n // This handles transforming columns of the TableColDef type back to GridColDef, dealing with adding the tooltip element to the RenderHeader\n const transformedColumns: GridColDef[] = useMemo(() => {\n return columns.map((col) => {\n // If no tooltip is defined, return the column as-is\n if (!col.tooltip) {\n return col;\n }\n\n // If tooltip exists, override the renderHeader with HeaderWithTooltip\n return {\n ...col,\n renderHeader: (params: GridColumnHeaderParams) => (\n <HeaderWithTooltip\n params={params}\n tooltipTitle={col.tooltip!} // We know it exists here\n originalRenderHeader={col.renderHeader} // Pass the user's custom renderer if it exists\n />\n ),\n };\n });\n }, [columns]);\n\n const internalApiRef = useGridApiRef();\n // prioritize using the provided apiRef if available, otherwise create a new one\n const apiRef = externalApiRef ?? internalApiRef;\n\n const handleResizeCols = useCallback(() => {\n // need to check .autosizeColumns since the current was being set with an empty object\n if (!apiRef.current?.autosizeColumns) return;\n apiRef.current.autosizeColumns(autosizeOptions);\n }, [apiRef]);\n\n // trigger resize when rows or columns change so that rows/columns don't need to be memoized outside of this component\n // otherwise sometimes would snap back to default widths when rows/columns change\n useEffect(() => {\n handleResizeCols();\n }, [rows, transformedColumns, handleResizeCols]);\n\n useEffect(() => {\n return apiRef.current?.subscribeEvent(\"rowExpansionChange\", (params) => {\n if (params.childrenExpanded) {\n apiRef.current?.autosizeColumns(autosizeOptions);\n }\n });\n }, [apiRef]);\n\n useEffect(() => {\n if (!apiRef.current) return;\n const cleanups = onReady?.(apiRef as RefObject<GridApiPremium>);\n if (!cleanups) return;\n if (Array.isArray(cleanups)) return () => cleanups.forEach(fn => fn());\n return cleanups;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n // Measure wrapper div for changes in size to trigger autosizeColumns\n // Both resize and viewportInnerSizeChange events on the DataGrid are triggered on column resize so couldn't use those instead\n useContainerResize(wrapperRef, handleResizeCols);\n\n const internalInitialState = useKeepGroupedColumnsHidden({\n apiRef,\n initialState,\n });\n\n return (\n <div ref={wrapperRef} style={{ width: \"100%\", height: '100%' }}>\n <DataGridPremium\n apiRef={apiRef}\n columns={transformedColumns}\n autosizeOnMount\n rows={rows}\n autosizeOptions={autosizeOptions}\n disableRowSelectionOnClick\n showToolbar={showToolbar}\n density={density}\n sx={{\n \"& .MuiDataGrid-toolbarDivider\": {\n height: \"20px\",\n },\n ...sx,\n }}\n slots={{\n toolbar: CustomToolbarWrapper,\n ...slots,\n }}\n disableAggregation\n disablePivoting\n initialState={internalInitialState}\n {...restDataGridProps}\n />\n </div>\n );\n};\n\nconst TableContainer = ({ divHeight = {}, children }: { divHeight?: CSSProperties; children: ReactNode }) => (\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n height: \"min-content\",\n ...divHeight,\n }}\n >\n {children}\n </div>\n);\n\nconst TableSSRBoundary = ({ children }: { children: ReactNode }) => (\n <NoSsr fallback={<Skeleton variant=\"rounded\" width=\"100%\" height=\"100%\" sx={{ minHeight: 100 }} />}>\n {children}\n </NoSsr>\n);\n\nconst Table = (props: TableProps) => {\n const {\n rows = [],\n emptyTableFallback,\n error = false,\n label,\n divHeight,\n ...restProps\n } = props;\n\n //Assign default ID if no ID is provided in the row data\n const rowsWithIds = useMemo(() => rows.map((row, index) => ({ ...row, id: row?.id || index })), [rows]);\n\n if (emptyTableFallback && rowsWithIds.length === 0 && !restProps.loading) {\n return typeof emptyTableFallback === \"string\" ? (\n <TableFallback message={emptyTableFallback} variant=\"empty\" />\n ) : (\n emptyTableFallback\n );\n }\n\n if (error) {\n return <TableFallback message={`Error fetching ${label}`} variant=\"error\" />;\n }\n\n return (\n <TableContainer divHeight={divHeight}>\n <TableSSRBoundary>\n <CustomDataGridPremium rows={rowsWithIds} label={label} {...restProps} />\n </TableSSRBoundary>\n </TableContainer>\n );\n};\n\nexport default Table;\n"],"names":["autosizeOptions","expand","includeHeaders","outliersFactor","CustomDataGridPremium","props","pagination","columns","density","rows","apiRef","externalApiRef","showToolbar","divHeight","sx","slots","label","labelTooltip","downloadFileName","toolbarSlot","toolbarStyle","toolbarIconColor","initialState","onReady","restDataGridProps","wrapperRef","useRef","toolbarPropsRef","current","CustomToolbarWrapper","useMemo","jsx","CustomToolbar","transformedColumns","map","col","tooltip","renderHeader","params","HeaderWithTooltip","internalApiRef","useGridApiRef","handleResizeCols","useCallback","autosizeColumns","useEffect","subscribeEvent","childrenExpanded","cleanups","Array","isArray","forEach","fn","useContainerResize","internalInitialState","useKeepGroupedColumnsHidden","width","height","DataGridPremium","toolbar","TableContainer","t0","$","_c","t1","children","t2","undefined","t3","display","flexDirection","t4","TableSSRBoundary","Symbol","for","Skeleton","minHeight","NoSsr","Table","emptyTableFallback","restProps","error","_temp","rowsWithIds","length","loading","TableFallback","t5","row","index","id"],"mappings":";;;;;;;;;;AAoBO,MAAMA,IAAuC;AAAA,EAClDC,QAAQ;AAAA,EACRC,gBAAgB;AAAA,EAChBC,gBAAgB;AAClB,GAIMC,IAAwBA,CAACC,MAA+B;AAC5D,QAAM;AAAA,IACJC,YAAAA,IAAa;AAAA,IACbC,SAAAA;AAAAA,IACAC,SAAAA,IAAU;AAAA,IACVC,MAAAA;AAAAA,IACAC,QAAQC;AAAAA,IACRC,aAAAA,IAAc;AAAA,IACdC,WAAAA;AAAAA,IACAC,IAAAA,IAAK,CAAA;AAAA,IACLC,OAAAA,IAAQ,CAAA;AAAA,IACRC,OAAAA;AAAAA,IACAC,cAAAA;AAAAA,IACAC,kBAAAA;AAAAA,IACAC,aAAAA;AAAAA,IACAC,cAAAA;AAAAA,IACAC,kBAAAA;AAAAA,IACAC,cAAAA;AAAAA,IACAC,SAAAA;AAAAA,IACA,GAAGC;AAAAA,EAAAA,IACDnB,GAGEoB,IAAaC,EAAuB,IAAI,GAExCC,IAAkBD,EAAO;AAAA,IAAEV,OAAAA;AAAAA,IAAOE,kBAAAA;AAAAA,IAAkBD,cAAAA;AAAAA,IAAcE,aAAAA;AAAAA,IAAaC,cAAAA;AAAAA,IAAcC,kBAAAA;AAAAA,EAAAA,CAAkB;AACrHM,EAAAA,EAAgBC,UAAU;AAAA,IAAEZ,OAAAA;AAAAA,IAAOE,kBAAAA;AAAAA,IAAkBD,cAAAA;AAAAA,IAAcE,aAAA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