@rpcbase/ui 0.242.0 → 0.243.0
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/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/index105.js +36 -36
- package/dist/index117.js +6 -6
- package/dist/index120.js +10 -10
- package/dist/index122.js +2 -2
- package/dist/index123.js +3 -3
- package/dist/index124.js +1 -1
- package/dist/index126.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index150.js +3 -3
- package/dist/index156.js +1 -1
- package/dist/index16.js +91 -91
- package/dist/index16.js.map +1 -1
- package/dist/index163.js +2 -2
- package/dist/index164.js +7 -7
- package/dist/index167.js +4 -4
- package/dist/index169.js +1 -1
- package/dist/index172.js +3 -3
- package/dist/index175.js +1 -1
- package/dist/index176.js +4 -4
- package/dist/index182.js +2 -2
- package/dist/index184.js +4 -4
- package/dist/index185.js +13 -13
- package/dist/index186.js +1 -1
- package/dist/index188.js +5 -5
- package/dist/index189.js +3 -3
- package/dist/index192.js +2 -2
- package/dist/index193.js +6 -6
- package/dist/index194.js +59 -20
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -66
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +87 -6
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +19 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +16 -11
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -3
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +4 -49
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +7 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -29
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -53
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +12 -20
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -41
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +13 -39
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +14 -46
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +4 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -70
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -17
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +54 -11
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +8 -13
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +4 -18
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +4 -36
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +8 -239
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -252
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -68
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -99
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -83
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -29
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +11 -35
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -17
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +6 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -26
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -28
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +6 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +6 -78
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -272
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +15 -10
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +7 -10
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -16
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +21 -125
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +8 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -65
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +10 -14
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +4 -7
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +16 -3
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -10
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +18 -7
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +19 -132
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +10 -397
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +30 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +12 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +25 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +5 -27
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +153 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +32 -58
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -8
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +43 -81
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -19
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -16
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +42 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +96 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +86 -6
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +105 -4
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +52 -6
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -16
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +37 -4
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -12
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +135 -9
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +17 -13
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +15 -13
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +3 -4
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +36 -5
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -6
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +8 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +9 -54
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +24 -8
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +28 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +16 -4
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +20 -9
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +66 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +6 -4
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -3
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -10
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -9
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +50 -9
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +4 -11
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +29 -10
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -9
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +5 -6
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +21 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +53 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +20 -5
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +41 -6
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +39 -5
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +46 -17
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +20 -7
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +69 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +17 -10
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +3 -21
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +11 -8
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +13 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +18 -9
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +36 -4
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +239 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +251 -15
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +68 -9
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +98 -17
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +82 -19
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +3 -12
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +28 -28
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +16 -12
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +34 -25
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +17 -5
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +3 -154
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -31
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +28 -11
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +4 -50
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +78 -9
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +271 -10
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -43
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +10 -97
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +25 -86
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +15 -104
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +123 -50
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +5 -11
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -4
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +13 -37
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -8
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +5 -135
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -17
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +10 -15
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +7 -3
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +129 -32
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +397 -18
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +5 -10
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +52 -8
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -24
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +27 -28
- package/dist/index339.js.map +1 -1
- package/dist/index340.js +11 -16
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +1 -1
- package/dist/index348.js +60 -50
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +66 -5
- package/dist/index349.js.map +1 -1
- package/dist/index350.js +50 -60
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -66
- package/dist/index351.js.map +1 -1
- package/dist/index357.js +1 -1
- package/dist/index358.js +5 -5
- package/dist/index359.js +1 -1
- package/dist/index362.js +5 -4
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +18 -6
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +13 -3
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +4 -11
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +20 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +4 -45
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +11 -17
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +6 -5
- package/dist/index369.js.map +1 -1
- package/dist/index370.js +3 -201
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +20 -73
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +43 -122
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +18 -5
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +4 -17
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +200 -12
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +73 -4
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +122 -19
- package/dist/index377.js.map +1 -1
- package/dist/index379.js +4 -4
- package/dist/index380.js +3 -3
- package/dist/index382.js +1 -1
- package/dist/index384.js +1 -1
- package/dist/index385.js +2 -2
- package/dist/index388.js +2 -2
- package/dist/index389.js +2 -2
- package/dist/index392.js +5 -3
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +5 -3
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -5
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +15 -4
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +9 -4
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -15
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +4 -8
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +545 -5
- package/dist/index399.js.map +1 -1
- package/dist/index400.js +47 -5
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +15 -543
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +6 -47
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +7 -17
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +6 -5
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +7 -7
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +11 -6
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +8 -7
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +12 -11
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +3 -9
- package/dist/index409.js.map +1 -1
- package/dist/index410.js +3 -13
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +15 -3
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +3 -15
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +1 -1
- package/dist/index414.js +68 -8
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +31 -2
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +9 -44
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +152 -55
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +108 -8
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +5 -2
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +55 -54
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +7 -55
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +2 -33
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +43 -67
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +56 -31
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +8 -9
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -153
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +54 -107
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +55 -4
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +32 -55
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +16 -2
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +29 -2
- package/dist/index431.js.map +1 -1
- package/dist/index432.js +13 -2
- package/dist/index432.js.map +1 -1
- package/dist/index433.js +7 -2
- package/dist/index433.js.map +1 -1
- package/dist/index434.js +2 -16
- package/dist/index434.js.map +1 -1
- package/dist/index435.js +2 -29
- package/dist/index435.js.map +1 -1
- package/dist/index436.js +2 -13
- package/dist/index436.js.map +1 -1
- package/dist/index437.js +2 -7
- package/dist/index437.js.map +1 -1
- package/dist/index49.js +30 -30
- package/dist/index50.js +21 -21
- package/dist/index51.js +1 -1
- package/dist/index52.js +8 -8
- package/dist/index53.js +2 -2
- package/dist/index55.js +16 -16
- package/dist/index56.js +4 -4
- package/dist/index57.js +3 -3
- package/dist/index58.js +7 -7
- package/dist/index59.js +4 -4
- package/dist/index60.js +12 -12
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAMlH,OAAO,KAAK,EAAoB,0BAA0B,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAMlH,OAAO,KAAK,EAAoB,0BAA0B,EAAE,MAAM,SAAS,CAAA;AA0I3E,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAU,EACV,iBAAyB,EACzB,eAAe,GAChB,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAA;CAC7D,2CAmUA"}
|
package/dist/index105.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { TZDate as a } from "./
|
|
2
|
-
import "./
|
|
3
|
-
import { endOfBroadcastWeek as f } from "./
|
|
4
|
-
import { startOfBroadcastWeek as d } from "./
|
|
1
|
+
import { TZDate as a } from "./index194.js";
|
|
2
|
+
import "./index196.js";
|
|
3
|
+
import { endOfBroadcastWeek as f } from "./index201.js";
|
|
4
|
+
import { startOfBroadcastWeek as d } from "./index202.js";
|
|
5
5
|
import { enUS as m } from "./index128.js";
|
|
6
|
-
import { addDays as v } from "./
|
|
7
|
-
import { addMonths as p } from "./
|
|
8
|
-
import { addWeeks as O } from "./
|
|
9
|
-
import { addYears as c } from "./
|
|
10
|
-
import { differenceInCalendarDays as u } from "./
|
|
11
|
-
import { differenceInCalendarMonths as l } from "./
|
|
12
|
-
import { eachMonthOfInterval as M } from "./
|
|
13
|
-
import { eachYearOfInterval as k } from "./
|
|
14
|
-
import { endOfISOWeek as W } from "./
|
|
15
|
-
import { endOfMonth as D } from "./
|
|
16
|
-
import { endOfWeek as Y } from "./
|
|
17
|
-
import { endOfYear as S } from "./
|
|
18
|
-
import { format as y } from "./
|
|
19
|
-
import { getISOWeek as g } from "./
|
|
20
|
-
import { getMonth as I } from "./
|
|
21
|
-
import { getYear as w } from "./
|
|
22
|
-
import { getWeek as B } from "./
|
|
23
|
-
import { isAfter as L } from "./
|
|
24
|
-
import { isBefore as C } from "./
|
|
25
|
-
import { isDate as z } from "./
|
|
26
|
-
import { isSameDay as Z } from "./
|
|
27
|
-
import { isSameMonth as b } from "./
|
|
28
|
-
import { isSameYear as A } from "./
|
|
29
|
-
import { max as F } from "./
|
|
30
|
-
import { min as N } from "./
|
|
31
|
-
import { setMonth as _ } from "./
|
|
32
|
-
import { setYear as j } from "./
|
|
33
|
-
import { startOfDay as x } from "./
|
|
34
|
-
import { startOfISOWeek as H } from "./
|
|
35
|
-
import { startOfMonth as K } from "./
|
|
36
|
-
import { startOfWeek as T } from "./
|
|
37
|
-
import { startOfYear as U } from "./
|
|
6
|
+
import { addDays as v } from "./index203.js";
|
|
7
|
+
import { addMonths as p } from "./index204.js";
|
|
8
|
+
import { addWeeks as O } from "./index205.js";
|
|
9
|
+
import { addYears as c } from "./index206.js";
|
|
10
|
+
import { differenceInCalendarDays as u } from "./index207.js";
|
|
11
|
+
import { differenceInCalendarMonths as l } from "./index208.js";
|
|
12
|
+
import { eachMonthOfInterval as M } from "./index209.js";
|
|
13
|
+
import { eachYearOfInterval as k } from "./index210.js";
|
|
14
|
+
import { endOfISOWeek as W } from "./index211.js";
|
|
15
|
+
import { endOfMonth as D } from "./index212.js";
|
|
16
|
+
import { endOfWeek as Y } from "./index213.js";
|
|
17
|
+
import { endOfYear as S } from "./index214.js";
|
|
18
|
+
import { format as y } from "./index215.js";
|
|
19
|
+
import { getISOWeek as g } from "./index216.js";
|
|
20
|
+
import { getMonth as I } from "./index217.js";
|
|
21
|
+
import { getYear as w } from "./index218.js";
|
|
22
|
+
import { getWeek as B } from "./index219.js";
|
|
23
|
+
import { isAfter as L } from "./index220.js";
|
|
24
|
+
import { isBefore as C } from "./index221.js";
|
|
25
|
+
import { isDate as z } from "./index222.js";
|
|
26
|
+
import { isSameDay as Z } from "./index223.js";
|
|
27
|
+
import { isSameMonth as b } from "./index224.js";
|
|
28
|
+
import { isSameYear as A } from "./index225.js";
|
|
29
|
+
import { max as F } from "./index226.js";
|
|
30
|
+
import { min as N } from "./index227.js";
|
|
31
|
+
import { setMonth as _ } from "./index228.js";
|
|
32
|
+
import { setYear as j } from "./index229.js";
|
|
33
|
+
import { startOfDay as x } from "./index230.js";
|
|
34
|
+
import { startOfISOWeek as H } from "./index231.js";
|
|
35
|
+
import { startOfMonth as K } from "./index232.js";
|
|
36
|
+
import { startOfWeek as T } from "./index233.js";
|
|
37
|
+
import { startOfYear as U } from "./index234.js";
|
|
38
38
|
class n {
|
|
39
39
|
/**
|
|
40
40
|
* Creates an instance of `DateLib`.
|
package/dist/index117.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TZDate as c } from "./
|
|
2
|
-
import "./
|
|
3
|
-
import { differenceInCalendarMonths as h } from "./
|
|
4
|
-
import { differenceInCalendarDays as O } from "./
|
|
5
|
-
import { getISOWeek as k } from "./
|
|
6
|
-
import { getWeek as w } from "./
|
|
1
|
+
import { TZDate as c } from "./index194.js";
|
|
2
|
+
import "./index196.js";
|
|
3
|
+
import { differenceInCalendarMonths as h } from "./index208.js";
|
|
4
|
+
import { differenceInCalendarDays as O } from "./index207.js";
|
|
5
|
+
import { getISOWeek as k } from "./index216.js";
|
|
6
|
+
import { getWeek as w } from "./index219.js";
|
|
7
7
|
function W(o, D = {}) {
|
|
8
8
|
const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
|
|
9
9
|
const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
package/dist/index120.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useEffect as D, useMemo as S } from "react";
|
|
2
|
-
import { getDates as N } from "./
|
|
3
|
-
import { getDays as w } from "./
|
|
4
|
-
import { getDisplayMonths as E } from "./
|
|
5
|
-
import { getInitialMonth as c } from "./
|
|
6
|
-
import { getMonths as b } from "./
|
|
7
|
-
import { getNavMonths as q } from "./
|
|
8
|
-
import { getNextMonth as F } from "./
|
|
9
|
-
import { getPreviousMonth as P } from "./
|
|
10
|
-
import { getWeeks as V } from "./
|
|
11
|
-
import { useControlledValue as Z } from "./
|
|
2
|
+
import { getDates as N } from "./index235.js";
|
|
3
|
+
import { getDays as w } from "./index236.js";
|
|
4
|
+
import { getDisplayMonths as E } from "./index237.js";
|
|
5
|
+
import { getInitialMonth as c } from "./index238.js";
|
|
6
|
+
import { getMonths as b } from "./index239.js";
|
|
7
|
+
import { getNavMonths as q } from "./index240.js";
|
|
8
|
+
import { getNextMonth as F } from "./index241.js";
|
|
9
|
+
import { getPreviousMonth as P } from "./index242.js";
|
|
10
|
+
import { getWeeks as V } from "./index243.js";
|
|
11
|
+
import { useControlledValue as Z } from "./index244.js";
|
|
12
12
|
function _(e, n) {
|
|
13
13
|
const [s, a] = q(e, n), { startOfMonth: i, endOfMonth: g } = n, h = c(e, s, a, n), [m, f] = Z(
|
|
14
14
|
h,
|
package/dist/index122.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState as a } from "react";
|
|
2
|
-
import { calculateFocusTarget as T } from "./
|
|
3
|
-
import { getNextFocus as v } from "./
|
|
2
|
+
import { calculateFocusTarget as T } from "./index245.js";
|
|
3
|
+
import { getNextFocus as v } from "./index246.js";
|
|
4
4
|
function I(e, o, r, i, f) {
|
|
5
5
|
const { autoFocus: F } = e, [d, m] = a(), c = T(o.days, r, i || (() => !1), d), [s, u] = a(F ? c : void 0);
|
|
6
6
|
return {
|
package/dist/index123.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useMulti as i } from "./
|
|
2
|
-
import { useRange as o } from "./
|
|
3
|
-
import { useSingle as s } from "./
|
|
1
|
+
import { useMulti as i } from "./index247.js";
|
|
2
|
+
import { useRange as o } from "./index248.js";
|
|
3
|
+
import { useSingle as s } from "./index249.js";
|
|
4
4
|
function f(e, n) {
|
|
5
5
|
const t = s(e, n), r = i(e, n), u = o(e, n);
|
|
6
6
|
switch (e.mode) {
|
package/dist/index124.js
CHANGED
package/dist/index126.js
CHANGED
package/dist/index128.js
CHANGED
package/dist/index150.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import p from "./
|
|
2
|
-
import y from "./
|
|
3
|
-
import b from "./
|
|
1
|
+
import p from "./index263.js";
|
|
2
|
+
import y from "./index264.js";
|
|
3
|
+
import b from "./index262.js";
|
|
4
4
|
import l from "./index163.js";
|
|
5
5
|
import s from "./index165.js";
|
|
6
6
|
function i(r) {
|
package/dist/index156.js
CHANGED
package/dist/index16.js
CHANGED
|
@@ -23,8 +23,8 @@ const ne = (o) => {
|
|
|
23
23
|
if (!Number.isFinite(a) || !Number.isFinite(y) || !Number.isFinite(i)) return "Unknown date";
|
|
24
24
|
const c = new Date(a, y - 1, i);
|
|
25
25
|
if (!Number.isFinite(c.getTime())) return "Unknown date";
|
|
26
|
-
const
|
|
27
|
-
return c.toLocaleDateString(void 0,
|
|
26
|
+
const f = (/* @__PURE__ */ new Date()).getFullYear() !== a;
|
|
27
|
+
return c.toLocaleDateString(void 0, f ? {
|
|
28
28
|
weekday: "short",
|
|
29
29
|
month: "short",
|
|
30
30
|
day: "numeric",
|
|
@@ -49,16 +49,16 @@ const ne = (o) => {
|
|
|
49
49
|
link: e,
|
|
50
50
|
mode: ye(o)
|
|
51
51
|
} : null;
|
|
52
|
-
}, ve = (o) => {
|
|
52
|
+
}, ve = (o) => o ? o.mode === "merge_current_search" ? "Open" : o.link : "", Ne = (o) => {
|
|
53
53
|
window.history.pushState(window.history.state, "", o), window.dispatchEvent(new PopStateEvent("popstate", {
|
|
54
54
|
state: window.history.state
|
|
55
55
|
}));
|
|
56
|
-
},
|
|
56
|
+
}, je = (o) => {
|
|
57
57
|
if (o.mode === "merge_current_search") {
|
|
58
58
|
const e = new URL(window.location.href), n = new URL(o.link, e);
|
|
59
59
|
n.searchParams.forEach((r, a) => {
|
|
60
60
|
e.searchParams.set(a, r);
|
|
61
|
-
}), n.hash && (e.hash = n.hash),
|
|
61
|
+
}), n.hash && (e.hash = n.hash), Ne(`${e.pathname}${e.search}${e.hash}`);
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
window.location.href = o.link;
|
|
@@ -74,8 +74,8 @@ const ne = (o) => {
|
|
|
74
74
|
})), e[e.length - 1].items.push(r);
|
|
75
75
|
}
|
|
76
76
|
return e;
|
|
77
|
-
}, J = () => typeof window > "u" || !("Notification" in window) ? "unsupported" : window.Notification.permission,
|
|
78
|
-
function
|
|
77
|
+
}, J = () => typeof window > "u" || !("Notification" in window) ? "unsupported" : window.Notification.permission, ke = se(null);
|
|
78
|
+
function Te({
|
|
79
79
|
open: o,
|
|
80
80
|
onOpenChange: e,
|
|
81
81
|
className: n,
|
|
@@ -83,11 +83,11 @@ function Be({
|
|
|
83
83
|
defaultUnreadOnly: a = !1,
|
|
84
84
|
realtimeContext: y
|
|
85
85
|
}) {
|
|
86
|
-
const i = ie(y ??
|
|
86
|
+
const i = ie(y ?? ke), [c, w] = U([]), [f, m] = U(0), [l, x] = U(0), [v, L] = U(!1), [q, M] = U(null), [h, K] = U(a), [O, p] = U(() => J()), [$, k] = U(!1), A = H(null), C = i?.notifications ?? c, R = i?.unreadCount ?? f, S = i?.unseenCount ?? l, z = i?.loading ?? v, T = i?.error ? i.error instanceof Error ? i.error.message : String(i.error) : q, b = G(() => C.slice(0, r), [r, C]), E = G(() => b.filter((s) => !s.readAt), [b]), D = G(() => b.filter((s) => !!s.readAt), [b]), F = G(() => Z(E), [E]), B = G(() => Z(D), [D]), I = re(async ({
|
|
87
87
|
unreadOnly: s,
|
|
88
|
-
markSeen:
|
|
88
|
+
markSeen: u
|
|
89
89
|
}) => {
|
|
90
|
-
|
|
90
|
+
L(!0), M(null);
|
|
91
91
|
try {
|
|
92
92
|
const j = await fetch("/api/rb/notifications", {
|
|
93
93
|
method: "POST",
|
|
@@ -98,19 +98,19 @@ function Be({
|
|
|
98
98
|
body: JSON.stringify({
|
|
99
99
|
limit: r,
|
|
100
100
|
unreadOnly: s,
|
|
101
|
-
markSeen:
|
|
101
|
+
markSeen: u
|
|
102
102
|
})
|
|
103
|
-
}),
|
|
104
|
-
if (!j.ok || !
|
|
105
|
-
|
|
103
|
+
}), d = await j.json().catch(() => null);
|
|
104
|
+
if (!j.ok || !d?.ok) {
|
|
105
|
+
M(d?.error || "Unable to load notifications.");
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
|
-
const P = Array.isArray(
|
|
109
|
-
w(P),
|
|
108
|
+
const P = Array.isArray(d.notifications) ? d.notifications : [];
|
|
109
|
+
w(P), m(Number.isFinite(d.unreadCount) ? Math.max(0, Math.floor(d.unreadCount ?? 0)) : 0), x(Number.isFinite(d.unseenCount) ? Math.max(0, Math.floor(d.unseenCount ?? 0)) : 0);
|
|
110
110
|
} catch {
|
|
111
|
-
|
|
111
|
+
M("Unable to load notifications.");
|
|
112
112
|
} finally {
|
|
113
|
-
|
|
113
|
+
L(!1);
|
|
114
114
|
}
|
|
115
115
|
}, [r]);
|
|
116
116
|
W(() => {
|
|
@@ -148,22 +148,22 @@ function Be({
|
|
|
148
148
|
}));
|
|
149
149
|
}, [o, i, I, h]), W(() => {
|
|
150
150
|
if (!o || (p(J()), typeof navigator > "u" || !navigator.permissions?.query)) return;
|
|
151
|
-
let s = null,
|
|
151
|
+
let s = null, u = !1;
|
|
152
152
|
const j = () => {
|
|
153
153
|
p(J());
|
|
154
154
|
};
|
|
155
155
|
try {
|
|
156
156
|
navigator.permissions.query({
|
|
157
157
|
name: "notifications"
|
|
158
|
-
}).then((
|
|
159
|
-
|
|
158
|
+
}).then((d) => {
|
|
159
|
+
u || (s = d, j(), d.addEventListener("change", j));
|
|
160
160
|
}).catch(() => {
|
|
161
161
|
});
|
|
162
162
|
} catch {
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
165
|
return () => {
|
|
166
|
-
|
|
166
|
+
u = !0, s?.removeEventListener("change", j);
|
|
167
167
|
};
|
|
168
168
|
}, [o]);
|
|
169
169
|
const Y = async () => {
|
|
@@ -182,7 +182,7 @@ function Be({
|
|
|
182
182
|
}
|
|
183
183
|
}, _ = async (s) => {
|
|
184
184
|
try {
|
|
185
|
-
const
|
|
185
|
+
const u = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/read`, {
|
|
186
186
|
method: "POST",
|
|
187
187
|
headers: {
|
|
188
188
|
"Content-Type": "application/json"
|
|
@@ -190,17 +190,17 @@ function Be({
|
|
|
190
190
|
credentials: "include",
|
|
191
191
|
keepalive: !0,
|
|
192
192
|
body: "{}"
|
|
193
|
-
}), j = await
|
|
194
|
-
if (!
|
|
195
|
-
const
|
|
193
|
+
}), j = await u.json().catch(() => null);
|
|
194
|
+
if (!u.ok || !j?.ok) return;
|
|
195
|
+
const d = (/* @__PURE__ */ new Date()).toISOString();
|
|
196
196
|
if (i) return;
|
|
197
197
|
w((P) => {
|
|
198
198
|
const g = P.find((N) => N.id === s);
|
|
199
|
-
return g && !g.readAt &&
|
|
199
|
+
return g && !g.readAt && m((N) => Math.max(0, N - 1)), g && !g.seenAt && x((N) => Math.max(0, N - 1)), P.map((N) => N.id === s && !N.readAt ? {
|
|
200
200
|
...N,
|
|
201
|
-
readAt:
|
|
201
|
+
readAt: d,
|
|
202
202
|
...N.seenAt ? {} : {
|
|
203
|
-
seenAt:
|
|
203
|
+
seenAt: d
|
|
204
204
|
}
|
|
205
205
|
} : N);
|
|
206
206
|
});
|
|
@@ -209,18 +209,18 @@ function Be({
|
|
|
209
209
|
}
|
|
210
210
|
}, Q = async (s) => {
|
|
211
211
|
try {
|
|
212
|
-
const
|
|
212
|
+
const u = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/archive`, {
|
|
213
213
|
method: "POST",
|
|
214
214
|
headers: {
|
|
215
215
|
"Content-Type": "application/json"
|
|
216
216
|
},
|
|
217
217
|
credentials: "include",
|
|
218
218
|
body: "{}"
|
|
219
|
-
}), j = await
|
|
220
|
-
if (!
|
|
221
|
-
w((
|
|
222
|
-
const P =
|
|
223
|
-
return P && !P.readAt &&
|
|
219
|
+
}), j = await u.json().catch(() => null);
|
|
220
|
+
if (!u.ok || !j?.ok || i) return;
|
|
221
|
+
w((d) => {
|
|
222
|
+
const P = d.find((g) => g.id === s);
|
|
223
|
+
return P && !P.readAt && m((g) => Math.max(0, g - 1)), P && !P.seenAt && x((g) => Math.max(0, g - 1)), d.filter((g) => g.id !== s);
|
|
224
224
|
});
|
|
225
225
|
} catch {
|
|
226
226
|
return;
|
|
@@ -248,20 +248,20 @@ function Be({
|
|
|
248
248
|
] })
|
|
249
249
|
] }),
|
|
250
250
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pb-3", children: [
|
|
251
|
-
/* @__PURE__ */ t.jsx(
|
|
251
|
+
/* @__PURE__ */ t.jsx(Ae, { permission: O, requesting: $, onEnable: Y }),
|
|
252
252
|
z ? /* @__PURE__ */ t.jsx("div", { className: "flex items-center justify-center py-10 text-muted-foreground", children: /* @__PURE__ */ t.jsx(ce, { className: "h-4 w-4 animate-spin" }) }) : T ? /* @__PURE__ */ t.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: T }) : b.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: "No notifications." }) : /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
253
253
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
254
254
|
/* @__PURE__ */ t.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Unread notifications" }),
|
|
255
255
|
F.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No unread notifications." }) : F.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
256
256
|
/* @__PURE__ */ t.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: s.label }),
|
|
257
|
-
/* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((
|
|
257
|
+
/* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((u) => /* @__PURE__ */ t.jsx(ee, { notification: u, onMarkRead: _, onArchive: Q, onAction: X }, u.id)) })
|
|
258
258
|
] }, `unread:${s.key}`))
|
|
259
259
|
] }),
|
|
260
260
|
h ? null : /* @__PURE__ */ t.jsxs("div", { children: [
|
|
261
261
|
/* @__PURE__ */ t.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Previous notifications" }),
|
|
262
262
|
B.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No previous notifications." }) : B.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
263
263
|
/* @__PURE__ */ t.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: s.label }),
|
|
264
|
-
/* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((
|
|
264
|
+
/* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((u) => /* @__PURE__ */ t.jsx(ee, { notification: u, onMarkRead: _, onArchive: Q, onAction: X }, u.id)) })
|
|
265
265
|
] }, `previous:${s.key}`))
|
|
266
266
|
] })
|
|
267
267
|
] })
|
|
@@ -269,7 +269,7 @@ function Be({
|
|
|
269
269
|
] })
|
|
270
270
|
] }) });
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Ae(o) {
|
|
273
273
|
const e = te.c(13), {
|
|
274
274
|
permission: n,
|
|
275
275
|
requesting: r,
|
|
@@ -285,112 +285,112 @@ function ke(o) {
|
|
|
285
285
|
let c;
|
|
286
286
|
e[1] !== i ? (c = /* @__PURE__ */ t.jsx("div", { className: "text-sm font-medium", children: i }), e[1] = i, e[2] = c) : c = e[2];
|
|
287
287
|
const w = y ? "Enable notifications for this site in your browser settings, then click again." : "Enable browser notifications to receive important alerts.";
|
|
288
|
-
let m;
|
|
289
|
-
e[3] !== w ? (m = /* @__PURE__ */ t.jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: w }), e[3] = w, e[4] = m) : m = e[4];
|
|
290
|
-
const u = r ? "Enabling..." : "Enable browser notifications";
|
|
291
|
-
let x;
|
|
292
|
-
e[5] !== a || e[6] !== r || e[7] !== u ? (x = /* @__PURE__ */ t.jsx("button", { type: "button", className: "mt-3 inline-flex h-8 items-center rounded-md border bg-background px-2.5 text-xs font-medium hover:bg-accent disabled:pointer-events-none disabled:opacity-50", disabled: r, onClick: a, children: u }), e[5] = a, e[6] = r, e[7] = u, e[8] = x) : x = e[8];
|
|
293
288
|
let f;
|
|
294
|
-
|
|
289
|
+
e[3] !== w ? (f = /* @__PURE__ */ t.jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: w }), e[3] = w, e[4] = f) : f = e[4];
|
|
290
|
+
const m = r ? "Enabling..." : "Enable browser notifications";
|
|
291
|
+
let l;
|
|
292
|
+
e[5] !== a || e[6] !== r || e[7] !== m ? (l = /* @__PURE__ */ t.jsx("button", { type: "button", className: "mt-3 inline-flex h-8 items-center rounded-md border bg-background px-2.5 text-xs font-medium hover:bg-accent disabled:pointer-events-none disabled:opacity-50", disabled: r, onClick: a, children: m }), e[5] = a, e[6] = r, e[7] = m, e[8] = l) : l = e[8];
|
|
293
|
+
let x;
|
|
294
|
+
return e[9] !== c || e[10] !== f || e[11] !== l ? (x = /* @__PURE__ */ t.jsxs("div", { className: "mt-3 rounded-md border bg-muted/40 p-3", children: [
|
|
295
295
|
c,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
] }), e[9] = c, e[10] =
|
|
296
|
+
f,
|
|
297
|
+
l
|
|
298
|
+
] }), e[9] = c, e[10] = f, e[11] = l, e[12] = x) : x = e[12], x;
|
|
299
299
|
}
|
|
300
300
|
function ee(o) {
|
|
301
|
-
const e = te.c(
|
|
301
|
+
const e = te.c(49), {
|
|
302
302
|
notification: n,
|
|
303
303
|
onMarkRead: r,
|
|
304
304
|
onArchive: a,
|
|
305
305
|
onAction: y
|
|
306
|
-
} = o, [i, c] = U(!1), w = H(null),
|
|
307
|
-
let x;
|
|
308
|
-
e[0] !== n ? (
|
|
309
|
-
const
|
|
310
|
-
let
|
|
311
|
-
if (e[
|
|
306
|
+
} = o, [i, c] = U(!1), w = H(null), f = H(null), m = !n.readAt;
|
|
307
|
+
let l, x;
|
|
308
|
+
e[0] !== n ? (l = we(n), x = ve(l), e[0] = n, e[1] = l, e[2] = x) : (l = e[1], x = e[2]);
|
|
309
|
+
const v = x;
|
|
310
|
+
let L;
|
|
311
|
+
if (e[3] !== n.createdAt) {
|
|
312
312
|
e: {
|
|
313
313
|
const B = new Date(ne(n.createdAt));
|
|
314
314
|
if (!Number.isFinite(B.getTime())) {
|
|
315
|
-
|
|
315
|
+
L = "";
|
|
316
316
|
break e;
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
L = B.toLocaleString();
|
|
319
319
|
}
|
|
320
|
-
e[
|
|
320
|
+
e[3] = n.createdAt, e[4] = L;
|
|
321
321
|
} else
|
|
322
|
-
|
|
323
|
-
const q =
|
|
324
|
-
let
|
|
325
|
-
e[
|
|
322
|
+
L = e[4];
|
|
323
|
+
const q = L;
|
|
324
|
+
let M, h;
|
|
325
|
+
e[5] !== i ? (M = () => {
|
|
326
326
|
if (!i)
|
|
327
327
|
return;
|
|
328
328
|
const B = (Y) => {
|
|
329
329
|
const _ = Y.target;
|
|
330
|
-
_ instanceof Node && (w.current?.contains(_) ||
|
|
330
|
+
_ instanceof Node && (w.current?.contains(_) || f.current?.contains(_) || c(!1));
|
|
331
331
|
}, I = (Y) => {
|
|
332
|
-
Y.key === "Escape" && (c(!1),
|
|
332
|
+
Y.key === "Escape" && (c(!1), f.current?.focus());
|
|
333
333
|
};
|
|
334
334
|
return document.addEventListener("pointerdown", B), document.addEventListener("keydown", I), () => {
|
|
335
335
|
document.removeEventListener("pointerdown", B), document.removeEventListener("keydown", I);
|
|
336
336
|
};
|
|
337
|
-
}, h = [i], e[
|
|
338
|
-
const K =
|
|
337
|
+
}, h = [i], e[5] = i, e[6] = M, e[7] = h) : (M = e[6], h = e[7]), W(M, h);
|
|
338
|
+
const K = m ? "bg-primary/5" : "bg-background";
|
|
339
339
|
let O;
|
|
340
|
-
e[
|
|
340
|
+
e[8] !== K ? (O = V("group flex w-full gap-3 px-4 py-3 hover:bg-accent/40", K), e[8] = K, e[9] = O) : O = e[9];
|
|
341
341
|
let p;
|
|
342
|
-
e[
|
|
343
|
-
|
|
344
|
-
}, e[
|
|
342
|
+
e[10] !== l || e[11] !== m || e[12] !== n.id || e[13] !== y || e[14] !== r ? (p = () => {
|
|
343
|
+
m && r(n.id), l && (y(), je(l));
|
|
344
|
+
}, e[10] = l, e[11] = m, e[12] = n.id, e[13] = y, e[14] = r, e[15] = p) : p = e[15];
|
|
345
345
|
let $;
|
|
346
|
-
e[
|
|
346
|
+
e[16] !== n.title ? ($ = /* @__PURE__ */ t.jsx("div", { className: "truncate text-sm font-semibold", children: n.title }), e[16] = n.title, e[17] = $) : $ = e[17];
|
|
347
347
|
let k;
|
|
348
|
-
e[
|
|
348
|
+
e[18] !== n.body ? (k = n.body ? /* @__PURE__ */ t.jsx("div", { className: "mt-0.5 line-clamp-2 text-xs text-muted-foreground", children: n.body }) : null, e[18] = n.body, e[19] = k) : k = e[19];
|
|
349
349
|
let A;
|
|
350
|
-
e[
|
|
350
|
+
e[20] !== $ || e[21] !== k ? (A = /* @__PURE__ */ t.jsxs("div", { className: "min-w-0", children: [
|
|
351
351
|
$,
|
|
352
352
|
k
|
|
353
|
-
] }), e[
|
|
353
|
+
] }), e[20] = $, e[21] = k, e[22] = A) : A = e[22];
|
|
354
354
|
let C;
|
|
355
|
-
e[
|
|
355
|
+
e[23] !== v ? (C = v ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 truncate text-xs text-primary", children: v }) : null, e[23] = v, e[24] = C) : C = e[24];
|
|
356
356
|
let R;
|
|
357
|
-
e[
|
|
357
|
+
e[25] !== q ? (R = q ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 text-[11px] text-muted-foreground", children: q }) : null, e[25] = q, e[26] = R) : R = e[26];
|
|
358
358
|
let S;
|
|
359
|
-
e[
|
|
359
|
+
e[27] !== A || e[28] !== C || e[29] !== R || e[30] !== p ? (S = /* @__PURE__ */ t.jsxs("button", { type: "button", className: "min-w-0 flex-1 text-left", onClick: p, children: [
|
|
360
360
|
A,
|
|
361
361
|
C,
|
|
362
362
|
R
|
|
363
|
-
] }), e[
|
|
363
|
+
] }), e[27] = A, e[28] = C, e[29] = R, e[30] = p, e[31] = S) : S = e[31];
|
|
364
364
|
let z, T;
|
|
365
|
-
e[
|
|
366
|
-
c(
|
|
367
|
-
}, T = /* @__PURE__ */ t.jsx(le, { className: "h-4 w-4" }), e[
|
|
365
|
+
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
|
|
366
|
+
c(Ce);
|
|
367
|
+
}, T = /* @__PURE__ */ t.jsx(le, { className: "h-4 w-4" }), e[32] = z, e[33] = T) : (z = e[32], T = e[33]);
|
|
368
368
|
let b;
|
|
369
|
-
e[
|
|
369
|
+
e[34] !== i ? (b = /* @__PURE__ */ t.jsx("button", { ref: f, type: "button", className: "inline-flex h-8 w-8 items-center justify-center rounded-md hover:bg-accent", "aria-label": "Notification options", "aria-haspopup": "menu", "aria-expanded": i, onClick: z, children: T }), e[34] = i, e[35] = b) : b = e[35];
|
|
370
370
|
let E;
|
|
371
|
-
e[
|
|
371
|
+
e[36] !== m || e[37] !== i || e[38] !== n.id || e[39] !== a || e[40] !== r ? (E = i ? /* @__PURE__ */ t.jsxs("div", { ref: w, role: "menu", className: V("absolute right-0 top-full z-50 mt-1 min-w-[10rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", "animate-in fade-in-0 zoom-in-95"), children: [
|
|
372
372
|
/* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground", onClick: () => {
|
|
373
373
|
c(!1), a(n.id);
|
|
374
374
|
}, children: "Archive" }),
|
|
375
|
-
/* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50", disabled: !
|
|
375
|
+
/* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50", disabled: !m, onClick: () => {
|
|
376
376
|
c(!1), r(n.id);
|
|
377
377
|
}, children: "Mark as read" })
|
|
378
|
-
] }) : null, e[
|
|
378
|
+
] }) : null, e[36] = m, e[37] = i, e[38] = n.id, e[39] = a, e[40] = r, e[41] = E) : E = e[41];
|
|
379
379
|
let D;
|
|
380
|
-
e[
|
|
380
|
+
e[42] !== b || e[43] !== E ? (D = /* @__PURE__ */ t.jsxs("div", { className: "relative flex items-start", children: [
|
|
381
381
|
b,
|
|
382
382
|
E
|
|
383
|
-
] }), e[
|
|
383
|
+
] }), e[42] = b, e[43] = E, e[44] = D) : D = e[44];
|
|
384
384
|
let F;
|
|
385
|
-
return e[
|
|
385
|
+
return e[45] !== S || e[46] !== D || e[47] !== O ? (F = /* @__PURE__ */ t.jsxs("div", { className: O, children: [
|
|
386
386
|
S,
|
|
387
387
|
D
|
|
388
|
-
] }), e[
|
|
388
|
+
] }), e[45] = S, e[46] = D, e[47] = O, e[48] = F) : F = e[48], F;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Ce(o) {
|
|
391
391
|
return !o;
|
|
392
392
|
}
|
|
393
393
|
export {
|
|
394
|
-
|
|
394
|
+
Te as NotificationsDrawer
|
|
395
395
|
};
|
|
396
396
|
//# sourceMappingURL=index16.js.map
|