@weng-lab/ui-components 2.2.1 → 2.2.2
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/src/components/TwoPaneLayout/useSyncedTable.d.ts +73 -7
- package/dist/src/components/TwoPaneLayout/useSyncedTable.d.ts.map +1 -1
- package/dist/ui-components.es10.js +1 -1
- package/dist/ui-components.es100.js +21 -4
- package/dist/ui-components.es100.js.map +1 -1
- package/dist/ui-components.es101.js +7 -6
- package/dist/ui-components.es101.js.map +1 -1
- package/dist/ui-components.es102.js +7 -4
- package/dist/ui-components.es102.js.map +1 -1
- package/dist/ui-components.es103.js +7 -7
- package/dist/ui-components.es103.js.map +1 -1
- package/dist/ui-components.es104.js +4 -9
- package/dist/ui-components.es104.js.map +1 -1
- package/dist/ui-components.es105.js +6 -4
- package/dist/ui-components.es105.js.map +1 -1
- package/dist/ui-components.es106.js +4 -7
- package/dist/ui-components.es106.js.map +1 -1
- package/dist/ui-components.es107.js +7 -5
- package/dist/ui-components.es107.js.map +1 -1
- package/dist/ui-components.es108.js +6 -29
- package/dist/ui-components.es108.js.map +1 -1
- package/dist/ui-components.es109.js +6 -6
- package/dist/ui-components.es109.js.map +1 -1
- package/dist/ui-components.es110.js +7 -6
- package/dist/ui-components.es110.js.map +1 -1
- package/dist/ui-components.es111.js +47 -6
- package/dist/ui-components.es111.js.map +1 -1
- package/dist/ui-components.es112.js +198 -8
- package/dist/ui-components.es112.js.map +1 -1
- package/dist/ui-components.es113.js +18 -47
- package/dist/ui-components.es113.js.map +1 -1
- package/dist/ui-components.es114.js +235 -153
- package/dist/ui-components.es114.js.map +1 -1
- package/dist/ui-components.es115.js +6 -18
- package/dist/ui-components.es115.js.map +1 -1
- package/dist/ui-components.es116.js +7 -280
- package/dist/ui-components.es116.js.map +1 -1
- package/dist/ui-components.es117.js +6 -7
- package/dist/ui-components.es117.js.map +1 -1
- package/dist/ui-components.es118.js +8 -6
- package/dist/ui-components.es118.js.map +1 -1
- package/dist/ui-components.es119.js +344 -7
- package/dist/ui-components.es119.js.map +1 -1
- package/dist/ui-components.es12.js +3 -3
- package/dist/ui-components.es120.js +7 -344
- package/dist/ui-components.es120.js.map +1 -1
- package/dist/ui-components.es121.js +4 -8
- package/dist/ui-components.es121.js.map +1 -1
- package/dist/ui-components.es122.js +5 -3
- package/dist/ui-components.es122.js.map +1 -1
- package/dist/ui-components.es123.js +20 -5
- package/dist/ui-components.es123.js.map +1 -1
- package/dist/ui-components.es124.js +10 -19
- package/dist/ui-components.es124.js.map +1 -1
- package/dist/ui-components.es125.js +7 -11
- package/dist/ui-components.es125.js.map +1 -1
- package/dist/ui-components.es126.js +24 -7
- package/dist/ui-components.es126.js.map +1 -1
- package/dist/ui-components.es127.js +159 -23
- package/dist/ui-components.es127.js.map +1 -1
- package/dist/ui-components.es128.js +3 -160
- package/dist/ui-components.es128.js.map +1 -1
- package/dist/ui-components.es129.js +4 -3
- package/dist/ui-components.es129.js.map +1 -1
- package/dist/ui-components.es13.js +10 -13
- package/dist/ui-components.es13.js.map +1 -1
- package/dist/ui-components.es130.js +3 -5
- package/dist/ui-components.es130.js.map +1 -1
- package/dist/ui-components.es131.js +22 -3
- package/dist/ui-components.es131.js.map +1 -1
- package/dist/ui-components.es132.js +3 -22
- package/dist/ui-components.es132.js.map +1 -1
- package/dist/ui-components.es134.js +7 -7
- package/dist/ui-components.es134.js.map +1 -1
- package/dist/ui-components.es135.js +4 -275
- package/dist/ui-components.es135.js.map +1 -1
- package/dist/ui-components.es136.js +4 -3
- package/dist/ui-components.es136.js.map +1 -1
- package/dist/ui-components.es137.js +36 -7
- package/dist/ui-components.es137.js.map +1 -1
- package/dist/ui-components.es138.js +275 -4
- package/dist/ui-components.es138.js.map +1 -1
- package/dist/ui-components.es139.js +311 -4
- package/dist/ui-components.es139.js.map +1 -1
- package/dist/ui-components.es140.js +6 -37
- package/dist/ui-components.es140.js.map +1 -1
- package/dist/ui-components.es141.js +6 -7
- package/dist/ui-components.es141.js.map +1 -1
- package/dist/ui-components.es142.js +6 -311
- package/dist/ui-components.es142.js.map +1 -1
- package/dist/ui-components.es143.js +8 -6
- package/dist/ui-components.es143.js.map +1 -1
- package/dist/ui-components.es144.js +60 -6
- package/dist/ui-components.es144.js.map +1 -1
- package/dist/ui-components.es145.js +8 -6
- package/dist/ui-components.es145.js.map +1 -1
- package/dist/ui-components.es146.js +7 -7
- package/dist/ui-components.es146.js.map +1 -1
- package/dist/ui-components.es147.js +7 -60
- package/dist/ui-components.es147.js.map +1 -1
- package/dist/ui-components.es148.js +7 -6
- package/dist/ui-components.es148.js.map +1 -1
- package/dist/ui-components.es149.js +25 -7
- package/dist/ui-components.es149.js.map +1 -1
- package/dist/ui-components.es150.js +29 -7
- package/dist/ui-components.es150.js.map +1 -1
- package/dist/ui-components.es151.js +11 -7
- package/dist/ui-components.es151.js.map +1 -1
- package/dist/ui-components.es152.js +4 -25
- package/dist/ui-components.es152.js.map +1 -1
- package/dist/ui-components.es153.js +195 -27
- package/dist/ui-components.es153.js.map +1 -1
- package/dist/ui-components.es154.js +189 -12
- package/dist/ui-components.es154.js.map +1 -1
- package/dist/ui-components.es155.js +9 -4
- package/dist/ui-components.es155.js.map +1 -1
- package/dist/ui-components.es156.js +22 -196
- package/dist/ui-components.es156.js.map +1 -1
- package/dist/ui-components.es157.js +7 -189
- package/dist/ui-components.es157.js.map +1 -1
- package/dist/ui-components.es158.js +6 -9
- package/dist/ui-components.es158.js.map +1 -1
- package/dist/ui-components.es159.js +6 -22
- package/dist/ui-components.es159.js.map +1 -1
- package/dist/ui-components.es16.js +3 -6
- package/dist/ui-components.es16.js.map +1 -1
- package/dist/ui-components.es160.js +2 -7
- package/dist/ui-components.es160.js.map +1 -1
- package/dist/ui-components.es161.js +3 -2
- package/dist/ui-components.es161.js.map +1 -1
- package/dist/ui-components.es162.js +32 -3
- package/dist/ui-components.es162.js.map +1 -1
- package/dist/ui-components.es163.js +15 -32
- package/dist/ui-components.es163.js.map +1 -1
- package/dist/ui-components.es164.js +56 -13
- package/dist/ui-components.es164.js.map +1 -1
- package/dist/ui-components.es165.js +121 -53
- package/dist/ui-components.es165.js.map +1 -1
- package/dist/ui-components.es166.js +4 -125
- package/dist/ui-components.es166.js.map +1 -1
- package/dist/ui-components.es167.js +4 -4
- package/dist/ui-components.es167.js.map +1 -1
- package/dist/ui-components.es168.js +3 -4
- package/dist/ui-components.es168.js.map +1 -1
- package/dist/ui-components.es169.js +101 -3
- package/dist/ui-components.es169.js.map +1 -1
- package/dist/ui-components.es17.js +41 -3
- package/dist/ui-components.es17.js.map +1 -1
- package/dist/ui-components.es170.js +6 -101
- package/dist/ui-components.es170.js.map +1 -1
- package/dist/ui-components.es171.js +63 -6
- package/dist/ui-components.es171.js.map +1 -1
- package/dist/ui-components.es172.js +162 -48
- package/dist/ui-components.es172.js.map +1 -1
- package/dist/ui-components.es173.js +168 -154
- package/dist/ui-components.es173.js.map +1 -1
- package/dist/ui-components.es174.js +7 -192
- package/dist/ui-components.es174.js.map +1 -1
- package/dist/ui-components.es175.js +269 -6
- package/dist/ui-components.es175.js.map +1 -1
- package/dist/ui-components.es176.js +169 -106
- package/dist/ui-components.es176.js.map +1 -1
- package/dist/ui-components.es177.js +108 -15
- package/dist/ui-components.es177.js.map +1 -1
- package/dist/ui-components.es178.js +57 -443
- package/dist/ui-components.es178.js.map +1 -1
- package/dist/ui-components.es179.js +45 -3
- package/dist/ui-components.es179.js.map +1 -1
- package/dist/ui-components.es18.js +6 -54
- package/dist/ui-components.es18.js.map +1 -1
- package/dist/ui-components.es180.js +3 -3
- package/dist/ui-components.es180.js.map +1 -1
- package/dist/ui-components.es181.js +7 -42
- package/dist/ui-components.es181.js.map +1 -1
- package/dist/ui-components.es182.js +155 -7
- package/dist/ui-components.es182.js.map +1 -1
- package/dist/ui-components.es183.js +4 -23
- package/dist/ui-components.es183.js.map +1 -1
- package/dist/ui-components.es184.js +37 -268
- package/dist/ui-components.es184.js.map +1 -1
- package/dist/ui-components.es185.js +23 -171
- package/dist/ui-components.es185.js.map +1 -1
- package/dist/ui-components.es186.js +7 -109
- package/dist/ui-components.es186.js.map +1 -1
- package/dist/ui-components.es187.js +26 -61
- package/dist/ui-components.es187.js.map +1 -1
- package/dist/ui-components.es188.js +119 -41
- package/dist/ui-components.es188.js.map +1 -1
- package/dist/ui-components.es189.js +13 -3
- package/dist/ui-components.es189.js.map +1 -1
- package/dist/ui-components.es19.js +6 -162
- package/dist/ui-components.es19.js.map +1 -1
- package/dist/ui-components.es190.js +5 -7
- package/dist/ui-components.es190.js.map +1 -1
- package/dist/ui-components.es191.js +293 -155
- package/dist/ui-components.es191.js.map +1 -1
- package/dist/ui-components.es192.js +93 -4
- package/dist/ui-components.es192.js.map +1 -1
- package/dist/ui-components.es193.js +9 -38
- package/dist/ui-components.es193.js.map +1 -1
- package/dist/ui-components.es194.js +81 -26
- package/dist/ui-components.es194.js.map +1 -1
- package/dist/ui-components.es195.js +77 -7
- package/dist/ui-components.es195.js.map +1 -1
- package/dist/ui-components.es196.js +16 -28
- package/dist/ui-components.es196.js.map +1 -1
- package/dist/ui-components.es197.js +2 -124
- package/dist/ui-components.es197.js.map +1 -1
- package/dist/ui-components.es198.js +6 -12
- package/dist/ui-components.es198.js.map +1 -1
- package/dist/ui-components.es199.js +412 -5
- package/dist/ui-components.es199.js.map +1 -1
- package/dist/ui-components.es2.js +30 -30
- package/dist/ui-components.es20.js +6 -41
- package/dist/ui-components.es20.js.map +1 -1
- package/dist/ui-components.es200.js +497 -293
- package/dist/ui-components.es200.js.map +1 -1
- package/dist/ui-components.es201.js +341 -91
- package/dist/ui-components.es201.js.map +1 -1
- package/dist/ui-components.es202.js +271 -9
- package/dist/ui-components.es202.js.map +1 -1
- package/dist/ui-components.es203.js +176 -81
- package/dist/ui-components.es203.js.map +1 -1
- package/dist/ui-components.es204.js +235 -75
- package/dist/ui-components.es204.js.map +1 -1
- package/dist/ui-components.es205.js +444 -11
- package/dist/ui-components.es205.js.map +1 -1
- package/dist/ui-components.es206.js +4 -2
- package/dist/ui-components.es206.js.map +1 -1
- package/dist/ui-components.es207.js +3 -7
- package/dist/ui-components.es207.js.map +1 -1
- package/dist/ui-components.es208.js +39 -409
- package/dist/ui-components.es208.js.map +1 -1
- package/dist/ui-components.es209.js +8 -498
- 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 +22 -342
- package/dist/ui-components.es210.js.map +1 -1
- package/dist/ui-components.es211.js +108 -268
- package/dist/ui-components.es211.js.map +1 -1
- package/dist/ui-components.es212.js +15 -175
- package/dist/ui-components.es212.js.map +1 -1
- package/dist/ui-components.es213.js +15 -238
- package/dist/ui-components.es213.js.map +1 -1
- package/dist/ui-components.es214.js +2 -4
- package/dist/ui-components.es214.js.map +1 -1
- package/dist/ui-components.es215.js +7 -14
- package/dist/ui-components.es215.js.map +1 -1
- package/dist/ui-components.es216.js +327 -2
- package/dist/ui-components.es216.js.map +1 -1
- package/dist/ui-components.es217.js +49 -7
- package/dist/ui-components.es217.js.map +1 -1
- package/dist/ui-components.es218.js +33 -325
- package/dist/ui-components.es218.js.map +1 -1
- package/dist/ui-components.es219.js +22 -49
- package/dist/ui-components.es219.js.map +1 -1
- package/dist/ui-components.es22.js +5 -5
- package/dist/ui-components.es22.js.map +1 -1
- package/dist/ui-components.es220.js +9 -32
- package/dist/ui-components.es220.js.map +1 -1
- package/dist/ui-components.es221.js +2 -23
- package/dist/ui-components.es221.js.map +1 -1
- package/dist/ui-components.es222.js +2 -12
- package/dist/ui-components.es222.js.map +1 -1
- package/dist/ui-components.es223.js +4 -2
- package/dist/ui-components.es223.js.map +1 -1
- package/dist/ui-components.es224.js +46 -2
- package/dist/ui-components.es224.js.map +1 -1
- package/dist/ui-components.es225.js +10 -3
- package/dist/ui-components.es225.js.map +1 -1
- package/dist/ui-components.es226.js +2 -46
- package/dist/ui-components.es226.js.map +1 -1
- package/dist/ui-components.es227.js +1 -10
- package/dist/ui-components.es227.js.map +1 -1
- package/dist/ui-components.es228.js +7 -2
- package/dist/ui-components.es228.js.map +1 -1
- package/dist/ui-components.es229.js +2 -2
- package/dist/ui-components.es23.js +5 -5
- package/dist/ui-components.es23.js.map +1 -1
- package/dist/ui-components.es230.js +2 -7
- package/dist/ui-components.es230.js.map +1 -1
- package/dist/ui-components.es231.js +7 -2
- package/dist/ui-components.es231.js.map +1 -1
- package/dist/ui-components.es232.js +9 -2
- package/dist/ui-components.es232.js.map +1 -1
- package/dist/ui-components.es233.js +4 -2
- package/dist/ui-components.es233.js.map +1 -1
- package/dist/ui-components.es234.js +23 -6
- package/dist/ui-components.es234.js.map +1 -1
- package/dist/ui-components.es235.js +117 -8
- package/dist/ui-components.es235.js.map +1 -1
- package/dist/ui-components.es237.js +3 -4
- package/dist/ui-components.es237.js.map +1 -1
- package/dist/ui-components.es238.js +15 -17
- package/dist/ui-components.es238.js.map +1 -1
- package/dist/ui-components.es239.js +39 -9
- package/dist/ui-components.es239.js.map +1 -1
- package/dist/ui-components.es24.js +5 -5
- package/dist/ui-components.es24.js.map +1 -1
- package/dist/ui-components.es240.js +4 -7
- package/dist/ui-components.es240.js.map +1 -1
- package/dist/ui-components.es241.js +16 -7
- package/dist/ui-components.es241.js.map +1 -1
- package/dist/ui-components.es242.js +8 -7
- package/dist/ui-components.es242.js.map +1 -1
- package/dist/ui-components.es243.js +7 -7
- 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 +8 -5
- package/dist/ui-components.es245.js.map +1 -1
- package/dist/ui-components.es246.js +7 -10
- package/dist/ui-components.es246.js.map +1 -1
- package/dist/ui-components.es247.js +9 -42
- package/dist/ui-components.es247.js.map +1 -1
- package/dist/ui-components.es248.js +4 -23
- package/dist/ui-components.es248.js.map +1 -1
- package/dist/ui-components.es249.js +10 -117
- package/dist/ui-components.es249.js.map +1 -1
- package/dist/ui-components.es25.js +254 -5
- package/dist/ui-components.es25.js.map +1 -1
- package/dist/ui-components.es250.js +42 -4
- package/dist/ui-components.es250.js.map +1 -1
- package/dist/ui-components.es251.js +2 -15
- package/dist/ui-components.es251.js.map +1 -1
- package/dist/ui-components.es252.js +3 -38
- package/dist/ui-components.es252.js.map +1 -1
- package/dist/ui-components.es253.js +3 -3
- package/dist/ui-components.es253.js.map +1 -1
- package/dist/ui-components.es254.js +11 -3
- package/dist/ui-components.es254.js.map +1 -1
- package/dist/ui-components.es255.js +2 -12
- package/dist/ui-components.es255.js.map +1 -1
- package/dist/ui-components.es256.js +68 -3
- package/dist/ui-components.es256.js.map +1 -1
- package/dist/ui-components.es257.js +84 -6
- package/dist/ui-components.es257.js.map +1 -1
- package/dist/ui-components.es258.js +44 -474
- package/dist/ui-components.es258.js.map +1 -1
- package/dist/ui-components.es259.js +7 -167
- package/dist/ui-components.es259.js.map +1 -1
- package/dist/ui-components.es26.js +726 -6
- package/dist/ui-components.es26.js.map +1 -1
- package/dist/ui-components.es260.js +4 -24
- package/dist/ui-components.es260.js.map +1 -1
- package/dist/ui-components.es261.js +51 -34
- package/dist/ui-components.es261.js.map +1 -1
- package/dist/ui-components.es262.js +30 -7
- package/dist/ui-components.es262.js.map +1 -1
- package/dist/ui-components.es264.js +2 -2
- package/dist/ui-components.es265.js +1 -1
- package/dist/ui-components.es266.js +1 -1
- package/dist/ui-components.es267.js +2 -2
- package/dist/ui-components.es268.js +520 -7
- package/dist/ui-components.es268.js.map +1 -1
- package/dist/ui-components.es269.js +6 -2
- package/dist/ui-components.es269.js.map +1 -1
- package/dist/ui-components.es27.js +660 -6
- package/dist/ui-components.es27.js.map +1 -1
- package/dist/ui-components.es270.js +230 -64
- package/dist/ui-components.es270.js.map +1 -1
- package/dist/ui-components.es271.js +7 -84
- package/dist/ui-components.es271.js.map +1 -1
- package/dist/ui-components.es272.js +6 -47
- package/dist/ui-components.es272.js.map +1 -1
- package/dist/ui-components.es273.js +6 -8
- package/dist/ui-components.es273.js.map +1 -1
- package/dist/ui-components.es274.js +6 -5
- package/dist/ui-components.es274.js.map +1 -1
- package/dist/ui-components.es275.js +6 -52
- package/dist/ui-components.es275.js.map +1 -1
- package/dist/ui-components.es276.js +7 -232
- package/dist/ui-components.es276.js.map +1 -1
- package/dist/ui-components.es277.js +232 -2
- package/dist/ui-components.es277.js.map +1 -1
- package/dist/ui-components.es278.js +2 -2
- package/dist/ui-components.es279.js +1 -9
- package/dist/ui-components.es279.js.map +1 -1
- package/dist/ui-components.es28.js +51 -231
- package/dist/ui-components.es28.js.map +1 -1
- package/dist/ui-components.es280.js +10 -2
- package/dist/ui-components.es280.js.map +1 -1
- package/dist/ui-components.es281.js +2 -2
- package/dist/ui-components.es282.js +2 -31
- package/dist/ui-components.es282.js.map +1 -1
- package/dist/ui-components.es283.js +220 -498
- package/dist/ui-components.es283.js.map +1 -1
- package/dist/ui-components.es284.js +8 -6
- package/dist/ui-components.es284.js.map +1 -1
- package/dist/ui-components.es285.js +45 -230
- package/dist/ui-components.es285.js.map +1 -1
- package/dist/ui-components.es286.js +3 -8
- package/dist/ui-components.es286.js.map +1 -1
- package/dist/ui-components.es287.js +7 -6
- package/dist/ui-components.es287.js.map +1 -1
- package/dist/ui-components.es288.js +7 -6
- package/dist/ui-components.es288.js.map +1 -1
- package/dist/ui-components.es289.js +6 -6
- package/dist/ui-components.es289.js.map +1 -1
- package/dist/ui-components.es29.js +76 -690
- package/dist/ui-components.es29.js.map +1 -1
- package/dist/ui-components.es290.js +323 -6
- package/dist/ui-components.es290.js.map +1 -1
- package/dist/ui-components.es291.js +6 -6
- package/dist/ui-components.es291.js.map +1 -1
- package/dist/ui-components.es292.js +7 -243
- package/dist/ui-components.es292.js.map +1 -1
- package/dist/ui-components.es293.js +3 -7
- package/dist/ui-components.es293.js.map +1 -1
- package/dist/ui-components.es294.js +6 -48
- package/dist/ui-components.es294.js.map +1 -1
- package/dist/ui-components.es295.js +15 -3
- package/dist/ui-components.es295.js.map +1 -1
- package/dist/ui-components.es296.js +333 -6
- package/dist/ui-components.es296.js.map +1 -1
- package/dist/ui-components.es297.js +6 -6
- package/dist/ui-components.es297.js.map +1 -1
- package/dist/ui-components.es298.js +169 -6
- package/dist/ui-components.es298.js.map +1 -1
- package/dist/ui-components.es299.js +19 -6
- package/dist/ui-components.es299.js.map +1 -1
- package/dist/ui-components.es3.js +2 -2
- package/dist/ui-components.es30.js +145 -565
- package/dist/ui-components.es30.js.map +1 -1
- package/dist/ui-components.es300.js +51 -15
- package/dist/ui-components.es300.js.map +1 -1
- package/dist/ui-components.es301.js +5 -332
- package/dist/ui-components.es301.js.map +1 -1
- package/dist/ui-components.es302.js +26 -310
- package/dist/ui-components.es302.js.map +1 -1
- package/dist/ui-components.es303.js +19 -6
- package/dist/ui-components.es303.js.map +1 -1
- package/dist/ui-components.es304.js +39 -143
- package/dist/ui-components.es304.js.map +1 -1
- package/dist/ui-components.es305.js +3 -11
- package/dist/ui-components.es305.js.map +1 -1
- package/dist/ui-components.es306.js +8 -3
- package/dist/ui-components.es306.js.map +1 -1
- package/dist/ui-components.es307.js +40 -15
- package/dist/ui-components.es307.js.map +1 -1
- package/dist/ui-components.es308.js +63 -17
- package/dist/ui-components.es308.js.map +1 -1
- package/dist/ui-components.es309.js +48 -6
- package/dist/ui-components.es309.js.map +1 -1
- package/dist/ui-components.es31.js +170 -49
- package/dist/ui-components.es31.js.map +1 -1
- package/dist/ui-components.es310.js +7 -3
- package/dist/ui-components.es310.js.map +1 -1
- package/dist/ui-components.es311.js +76 -7
- package/dist/ui-components.es311.js.map +1 -1
- package/dist/ui-components.es312.js +23 -168
- package/dist/ui-components.es312.js.map +1 -1
- package/dist/ui-components.es313.js +59 -37
- package/dist/ui-components.es313.js.map +1 -1
- package/dist/ui-components.es314.js +4 -19
- package/dist/ui-components.es314.js.map +1 -1
- package/dist/ui-components.es315.js +3 -43
- package/dist/ui-components.es315.js.map +1 -1
- package/dist/ui-components.es316.js +26 -3
- package/dist/ui-components.es316.js.map +1 -1
- package/dist/ui-components.es317.js +12 -7
- package/dist/ui-components.es317.js.map +1 -1
- package/dist/ui-components.es318.js +15 -40
- package/dist/ui-components.es318.js.map +1 -1
- package/dist/ui-components.es319.js +9 -64
- package/dist/ui-components.es319.js.map +1 -1
- package/dist/ui-components.es32.js +50 -87
- package/dist/ui-components.es32.js.map +1 -1
- package/dist/ui-components.es320.js +8 -47
- package/dist/ui-components.es320.js.map +1 -1
- package/dist/ui-components.es321.js +146 -7
- package/dist/ui-components.es321.js.map +1 -1
- package/dist/ui-components.es322.js +11 -76
- package/dist/ui-components.es322.js.map +1 -1
- package/dist/ui-components.es323.js +19 -20
- package/dist/ui-components.es323.js.map +1 -1
- package/dist/ui-components.es324.js +3 -51
- package/dist/ui-components.es324.js.map +1 -1
- package/dist/ui-components.es325.js +11 -6
- package/dist/ui-components.es325.js.map +1 -1
- package/dist/ui-components.es326.js +11 -23
- package/dist/ui-components.es326.js.map +1 -1
- package/dist/ui-components.es327.js +148 -4
- package/dist/ui-components.es327.js.map +1 -1
- package/dist/ui-components.es328.js +10 -59
- package/dist/ui-components.es328.js.map +1 -1
- package/dist/ui-components.es329.js +6 -25
- package/dist/ui-components.es329.js.map +1 -1
- package/dist/ui-components.es33.js +423 -202
- package/dist/ui-components.es33.js.map +1 -1
- package/dist/ui-components.es330.js +170 -12
- package/dist/ui-components.es330.js.map +1 -1
- package/dist/ui-components.es331.js +7 -9
- package/dist/ui-components.es331.js.map +1 -1
- package/dist/ui-components.es332.js +7 -9
- package/dist/ui-components.es332.js.map +1 -1
- package/dist/ui-components.es333.js +2 -8
- package/dist/ui-components.es333.js.map +1 -1
- package/dist/ui-components.es334.js +2 -2
- package/dist/ui-components.es335.js +7 -65
- package/dist/ui-components.es335.js.map +1 -1
- package/dist/ui-components.es336.js +8 -65
- package/dist/ui-components.es336.js.map +1 -1
- package/dist/ui-components.es337.js +71 -11
- package/dist/ui-components.es337.js.map +1 -1
- package/dist/ui-components.es338.js +118 -12
- package/dist/ui-components.es338.js.map +1 -1
- package/dist/ui-components.es339.js +5 -148
- package/dist/ui-components.es339.js.map +1 -1
- package/dist/ui-components.es34.js +10 -195
- package/dist/ui-components.es34.js.map +1 -1
- package/dist/ui-components.es340.js +25 -12
- package/dist/ui-components.es340.js.map +1 -1
- package/dist/ui-components.es341.js +2 -7
- package/dist/ui-components.es341.js.map +1 -1
- package/dist/ui-components.es342.js +208 -170
- package/dist/ui-components.es342.js.map +1 -1
- package/dist/ui-components.es343.js +7 -7
- package/dist/ui-components.es343.js.map +1 -1
- package/dist/ui-components.es344.js +2 -8
- package/dist/ui-components.es344.js.map +1 -1
- package/dist/ui-components.es345.js +66 -2
- package/dist/ui-components.es345.js.map +1 -1
- package/dist/ui-components.es346.js +66 -2
- package/dist/ui-components.es346.js.map +1 -1
- package/dist/ui-components.es347.js +6 -7
- package/dist/ui-components.es347.js.map +1 -1
- package/dist/ui-components.es348.js +476 -8
- package/dist/ui-components.es348.js.map +1 -1
- package/dist/ui-components.es349.js +148 -52
- package/dist/ui-components.es349.js.map +1 -1
- package/dist/ui-components.es35.js +617 -50
- package/dist/ui-components.es35.js.map +1 -1
- package/dist/ui-components.es350.js +7 -118
- package/dist/ui-components.es350.js.map +1 -1
- package/dist/ui-components.es351.js +2 -6
- package/dist/ui-components.es351.js.map +1 -1
- package/dist/ui-components.es352.js +2 -25
- package/dist/ui-components.es352.js.map +1 -1
- package/dist/ui-components.es353.js +10 -2
- package/dist/ui-components.es353.js.map +1 -1
- package/dist/ui-components.es354.js +10 -2
- package/dist/ui-components.es354.js.map +1 -1
- package/dist/ui-components.es355.js +5 -2
- package/dist/ui-components.es355.js.map +1 -1
- package/dist/ui-components.es356.js +4 -6
- package/dist/ui-components.es356.js.map +1 -1
- package/dist/ui-components.es357.js +3 -125
- package/dist/ui-components.es357.js.map +1 -1
- package/dist/ui-components.es358.js +71 -6
- package/dist/ui-components.es358.js.map +1 -1
- package/dist/ui-components.es359.js +4 -10
- package/dist/ui-components.es359.js.map +1 -1
- package/dist/ui-components.es36.js +246 -412
- package/dist/ui-components.es36.js.map +1 -1
- package/dist/ui-components.es360.js +19 -10
- package/dist/ui-components.es360.js.map +1 -1
- package/dist/ui-components.es361.js +4 -5
- package/dist/ui-components.es361.js.map +1 -1
- package/dist/ui-components.es362.js +24 -4
- package/dist/ui-components.es362.js.map +1 -1
- package/dist/ui-components.es363.js +35 -3
- package/dist/ui-components.es363.js.map +1 -1
- package/dist/ui-components.es364.js +7 -71
- package/dist/ui-components.es364.js.map +1 -1
- package/dist/ui-components.es365.js +8 -4
- package/dist/ui-components.es365.js.map +1 -1
- package/dist/ui-components.es366.js +29 -19
- package/dist/ui-components.es366.js.map +1 -1
- package/dist/ui-components.es367.js +119 -3
- package/dist/ui-components.es367.js.map +1 -1
- package/dist/ui-components.es368.js +30 -2
- package/dist/ui-components.es368.js.map +1 -1
- package/dist/ui-components.es369.js +11 -29
- package/dist/ui-components.es369.js.map +1 -1
- package/dist/ui-components.es37.js +120 -10
- package/dist/ui-components.es37.js.map +1 -1
- package/dist/ui-components.es370.js +13 -119
- package/dist/ui-components.es370.js.map +1 -1
- package/dist/ui-components.es371.js +30 -27
- package/dist/ui-components.es371.js.map +1 -1
- package/dist/ui-components.es372.js +28 -10
- package/dist/ui-components.es372.js.map +1 -1
- package/dist/ui-components.es373.js +10 -13
- package/dist/ui-components.es373.js.map +1 -1
- package/dist/ui-components.es374.js +12 -32
- package/dist/ui-components.es374.js.map +1 -1
- package/dist/ui-components.es375.js +16 -27
- package/dist/ui-components.es375.js.map +1 -1
- package/dist/ui-components.es376.js +22 -9
- package/dist/ui-components.es376.js.map +1 -1
- package/dist/ui-components.es377.js +15 -11
- package/dist/ui-components.es377.js.map +1 -1
- package/dist/ui-components.es378.js +94 -15
- package/dist/ui-components.es378.js.map +1 -1
- package/dist/ui-components.es379.js +38 -17
- package/dist/ui-components.es379.js.map +1 -1
- package/dist/ui-components.es38.js +88 -604
- package/dist/ui-components.es38.js.map +1 -1
- package/dist/ui-components.es380.js +26 -14
- package/dist/ui-components.es380.js.map +1 -1
- package/dist/ui-components.es381.js +66 -91
- package/dist/ui-components.es381.js.map +1 -1
- package/dist/ui-components.es382.js +48 -41
- package/dist/ui-components.es382.js.map +1 -1
- package/dist/ui-components.es383.js +29 -23
- package/dist/ui-components.es383.js.map +1 -1
- package/dist/ui-components.es384.js +37 -67
- package/dist/ui-components.es384.js.map +1 -1
- package/dist/ui-components.es385.js +5 -51
- package/dist/ui-components.es385.js.map +1 -1
- package/dist/ui-components.es386.js +6 -34
- package/dist/ui-components.es386.js.map +1 -1
- package/dist/ui-components.es387.js +123 -40
- package/dist/ui-components.es387.js.map +1 -1
- package/dist/ui-components.es388.js +3 -5
- package/dist/ui-components.es388.js.map +1 -1
- package/dist/ui-components.es389.js +3 -6
- package/dist/ui-components.es389.js.map +1 -1
- package/dist/ui-components.es39.js +47 -273
- package/dist/ui-components.es39.js.map +1 -1
- package/dist/ui-components.es390.js +15 -3
- package/dist/ui-components.es390.js.map +1 -1
- package/dist/ui-components.es391.js +3 -3
- package/dist/ui-components.es391.js.map +1 -1
- package/dist/ui-components.es392.js +9 -15
- package/dist/ui-components.es392.js.map +1 -1
- package/dist/ui-components.es393.js +4 -3
- package/dist/ui-components.es393.js.map +1 -1
- package/dist/ui-components.es394.js +5 -9
- package/dist/ui-components.es394.js.map +1 -1
- package/dist/ui-components.es395.js +9 -4
- package/dist/ui-components.es395.js.map +1 -1
- package/dist/ui-components.es396.js +7 -5
- package/dist/ui-components.es396.js.map +1 -1
- package/dist/ui-components.es397.js +4 -9
- package/dist/ui-components.es397.js.map +1 -1
- package/dist/ui-components.es398.js +3 -7
- package/dist/ui-components.es398.js.map +1 -1
- package/dist/ui-components.es399.js +4 -5
- package/dist/ui-components.es399.js.map +1 -1
- package/dist/ui-components.es4.js +5 -5
- package/dist/ui-components.es40.js +216 -78
- package/dist/ui-components.es40.js.map +1 -1
- package/dist/ui-components.es400.js +11 -3
- package/dist/ui-components.es400.js.map +1 -1
- package/dist/ui-components.es401.js +10 -4
- package/dist/ui-components.es401.js.map +1 -1
- package/dist/ui-components.es402.js +30 -11
- package/dist/ui-components.es402.js.map +1 -1
- package/dist/ui-components.es403.js +23 -8
- package/dist/ui-components.es403.js.map +1 -1
- package/dist/ui-components.es404.js +50 -29
- package/dist/ui-components.es404.js.map +1 -1
- package/dist/ui-components.es405.js +3 -24
- package/dist/ui-components.es405.js.map +1 -1
- package/dist/ui-components.es406.js +8 -51
- package/dist/ui-components.es406.js.map +1 -1
- package/dist/ui-components.es407.js +20 -3
- package/dist/ui-components.es407.js.map +1 -1
- package/dist/ui-components.es408.js +7 -8
- package/dist/ui-components.es408.js.map +1 -1
- package/dist/ui-components.es409.js +6 -20
- package/dist/ui-components.es409.js.map +1 -1
- package/dist/ui-components.es41.js +224 -87
- package/dist/ui-components.es41.js.map +1 -1
- package/dist/ui-components.es410.js +5 -7
- package/dist/ui-components.es410.js.map +1 -1
- package/dist/ui-components.es411.js +7 -6
- package/dist/ui-components.es411.js.map +1 -1
- package/dist/ui-components.es412.js +15 -5
- package/dist/ui-components.es412.js.map +1 -1
- package/dist/ui-components.es413.js +4 -7
- package/dist/ui-components.es413.js.map +1 -1
- package/dist/ui-components.es414.js +6 -15
- package/dist/ui-components.es414.js.map +1 -1
- package/dist/ui-components.es415.js +34 -4
- package/dist/ui-components.es415.js.map +1 -1
- package/dist/ui-components.es416.js +8 -6
- package/dist/ui-components.es416.js.map +1 -1
- package/dist/ui-components.es417.js +2 -35
- package/dist/ui-components.es417.js.map +1 -1
- package/dist/ui-components.es418.js +3 -7
- package/dist/ui-components.es418.js.map +1 -1
- package/dist/ui-components.es419.js +8 -4
- package/dist/ui-components.es419.js.map +1 -1
- package/dist/ui-components.es42.js +16 -53
- package/dist/ui-components.es42.js.map +1 -1
- package/dist/ui-components.es420.js +4 -6
- package/dist/ui-components.es420.js.map +1 -1
- package/dist/ui-components.es421.js +16 -4
- package/dist/ui-components.es421.js.map +1 -1
- package/dist/ui-components.es422.js +13 -17
- package/dist/ui-components.es422.js.map +1 -1
- package/dist/ui-components.es423.js +6 -14
- package/dist/ui-components.es423.js.map +1 -1
- package/dist/ui-components.es43.js +285 -195
- package/dist/ui-components.es43.js.map +1 -1
- package/dist/ui-components.es44.js +106 -214
- package/dist/ui-components.es44.js.map +1 -1
- package/dist/ui-components.es45.js +143 -32
- package/dist/ui-components.es45.js.map +1 -1
- package/dist/ui-components.es46.js +20 -349
- package/dist/ui-components.es46.js.map +1 -1
- package/dist/ui-components.es47.js +122 -152
- package/dist/ui-components.es47.js.map +1 -1
- package/dist/ui-components.es48.js +35 -142
- package/dist/ui-components.es48.js.map +1 -1
- package/dist/ui-components.es49.js +22 -19
- package/dist/ui-components.es49.js.map +1 -1
- package/dist/ui-components.es5.js +7 -7
- package/dist/ui-components.es50.js +252 -124
- package/dist/ui-components.es50.js.map +1 -1
- package/dist/ui-components.es51.js +39 -36
- package/dist/ui-components.es51.js.map +1 -1
- package/dist/ui-components.es52.js +1026 -23
- package/dist/ui-components.es52.js.map +1 -1
- package/dist/ui-components.es53.js +98 -227
- package/dist/ui-components.es53.js.map +1 -1
- package/dist/ui-components.es54.js +374 -27
- package/dist/ui-components.es54.js.map +1 -1
- package/dist/ui-components.es55.js +67 -1023
- package/dist/ui-components.es55.js.map +1 -1
- package/dist/ui-components.es56.js +29 -123
- package/dist/ui-components.es56.js.map +1 -1
- package/dist/ui-components.es57.js +27 -386
- package/dist/ui-components.es57.js.map +1 -1
- package/dist/ui-components.es58.js +42 -211
- package/dist/ui-components.es58.js.map +1 -1
- package/dist/ui-components.es59.js +20 -241
- package/dist/ui-components.es59.js.map +1 -1
- package/dist/ui-components.es6.js +4 -4
- package/dist/ui-components.es60.js +210 -68
- package/dist/ui-components.es60.js.map +1 -1
- package/dist/ui-components.es61.js +241 -29
- package/dist/ui-components.es61.js.map +1 -1
- package/dist/ui-components.es62.js +6 -27
- package/dist/ui-components.es62.js.map +1 -1
- package/dist/ui-components.es63.js +53 -42
- package/dist/ui-components.es63.js.map +1 -1
- package/dist/ui-components.es64.js +160 -19
- package/dist/ui-components.es64.js.map +1 -1
- package/dist/ui-components.es67.js +1 -1
- package/dist/ui-components.es68.js +1 -1
- package/dist/ui-components.es7.js +2 -2
- package/dist/ui-components.es71.js +1 -1
- package/dist/ui-components.es72.js +1 -1
- package/dist/ui-components.es73.js +6 -2
- package/dist/ui-components.es73.js.map +1 -1
- package/dist/ui-components.es74.js +6 -2
- package/dist/ui-components.es74.js.map +1 -1
- package/dist/ui-components.es75.js +6 -2
- package/dist/ui-components.es75.js.map +1 -1
- package/dist/ui-components.es76.js +6 -2
- package/dist/ui-components.es76.js.map +1 -1
- package/dist/ui-components.es77.js +297 -6
- package/dist/ui-components.es77.js.map +1 -1
- package/dist/ui-components.es78.js +330 -5
- package/dist/ui-components.es78.js.map +1 -1
- package/dist/ui-components.es79.js +284 -6
- package/dist/ui-components.es79.js.map +1 -1
- package/dist/ui-components.es8.js +1 -1
- package/dist/ui-components.es80.js +261 -6
- package/dist/ui-components.es80.js.map +1 -1
- package/dist/ui-components.es81.js +112 -238
- package/dist/ui-components.es81.js.map +1 -1
- package/dist/ui-components.es82.js +11 -329
- package/dist/ui-components.es82.js.map +1 -1
- package/dist/ui-components.es83.js +15 -284
- package/dist/ui-components.es83.js.map +1 -1
- package/dist/ui-components.es84.js +2 -261
- package/dist/ui-components.es84.js.map +1 -1
- package/dist/ui-components.es85.js +2 -171
- package/dist/ui-components.es85.js.map +1 -1
- package/dist/ui-components.es86.js +2 -13
- package/dist/ui-components.es86.js.map +1 -1
- package/dist/ui-components.es87.js +2 -209
- package/dist/ui-components.es87.js.map +1 -1
- package/dist/ui-components.es88.js +4 -14
- package/dist/ui-components.es88.js.map +1 -1
- package/dist/ui-components.es89.js +11 -5
- package/dist/ui-components.es89.js.map +1 -1
- package/dist/ui-components.es9.js +3 -3
- package/dist/ui-components.es90.js +3 -11
- package/dist/ui-components.es90.js.map +1 -1
- package/dist/ui-components.es91.js +15 -3
- package/dist/ui-components.es91.js.map +1 -1
- package/dist/ui-components.es92.js +6 -12
- package/dist/ui-components.es92.js.map +1 -1
- package/dist/ui-components.es93.js +1 -1
- package/dist/ui-components.es94.js +4 -6
- package/dist/ui-components.es94.js.map +1 -1
- package/dist/ui-components.es95.js +6 -7
- package/dist/ui-components.es95.js.map +1 -1
- package/dist/ui-components.es96.js +2 -2
- package/dist/ui-components.es98.js +5 -20
- package/dist/ui-components.es98.js.map +1 -1
- package/dist/ui-components.es99.js +29 -7
- package/dist/ui-components.es99.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,28 +1,164 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import r from "./ui-components.es88.js";
|
|
3
|
+
import { j as v } from "./ui-components.es15.js";
|
|
4
|
+
import B from "./ui-components.es126.js";
|
|
5
|
+
import C from "./ui-components.es167.js";
|
|
6
|
+
import I from "./ui-components.es151.js";
|
|
7
|
+
import O from "./ui-components.es90.js";
|
|
8
|
+
import V from "./ui-components.es82.js";
|
|
9
|
+
function m(i) {
|
|
10
|
+
return parseInt(i, 10) || 0;
|
|
11
|
+
}
|
|
12
|
+
const _ = {
|
|
13
|
+
shadow: {
|
|
14
|
+
// Visibility needed to hide the extra text area on iPads
|
|
15
|
+
visibility: "hidden",
|
|
16
|
+
// Remove from the content flow
|
|
17
|
+
position: "absolute",
|
|
18
|
+
// Ignore the scrollbar width
|
|
19
|
+
overflow: "hidden",
|
|
20
|
+
height: 0,
|
|
21
|
+
top: 0,
|
|
22
|
+
left: 0,
|
|
23
|
+
// Create a new layer, increase the isolation of the computed values
|
|
24
|
+
transform: "translateZ(0)"
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
function q(i) {
|
|
28
|
+
for (const c in i)
|
|
29
|
+
return !1;
|
|
30
|
+
return !0;
|
|
31
|
+
}
|
|
32
|
+
function E(i) {
|
|
33
|
+
return q(i) || i.outerHeightStyle === 0 && !i.overflowing;
|
|
34
|
+
}
|
|
35
|
+
const D = /* @__PURE__ */ s.forwardRef(function(c, z) {
|
|
36
|
+
const {
|
|
37
|
+
onChange: b,
|
|
38
|
+
maxRows: g,
|
|
39
|
+
minRows: d = 1,
|
|
40
|
+
style: w,
|
|
41
|
+
value: R,
|
|
42
|
+
...N
|
|
43
|
+
} = c, {
|
|
44
|
+
current: W
|
|
45
|
+
} = s.useRef(R != null), l = s.useRef(null), j = B(z, l), f = s.useRef(null), S = s.useRef(null), h = s.useCallback(() => {
|
|
46
|
+
const t = l.current, e = S.current;
|
|
47
|
+
if (!t || !e)
|
|
48
|
+
return;
|
|
49
|
+
const n = C(t).getComputedStyle(t);
|
|
50
|
+
if (n.width === "0px")
|
|
51
|
+
return {
|
|
52
|
+
outerHeightStyle: 0,
|
|
53
|
+
overflowing: !1
|
|
15
54
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
55
|
+
e.style.width = n.width, e.value = t.value || c.placeholder || "x", e.value.slice(-1) === `
|
|
56
|
+
` && (e.value += " ");
|
|
57
|
+
const x = n.boxSizing, F = m(n.paddingBottom) + m(n.paddingTop), L = m(n.borderBottomWidth) + m(n.borderTopWidth), T = e.scrollHeight;
|
|
58
|
+
e.value = "x";
|
|
59
|
+
const y = e.scrollHeight;
|
|
60
|
+
let a = T;
|
|
61
|
+
d && (a = Math.max(Number(d) * y, a)), g && (a = Math.min(Number(g) * y, a)), a = Math.max(a, y);
|
|
62
|
+
const k = a + (x === "border-box" ? F + L : 0), M = Math.abs(a - T) <= 1;
|
|
63
|
+
return {
|
|
64
|
+
outerHeightStyle: k,
|
|
65
|
+
overflowing: M
|
|
19
66
|
};
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
67
|
+
}, [g, d, c.placeholder]), H = I(() => {
|
|
68
|
+
const t = l.current, e = h();
|
|
69
|
+
if (!t || !e || E(e))
|
|
70
|
+
return !1;
|
|
71
|
+
const o = e.outerHeightStyle;
|
|
72
|
+
return f.current != null && f.current !== o;
|
|
73
|
+
}), u = s.useCallback(() => {
|
|
74
|
+
const t = l.current, e = h();
|
|
75
|
+
if (!t || !e || E(e))
|
|
76
|
+
return;
|
|
77
|
+
const o = e.outerHeightStyle;
|
|
78
|
+
f.current !== o && (f.current = o, t.style.height = `${o}px`), t.style.overflow = e.overflowing ? "hidden" : "";
|
|
79
|
+
}, [h]), p = s.useRef(-1);
|
|
80
|
+
O(() => {
|
|
81
|
+
const t = V(u), e = l?.current;
|
|
82
|
+
if (!e)
|
|
83
|
+
return;
|
|
84
|
+
const o = C(e);
|
|
85
|
+
o.addEventListener("resize", t);
|
|
86
|
+
let n;
|
|
87
|
+
return typeof ResizeObserver < "u" && (n = new ResizeObserver(() => {
|
|
88
|
+
H() && (n.unobserve(e), cancelAnimationFrame(p.current), u(), p.current = requestAnimationFrame(() => {
|
|
89
|
+
n.observe(e);
|
|
90
|
+
}));
|
|
91
|
+
}), n.observe(e)), () => {
|
|
92
|
+
t.clear(), cancelAnimationFrame(p.current), o.removeEventListener("resize", t), n && n.disconnect();
|
|
93
|
+
};
|
|
94
|
+
}, [h, u, H]), O(() => {
|
|
95
|
+
u();
|
|
96
|
+
});
|
|
97
|
+
const A = (t) => {
|
|
98
|
+
W || u();
|
|
99
|
+
const e = t.target, o = e.value.length, n = e.value.endsWith(`
|
|
100
|
+
`), x = e.selectionStart === o;
|
|
101
|
+
n && x && e.setSelectionRange(o, o), b && b(t);
|
|
102
|
+
};
|
|
103
|
+
return /* @__PURE__ */ v.jsxs(s.Fragment, {
|
|
104
|
+
children: [/* @__PURE__ */ v.jsx("textarea", {
|
|
105
|
+
value: R,
|
|
106
|
+
onChange: A,
|
|
107
|
+
ref: j,
|
|
108
|
+
rows: d,
|
|
109
|
+
style: w,
|
|
110
|
+
...N
|
|
111
|
+
}), /* @__PURE__ */ v.jsx("textarea", {
|
|
112
|
+
"aria-hidden": !0,
|
|
113
|
+
className: c.className,
|
|
114
|
+
readOnly: !0,
|
|
115
|
+
ref: S,
|
|
116
|
+
tabIndex: -1,
|
|
117
|
+
style: {
|
|
118
|
+
..._.shadow,
|
|
119
|
+
...w,
|
|
120
|
+
paddingTop: 0,
|
|
121
|
+
paddingBottom: 0
|
|
122
|
+
}
|
|
123
|
+
})]
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
127
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
128
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
129
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
130
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
131
|
+
/**
|
|
132
|
+
* @ignore
|
|
133
|
+
*/
|
|
134
|
+
className: r.string,
|
|
135
|
+
/**
|
|
136
|
+
* Maximum number of rows to display.
|
|
137
|
+
*/
|
|
138
|
+
maxRows: r.oneOfType([r.number, r.string]),
|
|
139
|
+
/**
|
|
140
|
+
* Minimum number of rows to display.
|
|
141
|
+
* @default 1
|
|
142
|
+
*/
|
|
143
|
+
minRows: r.oneOfType([r.number, r.string]),
|
|
144
|
+
/**
|
|
145
|
+
* @ignore
|
|
146
|
+
*/
|
|
147
|
+
onChange: r.func,
|
|
148
|
+
/**
|
|
149
|
+
* @ignore
|
|
150
|
+
*/
|
|
151
|
+
placeholder: r.string,
|
|
152
|
+
/**
|
|
153
|
+
* @ignore
|
|
154
|
+
*/
|
|
155
|
+
style: r.object,
|
|
156
|
+
/**
|
|
157
|
+
* @ignore
|
|
158
|
+
*/
|
|
159
|
+
value: r.oneOfType([r.arrayOf(r.string), r.number, r.string])
|
|
160
|
+
});
|
|
25
161
|
export {
|
|
26
|
-
|
|
162
|
+
D as default
|
|
27
163
|
};
|
|
28
164
|
//# sourceMappingURL=ui-components.es127.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es127.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/useForkRef/useForkRef.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * Merges refs into a single memoized callback ref or `null`.\n *\n * ```tsx\n * const rootRef = React.useRef<Instance>(null);\n * const refFork = useForkRef(rootRef, props.ref);\n *\n * return (\n * <Root {...props} ref={refFork} />\n * );\n * ```\n *\n * @param {Array<React.Ref<Instance> | undefined>} refs The ref array.\n * @returns {React.RefCallback<Instance> | null} The new ref callback.\n */\nexport default function useForkRef(...refs) {\n const cleanupRef = React.useRef(undefined);\n const refEffect = React.useCallback(instance => {\n const cleanups = refs.map(ref => {\n if (ref == null) {\n return null;\n }\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return typeof refCleanup === 'function' ? refCleanup : () => {\n refCallback(null);\n };\n }\n ref.current = instance;\n return () => {\n ref.current = null;\n };\n });\n return () => {\n cleanups.forEach(refCleanup => refCleanup?.());\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return value => {\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) {\n cleanupRef.current = refEffect(value);\n }\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}"],"names":["useForkRef","refs","cleanupRef","React","refEffect","instance","cleanups","ref","refCallback","refCleanup","value"],"mappings":";AAmBe,SAASA,KAAcC,GAAM;AAC1C,QAAMC,IAAaC,EAAM,OAAO,MAAS,GACnCC,IAAYD,EAAM,YAAY,CAAAE,MAAY;AAC9C,UAAMC,IAAWL,EAAK,IAAI,CAAAM,MAAO;AAC/B,UAAIA,KAAO;AACT,eAAO;AAET,UAAI,OAAOA,KAAQ,YAAY;AAC7B,cAAMC,IAAcD,GACdE,IAAaD,EAAYH,CAAQ;AACvC,eAAO,OAAOI,KAAe,aAAaA,IAAa,MAAM;AAC3D,UAAAD,EAAY,IAAI;AAAA,QAClB;AAAA,MACF;AACA,aAAAD,EAAI,UAAUF,GACP,MAAM;AACX,QAAAE,EAAI,UAAU;AAAA,MAChB;AAAA,IACF,CAAC;AACD,WAAO,MAAM;AACX,MAAAD,EAAS,QAAQ,CAAAG,MAAcA,KAAc;AAAA,IAC/C;AAAA,EAEF,GAAGR,CAAI;AACP,SAAOE,EAAM,QAAQ,MACfF,EAAK,MAAM,CAAAM,MAAOA,KAAO,IAAI,IACxB,OAEF,CAAAG,MAAS;AACd,IAAIR,EAAW,YACbA,EAAW,QAAO,GAClBA,EAAW,UAAU,SAEnBQ,KAAS,SACXR,EAAW,UAAUE,EAAUM,CAAK;AAAA,EAExC,GAGCT,CAAI;AACT;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es127.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '@mui/utils/debounce';\nimport useForkRef from '@mui/utils/useForkRef';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport ownerWindow from '@mui/utils/ownerWindow';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\nfunction isEmpty(obj) {\n return isObjectEmpty(obj) || obj.outerHeightStyle === 0 && !obj.overflowing;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value,\n ...other\n } = props;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const textareaRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, textareaRef);\n const heightRef = React.useRef(null);\n const hiddenTextareaRef = React.useRef(null);\n const calculateTextareaStyles = React.useCallback(() => {\n const textarea = textareaRef.current;\n const hiddenTextarea = hiddenTextareaRef.current;\n if (!textarea || !hiddenTextarea) {\n return undefined;\n }\n const containerWindow = ownerWindow(textarea);\n const computedStyle = containerWindow.getComputedStyle(textarea);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0,\n overflowing: false\n };\n }\n hiddenTextarea.style.width = computedStyle.width;\n hiddenTextarea.value = textarea.value || props.placeholder || 'x';\n if (hiddenTextarea.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n hiddenTextarea.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = hiddenTextarea.scrollHeight;\n\n // Measure height of a textarea with a single row\n hiddenTextarea.value = 'x';\n const singleRowHeight = hiddenTextarea.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflowing = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflowing\n };\n }, [maxRows, minRows, props.placeholder]);\n const didHeightChange = useEventCallback(() => {\n const textarea = textareaRef.current;\n const textareaStyles = calculateTextareaStyles();\n if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {\n return false;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n return heightRef.current != null && heightRef.current !== outerHeightStyle;\n });\n const syncHeight = React.useCallback(() => {\n const textarea = textareaRef.current;\n const textareaStyles = calculateTextareaStyles();\n if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {\n return;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n if (heightRef.current !== outerHeightStyle) {\n heightRef.current = outerHeightStyle;\n textarea.style.height = `${outerHeightStyle}px`;\n }\n textarea.style.overflow = textareaStyles.overflowing ? 'hidden' : '';\n }, [calculateTextareaStyles]);\n const frameRef = React.useRef(-1);\n useEnhancedEffect(() => {\n const debouncedHandleResize = debounce(syncHeight);\n const textarea = textareaRef?.current;\n if (!textarea) {\n return undefined;\n }\n const containerWindow = ownerWindow(textarea);\n containerWindow.addEventListener('resize', debouncedHandleResize);\n let resizeObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(() => {\n if (didHeightChange()) {\n // avoid \"ResizeObserver loop completed with undelivered notifications\" error\n // by temporarily unobserving the textarea element while manipulating the height\n // and reobserving one frame later\n resizeObserver.unobserve(textarea);\n cancelAnimationFrame(frameRef.current);\n syncHeight();\n frameRef.current = requestAnimationFrame(() => {\n resizeObserver.observe(textarea);\n });\n }\n });\n resizeObserver.observe(textarea);\n }\n return () => {\n debouncedHandleResize.clear();\n cancelAnimationFrame(frameRef.current);\n containerWindow.removeEventListener('resize', debouncedHandleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [calculateTextareaStyles, syncHeight, didHeightChange]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n const handleChange = event => {\n if (!isControlled) {\n syncHeight();\n }\n const textarea = event.target;\n const countOfCharacters = textarea.value.length;\n const isLastCharacterNewLine = textarea.value.endsWith('\\n');\n const isEndOfTheLine = textarea.selectionStart === countOfCharacters;\n\n // Set the cursor position to the very end of the text.\n if (isLastCharacterNewLine && isEndOfTheLine) {\n textarea.setSelectionRange(countOfCharacters, countOfCharacters);\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", {\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: style,\n ...other\n }), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: hiddenTextareaRef,\n tabIndex: -1,\n style: {\n ...styles.shadow,\n ...style,\n paddingTop: 0,\n paddingBottom: 0\n }\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;"],"names":["getStyleValue","value","styles","isObjectEmpty","object","_","isEmpty","obj","TextareaAutosize","React","props","forwardedRef","onChange","maxRows","minRows","style","other","isControlled","textareaRef","handleRef","useForkRef","heightRef","hiddenTextareaRef","calculateTextareaStyles","textarea","hiddenTextarea","computedStyle","ownerWindow","boxSizing","padding","border","innerHeight","singleRowHeight","outerHeight","outerHeightStyle","overflowing","didHeightChange","useEventCallback","textareaStyles","syncHeight","frameRef","useEnhancedEffect","debouncedHandleResize","debounce","containerWindow","resizeObserver","handleChange","event","countOfCharacters","isLastCharacterNewLine","isEndOfTheLine","_jsxs","_jsx","PropTypes"],"mappings":";;;;;;;;AAUA,SAASA,EAAcC,GAAO;AAC5B,SAAO,SAASA,GAAO,EAAE,KAAK;AAChC;AACA,MAAMC,IAAS;AAAA,EACb,QAAQ;AAAA;AAAA,IAEN,YAAY;AAAA;AAAA,IAEZ,UAAU;AAAA;AAAA,IAEV,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,MAAM;AAAA;AAAA,IAEN,WAAW;AAAA,EACf;AACA;AACA,SAASC,EAAcC,GAAQ;AAE7B,aAAWC,KAAKD;AACd,WAAO;AAET,SAAO;AACT;AACA,SAASE,EAAQC,GAAK;AACpB,SAAOJ,EAAcI,CAAG,KAAKA,EAAI,qBAAqB,KAAK,CAACA,EAAI;AAClE;AAYK,MAACC,I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IAAI,aAAa,iBAAeP,EAAiB,YAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ1F,WAAW6C,EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,SAASA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjE,SAASA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,EAIjE,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,aAAaA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIvB,OAAOA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIjB,OAAOA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,GAAGA,EAAU,QAAQA,EAAU,MAAM,CAAC;AACtG;","x_google_ignoreList":[0]}
|
|
@@ -1,164 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { j as v } from "./ui-components.es15.js";
|
|
4
|
-
import B from "./ui-components.es127.js";
|
|
5
|
-
import C from "./ui-components.es168.js";
|
|
6
|
-
import I from "./ui-components.es154.js";
|
|
7
|
-
import O from "./ui-components.es91.js";
|
|
8
|
-
import V from "./ui-components.es86.js";
|
|
9
|
-
function m(i) {
|
|
10
|
-
return parseInt(i, 10) || 0;
|
|
1
|
+
function n(t) {
|
|
2
|
+
return typeof t == "string";
|
|
11
3
|
}
|
|
12
|
-
const _ = {
|
|
13
|
-
shadow: {
|
|
14
|
-
// Visibility needed to hide the extra text area on iPads
|
|
15
|
-
visibility: "hidden",
|
|
16
|
-
// Remove from the content flow
|
|
17
|
-
position: "absolute",
|
|
18
|
-
// Ignore the scrollbar width
|
|
19
|
-
overflow: "hidden",
|
|
20
|
-
height: 0,
|
|
21
|
-
top: 0,
|
|
22
|
-
left: 0,
|
|
23
|
-
// Create a new layer, increase the isolation of the computed values
|
|
24
|
-
transform: "translateZ(0)"
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
function q(i) {
|
|
28
|
-
for (const c in i)
|
|
29
|
-
return !1;
|
|
30
|
-
return !0;
|
|
31
|
-
}
|
|
32
|
-
function E(i) {
|
|
33
|
-
return q(i) || i.outerHeightStyle === 0 && !i.overflowing;
|
|
34
|
-
}
|
|
35
|
-
const D = /* @__PURE__ */ s.forwardRef(function(c, z) {
|
|
36
|
-
const {
|
|
37
|
-
onChange: b,
|
|
38
|
-
maxRows: g,
|
|
39
|
-
minRows: d = 1,
|
|
40
|
-
style: w,
|
|
41
|
-
value: R,
|
|
42
|
-
...N
|
|
43
|
-
} = c, {
|
|
44
|
-
current: W
|
|
45
|
-
} = s.useRef(R != null), l = s.useRef(null), j = B(z, l), f = s.useRef(null), S = s.useRef(null), h = s.useCallback(() => {
|
|
46
|
-
const t = l.current, e = S.current;
|
|
47
|
-
if (!t || !e)
|
|
48
|
-
return;
|
|
49
|
-
const n = C(t).getComputedStyle(t);
|
|
50
|
-
if (n.width === "0px")
|
|
51
|
-
return {
|
|
52
|
-
outerHeightStyle: 0,
|
|
53
|
-
overflowing: !1
|
|
54
|
-
};
|
|
55
|
-
e.style.width = n.width, e.value = t.value || c.placeholder || "x", e.value.slice(-1) === `
|
|
56
|
-
` && (e.value += " ");
|
|
57
|
-
const x = n.boxSizing, F = m(n.paddingBottom) + m(n.paddingTop), L = m(n.borderBottomWidth) + m(n.borderTopWidth), T = e.scrollHeight;
|
|
58
|
-
e.value = "x";
|
|
59
|
-
const y = e.scrollHeight;
|
|
60
|
-
let a = T;
|
|
61
|
-
d && (a = Math.max(Number(d) * y, a)), g && (a = Math.min(Number(g) * y, a)), a = Math.max(a, y);
|
|
62
|
-
const k = a + (x === "border-box" ? F + L : 0), M = Math.abs(a - T) <= 1;
|
|
63
|
-
return {
|
|
64
|
-
outerHeightStyle: k,
|
|
65
|
-
overflowing: M
|
|
66
|
-
};
|
|
67
|
-
}, [g, d, c.placeholder]), H = I(() => {
|
|
68
|
-
const t = l.current, e = h();
|
|
69
|
-
if (!t || !e || E(e))
|
|
70
|
-
return !1;
|
|
71
|
-
const o = e.outerHeightStyle;
|
|
72
|
-
return f.current != null && f.current !== o;
|
|
73
|
-
}), u = s.useCallback(() => {
|
|
74
|
-
const t = l.current, e = h();
|
|
75
|
-
if (!t || !e || E(e))
|
|
76
|
-
return;
|
|
77
|
-
const o = e.outerHeightStyle;
|
|
78
|
-
f.current !== o && (f.current = o, t.style.height = `${o}px`), t.style.overflow = e.overflowing ? "hidden" : "";
|
|
79
|
-
}, [h]), p = s.useRef(-1);
|
|
80
|
-
O(() => {
|
|
81
|
-
const t = V(u), e = l?.current;
|
|
82
|
-
if (!e)
|
|
83
|
-
return;
|
|
84
|
-
const o = C(e);
|
|
85
|
-
o.addEventListener("resize", t);
|
|
86
|
-
let n;
|
|
87
|
-
return typeof ResizeObserver < "u" && (n = new ResizeObserver(() => {
|
|
88
|
-
H() && (n.unobserve(e), cancelAnimationFrame(p.current), u(), p.current = requestAnimationFrame(() => {
|
|
89
|
-
n.observe(e);
|
|
90
|
-
}));
|
|
91
|
-
}), n.observe(e)), () => {
|
|
92
|
-
t.clear(), cancelAnimationFrame(p.current), o.removeEventListener("resize", t), n && n.disconnect();
|
|
93
|
-
};
|
|
94
|
-
}, [h, u, H]), O(() => {
|
|
95
|
-
u();
|
|
96
|
-
});
|
|
97
|
-
const A = (t) => {
|
|
98
|
-
W || u();
|
|
99
|
-
const e = t.target, o = e.value.length, n = e.value.endsWith(`
|
|
100
|
-
`), x = e.selectionStart === o;
|
|
101
|
-
n && x && e.setSelectionRange(o, o), b && b(t);
|
|
102
|
-
};
|
|
103
|
-
return /* @__PURE__ */ v.jsxs(s.Fragment, {
|
|
104
|
-
children: [/* @__PURE__ */ v.jsx("textarea", {
|
|
105
|
-
value: R,
|
|
106
|
-
onChange: A,
|
|
107
|
-
ref: j,
|
|
108
|
-
rows: d,
|
|
109
|
-
style: w,
|
|
110
|
-
...N
|
|
111
|
-
}), /* @__PURE__ */ v.jsx("textarea", {
|
|
112
|
-
"aria-hidden": !0,
|
|
113
|
-
className: c.className,
|
|
114
|
-
readOnly: !0,
|
|
115
|
-
ref: S,
|
|
116
|
-
tabIndex: -1,
|
|
117
|
-
style: {
|
|
118
|
-
..._.shadow,
|
|
119
|
-
...w,
|
|
120
|
-
paddingTop: 0,
|
|
121
|
-
paddingBottom: 0
|
|
122
|
-
}
|
|
123
|
-
})]
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
127
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
128
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
129
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
130
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
131
|
-
/**
|
|
132
|
-
* @ignore
|
|
133
|
-
*/
|
|
134
|
-
className: r.string,
|
|
135
|
-
/**
|
|
136
|
-
* Maximum number of rows to display.
|
|
137
|
-
*/
|
|
138
|
-
maxRows: r.oneOfType([r.number, r.string]),
|
|
139
|
-
/**
|
|
140
|
-
* Minimum number of rows to display.
|
|
141
|
-
* @default 1
|
|
142
|
-
*/
|
|
143
|
-
minRows: r.oneOfType([r.number, r.string]),
|
|
144
|
-
/**
|
|
145
|
-
* @ignore
|
|
146
|
-
*/
|
|
147
|
-
onChange: r.func,
|
|
148
|
-
/**
|
|
149
|
-
* @ignore
|
|
150
|
-
*/
|
|
151
|
-
placeholder: r.string,
|
|
152
|
-
/**
|
|
153
|
-
* @ignore
|
|
154
|
-
*/
|
|
155
|
-
style: r.object,
|
|
156
|
-
/**
|
|
157
|
-
* @ignore
|
|
158
|
-
*/
|
|
159
|
-
value: r.oneOfType([r.arrayOf(r.string), r.number, r.string])
|
|
160
|
-
});
|
|
161
4
|
export {
|
|
162
|
-
|
|
5
|
+
n as default
|
|
163
6
|
};
|
|
164
7
|
//# sourceMappingURL=ui-components.es128.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es128.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '@mui/utils/debounce';\nimport useForkRef from '@mui/utils/useForkRef';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport useEventCallback from '@mui/utils/useEventCallback';\nimport ownerWindow from '@mui/utils/ownerWindow';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\nfunction isEmpty(obj) {\n return isObjectEmpty(obj) || obj.outerHeightStyle === 0 && !obj.overflowing;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value,\n ...other\n } = props;\n const {\n current: isControlled\n } = React.useRef(value != null);\n const textareaRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, textareaRef);\n const heightRef = React.useRef(null);\n const hiddenTextareaRef = React.useRef(null);\n const calculateTextareaStyles = React.useCallback(() => {\n const textarea = textareaRef.current;\n const hiddenTextarea = hiddenTextareaRef.current;\n if (!textarea || !hiddenTextarea) {\n return undefined;\n }\n const containerWindow = ownerWindow(textarea);\n const computedStyle = containerWindow.getComputedStyle(textarea);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0,\n overflowing: false\n };\n }\n hiddenTextarea.style.width = computedStyle.width;\n hiddenTextarea.value = textarea.value || props.placeholder || 'x';\n if (hiddenTextarea.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n hiddenTextarea.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = hiddenTextarea.scrollHeight;\n\n // Measure height of a textarea with a single row\n hiddenTextarea.value = 'x';\n const singleRowHeight = hiddenTextarea.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflowing = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflowing\n };\n }, [maxRows, minRows, props.placeholder]);\n const didHeightChange = useEventCallback(() => {\n const textarea = textareaRef.current;\n const textareaStyles = calculateTextareaStyles();\n if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {\n return false;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n return heightRef.current != null && heightRef.current !== outerHeightStyle;\n });\n const syncHeight = React.useCallback(() => {\n const textarea = textareaRef.current;\n const textareaStyles = calculateTextareaStyles();\n if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {\n return;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n if (heightRef.current !== outerHeightStyle) {\n heightRef.current = outerHeightStyle;\n textarea.style.height = `${outerHeightStyle}px`;\n }\n textarea.style.overflow = textareaStyles.overflowing ? 'hidden' : '';\n }, [calculateTextareaStyles]);\n const frameRef = React.useRef(-1);\n useEnhancedEffect(() => {\n const debouncedHandleResize = debounce(syncHeight);\n const textarea = textareaRef?.current;\n if (!textarea) {\n return undefined;\n }\n const containerWindow = ownerWindow(textarea);\n containerWindow.addEventListener('resize', debouncedHandleResize);\n let resizeObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(() => {\n if (didHeightChange()) {\n // avoid \"ResizeObserver loop completed with undelivered notifications\" error\n // by temporarily unobserving the textarea element while manipulating the height\n // and reobserving one frame later\n resizeObserver.unobserve(textarea);\n cancelAnimationFrame(frameRef.current);\n syncHeight();\n frameRef.current = requestAnimationFrame(() => {\n resizeObserver.observe(textarea);\n });\n }\n });\n resizeObserver.observe(textarea);\n }\n return () => {\n debouncedHandleResize.clear();\n cancelAnimationFrame(frameRef.current);\n containerWindow.removeEventListener('resize', debouncedHandleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [calculateTextareaStyles, syncHeight, didHeightChange]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n const handleChange = event => {\n if (!isControlled) {\n syncHeight();\n }\n const textarea = event.target;\n const countOfCharacters = textarea.value.length;\n const isLastCharacterNewLine = textarea.value.endsWith('\\n');\n const isEndOfTheLine = textarea.selectionStart === countOfCharacters;\n\n // Set the cursor position to the very end of the text.\n if (isLastCharacterNewLine && isEndOfTheLine) {\n textarea.setSelectionRange(countOfCharacters, countOfCharacters);\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", {\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: style,\n ...other\n }), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: hiddenTextareaRef,\n tabIndex: -1,\n style: {\n ...styles.shadow,\n ...style,\n paddingTop: 0,\n paddingBottom: 0\n }\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;"],"names":["getStyleValue","value","styles","isObjectEmpty","object","_","isEmpty","obj","TextareaAutosize","React","props","forwardedRef","onChange","maxRows","minRows","style","other","isControlled","textareaRef","handleRef","useForkRef","heightRef","hiddenTextareaRef","calculateTextareaStyles","textarea","hiddenTextarea","computedStyle","ownerWindow","boxSizing","padding","border","innerHeight","singleRowHeight","outerHeight","outerHeightStyle","overflowing","didHeightChange","useEventCallback","textareaStyles","syncHeight","frameRef","useEnhancedEffect","debouncedHandleResize","debounce","containerWindow","resizeObserver","handleChange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AAoBI,gBAAAA,EAAAA,KAAM1C,EAAM,UAAU;AAAA,IACxC,UAAU,CAAc2C,gBAAAA,EAAAA,IAAK,YAAY;AAAA,MACvC,OAAOnD;AAAA,MACP,UAAU6C;AAAA,MACV,KAAK3B;AAAA,MAGL,MAAML;AAAA,MACN,OAAOC;AAAA,MACP,GAAGC;AAAA,IACT,CAAK,GAAgBoC,gBAAAA,EAAAA,IAAK,YAAY;AAAA,MAChC,eAAe;AAAA,MACf,WAAW1C,EAAM;AAAA,MACjB,UAAU;AAAA,MACV,KAAKY;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,QACL,GAAGpB,EAAO;AAAA,QACV,GAAGa;AAAA,QACH,YAAY;AAAA,QACZ,eAAe;AAAA,MACvB;AAAA,IACA,CAAK,CAAC;AAAA,EACN,CAAG;AACH,CAAC;AACD,QAAQ,IAAI,aAAa,iBAAeP,EAAiB,YAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ1F,WAAW6C,EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,SAASA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjE,SAASA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,EAIjE,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,aAAaA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIvB,OAAOA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIjB,OAAOA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM,GAAGA,EAAU,QAAQA,EAAU,MAAM,CAAC;AACtG;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es128.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js"],"sourcesContent":["/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;"],"names":["isHostComponent","element"],"mappings":"AAGA,SAASA,EAAgBC,GAAS;AAChC,SAAO,OAAOA,KAAY;AAC5B;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
1
|
+
function s(r, ...o) {
|
|
2
|
+
const e = new URL(`https://mui.com/production-error/?code=${r}`);
|
|
3
|
+
return o.forEach((a) => e.searchParams.append("args[]", a)), `Minified MUI error #${r}; visit ${e} for the full message.`;
|
|
3
4
|
}
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
s as default
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=ui-components.es129.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es129.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/
|
|
1
|
+
{"version":3,"file":"ui-components.es129.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js"],"sourcesContent":["/**\n * WARNING: Don't import this directly. It's imported by the code generated by\n * `@mui/interal-babel-plugin-minify-errors`. Make sure to always use string literals in `Error`\n * constructors to ensure the plugin works as expected. Supported patterns include:\n * throw new Error('My message');\n * throw new Error(`My message: ${foo}`);\n * throw new Error(`My message: ${foo}` + 'another string');\n * ...\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code, ...args) {\n const url = new URL(`https://mui.com/production-error/?code=${code}`);\n args.forEach(arg => url.searchParams.append('args[]', arg));\n return `Minified MUI error #${code}; visit ${url} for the full message.`;\n}"],"names":["formatMuiErrorMessage","code","args","url","arg"],"mappings":"AAUe,SAASA,EAAsBC,MAASC,GAAM;AAC3D,QAAMC,IAAM,IAAI,IAAI,0CAA0CF,CAAI,EAAE;AACpE,SAAAC,EAAK,QAAQ,CAAAE,MAAOD,EAAI,aAAa,OAAO,UAAUC,CAAG,CAAC,GACnD,uBAAuBH,CAAI,WAAWE,CAAG;AAClD;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as d } from "./ui-components.es15.js";
|
|
2
2
|
import { useCallback as x, useMemo as p } from "react";
|
|
3
|
-
import S from "./ui-components.
|
|
4
|
-
import { useAutoSort as R } from "./ui-components.
|
|
5
|
-
import { sortableTableCheckboxColumn as f } from "./ui-components.
|
|
3
|
+
import S from "./ui-components.es57.js";
|
|
4
|
+
import { useAutoSort as R } from "./ui-components.es58.js";
|
|
5
|
+
import { sortableTableCheckboxColumn as f } from "./ui-components.es59.js";
|
|
6
6
|
function O({
|
|
7
7
|
tableProps: b,
|
|
8
8
|
columns: s,
|
|
@@ -16,19 +16,16 @@ function O({
|
|
|
16
16
|
} = b, {
|
|
17
17
|
autoSort: c,
|
|
18
18
|
setAutoSort: u,
|
|
19
|
-
onReady:
|
|
20
|
-
} = R(n, t, e),
|
|
21
|
-
const o = r?.(
|
|
22
|
-
return [...Array.isArray(o) ? o : o ? [o] : [], ...i
|
|
23
|
-
}, [r,
|
|
19
|
+
onReady: l
|
|
20
|
+
} = R(n, t, e), m = x((i) => {
|
|
21
|
+
const o = r?.(i);
|
|
22
|
+
return [...Array.isArray(o) ? o : o ? [o] : [], ...l(i)];
|
|
23
|
+
}, [r, l]), y = p(() => [f, ...s], [s]);
|
|
24
24
|
return {
|
|
25
25
|
syncedTableProps: p(() => ({
|
|
26
26
|
apiRef: n,
|
|
27
|
-
onReady:
|
|
27
|
+
onReady: m,
|
|
28
28
|
disableColumnSorting: e,
|
|
29
|
-
divHeight: {
|
|
30
|
-
height: "100%"
|
|
31
|
-
},
|
|
32
29
|
initialState: {
|
|
33
30
|
sorting: {
|
|
34
31
|
sortModel: t
|
|
@@ -37,7 +34,7 @@ function O({
|
|
|
37
34
|
toolbarSlot: /* @__PURE__ */ d.jsx(S, { autoSort: c, setAutoSort: u }),
|
|
38
35
|
columns: y,
|
|
39
36
|
...a
|
|
40
|
-
}), [n,
|
|
37
|
+
}), [n, m, e, t, c, u, a])
|
|
41
38
|
};
|
|
42
39
|
}
|
|
43
40
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es13.js","sources":["../src/components/TwoPaneLayout/useSyncedTable.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport type { RefObject } from \"react\";\nimport type { GridApi, GridSortModel } from \"@mui/x-data-grid-premium\";\nimport AutoSortSwitch from \"./AutoSortSwitch\";\nimport type { useTablePlotSync } from \"./useTablePlotSync\";\nimport { useAutoSort } from \"./useAutoSort\";\nimport { TableColDef, TableProps } from \"../Table\";\nimport { sortableTableCheckboxColumn } from \"./SortableTableCheckboxColumn\";\n\ntype UseSyncedTableOptions<T> = {\n /** The tableProps object returned by useTablePlotSync */\n tableProps: ReturnType<typeof useTablePlotSync<T>>[\"tableProps\"];\n /**\n * will be prepended with sortable checkbox column\n */\n columns: TableColDef[]\n /** Default sort model when autoSort is off */\n initialSort: GridSortModel;\n /** True when rows are pre-sorted (e.g. tissue grouping) — disables column sorting */\n isPresorted: boolean;\n};\n\
|
|
1
|
+
{"version":3,"file":"ui-components.es13.js","sources":["../src/components/TwoPaneLayout/useSyncedTable.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\nimport type { RefObject } from \"react\";\nimport type { GridApi, GridSortModel } from \"@mui/x-data-grid-premium\";\nimport AutoSortSwitch from \"./AutoSortSwitch\";\nimport type { useTablePlotSync } from \"./useTablePlotSync\";\nimport { useAutoSort } from \"./useAutoSort\";\nimport { TableColDef, TableProps } from \"../Table\";\nimport { sortableTableCheckboxColumn } from \"./SortableTableCheckboxColumn\";\n\ntype UseSyncedTableOptions<T> = {\n /** The tableProps object returned by useTablePlotSync */\n tableProps: ReturnType<typeof useTablePlotSync<T>>[\"tableProps\"];\n /**\n * will be prepended with sortable checkbox column\n */\n columns: TableColDef[]\n /** Default sort model when autoSort is off */\n initialSort: GridSortModel;\n /** True when rows are pre-sorted (e.g. tissue grouping) — disables column sorting */\n isPresorted: boolean;\n};\n\n/**\n * Composes useAutoSort with the tableProps from useTablePlotSync,\n * handling the onReady callback chaining and AutoSortSwitch rendering.\n */\nexport function useSyncedTable<T>({\n tableProps,\n columns,\n initialSort,\n isPresorted,\n}: UseSyncedTableOptions<T>) {\n const { apiRef, onReady: tableSyncOnReady, ...restTableProps } = tableProps;\n\n const { autoSort, setAutoSort, onReady: autoSortOnReady } = useAutoSort(apiRef, initialSort, isPresorted);\n\n const composedOnReady = useCallback(\n (api: RefObject<GridApi>) => {\n const existing = tableSyncOnReady?.(api);\n const existingCleanups = Array.isArray(existing) ? existing : existing ? [existing] : [];\n return [...existingCleanups, ...autoSortOnReady(api)];\n },\n [tableSyncOnReady, autoSortOnReady]\n );\n\n const columnsWithCheckbox = useMemo(() => [sortableTableCheckboxColumn, ...columns], [columns])\n\n const syncedTableProps = useMemo(\n () => ({\n apiRef,\n onReady: composedOnReady,\n disableColumnSorting: isPresorted,\n initialState: { sorting: { sortModel: initialSort } },\n toolbarSlot: <AutoSortSwitch autoSort={autoSort} setAutoSort={setAutoSort} />,\n columns: columnsWithCheckbox,\n ...restTableProps,\n }) satisfies Partial<TableProps>,\n [apiRef, composedOnReady, isPresorted, initialSort, autoSort, setAutoSort, restTableProps]\n );\n\n return { syncedTableProps };\n}\n"],"names":["useSyncedTable","tableProps","columns","initialSort","isPresorted","apiRef","onReady","tableSyncOnReady","restTableProps","autoSort","setAutoSort","autoSortOnReady","useAutoSort","composedOnReady","useCallback","api","existing","Array","isArray","columnsWithCheckbox","useMemo","sortableTableCheckboxColumn","syncedTableProps","disableColumnSorting","initialState","sorting","sortModel","toolbarSlot","jsx","AutoSortSwitch"],"mappings":";;;;;AA0BO,SAASA,EAAkB;AAAA,EAChCC,YAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,aAAAA;AAAAA,EACAC,aAAAA;AACwB,GAAG;AAC3B,QAAM;AAAA,IAAEC,QAAAA;AAAAA,IAAQC,SAASC;AAAAA,IAAkB,GAAGC;AAAAA,EAAAA,IAAmBP,GAE3D;AAAA,IAAEQ,UAAAA;AAAAA,IAAUC,aAAAA;AAAAA,IAAaJ,SAASK;AAAAA,EAAAA,IAAoBC,EAAYP,GAAQF,GAAaC,CAAW,GAElGS,IAAkBC,EACtB,CAACC,MAA4B;AAC3B,UAAMC,IAAWT,IAAmBQ,CAAG;AAEvC,WAAO,CAAC,GADiBE,MAAMC,QAAQF,CAAQ,IAAIA,IAAWA,IAAW,CAACA,CAAQ,IAAI,CAAA,GACzD,GAAGL,EAAgBI,CAAG,CAAC;AAAA,EACtD,GACA,CAACR,GAAkBI,CAAe,CACpC,GAEMQ,IAAsBC,EAAQ,MAAM,CAACC,GAA6B,GAAGnB,CAAO,GAAG,CAACA,CAAO,CAAC;AAe9F,SAAO;AAAA,IAAEoB,kBAbgBF,EACvB,OAAO;AAAA,MACLf,QAAAA;AAAAA,MACAC,SAASO;AAAAA,MACTU,sBAAsBnB;AAAAA,MACtBoB,cAAc;AAAA,QAAEC,SAAS;AAAA,UAAEC,WAAWvB;AAAAA,QAAAA;AAAAA,MAAY;AAAA,MAClDwB,aAAaC,gBAAAA,EAAAA,IAACC,GAAA,EAAe,UAAApB,GAAoB,aAAAC,EAAA,CAAyB;AAAA,MAC1ER,SAASiB;AAAAA,MACT,GAAGX;AAAAA,IAAAA,IAEL,CAACH,GAAQQ,GAAiBT,GAAaD,GAAaM,GAAUC,GAAaF,CAAc,CAC3F;AAAA,EAESc;AACX;"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return o.forEach((a) => e.searchParams.append("args[]", a)), `Minified MUI error #${r}; visit ${e} for the full message.`;
|
|
4
|
-
}
|
|
1
|
+
import e from "./ui-components.es88.js";
|
|
2
|
+
const p = e.oneOfType([e.func, e.object]);
|
|
5
3
|
export {
|
|
6
|
-
|
|
4
|
+
p as default
|
|
7
5
|
};
|
|
8
6
|
//# sourceMappingURL=ui-components.es130.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es130.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/
|
|
1
|
+
{"version":3,"file":"ui-components.es130.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/refType/refType.js"],"sourcesContent":["import PropTypes from 'prop-types';\nconst refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);\nexport default refType;"],"names":["refType","PropTypes"],"mappings":";AACK,MAACA,IAAUC,EAAU,UAAU,CAACA,EAAU,MAAMA,EAAU,MAAM,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import c from "./ui-components.es88.js";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import f from "./ui-components.es98.js";
|
|
4
|
+
function u(o) {
|
|
5
|
+
const {
|
|
6
|
+
prototype: e = {}
|
|
7
|
+
} = o;
|
|
8
|
+
return !!e.isReactComponent;
|
|
9
|
+
}
|
|
10
|
+
function d(o, e, i, r, a) {
|
|
11
|
+
const n = o[e], p = a || e;
|
|
12
|
+
if (n == null || // When server-side rendering React doesn't warn either.
|
|
13
|
+
// This is not an accurate check for SSR.
|
|
14
|
+
// This is only in place for emotion compat.
|
|
15
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
16
|
+
typeof window > "u")
|
|
17
|
+
return null;
|
|
18
|
+
let t;
|
|
19
|
+
return typeof n == "function" && !u(n) && (t = "Did you accidentally provide a plain function component instead?"), n === l.Fragment && (t = "Did you accidentally provide a React.Fragment instead?"), t !== void 0 ? new Error(`Invalid ${r} \`${p}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${t} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
20
|
+
}
|
|
21
|
+
const y = f(c.elementType, d);
|
|
3
22
|
export {
|
|
4
|
-
|
|
23
|
+
y as default
|
|
5
24
|
};
|
|
6
25
|
//# sourceMappingURL=ui-components.es131.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es131.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/
|
|
1
|
+
{"version":3,"file":"ui-components.es131.js","sources":["../../../node_modules/.pnpm/@mui+utils@7.3.9_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport * as React from 'react';\nimport chainPropTypes from \"../chainPropTypes/index.js\";\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n const {\n prototype = {}\n } = elementType;\n return Boolean(prototype.isReactComponent);\n}\nfunction elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {\n const propValue = props[propName];\n const safePropName = propFullName || propName;\n if (propValue == null ||\n // When server-side rendering React doesn't warn either.\n // This is not an accurate check for SSR.\n // This is only in place for emotion compat.\n // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.\n typeof window === 'undefined') {\n return null;\n }\n let warningHint;\n\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n if (typeof propValue === 'function' && !isClassComponent(propValue)) {\n warningHint = 'Did you accidentally provide a plain function component instead?';\n }\n if (propValue === React.Fragment) {\n warningHint = 'Did you accidentally provide a React.Fragment instead?';\n }\n if (warningHint !== undefined) {\n return new Error(`Invalid ${location} \\`${safePropName}\\` supplied to \\`${componentName}\\`. ` + `Expected an element type that can hold a ref. ${warningHint} ` + 'For more information see https://mui.com/r/caveat-with-refs-guide');\n }\n return null;\n}\nexport default chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);"],"names":["isClassComponent","elementType","prototype","elementTypeAcceptingRef","props","propName","componentName","location","propFullName","propValue","safePropName","warningHint","React","elementTypeAcceptingRef$1","chainPropTypes","PropTypes"],"mappings":";;;AAGA,SAASA,EAAiBC,GAAa;AAErC,QAAM;AAAA,IACJ,WAAAC,IAAY,CAAA;AAAA,EAChB,IAAMD;AACJ,SAAO,EAAQC,EAAU;AAC3B;AACA,SAASC,EAAwBC,GAAOC,GAAUC,GAAeC,GAAUC,GAAc;AACvF,QAAMC,IAAYL,EAAMC,CAAQ,GAC1BK,IAAeF,KAAgBH;AACrC,MAAII,KAAa;AAAA;AAAA;AAAA;AAAA,EAKjB,OAAO,SAAW;AAChB,WAAO;AAET,MAAIE;AAiBJ,SANI,OAAOF,KAAc,cAAc,CAACT,EAAiBS,CAAS,MAChEE,IAAc,qEAEZF,MAAcG,EAAM,aACtBD,IAAc,2DAEZA,MAAgB,SACX,IAAI,MAAM,WAAWJ,CAAQ,MAAMG,CAAY,oBAAoBJ,CAAa,qDAA0DK,CAAW,oEAAyE,IAEhO;AACT;AACA,MAAAE,IAAeC,EAAeC,EAAU,aAAaZ,CAAuB;","x_google_ignoreList":[0]}
|
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import f from "./ui-components.es107.js";
|
|
4
|
-
function u(o) {
|
|
5
|
-
const {
|
|
6
|
-
prototype: e = {}
|
|
7
|
-
} = o;
|
|
8
|
-
return !!e.isReactComponent;
|
|
9
|
-
}
|
|
10
|
-
function d(o, e, i, r, a) {
|
|
11
|
-
const n = o[e], p = a || e;
|
|
12
|
-
if (n == null || // When server-side rendering React doesn't warn either.
|
|
13
|
-
// This is not an accurate check for SSR.
|
|
14
|
-
// This is only in place for emotion compat.
|
|
15
|
-
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
16
|
-
typeof window > "u")
|
|
17
|
-
return null;
|
|
18
|
-
let t;
|
|
19
|
-
return typeof n == "function" && !u(n) && (t = "Did you accidentally provide a plain function component instead?"), n === l.Fragment && (t = "Did you accidentally provide a React.Fragment instead?"), t !== void 0 ? new Error(`Invalid ${r} \`${p}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${t} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
20
|
-
}
|
|
21
|
-
const y = f(c.elementType, d);
|
|
1
|
+
import r from "./ui-components.es206.js";
|
|
2
|
+
const t = (o) => r(o) && o !== "classes";
|
|
22
3
|
export {
|
|
23
|
-
|
|
4
|
+
t as default
|
|
24
5
|
};
|
|
25
6
|
//# sourceMappingURL=ui-components.es132.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es132.js","sources":["../../../node_modules/.pnpm/@mui+
|
|
1
|
+
{"version":3,"file":"ui-components.es132.js","sources":["../../../node_modules/.pnpm/@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_5efc65b7a21bb615fd4ee8d4bf58b896/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js"],"sourcesContent":["import slotShouldForwardProp from \"./slotShouldForwardProp.js\";\nconst rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'classes';\nexport default rootShouldForwardProp;"],"names":["rootShouldForwardProp","prop","slotShouldForwardProp"],"mappings":";AACK,MAACA,IAAwB,CAAAC,MAAQC,EAAsBD,CAAI,KAAKA,MAAS;","x_google_ignoreList":[0]}
|