@lokalise/harmony 1.27.3-exp-teamTypes.1 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/README.md +8 -7
  2. package/dist/harmony.cjs +30 -29
  3. package/dist/harmony.cjs.map +1 -1
  4. package/dist/harmony.css +3 -2
  5. package/dist/harmony.mjs +31 -30
  6. package/dist/harmony.mjs.map +1 -1
  7. package/dist/harmony100.cjs +59 -6
  8. package/dist/harmony100.cjs.map +1 -1
  9. package/dist/harmony100.mjs +59 -6
  10. package/dist/harmony100.mjs.map +1 -1
  11. package/dist/harmony101.cjs +7 -18
  12. package/dist/harmony101.cjs.map +1 -1
  13. package/dist/harmony101.mjs +7 -18
  14. package/dist/harmony101.mjs.map +1 -1
  15. package/dist/harmony102.cjs +18 -14
  16. package/dist/harmony102.cjs.map +1 -1
  17. package/dist/harmony102.mjs +18 -14
  18. package/dist/harmony102.mjs.map +1 -1
  19. package/dist/harmony103.cjs +14 -16
  20. package/dist/harmony103.cjs.map +1 -1
  21. package/dist/harmony103.mjs +14 -16
  22. package/dist/harmony103.mjs.map +1 -1
  23. package/dist/harmony104.cjs +17 -7
  24. package/dist/harmony104.cjs.map +1 -1
  25. package/dist/harmony104.mjs +16 -6
  26. package/dist/harmony104.mjs.map +1 -1
  27. package/dist/harmony105.cjs +6 -5
  28. package/dist/harmony105.cjs.map +1 -1
  29. package/dist/harmony105.mjs +6 -5
  30. package/dist/harmony106.cjs +5 -5
  31. package/dist/harmony106.mjs +5 -5
  32. package/dist/harmony107.cjs +6 -63
  33. package/dist/harmony107.cjs.map +1 -1
  34. package/dist/harmony107.mjs +5 -62
  35. package/dist/harmony107.mjs.map +1 -1
  36. package/dist/harmony108.cjs +61 -87
  37. package/dist/harmony108.cjs.map +1 -1
  38. package/dist/harmony108.mjs +61 -87
  39. package/dist/harmony108.mjs.map +1 -1
  40. package/dist/harmony109.cjs +88 -18
  41. package/dist/harmony109.cjs.map +1 -1
  42. package/dist/harmony109.mjs +87 -17
  43. package/dist/harmony109.mjs.map +1 -1
  44. package/dist/harmony110.cjs +19 -97
  45. package/dist/harmony110.cjs.map +1 -1
  46. package/dist/harmony110.mjs +18 -96
  47. package/dist/harmony110.mjs.map +1 -1
  48. package/dist/harmony111.cjs +94 -11
  49. package/dist/harmony111.cjs.map +1 -1
  50. package/dist/harmony111.mjs +94 -11
  51. package/dist/harmony111.mjs.map +1 -1
  52. package/dist/harmony112.cjs +12 -13
  53. package/dist/harmony112.cjs.map +1 -1
  54. package/dist/harmony112.mjs +12 -13
  55. package/dist/harmony112.mjs.map +1 -1
  56. package/dist/harmony113.cjs +13 -35
  57. package/dist/harmony113.cjs.map +1 -1
  58. package/dist/harmony113.mjs +13 -35
  59. package/dist/harmony113.mjs.map +1 -1
  60. package/dist/harmony114.cjs +32 -24
  61. package/dist/harmony114.cjs.map +1 -1
  62. package/dist/harmony114.mjs +32 -24
  63. package/dist/harmony114.mjs.map +1 -1
  64. package/dist/harmony115.cjs +28 -7
  65. package/dist/harmony115.cjs.map +1 -1
  66. package/dist/harmony115.mjs +28 -7
  67. package/dist/harmony115.mjs.map +1 -1
  68. package/dist/harmony116.cjs +6 -56
  69. package/dist/harmony116.cjs.map +1 -1
  70. package/dist/harmony116.mjs +6 -56
  71. package/dist/harmony116.mjs.map +1 -1
  72. package/dist/harmony117.cjs +54 -57
  73. package/dist/harmony117.cjs.map +1 -1
  74. package/dist/harmony117.mjs +55 -58
  75. package/dist/harmony117.mjs.map +1 -1
  76. package/dist/harmony118.cjs +60 -18
  77. package/dist/harmony118.cjs.map +1 -1
  78. package/dist/harmony118.mjs +59 -17
  79. package/dist/harmony118.mjs.map +1 -1
  80. package/dist/harmony119.cjs +19 -14
  81. package/dist/harmony119.cjs.map +1 -1
  82. package/dist/harmony119.mjs +18 -13
  83. package/dist/harmony119.mjs.map +1 -1
  84. package/dist/harmony120.cjs +12 -14
  85. package/dist/harmony120.cjs.map +1 -1
  86. package/dist/harmony120.mjs +12 -14
  87. package/dist/harmony120.mjs.map +1 -1
  88. package/dist/harmony121.cjs +13 -14
  89. package/dist/harmony121.cjs.map +1 -1
  90. package/dist/harmony121.mjs +13 -14
  91. package/dist/harmony121.mjs.map +1 -1
  92. package/dist/harmony122.cjs +15 -10
  93. package/dist/harmony122.cjs.map +1 -1
  94. package/dist/harmony122.mjs +15 -10
  95. package/dist/harmony122.mjs.map +1 -1
  96. package/dist/harmony123.cjs +10 -15
  97. package/dist/harmony123.cjs.map +1 -1
  98. package/dist/harmony123.mjs +10 -15
  99. package/dist/harmony123.mjs.map +1 -1
  100. package/dist/harmony124.cjs +13 -18
  101. package/dist/harmony124.cjs.map +1 -1
  102. package/dist/harmony124.mjs +13 -18
  103. package/dist/harmony124.mjs.map +1 -1
  104. package/dist/harmony125.cjs +19 -10
  105. package/dist/harmony125.cjs.map +1 -1
  106. package/dist/harmony125.mjs +19 -10
  107. package/dist/harmony125.mjs.map +1 -1
  108. package/dist/harmony126.cjs +12 -46
  109. package/dist/harmony126.cjs.map +1 -1
  110. package/dist/harmony126.mjs +12 -46
  111. package/dist/harmony126.mjs.map +1 -1
  112. package/dist/harmony127.cjs +46 -12
  113. package/dist/harmony127.cjs.map +1 -1
  114. package/dist/harmony127.mjs +45 -11
  115. package/dist/harmony127.mjs.map +1 -1
  116. package/dist/harmony128.cjs +13 -7
  117. package/dist/harmony128.cjs.map +1 -1
  118. package/dist/harmony128.mjs +12 -6
  119. package/dist/harmony128.mjs.map +1 -1
  120. package/dist/harmony129.cjs +5 -11
  121. package/dist/harmony129.cjs.map +1 -1
  122. package/dist/harmony129.mjs +5 -11
  123. package/dist/harmony129.mjs.map +1 -1
  124. package/dist/harmony130.cjs +11 -31
  125. package/dist/harmony130.cjs.map +1 -1
  126. package/dist/harmony130.mjs +11 -31
  127. package/dist/harmony130.mjs.map +1 -1
  128. package/dist/harmony131.cjs +28 -10
  129. package/dist/harmony131.cjs.map +1 -1
  130. package/dist/harmony131.mjs +28 -10
  131. package/dist/harmony131.mjs.map +1 -1
  132. package/dist/harmony132.cjs +17 -0
  133. package/dist/harmony132.cjs.map +1 -0
  134. package/dist/harmony132.mjs +17 -0
  135. package/dist/harmony132.mjs.map +1 -0
  136. package/dist/harmony15.cjs +1 -1
  137. package/dist/harmony15.mjs +1 -1
  138. package/dist/harmony22.cjs +2 -2
  139. package/dist/harmony22.mjs +2 -2
  140. package/dist/harmony23.cjs +1 -1
  141. package/dist/harmony23.mjs +1 -1
  142. package/dist/harmony24.cjs +1 -1
  143. package/dist/harmony24.mjs +1 -1
  144. package/dist/harmony25.cjs +1 -1
  145. package/dist/harmony25.mjs +1 -1
  146. package/dist/harmony26.cjs +2 -2
  147. package/dist/harmony26.mjs +2 -2
  148. package/dist/harmony27.cjs +2 -2
  149. package/dist/harmony27.mjs +2 -2
  150. package/dist/harmony28.cjs +2 -2
  151. package/dist/harmony28.mjs +2 -2
  152. package/dist/harmony29.cjs +11 -1
  153. package/dist/harmony29.cjs.map +1 -1
  154. package/dist/harmony29.mjs +12 -2
  155. package/dist/harmony29.mjs.map +1 -1
  156. package/dist/harmony3.cjs +3 -3
  157. package/dist/harmony3.mjs +3 -3
  158. package/dist/harmony30.cjs +3 -3
  159. package/dist/harmony30.mjs +3 -3
  160. package/dist/harmony31.cjs +1 -1
  161. package/dist/harmony31.mjs +1 -1
  162. package/dist/harmony32.cjs +1 -1
  163. package/dist/harmony32.mjs +1 -1
  164. package/dist/harmony33.cjs +1 -1
  165. package/dist/harmony33.mjs +1 -1
  166. package/dist/harmony37.cjs +7 -11
  167. package/dist/harmony37.cjs.map +1 -1
  168. package/dist/harmony37.mjs +9 -13
  169. package/dist/harmony37.mjs.map +1 -1
  170. package/dist/harmony38.cjs +8 -8
  171. package/dist/harmony38.cjs.map +1 -1
  172. package/dist/harmony38.mjs +8 -8
  173. package/dist/harmony38.mjs.map +1 -1
  174. package/dist/harmony39.cjs +14 -12
  175. package/dist/harmony39.cjs.map +1 -1
  176. package/dist/harmony39.mjs +14 -12
  177. package/dist/harmony39.mjs.map +1 -1
  178. package/dist/harmony4.cjs +10 -10
  179. package/dist/harmony4.cjs.map +1 -1
  180. package/dist/harmony4.mjs +10 -10
  181. package/dist/harmony4.mjs.map +1 -1
  182. package/dist/harmony40.cjs +8 -8
  183. package/dist/harmony40.cjs.map +1 -1
  184. package/dist/harmony40.mjs +9 -9
  185. package/dist/harmony40.mjs.map +1 -1
  186. package/dist/harmony41.cjs +9 -9
  187. package/dist/harmony41.cjs.map +1 -1
  188. package/dist/harmony41.mjs +10 -10
  189. package/dist/harmony41.mjs.map +1 -1
  190. package/dist/harmony42.cjs +12 -14
  191. package/dist/harmony42.cjs.map +1 -1
  192. package/dist/harmony42.mjs +12 -14
  193. package/dist/harmony42.mjs.map +1 -1
  194. package/dist/harmony43.cjs +10 -10
  195. package/dist/harmony43.cjs.map +1 -1
  196. package/dist/harmony43.mjs +10 -10
  197. package/dist/harmony43.mjs.map +1 -1
  198. package/dist/harmony44.cjs +8 -8
  199. package/dist/harmony44.cjs.map +1 -1
  200. package/dist/harmony44.mjs +8 -8
  201. package/dist/harmony44.mjs.map +1 -1
  202. package/dist/harmony45.cjs +7 -7
  203. package/dist/harmony45.cjs.map +1 -1
  204. package/dist/harmony45.mjs +7 -7
  205. package/dist/harmony45.mjs.map +1 -1
  206. package/dist/harmony46.cjs +14 -12
  207. package/dist/harmony46.cjs.map +1 -1
  208. package/dist/harmony46.mjs +14 -12
  209. package/dist/harmony46.mjs.map +1 -1
  210. package/dist/harmony47.cjs +12 -14
  211. package/dist/harmony47.cjs.map +1 -1
  212. package/dist/harmony47.mjs +12 -14
  213. package/dist/harmony47.mjs.map +1 -1
  214. package/dist/harmony48.cjs +8 -8
  215. package/dist/harmony48.cjs.map +1 -1
  216. package/dist/harmony48.mjs +8 -8
  217. package/dist/harmony48.mjs.map +1 -1
  218. package/dist/harmony49.cjs +10 -7
  219. package/dist/harmony49.cjs.map +1 -1
  220. package/dist/harmony49.mjs +12 -9
  221. package/dist/harmony49.mjs.map +1 -1
  222. package/dist/harmony5.cjs +1 -1
  223. package/dist/harmony5.mjs +1 -1
  224. package/dist/harmony50.cjs +14 -56
  225. package/dist/harmony50.cjs.map +1 -1
  226. package/dist/harmony50.mjs +14 -56
  227. package/dist/harmony50.mjs.map +1 -1
  228. package/dist/harmony51.cjs +48 -72
  229. package/dist/harmony51.cjs.map +1 -1
  230. package/dist/harmony51.mjs +47 -71
  231. package/dist/harmony51.mjs.map +1 -1
  232. package/dist/harmony52.cjs +78 -4
  233. package/dist/harmony52.cjs.map +1 -1
  234. package/dist/harmony52.mjs +78 -4
  235. package/dist/harmony52.mjs.map +1 -1
  236. package/dist/harmony53.cjs +4 -21
  237. package/dist/harmony53.cjs.map +1 -1
  238. package/dist/harmony53.mjs +4 -21
  239. package/dist/harmony53.mjs.map +1 -1
  240. package/dist/harmony54.cjs +20 -34
  241. package/dist/harmony54.cjs.map +1 -1
  242. package/dist/harmony54.mjs +20 -34
  243. package/dist/harmony54.mjs.map +1 -1
  244. package/dist/harmony55.cjs +35 -115
  245. package/dist/harmony55.cjs.map +1 -1
  246. package/dist/harmony55.mjs +34 -114
  247. package/dist/harmony55.mjs.map +1 -1
  248. package/dist/harmony56.cjs +121 -20
  249. package/dist/harmony56.cjs.map +1 -1
  250. package/dist/harmony56.mjs +120 -19
  251. package/dist/harmony56.mjs.map +1 -1
  252. package/dist/harmony57.cjs +20 -25
  253. package/dist/harmony57.cjs.map +1 -1
  254. package/dist/harmony57.mjs +20 -25
  255. package/dist/harmony57.mjs.map +1 -1
  256. package/dist/harmony58.cjs +24 -6
  257. package/dist/harmony58.cjs.map +1 -1
  258. package/dist/harmony58.mjs +24 -6
  259. package/dist/harmony58.mjs.map +1 -1
  260. package/dist/harmony59.cjs +6 -82
  261. package/dist/harmony59.cjs.map +1 -1
  262. package/dist/harmony59.mjs +6 -82
  263. package/dist/harmony59.mjs.map +1 -1
  264. package/dist/harmony6.cjs +4 -4
  265. package/dist/harmony6.mjs +4 -4
  266. package/dist/harmony60.cjs +46 -20
  267. package/dist/harmony60.cjs.map +1 -1
  268. package/dist/harmony60.mjs +46 -20
  269. package/dist/harmony60.mjs.map +1 -1
  270. package/dist/harmony61.cjs +22 -16
  271. package/dist/harmony61.cjs.map +1 -1
  272. package/dist/harmony61.mjs +22 -16
  273. package/dist/harmony61.mjs.map +1 -1
  274. package/dist/harmony62.cjs +19 -16
  275. package/dist/harmony62.cjs.map +1 -1
  276. package/dist/harmony62.mjs +18 -15
  277. package/dist/harmony62.mjs.map +1 -1
  278. package/dist/harmony63.cjs +15 -18
  279. package/dist/harmony63.cjs.map +1 -1
  280. package/dist/harmony63.mjs +15 -18
  281. package/dist/harmony63.mjs.map +1 -1
  282. package/dist/harmony64.cjs +18 -61
  283. package/dist/harmony64.cjs.map +1 -1
  284. package/dist/harmony64.mjs +18 -61
  285. package/dist/harmony64.mjs.map +1 -1
  286. package/dist/harmony65.cjs +61 -6
  287. package/dist/harmony65.cjs.map +1 -1
  288. package/dist/harmony65.mjs +61 -6
  289. package/dist/harmony65.mjs.map +1 -1
  290. package/dist/harmony66.cjs +7 -10
  291. package/dist/harmony66.cjs.map +1 -1
  292. package/dist/harmony66.mjs +6 -9
  293. package/dist/harmony66.mjs.map +1 -1
  294. package/dist/harmony67.cjs +8 -17
  295. package/dist/harmony67.cjs.map +1 -1
  296. package/dist/harmony67.mjs +7 -16
  297. package/dist/harmony67.mjs.map +1 -1
  298. package/dist/harmony68.cjs +13 -18
  299. package/dist/harmony68.cjs.map +1 -1
  300. package/dist/harmony68.mjs +13 -18
  301. package/dist/harmony68.mjs.map +1 -1
  302. package/dist/harmony69.cjs +22 -4
  303. package/dist/harmony69.cjs.map +1 -1
  304. package/dist/harmony69.mjs +22 -4
  305. package/dist/harmony69.mjs.map +1 -1
  306. package/dist/harmony70.cjs +4 -31
  307. package/dist/harmony70.cjs.map +1 -1
  308. package/dist/harmony70.mjs +5 -32
  309. package/dist/harmony70.mjs.map +1 -1
  310. package/dist/harmony71.cjs +26 -26
  311. package/dist/harmony71.cjs.map +1 -1
  312. package/dist/harmony71.mjs +27 -27
  313. package/dist/harmony71.mjs.map +1 -1
  314. package/dist/harmony72.cjs +25 -12
  315. package/dist/harmony72.cjs.map +1 -1
  316. package/dist/harmony72.mjs +25 -12
  317. package/dist/harmony72.mjs.map +1 -1
  318. package/dist/harmony73.cjs +12 -24
  319. package/dist/harmony73.cjs.map +1 -1
  320. package/dist/harmony73.mjs +13 -25
  321. package/dist/harmony73.mjs.map +1 -1
  322. package/dist/harmony74.cjs +27 -55
  323. package/dist/harmony74.cjs.map +1 -1
  324. package/dist/harmony74.mjs +29 -57
  325. package/dist/harmony74.mjs.map +1 -1
  326. package/dist/harmony75.cjs +60 -10
  327. package/dist/harmony75.cjs.map +1 -1
  328. package/dist/harmony75.mjs +59 -9
  329. package/dist/harmony75.mjs.map +1 -1
  330. package/dist/harmony76.cjs +10 -9
  331. package/dist/harmony76.cjs.map +1 -1
  332. package/dist/harmony76.mjs +9 -8
  333. package/dist/harmony76.mjs.map +1 -1
  334. package/dist/harmony77.cjs +5 -26
  335. package/dist/harmony77.cjs.map +1 -1
  336. package/dist/harmony77.mjs +8 -29
  337. package/dist/harmony77.mjs.map +1 -1
  338. package/dist/harmony78.cjs +29 -3
  339. package/dist/harmony78.cjs.map +1 -1
  340. package/dist/harmony78.mjs +29 -3
  341. package/dist/harmony78.mjs.map +1 -1
  342. package/dist/harmony79.cjs +4 -7
  343. package/dist/harmony79.cjs.map +1 -1
  344. package/dist/harmony79.mjs +3 -6
  345. package/dist/harmony79.mjs.map +1 -1
  346. package/dist/harmony80.cjs +3 -6
  347. package/dist/harmony80.cjs.map +1 -1
  348. package/dist/harmony80.mjs +3 -6
  349. package/dist/harmony80.mjs.map +1 -1
  350. package/dist/harmony81.cjs +6 -6
  351. package/dist/harmony81.mjs +6 -6
  352. package/dist/harmony82.cjs +9 -57
  353. package/dist/harmony82.cjs.map +1 -1
  354. package/dist/harmony82.mjs +8 -56
  355. package/dist/harmony82.mjs.map +1 -1
  356. package/dist/harmony83.cjs +51 -27
  357. package/dist/harmony83.cjs.map +1 -1
  358. package/dist/harmony83.mjs +52 -28
  359. package/dist/harmony83.mjs.map +1 -1
  360. package/dist/harmony84.cjs +32 -5
  361. package/dist/harmony84.cjs.map +1 -1
  362. package/dist/harmony84.mjs +32 -5
  363. package/dist/harmony84.mjs.map +1 -1
  364. package/dist/harmony85.cjs +6 -10
  365. package/dist/harmony85.cjs.map +1 -1
  366. package/dist/harmony85.mjs +5 -9
  367. package/dist/harmony85.mjs.map +1 -1
  368. package/dist/harmony86.cjs +6 -21
  369. package/dist/harmony86.cjs.map +1 -1
  370. package/dist/harmony86.mjs +6 -21
  371. package/dist/harmony86.mjs.map +1 -1
  372. package/dist/harmony87.cjs +21 -3
  373. package/dist/harmony87.cjs.map +1 -1
  374. package/dist/harmony87.mjs +21 -3
  375. package/dist/harmony87.mjs.map +1 -1
  376. package/dist/harmony88.cjs +6 -21
  377. package/dist/harmony88.cjs.map +1 -1
  378. package/dist/harmony88.mjs +5 -20
  379. package/dist/harmony88.mjs.map +1 -1
  380. package/dist/harmony89.cjs +21 -12
  381. package/dist/harmony89.cjs.map +1 -1
  382. package/dist/harmony89.mjs +20 -11
  383. package/dist/harmony89.mjs.map +1 -1
  384. package/dist/harmony90.cjs +13 -12
  385. package/dist/harmony90.cjs.map +1 -1
  386. package/dist/harmony90.mjs +12 -11
  387. package/dist/harmony90.mjs.map +1 -1
  388. package/dist/harmony91.cjs +12 -22
  389. package/dist/harmony91.cjs.map +1 -1
  390. package/dist/harmony91.mjs +11 -21
  391. package/dist/harmony91.mjs.map +1 -1
  392. package/dist/harmony92.cjs +21 -99
  393. package/dist/harmony92.cjs.map +1 -1
  394. package/dist/harmony92.mjs +20 -81
  395. package/dist/harmony92.mjs.map +1 -1
  396. package/dist/harmony93.cjs +99 -21
  397. package/dist/harmony93.cjs.map +1 -1
  398. package/dist/harmony93.mjs +81 -20
  399. package/dist/harmony93.mjs.map +1 -1
  400. package/dist/harmony94.cjs +21 -6
  401. package/dist/harmony94.cjs.map +1 -1
  402. package/dist/harmony94.mjs +20 -5
  403. package/dist/harmony94.mjs.map +1 -1
  404. package/dist/harmony95.cjs +4 -131
  405. package/dist/harmony95.cjs.map +1 -1
  406. package/dist/harmony95.mjs +4 -131
  407. package/dist/harmony95.mjs.map +1 -1
  408. package/dist/harmony96.cjs +132 -12
  409. package/dist/harmony96.cjs.map +1 -1
  410. package/dist/harmony96.mjs +131 -11
  411. package/dist/harmony96.mjs.map +1 -1
  412. package/dist/harmony97.cjs +13 -6
  413. package/dist/harmony97.cjs.map +1 -1
  414. package/dist/harmony97.mjs +12 -5
  415. package/dist/harmony97.mjs.map +1 -1
  416. package/dist/harmony98.cjs +5 -40
  417. package/dist/harmony98.cjs.map +1 -1
  418. package/dist/harmony98.mjs +5 -40
  419. package/dist/harmony98.mjs.map +1 -1
  420. package/dist/harmony99.cjs +33 -53
  421. package/dist/harmony99.cjs.map +1 -1
  422. package/dist/harmony99.mjs +34 -54
  423. package/dist/harmony99.mjs.map +1 -1
  424. package/dist/types/src/components/Sidebar/Sidebar.d.ts +1 -1
  425. package/dist/types/src/features/publicApi/hooks/useDeleteProjectMutation.d.ts +16 -0
  426. package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +9 -7
  427. package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +11 -24
  428. package/dist/types/src/features/publicApi/node.d.ts +1 -0
  429. package/dist/types/src/features/publicApi/projects.d.ts +72 -0
  430. package/dist/types/src/features/publicApi/team.d.ts +108 -187
  431. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +11 -0
  432. package/dist/types/src/features/publicApi/types/teamTypes.d.ts +115 -272
  433. package/package.json +1 -1
