@lokalise/harmony 2.0.6 → 2.0.7

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.
Files changed (615) hide show
  1. package/dist/harmony.cjs +135 -135
  2. package/dist/harmony.mjs +79 -79
  3. package/dist/harmony102.cjs +1 -1
  4. package/dist/harmony102.mjs +1 -1
  5. package/dist/harmony103.cjs +7 -7
  6. package/dist/harmony103.mjs +7 -7
  7. package/dist/harmony105.cjs +2 -2
  8. package/dist/harmony105.mjs +2 -2
  9. package/dist/harmony106.cjs +14 -3
  10. package/dist/harmony106.cjs.map +1 -1
  11. package/dist/harmony106.mjs +14 -3
  12. package/dist/harmony106.mjs.map +1 -1
  13. package/dist/harmony107.cjs +3 -18
  14. package/dist/harmony107.cjs.map +1 -1
  15. package/dist/harmony107.mjs +3 -18
  16. package/dist/harmony107.mjs.map +1 -1
  17. package/dist/harmony108.cjs +12 -70
  18. package/dist/harmony108.cjs.map +1 -1
  19. package/dist/harmony108.mjs +14 -72
  20. package/dist/harmony108.mjs.map +1 -1
  21. package/dist/harmony109.cjs +75 -11
  22. package/dist/harmony109.cjs.map +1 -1
  23. package/dist/harmony109.mjs +75 -11
  24. package/dist/harmony109.mjs.map +1 -1
  25. package/dist/harmony11.cjs +55 -30
  26. package/dist/harmony11.cjs.map +1 -1
  27. package/dist/harmony11.mjs +55 -30
  28. package/dist/harmony11.mjs.map +1 -1
  29. package/dist/harmony110.cjs +12 -34
  30. package/dist/harmony110.cjs.map +1 -1
  31. package/dist/harmony110.mjs +12 -34
  32. package/dist/harmony110.mjs.map +1 -1
  33. package/dist/harmony111.cjs +34 -9
  34. package/dist/harmony111.cjs.map +1 -1
  35. package/dist/harmony111.mjs +34 -9
  36. package/dist/harmony111.mjs.map +1 -1
  37. package/dist/harmony112.cjs +8 -46
  38. package/dist/harmony112.cjs.map +1 -1
  39. package/dist/harmony112.mjs +9 -47
  40. package/dist/harmony112.mjs.map +1 -1
  41. package/dist/harmony113.cjs +47 -9
  42. package/dist/harmony113.cjs.map +1 -1
  43. package/dist/harmony113.mjs +46 -8
  44. package/dist/harmony113.mjs.map +1 -1
  45. package/dist/harmony114.cjs +9 -12
  46. package/dist/harmony114.cjs.map +1 -1
  47. package/dist/harmony114.mjs +8 -11
  48. package/dist/harmony114.mjs.map +1 -1
  49. package/dist/harmony115.cjs +12 -12
  50. package/dist/harmony115.cjs.map +1 -1
  51. package/dist/harmony115.mjs +11 -11
  52. package/dist/harmony115.mjs.map +1 -1
  53. package/dist/harmony116.cjs +13 -12
  54. package/dist/harmony116.cjs.map +1 -1
  55. package/dist/harmony116.mjs +12 -11
  56. package/dist/harmony116.mjs.map +1 -1
  57. package/dist/harmony117.cjs +12 -22
  58. package/dist/harmony117.cjs.map +1 -1
  59. package/dist/harmony117.mjs +11 -21
  60. package/dist/harmony117.mjs.map +1 -1
  61. package/dist/harmony118.cjs +21 -166
  62. package/dist/harmony118.cjs.map +1 -1
  63. package/dist/harmony118.mjs +20 -165
  64. package/dist/harmony118.mjs.map +1 -1
  65. package/dist/harmony119.cjs +159 -37
  66. package/dist/harmony119.cjs.map +1 -1
  67. package/dist/harmony119.mjs +160 -38
  68. package/dist/harmony119.mjs.map +1 -1
  69. package/dist/harmony12.cjs +30 -22
  70. package/dist/harmony12.cjs.map +1 -1
  71. package/dist/harmony12.mjs +30 -22
  72. package/dist/harmony12.mjs.map +1 -1
  73. package/dist/harmony120.cjs +42 -12
  74. package/dist/harmony120.cjs.map +1 -1
  75. package/dist/harmony120.mjs +42 -12
  76. package/dist/harmony120.mjs.map +1 -1
  77. package/dist/harmony122.cjs +20 -7
  78. package/dist/harmony122.cjs.map +1 -1
  79. package/dist/harmony122.mjs +20 -7
  80. package/dist/harmony122.mjs.map +1 -1
  81. package/dist/harmony123.cjs +9 -17
  82. package/dist/harmony123.cjs.map +1 -1
  83. package/dist/harmony123.mjs +8 -16
  84. package/dist/harmony123.mjs.map +1 -1
  85. package/dist/harmony124.cjs +11 -7
  86. package/dist/harmony124.cjs.map +1 -1
  87. package/dist/harmony124.mjs +11 -7
  88. package/dist/harmony124.mjs.map +1 -1
  89. package/dist/harmony125.cjs +14 -7
  90. package/dist/harmony125.cjs.map +1 -1
  91. package/dist/harmony125.mjs +14 -7
  92. package/dist/harmony125.mjs.map +1 -1
  93. package/dist/harmony126.cjs +18 -14
  94. package/dist/harmony126.cjs.map +1 -1
  95. package/dist/harmony126.mjs +18 -14
  96. package/dist/harmony126.mjs.map +1 -1
  97. package/dist/harmony127.cjs +10 -20
  98. package/dist/harmony127.cjs.map +1 -1
  99. package/dist/harmony127.mjs +10 -20
  100. package/dist/harmony127.mjs.map +1 -1
  101. package/dist/harmony128.cjs +26 -9
  102. package/dist/harmony128.cjs.map +1 -1
  103. package/dist/harmony128.mjs +25 -8
  104. package/dist/harmony128.mjs.map +1 -1
  105. package/dist/harmony129.cjs +6 -6
  106. package/dist/harmony129.cjs.map +1 -1
  107. package/dist/harmony129.mjs +6 -6
  108. package/dist/harmony129.mjs.map +1 -1
  109. package/dist/harmony13.cjs +11 -52
  110. package/dist/harmony13.cjs.map +1 -1
  111. package/dist/harmony13.mjs +11 -52
  112. package/dist/harmony13.mjs.map +1 -1
  113. package/dist/harmony130.cjs +33 -10
  114. package/dist/harmony130.cjs.map +1 -1
  115. package/dist/harmony130.mjs +35 -12
  116. package/dist/harmony130.mjs.map +1 -1
  117. package/dist/harmony131.cjs +6 -13
  118. package/dist/harmony131.cjs.map +1 -1
  119. package/dist/harmony131.mjs +8 -15
  120. package/dist/harmony131.mjs.map +1 -1
  121. package/dist/harmony132.cjs +20 -8
  122. package/dist/harmony132.cjs.map +1 -1
  123. package/dist/harmony132.mjs +21 -9
  124. package/dist/harmony132.mjs.map +1 -1
  125. package/dist/harmony133.cjs +27 -17
  126. package/dist/harmony133.cjs.map +1 -1
  127. package/dist/harmony133.mjs +28 -18
  128. package/dist/harmony133.mjs.map +1 -1
  129. package/dist/harmony134.cjs +21 -12
  130. package/dist/harmony134.cjs.map +1 -1
  131. package/dist/harmony134.mjs +20 -11
  132. package/dist/harmony134.mjs.map +1 -1
  133. package/dist/harmony135.cjs +15 -32
  134. package/dist/harmony135.cjs.map +1 -1
  135. package/dist/harmony135.mjs +17 -34
  136. package/dist/harmony135.mjs.map +1 -1
  137. package/dist/harmony136.cjs +6 -12
  138. package/dist/harmony136.cjs.map +1 -1
  139. package/dist/harmony136.mjs +5 -11
  140. package/dist/harmony136.mjs.map +1 -1
  141. package/dist/harmony137.cjs +15 -22
  142. package/dist/harmony137.cjs.map +1 -1
  143. package/dist/harmony137.mjs +14 -21
  144. package/dist/harmony137.mjs.map +1 -1
  145. package/dist/harmony138.cjs +7 -36
  146. package/dist/harmony138.cjs.map +1 -1
  147. package/dist/harmony138.mjs +7 -36
  148. package/dist/harmony138.mjs.map +1 -1
  149. package/dist/harmony139.cjs +17 -21
  150. package/dist/harmony139.cjs.map +1 -1
  151. package/dist/harmony139.mjs +16 -20
  152. package/dist/harmony139.mjs.map +1 -1
  153. package/dist/harmony14.cjs +55 -9
  154. package/dist/harmony14.cjs.map +1 -1
  155. package/dist/harmony14.mjs +55 -9
  156. package/dist/harmony14.mjs.map +1 -1
  157. package/dist/harmony140.cjs +7 -20
  158. package/dist/harmony140.cjs.map +1 -1
  159. package/dist/harmony140.mjs +7 -20
  160. package/dist/harmony140.mjs.map +1 -1
  161. package/dist/harmony141.cjs +8 -6
  162. package/dist/harmony141.cjs.map +1 -1
  163. package/dist/harmony141.mjs +7 -5
  164. package/dist/harmony141.mjs.map +1 -1
  165. package/dist/harmony142.cjs +15 -15
  166. package/dist/harmony142.cjs.map +1 -1
  167. package/dist/harmony142.mjs +14 -14
  168. package/dist/harmony142.mjs.map +1 -1
  169. package/dist/harmony143.cjs +1 -1
  170. package/dist/harmony143.mjs +1 -1
  171. package/dist/harmony145.cjs +2 -2
  172. package/dist/harmony145.mjs +2 -2
  173. package/dist/harmony146.cjs +2 -2
  174. package/dist/harmony146.mjs +2 -2
  175. package/dist/harmony147.cjs +10 -4
  176. package/dist/harmony147.cjs.map +1 -1
  177. package/dist/harmony147.mjs +9 -3
  178. package/dist/harmony147.mjs.map +1 -1
  179. package/dist/harmony148.cjs +7 -4
  180. package/dist/harmony148.cjs.map +1 -1
  181. package/dist/harmony148.mjs +6 -3
  182. package/dist/harmony148.mjs.map +1 -1
  183. package/dist/harmony149.cjs +10 -4
  184. package/dist/harmony149.cjs.map +1 -1
  185. package/dist/harmony149.mjs +9 -3
  186. package/dist/harmony149.mjs.map +1 -1
  187. package/dist/harmony15.cjs +30 -5
  188. package/dist/harmony15.cjs.map +1 -1
  189. package/dist/harmony15.mjs +30 -5
  190. package/dist/harmony15.mjs.map +1 -1
  191. package/dist/harmony150.cjs +25 -15
  192. package/dist/harmony150.cjs.map +1 -1
  193. package/dist/harmony150.mjs +24 -14
  194. package/dist/harmony150.mjs.map +1 -1
  195. package/dist/harmony151.cjs +7 -15
  196. package/dist/harmony151.cjs.map +1 -1
  197. package/dist/harmony151.mjs +6 -14
  198. package/dist/harmony151.mjs.map +1 -1
  199. package/dist/harmony152.cjs +13 -4
  200. package/dist/harmony152.cjs.map +1 -1
  201. package/dist/harmony152.mjs +12 -3
  202. package/dist/harmony152.mjs.map +1 -1
  203. package/dist/harmony153.cjs +7 -97
  204. package/dist/harmony153.cjs.map +1 -1
  205. package/dist/harmony153.mjs +6 -96
  206. package/dist/harmony153.mjs.map +1 -1
  207. package/dist/harmony154.cjs +94 -11
  208. package/dist/harmony154.cjs.map +1 -1
  209. package/dist/harmony154.mjs +94 -11
  210. package/dist/harmony154.mjs.map +1 -1
  211. package/dist/harmony155.cjs +12 -13
  212. package/dist/harmony155.cjs.map +1 -1
  213. package/dist/harmony155.mjs +12 -13
  214. package/dist/harmony155.mjs.map +1 -1
  215. package/dist/harmony156.cjs +13 -35
  216. package/dist/harmony156.cjs.map +1 -1
  217. package/dist/harmony156.mjs +13 -35
  218. package/dist/harmony156.mjs.map +1 -1
  219. package/dist/harmony157.cjs +32 -24
  220. package/dist/harmony157.cjs.map +1 -1
  221. package/dist/harmony157.mjs +32 -24
  222. package/dist/harmony157.mjs.map +1 -1
  223. package/dist/harmony158.cjs +29 -10
  224. package/dist/harmony158.cjs.map +1 -1
  225. package/dist/harmony158.mjs +28 -9
  226. package/dist/harmony158.mjs.map +1 -1
  227. package/dist/harmony159.cjs +10 -6
  228. package/dist/harmony159.cjs.map +1 -1
  229. package/dist/harmony159.mjs +9 -5
  230. package/dist/harmony159.mjs.map +1 -1
  231. package/dist/harmony16.cjs +18 -15
  232. package/dist/harmony16.cjs.map +1 -1
  233. package/dist/harmony16.mjs +18 -15
  234. package/dist/harmony16.mjs.map +1 -1
  235. package/dist/harmony160.cjs +4 -10
  236. package/dist/harmony160.cjs.map +1 -1
  237. package/dist/harmony160.mjs +3 -9
  238. package/dist/harmony160.mjs.map +1 -1
  239. package/dist/harmony161.cjs +4 -25
  240. package/dist/harmony161.cjs.map +1 -1
  241. package/dist/harmony161.mjs +3 -24
  242. package/dist/harmony161.mjs.map +1 -1
  243. package/dist/harmony162.cjs +4 -7
  244. package/dist/harmony162.cjs.map +1 -1
  245. package/dist/harmony162.mjs +3 -6
  246. package/dist/harmony162.mjs.map +1 -1
  247. package/dist/harmony163.cjs +15 -13
  248. package/dist/harmony163.cjs.map +1 -1
  249. package/dist/harmony163.mjs +14 -12
  250. package/dist/harmony163.mjs.map +1 -1
  251. package/dist/harmony164.cjs +15 -7
  252. package/dist/harmony164.cjs.map +1 -1
  253. package/dist/harmony164.mjs +14 -6
  254. package/dist/harmony164.mjs.map +1 -1
  255. package/dist/harmony165.cjs +3 -10
  256. package/dist/harmony165.cjs.map +1 -1
  257. package/dist/harmony165.mjs +3 -10
  258. package/dist/harmony165.mjs.map +1 -1
  259. package/dist/harmony166.cjs +13 -32
  260. package/dist/harmony166.cjs.map +1 -1
  261. package/dist/harmony166.mjs +13 -32
  262. package/dist/harmony166.mjs.map +1 -1
  263. package/dist/harmony167.cjs +14 -12
  264. package/dist/harmony167.cjs.map +1 -1
  265. package/dist/harmony167.mjs +14 -12
  266. package/dist/harmony167.mjs.map +1 -1
  267. package/dist/harmony168.cjs +14 -13
  268. package/dist/harmony168.cjs.map +1 -1
  269. package/dist/harmony168.mjs +14 -13
  270. package/dist/harmony168.mjs.map +1 -1
  271. package/dist/harmony169.cjs +10 -15
  272. package/dist/harmony169.cjs.map +1 -1
  273. package/dist/harmony169.mjs +10 -15
  274. package/dist/harmony169.mjs.map +1 -1
  275. package/dist/harmony17.cjs +28 -32
  276. package/dist/harmony17.cjs.map +1 -1
  277. package/dist/harmony17.mjs +28 -32
  278. package/dist/harmony17.mjs.map +1 -1
  279. package/dist/harmony170.cjs +15 -10
  280. package/dist/harmony170.cjs.map +1 -1
  281. package/dist/harmony170.mjs +15 -10
  282. package/dist/harmony170.mjs.map +1 -1
  283. package/dist/harmony171.cjs +18 -13
  284. package/dist/harmony171.cjs.map +1 -1
  285. package/dist/harmony171.mjs +18 -13
  286. package/dist/harmony171.mjs.map +1 -1
  287. package/dist/harmony172.cjs +10 -19
  288. package/dist/harmony172.cjs.map +1 -1
  289. package/dist/harmony172.mjs +10 -19
  290. package/dist/harmony172.mjs.map +1 -1
  291. package/dist/harmony173.cjs +32 -12
  292. package/dist/harmony173.cjs.map +1 -1
  293. package/dist/harmony173.mjs +32 -12
  294. package/dist/harmony173.mjs.map +1 -1
  295. package/dist/harmony174.cjs +6 -4
  296. package/dist/harmony174.cjs.map +1 -1
  297. package/dist/harmony174.mjs +6 -4
  298. package/dist/harmony174.mjs.map +1 -1
  299. package/dist/harmony175.cjs +11 -5
  300. package/dist/harmony175.cjs.map +1 -1
  301. package/dist/harmony175.mjs +11 -5
  302. package/dist/harmony175.mjs.map +1 -1
  303. package/dist/harmony176.cjs +31 -11
  304. package/dist/harmony176.cjs.map +1 -1
  305. package/dist/harmony176.mjs +31 -11
  306. package/dist/harmony176.mjs.map +1 -1
  307. package/dist/harmony177.cjs +10 -28
  308. package/dist/harmony177.cjs.map +1 -1
  309. package/dist/harmony177.mjs +10 -28
  310. package/dist/harmony177.mjs.map +1 -1
  311. package/dist/harmony178.cjs +4 -14
  312. package/dist/harmony178.cjs.map +1 -1
  313. package/dist/harmony178.mjs +4 -14
  314. package/dist/harmony178.mjs.map +1 -1
  315. package/dist/harmony18.cjs +14 -5
  316. package/dist/harmony18.cjs.map +1 -1
  317. package/dist/harmony18.mjs +14 -5
  318. package/dist/harmony18.mjs.map +1 -1
  319. package/dist/harmony19.cjs +13 -10
  320. package/dist/harmony19.cjs.map +1 -1
  321. package/dist/harmony19.mjs +13 -10
  322. package/dist/harmony19.mjs.map +1 -1
  323. package/dist/harmony20.cjs +13 -10
  324. package/dist/harmony20.cjs.map +1 -1
  325. package/dist/harmony20.mjs +13 -10
  326. package/dist/harmony20.mjs.map +1 -1
  327. package/dist/harmony21.cjs +13 -17
  328. package/dist/harmony21.cjs.map +1 -1
  329. package/dist/harmony21.mjs +13 -17
  330. package/dist/harmony21.mjs.map +1 -1
  331. package/dist/harmony22.cjs +13 -15
  332. package/dist/harmony22.cjs.map +1 -1
  333. package/dist/harmony22.mjs +13 -15
  334. package/dist/harmony22.mjs.map +1 -1
  335. package/dist/harmony23.cjs +12 -141
  336. package/dist/harmony23.cjs.map +1 -1
  337. package/dist/harmony23.mjs +12 -141
  338. package/dist/harmony23.mjs.map +1 -1
  339. package/dist/harmony24.cjs +22 -20
  340. package/dist/harmony24.cjs.map +1 -1
  341. package/dist/harmony24.mjs +22 -20
  342. package/dist/harmony24.mjs.map +1 -1
  343. package/dist/harmony25.cjs +13 -14
  344. package/dist/harmony25.cjs.map +1 -1
  345. package/dist/harmony25.mjs +13 -14
  346. package/dist/harmony25.mjs.map +1 -1
  347. package/dist/harmony26.cjs +12 -16
  348. package/dist/harmony26.cjs.map +1 -1
  349. package/dist/harmony26.mjs +13 -17
  350. package/dist/harmony26.mjs.map +1 -1
  351. package/dist/harmony27.cjs +15 -16
  352. package/dist/harmony27.cjs.map +1 -1
  353. package/dist/harmony27.mjs +16 -17
  354. package/dist/harmony27.mjs.map +1 -1
  355. package/dist/harmony28.cjs +15 -18
  356. package/dist/harmony28.cjs.map +1 -1
  357. package/dist/harmony28.mjs +15 -18
  358. package/dist/harmony28.mjs.map +1 -1
  359. package/dist/harmony29.cjs +15 -20
  360. package/dist/harmony29.cjs.map +1 -1
  361. package/dist/harmony29.mjs +15 -20
  362. package/dist/harmony29.mjs.map +1 -1
  363. package/dist/harmony30.cjs +15 -10
  364. package/dist/harmony30.cjs.map +1 -1
  365. package/dist/harmony30.mjs +15 -10
  366. package/dist/harmony30.mjs.map +1 -1
  367. package/dist/harmony31.cjs +15 -11
  368. package/dist/harmony31.cjs.map +1 -1
  369. package/dist/harmony31.mjs +15 -11
  370. package/dist/harmony31.mjs.map +1 -1
  371. package/dist/harmony32.cjs +16 -8
  372. package/dist/harmony32.cjs.map +1 -1
  373. package/dist/harmony32.mjs +16 -8
  374. package/dist/harmony32.mjs.map +1 -1
  375. package/dist/harmony33.cjs +16 -8
  376. package/dist/harmony33.cjs.map +1 -1
  377. package/dist/harmony33.mjs +16 -8
  378. package/dist/harmony33.mjs.map +1 -1
  379. package/dist/harmony34.cjs +16 -14
  380. package/dist/harmony34.cjs.map +1 -1
  381. package/dist/harmony34.mjs +16 -14
  382. package/dist/harmony34.mjs.map +1 -1
  383. package/dist/harmony35.cjs +16 -9
  384. package/dist/harmony35.cjs.map +1 -1
  385. package/dist/harmony35.mjs +16 -9
  386. package/dist/harmony35.mjs.map +1 -1
  387. package/dist/harmony36.cjs +16 -12
  388. package/dist/harmony36.cjs.map +1 -1
  389. package/dist/harmony36.mjs +16 -12
  390. package/dist/harmony36.mjs.map +1 -1
  391. package/dist/harmony37.cjs +14 -9
  392. package/dist/harmony37.cjs.map +1 -1
  393. package/dist/harmony37.mjs +14 -9
  394. package/dist/harmony37.mjs.map +1 -1
  395. package/dist/harmony38.cjs +16 -13
  396. package/dist/harmony38.cjs.map +1 -1
  397. package/dist/harmony38.mjs +16 -13
  398. package/dist/harmony38.mjs.map +1 -1
  399. package/dist/harmony39.cjs +16 -7
  400. package/dist/harmony39.cjs.map +1 -1
  401. package/dist/harmony39.mjs +16 -7
  402. package/dist/harmony39.mjs.map +1 -1
  403. package/dist/harmony40.cjs +17 -10
  404. package/dist/harmony40.cjs.map +1 -1
  405. package/dist/harmony40.mjs +17 -10
  406. package/dist/harmony40.mjs.map +1 -1
  407. package/dist/harmony41.cjs +14 -11
  408. package/dist/harmony41.cjs.map +1 -1
  409. package/dist/harmony41.mjs +14 -11
  410. package/dist/harmony41.mjs.map +1 -1
  411. package/dist/harmony42.cjs +14 -9
  412. package/dist/harmony42.cjs.map +1 -1
  413. package/dist/harmony42.mjs +14 -9
  414. package/dist/harmony42.mjs.map +1 -1
  415. package/dist/harmony43.cjs +124 -9
  416. package/dist/harmony43.cjs.map +1 -1
  417. package/dist/harmony43.mjs +124 -9
  418. package/dist/harmony43.mjs.map +1 -1
  419. package/dist/harmony44.cjs +82 -9
  420. package/dist/harmony44.cjs.map +1 -1
  421. package/dist/harmony44.mjs +82 -9
  422. package/dist/harmony44.mjs.map +1 -1
  423. package/dist/harmony45.cjs +6 -88
  424. package/dist/harmony45.cjs.map +1 -1
  425. package/dist/harmony45.mjs +6 -88
  426. package/dist/harmony45.mjs.map +1 -1
  427. package/dist/harmony46.cjs +25 -52
  428. package/dist/harmony46.cjs.map +1 -1
  429. package/dist/harmony46.mjs +25 -52
  430. package/dist/harmony46.mjs.map +1 -1
  431. package/dist/harmony47.cjs +23 -30
  432. package/dist/harmony47.cjs.map +1 -1
  433. package/dist/harmony47.mjs +23 -30
  434. package/dist/harmony47.mjs.map +1 -1
  435. package/dist/harmony48.cjs +141 -11
  436. package/dist/harmony48.cjs.map +1 -1
  437. package/dist/harmony48.mjs +140 -10
  438. package/dist/harmony48.mjs.map +1 -1
  439. package/dist/harmony49.cjs +32 -50
  440. package/dist/harmony49.cjs.map +1 -1
  441. package/dist/harmony49.mjs +32 -50
  442. package/dist/harmony49.mjs.map +1 -1
  443. package/dist/harmony5.cjs +5 -5
  444. package/dist/harmony5.mjs +5 -5
  445. package/dist/harmony50.cjs +26 -30
  446. package/dist/harmony50.cjs.map +1 -1
  447. package/dist/harmony50.mjs +26 -30
  448. package/dist/harmony50.mjs.map +1 -1
  449. package/dist/harmony51.cjs +4 -18
  450. package/dist/harmony51.cjs.map +1 -1
  451. package/dist/harmony51.mjs +4 -18
  452. package/dist/harmony51.mjs.map +1 -1
  453. package/dist/harmony52.cjs +81 -25
  454. package/dist/harmony52.cjs.map +1 -1
  455. package/dist/harmony52.mjs +81 -25
  456. package/dist/harmony52.mjs.map +1 -1
  457. package/dist/harmony53.cjs +57 -13
  458. package/dist/harmony53.cjs.map +1 -1
  459. package/dist/harmony53.mjs +56 -12
  460. package/dist/harmony53.mjs.map +1 -1
  461. package/dist/harmony54.cjs +18 -14
  462. package/dist/harmony54.cjs.map +1 -1
  463. package/dist/harmony54.mjs +18 -14
  464. package/dist/harmony54.mjs.map +1 -1
  465. package/dist/harmony55.cjs +30 -14
  466. package/dist/harmony55.cjs.map +1 -1
  467. package/dist/harmony55.mjs +30 -14
  468. package/dist/harmony55.mjs.map +1 -1
  469. package/dist/harmony56.cjs +22 -13
  470. package/dist/harmony56.cjs.map +1 -1
  471. package/dist/harmony56.mjs +22 -13
  472. package/dist/harmony56.mjs.map +1 -1
  473. package/dist/harmony57.cjs +52 -14
  474. package/dist/harmony57.cjs.map +1 -1
  475. package/dist/harmony57.mjs +52 -14
  476. package/dist/harmony57.mjs.map +1 -1
  477. package/dist/harmony58.cjs +9 -13
  478. package/dist/harmony58.cjs.map +1 -1
  479. package/dist/harmony58.mjs +9 -13
  480. package/dist/harmony58.mjs.map +1 -1
  481. package/dist/harmony59.cjs +5 -22
  482. package/dist/harmony59.cjs.map +1 -1
  483. package/dist/harmony59.mjs +5 -22
  484. package/dist/harmony59.mjs.map +1 -1
  485. package/dist/harmony6.cjs +1 -1
  486. package/dist/harmony6.mjs +2 -2
  487. package/dist/harmony60.cjs +14 -12
  488. package/dist/harmony60.cjs.map +1 -1
  489. package/dist/harmony60.mjs +14 -12
  490. package/dist/harmony60.mjs.map +1 -1
  491. package/dist/harmony61.cjs +31 -12
  492. package/dist/harmony61.cjs.map +1 -1
  493. package/dist/harmony61.mjs +31 -12
  494. package/dist/harmony61.mjs.map +1 -1
  495. package/dist/harmony62.cjs +5 -17
  496. package/dist/harmony62.cjs.map +1 -1
  497. package/dist/harmony62.mjs +5 -17
  498. package/dist/harmony62.mjs.map +1 -1
  499. package/dist/harmony63.cjs +10 -16
  500. package/dist/harmony63.cjs.map +1 -1
  501. package/dist/harmony63.mjs +10 -16
  502. package/dist/harmony63.mjs.map +1 -1
  503. package/dist/harmony64.cjs +11 -15
  504. package/dist/harmony64.cjs.map +1 -1
  505. package/dist/harmony64.mjs +11 -15
  506. package/dist/harmony64.mjs.map +1 -1
  507. package/dist/harmony65.cjs +18 -15
  508. package/dist/harmony65.cjs.map +1 -1
  509. package/dist/harmony65.mjs +18 -15
  510. package/dist/harmony65.mjs.map +1 -1
  511. package/dist/harmony66.cjs +16 -15
  512. package/dist/harmony66.cjs.map +1 -1
  513. package/dist/harmony66.mjs +16 -15
  514. package/dist/harmony66.mjs.map +1 -1
  515. package/dist/harmony67.cjs +142 -17
  516. package/dist/harmony67.cjs.map +1 -1
  517. package/dist/harmony67.mjs +142 -17
  518. package/dist/harmony67.mjs.map +1 -1
  519. package/dist/harmony68.cjs +19 -16
  520. package/dist/harmony68.cjs.map +1 -1
  521. package/dist/harmony68.mjs +19 -16
  522. package/dist/harmony68.mjs.map +1 -1
  523. package/dist/harmony69.cjs +13 -16
  524. package/dist/harmony69.cjs.map +1 -1
  525. package/dist/harmony69.mjs +13 -16
  526. package/dist/harmony69.mjs.map +1 -1
  527. package/dist/harmony70.cjs +15 -15
  528. package/dist/harmony70.cjs.map +1 -1
  529. package/dist/harmony70.mjs +16 -16
  530. package/dist/harmony70.mjs.map +1 -1
  531. package/dist/harmony71.cjs +16 -15
  532. package/dist/harmony71.cjs.map +1 -1
  533. package/dist/harmony71.mjs +17 -16
  534. package/dist/harmony71.mjs.map +1 -1
  535. package/dist/harmony72.cjs +20 -15
  536. package/dist/harmony72.cjs.map +1 -1
  537. package/dist/harmony72.mjs +20 -15
  538. package/dist/harmony72.mjs.map +1 -1
  539. package/dist/harmony73.cjs +19 -16
  540. package/dist/harmony73.cjs.map +1 -1
  541. package/dist/harmony73.mjs +19 -16
  542. package/dist/harmony73.mjs.map +1 -1
  543. package/dist/harmony74.cjs +8 -15
  544. package/dist/harmony74.cjs.map +1 -1
  545. package/dist/harmony74.mjs +8 -15
  546. package/dist/harmony74.mjs.map +1 -1
  547. package/dist/harmony75.cjs +9 -16
  548. package/dist/harmony75.cjs.map +1 -1
  549. package/dist/harmony75.mjs +9 -16
  550. package/dist/harmony75.mjs.map +1 -1
  551. package/dist/harmony76.cjs +9 -14
  552. package/dist/harmony76.cjs.map +1 -1
  553. package/dist/harmony76.mjs +9 -14
  554. package/dist/harmony76.mjs.map +1 -1
  555. package/dist/harmony77.cjs +9 -14
  556. package/dist/harmony77.cjs.map +1 -1
  557. package/dist/harmony77.mjs +9 -14
  558. package/dist/harmony77.mjs.map +1 -1
  559. package/dist/harmony78.cjs +15 -124
  560. package/dist/harmony78.cjs.map +1 -1
  561. package/dist/harmony78.mjs +15 -124
  562. package/dist/harmony78.mjs.map +1 -1
  563. package/dist/harmony79.cjs +10 -82
  564. package/dist/harmony79.cjs.map +1 -1
  565. package/dist/harmony79.mjs +10 -82
  566. package/dist/harmony79.mjs.map +1 -1
  567. package/dist/harmony80.cjs +13 -6
  568. package/dist/harmony80.cjs.map +1 -1
  569. package/dist/harmony80.mjs +13 -6
  570. package/dist/harmony80.mjs.map +1 -1
  571. package/dist/harmony81.cjs +10 -28
  572. package/dist/harmony81.cjs.map +1 -1
  573. package/dist/harmony81.mjs +10 -28
  574. package/dist/harmony81.mjs.map +1 -1
  575. package/dist/harmony82.cjs +14 -24
  576. package/dist/harmony82.cjs.map +1 -1
  577. package/dist/harmony82.mjs +14 -24
  578. package/dist/harmony82.mjs.map +1 -1
  579. package/dist/harmony83.cjs +8 -141
  580. package/dist/harmony83.cjs.map +1 -1
  581. package/dist/harmony83.mjs +8 -141
  582. package/dist/harmony83.mjs.map +1 -1
  583. package/dist/harmony84.cjs +11 -37
  584. package/dist/harmony84.cjs.map +1 -1
  585. package/dist/harmony84.mjs +11 -37
  586. package/dist/harmony84.mjs.map +1 -1
  587. package/dist/harmony85.cjs +11 -26
  588. package/dist/harmony85.cjs.map +1 -1
  589. package/dist/harmony85.mjs +11 -26
  590. package/dist/harmony85.mjs.map +1 -1
  591. package/dist/harmony86.cjs +9 -4
  592. package/dist/harmony86.cjs.map +1 -1
  593. package/dist/harmony86.mjs +9 -4
  594. package/dist/harmony86.mjs.map +1 -1
  595. package/dist/harmony87.cjs +9 -84
  596. package/dist/harmony87.cjs.map +1 -1
  597. package/dist/harmony87.mjs +9 -84
  598. package/dist/harmony87.mjs.map +1 -1
  599. package/dist/harmony88.cjs +9 -58
  600. package/dist/harmony88.cjs.map +1 -1
  601. package/dist/harmony88.mjs +9 -58
  602. package/dist/harmony88.mjs.map +1 -1
  603. package/dist/harmony89.cjs +88 -18
  604. package/dist/harmony89.cjs.map +1 -1
  605. package/dist/harmony89.mjs +88 -18
  606. package/dist/harmony89.mjs.map +1 -1
  607. package/dist/harmony96.cjs +2 -2
  608. package/dist/harmony96.mjs +2 -2
  609. package/dist/harmony98.cjs +2 -2
  610. package/dist/harmony98.mjs +2 -2
  611. package/dist/harmony99.cjs +4 -4
  612. package/dist/harmony99.mjs +4 -4
  613. package/dist/types/src/features/permissions/components/ProjectActionResolverContextProvider.d.ts +2 -2
  614. package/dist/types/src/features/permissions/context/ActionsContext.d.ts +2 -2
  615. package/package.json +1 -1
