@lokalise/harmony 1.32.4-exp-expertJWTSidebar.2 → 1.32.4-exp-expertJWTSidebar.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/harmony.cjs +46 -48
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +46 -48
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +5 -98
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +5 -81
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +132 -18
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +132 -18
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +9 -18
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +9 -18
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +5 -6
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -6
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +37 -129
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +37 -129
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +60 -12
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +59 -11
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +7 -5
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +7 -5
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +12 -38
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +12 -38
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +18 -60
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +18 -60
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +6 -7
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +5 -6
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +99 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +81 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +63 -6
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +62 -5
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +89 -6
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +88 -5
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +19 -63
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +18 -62
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +6 -89
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +5 -88
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +5 -18
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +5 -18
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +7 -96
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +7 -96
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +57 -13
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +57 -13
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +60 -14
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +60 -14
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +19 -37
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +18 -36
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +87 -19
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +87 -19
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -12
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -12
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +13 -14
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +13 -14
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +34 -14
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +34 -14
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +25 -13
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +25 -13
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +12 -20
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +12 -20
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +13 -10
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +13 -10
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +15 -10
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +15 -10
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +45 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +45 -6
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +12 -57
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +11 -56
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony13.cjs +1 -1
- package/dist/harmony13.cjs.map +1 -1
- package/dist/harmony13.mjs +1 -1
- package/dist/harmony13.mjs.map +1 -1
- package/dist/harmony130.cjs +11 -60
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +11 -60
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +17 -19
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +16 -18
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +20 -11
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +20 -11
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +10 -30
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +10 -30
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +5 -13
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +5 -13
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +11 -5
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +11 -5
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +31 -45
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +31 -45
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +15 -13
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +14 -12
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony20.cjs +12 -12
- package/dist/harmony20.cjs.map +1 -1
- package/dist/harmony20.mjs +12 -12
- package/dist/harmony20.mjs.map +1 -1
- package/dist/harmony21.cjs +16 -13
- package/dist/harmony21.cjs.map +1 -1
- package/dist/harmony21.mjs +16 -13
- package/dist/harmony21.mjs.map +1 -1
- package/dist/harmony22.cjs +9 -8
- package/dist/harmony22.cjs.map +1 -1
- package/dist/harmony22.mjs +9 -8
- package/dist/harmony22.mjs.map +1 -1
- package/dist/harmony23.cjs +18 -16
- package/dist/harmony23.cjs.map +1 -1
- package/dist/harmony23.mjs +18 -16
- package/dist/harmony23.mjs.map +1 -1
- package/dist/harmony24.cjs +16 -16
- package/dist/harmony24.cjs.map +1 -1
- package/dist/harmony24.mjs +18 -18
- package/dist/harmony24.mjs.map +1 -1
- package/dist/harmony25.cjs +9 -19
- package/dist/harmony25.cjs.map +1 -1
- package/dist/harmony25.mjs +9 -19
- package/dist/harmony25.mjs.map +1 -1
- package/dist/harmony26.cjs +8 -7
- package/dist/harmony26.cjs.map +1 -1
- package/dist/harmony26.mjs +8 -7
- package/dist/harmony26.mjs.map +1 -1
- package/dist/harmony27.cjs +27 -11
- package/dist/harmony27.cjs.map +1 -1
- package/dist/harmony27.mjs +27 -11
- package/dist/harmony27.mjs.map +1 -1
- package/dist/harmony28.cjs +26 -22
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +27 -23
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +8 -28
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +9 -29
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +54 -10
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +54 -10
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +25 -50
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +26 -51
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +15 -27
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +16 -28
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +8 -16
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +8 -16
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +12 -8
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +13 -9
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +14 -14
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +14 -14
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +4 -4
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +4 -4
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +6 -6
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +6 -6
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +5 -6
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +5 -6
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +14 -6
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +15 -7
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +7 -15
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +7 -15
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +11 -7
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +13 -9
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +8 -8
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +8 -8
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +12 -14
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +12 -14
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +8 -8
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +9 -9
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +9 -9
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +10 -10
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +14 -12
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +14 -12
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +10 -10
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +10 -10
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +8 -8
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +8 -8
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +7 -7
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +7 -7
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +12 -14
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +12 -14
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +14 -12
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +14 -12
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +8 -8
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +8 -8
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +7 -10
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +9 -12
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +56 -14
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +56 -14
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +74 -48
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +73 -47
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +4 -80
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +4 -80
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +21 -4
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +21 -4
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +17 -20
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +17 -20
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +137 -14
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +135 -12
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +46 -142
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +45 -141
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +25 -46
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +25 -46
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +6 -24
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +6 -24
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +82 -6
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +82 -6
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +20 -80
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +20 -80
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +16 -22
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +16 -22
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +16 -19
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +15 -18
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +18 -15
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +18 -15
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +61 -18
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +61 -18
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +6 -61
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +6 -61
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony70.cjs +10 -7
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +9 -6
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +17 -8
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +17 -8
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +18 -13
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +19 -14
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +4 -22
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +4 -22
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +31 -4
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +32 -5
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +26 -26
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +28 -28
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +12 -25
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +13 -26
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +24 -12
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +25 -13
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +55 -27
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +57 -29
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +10 -60
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +9 -59
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +9 -10
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +8 -9
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +26 -5
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +29 -8
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +3 -29
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +3 -29
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +40 -3
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +40 -3
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +8 -36
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +10 -38
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +9 -3
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +9 -3
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +3 -6
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +3 -6
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +6 -6
- package/dist/harmony87.mjs +6 -6
- package/dist/harmony88.cjs +9 -57
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +8 -56
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +51 -36
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +52 -37
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +42 -5
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +42 -5
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +6 -10
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +5 -9
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +6 -21
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +6 -21
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +21 -3
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +21 -3
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +6 -21
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +5 -20
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +21 -12
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +20 -11
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +12 -12
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +11 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +12 -13
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +11 -12
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +22 -12
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +21 -11
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +20 -20
- package/dist/harmony99.mjs +20 -20
- package/dist/types/src/features/auth/node.d.ts +0 -1
- package/package.json +1 -1
package/dist/harmony.cjs
CHANGED
@@ -18,53 +18,52 @@ const jwtTokenPayload = require("./harmony16.cjs");
|
|
18
18
|
const cookieTokenUtils = require("./harmony17.cjs");
|
19
19
|
const createHeaderBuilderMiddleware = require("./harmony18.cjs");
|
20
20
|
const headerBuilder = require("./harmony19.cjs");
|
21
|
-
const
|
22
|
-
const
|
23
|
-
const
|
24
|
-
const
|
25
|
-
const
|
26
|
-
const
|
27
|
-
const
|
28
|
-
const
|
29
|
-
const
|
30
|
-
const
|
31
|
-
const
|
32
|
-
const
|
33
|
-
const
|
34
|
-
const
|
35
|
-
const
|
36
|
-
const
|
37
|
-
const
|
38
|
-
const
|
39
|
-
const
|
40
|
-
const
|
41
|
-
const
|
42
|
-
const
|
43
|
-
const
|
44
|
-
const
|
45
|
-
const
|
46
|
-
const
|
47
|
-
const
|
48
|
-
const
|
49
|
-
const
|
50
|
-
const
|
51
|
-
const
|
52
|
-
const
|
53
|
-
const
|
54
|
-
const
|
55
|
-
const
|
56
|
-
const
|
57
|
-
const
|
58
|
-
const
|
59
|
-
const
|
60
|
-
const
|
61
|
-
const
|
62
|
-
const
|
63
|
-
const
|
64
|
-
const
|
65
|
-
const
|
66
|
-
const
|
67
|
-
const userTokenTypes = require("./harmony66.cjs");
|
21
|
+
const getAuthenticatedSessionDetailFromRequest = require("./harmony20.cjs");
|
22
|
+
const generateTokenFromClassicSession = require("./harmony21.cjs");
|
23
|
+
const refreshExpiredToken = require("./harmony22.cjs");
|
24
|
+
const useGetPromotedClassicSessionJwtQuery = require("./harmony23.cjs");
|
25
|
+
const useAuthenticatedSessionPayload = require("./harmony24.cjs");
|
26
|
+
const useAuthenticatedUser = require("./harmony25.cjs");
|
27
|
+
const useAuthenticatedProjectContributor = require("./harmony26.cjs");
|
28
|
+
const contributors = require("./harmony27.cjs");
|
29
|
+
const languages = require("./harmony28.cjs");
|
30
|
+
const permissionTemplates = require("./harmony29.cjs");
|
31
|
+
const projects = require("./harmony30.cjs");
|
32
|
+
const score = require("./harmony31.cjs");
|
33
|
+
const team = require("./harmony32.cjs");
|
34
|
+
const teamUsers = require("./harmony33.cjs");
|
35
|
+
const userToken = require("./harmony34.cjs");
|
36
|
+
const useAddLanguagesToProjectMutation = require("./harmony35.cjs");
|
37
|
+
const useBulkUpdateProjectLanguagesMutation = require("./harmony36.cjs");
|
38
|
+
const useCreateScoreMutation = require("./harmony37.cjs");
|
39
|
+
const useCreateProjectMutation = require("./harmony38.cjs");
|
40
|
+
const useDeleteScoreMutation = require("./harmony39.cjs");
|
41
|
+
const useDeleteProjectMutation = require("./harmony40.cjs");
|
42
|
+
const useGetProjectPermissionMetaQuery = require("./harmony41.cjs");
|
43
|
+
const useGetScoreQuery = require("./harmony42.cjs");
|
44
|
+
const useGetTeamUsersQuery = require("./harmony43.cjs");
|
45
|
+
const useGetUserTokenQuery = require("./harmony44.cjs");
|
46
|
+
const useListContributorsQuery = require("./harmony45.cjs");
|
47
|
+
const useListPermissionTemplates = require("./harmony46.cjs");
|
48
|
+
const useListProjectLanguagesQuery = require("./harmony47.cjs");
|
49
|
+
const useListProjectsQuery = require("./harmony48.cjs");
|
50
|
+
const useListTeamsQuery = require("./harmony49.cjs");
|
51
|
+
const useRetrieveContributorQuery = require("./harmony50.cjs");
|
52
|
+
const useRetrieveProjectQuery = require("./harmony51.cjs");
|
53
|
+
const useRetrieveTeamQuery = require("./harmony52.cjs");
|
54
|
+
const useUpdateProjectMutation = require("./harmony53.cjs");
|
55
|
+
const contributorTypes = require("./harmony54.cjs");
|
56
|
+
const languageTypes = require("./harmony55.cjs");
|
57
|
+
const paginationTypes = require("./harmony56.cjs");
|
58
|
+
const permissionTemplateTypes = require("./harmony57.cjs");
|
59
|
+
const permissionTypes = require("./harmony58.cjs");
|
60
|
+
const projectTypes = require("./harmony59.cjs");
|
61
|
+
const scoreTypes = require("./harmony60.cjs");
|
62
|
+
const sharedTypes = require("./harmony61.cjs");
|
63
|
+
const teamRoleTypes = require("./harmony62.cjs");
|
64
|
+
const teamTypes = require("./harmony63.cjs");
|
65
|
+
const teamUserTypes = require("./harmony64.cjs");
|
66
|
+
const userTokenTypes = require("./harmony65.cjs");
|
68
67
|
exports.SidebarTaskLanguageStatuses = types.SidebarTaskLanguageStatuses;
|
69
68
|
exports.SidebarTaskStatuses = types.SidebarTaskStatuses;
|
70
69
|
exports.SidebarTaskTypeOptions = types.SidebarTaskTypeOptions;
|
@@ -101,7 +100,6 @@ exports.getCsrfTokenFromCookie = cookieTokenUtils.getCsrfTokenFromCookie;
|
|
101
100
|
exports.getJwtTokenFromCookie = cookieTokenUtils.getJwtTokenFromCookie;
|
102
101
|
exports.createHeaderBuilderMiddleware = createHeaderBuilderMiddleware.createHeaderBuilderMiddleware;
|
103
102
|
exports.HeaderBuilder = headerBuilder.HeaderBuilder;
|
104
|
-
exports.NewJwtIssuedEvent = NewJwtIssuedEvent.NewJwtIssuedEvent;
|
105
103
|
exports.getAuthenticatedSessionDetailFromRequest = getAuthenticatedSessionDetailFromRequest.getAuthenticatedSessionDetailFromRequest;
|
106
104
|
exports.generateTokenFromClassicSession = generateTokenFromClassicSession.generateTokenFromClassicSession;
|
107
105
|
exports.refreshExpiredToken = refreshExpiredToken.refreshExpiredToken;
|
package/dist/harmony.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony.mjs
CHANGED
@@ -16,53 +16,52 @@ import { parseJwtTokenPayload } from "./harmony16.mjs";
|
|
16
16
|
import { getCsrfTokenFromCookie, getJwtTokenFromCookie } from "./harmony17.mjs";
|
17
17
|
import { createHeaderBuilderMiddleware } from "./harmony18.mjs";
|
18
18
|
import { HeaderBuilder } from "./harmony19.mjs";
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
import {
|
29
|
-
import {
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
import {
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./harmony66.mjs";
|
19
|
+
import { getAuthenticatedSessionDetailFromRequest } from "./harmony20.mjs";
|
20
|
+
import { generateTokenFromClassicSession } from "./harmony21.mjs";
|
21
|
+
import { refreshExpiredToken } from "./harmony22.mjs";
|
22
|
+
import { useGetPromotedClassicSessionJwtQuery } from "./harmony23.mjs";
|
23
|
+
import { useAuthenticatedSessionPayload } from "./harmony24.mjs";
|
24
|
+
import { useAuthenticatedUser } from "./harmony25.mjs";
|
25
|
+
import { useAuthenticatedProjectContributor } from "./harmony26.mjs";
|
26
|
+
import { listContributors, retrieveContributor } from "./harmony27.mjs";
|
27
|
+
import { addLanguagesToProject, bulkUpdateProjectLanguages, listProjectLanguages } from "./harmony28.mjs";
|
28
|
+
import { listPermissionTemplates } from "./harmony29.mjs";
|
29
|
+
import { createProject, deleteProject, getProjectPermissionMeta, listProjects, retrieveProject, updateProject } from "./harmony30.mjs";
|
30
|
+
import { createScore, deleteScore, getScore } from "./harmony31.mjs";
|
31
|
+
import { listTeams, retrieveTeam } from "./harmony32.mjs";
|
32
|
+
import { getTeamUser } from "./harmony33.mjs";
|
33
|
+
import { getUserToken } from "./harmony34.mjs";
|
34
|
+
import { useAddLanguagesToProjectMutation } from "./harmony35.mjs";
|
35
|
+
import { useBulkUpdateProjectLanguagesMutation } from "./harmony36.mjs";
|
36
|
+
import { useCreateScoreMutation } from "./harmony37.mjs";
|
37
|
+
import { useCreateProjectMutation } from "./harmony38.mjs";
|
38
|
+
import { useDeleteScoreMutation } from "./harmony39.mjs";
|
39
|
+
import { useDeleteProjectMutation } from "./harmony40.mjs";
|
40
|
+
import { getProjectPermissionMetaQueryKey, useGetProjectPermissionMetaQuery } from "./harmony41.mjs";
|
41
|
+
import { getScoreKey, useGetScoreQuery } from "./harmony42.mjs";
|
42
|
+
import { getTeamUsersQueryKey, useGetTeamUsersQuery } from "./harmony43.mjs";
|
43
|
+
import { getUserTokenKey, useGetUserTokenQuery } from "./harmony44.mjs";
|
44
|
+
import { listContributorsKeys, useListContributorsQuery } from "./harmony45.mjs";
|
45
|
+
import { listPermissionTemplatesKeys, useListPermissionTemplatesQuery } from "./harmony46.mjs";
|
46
|
+
import { listProjectLanguagesKey, useListProjectLanguagesQuery } from "./harmony47.mjs";
|
47
|
+
import { listProjectsKey, useListProjectsQuery } from "./harmony48.mjs";
|
48
|
+
import { listTeamsKey, useListTeamsQuery } from "./harmony49.mjs";
|
49
|
+
import { retrieveContributorKeys, useRetrieveContributorQuery } from "./harmony50.mjs";
|
50
|
+
import { retrieveProjectQueryKey, useRetrieveProjectQuery } from "./harmony51.mjs";
|
51
|
+
import { retrieveTeamQueryKey, useRetrieveTeamQuery } from "./harmony52.mjs";
|
52
|
+
import { useUpdateProjectMutation } from "./harmony53.mjs";
|
53
|
+
import { CONTRIBUTOR_API_BASE_HEADER_SCHEMA, CONTRIBUTOR_LANGUAGE_SCHEMA, CONTRIBUTOR_SCHEMA, LIST_CONTRIBUTORS_PATH_PARAMS_SCHEMA, LIST_CONTRIBUTORS_RESPONSE_SCHEMA, RETRIEVE_CONTRIBUTOR_PATH_PARAMS_SCHEMA, RETRIEVE_CONTRIBUTOR_RESPONSE_SCHEMA } from "./harmony54.mjs";
|
54
|
+
import { ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA, ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA, LANGUAGE_ISO_SCHEMA, LANGUAGE_SCHEMA, LANGUAGE_STATISTICS_SCHEMA, LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA } from "./harmony55.mjs";
|
55
|
+
import { PAGINATION_QUERY_PARAMS_SCHEMA } from "./harmony56.mjs";
|
56
|
+
import { LIST_PERMISSION_TEMPLATES_PATH_PARAMS, LIST_PERMISSION_TEMPLATES_RESPONSE, PERMISSION_TEMPLATE_SCHEMA } from "./harmony57.mjs";
|
57
|
+
import { PERMISSION_DETAILS_SCHEMA, PERMISSION_ID_SCHEMA, PERMISSION_SCOPE_SCHEMA } from "./harmony58.mjs";
|
58
|
+
import { CREATE_PROJECT_REQUEST_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, PROJECT_API_BASE_HEADERS_SCHEMA, PROJECT_ID_OR_UUID_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, PROJECT_ID_SCHEMA, PROJECT_QA_ISSUES_SCHEMA, PROJECT_SCHEMA, PROJECT_SETTINGS_SCHEMA, PROJECT_STATISTICS_SCHEMA, PROJECT_TYPE_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA } from "./harmony59.mjs";
|
59
|
+
import { CREATE_SCORE_PATH_PARAMS_SCHEMA, CREATE_SCORE_REQUEST_BODY_SCHEMA, CREATE_SCORE_RESPONSE_SCHEMA, DELETE_SCORE_PATH_PARAMS_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA, GET_SCORE_RESPONSE_SCHEMA, ISSUE_SCHEMA, SEVERITY_ENUM } from "./harmony60.mjs";
|
60
|
+
import { API_PLUGIN_HEADER_SCHEMA, APU_TOKEN_AUTH_HEADER_SCHEMA, AUTHENTICATION_HEADERS_SCHEMA, AUTHORIZATION_HEADER_SCHEMA, BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony61.mjs";
|
61
|
+
import { TEAM_ROLE_SCHEMA } from "./harmony62.mjs";
|
62
|
+
import { LIST_TEAMS_QUERY_SCHEMA, LIST_TEAMS_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, TEAMS_QUOTA_ALLOWED_SCHEMA, TEAMS_QUOTA_METRICS, TEAMS_QUOTA_METRICS_SCHEMA, TEAMS_QUOTA_USAGE_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, TEAM_QUOTA_ALLOWED_SCHEMA, TEAM_QUOTA_METRICS_SCHEMA, TEAM_QUOTA_USAGE_SCHEMA } from "./harmony63.mjs";
|
63
|
+
import { TEAM_USER_API_BASE_HEADERS_SCHEMA, TEAM_USER_PATH_PARAMS_SCHEMA, TEAM_USER_RESPONSE_SCHEMA, TEAM_USER_SCHEMA } from "./harmony64.mjs";
|
64
|
+
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./harmony65.mjs";
|
66
65
|
export {
|
67
66
|
ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA,
|
68
67
|
ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA,
|
@@ -112,7 +111,6 @@ export {
|
|
112
111
|
LIST_TEAMS_RESPONSE_SCHEMA,
|
113
112
|
NavigationPanel,
|
114
113
|
NavigationTabs,
|
115
|
-
NewJwtIssuedEvent,
|
116
114
|
PAGINATION_QUERY_PARAMS_SCHEMA,
|
117
115
|
PERMISSION_DETAILS_SCHEMA,
|
118
116
|
PERMISSION_ID_SCHEMA,
|
package/dist/harmony.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony100.cjs
CHANGED
@@ -1,102 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
8
|
-
if (e) {
|
9
|
-
for (const k in e) {
|
10
|
-
if (k !== "default") {
|
11
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
12
|
-
Object.defineProperty(n, k, d.get ? d : {
|
13
|
-
enumerable: true,
|
14
|
-
get: () => e[k]
|
15
|
-
});
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
n.default = e;
|
20
|
-
return Object.freeze(n);
|
21
|
-
}
|
22
|
-
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
23
|
-
const patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {
|
24
|
-
switch (refreshMode) {
|
25
|
-
case "debounce":
|
26
|
-
return debounce.default(resizeCallback, refreshRate, refreshOptions);
|
27
|
-
case "throttle":
|
28
|
-
return throttle.default(resizeCallback, refreshRate, refreshOptions);
|
29
|
-
default:
|
30
|
-
return resizeCallback;
|
31
|
-
}
|
3
|
+
const SidebarTeamRoles = {
|
4
|
+
admin: "admin",
|
5
|
+
biller: "biller",
|
6
|
+
owner: "owner"
|
32
7
|
};
|
33
|
-
|
34
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
35
|
-
(callback) => {
|
36
|
-
const callbackRef = React__namespace.useRef(callback);
|
37
|
-
React__namespace.useEffect(() => {
|
38
|
-
callbackRef.current = callback;
|
39
|
-
});
|
40
|
-
return React__namespace.useMemo(() => (...args) => {
|
41
|
-
var _a;
|
42
|
-
return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args);
|
43
|
-
}, []);
|
44
|
-
}
|
45
|
-
);
|
46
|
-
const useRefProxy = (
|
47
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
48
|
-
(targetRef) => {
|
49
|
-
const [refElement, setRefElement] = React__namespace.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);
|
50
|
-
if (targetRef) {
|
51
|
-
setTimeout(() => {
|
52
|
-
if (targetRef.current !== refElement) {
|
53
|
-
setRefElement(targetRef.current);
|
54
|
-
}
|
55
|
-
}, 0);
|
56
|
-
}
|
57
|
-
const refProxy = React__namespace.useMemo(() => new Proxy((node) => {
|
58
|
-
if (node !== refElement) {
|
59
|
-
setRefElement(node);
|
60
|
-
}
|
61
|
-
}, {
|
62
|
-
get(target, prop) {
|
63
|
-
if (prop === "current") {
|
64
|
-
return refElement;
|
65
|
-
}
|
66
|
-
return target[prop];
|
67
|
-
},
|
68
|
-
set(target, prop, value) {
|
69
|
-
if (prop === "current") {
|
70
|
-
setRefElement(value);
|
71
|
-
} else {
|
72
|
-
target[prop] = value;
|
73
|
-
}
|
74
|
-
return true;
|
75
|
-
}
|
76
|
-
}), [refElement]);
|
77
|
-
return { refProxy, refElement, setRefElement };
|
78
|
-
}
|
79
|
-
);
|
80
|
-
const getDimensions = (entry, box) => {
|
81
|
-
if (box === "border-box") {
|
82
|
-
return {
|
83
|
-
width: entry.borderBoxSize[0].inlineSize,
|
84
|
-
height: entry.borderBoxSize[0].blockSize
|
85
|
-
};
|
86
|
-
}
|
87
|
-
if (box === "content-box") {
|
88
|
-
return {
|
89
|
-
width: entry.contentBoxSize[0].inlineSize,
|
90
|
-
height: entry.contentBoxSize[0].blockSize
|
91
|
-
};
|
92
|
-
}
|
93
|
-
return {
|
94
|
-
width: entry.contentRect.width,
|
95
|
-
height: entry.contentRect.height
|
96
|
-
};
|
97
|
-
};
|
98
|
-
exports.getDimensions = getDimensions;
|
99
|
-
exports.patchResizeCallback = patchResizeCallback;
|
100
|
-
exports.useCallbackRef = useCallbackRef;
|
101
|
-
exports.useRefProxy = useRefProxy;
|
8
|
+
exports.SidebarTeamRoles = SidebarTeamRoles;
|
102
9
|
//# sourceMappingURL=harmony100.cjs.map
|
package/dist/harmony100.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony100.cjs","sources":["../src/components/Sidebar/types.ts"],"sourcesContent":["import type { TypesFromMap } from '@utils'\n\nexport const SidebarTeamRoles = {\n\tmember: 'member',\n\tadmin: 'admin',\n\tbiller: 'biller',\n\towner: 'owner',\n} as const\n\nexport type SidebarTeamRole = TypesFromMap<typeof SidebarTeamRoles>\n\nexport type SidebarTeam = {\n\tid: number\n\tname: string\n\trole: SidebarTeamRole\n\tlogoUrl: string\n}\n"],"names":[],"mappings":";;AAEO,MAAM,mBAAmB;AAAA,EAE/B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACR;;"}
|
package/dist/harmony100.mjs
CHANGED
@@ -1,85 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
switch (refreshMode) {
|
6
|
-
case "debounce":
|
7
|
-
return debounce(resizeCallback, refreshRate, refreshOptions);
|
8
|
-
case "throttle":
|
9
|
-
return throttle(resizeCallback, refreshRate, refreshOptions);
|
10
|
-
default:
|
11
|
-
return resizeCallback;
|
12
|
-
}
|
13
|
-
};
|
14
|
-
const useCallbackRef = (
|
15
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
16
|
-
(callback) => {
|
17
|
-
const callbackRef = React.useRef(callback);
|
18
|
-
React.useEffect(() => {
|
19
|
-
callbackRef.current = callback;
|
20
|
-
});
|
21
|
-
return React.useMemo(() => (...args) => {
|
22
|
-
var _a;
|
23
|
-
return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args);
|
24
|
-
}, []);
|
25
|
-
}
|
26
|
-
);
|
27
|
-
const useRefProxy = (
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
29
|
-
(targetRef) => {
|
30
|
-
const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);
|
31
|
-
if (targetRef) {
|
32
|
-
setTimeout(() => {
|
33
|
-
if (targetRef.current !== refElement) {
|
34
|
-
setRefElement(targetRef.current);
|
35
|
-
}
|
36
|
-
}, 0);
|
37
|
-
}
|
38
|
-
const refProxy = React.useMemo(() => new Proxy((node) => {
|
39
|
-
if (node !== refElement) {
|
40
|
-
setRefElement(node);
|
41
|
-
}
|
42
|
-
}, {
|
43
|
-
get(target, prop) {
|
44
|
-
if (prop === "current") {
|
45
|
-
return refElement;
|
46
|
-
}
|
47
|
-
return target[prop];
|
48
|
-
},
|
49
|
-
set(target, prop, value) {
|
50
|
-
if (prop === "current") {
|
51
|
-
setRefElement(value);
|
52
|
-
} else {
|
53
|
-
target[prop] = value;
|
54
|
-
}
|
55
|
-
return true;
|
56
|
-
}
|
57
|
-
}), [refElement]);
|
58
|
-
return { refProxy, refElement, setRefElement };
|
59
|
-
}
|
60
|
-
);
|
61
|
-
const getDimensions = (entry, box) => {
|
62
|
-
if (box === "border-box") {
|
63
|
-
return {
|
64
|
-
width: entry.borderBoxSize[0].inlineSize,
|
65
|
-
height: entry.borderBoxSize[0].blockSize
|
66
|
-
};
|
67
|
-
}
|
68
|
-
if (box === "content-box") {
|
69
|
-
return {
|
70
|
-
width: entry.contentBoxSize[0].inlineSize,
|
71
|
-
height: entry.contentBoxSize[0].blockSize
|
72
|
-
};
|
73
|
-
}
|
74
|
-
return {
|
75
|
-
width: entry.contentRect.width,
|
76
|
-
height: entry.contentRect.height
|
77
|
-
};
|
1
|
+
const SidebarTeamRoles = {
|
2
|
+
admin: "admin",
|
3
|
+
biller: "biller",
|
4
|
+
owner: "owner"
|
78
5
|
};
|
79
6
|
export {
|
80
|
-
|
81
|
-
patchResizeCallback,
|
82
|
-
useCallbackRef,
|
83
|
-
useRefProxy
|
7
|
+
SidebarTeamRoles
|
84
8
|
};
|
85
9
|
//# sourceMappingURL=harmony100.mjs.map
|
package/dist/harmony100.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony100.mjs","sources":["../src/components/Sidebar/types.ts"],"sourcesContent":["import type { TypesFromMap } from '@utils'\n\nexport const SidebarTeamRoles = {\n\tmember: 'member',\n\tadmin: 'admin',\n\tbiller: 'biller',\n\towner: 'owner',\n} as const\n\nexport type SidebarTeamRole = TypesFromMap<typeof SidebarTeamRoles>\n\nexport type SidebarTeam = {\n\tid: number\n\tname: string\n\trole: SidebarTeamRole\n\tlogoUrl: string\n}\n"],"names":[],"mappings":"AAEO,MAAM,mBAAmB;AAAA,EAE/B,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACR;"}
|
package/dist/harmony101.cjs
CHANGED
@@ -1,21 +1,135 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
3
|
+
const floatingUi_utils = require("./harmony111.cjs");
|
4
|
+
async function detectOverflow(state, options) {
|
5
|
+
var _await$platform$isEle;
|
6
|
+
if (options === void 0) {
|
7
|
+
options = {};
|
8
|
+
}
|
9
|
+
const {
|
10
|
+
x,
|
11
|
+
y,
|
12
|
+
platform,
|
13
|
+
rects,
|
14
|
+
elements,
|
15
|
+
strategy
|
16
|
+
} = state;
|
17
|
+
const {
|
18
|
+
boundary = "clippingAncestors",
|
19
|
+
rootBoundary = "viewport",
|
20
|
+
elementContext = "floating",
|
21
|
+
altBoundary = false,
|
22
|
+
padding = 0
|
23
|
+
} = floatingUi_utils.evaluate(options, state);
|
24
|
+
const paddingObject = floatingUi_utils.getPaddingObject(padding);
|
25
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
26
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
27
|
+
const clippingClientRect = floatingUi_utils.rectToClientRect(await platform.getClippingRect({
|
28
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
|
29
|
+
boundary,
|
30
|
+
rootBoundary,
|
31
|
+
strategy
|
32
|
+
}));
|
33
|
+
const rect = elementContext === "floating" ? {
|
34
|
+
x,
|
35
|
+
y,
|
36
|
+
width: rects.floating.width,
|
37
|
+
height: rects.floating.height
|
38
|
+
} : rects.reference;
|
39
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
40
|
+
const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
|
41
|
+
x: 1,
|
42
|
+
y: 1
|
43
|
+
} : {
|
44
|
+
x: 1,
|
45
|
+
y: 1
|
46
|
+
};
|
47
|
+
const elementClientRect = floatingUi_utils.rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
48
|
+
elements,
|
49
|
+
rect,
|
50
|
+
offsetParent,
|
51
|
+
strategy
|
52
|
+
}) : rect);
|
53
|
+
return {
|
54
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
55
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
56
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
57
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
58
|
+
};
|
59
|
+
}
|
60
|
+
const shift = function(options) {
|
61
|
+
if (options === void 0) {
|
62
|
+
options = {};
|
63
|
+
}
|
64
|
+
return {
|
65
|
+
name: "shift",
|
66
|
+
options,
|
67
|
+
async fn(state) {
|
68
|
+
const {
|
69
|
+
x,
|
70
|
+
y,
|
71
|
+
placement
|
72
|
+
} = state;
|
73
|
+
const {
|
74
|
+
mainAxis: checkMainAxis = true,
|
75
|
+
crossAxis: checkCrossAxis = false,
|
76
|
+
limiter = {
|
77
|
+
fn: (_ref) => {
|
78
|
+
let {
|
79
|
+
x: x2,
|
80
|
+
y: y2
|
81
|
+
} = _ref;
|
82
|
+
return {
|
83
|
+
x: x2,
|
84
|
+
y: y2
|
85
|
+
};
|
86
|
+
}
|
87
|
+
},
|
88
|
+
...detectOverflowOptions
|
89
|
+
} = floatingUi_utils.evaluate(options, state);
|
90
|
+
const coords = {
|
91
|
+
x,
|
92
|
+
y
|
93
|
+
};
|
94
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
95
|
+
const crossAxis = floatingUi_utils.getSideAxis(floatingUi_utils.getSide(placement));
|
96
|
+
const mainAxis = floatingUi_utils.getOppositeAxis(crossAxis);
|
97
|
+
let mainAxisCoord = coords[mainAxis];
|
98
|
+
let crossAxisCoord = coords[crossAxis];
|
99
|
+
if (checkMainAxis) {
|
100
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
101
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
102
|
+
const min = mainAxisCoord + overflow[minSide];
|
103
|
+
const max = mainAxisCoord - overflow[maxSide];
|
104
|
+
mainAxisCoord = floatingUi_utils.clamp(min, mainAxisCoord, max);
|
105
|
+
}
|
106
|
+
if (checkCrossAxis) {
|
107
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
108
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
109
|
+
const min = crossAxisCoord + overflow[minSide];
|
110
|
+
const max = crossAxisCoord - overflow[maxSide];
|
111
|
+
crossAxisCoord = floatingUi_utils.clamp(min, crossAxisCoord, max);
|
112
|
+
}
|
113
|
+
const limitedCoords = limiter.fn({
|
114
|
+
...state,
|
115
|
+
[mainAxis]: mainAxisCoord,
|
116
|
+
[crossAxis]: crossAxisCoord
|
117
|
+
});
|
118
|
+
return {
|
119
|
+
...limitedCoords,
|
120
|
+
data: {
|
121
|
+
x: limitedCoords.x - x,
|
122
|
+
y: limitedCoords.y - y,
|
123
|
+
enabled: {
|
124
|
+
[mainAxis]: checkMainAxis,
|
125
|
+
[crossAxis]: checkCrossAxis
|
126
|
+
}
|
127
|
+
}
|
128
|
+
};
|
129
|
+
}
|
130
|
+
};
|
131
|
+
};
|
132
|
+
exports.rectToClientRect = floatingUi_utils.rectToClientRect;
|
133
|
+
exports.detectOverflow = detectOverflow;
|
134
|
+
exports.shift = shift;
|
21
135
|
//# sourceMappingURL=harmony101.cjs.map
|