mada-design-system 0.5.10 → 0.5.11
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/index.cjs10.js +1 -1
- package/index.cjs100.js +1 -1
- package/index.cjs101.js +1 -1
- package/index.cjs102.js +1 -1
- package/index.cjs105.js +1 -1
- package/index.cjs108.js +1 -1
- package/index.cjs109.js +1 -1
- package/index.cjs110.js +1 -1
- package/index.cjs111.js +1 -1
- package/index.cjs114.js +1 -1
- package/index.cjs115.js +1 -1
- package/index.cjs116.js +1 -1
- package/index.cjs117.js +1 -1
- package/index.cjs118.js +1 -1
- package/index.cjs121.js +1 -1
- package/index.cjs122.js +1 -1
- package/index.cjs123.js +1 -1
- package/index.cjs124.js +1 -1
- package/index.cjs125.js +1 -1
- package/index.cjs126.js +1 -1
- package/index.cjs127.js +1 -1
- package/index.cjs128.js +1 -1
- package/index.cjs129.js +1 -1
- package/index.cjs130.js +1 -1
- package/index.cjs131.js +1 -1
- package/index.cjs132.js +1 -20
- package/index.cjs133.js +20 -1
- package/index.cjs134.js +1 -1
- package/index.cjs135.js +1 -1
- package/index.cjs136.js +1 -1
- package/index.cjs137.js +1 -1
- package/index.cjs138.js +1 -1
- package/index.cjs139.js +1 -1
- package/index.cjs140.js +1 -1
- package/index.cjs141.js +1 -1
- package/index.cjs142.js +1 -1
- package/index.cjs143.js +1 -1
- package/index.cjs144.js +1 -1
- package/index.cjs145.js +1 -1
- package/index.cjs146.js +1 -1
- package/index.cjs147.js +1 -1
- package/index.cjs148.js +1 -1
- package/index.cjs149.js +1 -1
- package/index.cjs150.js +1 -1
- package/index.cjs151.js +1 -1
- package/index.cjs152.js +1 -1
- package/index.cjs153.js +1 -1
- package/index.cjs154.js +1 -1
- package/index.cjs155.js +1 -1
- package/index.cjs156.js +1 -1
- package/index.cjs157.js +1 -1
- package/index.cjs158.js +1 -1
- package/index.cjs159.js +1 -1
- package/index.cjs160.js +1 -1
- package/index.cjs161.js +1 -1
- package/index.cjs162.js +1 -1
- package/index.cjs163.js +1 -1
- package/index.cjs164.js +1 -1
- package/index.cjs165.js +1 -1
- package/index.cjs166.js +1 -1
- package/index.cjs167.js +1 -1
- package/index.cjs168.js +1 -1
- package/index.cjs169.js +1 -1
- package/index.cjs170.js +1 -1
- package/index.cjs171.js +1 -1
- package/index.cjs172.js +1 -1
- package/index.cjs173.js +1 -1
- package/index.cjs174.js +1 -1
- package/index.cjs176.js +1 -1
- package/index.cjs177.js +1 -1
- package/index.cjs179.js +1 -1
- package/index.cjs183.js +1 -1
- package/index.cjs191.js +1 -1
- package/index.cjs192.js +1 -4
- package/index.cjs193.js +1 -1
- package/index.cjs194.js +1 -1
- package/index.cjs195.js +1 -1
- package/index.cjs196.js +1 -1
- package/index.cjs197.js +1 -1
- package/index.cjs198.js +3 -1
- package/index.cjs199.js +1 -1
- package/index.cjs200.js +1 -3
- package/index.cjs201.js +1 -1
- package/index.cjs202.js +1 -1
- package/index.cjs203.js +1 -1
- package/index.cjs204.js +1 -1
- package/index.cjs205.js +1 -1
- package/index.cjs206.js +1 -1
- package/index.cjs207.js +1 -1
- package/index.cjs208.js +1 -1
- package/index.cjs209.js +1 -1
- package/index.cjs210.js +1 -1
- package/index.cjs211.js +1 -1
- package/index.cjs212.js +1 -1
- package/index.cjs213.js +1 -1
- package/index.cjs214.js +1 -1
- package/index.cjs215.js +1 -1
- package/index.cjs216.js +1 -1
- package/index.cjs217.js +1 -1
- package/index.cjs218.js +1 -1
- package/index.cjs219.js +1 -1
- package/index.cjs220.js +1 -1
- package/index.cjs221.js +1 -1
- package/index.cjs222.js +1 -1
- package/index.cjs223.js +1 -1
- package/index.cjs224.js +4 -1
- package/index.cjs226.js +1 -1
- package/index.cjs227.js +1 -1
- package/index.cjs228.js +1 -1
- package/index.cjs229.js +1 -1
- package/index.cjs230.js +1 -1
- package/index.cjs231.js +1 -1
- package/index.cjs235.js +1 -1
- package/index.cjs236.js +1 -1
- package/index.cjs237.js +2 -1
- package/index.cjs238.js +1 -1
- package/index.cjs239.js +1 -1
- package/index.cjs240.js +1 -1
- package/index.cjs241.js +1 -1
- package/index.cjs242.js +1 -1
- package/index.cjs243.js +1 -1
- package/index.cjs244.js +1 -1
- package/index.cjs245.js +1 -1
- package/index.cjs246.js +1 -1
- package/index.cjs247.js +1 -2
- package/index.cjs248.js +1 -1
- package/index.cjs249.js +1 -1
- package/index.cjs250.js +1 -1
- package/index.cjs251.js +1 -1
- package/index.cjs252.js +1 -1
- package/index.cjs253.js +2 -1
- package/index.cjs254.js +1 -1
- package/index.cjs255.js +1 -1
- package/index.cjs256.js +1 -1
- package/index.cjs257.js +1 -1
- package/index.cjs258.js +1 -1
- package/index.cjs259.js +1 -1
- package/index.cjs260.js +1 -1
- package/index.cjs261.js +1 -1
- package/index.cjs262.js +1 -1
- package/index.cjs263.js +1 -2
- package/index.cjs264.js +1 -1
- package/index.cjs268.js +1 -1
- package/index.cjs269.js +1 -1
- package/index.cjs270.js +1 -1
- package/index.cjs271.js +1 -1
- package/index.cjs272.js +1 -1
- package/index.cjs273.js +1 -1
- package/index.cjs274.js +1 -1
- package/index.cjs275.js +1 -1
- package/index.cjs276.js +1 -1
- package/index.cjs277.js +1 -1
- package/index.cjs278.js +15 -1
- package/index.cjs279.js +1 -1
- package/index.cjs280.js +1 -1
- package/index.cjs281.js +1 -15
- package/index.cjs282.js +1 -1
- package/index.cjs283.js +1 -1
- package/index.cjs284.js +1 -1
- package/index.cjs285.js +1 -1
- package/index.cjs286.js +1 -1
- package/index.cjs287.js +1 -1
- package/index.cjs288.js +1 -1
- package/index.cjs289.js +1 -1
- package/index.cjs290.js +1 -1
- package/index.cjs291.js +1 -1
- package/index.cjs292.js +1 -1
- package/index.cjs293.js +1 -1
- package/index.cjs294.js +1 -1
- package/index.cjs295.js +1 -1
- package/index.cjs296.js +1 -1
- package/index.cjs297.js +1 -1
- package/index.cjs298.js +1 -1
- package/index.cjs300.js +1 -1
- package/index.cjs301.js +1 -1
- package/index.cjs302.js +1 -1
- package/index.cjs303.js +1 -1
- package/index.cjs304.js +1 -1
- package/index.cjs305.js +1 -1
- package/index.cjs306.js +1 -1
- package/index.cjs307.js +1 -1
- package/index.cjs308.js +1 -1
- package/index.cjs309.js +1 -1
- package/index.cjs31.js +1 -1
- package/index.cjs310.js +1 -1
- package/index.cjs311.js +1 -1
- package/index.cjs312.js +1 -1
- package/index.cjs313.js +1 -1
- package/index.cjs314.js +1 -1
- package/index.cjs315.js +1 -1
- package/index.cjs316.js +1 -1
- package/index.cjs317.js +1 -1
- package/index.cjs318.js +1 -1
- package/index.cjs32.js +1 -1
- package/index.cjs324.js +1 -1
- package/index.cjs325.js +1 -1
- package/index.cjs326.js +1 -1
- package/index.cjs327.js +1 -1
- package/index.cjs328.js +1 -1
- package/index.cjs329.js +1 -1
- package/index.cjs330.js +1 -1
- package/index.cjs331.js +1 -1
- package/index.cjs332.js +1 -1
- package/index.cjs333.js +1 -1
- package/index.cjs334.js +1 -1
- package/index.cjs335.js +1 -1
- package/index.cjs336.js +1 -1
- package/index.cjs337.js +1 -1
- package/index.cjs338.js +1 -1
- package/index.cjs339.js +1 -1
- package/index.cjs340.js +1 -1
- package/index.cjs341.js +1 -1
- package/index.cjs342.js +1 -1
- package/index.cjs343.js +1 -1
- package/index.cjs344.js +1 -1
- package/index.cjs345.js +1 -1
- package/index.cjs346.js +1 -1
- package/index.cjs347.js +1 -1
- package/index.cjs348.js +1 -1
- package/index.cjs349.js +1 -1
- package/index.cjs350.js +1 -1
- package/index.cjs351.js +1 -1
- package/index.cjs352.js +1 -1
- package/index.cjs354.js +1 -1
- package/index.cjs355.js +1 -1
- package/index.cjs357.js +1 -1
- package/index.cjs358.js +1 -1
- package/index.cjs359.js +1 -1
- package/index.cjs360.js +1 -1
- package/index.cjs364.js +1 -1
- package/index.cjs365.js +1 -1
- package/index.cjs371.js +1 -1
- package/index.cjs372.js +1 -1
- package/index.cjs373.js +1 -1
- package/index.cjs375.js +1 -1
- package/index.cjs376.js +1 -1
- package/index.cjs377.js +1 -1
- package/index.cjs378.js +1 -1
- package/index.cjs379.js +1 -1
- package/index.cjs38.js +1 -1
- package/index.cjs380.js +1 -1
- package/index.cjs381.js +1 -1
- package/index.cjs382.js +1 -1
- package/index.cjs383.js +1 -1
- package/index.cjs390.js +1 -1
- package/index.cjs392.js +1 -1
- package/index.cjs393.js +1 -1
- package/index.cjs397.js +1 -1
- package/index.cjs4.js +1 -1
- package/index.cjs40.js +1 -1
- package/index.cjs404.js +1 -1
- package/index.cjs405.js +1 -1
- package/index.cjs406.js +1 -1
- package/index.cjs407.js +1 -1
- package/index.cjs408.js +1 -1
- package/index.cjs409.js +1 -1
- package/index.cjs41.js +1 -1
- package/index.cjs410.js +1 -1
- package/index.cjs413.js +1 -1
- package/index.cjs42.js +1 -1
- package/index.cjs428.js +1 -1
- package/index.cjs43.js +1 -1
- package/index.cjs430.js +1 -1
- package/index.cjs45.js +1 -1
- package/index.cjs46.js +1 -1
- package/index.cjs47.js +1 -1
- package/index.cjs49.js +1 -1
- package/index.cjs52.js +1 -1
- package/index.cjs55.js +1 -1
- package/index.cjs56.js +1 -1
- package/index.cjs57.js +1 -1
- package/index.cjs61.js +1 -1
- package/index.cjs64.js +1 -1
- package/index.cjs66.js +1 -1
- package/index.cjs67.js +1 -1
- package/index.cjs7.js +1 -1
- package/index.cjs71.js +1 -1
- package/index.cjs74.js +1 -1
- package/index.cjs75.js +1 -1
- package/index.cjs81.js +1 -1
- package/index.cjs85.js +1 -1
- package/index.cjs86.js +1 -1
- package/index.cjs87.js +1 -1
- package/index.cjs89.js +1 -1
- package/index.cjs96.js +1 -1
- package/index.es.d.ts +41 -3
- package/index.es10.js +1 -1
- package/index.es100.js +470 -10
- package/index.es101.js +10 -87
- package/index.es102.js +86 -19
- package/index.es105.js +1 -1
- package/index.es108.js +1 -1
- package/index.es109.js +1 -1
- package/index.es110.js +1 -1
- package/index.es111.js +1 -1
- package/index.es114.js +1 -1
- package/index.es115.js +1 -1
- package/index.es116.js +1 -1
- package/index.es117.js +1 -1
- package/index.es118.js +1 -1
- package/index.es121.js +4 -4
- package/index.es122.js +1 -1
- package/index.es123.js +1 -1
- package/index.es124.js +25 -25
- package/index.es125.js +1 -1
- package/index.es126.js +1 -1
- package/index.es127.js +1 -1
- package/index.es128.js +15 -15
- package/index.es129.js +21 -11
- package/index.es130.js +5 -5
- package/index.es131.js +5 -5
- package/index.es132.js +11 -205
- package/index.es133.js +205 -11
- package/index.es134.js +10 -4
- package/index.es135.js +4 -10
- package/index.es136.js +5 -5
- package/index.es137.js +5 -5
- package/index.es138.js +5 -5
- package/index.es139.js +5 -5
- package/index.es140.js +5 -5
- package/index.es141.js +5 -5
- package/index.es142.js +11 -2
- package/index.es143.js +1 -1
- package/index.es144.js +1 -1
- package/index.es145.js +1 -1
- package/index.es146.js +1 -1
- package/index.es147.js +1 -1
- package/index.es148.js +2 -11
- package/index.es149.js +4 -4
- package/index.es150.js +5 -5
- package/index.es151.js +5 -5
- package/index.es152.js +11 -3
- package/index.es153.js +3 -11
- package/index.es154.js +5 -5
- package/index.es155.js +5 -5
- package/index.es156.js +5 -5
- package/index.es157.js +11 -2
- package/index.es158.js +1 -1
- package/index.es159.js +2 -11
- package/index.es160.js +4 -4
- package/index.es161.js +5 -5
- package/index.es162.js +5 -5
- package/index.es163.js +5 -5
- package/index.es164.js +11 -22
- package/index.es165.js +22 -11
- package/index.es166.js +11 -22
- package/index.es167.js +22 -11
- package/index.es168.js +5 -5
- package/index.es169.js +11 -12
- package/index.es170.js +12 -11
- package/index.es171.js +4 -4
- package/index.es172.js +5 -5
- package/index.es173.js +5 -5
- package/index.es174.js +10 -470
- package/index.es176.js +2 -2
- package/index.es177.js +3 -3
- package/index.es179.js +1 -1
- package/index.es183.js +1 -1
- package/index.es191.js +31 -2
- package/index.es192.js +12 -2261
- package/index.es193.js +38 -30
- package/index.es194.js +11 -12
- package/index.es195.js +11 -37
- package/index.es196.js +13 -11
- package/index.es197.js +105 -12
- package/index.es198.js +25 -13
- package/index.es199.js +49 -104
- package/index.es200.js +371 -25
- package/index.es201.js +60 -49
- package/index.es202.js +46 -369
- package/index.es203.js +6 -62
- package/index.es204.js +5 -48
- package/index.es205.js +47 -6
- package/index.es206.js +22 -5
- package/index.es207.js +7 -47
- package/index.es208.js +10 -22
- package/index.es209.js +11 -7
- package/index.es210.js +17 -10
- package/index.es211.js +228 -9
- package/index.es212.js +24 -16
- package/index.es213.js +12 -230
- package/index.es214.js +277 -23
- package/index.es215.js +261 -11
- package/index.es216.js +16 -278
- package/index.es217.js +13 -260
- package/index.es218.js +20 -16
- package/index.es219.js +7 -14
- package/index.es220.js +5 -21
- package/index.es221.js +5 -8
- package/index.es222.js +5 -5
- package/index.es223.js +2 -5
- package/index.es224.js +2261 -5
- package/index.es226.js +2 -2
- package/index.es227.js +3 -3
- package/index.es228.js +7 -7
- package/index.es229.js +12 -12
- package/index.es230.js +1 -1
- package/index.es231.js +2 -2
- package/index.es235.js +2 -13
- package/index.es236.js +7 -24
- package/index.es237.js +325 -9
- package/index.es238.js +48 -36
- package/index.es239.js +29 -1999
- package/index.es240.js +34 -7
- package/index.es241.js +53 -72
- package/index.es242.js +117 -23
- package/index.es243.js +8 -3
- package/index.es244.js +163 -2
- package/index.es245.js +310 -2
- package/index.es246.js +126 -7
- package/index.es247.js +178 -325
- package/index.es248.js +24 -49
- package/index.es249.js +61 -29
- package/index.es250.js +5 -34
- package/index.es251.js +36 -53
- package/index.es252.js +26 -119
- package/index.es253.js +186 -9
- package/index.es254.js +135 -160
- package/index.es255.js +4 -310
- package/index.es256.js +2 -127
- package/index.es257.js +13 -180
- package/index.es258.js +23 -24
- package/index.es259.js +10 -61
- package/index.es260.js +39 -5
- package/index.es261.js +2000 -36
- package/index.es262.js +6 -25
- package/index.es263.js +72 -186
- package/index.es264.js +25 -138
- package/index.es268.js +2 -98
- package/index.es269.js +66 -23
- package/index.es270.js +82 -36
- package/index.es271.js +48 -2
- package/index.es272.js +8 -68
- package/index.es273.js +4 -84
- package/index.es274.js +47 -43
- package/index.es275.js +2 -9
- package/index.es276.js +59 -4
- package/index.es277.js +14 -49
- package/index.es278.js +244 -2
- package/index.es279.js +72 -58
- package/index.es280.js +4 -16
- package/index.es281.js +56 -242
- package/index.es282.js +11 -74
- package/index.es283.js +6 -4
- package/index.es284.js +35 -57
- package/index.es285.js +27 -11
- package/index.es286.js +291 -7
- package/index.es287.js +89 -34
- package/index.es288.js +3 -27
- package/index.es289.js +8 -291
- package/index.es290.js +15 -90
- package/index.es291.js +147 -3
- package/index.es292.js +38 -8
- package/index.es293.js +11 -16
- package/index.es294.js +118 -145
- package/index.es295.js +7 -38
- package/index.es296.js +8 -11
- package/index.es297.js +2 -2
- package/index.es298.js +9 -9
- package/index.es300.js +3 -3
- package/index.es301.js +59 -63
- package/index.es302.js +6 -6
- package/index.es303.js +7 -7
- package/index.es304.js +15 -115
- package/index.es305.js +97 -6
- package/index.es306.js +25 -7
- package/index.es307.js +38 -15
- package/index.es308.js +15 -5
- package/index.es309.js +6 -8
- package/index.es31.js +1 -1
- package/index.es310.js +5 -3
- package/index.es311.js +4 -3
- package/index.es312.js +117 -3
- package/index.es313.js +5 -6
- package/index.es314.js +7 -4
- package/index.es315.js +3 -4
- package/index.es316.js +3 -117
- package/index.es317.js +3 -4
- package/index.es318.js +4 -15
- package/index.es32.js +3 -3
- package/index.es324.js +5 -13
- package/index.es325.js +17 -143
- package/index.es326.js +17 -43
- package/index.es327.js +17 -3
- package/index.es328.js +17 -41
- package/index.es329.js +17 -8
- package/index.es330.js +17 -76
- package/index.es331.js +17 -55
- package/index.es332.js +12 -7
- package/index.es333.js +142 -75
- package/index.es334.js +42 -23
- package/index.es335.js +3 -62
- package/index.es336.js +40 -4
- package/index.es337.js +7 -6
- package/index.es338.js +74 -30
- package/index.es339.js +51 -55
- package/index.es340.js +7 -12
- package/index.es341.js +76 -4
- package/index.es342.js +23 -9
- package/index.es343.js +60 -53
- package/index.es344.js +4 -3
- package/index.es345.js +7 -5
- package/index.es346.js +32 -17
- package/index.es347.js +59 -17
- package/index.es348.js +13 -17
- package/index.es349.js +4 -17
- package/index.es350.js +10 -17
- package/index.es351.js +55 -17
- package/index.es352.js +4 -17
- package/index.es354.js +1 -1
- package/index.es355.js +1 -1
- package/index.es357.js +1 -1
- package/index.es358.js +15 -63
- package/index.es359.js +63 -15
- package/index.es360.js +1 -1
- package/index.es364.js +2 -2
- package/index.es365.js +1 -1
- package/index.es371.js +15 -6
- package/index.es372.js +6 -29
- package/index.es373.js +28 -14
- package/index.es375.js +2 -2
- package/index.es376.js +2 -2
- package/index.es377.js +2 -2
- package/index.es378.js +71 -2
- package/index.es379.js +92 -2
- package/index.es38.js +1 -1
- package/index.es380.js +2 -71
- package/index.es381.js +2 -92
- package/index.es382.js +2 -2
- package/index.es383.js +2 -2
- package/index.es390.js +1 -1
- package/index.es392.js +2 -2
- package/index.es393.js +1 -1
- package/index.es397.js +1 -1
- package/index.es4.js +154 -96
- package/index.es40.js +1 -1
- package/index.es404.js +1 -1
- package/index.es405.js +7 -7
- package/index.es406.js +2 -2
- package/index.es407.js +1 -1
- package/index.es408.js +8 -8
- package/index.es409.js +1 -1
- package/index.es41.js +1 -1
- package/index.es410.js +1 -1
- package/index.es413.js +2 -2
- package/index.es42.js +1 -1
- package/index.es428.js +2 -2
- package/index.es43.js +3 -3
- package/index.es430.js +2 -2
- package/index.es45.js +3 -3
- package/index.es46.js +3 -3
- package/index.es47.js +10 -10
- package/index.es49.js +9 -9
- package/index.es52.js +5 -5
- package/index.es55.js +2 -2
- package/index.es56.js +1 -1
- package/index.es57.js +1 -1
- package/index.es61.js +1 -1
- package/index.es64.js +4 -4
- package/index.es66.js +60 -60
- package/index.es67.js +2 -2
- package/index.es7.js +1 -1
- package/index.es71.js +3 -3
- package/index.es74.js +1 -1
- package/index.es75.js +4 -4
- package/index.es81.js +1 -1
- package/index.es85.js +2 -2
- package/index.es86.js +1 -1
- package/index.es87.js +1 -1
- package/index.es89.js +1 -1
- package/index.es96.js +2 -2
- package/package.json +1 -1
package/index.es102.js
CHANGED
|
@@ -1,23 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
if (Array.isArray(r)) {
|
|
7
|
-
var o = r.length;
|
|
8
|
-
for (n = 0; n < o; n++)
|
|
9
|
-
r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
|
|
10
|
-
} else
|
|
11
|
-
for (f in r)
|
|
12
|
-
r[f] && (t && (t += " "), t += f);
|
|
13
|
-
return t;
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { createTable as u } from "./index.es104.js";
|
|
3
|
+
import { ColumnFaceting as R, ColumnFiltering as S, ColumnGrouping as b, ColumnOrdering as w, ColumnPinning as y, ColumnSizing as F, ColumnVisibility as h, GlobalFaceting as x, GlobalFiltering as O, Headers as P, RowExpanding as v, RowPagination as E, RowPinning as G, RowSelection as $, RowSorting as A, _getVisibleLeafColumns as M, aggregationFns as V, buildHeaderGroups as j, createCell as k, createColumn as z, createRow as H, defaultColumnSizing as N, expandRows as T, filterFns as U, flattenBy as _, functionalUpdate as B, getCoreRowModel as L, getMemoOptions as q, getPaginationRowModel as D, isFunction as I, isNumberArray as J, isRowSelected as K, isSubRowSelected as Q, makeStateUpdater as W, memo as X, orderColumns as Y, passiveEventSupported as Z, reSplitAlphaNumeric as ee, selectRowsFn as te, shouldAutoRemoveFilter as ne, sortingFns as oe } from "./index.es104.js";
|
|
4
|
+
function m(e, t) {
|
|
5
|
+
return e ? s(e) ? /* @__PURE__ */ o.createElement(e, t) : e : null;
|
|
14
6
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
function s(e) {
|
|
8
|
+
return c(e) || typeof e == "function" || g(e);
|
|
9
|
+
}
|
|
10
|
+
function c(e) {
|
|
11
|
+
return typeof e == "function" && (() => {
|
|
12
|
+
const t = Object.getPrototypeOf(e);
|
|
13
|
+
return t.prototype && t.prototype.isReactComponent;
|
|
14
|
+
})();
|
|
15
|
+
}
|
|
16
|
+
function g(e) {
|
|
17
|
+
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
|
|
18
|
+
}
|
|
19
|
+
function p(e) {
|
|
20
|
+
const t = {
|
|
21
|
+
state: {},
|
|
22
|
+
// Dummy state
|
|
23
|
+
onStateChange: () => {
|
|
24
|
+
},
|
|
25
|
+
// noop
|
|
26
|
+
renderFallbackValue: null,
|
|
27
|
+
...e
|
|
28
|
+
}, [n] = o.useState(() => ({
|
|
29
|
+
current: u(t)
|
|
30
|
+
})), [i, a] = o.useState(() => n.current.initialState);
|
|
31
|
+
return n.current.setOptions((l) => ({
|
|
32
|
+
...l,
|
|
33
|
+
...e,
|
|
34
|
+
state: {
|
|
35
|
+
...i,
|
|
36
|
+
...e.state
|
|
37
|
+
},
|
|
38
|
+
// Similarly, we'll maintain both our internal state and any user-provided
|
|
39
|
+
// state.
|
|
40
|
+
onStateChange: (r) => {
|
|
41
|
+
a(r), e.onStateChange == null || e.onStateChange(r);
|
|
42
|
+
}
|
|
43
|
+
})), n.current;
|
|
19
44
|
}
|
|
20
45
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
46
|
+
R as ColumnFaceting,
|
|
47
|
+
S as ColumnFiltering,
|
|
48
|
+
b as ColumnGrouping,
|
|
49
|
+
w as ColumnOrdering,
|
|
50
|
+
y as ColumnPinning,
|
|
51
|
+
F as ColumnSizing,
|
|
52
|
+
h as ColumnVisibility,
|
|
53
|
+
x as GlobalFaceting,
|
|
54
|
+
O as GlobalFiltering,
|
|
55
|
+
P as Headers,
|
|
56
|
+
v as RowExpanding,
|
|
57
|
+
E as RowPagination,
|
|
58
|
+
G as RowPinning,
|
|
59
|
+
$ as RowSelection,
|
|
60
|
+
A as RowSorting,
|
|
61
|
+
M as _getVisibleLeafColumns,
|
|
62
|
+
V as aggregationFns,
|
|
63
|
+
j as buildHeaderGroups,
|
|
64
|
+
k as createCell,
|
|
65
|
+
z as createColumn,
|
|
66
|
+
H as createRow,
|
|
67
|
+
u as createTable,
|
|
68
|
+
N as defaultColumnSizing,
|
|
69
|
+
T as expandRows,
|
|
70
|
+
U as filterFns,
|
|
71
|
+
_ as flattenBy,
|
|
72
|
+
m as flexRender,
|
|
73
|
+
B as functionalUpdate,
|
|
74
|
+
L as getCoreRowModel,
|
|
75
|
+
q as getMemoOptions,
|
|
76
|
+
D as getPaginationRowModel,
|
|
77
|
+
I as isFunction,
|
|
78
|
+
J as isNumberArray,
|
|
79
|
+
K as isRowSelected,
|
|
80
|
+
Q as isSubRowSelected,
|
|
81
|
+
W as makeStateUpdater,
|
|
82
|
+
X as memo,
|
|
83
|
+
Y as orderColumns,
|
|
84
|
+
Z as passiveEventSupported,
|
|
85
|
+
ee as reSplitAlphaNumeric,
|
|
86
|
+
te as selectRowsFn,
|
|
87
|
+
ne as shouldAutoRemoveFilter,
|
|
88
|
+
oe as sortingFns,
|
|
89
|
+
p as useReactTable
|
|
23
90
|
};
|
package/index.es105.js
CHANGED
package/index.es108.js
CHANGED
package/index.es109.js
CHANGED
package/index.es110.js
CHANGED
package/index.es111.js
CHANGED
package/index.es114.js
CHANGED
package/index.es115.js
CHANGED
package/index.es116.js
CHANGED
package/index.es117.js
CHANGED
package/index.es118.js
CHANGED
package/index.es121.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import k from "./index.
|
|
2
|
-
import A from "./index.
|
|
1
|
+
import k from "./index.es194.js";
|
|
2
|
+
import A from "./index.es195.js";
|
|
3
3
|
import * as r from "react";
|
|
4
|
-
import e from "./index.
|
|
4
|
+
import e from "./index.es196.js";
|
|
5
5
|
import { jsx as L } from "react/jsx-runtime";
|
|
6
|
-
import M from "./index.
|
|
6
|
+
import M from "./index.es217.js";
|
|
7
7
|
const b = ["localeText"], n = /* @__PURE__ */ r.createContext(null);
|
|
8
8
|
process.env.NODE_ENV !== "production" && (n.displayName = "MuiPickersAdapterContext");
|
|
9
9
|
const v = function(i) {
|
package/index.es122.js
CHANGED
package/index.es123.js
CHANGED
package/index.es124.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import je from "./index.
|
|
2
|
-
import h from "./index.
|
|
1
|
+
import je from "./index.es195.js";
|
|
2
|
+
import h from "./index.es194.js";
|
|
3
3
|
import * as V from "react";
|
|
4
|
-
import e from "./index.
|
|
5
|
-
import { clsx as $e } from "./index.
|
|
6
|
-
import { useCalendarState as Le } from "./index.
|
|
7
|
-
import { useUtils as de, useDefaultDates as ze } from "./index.
|
|
8
|
-
import { PickersFadeTransitionGroup as Ie } from "./index.
|
|
9
|
-
import { DayCalendar as Ge } from "./index.
|
|
10
|
-
import { useViews as Ue } from "./index.
|
|
11
|
-
import { applyDefaultDate as re, findClosestEnabledDate as ie, mergeDateAndTime as Be } from "./index.
|
|
12
|
-
import { useDefaultReduceAnimations as qe } from "./index.
|
|
13
|
-
import { getDateCalendarUtilityClass as Ke } from "./index.
|
|
14
|
-
import { useControlledValueWithTimezone as Je } from "./index.
|
|
15
|
-
import { singleItemValueManager as Qe } from "./index.
|
|
16
|
-
import { VIEW_HEIGHT as Xe } from "./index.
|
|
4
|
+
import e from "./index.es196.js";
|
|
5
|
+
import { clsx as $e } from "./index.es129.js";
|
|
6
|
+
import { useCalendarState as Le } from "./index.es197.js";
|
|
7
|
+
import { useUtils as de, useDefaultDates as ze } from "./index.es198.js";
|
|
8
|
+
import { PickersFadeTransitionGroup as Ie } from "./index.es199.js";
|
|
9
|
+
import { DayCalendar as Ge } from "./index.es200.js";
|
|
10
|
+
import { useViews as Ue } from "./index.es201.js";
|
|
11
|
+
import { applyDefaultDate as re, findClosestEnabledDate as ie, mergeDateAndTime as Be } from "./index.es202.js";
|
|
12
|
+
import { useDefaultReduceAnimations as qe } from "./index.es203.js";
|
|
13
|
+
import { getDateCalendarUtilityClass as Ke } from "./index.es204.js";
|
|
14
|
+
import { useControlledValueWithTimezone as Je } from "./index.es205.js";
|
|
15
|
+
import { singleItemValueManager as Qe } from "./index.es206.js";
|
|
16
|
+
import { VIEW_HEIGHT as Xe } from "./index.es207.js";
|
|
17
17
|
import { jsxs as le, jsx as f } from "react/jsx-runtime";
|
|
18
|
-
import ue from "./index.
|
|
19
|
-
import { PickerViewRoot as Ze } from "./index.
|
|
20
|
-
import eo from "./index.
|
|
21
|
-
import { PickersCalendarHeader as oo } from "./index.
|
|
22
|
-
import ao from "./index.
|
|
23
|
-
import B from "./index.
|
|
24
|
-
import { YearCalendar as no } from "./index.
|
|
25
|
-
import { MonthCalendar as to } from "./index.
|
|
26
|
-
import so from "./index.
|
|
27
|
-
import ro from "./index.
|
|
18
|
+
import ue from "./index.es208.js";
|
|
19
|
+
import { PickerViewRoot as Ze } from "./index.es209.js";
|
|
20
|
+
import eo from "./index.es210.js";
|
|
21
|
+
import { PickersCalendarHeader as oo } from "./index.es211.js";
|
|
22
|
+
import ao from "./index.es212.js";
|
|
23
|
+
import B from "./index.es213.js";
|
|
24
|
+
import { YearCalendar as no } from "./index.es214.js";
|
|
25
|
+
import { MonthCalendar as to } from "./index.es215.js";
|
|
26
|
+
import so from "./index.es216.js";
|
|
27
|
+
import ro from "./index.es217.js";
|
|
28
28
|
const io = ["autoFocus", "onViewChange", "value", "defaultValue", "referenceDate", "disableFuture", "disablePast", "defaultCalendarMonth", "onChange", "onYearChange", "onMonthChange", "reduceAnimations", "shouldDisableDate", "shouldDisableMonth", "shouldDisableYear", "view", "views", "openTo", "className", "disabled", "readOnly", "minDate", "maxDate", "disableHighlightToday", "focusedView", "onFocusedViewChange", "showDaysOutsideCurrentMonth", "fixedWeekNumber", "dayOfWeekFormatter", "components", "componentsProps", "slots", "slotProps", "loading", "renderLoading", "displayWeekNumber", "yearsPerRow", "monthsPerRow", "timezone"], lo = (m) => {
|
|
29
29
|
const {
|
|
30
30
|
classes: i
|
package/index.es125.js
CHANGED
package/index.es126.js
CHANGED
package/index.es127.js
CHANGED
package/index.es128.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import v from "./index.
|
|
2
|
-
import fe from "./index.
|
|
1
|
+
import v from "./index.es194.js";
|
|
2
|
+
import fe from "./index.es195.js";
|
|
3
3
|
import * as i from "react";
|
|
4
|
-
import { clsx as de } from "./index.
|
|
5
|
-
import e from "./index.
|
|
6
|
-
import { useUtils as be, useLocaleText as ge, useNow as Ce } from "./index.
|
|
4
|
+
import { clsx as de } from "./index.es129.js";
|
|
5
|
+
import e from "./index.es196.js";
|
|
6
|
+
import { useUtils as be, useLocaleText as ge, useNow as Ce } from "./index.es198.js";
|
|
7
7
|
import { createIsAfterIgnoreDatePart as ve } from "./index.es225.js";
|
|
8
8
|
import { getDigitalClockUtilityClass as De } from "./index.es226.js";
|
|
9
|
-
import { useViews as ye } from "./index.
|
|
10
|
-
import { DIGITAL_CLOCK_VIEW_HEIGHT as he } from "./index.
|
|
11
|
-
import { useControlledValueWithTimezone as Te } from "./index.
|
|
12
|
-
import { singleItemValueManager as Ve } from "./index.
|
|
9
|
+
import { useViews as ye } from "./index.es201.js";
|
|
10
|
+
import { DIGITAL_CLOCK_VIEW_HEIGHT as he } from "./index.es207.js";
|
|
11
|
+
import { useControlledValueWithTimezone as Te } from "./index.es205.js";
|
|
12
|
+
import { singleItemValueManager as Ve } from "./index.es206.js";
|
|
13
13
|
import { useClockReferenceDate as ke } from "./index.es227.js";
|
|
14
14
|
import { jsx as D } from "react/jsx-runtime";
|
|
15
|
-
import y from "./index.
|
|
16
|
-
import { PickerViewRoot as we } from "./index.
|
|
15
|
+
import y from "./index.es208.js";
|
|
16
|
+
import { PickerViewRoot as we } from "./index.es209.js";
|
|
17
17
|
import Ie from "./index.es228.js";
|
|
18
18
|
import Pe from "./index.es229.js";
|
|
19
19
|
import Oe from "./index.es230.js";
|
|
20
|
-
import xe from "./index.
|
|
21
|
-
import Re from "./index.
|
|
22
|
-
import $ from "./index.
|
|
23
|
-
import Me from "./index.
|
|
20
|
+
import xe from "./index.es217.js";
|
|
21
|
+
import Re from "./index.es212.js";
|
|
22
|
+
import $ from "./index.es213.js";
|
|
23
|
+
import Me from "./index.es216.js";
|
|
24
24
|
import { alpha as A } from "./index.es231.js";
|
|
25
25
|
const Se = ["ampm", "timeStep", "autoFocus", "components", "componentsProps", "slots", "slotProps", "value", "defaultValue", "referenceDate", "disableIgnoringDatePartForTimeValidation", "maxTime", "minTime", "disableFuture", "disablePast", "minutesStep", "shouldDisableClock", "shouldDisableTime", "onChange", "view", "openTo", "onViewChange", "focusedView", "onFocusedViewChange", "className", "disabled", "readOnly", "views", "skipDisabled", "timezone"], Fe = (o) => {
|
|
26
26
|
const {
|
package/index.es129.js
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
function a(r) {
|
|
2
|
+
var n, f, t = "";
|
|
3
|
+
if (typeof r == "string" || typeof r == "number")
|
|
4
|
+
t += r;
|
|
5
|
+
else if (typeof r == "object")
|
|
6
|
+
if (Array.isArray(r)) {
|
|
7
|
+
var o = r.length;
|
|
8
|
+
for (n = 0; n < o; n++)
|
|
9
|
+
r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
|
|
10
|
+
} else
|
|
11
|
+
for (f in r)
|
|
12
|
+
r[f] && (t && (t += " "), t += f);
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
function i() {
|
|
16
|
+
for (var r, n, f = 0, t = "", o = arguments.length; f < o; f++)
|
|
17
|
+
(r = arguments[f]) && (n = a(r)) && (t && (t += " "), t += n);
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
11
20
|
export {
|
|
12
|
-
|
|
21
|
+
i as clsx,
|
|
22
|
+
i as default
|
|
13
23
|
};
|
package/index.es130.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
1
|
+
import t from "./index.es191.js";
|
|
2
|
+
const o = t("ChevronRight", [
|
|
3
3
|
[
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
d: "
|
|
7
|
-
key: "
|
|
6
|
+
d: "M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z",
|
|
7
|
+
key: "xcu7tv"
|
|
8
8
|
}
|
|
9
9
|
]
|
|
10
10
|
]);
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
o as default
|
|
13
13
|
};
|
package/index.es131.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import e from "./index.
|
|
2
|
-
const
|
|
1
|
+
import e from "./index.es191.js";
|
|
2
|
+
const c = e("Check", [
|
|
3
3
|
[
|
|
4
4
|
"path",
|
|
5
5
|
{
|
|
6
|
-
d: "
|
|
7
|
-
key: "
|
|
6
|
+
d: "M8.79508 15.8749L4.62508 11.7049L3.20508 13.1149L8.79508 18.7049L20.7951 6.70492L19.3851 5.29492L8.79508 15.8749Z",
|
|
7
|
+
key: "5stcsf"
|
|
8
8
|
}
|
|
9
9
|
]
|
|
10
10
|
]);
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
c as default
|
|
13
13
|
};
|
package/index.es132.js
CHANGED
|
@@ -1,207 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
for (var s in r)
|
|
12
|
-
me.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
|
|
13
|
-
if (r != null && J)
|
|
14
|
-
for (var s of J(r))
|
|
15
|
-
a.indexOf(s) < 0 && fe.call(r, s) && (l[s] = r[s]);
|
|
16
|
-
return l;
|
|
17
|
-
};
|
|
18
|
-
function Oe(r) {
|
|
19
|
-
let a = setTimeout(r, 0), l = setTimeout(r, 10), s = setTimeout(r, 50);
|
|
20
|
-
return [a, l, s];
|
|
21
|
-
}
|
|
22
|
-
function We(r) {
|
|
23
|
-
let a = t.useRef();
|
|
24
|
-
return t.useEffect(() => {
|
|
25
|
-
a.current = r;
|
|
26
|
-
}), a.current;
|
|
27
|
-
}
|
|
28
|
-
var Ae = 18, ve = 40, Be = `${ve}px`, je = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
|
|
29
|
-
function Ie({ containerRef: r, inputRef: a, pushPasswordManagerStrategy: l, isFocused: s }) {
|
|
30
|
-
let [M, p] = t.useState(!1), [_, x] = t.useState(!1), [W, F] = t.useState(!1), H = t.useMemo(() => l === "none" ? !1 : (l === "increase-width" || l === "experimental-no-flickering") && M && _, [M, _, l]), A = t.useCallback(() => {
|
|
31
|
-
let f = r.current, y = a.current;
|
|
32
|
-
if (!f || !y || W || l === "none")
|
|
33
|
-
return;
|
|
34
|
-
let g = f, E = g.getBoundingClientRect().left + g.offsetWidth, B = g.getBoundingClientRect().top + g.offsetHeight / 2, i = E - Ae, L = B;
|
|
35
|
-
document.querySelectorAll(je).length === 0 && document.elementFromPoint(i, L) === f || (p(!0), F(!0));
|
|
36
|
-
}, [r, a, W, l]);
|
|
37
|
-
return t.useEffect(() => {
|
|
38
|
-
let f = r.current;
|
|
39
|
-
if (!f || l === "none")
|
|
40
|
-
return;
|
|
41
|
-
function y() {
|
|
42
|
-
let E = window.innerWidth - f.getBoundingClientRect().right;
|
|
43
|
-
x(E >= ve);
|
|
44
|
-
}
|
|
45
|
-
y();
|
|
46
|
-
let g = setInterval(y, 1e3);
|
|
47
|
-
return () => {
|
|
48
|
-
clearInterval(g);
|
|
49
|
-
};
|
|
50
|
-
}, [r, l]), t.useEffect(() => {
|
|
51
|
-
let f = s || document.activeElement === a.current;
|
|
52
|
-
if (l === "none" || !f)
|
|
53
|
-
return;
|
|
54
|
-
let y = setTimeout(A, 0), g = setTimeout(A, 2e3), E = setTimeout(A, 5e3), B = setTimeout(() => {
|
|
55
|
-
F(!0);
|
|
56
|
-
}, 6e3);
|
|
57
|
-
return () => {
|
|
58
|
-
clearTimeout(y), clearTimeout(g), clearTimeout(E), clearTimeout(B);
|
|
59
|
-
};
|
|
60
|
-
}, [a, s, l, A]), { hasPWMBadge: M, willPushPWMBadge: H, PWM_BADGE_SPACE_WIDTH: Be };
|
|
61
|
-
}
|
|
62
|
-
var _e = t.createContext({}), Fe = t.forwardRef((r, a) => {
|
|
63
|
-
var l = r, { value: s, onChange: M, maxLength: p, textAlign: _ = "left", pattern: x, placeholder: W, inputMode: F = "numeric", onComplete: H, pushPasswordManagerStrategy: A = "increase-width", pasteTransformer: f, containerClassName: y, noScriptCSSFallback: g = He, render: E, children: B } = l, i = De(l, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), L, ee, te, ne, re;
|
|
64
|
-
let [he, ge] = t.useState(typeof i.defaultValue == "string" ? i.defaultValue : ""), u = s ?? he, k = We(u), $ = t.useCallback((e) => {
|
|
65
|
-
M == null || M(e), ge(e);
|
|
66
|
-
}, [M]), w = t.useMemo(() => x ? typeof x == "string" ? new RegExp(x) : x : null, [x]), c = t.useRef(null), K = t.useRef(null), Q = t.useRef({ value: u, onChange: $, isIOS: typeof window < "u" && ((ee = (L = window == null ? void 0 : window.CSS) == null ? void 0 : L.supports) == null ? void 0 : ee.call(L, "-webkit-touch-callout", "none")) }), q = t.useRef({ prev: [(te = c.current) == null ? void 0 : te.selectionStart, (ne = c.current) == null ? void 0 : ne.selectionEnd, (re = c.current) == null ? void 0 : re.selectionDirection] });
|
|
67
|
-
t.useImperativeHandle(a, () => c.current, []), t.useEffect(() => {
|
|
68
|
-
let e = c.current, n = K.current;
|
|
69
|
-
if (!e || !n)
|
|
70
|
-
return;
|
|
71
|
-
Q.current.value !== e.value && Q.current.onChange(e.value), q.current.prev = [e.selectionStart, e.selectionEnd, e.selectionDirection];
|
|
72
|
-
function d() {
|
|
73
|
-
if (document.activeElement !== e) {
|
|
74
|
-
N(null), z(null);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
let o = e.selectionStart, m = e.selectionEnd, Z = e.selectionDirection, b = e.maxLength, T = e.value, S = q.current.prev, P = -1, C = -1, D;
|
|
78
|
-
if (T.length !== 0 && o !== null && m !== null) {
|
|
79
|
-
let ye = o === m, Pe = o === T.length && T.length < b;
|
|
80
|
-
if (ye && !Pe) {
|
|
81
|
-
let O = o;
|
|
82
|
-
if (O === 0)
|
|
83
|
-
P = 0, C = 1, D = "forward";
|
|
84
|
-
else if (O === b)
|
|
85
|
-
P = O - 1, C = O, D = "backward";
|
|
86
|
-
else if (b > 1 && T.length > 1) {
|
|
87
|
-
let Y = 0;
|
|
88
|
-
if (S[0] !== null && S[1] !== null) {
|
|
89
|
-
D = O < S[1] ? "backward" : "forward";
|
|
90
|
-
let Ce = S[0] === S[1] && S[0] < b;
|
|
91
|
-
D === "backward" && !Ce && (Y = -1);
|
|
92
|
-
}
|
|
93
|
-
P = Y + O, C = Y + O + 1;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
P !== -1 && C !== -1 && P !== C && c.current.setSelectionRange(P, C, D);
|
|
97
|
-
}
|
|
98
|
-
let se = P !== -1 ? P : o, pe = C !== -1 ? C : m, Se = D ?? Z;
|
|
99
|
-
N(se), z(pe), q.current.prev = [se, pe, Se];
|
|
100
|
-
}
|
|
101
|
-
if (document.addEventListener("selectionchange", d, { capture: !0 }), d(), document.activeElement === e && U(!0), !document.getElementById("input-otp-style")) {
|
|
102
|
-
let o = document.createElement("style");
|
|
103
|
-
if (o.id = "input-otp-style", document.head.appendChild(o), o.sheet) {
|
|
104
|
-
let m = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
|
|
105
|
-
V(o.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), V(o.sheet, `[data-input-otp]:autofill { ${m} }`), V(o.sheet, `[data-input-otp]:-webkit-autofill { ${m} }`), V(o.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), V(o.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
let v = () => {
|
|
109
|
-
n && n.style.setProperty("--root-height", `${e.clientHeight}px`);
|
|
110
|
-
};
|
|
111
|
-
v();
|
|
112
|
-
let h = new ResizeObserver(v);
|
|
113
|
-
return h.observe(e), () => {
|
|
114
|
-
document.removeEventListener("selectionchange", d, { capture: !0 }), h.disconnect();
|
|
115
|
-
};
|
|
116
|
-
}, []);
|
|
117
|
-
let [le, ae] = t.useState(!1), [G, U] = t.useState(!1), [R, N] = t.useState(null), [j, z] = t.useState(null);
|
|
118
|
-
t.useEffect(() => {
|
|
119
|
-
Oe(() => {
|
|
120
|
-
var e, n, d, v;
|
|
121
|
-
(e = c.current) == null || e.dispatchEvent(new Event("input"));
|
|
122
|
-
let h = (n = c.current) == null ? void 0 : n.selectionStart, o = (d = c.current) == null ? void 0 : d.selectionEnd, m = (v = c.current) == null ? void 0 : v.selectionDirection;
|
|
123
|
-
h !== null && o !== null && (N(h), z(o), q.current.prev = [h, o, m]);
|
|
124
|
-
});
|
|
125
|
-
}, [u, G]), t.useEffect(() => {
|
|
126
|
-
k !== void 0 && u !== k && k.length < p && u.length === p && (H == null || H(u));
|
|
127
|
-
}, [p, H, k, u]);
|
|
128
|
-
let I = Ie({ containerRef: K, inputRef: c, pushPasswordManagerStrategy: A, isFocused: G }), oe = t.useCallback((e) => {
|
|
129
|
-
let n = e.currentTarget.value.slice(0, p);
|
|
130
|
-
if (n.length > 0 && w && !w.test(n)) {
|
|
131
|
-
e.preventDefault();
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
typeof k == "string" && n.length < k.length && document.dispatchEvent(new Event("selectionchange")), $(n);
|
|
135
|
-
}, [p, $, k, w]), ie = t.useCallback(() => {
|
|
136
|
-
var e;
|
|
137
|
-
if (c.current) {
|
|
138
|
-
let n = Math.min(c.current.value.length, p - 1), d = c.current.value.length;
|
|
139
|
-
(e = c.current) == null || e.setSelectionRange(n, d), N(n), z(d);
|
|
140
|
-
}
|
|
141
|
-
U(!0);
|
|
142
|
-
}, [p]), ue = t.useCallback((e) => {
|
|
143
|
-
var n, d;
|
|
144
|
-
let v = c.current;
|
|
145
|
-
if (!f && (!Q.current.isIOS || !e.clipboardData || !v))
|
|
146
|
-
return;
|
|
147
|
-
let h = e.clipboardData.getData("text/plain"), o = f ? f(h) : h;
|
|
148
|
-
e.preventDefault();
|
|
149
|
-
let m = (n = c.current) == null ? void 0 : n.selectionStart, Z = (d = c.current) == null ? void 0 : d.selectionEnd, b = (m !== Z ? u.slice(0, m) + o + u.slice(Z) : u.slice(0, m) + o + u.slice(m)).slice(0, p);
|
|
150
|
-
if (b.length > 0 && w && !w.test(b))
|
|
151
|
-
return;
|
|
152
|
-
v.value = b, $(b);
|
|
153
|
-
let T = Math.min(b.length, p - 1), S = b.length;
|
|
154
|
-
v.setSelectionRange(T, S), N(T), z(S);
|
|
155
|
-
}, [p, $, w, u]), be = t.useMemo(() => ({ position: "relative", cursor: i.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [i.disabled]), ce = t.useMemo(() => ({ position: "absolute", inset: 0, width: I.willPushPWMBadge ? `calc(100% + ${I.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: I.willPushPWMBadge ? `inset(0 ${I.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: _, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [I.PWM_BADGE_SPACE_WIDTH, I.willPushPWMBadge, _]), we = t.useMemo(() => t.createElement("input", Te(Re({ autoComplete: i.autoComplete || "one-time-code" }, i), { "data-input-otp": !0, "data-input-otp-placeholder-shown": u.length === 0 || void 0, "data-input-otp-mss": R, "data-input-otp-mse": j, inputMode: F, pattern: w == null ? void 0 : w.source, "aria-placeholder": W, style: ce, maxLength: p, value: u, ref: c, onPaste: (e) => {
|
|
156
|
-
var n;
|
|
157
|
-
ue(e), (n = i.onPaste) == null || n.call(i, e);
|
|
158
|
-
}, onChange: oe, onMouseOver: (e) => {
|
|
159
|
-
var n;
|
|
160
|
-
ae(!0), (n = i.onMouseOver) == null || n.call(i, e);
|
|
161
|
-
}, onMouseLeave: (e) => {
|
|
162
|
-
var n;
|
|
163
|
-
ae(!1), (n = i.onMouseLeave) == null || n.call(i, e);
|
|
164
|
-
}, onFocus: (e) => {
|
|
165
|
-
var n;
|
|
166
|
-
ie(), (n = i.onFocus) == null || n.call(i, e);
|
|
167
|
-
}, onBlur: (e) => {
|
|
168
|
-
var n;
|
|
169
|
-
U(!1), (n = i.onBlur) == null || n.call(i, e);
|
|
170
|
-
} })), [oe, ie, ue, F, ce, p, j, R, i, w == null ? void 0 : w.source, u]), X = t.useMemo(() => ({ slots: Array.from({ length: p }).map((e, n) => {
|
|
171
|
-
var d;
|
|
172
|
-
let v = G && R !== null && j !== null && (R === j && n === R || n >= R && n < j), h = u[n] !== void 0 ? u[n] : null, o = u[0] !== void 0 ? null : (d = W == null ? void 0 : W[n]) != null ? d : null;
|
|
173
|
-
return { char: h, placeholderChar: o, isActive: v, hasFakeCaret: v && h === null };
|
|
174
|
-
}), isFocused: G, isHovering: !i.disabled && le }), [G, le, p, j, R, i.disabled, u]), Ee = t.useMemo(() => E ? E(X) : t.createElement(_e.Provider, { value: X }, B), [B, X, E]);
|
|
175
|
-
return t.createElement(t.Fragment, null, g !== null && t.createElement("noscript", null, t.createElement("style", null, g)), t.createElement("div", { ref: K, "data-input-otp-container": !0, style: be, className: y }, Ee, t.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, we)));
|
|
176
|
-
});
|
|
177
|
-
Fe.displayName = "Input";
|
|
178
|
-
function V(r, a) {
|
|
179
|
-
try {
|
|
180
|
-
r.insertRule(a);
|
|
181
|
-
} catch {
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
var He = `
|
|
185
|
-
[data-input-otp] {
|
|
186
|
-
--nojs-bg: white !important;
|
|
187
|
-
--nojs-fg: black !important;
|
|
188
|
-
|
|
189
|
-
background-color: var(--nojs-bg) !important;
|
|
190
|
-
color: var(--nojs-fg) !important;
|
|
191
|
-
caret-color: var(--nojs-fg) !important;
|
|
192
|
-
letter-spacing: .25em !important;
|
|
193
|
-
text-align: center !important;
|
|
194
|
-
border: 1px solid var(--nojs-fg) !important;
|
|
195
|
-
border-radius: 4px !important;
|
|
196
|
-
width: 100% !important;
|
|
197
|
-
}
|
|
198
|
-
@media (prefers-color-scheme: dark) {
|
|
199
|
-
[data-input-otp] {
|
|
200
|
-
--nojs-bg: black !important;
|
|
201
|
-
--nojs-fg: white !important;
|
|
202
|
-
}
|
|
203
|
-
}`;
|
|
1
|
+
import e from "./index.es191.js";
|
|
2
|
+
const t = e("Circle", [
|
|
3
|
+
[
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2Z",
|
|
7
|
+
key: "arly8y"
|
|
8
|
+
}
|
|
9
|
+
]
|
|
10
|
+
]);
|
|
204
11
|
export {
|
|
205
|
-
|
|
206
|
-
_e as OTPInputContext
|
|
12
|
+
t as default
|
|
207
13
|
};
|