@@ -1,39 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const _baseTrim = require("./harmony120.cjs");
4
- const isObject = require("./harmony111.cjs");
5
- const isSymbol = require("./harmony121.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;
20
- }
21
- if (isSymbol$1(value)) {
22
- return NAN;
23
- }
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;
34
- }
35
- toNumber_1 = toNumber;
36
- return toNumber_1;
3
+ const _root = require("./harmony120.cjs");
4
+ var now_1;
5
+ var hasRequiredNow;
6
+ function requireNow() {
7
+ if (hasRequiredNow) return now_1;
8
+ hasRequiredNow = 1;
9
+ var root = _root.__require();
10
+ var now = function() {
11
+ return root.Date.now();
12
+ };
13
+ now_1 = now;
14
+ return now_1;
37
15
  }
38
- exports.__require = requireToNumber;
16
+ exports.__require = requireNow;
39
17
  //# sourceMappingURL=harmony113.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony113.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
+ {"version":3,"file":"harmony113.cjs","sources":["../node_modules/lodash/now.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n"],"names":["require$$0"],"mappings":";;;;;;;;AAAA,MAAI,OAAOA,MAAAA,UAAkB;AAkB7B,MAAI,MAAM,WAAW;AACnB,WAAO,KAAK,KAAK,IAAK;AAAA,EACvB;AAED,UAAiB;;;;","x_google_ignoreList":[0]}
@@ -1,39 +1,17 @@
1
- import { __require as require_baseTrim } from "./harmony120.mjs";
2
- import { __require as requireIsObject } from "./harmony111.mjs";
3
- import { __require as requireIsSymbol } from "./harmony121.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;
18
- }
19
- if (isSymbol(value)) {
20
- return NAN;
21
- }
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;
32
- }
33
- toNumber_1 = toNumber;
34
- return toNumber_1;
1
+ import { __require as require_root } from "./harmony120.mjs";
2
+ var now_1;
3
+ var hasRequiredNow;
4
+ function requireNow() {
5
+ if (hasRequiredNow) return now_1;
6
+ hasRequiredNow = 1;
7
+ var root = require_root();
8
+ var now = function() {
9
+ return root.Date.now();
10
+ };
11
+ now_1 = now;
12
+ return now_1;
35
13
  }
