@lokalise/harmony 1.27.3-exp-teamTypes.1 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -7
- package/dist/harmony.cjs +30 -29
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.css +3 -2
- package/dist/harmony.mjs +31 -30
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +59 -6
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +59 -6
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +7 -18
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +7 -18
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +18 -14
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +18 -14
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +14 -16
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +14 -16
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +17 -7
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +16 -6
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +6 -5
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +6 -5
- package/dist/harmony106.cjs +5 -5
- package/dist/harmony106.mjs +5 -5
- package/dist/harmony107.cjs +6 -63
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +5 -62
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +61 -87
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +61 -87
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +88 -18
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +87 -17
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +19 -97
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +18 -96
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +94 -11
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +94 -11
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +12 -13
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +12 -13
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +13 -35
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +13 -35
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +32 -24
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +32 -24
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +28 -7
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +28 -7
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +6 -56
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +6 -56
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +54 -57
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +55 -58
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +60 -18
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +59 -17
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +19 -14
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +18 -13
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +12 -14
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +12 -14
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +13 -14
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +13 -14
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +15 -10
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +15 -10
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +10 -15
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +10 -15
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +13 -18
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +13 -18
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +19 -10
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +19 -10
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +12 -46
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +12 -46
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +46 -12
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +45 -11
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +13 -7
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +12 -6
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +5 -11
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +5 -11
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +11 -31
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +11 -31
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +28 -10
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +28 -10
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +17 -0
- package/dist/harmony132.cjs.map +1 -0
- package/dist/harmony132.mjs +17 -0
- package/dist/harmony132.mjs.map +1 -0
- package/dist/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony22.cjs +2 -2
- package/dist/harmony22.mjs +2 -2
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +2 -2
- package/dist/harmony26.mjs +2 -2
- package/dist/harmony27.cjs +2 -2
- package/dist/harmony27.mjs +2 -2
- package/dist/harmony28.cjs +2 -2
- package/dist/harmony28.mjs +2 -2
- package/dist/harmony29.cjs +11 -1
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +12 -2
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +3 -3
- package/dist/harmony30.mjs +3 -3
- package/dist/harmony31.cjs +1 -1
- package/dist/harmony31.mjs +1 -1
- package/dist/harmony32.cjs +1 -1
- package/dist/harmony32.mjs +1 -1
- package/dist/harmony33.cjs +1 -1
- package/dist/harmony33.mjs +1 -1
- package/dist/harmony37.cjs +7 -11
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +9 -13
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +8 -8
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +8 -8
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +14 -12
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +14 -12
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony4.mjs.map +1 -1
- package/dist/harmony40.cjs +8 -8
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +9 -9
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +9 -9
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +10 -10
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +12 -14
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +12 -14
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +10 -10
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +10 -10
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +8 -8
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +8 -8
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +7 -7
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +7 -7
- 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 +12 -14
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +12 -14
- 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 +10 -7
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +12 -9
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +14 -56
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +14 -56
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +48 -72
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +47 -71
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +78 -4
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +78 -4
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +4 -21
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +4 -21
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +20 -34
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +20 -34
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +35 -115
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +34 -114
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +121 -20
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +120 -19
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +20 -25
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +20 -25
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +24 -6
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +24 -6
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +6 -82
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +6 -82
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +46 -20
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +46 -20
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +22 -16
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +22 -16
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +19 -16
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +18 -15
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +15 -18
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +15 -18
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +18 -61
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +18 -61
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +61 -6
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +61 -6
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +7 -10
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +6 -9
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +8 -17
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +7 -16
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +13 -18
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +13 -18
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +22 -4
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +22 -4
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +4 -31
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +5 -32
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +26 -26
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +27 -27
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +25 -12
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +25 -12
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +12 -24
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +13 -25
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +27 -55
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +29 -57
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +60 -10
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +59 -9
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +10 -9
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +9 -8
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +5 -26
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +8 -29
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +29 -3
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +29 -3
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +4 -7
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +3 -6
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +3 -6
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +3 -6
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +6 -6
- package/dist/harmony81.mjs +6 -6
- package/dist/harmony82.cjs +9 -57
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +8 -56
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +51 -27
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +52 -28
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +32 -5
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +32 -5
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +6 -10
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +5 -9
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +6 -21
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +6 -21
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +21 -3
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +21 -3
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +6 -21
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +5 -20
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +21 -12
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +20 -11
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +13 -12
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +12 -11
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +12 -22
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +11 -21
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +21 -99
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +20 -81
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +99 -21
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +81 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +21 -6
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +20 -5
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +4 -131
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +4 -131
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +132 -12
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +131 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +13 -6
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +12 -5
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +5 -40
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +5 -40
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +33 -53
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +34 -54
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useDeleteProjectMutation.d.ts +16 -0
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +9 -7
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +11 -24
- package/dist/types/src/features/publicApi/node.d.ts +1 -0
- package/dist/types/src/features/publicApi/projects.d.ts +72 -0
- package/dist/types/src/features/publicApi/team.d.ts +108 -187
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +11 -0
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +115 -272
- package/package.json +1 -1
package/dist/harmony102.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony102.mjs","sources":["../src/features/auth/
|
1
|
+
{"version":3,"file":"harmony102.mjs","sources":["../src/features/auth/core/types/jwtTokenPayload.ts"],"sourcesContent":["import { z } from 'zod'\nimport { TEAM_ROLE_SCHEMA } from '../../../publicApi/types/teamRoleTypes'\n\nexport const JWT_TOKEN_PAYLOAD_SCHEMA = z.object({\n\tuserId: z.number(),\n\tuserUuid: z.string().uuid(),\n\tteamId: z.number(),\n\tteamUuid: z.string().uuid(),\n\tuserTeamRole: TEAM_ROLE_SCHEMA,\n\tuserEmail: z.string().email(),\n\tuserName: z.string(),\n\tuserCurrentTeamId: z.number(),\n\tplanId: z.number(),\n\tplanName: z.string(),\n\tisProviderAlpha: z.boolean(),\n\tisFullyAuthenticated: z.boolean(),\n\texp: z.number(),\n})\nexport type JwtTokenPayload = z.infer<typeof JWT_TOKEN_PAYLOAD_SCHEMA>\n"],"names":[],"mappings":";;AAGa,MAAA,2BAA2B,EAAE,OAAO;AAAA,EAChD,QAAQ,EAAE,OAAO;AAAA,EACjB,UAAU,EAAE,OAAO,EAAE,KAAK;AAAA,EAC1B,QAAQ,EAAE,OAAO;AAAA,EACjB,UAAU,EAAE,OAAO,EAAE,KAAK;AAAA,EAC1B,cAAc;AAAA,EACd,WAAW,EAAE,OAAO,EAAE,MAAM;AAAA,EAC5B,UAAU,EAAE,OAAO;AAAA,EACnB,mBAAmB,EAAE,OAAO;AAAA,EAC5B,QAAQ,EAAE,OAAO;AAAA,EACjB,UAAU,EAAE,OAAO;AAAA,EACnB,iBAAiB,EAAE,QAAQ;AAAA,EAC3B,sBAAsB,EAAE,QAAQ;AAAA,EAChC,KAAK,EAAE,OAAO;AACf,CAAC;"}
|
package/dist/harmony103.cjs
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
4
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
2
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
responseSchemasByStatusCode: params.responseSchemasByStatusCode,
|
15
|
-
metadata: params.metadata
|
16
|
-
};
|
17
|
-
}
|
18
|
-
exports.buildGetRoute = buildGetRoute;
|
6
|
+
const jwtTokenPayload = require("./harmony15.cjs");
|
7
|
+
const _NewJwtIssuedEvent = class _NewJwtIssuedEvent extends CustomEvent {
|
8
|
+
constructor(token) {
|
9
|
+
super(_NewJwtIssuedEvent.eventName, {
|
10
|
+
detail: { token, payload: jwtTokenPayload.parseJwtTokenPayload(token.accessToken) }
|
11
|
+
});
|
12
|
+
}
|
13
|
+
};
|
14
|
+
__publicField(_NewJwtIssuedEvent, "eventName", "new-jwt-issued");
|
15
|
+
let NewJwtIssuedEvent = _NewJwtIssuedEvent;
|
16
|
+
exports.NewJwtIssuedEvent = NewJwtIssuedEvent;
|
19
17
|
//# sourceMappingURL=harmony103.cjs.map
|
package/dist/harmony103.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony103.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony103.cjs","sources":["../src/features/auth/frontend/events/NewJwtIssuedEvent.ts"],"sourcesContent":["import type { JwtTokenPayload } from '@features/auth/core/types/jwtTokenPayload'\nimport { parseJwtTokenPayload } from '@features/auth/core/utils/jwtTokenPayload'\nimport type { JwtToken } from '@features/publicApi/types/userTokenTypes'\n\ntype NewJwtIssuedEventDetail = {\n\ttoken: JwtToken\n\tpayload: JwtTokenPayload | undefined\n}\n\n/**\n * This event is emitted when a new JWT token is issued or refreshed.\n */\nexport class NewJwtIssuedEvent extends CustomEvent<NewJwtIssuedEventDetail> {\n\tstatic readonly eventName = 'new-jwt-issued' as const\n\n\tconstructor(token: JwtToken) {\n\t\tsuper(NewJwtIssuedEvent.eventName, {\n\t\t\tdetail: { token, payload: parseJwtTokenPayload(token.accessToken) },\n\t\t})\n\t}\n}\n\nexport const isNewJwtIssuedEvent = (event: Event): event is NewJwtIssuedEvent =>\n\tevent.type === NewJwtIssuedEvent.eventName\n\ndeclare global {\n\tinterface WindowEventMap {\n\t\t[NewJwtIssuedEvent.eventName]: NewJwtIssuedEvent\n\t}\n}\n"],"names":["parseJwtTokenPayload"],"mappings":";;;;;;AAYO,MAAM,qBAAN,MAAM,2BAA0B,YAAqC;AAAA,EAG3E,YAAY,OAAiB;AAC5B,UAAM,mBAAkB,WAAW;AAAA,MAClC,QAAQ,EAAE,OAAO,SAASA,gBAAAA,qBAAqB,MAAM,WAAW,EAAE;AAAA,IAAA,CAClE;AAAA,EAAA;AAEH;AAPC,cADY,oBACI,aAAY;AADtB,IAAM,oBAAN;;"}
|
package/dist/harmony103.mjs
CHANGED
@@ -1,19 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
};
|
15
|
-
}
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
4
|
+
import { parseJwtTokenPayload } from "./harmony15.mjs";
|
5
|
+
const _NewJwtIssuedEvent = class _NewJwtIssuedEvent extends CustomEvent {
|
6
|
+
constructor(token) {
|
7
|
+
super(_NewJwtIssuedEvent.eventName, {
|
8
|
+
detail: { token, payload: parseJwtTokenPayload(token.accessToken) }
|
9
|
+
});
|
10
|
+
}
|
11
|
+
};
|
12
|
+
__publicField(_NewJwtIssuedEvent, "eventName", "new-jwt-issued");
|
13
|
+
let NewJwtIssuedEvent = _NewJwtIssuedEvent;
|
16
14
|
export {
|
17
|
-
|
15
|
+
NewJwtIssuedEvent
|
18
16
|
};
|
19
17
|
//# sourceMappingURL=harmony103.mjs.map
|
package/dist/harmony103.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony103.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony103.mjs","sources":["../src/features/auth/frontend/events/NewJwtIssuedEvent.ts"],"sourcesContent":["import type { JwtTokenPayload } from '@features/auth/core/types/jwtTokenPayload'\nimport { parseJwtTokenPayload } from '@features/auth/core/utils/jwtTokenPayload'\nimport type { JwtToken } from '@features/publicApi/types/userTokenTypes'\n\ntype NewJwtIssuedEventDetail = {\n\ttoken: JwtToken\n\tpayload: JwtTokenPayload | undefined\n}\n\n/**\n * This event is emitted when a new JWT token is issued or refreshed.\n */\nexport class NewJwtIssuedEvent extends CustomEvent<NewJwtIssuedEventDetail> {\n\tstatic readonly eventName = 'new-jwt-issued' as const\n\n\tconstructor(token: JwtToken) {\n\t\tsuper(NewJwtIssuedEvent.eventName, {\n\t\t\tdetail: { token, payload: parseJwtTokenPayload(token.accessToken) },\n\t\t})\n\t}\n}\n\nexport const isNewJwtIssuedEvent = (event: Event): event is NewJwtIssuedEvent =>\n\tevent.type === NewJwtIssuedEvent.eventName\n\ndeclare global {\n\tinterface WindowEventMap {\n\t\t[NewJwtIssuedEvent.eventName]: NewJwtIssuedEvent\n\t}\n}\n"],"names":[],"mappings":";;;;AAYO,MAAM,qBAAN,MAAM,2BAA0B,YAAqC;AAAA,EAG3E,YAAY,OAAiB;AAC5B,UAAM,mBAAkB,WAAW;AAAA,MAClC,QAAQ,EAAE,OAAO,SAAS,qBAAqB,MAAM,WAAW,EAAE;AAAA,IAAA,CAClE;AAAA,EAAA;AAEH;AAPC,cADY,oBACI,aAAY;AADtB,IAAM,oBAAN;"}
|
package/dist/harmony104.cjs
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
function buildGetRoute(params) {
|
4
|
+
return {
|
5
|
+
isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,
|
6
|
+
isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,
|
7
|
+
method: "get",
|
8
|
+
pathResolver: params.pathResolver,
|
9
|
+
requestHeaderSchema: params.requestHeaderSchema,
|
10
|
+
requestPathParamsSchema: params.requestPathParamsSchema,
|
11
|
+
requestQuerySchema: params.requestQuerySchema,
|
12
|
+
successResponseBodySchema: params.successResponseBodySchema,
|
13
|
+
description: params.description,
|
14
|
+
responseSchemasByStatusCode: params.responseSchemasByStatusCode,
|
15
|
+
metadata: params.metadata
|
16
|
+
};
|
17
|
+
}
|
18
|
+
exports.buildGetRoute = buildGetRoute;
|
9
19
|
//# sourceMappingURL=harmony104.cjs.map
|
package/dist/harmony104.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony104.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony104.cjs","sources":["../node_modules/@lokalise/universal-ts-utils/dist/public/api-contracts/apiContracts.js"],"sourcesContent":["const EMPTY_PARAMS = {};\nexport function buildPayloadRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: params.method,\n pathResolver: params.pathResolver,\n requestBodySchema: params.requestBodySchema,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\nexport function buildGetRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: 'get',\n pathResolver: params.pathResolver,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\nexport function buildDeleteRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? true,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: 'delete',\n pathResolver: params.pathResolver,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\n/**\n * This method maps given route definition to a string of the format '/static-path-part/:path-param-value'\n */\nexport function mapRouteToPath(\n// biome-ignore lint/suspicious/noExplicitAny: We don't care about types here, we just need Zod schema\nrouteDefinition) {\n if (!routeDefinition.requestPathParamsSchema) {\n return routeDefinition.pathResolver(EMPTY_PARAMS);\n }\n const shape = routeDefinition.requestPathParamsSchema.shape;\n const resolverParams = {};\n for (const key of Object.keys(shape)) {\n resolverParams[key] = `:${key}`;\n }\n return routeDefinition.pathResolver(resolverParams);\n}\n//# sourceMappingURL=apiContracts.js.map"],"names":[],"mappings":";;AAiBO,SAAS,cAAc,QAAQ;AAClC,SAAO;AAAA,IACH,yBAAyB,OAAO,2BAA2B;AAAA,IAC3D,2BAA2B,OAAO,6BAA6B;AAAA,IAC/D,QAAQ;AAAA,IACR,cAAc,OAAO;AAAA,IACrB,qBAAqB,OAAO;AAAA,IAC5B,yBAAyB,OAAO;AAAA,IAChC,oBAAoB,OAAO;AAAA,IAC3B,2BAA2B,OAAO;AAAA,IAClC,aAAa,OAAO;AAAA,IACpB,6BAA6B,OAAO;AAAA,IACpC,UAAU,OAAO;AAAA,EACpB;AACL;;","x_google_ignoreList":[0]}
|
package/dist/harmony104.mjs
CHANGED
@@ -1,9 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
function buildGetRoute(params) {
|
2
|
+
return {
|
3
|
+
isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,
|
4
|
+
isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,
|
5
|
+
method: "get",
|
6
|
+
pathResolver: params.pathResolver,
|
7
|
+
requestHeaderSchema: params.requestHeaderSchema,
|
8
|
+
requestPathParamsSchema: params.requestPathParamsSchema,
|
9
|
+
requestQuerySchema: params.requestQuerySchema,
|
10
|
+
successResponseBodySchema: params.successResponseBodySchema,
|
11
|
+
description: params.description,
|
12
|
+
responseSchemasByStatusCode: params.responseSchemasByStatusCode,
|
13
|
+
metadata: params.metadata
|
14
|
+
};
|
15
|
+
}
|
5
16
|
export {
|
6
|
-
|
7
|
-
iconContainer
|
17
|
+
buildGetRoute
|
8
18
|
};
|
9
19
|
//# sourceMappingURL=harmony104.mjs.map
|
package/dist/harmony104.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony104.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony104.mjs","sources":["../node_modules/@lokalise/universal-ts-utils/dist/public/api-contracts/apiContracts.js"],"sourcesContent":["const EMPTY_PARAMS = {};\nexport function buildPayloadRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: params.method,\n pathResolver: params.pathResolver,\n requestBodySchema: params.requestBodySchema,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\nexport function buildGetRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? false,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: 'get',\n pathResolver: params.pathResolver,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\nexport function buildDeleteRoute(params) {\n return {\n isEmptyResponseExpected: params.isEmptyResponseExpected ?? true,\n isNonJSONResponseExpected: params.isNonJSONResponseExpected ?? false,\n method: 'delete',\n pathResolver: params.pathResolver,\n requestHeaderSchema: params.requestHeaderSchema,\n requestPathParamsSchema: params.requestPathParamsSchema,\n requestQuerySchema: params.requestQuerySchema,\n successResponseBodySchema: params.successResponseBodySchema,\n description: params.description,\n responseSchemasByStatusCode: params.responseSchemasByStatusCode,\n metadata: params.metadata,\n };\n}\n/**\n * This method maps given route definition to a string of the format '/static-path-part/:path-param-value'\n */\nexport function mapRouteToPath(\n// biome-ignore lint/suspicious/noExplicitAny: We don't care about types here, we just need Zod schema\nrouteDefinition) {\n if (!routeDefinition.requestPathParamsSchema) {\n return routeDefinition.pathResolver(EMPTY_PARAMS);\n }\n const shape = routeDefinition.requestPathParamsSchema.shape;\n const resolverParams = {};\n for (const key of Object.keys(shape)) {\n resolverParams[key] = `:${key}`;\n }\n return routeDefinition.pathResolver(resolverParams);\n}\n//# sourceMappingURL=apiContracts.js.map"],"names":[],"mappings":"AAiBO,SAAS,cAAc,QAAQ;AAClC,SAAO;AAAA,IACH,yBAAyB,OAAO,2BAA2B;AAAA,IAC3D,2BAA2B,OAAO,6BAA6B;AAAA,IAC/D,QAAQ;AAAA,IACR,cAAc,OAAO;AAAA,IACrB,qBAAqB,OAAO;AAAA,IAC5B,yBAAyB,OAAO;AAAA,IAChC,oBAAoB,OAAO;AAAA,IAC3B,2BAA2B,OAAO;AAAA,IAClC,aAAa,OAAO;AAAA,IACpB,6BAA6B,OAAO;AAAA,IACpC,UAAU,OAAO;AAAA,EACpB;AACL;","x_google_ignoreList":[0]}
|
package/dist/harmony105.cjs
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
exports.default =
|
3
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
4
|
+
const styles = {
|
5
|
+
iconContainer
|
6
|
+
};
|
7
|
+
exports.default = styles;
|
8
|
+
exports.iconContainer = iconContainer;
|
8
9
|
//# sourceMappingURL=harmony105.cjs.map
|
package/dist/harmony105.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony105.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony105.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony105.mjs
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
2
|
+
const styles = {
|
3
|
+
iconContainer
|
4
|
+
};
|
5
5
|
export {
|
6
|
-
|
6
|
+
styles as default,
|
7
|
+
iconContainer
|
7
8
|
};
|
8
9
|
//# sourceMappingURL=harmony105.mjs.map
|
package/dist/harmony106.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const _commonjsHelpers = require("./
|
4
|
-
const
|
5
|
-
var
|
6
|
-
const
|
7
|
-
exports.default =
|
3
|
+
const _commonjsHelpers = require("./harmony129.cjs");
|
4
|
+
const debounce$1 = require("./harmony111.cjs");
|
5
|
+
var debounceExports = debounce$1.__require();
|
6
|
+
const debounce = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(debounceExports);
|
7
|
+
exports.default = debounce;
|
8
8
|
//# sourceMappingURL=harmony106.cjs.map
|
package/dist/harmony106.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { getDefaultExportFromCjs } from "./
|
2
|
-
import { __require as
|
3
|
-
var
|
4
|
-
const
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony129.mjs";
|
2
|
+
import { __require as requireDebounce } from "./harmony111.mjs";
|
3
|
+
var debounceExports = requireDebounce();
|
4
|
+
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
5
5
|
export {
|
6
|
-
|
6
|
+
debounce as default
|
7
7
|
};
|
8
8
|
//# sourceMappingURL=harmony106.mjs.map
|
package/dist/harmony107.cjs
CHANGED
@@ -1,65 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
function evaluate(value, param) {
|
9
|
-
return typeof value === "function" ? value(param) : value;
|
10
|
-
}
|
11
|
-
function getSide(placement) {
|
12
|
-
return placement.split("-")[0];
|
13
|
-
}
|
14
|
-
function getOppositeAxis(axis) {
|
15
|
-
return axis === "x" ? "y" : "x";
|
16
|
-
}
|
17
|
-
function getSideAxis(placement) {
|
18
|
-
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
19
|
-
}
|
20
|
-
function expandPaddingObject(padding) {
|
21
|
-
return {
|
22
|
-
top: 0,
|
23
|
-
right: 0,
|
24
|
-
bottom: 0,
|
25
|
-
left: 0,
|
26
|
-
...padding
|
27
|
-
};
|
28
|
-
}
|
29
|
-
function getPaddingObject(padding) {
|
30
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
31
|
-
top: padding,
|
32
|
-
right: padding,
|
33
|
-
bottom: padding,
|
34
|
-
left: padding
|
35
|
-
};
|
36
|
-
}
|
37
|
-
function rectToClientRect(rect) {
|
38
|
-
const {
|
39
|
-
x,
|
40
|
-
y,
|
41
|
-
width,
|
42
|
-
height
|
43
|
-
} = rect;
|
44
|
-
return {
|
45
|
-
width,
|
46
|
-
height,
|
47
|
-
top: y,
|
48
|
-
left: x,
|
49
|
-
right: x + width,
|
50
|
-
bottom: y + height,
|
51
|
-
x,
|
52
|
-
y
|
53
|
-
};
|
54
|
-
}
|
55
|
-
exports.clamp = clamp;
|
56
|
-
exports.evaluate = evaluate;
|
57
|
-
exports.expandPaddingObject = expandPaddingObject;
|
58
|
-
exports.getOppositeAxis = getOppositeAxis;
|
59
|
-
exports.getPaddingObject = getPaddingObject;
|
60
|
-
exports.getSide = getSide;
|
61
|
-
exports.getSideAxis = getSideAxis;
|
62
|
-
exports.max = max;
|
63
|
-
exports.min = min;
|
64
|
-
exports.rectToClientRect = rectToClientRect;
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const _commonjsHelpers = require("./harmony129.cjs");
|
4
|
+
const throttle$1 = require("./harmony115.cjs");
|
5
|
+
var throttleExports = throttle$1.__require();
|
6
|
+
const throttle = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(throttleExports);
|
7
|
+
exports.default = throttle;
|
65
8
|
//# sourceMappingURL=harmony107.cjs.map
|
package/dist/harmony107.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony107.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony107.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/harmony107.mjs
CHANGED
@@ -1,65 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
function evaluate(value, param) {
|
7
|
-
return typeof value === "function" ? value(param) : value;
|
8
|
-
}
|
9
|
-
function getSide(placement) {
|
10
|
-
return placement.split("-")[0];
|
11
|
-
}
|
12
|
-
function getOppositeAxis(axis) {
|
13
|
-
return axis === "x" ? "y" : "x";
|
14
|
-
}
|
15
|
-
function getSideAxis(placement) {
|
16
|
-
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
17
|
-
}
|
18
|
-
function expandPaddingObject(padding) {
|
19
|
-
return {
|
20
|
-
top: 0,
|
21
|
-
right: 0,
|
22
|
-
bottom: 0,
|
23
|
-
left: 0,
|
24
|
-
...padding
|
25
|
-
};
|
26
|
-
}
|
27
|
-
function getPaddingObject(padding) {
|
28
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
29
|
-
top: padding,
|
30
|
-
right: padding,
|
31
|
-
bottom: padding,
|
32
|
-
left: padding
|
33
|
-
};
|
34
|
-
}
|
35
|
-
function rectToClientRect(rect) {
|
36
|
-
const {
|
37
|
-
x,
|
38
|
-
y,
|
39
|
-
width,
|
40
|
-
height
|
41
|
-
} = rect;
|
42
|
-
return {
|
43
|
-
width,
|
44
|
-
height,
|
45
|
-
top: y,
|
46
|
-
left: x,
|
47
|
-
right: x + width,
|
48
|
-
bottom: y + height,
|
49
|
-
x,
|
50
|
-
y
|
51
|
-
};
|
52
|
-
}
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony129.mjs";
|
2
|
+
import { __require as requireThrottle } from "./harmony115.mjs";
|
3
|
+
var throttleExports = requireThrottle();
|
4
|
+
const throttle = /* @__PURE__ */ getDefaultExportFromCjs(throttleExports);
|
53
5
|
export {
|
54
|
-
|
55
|
-
evaluate,
|
56
|
-
expandPaddingObject,
|
57
|
-
getOppositeAxis,
|
58
|
-
getPaddingObject,
|
59
|
-
getSide,
|
60
|
-
getSideAxis,
|
61
|
-
max,
|
62
|
-
min,
|
63
|
-
rectToClientRect
|
6
|
+
throttle as default
|
64
7
|
};
|
65
8
|
//# sourceMappingURL=harmony107.mjs.map
|
package/dist/harmony107.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony107.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony107.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony108.cjs
CHANGED
@@ -1,91 +1,65 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
3
|
+
const min = Math.min;
|
4
|
+
const max = Math.max;
|
5
|
+
function clamp(start, value, end) {
|
6
|
+
return max(start, min(value, end));
|
7
|
+
}
|
8
|
+
function evaluate(value, param) {
|
9
|
+
return typeof value === "function" ? value(param) : value;
|
10
|
+
}
|
11
|
+
function getSide(placement) {
|
12
|
+
return placement.split("-")[0];
|
13
|
+
}
|
14
|
+
function getOppositeAxis(axis) {
|
15
|
+
return axis === "x" ? "y" : "x";
|
16
|
+
}
|
17
|
+
function getSideAxis(placement) {
|
18
|
+
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
19
|
+
}
|
20
|
+
function expandPaddingObject(padding) {
|
21
|
+
return {
|
22
|
+
top: 0,
|
23
|
+
right: 0,
|
24
|
+
bottom: 0,
|
25
|
+
left: 0,
|
26
|
+
...padding
|
23
27
|
};
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
taskTitleOnClick == null ? void 0 : taskTitleOnClick({ task });
|
62
|
-
},
|
63
|
-
children: task.title
|
64
|
-
}
|
65
|
-
) }),
|
66
|
-
task.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TaskOverview_module.default.taskDescription, children: text.convertNewLineToBreakTag(url.makeUrlClickable(task.description)) }),
|
67
|
-
/* @__PURE__ */ jsxRuntime.jsxs("table", { className: TaskOverview_module.default.languagesTable, children: [
|
68
|
-
/* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
69
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { children: "Languages" }),
|
70
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { children: "Words to do" }),
|
71
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { children: "Progress" }),
|
72
|
-
/* @__PURE__ */ jsxRuntime.jsx("th", { children: "Status" })
|
73
|
-
] }) }),
|
74
|
-
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: taskLanguages.map((language) => /* @__PURE__ */ jsxRuntime.jsx(TaskLanguage.TaskLanguage, { language, task }, language.lang_id)) })
|
75
|
-
] }),
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "sidebar-task-overview-metadata", className: TaskOverview_module.default.metadata, children: [
|
77
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
78
|
-
"Source: ",
|
79
|
-
task.source_lang_name
|
80
|
-
] }),
|
81
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: task.created_by_fullname }),
|
82
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
83
|
-
"In ",
|
84
|
-
task.project_name,
|
85
|
-
task.master_branching_enabled === "1" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TaskOverview_module.default.tag, children: task.branch_name ? task.branch_name : "master" })
|
86
|
-
] })
|
87
|
-
] })
|
88
|
-
] });
|
89
|
-
};
|
90
|
-
exports.TaskOverview = TaskOverview;
|
28
|
+
}
|
29
|
+
function getPaddingObject(padding) {
|
30
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
31
|
+
top: padding,
|
32
|
+
right: padding,
|
33
|
+
bottom: padding,
|
34
|
+
left: padding
|
35
|
+
};
|
36
|
+
}
|
37
|
+
function rectToClientRect(rect) {
|
38
|
+
const {
|
39
|
+
x,
|
40
|
+
y,
|
41
|
+
width,
|
42
|
+
height
|
43
|
+
} = rect;
|
44
|
+
return {
|
45
|
+
width,
|
46
|
+
height,
|
47
|
+
top: y,
|
48
|
+
left: x,
|
49
|
+
right: x + width,
|
50
|
+
bottom: y + height,
|
51
|
+
x,
|
52
|
+
y
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.clamp = clamp;
|
56
|
+
exports.evaluate = evaluate;
|
57
|
+
exports.expandPaddingObject = expandPaddingObject;
|
58
|
+
exports.getOppositeAxis = getOppositeAxis;
|
59
|
+
exports.getPaddingObject = getPaddingObject;
|
60
|
+
exports.getSide = getSide;
|
61
|
+
exports.getSideAxis = getSideAxis;
|
62
|
+
exports.max = max;
|
63
|
+
exports.min = min;
|
64
|
+
exports.rectToClientRect = rectToClientRect;
|
91
65
|
//# sourceMappingURL=harmony108.cjs.map
|