@looker/api-explorer 0.9.52 → 0.9.53

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 (397) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/e2e/diffScene.spec.ts +1 -1
  3. package/lib/ApiExplorer.js.map +1 -1
  4. package/lib/App.js.map +1 -1
  5. package/lib/StandaloneApiExplorer.js.map +1 -1
  6. package/lib/components/Banner/Banner.js.map +1 -1
  7. package/lib/components/DocActivityType/DocActivityType.js.map +1 -1
  8. package/lib/components/DocCode/DocCode.js.map +1 -1
  9. package/lib/components/DocMarkdown/DocMarkdown.js.map +1 -1
  10. package/lib/components/DocMarkdown/utils.js.map +1 -1
  11. package/lib/components/DocMethodSummary/DocMethodSummary.js.map +1 -1
  12. package/lib/components/DocMethodSummary/DocSummaryStatus.js.map +1 -1
  13. package/lib/components/DocMethodSummary/utils.js.map +1 -1
  14. package/lib/components/DocPseudo/DocParam.js.map +1 -1
  15. package/lib/components/DocPseudo/DocParams.js.map +1 -1
  16. package/lib/components/DocPseudo/DocPrimaryResponse.js.map +1 -1
  17. package/lib/components/DocPseudo/DocPseudo.js.map +1 -1
  18. package/lib/components/DocRateLimited/DocRateLimited.js.map +1 -1
  19. package/lib/components/DocReferences/DocReferences.js.map +1 -1
  20. package/lib/components/DocReferences/utils.js.map +1 -1
  21. package/lib/components/DocSDKs/DocDeclarations.js.map +1 -1
  22. package/lib/components/DocSDKs/DocSDKs.js.map +1 -1
  23. package/lib/components/DocSchema/DocSchema.js.map +1 -1
  24. package/lib/components/DocSdkUsage/DocSdkExampleCell.js.map +1 -1
  25. package/lib/components/DocSdkUsage/DocSdkUsage.js.map +1 -1
  26. package/lib/components/DocSdkUsage/utils.js.map +1 -1
  27. package/lib/components/DocSource/DocSource.js.map +1 -1
  28. package/lib/components/DocStatus/DocStatus.js.map +1 -1
  29. package/lib/components/DocTitle/DocTitle.js.map +1 -1
  30. package/lib/components/DocTypeSummary/DocTypeSummary.js.map +1 -1
  31. package/lib/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  32. package/lib/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.js.map +1 -1
  33. package/lib/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js.map +1 -1
  34. package/lib/components/ExploreType/ExploreProperty.js.map +1 -1
  35. package/lib/components/ExploreType/ExploreType.js.map +1 -1
  36. package/lib/components/ExploreType/exploreUtils.js.map +1 -1
  37. package/lib/components/Header/Header.js.map +1 -1
  38. package/lib/components/SelectorContainer/ApiSpecSelector.js.map +1 -1
  39. package/lib/components/SelectorContainer/SdkLanguageSelector.js.map +1 -1
  40. package/lib/components/SelectorContainer/SelectorContainer.js.map +1 -1
  41. package/lib/components/SelectorContainer/utils.js.map +1 -1
  42. package/lib/components/SideNav/SearchMessage.js.map +1 -1
  43. package/lib/components/SideNav/SideNav.js.map +1 -1
  44. package/lib/components/SideNav/SideNavMethodTags.js.map +1 -1
  45. package/lib/components/SideNav/SideNavMethods.js.map +1 -1
  46. package/lib/components/SideNav/SideNavTypeTags.js.map +1 -1
  47. package/lib/components/SideNav/SideNavTypes.js.map +1 -1
  48. package/lib/components/common/Loader.js.map +1 -1
  49. package/lib/components/common/common.js.map +1 -1
  50. package/lib/esm/ApiExplorer.js +55 -64
  51. package/lib/esm/ApiExplorer.js.map +1 -1
  52. package/lib/esm/App.js +9 -12
  53. package/lib/esm/App.js.map +1 -1
  54. package/lib/esm/StandaloneApiExplorer.js +20 -29
  55. package/lib/esm/StandaloneApiExplorer.js.map +1 -1
  56. package/lib/esm/components/Banner/Banner.js +8 -17
  57. package/lib/esm/components/Banner/Banner.js.map +1 -1
  58. package/lib/esm/components/Banner/index.js +1 -12
  59. package/lib/esm/components/Banner/index.js.map +1 -1
  60. package/lib/esm/components/DocActivityType/DocActivityType.js +7 -15
  61. package/lib/esm/components/DocActivityType/DocActivityType.js.map +1 -1
  62. package/lib/esm/components/DocActivityType/index.js +1 -12
  63. package/lib/esm/components/DocActivityType/index.js.map +1 -1
  64. package/lib/esm/components/DocCode/DocCode.js +9 -17
  65. package/lib/esm/components/DocCode/DocCode.js.map +1 -1
  66. package/lib/esm/components/DocCode/index.js +1 -12
  67. package/lib/esm/components/DocCode/index.js.map +1 -1
  68. package/lib/esm/components/DocMarkdown/DocMarkdown.js +13 -21
  69. package/lib/esm/components/DocMarkdown/DocMarkdown.js.map +1 -1
  70. package/lib/esm/components/DocMarkdown/index.js +1 -12
  71. package/lib/esm/components/DocMarkdown/index.js.map +1 -1
  72. package/lib/esm/components/DocMarkdown/utils.js +2 -10
  73. package/lib/esm/components/DocMarkdown/utils.js.map +1 -1
  74. package/lib/esm/components/DocMethodSummary/DocMethodSummary.js +15 -23
  75. package/lib/esm/components/DocMethodSummary/DocMethodSummary.js.map +1 -1
  76. package/lib/esm/components/DocMethodSummary/DocSummaryStatus.js +7 -15
  77. package/lib/esm/components/DocMethodSummary/DocSummaryStatus.js.map +1 -1
  78. package/lib/esm/components/DocMethodSummary/index.js +3 -26
  79. package/lib/esm/components/DocMethodSummary/index.js.map +1 -1
  80. package/lib/esm/components/DocMethodSummary/utils.js +18 -27
  81. package/lib/esm/components/DocMethodSummary/utils.js.map +1 -1
  82. package/lib/esm/components/DocPseudo/DocParam.js +7 -15
  83. package/lib/esm/components/DocPseudo/DocParam.js.map +1 -1
  84. package/lib/esm/components/DocPseudo/DocParams.js +5 -14
  85. package/lib/esm/components/DocPseudo/DocParams.js.map +1 -1
  86. package/lib/esm/components/DocPseudo/DocPrimaryResponse.js +5 -13
  87. package/lib/esm/components/DocPseudo/DocPrimaryResponse.js.map +1 -1
  88. package/lib/esm/components/DocPseudo/DocPseudo.js +9 -17
  89. package/lib/esm/components/DocPseudo/DocPseudo.js.map +1 -1
  90. package/lib/esm/components/DocPseudo/index.js +1 -12
  91. package/lib/esm/components/DocPseudo/index.js.map +1 -1
  92. package/lib/esm/components/DocRateLimited/DocRateLimited.js +5 -13
  93. package/lib/esm/components/DocRateLimited/DocRateLimited.js.map +1 -1
  94. package/lib/esm/components/DocRateLimited/index.js +1 -12
  95. package/lib/esm/components/DocRateLimited/index.js.map +1 -1
  96. package/lib/esm/components/DocReferences/DocReferences.js +10 -18
  97. package/lib/esm/components/DocReferences/DocReferences.js.map +1 -1
  98. package/lib/esm/components/DocReferences/index.js +1 -12
  99. package/lib/esm/components/DocReferences/index.js.map +1 -1
  100. package/lib/esm/components/DocReferences/utils.js +11 -19
  101. package/lib/esm/components/DocReferences/utils.js.map +1 -1
  102. package/lib/esm/components/DocSDKs/DocDeclarations.js +7 -15
  103. package/lib/esm/components/DocSDKs/DocDeclarations.js.map +1 -1
  104. package/lib/esm/components/DocSDKs/DocSDKs.js +21 -30
  105. package/lib/esm/components/DocSDKs/DocSDKs.js.map +1 -1
  106. package/lib/esm/components/DocSDKs/index.js +1 -12
  107. package/lib/esm/components/DocSDKs/index.js.map +1 -1
  108. package/lib/esm/components/DocSDKs/utils.js +3 -11
  109. package/lib/esm/components/DocSDKs/utils.js.map +1 -1
  110. package/lib/esm/components/DocSchema/DocSchema.js +7 -15
  111. package/lib/esm/components/DocSchema/DocSchema.js.map +1 -1
  112. package/lib/esm/components/DocSchema/index.js +1 -12
  113. package/lib/esm/components/DocSchema/index.js.map +1 -1
  114. package/lib/esm/components/DocSdkUsage/DocSdkExampleCell.js +6 -14
  115. package/lib/esm/components/DocSdkUsage/DocSdkExampleCell.js.map +1 -1
  116. package/lib/esm/components/DocSdkUsage/DocSdkUsage.js +38 -47
  117. package/lib/esm/components/DocSdkUsage/DocSdkUsage.js.map +1 -1
  118. package/lib/esm/components/DocSdkUsage/index.js +1 -12
  119. package/lib/esm/components/DocSdkUsage/index.js.map +1 -1
  120. package/lib/esm/components/DocSdkUsage/utils.js +11 -24
  121. package/lib/esm/components/DocSdkUsage/utils.js.map +1 -1
  122. package/lib/esm/components/DocSource/DocSource.js +13 -21
  123. package/lib/esm/components/DocSource/DocSource.js.map +1 -1
  124. package/lib/esm/components/DocSource/index.js +1 -12
  125. package/lib/esm/components/DocSource/index.js.map +1 -1
  126. package/lib/esm/components/DocStatus/DocStatus.js +8 -16
  127. package/lib/esm/components/DocStatus/DocStatus.js.map +1 -1
  128. package/lib/esm/components/DocStatus/index.js +1 -12
  129. package/lib/esm/components/DocStatus/index.js.map +1 -1
  130. package/lib/esm/components/DocTitle/DocTitle.js +3 -11
  131. package/lib/esm/components/DocTitle/DocTitle.js.map +1 -1
  132. package/lib/esm/components/DocTitle/index.js +1 -12
  133. package/lib/esm/components/DocTitle/index.js.map +1 -1
  134. package/lib/esm/components/DocTypeSummary/DocTypeSummary.js +11 -19
  135. package/lib/esm/components/DocTypeSummary/DocTypeSummary.js.map +1 -1
  136. package/lib/esm/components/DocTypeSummary/index.js +1 -12
  137. package/lib/esm/components/DocTypeSummary/index.js.map +1 -1
  138. package/lib/esm/components/ErrorBoundary/ErrorBoundary.js +5 -14
  139. package/lib/esm/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  140. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.js +11 -19
  141. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.js.map +1 -1
  142. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js +46 -54
  143. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js.map +1 -1
  144. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/index.js +1 -12
  145. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/index.js.map +1 -1
  146. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/index.js +1 -12
  147. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/index.js.map +1 -1
  148. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/index.js +1 -12
  149. package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/index.js.map +1 -1
  150. package/lib/esm/components/ErrorBoundary/index.js +1 -12
  151. package/lib/esm/components/ErrorBoundary/index.js.map +1 -1
  152. package/lib/esm/components/ExploreType/ExploreProperty.js +48 -63
  153. package/lib/esm/components/ExploreType/ExploreProperty.js.map +1 -1
  154. package/lib/esm/components/ExploreType/ExploreType.js +23 -32
  155. package/lib/esm/components/ExploreType/ExploreType.js.map +1 -1
  156. package/lib/esm/components/ExploreType/exploreUtils.js +38 -51
  157. package/lib/esm/components/ExploreType/exploreUtils.js.map +1 -1
  158. package/lib/esm/components/ExploreType/index.js +3 -80
  159. package/lib/esm/components/ExploreType/index.js.map +1 -1
  160. package/lib/esm/components/Header/Header.js +20 -31
  161. package/lib/esm/components/Header/Header.js.map +1 -1
  162. package/lib/esm/components/Header/index.js +1 -24
  163. package/lib/esm/components/Header/index.js.map +1 -1
  164. package/lib/esm/components/Link/Link.js +3 -11
  165. package/lib/esm/components/Link/Link.js.map +1 -1
  166. package/lib/esm/components/Link/index.js +1 -12
  167. package/lib/esm/components/Link/index.js.map +1 -1
  168. package/lib/esm/components/SelectorContainer/ApiSpecSelector.js +11 -19
  169. package/lib/esm/components/SelectorContainer/ApiSpecSelector.js.map +1 -1
  170. package/lib/esm/components/SelectorContainer/SdkLanguageSelector.js +16 -25
  171. package/lib/esm/components/SelectorContainer/SdkLanguageSelector.js.map +1 -1
  172. package/lib/esm/components/SelectorContainer/SelectorContainer.js +16 -25
  173. package/lib/esm/components/SelectorContainer/SelectorContainer.js.map +1 -1
  174. package/lib/esm/components/SelectorContainer/index.js +1 -12
  175. package/lib/esm/components/SelectorContainer/index.js.map +1 -1
  176. package/lib/esm/components/SelectorContainer/utils.js +4 -11
  177. package/lib/esm/components/SelectorContainer/utils.js.map +1 -1
  178. package/lib/esm/components/SideNav/SearchMessage.js +8 -16
  179. package/lib/esm/components/SideNav/SearchMessage.js.map +1 -1
  180. package/lib/esm/components/SideNav/SideNav.js +41 -50
  181. package/lib/esm/components/SideNav/SideNav.js.map +1 -1
  182. package/lib/esm/components/SideNav/SideNavMethodTags.js +6 -14
  183. package/lib/esm/components/SideNav/SideNavMethodTags.js.map +1 -1
  184. package/lib/esm/components/SideNav/SideNavMethods.js +22 -32
  185. package/lib/esm/components/SideNav/SideNavMethods.js.map +1 -1
  186. package/lib/esm/components/SideNav/SideNavTypeTags.js +6 -14
  187. package/lib/esm/components/SideNav/SideNavTypeTags.js.map +1 -1
  188. package/lib/esm/components/SideNav/SideNavTypes.js +22 -32
  189. package/lib/esm/components/SideNav/SideNavTypes.js.map +1 -1
  190. package/lib/esm/components/SideNav/index.js +1 -12
  191. package/lib/esm/components/SideNav/index.js.map +1 -1
  192. package/lib/esm/components/SideNav/searchUtils.js +6 -15
  193. package/lib/esm/components/SideNav/searchUtils.js.map +1 -1
  194. package/lib/esm/components/common/Loader.js +8 -16
  195. package/lib/esm/components/common/Loader.js.map +1 -1
  196. package/lib/esm/components/common/common.js +11 -21
  197. package/lib/esm/components/common/common.js.map +1 -1
  198. package/lib/esm/components/common/index.js +2 -27
  199. package/lib/esm/components/common/index.js.map +1 -1
  200. package/lib/esm/components/index.js +22 -183
  201. package/lib/esm/components/index.js.map +1 -1
  202. package/lib/esm/index.js +5 -60
  203. package/lib/esm/index.js.map +1 -1
  204. package/lib/esm/routes/AppRouter.js +22 -30
  205. package/lib/esm/routes/AppRouter.js.map +1 -1
  206. package/lib/esm/routes/index.js +1 -12
  207. package/lib/esm/routes/index.js.map +1 -1
  208. package/lib/esm/scenes/DiffScene/DiffScene.js +43 -52
  209. package/lib/esm/scenes/DiffScene/DiffScene.js.map +1 -1
  210. package/lib/esm/scenes/DiffScene/DocDiff/DiffBanner.js +9 -17
  211. package/lib/esm/scenes/DiffScene/DocDiff/DiffBanner.js.map +1 -1
  212. package/lib/esm/scenes/DiffScene/DocDiff/DiffItem.js +33 -44
  213. package/lib/esm/scenes/DiffScene/DocDiff/DiffItem.js.map +1 -1
  214. package/lib/esm/scenes/DiffScene/DocDiff/DiffLegend.js +18 -26
  215. package/lib/esm/scenes/DiffScene/DocDiff/DiffLegend.js.map +1 -1
  216. package/lib/esm/scenes/DiffScene/DocDiff/DocDiff.js +11 -20
  217. package/lib/esm/scenes/DiffScene/DocDiff/DocDiff.js.map +1 -1
  218. package/lib/esm/scenes/DiffScene/DocDiff/docDiffUtils.js +5 -13
  219. package/lib/esm/scenes/DiffScene/DocDiff/docDiffUtils.js.map +1 -1
  220. package/lib/esm/scenes/DiffScene/DocDiff/index.js +1 -12
  221. package/lib/esm/scenes/DiffScene/DocDiff/index.js.map +1 -1
  222. package/lib/esm/scenes/DiffScene/diffUtils.js +8 -19
  223. package/lib/esm/scenes/DiffScene/diffUtils.js.map +1 -1
  224. package/lib/esm/scenes/DiffScene/index.js +1 -12
  225. package/lib/esm/scenes/DiffScene/index.js.map +1 -1
  226. package/lib/esm/scenes/ErrorDetailScene/ErrorDetailScene.js +11 -19
  227. package/lib/esm/scenes/ErrorDetailScene/ErrorDetailScene.js.map +1 -1
  228. package/lib/esm/scenes/ErrorDetailScene/index.js +1 -12
  229. package/lib/esm/scenes/ErrorDetailScene/index.js.map +1 -1
  230. package/lib/esm/scenes/HomeScene/HomeScene.js +9 -17
  231. package/lib/esm/scenes/HomeScene/HomeScene.js.map +1 -1
  232. package/lib/esm/scenes/HomeScene/index.js +1 -12
  233. package/lib/esm/scenes/HomeScene/index.js.map +1 -1
  234. package/lib/esm/scenes/MethodScene/MethodScene.js +47 -56
  235. package/lib/esm/scenes/MethodScene/MethodScene.js.map +1 -1
  236. package/lib/esm/scenes/MethodScene/components/DocOperation.js +12 -20
  237. package/lib/esm/scenes/MethodScene/components/DocOperation.js.map +1 -1
  238. package/lib/esm/scenes/MethodScene/components/DocRequestBody.js +7 -15
  239. package/lib/esm/scenes/MethodScene/components/DocRequestBody.js.map +1 -1
  240. package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponseTypes.js +11 -20
  241. package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponseTypes.js.map +1 -1
  242. package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponses.js +19 -28
  243. package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponses.js.map +1 -1
  244. package/lib/esm/scenes/MethodScene/components/DocResponses/index.js +1 -12
  245. package/lib/esm/scenes/MethodScene/components/DocResponses/index.js.map +1 -1
  246. package/lib/esm/scenes/MethodScene/components/DocResponses/utils.js +1 -8
  247. package/lib/esm/scenes/MethodScene/components/DocResponses/utils.js.map +1 -1
  248. package/lib/esm/scenes/MethodScene/components/index.js +3 -26
  249. package/lib/esm/scenes/MethodScene/components/index.js.map +1 -1
  250. package/lib/esm/scenes/MethodScene/index.js +1 -12
  251. package/lib/esm/scenes/MethodScene/index.js.map +1 -1
  252. package/lib/esm/scenes/MethodTagScene/MethodTagScene.js +31 -40
  253. package/lib/esm/scenes/MethodTagScene/MethodTagScene.js.map +1 -1
  254. package/lib/esm/scenes/MethodTagScene/index.js +1 -12
  255. package/lib/esm/scenes/MethodTagScene/index.js.map +1 -1
  256. package/lib/esm/scenes/MethodTagScene/utils.js +1 -8
  257. package/lib/esm/scenes/MethodTagScene/utils.js.map +1 -1
  258. package/lib/esm/scenes/TypeScene/TypeScene.js +20 -29
  259. package/lib/esm/scenes/TypeScene/TypeScene.js.map +1 -1
  260. package/lib/esm/scenes/TypeScene/index.js +1 -12
  261. package/lib/esm/scenes/TypeScene/index.js.map +1 -1
  262. package/lib/esm/scenes/TypeTagScene/TypeTagScene.js +30 -39
  263. package/lib/esm/scenes/TypeTagScene/TypeTagScene.js.map +1 -1
  264. package/lib/esm/scenes/TypeTagScene/index.js +1 -12
  265. package/lib/esm/scenes/TypeTagScene/index.js.map +1 -1
  266. package/lib/esm/scenes/TypeTagScene/utils.js +1 -8
  267. package/lib/esm/scenes/TypeTagScene/utils.js.map +1 -1
  268. package/lib/esm/scenes/index.js +6 -47
  269. package/lib/esm/scenes/index.js.map +1 -1
  270. package/lib/esm/scenes/utils/hooks/index.js +1 -12
  271. package/lib/esm/scenes/utils/hooks/index.js.map +1 -1
  272. package/lib/esm/scenes/utils/hooks/tagStoreSync.js +14 -21
  273. package/lib/esm/scenes/utils/hooks/tagStoreSync.js.map +1 -1
  274. package/lib/esm/scenes/utils/index.js +1 -12
  275. package/lib/esm/scenes/utils/index.js.map +1 -1
  276. package/lib/esm/state/index.js +4 -49
  277. package/lib/esm/state/index.js.map +1 -1
  278. package/lib/esm/state/lodes/index.js +2 -27
  279. package/lib/esm/state/lodes/index.js.map +1 -1
  280. package/lib/esm/state/lodes/sagas.js +10 -16
  281. package/lib/esm/state/lodes/sagas.js.map +1 -1
  282. package/lib/esm/state/lodes/selectors.js +2 -10
  283. package/lib/esm/state/lodes/selectors.js.map +1 -1
  284. package/lib/esm/state/lodes/slice.js +8 -19
  285. package/lib/esm/state/lodes/slice.js.map +1 -1
  286. package/lib/esm/state/settings/index.js +2 -27
  287. package/lib/esm/state/settings/index.js.map +1 -1
  288. package/lib/esm/state/settings/sagas.js +18 -24
  289. package/lib/esm/state/settings/sagas.js.map +1 -1
  290. package/lib/esm/state/settings/selectors.js +5 -16
  291. package/lib/esm/state/settings/selectors.js.map +1 -1
  292. package/lib/esm/state/settings/slice.js +11 -23
  293. package/lib/esm/state/settings/slice.js.map +1 -1
  294. package/lib/esm/state/specs/index.js +2 -27
  295. package/lib/esm/state/specs/index.js.map +1 -1
  296. package/lib/esm/state/specs/sagas.js +21 -25
  297. package/lib/esm/state/specs/sagas.js.map +1 -1
  298. package/lib/esm/state/specs/selectors.js +2 -10
  299. package/lib/esm/state/specs/selectors.js.map +1 -1
  300. package/lib/esm/state/specs/slice.js +8 -19
  301. package/lib/esm/state/specs/slice.js.map +1 -1
  302. package/lib/esm/state/store.js +13 -21
  303. package/lib/esm/state/store.js.map +1 -1
  304. package/lib/esm/test-data/declarations.js +1 -8
  305. package/lib/esm/test-data/declarations.js.map +1 -1
  306. package/lib/esm/test-data/examples.js +1 -8
  307. package/lib/esm/test-data/examples.js.map +1 -1
  308. package/lib/esm/test-data/index.js +4 -51
  309. package/lib/esm/test-data/index.js.map +1 -1
  310. package/lib/esm/test-data/sdkLanguages.js +2 -10
  311. package/lib/esm/test-data/sdkLanguages.js.map +1 -1
  312. package/lib/esm/test-data/specs.js +7 -18
  313. package/lib/esm/test-data/specs.js.map +1 -1
  314. package/lib/esm/test-utils/index.js +3 -38
  315. package/lib/esm/test-utils/index.js.map +1 -1
  316. package/lib/esm/test-utils/lodes.js +5 -12
  317. package/lib/esm/test-utils/lodes.js.map +1 -1
  318. package/lib/esm/test-utils/redux.js +25 -37
  319. package/lib/esm/test-utils/redux.js.map +1 -1
  320. package/lib/esm/test-utils/router.js +6 -15
  321. package/lib/esm/test-utils/router.js.map +1 -1
  322. package/lib/esm/utils/adaptorUtils.js +15 -26
  323. package/lib/esm/utils/adaptorUtils.js.map +1 -1
  324. package/lib/esm/utils/apixAdaptor.js +13 -22
  325. package/lib/esm/utils/apixAdaptor.js.map +1 -1
  326. package/lib/esm/utils/highlight.js +3 -11
  327. package/lib/esm/utils/highlight.js.map +1 -1
  328. package/lib/esm/utils/hooks/globalStoreSync.js +15 -22
  329. package/lib/esm/utils/hooks/globalStoreSync.js.map +1 -1
  330. package/lib/esm/utils/hooks/index.js +3 -26
  331. package/lib/esm/utils/hooks/index.js.map +1 -1
  332. package/lib/esm/utils/hooks/navigation.js +3 -10
  333. package/lib/esm/utils/hooks/navigation.js.map +1 -1
  334. package/lib/esm/utils/hooks/useQuery.js +5 -12
  335. package/lib/esm/utils/hooks/useQuery.js.map +1 -1
  336. package/lib/esm/utils/index.js +8 -101
  337. package/lib/esm/utils/index.js.map +1 -1
  338. package/lib/esm/utils/lodeUtils.js +2 -10
  339. package/lib/esm/utils/lodeUtils.js.map +1 -1
  340. package/lib/esm/utils/path.js +15 -32
  341. package/lib/esm/utils/path.js.map +1 -1
  342. package/lib/esm/utils/sdkLanguage.js +5 -14
  343. package/lib/esm/utils/sdkLanguage.js.map +1 -1
  344. package/lib/esm/utils/useWindowSize.js +4 -10
  345. package/lib/esm/utils/useWindowSize.js.map +1 -1
  346. package/lib/routes/AppRouter.js.map +1 -1
  347. package/lib/scenes/DiffScene/DiffScene.js.map +1 -1
  348. package/lib/scenes/DiffScene/DocDiff/DiffBanner.js.map +1 -1
  349. package/lib/scenes/DiffScene/DocDiff/DiffItem.js.map +1 -1
  350. package/lib/scenes/DiffScene/DocDiff/DiffLegend.js.map +1 -1
  351. package/lib/scenes/DiffScene/DocDiff/DocDiff.js.map +1 -1
  352. package/lib/scenes/DiffScene/DocDiff/docDiffUtils.js.map +1 -1
  353. package/lib/scenes/ErrorDetailScene/ErrorDetailScene.js.map +1 -1
  354. package/lib/scenes/HomeScene/HomeScene.js.map +1 -1
  355. package/lib/scenes/MethodScene/MethodScene.js.map +1 -1
  356. package/lib/scenes/MethodScene/components/DocOperation.js.map +1 -1
  357. package/lib/scenes/MethodScene/components/DocRequestBody.js.map +1 -1
  358. package/lib/scenes/MethodScene/components/DocResponses/DocResponseTypes.js.map +1 -1
  359. package/lib/scenes/MethodScene/components/DocResponses/DocResponses.js.map +1 -1
  360. package/lib/scenes/MethodTagScene/MethodTagScene.js.map +1 -1
  361. package/lib/scenes/MethodTagScene/utils.js.map +1 -1
  362. package/lib/scenes/TypeScene/TypeScene.js.map +1 -1
  363. package/lib/scenes/TypeTagScene/TypeTagScene.js.map +1 -1
  364. package/lib/scenes/TypeTagScene/utils.js.map +1 -1
  365. package/lib/scenes/utils/hooks/tagStoreSync.js.map +1 -1
  366. package/lib/state/lodes/sagas.js.map +1 -1
  367. package/lib/state/settings/sagas.js.map +1 -1
  368. package/lib/state/specs/sagas.js +2 -0
  369. package/lib/state/specs/sagas.js.map +1 -1
  370. package/lib/test-data/specs.js.map +1 -1
  371. package/lib/test-utils/redux.js.map +1 -1
  372. package/lib/test-utils/router.js.map +1 -1
  373. package/lib/utils/adaptorUtils.js.map +1 -1
  374. package/lib/utils/apixAdaptor.js.map +1 -1
  375. package/lib/utils/highlight.js.map +1 -1
  376. package/lib/utils/hooks/globalStoreSync.js.map +1 -1
  377. package/lib/utils/hooks/navigation.js.map +1 -1
  378. package/lib/utils/hooks/useQuery.js.map +1 -1
  379. package/lib/utils/lodeUtils.js.map +1 -1
  380. package/lib/utils/path.js.map +1 -1
  381. package/lib/utils/sdkLanguage.js.map +1 -1
  382. package/lib/utils/useWindowSize.js.map +1 -1
  383. package/package.json +7 -7
  384. package/public/Looker.4.0.json +5181 -1075
  385. package/public/versions.json +4 -10
  386. package/src/components/DocMarkdown/DocMarkdown.spec.tsx +10 -10
  387. package/src/components/DocMarkdown/utils.spec.ts +11 -11
  388. package/src/components/DocReferences/DocReferences.spec.tsx +6 -6
  389. package/src/components/ExploreType/ExploreType.spec.tsx +0 -12
  390. package/src/components/SelectorContainer/ApiSpecSelector.spec.tsx +2 -2
  391. package/src/components/SideNav/SideNav.spec.tsx +6 -6
  392. package/src/components/SideNav/SideNavMethodTags.spec.tsx +4 -4
  393. package/src/components/SideNav/SideNavMethods.spec.tsx +1 -1
  394. package/src/components/SideNav/SideNavTypeTags.spec.tsx +4 -4
  395. package/src/components/SideNav/SideNavTypes.spec.tsx +1 -1
  396. package/src/scenes/DiffScene/DocDiff/DocDiff.spec.tsx +1 -1
  397. package/src/state/specs/sagas.ts +4 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_TypeTagScene","require"],"sources":["../../../../src/scenes/TypeTagScene/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport { TypeTagScene } from './TypeTagScene'\n"],"mappings":";;;;;;;;;;;AAyBA,IAAAA,aAAA,GAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["TypeTagScene"],"sources":["../../../../src/scenes/TypeTagScene/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport { TypeTagScene } from './TypeTagScene'\n"],"mappings":"AAyBA,SAASA,YAAY,QAAQ,gBAAgB"}