36
14
  export {
37
- requireToNumber as __require
15
+ requireNow as __require
38
16
  };
39
17
  //# sourceMappingURL=harmony113.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony113.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
+ {"version":3,"file":"harmony113.mjs","sources":["../node_modules/lodash/now.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,OAAOA,aAAkB;AAkB7B,MAAI,MAAM,WAAW;AACnB,WAAO,KAAK,KAAK,IAAK;AAAA,EACvB;AAED,UAAiB;;;","x_google_ignoreList":[0]}
@@ -1,31 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const debounce = require("./harmony110.cjs");
4
- const isObject = require("./harmony111.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("./harmony121.cjs");
4
+ const isObject = require("./harmony112.cjs");
5
+ const isSymbol = require("./harmony122.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=harmony114.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony114.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":"harmony114.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 "./harmony110.mjs";
2
- import { __require as requireIsObject } from "./harmony111.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 "./harmony121.mjs";
2
+ import { __require as requireIsObject } from "./harmony112.mjs";
3
+ import { __require as requireIsSymbol } from "./harmony122.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=harmony114.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony114.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":"harmony114.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,10 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const splitFileName = (fileName) => {
4
- const lastDotIndex = fileName.lastIndexOf(".");
5
- const name = fileName.slice(0, lastDotIndex);
6
- const extension = fileName.slice(lastDotIndex + 1);
7
- return { name, extension };
8
- };
9
- exports.splitFileName = splitFileName;
3
+ const debounce = require("./harmony111.cjs");
4
+ const isObject = require("./harmony112.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;
10
31
  //# sourceMappingURL=harmony115.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony115.cjs","sources":["../src/components/Sidebar/utils/index.ts"],"sourcesContent":["export const splitFileName = (fileName: string) => {\n\tconst lastDotIndex = fileName.lastIndexOf('.')\n\tconst name = fileName.slice(0, lastDotIndex)\n\tconst extension = fileName.slice(lastDotIndex + 1)\n\n\treturn { name, extension }\n}\n"],"names":[],"mappings":";;AAAa,MAAA,gBAAgB,CAAC,aAAqB;AAC5C,QAAA,eAAe,SAAS,YAAY,GAAG;AAC7C,QAAM,OAAO,SAAS,MAAM,GAAG,YAAY;AAC3C,QAAM,YAAY,SAAS,MAAM,eAAe,CAAC;AAE1C,SAAA,EAAE,MAAM,UAAU;AAC1B;;"}
1
+ {"version":3,"file":"harmony115.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,10 +1,31 @@
1
- const splitFileName = (fileName) => {
2
- const lastDotIndex = fileName.lastIndexOf(".");
3
- const name = fileName.slice(0, lastDotIndex);
4
- const extension = fileName.slice(lastDotIndex + 1);
5
- return { name, extension };
6
- };
1
+ import { __require as requireDebounce } from "./harmony111.mjs";
2
+ import { __require as requireIsObject } from "./harmony112.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
- splitFileName
29
+ requireThrottle as __require
9
30
  };
10
31
  //# sourceMappingURL=harmony115.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony115.mjs","sources":["../src/components/Sidebar/utils/index.ts"],"sourcesContent":["export const splitFileName = (fileName: string) => {\n\tconst lastDotIndex = fileName.lastIndexOf('.')\n\tconst name = fileName.slice(0, lastDotIndex)\n\tconst extension = fileName.slice(lastDotIndex + 1)\n\n\treturn { name, extension }\n}\n"],"names":[],"mappings":"AAAa,MAAA,gBAAgB,CAAC,aAAqB;AAC5C,QAAA,eAAe,SAAS,YAAY,GAAG;AAC7C,QAAM,OAAO,SAAS,MAAM,GAAG,YAAY;AAC3C,QAAM,YAAY,SAAS,MAAM,eAAe,CAAC;AAE1C,SAAA,EAAE,MAAM,UAAU;AAC1B;"}
1
+ {"version":3,"file":"harmony115.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,60 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const louis = require("@lokalise/louis");
5
- const content = require("./harmony117.cjs");
6
- const types = require("./harmony2.cjs");
7
- const clsx = require("./harmony62.cjs");
8
- const TaskLanguageCompleted = require("./harmony126.cjs");
9
- const TasksContext = require("./harmony97.cjs");
10
- const TaskLanguage_module = require("./harmony127.cjs");
11
- const TaskLanguage = ({ language, task }) => {
12
- const { getProjectUrl, langNameOnClick, langProgressOnClick } = TasksContext.useTasks();
13
- const progressValue = language.progress ?? 0;
14
- const isLanguageCompleted = language.status === types.SidebarTaskLanguageStatuses.Completed;
15
- const languageProgressCompleted = content.isLanguageProgressCompleted(task, language);
16
- return /* @__PURE__ */ jsxRuntime.jsxs(
17
- "tr",
18
- {
19
- className: clsx.clsx({
20
- [TaskLanguage_module.default.langRowCompleted]: languageProgressCompleted
21
- }),
22
- children: [
23
- /* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { tooltip: "Open in bilingual view", children: /* @__PURE__ */ jsxRuntime.jsx(
24
- louis.Link,
25
- {
26
- href: getProjectUrl({ task, language }),
27
- onClick: () => {
28
- langNameOnClick == null ? void 0 : langNameOnClick({ task, language });
29
- },
30
- children: language.name
31
- }
32
- ) }) }),
33
- /* @__PURE__ */ jsxRuntime.jsx("td", { className: TaskLanguage_module.default.langCellSecondary, children: languageProgressCompleted || isLanguageCompleted ? "0" : /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ jsxRuntime.jsx(
34
- louis.Link,
35
- {
36
- href: getProjectUrl({ task, language, taskUncompleted: true }),
37
- onClick: () => {
38
- langProgressOnClick == null ? void 0 : langProgressOnClick({ task, language });
39
- },
40
- children: language.base_words_total - language.base_words_done
41
- }
42
- ) }) }),
43
- /* @__PURE__ */ jsxRuntime.jsxs("td", { children: [
44
- progressValue,
45
- "%"
46
- ] }),
47
- /* @__PURE__ */ jsxRuntime.jsx("td", { children: languageProgressCompleted ? /* @__PURE__ */ jsxRuntime.jsx(TaskLanguageCompleted.TaskLanguageCompleted, { task, language }) : /* @__PURE__ */ jsxRuntime.jsx(
48
- "span",
49
- {
50
- className: `${TaskLanguage_module.default.langStatus} flex-row items-center justify-start`,
51
- "data-status": language.status,
52
- children: content.getStatusText(language.status, progressValue)
53
- }
54
- ) })
55
- ]
56
- }
57
- );
3
+ const splitFileName = (fileName) => {
4
+ const lastDotIndex = fileName.lastIndexOf(".");
5
+ const name = fileName.slice(0, lastDotIndex);
6
+ const extension = fileName.slice(lastDotIndex + 1);
7
+ return { name, extension };
58
8
  };
