@authing/react-ui-components 3.1.39-beta.2 → 3.1.39-hep.0
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.2cdfb9d1.chunk.css +3 -0
- package/dist/static/css/2.2cdfb9d1.chunk.css.map +1 -0
- package/dist/static/css/main.f438f284.chunk.css +2 -0
- package/dist/static/css/main.f438f284.chunk.css.map +1 -0
- package/dist/static/js/2.9a1287ca.chunk.js +3 -0
- package/dist/static/js/2.9a1287ca.chunk.js.LICENSE.txt +112 -0
- package/dist/static/js/2.9a1287ca.chunk.js.map +1 -0
- package/dist/static/js/3.d3328d89.chunk.js +2 -0
- package/dist/static/js/3.d3328d89.chunk.js.map +1 -0
- package/dist/static/js/main.5735e6f1.chunk.js +2 -0
- package/dist/static/js/main.5735e6f1.chunk.js.map +1 -0
- package/dist/static/js/runtime-main.e75981a3.js +2 -0
- package/dist/static/js/runtime-main.e75981a3.js.map +1 -0
- package/dist/static/media/loading.3cf0104f.svg +32 -0
- package/lib/index.d.ts +66 -8
- package/lib/index.min.css +1 -1
- 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,i,a=t[0],c=t[1],l=t[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=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,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(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,i),r.l=!0,r.exports}i.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,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"d3328d89"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){a.onerror=a.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:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this["webpackJsonp@authing/react-ui-components"]=this["webpackJsonp@authing/react-ui-components"]||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;r()}([]);
|
|
2
|
+
//# sourceMappingURL=runtime-main.e75981a3.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,EA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ASA,GAAO,OAAON,EAAMM,IAAQC,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.e75981a3.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\":\"d3328d89\"}[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,32 @@
|
|
|
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: #0080ff;
|
|
7
|
+
stroke-width: 8.2;
|
|
8
|
+
stroke-dasharray: 100 220;
|
|
9
|
+
animation: dash 40s infinite linear forwards;
|
|
10
|
+
stroke-linecap: round;
|
|
11
|
+
stroke-linejoin: round;
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
#path-b {
|
|
15
|
+
fill: none;
|
|
16
|
+
stroke: #eaebee;
|
|
17
|
+
stroke-width: 8;
|
|
18
|
+
stroke-linecap: round;
|
|
19
|
+
stroke-linejoin: round;
|
|
20
|
+
}
|
|
21
|
+
@keyframes dash {
|
|
22
|
+
to {
|
|
23
|
+
stroke-dashoffset: 12000;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
27
|
+
<title>Loading</title>
|
|
28
|
+
<g id="单独" transform="translate(25.000000, 16.000000)" fill-rule="nonzero" stroke-width="2" >
|
|
29
|
+
<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"/>
|
|
30
|
+
<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"/>
|
|
31
|
+
</g>
|
|
32
|
+
</svg>
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
1
|
+
declare module '@authing/react-ui-components/components/AccountMerge/UserRadio' {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { UserRadioItemProps, UserRadioProps } from '@authing/react-ui-components/components/AccountMerge/interface';
|
|
4
|
+
import './styles.less';
|
|
5
|
+
export const UserRadioItem: React.FC<UserRadioItemProps>;
|
|
6
|
+
export const UserRadio: React.FC<UserRadioProps>;
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
declare module '@authing/react-ui-components/components/AccountMerge/index' {
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import './styles.less';
|
|
12
|
+
export const GuardAccountMergeView: React.FC;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
declare module '@authing/react-ui-components/components/AccountMerge/interface' {
|
|
16
|
+
export interface BriefUserInfo {
|
|
17
|
+
displayName: string;
|
|
18
|
+
avatar: string;
|
|
19
|
+
phone: string;
|
|
20
|
+
email: string;
|
|
21
|
+
username: string;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GuardAccountMergeInitData {
|
|
25
|
+
currentUserInfo: BriefUserInfo;
|
|
26
|
+
existingUserInfo: BriefUserInfo;
|
|
27
|
+
mergeToken?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface UserRadioProps {
|
|
30
|
+
currentUserInfo: BriefUserInfo;
|
|
31
|
+
existingUserInfo: BriefUserInfo;
|
|
32
|
+
onChange?: (value: any) => void;
|
|
33
|
+
value?: any;
|
|
34
|
+
}
|
|
35
|
+
export interface UserRadioItemProps extends BriefUserInfo {
|
|
36
|
+
value: boolean;
|
|
37
|
+
selected: boolean;
|
|
38
|
+
onClick: (value: boolean) => void;
|
|
39
|
+
}
|
|
40
|
+
export enum AuthFlowAction {
|
|
41
|
+
MERGE = "confirm-account-merge"
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
declare module '@authing/react-ui-components/components/AccountMerge/utils' {
|
|
46
|
+
import { User } from 'authing-js-sdk';
|
|
47
|
+
export const getDisplayName: (user: User) => string;
|
|
48
|
+
export const getDisplayNameByEmail: (displayName: string) => string;
|
|
49
|
+
|
|
50
|
+
}
|
|
1
51
|
declare module '@authing/react-ui-components/components/AuthClientProvider/AuthClientProvider' {
|
|
2
52
|
import React from 'react';
|
|
3
53
|
import { AuthClientContextProps } from '@authing/react-ui-components/components/AuthClientProvider/context';
|
|
@@ -520,6 +570,9 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
520
570
|
verifyCodeLength: number;
|
|
521
571
|
websocket: string;
|
|
522
572
|
welcomeMessage: any;
|
|
573
|
+
userPortal?: {
|
|
574
|
+
mergeAccount?: boolean;
|
|
575
|
+
};
|
|
523
576
|
skipComplateFileds: boolean;
|
|
524
577
|
selfUnlockStrategy: 'captcha' | 'password-captcha';
|
|
525
578
|
}
|
|
@@ -1261,6 +1314,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/index' {
|
|
|
1261
1314
|
}>;
|
|
1262
1315
|
export const GuardLoginCompleteInfoView: React.FC;
|
|
1263
1316
|
export const GuardRegisterCompleteInfoView: React.FC;
|
|
1317
|
+
export const GuardAccountMergeCompleteInfoView: React.FC;
|
|
1264
1318
|
|
|
1265
1319
|
}
|
|
1266
1320
|
declare module '@authing/react-ui-components/components/CompleteInfo/interface' {
|
|
@@ -1273,19 +1327,21 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1273
1327
|
onRegisterInfoCompleted?: (user: User, udfs: {
|
|
1274
1328
|
definition: any;
|
|
1275
1329
|
value: any;
|
|
1276
|
-
}[], authClient: AuthenticationClient
|
|
1330
|
+
}[], authClient: AuthenticationClient, opts?: {
|
|
1331
|
+
phone?: string;
|
|
1332
|
+
canMergeUser?: boolean;
|
|
1333
|
+
}) => void;
|
|
1277
1334
|
onRegisterInfoCompletedError?: (error: CommonMessage, udfs: {
|
|
1278
1335
|
definition: any;
|
|
1279
1336
|
value: any;
|
|
1280
1337
|
}[], authClient: AuthenticationClient) => void;
|
|
1338
|
+
onAccountMergeCompleteInfo?: (user: User) => void;
|
|
1281
1339
|
}
|
|
1282
1340
|
export interface GuardCompleteInfoProps extends IG2FCProps, CompleteInfoEvents {
|
|
1283
1341
|
config: Partial<CompleteInfoConfig>;
|
|
1284
1342
|
}
|
|
1285
1343
|
export interface GuardCompleteInfoViewProps extends GuardCompleteInfoProps {
|
|
1286
1344
|
config: CompleteInfoConfig;
|
|
1287
|
-
initData: any;
|
|
1288
|
-
onLogin?: any;
|
|
1289
1345
|
}
|
|
1290
1346
|
export type ExtendsFieldType = 'user' | 'internal';
|
|
1291
1347
|
export interface ExtendsField {
|
|
@@ -1318,6 +1374,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1318
1374
|
name: string;
|
|
1319
1375
|
required: boolean;
|
|
1320
1376
|
validateRules: CompleteInfoRule[];
|
|
1377
|
+
checkUnique?: boolean;
|
|
1321
1378
|
options?: CompleteInfoSelectOption[];
|
|
1322
1379
|
}
|
|
1323
1380
|
export enum CompleteInfoBaseControls {
|
|
@@ -2061,10 +2118,12 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
2061
2118
|
LOGIN_COMPLETE_INFO = "loginCompleteInfo",
|
|
2062
2119
|
REGISTER_PASSWORD = "registerPassword",
|
|
2063
2120
|
REGISTER_COMPLETE_INFO = "registerCompleteInfo",
|
|
2121
|
+
CUSTOM_COMPLETE_INFO = "customCompleteInfo",
|
|
2064
2122
|
RECOVERY_CODE = "recoveryCode",
|
|
2065
2123
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
2066
2124
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
2067
2125
|
IDENTITY_BINDING = "identityBinding",
|
|
2126
|
+
ACCOUNT_MERGE = "accountMerge",
|
|
2068
2127
|
SELF_UNLOCK = "selfUnlock"
|
|
2069
2128
|
}
|
|
2070
2129
|
export interface GuardModuleAction {
|
|
@@ -2936,6 +2995,7 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
|
2936
2995
|
nickme?: string;
|
|
2937
2996
|
username?: string;
|
|
2938
2997
|
current?: MFAType;
|
|
2998
|
+
thirdPartyOrigin?: boolean;
|
|
2939
2999
|
}
|
|
2940
3000
|
export interface GuardMFAProps extends IG2FCProps, MFAEvents {
|
|
2941
3001
|
config: Partial<MFAConfig>;
|
|
@@ -3818,10 +3878,6 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3818
3878
|
countryCode: string | undefined;
|
|
3819
3879
|
phoneNumber: string;
|
|
3820
3880
|
};
|
|
3821
|
-
export enum SocialConnectionEvent {
|
|
3822
|
-
Message = "message",
|
|
3823
|
-
Auth = "auth"
|
|
3824
|
-
}
|
|
3825
3881
|
/**
|
|
3826
3882
|
*
|
|
3827
3883
|
* @param config
|
|
@@ -4060,6 +4116,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
4060
4116
|
FLOW_END = 1600,
|
|
4061
4117
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
4062
4118
|
FORCED_PASSWORD_RESET = 2058,
|
|
4119
|
+
ACCOUNT_MERGE = 10000,
|
|
4063
4120
|
UNSAFE_PASSWORD_TIP = 2061,
|
|
4064
4121
|
UNSAFE_PASSWORD_RESET = 2071
|
|
4065
4122
|
}
|
|
@@ -4155,6 +4212,7 @@ declare module '@authing/react-ui-components/components/index' {
|
|
|
4155
4212
|
export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
4156
4213
|
export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
|
|
4157
4214
|
export * from '@authing/react-ui-components/components/AuthingGuard/index';
|
|
4215
|
+
export * from '@authing/react-ui-components/components/SingleComponent/index';
|
|
4158
4216
|
export * from '@authing/react-ui-components/components/Guard/index';
|
|
4159
4217
|
export * from '@authing/react-ui-components/components/Type/index';
|
|
4160
4218
|
export * from '@authing/react-ui-components/components/version/index';
|
|
@@ -4166,7 +4224,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
4166
4224
|
|
|
4167
4225
|
}
|
|
4168
4226
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
4169
|
-
const _default: "3.1.39-
|
|
4227
|
+
const _default: "3.1.39-hep.0";
|
|
4170
4228
|
export default _default;
|
|
4171
4229
|
|
|
4172
4230
|
}
|