@lokalise/harmony 1.32.2 → 1.32.4-exp-expertJWTSidebar.1
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 +48 -46
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +48 -46
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +99 -18
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +82 -18
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +21 -14
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +20 -13
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +6 -21
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +5 -20
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +131 -5
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +131 -5
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +12 -132
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +11 -131
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +6 -13
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +5 -12
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +40 -5
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +40 -5
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +53 -33
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +54 -34
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +6 -59
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +6 -59
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +6 -7
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +5 -6
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +19 -7
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +18 -6
- package/dist/harmony110.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/harmony114.cjs +5 -5
- package/dist/harmony114.mjs +5 -5
- package/dist/harmony118.cjs +1 -1
- package/dist/harmony118.mjs +1 -1
- package/dist/harmony119.cjs +2 -2
- package/dist/harmony119.mjs +2 -2
- package/dist/harmony121.cjs +7 -13
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +7 -13
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +57 -15
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +57 -15
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +59 -15
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +59 -15
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +18 -7
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +17 -6
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +13 -57
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +13 -57
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +14 -59
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +14 -59
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +17 -19
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +16 -18
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +1 -1
- package/dist/harmony128.mjs +1 -1
- package/dist/harmony130.cjs +3 -3
- package/dist/harmony130.mjs +3 -3
- package/dist/harmony132.cjs +46 -6
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +46 -6
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +13 -13
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +12 -12
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +5 -31
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +5 -31
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +11 -13
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +11 -13
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +31 -45
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +31 -45
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +15 -13
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +14 -12
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony20.cjs +12 -12
- package/dist/harmony20.cjs.map +1 -1
- package/dist/harmony20.mjs +12 -12
- package/dist/harmony20.mjs.map +1 -1
- package/dist/harmony21.cjs +13 -16
- package/dist/harmony21.cjs.map +1 -1
- package/dist/harmony21.mjs +13 -16
- package/dist/harmony21.mjs.map +1 -1
- package/dist/harmony22.cjs +8 -9
- package/dist/harmony22.cjs.map +1 -1
- package/dist/harmony22.mjs +8 -9
- package/dist/harmony22.mjs.map +1 -1
- package/dist/harmony23.cjs +16 -18
- package/dist/harmony23.cjs.map +1 -1
- package/dist/harmony23.mjs +16 -18
- package/dist/harmony23.mjs.map +1 -1
- package/dist/harmony24.cjs +16 -16
- package/dist/harmony24.cjs.map +1 -1
- package/dist/harmony24.mjs +18 -18
- package/dist/harmony24.mjs.map +1 -1
- package/dist/harmony25.cjs +19 -9
- package/dist/harmony25.cjs.map +1 -1
- package/dist/harmony25.mjs +19 -9
- package/dist/harmony25.mjs.map +1 -1
- package/dist/harmony26.cjs +7 -8
- package/dist/harmony26.cjs.map +1 -1
- package/dist/harmony26.mjs +7 -8
- package/dist/harmony26.mjs.map +1 -1
- package/dist/harmony27.cjs +11 -27
- package/dist/harmony27.cjs.map +1 -1
- package/dist/harmony27.mjs +11 -27
- package/dist/harmony27.mjs.map +1 -1
- package/dist/harmony28.cjs +22 -26
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +23 -27
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +28 -8
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +29 -9
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +10 -54
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +10 -54
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +50 -25
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +51 -26
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +27 -15
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +28 -16
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +16 -8
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +16 -8
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +8 -12
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +9 -13
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +14 -14
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +14 -14
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +4 -4
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +4 -4
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +6 -6
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +6 -6
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +6 -5
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +6 -5
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +6 -14
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +7 -15
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +15 -7
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +15 -7
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +7 -11
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +9 -13
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +8 -8
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +8 -8
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +14 -12
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +14 -12
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +8 -8
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +9 -9
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +9 -9
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +10 -10
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +12 -14
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +12 -14
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +10 -10
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +10 -10
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +8 -8
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +8 -8
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +7 -7
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +7 -7
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +14 -12
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +14 -12
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +12 -14
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +12 -14
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +8 -8
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +8 -8
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +10 -7
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +12 -9
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +14 -56
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +14 -56
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +48 -74
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +47 -73
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +80 -4
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +80 -4
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +4 -21
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +4 -21
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +20 -17
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +20 -17
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +14 -137
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +12 -135
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +142 -46
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +141 -45
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +46 -25
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +46 -25
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +24 -6
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +24 -6
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +6 -82
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +6 -82
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +80 -20
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +80 -20
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +22 -16
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +22 -16
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +19 -16
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +18 -15
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +15 -18
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +15 -18
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +18 -61
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +18 -61
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +61 -6
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +61 -6
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony70.cjs +7 -10
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +6 -9
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +8 -17
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +7 -16
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +13 -18
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +13 -18
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +22 -4
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +22 -4
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +4 -31
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +5 -32
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +26 -26
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +27 -27
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +25 -12
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +25 -12
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +12 -24
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +13 -25
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +27 -55
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +29 -57
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +60 -10
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +59 -9
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +10 -9
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +9 -8
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +5 -26
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +8 -29
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +29 -3
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +29 -3
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +3 -40
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +3 -40
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +40 -6
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +39 -5
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +3 -6
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +3 -6
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +6 -6
- package/dist/harmony86.mjs +6 -6
- package/dist/harmony87.cjs +9 -57
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +8 -56
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +51 -36
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +52 -37
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +42 -5
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +42 -5
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +6 -10
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +5 -9
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +6 -21
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +6 -21
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +21 -3
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +21 -3
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +6 -21
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +5 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +21 -12
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +20 -11
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +13 -12
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +12 -11
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +12 -22
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +11 -21
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +21 -12
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +20 -11
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +12 -12
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +11 -11
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +12 -99
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +11 -81
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/auth/node.d.ts +1 -0
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +65 -0
- package/package.json +1 -1
package/dist/harmony.cjs
CHANGED
@@ -18,52 +18,53 @@ const jwtTokenPayload = require("./harmony16.cjs");
|
|
18
18
|
const cookieTokenUtils = require("./harmony17.cjs");
|
19
19
|
const createHeaderBuilderMiddleware = require("./harmony18.cjs");
|
20
20
|
const headerBuilder = require("./harmony19.cjs");
|
21
|
-
const
|
22
|
-
const
|
23
|
-
const
|
24
|
-
const
|
25
|
-
const
|
26
|
-
const
|
27
|
-
const
|
28
|
-
const
|
29
|
-
const
|
30
|
-
const
|
31
|
-
const
|
32
|
-
const
|
33
|
-
const
|
34
|
-
const
|
35
|
-
const
|
36
|
-
const
|
37
|
-
const
|
38
|
-
const
|
39
|
-
const
|
40
|
-
const
|
41
|
-
const
|
42
|
-
const
|
43
|
-
const
|
44
|
-
const
|
45
|
-
const
|
46
|
-
const
|
47
|
-
const
|
48
|
-
const
|
49
|
-
const
|
50
|
-
const
|
51
|
-
const
|
52
|
-
const
|
53
|
-
const
|
54
|
-
const
|
55
|
-
const
|
56
|
-
const
|
57
|
-
const
|
58
|
-
const
|
59
|
-
const
|
60
|
-
const
|
61
|
-
const
|
62
|
-
const
|
63
|
-
const
|
64
|
-
const
|
65
|
-
const
|
66
|
-
const
|
21
|
+
const NewJwtIssuedEvent = require("./harmony20.cjs");
|
22
|
+
const getAuthenticatedSessionDetailFromRequest = require("./harmony21.cjs");
|
23
|
+
const generateTokenFromClassicSession = require("./harmony22.cjs");
|
24
|
+
const refreshExpiredToken = require("./harmony23.cjs");
|
25
|
+
const useGetPromotedClassicSessionJwtQuery = require("./harmony24.cjs");
|
26
|
+
const useAuthenticatedSessionPayload = require("./harmony25.cjs");
|
27
|
+
const useAuthenticatedUser = require("./harmony26.cjs");
|
28
|
+
const useAuthenticatedProjectContributor = require("./harmony27.cjs");
|
29
|
+
const contributors = require("./harmony28.cjs");
|
30
|
+
const languages = require("./harmony29.cjs");
|
31
|
+
const permissionTemplates = require("./harmony30.cjs");
|
32
|
+
const projects = require("./harmony31.cjs");
|
33
|
+
const score = require("./harmony32.cjs");
|
34
|
+
const team = require("./harmony33.cjs");
|
35
|
+
const teamUsers = require("./harmony34.cjs");
|
36
|
+
const userToken = require("./harmony35.cjs");
|
37
|
+
const useAddLanguagesToProjectMutation = require("./harmony36.cjs");
|
38
|
+
const useBulkUpdateProjectLanguagesMutation = require("./harmony37.cjs");
|
39
|
+
const useCreateScoreMutation = require("./harmony38.cjs");
|
40
|
+
const useCreateProjectMutation = require("./harmony39.cjs");
|
41
|
+
const useDeleteScoreMutation = require("./harmony40.cjs");
|
42
|
+
const useDeleteProjectMutation = require("./harmony41.cjs");
|
43
|
+
const useGetProjectPermissionMetaQuery = require("./harmony42.cjs");
|
44
|
+
const useGetScoreQuery = require("./harmony43.cjs");
|
45
|
+
const useGetTeamUsersQuery = require("./harmony44.cjs");
|
46
|
+
const useGetUserTokenQuery = require("./harmony45.cjs");
|
47
|
+
const useListContributorsQuery = require("./harmony46.cjs");
|
48
|
+
const useListPermissionTemplates = require("./harmony47.cjs");
|
49
|
+
const useListProjectLanguagesQuery = require("./harmony48.cjs");
|
50
|
+
const useListProjectsQuery = require("./harmony49.cjs");
|
51
|
+
const useListTeamsQuery = require("./harmony50.cjs");
|
52
|
+
const useRetrieveContributorQuery = require("./harmony51.cjs");
|
53
|
+
const useRetrieveProjectQuery = require("./harmony52.cjs");
|
54
|
+
const useRetrieveTeamQuery = require("./harmony53.cjs");
|
55
|
+
const useUpdateProjectMutation = require("./harmony54.cjs");
|
56
|
+
const contributorTypes = require("./harmony55.cjs");
|
57
|
+
const languageTypes = require("./harmony56.cjs");
|
58
|
+
const paginationTypes = require("./harmony57.cjs");
|
59
|
+
const permissionTemplateTypes = require("./harmony58.cjs");
|
60
|
+
const permissionTypes = require("./harmony59.cjs");
|
61
|
+
const projectTypes = require("./harmony60.cjs");
|
62
|
+
const scoreTypes = require("./harmony61.cjs");
|
63
|
+
const sharedTypes = require("./harmony62.cjs");
|
64
|
+
const teamRoleTypes = require("./harmony63.cjs");
|
65
|
+
const teamTypes = require("./harmony64.cjs");
|
66
|
+
const teamUserTypes = require("./harmony65.cjs");
|
67
|
+
const userTokenTypes = require("./harmony66.cjs");
|
67
68
|
exports.SidebarTaskLanguageStatuses = types.SidebarTaskLanguageStatuses;
|
68
69
|
exports.SidebarTaskStatuses = types.SidebarTaskStatuses;
|
69
70
|
exports.SidebarTaskTypeOptions = types.SidebarTaskTypeOptions;
|
@@ -100,6 +101,7 @@ exports.getCsrfTokenFromCookie = cookieTokenUtils.getCsrfTokenFromCookie;
|
|
100
101
|
exports.getJwtTokenFromCookie = cookieTokenUtils.getJwtTokenFromCookie;
|
101
102
|
exports.createHeaderBuilderMiddleware = createHeaderBuilderMiddleware.createHeaderBuilderMiddleware;
|
102
103
|
exports.HeaderBuilder = headerBuilder.HeaderBuilder;
|
104
|
+
exports.NewJwtIssuedEvent = NewJwtIssuedEvent.NewJwtIssuedEvent;
|
103
105
|
exports.getAuthenticatedSessionDetailFromRequest = getAuthenticatedSessionDetailFromRequest.getAuthenticatedSessionDetailFromRequest;
|
104
106
|
exports.generateTokenFromClassicSession = generateTokenFromClassicSession.generateTokenFromClassicSession;
|
105
107
|
exports.refreshExpiredToken = refreshExpiredToken.refreshExpiredToken;
|
package/dist/harmony.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony.mjs
CHANGED
@@ -16,52 +16,53 @@ import { parseJwtTokenPayload } from "./harmony16.mjs";
|
|
16
16
|
import { getCsrfTokenFromCookie, getJwtTokenFromCookie } from "./harmony17.mjs";
|
17
17
|
import { createHeaderBuilderMiddleware } from "./harmony18.mjs";
|
18
18
|
import { HeaderBuilder } from "./harmony19.mjs";
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
import {
|
29
|
-
import {
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
import {
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
19
|
+
import { NewJwtIssuedEvent } from "./harmony20.mjs";
|
20
|
+
import { getAuthenticatedSessionDetailFromRequest } from "./harmony21.mjs";
|
21
|
+
import { generateTokenFromClassicSession } from "./harmony22.mjs";
|
22
|
+
import { refreshExpiredToken } from "./harmony23.mjs";
|
23
|
+
import { useGetPromotedClassicSessionJwtQuery } from "./harmony24.mjs";
|
24
|
+
import { useAuthenticatedSessionPayload } from "./harmony25.mjs";
|
25
|
+
import { useAuthenticatedUser } from "./harmony26.mjs";
|
26
|
+
import { useAuthenticatedProjectContributor } from "./harmony27.mjs";
|
27
|
+
import { listContributors, retrieveContributor } from "./harmony28.mjs";
|
28
|
+
import { addLanguagesToProject, bulkUpdateProjectLanguages, listProjectLanguages } from "./harmony29.mjs";
|
29
|
+
import { listPermissionTemplates } from "./harmony30.mjs";
|
30
|
+
import { createProject, deleteProject, getProjectPermissionMeta, listProjects, retrieveProject, updateProject } from "./harmony31.mjs";
|
31
|
+
import { createScore, deleteScore, getScore } from "./harmony32.mjs";
|
32
|
+
import { listTeams, retrieveTeam } from "./harmony33.mjs";
|
33
|
+
import { getTeamUser } from "./harmony34.mjs";
|
34
|
+
import { getUserToken } from "./harmony35.mjs";
|
35
|
+
import { useAddLanguagesToProjectMutation } from "./harmony36.mjs";
|
36
|
+
import { useBulkUpdateProjectLanguagesMutation } from "./harmony37.mjs";
|
37
|
+
import { useCreateScoreMutation } from "./harmony38.mjs";
|
38
|
+
import { useCreateProjectMutation } from "./harmony39.mjs";
|
39
|
+
import { useDeleteScoreMutation } from "./harmony40.mjs";
|
40
|
+
import { useDeleteProjectMutation } from "./harmony41.mjs";
|
41
|
+
import { getProjectPermissionMetaQueryKey, useGetProjectPermissionMetaQuery } from "./harmony42.mjs";
|
42
|
+
import { getScoreKey, useGetScoreQuery } from "./harmony43.mjs";
|
43
|
+
import { getTeamUsersQueryKey, useGetTeamUsersQuery } from "./harmony44.mjs";
|
44
|
+
import { getUserTokenKey, useGetUserTokenQuery } from "./harmony45.mjs";
|
45
|
+
import { listContributorsKeys, useListContributorsQuery } from "./harmony46.mjs";
|
46
|
+
import { listPermissionTemplatesKeys, useListPermissionTemplatesQuery } from "./harmony47.mjs";
|
47
|
+
import { listProjectLanguagesKey, useListProjectLanguagesQuery } from "./harmony48.mjs";
|
48
|
+
import { listProjectsKey, useListProjectsQuery } from "./harmony49.mjs";
|
49
|
+
import { listTeamsKey, useListTeamsQuery } from "./harmony50.mjs";
|
50
|
+
import { retrieveContributorKeys, useRetrieveContributorQuery } from "./harmony51.mjs";
|
51
|
+
import { retrieveProjectQueryKey, useRetrieveProjectQuery } from "./harmony52.mjs";
|
52
|
+
import { retrieveTeamQueryKey, useRetrieveTeamQuery } from "./harmony53.mjs";
|
53
|
+
import { useUpdateProjectMutation } from "./harmony54.mjs";
|
54
|
+
import { CONTRIBUTOR_API_BASE_HEADER_SCHEMA, CONTRIBUTOR_LANGUAGE_SCHEMA, CONTRIBUTOR_SCHEMA, LIST_CONTRIBUTORS_PATH_PARAMS_SCHEMA, LIST_CONTRIBUTORS_RESPONSE_SCHEMA, RETRIEVE_CONTRIBUTOR_PATH_PARAMS_SCHEMA, RETRIEVE_CONTRIBUTOR_RESPONSE_SCHEMA } from "./harmony55.mjs";
|
55
|
+
import { ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA, ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA, LANGUAGE_ISO_SCHEMA, LANGUAGE_SCHEMA, LANGUAGE_STATISTICS_SCHEMA, LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA } from "./harmony56.mjs";
|
56
|
+
import { PAGINATION_QUERY_PARAMS_SCHEMA } from "./harmony57.mjs";
|
57
|
+
import { LIST_PERMISSION_TEMPLATES_PATH_PARAMS, LIST_PERMISSION_TEMPLATES_RESPONSE, PERMISSION_TEMPLATE_SCHEMA } from "./harmony58.mjs";
|
58
|
+
import { PERMISSION_DETAILS_SCHEMA, PERMISSION_ID_SCHEMA, PERMISSION_SCOPE_SCHEMA } from "./harmony59.mjs";
|
59
|
+
import { CREATE_PROJECT_REQUEST_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, PROJECT_API_BASE_HEADERS_SCHEMA, PROJECT_ID_OR_UUID_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, PROJECT_ID_SCHEMA, PROJECT_QA_ISSUES_SCHEMA, PROJECT_SCHEMA, PROJECT_SETTINGS_SCHEMA, PROJECT_STATISTICS_SCHEMA, PROJECT_TYPE_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA } from "./harmony60.mjs";
|
60
|
+
import { CREATE_SCORE_PATH_PARAMS_SCHEMA, CREATE_SCORE_REQUEST_BODY_SCHEMA, CREATE_SCORE_RESPONSE_SCHEMA, DELETE_SCORE_PATH_PARAMS_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA, GET_SCORE_RESPONSE_SCHEMA, ISSUE_SCHEMA, SEVERITY_ENUM } from "./harmony61.mjs";
|
61
|
+
import { API_PLUGIN_HEADER_SCHEMA, APU_TOKEN_AUTH_HEADER_SCHEMA, AUTHENTICATION_HEADERS_SCHEMA, AUTHORIZATION_HEADER_SCHEMA, BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony62.mjs";
|
62
|
+
import { TEAM_ROLE_SCHEMA } from "./harmony63.mjs";
|
63
|
+
import { LIST_TEAMS_QUERY_SCHEMA, LIST_TEAMS_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, TEAMS_QUOTA_ALLOWED_SCHEMA, TEAMS_QUOTA_METRICS, TEAMS_QUOTA_METRICS_SCHEMA, TEAMS_QUOTA_USAGE_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, TEAM_QUOTA_ALLOWED_SCHEMA, TEAM_QUOTA_METRICS_SCHEMA, TEAM_QUOTA_USAGE_SCHEMA } from "./harmony64.mjs";
|
64
|
+
import { TEAM_USER_API_BASE_HEADERS_SCHEMA, TEAM_USER_PATH_PARAMS_SCHEMA, TEAM_USER_RESPONSE_SCHEMA, TEAM_USER_SCHEMA } from "./harmony65.mjs";
|
65
|
+
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./harmony66.mjs";
|
65
66
|
export {
|
66
67
|
ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA,
|
67
68
|
ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA,
|
@@ -111,6 +112,7 @@ export {
|
|
111
112
|
LIST_TEAMS_RESPONSE_SCHEMA,
|
112
113
|
NavigationPanel,
|
113
114
|
NavigationTabs,
|
115
|
+
NewJwtIssuedEvent,
|
114
116
|
PAGINATION_QUERY_PARAMS_SCHEMA,
|
115
117
|
PERMISSION_DETAILS_SCHEMA,
|
116
118
|
PERMISSION_ID_SCHEMA,
|
package/dist/harmony.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony100.cjs
CHANGED
@@ -1,21 +1,102 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
3
|
+
const React = require("react");
|
4
|
+
const debounce = require("./harmony111.cjs");
|
5
|
+
const throttle = require("./harmony112.cjs");
|
6
|
+
function _interopNamespaceDefault(e) {
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
8
|
+
if (e) {
|
9
|
+
for (const k in e) {
|
10
|
+
if (k !== "default") {
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
13
|
+
enumerable: true,
|
14
|
+
get: () => e[k]
|
15
|
+
});
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
n.default = e;
|
20
|
+
return Object.freeze(n);
|
21
|
+
}
|
22
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
23
|
+
const patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {
|
24
|
+
switch (refreshMode) {
|
25
|
+
case "debounce":
|
26
|
+
return debounce.default(resizeCallback, refreshRate, refreshOptions);
|
27
|
+
case "throttle":
|
28
|
+
return throttle.default(resizeCallback, refreshRate, refreshOptions);
|
29
|
+
default:
|
30
|
+
return resizeCallback;
|
31
|
+
}
|
32
|
+
};
|
33
|
+
const useCallbackRef = (
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
35
|
+
(callback) => {
|
36
|
+
const callbackRef = React__namespace.useRef(callback);
|
37
|
+
React__namespace.useEffect(() => {
|
38
|
+
callbackRef.current = callback;
|
39
|
+
});
|
40
|
+
return React__namespace.useMemo(() => (...args) => {
|
41
|
+
var _a;
|
42
|
+
return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args);
|
43
|
+
}, []);
|
44
|
+
}
|
45
|
+
);
|
46
|
+
const useRefProxy = (
|
47
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
48
|
+
(targetRef) => {
|
49
|
+
const [refElement, setRefElement] = React__namespace.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);
|
50
|
+
if (targetRef) {
|
51
|
+
setTimeout(() => {
|
52
|
+
if (targetRef.current !== refElement) {
|
53
|
+
setRefElement(targetRef.current);
|
54
|
+
}
|
55
|
+
}, 0);
|
56
|
+
}
|
57
|
+
const refProxy = React__namespace.useMemo(() => new Proxy((node) => {
|
58
|
+
if (node !== refElement) {
|
59
|
+
setRefElement(node);
|
60
|
+
}
|
61
|
+
}, {
|
62
|
+
get(target, prop) {
|
63
|
+
if (prop === "current") {
|
64
|
+
return refElement;
|
65
|
+
}
|
66
|
+
return target[prop];
|
67
|
+
},
|
68
|
+
set(target, prop, value) {
|
69
|
+
if (prop === "current") {
|
70
|
+
setRefElement(value);
|
71
|
+
} else {
|
72
|
+
target[prop] = value;
|
73
|
+
}
|
74
|
+
return true;
|
75
|
+
}
|
76
|
+
}), [refElement]);
|
77
|
+
return { refProxy, refElement, setRefElement };
|
78
|
+
}
|
79
|
+
);
|
80
|
+
const getDimensions = (entry, box) => {
|
81
|
+
if (box === "border-box") {
|
82
|
+
return {
|
83
|
+
width: entry.borderBoxSize[0].inlineSize,
|
84
|
+
height: entry.borderBoxSize[0].blockSize
|
85
|
+
};
|
86
|
+
}
|
87
|
+
if (box === "content-box") {
|
88
|
+
return {
|
89
|
+
width: entry.contentBoxSize[0].inlineSize,
|
90
|
+
height: entry.contentBoxSize[0].blockSize
|
91
|
+
};
|
92
|
+
}
|
93
|
+
return {
|
94
|
+
width: entry.contentRect.width,
|
95
|
+
height: entry.contentRect.height
|
96
|
+
};
|
97
|
+
};
|
98
|
+
exports.getDimensions = getDimensions;
|
99
|
+
exports.patchResizeCallback = patchResizeCallback;
|
100
|
+
exports.useCallbackRef = useCallbackRef;
|
101
|
+
exports.useRefProxy = useRefProxy;
|
21
102
|
//# sourceMappingURL=harmony100.cjs.map
|
package/dist/harmony100.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony100.cjs","sources":["../node_modules/react-resize-detector/build/utils.js"],"sourcesContent":["import * as React from 'react';\nimport debounce from 'lodash/debounce.js';\nimport throttle from 'lodash/throttle.js';\n\n/**\n * Wraps the resize callback with a lodash debounce / throttle based on the refresh mode\n */\nconst patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {\n switch (refreshMode) {\n case 'debounce':\n return debounce(resizeCallback, refreshRate, refreshOptions);\n case 'throttle':\n return throttle(resizeCallback, refreshRate, refreshOptions);\n default:\n return resizeCallback;\n }\n};\n/**\n * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop or avoid re-executing effects when passed as a dependency\n */\nconst useCallbackRef = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(callback) => {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => { var _a; return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args); }), []);\n};\n/** `useRef` hook doesn't handle conditional rendering or dynamic ref changes.\n * This hook creates a proxy that ensures that `refElement` is updated whenever the ref is changed. */\nconst useRefProxy = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(targetRef) => {\n // we are going to use this ref to store the last element that was passed to the hook\n const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);\n // if targetRef is passed, we need to update the refElement\n // we have to use setTimeout because ref get assigned after the hook is called\n // in the future releases we are going to remove targetRef and force users to use ref returned by the hook\n if (targetRef) {\n setTimeout(() => {\n if (targetRef.current !== refElement) {\n setRefElement(targetRef.current);\n }\n }, 0);\n }\n // this is a memo that will be called every time the ref is changed\n // This proxy will properly call setState either when the ref is called as a function or when `.current` is set\n // we call setState inside to trigger rerender\n const refProxy = React.useMemo(() => new Proxy((node) => {\n if (node !== refElement) {\n setRefElement(node);\n }\n }, {\n get(target, prop) {\n if (prop === 'current') {\n return refElement;\n }\n return target[prop];\n },\n set(target, prop, value) {\n if (prop === 'current') {\n setRefElement(value);\n }\n else {\n target[prop] = value;\n }\n return true;\n },\n }), [refElement]);\n return { refProxy, refElement, setRefElement };\n};\n/** Calculates the dimensions of the element based on the current box model.\n * @see https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model\n */\nconst getDimensions = (entry, box) => {\n // Value\t Border\t Padding\t Inner Content\n // ---------------------------------------------------\n // 'border-box'\t Yes\t Yes\t Yes\n // 'content-box'\t No\t No\t Yes\n // undefined No\t No?\t Yes\n if (box === 'border-box') {\n return {\n width: entry.borderBoxSize[0].inlineSize,\n height: entry.borderBoxSize[0].blockSize,\n };\n }\n if (box === 'content-box') {\n return {\n width: entry.contentBoxSize[0].inlineSize,\n height: entry.contentBoxSize[0].blockSize,\n };\n }\n return {\n width: entry.contentRect.width,\n height: entry.contentRect.height,\n };\n};\n\nexport { getDimensions, patchResizeCallback, useCallbackRef, useRefProxy };\n//# sourceMappingURL=utils.js.map\n"],"names":["debounce","throttle","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOK,MAAC,sBAAsB,CAAC,gBAAgB,aAAa,aAAa,mBAAmB;AACtF,UAAQ,aAAW;AAAA,IACf,KAAK;AACD,aAAOA,iBAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D,KAAK;AACD,aAAOC,iBAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D;AACI,aAAO;AAAA,EACnB;AACA;AAKK,MAAC;AAAA;AAAA,EAEN,CAAC,aAAa;AACV,UAAM,cAAcC,iBAAM,OAAO,QAAQ;AACzCA,qBAAM,UAAU,MAAM;AAClB,kBAAY,UAAU;AAAA,IAC9B,CAAK;AACD,WAAOA,iBAAM,QAAQ,MAAO,IAAI,SAAS;AAAE,UAAI;AAAI,cAAQ,KAAK,YAAY,aAAa,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,aAAa,GAAG,IAAI;AAAA,IAAI,GAAG,CAAA,CAAE;AAAA,EACnK;AAAA;AAGK,MAAC;AAAA;AAAA,EAEN,CAAC,cAAc;AAEX,UAAM,CAAC,YAAY,aAAa,IAAIA,iBAAM,UAAU,cAAc,QAAQ,cAAc,SAAS,SAAS,UAAU,YAAY,IAAI;AAIpI,QAAI,WAAW;AACX,iBAAW,MAAM;AACb,YAAI,UAAU,YAAY,YAAY;AAClC,wBAAc,UAAU,OAAO;AAAA,QAC/C;AAAA,MACS,GAAE,CAAC;AAAA,IACZ;AAII,UAAM,WAAWA,iBAAM,QAAQ,MAAM,IAAI,MAAM,CAAC,SAAS;AACrD,UAAI,SAAS,YAAY;AACrB,sBAAc,IAAI;AAAA,MAC9B;AAAA,IACA,GAAO;AAAA,MACC,IAAI,QAAQ,MAAM;AACd,YAAI,SAAS,WAAW;AACpB,iBAAO;AAAA,QACvB;AACY,eAAO,OAAO,IAAI;AAAA,MACrB;AAAA,MACD,IAAI,QAAQ,MAAM,OAAO;AACrB,YAAI,SAAS,WAAW;AACpB,wBAAc,KAAK;AAAA,QACnC,OACiB;AACD,iBAAO,IAAI,IAAI;AAAA,QAC/B;AACY,eAAO;AAAA,MACV;AAAA,IACT,CAAK,GAAG,CAAC,UAAU,CAAC;AAChB,WAAO,EAAE,UAAU,YAAY,cAAe;AAAA,EAClD;AAAA;AAIK,MAAC,gBAAgB,CAAC,OAAO,QAAQ;AAMlC,MAAI,QAAQ,cAAc;AACtB,WAAO;AAAA,MACH,OAAO,MAAM,cAAc,CAAC,EAAE;AAAA,MAC9B,QAAQ,MAAM,cAAc,CAAC,EAAE;AAAA,IAClC;AAAA,EACT;AACI,MAAI,QAAQ,eAAe;AACvB,WAAO;AAAA,MACH,OAAO,MAAM,eAAe,CAAC,EAAE;AAAA,MAC/B,QAAQ,MAAM,eAAe,CAAC,EAAE;AAAA,IACnC;AAAA,EACT;AACI,SAAO;AAAA,IACH,OAAO,MAAM,YAAY;AAAA,IACzB,QAAQ,MAAM,YAAY;AAAA,EAC7B;AACL;;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony100.mjs
CHANGED
@@ -1,21 +1,85 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
1
|
+
import * as React from "react";
|
2
|
+
import debounce from "./harmony111.mjs";
|
3
|
+
import throttle from "./harmony112.mjs";
|
4
|
+
const patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {
|
5
|
+
switch (refreshMode) {
|
6
|
+
case "debounce":
|
7
|
+
return debounce(resizeCallback, refreshRate, refreshOptions);
|
8
|
+
case "throttle":
|
9
|
+
return throttle(resizeCallback, refreshRate, refreshOptions);
|
10
|
+
default:
|
11
|
+
return resizeCallback;
|
12
|
+
}
|
13
|
+
};
|
14
|
+
const useCallbackRef = (
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
16
|
+
(callback) => {
|
17
|
+
const callbackRef = React.useRef(callback);
|
18
|
+
React.useEffect(() => {
|
19
|
+
callbackRef.current = callback;
|
20
|
+
});
|
21
|
+
return React.useMemo(() => (...args) => {
|
22
|
+
var _a;
|
23
|
+
return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args);
|
24
|
+
}, []);
|
25
|
+
}
|
26
|
+
);
|
27
|
+
const useRefProxy = (
|
28
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
29
|
+
(targetRef) => {
|
30
|
+
const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);
|
31
|
+
if (targetRef) {
|
32
|
+
setTimeout(() => {
|
33
|
+
if (targetRef.current !== refElement) {
|
34
|
+
setRefElement(targetRef.current);
|
35
|
+
}
|
36
|
+
}, 0);
|
37
|
+
}
|
38
|
+
const refProxy = React.useMemo(() => new Proxy((node) => {
|
39
|
+
if (node !== refElement) {
|
40
|
+
setRefElement(node);
|
41
|
+
}
|
42
|
+
}, {
|
43
|
+
get(target, prop) {
|
44
|
+
if (prop === "current") {
|
45
|
+
return refElement;
|
46
|
+
}
|
47
|
+
return target[prop];
|
48
|
+
},
|
49
|
+
set(target, prop, value) {
|
50
|
+
if (prop === "current") {
|
51
|
+
setRefElement(value);
|
52
|
+
} else {
|
53
|
+
target[prop] = value;
|
54
|
+
}
|
55
|
+
return true;
|
56
|
+
}
|
57
|
+
}), [refElement]);
|
58
|
+
return { refProxy, refElement, setRefElement };
|
59
|
+
}
|
60
|
+
);
|
61
|
+
const getDimensions = (entry, box) => {
|
62
|
+
if (box === "border-box") {
|
63
|
+
return {
|
64
|
+
width: entry.borderBoxSize[0].inlineSize,
|
65
|
+
height: entry.borderBoxSize[0].blockSize
|
66
|
+
};
|
67
|
+
}
|
68
|
+
if (box === "content-box") {
|
69
|
+
return {
|
70
|
+
width: entry.contentBoxSize[0].inlineSize,
|
71
|
+
height: entry.contentBoxSize[0].blockSize
|
72
|
+
};
|
73
|
+
}
|
74
|
+
return {
|
75
|
+
width: entry.contentRect.width,
|
76
|
+
height: entry.contentRect.height
|
77
|
+
};
|
78
|
+
};
|
18
79
|
export {
|
19
|
-
|
80
|
+
getDimensions,
|
81
|
+
patchResizeCallback,
|
82
|
+
useCallbackRef,
|
83
|
+
useRefProxy
|
20
84
|
};
|
21
85
|
//# sourceMappingURL=harmony100.mjs.map
|
package/dist/harmony100.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony100.mjs","sources":["../node_modules/react-resize-detector/build/utils.js"],"sourcesContent":["import * as React from 'react';\nimport debounce from 'lodash/debounce.js';\nimport throttle from 'lodash/throttle.js';\n\n/**\n * Wraps the resize callback with a lodash debounce / throttle based on the refresh mode\n */\nconst patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {\n switch (refreshMode) {\n case 'debounce':\n return debounce(resizeCallback, refreshRate, refreshOptions);\n case 'throttle':\n return throttle(resizeCallback, refreshRate, refreshOptions);\n default:\n return resizeCallback;\n }\n};\n/**\n * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop or avoid re-executing effects when passed as a dependency\n */\nconst useCallbackRef = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(callback) => {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => { var _a; return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args); }), []);\n};\n/** `useRef` hook doesn't handle conditional rendering or dynamic ref changes.\n * This hook creates a proxy that ensures that `refElement` is updated whenever the ref is changed. */\nconst useRefProxy = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(targetRef) => {\n // we are going to use this ref to store the last element that was passed to the hook\n const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);\n // if targetRef is passed, we need to update the refElement\n // we have to use setTimeout because ref get assigned after the hook is called\n // in the future releases we are going to remove targetRef and force users to use ref returned by the hook\n if (targetRef) {\n setTimeout(() => {\n if (targetRef.current !== refElement) {\n setRefElement(targetRef.current);\n }\n }, 0);\n }\n // this is a memo that will be called every time the ref is changed\n // This proxy will properly call setState either when the ref is called as a function or when `.current` is set\n // we call setState inside to trigger rerender\n const refProxy = React.useMemo(() => new Proxy((node) => {\n if (node !== refElement) {\n setRefElement(node);\n }\n }, {\n get(target, prop) {\n if (prop === 'current') {\n return refElement;\n }\n return target[prop];\n },\n set(target, prop, value) {\n if (prop === 'current') {\n setRefElement(value);\n }\n else {\n target[prop] = value;\n }\n return true;\n },\n }), [refElement]);\n return { refProxy, refElement, setRefElement };\n};\n/** Calculates the dimensions of the element based on the current box model.\n * @see https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model\n */\nconst getDimensions = (entry, box) => {\n // Value\t Border\t Padding\t Inner Content\n // ---------------------------------------------------\n // 'border-box'\t Yes\t Yes\t Yes\n // 'content-box'\t No\t No\t Yes\n // undefined No\t No?\t Yes\n if (box === 'border-box') {\n return {\n width: entry.borderBoxSize[0].inlineSize,\n height: entry.borderBoxSize[0].blockSize,\n };\n }\n if (box === 'content-box') {\n return {\n width: entry.contentBoxSize[0].inlineSize,\n height: entry.contentBoxSize[0].blockSize,\n };\n }\n return {\n width: entry.contentRect.width,\n height: entry.contentRect.height,\n };\n};\n\nexport { getDimensions, patchResizeCallback, useCallbackRef, useRefProxy };\n//# sourceMappingURL=utils.js.map\n"],"names":[],"mappings":";;;AAOK,MAAC,sBAAsB,CAAC,gBAAgB,aAAa,aAAa,mBAAmB;AACtF,UAAQ,aAAW;AAAA,IACf,KAAK;AACD,aAAO,SAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D,KAAK;AACD,aAAO,SAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D;AACI,aAAO;AAAA,EACnB;AACA;AAKK,MAAC;AAAA;AAAA,EAEN,CAAC,aAAa;AACV,UAAM,cAAc,MAAM,OAAO,QAAQ;AACzC,UAAM,UAAU,MAAM;AAClB,kBAAY,UAAU;AAAA,IAC9B,CAAK;AACD,WAAO,MAAM,QAAQ,MAAO,IAAI,SAAS;AAAE,UAAI;AAAI,cAAQ,KAAK,YAAY,aAAa,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,aAAa,GAAG,IAAI;AAAA,IAAI,GAAG,CAAA,CAAE;AAAA,EACnK;AAAA;AAGK,MAAC;AAAA;AAAA,EAEN,CAAC,cAAc;AAEX,UAAM,CAAC,YAAY,aAAa,IAAI,MAAM,UAAU,cAAc,QAAQ,cAAc,SAAS,SAAS,UAAU,YAAY,IAAI;AAIpI,QAAI,WAAW;AACX,iBAAW,MAAM;AACb,YAAI,UAAU,YAAY,YAAY;AAClC,wBAAc,UAAU,OAAO;AAAA,QAC/C;AAAA,MACS,GAAE,CAAC;AAAA,IACZ;AAII,UAAM,WAAW,MAAM,QAAQ,MAAM,IAAI,MAAM,CAAC,SAAS;AACrD,UAAI,SAAS,YAAY;AACrB,sBAAc,IAAI;AAAA,MAC9B;AAAA,IACA,GAAO;AAAA,MACC,IAAI,QAAQ,MAAM;AACd,YAAI,SAAS,WAAW;AACpB,iBAAO;AAAA,QACvB;AACY,eAAO,OAAO,IAAI;AAAA,MACrB;AAAA,MACD,IAAI,QAAQ,MAAM,OAAO;AACrB,YAAI,SAAS,WAAW;AACpB,wBAAc,KAAK;AAAA,QACnC,OACiB;AACD,iBAAO,IAAI,IAAI;AAAA,QAC/B;AACY,eAAO;AAAA,MACV;AAAA,IACT,CAAK,GAAG,CAAC,UAAU,CAAC;AAChB,WAAO,EAAE,UAAU,YAAY,cAAe;AAAA,EAClD;AAAA;AAIK,MAAC,gBAAgB,CAAC,OAAO,QAAQ;AAMlC,MAAI,QAAQ,cAAc;AACtB,WAAO;AAAA,MACH,OAAO,MAAM,cAAc,CAAC,EAAE;AAAA,MAC9B,QAAQ,MAAM,cAAc,CAAC,EAAE;AAAA,IAClC;AAAA,EACT;AACI,MAAI,QAAQ,eAAe;AACvB,WAAO;AAAA,MACH,OAAO,MAAM,eAAe,CAAC,EAAE;AAAA,MAC/B,QAAQ,MAAM,eAAe,CAAC,EAAE;AAAA,IACnC;AAAA,EACT;AACI,SAAO;AAAA,IACH,OAAO,MAAM,YAAY;AAAA,IACzB,QAAQ,MAAM,YAAY;AAAA,EAC7B;AACL;","x_google_ignoreList":[0]}
|
package/dist/harmony101.cjs
CHANGED
@@ -1,17 +1,24 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const menuContainer = "_menuContainer_1phdw_10";
|
4
|
+
const profileButton = "_profileButton_1phdw_20";
|
5
|
+
const profileImage = "_profileImage_1phdw_33";
|
6
|
+
const profileImageHighlight = "_profileImageHighlight_1phdw_41";
|
7
|
+
const profileImageUpgradeIcon = "_profileImageUpgradeIcon_1phdw_45";
|
8
|
+
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
9
|
+
const styles = {
|
10
|
+
menuContainer,
|
11
|
+
profileButton,
|
12
|
+
profileImage,
|
13
|
+
profileImageHighlight,
|
14
|
+
profileImageUpgradeIcon,
|
15
|
+
userIconWrapper
|
13
16
|
};
|
14
|
-
|
15
|
-
|
16
|
-
exports.
|
17
|
+
exports.default = styles;
|
18
|
+
exports.menuContainer = menuContainer;
|
19
|
+
exports.profileButton = profileButton;
|
20
|
+
exports.profileImage = profileImage;
|
21
|
+
exports.profileImageHighlight = profileImageHighlight;
|
22
|
+
exports.profileImageUpgradeIcon = profileImageUpgradeIcon;
|
23
|
+
exports.userIconWrapper = userIconWrapper;
|
17
24
|
//# sourceMappingURL=harmony101.cjs.map
|
package/dist/harmony101.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony101.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony101.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony101.mjs
CHANGED
@@ -1,17 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
const menuContainer = "_menuContainer_1phdw_10";
|
2
|
+
const profileButton = "_profileButton_1phdw_20";
|
3
|
+
const profileImage = "_profileImage_1phdw_33";
|
4
|
+
const profileImageHighlight = "_profileImageHighlight_1phdw_41";
|
5
|
+
const profileImageUpgradeIcon = "_profileImageUpgradeIcon_1phdw_45";
|
6
|
+
const userIconWrapper = "_userIconWrapper_1phdw_51";
|
7
|
+
const styles = {
|
8
|
+
menuContainer,
|
9
|
+
profileButton,
|
10
|
+
profileImage,
|
11
|
+
profileImageHighlight,
|
12
|
+
profileImageUpgradeIcon,
|
13
|
+
userIconWrapper
|
11
14
|
};
|
12
|
-
__publicField(_NewJwtIssuedEvent, "eventName", "new-jwt-issued");
|
13
|
-
let NewJwtIssuedEvent = _NewJwtIssuedEvent;
|
14
15
|
export {
|
15
|
-
|
16
|
+
styles as default,
|
17
|
+
menuContainer,
|
18
|
+
profileButton,
|
19
|
+
profileImage,
|
20
|
+
profileImageHighlight,
|
21
|
+
profileImageUpgradeIcon,
|
22
|
+
userIconWrapper
|
16
23
|
};
|
17
24
|
//# sourceMappingURL=harmony101.mjs.map
|
package/dist/harmony101.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony101.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony101.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|