59
- exports.TaskLanguage = TaskLanguage;
9
+ exports.splitFileName = splitFileName;
60
10
  //# sourceMappingURL=harmony116.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony116.cjs","sources":["../src/components/Sidebar/Widgets/Tasks/TaskLanguage/TaskLanguage.tsx"],"sourcesContent":["import { Link, Tooltip } from '@lokalise/louis'\nimport { getStatusText, isLanguageProgressCompleted } from '../utils/content'\n\nimport { type SidebarTask, type SidebarTaskLanguage, SidebarTaskLanguageStatuses } from '../types'\n\nimport clsx from 'clsx'\nimport { TaskLanguageCompleted } from '../TaskLanguageCompleted/TaskLanguageCompleted'\nimport { useTasks } from '../TasksContext'\nimport styles from './TaskLanguage.module.css'\n\nexport type TaskLanguageProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguage = ({ language, task }: TaskLanguageProps) => {\n\tconst { getProjectUrl, langNameOnClick, langProgressOnClick } = useTasks()\n\n\tconst progressValue = language.progress ?? 0\n\n\tconst isLanguageCompleted = language.status === SidebarTaskLanguageStatuses.Completed\n\n\tconst languageProgressCompleted = isLanguageProgressCompleted(task, language)\n\n\treturn (\n\t\t<tr\n\t\t\tclassName={clsx({\n\t\t\t\t[styles.langRowCompleted]: languageProgressCompleted,\n\t\t\t})}\n\t\t>\n\t\t\t<td>\n\t\t\t\t<Tooltip tooltip=\"Open in bilingual view\">\n\t\t\t\t\t<Link\n\t\t\t\t\t\thref={getProjectUrl({ task, language })}\n\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\tlangNameOnClick?.({ task, language })\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{language.name}\n\t\t\t\t\t</Link>\n\t\t\t\t</Tooltip>\n\t\t\t</td>\n\t\t\t<td className={styles.langCellSecondary}>\n\t\t\t\t{languageProgressCompleted || isLanguageCompleted ? (\n\t\t\t\t\t'0'\n\t\t\t\t) : (\n\t\t\t\t\t<Tooltip tooltip=\"Open uncompleted items\">\n\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\thref={getProjectUrl({ task, language, taskUncompleted: true })}\n\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\tlangProgressOnClick?.({ task, language })\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{language.base_words_total - language.base_words_done}\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t</Tooltip>\n\t\t\t\t)}\n\t\t\t</td>\n\t\t\t<td>{progressValue}%</td>\n\t\t\t<td>\n\t\t\t\t{languageProgressCompleted ? (\n\t\t\t\t\t<TaskLanguageCompleted task={task} language={language} />\n\t\t\t\t) : (\n\t\t\t\t\t<span\n\t\t\t\t\t\tclassName={`${styles.langStatus} flex-row items-center justify-start`}\n\t\t\t\t\t\tdata-status={language.status}\n\t\t\t\t\t>\n\t\t\t\t\t\t{getStatusText(language.status, progressValue)}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</td>\n\t\t</tr>\n\t)\n}\n"],"names":["useTasks","SidebarTaskLanguageStatuses","isLanguageProgressCompleted","jsxs","clsx","styles","jsx","Tooltip","Link","TaskLanguageCompleted","getStatusText"],"mappings":";;;;;;;;;;AAeO,MAAM,eAAe,CAAC,EAAE,UAAU,WAA8B;AACtE,QAAM,EAAE,eAAe,iBAAiB,oBAAA,IAAwBA,aAAAA,SAAS;AAEnE,QAAA,gBAAgB,SAAS,YAAY;AAErC,QAAA,sBAAsB,SAAS,WAAWC,MAA4B,4BAAA;AAEtE,QAAA,4BAA4BC,QAAAA,4BAA4B,MAAM,QAAQ;AAG3E,SAAAC,2BAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,WAAWC,KAAAA,KAAK;AAAA,QACf,CAACC,oBAAAA,QAAO,gBAAgB,GAAG;AAAA,MAAA,CAC3B;AAAA,MAED,UAAA;AAAA,QAAAC,+BAAC,MACA,EAAA,UAAAA,2BAAA,IAACC,MAAQ,SAAA,EAAA,SAAQ,0BAChB,UAAAD,2BAAA;AAAA,UAACE,MAAA;AAAA,UAAA;AAAA,YACA,MAAM,cAAc,EAAE,MAAM,UAAU;AAAA,YACtC,SAAS,MAAM;AACI,iEAAA,EAAE,MAAM;YAC3B;AAAA,YAEC,UAAS,SAAA;AAAA,UAAA;AAAA,WAEZ,EACD,CAAA;AAAA,QACAF,2BAAA,IAAC,MAAG,EAAA,WAAWD,oBAAAA,QAAO,mBACpB,UAA6B,6BAAA,sBAC7B,MAEAC,2BAAA,IAACC,MAAQ,SAAA,EAAA,SAAQ,0BAChB,UAAAD,2BAAA;AAAA,UAACE,MAAA;AAAA,UAAA;AAAA,YACA,MAAM,cAAc,EAAE,MAAM,UAAU,iBAAiB,MAAM;AAAA,YAC7D,SAAS,MAAM;AACQ,yEAAA,EAAE,MAAM;YAC/B;AAAA,YAEC,UAAA,SAAS,mBAAmB,SAAS;AAAA,UAAA;AAAA,WAExC,EAEF,CAAA;AAAA,wCACC,MAAI,EAAA,UAAA;AAAA,UAAA;AAAA,UAAc;AAAA,QAAA,GAAC;AAAA,uCACnB,MACC,EAAA,UAAA,2DACCC,sBAAsB,uBAAA,EAAA,MAAY,SAAoB,CAAA,IAEvDH,2BAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,WAAW,GAAGD,4BAAO,UAAU;AAAA,YAC/B,eAAa,SAAS;AAAA,YAErB,UAAAK,QAAA,cAAc,SAAS,QAAQ,aAAa;AAAA,UAAA;AAAA,QAAA,EAGhD,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACD;AAEF;;"}