@@ -1,15 +1,8 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getMetaTypes = void 0;
7
- var getMetaTypes = types => {
1
+ export var getMetaTypes = types => {
8
2
  var typeSet = new Set();
9
3
  Object.values(types).forEach(type => {
10
4
  typeSet.add(type.metaType.toString().toUpperCase());
11
5
  });
12
6
  return Array.from(typeSet.values());
13
7
  };
14
- exports.getMetaTypes = getMetaTypes;
15
8
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":["getMetaTypes","types","typeSet","Set","Object","values","forEach","type","add","metaType","toString","toUpperCase","Array","from","exports"],"sources":["../../../../src/scenes/TypeTagScene/utils.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { TypeList } from '@looker/sdk-codegen'\n\n/**\n * Given a list of types it returns a list of distinct types\n * @param types A list of types\n */\nexport const getMetaTypes = (types: TypeList) => {\n const typeSet = new Set<string>()\n Object.values(types).forEach((type) => {\n typeSet.add(type.metaType.toString().toUpperCase())\n })\n return Array.from(typeSet.values())\n}\n"],"mappings":";;;;;;AAgCO,IAAMA,YAAY,GAAIC,KAAe,IAAK;EAC/C,IAAMC,OAAO,GAAG,IAAIC,GAAG,EAAU;EACjCC,MAAM,CAACC,MAAM,CAACJ,KAAK,CAAC,CAACK,OAAO,CAAEC,IAAI,IAAK;IACrCL,OAAO,CAACM,GAAG,CAACD,IAAI,CAACE,QAAQ,CAACC,QAAQ,EAAE,CAACC,WAAW,EAAE,CAAC;EACrD,CAAC,CAAC;EACF,OAAOC,KAAK,CAACC,IAAI,CAACX,OAAO,CAACG,MAAM,EAAE,CAAC;AACrC,CAAC;AAAAS,OAAA,CAAAd,YAAA,GAAAA,YAAA"}
1
+ {"version":3,"file":"utils.js","names":["getMetaTypes","types","typeSet","Set","Object","values","forEach","type","add","metaType","toString","toUpperCase","Array","from"],"sources":["../../../../src/scenes/TypeTagScene/utils.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { TypeList } from '@looker/sdk-codegen'\n\n/**\n * Given a list of types it returns a list of distinct types\n * @param types A list of types\n */\nexport const getMetaTypes = (types: TypeList) => {\n const typeSet = new Set<string>()\n Object.values(types).forEach((type) => {\n typeSet.add(type.metaType.toString().toUpperCase())\n })\n return Array.from(typeSet.values())\n}\n"],"mappings":"AAgCA,OAAO,IAAMA,YAAY,GAAIC,KAAe,IAAK;EAC/C,IAAMC,OAAO,GAAG,IAAIC,GAAG,CAAS,CAAC;EACjCC,MAAM,CAACC,MAAM,CAACJ,KAAK,CAAC,CAACK,OAAO,CAAEC,IAAI,IAAK;IACrCL,OAAO,CAACM,GAAG,CAACD,IAAI,CAACE,QAAQ,CAACC,QAAQ,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,CAAC;EACrD,CAAC,CAAC;EACF,OAAOC,KAAK,CAACC,IAAI,CAACX,OAAO,CAACG,MAAM,CAAC,CAAC,CAAC;AACrC,CAAC"}
@@ -1,48 +1,7 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "ErrorDetailScene", {
7
- enumerable: true,
8
- get: function get() {
9
- return _ErrorDetailScene.ErrorDetailScene;
10
- }
11
- });
12
- Object.defineProperty(exports, "HomeScene", {
13
- enumerable: true,
14
- get: function get() {
15
- return _HomeScene.HomeScene;
16
- }
17
- });
18
- Object.defineProperty(exports, "MethodScene", {
19
- enumerable: true,
20
- get: function get() {
21
- return _MethodScene.MethodScene;
22
- }
23
- });
24
- Object.defineProperty(exports, "MethodTagScene", {
25
- enumerable: true,
26
- get: function get() {
27
- return _MethodTagScene.MethodTagScene;
28
- }
29
- });
30
- Object.defineProperty(exports, "TypeScene", {
31
- enumerable: true,
32
- get: function get() {
33
- return _TypeScene.TypeScene;
34
- }
35
- });
36
- Object.defineProperty(exports, "TypeTagScene", {
37
- enumerable: true,
38
- get: function get() {
39
- return _TypeTagScene.TypeTagScene;
40
- }
41
- });
42
- var _ErrorDetailScene = require("./ErrorDetailScene");
43
- var _HomeScene = require("./HomeScene");
44
- var _MethodScene = require("./MethodScene");
45
- var _TypeScene = require("./TypeScene");
46
- var _MethodTagScene = require("./MethodTagScene");
47
- var _TypeTagScene = require("./TypeTagScene");
1
+ export { ErrorDetailScene } from './ErrorDetailScene';
2
+ export { HomeScene } from './HomeScene';
3
+ export { MethodScene } from './MethodScene';
4
+ export { TypeScene } from './TypeScene';
5
+ export { MethodTagScene } from './MethodTagScene';
6
+ export { TypeTagScene } from './TypeTagScene';
48
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_ErrorDetailScene","require","_HomeScene","_MethodScene","_TypeScene","_MethodTagScene","_TypeTagScene"],"sources":["../../../src/scenes/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport { ErrorDetailScene } from './ErrorDetailScene'\nexport { HomeScene } from './HomeScene'\nexport { MethodScene } from './MethodScene'\nexport { TypeScene } from './TypeScene'\nexport { MethodTagScene } from './MethodTagScene'\nexport { TypeTagScene } from './TypeTagScene'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA"}
1
+ {"version":3,"file":"index.js","names":["ErrorDetailScene","HomeScene","MethodScene","TypeScene","MethodTagScene","TypeTagScene"],"sources":["../../../src/scenes/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport { ErrorDetailScene } from './ErrorDetailScene'\nexport { HomeScene } from './HomeScene'\nexport { MethodScene } from './MethodScene'\nexport { TypeScene } from './TypeScene'\nexport { MethodTagScene } from './MethodTagScene'\nexport { TypeTagScene } from './TypeTagScene'\n"],"mappings":"AAyBA,SAASA,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,YAAY,QAAQ,gBAAgB"}
@@ -1,13 +1,2 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "useTagStoreSync", {
7
- enumerable: true,
8
- get: function get() {
9
- return _tagStoreSync.useTagStoreSync;
10
- }
11
- });
12
- var _tagStoreSync = require("./tagStoreSync");
1
+ export { useTagStoreSync } from './tagStoreSync';
13
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_tagStoreSync","require"],"sources":["../../../../../src/scenes/utils/hooks/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport { useTagStoreSync } from './tagStoreSync'\n"],"mappings":";;;;;;;;;;;AA0BA,IAAAA,aAAA,GAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["useTagStoreSync"],"sources":["../../../../../src/scenes/utils/hooks/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport { useTagStoreSync } from './tagStoreSync'\n"],"mappings":"AA0BA,SAASA,eAAe,QAAQ,gBAAgB"}
@@ -1,37 +1,31 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useTagStoreSync = void 0;
7
- var _reactRouterDom = require("react-router-dom");
8
- var _reactRedux = require("react-redux");
9
- var _react = require("react");
10
- var _state = require("../../../state");
11
- var _utils = require("../../../utils");
12
- var useTagStoreSync = () => {
13
- var location = (0, _reactRouterDom.useLocation)();
1
+ import { useLocation } from 'react-router-dom';
2
+ import { useSelector } from 'react-redux';
3
+ import { useEffect } from 'react';
4
+ import { selectTagFilter, useSettingActions, useSettingStoreState } from '../../../state';
5
+ import { isValidFilter, useNavigation } from '../../../utils';
6
+ export var useTagStoreSync = () => {
7
+ var location = useLocation();
14
8
  var {
15
9
  navigate
16
- } = (0, _utils.useNavigation)();
10
+ } = useNavigation();
17
11
  var {
18
12
  setTagFilterAction
19
- } = (0, _state.useSettingActions)();
13
+ } = useSettingActions();
20
14
  var {
21
15
  initialized
22
- } = (0, _state.useSettingStoreState)();
23
- var selectedTagFilter = (0, _reactRedux.useSelector)(_state.selectTagFilter);
24
- (0, _react.useEffect)(() => {
16
+ } = useSettingStoreState();
17
+ var selectedTagFilter = useSelector(selectTagFilter);
18
+ useEffect(() => {
25
19
  if (initialized) {
26
20
  var params = new URLSearchParams(location.search);
27
21
  var verbParam = params.get('t') || 'ALL';
28
- var validVerbParam = (0, _utils.isValidFilter)(location.pathname, verbParam);
22
+ var validVerbParam = isValidFilter(location.pathname, verbParam);
29
23
  if (validVerbParam) {
30
24
  setTagFilterAction({
31
25
  tagFilter: verbParam.toUpperCase()
32
26
  });
33
27
  } else {
34
- var verb = (0, _utils.isValidFilter)(location.pathname, selectedTagFilter) ? selectedTagFilter : 'ALL';
28
+ var verb = isValidFilter(location.pathname, selectedTagFilter) ? selectedTagFilter : 'ALL';
35
29
  navigate(location.pathname, {
36
30
  t: verb === 'ALL' ? null : verb.toLowerCase()
37
31
  });
@@ -39,5 +33,4 @@ var useTagStoreSync = () => {
39
33
  }
40
34
  }, [initialized]);
41
35
  };
42
- exports.useTagStoreSync = useTagStoreSync;
43
36
  //# sourceMappingURL=tagStoreSync.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tagStoreSync.js","names":["_reactRouterDom","require","_reactRedux","_react","_state","_utils","useTagStoreSync","location","useLocation","navigate","useNavigation","setTagFilterAction","useSettingActions","initialized","useSettingStoreState","selectedTagFilter","useSelector","selectTagFilter","useEffect","params","URLSearchParams","search","verbParam","get","validVerbParam","isValidFilter","pathname","tagFilter","toUpperCase","verb","t","toLowerCase","exports"],"sources":["../../../../../src/scenes/utils/hooks/tagStoreSync.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2022 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { useLocation } from 'react-router-dom'\nimport { useSelector } from 'react-redux'\nimport { useEffect } from 'react'\nimport {\n selectTagFilter,\n useSettingActions,\n useSettingStoreState,\n} from '../../../state'\nimport { isValidFilter, useNavigation } from '../../../utils'\n\n/**\n * Hook for syncing tag scene URL params with the Redux store\n *\n * Tag scene specific search parameters: 't'\n */\nexport const useTagStoreSync = () => {\n const location = useLocation()\n const { navigate } = useNavigation()\n const { setTagFilterAction } = useSettingActions()\n const { initialized } = useSettingStoreState()\n const selectedTagFilter = useSelector(selectTagFilter)\n\n useEffect(() => {\n if (initialized) {\n const params = new URLSearchParams(location.search)\n\n // syncing verb filter on tag scene page\n const verbParam = params.get('t') || 'ALL'\n const validVerbParam = isValidFilter(location.pathname, verbParam)\n if (validVerbParam) {\n setTagFilterAction({ tagFilter: verbParam.toUpperCase() })\n } else {\n // must confirm store tag filter param is valid for tag type before updating\n const verb = isValidFilter(location.pathname, selectedTagFilter)\n ? selectedTagFilter\n : 'ALL'\n navigate(location.pathname, {\n t: verb === 'ALL' ? null : verb.toLowerCase(),\n })\n }\n }\n }, [initialized])\n}\n"],"mappings":";;;;;;AAyBA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAKA,IAAAI,MAAA,GAAAJ,OAAA;AAOO,IAAMK,eAAe,GAAGA,CAAA,KAAM;EACnC,IAAMC,QAAQ,GAAG,IAAAC,2BAAW,GAAE;EAC9B,IAAM;IAAEC;EAAS,CAAC,GAAG,IAAAC,oBAAa,GAAE;EACpC,IAAM;IAAEC;EAAmB,CAAC,GAAG,IAAAC,wBAAiB,GAAE;EAClD,IAAM;IAAEC;EAAY,CAAC,GAAG,IAAAC,2BAAoB,GAAE;EAC9C,IAAMC,iBAAiB,GAAG,IAAAC,uBAAW,EAACC,sBAAe,CAAC;EAEtD,IAAAC,gBAAS,EAAC,MAAM;IACd,IAAIL,WAAW,EAAE;MACf,IAAMM,MAAM,GAAG,IAAIC,eAAe,CAACb,QAAQ,CAACc,MAAM,CAAC;MAGnD,IAAMC,SAAS,GAAGH,MAAM,CAACI,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK;MAC1C,IAAMC,cAAc,GAAG,IAAAC,oBAAa,EAAClB,QAAQ,CAACmB,QAAQ,EAAEJ,SAAS,CAAC;MAClE,IAAIE,cAAc,EAAE;QAClBb,kBAAkB,CAAC;UAAEgB,SAAS,EAAEL,SAAS,CAACM,WAAW;QAAG,CAAC,CAAC;MAC5D,CAAC,MAAM;QAEL,IAAMC,IAAI,GAAG,IAAAJ,oBAAa,EAAClB,QAAQ,CAACmB,QAAQ,EAAEX,iBAAiB,CAAC,GAC5DA,iBAAiB,GACjB,KAAK;QACTN,QAAQ,CAACF,QAAQ,CAACmB,QAAQ,EAAE;UAC1BI,CAAC,EAAED,IAAI,KAAK,KAAK,GAAG,IAAI,GAAGA,IAAI,CAACE,WAAW;QAC7C,CAAC,CAAC;MACJ;IACF;EACF,CAAC,EAAE,CAAClB,WAAW,CAAC,CAAC;AACnB,CAAC;AAAAmB,OAAA,CAAA1B,eAAA,GAAAA,eAAA"}
1
+ {"version":3,"file":"tagStoreSync.js","names":["useLocation","useSelector","useEffect","selectTagFilter","useSettingActions","useSettingStoreState","isValidFilter","useNavigation","useTagStoreSync","location","navigate","setTagFilterAction","initialized","selectedTagFilter","params","URLSearchParams","search","verbParam","get","validVerbParam","pathname","tagFilter","toUpperCase","verb","t","toLowerCase"],"sources":["../../../../../src/scenes/utils/hooks/tagStoreSync.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2022 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { useLocation } from 'react-router-dom'\nimport { useSelector } from 'react-redux'\nimport { useEffect } from 'react'\nimport {\n selectTagFilter,\n useSettingActions,\n useSettingStoreState,\n} from '../../../state'\nimport { isValidFilter, useNavigation } from '../../../utils'\n\n/**\n * Hook for syncing tag scene URL params with the Redux store\n *\n * Tag scene specific search parameters: 't'\n */\nexport const useTagStoreSync = () => {\n const location = useLocation()\n const { navigate } = useNavigation()\n const { setTagFilterAction } = useSettingActions()\n const { initialized } = useSettingStoreState()\n const selectedTagFilter = useSelector(selectTagFilter)\n\n useEffect(() => {\n if (initialized) {\n const params = new URLSearchParams(location.search)\n\n // syncing verb filter on tag scene page\n const verbParam = params.get('t') || 'ALL'\n const validVerbParam = isValidFilter(location.pathname, verbParam)\n if (validVerbParam) {\n setTagFilterAction({ tagFilter: verbParam.toUpperCase() })\n } else {\n // must confirm store tag filter param is valid for tag type before updating\n const verb = isValidFilter(location.pathname, selectedTagFilter)\n ? selectedTagFilter\n : 'ALL'\n navigate(location.pathname, {\n t: verb === 'ALL' ? null : verb.toLowerCase(),\n })\n }\n }\n }, [initialized])\n}\n"],"mappings":"AAyBA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,SAAS,QAAQ,OAAO;AACjC,SACEC,eAAe,EACfC,iBAAiB,EACjBC,oBAAoB,QACf,gBAAgB;AACvB,SAASC,aAAa,EAAEC,aAAa,QAAQ,gBAAgB;AAO7D,OAAO,IAAMC,eAAe,GAAGA,CAAA,KAAM;EACnC,IAAMC,QAAQ,GAAGT,WAAW,CAAC,CAAC;EAC9B,IAAM;IAAEU;EAAS,CAAC,GAAGH,aAAa,CAAC,CAAC;EACpC,IAAM;IAAEI;EAAmB,CAAC,GAAGP,iBAAiB,CAAC,CAAC;EAClD,IAAM;IAAEQ;EAAY,CAAC,GAAGP,oBAAoB,CAAC,CAAC;EAC9C,IAAMQ,iBAAiB,GAAGZ,WAAW,CAACE,eAAe,CAAC;EAEtDD,SAAS,CAAC,MAAM;IACd,IAAIU,WAAW,EAAE;MACf,IAAME,MAAM,GAAG,IAAIC,eAAe,CAACN,QAAQ,CAACO,MAAM,CAAC;MAGnD,IAAMC,SAAS,GAAGH,MAAM,CAACI,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK;MAC1C,IAAMC,cAAc,GAAGb,aAAa,CAACG,QAAQ,CAACW,QAAQ,EAAEH,SAAS,CAAC;MAClE,IAAIE,cAAc,EAAE;QAClBR,kBAAkB,CAAC;UAAEU,SAAS,EAAEJ,SAAS,CAACK,WAAW,CAAC;QAAE,CAAC,CAAC;MAC5D,CAAC,MAAM;QAEL,IAAMC,IAAI,GAAGjB,aAAa,CAACG,QAAQ,CAACW,QAAQ,EAAEP,iBAAiB,CAAC,GAC5DA,iBAAiB,GACjB,KAAK;QACTH,QAAQ,CAACD,QAAQ,CAACW,QAAQ,EAAE;UAC1BI,CAAC,EAAED,IAAI,KAAK,KAAK,GAAG,IAAI,GAAGA,IAAI,CAACE,WAAW,CAAC;QAC9C,CAAC,CAAC;MACJ;IACF;EACF,CAAC,EAAE,CAACb,WAAW,CAAC,CAAC;AACnB,CAAC"}
@@ -1,13 +1,2 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "useTagStoreSync", {
7
- enumerable: true,
8
- get: function get() {
9
- return _hooks.useTagStoreSync;
10
- }
11
- });
12
- var _hooks = require("./hooks");
1
+ export { useTagStoreSync } from './hooks';
13
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_hooks","require"],"sources":["../../../../src/scenes/utils/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport { useTagStoreSync } from './hooks'\n"],"mappings":";;;;;;;;;;;AA0BA,IAAAA,MAAA,GAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["useTagStoreSync"],"sources":["../../../../src/scenes/utils/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport { useTagStoreSync } from './hooks'\n"],"mappings":"AA0BA,SAASA,eAAe,QAAQ,SAAS"}
@@ -1,50 +1,5 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _store = require("./store");
7
- Object.keys(_store).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _store[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function get() {
13
- return _store[key];
14
- }
15
- });
16
- });
17
- var _settings = require("./settings");
18
- Object.keys(_settings).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _settings[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function get() {
24
- return _settings[key];
25
- }
26
- });
27
- });
28
- var _lodes = require("./lodes");
29
- Object.keys(_lodes).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _lodes[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function get() {
35
- return _lodes[key];
36
- }
37
- });
38
- });
39
- var _specs = require("./specs");
40
- Object.keys(_specs).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _specs[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function get() {
46
- return _specs[key];
47
- }
48
- });
49
- });
1
+ export * from './store';
2
+ export * from './settings';
3
+ export * from './lodes';
4
+ export * from './specs';
50
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_store","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_settings","_lodes","_specs"],"sources":["../../../src/state/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './store'\nexport * from './settings'\nexport * from './lodes'\nexport * from './specs'\n"],"mappings":";;;;;AAyBA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,SAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,SAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,SAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,SAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,MAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,MAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,MAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAE,MAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,MAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,MAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,MAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAG,MAAA,CAAAP,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/state/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './store'\nexport * from './settings'\nexport * from './lodes'\nexport * from './specs'\n"],"mappings":"AAyBA,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,SAAS;AACvB,cAAc,SAAS"}
@@ -1,28 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _selectors = require("./selectors");
7
- Object.keys(_selectors).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _selectors[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function get() {
13
- return _selectors[key];
14
- }
15
- });
16
- });
17
- var _slice = require("./slice");
18
- Object.keys(_slice).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _slice[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function get() {
24
- return _slice[key];
25
- }
26
- });
27
- });
1
+ export * from './selectors';
2
+ export * from './slice';
28
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_selectors","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_slice"],"sources":["../../../../src/state/lodes/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './selectors'\nexport * from './slice'\n"],"mappings":";;;;;AAyBA,IAAAA,UAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,UAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,UAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,UAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,MAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,MAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,MAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,MAAA,CAAAL,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/state/lodes/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './selectors'\nexport * from './slice'\n"],"mappings":"AAyBA,cAAc,aAAa;AAC3B,cAAc,SAAS"}
@@ -1,28 +1,22 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.saga = saga;
7
- var _typedReduxSaga = require("typed-redux-saga");
8
- var _utils = require("../../utils");
9
- var _slice = require("./slice");
1
+ import { call, put, takeEvery } from 'typed-redux-saga';
2
+ import { getLoded } from '../../utils';
3
+ import { lodeActions } from './slice';
10
4
  function* initSaga(action) {
11
5
  var {
12
6
  initLodesSuccessAction,
13
7
  initLodesFailureAction
14
- } = _slice.lodeActions;
8
+ } = lodeActions;
15
9
  try {
16
- var lode = yield* (0, _typedReduxSaga.call)(_utils.getLoded, action.payload.examplesLodeUrl, action.payload.declarationsLodeUrl);
17
- yield* (0, _typedReduxSaga.put)(initLodesSuccessAction(lode));
10
+ var lode = yield* call(getLoded, action.payload.examplesLodeUrl, action.payload.declarationsLodeUrl);
11
+ yield* put(initLodesSuccessAction(lode));
18
12
  } catch (error) {
19
- yield* (0, _typedReduxSaga.put)(initLodesFailureAction(error));
13
+ yield* put(initLodesFailureAction(error));
20
14
  }
