@authing/react-ui-components 3.1.4-rc.5 → 3.1.4-rc.8
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/dist/asset-manifest.json +26 -0
- package/dist/index.html +1 -0
- package/dist/static/css/2.ceafef95.chunk.css +3 -0
- package/dist/static/css/2.ceafef95.chunk.css.map +1 -0
- package/dist/static/css/main.65519aa1.chunk.css +2 -0
- package/dist/static/css/main.65519aa1.chunk.css.map +1 -0
- package/dist/static/js/2.b3b7db59.chunk.js +3 -0
- package/dist/static/js/2.b3b7db59.chunk.js.LICENSE.txt +71 -0
- package/dist/static/js/2.b3b7db59.chunk.js.map +1 -0
- package/dist/static/js/3.da2138c6.chunk.js +2 -0
- package/dist/static/js/3.da2138c6.chunk.js.map +1 -0
- package/dist/static/js/main.d421c226.chunk.js +2 -0
- package/dist/static/js/main.d421c226.chunk.js.map +1 -0
- package/dist/static/js/runtime-main.04bc677a.js +2 -0
- package/dist/static/js/runtime-main.04bc677a.js.map +1 -0
- package/dist/static/media/loading.4a67a5f3.svg +29 -0
- package/lib/index.d.ts +29 -27
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"da2138c6"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@authing/react-ui-components"]=this["webpackJsonp@authing/react-ui-components"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([]);
|
|
2
|
+
//# sourceMappingURL=runtime-main.04bc677a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAA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,KAAK,KAAMD,IAC9I,OAAOF,GAIR3D,EAAoB+D,EAAI,SAAS1D,GAChC,IAAI0C,EAAS1C,GAAUA,EAAOqD,WAC7B,WAAwB,OAAOrD,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoB8C,EAAEC,EAAQ,IAAKA,GAC5BA,GAIR/C,EAAoBgD,EAAI,SAASgB,EAAQC,GAAY,OAAOnF,OAAOC,UAAUC,eAAeC,KAAK+E,EAAQC,IAGzGjE,EAAoBuB,EAAI,IAGxBvB,EAAoBkE,GAAK,SAASC,GAA2B,MAApBC,QAAQ3C,MAAM0C,GAAYA,GAEnE,IAAIE,EAAaC,KAAK,4CAA8CA,KAAK,6CAA+C,GACpHC,EAAmBF,EAAWlF,KAAK2E,KAAKO,GAC5CA,EAAWlF,KAAOf,EAClBiG,EAAaA,EAAWG,QACxB,IAAI,IAAI7F,EAAI,EAAGA,EAAI0F,EAAWxF,OAAQF,IAAKP,EAAqBiG,EAAW1F,IAC3E,IAAIU,EAAsBkF,EAI1B9E,I","file":"static/js/runtime-main.04bc677a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"3\":\"da2138c6\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonp@authing/react-ui-components\"] = this[\"webpackJsonp@authing/react-ui-components\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<svg width="100%" height="100%"
|
|
2
|
+
viewBox="0 0 150 150" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<style>
|
|
4
|
+
#path-f {
|
|
5
|
+
fill: none;
|
|
6
|
+
stroke: #eaebee;
|
|
7
|
+
stroke-width: 10;
|
|
8
|
+
stroke-dasharray: 100 220;
|
|
9
|
+
animation: dash 40s infinite linear forwards;
|
|
10
|
+
}
|
|
11
|
+
#path-b {
|
|
12
|
+
fill: none;
|
|
13
|
+
stroke: #0080ff;
|
|
14
|
+
stroke-width: 8;
|
|
15
|
+
stroke-linecap: round;
|
|
16
|
+
stroke-linejoin: round;
|
|
17
|
+
}
|
|
18
|
+
@keyframes dash {
|
|
19
|
+
to {
|
|
20
|
+
stroke-dashoffset: 12000;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
24
|
+
<title>Loading</title>
|
|
25
|
+
<g id="单独" transform="translate(25.000000, 16.000000)" fill-rule="nonzero" stroke-width="2" >
|
|
26
|
+
<path d="M50,0 L0,30 C0,31 0,32 0,33 C0,69 20,100 50,116 C79,100 100,69 100,33 C100,32 99,31 99,30 L50,0 Z" id="path-b"/>
|
|
27
|
+
<path d="M50,0 L0,30 C0,31 0,32 0,33 C0,69 20,100 50,116 C79,100 100,69 100,33 C100,32 99,31 99,30 L50,0 Z" id="path-f"/>
|
|
28
|
+
</g>
|
|
29
|
+
</svg>
|
package/lib/index.d.ts
CHANGED
|
@@ -1402,11 +1402,12 @@ declare module '@authing/react-ui-components/components/ForgetPassword/interface
|
|
|
1402
1402
|
declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
1403
1403
|
/// <reference types="react" />
|
|
1404
1404
|
import { GuardEvents } from '@authing/react-ui-components/components/Guard/event';
|
|
1405
|
-
import { IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1405
|
+
import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1406
1406
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1407
1407
|
import 'moment/locale/zh-cn';
|
|
1408
1408
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
1409
1409
|
config?: Partial<GuardLocalConfig>;
|
|
1410
|
+
appendConfig?: GuardAppendConfig;
|
|
1410
1411
|
}
|
|
1411
1412
|
export const Guard: import("react").MemoExoticComponent<(props: GuardProps) => JSX.Element>;
|
|
1412
1413
|
|
|
@@ -1508,12 +1509,17 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
|
|
|
1508
1509
|
guardProps: GuardProps;
|
|
1509
1510
|
}>;
|
|
1510
1511
|
|
|
1512
|
+
}
|
|
1513
|
+
declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
|
|
1514
|
+
import { GuardProps } from '@authing/react-ui-components/components/index';
|
|
1515
|
+
export const getGuardWindow: () => Window | undefined;
|
|
1516
|
+
export const useGuardWindow: () => Window | undefined;
|
|
1517
|
+
export const useInitGuardAppendConfig: (guardProps: GuardProps) => void;
|
|
1518
|
+
|
|
1511
1519
|
}
|
|
1512
1520
|
declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
|
|
1513
1521
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
1514
|
-
export const useGuardPlugin:
|
|
1515
|
-
facePlugin?: FacePlugin | undefined;
|
|
1516
|
-
}) => boolean;
|
|
1522
|
+
export const useGuardPlugin: any;
|
|
1517
1523
|
export const useGuardFacePlugin: (facePlugin?: FacePlugin | undefined) => boolean;
|
|
1518
1524
|
|
|
1519
1525
|
}
|
|
@@ -2502,6 +2508,7 @@ declare module '@authing/react-ui-components/components/SubmitSuccess/interface'
|
|
|
2502
2508
|
declare module '@authing/react-ui-components/components/Type/index' {
|
|
2503
2509
|
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
2504
2510
|
import { Lang } from 'authing-js-sdk/build/main/types';
|
|
2511
|
+
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2505
2512
|
import { GuardMode } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
|
|
2506
2513
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
2507
2514
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
@@ -2519,6 +2526,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2519
2526
|
internalRequest?: boolean;
|
|
2520
2527
|
singleComponent?: boolean;
|
|
2521
2528
|
unAuthFlow?: boolean;
|
|
2529
|
+
publicConfig?: ApplicationConfig;
|
|
2530
|
+
pageConfig?: GuardPageConfig;
|
|
2522
2531
|
}
|
|
2523
2532
|
export interface IG2FCViewProps extends IG2FCProps {
|
|
2524
2533
|
config: IG2Config;
|
|
@@ -2647,7 +2656,6 @@ declare module '@authing/react-ui-components/components/_utils/appendConfig' {
|
|
|
2647
2656
|
export const getAppendConfig: () => GuardAppendConfig;
|
|
2648
2657
|
export const useAppendConfig: () => GuardAppendConfig;
|
|
2649
2658
|
export const initAppendConfig: (appendConfig?: GuardAppendConfig) => void;
|
|
2650
|
-
export const getGuardWindow: () => Window | undefined;
|
|
2651
2659
|
|
|
2652
2660
|
}
|
|
2653
2661
|
declare module '@authing/react-ui-components/components/_utils/clipboard' {
|
|
@@ -2660,6 +2668,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2660
2668
|
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2661
2669
|
import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
2662
2670
|
import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
|
|
2671
|
+
import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
|
|
2663
2672
|
export const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
2664
2673
|
export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
2665
2674
|
export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
@@ -2744,16 +2753,10 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2744
2753
|
withCustomData?: boolean | undefined;
|
|
2745
2754
|
} | undefined;
|
|
2746
2755
|
} | undefined;
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2752
|
-
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
2753
|
-
export const initConfig: (appId: string, config: Partial<IG2Config>, defaultConfig: IG2Config) => Promise<{
|
|
2754
|
-
config: GuardLocalConfig;
|
|
2755
|
-
publicConfig: ApplicationConfig;
|
|
2756
|
-
}>;
|
|
2756
|
+
export const getPageConfig: (appId: string) => GuardPageConfig;
|
|
2757
|
+
export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
|
|
2758
|
+
export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
|
|
2759
|
+
export const useGuardPageConfig: (appId: string, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
|
|
2757
2760
|
|
|
2758
2761
|
}
|
|
2759
2762
|
declare module '@authing/react-ui-components/components/_utils/context' {
|
|
@@ -2872,15 +2875,6 @@ declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
|
2872
2875
|
export const getGuardHttp: () => GuardHttp;
|
|
2873
2876
|
export const useGuardHttp: () => GuardHttp;
|
|
2874
2877
|
|
|
2875
|
-
}
|
|
2876
|
-
declare module '@authing/react-ui-components/components/_utils/guardPageConfig' {
|
|
2877
|
-
import { GuardPageConfig } from '@authing/react-ui-components/components/index';
|
|
2878
|
-
import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
|
|
2879
|
-
export const getPageConfig: (appId: string) => GuardPageConfig;
|
|
2880
|
-
export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
|
|
2881
|
-
export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
|
|
2882
|
-
export const useGuardPageConfig: (appId: string, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
|
|
2883
|
-
|
|
2884
2878
|
}
|
|
2885
2879
|
declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
2886
2880
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
@@ -3196,7 +3190,7 @@ declare module '@authing/react-ui-components/components/context/module/context'
|
|
|
3196
3190
|
|
|
3197
3191
|
}
|
|
3198
3192
|
declare module '@authing/react-ui-components/components/index' {
|
|
3199
|
-
export * from '@authing/react-ui-components/components/_utils/config';
|
|
3193
|
+
export * from '@authing/react-ui-components/components/_utils/config/index';
|
|
3200
3194
|
export * from '@authing/react-ui-components/components/_utils/responseManagement/interface';
|
|
3201
3195
|
export type { AuthenticationClientOptions } from 'authing-js-sdk';
|
|
3202
3196
|
export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
@@ -3213,7 +3207,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3213
3207
|
|
|
3214
3208
|
}
|
|
3215
3209
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3216
|
-
const _default: "3.1.4-rc.
|
|
3210
|
+
const _default: "3.1.4-rc.8";
|
|
3217
3211
|
export default _default;
|
|
3218
3212
|
|
|
3219
3213
|
}
|
|
@@ -3259,7 +3253,7 @@ declare module '@authing/react-ui-components/config/jest/fileTransform' {
|
|
|
3259
3253
|
|
|
3260
3254
|
}
|
|
3261
3255
|
declare module '@authing/react-ui-components/config/modules' {
|
|
3262
|
-
export const additionalModulePaths:
|
|
3256
|
+
export const additionalModulePaths: string[] | "" | null;
|
|
3263
3257
|
export const hasTsConfig: boolean;
|
|
3264
3258
|
export const webpackAliases: {
|
|
3265
3259
|
src?: undefined;
|
|
@@ -3366,6 +3360,14 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
3366
3360
|
oneOf?: undefined;
|
|
3367
3361
|
} | {
|
|
3368
3362
|
oneOf: ({
|
|
3363
|
+
test: RegExp;
|
|
3364
|
+
loader: string;
|
|
3365
|
+
options?: undefined;
|
|
3366
|
+
include?: undefined;
|
|
3367
|
+
exclude?: undefined;
|
|
3368
|
+
use?: undefined;
|
|
3369
|
+
sideEffects?: undefined;
|
|
3370
|
+
} | {
|
|
3369
3371
|
test: RegExp[];
|
|
3370
3372
|
loader: string;
|
|
3371
3373
|
options: {
|