1
+ {"version":3,"file":"harmony116.cjs","sources":["../src/components/Sidebar/utils/index.ts"],"sourcesContent":["export const splitFileName = (fileName: string) => {\n\tconst lastDotIndex = fileName.lastIndexOf('.')\n\tconst name = fileName.slice(0, lastDotIndex)\n\tconst extension = fileName.slice(lastDotIndex + 1)\n\n\treturn { name, extension }\n}\n"],"names":[],"mappings":";;AAAa,MAAA,gBAAgB,CAAC,aAAqB;AAC5C,QAAA,eAAe,SAAS,YAAY,GAAG;AAC7C,QAAM,OAAO,SAAS,MAAM,GAAG,YAAY;AAC3C,QAAM,YAAY,SAAS,MAAM,eAAe,CAAC;AAE1C,SAAA,EAAE,MAAM,UAAU;AAC1B;;"}
@@ -1,60 +1,10 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Tooltip, Link } from "@lokalise/louis";
3
- import { isLanguageProgressCompleted, getStatusText } from "./harmony117.mjs";
4
- import { SidebarTaskLanguageStatuses } from "./harmony2.mjs";
5
- import { clsx } from "./harmony62.mjs";
6
- import { TaskLanguageCompleted } from "./harmony126.mjs";
7
- import { useTasks } from "./harmony97.mjs";
8
- import styles from "./harmony127.mjs";
9
- const TaskLanguage = ({ language, task }) => {
10
- const { getProjectUrl, langNameOnClick, langProgressOnClick } = useTasks();
11
- const progressValue = language.progress ?? 0;
12
- const isLanguageCompleted = language.status === SidebarTaskLanguageStatuses.Completed;
13
- const languageProgressCompleted = isLanguageProgressCompleted(task, language);
14
- return /* @__PURE__ */ jsxs(
15
- "tr",
16
- {
17
- className: clsx({
18
- [styles.langRowCompleted]: languageProgressCompleted
19
- }),
20
- children: [
21
- /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tooltip, { tooltip: "Open in bilingual view", children: /* @__PURE__ */ jsx(
22
- Link,
23
- {
24
- href: getProjectUrl({ task, language }),
25
- onClick: () => {
26
- langNameOnClick == null ? void 0 : langNameOnClick({ task, language });
27
- },
28
- children: language.name
29
- }
30
- ) }) }),
31
- /* @__PURE__ */ jsx("td", { className: styles.langCellSecondary, children: languageProgressCompleted || isLanguageCompleted ? "0" : /* @__PURE__ */ jsx(Tooltip, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ jsx(
32
- Link,
33
- {
34
- href: getProjectUrl({ task, language, taskUncompleted: true }),
35
- onClick: () => {
36
- langProgressOnClick == null ? void 0 : langProgressOnClick({ task, language });
37
- },
38
- children: language.base_words_total - language.base_words_done
39
- }
40
- ) }) }),
41
- /* @__PURE__ */ jsxs("td", { children: [
42
- progressValue,
43
- "%"
44
- ] }),
45
- /* @__PURE__ */ jsx("td", { children: languageProgressCompleted ? /* @__PURE__ */ jsx(TaskLanguageCompleted, { task, language }) : /* @__PURE__ */ jsx(
46
- "span",
47
- {
48
- className: `${styles.langStatus} flex-row items-center justify-start`,
49
- "data-status": language.status,
50
- children: getStatusText(language.status, progressValue)
51
- }
52
- ) })
53
- ]
54
- }
55
- );
1
+ const splitFileName = (fileName) => {
2
+ const lastDotIndex = fileName.lastIndexOf(".");
3
+ const name = fileName.slice(0, lastDotIndex);
4
+ const extension = fileName.slice(lastDotIndex + 1);
5
+ return { name, extension };
56
6
  };
