@looker/api-explorer 0.9.55 → 0.9.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +596 -634
- package/CODE_OF_CONDUCT.md +10 -10
- package/e2e/MethodScene.spec.ts +23 -23
- package/e2e/diffScene.spec.ts +115 -115
- package/e2e/e2e.spec.ts +134 -134
- package/e2e/helpers.ts +11 -11
- package/jest-puppeteer.config.js +2 -2
- package/jest.config.js +4 -7
- package/lib/ApiExplorer.js +5 -3
- package/lib/ApiExplorer.js.map +1 -1
- package/lib/App.js +3 -1
- package/lib/App.js.map +1 -1
- package/lib/StandaloneApiExplorer.js +2 -2
- package/lib/StandaloneApiExplorer.js.map +1 -1
- package/lib/components/Banner/Banner.js +2 -2
- package/lib/components/Banner/Banner.js.map +1 -1
- package/lib/components/Banner/index.js.map +1 -1
- package/lib/components/DocActivityType/DocActivityType.js.map +1 -1
- package/lib/components/DocActivityType/index.js.map +1 -1
- package/lib/components/DocCode/DocCode.js.map +1 -1
- package/lib/components/DocCode/index.js.map +1 -1
- package/lib/components/DocMarkdown/DocMarkdown.js.map +1 -1
- package/lib/components/DocMarkdown/index.js.map +1 -1
- package/lib/components/DocMarkdown/utils.js.map +1 -1
- package/lib/components/DocMethodSummary/DocMethodSummary.js.map +1 -1
- package/lib/components/DocMethodSummary/DocSummaryStatus.js.map +1 -1
- package/lib/components/DocMethodSummary/index.js.map +1 -1
- package/lib/components/DocMethodSummary/utils.d.ts +2 -2
- package/lib/components/DocMethodSummary/utils.js +1 -1
- package/lib/components/DocMethodSummary/utils.js.map +1 -1
- package/lib/components/DocPseudo/DocParam.js.map +1 -1
- package/lib/components/DocPseudo/DocParams.js +2 -2
- package/lib/components/DocPseudo/DocParams.js.map +1 -1
- package/lib/components/DocPseudo/DocPrimaryResponse.js.map +1 -1
- package/lib/components/DocPseudo/DocPseudo.js.map +1 -1
- package/lib/components/DocPseudo/index.js.map +1 -1
- package/lib/components/DocRateLimited/DocRateLimited.js.map +1 -1
- package/lib/components/DocRateLimited/index.js.map +1 -1
- package/lib/components/DocReferences/DocReferences.js.map +1 -1
- package/lib/components/DocReferences/index.js.map +1 -1
- package/lib/components/DocReferences/utils.d.ts +2 -2
- package/lib/components/DocReferences/utils.js.map +1 -1
- package/lib/components/DocSDKs/DocDeclarations.js.map +1 -1
- package/lib/components/DocSDKs/DocSDKs.d.ts +1 -1
- package/lib/components/DocSDKs/DocSDKs.js +2 -2
- package/lib/components/DocSDKs/DocSDKs.js.map +1 -1
- package/lib/components/DocSDKs/index.js.map +1 -1
- package/lib/components/DocSDKs/utils.js.map +1 -1
- package/lib/components/DocSchema/DocSchema.js.map +1 -1
- package/lib/components/DocSchema/index.js.map +1 -1
- package/lib/components/DocSdkUsage/DocSdkExampleCell.js.map +1 -1
- package/lib/components/DocSdkUsage/DocSdkUsage.js +2 -2
- package/lib/components/DocSdkUsage/DocSdkUsage.js.map +1 -1
- package/lib/components/DocSdkUsage/index.js.map +1 -1
- package/lib/components/DocSdkUsage/utils.js +3 -6
- package/lib/components/DocSdkUsage/utils.js.map +1 -1
- package/lib/components/DocSource/DocSource.js +0 -1
- package/lib/components/DocSource/DocSource.js.map +1 -1
- package/lib/components/DocSource/index.js.map +1 -1
- package/lib/components/DocStatus/DocStatus.js.map +1 -1
- package/lib/components/DocStatus/index.js.map +1 -1
- package/lib/components/DocTitle/DocTitle.js.map +1 -1
- package/lib/components/DocTitle/index.js.map +1 -1
- package/lib/components/DocTypeSummary/DocTypeSummary.js.map +1 -1
- package/lib/components/DocTypeSummary/index.js.map +1 -1
- package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/lib/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/lib/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.js.map +1 -1
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js +1 -2
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js.map +1 -1
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/index.js.map +1 -1
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/components/index.js.map +1 -1
- package/lib/components/ErrorBoundary/components/SomethingWentWrong/index.js.map +1 -1
- package/lib/components/ErrorBoundary/index.js.map +1 -1
- package/lib/components/ExploreType/ExploreProperty.d.ts +1 -1
- package/lib/components/ExploreType/ExploreProperty.js.map +1 -1
- package/lib/components/ExploreType/ExploreType.d.ts +1 -1
- package/lib/components/ExploreType/ExploreType.js.map +1 -1
- package/lib/components/ExploreType/exploreUtils.js +1 -2
- package/lib/components/ExploreType/exploreUtils.js.map +1 -1
- package/lib/components/ExploreType/index.js.map +1 -1
- package/lib/components/Header/Header.js +3 -6
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/index.js.map +1 -1
- package/lib/components/Link/Link.js +2 -3
- package/lib/components/Link/Link.js.map +1 -1
- package/lib/components/Link/index.js.map +1 -1
- package/lib/components/SelectorContainer/ApiSpecSelector.js.map +1 -1
- package/lib/components/SelectorContainer/SdkLanguageSelector.js +2 -2
- package/lib/components/SelectorContainer/SdkLanguageSelector.js.map +1 -1
- package/lib/components/SelectorContainer/SelectorContainer.js +1 -2
- package/lib/components/SelectorContainer/SelectorContainer.js.map +1 -1
- package/lib/components/SelectorContainer/index.js.map +1 -1
- package/lib/components/SelectorContainer/utils.js.map +1 -1
- package/lib/components/SideNav/SearchMessage.js.map +1 -1
- package/lib/components/SideNav/SideNav.js +2 -11
- package/lib/components/SideNav/SideNav.js.map +1 -1
- package/lib/components/SideNav/SideNavMethodTags.d.ts +2 -2
- package/lib/components/SideNav/SideNavMethodTags.js +2 -3
- package/lib/components/SideNav/SideNavMethodTags.js.map +1 -1
- package/lib/components/SideNav/SideNavMethods.d.ts +2 -2
- package/lib/components/SideNav/SideNavMethods.js +3 -4
- package/lib/components/SideNav/SideNavMethods.js.map +1 -1
- package/lib/components/SideNav/SideNavTypeTags.d.ts +2 -2
- package/lib/components/SideNav/SideNavTypeTags.js +2 -3
- package/lib/components/SideNav/SideNavTypeTags.js.map +1 -1
- package/lib/components/SideNav/SideNavTypes.d.ts +2 -2
- package/lib/components/SideNav/SideNavTypes.js +4 -5
- package/lib/components/SideNav/SideNavTypes.js.map +1 -1
- package/lib/components/SideNav/index.js.map +1 -1
- package/lib/components/SideNav/searchUtils.js.map +1 -1
- package/lib/components/common/Loader.js.map +1 -1
- package/lib/components/common/common.js +3 -4
- package/lib/components/common/common.js.map +1 -1
- package/lib/components/common/index.js.map +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/custom.d.js.map +1 -1
- package/lib/esm/ApiExplorer.js +7 -5
- package/lib/esm/ApiExplorer.js.map +1 -1
- package/lib/esm/App.js +3 -1
- package/lib/esm/App.js.map +1 -1
- package/lib/esm/StandaloneApiExplorer.js +2 -2
- package/lib/esm/StandaloneApiExplorer.js.map +1 -1
- package/lib/esm/components/Banner/Banner.js +1 -1
- package/lib/esm/components/Banner/Banner.js.map +1 -1
- package/lib/esm/components/Banner/index.js.map +1 -1
- package/lib/esm/components/DocActivityType/DocActivityType.js +1 -1
- package/lib/esm/components/DocActivityType/DocActivityType.js.map +1 -1
- package/lib/esm/components/DocActivityType/index.js.map +1 -1
- package/lib/esm/components/DocCode/DocCode.js.map +1 -1
- package/lib/esm/components/DocCode/index.js.map +1 -1
- package/lib/esm/components/DocMarkdown/DocMarkdown.js.map +1 -1
- package/lib/esm/components/DocMarkdown/index.js.map +1 -1
- package/lib/esm/components/DocMarkdown/utils.js.map +1 -1
- package/lib/esm/components/DocMethodSummary/DocMethodSummary.js.map +1 -1
- package/lib/esm/components/DocMethodSummary/DocSummaryStatus.js.map +1 -1
- package/lib/esm/components/DocMethodSummary/index.js.map +1 -1
- package/lib/esm/components/DocMethodSummary/utils.js +1 -1
- package/lib/esm/components/DocMethodSummary/utils.js.map +1 -1
- package/lib/esm/components/DocPseudo/DocParam.js.map +1 -1
- package/lib/esm/components/DocPseudo/DocParams.js.map +1 -1
- package/lib/esm/components/DocPseudo/DocPrimaryResponse.js.map +1 -1
- package/lib/esm/components/DocPseudo/DocPseudo.js.map +1 -1
- package/lib/esm/components/DocPseudo/index.js.map +1 -1
- package/lib/esm/components/DocRateLimited/DocRateLimited.js.map +1 -1
- package/lib/esm/components/DocRateLimited/index.js.map +1 -1
- package/lib/esm/components/DocReferences/DocReferences.js.map +1 -1
- package/lib/esm/components/DocReferences/index.js.map +1 -1
- package/lib/esm/components/DocReferences/utils.js.map +1 -1
- package/lib/esm/components/DocSDKs/DocDeclarations.js.map +1 -1
- package/lib/esm/components/DocSDKs/DocSDKs.js +1 -1
- package/lib/esm/components/DocSDKs/DocSDKs.js.map +1 -1
- package/lib/esm/components/DocSDKs/index.js.map +1 -1
- package/lib/esm/components/DocSDKs/utils.js.map +1 -1
- package/lib/esm/components/DocSchema/DocSchema.js.map +1 -1
- package/lib/esm/components/DocSchema/index.js.map +1 -1
- package/lib/esm/components/DocSdkUsage/DocSdkExampleCell.js.map +1 -1
- package/lib/esm/components/DocSdkUsage/DocSdkUsage.js +4 -4
- package/lib/esm/components/DocSdkUsage/DocSdkUsage.js.map +1 -1
- package/lib/esm/components/DocSdkUsage/index.js.map +1 -1
- package/lib/esm/components/DocSdkUsage/utils.js.map +1 -1
- package/lib/esm/components/DocSource/DocSource.js +0 -1
- package/lib/esm/components/DocSource/DocSource.js.map +1 -1
- package/lib/esm/components/DocSource/index.js.map +1 -1
- package/lib/esm/components/DocStatus/DocStatus.js.map +1 -1
- package/lib/esm/components/DocStatus/index.js.map +1 -1
- package/lib/esm/components/DocTitle/DocTitle.js.map +1 -1
- package/lib/esm/components/DocTitle/index.js.map +1 -1
- package/lib/esm/components/DocTypeSummary/DocTypeSummary.js.map +1 -1
- package/lib/esm/components/DocTypeSummary/index.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/index.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/components/index.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/components/SomethingWentWrong/index.js.map +1 -1
- package/lib/esm/components/ErrorBoundary/index.js.map +1 -1
- package/lib/esm/components/ExploreType/ExploreProperty.js +2 -2
- package/lib/esm/components/ExploreType/ExploreProperty.js.map +1 -1
- package/lib/esm/components/ExploreType/ExploreType.js.map +1 -1
- package/lib/esm/components/ExploreType/exploreUtils.js.map +1 -1
- package/lib/esm/components/ExploreType/index.js.map +1 -1
- package/lib/esm/components/Header/Header.js +1 -1
- package/lib/esm/components/Header/Header.js.map +1 -1
- package/lib/esm/components/Header/index.js.map +1 -1
- package/lib/esm/components/Link/Link.js +1 -1
- package/lib/esm/components/Link/Link.js.map +1 -1
- package/lib/esm/components/Link/index.js.map +1 -1
- package/lib/esm/components/SelectorContainer/ApiSpecSelector.js.map +1 -1
- package/lib/esm/components/SelectorContainer/SdkLanguageSelector.js.map +1 -1
- package/lib/esm/components/SelectorContainer/SelectorContainer.js +1 -1
- package/lib/esm/components/SelectorContainer/SelectorContainer.js.map +1 -1
- package/lib/esm/components/SelectorContainer/index.js.map +1 -1
- package/lib/esm/components/SelectorContainer/utils.js +1 -1
- package/lib/esm/components/SelectorContainer/utils.js.map +1 -1
- package/lib/esm/components/SideNav/SearchMessage.js +1 -1
- package/lib/esm/components/SideNav/SearchMessage.js.map +1 -1
- package/lib/esm/components/SideNav/SideNav.js +3 -12
- package/lib/esm/components/SideNav/SideNav.js.map +1 -1
- package/lib/esm/components/SideNav/SideNavMethodTags.js +1 -1
- package/lib/esm/components/SideNav/SideNavMethodTags.js.map +1 -1
- package/lib/esm/components/SideNav/SideNavMethods.js +1 -1
- package/lib/esm/components/SideNav/SideNavMethods.js.map +1 -1
- package/lib/esm/components/SideNav/SideNavTypeTags.js +1 -1
- package/lib/esm/components/SideNav/SideNavTypeTags.js.map +1 -1
- package/lib/esm/components/SideNav/SideNavTypes.js +2 -2
- package/lib/esm/components/SideNav/SideNavTypes.js.map +1 -1
- package/lib/esm/components/SideNav/index.js.map +1 -1
- package/lib/esm/components/SideNav/searchUtils.js +1 -1
- package/lib/esm/components/SideNav/searchUtils.js.map +1 -1
- package/lib/esm/components/common/Loader.js.map +1 -1
- package/lib/esm/components/common/common.js.map +1 -1
- package/lib/esm/components/common/index.js.map +1 -1
- package/lib/esm/components/index.js.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/routes/AppRouter.js.map +1 -1
- package/lib/esm/routes/index.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DiffScene.js +1 -1
- package/lib/esm/scenes/DiffScene/DiffScene.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DiffBanner.js +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DiffBanner.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DiffItem.js +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DiffItem.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DiffLegend.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/DocDiff.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/docDiffUtils.js +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/docDiffUtils.js.map +1 -1
- package/lib/esm/scenes/DiffScene/DocDiff/index.js.map +1 -1
- package/lib/esm/scenes/DiffScene/diffUtils.js.map +1 -1
- package/lib/esm/scenes/DiffScene/index.js.map +1 -1
- package/lib/esm/scenes/ErrorDetailScene/ErrorDetailScene.js +2 -1
- package/lib/esm/scenes/ErrorDetailScene/ErrorDetailScene.js.map +1 -1
- package/lib/esm/scenes/ErrorDetailScene/index.js.map +1 -1
- package/lib/esm/scenes/HomeScene/HomeScene.js.map +1 -1
- package/lib/esm/scenes/HomeScene/index.js.map +1 -1
- package/lib/esm/scenes/MethodScene/MethodScene.js +3 -3
- package/lib/esm/scenes/MethodScene/MethodScene.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocOperation.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocRequestBody.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponseTypes.js +2 -2
- package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponseTypes.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponses.js +2 -2
- package/lib/esm/scenes/MethodScene/components/DocResponses/DocResponses.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocResponses/index.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/DocResponses/utils.js.map +1 -1
- package/lib/esm/scenes/MethodScene/components/index.js.map +1 -1
- package/lib/esm/scenes/MethodScene/index.js.map +1 -1
- package/lib/esm/scenes/MethodTagScene/MethodTagScene.js +2 -2
- package/lib/esm/scenes/MethodTagScene/MethodTagScene.js.map +1 -1
- package/lib/esm/scenes/MethodTagScene/index.js.map +1 -1
- package/lib/esm/scenes/MethodTagScene/utils.js.map +1 -1
- package/lib/esm/scenes/TypeScene/TypeScene.js +3 -3
- package/lib/esm/scenes/TypeScene/TypeScene.js.map +1 -1
- package/lib/esm/scenes/TypeScene/index.js.map +1 -1
- package/lib/esm/scenes/TypeTagScene/TypeTagScene.js +1 -1
- package/lib/esm/scenes/TypeTagScene/TypeTagScene.js.map +1 -1
- package/lib/esm/scenes/TypeTagScene/index.js.map +1 -1
- package/lib/esm/scenes/TypeTagScene/utils.js.map +1 -1
- package/lib/esm/scenes/index.js.map +1 -1
- package/lib/esm/scenes/utils/hooks/index.js.map +1 -1
- package/lib/esm/scenes/utils/hooks/tagStoreSync.js.map +1 -1
- package/lib/esm/scenes/utils/index.js.map +1 -1
- package/lib/esm/state/index.js.map +1 -1
- package/lib/esm/state/lodes/index.js.map +1 -1
- package/lib/esm/state/lodes/sagas.js.map +1 -1
- package/lib/esm/state/lodes/selectors.js.map +1 -1
- package/lib/esm/state/lodes/slice.js.map +1 -1
- package/lib/esm/state/settings/index.js.map +1 -1
- package/lib/esm/state/settings/sagas.js +6 -6
- package/lib/esm/state/settings/sagas.js.map +1 -1
- package/lib/esm/state/settings/selectors.js.map +1 -1
- package/lib/esm/state/settings/slice.js +4 -4
- package/lib/esm/state/settings/slice.js.map +1 -1
- package/lib/esm/state/specs/index.js.map +1 -1
- package/lib/esm/state/specs/sagas.js +1 -1
- package/lib/esm/state/specs/sagas.js.map +1 -1
- package/lib/esm/state/specs/selectors.js.map +1 -1
- package/lib/esm/state/specs/slice.js.map +1 -1
- package/lib/esm/state/store.js +5 -5
- package/lib/esm/state/store.js.map +1 -1
- package/lib/esm/test-data/declarations.js.map +1 -1
- package/lib/esm/test-data/examples.js.map +1 -1
- package/lib/esm/test-data/index.js.map +1 -1
- package/lib/esm/test-data/sdkLanguages.js.map +1 -1
- package/lib/esm/test-data/specs.js +4 -4
- package/lib/esm/test-data/specs.js.map +1 -1
- package/lib/esm/test-utils/index.js.map +1 -1
- package/lib/esm/test-utils/lodes.js.map +1 -1
- package/lib/esm/test-utils/redux.js +5 -5
- package/lib/esm/test-utils/redux.js.map +1 -1
- package/lib/esm/test-utils/router.js.map +1 -1
- package/lib/esm/utils/adaptorUtils.js.map +1 -1
- package/lib/esm/utils/apixAdaptor.js +1 -1
- package/lib/esm/utils/apixAdaptor.js.map +1 -1
- package/lib/esm/utils/highlight.js.map +1 -1
- package/lib/esm/utils/hooks/globalStoreSync.js.map +1 -1
- package/lib/esm/utils/hooks/index.js.map +1 -1
- package/lib/esm/utils/hooks/navigation.js +2 -1
- package/lib/esm/utils/hooks/navigation.js.map +1 -1
- package/lib/esm/utils/hooks/useQuery.js.map +1 -1
- package/lib/esm/utils/index.js.map +1 -1
- package/lib/esm/utils/lodeUtils.js.map +1 -1
- package/lib/esm/utils/path.js +1 -1
- package/lib/esm/utils/path.js.map +1 -1
- package/lib/esm/utils/sdkLanguage.js +4 -4
- package/lib/esm/utils/sdkLanguage.js.map +1 -1
- package/lib/esm/utils/useWindowSize.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/routes/AppRouter.js.map +1 -1
- package/lib/routes/index.js.map +1 -1
- package/lib/scenes/DiffScene/DiffScene.js +2 -2
- package/lib/scenes/DiffScene/DiffScene.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/DiffBanner.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/DiffItem.js +2 -2
- package/lib/scenes/DiffScene/DocDiff/DiffItem.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/DiffLegend.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/DocDiff.js +2 -2
- package/lib/scenes/DiffScene/DocDiff/DocDiff.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/docDiffUtils.js.map +1 -1
- package/lib/scenes/DiffScene/DocDiff/index.js.map +1 -1
- package/lib/scenes/DiffScene/diffUtils.js +2 -4
- package/lib/scenes/DiffScene/diffUtils.js.map +1 -1
- package/lib/scenes/DiffScene/index.js.map +1 -1
- package/lib/scenes/ErrorDetailScene/ErrorDetailScene.d.ts +2 -2
- package/lib/scenes/ErrorDetailScene/ErrorDetailScene.js +2 -1
- package/lib/scenes/ErrorDetailScene/ErrorDetailScene.js.map +1 -1
- package/lib/scenes/ErrorDetailScene/index.js.map +1 -1
- package/lib/scenes/HomeScene/HomeScene.js.map +1 -1
- package/lib/scenes/HomeScene/index.js.map +1 -1
- package/lib/scenes/MethodScene/MethodScene.js +2 -2
- package/lib/scenes/MethodScene/MethodScene.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocOperation.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocRequestBody.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocResponses/DocResponseTypes.d.ts +3 -3
- package/lib/scenes/MethodScene/components/DocResponses/DocResponseTypes.js +2 -2
- package/lib/scenes/MethodScene/components/DocResponses/DocResponseTypes.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocResponses/DocResponses.d.ts +2 -2
- package/lib/scenes/MethodScene/components/DocResponses/DocResponses.js +2 -2
- package/lib/scenes/MethodScene/components/DocResponses/DocResponses.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocResponses/index.js.map +1 -1
- package/lib/scenes/MethodScene/components/DocResponses/utils.js.map +1 -1
- package/lib/scenes/MethodScene/components/index.js.map +1 -1
- package/lib/scenes/MethodScene/index.js.map +1 -1
- package/lib/scenes/MethodTagScene/MethodTagScene.js +2 -2
- package/lib/scenes/MethodTagScene/MethodTagScene.js.map +1 -1
- package/lib/scenes/MethodTagScene/index.js.map +1 -1
- package/lib/scenes/MethodTagScene/utils.js.map +1 -1
- package/lib/scenes/TypeScene/TypeScene.js +2 -2
- package/lib/scenes/TypeScene/TypeScene.js.map +1 -1
- package/lib/scenes/TypeScene/index.js.map +1 -1
- package/lib/scenes/TypeTagScene/TypeTagScene.js +2 -2
- package/lib/scenes/TypeTagScene/TypeTagScene.js.map +1 -1
- package/lib/scenes/TypeTagScene/index.js.map +1 -1
- package/lib/scenes/TypeTagScene/utils.js.map +1 -1
- package/lib/scenes/index.js.map +1 -1
- package/lib/scenes/utils/hooks/index.js.map +1 -1
- package/lib/scenes/utils/hooks/tagStoreSync.js.map +1 -1
- package/lib/scenes/utils/index.js.map +1 -1
- package/lib/state/index.js.map +1 -1
- package/lib/state/lodes/index.js.map +1 -1
- package/lib/state/lodes/sagas.js.map +1 -1
- package/lib/state/lodes/selectors.js.map +1 -1
- package/lib/state/lodes/slice.d.ts +1 -1
- package/lib/state/lodes/slice.js +3 -6
- package/lib/state/lodes/slice.js.map +1 -1
- package/lib/state/settings/index.js.map +1 -1
- package/lib/state/settings/sagas.js +4 -4
- package/lib/state/settings/sagas.js.map +1 -1
- package/lib/state/settings/selectors.js.map +1 -1
- package/lib/state/settings/slice.d.ts +4 -4
- package/lib/state/settings/slice.js +8 -12
- package/lib/state/settings/slice.js.map +1 -1
- package/lib/state/specs/index.js.map +1 -1
- package/lib/state/specs/sagas.js.map +1 -1
- package/lib/state/specs/selectors.js.map +1 -1
- package/lib/state/specs/slice.js +3 -6
- package/lib/state/specs/slice.js.map +1 -1
- package/lib/state/store.js +5 -6
- package/lib/state/store.js.map +1 -1
- package/lib/test-data/declarations.js +1 -2
- package/lib/test-data/declarations.js.map +1 -1
- package/lib/test-data/examples.js +1 -2
- package/lib/test-data/examples.js.map +1 -1
- package/lib/test-data/index.js.map +1 -1
- package/lib/test-data/sdkLanguages.js +2 -4
- package/lib/test-data/sdkLanguages.js.map +1 -1
- package/lib/test-data/specs.js +8 -12
- package/lib/test-data/specs.js.map +1 -1
- package/lib/test-utils/index.js.map +1 -1
- package/lib/test-utils/lodes.d.ts +1 -1
- package/lib/test-utils/lodes.js.map +1 -1
- package/lib/test-utils/redux.d.ts +6 -5
- package/lib/test-utils/redux.js +7 -10
- package/lib/test-utils/redux.js.map +1 -1
- package/lib/test-utils/router.d.ts +3 -2
- package/lib/test-utils/router.js +1 -2
- package/lib/test-utils/router.js.map +1 -1
- package/lib/utils/adaptorUtils.d.ts +3 -3
- package/lib/utils/adaptorUtils.js +3 -6
- package/lib/utils/adaptorUtils.js.map +1 -1
- package/lib/utils/apixAdaptor.js.map +1 -1
- package/lib/utils/highlight.d.ts +2 -2
- package/lib/utils/highlight.js.map +1 -1
- package/lib/utils/hooks/globalStoreSync.js.map +1 -1
- package/lib/utils/hooks/index.js.map +1 -1
- package/lib/utils/hooks/navigation.d.ts +1 -1
- package/lib/utils/hooks/navigation.js +2 -1
- package/lib/utils/hooks/navigation.js.map +1 -1
- package/lib/utils/hooks/useQuery.js.map +1 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/lodeUtils.d.ts +1 -1
- package/lib/utils/lodeUtils.js +2 -4
- package/lib/utils/lodeUtils.js.map +1 -1
- package/lib/utils/path.d.ts +2 -2
- package/lib/utils/path.js +5 -9
- package/lib/utils/path.js.map +1 -1
- package/lib/utils/sdkLanguage.js +5 -6
- package/lib/utils/sdkLanguage.js.map +1 -1
- package/lib/utils/useWindowSize.js.map +1 -1
- package/package.json +38 -38
- package/src/ApiExplorer.tsx +72 -72
- package/src/App.tsx +9 -9
- package/src/StandaloneApiExplorer.tsx +24 -24
- package/src/components/Banner/Banner.spec.tsx +27 -25
- package/src/components/Banner/Banner.tsx +20 -20
- package/src/components/Banner/index.ts +1 -1
- package/src/components/DocActivityType/DocActivityType.spec.tsx +17 -16
- package/src/components/DocActivityType/DocActivityType.tsx +6 -6
- package/src/components/DocActivityType/index.ts +1 -1
- package/src/components/DocCode/DocCode.tsx +16 -14
- package/src/components/DocCode/index.ts +1 -1
- package/src/components/DocMarkdown/DocMarkdown.spec.tsx +41 -41
- package/src/components/DocMarkdown/DocMarkdown.tsx +19 -19
- package/src/components/DocMarkdown/index.ts +1 -1
- package/src/components/DocMarkdown/utils.spec.ts +26 -26
- package/src/components/DocMarkdown/utils.ts +4 -4
- package/src/components/DocMethodSummary/DocMethodSummary.spec.tsx +18 -17
- package/src/components/DocMethodSummary/DocMethodSummary.tsx +9 -9
- package/src/components/DocMethodSummary/DocSummaryStatus.spec.tsx +12 -12
- package/src/components/DocMethodSummary/DocSummaryStatus.tsx +6 -6
- package/src/components/DocMethodSummary/index.tsx +3 -3
- package/src/components/DocMethodSummary/utils.spec.tsx +5 -5
- package/src/components/DocMethodSummary/utils.tsx +23 -23
- package/src/components/DocPseudo/DocParam.spec.tsx +22 -22
- package/src/components/DocPseudo/DocParam.tsx +7 -7
- package/src/components/DocPseudo/DocParams.spec.tsx +27 -27
- package/src/components/DocPseudo/DocParams.tsx +6 -6
- package/src/components/DocPseudo/DocPrimaryResponse.spec.tsx +16 -16
- package/src/components/DocPseudo/DocPrimaryResponse.tsx +6 -6
- package/src/components/DocPseudo/DocPseudo.spec.tsx +15 -13
- package/src/components/DocPseudo/DocPseudo.tsx +11 -11
- package/src/components/DocPseudo/index.tsx +1 -1
- package/src/components/DocRateLimited/DocRateLimited.spec.tsx +16 -16
- package/src/components/DocRateLimited/DocRateLimited.tsx +6 -6
- package/src/components/DocRateLimited/index.ts +1 -1
- package/src/components/DocReferences/DocReferences.spec.tsx +29 -26
- package/src/components/DocReferences/DocReferences.tsx +16 -16
- package/src/components/DocReferences/index.ts +1 -1
- package/src/components/DocReferences/utils.spec.tsx +2 -2
- package/src/components/DocReferences/utils.tsx +8 -8
- package/src/components/DocSDKs/DocDeclarations.tsx +7 -7
- package/src/components/DocSDKs/DocSDKs.spec.tsx +22 -22
- package/src/components/DocSDKs/DocSDKs.tsx +36 -36
- package/src/components/DocSDKs/index.ts +1 -1
- package/src/components/DocSDKs/utils.spec.ts +8 -8
- package/src/components/DocSDKs/utils.ts +6 -6
- package/src/components/DocSchema/DocSchema.tsx +9 -9
- package/src/components/DocSchema/index.ts +1 -1
- package/src/components/DocSdkUsage/DocSdkExampleCell.tsx +5 -5
- package/src/components/DocSdkUsage/DocSdkUsage.spec.tsx +22 -22
- package/src/components/DocSdkUsage/DocSdkUsage.tsx +35 -34
- package/src/components/DocSdkUsage/index.ts +1 -1
- package/src/components/DocSdkUsage/utils.ts +29 -30
- package/src/components/DocSource/DocSource.spec.tsx +33 -37
- package/src/components/DocSource/DocSource.tsx +17 -17
- package/src/components/DocSource/index.ts +1 -1
- package/src/components/DocStatus/DocStatus.spec.tsx +12 -12
- package/src/components/DocStatus/DocStatus.tsx +8 -8
- package/src/components/DocStatus/index.ts +1 -1
- package/src/components/DocTitle/DocTitle.spec.tsx +9 -9
- package/src/components/DocTitle/DocTitle.tsx +4 -4
- package/src/components/DocTitle/index.ts +1 -1
- package/src/components/DocTypeSummary/DocTypeSummary.spec.tsx +11 -11
- package/src/components/DocTypeSummary/DocTypeSummary.tsx +11 -11
- package/src/components/DocTypeSummary/index.tsx +1 -1
- package/src/components/ErrorBoundary/ErrorBoundary.spec.tsx +29 -29
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +16 -16
- package/src/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.spec.tsx +17 -17
- package/src/components/ErrorBoundary/components/SomethingWentWrong/SomethingWentWrong.tsx +11 -11
- package/src/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/SomethingWentWrongGraphic.tsx +4 -4
- package/src/components/ErrorBoundary/components/SomethingWentWrong/components/SomethingWentWrongGraphic/index.ts +1 -1
- package/src/components/ErrorBoundary/components/SomethingWentWrong/components/index.ts +1 -1
- package/src/components/ErrorBoundary/components/SomethingWentWrong/index.ts +2 -2
- package/src/components/ErrorBoundary/index.ts +1 -1
- package/src/components/ExploreType/ExploreProperty.spec.tsx +60 -58
- package/src/components/ExploreType/ExploreProperty.tsx +53 -53
- package/src/components/ExploreType/ExploreType.spec.tsx +41 -39
- package/src/components/ExploreType/ExploreType.tsx +33 -33
- package/src/components/ExploreType/exploreUtils.spec.tsx +38 -38
- package/src/components/ExploreType/exploreUtils.tsx +44 -44
- package/src/components/ExploreType/index.ts +3 -3
- package/src/components/Header/Header.spec.tsx +38 -44
- package/src/components/Header/Header.tsx +18 -18
- package/src/components/Header/index.ts +1 -1
- package/src/components/Link/Link.tsx +3 -3
- package/src/components/Link/index.ts +1 -1
- package/src/components/SelectorContainer/ApiSpecSelector.spec.tsx +31 -31
- package/src/components/SelectorContainer/ApiSpecSelector.tsx +18 -18
- package/src/components/SelectorContainer/SdkLanguageSelector.spec.tsx +42 -42
- package/src/components/SelectorContainer/SdkLanguageSelector.tsx +19 -19
- package/src/components/SelectorContainer/SelectorContainer.spec.tsx +31 -39
- package/src/components/SelectorContainer/SelectorContainer.tsx +15 -15
- package/src/components/SelectorContainer/index.ts +1 -1
- package/src/components/SelectorContainer/utils.ts +10 -10
- package/src/components/SideNav/SearchMessage.tsx +7 -7
- package/src/components/SideNav/SideNav.spec.tsx +70 -70
- package/src/components/SideNav/SideNav.tsx +77 -83
- package/src/components/SideNav/SideNavMethodTags.spec.tsx +35 -35
- package/src/components/SideNav/SideNavMethodTags.tsx +9 -9
- package/src/components/SideNav/SideNavMethods.spec.tsx +52 -52
- package/src/components/SideNav/SideNavMethods.tsx +28 -28
- package/src/components/SideNav/SideNavTypeTags.spec.tsx +36 -36
- package/src/components/SideNav/SideNavTypeTags.tsx +9 -9
- package/src/components/SideNav/SideNavTypes.spec.tsx +36 -36
- package/src/components/SideNav/SideNavTypes.tsx +28 -28
- package/src/components/SideNav/index.ts +1 -1
- package/src/components/SideNav/searchUtils.ts +16 -16
- package/src/components/common/Loader.tsx +7 -7
- package/src/components/common/common.tsx +13 -13
- package/src/components/common/index.ts +2 -2
- package/src/components/index.ts +22 -22
- package/src/custom.d.ts +2 -2
- package/src/index.ts +5 -5
- package/src/routes/AppRouter.tsx +11 -11
- package/src/routes/index.ts +1 -1
- package/src/scenes/DiffScene/DiffScene.tsx +54 -54
- package/src/scenes/DiffScene/DocDiff/DiffBanner.tsx +8 -8
- package/src/scenes/DiffScene/DocDiff/DiffItem.spec.tsx +26 -26
- package/src/scenes/DiffScene/DocDiff/DiffItem.tsx +47 -47
- package/src/scenes/DiffScene/DocDiff/DiffLegend.tsx +10 -10
- package/src/scenes/DiffScene/DocDiff/DocDiff.spec.tsx +62 -66
- package/src/scenes/DiffScene/DocDiff/DocDiff.tsx +18 -18
- package/src/scenes/DiffScene/DocDiff/docDiffUtils.tsx +23 -23
- package/src/scenes/DiffScene/DocDiff/index.ts +1 -1
- package/src/scenes/DiffScene/diffUtils.spec.ts +11 -11
- package/src/scenes/DiffScene/diffUtils.ts +26 -26
- package/src/scenes/DiffScene/index.ts +1 -1
- package/src/scenes/ErrorDetailScene/ErrorDetailScene.tsx +25 -25
- package/src/scenes/ErrorDetailScene/index.ts +1 -1
- package/src/scenes/HomeScene/HomeScene.tsx +12 -12
- package/src/scenes/HomeScene/index.ts +1 -1
- package/src/scenes/MethodScene/MethodScene.tsx +54 -54
- package/src/scenes/MethodScene/components/DocOperation.spec.tsx +17 -17
- package/src/scenes/MethodScene/components/DocOperation.tsx +8 -8
- package/src/scenes/MethodScene/components/DocRequestBody.spec.tsx +14 -14
- package/src/scenes/MethodScene/components/DocRequestBody.tsx +12 -12
- package/src/scenes/MethodScene/components/DocResponses/DocResponseTypes.tsx +15 -15
- package/src/scenes/MethodScene/components/DocResponses/DocResponses.spec.tsx +51 -51
- package/src/scenes/MethodScene/components/DocResponses/DocResponses.tsx +34 -34
- package/src/scenes/MethodScene/components/DocResponses/index.ts +1 -1
- package/src/scenes/MethodScene/components/DocResponses/utils.spec.ts +19 -14
- package/src/scenes/MethodScene/components/DocResponses/utils.ts +8 -8
- package/src/scenes/MethodScene/components/index.ts +3 -3
- package/src/scenes/MethodScene/index.ts +1 -1
- package/src/scenes/MethodTagScene/MethodTagScene.spec.tsx +31 -31
- package/src/scenes/MethodTagScene/MethodTagScene.tsx +44 -39
- package/src/scenes/MethodTagScene/index.ts +1 -1
- package/src/scenes/MethodTagScene/utils.spec.ts +6 -6
- package/src/scenes/MethodTagScene/utils.ts +6 -6
- package/src/scenes/TypeScene/TypeScene.tsx +25 -25
- package/src/scenes/TypeScene/index.ts +1 -1
- package/src/scenes/TypeTagScene/TypeTagScene.spec.tsx +34 -32
- package/src/scenes/TypeTagScene/TypeTagScene.tsx +40 -38
- package/src/scenes/TypeTagScene/index.ts +1 -1
- package/src/scenes/TypeTagScene/utils.spec.ts +6 -6
- package/src/scenes/TypeTagScene/utils.ts +6 -6
- package/src/scenes/index.ts +6 -6
- package/src/scenes/utils/hooks/index.ts +1 -1
- package/src/scenes/utils/hooks/tagStoreSync.spec.ts +37 -37
- package/src/scenes/utils/hooks/tagStoreSync.ts +18 -18
- package/src/scenes/utils/index.ts +1 -1
- package/src/state/index.ts +4 -4
- package/src/state/lodes/index.ts +2 -2
- package/src/state/lodes/sagas.spec.ts +32 -32
- package/src/state/lodes/sagas.ts +11 -11
- package/src/state/lodes/selectors.spec.ts +10 -10
- package/src/state/lodes/selectors.ts +4 -4
- package/src/state/lodes/slice.ts +18 -18
- package/src/state/settings/index.ts +2 -2
- package/src/state/settings/sagas.spec.ts +49 -49
- package/src/state/settings/sagas.ts +18 -18
- package/src/state/settings/selectors.spec.ts +11 -11
- package/src/state/settings/selectors.ts +7 -7
- package/src/state/settings/slice.ts +28 -28
- package/src/state/specs/index.ts +2 -2
- package/src/state/specs/sagas.spec.ts +60 -60
- package/src/state/specs/sagas.ts +27 -27
- package/src/state/specs/selectors.ts +7 -7
- package/src/state/specs/slice.ts +36 -36
- package/src/state/store.ts +24 -24
- package/src/test-data/declarations.ts +2 -2
- package/src/test-data/examples.ts +1 -1
- package/src/test-data/index.ts +4 -4
- package/src/test-data/sdkLanguages.ts +2 -2
- package/src/test-data/specs.ts +13 -13
- package/src/test-utils/index.ts +3 -3
- package/src/test-utils/lodes.tsx +9 -9
- package/src/test-utils/redux.tsx +30 -26
- package/src/test-utils/router.tsx +8 -8
- package/src/utils/adaptorUtils.ts +55 -55
- package/src/utils/apixAdaptor.ts +31 -25
- package/src/utils/highlight.spec.tsx +13 -13
- package/src/utils/highlight.tsx +11 -11
- package/src/utils/hooks/globalStoreSync.spec.tsx +54 -54
- package/src/utils/hooks/globalStoreSync.ts +21 -21
- package/src/utils/hooks/index.ts +3 -3
- package/src/utils/hooks/navigation.spec.ts +47 -45
- package/src/utils/hooks/navigation.ts +33 -30
- package/src/utils/hooks/useQuery.ts +5 -5
- package/src/utils/index.ts +8 -8
- package/src/utils/lodeUtils.ts +17 -17
- package/src/utils/path.spec.ts +57 -55
- package/src/utils/path.ts +42 -42
- package/src/utils/sdkLanguage.spec.ts +24 -24
- package/src/utils/sdkLanguage.ts +15 -14
- package/src/utils/useWindowSize.tsx +8 -8
- package/webpack.dev.config.js +5 -5
- package/webpack.prod.config.js +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocCode.js","names":["React","findGenerator","CodeDisplay","useSelector","selectSearchPattern","DocCode","_ref","code","language","searchPattern","gen","toLocaleLowerCase","createElement","pattern"],"sources":["../../../../src/components/DocCode/DocCode.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocCode.js","names":["React","findGenerator","CodeDisplay","useSelector","selectSearchPattern","DocCode","_ref","code","language","searchPattern","gen","toLocaleLowerCase","createElement","pattern"],"sources":["../../../../src/components/DocCode/DocCode.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { findGenerator } from '@looker/sdk-codegen';\nimport { CodeDisplay } from '@looker/code-editor';\nimport { useSelector } from 'react-redux';\n\nimport { selectSearchPattern } from '../../state';\n\ninterface DocCodeProps {\n code: string;\n language?: string;\n}\n\nexport const DocCode: FC<DocCodeProps> = ({ code, language = 'json' }) => {\n const searchPattern = useSelector(selectSearchPattern);\n const gen = findGenerator(language);\n if (gen) language = gen.language.toLocaleLowerCase();\n\n return (\n <CodeDisplay language={language} code={code} pattern={searchPattern} />\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAASC,WAAW,QAAQ,qBAAqB;AACjD,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,mBAAmB,QAAQ,aAAa;AAOjD,OAAO,IAAMC,OAAyB,GAAGC,IAAA,IAAiC;EAAA,IAAhC;IAAEC,IAAI;IAAEC,QAAQ,GAAG;EAAO,CAAC,GAAAF,IAAA;EACnE,IAAMG,aAAa,GAAGN,WAAW,CAACC,mBAAmB,CAAC;EACtD,IAAMM,GAAG,GAAGT,aAAa,CAACO,QAAQ,CAAC;EACnC,IAAIE,GAAG,EAAEF,QAAQ,GAAGE,GAAG,CAACF,QAAQ,CAACG,iBAAiB,CAAC,CAAC;EAEpD,OACEX,KAAA,CAAAY,aAAA,CAACV,WAAW;IAACM,QAAQ,EAAEA,QAAS;IAACD,IAAI,EAAEA,IAAK;IAACM,OAAO,EAAEJ;EAAc,CAAE,CAAC;AAE3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocCode"],"sources":["../../../../src/components/DocCode/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 { DocCode } from './DocCode'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocCode"],"sources":["../../../../src/components/DocCode/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 { DocCode } from './DocCode';\n"],"mappings":"AAyBA,SAASA,OAAO,QAAQ,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocMarkdown.js","names":["React","Markdown","useSelector","getEnvAdaptor","selectSearchPattern","useNavigation","transformURL","DocMarkdown","_ref","source","specKey","searchPattern","navigate","linkClickHandler","pathname","url","startsWith","concat","adaptor","openBrowserWindow","createElement","pattern","transformLinkUri","bind"],"sources":["../../../../src/components/DocMarkdown/DocMarkdown.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocMarkdown.js","names":["React","Markdown","useSelector","getEnvAdaptor","selectSearchPattern","useNavigation","transformURL","DocMarkdown","_ref","source","specKey","searchPattern","navigate","linkClickHandler","pathname","url","startsWith","concat","adaptor","openBrowserWindow","createElement","pattern","transformLinkUri","bind"],"sources":["../../../../src/components/DocMarkdown/DocMarkdown.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { Markdown } from '@looker/code-editor';\nimport { useSelector } from 'react-redux';\nimport { getEnvAdaptor } from '@looker/extension-utils';\nimport { selectSearchPattern } from '../../state';\nimport { useNavigation } from '../../utils';\nimport { transformURL } from './utils';\n\ninterface DocMarkdownProps {\n source: string;\n specKey: string;\n}\n\nexport const DocMarkdown: FC<DocMarkdownProps> = ({ source, specKey }) => {\n const searchPattern = useSelector(selectSearchPattern);\n const { navigate } = useNavigation();\n\n const linkClickHandler = (pathname: string, url: string) => {\n if (pathname.startsWith(`/${specKey}`)) {\n navigate(pathname);\n } else if (url.startsWith(`/${specKey}`)) {\n navigate(url);\n } else if (url.startsWith('https://')) {\n const adaptor = getEnvAdaptor();\n adaptor.openBrowserWindow(url);\n }\n };\n return (\n <Markdown\n source={source}\n pattern={searchPattern}\n linkClickHandler={linkClickHandler}\n transformLinkUri={transformURL.bind(null, specKey)}\n />\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,mBAAmB,QAAQ,aAAa;AACjD,SAASC,aAAa,QAAQ,aAAa;AAC3C,SAASC,YAAY,QAAQ,SAAS;AAOtC,OAAO,IAAMC,WAAiC,GAAGC,IAAA,IAAyB;EAAA,IAAxB;IAAEC,MAAM;IAAEC;EAAQ,CAAC,GAAAF,IAAA;EACnE,IAAMG,aAAa,GAAGT,WAAW,CAACE,mBAAmB,CAAC;EACtD,IAAM;IAAEQ;EAAS,CAAC,GAAGP,aAAa,CAAC,CAAC;EAEpC,IAAMQ,gBAAgB,GAAGA,CAACC,QAAgB,EAAEC,GAAW,KAAK;IAC1D,IAAID,QAAQ,CAACE,UAAU,KAAAC,MAAA,CAAKP,OAAO,CAAE,CAAC,EAAE;MACtCE,QAAQ,CAACE,QAAQ,CAAC;IACpB,CAAC,MAAM,IAAIC,GAAG,CAACC,UAAU,KAAAC,MAAA,CAAKP,OAAO,CAAE,CAAC,EAAE;MACxCE,QAAQ,CAACG,GAAG,CAAC;IACf,CAAC,MAAM,IAAIA,GAAG,CAACC,UAAU,CAAC,UAAU,CAAC,EAAE;MACrC,IAAME,OAAO,GAAGf,aAAa,CAAC,CAAC;MAC/Be,OAAO,CAACC,iBAAiB,CAACJ,GAAG,CAAC;IAChC;EACF,CAAC;EACD,OACEf,KAAA,CAAAoB,aAAA,CAACnB,QAAQ;IACPQ,MAAM,EAAEA,MAAO;IACfY,OAAO,EAAEV,aAAc;IACvBE,gBAAgB,EAAEA,gBAAiB;IACnCS,gBAAgB,EAAEhB,YAAY,CAACiB,IAAI,CAAC,IAAI,EAAEb,OAAO;EAAE,CACpD,CAAC;AAEN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocMarkdown"],"sources":["../../../../src/components/DocMarkdown/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 { DocMarkdown } from './DocMarkdown'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocMarkdown"],"sources":["../../../../src/components/DocMarkdown/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 { DocMarkdown } from './DocMarkdown';\n"],"mappings":"AAyBA,SAASA,WAAW,QAAQ,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["cleanURL","url","replace","remapHashURL","specKey","concat","transformURL"],"sources":["../../../../src/components/DocMarkdown/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\n/**\n * Remove mark tags from url\n * @param url\n * @returns a clean url\n */\nconst cleanURL = (url: string) =>\n (url || '')\n .replace(/<mark>/gi, '')\n .replace(/<\\/mark>/gi, '')\n .replace(/%3Cmark%3E/gi, '')\n .replace(/%3C\\/mark%3E/gi, '')
|
|
1
|
+
{"version":3,"file":"utils.js","names":["cleanURL","url","replace","remapHashURL","specKey","concat","transformURL"],"sources":["../../../../src/components/DocMarkdown/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\n/**\n * Remove mark tags from url\n * @param url\n * @returns a clean url\n */\nconst cleanURL = (url: string) =>\n (url || '')\n .replace(/<mark>/gi, '')\n .replace(/<\\/mark>/gi, '')\n .replace(/%3Cmark%3E/gi, '')\n .replace(/%3C\\/mark%3E/gi, '');\n\n/**\n * Remaps tag/method a hashbang url to match the MethodScene route.\n * @param url\n * @param specKey A string to identify the spec in the URL\n * @returns the cleaned and remapped hashbang url\n */\nexport const remapHashURL = (specKey: string, url: string) =>\n (url || '')\n // #!/:navVersion?/:methodTag/:methodName\n .replace(/#!\\/(:?\\d+\\.\\d+\\/)?(\\w+)\\/(\\w+)/gi, `/${specKey}/methods/$2/$3`)\n // #!/:navVersion/:methodTag\n .replace(/#!\\/(:?\\d+\\.\\d+\\/)?(\\w+)/gi, `/${specKey}/methods/$2`);\n\n/**\n * Clean urls from mark tags and remap tag/method hashbang urls to match the MethodScene route\n * @param specKey A string to identify the spec in the URL\n * @param url - url\n * Returns transformed url\n */\nexport const transformURL = (specKey: string, url: string) => {\n return remapHashURL(specKey, cleanURL(url));\n};\n"],"mappings":"AA+BA,IAAMA,QAAQ,GAAIC,GAAW,IAC3B,CAACA,GAAG,IAAI,EAAE,EACPC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CACvBA,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CACzBA,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAC3BA,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC;AAQlC,OAAO,IAAMC,YAAY,GAAGA,CAACC,OAAe,EAAEH,GAAW,KACvD,CAACA,GAAG,IAAI,EAAE,EAEPC,OAAO,CAAC,mCAAmC,MAAAG,MAAA,CAAMD,OAAO,mBAAgB,CAAC,CAEzEF,OAAO,CAAC,4BAA4B,MAAAG,MAAA,CAAMD,OAAO,gBAAa,CAAC;AAQpE,OAAO,IAAME,YAAY,GAAGA,CAACF,OAAe,EAAEH,GAAW,KAAK;EAC5D,OAAOE,YAAY,CAACC,OAAO,EAAEJ,QAAQ,CAACC,GAAG,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocMethodSummary.js","names":["React","Card","CardContent","Flex","Space","Text","MethodBadge","RunItHeading","DocActivityType","DocRateLimited","DocSummaryStatus","DocMethodSummary","_ref","method","createElement","maxWidth","border","align","between","type","httpMethod","textAlign","minWidth","toUpperCase","alignItems","flexDirection","flex","mx","as","mb","pt","summary","color","endpoint","status"],"sources":["../../../../src/components/DocMethodSummary/DocMethodSummary.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocMethodSummary.js","names":["React","Card","CardContent","Flex","Space","Text","MethodBadge","RunItHeading","DocActivityType","DocRateLimited","DocSummaryStatus","DocMethodSummary","_ref","method","createElement","maxWidth","border","align","between","type","httpMethod","textAlign","minWidth","toUpperCase","alignItems","flexDirection","flex","mx","as","mb","pt","summary","color","endpoint","status"],"sources":["../../../../src/components/DocMethodSummary/DocMethodSummary.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { Card, CardContent, Flex, Space, Text } from '@looker/components';\nimport type { IMethod } from '@looker/sdk-codegen';\nimport { MethodBadge, RunItHeading } from '@looker/run-it';\nimport { DocActivityType, DocRateLimited } from '../../components';\nimport { DocSummaryStatus } from './DocSummaryStatus';\n\ninterface DocMethodSummaryProps {\n method: IMethod;\n}\n\nexport const DocMethodSummary: FC<DocMethodSummaryProps> = ({ method }) => (\n <Card maxWidth=\"50rem\" border>\n <CardContent>\n <Space align=\"start\" between>\n <MethodBadge\n type={method.httpMethod}\n textAlign=\"center\"\n minWidth=\"3.7625rem\"\n >\n {method.httpMethod.toUpperCase()}\n </MethodBadge>\n <Flex alignItems=\"start\" flexDirection=\"column\" flex=\"1\" mx=\"small\">\n <RunItHeading as=\"h3\" mb=\"0\" pt=\"0\">\n {method.summary}\n </RunItHeading>\n <Space>\n <DocRateLimited method={method} />\n <DocActivityType method={method} />\n </Space>\n <Text color=\"subdued\">{method.endpoint}</Text>\n </Flex>\n <DocSummaryStatus status={method.status} />\n </Space>\n </CardContent>\n </Card>\n);\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,WAAW,EAAEC,IAAI,EAAEC,KAAK,EAAEC,IAAI,QAAQ,oBAAoB;AAEzE,SAASC,WAAW,EAAEC,YAAY,QAAQ,gBAAgB;AAC1D,SAASC,eAAe,EAAEC,cAAc,QAAQ,kBAAkB;AAClE,SAASC,gBAAgB,QAAQ,oBAAoB;AAMrD,OAAO,IAAMC,gBAA2C,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAO,CAAC,GAAAD,IAAA;EAAA,OACpEZ,KAAA,CAAAc,aAAA,CAACb,IAAI;IAACc,QAAQ,EAAC,OAAO;IAACC,MAAM;EAAA,GAC3BhB,KAAA,CAAAc,aAAA,CAACZ,WAAW,QACVF,KAAA,CAAAc,aAAA,CAACV,KAAK;IAACa,KAAK,EAAC,OAAO;IAACC,OAAO;EAAA,GAC1BlB,KAAA,CAAAc,aAAA,CAACR,WAAW;IACVa,IAAI,EAAEN,MAAM,CAACO,UAAW;IACxBC,SAAS,EAAC,QAAQ;IAClBC,QAAQ,EAAC;EAAW,GAEnBT,MAAM,CAACO,UAAU,CAACG,WAAW,CAAC,CACpB,CAAC,EACdvB,KAAA,CAAAc,aAAA,CAACX,IAAI;IAACqB,UAAU,EAAC,OAAO;IAACC,aAAa,EAAC,QAAQ;IAACC,IAAI,EAAC,GAAG;IAACC,EAAE,EAAC;EAAO,GACjE3B,KAAA,CAAAc,aAAA,CAACP,YAAY;IAACqB,EAAE,EAAC,IAAI;IAACC,EAAE,EAAC,GAAG;IAACC,EAAE,EAAC;EAAG,GAChCjB,MAAM,CAACkB,OACI,CAAC,EACf/B,KAAA,CAAAc,aAAA,CAACV,KAAK,QACJJ,KAAA,CAAAc,aAAA,CAACL,cAAc;IAACI,MAAM,EAAEA;EAAO,CAAE,CAAC,EAClCb,KAAA,CAAAc,aAAA,CAACN,eAAe;IAACK,MAAM,EAAEA;EAAO,CAAE,CAC7B,CAAC,EACRb,KAAA,CAAAc,aAAA,CAACT,IAAI;IAAC2B,KAAK,EAAC;EAAS,GAAEnB,MAAM,CAACoB,QAAe,CACzC,CAAC,EACPjC,KAAA,CAAAc,aAAA,CAACJ,gBAAgB;IAACwB,MAAM,EAAErB,MAAM,CAACqB;EAAO,CAAE,CACrC,CACI,CACT,CAAC;AAAA,CACR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocSummaryStatus.js","names":["React","Tooltip","pickStatus","pickTooltipContent","DocSummaryStatus","_ref","status","createElement","content"],"sources":["../../../../src/components/DocMethodSummary/DocSummaryStatus.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocSummaryStatus.js","names":["React","Tooltip","pickStatus","pickTooltipContent","DocSummaryStatus","_ref","status","createElement","content"],"sources":["../../../../src/components/DocMethodSummary/DocSummaryStatus.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { Tooltip } from '@looker/components';\n\nimport { pickStatus, pickTooltipContent } from './utils';\n\ninterface DocSummaryStatusProps {\n status: string;\n}\n\nexport const DocSummaryStatus: FC<DocSummaryStatusProps> = ({ status }) => (\n <Tooltip content={pickTooltipContent(status)}>{pickStatus(status)}</Tooltip>\n);\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,SAASC,UAAU,EAAEC,kBAAkB,QAAQ,SAAS;AAMxD,OAAO,IAAMC,gBAA2C,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAO,CAAC,GAAAD,IAAA;EAAA,OACpEL,KAAA,CAAAO,aAAA,CAACN,OAAO;IAACO,OAAO,EAAEL,kBAAkB,CAACG,MAAM;EAAE,GAAEJ,UAAU,CAACI,MAAM,CAAW,CAAC;AAAA,CAC7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocMethodSummary","DocSummaryStatus","pickTooltipContent"],"sources":["../../../../src/components/DocMethodSummary/index.tsx"],"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 { DocMethodSummary } from './DocMethodSummary'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocMethodSummary","DocSummaryStatus","pickTooltipContent"],"sources":["../../../../src/components/DocMethodSummary/index.tsx"],"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 { DocMethodSummary } from './DocMethodSummary';\nexport { DocSummaryStatus } from './DocSummaryStatus';\nexport { pickTooltipContent } from './utils';\n"],"mappings":"AAyBA,SAASA,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,kBAAkB,QAAQ,SAAS"}
|
|
@@ -74,7 +74,7 @@ export var pickTooltipContent = status => {
|
|
|
74
74
|
};
|
|
75
75
|
var StatusBeta = styled.div.withConfig({
|
|
76
76
|
displayName: "utils__StatusBeta",
|
|
77
|
-
componentId: "
|
|
77
|
+
componentId: "ugxyok-0"
|
|
78
78
|
})(["display:flex;align-items:center;justify-content:center;font-size:", ";color:", ";width:1.125rem;height:1.125rem;"], _ref => {
|
|
79
79
|
var {
|
|
80
80
|
theme
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["React","styled","Icon","Status","Beaker","VisibilityOff","pickStatus","status","title","concat","toLowerCase","createElement","StatusBeta","icon","intent","size","pickTooltipContent","div","withConfig","displayName","componentId","_ref","theme","fontSizes","xxsmall","_ref2","colors","neutral"],"sources":["../../../../src/components/DocMethodSummary/utils.tsx"],"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 React from 'react'
|
|
1
|
+
{"version":3,"file":"utils.js","names":["React","styled","Icon","Status","Beaker","VisibilityOff","pickStatus","status","title","concat","toLowerCase","createElement","StatusBeta","icon","intent","size","pickTooltipContent","div","withConfig","displayName","componentId","_ref","theme","fontSizes","xxsmall","_ref2","colors","neutral"],"sources":["../../../../src/components/DocMethodSummary/utils.tsx"],"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 React from 'react';\nimport styled from 'styled-components';\nimport { Icon, Status } from '@looker/components';\nimport { Beaker } from '@looker/icons';\nimport { VisibilityOff } from '@styled-icons/material/VisibilityOff';\n\n/**\n * Return a Status react element based on an endpoint's status\n * @param status Endpoint status\n */\nexport const pickStatus = (status: string) => {\n const title = `${status.toLowerCase()} item`;\n switch (status.toLowerCase()) {\n case 'beta':\n return <StatusBeta aria-label={title}>β</StatusBeta>;\n case 'experimental': {\n return <Icon title={title} aria-label={title} icon={<Beaker />} />;\n }\n case 'alpha': {\n return <Icon title={title} aria-label={title} icon={<Beaker />} />;\n }\n case 'undocumented': {\n return <Icon title={title} aria-label={title} icon={<VisibilityOff />} />;\n }\n case 'deprecated':\n return <Status aria-label={title} intent=\"critical\" size=\"small\" />;\n case 'stable':\n return <Status aria-label={title} intent=\"positive\" size=\"small\" />;\n default:\n return (\n <Status\n aria-label=\"unknown status endpoint\"\n intent=\"neutral\"\n size=\"small\"\n />\n );\n }\n};\n\n/**\n * Returns tooltip content based on status\n * @param status item status\n */\nexport const pickTooltipContent = (status: string) => {\n switch (status.toLowerCase()) {\n case 'alpha':\n return 'This alpha item is either for internal use, or not fully developed and may be significantly changed or completely removed in future releases.';\n case 'beta':\n return 'This beta item is under development and subject to change.';\n case 'experimental':\n return 'This experimental item is not fully developed and may be significantly changed or completely removed in future releases.';\n case 'deprecated':\n return 'This item has been deprecated and will be removed in the future.';\n case 'stable':\n return 'This item is considered stable for this API version.';\n case 'undocumented':\n return 'This is an internal-only item.';\n default:\n return 'This item has no status associated with it.';\n }\n};\n\nconst StatusBeta = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ${({ theme }) => theme.fontSizes.xxsmall};\n color: ${({ theme }) => theme.colors.neutral};\n width: 1.125rem;\n height: 1.125rem;\n`;\n"],"mappings":"AAyBA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,IAAI,EAAEC,MAAM,QAAQ,oBAAoB;AACjD,SAASC,MAAM,QAAQ,eAAe;AACtC,SAASC,aAAa,QAAQ,sCAAsC;AAMpE,OAAO,IAAMC,UAAU,GAAIC,MAAc,IAAK;EAC5C,IAAMC,KAAK,MAAAC,MAAA,CAAMF,MAAM,CAACG,WAAW,CAAC,CAAC,UAAO;EAC5C,QAAQH,MAAM,CAACG,WAAW,CAAC,CAAC;IAC1B,KAAK,MAAM;MACT,OAAOV,KAAA,CAAAW,aAAA,CAACC,UAAU;QAAC,cAAYJ;MAAM,GAAC,QAAkB,CAAC;IAC3D,KAAK,cAAc;MAAE;QACnB,OAAOR,KAAA,CAAAW,aAAA,CAACT,IAAI;UAACM,KAAK,EAAEA,KAAM;UAAC,cAAYA,KAAM;UAACK,IAAI,EAAEb,KAAA,CAAAW,aAAA,CAACP,MAAM,MAAE;QAAE,CAAE,CAAC;MACpE;IACA,KAAK,OAAO;MAAE;QACZ,OAAOJ,KAAA,CAAAW,aAAA,CAACT,IAAI;UAACM,KAAK,EAAEA,KAAM;UAAC,cAAYA,KAAM;UAACK,IAAI,EAAEb,KAAA,CAAAW,aAAA,CAACP,MAAM,MAAE;QAAE,CAAE,CAAC;MACpE;IACA,KAAK,cAAc;MAAE;QACnB,OAAOJ,KAAA,CAAAW,aAAA,CAACT,IAAI;UAACM,KAAK,EAAEA,KAAM;UAAC,cAAYA,KAAM;UAACK,IAAI,EAAEb,KAAA,CAAAW,aAAA,CAACN,aAAa,MAAE;QAAE,CAAE,CAAC;MAC3E;IACA,KAAK,YAAY;MACf,OAAOL,KAAA,CAAAW,aAAA,CAACR,MAAM;QAAC,cAAYK,KAAM;QAACM,MAAM,EAAC,UAAU;QAACC,IAAI,EAAC;MAAO,CAAE,CAAC;IACrE,KAAK,QAAQ;MACX,OAAOf,KAAA,CAAAW,aAAA,CAACR,MAAM;QAAC,cAAYK,KAAM;QAACM,MAAM,EAAC,UAAU;QAACC,IAAI,EAAC;MAAO,CAAE,CAAC;IACrE;MACE,OACEf,KAAA,CAAAW,aAAA,CAACR,MAAM;QACL,cAAW,yBAAyB;QACpCW,MAAM,EAAC,SAAS;QAChBC,IAAI,EAAC;MAAO,CACb,CAAC;EAER;AACF,CAAC;AAMD,OAAO,IAAMC,kBAAkB,GAAIT,MAAc,IAAK;EACpD,QAAQA,MAAM,CAACG,WAAW,CAAC,CAAC;IAC1B,KAAK,OAAO;MACV,OAAO,+IAA+I;IACxJ,KAAK,MAAM;MACT,OAAO,4DAA4D;IACrE,KAAK,cAAc;MACjB,OAAO,0HAA0H;IACnI,KAAK,YAAY;MACf,OAAO,kEAAkE;IAC3E,KAAK,QAAQ;MACX,OAAO,sDAAsD;IAC/D,KAAK,cAAc;MACjB,OAAO,gCAAgC;IACzC;MACE,OAAO,6CAA6C;EACxD;AACF,CAAC;AAED,IAAME,UAAU,GAAGX,MAAM,CAACgB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,yHAIdC,IAAA;EAAA,IAAC;IAAEC;EAAM,CAAC,GAAAD,IAAA;EAAA,OAAKC,KAAK,CAACC,SAAS,CAACC,OAAO;AAAA,GAC1CC,KAAA;EAAA,IAAC;IAAEH;EAAM,CAAC,GAAAG,KAAA;EAAA,OAAKH,KAAK,CAACI,MAAM,CAACC,OAAO;AAAA,EAG7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocParam.js","names":["React","Tooltip","describeParam","DocParam","_ref","parameter","createElement","content","concat","type","name","required"],"sources":["../../../../src/components/DocPseudo/DocParam.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocParam.js","names":["React","Tooltip","describeParam","DocParam","_ref","parameter","createElement","content","concat","type","name","required"],"sources":["../../../../src/components/DocPseudo/DocParam.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport type { IParameter } from '@looker/sdk-codegen';\nimport { Tooltip } from '@looker/components';\nimport { describeParam } from '@looker/sdk-codegen';\n\nexport interface DocArgProps {\n parameter: IParameter;\n}\n\nexport const DocParam: FC<DocArgProps> = ({ parameter }) => (\n <Tooltip content={`${parameter.type.name} ${describeParam(parameter)}`}>\n <span>{parameter.required ? parameter.name : `[${parameter.name}]`}</span>\n </Tooltip>\n);\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,aAAa,QAAQ,qBAAqB;AAMnD,OAAO,IAAMC,QAAyB,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAU,CAAC,GAAAD,IAAA;EAAA,OACrDJ,KAAA,CAAAM,aAAA,CAACL,OAAO;IAACM,OAAO,KAAAC,MAAA,CAAKH,SAAS,CAACI,IAAI,CAACC,IAAI,OAAAF,MAAA,CAAIN,aAAa,CAACG,SAAS,CAAC;EAAG,GACrEL,KAAA,CAAAM,aAAA,eAAOD,SAAS,CAACM,QAAQ,GAAGN,SAAS,CAACK,IAAI,OAAAF,MAAA,CAAOH,SAAS,CAACK,IAAI,MAAU,CAClE,CAAC;AAAA,CACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocParams.js","names":["React","Fragment","DocParam","DocParams","_ref","parameters","createElement","map","a","index","key","parameter"],"sources":["../../../../src/components/DocPseudo/DocParams.tsx"],"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 { IParameter } from '@looker/sdk-codegen'
|
|
1
|
+
{"version":3,"file":"DocParams.js","names":["React","Fragment","DocParam","DocParams","_ref","parameters","createElement","map","a","index","key","parameter"],"sources":["../../../../src/components/DocPseudo/DocParams.tsx"],"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 { IParameter } from '@looker/sdk-codegen';\nimport type { FC } from 'react';\nimport React, { Fragment } from 'react';\n\nimport { DocParam } from './DocParam';\n\nexport interface DocArgsProps {\n parameters: IParameter[];\n}\n\nexport const DocParams: FC<DocArgsProps> = ({ parameters }) => (\n <>\n {parameters.map((a, index) => (\n <Fragment key={index}>\n {index ? ', ' : ''}\n <DocParam parameter={a} key={index} />\n </Fragment>\n ))}\n </>\n);\n"],"mappings":"AA2BA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AAEvC,SAASC,QAAQ,QAAQ,YAAY;AAMrC,OAAO,IAAMC,SAA2B,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAW,CAAC,GAAAD,IAAA;EAAA,OACxDJ,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAC,QAAA,QACGI,UAAU,CAACE,GAAG,CAAC,CAACC,CAAC,EAAEC,KAAK,KACvBT,KAAA,CAAAM,aAAA,CAACL,QAAQ;IAACS,GAAG,EAAED;EAAM,GAClBA,KAAK,GAAG,IAAI,GAAG,EAAE,EAClBT,KAAA,CAAAM,aAAA,CAACJ,QAAQ;IAACS,SAAS,EAAEH,CAAE;IAACE,GAAG,EAAED;EAAM,CAAE,CAC7B,CACX,CACD,CAAC;AAAA,CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocPrimaryResponse.js","names":["React","Tooltip","DocPrimaryResponse","_ref","response","createElement","content","concat","description","mediaType","type","name"],"sources":["../../../../src/components/DocPseudo/DocPrimaryResponse.tsx"],"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 { IMethodResponse } from '@looker/sdk-codegen'
|
|
1
|
+
{"version":3,"file":"DocPrimaryResponse.js","names":["React","Tooltip","DocPrimaryResponse","_ref","response","createElement","content","concat","description","mediaType","type","name"],"sources":["../../../../src/components/DocPseudo/DocPrimaryResponse.tsx"],"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 { IMethodResponse } from '@looker/sdk-codegen';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { Tooltip } from '@looker/components';\n\nexport interface DocPrimaryResponseProps {\n response: IMethodResponse;\n}\n\nexport const DocPrimaryResponse: FC<DocPrimaryResponseProps> = ({\n response,\n}) => (\n <Tooltip content={`${response.description} ${response.mediaType}`}>\n <span>{response.type.name}</span>\n </Tooltip>\n);\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAM5C,OAAO,IAAMC,kBAA+C,GAAGC,IAAA;EAAA,IAAC;IAC9DC;EACF,CAAC,GAAAD,IAAA;EAAA,OACCH,KAAA,CAAAK,aAAA,CAACJ,OAAO;IAACK,OAAO,KAAAC,MAAA,CAAKH,QAAQ,CAACI,WAAW,OAAAD,MAAA,CAAIH,QAAQ,CAACK,SAAS;EAAG,GAChET,KAAA,CAAAK,aAAA,eAAOD,QAAQ,CAACM,IAAI,CAACC,IAAW,CACzB,CAAC;AAAA,CACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocPseudo.js","names":["React","Code","Flex","DocPrimaryResponse","DocParams","DocPseudo","_ref","method","args","allParams","resType","primaryResponse","createElement","alignItems","fontSize","fontWeight","concat","operationId","parameters","response"],"sources":["../../../../src/components/DocPseudo/DocPseudo.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocPseudo.js","names":["React","Code","Flex","DocPrimaryResponse","DocParams","DocPseudo","_ref","method","args","allParams","resType","primaryResponse","createElement","alignItems","fontSize","fontWeight","concat","operationId","parameters","response"],"sources":["../../../../src/components/DocPseudo/DocPseudo.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { Code, Flex } from '@looker/components';\nimport type { IMethod } from '@looker/sdk-codegen';\n\nimport { DocPrimaryResponse } from './DocPrimaryResponse';\nimport { DocParams } from './DocParams';\n\nexport interface PseudoProps {\n method: IMethod;\n}\n\nexport const DocPseudo: FC<PseudoProps> = ({ method }) => {\n const args = method.allParams;\n const resType = method.primaryResponse;\n\n return (\n <Flex alignItems=\"flex-start\">\n <Code fontSize=\"small\" fontWeight=\"normal\">\n {`${method.operationId}(`}\n <DocParams parameters={args} />\n {'): '}\n <DocPrimaryResponse response={resType} />\n </Code>\n </Flex>\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,oBAAoB;AAG/C,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,SAAS,QAAQ,aAAa;AAMvC,OAAO,IAAMC,SAA0B,GAAGC,IAAA,IAAgB;EAAA,IAAf;IAAEC;EAAO,CAAC,GAAAD,IAAA;EACnD,IAAME,IAAI,GAAGD,MAAM,CAACE,SAAS;EAC7B,IAAMC,OAAO,GAAGH,MAAM,CAACI,eAAe;EAEtC,OACEX,KAAA,CAAAY,aAAA,CAACV,IAAI;IAACW,UAAU,EAAC;EAAY,GAC3Bb,KAAA,CAAAY,aAAA,CAACX,IAAI;IAACa,QAAQ,EAAC,OAAO;IAACC,UAAU,EAAC;EAAQ,MAAAC,MAAA,CACpCT,MAAM,CAACU,WAAW,QACtBjB,KAAA,CAAAY,aAAA,CAACR,SAAS;IAACc,UAAU,EAAEV;EAAK,CAAE,CAAC,EAC9B,KAAK,EACNR,KAAA,CAAAY,aAAA,CAACT,kBAAkB;IAACgB,QAAQ,EAAET;EAAQ,CAAE,CACpC,CACF,CAAC;AAEX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocPseudo"],"sources":["../../../../src/components/DocPseudo/index.tsx"],"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 { DocPseudo } from './DocPseudo'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocPseudo"],"sources":["../../../../src/components/DocPseudo/index.tsx"],"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 { DocPseudo } from './DocPseudo';\n"],"mappings":"AAyBA,SAASA,SAAS,QAAQ,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocRateLimited.js","names":["React","Code","Tooltip","DocRateLimited","_ref","method","createElement","Fragment","rateLimited","textAlign","content","color"],"sources":["../../../../src/components/DocRateLimited/DocRateLimited.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocRateLimited.js","names":["React","Code","Tooltip","DocRateLimited","_ref","method","createElement","Fragment","rateLimited","textAlign","content","color"],"sources":["../../../../src/components/DocRateLimited/DocRateLimited.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport { Code, Tooltip } from '@looker/components';\nimport type { IMethod } from '@looker/sdk-codegen';\n\ninterface DocRateLimitedProps {\n method: IMethod;\n}\nexport const DocRateLimited: FC<DocRateLimitedProps> = ({ method }) => (\n <>\n {method.rateLimited && (\n <>\n <Tooltip textAlign=\"left\" content={'This endpoint is rate limited.'}>\n <Code color=\"palette.charcoal500\">{'rate_limited'}</Code>\n </Tooltip>\n </>\n )}\n </>\n);\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,OAAO,QAAQ,oBAAoB;AAMlD,OAAO,IAAMC,cAAuC,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAO,CAAC,GAAAD,IAAA;EAAA,OAChEJ,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACGF,MAAM,CAACG,WAAW,IACjBR,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACEP,KAAA,CAAAM,aAAA,CAACJ,OAAO;IAACO,SAAS,EAAC,MAAM;IAACC,OAAO,EAAE;EAAiC,GAClEV,KAAA,CAAAM,aAAA,CAACL,IAAI;IAACU,KAAK,EAAC;EAAqB,GAAE,cAAqB,CACjD,CACT,CAEJ,CAAC;AAAA,CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocRateLimited"],"sources":["../../../../src/components/DocRateLimited/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 { DocRateLimited } from './DocRateLimited'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocRateLimited"],"sources":["../../../../src/components/DocRateLimited/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 { DocRateLimited } from './DocRateLimited';\n"],"mappings":"AAyBA,SAASA,cAAc,QAAQ,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocReferences.js","names":["React","CollapserCard","useSelector","selectSearchPattern","DocReferenceItems","DocReferences","_ref","typesUsed","specKey","api","methodsUsedBy","typesUsedBy","searchPattern","length","createElement","Fragment","heading","id"],"sources":["../../../../src/components/DocReferences/DocReferences.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocReferences.js","names":["React","CollapserCard","useSelector","selectSearchPattern","DocReferenceItems","DocReferences","_ref","typesUsed","specKey","api","methodsUsedBy","typesUsedBy","searchPattern","length","createElement","Fragment","heading","id"],"sources":["../../../../src/components/DocReferences/DocReferences.tsx"],"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 { FC } from 'react';\nimport React from 'react';\nimport type { ApiModel, IMethod, IType } from '@looker/sdk-codegen';\nimport { CollapserCard } from '@looker/run-it';\n\nimport { useSelector } from 'react-redux';\nimport { selectSearchPattern } from '../../state';\nimport { DocReferenceItems } from './utils';\n\ninterface DocReferencesProps {\n typesUsed: IType[];\n methodsUsedBy?: IMethod[];\n typesUsedBy?: IType[];\n specKey: string;\n api: ApiModel;\n}\n\n/**\n * It renders links to the given types and/or methods references\n */\nexport const DocReferences: FC<DocReferencesProps> = ({\n typesUsed,\n specKey,\n api,\n methodsUsedBy = [],\n typesUsedBy = [],\n}) => {\n const searchPattern = useSelector(selectSearchPattern);\n\n if (\n typesUsed.length === 0 &&\n methodsUsedBy.length === 0 &&\n typesUsedBy.length === 0\n )\n return <></>;\n\n return (\n <CollapserCard heading=\"References\" id=\"references\">\n <>\n {DocReferenceItems(\n 'Referenced Types:',\n typesUsed,\n api,\n specKey,\n searchPattern\n )}\n {DocReferenceItems(\n 'Used by types:',\n typesUsedBy,\n api,\n specKey,\n searchPattern\n )}\n {DocReferenceItems(\n 'Used by methods:',\n methodsUsedBy,\n api,\n specKey,\n searchPattern\n )}\n </>\n </CollapserCard>\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,aAAa,QAAQ,gBAAgB;AAE9C,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,mBAAmB,QAAQ,aAAa;AACjD,SAASC,iBAAiB,QAAQ,SAAS;AAa3C,OAAO,IAAMC,aAAqC,GAAGC,IAAA,IAM/C;EAAA,IANgD;IACpDC,SAAS;IACTC,OAAO;IACPC,GAAG;IACHC,aAAa,GAAG,EAAE;IAClBC,WAAW,GAAG;EAChB,CAAC,GAAAL,IAAA;EACC,IAAMM,aAAa,GAAGV,WAAW,CAACC,mBAAmB,CAAC;EAEtD,IACEI,SAAS,CAACM,MAAM,KAAK,CAAC,IACtBH,aAAa,CAACG,MAAM,KAAK,CAAC,IAC1BF,WAAW,CAACE,MAAM,KAAK,CAAC,EAExB,OAAOb,KAAA,CAAAc,aAAA,CAAAd,KAAA,CAAAe,QAAA,MAAI,CAAC;EAEd,OACEf,KAAA,CAAAc,aAAA,CAACb,aAAa;IAACe,OAAO,EAAC,YAAY;IAACC,EAAE,EAAC;EAAY,GACjDjB,KAAA,CAAAc,aAAA,CAAAd,KAAA,CAAAe,QAAA,QACGX,iBAAiB,CAChB,mBAAmB,EACnBG,SAAS,EACTE,GAAG,EACHD,OAAO,EACPI,aACF,CAAC,EACAR,iBAAiB,CAChB,gBAAgB,EAChBO,WAAW,EACXF,GAAG,EACHD,OAAO,EACPI,aACF,CAAC,EACAR,iBAAiB,CAChB,kBAAkB,EAClBM,aAAa,EACbD,GAAG,EACHD,OAAO,EACPI,aACF,CACA,CACW,CAAC;AAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocReferences"],"sources":["../../../../src/components/DocReferences/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 { DocReferences } from './DocReferences'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocReferences"],"sources":["../../../../src/components/DocReferences/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 { DocReferences } from './DocReferences';\n"],"mappings":"AAyBA,SAASA,aAAa,QAAQ,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["React","Link","RunItHeading","buildPath","highlightHTML","DocReferenceItems","heading","items","api","specKey","pattern","length","createElement","Fragment","as","map","item","index","className","key","name","to"],"sources":["../../../../src/components/DocReferences/utils.tsx"],"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 React from 'react'
|
|
1
|
+
{"version":3,"file":"utils.js","names":["React","Link","RunItHeading","buildPath","highlightHTML","DocReferenceItems","heading","items","api","specKey","pattern","length","createElement","Fragment","as","map","item","index","className","key","name","to"],"sources":["../../../../src/components/DocReferences/utils.tsx"],"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 React from 'react';\nimport type { ApiModel, IMethod, IType } from '@looker/sdk-codegen';\nimport { Link } from 'react-router-dom';\nimport { RunItHeading } from '@looker/run-it';\nimport { buildPath, highlightHTML } from '../../utils';\n\n/**\n * Renders a heading and links to all item types\n */\nexport const DocReferenceItems = (\n heading: string,\n items: (IType | IMethod)[],\n api: ApiModel,\n specKey: string,\n pattern: string\n) => {\n if (items.length === 0) return <></>;\n\n return (\n <>\n <RunItHeading as=\"h4\">{heading}</RunItHeading>\n {items.map((item, index) => (\n <span className=\"doc-link\" key={item.name}>\n {index ? ', ' : ''}\n <Link to={buildPath(api, item, specKey)}>\n {highlightHTML(pattern, item.name)}\n </Link>\n </span>\n ))}\n </>\n );\n};\n"],"mappings":"AAyBA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,QAAQ,kBAAkB;AACvC,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,SAAS,EAAEC,aAAa,QAAQ,aAAa;AAKtD,OAAO,IAAMC,iBAAiB,GAAGA,CAC/BC,OAAe,EACfC,KAA0B,EAC1BC,GAAa,EACbC,OAAe,EACfC,OAAe,KACZ;EACH,IAAIH,KAAK,CAACI,MAAM,KAAK,CAAC,EAAE,OAAOX,KAAA,CAAAY,aAAA,CAAAZ,KAAA,CAAAa,QAAA,MAAI,CAAC;EAEpC,OACEb,KAAA,CAAAY,aAAA,CAAAZ,KAAA,CAAAa,QAAA,QACEb,KAAA,CAAAY,aAAA,CAACV,YAAY;IAACY,EAAE,EAAC;EAAI,GAAER,OAAsB,CAAC,EAC7CC,KAAK,CAACQ,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KACrBjB,KAAA,CAAAY,aAAA;IAAMM,SAAS,EAAC,UAAU;IAACC,GAAG,EAAEH,IAAI,CAACI;EAAK,GACvCH,KAAK,GAAG,IAAI,GAAG,EAAE,EAClBjB,KAAA,CAAAY,aAAA,CAACX,IAAI;IAACoB,EAAE,EAAElB,SAAS,CAACK,GAAG,EAAEQ,IAAI,EAAEP,OAAO;EAAE,GACrCL,aAAa,CAACM,OAAO,EAAEM,IAAI,CAACI,IAAI,CAC7B,CACF,CACP,CACD,CAAC;AAEP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocDeclarations.js","names":["React","Tab2","Tabs2","DocCode","DocDeclarations","_ref","declarations","createElement","Object","entries","map","_ref2","language","code","key","id","label"],"sources":["../../../../src/components/DocSDKs/DocDeclarations.tsx"],"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 React from 'react'
|
|
1
|
+
{"version":3,"file":"DocDeclarations.js","names":["React","Tab2","Tabs2","DocCode","DocDeclarations","_ref","declarations","createElement","Object","entries","map","_ref2","language","code","key","id","label"],"sources":["../../../../src/components/DocSDKs/DocDeclarations.tsx"],"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 React from 'react';\nimport { Tab2, Tabs2 } from '@looker/components';\nimport type { KeyedCollection } from '@looker/sdk-codegen';\nimport type { FC } from 'react';\nimport { DocCode } from '../DocCode';\n\ninterface DocDeclarationsProps {\n declarations: KeyedCollection<string>;\n}\n\n/**\n * Renders all provided declarations\n * @param declarations A collection of SDK declarations in various languages\n */\nexport const DocDeclarations: FC<DocDeclarationsProps> = ({ declarations }) => (\n <Tabs2>\n {Object.entries(declarations).map(([language, code]) => (\n <Tab2 key={language} id={language} label={language}>\n <DocCode code={code} language={language} />\n </Tab2>\n ))}\n </Tabs2>\n);\n"],"mappings":"AAyBA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,QAAQ,oBAAoB;AAGhD,SAASC,OAAO,QAAQ,YAAY;AAUpC,OAAO,IAAMC,eAAyC,GAAGC,IAAA;EAAA,IAAC;IAAEC;EAAa,CAAC,GAAAD,IAAA;EAAA,OACxEL,KAAA,CAAAO,aAAA,CAACL,KAAK,QACHM,MAAM,CAACC,OAAO,CAACH,YAAY,CAAC,CAACI,GAAG,CAACC,KAAA;IAAA,IAAC,CAACC,QAAQ,EAAEC,IAAI,CAAC,GAAAF,KAAA;IAAA,OACjDX,KAAA,CAAAO,aAAA,CAACN,IAAI;MAACa,GAAG,EAAEF,QAAS;MAACG,EAAE,EAAEH,QAAS;MAACI,KAAK,EAAEJ;IAAS,GACjDZ,KAAA,CAAAO,aAAA,CAACJ,OAAO;MAACU,IAAI,EAAEA,IAAK;MAACD,QAAQ,EAAEA;IAAS,CAAE,CACtC,CAAC;EAAA,CACR,CACI,CAAC;AAAA,CACT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocSDKs.js","names":["React","
|
|
1
|
+
{"version":3,"file":"DocSDKs.js","names":["React","useEffect","useState","useSelector","CollapserCard","getGenerators","DocCode","selectSdkLanguage","isMethod","noComment","DocDeclarations","getDeclarations","generators","sdkLanguage","item","declarations","Object","entries","forEach","_ref","language","gen","code","declareMethod","declareType","DocSDKs","_ref2","api","method","type","setItem","setDeclarations","header","setHeader","concat","languages","keys","length","createElement","heading","id","values"],"sources":["../../../../src/components/DocSDKs/DocSDKs.tsx"],"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 { FC } from 'react';\nimport React, { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport type {\n ApiModel,\n CodeGen,\n IMethod,\n IType,\n KeyedCollection,\n} from '@looker/sdk-codegen';\nimport { CollapserCard, getGenerators } from '@looker/run-it';\n\nimport { DocCode } from '../DocCode';\nimport { selectSdkLanguage } from '../../state';\nimport { isMethod } from '../../utils/path';\nimport { noComment } from './utils';\nimport { DocDeclarations } from './DocDeclarations';\n\ninterface LanguageSDKProps {\n /** API spec */\n api: ApiModel;\n /** An SDK method */\n method?: IMethod;\n /** An SDK type */\n type?: IType;\n}\n\nconst getDeclarations = (\n generators: KeyedCollection<CodeGen>,\n sdkLanguage: string,\n item: IMethod | IType\n) => {\n const declarations: KeyedCollection<string> = {};\n Object.entries(generators).forEach(([language, gen]) => {\n if (sdkLanguage === 'All' || language === sdkLanguage) {\n const code = isMethod(item)\n ? gen.declareMethod('', item as IMethod)\n : gen.declareType('', item as IType);\n declarations[language] = code;\n }\n });\n return declarations;\n};\n\n/**\n * Given a method or a type, it renders its SDK declaration in all supported languages.\n */\nexport const DocSDKs: FC<LanguageSDKProps> = ({ api, method, type }) => {\n const sdkLanguage = useSelector(selectSdkLanguage);\n const generators = getGenerators(api);\n const [item, setItem] = useState(method ? noComment(method) : type!);\n const [declarations, setDeclarations] = useState(\n getDeclarations(generators, sdkLanguage, item)\n );\n const [header, setHeader] = useState(`${sdkLanguage} Declaration`);\n\n useEffect(() => {\n setItem(method ? noComment(method) : type!);\n }, [method, type]);\n\n useEffect(() => {\n const declarations = getDeclarations(generators, sdkLanguage, item);\n setDeclarations(declarations);\n const languages = Object.keys(declarations);\n if (languages.length > 1) {\n setHeader('Declarations');\n } else {\n setHeader(`${languages[0]} Declaration`);\n }\n }, [sdkLanguage, item]);\n\n return (\n <CollapserCard heading={header} id=\"sdk declarations\">\n {Object.keys(declarations).length > 1 ? (\n <DocDeclarations declarations={declarations} />\n ) : (\n <DocCode\n language={Object.keys(declarations)[0]}\n code={Object.values(declarations)[0]}\n />\n )}\n </CollapserCard>\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,WAAW,QAAQ,aAAa;AAQzC,SAASC,aAAa,EAAEC,aAAa,QAAQ,gBAAgB;AAE7D,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,iBAAiB,QAAQ,aAAa;AAC/C,SAASC,QAAQ,QAAQ,kBAAkB;AAC3C,SAASC,SAAS,QAAQ,SAAS;AACnC,SAASC,eAAe,QAAQ,mBAAmB;AAWnD,IAAMC,eAAe,GAAGA,CACtBC,UAAoC,EACpCC,WAAmB,EACnBC,IAAqB,KAClB;EACH,IAAMC,YAAqC,GAAG,CAAC,CAAC;EAChDC,MAAM,CAACC,OAAO,CAACL,UAAU,CAAC,CAACM,OAAO,CAACC,IAAA,IAAqB;IAAA,IAApB,CAACC,QAAQ,EAAEC,GAAG,CAAC,GAAAF,IAAA;IACjD,IAAIN,WAAW,KAAK,KAAK,IAAIO,QAAQ,KAAKP,WAAW,EAAE;MACrD,IAAMS,IAAI,GAAGd,QAAQ,CAACM,IAAI,CAAC,GACvBO,GAAG,CAACE,aAAa,CAAC,EAAE,EAAET,IAAe,CAAC,GACtCO,GAAG,CAACG,WAAW,CAAC,EAAE,EAAEV,IAAa,CAAC;MACtCC,YAAY,CAACK,QAAQ,CAAC,GAAGE,IAAI;IAC/B;EACF,CAAC,CAAC;EACF,OAAOP,YAAY;AACrB,CAAC;AAKD,OAAO,IAAMU,OAA6B,GAAGC,KAAA,IAA2B;EAAA,IAA1B;IAAEC,GAAG;IAAEC,MAAM;IAAEC;EAAK,CAAC,GAAAH,KAAA;EACjE,IAAMb,WAAW,GAAGV,WAAW,CAACI,iBAAiB,CAAC;EAClD,IAAMK,UAAU,GAAGP,aAAa,CAACsB,GAAG,CAAC;EACrC,IAAM,CAACb,IAAI,EAAEgB,OAAO,CAAC,GAAG5B,QAAQ,CAAC0B,MAAM,GAAGnB,SAAS,CAACmB,MAAM,CAAC,GAAGC,IAAK,CAAC;EACpE,IAAM,CAACd,YAAY,EAAEgB,eAAe,CAAC,GAAG7B,QAAQ,CAC9CS,eAAe,CAACC,UAAU,EAAEC,WAAW,EAAEC,IAAI,CAC/C,CAAC;EACD,IAAM,CAACkB,MAAM,EAAEC,SAAS,CAAC,GAAG/B,QAAQ,IAAAgC,MAAA,CAAIrB,WAAW,iBAAc,CAAC;EAElEZ,SAAS,CAAC,MAAM;IACd6B,OAAO,CAACF,MAAM,GAAGnB,SAAS,CAACmB,MAAM,CAAC,GAAGC,IAAK,CAAC;EAC7C,CAAC,EAAE,CAACD,MAAM,EAAEC,IAAI,CAAC,CAAC;EAElB5B,SAAS,CAAC,MAAM;IACd,IAAMc,YAAY,GAAGJ,eAAe,CAACC,UAAU,EAAEC,WAAW,EAAEC,IAAI,CAAC;IACnEiB,eAAe,CAAChB,YAAY,CAAC;IAC7B,IAAMoB,SAAS,GAAGnB,MAAM,CAACoB,IAAI,CAACrB,YAAY,CAAC;IAC3C,IAAIoB,SAAS,CAACE,MAAM,GAAG,CAAC,EAAE;MACxBJ,SAAS,CAAC,cAAc,CAAC;IAC3B,CAAC,MAAM;MACLA,SAAS,IAAAC,MAAA,CAAIC,SAAS,CAAC,CAAC,CAAC,iBAAc,CAAC;IAC1C;EACF,CAAC,EAAE,CAACtB,WAAW,EAAEC,IAAI,CAAC,CAAC;EAEvB,OACEd,KAAA,CAAAsC,aAAA,CAAClC,aAAa;IAACmC,OAAO,EAAEP,MAAO;IAACQ,EAAE,EAAC;EAAkB,GAClDxB,MAAM,CAACoB,IAAI,CAACrB,YAAY,CAAC,CAACsB,MAAM,GAAG,CAAC,GACnCrC,KAAA,CAAAsC,aAAA,CAAC5B,eAAe;IAACK,YAAY,EAAEA;EAAa,CAAE,CAAC,GAE/Cf,KAAA,CAAAsC,aAAA,CAAChC,OAAO;IACNc,QAAQ,EAAEJ,MAAM,CAACoB,IAAI,CAACrB,YAAY,CAAC,CAAC,CAAC,CAAE;IACvCO,IAAI,EAAEN,MAAM,CAACyB,MAAM,CAAC1B,YAAY,CAAC,CAAC,CAAC;EAAE,CACtC,CAEU,CAAC;AAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocSDKs"],"sources":["../../../../src/components/DocSDKs/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 { DocSDKs } from './DocSDKs'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocSDKs"],"sources":["../../../../src/components/DocSDKs/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 { DocSDKs } from './DocSDKs';\n"],"mappings":"AAyBA,SAASA,OAAO,QAAQ,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["clone","noComment","method","copy","description"],"sources":["../../../../src/components/DocSDKs/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 */\nimport type { IMethod } from '@looker/sdk-codegen'
|
|
1
|
+
{"version":3,"file":"utils.js","names":["clone","noComment","method","copy","description"],"sources":["../../../../src/components/DocSDKs/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 */\nimport type { IMethod } from '@looker/sdk-codegen';\nimport clone from 'lodash/clone';\n\n/**\n * Given a method create a copy and remove its description\n * @param method An SDK method\n */\nexport const noComment = (method: IMethod): IMethod => {\n const copy = clone(method);\n copy.description = '';\n return copy;\n};\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,cAAc;AAMhC,OAAO,IAAMC,SAAS,GAAIC,MAAe,IAAc;EACrD,IAAMC,IAAI,GAAGH,KAAK,CAACE,MAAM,CAAC;EAC1BC,IAAI,CAACC,WAAW,GAAG,EAAE;EACrB,OAAOD,IAAI;AACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocSchema.js","names":["React","CodeDisplay","CollapserCard","DocSchema","_ref","object","createElement","Fragment","json","JSON","stringify","heading","defaultOpen","id","language","code"],"sources":["../../../../src/components/DocSchema/DocSchema.tsx"],"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 { FC } from 'react'
|
|
1
|
+
{"version":3,"file":"DocSchema.js","names":["React","CodeDisplay","CollapserCard","DocSchema","_ref","object","createElement","Fragment","json","JSON","stringify","heading","defaultOpen","id","language","code"],"sources":["../../../../src/components/DocSchema/DocSchema.tsx"],"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 { FC } from 'react';\nimport React from 'react';\n\nimport { CodeDisplay } from '@looker/code-editor';\nimport { CollapserCard } from '@looker/run-it';\n\ninterface DocSchemaProps {\n object: any;\n}\n\n/**\n * It renders links to the given types and/or methods references\n */\nexport const DocSchema: FC<DocSchemaProps> = ({ object }) => {\n if (!object) return <></>;\n const json = JSON.stringify(object, null, 2);\n\n return (\n <CollapserCard\n heading=\"Original Schema\"\n defaultOpen={false}\n id=\"original schema\"\n >\n <>\n <CodeDisplay language=\"json\" code={json} />\n </>\n </CollapserCard>\n );\n};\n"],"mappings":"AA2BA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,WAAW,QAAQ,qBAAqB;AACjD,SAASC,aAAa,QAAQ,gBAAgB;AAS9C,OAAO,IAAMC,SAA6B,GAAGC,IAAA,IAAgB;EAAA,IAAf;IAAEC;EAAO,CAAC,GAAAD,IAAA;EACtD,IAAI,CAACC,MAAM,EAAE,OAAOL,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,MAAI,CAAC;EACzB,IAAMC,IAAI,GAAGC,IAAI,CAACC,SAAS,CAACL,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;EAE5C,OACEL,KAAA,CAAAM,aAAA,CAACJ,aAAa;IACZS,OAAO,EAAC,iBAAiB;IACzBC,WAAW,EAAE,KAAM;IACnBC,EAAE,EAAC;EAAiB,GAEpBb,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QACEP,KAAA,CAAAM,aAAA,CAACL,WAAW;IAACa,QAAQ,EAAC,MAAM;IAACC,IAAI,EAAEP;EAAK,CAAE,CAC1C,CACW,CAAC;AAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocSchema"],"sources":["../../../../src/components/DocSchema/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 { DocSchema } from './DocSchema'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocSchema"],"sources":["../../../../src/components/DocSchema/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 { DocSchema } from './DocSchema';\n"],"mappings":"AA0BA,SAASA,SAAS,QAAQ,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocSdkExampleCell.js","names":["React","DataTableCell","Span","getTableItemBottomBorder","DocSdkExampleCell","props","createElement","style","borderBottom","hideBorderBottom","overflow","width","display","children"],"sources":["../../../../src/components/DocSdkUsage/DocSdkExampleCell.tsx"],"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 { FC, PropsWithChildren } from 'react'
|
|
1
|
+
{"version":3,"file":"DocSdkExampleCell.js","names":["React","DataTableCell","Span","getTableItemBottomBorder","DocSdkExampleCell","props","createElement","style","borderBottom","hideBorderBottom","overflow","width","display","children"],"sources":["../../../../src/components/DocSdkUsage/DocSdkExampleCell.tsx"],"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 { FC, PropsWithChildren } from 'react';\nimport React from 'react';\nimport { DataTableCell, Span } from '@looker/components';\n\nimport { getTableItemBottomBorder } from './utils';\n\nexport const DocSdkExampleCell: FC<PropsWithChildren<any>> = (props) => (\n <DataTableCell\n style={{ borderBottom: getTableItemBottomBorder(props.hideBorderBottom) }}\n >\n <Span style={{ overflow: 'hidden', width: '100%', display: 'block' }}>\n {props.children}\n </Span>\n </DataTableCell>\n);\n"],"mappings":"AA0BA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,EAAEC,IAAI,QAAQ,oBAAoB;AAExD,SAASC,wBAAwB,QAAQ,SAAS;AAElD,OAAO,IAAMC,iBAA6C,GAAIC,KAAK,IACjEL,KAAA,CAAAM,aAAA,CAACL,aAAa;EACZM,KAAK,EAAE;IAAEC,YAAY,EAAEL,wBAAwB,CAACE,KAAK,CAACI,gBAAgB;EAAE;AAAE,GAE1ET,KAAA,CAAAM,aAAA,CAACJ,IAAI;EAACK,KAAK,EAAE;IAAEG,QAAQ,EAAE,QAAQ;IAAEC,KAAK,EAAE,MAAM;IAAEC,OAAO,EAAE;EAAQ;AAAE,GAClEP,KAAK,CAACQ,QACH,CACO,CAChB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import { Box, Card, DataTable, DataTableItem, Icon, Link,
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import { Box, Card, DataTable, DataTableItem, Icon, Link, Pagination, Space } from '@looker/components';
|
|
3
3
|
import { findExampleLanguages } from '@looker/sdk-codegen';
|
|
4
4
|
import { CollapserCard } from '@looker/run-it';
|
|
5
5
|
import { InsertDriveFile } from '@styled-icons/material-outlined/InsertDriveFile';
|
|
6
6
|
import { useSelector } from 'react-redux';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { selectExamplesLode, selectSdkLanguage } from '../../state';
|
|
8
|
+
import { EMPTY_STRING, PER_PAGE_COUNT, exampleColumns, prepareExampleDataTable, sortLanguagesByPreference } from './utils';
|
|
9
9
|
import { DocSdkExampleCell } from './DocSdkExampleCell';
|
|
10
10
|
export var DocSdkUsage = _ref => {
|
|
11
11
|
var {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocSdkUsage.js","names":["React","
|
|
1
|
+
{"version":3,"file":"DocSdkUsage.js","names":["React","useEffect","useState","Box","Card","DataTable","DataTableItem","Icon","Link","Pagination","Space","findExampleLanguages","CollapserCard","InsertDriveFile","useSelector","selectExamplesLode","selectSdkLanguage","EMPTY_STRING","PER_PAGE_COUNT","exampleColumns","prepareExampleDataTable","sortLanguagesByPreference","DocSdkExampleCell","DocSdkUsage","_ref","method","examples","sdkLanguage","page","setPage","createElement","Fragment","languages","name","length","pageExamples","pageLimit","paginate","operationId","id","heading","height","px","py","mt","caption","columns","map","exampleRow","i","_pageExamples","isEmptyItem","filename","isLastItem","nextItemEmpty","hidden","permalink","key","hideBorderBottom","gap","icon","color","size","href","target","role","language","description","line","alignSelf","current","pages","onChange","nextPage"],"sources":["../../../../src/components/DocSdkUsage/DocSdkUsage.tsx"],"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 { FC } from 'react';\nimport React, { useEffect, useState } from 'react';\nimport {\n Box,\n Card,\n DataTable,\n DataTableItem,\n Icon,\n Link,\n Pagination,\n Space,\n} from '@looker/components';\nimport type { IMethod } from '@looker/sdk-codegen';\nimport { findExampleLanguages } from '@looker/sdk-codegen';\nimport { CollapserCard } from '@looker/run-it';\nimport { InsertDriveFile } from '@styled-icons/material-outlined/InsertDriveFile';\nimport { useSelector } from 'react-redux';\n\nimport { selectExamplesLode, selectSdkLanguage } from '../../state';\nimport {\n EMPTY_STRING,\n PER_PAGE_COUNT,\n exampleColumns,\n prepareExampleDataTable,\n sortLanguagesByPreference,\n} from './utils';\nimport { DocSdkExampleCell } from './DocSdkExampleCell';\n\ninterface DocSdkUsageProps {\n method: IMethod;\n}\n\n/**\n * Given an SDK method, searches the examples index for its usages in various languages and renders\n * links to the source files\n */\nexport const DocSdkUsage: FC<DocSdkUsageProps> = ({ method }) => {\n const examples = useSelector(selectExamplesLode);\n const sdkLanguage = useSelector(selectSdkLanguage);\n const [page, setPage] = useState(1);\n\n useEffect(() => {\n setPage(1);\n }, [method]);\n\n if (!examples) return <></>;\n let languages = findExampleLanguages(examples, method.name);\n if (languages.length === 0) return <></>;\n\n languages = sortLanguagesByPreference(languages, sdkLanguage);\n\n const { pageExamples, pageLimit, paginate } = prepareExampleDataTable(\n languages,\n examples,\n method.operationId,\n page\n );\n\n if (pageExamples.length === 0) return <></>;\n\n return (\n <CollapserCard id=\"examples\" heading=\"SDK Examples\">\n <Card height=\"auto\" px=\"small\" py=\"xsmall\" mt=\"small\">\n <DataTable caption=\"SDK Examples\" columns={exampleColumns}>\n {pageExamples.map((exampleRow, i) => {\n const isEmptyItem = exampleRow.filename === EMPTY_STRING;\n const isLastItem =\n (i + 1) % PER_PAGE_COUNT === 0 || i + 1 === pageExamples.length;\n const nextItemEmpty =\n pageExamples[i + 1]?.filename === EMPTY_STRING;\n const hidden = isEmptyItem || isLastItem || nextItemEmpty;\n return (\n <DataTableItem\n id={exampleRow.permalink}\n key={exampleRow.permalink}\n >\n <DocSdkExampleCell hideBorderBottom={hidden}>\n <Space gap=\"xsmall\">\n {!isEmptyItem && (\n <Icon\n icon={<InsertDriveFile />}\n color=\"text1\"\n size=\"small\"\n />\n )}\n <Link\n href={exampleRow.permalink}\n target={'_blank'}\n role=\"link\"\n >\n {exampleRow.filename}\n </Link>\n </Space>\n </DocSdkExampleCell>\n <DocSdkExampleCell hideBorderBottom={hidden}>\n {exampleRow.language}\n </DocSdkExampleCell>\n <DocSdkExampleCell hideBorderBottom={hidden}>\n {exampleRow.description}\n </DocSdkExampleCell>\n <DocSdkExampleCell hideBorderBottom={hidden}>\n {exampleRow.line}\n </DocSdkExampleCell>\n </DataTableItem>\n );\n })}\n </DataTable>\n {paginate && (\n <Box alignSelf=\"center\">\n <Pagination\n current={page}\n pages={pageLimit}\n onChange={(nextPage) => {\n setPage(nextPage);\n }}\n />\n </Box>\n )}\n </Card>\n </CollapserCard>\n );\n};\n"],"mappings":"AA0BA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SACEC,GAAG,EACHC,IAAI,EACJC,SAAS,EACTC,aAAa,EACbC,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,KAAK,QACA,oBAAoB;AAE3B,SAASC,oBAAoB,QAAQ,qBAAqB;AAC1D,SAASC,aAAa,QAAQ,gBAAgB;AAC9C,SAASC,eAAe,QAAQ,iDAAiD;AACjF,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,aAAa;AACnE,SACEC,YAAY,EACZC,cAAc,EACdC,cAAc,EACdC,uBAAuB,EACvBC,yBAAyB,QACpB,SAAS;AAChB,SAASC,iBAAiB,QAAQ,qBAAqB;AAUvD,OAAO,IAAMC,WAAiC,GAAGC,IAAA,IAAgB;EAAA,IAAf;IAAEC;EAAO,CAAC,GAAAD,IAAA;EAC1D,IAAME,QAAQ,GAAGZ,WAAW,CAACC,kBAAkB,CAAC;EAChD,IAAMY,WAAW,GAAGb,WAAW,CAACE,iBAAiB,CAAC;EAClD,IAAM,CAACY,IAAI,EAAEC,OAAO,CAAC,GAAG3B,QAAQ,CAAC,CAAC,CAAC;EAEnCD,SAAS,CAAC,MAAM;IACd4B,OAAO,CAAC,CAAC,CAAC;EACZ,CAAC,EAAE,CAACJ,MAAM,CAAC,CAAC;EAEZ,IAAI,CAACC,QAAQ,EAAE,OAAO1B,KAAA,CAAA8B,aAAA,CAAA9B,KAAA,CAAA+B,QAAA,MAAI,CAAC;EAC3B,IAAIC,SAAS,GAAGrB,oBAAoB,CAACe,QAAQ,EAAED,MAAM,CAACQ,IAAI,CAAC;EAC3D,IAAID,SAAS,CAACE,MAAM,KAAK,CAAC,EAAE,OAAOlC,KAAA,CAAA8B,aAAA,CAAA9B,KAAA,CAAA+B,QAAA,MAAI,CAAC;EAExCC,SAAS,GAAGX,yBAAyB,CAACW,SAAS,EAAEL,WAAW,CAAC;EAE7D,IAAM;IAAEQ,YAAY;IAAEC,SAAS;IAAEC;EAAS,CAAC,GAAGjB,uBAAuB,CACnEY,SAAS,EACTN,QAAQ,EACRD,MAAM,CAACa,WAAW,EAClBV,IACF,CAAC;EAED,IAAIO,YAAY,CAACD,MAAM,KAAK,CAAC,EAAE,OAAOlC,KAAA,CAAA8B,aAAA,CAAA9B,KAAA,CAAA+B,QAAA,MAAI,CAAC;EAE3C,OACE/B,KAAA,CAAA8B,aAAA,CAAClB,aAAa;IAAC2B,EAAE,EAAC,UAAU;IAACC,OAAO,EAAC;EAAc,GACjDxC,KAAA,CAAA8B,aAAA,CAAC1B,IAAI;IAACqC,MAAM,EAAC,MAAM;IAACC,EAAE,EAAC,OAAO;IAACC,EAAE,EAAC,QAAQ;IAACC,EAAE,EAAC;EAAO,GACnD5C,KAAA,CAAA8B,aAAA,CAACzB,SAAS;IAACwC,OAAO,EAAC,cAAc;IAACC,OAAO,EAAE3B;EAAe,GACvDgB,YAAY,CAACY,GAAG,CAAC,CAACC,UAAU,EAAEC,CAAC,KAAK;IAAA,IAAAC,aAAA;IACnC,IAAMC,WAAW,GAAGH,UAAU,CAACI,QAAQ,KAAKnC,YAAY;IACxD,IAAMoC,UAAU,GACd,CAACJ,CAAC,GAAG,CAAC,IAAI/B,cAAc,KAAK,CAAC,IAAI+B,CAAC,GAAG,CAAC,KAAKd,YAAY,CAACD,MAAM;IACjE,IAAMoB,aAAa,GACjB,EAAAJ,aAAA,GAAAf,YAAY,CAACc,CAAC,GAAG,CAAC,CAAC,cAAAC,aAAA,uBAAnBA,aAAA,CAAqBE,QAAQ,MAAKnC,YAAY;IAChD,IAAMsC,MAAM,GAAGJ,WAAW,IAAIE,UAAU,IAAIC,aAAa;IACzD,OACEtD,KAAA,CAAA8B,aAAA,CAACxB,aAAa;MACZiC,EAAE,EAAES,UAAU,CAACQ,SAAU;MACzBC,GAAG,EAAET,UAAU,CAACQ;IAAU,GAE1BxD,KAAA,CAAA8B,aAAA,CAACR,iBAAiB;MAACoC,gBAAgB,EAAEH;IAAO,GAC1CvD,KAAA,CAAA8B,aAAA,CAACpB,KAAK;MAACiD,GAAG,EAAC;IAAQ,GAChB,CAACR,WAAW,IACXnD,KAAA,CAAA8B,aAAA,CAACvB,IAAI;MACHqD,IAAI,EAAE5D,KAAA,CAAA8B,aAAA,CAACjB,eAAe,MAAE,CAAE;MAC1BgD,KAAK,EAAC,OAAO;MACbC,IAAI,EAAC;IAAO,CACb,CACF,EACD9D,KAAA,CAAA8B,aAAA,CAACtB,IAAI;MACHuD,IAAI,EAAEf,UAAU,CAACQ,SAAU;MAC3BQ,MAAM,EAAE,QAAS;MACjBC,IAAI,EAAC;IAAM,GAEVjB,UAAU,CAACI,QACR,CACD,CACU,CAAC,EACpBpD,KAAA,CAAA8B,aAAA,CAACR,iBAAiB;MAACoC,gBAAgB,EAAEH;IAAO,GACzCP,UAAU,CAACkB,QACK,CAAC,EACpBlE,KAAA,CAAA8B,aAAA,CAACR,iBAAiB;MAACoC,gBAAgB,EAAEH;IAAO,GACzCP,UAAU,CAACmB,WACK,CAAC,EACpBnE,KAAA,CAAA8B,aAAA,CAACR,iBAAiB;MAACoC,gBAAgB,EAAEH;IAAO,GACzCP,UAAU,CAACoB,IACK,CACN,CAAC;EAEpB,CAAC,CACQ,CAAC,EACX/B,QAAQ,IACPrC,KAAA,CAAA8B,aAAA,CAAC3B,GAAG;IAACkE,SAAS,EAAC;EAAQ,GACrBrE,KAAA,CAAA8B,aAAA,CAACrB,UAAU;IACT6D,OAAO,EAAE1C,IAAK;IACd2C,KAAK,EAAEnC,SAAU;IACjBoC,QAAQ,EAAGC,QAAQ,IAAK;MACtB5C,OAAO,CAAC4C,QAAQ,CAAC;IACnB;EAAE,CACH,CACE,CAEH,CACO,CAAC;AAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DocSdkUsage"],"sources":["../../../../src/components/DocSdkUsage/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 { DocSdkUsage } from './DocSdkUsage'
|
|
1
|
+
{"version":3,"file":"index.js","names":["DocSdkUsage"],"sources":["../../../../src/components/DocSdkUsage/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 { DocSdkUsage } from './DocSdkUsage';\n"],"mappings":"AAyBA,SAASA,WAAW,QAAQ,eAAe"}
|