@@ -1,31 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const debounce = require("./harmony153.cjs");
4
- const isObject = require("./harmony154.cjs");
5
- var throttle_1;
6
- var hasRequiredThrottle;
7
- function requireThrottle() {
8
- if (hasRequiredThrottle) return throttle_1;
9
- hasRequiredThrottle = 1;
10
- var debounce$1 = debounce.__require(), isObject$1 = isObject.__require();
11
- var FUNC_ERROR_TEXT = "Expected a function";
12
- function throttle(func, wait, options) {
13
- var leading = true, trailing = true;
14
- if (typeof func != "function") {
15
- throw new TypeError(FUNC_ERROR_TEXT);
3
+ const _baseTrim = require("./harmony167.cjs");
4
+ const isObject = require("./harmony155.cjs");
5
+ const isSymbol = require("./harmony168.cjs");
6
+ var toNumber_1;
7
+ var hasRequiredToNumber;
8
+ function requireToNumber() {
9
+ if (hasRequiredToNumber) return toNumber_1;
10
+ hasRequiredToNumber = 1;
11
+ var baseTrim = _baseTrim.__require(), isObject$1 = isObject.__require(), isSymbol$1 = isSymbol.__require();
12
+ var NAN = 0 / 0;
13
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
14
+ var reIsBinary = /^0b[01]+$/i;
15
+ var reIsOctal = /^0o[0-7]+$/i;
16
+ var freeParseInt = parseInt;
17
+ function toNumber(value) {
18
+ if (typeof value == "number") {
19
+ return value;
16
20
  }
17
- if (isObject$1(options)) {
18
- leading = "leading" in options ? !!options.leading : leading;
19
- trailing = "trailing" in options ? !!options.trailing : trailing;
21
+ if (isSymbol$1(value)) {
22
+ return NAN;
20
23
  }
21
- return debounce$1(func, wait, {
22
- "leading": leading,
23
- "maxWait": wait,
24
- "trailing": trailing
25
- });
24
+ if (isObject$1(value)) {
25
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
26
+ value = isObject$1(other) ? other + "" : other;
27
+ }
28
+ if (typeof value != "string") {
29
+ return value === 0 ? value : +value;
30
+ }
31
+ value = baseTrim(value);
32
+ var isBinary = reIsBinary.test(value);
33
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
26
34
  }
27
- throttle_1 = throttle;
28
- return throttle_1;
35
+ toNumber_1 = toNumber;
36
+ return toNumber_1;
29
37
  }
30
- exports.__require = requireThrottle;
38
+ exports.__require = requireToNumber;
31
39
  //# sourceMappingURL=harmony157.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony157.cjs","sources":["../node_modules/lodash/throttle.js"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n"],"names":["debounce","require$$0","isObject","require$$1"],"mappings":";;;;;;;;;AAAA,MAAIA,aAAWC,SAAAA,UAAqB,GAChCC,aAAWC,SAAAA,UAAqB;AAGpC,MAAI,kBAAkB;AA8CtB,WAAS,SAAS,MAAM,MAAM,SAAS;AACrC,QAAI,UAAU,MACV,WAAW;AAEf,QAAI,OAAO,QAAQ,YAAY;AAC7B,YAAM,IAAI,UAAU,eAAe;AAAA,IACvC;AACE,QAAID,WAAS,OAAO,GAAG;AACrB,gBAAU,aAAa,UAAU,CAAC,CAAC,QAAQ,UAAU;AACrD,iBAAW,cAAc,UAAU,CAAC,CAAC,QAAQ,WAAW;AAAA,IAC5D;AACE,WAAOF,WAAS,MAAM,MAAM;AAAA,MAC1B,WAAW;AAAA,MACX,WAAW;AAAA,MACX,YAAY;AAAA,IAChB,CAAG;AAAA,EACH;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony157.cjs","sources":["../node_modules/lodash/toNumber.js"],"sourcesContent":["var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["require$$0","isObject","require$$1","isSymbol","require$$2"],"mappings":";;;;;;;;;;AAAA,MAAI,WAAWA,UAAAA,UAAsB,GACjCC,aAAWC,SAAAA,UAAqB,GAChCC,aAAWC,SAAAA,UAAqB;AAGpC,MAAI,MAAM,IAAI;AAGd,MAAI,aAAa;AAGjB,MAAI,aAAa;AAGjB,MAAI,YAAY;AAGhB,MAAI,eAAe;AAyBnB,WAAS,SAAS,OAAO;AACvB,QAAI,OAAO,SAAS,UAAU;AAC5B,aAAO;AAAA,IACX;AACE,QAAID,WAAS,KAAK,GAAG;AACnB,aAAO;AAAA,IACX;AACE,QAAIF,WAAS,KAAK,GAAG;AACnB,UAAI,QAAQ,OAAO,MAAM,WAAW,aAAa,MAAM,QAAO,IAAK;AACnE,cAAQA,WAAS,KAAK,IAAK,QAAQ,KAAM;AAAA,IAC7C;AACE,QAAI,OAAO,SAAS,UAAU;AAC5B,aAAO,UAAU,IAAI,QAAQ,CAAC;AAAA,IAClC;AACE,YAAQ,SAAS,KAAK;AACtB,QAAI,WAAW,WAAW,KAAK,KAAK;AACpC,WAAQ,YAAY,UAAU,KAAK,KAAK,IACpC,aAAa,MAAM,MAAM,CAAC,GAAG,WAAW,IAAI,CAAC,IAC5C,WAAW,KAAK,KAAK,IAAI,MAAM,CAAC;AAAA,EACvC;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
@@ -1,31 +1,39 @@
1
- import { __require as requireDebounce } from "./harmony153.mjs";
2
- import { __require as requireIsObject } from "./harmony154.mjs";
3
- var throttle_1;
4
- var hasRequiredThrottle;
5
- function requireThrottle() {
6
- if (hasRequiredThrottle) return throttle_1;
7
- hasRequiredThrottle = 1;
8
- var debounce = requireDebounce(), isObject = requireIsObject();
9
- var FUNC_ERROR_TEXT = "Expected a function";
10
- function throttle(func, wait, options) {
11
- var leading = true, trailing = true;
12
- if (typeof func != "function") {
13
- throw new TypeError(FUNC_ERROR_TEXT);
1
+ import { __require as require_baseTrim } from "./harmony167.mjs";
2
+ import { __require as requireIsObject } from "./harmony155.mjs";
3
+ import { __require as requireIsSymbol } from "./harmony168.mjs";
4
+ var toNumber_1;
5
+ var hasRequiredToNumber;
6
+ function requireToNumber() {
7
+ if (hasRequiredToNumber) return toNumber_1;
8
+ hasRequiredToNumber = 1;
9
+ var baseTrim = require_baseTrim(), isObject = requireIsObject(), isSymbol = requireIsSymbol();
10
+ var NAN = 0 / 0;
11
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
12
+ var reIsBinary = /^0b[01]+$/i;
13
+ var reIsOctal = /^0o[0-7]+$/i;
14
+ var freeParseInt = parseInt;
15
+ function toNumber(value) {
16
+ if (typeof value == "number") {
17
+ return value;
14
18
  }
15
- if (isObject(options)) {
16
- leading = "leading" in options ? !!options.leading : leading;
17
- trailing = "trailing" in options ? !!options.trailing : trailing;
19
+ if (isSymbol(value)) {
20
+ return NAN;
18
21
  }
19
- return debounce(func, wait, {
20
- "leading": leading,
21
- "maxWait": wait,
22
- "trailing": trailing
23
- });
22
+ if (isObject(value)) {
23
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
24
+ value = isObject(other) ? other + "" : other;
25
+ }
26
+ if (typeof value != "string") {
27
+ return value === 0 ? value : +value;
28
+ }
29
+ value = baseTrim(value);
30
+ var isBinary = reIsBinary.test(value);
31
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
24
32
  }
25
- throttle_1 = throttle;
26
- return throttle_1;
33
+ toNumber_1 = toNumber;
34
+ return toNumber_1;
27
35
  }
28
36
  export {
29
- requireThrottle as __require
37
+ requireToNumber as __require
30
38
  };
31
39
  //# sourceMappingURL=harmony157.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony157.mjs","sources":["../node_modules/lodash/throttle.js"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;AAAA,MAAI,WAAWA,gBAAqB,GAChC,WAAWC,gBAAqB;AAGpC,MAAI,kBAAkB;AA8CtB,WAAS,SAAS,MAAM,MAAM,SAAS;AACrC,QAAI,UAAU,MACV,WAAW;AAEf,QAAI,OAAO,QAAQ,YAAY;AAC7B,YAAM,IAAI,UAAU,eAAe;AAAA,IACvC;AACE,QAAI,SAAS,OAAO,GAAG;AACrB,gBAAU,aAAa,UAAU,CAAC,CAAC,QAAQ,UAAU;AACrD,iBAAW,cAAc,UAAU,CAAC,CAAC,QAAQ,WAAW;AAAA,IAC5D;AACE,WAAO,SAAS,MAAM,MAAM;AAAA,MAC1B,WAAW;AAAA,MACX,WAAW;AAAA,MACX,YAAY;AAAA,IAChB,CAAG;AAAA,EACH;AAEA,eAAiB;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony157.mjs","sources":["../node_modules/lodash/toNumber.js"],"sourcesContent":["var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;AAAA,MAAI,WAAWA,iBAAsB,GACjC,WAAWC,gBAAqB,GAChC,WAAWC,gBAAqB;AAGpC,MAAI,MAAM,IAAI;AAGd,MAAI,aAAa;AAGjB,MAAI,aAAa;AAGjB,MAAI,YAAY;AAGhB,MAAI,eAAe;AAyBnB,WAAS,SAAS,OAAO;AACvB,QAAI,OAAO,SAAS,UAAU;AAC5B,aAAO;AAAA,IACX;AACE,QAAI,SAAS,KAAK,GAAG;AACnB,aAAO;AAAA,IACX;AACE,QAAI,SAAS,KAAK,GAAG;AACnB,UAAI,QAAQ,OAAO,MAAM,WAAW,aAAa,MAAM,QAAO,IAAK;AACnE,cAAQ,SAAS,KAAK,IAAK,QAAQ,KAAM;AAAA,IAC7C;AACE,QAAI,OAAO,SAAS,UAAU;AAC5B,aAAO,UAAU,IAAI,QAAQ,CAAC;AAAA,IAClC;AACE,YAAQ,SAAS,KAAK;AACtB,QAAI,WAAW,WAAW,KAAK,KAAK;AACpC,WAAQ,YAAY,UAAU,KAAK,KAAK,IACpC,aAAa,MAAM,MAAM,CAAC,GAAG,WAAW,IAAI,CAAC,IAC5C,WAAW,KAAK,KAAK,IAAI,MAAM,CAAC;AAAA,EACvC;AAEA,eAAiB;;;","x_google_ignoreList":[0]}
@@ -1,12 +1,31 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const mainLabel = "_mainLabel_1baso_1";
4
- const subLabel = "_subLabel_1baso_5";
5
- const styles = {
6
- mainLabel,
7
- subLabel
8
- };
9
- exports.default = styles;
10
- exports.mainLabel = mainLabel;
11
- exports.subLabel = subLabel;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const debounce = require("./harmony154.cjs");
4
+ const isObject = require("./harmony155.cjs");
5
+ var throttle_1;
6
+ var hasRequiredThrottle;
7
+ function requireThrottle() {
8
+ if (hasRequiredThrottle) return throttle_1;
9
+ hasRequiredThrottle = 1;
10
+ var debounce$1 = debounce.__require(), isObject$1 = isObject.__require();
11
+ var FUNC_ERROR_TEXT = "Expected a function";
12
+ function throttle(func, wait, options) {
13
+ var leading = true, trailing = true;
14
+ if (typeof func != "function") {
15
+ throw new TypeError(FUNC_ERROR_TEXT);
16
+ }
17
+ if (isObject$1(options)) {
18
+ leading = "leading" in options ? !!options.leading : leading;
19
+ trailing = "trailing" in options ? !!options.trailing : trailing;
20
+ }
21
+ return debounce$1(func, wait, {
22
+ "leading": leading,
23
+ "maxWait": wait,
24
+ "trailing": trailing
25
+ });
26
+ }
27
+ throttle_1 = throttle;
28
+ return throttle_1;
29
+ }
30
+ exports.__require = requireThrottle;
12
31
  //# sourceMappingURL=harmony158.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony158.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony158.cjs","sources":["../node_modules/lodash/throttle.js"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n"],"names":["debounce","require$$0","isObject","require$$1"],"mappings":";;;;;;;;;AAAA,MAAIA,aAAWC,SAAAA,UAAqB,GAChCC,aAAWC,SAAAA,UAAqB;AAGpC,MAAI,kBAAkB;AA8CtB,WAAS,SAAS,MAAM,MAAM,SAAS;AACrC,QAAI,UAAU,MACV,WAAW;AAEf,QAAI,OAAO,QAAQ,YAAY;AAC7B,YAAM,IAAI,UAAU,eAAe;AAAA,IACvC;AACE,QAAID,WAAS,OAAO,GAAG;AACrB,gBAAU,aAAa,UAAU,CAAC,CAAC,QAAQ,UAAU;AACrD,iBAAW,cAAc,UAAU,CAAC,CAAC,QAAQ,WAAW;AAAA,IAC5D;AACE,WAAOF,WAAS,MAAM,MAAM;AAAA,MAC1B,WAAW;AAAA,MACX,WAAW;AAAA,MACX,YAAY;AAAA,IAChB,CAAG;AAAA,EACH;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
@@ -1,12 +1,31 @@
1
- const mainLabel = "_mainLabel_1baso_1";
2
- const subLabel = "_subLabel_1baso_5";
3
- const styles = {
4
- mainLabel,
5
- subLabel
6
- };
1
+ import { __require as requireDebounce } from "./harmony154.mjs";
2
+ import { __require as requireIsObject } from "./harmony155.mjs";
3
+ var throttle_1;
4
+ var hasRequiredThrottle;
5
+ function requireThrottle() {
6
+ if (hasRequiredThrottle) return throttle_1;
7
+ hasRequiredThrottle = 1;
8
+ var debounce = requireDebounce(), isObject = requireIsObject();
9
+ var FUNC_ERROR_TEXT = "Expected a function";
10
+ function throttle(func, wait, options) {
11
+ var leading = true, trailing = true;
12
+ if (typeof func != "function") {
13
+ throw new TypeError(FUNC_ERROR_TEXT);
14
+ }
15
+ if (isObject(options)) {
16
+ leading = "leading" in options ? !!options.leading : leading;
17
+ trailing = "trailing" in options ? !!options.trailing : trailing;
18
+ }
19
+ return debounce(func, wait, {
20
+ "leading": leading,
21
+ "maxWait": wait,
22
+ "trailing": trailing
23
+ });
24
+ }
25
+ throttle_1 = throttle;
26
+ return throttle_1;
27
+ }
7
28
  export {
8
- styles as default,
9
- mainLabel,
10
- subLabel
29
+ requireThrottle as __require
11
30
  };
12
31
  //# sourceMappingURL=harmony158.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony158.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"harmony158.mjs","sources":["../node_modules/lodash/throttle.js"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;AAAA,MAAI,WAAWA,gBAAqB,GAChC,WAAWC,gBAAqB;AAGpC,MAAI,kBAAkB;AA8CtB,WAAS,SAAS,MAAM,MAAM,SAAS;AACrC,QAAI,UAAU,MACV,WAAW;AAEf,QAAI,OAAO,QAAQ,YAAY;AAC7B,YAAM,IAAI,UAAU,eAAe;AAAA,IACvC;AACE,QAAI,SAAS,OAAO,GAAG;AACrB,gBAAU,aAAa,UAAU,CAAC,CAAC,QAAQ,UAAU;AACrD,iBAAW,cAAc,UAAU,CAAC,CAAC,QAAQ,WAAW;AAAA,IAC5D;AACE,WAAO,SAAS,MAAM,MAAM;AAAA,MAC1B,WAAW;AAAA,MACX,WAAW;AAAA,MACX,YAAY;AAAA,IAChB,CAAG;AAAA,EACH;AAEA,eAAiB;;;","x_google_ignoreList":[0]}
@@ -1,9 +1,13 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const switchContainer = "_switchContainer_9byp6_1";
4
- const styles = {
5
- switchContainer
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const hasAdminRight = (adminRights, right) => {
4
+ if (!Array.isArray(adminRights)) return false;
5
+ return adminRights.includes(right);
6
6
  };
7
- exports.default = styles;
8
- exports.switchContainer = switchContainer;
7
+ const hasAnyAdminRight = (adminRights, rights) => {
8
+ if (!Array.isArray(adminRights)) return false;
9
+ return rights.some((right) => adminRights.includes(right));
10
+ };
11
+ exports.hasAdminRight = hasAdminRight;
12
+ exports.hasAnyAdminRight = hasAnyAdminRight;
9
13
  //# sourceMappingURL=harmony159.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony159.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"harmony159.cjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":";;AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;;;"}
@@ -1,9 +1,13 @@
1
- const switchContainer = "_switchContainer_9byp6_1";
2
- const styles = {
3
- switchContainer
1
+ const hasAdminRight = (adminRights, right) => {
2
+ if (!Array.isArray(adminRights)) return false;
3
+ return adminRights.includes(right);
4
+ };
5
+ const hasAnyAdminRight = (adminRights, rights) => {
6
+ if (!Array.isArray(adminRights)) return false;
7
+ return rights.some((right) => adminRights.includes(right));
4
8
  };
5
9
  export {
6
- styles as default,
7
- switchContainer
10
+ hasAdminRight,
11
+ hasAnyAdminRight
8
12
  };
9
13
  //# sourceMappingURL=harmony159.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony159.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"harmony159.mjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":"AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;"}
@@ -1,18 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const React = require("react");
5
- const NavigationClientContext = React.createContext(void 0);
6
- const NavigationClientProvider = ({ client, children }) => {
7
- return /* @__PURE__ */ jsxRuntime.jsx(NavigationClientContext.Provider, { value: client, children });
8
- };
9
- const useNavigationClient = () => {
10
- const context = React.useContext(NavigationClientContext);
11
- if (context === void 0) {
12
- throw new Error("useNavigationClient must be used within a NavigationClientProvider");
13
- }
14
- return context;
15
- };
16
- exports.NavigationClientProvider = NavigationClientProvider;
17
- exports.useNavigationClient = useNavigationClient;
3
+ const teamTypes = require("./harmony52.cjs");
4
+ const apiContracts = require("@lokalise/api-contracts");
5
+ const listTeams = apiContracts.buildGetRoute({
6
+ description: "List all teams available for the user",
7
+ requestHeaderSchema: teamTypes.TEAM_API_BASE_HEADERS_SCHEMA,
8
+ requestQuerySchema: teamTypes.LIST_TEAMS_QUERY_SCHEMA,
9
+ pathResolver: () => "/teams",
10
+ successResponseBodySchema: teamTypes.LIST_TEAMS_RESPONSE_SCHEMA
11
+ });
12
+ const retrieveTeam = apiContracts.buildGetRoute({
13
+ description: "Retrieve a team by ID",
14
+ requestHeaderSchema: teamTypes.TEAM_API_BASE_HEADERS_SCHEMA,
15
+ requestPathParamsSchema: teamTypes.RETRIEVE_TEAM_PATH_PARAMS_SCHEMA,
16
+ pathResolver: ({ teamId }) => `/teams/${teamId}`,
17
+ successResponseBodySchema: teamTypes.RETRIEVE_TEAM_RESPONSE_SCHEMA
18
+ });
19
+ exports.listTeams = listTeams;
20
+ exports.retrieveTeam = retrieveTeam;
18
21
  //# sourceMappingURL=harmony16.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony16.cjs","sources":["../src/features/navigation/providers/NavigationClientProvider.tsx"],"sourcesContent":["import { type ReactNode, createContext, useContext } from 'react'\nimport type { NavigationClient } from '../core/NavigationClient'\n\ninterface NavigationClientProviderProps {\n\tclient: NavigationClient\n\tchildren: ReactNode\n}\n\nconst NavigationClientContext = createContext<NavigationClient | undefined>(undefined)\n\nexport const NavigationClientProvider = ({ client, children }: NavigationClientProviderProps) => {\n\treturn (\n\t\t<NavigationClientContext.Provider value={client}>{children}</NavigationClientContext.Provider>\n\t)\n}\n\nexport const useNavigationClient = (): NavigationClient => {\n\tconst context = useContext(NavigationClientContext)\n\tif (context === undefined) {\n\t\tthrow new Error('useNavigationClient must be used within a NavigationClientProvider')\n\t}\n\treturn context\n}\n"],"names":["createContext","useContext"],"mappings":";;;;AAQA,MAAM,0BAA0BA,oBAA4C,MAAS;AAE9E,MAAM,2BAA2B,CAAC,EAAE,QAAQ,eAA8C;AAChG,wCACE,wBAAwB,UAAxB,EAAiC,OAAO,QAAS,UAAS;AAE7D;AAEO,MAAM,sBAAsB,MAAwB;AACpD,QAAA,UAAUC,iBAAW,uBAAuB;AAClD,MAAI,YAAY,QAAW;AACpB,UAAA,IAAI,MAAM,oEAAoE;AAAA,EAAA;AAE9E,SAAA;AACR;;;"}
1
+ {"version":3,"file":"harmony16.cjs","sources":["../src/features/publicApi/team.ts"],"sourcesContent":["import {\n\tLIST_TEAMS_QUERY_SCHEMA,\n\tLIST_TEAMS_RESPONSE_SCHEMA,\n\tRETRIEVE_TEAM_PATH_PARAMS_SCHEMA,\n\tRETRIEVE_TEAM_RESPONSE_SCHEMA,\n\tTEAM_API_BASE_HEADERS_SCHEMA,\n} from '@features/publicApi/types/teamTypes'\nimport { buildGetRoute } from '@lokalise/api-contracts'\n\nexport const listTeams = buildGetRoute({\n\tdescription: 'List all teams available for the user',\n\n\trequestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,\n\n\trequestQuerySchema: LIST_TEAMS_QUERY_SCHEMA,\n\tpathResolver: () => '/teams',\n\n\tsuccessResponseBodySchema: LIST_TEAMS_RESPONSE_SCHEMA,\n})\n\nexport const retrieveTeam = buildGetRoute({\n\tdescription: 'Retrieve a team by ID',\n\n\trequestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,\n\n\trequestPathParamsSchema: RETRIEVE_TEAM_PATH_PARAMS_SCHEMA,\n\tpathResolver: ({ teamId }) => `/teams/${teamId}`,\n\n\tsuccessResponseBodySchema: RETRIEVE_TEAM_RESPONSE_SCHEMA,\n})\n"],"names":["buildGetRoute","TEAM_API_BASE_HEADERS_SCHEMA","LIST_TEAMS_QUERY_SCHEMA","LIST_TEAMS_RESPONSE_SCHEMA","RETRIEVE_TEAM_PATH_PARAMS_SCHEMA","RETRIEVE_TEAM_RESPONSE_SCHEMA"],"mappings":";;;;AASO,MAAM,YAAYA,aAAAA,cAAc;AAAA,EACtC,aAAa;AAAA,EAEb,qBAAqBC,UAAA;AAAA,EAErB,oBAAoBC,UAAA;AAAA,EACpB,cAAc,MAAM;AAAA,EAEpB,2BAA2BC,UAAAA;AAC5B,CAAC;AAEM,MAAM,eAAeH,aAAAA,cAAc;AAAA,EACzC,aAAa;AAAA,EAEb,qBAAqBC,UAAA;AAAA,EAErB,yBAAyBG,UAAA;AAAA,EACzB,cAAc,CAAC,EAAE,OAAO,MAAM,UAAU,MAAM;AAAA,EAE9C,2BAA2BC,UAAAA;AAC5B,CAAC;;;"}
@@ -1,18 +1,21 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { useContext, createContext } from "react";
3
- const NavigationClientContext = createContext(void 0);
4
- const NavigationClientProvider = ({ client, children }) => {
5
- return /* @__PURE__ */ jsx(NavigationClientContext.Provider, { value: client, children });
6
- };
7
- const useNavigationClient = () => {
8
- const context = useContext(NavigationClientContext);
9
- if (context === void 0) {
10
- throw new Error("useNavigationClient must be used within a NavigationClientProvider");
11
- }
12
- return context;
13
- };
1
+ import { LIST_TEAMS_RESPONSE_SCHEMA, LIST_TEAMS_QUERY_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA } from "./harmony52.mjs";
2
+ import { buildGetRoute } from "@lokalise/api-contracts";
3
+ const listTeams = buildGetRoute({
4
+ description: "List all teams available for the user",
5
+ requestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,
6
+ requestQuerySchema: LIST_TEAMS_QUERY_SCHEMA,
7
+ pathResolver: () => "/teams",
8
+ successResponseBodySchema: LIST_TEAMS_RESPONSE_SCHEMA
9
+ });
10
+ const retrieveTeam = buildGetRoute({
11
+ description: "Retrieve a team by ID",
12
+ requestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,
13
+ requestPathParamsSchema: RETRIEVE_TEAM_PATH_PARAMS_SCHEMA,
14
+ pathResolver: ({ teamId }) => `/teams/${teamId}`,
15
+ successResponseBodySchema: RETRIEVE_TEAM_RESPONSE_SCHEMA
16
+ });
14
17
  export {
15
- NavigationClientProvider,
16
- useNavigationClient
18
+ listTeams,
19
+ retrieveTeam
17
20
  };
18
21
  //# sourceMappingURL=harmony16.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony16.mjs","sources":["../src/features/navigation/providers/NavigationClientProvider.tsx"],"sourcesContent":["import { type ReactNode, createContext, useContext } from 'react'\nimport type { NavigationClient } from '../core/NavigationClient'\n\ninterface NavigationClientProviderProps {\n\tclient: NavigationClient\n\tchildren: ReactNode\n}\n\nconst NavigationClientContext = createContext<NavigationClient | undefined>(undefined)\n\nexport const NavigationClientProvider = ({ client, children }: NavigationClientProviderProps) => {\n\treturn (\n\t\t<NavigationClientContext.Provider value={client}>{children}</NavigationClientContext.Provider>\n\t)\n}\n\nexport const useNavigationClient = (): NavigationClient => {\n\tconst context = useContext(NavigationClientContext)\n\tif (context === undefined) {\n\t\tthrow new Error('useNavigationClient must be used within a NavigationClientProvider')\n\t}\n\treturn context\n}\n"],"names":[],"mappings":";;AAQA,MAAM,0BAA0B,cAA4C,MAAS;AAE9E,MAAM,2BAA2B,CAAC,EAAE,QAAQ,eAA8C;AAChG,6BACE,wBAAwB,UAAxB,EAAiC,OAAO,QAAS,UAAS;AAE7D;AAEO,MAAM,sBAAsB,MAAwB;AACpD,QAAA,UAAU,WAAW,uBAAuB;AAClD,MAAI,YAAY,QAAW;AACpB,UAAA,IAAI,MAAM,oEAAoE;AAAA,EAAA;AAE9E,SAAA;AACR;"}
1
+ {"version":3,"file":"harmony16.mjs","sources":["../src/features/publicApi/team.ts"],"sourcesContent":["import {\n\tLIST_TEAMS_QUERY_SCHEMA,\n\tLIST_TEAMS_RESPONSE_SCHEMA,\n\tRETRIEVE_TEAM_PATH_PARAMS_SCHEMA,\n\tRETRIEVE_TEAM_RESPONSE_SCHEMA,\n\tTEAM_API_BASE_HEADERS_SCHEMA,\n} from '@features/publicApi/types/teamTypes'\nimport { buildGetRoute } from '@lokalise/api-contracts'\n\nexport const listTeams = buildGetRoute({\n\tdescription: 'List all teams available for the user',\n\n\trequestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,\n\n\trequestQuerySchema: LIST_TEAMS_QUERY_SCHEMA,\n\tpathResolver: () => '/teams',\n\n\tsuccessResponseBodySchema: LIST_TEAMS_RESPONSE_SCHEMA,\n})\n\nexport const retrieveTeam = buildGetRoute({\n\tdescription: 'Retrieve a team by ID',\n\n\trequestHeaderSchema: TEAM_API_BASE_HEADERS_SCHEMA,\n\n\trequestPathParamsSchema: RETRIEVE_TEAM_PATH_PARAMS_SCHEMA,\n\tpathResolver: ({ teamId }) => `/teams/${teamId}`,\n\n\tsuccessResponseBodySchema: RETRIEVE_TEAM_RESPONSE_SCHEMA,\n})\n"],"names":[],"mappings":";;AASO,MAAM,YAAY,cAAc;AAAA,EACtC,aAAa;AAAA,EAEb,qBAAqB;AAAA,EAErB,oBAAoB;AAAA,EACpB,cAAc,MAAM;AAAA,EAEpB,2BAA2B;AAC5B,CAAC;AAEM,MAAM,eAAe,cAAc;AAAA,EACzC,aAAa;AAAA,EAEb,qBAAqB;AAAA,EAErB,yBAAyB;AAAA,EACzB,cAAc,CAAC,EAAE,OAAO,MAAM,UAAU,MAAM;AAAA,EAE9C,2BAA2B;AAC5B,CAAC;"}
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const container = "_container_q5pot_1";
4
- const profileEmail = "_profileEmail_q5pot_5";
5
- const styles = {
6
- container,
7
- profileEmail
8
- };
9
- exports.container = container;
10
- exports.default = styles;
11
- exports.profileEmail = profileEmail;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const has = require("./harmony141.cjs");
4
+ const accessMarketingProjects = ({ enabledFeatureFlags }) => has.has(enabledFeatureFlags, "homeMarketingBeta");
5
+ exports.accessMarketingProjects = accessMarketingProjects;
12
6
  //# sourceMappingURL=harmony160.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony160.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony160.cjs","sources":["../src/features/permissions/action-resolvers/accessMarketingProjects.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const accessMarketingProjects: ActionResolver = ({ enabledFeatureFlags }) =>\n\thas(enabledFeatureFlags, 'homeMarketingBeta')\n"],"names":["has"],"mappings":";;;AAGO,MAAM,0BAA0C,CAAC,EAAE,oBACzD,MAAAA,IAAA,IAAI,qBAAqB,mBAAmB;;"}
@@ -1,12 +1,6 @@
1
- const container = "_container_q5pot_1";
2
- const profileEmail = "_profileEmail_q5pot_5";
3
- const styles = {
4
- container,
5
- profileEmail
6
- };
1
+ import { has } from "./harmony141.mjs";
2
+ const accessMarketingProjects = ({ enabledFeatureFlags }) => has(enabledFeatureFlags, "homeMarketingBeta");
7
3
  export {
8
- container,
9
- styles as default,
10
- profileEmail
4
+ accessMarketingProjects
11
5
  };
12
6
  //# sourceMappingURL=harmony160.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony160.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"harmony160.mjs","sources":["../src/features/permissions/action-resolvers/accessMarketingProjects.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const accessMarketingProjects: ActionResolver = ({ enabledFeatureFlags }) =>\n\thas(enabledFeatureFlags, 'homeMarketingBeta')\n"],"names":[],"mappings":";AAGO,MAAM,0BAA0C,CAAC,EAAE,oBACzD,MAAA,IAAI,qBAAqB,mBAAmB;"}
@@ -1,27 +1,6 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const wrapper = "_wrapper_1in7x_5";
4
- const profileImage = "_profileImage_1in7x_11";
5
- const teamDetails = "_teamDetails_1in7x_19";
6
- const planWrapper = "_planWrapper_1in7x_28";
7
- const teamName = "_teamName_1in7x_36";
8
- const membership = "_membership_1in7x_53";
9
- const defaultProfileImage = "_defaultProfileImage_1in7x_59";
10
- const styles = {
11
- wrapper,
12
- profileImage,
13
- teamDetails,
14
- planWrapper,
15
- teamName,
16
- membership,
17
- defaultProfileImage
18
- };
19
- exports.default = styles;
20
- exports.defaultProfileImage = defaultProfileImage;
21
- exports.membership = membership;
22
- exports.planWrapper = planWrapper;
23
- exports.profileImage = profileImage;
24
- exports.teamDetails = teamDetails;
25
- exports.teamName = teamName;
26
- exports.wrapper = wrapper;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const has = require("./harmony141.cjs");
4
+ const deleteProjects = ({ projectPermissions }) => has.has(projectPermissions, "settings");
5
+ exports.deleteProjects = deleteProjects;
27
6
  //# sourceMappingURL=harmony161.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony161.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony161.cjs","sources":["../src/features/permissions/action-resolvers/deleteProjects.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const deleteProjects: ActionResolver = ({ projectPermissions }) =>\n\thas(projectPermissions, 'settings')\n"],"names":["has"],"mappings":";;;AAGO,MAAM,iBAAiC,CAAC,EAAE,mBAChD,MAAAA,IAAA,IAAI,oBAAoB,UAAU;;"}
@@ -1,27 +1,6 @@
1
- const wrapper = "_wrapper_1in7x_5";
2
- const profileImage = "_profileImage_1in7x_11";
3
- const teamDetails = "_teamDetails_1in7x_19";
4
- const planWrapper = "_planWrapper_1in7x_28";
5
- const teamName = "_teamName_1in7x_36";
6
- const membership = "_membership_1in7x_53";
7
- const defaultProfileImage = "_defaultProfileImage_1in7x_59";
8
- const styles = {
9
- wrapper,
10
- profileImage,
11
- teamDetails,
12
- planWrapper,
13
- teamName,
14
- membership,
15
- defaultProfileImage
16
- };
1
+ import { has } from "./harmony141.mjs";
2
+ const deleteProjects = ({ projectPermissions }) => has(projectPermissions, "settings");
17
3
  export {
18
- styles as default,
19
- defaultProfileImage,
20
- membership,
21
- planWrapper,
22
- profileImage,
23
- teamDetails,
24
- teamName,
25
- wrapper
4
+ deleteProjects
26
5
  };
27
6
  //# sourceMappingURL=harmony161.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony161.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony161.mjs","sources":["../src/features/permissions/action-resolvers/deleteProjects.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const deleteProjects: ActionResolver = ({ projectPermissions }) =>\n\thas(projectPermissions, 'settings')\n"],"names":[],"mappings":";AAGO,MAAM,iBAAiC,CAAC,EAAE,mBAChD,MAAA,IAAI,oBAAoB,UAAU;"}
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const teamsContainer = "_teamsContainer_1ncrr_5";
4
- const styles = {
5
- teamsContainer
6
- };
7
- exports.default = styles;
8
- exports.teamsContainer = teamsContainer;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const has = require("./harmony141.cjs");
4
+ const manageContributors = ({ projectPermissions }) => has.has(projectPermissions, "contributors");
5
+ exports.manageContributors = manageContributors;
9
6
  //# sourceMappingURL=harmony162.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony162.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"harmony162.cjs","sources":["../src/features/permissions/action-resolvers/manageContributors.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const manageContributors: ActionResolver = ({ projectPermissions }) =>\n\thas(projectPermissions, 'contributors')\n"],"names":["has"],"mappings":";;;AAGO,MAAM,qBAAqC,CAAC,EAAE,mBACpD,MAAAA,IAAA,IAAI,oBAAoB,cAAc;;"}
@@ -1,9 +1,6 @@
1
- const teamsContainer = "_teamsContainer_1ncrr_5";
2
- const styles = {
3
- teamsContainer
4
- };
1
+ import { has } from "./harmony141.mjs";
2
+ const manageContributors = ({ projectPermissions }) => has(projectPermissions, "contributors");
5
3
  export {
6
- styles as default,
7
- teamsContainer
4
+ manageContributors
8
5
  };
9
6
  //# sourceMappingURL=harmony162.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony162.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"harmony162.mjs","sources":["../src/features/permissions/action-resolvers/manageContributors.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const manageContributors: ActionResolver = ({ projectPermissions }) =>\n\thas(projectPermissions, 'contributors')\n"],"names":[],"mappings":";AAGO,MAAM,qBAAqC,CAAC,EAAE,mBACpD,MAAA,IAAI,oBAAoB,cAAc;"}