@authing/guard-shim-react18 4.5.1-alpha.4 → 4.5.1-alpha.6
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/guard.min.css +2 -1
- package/dist/guard.min.js +3 -2
- package/dist/typings/src/BindTotp/core/bindSuccess.d.ts +3 -0
- package/dist/typings/src/BindTotp/core/securityCode.d.ts +1 -0
- package/dist/typings/src/BindTotp/index.d.ts +1 -0
- package/dist/typings/src/ChangeLanguage/index.d.ts +1 -0
- package/dist/typings/src/ChangePassword/core/PasswordNotSafeReset.d.ts +2 -0
- package/dist/typings/src/ChangePassword/core/completePassword.d.ts +1 -0
- package/dist/typings/src/ChangePassword/core/firstLoginReset.d.ts +2 -0
- package/dist/typings/src/ChangePassword/core/rotateReset.d.ts +2 -0
- package/dist/typings/src/ChangePassword/index.d.ts +1 -0
- package/dist/typings/src/CompleteInfo/core/completeInfo.d.ts +5 -0
- package/dist/typings/src/DownloadAuthenticator/index.d.ts +1 -0
- package/dist/typings/src/ForgetPassword/InputPassword/index.d.ts +1 -0
- package/dist/typings/src/ForgetPassword/core/inputIdentify.d.ts +1 -0
- package/dist/typings/src/ForgetPassword/core/resetPassword.d.ts +2 -0
- package/dist/typings/src/ForgetPassword/index.d.ts +2 -0
- package/dist/typings/src/Guard/core/renderModule.d.ts +3 -0
- package/dist/typings/src/Guard/event.d.ts +1 -0
- package/dist/typings/src/GuardButton/GuardButton.d.ts +1 -0
- package/dist/typings/src/GuardFace/index.d.ts +2 -0
- package/dist/typings/src/GuardSelect/index.d.ts +2 -0
- package/dist/typings/src/IdentityBinding/IdentityBinding.d.ts +1 -0
- package/dist/typings/src/InputNumber/index.d.ts +1 -0
- package/dist/typings/src/InputPassword/index.d.ts +1 -0
- package/dist/typings/src/Login/core/withAD.d.ts +3 -0
- package/dist/typings/src/Login/core/withAppQrcode.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +3 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowBindClient.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/PendingLogin.d.ts +2 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +1 -0
- package/dist/typings/src/Login/core/withAuthingOtpPush/index.d.ts +1 -0
- package/dist/typings/src/Login/core/withLDAP.d.ts +3 -0
- package/dist/typings/src/Login/core/withVerifyCode/FormItemIdentify.d.ts +1 -0
- package/dist/typings/src/Login/core/withVerifyCode/InputInternationPhone.d.ts +1 -0
- package/dist/typings/src/Login/core/withVerifyCode/VirtualDropdown.d.ts +2 -0
- package/dist/typings/src/Login/core/withVerifyCode/index.d.ts +1 -0
- package/dist/typings/src/Login/core/withVerifyCode/inputIdentify.d.ts +1 -0
- package/dist/typings/src/Login/core/withWechatMiniQrcode.d.ts +1 -0
- package/dist/typings/src/Login/core/withWechatmpQrcode.d.ts +1 -0
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/Login/multipleAccounts/panel.d.ts +1 -0
- package/dist/typings/src/Login/resetAccountName/index.d.ts +3 -0
- package/dist/typings/src/Login/socialLogin/IdpButton/index.d.ts +2 -0
- package/dist/typings/src/Login/socialLogin/index.d.ts +3 -0
- package/dist/typings/src/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +1 -0
- package/dist/typings/src/MFA/VerifyCodeInput/index.d.ts +2 -0
- package/dist/typings/src/MFA/core/email.d.ts +3 -0
- package/dist/typings/src/MFA/core/face.d.ts +1 -0
- package/dist/typings/src/MFA/core/sms.d.ts +2 -0
- package/dist/typings/src/MFA/core/totp.d.ts +1 -0
- package/dist/typings/src/MFA/index.d.ts +1 -0
- package/dist/typings/src/NeedHelpView/core/describeQuestions.d.ts +7 -0
- package/dist/typings/src/RecoveryCode/core/saveCode.d.ts +3 -0
- package/dist/typings/src/RecoveryCode/core/useCode.d.ts +2 -0
- package/dist/typings/src/Register/components/Agreements/index.d.ts +2 -0
- package/dist/typings/src/Register/core/WithCode.d.ts +2 -0
- package/dist/typings/src/Register/core/WithEmail.d.ts +3 -0
- package/dist/typings/src/Register/core/WithEmailCode.d.ts +3 -0
- package/dist/typings/src/Register/core/WithPhone.d.ts +1 -0
- package/dist/typings/src/Register/index.d.ts +1 -0
- package/dist/typings/src/SelectAccount2Login/index.d.ts +1 -0
- package/dist/typings/src/SelfUnlock/core/selfUnlock.d.ts +1 -0
- package/dist/typings/src/SendCode/SendCodeBtn.d.ts +1 -0
- package/dist/typings/src/SendCode/SendCodeByEmail.d.ts +1 -0
- package/dist/typings/src/SendCode/SendCodeByPhone.d.ts +1 -0
- package/dist/typings/src/SendCode/index.d.ts +1 -0
- package/dist/typings/src/UploadImage/index.d.ts +3 -0
- package/dist/typings/src/ValidatorRules/PasswordFormItem.d.ts +1 -0
- package/dist/typings/src/ValidatorRules/ValidatorFormItem.d.ts +1 -0
- package/dist/typings/src/ValidatorRules/index.d.ts +1 -0
- package/dist/typings/src/VerifyCodeInput/index.d.ts +2 -0
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/index.d.ts +1 -0
- package/dist/typings/src/_utils/responseManagement/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/guard.min.js
CHANGED
|
@@ -18757,7 +18757,7 @@ prev_page:"前のページ",next_page:"次のページ",prev_5:"前 5ページ",
|
|
|
18757
18757
|
* 多账号 状态
|
|
18758
18758
|
*/
|
|
18759
18759
|
multipleInstance:{isMultipleAccount:!1,instance:void 0,referMultipleState:void 0,multipleAccountData:void 0,clearBackFillData:void 0},phoneRegex:null,defaultLanguageConfig:"zh-CN",tenantInstance:void 0,isForeignUserpool:!1},nL=y().createContext(tL),rL=y().createContext({spin:!1,spinChange:function(){}}),oL=function(){return XD(rL)},iL=function(){return XD(nL).publicConfig},aL=function(){return XD(nL).httpClient},sL=function(){return XD(nL).appId},cL=function(){return XD(nL).tenantId};function lL(){return XD(nL).initData}var uL=function(){return XD(nL).currentModule},dL=function(){return XD(nL).events},fL=function(){var e=XD(nL);return{changeModule:e.changeModule,backModule:e.backModule,currentModule:e.currentModule}},pL=function(){return XD(nL).finallyConfig},hL=function(){return XD(nL).isAuthFlow},mL=function(){return XD(nL).multipleInstance},vL=function(){return XD(nL).phoneRegex},gL=function(){return XD(nL).defaultLanguageConfig},yL=function(){var e=iL(),t=e.customSecurityEnabled,n=e.appRobotVerify,r=e.userpoolRobotVerify;return t?n:r},bL=function(){return XD(nL).isForeignUserpool},wL=y().useMemo,CL={"zh-CN":{label:"简体中文"},"zh-TW":{label:"繁體中文"},"en-US":{label:"English"},"ja-JP":{label:"日本語"}},EL=function(e){var t=e.langRange,n=void 0===t?["zh-CN","zh-TW","en-US","ja-JP"]:t,r=e.onLangChange,o=ku().i18n,i=XD(nL).guardPageConfig,a=pL(),s=wL((function(){return"g2-change-language-text ".concat(a.mode)}),[a]),c=wL((function(){var e;return null===(e=i.global)||void 0===e?void 0:e.showChangeLanguage}),[i]),l=wL((function(){return Object.keys(CL).includes(o.language)?o.language:od(o.language)[0]||"en-US"}),[o.language]),u=wL((function(){return y().createElement(y().Fragment,null,y().createElement("span",null,CL[l].label))}),[l]),d=wL((function(){return Object.keys(CL).filter((function(e){return n.includes(e)})).map((function(e){return{key:e,label:CL[e].label}}))}),[n]);if(!c||0===n.length)return null;var f={items:d,onClick:function(e){l!==e.key&&(o.changeLanguage(e.key),null==r||r(e.key))}};return y().createElement("div",{className:"g2-change-language-container"},y().createElement(vP,{menu:f,trigger:["click"],placement:"bottom",overlayClassName:"authing-g2-change-language-menu"},y().createElement("span",{className:s},u,y().createElement(ZD,{type:"authing-arrow-down-s-fill",className:"down-fill-svg"}))))};// CONCATENATED MODULE: ./package.json
|
|
18760
|
-
const kL=JSON.parse('{"i8":"4.5.1-alpha.
|
|
18760
|
+
const kL=JSON.parse('{"i8":"4.5.1-alpha.6"}');// CONCATENATED MODULE: ./src/_utils/getVersion.ts
|
|
18761
18761
|
function SL(){return kL.i8}// CONCATENATED MODULE: ./src/_utils/flowHandleStorage.ts
|
|
18762
18762
|
var _L,xL=function(){return _L},PL=function(e){_L=e},TL=function(){return TL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},TL.apply(this,arguments)},OL=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},NL=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},IL=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},AL=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ML=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return OL(void 0,void 0,void 0,(function(){return NL(this,(function(t){switch(t.label){case 0:return[4/*yield*/,fetch.apply(void 0,AL([],IL(e),!1))];case 1:return[2/*return*/,t.sent().json()]}}))}))},RL=function(e){return new Promise((function(t){setTimeout((function(){t({data:{code:-1}}),e()}),1e4)}))};ML.get=function(e,t,n){return void 0===t&&(t={}),OL(void 0,void 0,void 0,(function(){var r,o,i,a,s;return NL(this,(function(c){switch(c.label){case 0:r=TL(TL({},null==n?void 0:n.headers),((s={"Content-Type":"application/json"})[ML.langHeader]=eJ(),s)),""!==ML.tenantId&&(r[ML.tenantHeader]=ML.tenantId),c.label=1;case 1:return c.trys.push([1,3,,4]),o=ha().CancelToken,i=o.source(),[4/*yield*/,Promise.race([RL(i.cancel),ha()("".concat(ML.baseUrl).concat(e).concat(Rc().stringify(t,{addQueryPrefix:!0})),TL(TL({method:"GET"},n),{withCredentials:!0,headers:r,cancelToken:i.token}))])];case 2:return[2/*return*/,null==(a=c.sent())?void 0:a.data];case 3:return c.sent(),[2/*return*/,Promise.resolve({code:-2})];case 4:return[2/*return*/]}}))}))},ML.post=function(e,t,n){return OL(void 0,void 0,void 0,(function(){var r,o,i,a,s,c;return NL(this,(function(l){switch(l.label){case 0:r=TL(TL({},null==n?void 0:n.headers),((s={"Content-Type":"application/json"})[ML.langHeader]=ou.language,s)),""!==ML.tenantId&&(r[ML.tenantHeader]=ML.tenantId),l.label=1;case 1:return l.trys.push([1,3,,4]),o=ha().CancelToken,i=o.source(),[4/*yield*/,Promise.race([RL(i.cancel),ha()("".concat(ML.baseUrl).concat(e),{data:t,method:"POST",withCredentials:!0,cancelToken:i.token,headers:TL(TL({"Content-Type":"application/json"},null==n?void 0:n.headers),(c={},c[ML.langHeader]=eJ(),c))})])];case 2:return[2/*return*/,null==(a=l.sent())?void 0:a.data];case 3:return l.sent(),[2/*return*/,Promise.resolve({code:-2})];case 4:return[2/*return*/]}}))}))},ML.postForm=function(e,t,n){return OL(void 0,void 0,void 0,(function(){var r,o,i,a;return NL(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),r=ha().CancelToken,o=r.source(),[4/*yield*/,Promise.race([RL(o.cancel),ha()("".concat(ML.baseUrl).concat(e),{method:"POST",data:t,withCredentials:!0,cancelToken:o.token,headers:TL(TL({},null==n?void 0:n.headers),(a={},a[ML.langHeader]=eJ(),a))})])];case 1:return[2/*return*/,null==(i=s.sent())?void 0:i.data];case 2:return s.sent(),[2/*return*/,Promise.resolve({code:-2})];case 3:return[2/*return*/]}}))}))},ML.baseUrl="",ML.setBaseUrl=function(e){ML.baseUrl=e.replace(/\/$/,"")};var DL,LL="x-authing-lang";ML.langHeader=LL,ML.tenantHeader="x-authing-app-tenant-idåå",ML.tenantId="",ML.setLangHeader=function(e){ML.langHeader=e||LL},ML.setTenantHeader=function(e){ML.tenantHeader=e||LL},ML.setTenantId=function(e){ML.tenantId=e},function(e){e.ERROR="error",e.LOGIN="login",e.REGISTER="register",e.MFA="mfa",e.FORGET_PWD="forgetPassword",e.FORCED_PASSWORD_RESET="forcedPasswordReset",e.NOTICE_PASSWORD_RESET="noticePasswordReset",e.FIRST_LOGIN_PASSWORD="firstLoginPassword",e.UNSAFE_PASSWORD_RESET="unsafePasswordReset",e.DOWNLOAD_AT="downloadAT",e.BIND_TOTP="bindTotp",e.ANY_QUESTIONS="anyQuestions",e.LOGIN_COMPLETE_INFO="loginCompleteInfo",e.REGISTER_PASSWORD="registerPassword",e.REGISTER_COMPLETE_INFO="registerCompleteInfo",e.RECOVERY_CODE="recoveryCode",e.SUBMIT_SUCCESS="submitSuccess",e.IDENTITY_BINDING_ASK="identityBindingAsk",e.IDENTITY_BINDING="identityBinding",e.IDENTITY_BINDING_NO_ASK="identityBindingNoAsk",e.SELF_UNLOCK="selfUnlock",e.FLOW_SELECT_ACCOUNT="flowSelectAccount",
|
|
18763
18763
|
/** 多租户门户选择页 */
|
|
@@ -19100,7 +19100,8 @@ KF((function(){var e;ie&&!P&&(null===(e=null==d?void 0:d.onLoad)||void 0===e||e.
|
|
|
19100
19100
|
multipleInstance:ee,phoneRegex:ae,defaultLanguageConfig:F,tenantInstance:te,isForeignUserpool:U}):{defaultMergedConfig:Z}}),[D,ie,Z,d,Q,X,g,N,oe,Y,C,o,ee,ae,F,te,U]),ce=ZF((function(){return se?y().createElement(W,{value:se},r):null}),[W,r,se]),le=GF((function(){var e;return null===(e=null==d?void 0:d.onLoadError)||void 0===e||e.call(d,P),y().createElement(W,{value:{contextLoaded:!0,defaultMergedConfig:Z,initData:{error:P},currentModule:{moduleName:DL.ERROR,initData:{error:P}}}},r)}),[W,r,Z,P,d]);return ZF((function(){return P?y().createElement(le,null):ie||Boolean(Z)?ce:null}),[ie,Z,P,ce,le])};
|
|
19101
19101
|
/** **当前租户应用** 下的租户信息获取和操作处理,将租户相关的处理收拢 */ // CONCATENATED MODULE: ./node_modules/react-use/esm/useAsyncFn.js
|
|
19102
19102
|
function ej(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var r=(0,g.useRef)(0),o=// CONCATENATED MODULE: ./node_modules/react-use/esm/useMountedState.js
|
|
19103
|
-
function(){var e=(0,g.useRef)(!1),t=(0,g.useCallback)((function(){return e.current}),[]);return(0,g.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),t}(),i=(0,g.useState)(n),a=i[0],s=i[1],c=(0,g.useCallback)((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=++r.current;return a.loading||s((function(e){return rn(rn({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return o()&&i===r.current&&s({value:e,loading:!1}),e}),(function(e){return o()&&i===r.current&&s({error:e,loading:!1}),e}))}),t);return[a,c]}!function(e){e[e.OTP_MFA_CODE=1635]="OTP_MFA_CODE",e[e.APP_MFA_CODE=1636]="APP_MFA_CODE",e[e.INPUT_CAPTCHACODE=2e3]="INPUT_CAPTCHACODE",e[e.USER_EXISTENCE=2026]="USER_EXISTENCE",e[e.LOGIN_INVALID=2021]="LOGIN_INVALID",e[e.PASSWORD_ERROR=2333]="PASSWORD_ERROR",e[e.USER_NOT_EXIST=2004]="USER_NOT_EXIST",e[e.MULTIPLE_ERROR_LOCK=2057]="MULTIPLE_ERROR_LOCK",e[e.SELECT_ACCOUNT_2_LOGIN=2930]="SELECT_ACCOUNT_2_LOGIN",e[e.ACCOUNT_LOCK=2005]="ACCOUNT_LOCK"}(qF||(qF={}))
|
|
19103
|
+
function(){var e=(0,g.useRef)(!1),t=(0,g.useCallback)((function(){return e.current}),[]);return(0,g.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),t}(),i=(0,g.useState)(n),a=i[0],s=i[1],c=(0,g.useCallback)((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=++r.current;return a.loading||s((function(e){return rn(rn({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return o()&&i===r.current&&s({value:e,loading:!1}),e}),(function(e){return o()&&i===r.current&&s({error:e,loading:!1}),e}))}),t);return[a,c]}!function(e){e[e.OTP_MFA_CODE=1635]="OTP_MFA_CODE",e[e.APP_MFA_CODE=1636]="APP_MFA_CODE",e[e.INPUT_CAPTCHACODE=2e3]="INPUT_CAPTCHACODE",e[e.USER_EXISTENCE=2026]="USER_EXISTENCE",e[e.LOGIN_INVALID=2021]="LOGIN_INVALID",e[e.PASSWORD_ERROR=2333]="PASSWORD_ERROR",e[e.USER_NOT_EXIST=2004]="USER_NOT_EXIST",e[e.MULTIPLE_ERROR_LOCK=2057]="MULTIPLE_ERROR_LOCK",e[e.SELECT_ACCOUNT_2_LOGIN=2930]="SELECT_ACCOUNT_2_LOGIN",e[e.ACCOUNT_LOCK=2005]="ACCOUNT_LOCK"}(qF||(qF={}));// CONCATENATED MODULE: ./shim-antd4/node_modules/antd/es/typography/style/index.less
|
|
19104
|
+
// extracted by mini-css-extract-plugin
|
|
19104
19105
|
// EXTERNAL MODULE: ./node_modules/react-responsive/dist/react-responsive.js
|
|
19105
19106
|
var tj,nj=o(6726),rj=o(6498),oj=o.n(rj),ij=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},aj=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},sj=["wechat:miniprogram:app-launch","wechat:miniprogram:qrconnect",
|
|
19106
19107
|
// 'wechat:webpage-authorization',
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
+
import '@antd-es-style/form/style/index.less';
|
|
3
|
+
import '@antd-es-style/input/style/index.less';
|
|
4
|
+
import '@antd-es-style/select/style/index.less';
|
|
5
|
+
import '@antd-es-style/date-picker/style/index.less';
|
|
6
|
+
import '@antd-es-style/message/style/index.less';
|
|
2
7
|
import { CompleteInfoMetaData, CompleteInfoRequest } from '../interface';
|
|
3
8
|
export interface CompleteInfoProps {
|
|
4
9
|
metaData: CompleteInfoMetaData[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
2
3
|
import { PasswordProps, InputProps } from 'shim-antd/lib/input';
|
|
3
4
|
export declare const InputPasswordForget: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<InputProps>>>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import './styles.less';
|
|
2
|
+
import '@antd-es-style/list/style/index.less';
|
|
3
|
+
import '@antd-es-style/avatar/style/index.less';
|
|
2
4
|
import { AvatarProps } from 'shim-antd/lib/avatar';
|
|
3
5
|
import { ListItemProps, ListProps } from 'shim-antd/lib/list';
|
|
4
6
|
import { React, CSSProperties } from 'shim-react';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import '@antd-es-style/message/style/index.less';
|
|
2
|
+
import '@antd-es-style/form/style/index.less';
|
|
3
|
+
import '@antd-es-style/input/style/index.less';
|
|
1
4
|
import { BackFillMultipleState, StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
|
|
2
5
|
import { Agreement } from '../../Type/application';
|
|
3
6
|
interface LoginWithADProps {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
3
|
+
import '@antd-es-style/message/style/index.less';
|
|
4
|
+
import '@antd-es-style/form/style/index.less';
|
|
2
5
|
import { OnPushSuccessProps, OnLoginProps } from './types';
|
|
3
6
|
import { AuthingGuardResponse } from '../../../_utils/http';
|
|
4
7
|
import { Agreement } from '../../../Type';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import '@antd-es-style/message/style/index.less';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
3
|
+
import '@antd-es-style/form/style/index.less';
|
|
1
4
|
import { Agreement } from '../../Type/application';
|
|
2
5
|
import { BackFillMultipleState, StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
|
|
3
6
|
interface LoginWithLDAPProps {
|
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import '@antd-es-style/form/style/index.less';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
3
|
+
import '@antd-es-style/message/style/index.less';
|
|
4
|
+
import '@antd-es-style/modal/style/index.less';
|
|
5
|
+
import '@antd-es-style/progress/style/index.less';
|
|
6
|
+
import '@antd-es-style/select/style/index.less';
|
|
7
|
+
import '@antd-es-style/upload/style/index.less';
|
|
1
8
|
interface describeQuestionsProps {
|
|
2
9
|
appId: string;
|
|
3
10
|
host: string;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import '@antd-es-style/form/style/index.less';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
3
|
+
import '@antd-es-style/message/style/index.less';
|
|
1
4
|
import { React } from 'shim-react';
|
|
2
5
|
import { Agreement, ApplicationConfig } from '../../Type/application';
|
|
3
6
|
export interface RegisterWithEmailProps {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import '@antd-es-style/form/style/index.less';
|
|
2
|
+
import '@antd-es-style/input/style/index.less';
|
|
3
|
+
import '@antd-es-style/message/style/index.less';
|
|
1
4
|
import { React } from 'shim-react';
|
|
2
5
|
import { Agreement, ApplicationConfig } from '../../Type/application';
|
|
3
6
|
export interface RegisterWithEmailCodeProps {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormInstance } from 'shim-antd/lib/form';
|
|
2
2
|
import { Form, FormItemProps } from 'shim-antd';
|
|
3
|
+
import '@antd-es-style/form/style/index.less';
|
|
3
4
|
import { PasswordFormItem } from './PasswordFormItem';
|
|
4
5
|
import { EmailFormItem, PhoneFormItem, UserNameFormItem, CustomNameFormItem } from './ValidatorFormItem';
|
|
5
6
|
export * from './PasswordFormItem';
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
package/package.json
CHANGED