21
15
  }
22
- function* saga() {
16
+ export function* saga() {
23
17
  var {
24
18
  initLodesAction
25
- } = _slice.lodeActions;
26
- yield* (0, _typedReduxSaga.takeEvery)(initLodesAction, initSaga);
19
+ } = lodeActions;
20
+ yield* takeEvery(initLodesAction, initSaga);
27
21
  }
28
22
  //# sourceMappingURL=sagas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sagas.js","names":["_typedReduxSaga","require","_utils","_slice","initSaga","action","initLodesSuccessAction","initLodesFailureAction","lodeActions","lode","call","getLoded","payload","examplesLodeUrl","declarationsLodeUrl","put","error","saga","initLodesAction","takeEvery"],"sources":["../../../../src/state/lodes/sagas.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { call, put, takeEvery } from 'typed-redux-saga'\nimport type { PayloadAction } from '@reduxjs/toolkit'\n\nimport { getLoded } from '../../utils'\nimport type { InitPayload } from './slice'\nimport { lodeActions } from './slice'\n\nfunction* initSaga(action: PayloadAction<InitPayload>) {\n const { initLodesSuccessAction, initLodesFailureAction } = lodeActions\n try {\n const lode = yield* call(\n getLoded,\n action.payload.examplesLodeUrl,\n action.payload.declarationsLodeUrl\n )\n yield* put(initLodesSuccessAction(lode))\n } catch (error: any) {\n yield* put(initLodesFailureAction(error))\n }\n}\n\nexport function* saga() {\n const { initLodesAction } = lodeActions\n\n yield* takeEvery(initLodesAction, initSaga)\n}\n"],"mappings":";;;;;;AAyBA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,UAAUG,QAAQA,CAACC,MAAkC,EAAE;EACrD,IAAM;IAAEC,sBAAsB;IAAEC;EAAuB,CAAC,GAAGC,kBAAW;EACtE,IAAI;IACF,IAAMC,IAAI,GAAG,OAAO,IAAAC,oBAAI,EACtBC,eAAQ,EACRN,MAAM,CAACO,OAAO,CAACC,eAAe,EAC9BR,MAAM,CAACO,OAAO,CAACE,mBAAmB,CACnC;IACD,OAAO,IAAAC,mBAAG,EAACT,sBAAsB,CAACG,IAAI,CAAC,CAAC;EAC1C,CAAC,CAAC,OAAOO,KAAU,EAAE;IACnB,OAAO,IAAAD,mBAAG,EAACR,sBAAsB,CAACS,KAAK,CAAC,CAAC;EAC3C;AACF;AAEO,UAAUC,IAAIA,CAAA,EAAG;EACtB,IAAM;IAAEC;EAAgB,CAAC,GAAGV,kBAAW;EAEvC,OAAO,IAAAW,yBAAS,EAACD,eAAe,EAAEd,QAAQ,CAAC;AAC7C"}
