@weng-lab/ui-components 2.0.0 → 2.0.1
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/BiosampleTable/BiosampleTable.d.ts.map +1 -1
- package/dist/src/components/Table/Table.d.ts.map +1 -1
- package/dist/src/components/Table/types.d.ts +11 -5
- package/dist/src/components/Table/types.d.ts.map +1 -1
- package/dist/ui-components.es100.js +10 -3
- package/dist/ui-components.es100.js.map +1 -1
- package/dist/ui-components.es101.js +2 -6
- package/dist/ui-components.es101.js.map +1 -1
- package/dist/ui-components.es102.js +8 -449
- package/dist/ui-components.es102.js.map +1 -1
- package/dist/ui-components.es103.js +111 -3
- package/dist/ui-components.es103.js.map +1 -1
- package/dist/ui-components.es104.js +16 -3
- package/dist/ui-components.es104.js.map +1 -1
- package/dist/ui-components.es105.js +2 -3
- package/dist/ui-components.es105.js.map +1 -1
- package/dist/ui-components.es106.js +3 -15
- package/dist/ui-components.es106.js.map +1 -1
- package/dist/ui-components.es107.js +30 -41
- package/dist/ui-components.es107.js.map +1 -1
- package/dist/ui-components.es108.js +15 -8
- package/dist/ui-components.es108.js.map +1 -1
- package/dist/ui-components.es109.js +56 -22
- package/dist/ui-components.es109.js.map +1 -1
- package/dist/ui-components.es11.js +2 -2
- package/dist/ui-components.es110.js +21 -6
- package/dist/ui-components.es110.js.map +1 -1
- package/dist/ui-components.es111.js +6 -5
- package/dist/ui-components.es111.js.map +1 -1
- package/dist/ui-components.es112.js +6 -6
- package/dist/ui-components.es112.js.map +1 -1
- package/dist/ui-components.es113.js +48 -2
- package/dist/ui-components.es113.js.map +1 -1
- package/dist/ui-components.es114.js +19 -3
- package/dist/ui-components.es114.js.map +1 -1
- package/dist/ui-components.es115.js +411 -30
- package/dist/ui-components.es115.js.map +1 -1
- package/dist/ui-components.es116.js +494 -11
- package/dist/ui-components.es116.js.map +1 -1
- package/dist/ui-components.es117.js +341 -55
- package/dist/ui-components.es117.js.map +1 -1
- package/dist/ui-components.es118.js +272 -9
- package/dist/ui-components.es118.js.map +1 -1
- package/dist/ui-components.es119.js +172 -107
- package/dist/ui-components.es119.js.map +1 -1
- package/dist/ui-components.es120.js +279 -16
- package/dist/ui-components.es120.js.map +1 -1
- package/dist/ui-components.es121.js +238 -7
- package/dist/ui-components.es121.js.map +1 -1
- package/dist/ui-components.es122.js +3 -48
- package/dist/ui-components.es122.js.map +1 -1
- package/dist/ui-components.es123.js +13 -17
- package/dist/ui-components.es123.js.map +1 -1
- package/dist/ui-components.es124.js +4 -413
- package/dist/ui-components.es124.js.map +1 -1
- package/dist/ui-components.es125.js +15 -498
- package/dist/ui-components.es125.js.map +1 -1
- package/dist/ui-components.es126.js +2 -344
- package/dist/ui-components.es126.js.map +1 -1
- package/dist/ui-components.es127.js +8 -272
- package/dist/ui-components.es127.js.map +1 -1
- package/dist/ui-components.es128.js +325 -175
- package/dist/ui-components.es128.js.map +1 -1
- package/dist/ui-components.es129.js +50 -280
- package/dist/ui-components.es129.js.map +1 -1
- package/dist/ui-components.es130.js +33 -236
- package/dist/ui-components.es130.js.map +1 -1
- package/dist/ui-components.es131.js +24 -3
- package/dist/ui-components.es131.js.map +1 -1
- package/dist/ui-components.es132.js +11 -14
- package/dist/ui-components.es132.js.map +1 -1
- package/dist/ui-components.es133.js +2 -2
- package/dist/ui-components.es134.js +3 -76
- package/dist/ui-components.es134.js.map +1 -1
- package/dist/ui-components.es135.js +7 -92
- package/dist/ui-components.es135.js.map +1 -1
- package/dist/ui-components.es136.js +3 -51
- package/dist/ui-components.es136.js.map +1 -1
- package/dist/ui-components.es137.js +28 -7
- package/dist/ui-components.es137.js.map +1 -1
- package/dist/ui-components.es138.js +3 -4
- package/dist/ui-components.es138.js.map +1 -1
- package/dist/ui-components.es139.js +22 -49
- package/dist/ui-components.es139.js.map +1 -1
- package/dist/ui-components.es140.js +11 -258
- package/dist/ui-components.es140.js.map +1 -1
- package/dist/ui-components.es141.js +3 -159
- package/dist/ui-components.es141.js.map +1 -1
- package/dist/ui-components.es142.js +8 -74
- package/dist/ui-components.es142.js.map +1 -1
- package/dist/ui-components.es143.js +11 -63
- package/dist/ui-components.es143.js.map +1 -1
- package/dist/ui-components.es144.js +9 -41
- package/dist/ui-components.es144.js.map +1 -1
- package/dist/ui-components.es145.js +1 -4
- package/dist/ui-components.es145.js.map +1 -1
- package/dist/ui-components.es146.js +4 -3
- package/dist/ui-components.es146.js.map +1 -1
- package/dist/ui-components.es147.js +45 -7
- package/dist/ui-components.es147.js.map +1 -1
- package/dist/ui-components.es148.js +11 -3
- package/dist/ui-components.es148.js.map +1 -1
- package/dist/ui-components.es149.js +4 -156
- package/dist/ui-components.es149.js.map +1 -1
- package/dist/ui-components.es15.js +5 -5
- package/dist/ui-components.es150.js +6 -4
- package/dist/ui-components.es150.js.map +1 -1
- package/dist/ui-components.es151.js +4 -39
- package/dist/ui-components.es151.js.map +1 -1
- package/dist/ui-components.es152.js +7 -26
- package/dist/ui-components.es152.js.map +1 -1
- package/dist/ui-components.es153.js +7 -4
- package/dist/ui-components.es153.js.map +1 -1
- package/dist/ui-components.es154.js +4 -7
- package/dist/ui-components.es154.js.map +1 -1
- package/dist/ui-components.es155.js +6 -28
- package/dist/ui-components.es155.js.map +1 -1
- package/dist/ui-components.es156.js +28 -8
- package/dist/ui-components.es156.js.map +1 -1
- package/dist/ui-components.es157.js +7 -114
- package/dist/ui-components.es157.js.map +1 -1
- package/dist/ui-components.es158.js +198 -13
- package/dist/ui-components.es158.js.map +1 -1
- package/dist/ui-components.es159.js +6 -5
- package/dist/ui-components.es159.js.map +1 -1
- package/dist/ui-components.es16.js +1 -1
- package/dist/ui-components.es160.js +7 -294
- package/dist/ui-components.es160.js.map +1 -1
- package/dist/ui-components.es161.js +7 -93
- package/dist/ui-components.es161.js.map +1 -1
- package/dist/ui-components.es162.js +335 -80
- package/dist/ui-components.es162.js.map +1 -1
- package/dist/ui-components.es163.js +246 -75
- package/dist/ui-components.es163.js.map +1 -1
- package/dist/ui-components.es164.js +2 -16
- package/dist/ui-components.es164.js.map +1 -1
- package/dist/ui-components.es165.js +8 -2
- package/dist/ui-components.es165.js.map +1 -1
- package/dist/ui-components.es166.js +4 -31
- 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 +36 -28
- package/dist/ui-components.es168.js.map +1 -1
- package/dist/ui-components.es169.js +7 -4
- package/dist/ui-components.es169.js.map +1 -1
- package/dist/ui-components.es170.js +7 -24
- package/dist/ui-components.es170.js.map +1 -1
- package/dist/ui-components.es171.js +7 -11
- package/dist/ui-components.es171.js.map +1 -1
- package/dist/ui-components.es172.js +7 -3
- package/dist/ui-components.es172.js.map +1 -1
- package/dist/ui-components.es173.js +5 -8
- package/dist/ui-components.es173.js.map +1 -1
- package/dist/ui-components.es174.js +7 -12
- package/dist/ui-components.es174.js.map +1 -1
- package/dist/ui-components.es175.js +124 -8
- package/dist/ui-components.es175.js.map +1 -1
- package/dist/ui-components.es176.js +5 -2
- package/dist/ui-components.es176.js.map +1 -1
- package/dist/ui-components.es177.js +5 -2
- package/dist/ui-components.es177.js.map +1 -1
- package/dist/ui-components.es178.js +101 -3
- package/dist/ui-components.es178.js.map +1 -1
- package/dist/ui-components.es179.js +6 -45
- package/dist/ui-components.es179.js.map +1 -1
- package/dist/ui-components.es18.js +2 -2
- package/dist/ui-components.es180.js +63 -10
- package/dist/ui-components.es180.js.map +1 -1
- package/dist/ui-components.es181.js +172 -6
- package/dist/ui-components.es181.js.map +1 -1
- package/dist/ui-components.es182.js +192 -29
- package/dist/ui-components.es182.js.map +1 -1
- package/dist/ui-components.es183.js +23 -4
- package/dist/ui-components.es183.js.map +1 -1
- package/dist/ui-components.es184.js +7 -4
- package/dist/ui-components.es184.js.map +1 -1
- package/dist/ui-components.es185.js +312 -8
- package/dist/ui-components.es185.js.map +1 -1
- package/dist/ui-components.es186.js +7 -8
- package/dist/ui-components.es186.js.map +1 -1
- package/dist/ui-components.es187.js +7 -7
- package/dist/ui-components.es187.js.map +1 -1
- package/dist/ui-components.es188.js +7 -7
- package/dist/ui-components.es188.js.map +1 -1
- package/dist/ui-components.es189.js +7 -7
- package/dist/ui-components.es189.js.map +1 -1
- package/dist/ui-components.es19.js +2 -2
- package/dist/ui-components.es190.js +60 -198
- package/dist/ui-components.es190.js.map +1 -1
- package/dist/ui-components.es191.js +6 -6
- package/dist/ui-components.es191.js.map +1 -1
- package/dist/ui-components.es192.js +7 -7
- package/dist/ui-components.es192.js.map +1 -1
- package/dist/ui-components.es193.js +26 -4
- package/dist/ui-components.es193.js.map +1 -1
- package/dist/ui-components.es194.js +4 -5
- package/dist/ui-components.es194.js.map +1 -1
- package/dist/ui-components.es195.js +196 -11
- package/dist/ui-components.es195.js.map +1 -1
- package/dist/ui-components.es196.js +189 -8
- package/dist/ui-components.es196.js.map +1 -1
- package/dist/ui-components.es197.js +4 -161
- package/dist/ui-components.es197.js.map +1 -1
- package/dist/ui-components.es198.js +10 -19
- package/dist/ui-components.es198.js.map +1 -1
- package/dist/ui-components.es199.js +6 -6
- package/dist/ui-components.es199.js.map +1 -1
- package/dist/ui-components.es2.js +5 -5
- package/dist/ui-components.es20.js +39 -210
- package/dist/ui-components.es20.js.map +1 -1
- package/dist/ui-components.es200.js +161 -4
- package/dist/ui-components.es200.js.map +1 -1
- package/dist/ui-components.es201.js +5 -4
- package/dist/ui-components.es201.js.map +1 -1
- package/dist/ui-components.es202.js +20 -36
- package/dist/ui-components.es202.js.map +1 -1
- package/dist/ui-components.es203.js +256 -334
- package/dist/ui-components.es203.js.map +1 -1
- package/dist/ui-components.es204.js +150 -239
- package/dist/ui-components.es204.js.map +1 -1
- package/dist/ui-components.es205.js +75 -7
- package/dist/ui-components.es205.js.map +1 -1
- package/dist/ui-components.es206.js +63 -7
- package/dist/ui-components.es206.js.map +1 -1
- package/dist/ui-components.es207.js +41 -7
- package/dist/ui-components.es207.js.map +1 -1
- package/dist/ui-components.es208.js +155 -6
- package/dist/ui-components.es208.js.map +1 -1
- package/dist/ui-components.es209.js +5 -312
- package/dist/ui-components.es209.js.map +1 -1
- package/dist/ui-components.es21.js +6 -242
- package/dist/ui-components.es21.js.map +1 -1
- package/dist/ui-components.es210.js +39 -7
- package/dist/ui-components.es210.js.map +1 -1
- package/dist/ui-components.es211.js +27 -7
- package/dist/ui-components.es211.js.map +1 -1
- package/dist/ui-components.es212.js +8 -7
- package/dist/ui-components.es212.js.map +1 -1
- package/dist/ui-components.es213.js +28 -7
- package/dist/ui-components.es213.js.map +1 -1
- package/dist/ui-components.es214.js +8 -58
- package/dist/ui-components.es214.js.map +1 -1
- package/dist/ui-components.es215.js +114 -7
- package/dist/ui-components.es215.js.map +1 -1
- package/dist/ui-components.es216.js +12 -25
- package/dist/ui-components.es216.js.map +1 -1
- package/dist/ui-components.es217.js +5 -4
- package/dist/ui-components.es217.js.map +1 -1
- package/dist/ui-components.es218.js +293 -196
- package/dist/ui-components.es218.js.map +1 -1
- package/dist/ui-components.es219.js +94 -189
- package/dist/ui-components.es219.js.map +1 -1
- package/dist/ui-components.es22.js +6 -6
- package/dist/ui-components.es22.js.map +1 -1
- package/dist/ui-components.es220.js +80 -21
- package/dist/ui-components.es220.js.map +1 -1
- package/dist/ui-components.es221.js +77 -7
- package/dist/ui-components.es221.js.map +1 -1
- package/dist/ui-components.es222.js +16 -6
- package/dist/ui-components.es222.js.map +1 -1
- package/dist/ui-components.es223.js +2 -2
- package/dist/ui-components.es223.js.map +1 -1
- package/dist/ui-components.es224.js +25 -2
- package/dist/ui-components.es224.js.map +1 -1
- package/dist/ui-components.es225.js +35 -126
- package/dist/ui-components.es225.js.map +1 -1
- package/dist/ui-components.es226.js +8 -5
- package/dist/ui-components.es226.js.map +1 -1
- package/dist/ui-components.es227.js +3 -5
- package/dist/ui-components.es227.js.map +1 -1
- package/dist/ui-components.es228.js +6 -101
- package/dist/ui-components.es228.js.map +1 -1
- package/dist/ui-components.es229.js +475 -6
- package/dist/ui-components.es229.js.map +1 -1
- package/dist/ui-components.es23.js +6 -54
- package/dist/ui-components.es23.js.map +1 -1
- package/dist/ui-components.es230.js +151 -48
- package/dist/ui-components.es230.js.map +1 -1
- package/dist/ui-components.es231.js +7 -172
- package/dist/ui-components.es231.js.map +1 -1
- package/dist/ui-components.es232.js +4 -193
- package/dist/ui-components.es232.js.map +1 -1
- package/dist/ui-components.es233.js +7 -6
- package/dist/ui-components.es233.js.map +1 -1
- package/dist/ui-components.es234.js +3 -60
- package/dist/ui-components.es234.js.map +1 -1
- package/dist/ui-components.es235.js +3 -5
- package/dist/ui-components.es235.js.map +1 -1
- package/dist/ui-components.es236.js +8 -17
- package/dist/ui-components.es236.js.map +1 -1
- package/dist/ui-components.es237.js +2 -9
- package/dist/ui-components.es237.js.map +1 -1
- package/dist/ui-components.es238.js +76 -8
- package/dist/ui-components.es238.js.map +1 -1
- package/dist/ui-components.es239.js +93 -8
- package/dist/ui-components.es239.js.map +1 -1
- package/dist/ui-components.es24.js +6 -162
- package/dist/ui-components.es24.js.map +1 -1
- package/dist/ui-components.es240.js +52 -8
- package/dist/ui-components.es240.js.map +1 -1
- package/dist/ui-components.es241.js +8 -8
- package/dist/ui-components.es241.js.map +1 -1
- package/dist/ui-components.es242.js +5 -9
- package/dist/ui-components.es242.js.map +1 -1
- package/dist/ui-components.es243.js +51 -4
- package/dist/ui-components.es243.js.map +1 -1
- package/dist/ui-components.es244.js +232 -11
- package/dist/ui-components.es244.js.map +1 -1
- package/dist/ui-components.es245.js +2 -42
- package/dist/ui-components.es245.js.map +1 -1
- package/dist/ui-components.es246.js +2 -40
- package/dist/ui-components.es246.js.map +1 -1
- package/dist/ui-components.es247.js +9 -30
- package/dist/ui-components.es247.js.map +1 -1
- package/dist/ui-components.es248.js +2 -118
- package/dist/ui-components.es248.js.map +1 -1
- package/dist/ui-components.es249.js +2 -4
- package/dist/ui-components.es249.js.map +1 -1
- package/dist/ui-components.es25.js +6 -32
- package/dist/ui-components.es25.js.map +1 -1
- package/dist/ui-components.es250.js +2 -15
- package/dist/ui-components.es250.js.map +1 -1
- package/dist/ui-components.es251.js +2 -39
- package/dist/ui-components.es251.js.map +1 -1
- package/dist/ui-components.es252.js +2 -65
- package/dist/ui-components.es252.js.map +1 -1
- package/dist/ui-components.es253.js +2 -8
- package/dist/ui-components.es253.js.map +1 -1
- package/dist/ui-components.es254.js +2 -47
- package/dist/ui-components.es254.js.map +1 -1
- package/dist/ui-components.es255.js +29 -39
- package/dist/ui-components.es255.js.map +1 -1
- package/dist/ui-components.es256.js +145 -59
- package/dist/ui-components.es256.js.map +1 -1
- package/dist/ui-components.es257.js +11 -76
- package/dist/ui-components.es257.js.map +1 -1
- package/dist/ui-components.es258.js +3 -24
- package/dist/ui-components.es258.js.map +1 -1
- package/dist/ui-components.es259.js +14 -41
- package/dist/ui-components.es259.js.map +1 -1
- package/dist/ui-components.es26.js +6 -255
- package/dist/ui-components.es26.js.map +1 -1
- package/dist/ui-components.es260.js +39 -229
- package/dist/ui-components.es260.js.map +1 -1
- package/dist/ui-components.es261.js +19 -2
- package/dist/ui-components.es261.js.map +1 -1
- package/dist/ui-components.es262.js +31 -2
- package/dist/ui-components.es262.js.map +1 -1
- package/dist/ui-components.es263.js +117 -9
- package/dist/ui-components.es263.js.map +1 -1
- package/dist/ui-components.es264.js +60 -2
- package/dist/ui-components.es264.js.map +1 -1
- package/dist/ui-components.es265.js +4 -2
- package/dist/ui-components.es265.js.map +1 -1
- package/dist/ui-components.es266.js +15 -2
- package/dist/ui-components.es266.js.map +1 -1
- package/dist/ui-components.es267.js +39 -2
- package/dist/ui-components.es267.js.map +1 -1
- package/dist/ui-components.es268.js +12 -2
- package/dist/ui-components.es268.js.map +1 -1
- package/dist/ui-components.es269.js +12 -2
- package/dist/ui-components.es269.js.map +1 -1
- package/dist/ui-components.es27.js +6 -1035
- package/dist/ui-components.es27.js.map +1 -1
- package/dist/ui-components.es270.js +7 -2
- package/dist/ui-components.es270.js.map +1 -1
- package/dist/ui-components.es271.js +171 -3
- package/dist/ui-components.es271.js.map +1 -1
- package/dist/ui-components.es272.js +7 -6
- package/dist/ui-components.es272.js.map +1 -1
- package/dist/ui-components.es273.js +122 -448
- package/dist/ui-components.es273.js.map +1 -1
- package/dist/ui-components.es274.js +12 -167
- package/dist/ui-components.es274.js.map +1 -1
- package/dist/ui-components.es275.js +7 -24
- package/dist/ui-components.es275.js.map +1 -1
- package/dist/ui-components.es276.js +6 -34
- package/dist/ui-components.es276.js.map +1 -1
- package/dist/ui-components.es277.js +506 -8
- package/dist/ui-components.es277.js.map +1 -1
- package/dist/ui-components.es278.js +7 -8
- package/dist/ui-components.es278.js.map +1 -1
- package/dist/ui-components.es279.js +234 -4
- package/dist/ui-components.es279.js.map +1 -1
- package/dist/ui-components.es28.js +224 -93
- package/dist/ui-components.es28.js.map +1 -1
- package/dist/ui-components.es280.js +7 -7
- package/dist/ui-components.es280.js.map +1 -1
- package/dist/ui-components.es281.js +7 -3
- package/dist/ui-components.es281.js.map +1 -1
- package/dist/ui-components.es282.js +7 -3
- package/dist/ui-components.es282.js.map +1 -1
- package/dist/ui-components.es283.js +5 -8
- package/dist/ui-components.es283.js.map +1 -1
- package/dist/ui-components.es284.js +17 -147
- package/dist/ui-components.es284.js.map +1 -1
- package/dist/ui-components.es285.js +9 -11
- package/dist/ui-components.es285.js.map +1 -1
- package/dist/ui-components.es286.js +8 -3
- package/dist/ui-components.es286.js.map +1 -1
- package/dist/ui-components.es287.js +8 -16
- package/dist/ui-components.es287.js.map +1 -1
- package/dist/ui-components.es288.js +7 -18
- package/dist/ui-components.es288.js.map +1 -1
- package/dist/ui-components.es289.js +7 -11
- package/dist/ui-components.es289.js.map +1 -1
- package/dist/ui-components.es29.js +623 -291
- package/dist/ui-components.es29.js.map +1 -1
- package/dist/ui-components.es290.js +8 -11
- package/dist/ui-components.es290.js.map +1 -1
- package/dist/ui-components.es291.js +4 -6
- package/dist/ui-components.es291.js.map +1 -1
- package/dist/ui-components.es292.js +11 -171
- package/dist/ui-components.es292.js.map +1 -1
- package/dist/ui-components.es293.js +7 -7
- package/dist/ui-components.es293.js.map +1 -1
- package/dist/ui-components.es294.js +2 -150
- package/dist/ui-components.es294.js.map +1 -1
- package/dist/ui-components.es295.js +74 -11
- package/dist/ui-components.es295.js.map +1 -1
- package/dist/ui-components.es296.js +74 -6
- package/dist/ui-components.es296.js.map +1 -1
- package/dist/ui-components.es297.js +2 -8
- package/dist/ui-components.es297.js.map +1 -1
- package/dist/ui-components.es298.js +2 -506
- package/dist/ui-components.es298.js.map +1 -1
- package/dist/ui-components.es299.js +65 -7
- package/dist/ui-components.es299.js.map +1 -1
- package/dist/ui-components.es3.js +29 -29
- package/dist/ui-components.es30.js +659 -39
- package/dist/ui-components.es30.js.map +1 -1
- package/dist/ui-components.es300.js +8 -234
- package/dist/ui-components.es300.js.map +1 -1
- package/dist/ui-components.es301.js +46 -7
- package/dist/ui-components.es301.js.map +1 -1
- package/dist/ui-components.es302.js +40 -6
- package/dist/ui-components.es302.js.map +1 -1
- package/dist/ui-components.es303.js +60 -6
- package/dist/ui-components.es303.js.map +1 -1
- package/dist/ui-components.es304.js +76 -5
- package/dist/ui-components.es304.js.map +1 -1
- package/dist/ui-components.es305.js +24 -3
- package/dist/ui-components.es305.js.map +1 -1
- package/dist/ui-components.es306.js +40 -23
- package/dist/ui-components.es306.js.map +1 -1
- package/dist/ui-components.es307.js +39 -9
- package/dist/ui-components.es307.js.map +1 -1
- package/dist/ui-components.es308.js +2 -20
- package/dist/ui-components.es308.js.map +1 -1
- package/dist/ui-components.es309.js +1 -1
- package/dist/ui-components.es31.js +11 -6
- package/dist/ui-components.es31.js.map +1 -1
- package/dist/ui-components.es310.js +20 -19
- package/dist/ui-components.es310.js.map +1 -1
- package/dist/ui-components.es311.js +20 -51
- package/dist/ui-components.es311.js.map +1 -1
- package/dist/ui-components.es312.js +51 -7
- package/dist/ui-components.es312.js.map +1 -1
- package/dist/ui-components.es313.js +5 -8
- package/dist/ui-components.es313.js.map +1 -1
- package/dist/ui-components.es314.js +4 -12
- package/dist/ui-components.es314.js.map +1 -1
- package/dist/ui-components.es315.js +25 -7
- package/dist/ui-components.es315.js.map +1 -1
- package/dist/ui-components.es316.js +13 -2
- package/dist/ui-components.es316.js.map +1 -1
- package/dist/ui-components.es317.js +9 -74
- package/dist/ui-components.es317.js.map +1 -1
- package/dist/ui-components.es318.js +9 -74
- package/dist/ui-components.es318.js.map +1 -1
- package/dist/ui-components.es319.js +3 -7
- package/dist/ui-components.es319.js.map +1 -1
- package/dist/ui-components.es32.js +75 -6
- package/dist/ui-components.es32.js.map +1 -1
- package/dist/ui-components.es320.js +8 -3
- package/dist/ui-components.es320.js.map +1 -1
- package/dist/ui-components.es321.js +7 -8
- package/dist/ui-components.es321.js.map +1 -1
- package/dist/ui-components.es322.js +243 -7
- package/dist/ui-components.es322.js.map +1 -1
- package/dist/ui-components.es323.js +8 -7
- package/dist/ui-components.es323.js.map +1 -1
- package/dist/ui-components.es324.js +49 -7
- package/dist/ui-components.es324.js.map +1 -1
- package/dist/ui-components.es325.js +3 -7
- package/dist/ui-components.es325.js.map +1 -1
- package/dist/ui-components.es326.js +6 -6
- package/dist/ui-components.es326.js.map +1 -1
- package/dist/ui-components.es327.js +7 -243
- package/dist/ui-components.es327.js.map +1 -1
- package/dist/ui-components.es328.js +7 -8
- package/dist/ui-components.es328.js.map +1 -1
- package/dist/ui-components.es329.js +7 -49
- package/dist/ui-components.es329.js.map +1 -1
- package/dist/ui-components.es33.js +113 -6
- package/dist/ui-components.es33.js.map +1 -1
- package/dist/ui-components.es330.js +7 -3
- package/dist/ui-components.es330.js.map +1 -1
- package/dist/ui-components.es331.js +6 -6
- package/dist/ui-components.es331.js.map +1 -1
- package/dist/ui-components.es332.js +3 -14
- package/dist/ui-components.es332.js.map +1 -1
- package/dist/ui-components.es333.js +6 -333
- package/dist/ui-components.es333.js.map +1 -1
- package/dist/ui-components.es334.js +169 -7
- package/dist/ui-components.es334.js.map +1 -1
- package/dist/ui-components.es335.js +6 -5
- package/dist/ui-components.es335.js.map +1 -1
- package/dist/ui-components.es336.js +5 -321
- package/dist/ui-components.es336.js.map +1 -1
- package/dist/ui-components.es337.js +14 -6
- package/dist/ui-components.es337.js.map +1 -1
- package/dist/ui-components.es338.js +333 -3
- package/dist/ui-components.es338.js.map +1 -1
- package/dist/ui-components.es339.js +321 -6
- package/dist/ui-components.es339.js.map +1 -1
- package/dist/ui-components.es34.js +241 -6
- package/dist/ui-components.es34.js.map +1 -1
- package/dist/ui-components.es340.js +7 -169
- package/dist/ui-components.es340.js.map +1 -1
- package/dist/ui-components.es341.js +125 -2
- package/dist/ui-components.es341.js.map +1 -1
- package/dist/ui-components.es342.js +2 -2
- package/dist/ui-components.es343.js +2 -7
- package/dist/ui-components.es343.js.map +1 -1
- package/dist/ui-components.es344.js +7 -125
- package/dist/ui-components.es344.js.map +1 -1
- package/dist/ui-components.es345.js +6 -6
- package/dist/ui-components.es345.js.map +1 -1
- package/dist/ui-components.es348.js +10 -10
- package/dist/ui-components.es349.js +1 -1
- package/dist/ui-components.es35.js +196 -6
- package/dist/ui-components.es35.js.map +1 -1
- package/dist/ui-components.es353.js +1 -1
- package/dist/ui-components.es36.js +75 -6
- package/dist/ui-components.es36.js.map +1 -1
- package/dist/ui-components.es360.js +6 -29
- package/dist/ui-components.es360.js.map +1 -1
- package/dist/ui-components.es361.js +29 -120
- package/dist/ui-components.es361.js.map +1 -1
- package/dist/ui-components.es362.js +117 -27
- package/dist/ui-components.es362.js.map +1 -1
- package/dist/ui-components.es363.js +28 -9
- package/dist/ui-components.es363.js.map +1 -1
- package/dist/ui-components.es364.js +10 -13
- package/dist/ui-components.es364.js.map +1 -1
- package/dist/ui-components.es365.js +12 -31
- package/dist/ui-components.es365.js.map +1 -1
- package/dist/ui-components.es366.js +30 -26
- package/dist/ui-components.es366.js.map +1 -1
- package/dist/ui-components.es367.js +28 -10
- package/dist/ui-components.es367.js.map +1 -1
- package/dist/ui-components.es368.js +10 -12
- package/dist/ui-components.es368.js.map +1 -1
- package/dist/ui-components.es369.js +12 -17
- package/dist/ui-components.es369.js.map +1 -1
- package/dist/ui-components.es37.js +461 -6
- package/dist/ui-components.es37.js.map +1 -1
- package/dist/ui-components.es370.js +17 -23
- package/dist/ui-components.es370.js.map +1 -1
- package/dist/ui-components.es371.js +20 -13
- package/dist/ui-components.es371.js.map +1 -1
- package/dist/ui-components.es372.js +12 -92
- package/dist/ui-components.es372.js.map +1 -1
- package/dist/ui-components.es373.js +91 -39
- package/dist/ui-components.es373.js.map +1 -1
- package/dist/ui-components.es374.js +41 -25
- package/dist/ui-components.es374.js.map +1 -1
- package/dist/ui-components.es375.js +23 -66
- package/dist/ui-components.es375.js.map +1 -1
- package/dist/ui-components.es376.js +66 -46
- package/dist/ui-components.es376.js.map +1 -1
- package/dist/ui-components.es377.js +47 -30
- package/dist/ui-components.es377.js.map +1 -1
- package/dist/ui-components.es378.js +30 -37
- package/dist/ui-components.es378.js.map +1 -1
- package/dist/ui-components.es379.js +41 -5
- package/dist/ui-components.es379.js.map +1 -1
- package/dist/ui-components.es38.js +514 -590
- package/dist/ui-components.es38.js.map +1 -1
- package/dist/ui-components.es382.js +1 -1
- package/dist/ui-components.es388.js +1 -1
- package/dist/ui-components.es39.js +165 -530
- package/dist/ui-components.es39.js.map +1 -1
- package/dist/ui-components.es394.js +2 -2
- package/dist/ui-components.es395.js +1 -1
- package/dist/ui-components.es396.js +1 -1
- package/dist/ui-components.es399.js +1 -1
- package/dist/ui-components.es4.js +72 -67
- package/dist/ui-components.es4.js.map +1 -1
- package/dist/ui-components.es40.js +120 -10
- package/dist/ui-components.es40.js.map +1 -1
- package/dist/ui-components.es400.js +1 -1
- package/dist/ui-components.es403.js +1 -1
- package/dist/ui-components.es404.js +1 -1
- package/dist/ui-components.es407.js +4 -4
- package/dist/ui-components.es41.js +101 -50
- package/dist/ui-components.es41.js.map +1 -1
- package/dist/ui-components.es42.js +43 -87
- package/dist/ui-components.es42.js.map +1 -1
- package/dist/ui-components.es43.js +202 -184
- package/dist/ui-components.es43.js.map +1 -1
- package/dist/ui-components.es44.js +194 -126
- package/dist/ui-components.es44.js.map +1 -1
- package/dist/ui-components.es45.js +16 -59
- package/dist/ui-components.es45.js.map +1 -1
- package/dist/ui-components.es46.js +272 -384
- package/dist/ui-components.es46.js.map +1 -1
- package/dist/ui-components.es47.js +106 -593
- package/dist/ui-components.es47.js.map +1 -1
- package/dist/ui-components.es48.js +140 -293
- package/dist/ui-components.es48.js.map +1 -1
- package/dist/ui-components.es49.js +991 -77
- package/dist/ui-components.es49.js.map +1 -1
- package/dist/ui-components.es5.js +1 -1
- package/dist/ui-components.es50.js +100 -102
- package/dist/ui-components.es50.js.map +1 -1
- package/dist/ui-components.es51.js +362 -45
- package/dist/ui-components.es51.js.map +1 -1
- package/dist/ui-components.es52.js +6 -259
- package/dist/ui-components.es52.js.map +1 -1
- package/dist/ui-components.es53.js +53 -263
- package/dist/ui-components.es53.js.map +1 -1
- package/dist/ui-components.es54.js +161 -348
- package/dist/ui-components.es54.js.map +1 -1
- package/dist/ui-components.es55.js +208 -151
- package/dist/ui-components.es55.js.map +1 -1
- package/dist/ui-components.es56.js +236 -137
- package/dist/ui-components.es56.js.map +1 -1
- package/dist/ui-components.es59.js +1 -1
- package/dist/ui-components.es6.js +80 -71
- package/dist/ui-components.es6.js.map +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 +1 -1
- package/dist/ui-components.es66.js +1 -1
- package/dist/ui-components.es67.js +1 -1
- package/dist/ui-components.es68.js +1 -1
- package/dist/ui-components.es69.js +3 -3
- package/dist/ui-components.es7.js +1 -1
- package/dist/ui-components.es70.js +7 -7
- package/dist/ui-components.es71.js +10 -10
- package/dist/ui-components.es72.js +11 -11
- package/dist/ui-components.es73.js +6 -6
- package/dist/ui-components.es75.js +209 -2
- package/dist/ui-components.es75.js.map +1 -1
- package/dist/ui-components.es76.js +2 -2
- package/dist/ui-components.es77.js +2 -2
- package/dist/ui-components.es78.js +2 -2
- package/dist/ui-components.es79.js +2 -209
- package/dist/ui-components.es79.js.map +1 -1
- package/dist/ui-components.es8.js +2 -2
- package/dist/ui-components.es81.js +2 -2
- package/dist/ui-components.es82.js +1 -1
- package/dist/ui-components.es85.js +1 -1
- package/dist/ui-components.es87.js +1 -1
- package/dist/ui-components.es89.js +7 -11
- package/dist/ui-components.es89.js.map +1 -1
- package/dist/ui-components.es9.js +1 -1
- package/dist/ui-components.es90.js +450 -3
- package/dist/ui-components.es90.js.map +1 -1
- package/dist/ui-components.es91.js +3 -14
- package/dist/ui-components.es91.js.map +1 -1
- package/dist/ui-components.es92.js +4 -2
- package/dist/ui-components.es92.js.map +1 -1
- package/dist/ui-components.es93.js +3 -8
- package/dist/ui-components.es93.js.map +1 -1
- package/dist/ui-components.es94.js +14 -326
- package/dist/ui-components.es94.js.map +1 -1
- package/dist/ui-components.es95.js +42 -49
- package/dist/ui-components.es95.js.map +1 -1
- package/dist/ui-components.es96.js +7 -21
- package/dist/ui-components.es96.js.map +1 -1
- package/dist/ui-components.es97.js +22 -33
- package/dist/ui-components.es97.js.map +1 -1
- package/dist/ui-components.es98.js +6 -23
- package/dist/ui-components.es98.js.map +1 -1
- package/dist/ui-components.es99.js +4 -10
- package/dist/ui-components.es99.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,67 +1,170 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { r as N } from "./ui-components.es227.js";
|
|
3
|
+
import c from "./ui-components.es81.js";
|
|
4
|
+
import { j } from "./ui-components.es12.js";
|
|
5
|
+
import H from "./ui-components.es101.js";
|
|
6
|
+
import O from "./ui-components.es176.js";
|
|
7
|
+
import A from "./ui-components.es177.js";
|
|
8
|
+
import P from "./ui-components.es139.js";
|
|
9
|
+
import V from "./ui-components.es341.js";
|
|
10
|
+
import W from "./ui-components.es141.js";
|
|
11
|
+
function M(n, t, r) {
|
|
12
|
+
return n === t ? n.firstChild : t && t.nextElementSibling ? t.nextElementSibling : r ? null : n.firstChild;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
+
function k(n, t, r) {
|
|
15
|
+
return n === t ? r ? n.firstChild : n.lastChild : t && t.previousElementSibling ? t.previousElementSibling : r ? null : n.lastChild;
|
|
16
|
+
}
|
|
17
|
+
function C(n, t) {
|
|
18
|
+
if (t === void 0)
|
|
19
|
+
return !0;
|
|
20
|
+
let r = n.innerText;
|
|
21
|
+
return r === void 0 && (r = n.textContent), r = r.trim().toLowerCase(), r.length === 0 ? !1 : t.repeating ? r[0] === t.keys[0] : r.startsWith(t.keys.join(""));
|
|
22
|
+
}
|
|
23
|
+
function y(n, t, r, w, m, E) {
|
|
24
|
+
let p = !1, u = m(n, t, t ? r : !1);
|
|
25
|
+
for (; u; ) {
|
|
26
|
+
if (u === n.firstChild) {
|
|
27
|
+
if (p)
|
|
28
|
+
return !1;
|
|
29
|
+
p = !0;
|
|
30
|
+
}
|
|
31
|
+
const d = w ? !1 : u.disabled || u.getAttribute("aria-disabled") === "true";
|
|
32
|
+
if (!u.hasAttribute("tabindex") || !C(u, E) || d)
|
|
33
|
+
u = m(n, u, r);
|
|
34
|
+
else
|
|
35
|
+
return u.focus(), !0;
|
|
36
|
+
}
|
|
37
|
+
return !1;
|
|
38
|
+
}
|
|
39
|
+
const z = /* @__PURE__ */ f.forwardRef(function(t, r) {
|
|
14
40
|
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
41
|
+
// private
|
|
42
|
+
// eslint-disable-next-line react/prop-types
|
|
43
|
+
actions: w,
|
|
44
|
+
autoFocus: m = !1,
|
|
45
|
+
autoFocusItem: E = !1,
|
|
46
|
+
children: p,
|
|
47
|
+
className: u,
|
|
48
|
+
disabledItemsFocusable: d = !1,
|
|
49
|
+
disableListWrap: g = !1,
|
|
50
|
+
onKeyDown: b,
|
|
51
|
+
variant: D = "selectedMenu",
|
|
52
|
+
...F
|
|
53
|
+
} = t, a = f.useRef(null), v = f.useRef({
|
|
54
|
+
keys: [],
|
|
55
|
+
repeating: !0,
|
|
56
|
+
previousKeyMatched: !0,
|
|
57
|
+
lastTime: null
|
|
58
|
+
});
|
|
59
|
+
H(() => {
|
|
60
|
+
m && a.current.focus();
|
|
61
|
+
}, [m]), f.useImperativeHandle(w, () => ({
|
|
62
|
+
adjustStyleForScrollbar: (e, {
|
|
63
|
+
direction: s
|
|
64
|
+
}) => {
|
|
65
|
+
const l = !a.current.style.width;
|
|
66
|
+
if (e.clientHeight < a.current.clientHeight && l) {
|
|
67
|
+
const x = `${O(A(e))}px`;
|
|
68
|
+
a.current.style[s === "rtl" ? "paddingLeft" : "paddingRight"] = x, a.current.style.width = `calc(100% + ${x})`;
|
|
69
|
+
}
|
|
70
|
+
return a.current;
|
|
71
|
+
}
|
|
72
|
+
}), []);
|
|
73
|
+
const S = (e) => {
|
|
74
|
+
const s = a.current, l = e.key;
|
|
75
|
+
if (e.ctrlKey || e.metaKey || e.altKey) {
|
|
76
|
+
b && b(e);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const h = W(s).activeElement;
|
|
80
|
+
if (l === "ArrowDown")
|
|
81
|
+
e.preventDefault(), y(s, h, g, d, M);
|
|
82
|
+
else if (l === "ArrowUp")
|
|
83
|
+
e.preventDefault(), y(s, h, g, d, k);
|
|
84
|
+
else if (l === "Home")
|
|
85
|
+
e.preventDefault(), y(s, null, g, d, M);
|
|
86
|
+
else if (l === "End")
|
|
87
|
+
e.preventDefault(), y(s, null, g, d, k);
|
|
88
|
+
else if (l.length === 1) {
|
|
89
|
+
const i = v.current, I = l.toLowerCase(), K = performance.now();
|
|
90
|
+
i.keys.length > 0 && (K - i.lastTime > 500 ? (i.keys = [], i.repeating = !0, i.previousKeyMatched = !0) : i.repeating && I !== i.keys[0] && (i.repeating = !1)), i.lastTime = K, i.keys.push(I);
|
|
91
|
+
const T = h && !i.repeating && C(h, i);
|
|
92
|
+
i.previousKeyMatched && (T || y(s, h, !1, d, M, i)) ? e.preventDefault() : i.previousKeyMatched = !1;
|
|
93
|
+
}
|
|
94
|
+
b && b(e);
|
|
95
|
+
}, R = P(a, r);
|
|
96
|
+
let o = -1;
|
|
97
|
+
f.Children.forEach(p, (e, s) => {
|
|
98
|
+
if (!/* @__PURE__ */ f.isValidElement(e)) {
|
|
99
|
+
o === s && (o += 1, o >= p.length && (o = -1));
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
process.env.NODE_ENV !== "production" && N.isFragment(e) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
103
|
+
`)), e.props.disabled || (D === "selectedMenu" && e.props.selected || o === -1) && (o = s), o === s && (e.props.disabled || e.props.muiSkipListHighlight || e.type.muiSkipListHighlight) && (o += 1, o >= p.length && (o = -1));
|
|
104
|
+
});
|
|
105
|
+
const L = f.Children.map(p, (e, s) => {
|
|
106
|
+
if (s === o) {
|
|
107
|
+
const l = {};
|
|
108
|
+
return E && (l.autoFocus = !0), e.props.tabIndex === void 0 && D === "selectedMenu" && (l.tabIndex = 0), /* @__PURE__ */ f.cloneElement(e, l);
|
|
32
109
|
}
|
|
33
110
|
return e;
|
|
34
|
-
}
|
|
35
|
-
return
|
|
111
|
+
});
|
|
112
|
+
return /* @__PURE__ */ j.jsx(V, {
|
|
113
|
+
role: "menu",
|
|
114
|
+
ref: R,
|
|
115
|
+
className: u,
|
|
116
|
+
onKeyDown: S,
|
|
117
|
+
tabIndex: m ? 0 : -1,
|
|
118
|
+
...F,
|
|
119
|
+
children: L
|
|
120
|
+
});
|
|
36
121
|
});
|
|
37
|
-
process.env.NODE_ENV !== "production" && (
|
|
122
|
+
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
38
123
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
39
124
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
40
|
-
// │
|
|
125
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
41
126
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
42
127
|
/**
|
|
43
|
-
*
|
|
128
|
+
* If `true`, will focus the `[role="menu"]` container and move into tab order.
|
|
129
|
+
* @default false
|
|
44
130
|
*/
|
|
45
|
-
|
|
131
|
+
autoFocus: c.bool,
|
|
46
132
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* You can also provide a callback, which is called in a React layout effect.
|
|
51
|
-
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
52
|
-
*
|
|
53
|
-
* By default, it uses the body of the top-level document object,
|
|
54
|
-
* so it's simply `document.body` most of the time.
|
|
133
|
+
* If `true`, will focus the first menuitem if `variant="menu"` or selected item
|
|
134
|
+
* if `variant="selectedMenu"`.
|
|
135
|
+
* @default false
|
|
55
136
|
*/
|
|
56
|
-
|
|
137
|
+
autoFocusItem: c.bool,
|
|
57
138
|
/**
|
|
58
|
-
*
|
|
139
|
+
* MenuList contents, normally `MenuItem`s.
|
|
140
|
+
*/
|
|
141
|
+
children: c.node,
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
className: c.string,
|
|
146
|
+
/**
|
|
147
|
+
* If `true`, will allow focus on disabled items.
|
|
59
148
|
* @default false
|
|
60
149
|
*/
|
|
61
|
-
|
|
150
|
+
disabledItemsFocusable: c.bool,
|
|
151
|
+
/**
|
|
152
|
+
* If `true`, the menu items will not wrap focus.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
disableListWrap: c.bool,
|
|
156
|
+
/**
|
|
157
|
+
* @ignore
|
|
158
|
+
*/
|
|
159
|
+
onKeyDown: c.func,
|
|
160
|
+
/**
|
|
161
|
+
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
|
162
|
+
* and the vertical alignment relative to the anchor element.
|
|
163
|
+
* @default 'selectedMenu'
|
|
164
|
+
*/
|
|
165
|
+
variant: c.oneOf(["menu", "selectedMenu"])
|
|
62
166
|
});
|
|
63
|
-
process.env.NODE_ENV !== "production" && (l.propTypes = N(l.propTypes));
|
|
64
167
|
export {
|
|
65
|
-
|
|
168
|
+
z as default
|
|
66
169
|
};
|
|
67
170
|
//# sourceMappingURL=ui-components.es230.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es230.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/Portal/Portal.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport useForkRef from '@mui/utils/useForkRef';\nimport setRef from '@mui/utils/setRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport exactProp from '@mui/utils/exactProp';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nfunction getContainer(container) {\n return typeof container === 'function' ? container() : container;\n}\n\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n *\n * Demos:\n *\n * - [Portal](https://mui.com/material-ui/react-portal/)\n *\n * API:\n *\n * - [Portal API](https://mui.com/material-ui/api/portal/)\n */\nconst Portal = /*#__PURE__*/React.forwardRef(function Portal(props, forwardedRef) {\n const {\n children,\n container,\n disablePortal = false\n } = props;\n const [mountNode, setMountNode] = React.useState(null);\n const handleRef = useForkRef(/*#__PURE__*/React.isValidElement(children) ? getReactElementRef(children) : null, forwardedRef);\n useEnhancedEffect(() => {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(() => {\n if (mountNode && !disablePortal) {\n setRef(forwardedRef, mountNode);\n return () => {\n setRef(forwardedRef, null);\n };\n }\n return undefined;\n }, [forwardedRef, mountNode, disablePortal]);\n if (disablePortal) {\n if (/*#__PURE__*/React.isValidElement(children)) {\n const newProps = {\n ref: handleRef\n };\n return /*#__PURE__*/React.cloneElement(children, newProps);\n }\n return children;\n }\n return mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.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 * The children to render into the `container`.\n */\n children: PropTypes.node,\n /**\n * An HTML element or function that returns one.\n * The `container` will have the portal children appended to it.\n *\n * You can also provide a callback, which is called in a React layout effect.\n * This lets you set the container from a ref, and also makes server-side rendering possible.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),\n /**\n * The `children` will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\nexport default Portal;"],"names":["getContainer","container","Portal","React","props","forwardedRef","children","disablePortal","mountNode","setMountNode","handleRef","useForkRef","getReactElementRef","useEnhancedEffect","setRef","newProps","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,EAAU,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtG,eAAeA,EAAU;AAC3B;AACI,QAAQ,IAAI,aAAa,iBAE3Bf,EAAO,YAAoBiB,EAAUjB,EAAO,SAAS;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es230.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/MenuList/MenuList.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport ownerDocument from \"../utils/ownerDocument.js\";\nimport List from \"../List/index.js\";\nimport getScrollbarSize from \"../utils/getScrollbarSize.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport { ownerWindow } from \"../utils/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n return disableListWrap ? null : list.firstChild;\n}\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n return disableListWrap ? null : list.lastChild;\n}\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n let text = nextFocus.innerText;\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n text = text.trim().toLowerCase();\n if (text.length === 0) {\n return false;\n }\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n return text.startsWith(textCriteria.keys.join(''));\n}\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n let wrappedOnce = false;\n let nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return false;\n }\n wrappedOnce = true;\n }\n\n // Same logic as useAutocomplete.js\n const nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return true;\n }\n }\n return false;\n}\n\n/**\n * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.\n * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\nconst MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {\n const {\n // private\n // eslint-disable-next-line react/prop-types\n actions,\n autoFocus = false,\n autoFocusItem = false,\n children,\n className,\n disabledItemsFocusable = false,\n disableListWrap = false,\n onKeyDown,\n variant = 'selectedMenu',\n ...other\n } = props;\n const listRef = React.useRef(null);\n const textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(() => {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, () => ({\n adjustStyleForScrollbar: (containerElement, {\n direction\n }) => {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n const noExplicitWidth = !listRef.current.style.width;\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n const scrollbarSize = `${getScrollbarSize(ownerWindow(containerElement))}px`;\n listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = `calc(100% + ${scrollbarSize})`;\n }\n return listRef.current;\n }\n }), []);\n const handleKeyDown = event => {\n const list = listRef.current;\n const key = event.key;\n const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey;\n if (isModifierKeyPressed) {\n if (onKeyDown) {\n onKeyDown(event);\n }\n return;\n }\n\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n const currentFocus = ownerDocument(list).activeElement;\n if (key === 'ArrowDown') {\n // Prevent scroll of the page\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key.length === 1) {\n const criteria = textCriteriaRef.current;\n const lowerKey = key.toLowerCase();\n const currTime = performance.now();\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n const keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n const handleRef = useForkRef(listRef, ref);\n\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n let activeItemIndex = -1;\n // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n React.Children.forEach(children, (child, index) => {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n if (activeItemIndex === index) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n if (activeItemIndex === index && (child.props.disabled || child.props.muiSkipListHighlight || child.type.muiSkipListHighlight)) {\n activeItemIndex += 1;\n if (activeItemIndex >= children.length) {\n // there are no focusable items within the list.\n activeItemIndex = -1;\n }\n }\n });\n const items = React.Children.map(children, (child, index) => {\n if (index === activeItemIndex) {\n const newChildProps = {};\n if (autoFocusItem) {\n newChildProps.autoFocus = true;\n }\n if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n newChildProps.tabIndex = 0;\n }\n return /*#__PURE__*/React.cloneElement(child, newChildProps);\n }\n return child;\n });\n return /*#__PURE__*/_jsx(List, {\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1,\n ...other,\n children: items\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.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`, will focus the `[role=\"menu\"]` container and move into tab order.\n * @default false\n */\n autoFocus: PropTypes.bool,\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n * @default false\n */\n autoFocusItem: PropTypes.bool,\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the menu items will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n * @default 'selectedMenu'\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;"],"names":["nextItem","list","item","disableListWrap","previousItem","textCriteriaMatches","nextFocus","textCriteria","text","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","MenuList","React","props","ref","actions","autoFocus","autoFocusItem","children","className","onKeyDown","variant","other","listRef","textCriteriaRef","useEnhancedEffect","containerElement","direction","noExplicitWidth","scrollbarSize","getScrollbarSize","ownerWindow","handleKeyDown","event","key","ownerDocument","criteria","lowerKey","currTime","keepFocusOnCurrent","handleRef","useForkRef","activeItemIndex","child","index","isFragment","items","newChildProps","_jsx","List","PropTypes"],"mappings":";;;;;;;;;;AAYA,SAASA,EAASC,GAAMC,GAAMC,GAAiB;AAC7C,SAAIF,MAASC,IACJD,EAAK,aAEVC,KAAQA,EAAK,qBACRA,EAAK,qBAEPC,IAAkB,OAAOF,EAAK;AACvC;AACA,SAASG,EAAaH,GAAMC,GAAMC,GAAiB;AACjD,SAAIF,MAASC,IACJC,IAAkBF,EAAK,aAAaA,EAAK,YAE9CC,KAAQA,EAAK,yBACRA,EAAK,yBAEPC,IAAkB,OAAOF,EAAK;AACvC;AACA,SAASI,EAAoBC,GAAWC,GAAc;AACpD,MAAIA,MAAiB;AACnB,WAAO;AAET,MAAIC,IAAOF,EAAU;AAMrB,SALI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lC,EAAM,SAAS,IAAIM,GAAU,CAACyB,GAAOC,MAAU;AAC3D,QAAIA,MAAUF,GAAiB;AAC7B,YAAMK,IAAgB,CAAA;AACtB,aAAI9B,MACF8B,EAAc,YAAY,KAExBJ,EAAM,MAAM,aAAa,UAAatB,MAAY,mBACpD0B,EAAc,WAAW,IAEP,gBAAAnC,EAAM,aAAa+B,GAAOI,CAAa;AAAA,IAC7D;AACA,WAAOJ;AAAA,EACT,CAAC;AACD,SAAoBK,gBAAAA,EAAAA,IAAKC,GAAM;AAAA,IAC7B,MAAM;AAAA,IACN,KAAKT;AAAA,IACL,WAAWrB;AAAA,IACX,WAAWa;AAAA,IACX,UAAUhB,IAAY,IAAI;AAAA,IAC1B,GAAGM;AAAA,IACH,UAAUwB;AAAA,EACd,CAAG;AACH,CAAC;AACD,QAAQ,IAAI,aAAa,iBAAenC,EAAS,YAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASlF,WAAWuC,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMrB,eAAeA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIzB,UAAUA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrB,wBAAwBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKlC,iBAAiBA,EAAU;AAAA;AAAA;AAAA;AAAA,EAI3B,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMrB,SAASA,EAAU,MAAM,CAAC,QAAQ,cAAc,CAAC;AACnD;","x_google_ignoreList":[0]}
|
|
@@ -1,176 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import w from "./ui-components.es217.js";
|
|
6
|
-
import D from "./ui-components.es172.js";
|
|
7
|
-
import L from "./ui-components.es220.js";
|
|
8
|
-
import U from "./ui-components.es89.js";
|
|
9
|
-
const V = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
|
|
10
|
-
function q(e) {
|
|
11
|
-
const c = parseInt(e.getAttribute("tabindex") || "", 10);
|
|
12
|
-
return Number.isNaN(c) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : c;
|
|
1
|
+
import t from "./ui-components.es88.js";
|
|
2
|
+
import e from "./ui-components.es87.js";
|
|
3
|
+
function a(i) {
|
|
4
|
+
return e("MuiDivider", i);
|
|
13
5
|
}
|
|
14
|
-
|
|
15
|
-
if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
|
|
16
|
-
return !1;
|
|
17
|
-
const c = (r) => e.ownerDocument.querySelector(`input[type="radio"]${r}`);
|
|
18
|
-
let u = c(`[name="${e.name}"]:checked`);
|
|
19
|
-
return u || (u = c(`[name="${e.name}"]`)), u !== e;
|
|
20
|
-
}
|
|
21
|
-
function _(e) {
|
|
22
|
-
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || K(e));
|
|
23
|
-
}
|
|
24
|
-
function $(e) {
|
|
25
|
-
const c = [], u = [];
|
|
26
|
-
return Array.from(e.querySelectorAll(V)).forEach((r, s) => {
|
|
27
|
-
const f = q(r);
|
|
28
|
-
f === -1 || !_(r) || (f === 0 ? c.push(r) : u.push({
|
|
29
|
-
documentOrder: s,
|
|
30
|
-
tabIndex: f,
|
|
31
|
-
node: r
|
|
32
|
-
}));
|
|
33
|
-
}), u.sort((r, s) => r.tabIndex === s.tabIndex ? r.documentOrder - s.documentOrder : r.tabIndex - s.tabIndex).map((r) => r.node).concat(c);
|
|
34
|
-
}
|
|
35
|
-
function B() {
|
|
36
|
-
return !0;
|
|
37
|
-
}
|
|
38
|
-
function R(e) {
|
|
39
|
-
const {
|
|
40
|
-
children: c,
|
|
41
|
-
disableAutoFocus: u = !1,
|
|
42
|
-
disableEnforceFocus: r = !1,
|
|
43
|
-
disableRestoreFocus: s = !1,
|
|
44
|
-
getTabbable: f = $,
|
|
45
|
-
isEnabled: h = B,
|
|
46
|
-
open: i
|
|
47
|
-
} = e, x = o.useRef(!1), v = o.useRef(null), b = o.useRef(null), a = o.useRef(null), g = o.useRef(null), m = o.useRef(!1), n = o.useRef(null), O = P(w(c), n), T = o.useRef(null);
|
|
48
|
-
o.useEffect(() => {
|
|
49
|
-
!i || !n.current || (m.current = !u);
|
|
50
|
-
}, [u, i]), o.useEffect(() => {
|
|
51
|
-
if (!i || !n.current)
|
|
52
|
-
return;
|
|
53
|
-
const t = D(n.current);
|
|
54
|
-
return n.current.contains(t.activeElement) || (n.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
55
|
-
`)), n.current.setAttribute("tabIndex", "-1")), m.current && n.current.focus()), () => {
|
|
56
|
-
s || (a.current && a.current.focus && (x.current = !0, a.current.focus()), a.current = null);
|
|
57
|
-
};
|
|
58
|
-
}, [i]), o.useEffect(() => {
|
|
59
|
-
if (!i || !n.current)
|
|
60
|
-
return;
|
|
61
|
-
const t = D(n.current), p = (l) => {
|
|
62
|
-
T.current = l, !(r || !h() || l.key !== "Tab") && t.activeElement === n.current && l.shiftKey && (x.current = !0, b.current && b.current.focus());
|
|
63
|
-
}, I = () => {
|
|
64
|
-
const l = n.current;
|
|
65
|
-
if (l === null)
|
|
66
|
-
return;
|
|
67
|
-
if (!t.hasFocus() || !h() || x.current) {
|
|
68
|
-
x.current = !1;
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (l.contains(t.activeElement) || r && t.activeElement !== v.current && t.activeElement !== b.current)
|
|
72
|
-
return;
|
|
73
|
-
if (t.activeElement !== g.current)
|
|
74
|
-
g.current = null;
|
|
75
|
-
else if (g.current !== null)
|
|
76
|
-
return;
|
|
77
|
-
if (!m.current)
|
|
78
|
-
return;
|
|
79
|
-
let E = [];
|
|
80
|
-
if ((t.activeElement === v.current || t.activeElement === b.current) && (E = f(n.current)), E.length > 0) {
|
|
81
|
-
const k = !!(T.current?.shiftKey && T.current?.key === "Tab"), y = E[0], A = E[E.length - 1];
|
|
82
|
-
typeof y != "string" && typeof A != "string" && (k ? A.focus() : y.focus());
|
|
83
|
-
} else
|
|
84
|
-
l.focus();
|
|
85
|
-
};
|
|
86
|
-
t.addEventListener("focusin", I), t.addEventListener("keydown", p, !0);
|
|
87
|
-
const j = setInterval(() => {
|
|
88
|
-
t.activeElement && t.activeElement.tagName === "BODY" && I();
|
|
89
|
-
}, 50);
|
|
90
|
-
return () => {
|
|
91
|
-
clearInterval(j), t.removeEventListener("focusin", I), t.removeEventListener("keydown", p, !0);
|
|
92
|
-
};
|
|
93
|
-
}, [u, r, s, h, i, f]);
|
|
94
|
-
const S = (t) => {
|
|
95
|
-
a.current === null && (a.current = t.relatedTarget), m.current = !0, g.current = t.target;
|
|
96
|
-
const p = c.props.onFocus;
|
|
97
|
-
p && p(t);
|
|
98
|
-
}, F = (t) => {
|
|
99
|
-
a.current === null && (a.current = t.relatedTarget), m.current = !0;
|
|
100
|
-
};
|
|
101
|
-
return /* @__PURE__ */ N.jsxs(o.Fragment, {
|
|
102
|
-
children: [/* @__PURE__ */ N.jsx("div", {
|
|
103
|
-
tabIndex: i ? 0 : -1,
|
|
104
|
-
onFocus: F,
|
|
105
|
-
ref: v,
|
|
106
|
-
"data-testid": "sentinelStart"
|
|
107
|
-
}), /* @__PURE__ */ o.cloneElement(c, {
|
|
108
|
-
ref: O,
|
|
109
|
-
onFocus: S
|
|
110
|
-
}), /* @__PURE__ */ N.jsx("div", {
|
|
111
|
-
tabIndex: i ? 0 : -1,
|
|
112
|
-
onFocus: F,
|
|
113
|
-
ref: b,
|
|
114
|
-
"data-testid": "sentinelEnd"
|
|
115
|
-
})]
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
process.env.NODE_ENV !== "production" && (R.propTypes = {
|
|
119
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
120
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
121
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
122
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
123
|
-
/**
|
|
124
|
-
* A single child content element.
|
|
125
|
-
*/
|
|
126
|
-
children: L,
|
|
127
|
-
/**
|
|
128
|
-
* If `true`, the focus trap will not automatically shift focus to itself when it opens, and
|
|
129
|
-
* replace it to the last focused element when it closes.
|
|
130
|
-
* This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
|
|
131
|
-
*
|
|
132
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
133
|
-
* accessible to assistive technologies, like screen readers.
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
136
|
-
disableAutoFocus: d.bool,
|
|
137
|
-
/**
|
|
138
|
-
* If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
|
|
139
|
-
*
|
|
140
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
141
|
-
* accessible to assistive technologies, like screen readers.
|
|
142
|
-
* @default false
|
|
143
|
-
*/
|
|
144
|
-
disableEnforceFocus: d.bool,
|
|
145
|
-
/**
|
|
146
|
-
* If `true`, the focus trap will not restore focus to previously focused element once
|
|
147
|
-
* focus trap is hidden or unmounted.
|
|
148
|
-
* @default false
|
|
149
|
-
*/
|
|
150
|
-
disableRestoreFocus: d.bool,
|
|
151
|
-
/**
|
|
152
|
-
* Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
|
|
153
|
-
* For instance, you can provide the "tabbable" npm dependency.
|
|
154
|
-
* @param {HTMLElement} root
|
|
155
|
-
*/
|
|
156
|
-
getTabbable: d.func,
|
|
157
|
-
/**
|
|
158
|
-
* This prop extends the `open` prop.
|
|
159
|
-
* It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
|
|
160
|
-
* This prop should be memoized.
|
|
161
|
-
* It can be used to support multiple focus trap mounted at the same time.
|
|
162
|
-
* @default function defaultIsEnabled(): boolean {
|
|
163
|
-
* return true;
|
|
164
|
-
* }
|
|
165
|
-
*/
|
|
166
|
-
isEnabled: d.func,
|
|
167
|
-
/**
|
|
168
|
-
* If `true`, focus is locked.
|
|
169
|
-
*/
|
|
170
|
-
open: d.bool.isRequired
|
|
171
|
-
});
|
|
172
|
-
process.env.NODE_ENV !== "production" && (R.propTypes = U(R.propTypes));
|
|
6
|
+
const s = t("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
173
7
|
export {
|
|
174
|
-
|
|
8
|
+
s as default,
|
|
9
|
+
a as getDividerUtilityClass
|
|
175
10
|
};
|
|
176
11
|
//# sourceMappingURL=ui-components.es231.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-components.es231.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/Unstable_TrapFocus/FocusTrap.js"],"sourcesContent":["'use client';\n\n/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport useForkRef from '@mui/utils/useForkRef';\nimport ownerDocument from '@mui/utils/ownerDocument';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport exactProp from '@mui/utils/exactProp';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n// Inspired by https://github.com/focus-trap/tabbable\nconst candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'].join(',');\nfunction getTabIndex(node) {\n const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);\n if (!Number.isNaN(tabindexAttr)) {\n return tabindexAttr;\n }\n\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // https://issues.chromium.org/issues/41283952\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n if (node.contentEditable === 'true' || (node.nodeName === 'AUDIO' || node.nodeName === 'VIDEO' || node.nodeName === 'DETAILS') && node.getAttribute('tabindex') === null) {\n return 0;\n }\n return node.tabIndex;\n}\nfunction isNonTabbableRadio(node) {\n if (node.tagName !== 'INPUT' || node.type !== 'radio') {\n return false;\n }\n if (!node.name) {\n return false;\n }\n const getRadio = selector => node.ownerDocument.querySelector(`input[type=\"radio\"]${selector}`);\n let roving = getRadio(`[name=\"${node.name}\"]:checked`);\n if (!roving) {\n roving = getRadio(`[name=\"${node.name}\"]`);\n }\n return roving !== node;\n}\nfunction isNodeMatchingSelectorFocusable(node) {\n if (node.disabled || node.tagName === 'INPUT' && node.type === 'hidden' || isNonTabbableRadio(node)) {\n return false;\n }\n return true;\n}\nfunction defaultGetTabbable(root) {\n const regularTabNodes = [];\n const orderedTabNodes = [];\n Array.from(root.querySelectorAll(candidatesSelector)).forEach((node, i) => {\n const nodeTabIndex = getTabIndex(node);\n if (nodeTabIndex === -1 || !isNodeMatchingSelectorFocusable(node)) {\n return;\n }\n if (nodeTabIndex === 0) {\n regularTabNodes.push(node);\n } else {\n orderedTabNodes.push({\n documentOrder: i,\n tabIndex: nodeTabIndex,\n node: node\n });\n }\n });\n return orderedTabNodes.sort((a, b) => a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex).map(a => a.node).concat(regularTabNodes);\n}\nfunction defaultIsEnabled() {\n return true;\n}\n\n/**\n * @ignore - internal component.\n */\nfunction FocusTrap(props) {\n const {\n children,\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableRestoreFocus = false,\n getTabbable = defaultGetTabbable,\n isEnabled = defaultIsEnabled,\n open\n } = props;\n const ignoreNextEnforceFocus = React.useRef(false);\n const sentinelStart = React.useRef(null);\n const sentinelEnd = React.useRef(null);\n const nodeToRestore = React.useRef(null);\n const reactFocusEventTarget = React.useRef(null);\n // This variable is useful when disableAutoFocus is true.\n // It waits for the active element to move into the component to activate.\n const activated = React.useRef(false);\n const rootRef = React.useRef(null);\n const handleRef = useForkRef(getReactElementRef(children), rootRef);\n const lastKeydown = React.useRef(null);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n activated.current = !disableAutoFocus;\n }, [disableAutoFocus, open]);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n const doc = ownerDocument(rootRef.current);\n if (!rootRef.current.contains(doc.activeElement)) {\n if (!rootRef.current.hasAttribute('tabIndex')) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['MUI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to \"-1\".'].join('\\n'));\n }\n rootRef.current.setAttribute('tabIndex', '-1');\n }\n if (activated.current) {\n rootRef.current.focus();\n }\n }\n return () => {\n // restoreLastFocus()\n if (!disableRestoreFocus) {\n // In IE11 it is possible for document.activeElement to be null resulting\n // in nodeToRestore.current being null.\n // Not all elements in IE11 have a focus method.\n // Once IE11 support is dropped the focus() call can be unconditional.\n if (nodeToRestore.current && nodeToRestore.current.focus) {\n ignoreNextEnforceFocus.current = true;\n nodeToRestore.current.focus();\n }\n nodeToRestore.current = null;\n }\n };\n // Missing `disableRestoreFocus` which is fine.\n // We don't support changing that prop on an open FocusTrap\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n React.useEffect(() => {\n // We might render an empty child.\n if (!open || !rootRef.current) {\n return;\n }\n const doc = ownerDocument(rootRef.current);\n const loopFocus = nativeEvent => {\n lastKeydown.current = nativeEvent;\n if (disableEnforceFocus || !isEnabled() || nativeEvent.key !== 'Tab') {\n return;\n }\n\n // Make sure the next tab starts from the right place.\n // doc.activeElement refers to the origin.\n if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {\n // We need to ignore the next contain as\n // it will try to move the focus back to the rootRef element.\n ignoreNextEnforceFocus.current = true;\n if (sentinelEnd.current) {\n sentinelEnd.current.focus();\n }\n }\n };\n const contain = () => {\n const rootElement = rootRef.current;\n\n // Cleanup functions are executed lazily in React 17.\n // Contain can be called between the component being unmounted and its cleanup function being run.\n if (rootElement === null) {\n return;\n }\n if (!doc.hasFocus() || !isEnabled() || ignoreNextEnforceFocus.current) {\n ignoreNextEnforceFocus.current = false;\n return;\n }\n\n // The focus is already inside\n if (rootElement.contains(doc.activeElement)) {\n return;\n }\n\n // The disableEnforceFocus is set and the focus is outside of the focus trap (and sentinel nodes)\n if (disableEnforceFocus && doc.activeElement !== sentinelStart.current && doc.activeElement !== sentinelEnd.current) {\n return;\n }\n\n // if the focus event is not coming from inside the children's react tree, reset the refs\n if (doc.activeElement !== reactFocusEventTarget.current) {\n reactFocusEventTarget.current = null;\n } else if (reactFocusEventTarget.current !== null) {\n return;\n }\n if (!activated.current) {\n return;\n }\n let tabbable = [];\n if (doc.activeElement === sentinelStart.current || doc.activeElement === sentinelEnd.current) {\n tabbable = getTabbable(rootRef.current);\n }\n\n // one of the sentinel nodes was focused, so move the focus\n // to the first/last tabbable element inside the focus trap\n if (tabbable.length > 0) {\n const isShiftTab = Boolean(lastKeydown.current?.shiftKey && lastKeydown.current?.key === 'Tab');\n const focusNext = tabbable[0];\n const focusPrevious = tabbable[tabbable.length - 1];\n if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {\n if (isShiftTab) {\n focusPrevious.focus();\n } else {\n focusNext.focus();\n }\n }\n // no tabbable elements in the trap focus or the focus was outside of the focus trap\n } else {\n rootElement.focus();\n }\n };\n doc.addEventListener('focusin', contain);\n doc.addEventListener('keydown', loopFocus, true);\n\n // With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area.\n // for example https://bugzilla.mozilla.org/show_bug.cgi?id=559561.\n // Instead, we can look if the active element was restored on the BODY element.\n //\n // The whatwg spec defines how the browser should behave but does not explicitly mention any events:\n // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.\n const interval = setInterval(() => {\n if (doc.activeElement && doc.activeElement.tagName === 'BODY') {\n contain();\n }\n }, 50);\n return () => {\n clearInterval(interval);\n doc.removeEventListener('focusin', contain);\n doc.removeEventListener('keydown', loopFocus, true);\n };\n }, [disableAutoFocus, disableEnforceFocus, disableRestoreFocus, isEnabled, open, getTabbable]);\n const onFocus = event => {\n if (nodeToRestore.current === null) {\n nodeToRestore.current = event.relatedTarget;\n }\n activated.current = true;\n reactFocusEventTarget.current = event.target;\n const childrenPropsHandler = children.props.onFocus;\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n const handleFocusSentinel = event => {\n if (nodeToRestore.current === null) {\n nodeToRestore.current = event.relatedTarget;\n }\n activated.current = true;\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"div\", {\n tabIndex: open ? 0 : -1,\n onFocus: handleFocusSentinel,\n ref: sentinelStart,\n \"data-testid\": \"sentinelStart\"\n }), /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef,\n onFocus\n }), /*#__PURE__*/_jsx(\"div\", {\n tabIndex: open ? 0 : -1,\n onFocus: handleFocusSentinel,\n ref: sentinelEnd,\n \"data-testid\": \"sentinelEnd\"\n })]\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? FocusTrap.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 * A single child content element.\n */\n children: elementAcceptingRef,\n /**\n * If `true`, the focus trap will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the focus trap less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableAutoFocus: PropTypes.bool,\n /**\n * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.\n *\n * Generally this should never be set to `true` as it makes the focus trap less\n * accessible to assistive technologies, like screen readers.\n * @default false\n */\n disableEnforceFocus: PropTypes.bool,\n /**\n * If `true`, the focus trap will not restore focus to previously focused element once\n * focus trap is hidden or unmounted.\n * @default false\n */\n disableRestoreFocus: PropTypes.bool,\n /**\n * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.\n * For instance, you can provide the \"tabbable\" npm dependency.\n * @param {HTMLElement} root\n */\n getTabbable: PropTypes.func,\n /**\n * This prop extends the `open` prop.\n * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.\n * This prop should be memoized.\n * It can be used to support multiple focus trap mounted at the same time.\n * @default function defaultIsEnabled(): boolean {\n * return true;\n * }\n */\n isEnabled: PropTypes.func,\n /**\n * If `true`, focus is locked.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n FocusTrap['propTypes' + ''] = exactProp(FocusTrap.propTypes);\n}\nexport default FocusTrap;"],"names":["candidatesSelector","getTabIndex","node","tabindexAttr","isNonTabbableRadio","getRadio","selector","roving","isNodeMatchingSelectorFocusable","defaultGetTabbable","root","regularTabNodes","orderedTabNodes","i","nodeTabIndex","a","b","defaultIsEnabled","FocusTrap","props","children","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","getTabbable","isEnabled","open","ignoreNextEnforceFocus","React","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","rootRef","handleRef","useForkRef","getReactElementRef","lastKeydown","doc","ownerDocument","loopFocus","nativeEvent","contain","rootElement","tabbable","isShiftTab","focusNext","focusPrevious","interval","onFocus","event","childrenPropsHandler","handleFocusSentinel","_jsxs","_jsx","elementAcceptingRef","PropTypes","exactProp"],"mappings":";;;;;;;;AAYA,MAAMA,IAAqB,CAAC,SAAS,UAAU,YAAY,WAAW,UAAU,cAAc,mBAAmB,mBAAmB,kDAAkD,EAAE,KAAK,GAAG;AAChM,SAASC,EAAYC,GAAM;AACzB,QAAMC,IAAe,SAASD,EAAK,aAAa,UAAU,KAAK,IAAI,EAAE;AACrE,SAAK,OAAO,MAAMC,CAAY,IAY1BD,EAAK,oBAAoB,WAAWA,EAAK,aAAa,WAAWA,EAAK,aAAa,WAAWA,EAAK,aAAa,cAAcA,EAAK,aAAa,UAAU,MAAM,OAC3J,IAEFA,EAAK,WAdHC;AAeX;AACA,SAASC,EAAmBF,GAAM;AAIhC,MAHIA,EAAK,YAAY,WAAWA,EAAK,SAAS,WAG1C,CAACA,EAAK;AACR,WAAO;AAET,QAAMG,IAAW,CAAAC,MAAYJ,EAAK,cAAc,cAAc,sBAAsBI,CAAQ,EAAE;AAC9F,MAAIC,IAASF,EAAS,UAAUH,EAAK,IAAI,YAAY;AACrD,SAAKK,MACHA,IAASF,EAAS,UAAUH,EAAK,IAAI,IAAI,IAEpCK,MAAWL;AACpB;AACA,SAASM,EAAgCN,GAAM;AAC7C,SAAI,EAAAA,EAAK,YAAYA,EAAK,YAAY,WAAWA,EAAK,SAAS,YAAYE,EAAmBF,CAAI;AAIpG;AACA,SAASO,EAAmBC,GAAM;AAChC,QAAMC,IAAkB,CAAA,GAClBC,IAAkB,CAAA;AACxB,eAAM,KAAKF,EAAK,iBAAiBV,CAAkB,CAAC,EAAE,QAAQ,CAACE,GAAMW,MAAM;AACzE,UAAMC,IAAeb,EAAYC,CAAI;AACrC,IAAIY,MAAiB,MAAM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AA,MAClC,UAAU7B,IAAO,IAAI;AAAA,MACrB,SAAS2B;AAAA,MACT,KAAKxB;AAAA,MACL,eAAe;AAAA,IACrB,CAAK,GAAgB,gBAAAD,EAAM,aAAaR,GAAU;AAAA,MAC5C,KAAKe;AAAA,MACL,SAAAe;AAAA,IACN,CAAK,GAAgBK,gBAAAA,EAAAA,IAAK,OAAO;AAAA,MAC3B,UAAU7B,IAAO,IAAI;AAAA,MACrB,SAAS2B;AAAA,MACT,KAAKvB;AAAA,MACL,eAAe;AAAA,IACrB,CAAK,CAAC;AAAA,EACN,CAAG;AACH;AACA,QAAQ,IAAI,aAAa,iBAAeZ,EAAU,YAAmC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQnF,UAAUsC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUV,kBAAkBC,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ5B,qBAAqBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM/B,qBAAqBA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM/B,aAAaA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUvB,WAAWA,EAAU;AAAA;AAAA;AAAA;AAAA,EAIrB,MAAMA,EAAU,KAAK;AACvB;AACI,QAAQ,IAAI,aAAa,iBAE3BvC,EAAU,YAAoBwC,EAAUxC,EAAU,SAAS;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ui-components.es231.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/Divider/dividerClasses.js"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDividerUtilityClass(slot) {\n return generateUtilityClass('MuiDivider', slot);\n}\nconst dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);\nexport default dividerClasses;"],"names":["getDividerUtilityClass","slot","generateUtilityClass","dividerClasses","generateUtilityClasses"],"mappings":";;AAEO,SAASA,EAAuBC,GAAM;AAC3C,SAAOC,EAAqB,cAAcD,CAAI;AAChD;AACK,MAACE,IAAiBC,EAAuB,cAAc,CAAC,QAAQ,YAAY,aAAa,SAAS,UAAU,YAAY,SAAS,YAAY,gBAAgB,wBAAwB,kBAAkB,iBAAiB,WAAW,iBAAiB,CAAC;","x_google_ignoreList":[0]}
|