@lokalise/harmony 2.0.7 → 2.0.8
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 +135 -135
- package/dist/harmony.mjs +79 -79
- package/dist/harmony105.cjs +2 -2
- package/dist/harmony105.mjs +2 -2
- package/dist/harmony106.cjs +1 -1
- package/dist/harmony106.mjs +1 -1
- package/dist/harmony108.cjs +1 -1
- package/dist/harmony108.mjs +1 -1
- package/dist/harmony109.cjs +12 -12
- package/dist/harmony109.mjs +12 -12
- package/dist/harmony11.cjs +30 -55
- package/dist/harmony11.cjs.map +1 -1
- package/dist/harmony11.mjs +30 -55
- package/dist/harmony11.mjs.map +1 -1
- package/dist/harmony111.cjs +1 -1
- package/dist/harmony111.mjs +1 -1
- package/dist/harmony112.cjs +1 -1
- package/dist/harmony112.mjs +1 -1
- package/dist/harmony113.cjs +1 -1
- package/dist/harmony113.mjs +1 -1
- package/dist/harmony115.cjs +165 -11
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +165 -11
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +44 -12
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +43 -11
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +10 -9
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +12 -11
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +11 -20
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +11 -20
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +11 -166
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +11 -166
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony12.cjs +22 -30
- package/dist/harmony12.cjs.map +1 -1
- package/dist/harmony12.mjs +22 -30
- package/dist/harmony12.mjs.map +1 -1
- package/dist/harmony120.cjs +21 -44
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +20 -43
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony122.cjs +7 -20
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +7 -20
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +17 -9
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +16 -8
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +7 -11
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +7 -11
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +7 -14
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +7 -14
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +14 -18
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +14 -18
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +20 -10
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +20 -10
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +9 -26
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +8 -25
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +4 -4
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +5 -5
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony13.cjs +52 -11
- package/dist/harmony13.cjs.map +1 -1
- package/dist/harmony13.mjs +52 -11
- package/dist/harmony13.mjs.map +1 -1
- package/dist/harmony130.cjs +9 -32
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +11 -34
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +11 -4
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +14 -7
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +8 -20
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +9 -21
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +15 -25
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +17 -27
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +12 -21
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +11 -20
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +32 -15
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +34 -17
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +12 -6
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +11 -5
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +22 -15
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +21 -14
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +36 -7
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +36 -7
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +21 -17
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +20 -16
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony14.cjs +9 -55
- package/dist/harmony14.cjs.map +1 -1
- package/dist/harmony14.mjs +9 -55
- package/dist/harmony14.mjs.map +1 -1
- package/dist/harmony140.cjs +20 -7
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +20 -7
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +6 -8
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +5 -7
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +15 -15
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +14 -14
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +1 -1
- package/dist/harmony143.mjs +1 -1
- package/dist/harmony145.cjs +2 -2
- package/dist/harmony145.mjs +2 -2
- package/dist/harmony146.cjs +2 -2
- package/dist/harmony146.mjs +2 -2
- package/dist/harmony147.cjs +4 -10
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +3 -9
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony148.cjs +4 -7
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +3 -6
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony149.cjs +4 -10
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +3 -9
- package/dist/harmony149.mjs.map +1 -1
- package/dist/harmony15.cjs +5 -30
- package/dist/harmony15.cjs.map +1 -1
- package/dist/harmony15.mjs +5 -30
- package/dist/harmony15.mjs.map +1 -1
- package/dist/harmony150.cjs +15 -25
- package/dist/harmony150.cjs.map +1 -1
- package/dist/harmony150.mjs +14 -24
- package/dist/harmony150.mjs.map +1 -1
- package/dist/harmony151.cjs +15 -7
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +14 -6
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +4 -13
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +3 -12
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +97 -7
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +96 -6
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +11 -94
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +11 -94
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony155.cjs +13 -12
- package/dist/harmony155.cjs.map +1 -1
- package/dist/harmony155.mjs +13 -12
- package/dist/harmony155.mjs.map +1 -1
- package/dist/harmony156.cjs +35 -13
- package/dist/harmony156.cjs.map +1 -1
- package/dist/harmony156.mjs +35 -13
- package/dist/harmony156.mjs.map +1 -1
- package/dist/harmony157.cjs +24 -32
- package/dist/harmony157.cjs.map +1 -1
- package/dist/harmony157.mjs +24 -32
- package/dist/harmony157.mjs.map +1 -1
- package/dist/harmony158.cjs +10 -29
- package/dist/harmony158.cjs.map +1 -1
- package/dist/harmony158.mjs +9 -28
- package/dist/harmony158.mjs.map +1 -1
- package/dist/harmony159.cjs +6 -10
- package/dist/harmony159.cjs.map +1 -1
- package/dist/harmony159.mjs +5 -9
- package/dist/harmony159.mjs.map +1 -1
- package/dist/harmony16.cjs +15 -18
- package/dist/harmony16.cjs.map +1 -1
- package/dist/harmony16.mjs +15 -18
- package/dist/harmony16.mjs.map +1 -1
- package/dist/harmony160.cjs +10 -4
- package/dist/harmony160.cjs.map +1 -1
- package/dist/harmony160.mjs +9 -3
- package/dist/harmony160.mjs.map +1 -1
- package/dist/harmony161.cjs +25 -4
- package/dist/harmony161.cjs.map +1 -1
- package/dist/harmony161.mjs +24 -3
- package/dist/harmony161.mjs.map +1 -1
- package/dist/harmony162.cjs +7 -4
- package/dist/harmony162.cjs.map +1 -1
- package/dist/harmony162.mjs +6 -3
- package/dist/harmony162.mjs.map +1 -1
- package/dist/harmony163.cjs +13 -15
- package/dist/harmony163.cjs.map +1 -1
- package/dist/harmony163.mjs +12 -14
- package/dist/harmony163.mjs.map +1 -1
- package/dist/harmony164.cjs +7 -15
- package/dist/harmony164.cjs.map +1 -1
- package/dist/harmony164.mjs +6 -14
- package/dist/harmony164.mjs.map +1 -1
- package/dist/harmony165.cjs +32 -3
- package/dist/harmony165.cjs.map +1 -1
- package/dist/harmony165.mjs +32 -3
- package/dist/harmony165.mjs.map +1 -1
- package/dist/harmony166.cjs +10 -13
- package/dist/harmony166.cjs.map +1 -1
- package/dist/harmony166.mjs +10 -13
- package/dist/harmony166.mjs.map +1 -1
- package/dist/harmony167.cjs +12 -14
- package/dist/harmony167.cjs.map +1 -1
- package/dist/harmony167.mjs +12 -14
- package/dist/harmony167.mjs.map +1 -1
- package/dist/harmony168.cjs +13 -14
- package/dist/harmony168.cjs.map +1 -1
- package/dist/harmony168.mjs +13 -14
- package/dist/harmony168.mjs.map +1 -1
- package/dist/harmony169.cjs +15 -10
- package/dist/harmony169.cjs.map +1 -1
- package/dist/harmony169.mjs +15 -10
- package/dist/harmony169.mjs.map +1 -1
- package/dist/harmony17.cjs +32 -28
- package/dist/harmony17.cjs.map +1 -1
- package/dist/harmony17.mjs +32 -28
- package/dist/harmony17.mjs.map +1 -1
- package/dist/harmony170.cjs +10 -15
- package/dist/harmony170.cjs.map +1 -1
- package/dist/harmony170.mjs +10 -15
- package/dist/harmony170.mjs.map +1 -1
- package/dist/harmony171.cjs +13 -18
- package/dist/harmony171.cjs.map +1 -1
- package/dist/harmony171.mjs +13 -18
- package/dist/harmony171.mjs.map +1 -1
- package/dist/harmony172.cjs +19 -10
- package/dist/harmony172.cjs.map +1 -1
- package/dist/harmony172.mjs +19 -10
- package/dist/harmony172.mjs.map +1 -1
- package/dist/harmony173.cjs +12 -32
- package/dist/harmony173.cjs.map +1 -1
- package/dist/harmony173.mjs +12 -32
- package/dist/harmony173.mjs.map +1 -1
- package/dist/harmony174.cjs +4 -6
- package/dist/harmony174.cjs.map +1 -1
- package/dist/harmony174.mjs +4 -6
- package/dist/harmony174.mjs.map +1 -1
- package/dist/harmony175.cjs +5 -11
- package/dist/harmony175.cjs.map +1 -1
- package/dist/harmony175.mjs +5 -11
- package/dist/harmony175.mjs.map +1 -1
- package/dist/harmony176.cjs +11 -31
- package/dist/harmony176.cjs.map +1 -1
- package/dist/harmony176.mjs +11 -31
- package/dist/harmony176.mjs.map +1 -1
- package/dist/harmony177.cjs +28 -10
- package/dist/harmony177.cjs.map +1 -1
- package/dist/harmony177.mjs +28 -10
- package/dist/harmony177.mjs.map +1 -1
- package/dist/harmony178.cjs +14 -4
- package/dist/harmony178.cjs.map +1 -1
- package/dist/harmony178.mjs +14 -4
- package/dist/harmony178.mjs.map +1 -1
- package/dist/harmony18.cjs +5 -14
- package/dist/harmony18.cjs.map +1 -1
- package/dist/harmony18.mjs +5 -14
- package/dist/harmony18.mjs.map +1 -1
- package/dist/harmony19.cjs +10 -13
- package/dist/harmony19.cjs.map +1 -1
- package/dist/harmony19.mjs +10 -13
- package/dist/harmony19.mjs.map +1 -1
- package/dist/harmony20.cjs +10 -13
- package/dist/harmony20.cjs.map +1 -1
- package/dist/harmony20.mjs +10 -13
- package/dist/harmony20.mjs.map +1 -1
- package/dist/harmony21.cjs +17 -13
- package/dist/harmony21.cjs.map +1 -1
- package/dist/harmony21.mjs +17 -13
- package/dist/harmony21.mjs.map +1 -1
- package/dist/harmony22.cjs +15 -13
- package/dist/harmony22.cjs.map +1 -1
- package/dist/harmony22.mjs +15 -13
- package/dist/harmony22.mjs.map +1 -1
- package/dist/harmony23.cjs +141 -12
- package/dist/harmony23.cjs.map +1 -1
- package/dist/harmony23.mjs +141 -12
- package/dist/harmony23.mjs.map +1 -1
- package/dist/harmony24.cjs +20 -22
- package/dist/harmony24.cjs.map +1 -1
- package/dist/harmony24.mjs +20 -22
- package/dist/harmony24.mjs.map +1 -1
- package/dist/harmony25.cjs +14 -13
- package/dist/harmony25.cjs.map +1 -1
- package/dist/harmony25.mjs +14 -13
- package/dist/harmony25.mjs.map +1 -1
- package/dist/harmony26.cjs +16 -12
- package/dist/harmony26.cjs.map +1 -1
- package/dist/harmony26.mjs +17 -13
- package/dist/harmony26.mjs.map +1 -1
- package/dist/harmony27.cjs +16 -15
- package/dist/harmony27.cjs.map +1 -1
- package/dist/harmony27.mjs +17 -16
- package/dist/harmony27.mjs.map +1 -1
- package/dist/harmony28.cjs +18 -15
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +18 -15
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +20 -15
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +20 -15
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony30.cjs +10 -15
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +10 -15
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +11 -15
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +11 -15
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +8 -16
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +8 -16
- 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 +14 -16
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +14 -16
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +9 -16
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +9 -16
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +12 -16
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +12 -16
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +9 -14
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +9 -14
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +13 -16
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +13 -16
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +7 -16
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +7 -16
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony40.cjs +10 -17
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +10 -17
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +11 -14
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +11 -14
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +9 -14
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +9 -14
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +9 -124
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +9 -124
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +9 -82
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +9 -82
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +88 -6
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +88 -6
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +52 -25
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +52 -25
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +30 -23
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +30 -23
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +11 -141
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +10 -140
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +50 -32
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +50 -32
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +5 -5
- package/dist/harmony5.mjs +5 -5
- package/dist/harmony50.cjs +30 -26
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +30 -26
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +18 -4
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +18 -4
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +25 -81
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +25 -81
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +13 -57
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +12 -56
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +14 -18
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +14 -18
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +14 -30
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +14 -30
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +13 -22
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +13 -22
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +14 -52
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +14 -52
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +13 -9
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +13 -9
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +22 -5
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +22 -5
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +1 -1
- package/dist/harmony6.mjs +2 -2
- package/dist/harmony60.cjs +12 -14
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +12 -14
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +12 -31
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +12 -31
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +17 -5
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +17 -5
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +16 -10
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +16 -10
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +15 -11
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +15 -11
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +15 -18
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +15 -18
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +15 -16
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +15 -16
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +17 -142
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +17 -142
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +16 -19
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +16 -19
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +16 -13
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +16 -13
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +15 -15
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +16 -16
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +15 -16
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +16 -17
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +15 -20
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +15 -20
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +16 -19
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +16 -19
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +15 -8
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +15 -8
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +16 -9
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +16 -9
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +14 -9
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +14 -9
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +14 -9
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +14 -9
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +124 -15
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +124 -15
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +82 -10
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +82 -10
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +6 -13
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +6 -13
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +28 -10
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +28 -10
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +24 -14
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +24 -14
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +141 -8
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +141 -8
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +37 -11
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +37 -11
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +26 -11
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +26 -11
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +4 -9
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +4 -9
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +84 -9
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +84 -9
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +58 -9
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +58 -9
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +18 -88
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +18 -88
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony96.cjs +2 -2
- package/dist/harmony96.mjs +2 -2
- package/dist/harmony98.cjs +2 -2
- package/dist/harmony98.mjs +2 -2
- package/dist/harmony99.cjs +4 -4
- package/dist/harmony99.mjs +4 -4
- package/dist/types/src/features/publicApi/teamUsers.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +4 -4
- package/package.json +1 -1
package/dist/harmony16.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony16.mjs","sources":["../src/features/
|
|
1
|
+
{"version":3,"file":"harmony16.mjs","sources":["../src/features/navigation/providers/NavigationClientProvider.tsx"],"sourcesContent":["import { type ReactNode, createContext, useContext } from 'react'\nimport type { NavigationClient } from '../core/NavigationClient'\n\ninterface NavigationClientProviderProps {\n\tclient: NavigationClient\n\tchildren: ReactNode\n}\n\nconst NavigationClientContext = createContext<NavigationClient | undefined>(undefined)\n\nexport const NavigationClientProvider = ({ client, children }: NavigationClientProviderProps) => {\n\treturn (\n\t\t<NavigationClientContext.Provider value={client}>{children}</NavigationClientContext.Provider>\n\t)\n}\n\nexport const useNavigationClient = (): NavigationClient => {\n\tconst context = useContext(NavigationClientContext)\n\tif (context === undefined) {\n\t\tthrow new Error('useNavigationClient must be used within a NavigationClientProvider')\n\t}\n\treturn context\n}\n"],"names":[],"mappings":";;AAQA,MAAM,0BAA0B,cAA4C,MAAS;AAE9E,MAAM,2BAA2B,CAAC,EAAE,QAAQ,eAA8C;AAChG,6BACE,wBAAwB,UAAxB,EAAiC,OAAO,QAAS,UAAS;AAE7D;AAEO,MAAM,sBAAsB,MAAwB;AACpD,QAAA,UAAU,WAAW,uBAAuB;AAClD,MAAI,YAAY,QAAW;AACpB,UAAA,IAAI,MAAM,oEAAoE;AAAA,EAAA;AAE9E,SAAA;AACR;"}
|
package/dist/harmony160.cjs
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const container = "_container_q5pot_1";
|
|
4
|
+
const profileEmail = "_profileEmail_q5pot_5";
|
|
5
|
+
const styles = {
|
|
6
|
+
container,
|
|
7
|
+
profileEmail
|
|
8
|
+
};
|
|
9
|
+
exports.container = container;
|
|
10
|
+
exports.default = styles;
|
|
11
|
+
exports.profileEmail = profileEmail;
|
|
6
12
|
//# sourceMappingURL=harmony160.cjs.map
|
package/dist/harmony160.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony160.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony160.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/harmony160.mjs
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
const container = "_container_q5pot_1";
|
|
2
|
+
const profileEmail = "_profileEmail_q5pot_5";
|
|
3
|
+
const styles = {
|
|
4
|
+
container,
|
|
5
|
+
profileEmail
|
|
6
|
+
};
|
|
3
7
|
export {
|
|
4
|
-
|
|
8
|
+
container,
|
|
9
|
+
styles as default,
|
|
10
|
+
profileEmail
|
|
5
11
|
};
|
|
6
12
|
//# sourceMappingURL=harmony160.mjs.map
|
package/dist/harmony160.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony160.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony160.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/harmony161.cjs
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const wrapper = "_wrapper_1in7x_5";
|
|
4
|
+
const profileImage = "_profileImage_1in7x_11";
|
|
5
|
+
const teamDetails = "_teamDetails_1in7x_19";
|
|
6
|
+
const planWrapper = "_planWrapper_1in7x_28";
|
|
7
|
+
const teamName = "_teamName_1in7x_36";
|
|
8
|
+
const membership = "_membership_1in7x_53";
|
|
9
|
+
const defaultProfileImage = "_defaultProfileImage_1in7x_59";
|
|
10
|
+
const styles = {
|
|
11
|
+
wrapper,
|
|
12
|
+
profileImage,
|
|
13
|
+
teamDetails,
|
|
14
|
+
planWrapper,
|
|
15
|
+
teamName,
|
|
16
|
+
membership,
|
|
17
|
+
defaultProfileImage
|
|
18
|
+
};
|
|
19
|
+
exports.default = styles;
|
|
20
|
+
exports.defaultProfileImage = defaultProfileImage;
|
|
21
|
+
exports.membership = membership;
|
|
22
|
+
exports.planWrapper = planWrapper;
|
|
23
|
+
exports.profileImage = profileImage;
|
|
24
|
+
exports.teamDetails = teamDetails;
|
|
25
|
+
exports.teamName = teamName;
|
|
26
|
+
exports.wrapper = wrapper;
|
|
6
27
|
//# sourceMappingURL=harmony161.cjs.map
|
package/dist/harmony161.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony161.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony161.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony161.mjs
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
const wrapper = "_wrapper_1in7x_5";
|
|
2
|
+
const profileImage = "_profileImage_1in7x_11";
|
|
3
|
+
const teamDetails = "_teamDetails_1in7x_19";
|
|
4
|
+
const planWrapper = "_planWrapper_1in7x_28";
|
|
5
|
+
const teamName = "_teamName_1in7x_36";
|
|
6
|
+
const membership = "_membership_1in7x_53";
|
|
7
|
+
const defaultProfileImage = "_defaultProfileImage_1in7x_59";
|
|
8
|
+
const styles = {
|
|
9
|
+
wrapper,
|
|
10
|
+
profileImage,
|
|
11
|
+
teamDetails,
|
|
12
|
+
planWrapper,
|
|
13
|
+
teamName,
|
|
14
|
+
membership,
|
|
15
|
+
defaultProfileImage
|
|
16
|
+
};
|
|
3
17
|
export {
|
|
4
|
-
|
|
18
|
+
styles as default,
|
|
19
|
+
defaultProfileImage,
|
|
20
|
+
membership,
|
|
21
|
+
planWrapper,
|
|
22
|
+
profileImage,
|
|
23
|
+
teamDetails,
|
|
24
|
+
teamName,
|
|
25
|
+
wrapper
|
|
5
26
|
};
|
|
6
27
|
//# sourceMappingURL=harmony161.mjs.map
|
package/dist/harmony161.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony161.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony161.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/harmony162.cjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const teamsContainer = "_teamsContainer_1ncrr_5";
|
|
4
|
+
const styles = {
|
|
5
|
+
teamsContainer
|
|
6
|
+
};
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
exports.teamsContainer = teamsContainer;
|
|
6
9
|
//# sourceMappingURL=harmony162.cjs.map
|
package/dist/harmony162.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony162.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony162.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony162.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
const teamsContainer = "_teamsContainer_1ncrr_5";
|
|
2
|
+
const styles = {
|
|
3
|
+
teamsContainer
|
|
4
|
+
};
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
styles as default,
|
|
7
|
+
teamsContainer
|
|
5
8
|
};
|
|
6
9
|
//# sourceMappingURL=harmony162.mjs.map
|
package/dist/harmony162.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony162.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony162.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony163.cjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
});
|
|
16
|
-
exports.canDownloadFiles = canDownloadFiles;
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const container = "_container_1u995_1";
|
|
4
|
+
const planCta = "_planCta_1u995_15";
|
|
5
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
|
6
|
+
const styles = {
|
|
7
|
+
container,
|
|
8
|
+
planCta,
|
|
9
|
+
upgradeIconWrapper
|
|
10
|
+
};
|
|
11
|
+
exports.container = container;
|
|
12
|
+
exports.default = styles;
|
|
13
|
+
exports.planCta = planCta;
|
|
14
|
+
exports.upgradeIconWrapper = upgradeIconWrapper;
|
|
17
15
|
//# sourceMappingURL=harmony163.cjs.map
|
package/dist/harmony163.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony163.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony163.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony163.mjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
|
|
10
|
-
// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
|
|
11
|
-
// but will need to remove this first part of the check.
|
|
12
|
-
marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "download")
|
|
13
|
-
});
|
|
1
|
+
const container = "_container_1u995_1";
|
|
2
|
+
const planCta = "_planCta_1u995_15";
|
|
3
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
|
4
|
+
const styles = {
|
|
5
|
+
container,
|
|
6
|
+
planCta,
|
|
7
|
+
upgradeIconWrapper
|
|
8
|
+
};
|
|
14
9
|
export {
|
|
15
|
-
|
|
10
|
+
container,
|
|
11
|
+
styles as default,
|
|
12
|
+
planCta,
|
|
13
|
+
upgradeIconWrapper
|
|
16
14
|
};
|
|
17
15
|
//# sourceMappingURL=harmony163.mjs.map
|
package/dist/harmony163.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony163.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony163.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony164.cjs
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
|
|
10
|
-
// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
|
|
11
|
-
// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
|
|
12
|
-
// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
|
|
13
|
-
// but will need to remove this first part of the check.
|
|
14
|
-
marketing: () => hasAny.hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has.has(projectPermissions, "upload")
|
|
15
|
-
});
|
|
16
|
-
exports.canUploadFiles = canUploadFiles;
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
|
4
|
+
const styles = {
|
|
5
|
+
iconContainer
|
|
6
|
+
};
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
exports.iconContainer = iconContainer;
|
|
17
9
|
//# sourceMappingURL=harmony164.cjs.map
|
package/dist/harmony164.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony164.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony164.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony164.mjs
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
classic: () => has(projectPermissions, "upload"),
|
|
6
|
-
// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
|
|
7
|
-
// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
|
|
8
|
-
// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
|
|
9
|
-
// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
|
|
10
|
-
// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
|
|
11
|
-
// but will need to remove this first part of the check.
|
|
12
|
-
marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "upload")
|
|
13
|
-
});
|
|
1
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
|
2
|
+
const styles = {
|
|
3
|
+
iconContainer
|
|
4
|
+
};
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
styles as default,
|
|
7
|
+
iconContainer
|
|
16
8
|
};
|
|
17
9
|
//# sourceMappingURL=harmony164.mjs.map
|
package/dist/harmony164.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony164.mjs","sources":[
|
|
1
|
+
{"version":3,"file":"harmony164.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony165.cjs
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
3
|
+
const assertIsNever = require("./harmony174.cjs");
|
|
4
|
+
const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
|
|
5
|
+
const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
|
|
6
|
+
const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
|
|
7
|
+
const callMatchFunction = (matcher, category, projectType) => {
|
|
8
|
+
if (isFullProjectTypeMatch(matcher)) {
|
|
9
|
+
return matcher[projectType]();
|
|
10
|
+
}
|
|
11
|
+
if (isPartialProjectTypeMatch(matcher)) {
|
|
12
|
+
return (matcher[projectType] || matcher.otherwise)();
|
|
13
|
+
}
|
|
14
|
+
if (isCategoryProjectTypeMatch(matcher)) {
|
|
15
|
+
return matcher[category]();
|
|
16
|
+
}
|
|
17
|
+
return false;
|
|
18
|
+
};
|
|
19
|
+
const canPerformActionByProjectType = (projectType, match) => {
|
|
20
|
+
switch (projectType) {
|
|
21
|
+
case void 0:
|
|
22
|
+
return false;
|
|
23
|
+
case "localization_files":
|
|
24
|
+
case "paged_documents":
|
|
25
|
+
case "content_integration":
|
|
26
|
+
return callMatchFunction(match, "classic", projectType);
|
|
27
|
+
case "marketing":
|
|
28
|
+
case "marketing_integrations":
|
|
29
|
+
return callMatchFunction(match, "marketing", projectType);
|
|
30
|
+
default:
|
|
31
|
+
return assertIsNever.assertIsNever(projectType);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.canPerformActionByProjectType = canPerformActionByProjectType;
|
|
6
35
|
//# sourceMappingURL=harmony165.cjs.map
|
package/dist/harmony165.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony165.cjs","sources":["../src/features/permissions/
|
|
1
|
+
{"version":3,"file":"harmony165.cjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":["assertIsNever"],"mappings":";;;AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAOA,cAAAA,cAAc,WAAW;AAAA,EAAA;AAEnC;;"}
|
package/dist/harmony165.mjs
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { assertIsNever } from "./harmony174.mjs";
|
|
2
|
+
const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
|
|
3
|
+
const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
|
|
4
|
+
const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
|
|
5
|
+
const callMatchFunction = (matcher, category, projectType) => {
|
|
6
|
+
if (isFullProjectTypeMatch(matcher)) {
|
|
7
|
+
return matcher[projectType]();
|
|
8
|
+
}
|
|
9
|
+
if (isPartialProjectTypeMatch(matcher)) {
|
|
10
|
+
return (matcher[projectType] || matcher.otherwise)();
|
|
11
|
+
}
|
|
12
|
+
if (isCategoryProjectTypeMatch(matcher)) {
|
|
13
|
+
return matcher[category]();
|
|
14
|
+
}
|
|
15
|
+
return false;
|
|
16
|
+
};
|
|
17
|
+
const canPerformActionByProjectType = (projectType, match) => {
|
|
18
|
+
switch (projectType) {
|
|
19
|
+
case void 0:
|
|
20
|
+
return false;
|
|
21
|
+
case "localization_files":
|
|
22
|
+
case "paged_documents":
|
|
23
|
+
case "content_integration":
|
|
24
|
+
return callMatchFunction(match, "classic", projectType);
|
|
25
|
+
case "marketing":
|
|
26
|
+
case "marketing_integrations":
|
|
27
|
+
return callMatchFunction(match, "marketing", projectType);
|
|
28
|
+
default:
|
|
29
|
+
return assertIsNever(projectType);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
3
32
|
export {
|
|
4
|
-
|
|
33
|
+
canPerformActionByProjectType
|
|
5
34
|
};
|
|
6
35
|
//# sourceMappingURL=harmony165.mjs.map
|
package/dist/harmony165.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony165.mjs","sources":["../src/features/permissions/
|
|
1
|
+
{"version":3,"file":"harmony165.mjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":[],"mappings":";AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAO,cAAc,WAAW;AAAA,EAAA;AAEnC;"}
|
package/dist/harmony166.cjs
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
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
|
-
return _root;
|
|
14
|
-
}
|
|
15
|
-
exports.__require = require_root;
|
|
3
|
+
const hasAdminRight = (adminRights, right) => {
|
|
4
|
+
if (!Array.isArray(adminRights)) return false;
|
|
5
|
+
return adminRights.includes(right);
|
|
6
|
+
};
|
|
7
|
+
const hasAnyAdminRight = (adminRights, rights) => {
|
|
8
|
+
if (!Array.isArray(adminRights)) return false;
|
|
9
|
+
return rights.some((right) => adminRights.includes(right));
|
|
10
|
+
};
|
|
11
|
+
exports.hasAdminRight = hasAdminRight;
|
|
12
|
+
exports.hasAnyAdminRight = hasAnyAdminRight;
|
|
16
13
|
//# sourceMappingURL=harmony166.cjs.map
|
package/dist/harmony166.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony166.cjs","sources":["../
|
|
1
|
+
{"version":3,"file":"harmony166.cjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":";;AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;;;"}
|
package/dist/harmony166.mjs
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
|
10
|
-
_root = root;
|
|
11
|
-
return _root;
|
|
12
|
-
}
|
|
1
|
+
const hasAdminRight = (adminRights, right) => {
|
|
2
|
+
if (!Array.isArray(adminRights)) return false;
|
|
3
|
+
return adminRights.includes(right);
|
|
4
|
+
};
|
|
5
|
+
const hasAnyAdminRight = (adminRights, rights) => {
|
|
6
|
+
if (!Array.isArray(adminRights)) return false;
|
|
7
|
+
return rights.some((right) => adminRights.includes(right));
|
|
8
|
+
};
|
|
13
9
|
export {
|
|
14
|
-
|
|
10
|
+
hasAdminRight,
|
|
11
|
+
hasAnyAdminRight
|
|
15
12
|
};
|
|
16
13
|
//# sourceMappingURL=harmony166.mjs.map
|
package/dist/harmony166.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony166.mjs","sources":["../
|
|
1
|
+
{"version":3,"file":"harmony166.mjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":"AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;"}
|
package/dist/harmony167.cjs
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
_baseTrim = baseTrim;
|
|
15
|
-
return _baseTrim;
|
|
3
|
+
const _freeGlobal = require("./harmony170.cjs");
|
|
4
|
+
var _root;
|
|
5
|
+
var hasRequired_root;
|
|
6
|
+
function require_root() {
|
|
7
|
+
if (hasRequired_root) return _root;
|
|
8
|
+
hasRequired_root = 1;
|
|
9
|
+
var freeGlobal = _freeGlobal.__require();
|
|
10
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
11
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
12
|
+
_root = root;
|
|
13
|
+
return _root;
|
|
16
14
|
}
|
|
17
|
-
exports.__require =
|
|
15
|
+
exports.__require = require_root;
|
|
18
16
|
//# sourceMappingURL=harmony167.cjs.map
|
package/dist/harmony167.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony167.cjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony167.cjs","sources":["../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["require$$0"],"mappings":";;;;;;;;AAAA,MAAI,aAAaA,YAAAA,UAAwB;AAGzC,MAAI,WAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU;AAG5E,MAAI,OAAO,cAAc,YAAY,SAAS,aAAa,EAAG;AAE9D,UAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony167.mjs
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
if (
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_baseTrim = baseTrim;
|
|
13
|
-
return _baseTrim;
|
|
1
|
+
import { __require as require_freeGlobal } from "./harmony170.mjs";
|
|
2
|
+
var _root;
|
|
3
|
+
var hasRequired_root;
|
|
4
|
+
function require_root() {
|
|
5
|
+
if (hasRequired_root) return _root;
|
|
6
|
+
hasRequired_root = 1;
|
|
7
|
+
var freeGlobal = require_freeGlobal();
|
|
8
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
9
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
10
|
+
_root = root;
|
|
11
|
+
return _root;
|
|
14
12
|
}
|
|
15
13
|
export {
|
|
16
|
-
|
|
14
|
+
require_root as __require
|
|
17
15
|
};
|
|
18
16
|
//# sourceMappingURL=harmony167.mjs.map
|
package/dist/harmony167.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony167.mjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony167.mjs","sources":["../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,aAAaA,mBAAwB;AAGzC,MAAI,WAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU;AAG5E,MAAI,OAAO,cAAc,YAAY,SAAS,aAAa,EAAG;AAE9D,UAAiB;;;","x_google_ignoreList":[0]}
|