1
+ {"version":3,"file":"sagas.js","names":["call","put","takeEvery","getLoded","lodeActions","initSaga","action","initLodesSuccessAction","initLodesFailureAction","lode","payload","examplesLodeUrl","declarationsLodeUrl","error","saga","initLodesAction"],"sources":["../../../../src/state/lodes/sagas.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { call, put, takeEvery } from 'typed-redux-saga'\nimport type { PayloadAction } from '@reduxjs/toolkit'\n\nimport { getLoded } from '../../utils'\nimport type { InitPayload } from './slice'\nimport { lodeActions } from './slice'\n\nfunction* initSaga(action: PayloadAction<InitPayload>) {\n const { initLodesSuccessAction, initLodesFailureAction } = lodeActions\n try {\n const lode = yield* call(\n getLoded,\n action.payload.examplesLodeUrl,\n action.payload.declarationsLodeUrl\n )\n yield* put(initLodesSuccessAction(lode))\n } catch (error: any) {\n yield* put(initLodesFailureAction(error))\n }\n}\n\nexport function* saga() {\n const { initLodesAction } = lodeActions\n\n yield* takeEvery(initLodesAction, initSaga)\n}\n"],"mappings":"AAyBA,SAASA,IAAI,EAAEC,GAAG,EAAEC,SAAS,QAAQ,kBAAkB;AAGvD,SAASC,QAAQ,QAAQ,aAAa;AAEtC,SAASC,WAAW,QAAQ,SAAS;AAErC,UAAUC,QAAQA,CAACC,MAAkC,EAAE;EACrD,IAAM;IAAEC,sBAAsB;IAAEC;EAAuB,CAAC,GAAGJ,WAAW;EACtE,IAAI;IACF,IAAMK,IAAI,GAAG,OAAOT,IAAI,CACtBG,QAAQ,EACRG,MAAM,CAACI,OAAO,CAACC,eAAe,EAC9BL,MAAM,CAACI,OAAO,CAACE,mBACjB,CAAC;IACD,OAAOX,GAAG,CAACM,sBAAsB,CAACE,IAAI,CAAC,CAAC;EAC1C,CAAC,CAAC,OAAOI,KAAU,EAAE;IACnB,OAAOZ,GAAG,CAACO,sBAAsB,CAACK,KAAK,CAAC,CAAC;EAC3C;AACF;AAEA,OAAO,UAAUC,IAAIA,CAAA,EAAG;EACtB,IAAM;IAAEC;EAAgB,CAAC,GAAGX,WAAW;EAEvC,OAAOF,SAAS,CAACa,eAAe,EAAEV,QAAQ,CAAC;AAC7C"}
@@ -1,12 +1,4 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.selectExamplesLode = exports.selectDeclarationsLode = void 0;
7
1
  var selectLodeState = state => state.lodes;
