@looker/run-it 0.9.44 → 0.9.46
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +22 -0
- package/lib/components/Collapser/CollapserCard.d.ts +2 -2
- package/lib/components/Collapser/CollapserCard.js.map +1 -1
- package/lib/esm/components/Collapser/CollapserCard.js.map +1 -1
- package/lib/esm/utils/RunItSDK.js +1 -1
- package/lib/esm/utils/RunItSDK.js.map +1 -1
- package/lib/utils/RunItSDK.js +1 -1
- package/lib/utils/RunItSDK.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -7,6 +7,28 @@
|
|
7
7
|
* @looker/extension-utils bumped from ^0.1.20 to ^0.1.21
|
8
8
|
* @looker/sdk bumped from ^23.0.0 to ^23.2.0
|
9
9
|
|
10
|
+
### Dependencies
|
11
|
+
|
12
|
+
* The following workspace dependencies were updated
|
13
|
+
* dependencies
|
14
|
+
* @looker/extension-utils bumped from ^0.1.22 to ^0.1.23
|
15
|
+
* @looker/sdk bumped from ^23.4.0 to ^23.6.0
|
16
|
+
|
17
|
+
## [0.9.45](https://github.com/looker-open-source/sdk-codegen/compare/run-it-v0.9.44...run-it-v0.9.45) (2023-03-31)
|
18
|
+
|
19
|
+
|
20
|
+
### Features
|
21
|
+
|
22
|
+
* embed playground ([#1280](https://github.com/looker-open-source/sdk-codegen/issues/1280)) ([28f1218](https://github.com/looker-open-source/sdk-codegen/commit/28f121830f116da59b7f1cd248433c15c98cc56e))
|
23
|
+
|
24
|
+
|
25
|
+
### Dependencies
|
26
|
+
|
27
|
+
* The following workspace dependencies were updated
|
28
|
+
* dependencies
|
29
|
+
* @looker/extension-utils bumped from ^0.1.21 to ^0.1.22
|
30
|
+
* @looker/sdk bumped from ^23.2.0 to ^23.4.0
|
31
|
+
|
10
32
|
## [0.9.43](https://github.com/looker-open-source/sdk-codegen/compare/run-it-v0.9.42...run-it-v0.9.43) (2023-02-22)
|
11
33
|
|
12
34
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ReactElement } from 'react';
|
2
2
|
interface CollapserCardProps {
|
3
3
|
id?: string;
|
4
4
|
heading: string;
|
@@ -6,5 +6,5 @@ interface CollapserCardProps {
|
|
6
6
|
defaultOpen?: boolean;
|
7
7
|
divider?: boolean;
|
8
8
|
}
|
9
|
-
export declare const CollapserCard:
|
9
|
+
export declare const CollapserCard: ({ id, heading, children, defaultOpen, divider, }: CollapserCardProps) => JSX.Element;
|
10
10
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CollapserCard.js","names":["CollapserCard","id","heading","children","defaultOpen","divider","level","value","toggle","useToggle","close","open"],"sources":["../../../src/components/Collapser/CollapserCard.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 {
|
1
|
+
{"version":3,"file":"CollapserCard.js","names":["CollapserCard","id","heading","children","defaultOpen","divider","level","value","toggle","useToggle","close","open"],"sources":["../../../src/components/Collapser/CollapserCard.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 { ReactElement } from 'react'\nimport React from 'react'\nimport { useToggle, Accordion2, Divider, Box2 } from '@looker/components'\nimport { ArrowRight } from '@styled-icons/material/ArrowRight'\nimport { ArrowDropDown } from '@styled-icons/material/ArrowDropDown'\n\nimport { RunItHeading } from '../common'\n\ninterface CollapserCardProps {\n id?: string\n heading: string\n children: ReactElement\n defaultOpen?: boolean\n divider?: boolean\n}\n\n/**\n * Render a collapsable header and children\n */\nexport const CollapserCard = ({\n id,\n heading,\n children,\n defaultOpen = true,\n divider = true,\n}: CollapserCardProps) => {\n const level = divider ? 'h3' : 'h4'\n const { value, toggle } = useToggle(defaultOpen)\n\n return (\n <Box2 display=\"flex\" flexDirection=\"column\">\n {divider && <Divider appearance=\"light\" />}\n <Accordion2\n id={id}\n indicatorPosition=\"left\"\n isOpen={value}\n toggleOpen={toggle}\n indicatorIcons={{ close: <ArrowRight />, open: <ArrowDropDown /> }}\n label={<RunItHeading as={level}>{heading}</RunItHeading>}\n >\n <Box2 pb=\"xlarge\">{children}</Box2>\n </Accordion2>\n </Box2>\n )\n}\n"],"mappings":";;;;;;AA0BA;AACA;AACA;AACA;AAEA;AAAwC;AAajC,IAAMA,aAAa,GAAG,QAMH;EAAA,IANI;IAC5BC,EAAE;IACFC,OAAO;IACPC,QAAQ;IACRC,WAAW,GAAG,IAAI;IAClBC,OAAO,GAAG;EACQ,CAAC;EACnB,IAAMC,KAAK,GAAGD,OAAO,GAAG,IAAI,GAAG,IAAI;EACnC,IAAM;IAAEE,KAAK;IAAEC;EAAO,CAAC,GAAG,IAAAC,qBAAS,EAACL,WAAW,CAAC;EAEhD,OACE,6BAAC,gBAAI;IAAC,OAAO,EAAC,MAAM;IAAC,aAAa,EAAC;EAAQ,GACxCC,OAAO,IAAI,6BAAC,mBAAO;IAAC,UAAU,EAAC;EAAO,EAAG,EAC1C,6BAAC,sBAAU;IACT,EAAE,EAAEJ,EAAG;IACP,iBAAiB,EAAC,MAAM;IACxB,MAAM,EAAEM,KAAM;IACd,UAAU,EAAEC,MAAO;IACnB,cAAc,EAAE;MAAEE,KAAK,EAAE,6BAAC,sBAAU,OAAG;MAAEC,IAAI,EAAE,6BAAC,4BAAa;IAAI,CAAE;IACnE,KAAK,EAAE,6BAAC,oBAAY;MAAC,EAAE,EAAEL;IAAM,GAAEJ,OAAO;EAAiB,GAEzD,6BAAC,gBAAI;IAAC,EAAE,EAAC;EAAQ,GAAEC,QAAQ,CAAQ,CACxB,CACR;AAEX,CAAC;AAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CollapserCard.js","names":["CollapserCard","id","heading","children","defaultOpen","divider","level","value","toggle","useToggle","close","open"],"sources":["../../../../src/components/Collapser/CollapserCard.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 {
|
1
|
+
{"version":3,"file":"CollapserCard.js","names":["CollapserCard","id","heading","children","defaultOpen","divider","level","value","toggle","useToggle","close","open"],"sources":["../../../../src/components/Collapser/CollapserCard.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 { ReactElement } from 'react'\nimport React from 'react'\nimport { useToggle, Accordion2, Divider, Box2 } from '@looker/components'\nimport { ArrowRight } from '@styled-icons/material/ArrowRight'\nimport { ArrowDropDown } from '@styled-icons/material/ArrowDropDown'\n\nimport { RunItHeading } from '../common'\n\ninterface CollapserCardProps {\n id?: string\n heading: string\n children: ReactElement\n defaultOpen?: boolean\n divider?: boolean\n}\n\n/**\n * Render a collapsable header and children\n */\nexport const CollapserCard = ({\n id,\n heading,\n children,\n defaultOpen = true,\n divider = true,\n}: CollapserCardProps) => {\n const level = divider ? 'h3' : 'h4'\n const { value, toggle } = useToggle(defaultOpen)\n\n return (\n <Box2 display=\"flex\" flexDirection=\"column\">\n {divider && <Divider appearance=\"light\" />}\n <Accordion2\n id={id}\n indicatorPosition=\"left\"\n isOpen={value}\n toggleOpen={toggle}\n indicatorIcons={{ close: <ArrowRight />, open: <ArrowDropDown /> }}\n label={<RunItHeading as={level}>{heading}</RunItHeading>}\n >\n <Box2 pb=\"xlarge\">{children}</Box2>\n </Accordion2>\n </Box2>\n )\n}\n"],"mappings":";;;;;;AA0BA;AACA;AACA;AACA;AAEA;AAAwC;AAajC,IAAMA,aAAa,GAAG,QAMH;EAAA,IANI;IAC5BC,EAAE;IACFC,OAAO;IACPC,QAAQ;IACRC,WAAW,GAAG,IAAI;IAClBC,OAAO,GAAG;EACQ,CAAC;EACnB,IAAMC,KAAK,GAAGD,OAAO,GAAG,IAAI,GAAG,IAAI;EACnC,IAAM;IAAEE,KAAK;IAAEC;EAAO,CAAC,GAAG,IAAAC,qBAAS,EAACL,WAAW,CAAC;EAEhD,OACE,6BAAC,gBAAI;IAAC,OAAO,EAAC,MAAM;IAAC,aAAa,EAAC;EAAQ,GACxCC,OAAO,IAAI,6BAAC,mBAAO;IAAC,UAAU,EAAC;EAAO,EAAG,EAC1C,6BAAC,sBAAU;IACT,EAAE,EAAEJ,EAAG;IACP,iBAAiB,EAAC,MAAM;IACxB,MAAM,EAAEM,KAAM;IACd,UAAU,EAAEC,MAAO;IACnB,cAAc,EAAE;MAAEE,KAAK,EAAE,6BAAC,sBAAU,OAAG;MAAEC,IAAI,EAAE,6BAAC,4BAAa;IAAI,CAAE;IACnE,KAAK,EAAE,6BAAC,oBAAY;MAAC,EAAE,EAAEL;IAAM,GAAEJ,OAAO;EAAiB,GAEzD,6BAAC,gBAAI;IAAC,EAAE,EAAC;EAAQ,GAAEC,QAAQ,CAAQ,CACxB,CACR;AAEX,CAAC;AAAA"}
|
@@ -18,7 +18,7 @@ var initRunItSdk = () => {
|
|
18
18
|
base_url: 'https://self-signed.looker.com:19999',
|
19
19
|
agentTag: 'RunIt 0.8'
|
20
20
|
});
|
21
|
-
var options = new _extensionUtils.OAuthConfigProvider(settings, _components.RunItConfigKey);
|
21
|
+
var options = new _extensionUtils.OAuthConfigProvider(settings, 'looker.api-explorer', _components.RunItConfigKey);
|
22
22
|
var transport = new _sdkRtl.BrowserTransport(options);
|
23
23
|
var session = new _sdkRtl.BrowserSession(options, transport);
|
24
24
|
var sdk = (0, _sdk.functionalSdk40)(session);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RunItSDK.js","names":["initRunItSdk","settings","DefaultSettings","base_url","agentTag","options","OAuthConfigProvider","RunItConfigKey","transport","BrowserTransport","session","BrowserSession","sdk","functionalSdk40","trackPerformance","StoreConstants"],"sources":["../../../src/utils/RunItSDK.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { IApiSettings } from '@looker/sdk-rtl'\nimport {\n BrowserSession,\n BrowserTransport,\n DefaultSettings,\n} from '@looker/sdk-rtl'\nimport { functionalSdk40 } from '@looker/sdk'\nimport { OAuthConfigProvider } from '@looker/extension-utils'\n\nimport { RunItConfigKey } from '../components'\n\nexport const initRunItSdk = () => {\n const settings = {\n ...DefaultSettings(),\n base_url: 'https://self-signed.looker.com:19999',\n agentTag: 'RunIt 0.8',\n } as IApiSettings\n\n const options = new OAuthConfigProvider(settings
|
1
|
+
{"version":3,"file":"RunItSDK.js","names":["initRunItSdk","settings","DefaultSettings","base_url","agentTag","options","OAuthConfigProvider","RunItConfigKey","transport","BrowserTransport","session","BrowserSession","sdk","functionalSdk40","trackPerformance","StoreConstants"],"sources":["../../../src/utils/RunItSDK.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { IApiSettings } from '@looker/sdk-rtl'\nimport {\n BrowserSession,\n BrowserTransport,\n DefaultSettings,\n} from '@looker/sdk-rtl'\nimport { functionalSdk40 } from '@looker/sdk'\nimport { OAuthConfigProvider } from '@looker/extension-utils'\n\nimport { RunItConfigKey } from '../components'\n\nexport const initRunItSdk = () => {\n const settings = {\n ...DefaultSettings(),\n base_url: 'https://self-signed.looker.com:19999',\n agentTag: 'RunIt 0.8',\n } as IApiSettings\n\n const options = new OAuthConfigProvider(\n settings,\n 'looker.api-explorer',\n RunItConfigKey\n )\n const transport = new BrowserTransport(options)\n const session = new BrowserSession(options, transport)\n const sdk = functionalSdk40(session)\n BrowserTransport.trackPerformance = true\n return sdk\n}\n\nexport enum StoreConstants {\n LOCALSTORAGE_SETTINGS_KEY = 'settings',\n}\n"],"mappings":";;;;;;AA2BA;AAKA;AACA;AAEA;AAA8C;AAAA;AAAA;AAAA;AAAA;AAEvC,IAAMA,YAAY,GAAG,MAAM;EAChC,IAAMC,QAAQ,mCACT,IAAAC,uBAAe,GAAE;IACpBC,QAAQ,EAAE,sCAAsC;IAChDC,QAAQ,EAAE;EAAW,EACN;EAEjB,IAAMC,OAAO,GAAG,IAAIC,mCAAmB,CACrCL,QAAQ,EACR,qBAAqB,EACrBM,0BAAc,CACf;EACD,IAAMC,SAAS,GAAG,IAAIC,wBAAgB,CAACJ,OAAO,CAAC;EAC/C,IAAMK,OAAO,GAAG,IAAIC,sBAAc,CAACN,OAAO,EAAEG,SAAS,CAAC;EACtD,IAAMI,GAAG,GAAG,IAAAC,oBAAe,EAACH,OAAO,CAAC;EACpCD,wBAAgB,CAACK,gBAAgB,GAAG,IAAI;EACxC,OAAOF,GAAG;AACZ,CAAC;AAAA;AAAA,IAEWG,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
|
package/lib/utils/RunItSDK.js
CHANGED
@@ -18,7 +18,7 @@ var initRunItSdk = () => {
|
|
18
18
|
base_url: 'https://self-signed.looker.com:19999',
|
19
19
|
agentTag: 'RunIt 0.8'
|
20
20
|
});
|
21
|
-
var options = new _extensionUtils.OAuthConfigProvider(settings, _components.RunItConfigKey);
|
21
|
+
var options = new _extensionUtils.OAuthConfigProvider(settings, 'looker.api-explorer', _components.RunItConfigKey);
|
22
22
|
var transport = new _sdkRtl.BrowserTransport(options);
|
23
23
|
var session = new _sdkRtl.BrowserSession(options, transport);
|
24
24
|
var sdk = (0, _sdk.functionalSdk40)(session);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RunItSDK.js","names":["initRunItSdk","settings","DefaultSettings","base_url","agentTag","options","OAuthConfigProvider","RunItConfigKey","transport","BrowserTransport","session","BrowserSession","sdk","functionalSdk40","trackPerformance","StoreConstants"],"sources":["../../src/utils/RunItSDK.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { IApiSettings } from '@looker/sdk-rtl'\nimport {\n BrowserSession,\n BrowserTransport,\n DefaultSettings,\n} from '@looker/sdk-rtl'\nimport { functionalSdk40 } from '@looker/sdk'\nimport { OAuthConfigProvider } from '@looker/extension-utils'\n\nimport { RunItConfigKey } from '../components'\n\nexport const initRunItSdk = () => {\n const settings = {\n ...DefaultSettings(),\n base_url: 'https://self-signed.looker.com:19999',\n agentTag: 'RunIt 0.8',\n } as IApiSettings\n\n const options = new OAuthConfigProvider(settings
|
1
|
+
{"version":3,"file":"RunItSDK.js","names":["initRunItSdk","settings","DefaultSettings","base_url","agentTag","options","OAuthConfigProvider","RunItConfigKey","transport","BrowserTransport","session","BrowserSession","sdk","functionalSdk40","trackPerformance","StoreConstants"],"sources":["../../src/utils/RunItSDK.ts"],"sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nimport type { IApiSettings } from '@looker/sdk-rtl'\nimport {\n BrowserSession,\n BrowserTransport,\n DefaultSettings,\n} from '@looker/sdk-rtl'\nimport { functionalSdk40 } from '@looker/sdk'\nimport { OAuthConfigProvider } from '@looker/extension-utils'\n\nimport { RunItConfigKey } from '../components'\n\nexport const initRunItSdk = () => {\n const settings = {\n ...DefaultSettings(),\n base_url: 'https://self-signed.looker.com:19999',\n agentTag: 'RunIt 0.8',\n } as IApiSettings\n\n const options = new OAuthConfigProvider(\n settings,\n 'looker.api-explorer',\n RunItConfigKey\n )\n const transport = new BrowserTransport(options)\n const session = new BrowserSession(options, transport)\n const sdk = functionalSdk40(session)\n BrowserTransport.trackPerformance = true\n return sdk\n}\n\nexport enum StoreConstants {\n LOCALSTORAGE_SETTINGS_KEY = 'settings',\n}\n"],"mappings":";;;;;;AA2BA;AAKA;AACA;AAEA;AAA8C;AAAA;AAAA;AAAA;AAAA;AAEvC,IAAMA,YAAY,GAAG,MAAM;EAChC,IAAMC,QAAQ,mCACT,IAAAC,uBAAe,GAAE;IACpBC,QAAQ,EAAE,sCAAsC;IAChDC,QAAQ,EAAE;EAAW,EACN;EAEjB,IAAMC,OAAO,GAAG,IAAIC,mCAAmB,CACrCL,QAAQ,EACR,qBAAqB,EACrBM,0BAAc,CACf;EACD,IAAMC,SAAS,GAAG,IAAIC,wBAAgB,CAACJ,OAAO,CAAC;EAC/C,IAAMK,OAAO,GAAG,IAAIC,sBAAc,CAACN,OAAO,EAAEG,SAAS,CAAC;EACtD,IAAMI,GAAG,GAAG,IAAAC,oBAAe,EAACH,OAAO,CAAC;EACpCD,wBAAgB,CAACK,gBAAgB,GAAG,IAAI;EACxC,OAAOF,GAAG;AACZ,CAAC;AAAA;AAAA,IAEWG,cAAc;AAAA;AAAA,WAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,8BAAdA,cAAc"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@looker/run-it",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.46",
|
4
4
|
"description": "A dynamic REST request input form and response visualizer",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"module": "lib/esm/index.js",
|
@@ -56,9 +56,9 @@
|
|
56
56
|
"@looker/code-editor": "^0.1.28",
|
57
57
|
"@looker/components": "^4.1.1",
|
58
58
|
"@looker/design-tokens": "^3.1.0",
|
59
|
-
"@looker/extension-utils": "^0.1.
|
59
|
+
"@looker/extension-utils": "^0.1.23",
|
60
60
|
"@looker/icons": "^1.5.21",
|
61
|
-
"@looker/sdk": "^23.
|
61
|
+
"@looker/sdk": "^23.6.0",
|
62
62
|
"@looker/sdk-codegen": "^21.8.0",
|
63
63
|
"@looker/sdk-codegen-utils": "^21.0.11",
|
64
64
|
"@looker/sdk-rtl": "^21.6.0",
|
@@ -73,5 +73,5 @@
|
|
73
73
|
"react-is": "^16.13.1",
|
74
74
|
"styled-components": "^5.2.1"
|
75
75
|
},
|
76
|
-
"gitHead": "
|
76
|
+
"gitHead": "3c3b027b71bced8fb05d5b0d88b15f71c12b97bd"
|
77
77
|
}
|