@looker/extension-utils 0.1.21 → 0.1.22
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 +21 -0
- package/lib/OAuthConfigForm/Collapser/CollapserCard.d.ts +10 -0
- package/lib/OAuthConfigForm/Collapser/CollapserCard.js +47 -0
- package/lib/OAuthConfigForm/Collapser/CollapserCard.js.map +1 -0
- package/lib/OAuthConfigForm/Collapser/index.d.ts +1 -0
- package/lib/OAuthConfigForm/Collapser/index.js +13 -0
- package/lib/OAuthConfigForm/Collapser/index.js.map +1 -0
- package/lib/OAuthConfigForm/ConfigHeading.d.ts +5 -0
- package/lib/OAuthConfigForm/ConfigHeading.js +24 -0
- package/lib/OAuthConfigForm/ConfigHeading.js.map +1 -0
- package/lib/OAuthConfigForm/OAuthConfigForm.d.ts +10 -0
- package/lib/OAuthConfigForm/OAuthConfigForm.js +300 -0
- package/lib/OAuthConfigForm/OAuthConfigForm.js.map +1 -0
- package/lib/OAuthConfigForm/index.d.ts +1 -0
- package/lib/OAuthConfigForm/index.js +13 -0
- package/lib/OAuthConfigForm/index.js.map +1 -0
- package/lib/OAuthConfigForm/utils.d.ts +5 -0
- package/lib/OAuthConfigForm/utils.js +56 -0
- package/lib/OAuthConfigForm/utils.js.map +1 -0
- package/lib/authUtils.d.ts +2 -1
- package/lib/authUtils.js +4 -2
- package/lib/authUtils.js.map +1 -1
- package/lib/esm/OAuthConfigForm/Collapser/CollapserCard.js +47 -0
- package/lib/esm/OAuthConfigForm/Collapser/CollapserCard.js.map +1 -0
- package/lib/esm/OAuthConfigForm/Collapser/index.js +13 -0
- package/lib/esm/OAuthConfigForm/Collapser/index.js.map +1 -0
- package/lib/esm/OAuthConfigForm/ConfigHeading.js +24 -0
- package/lib/esm/OAuthConfigForm/ConfigHeading.js.map +1 -0
- package/lib/esm/OAuthConfigForm/OAuthConfigForm.js +300 -0
- package/lib/esm/OAuthConfigForm/OAuthConfigForm.js.map +1 -0
- package/lib/esm/OAuthConfigForm/index.js +13 -0
- package/lib/esm/OAuthConfigForm/index.js.map +1 -0
- package/lib/esm/OAuthConfigForm/utils.js +56 -0
- package/lib/esm/OAuthConfigForm/utils.js.map +1 -0
- package/lib/esm/authUtils.js +4 -2
- package/lib/esm/authUtils.js.map +1 -1
- package/lib/esm/index.js +11 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +11 -0
- package/lib/index.js.map +1 -1
- package/package.json +11 -6
package/lib/esm/authUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authUtils.js","names":["OAuthConfigProvider","ApiSettings","constructor","settings","configKey","getStorage","key","defaultValue","value","sessionStorage","getItem","location","localStorage","isConfigured","getStoredConfig","storage","config","base_url","looker_url","client_id","redirect_uri","JSON","parse","authIsConfigured","readConfig","_section","url","URL","authServer","protocol","hostname","window","origin"],"sources":["../../src/authUtils.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 { IApiSection, IApiSettings } from '@looker/sdk-rtl'\nimport { ApiSettings } from '@looker/sdk-rtl'\n\nexport type StorageLocation = 'session' | 'local'\n\n/** Object returned from storage service */\nexport interface IStorageValue {\n /** Location of the stored object */\n location: StorageLocation\n /** Stored string representation of the value (usually JSON) */\n value: string\n}\n\n/**\n * An OAuth Session configuration provider\n */\nexport class OAuthConfigProvider extends ApiSettings {\n constructor(\n settings: Partial<IApiSettings>,\n private readonly configKey: string\n ) {\n super(settings)\n }\n\n private getStorage(key: string, defaultValue = ''): IStorageValue {\n let value = sessionStorage.getItem(key)\n if (value) {\n return {\n location: 'session',\n value,\n }\n }\n value = localStorage.getItem(key)\n if (value) {\n return {\n location: 'local',\n value,\n }\n }\n return {\n location: 'session',\n value: defaultValue,\n }\n }\n\n isConfigured(): boolean {\n // Required to be true otherwise SDK initialization fails\n return true\n }\n\n getStoredConfig() {\n const storage = this.getStorage(this.configKey)\n let config = {\n base_url: '',\n looker_url: '',\n client_id: '',\n redirect_uri: '',\n }\n if (storage.value) {\n config = JSON.parse(storage.value)\n }\n return config\n }\n\n authIsConfigured(): boolean {\n const config = this.getStoredConfig()\n return config.base_url !== '' && config.looker_url !== ''\n }\n\n readConfig(_section?: string): IApiSection {\n // Read server url values from storage\n let config = this.getStoredConfig()\n if (!this.authIsConfigured()) {\n // derive Looker server URL from base_url\n const url = new URL(this.base_url)\n const authServer = `${url.protocol}//${url.hostname}`\n config = {\n base_url: this.base_url,\n looker_url: `${authServer}:9999`,\n client_id:
|
|
1
|
+
{"version":3,"file":"authUtils.js","names":["OAuthConfigProvider","ApiSettings","constructor","settings","oauthClientId","configKey","getStorage","key","defaultValue","value","sessionStorage","getItem","location","localStorage","isConfigured","getStoredConfig","storage","config","base_url","looker_url","client_id","redirect_uri","JSON","parse","authIsConfigured","readConfig","_section","url","URL","authServer","protocol","hostname","window","origin"],"sources":["../../src/authUtils.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 { IApiSection, IApiSettings } from '@looker/sdk-rtl'\nimport { ApiSettings } from '@looker/sdk-rtl'\n\nexport type StorageLocation = 'session' | 'local'\n\n/** Object returned from storage service */\nexport interface IStorageValue {\n /** Location of the stored object */\n location: StorageLocation\n /** Stored string representation of the value (usually JSON) */\n value: string\n}\n\n/**\n * An OAuth Session configuration provider\n */\nexport class OAuthConfigProvider extends ApiSettings {\n oauthClientId: string\n constructor(\n settings: Partial<IApiSettings>,\n oauthClientId: string,\n private readonly configKey: string\n ) {\n super(settings)\n this.oauthClientId = oauthClientId\n }\n\n private getStorage(key: string, defaultValue = ''): IStorageValue {\n let value = sessionStorage.getItem(key)\n if (value) {\n return {\n location: 'session',\n value,\n }\n }\n value = localStorage.getItem(key)\n if (value) {\n return {\n location: 'local',\n value,\n }\n }\n return {\n location: 'session',\n value: defaultValue,\n }\n }\n\n isConfigured(): boolean {\n // Required to be true otherwise SDK initialization fails\n return true\n }\n\n getStoredConfig() {\n const storage = this.getStorage(this.configKey)\n let config = {\n base_url: '',\n looker_url: '',\n client_id: '',\n redirect_uri: '',\n }\n if (storage.value) {\n config = JSON.parse(storage.value)\n }\n return config\n }\n\n authIsConfigured(): boolean {\n const config = this.getStoredConfig()\n return config.base_url !== '' && config.looker_url !== ''\n }\n\n readConfig(_section?: string): IApiSection {\n // Read server url values from storage\n let config = this.getStoredConfig()\n if (!this.authIsConfigured()) {\n // derive Looker server URL from base_url\n const url = new URL(this.base_url)\n const authServer = `${url.protocol}//${url.hostname}`\n config = {\n base_url: this.base_url,\n looker_url: `${authServer}:9999`,\n client_id: this.oauthClientId,\n redirect_uri: `${window.location.origin}/oauth`,\n }\n }\n\n const { base_url, looker_url, client_id, redirect_uri } = config\n /* update base_url to the dynamically determined value for standard transport requests */\n this.base_url = base_url\n return {\n ...super.readConfig(_section),\n ...{\n base_url,\n looker_url,\n client_id,\n redirect_uri,\n },\n }\n }\n}\n"],"mappings":";;;;;;AA0BA;AAA6C;AAAA;AAAA;AAAA;AAAA;AAetC,MAAMA,mBAAmB,SAASC,mBAAW,CAAC;EAEnDC,WAAW,CACTC,QAA+B,EAC/BC,aAAqB,EACJC,SAAiB,EAClC;IACA,KAAK,CAACF,QAAQ,CAAC;IAAA,KAFEE,SAAiB,GAAjBA,SAAiB;IAAA;IAGlC,IAAI,CAACD,aAAa,GAAGA,aAAa;EACpC;EAEQE,UAAU,CAACC,GAAW,EAAoC;IAAA,IAAlCC,YAAY,uEAAG,EAAE;IAC/C,IAAIC,KAAK,GAAGC,cAAc,CAACC,OAAO,CAACJ,GAAG,CAAC;IACvC,IAAIE,KAAK,EAAE;MACT,OAAO;QACLG,QAAQ,EAAE,SAAS;QACnBH;MACF,CAAC;IACH;IACAA,KAAK,GAAGI,YAAY,CAACF,OAAO,CAACJ,GAAG,CAAC;IACjC,IAAIE,KAAK,EAAE;MACT,OAAO;QACLG,QAAQ,EAAE,OAAO;QACjBH;MACF,CAAC;IACH;IACA,OAAO;MACLG,QAAQ,EAAE,SAAS;MACnBH,KAAK,EAAED;IACT,CAAC;EACH;EAEAM,YAAY,GAAY;IAEtB,OAAO,IAAI;EACb;EAEAC,eAAe,GAAG;IAChB,IAAMC,OAAO,GAAG,IAAI,CAACV,UAAU,CAAC,IAAI,CAACD,SAAS,CAAC;IAC/C,IAAIY,MAAM,GAAG;MACXC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,EAAE;MACdC,SAAS,EAAE,EAAE;MACbC,YAAY,EAAE;IAChB,CAAC;IACD,IAAIL,OAAO,CAACP,KAAK,EAAE;MACjBQ,MAAM,GAAGK,IAAI,CAACC,KAAK,CAACP,OAAO,CAACP,KAAK,CAAC;IACpC;IACA,OAAOQ,MAAM;EACf;EAEAO,gBAAgB,GAAY;IAC1B,IAAMP,MAAM,GAAG,IAAI,CAACF,eAAe,EAAE;IACrC,OAAOE,MAAM,CAACC,QAAQ,KAAK,EAAE,IAAID,MAAM,CAACE,UAAU,KAAK,EAAE;EAC3D;EAEAM,UAAU,CAACC,QAAiB,EAAe;IAEzC,IAAIT,MAAM,GAAG,IAAI,CAACF,eAAe,EAAE;IACnC,IAAI,CAAC,IAAI,CAACS,gBAAgB,EAAE,EAAE;MAE5B,IAAMG,GAAG,GAAG,IAAIC,GAAG,CAAC,IAAI,CAACV,QAAQ,CAAC;MAClC,IAAMW,UAAU,aAAMF,GAAG,CAACG,QAAQ,eAAKH,GAAG,CAACI,QAAQ,CAAE;MACrDd,MAAM,GAAG;QACPC,QAAQ,EAAE,IAAI,CAACA,QAAQ;QACvBC,UAAU,YAAKU,UAAU,UAAO;QAChCT,SAAS,EAAE,IAAI,CAAChB,aAAa;QAC7BiB,YAAY,YAAKW,MAAM,CAACpB,QAAQ,CAACqB,MAAM;MACzC,CAAC;IACH;IAEA,IAAM;MAAEf,QAAQ;MAAEC,UAAU;MAAEC,SAAS;MAAEC;IAAa,CAAC,GAAGJ,MAAM;IAEhE,IAAI,CAACC,QAAQ,GAAGA,QAAQ;IACxB,uCACK,KAAK,CAACO,UAAU,CAACC,QAAQ,CAAC,GAC1B;MACDR,QAAQ;MACRC,UAAU;MACVC,SAAS;MACTC;IACF,CAAC;EAEL;AACF;AAAC"}
|
package/lib/esm/index.js
CHANGED
|
@@ -80,4 +80,15 @@ Object.keys(_OAuthScene).forEach(function (key) {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
+
var _OAuthConfigForm = require("./OAuthConfigForm");
|
|
84
|
+
Object.keys(_OAuthConfigForm).forEach(function (key) {
|
|
85
|
+
if (key === "default" || key === "__esModule") return;
|
|
86
|
+
if (key in exports && exports[key] === _OAuthConfigForm[key]) return;
|
|
87
|
+
Object.defineProperty(exports, key, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function get() {
|
|
90
|
+
return _OAuthConfigForm[key];
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
83
94
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/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 * from './adaptorUtils'\nexport * from './APIErrorDisplay'\nexport * from './browserAdaptor'\nexport * from './extensionAdaptor'\nexport * from './ExtMarkdown'\nexport * from './authUtils'\nexport * from './OAuthScene'\n"],"mappings":";;;;;AA0BA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/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 * from './adaptorUtils'\nexport * from './APIErrorDisplay'\nexport * from './browserAdaptor'\nexport * from './extensionAdaptor'\nexport * from './ExtMarkdown'\nexport * from './authUtils'\nexport * from './OAuthScene'\nexport * from './OAuthConfigForm'\n"],"mappings":";;;;;AA0BA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -80,4 +80,15 @@ Object.keys(_OAuthScene).forEach(function (key) {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
+
var _OAuthConfigForm = require("./OAuthConfigForm");
|
|
84
|
+
Object.keys(_OAuthConfigForm).forEach(function (key) {
|
|
85
|
+
if (key === "default" || key === "__esModule") return;
|
|
86
|
+
if (key in exports && exports[key] === _OAuthConfigForm[key]) return;
|
|
87
|
+
Object.defineProperty(exports, key, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function get() {
|
|
90
|
+
return _OAuthConfigForm[key];
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
83
94
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/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 * from './adaptorUtils'\nexport * from './APIErrorDisplay'\nexport * from './browserAdaptor'\nexport * from './extensionAdaptor'\nexport * from './ExtMarkdown'\nexport * from './authUtils'\nexport * from './OAuthScene'\n"],"mappings":";;;;;AA0BA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/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 * from './adaptorUtils'\nexport * from './APIErrorDisplay'\nexport * from './browserAdaptor'\nexport * from './extensionAdaptor'\nexport * from './ExtMarkdown'\nexport * from './authUtils'\nexport * from './OAuthScene'\nexport * from './OAuthConfigForm'\n"],"mappings":";;;;;AA0BA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@looker/extension-utils",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Looker Extension Utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -27,20 +27,25 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@looker/code-editor": "^0.1.28",
|
|
29
29
|
"@looker/components": "^4.1.1",
|
|
30
|
-
"@looker/extension-sdk": "^23.
|
|
31
|
-
"@looker/extension-sdk-react": "^23.
|
|
30
|
+
"@looker/extension-sdk": "^23.4.0",
|
|
31
|
+
"@looker/extension-sdk-react": "^23.4.0",
|
|
32
|
+
"@looker/sdk": "^23.4.0",
|
|
32
33
|
"@looker/sdk-rtl": "^21.6.0",
|
|
33
|
-
"
|
|
34
|
+
"@styled-icons/material": "^10.47.0",
|
|
35
|
+
"react": "^16.14.0",
|
|
36
|
+
"react-router-dom": "^5.3.4"
|
|
34
37
|
},
|
|
35
38
|
"devDependencies": {
|
|
36
39
|
"@looker/components-test-utils": "^1.5.26",
|
|
37
40
|
"@testing-library/react": "^12.1.5",
|
|
38
|
-
"@
|
|
41
|
+
"@testing-library/user-event": "^14.4.3",
|
|
42
|
+
"@types/react-router": "^5.1.20",
|
|
39
43
|
"@types/react-router-dom": "^5.3.3",
|
|
40
44
|
"@types/redux": "^3.6.0",
|
|
45
|
+
"@types/styled-components": "^5.1.26",
|
|
41
46
|
"webpack-bundle-analyzer": "^4.2.0",
|
|
42
47
|
"webpack-cli": "^4.6.0",
|
|
43
48
|
"webpack-merge": "^5.7.3"
|
|
44
49
|
},
|
|
45
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "f71946693bf48b9f28a40910b63f3f983a1b0fc6"
|
|
46
51
|
}
|