8
- var selectExamplesLode = state => selectLodeState(state).examples;
9
- exports.selectExamplesLode = selectExamplesLode;
10
- var selectDeclarationsLode = state => selectLodeState(state).declarations;
11
- exports.selectDeclarationsLode = selectDeclarationsLode;
2
+ export var selectExamplesLode = state => selectLodeState(state).examples;
3
+ export var selectDeclarationsLode = state => selectLodeState(state).declarations;
12
4
  //# sourceMappingURL=selectors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.js","names":["selectLodeState","state","lodes","selectExamplesLode","examples","exports","selectDeclarationsLode","declarations"],"sources":["../../../../src/state/lodes/selectors.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport type { RootState } from '../store'\n\nconst selectLodeState = (state: RootState) => state.lodes\n\nexport const selectExamplesLode = (state: RootState) =>\n selectLodeState(state).examples\n\nexport const selectDeclarationsLode = (state: RootState) =>\n selectLodeState(state).declarations\n"],"mappings":";;;;;;AA2BA,IAAMA,eAAe,GAAIC,KAAgB,IAAKA,KAAK,CAACC,KAAK;AAElD,IAAMC,kBAAkB,GAAIF,KAAgB,IACjDD,eAAe,CAACC,KAAK,CAAC,CAACG,QAAQ;AAAAC,OAAA,CAAAF,kBAAA,GAAAA,kBAAA;AAE1B,IAAMG,sBAAsB,GAAIL,KAAgB,IACrDD,eAAe,CAACC,KAAK,CAAC,CAACM,YAAY;AAAAF,OAAA,CAAAC,sBAAA,GAAAA,sBAAA"}