57
7
  export {
58
- TaskLanguage
8
+ splitFileName
59
9
  };
60
10
  //# sourceMappingURL=harmony116.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony116.mjs","sources":["../src/components/Sidebar/Widgets/Tasks/TaskLanguage/TaskLanguage.tsx"],"sourcesContent":["import { Link, Tooltip } from '@lokalise/louis'\nimport { getStatusText, isLanguageProgressCompleted } from '../utils/content'\n\nimport { type SidebarTask, type SidebarTaskLanguage, SidebarTaskLanguageStatuses } from '../types'\n\nimport clsx from 'clsx'\nimport { TaskLanguageCompleted } from '../TaskLanguageCompleted/TaskLanguageCompleted'\nimport { useTasks } from '../TasksContext'\nimport styles from './TaskLanguage.module.css'\n\nexport type TaskLanguageProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguage = ({ language, task }: TaskLanguageProps) => {\n\tconst { getProjectUrl, langNameOnClick, langProgressOnClick } = useTasks()\n\n\tconst progressValue = language.progress ?? 0\n\n\tconst isLanguageCompleted = language.status === SidebarTaskLanguageStatuses.Completed\n\n\tconst languageProgressCompleted = isLanguageProgressCompleted(task, language)\n\n\treturn (\n\t\t<tr\n\t\t\tclassName={clsx({\n\t\t\t\t[styles.langRowCompleted]: languageProgressCompleted,\n\t\t\t})}\n\t\t>\n\t\t\t<td>\n\t\t\t\t<Tooltip tooltip=\"Open in bilingual view\">\n\t\t\t\t\t<Link\n\t\t\t\t\t\thref={getProjectUrl({ task, language })}\n\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\tlangNameOnClick?.({ task, language })\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t{language.name}\n\t\t\t\t\t</Link>\n\t\t\t\t</Tooltip>\n\t\t\t</td>\n\t\t\t<td className={styles.langCellSecondary}>\n\t\t\t\t{languageProgressCompleted || isLanguageCompleted ? (\n\t\t\t\t\t'0'\n\t\t\t\t) : (\n\t\t\t\t\t<Tooltip tooltip=\"Open uncompleted items\">\n\t\t\t\t\t\t<Link\n\t\t\t\t\t\t\thref={getProjectUrl({ task, language, taskUncompleted: true })}\n\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\tlangProgressOnClick?.({ task, language })\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{language.base_words_total - language.base_words_done}\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t</Tooltip>\n\t\t\t\t)}\n\t\t\t</td>\n\t\t\t<td>{progressValue}%</td>\n\t\t\t<td>\n\t\t\t\t{languageProgressCompleted ? (\n\t\t\t\t\t<TaskLanguageCompleted task={task} language={language} />\n\t\t\t\t) : (\n\t\t\t\t\t<span\n\t\t\t\t\t\tclassName={`${styles.langStatus} flex-row items-center justify-start`}\n\t\t\t\t\t\tdata-status={language.status}\n\t\t\t\t\t>\n\t\t\t\t\t\t{getStatusText(language.status, progressValue)}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</td>\n\t\t</tr>\n\t)\n}\n"],"names":[],"mappings":";;;;;;;;AAeO,MAAM,eAAe,CAAC,EAAE,UAAU,WAA8B;AACtE,QAAM,EAAE,eAAe,iBAAiB,oBAAA,IAAwB,SAAS;AAEnE,QAAA,gBAAgB,SAAS,YAAY;AAErC,QAAA,sBAAsB,SAAS,WAAW,4BAA4B;AAEtE,QAAA,4BAA4B,4BAA4B,MAAM,QAAQ;AAG3E,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,WAAW,KAAK;AAAA,QACf,CAAC,OAAO,gBAAgB,GAAG;AAAA,MAAA,CAC3B;AAAA,MAED,UAAA;AAAA,QAAA,oBAAC,MACA,EAAA,UAAA,oBAAC,SAAQ,EAAA,SAAQ,0BAChB,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,MAAM,cAAc,EAAE,MAAM,UAAU;AAAA,YACtC,SAAS,MAAM;AACI,iEAAA,EAAE,MAAM;YAC3B;AAAA,YAEC,UAAS,SAAA;AAAA,UAAA;AAAA,WAEZ,EACD,CAAA;AAAA,QACA,oBAAC,MAAG,EAAA,WAAW,OAAO,mBACpB,UAA6B,6BAAA,sBAC7B,MAEA,oBAAC,SAAQ,EAAA,SAAQ,0BAChB,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,MAAM,cAAc,EAAE,MAAM,UAAU,iBAAiB,MAAM;AAAA,YAC7D,SAAS,MAAM;AACQ,yEAAA,EAAE,MAAM;YAC/B;AAAA,YAEC,UAAA,SAAS,mBAAmB,SAAS;AAAA,UAAA;AAAA,WAExC,EAEF,CAAA;AAAA,6BACC,MAAI,EAAA,UAAA;AAAA,UAAA;AAAA,UAAc;AAAA,QAAA,GAAC;AAAA,4BACnB,MACC,EAAA,UAAA,gDACC,uBAAsB,EAAA,MAAY,SAAoB,CAAA,IAEvD;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,WAAW,GAAG,OAAO,UAAU;AAAA,YAC/B,eAAa,SAAS;AAAA,YAErB,UAAA,cAAc,SAAS,QAAQ,aAAa;AAAA,UAAA;AAAA,QAAA,EAGhD,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACD;AAEF;"}
1
+ {"version":3,"file":"harmony116.mjs","sources":["../src/components/Sidebar/utils/index.ts"],"sourcesContent":["export const splitFileName = (fileName: string) => {\n\tconst lastDotIndex = fileName.lastIndexOf('.')\n\tconst name = fileName.slice(0, lastDotIndex)\n\tconst extension = fileName.slice(lastDotIndex + 1)\n\n\treturn { name, extension }\n}\n"],"names":[],"mappings":"AAAa,MAAA,gBAAgB,CAAC,aAAqB;AAC5C,QAAA,eAAe,SAAS,YAAY,GAAG;AAC7C,QAAM,OAAO,SAAS,MAAM,GAAG,YAAY;AAC3C,QAAM,YAAY,SAAS,MAAM,eAAe,CAAC;AAE1C,SAAA,EAAE,MAAM,UAAU;AAC1B;"}