1
+ {"version":3,"file":"selectors.js","names":["selectLodeState","state","lodes","selectExamplesLode","examples","selectDeclarationsLode","declarations"],"sources":["../../../../src/state/lodes/selectors.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport type { RootState } from '../store'\n\nconst selectLodeState = (state: RootState) => state.lodes\n\nexport const selectExamplesLode = (state: RootState) =>\n selectLodeState(state).examples\n\nexport const selectDeclarationsLode = (state: RootState) =>\n selectLodeState(state).declarations\n"],"mappings":"AA2BA,IAAMA,eAAe,GAAIC,KAAgB,IAAKA,KAAK,CAACC,KAAK;AAEzD,OAAO,IAAMC,kBAAkB,GAAIF,KAAgB,IACjDD,eAAe,CAACC,KAAK,CAAC,CAACG,QAAQ;AAEjC,OAAO,IAAMC,sBAAsB,GAAIJ,KAAgB,IACrDD,eAAe,CAACC,KAAK,CAAC,CAACK,YAAY"}
@@ -1,18 +1,11 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useLodesStoreState = exports.useLodeActions = exports.lodesSlice = exports.lodeActions = exports.defaultLodesState = void 0;
7
- var _redux = require("@looker/redux");
8
- var _toolkit = require("@reduxjs/toolkit");
9
- var _sagas = require("./sagas");
10
- var defaultLodesState = {
1
+ import { createSliceHooks } from '@looker/redux';
2
+ import { createSlice } from '@reduxjs/toolkit';
3
+ import { saga } from './sagas';
4
+ export var defaultLodesState = {
11
5
  examples: undefined,
12
6
  declarations: undefined
13
7
  };
14
- exports.defaultLodesState = defaultLodesState;
15
- var lodesSlice = (0, _toolkit.createSlice)({
8
+ export var lodesSlice = createSlice({
16
9
  name: 'lodes',
17
10
  initialState: defaultLodesState,
18
11
  reducers: {
@@ -26,13 +19,9 @@ var lodesSlice = (0, _toolkit.createSlice)({
26
19
  }
27
20
  }
28
21
  });
29
- exports.lodesSlice = lodesSlice;
30
- var lodeActions = lodesSlice.actions;
31
- exports.lodeActions = lodeActions;
32
- var {
22
+ export var lodeActions = lodesSlice.actions;
23
+ export var {
33
24
  useActions: useLodeActions,
34
25
  useStoreState: useLodesStoreState
35
- } = (0, _redux.createSliceHooks)(lodesSlice, _sagas.saga);
36
- exports.useLodesStoreState = useLodesStoreState;
37
- exports.useLodeActions = useLodeActions;
26
+ } = createSliceHooks(lodesSlice, saga);
38
27
  //# sourceMappingURL=slice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slice.js","names":["_redux","require","_toolkit","_sagas","defaultLodesState","examples","undefined","declarations","exports","lodesSlice","createSlice","name","initialState","reducers","initLodesAction","_state","_action","initLodesSuccessAction","state","action","payload","initLodesFailureAction","error","lodeActions","actions","useActions","useLodeActions","useStoreState","useLodesStoreState","createSliceHooks","saga"],"sources":["../../../../src/state/lodes/slice.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { createSliceHooks } from '@looker/redux'\nimport type { IDeclarationMine, IExampleMine } from '@looker/sdk-codegen'\nimport type { PayloadAction } from '@reduxjs/toolkit'\nimport { createSlice } from '@reduxjs/toolkit'\n\nimport { saga } from './sagas'\n\nexport interface LodesState {\n examples?: IExampleMine\n declarations?: IDeclarationMine\n error?: Error\n}\n\nexport const defaultLodesState: LodesState = {\n examples: undefined,\n declarations: undefined,\n}\n\nexport interface InitPayload {\n examplesLodeUrl?: string\n declarationsLodeUrl?: string\n}\n\ntype InitSuccessAction = LodesState\n\nexport const lodesSlice = createSlice({\n name: 'lodes',\n initialState: defaultLodesState,\n reducers: {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n initLodesAction(_state, _action: PayloadAction<InitPayload>) {},\n initLodesSuccessAction(state, action: PayloadAction<InitSuccessAction>) {\n state.examples = action.payload.examples\n state.declarations = action.payload.declarations\n },\n initLodesFailureAction(state, action: PayloadAction<Error>) {\n state.error = action.payload\n },\n },\n})\n\nexport const lodeActions = lodesSlice.actions\nexport const { useActions: useLodeActions, useStoreState: useLodesStoreState } =\n createSliceHooks(lodesSlice, saga)\n"],"mappings":";;;;;;AAyBA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAQO,IAAMG,iBAA6B,GAAG;EAC3CC,QAAQ,EAAEC,SAAS;EACnBC,YAAY,EAAED;AAChB,CAAC;AAAAE,OAAA,CAAAJ,iBAAA,GAAAA,iBAAA;AASM,IAAMK,UAAU,GAAG,IAAAC,oBAAW,EAAC;EACpCC,IAAI,EAAE,OAAO;EACbC,YAAY,EAAER,iBAAiB;EAC/BS,QAAQ,EAAE;IAERC,eAAeA,CAACC,MAAM,EAAEC,OAAmC,EAAE,CAAC,CAAC;IAC/DC,sBAAsBA,CAACC,KAAK,EAAEC,MAAwC,EAAE;MACtED,KAAK,CAACb,QAAQ,GAAGc,MAAM,CAACC,OAAO,CAACf,QAAQ;MACxCa,KAAK,CAACX,YAAY,GAAGY,MAAM,CAACC,OAAO,CAACb,YAAY;IAClD,CAAC;IACDc,sBAAsBA,CAACH,KAAK,EAAEC,MAA4B,EAAE;MAC1DD,KAAK,CAACI,KAAK,GAAGH,MAAM,CAACC,OAAO;IAC9B;EACF;AACF,CAAC,CAAC;AAAAZ,OAAA,CAAAC,UAAA,GAAAA,UAAA;AAEK,IAAMc,WAAW,GAAGd,UAAU,CAACe,OAAO;AAAAhB,OAAA,CAAAe,WAAA,GAAAA,WAAA;AACtC,IAAM;EAAEE,UAAU,EAAEC,cAAc;EAAEC,aAAa,EAAEC;AAAmB,CAAC,GAC5E,IAAAC,uBAAgB,EAACpB,UAAU,EAAEqB,WAAI,CAAC;AAAAtB,OAAA,CAAAoB,kBAAA,GAAAA,kBAAA;AAAApB,OAAA,CAAAkB,cAAA,GAAAA,cAAA"}
1
+ {"version":3,"file":"slice.js","names":["createSliceHooks","createSlice","saga","defaultLodesState","examples","undefined","declarations","lodesSlice","name","initialState","reducers","initLodesAction","_state","_action","initLodesSuccessAction","state","action","payload","initLodesFailureAction","error","lodeActions","actions","useActions","useLodeActions","useStoreState","useLodesStoreState"],"sources":["../../../../src/state/lodes/slice.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nimport { createSliceHooks } from '@looker/redux'\nimport type { IDeclarationMine, IExampleMine } from '@looker/sdk-codegen'\nimport type { PayloadAction } from '@reduxjs/toolkit'\nimport { createSlice } from '@reduxjs/toolkit'\n\nimport { saga } from './sagas'\n\nexport interface LodesState {\n examples?: IExampleMine\n declarations?: IDeclarationMine\n error?: Error\n}\n\nexport const defaultLodesState: LodesState = {\n examples: undefined,\n declarations: undefined,\n}\n\nexport interface InitPayload {\n examplesLodeUrl?: string\n declarationsLodeUrl?: string\n}\n\ntype InitSuccessAction = LodesState\n\nexport const lodesSlice = createSlice({\n name: 'lodes',\n initialState: defaultLodesState,\n reducers: {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n initLodesAction(_state, _action: PayloadAction<InitPayload>) {},\n initLodesSuccessAction(state, action: PayloadAction<InitSuccessAction>) {\n state.examples = action.payload.examples\n state.declarations = action.payload.declarations\n },\n initLodesFailureAction(state, action: PayloadAction<Error>) {\n state.error = action.payload\n },\n },\n})\n\nexport const lodeActions = lodesSlice.actions\nexport const { useActions: useLodeActions, useStoreState: useLodesStoreState } =\n createSliceHooks(lodesSlice, saga)\n"],"mappings":"AAyBA,SAASA,gBAAgB,QAAQ,eAAe;AAGhD,SAASC,WAAW,QAAQ,kBAAkB;AAE9C,SAASC,IAAI,QAAQ,SAAS;AAQ9B,OAAO,IAAMC,iBAA6B,GAAG;EAC3CC,QAAQ,EAAEC,SAAS;EACnBC,YAAY,EAAED;AAChB,CAAC;AASD,OAAO,IAAME,UAAU,GAAGN,WAAW,CAAC;EACpCO,IAAI,EAAE,OAAO;EACbC,YAAY,EAAEN,iBAAiB;EAC/BO,QAAQ,EAAE;IAERC,eAAeA,CAACC,MAAM,EAAEC,OAAmC,EAAE,CAAC,CAAC;IAC/DC,sBAAsBA,CAACC,KAAK,EAAEC,MAAwC,EAAE;MACtED,KAAK,CAACX,QAAQ,GAAGY,MAAM,CAACC,OAAO,CAACb,QAAQ;MACxCW,KAAK,CAACT,YAAY,GAAGU,MAAM,CAACC,OAAO,CAACX,YAAY;IAClD,CAAC;IACDY,sBAAsBA,CAACH,KAAK,EAAEC,MAA4B,EAAE;MAC1DD,KAAK,CAACI,KAAK,GAAGH,MAAM,CAACC,OAAO;IAC9B;EACF;AACF,CAAC,CAAC;AAEF,OAAO,IAAMG,WAAW,GAAGb,UAAU,CAACc,OAAO;AAC7C,OAAO,IAAM;EAAEC,UAAU,EAAEC,cAAc;EAAEC,aAAa,EAAEC;AAAmB,CAAC,GAC5EzB,gBAAgB,CAACO,UAAU,EAAEL,IAAI,CAAC"}
@@ -1,28 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _selectors = require("./selectors");
7
- Object.keys(_selectors).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _selectors[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function get() {
13
- return _selectors[key];
14
- }
15
- });
16
- });
17
- var _slice = require("./slice");
18
- Object.keys(_slice).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _slice[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function get() {
24
- return _slice[key];
25
- }
26
- });
27
- });
1
+ export * from './selectors';
2
+ export * from './slice';
28
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_selectors","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_slice"],"sources":["../../../../src/state/settings/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './selectors'\nexport * from './slice'\n"],"mappings":";;;;;AAyBA,IAAAA,UAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,UAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,UAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAT,UAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,MAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,MAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,MAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAAC,MAAA,CAAAL,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/state/settings/index.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './selectors'\nexport * from './slice'\n"],"mappings":"AAyBA,cAAc,aAAa;AAC3B,cAAc,SAAS"}