@opendesign-plus-test/components 0.0.1-rc.176 → 0.0.1-rc.178
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +405 -147
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/components/meeting/OMeetingMinutes.vue.d.ts +0 -1
- package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +1 -127
- package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +1 -127
- package/dist/components/meeting/index.d.ts +1 -128
- package/dist/components/meeting/types.d.ts +0 -2
- package/dist/components/user-center/OAccountSecurity.vue.d.ts +39 -0
- package/dist/components/user-center/OAccountSetting.vue.d.ts +22 -0
- package/dist/components/user-center/OAppFooterSimple.vue.d.ts +12 -0
- package/dist/components/user-center/OAppHeader.vue.d.ts +43 -0
- package/dist/components/user-center/OAsideBar.vue.d.ts +26 -0
- package/dist/components/user-center/OLayout.vue.d.ts +18 -0
- package/dist/components/user-center/OTheAccountManage.vue.d.ts +18 -0
- package/dist/components/user-center/OTheCreateMeeting.vue.d.ts +18 -0
- package/dist/components/user-center/OTheMeeting.vue.d.ts +14 -0
- package/dist/components/user-center/OThirdPartyBindings.vue.d.ts +22 -0
- package/dist/components/user-center/OUserInfo.vue.d.ts +159 -0
- package/dist/components/user-center/const/common.const.d.ts +17 -0
- package/dist/components/user-center/index.d.ts +801 -0
- package/dist/components/user-center/internal/OAppDialog.vue.d.ts +197 -0
- package/dist/components/user-center/internal/OAppEmpty.vue.d.ts +25 -0
- package/dist/components/user-center/internal/OCommonHeader.vue.d.ts +94 -0
- package/dist/components/user-center/internal/OCountdownButton.vue.d.ts +20 -0
- package/dist/components/user-center/internal/ODeleteAccountModal.vue.d.ts +189 -0
- package/dist/components/user-center/internal/OEditNicknameDialog.vue.d.ts +164 -0
- package/dist/components/user-center/internal/OEditOrgDialog.vue.d.ts +182 -0
- package/dist/components/user-center/internal/OMaskEye.vue.d.ts +18 -0
- package/dist/components/user-center/internal/OModifyPwd.vue.d.ts +426 -0
- package/dist/components/user-center/internal/OPasswordPopInput.vue.d.ts +174 -0
- package/dist/components/user-center/internal/OToBindingTipModal.vue.d.ts +37 -0
- package/dist/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.d.ts +30 -0
- package/dist/components/user-center/internal/OUploadAvatar.vue.d.ts +55 -0
- package/dist/components/user-center/rolesMap.d.ts +10 -0
- package/dist/components/user-center/types/captcha.d.ts +6 -0
- package/dist/components/user-center/types/interface.d.ts +13 -0
- package/dist/components/user-center/types/search.d.ts +67 -0
- package/dist/components/user-center/types/usercenter.interface.d.ts +57 -0
- package/dist/components/user-center/utils/helper.d.ts +4 -0
- package/dist/components/user-center/utils/rules.d.ts +11 -0
- package/dist/components/user-center/utils/utils.d.ts +17 -0
- package/dist/components/user-center/verify/Verify.vue.d.ts +2 -0
- package/dist/components/user-center/verify/VerifySlide.vue.d.ts +2 -0
- package/dist/components/user-center/verify/utils/ase.d.ts +5 -0
- package/dist/components/user-center/verify/utils/util.d.ts +6 -0
- package/dist/components.cjs.js +68 -44
- package/dist/components.css +9 -1
- package/dist/components.es.js +28915 -17442
- package/dist/index.d.ts +1 -0
- package/dist/treeshaking/_virtual/_commonjs-dynamic-modules.mjs +6 -0
- package/dist/treeshaking/_virtual/cropperjs/dist/cropper.css +309 -0
- package/dist/treeshaking/_virtual/cropperjs/dist/cropper.esm.js.mjs +2739 -0
- package/dist/treeshaking/_virtual/crypto-js/aes.js.mjs +162 -0
- package/dist/treeshaking/_virtual/crypto-js/aes.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/blowfish.js.mjs +1197 -0
- package/dist/treeshaking/_virtual/crypto-js/blowfish.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/cipher-core.js.mjs +649 -0
- package/dist/treeshaking/_virtual/crypto-js/cipher-core.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/core.js.mjs +614 -0
- package/dist/treeshaking/_virtual/crypto-js/core.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-base64.js.mjs +112 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-base64.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-base64url.js.mjs +123 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-base64url.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-utf16.js.mjs +122 -0
- package/dist/treeshaking/_virtual/crypto-js/enc-utf16.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/evpkdf.js.mjs +97 -0
- package/dist/treeshaking/_virtual/crypto-js/evpkdf.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/format-hex.js.mjs +65 -0
- package/dist/treeshaking/_virtual/crypto-js/format-hex.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/hmac.js.mjs +111 -0
- package/dist/treeshaking/_virtual/crypto-js/hmac.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/index.js.mjs +7 -0
- package/dist/treeshaking/_virtual/crypto-js/index.js2.mjs +55 -0
- package/dist/treeshaking/_virtual/crypto-js/index.js3.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/lib-typedarrays.js.mjs +49 -0
- package/dist/treeshaking/_virtual/crypto-js/lib-typedarrays.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/md5.js.mjs +183 -0
- package/dist/treeshaking/_virtual/crypto-js/md5.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-cfb.js.mjs +57 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-cfb.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ctr-gladman.js.mjs +85 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ctr-gladman.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ctr.js.mjs +45 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ctr.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ecb.js.mjs +36 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ecb.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ofb.js.mjs +43 -0
- package/dist/treeshaking/_virtual/crypto-js/mode-ofb.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-ansix923.js.mjs +37 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-ansix923.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-iso10126.js.mjs +33 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-iso10126.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-iso97971.js.mjs +32 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-iso97971.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-nopadding.js.mjs +28 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-nopadding.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-zeropadding.js.mjs +39 -0
- package/dist/treeshaking/_virtual/crypto-js/pad-zeropadding.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/pbkdf2.js.mjs +104 -0
- package/dist/treeshaking/_virtual/crypto-js/pbkdf2.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/rabbit-legacy.js.mjs +134 -0
- package/dist/treeshaking/_virtual/crypto-js/rabbit-legacy.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/rabbit.js.mjs +137 -0
- package/dist/treeshaking/_virtual/crypto-js/rabbit.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/rc4.js.mjs +91 -0
- package/dist/treeshaking/_virtual/crypto-js/rc4.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/ripemd160.js.mjs +485 -0
- package/dist/treeshaking/_virtual/crypto-js/ripemd160.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha1.js.mjs +95 -0
- package/dist/treeshaking/_virtual/crypto-js/sha1.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha224.js.mjs +50 -0
- package/dist/treeshaking/_virtual/crypto-js/sha224.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha256.js.mjs +125 -0
- package/dist/treeshaking/_virtual/crypto-js/sha256.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha3.js.mjs +207 -0
- package/dist/treeshaking/_virtual/crypto-js/sha3.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha384.js.mjs +52 -0
- package/dist/treeshaking/_virtual/crypto-js/sha384.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/sha512.js.mjs +287 -0
- package/dist/treeshaking/_virtual/crypto-js/sha512.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/tripledes.js.mjs +789 -0
- package/dist/treeshaking/_virtual/crypto-js/tripledes.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/crypto-js/x64-core.js.mjs +261 -0
- package/dist/treeshaking/_virtual/crypto-js/x64-core.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/icon-add-dark.mjs +40 -0
- package/dist/treeshaking/_virtual/icon-add-new.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-check.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-chevron-right2.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-close2.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-done.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-edit-new.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-email.mjs +22 -0
- package/dist/treeshaking/_virtual/icon-eye-off.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-eye.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-gitcode-new.mjs +30 -0
- package/dist/treeshaking/_virtual/icon-gitee.mjs +5 -5
- package/dist/treeshaking/_virtual/icon-gitee2.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-github.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-loading.mjs +24 -0
- package/dist/treeshaking/_virtual/icon-minus-dark.mjs +74 -0
- package/dist/treeshaking/_virtual/icon-minus-new.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-openatom.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-phone.mjs +22 -0
- package/dist/treeshaking/_virtual/icon-refresh2.mjs +45 -0
- package/dist/treeshaking/_virtual/icon-setting.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
- package/dist/treeshaking/_virtual/icon-tips2.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-wechat.mjs +18 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/Observable.js.mjs +100 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/Subscriber.js.mjs +147 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/Subscription.js.mjs +139 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/config.js.mjs +6 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.mjs +17 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/symbol/observable.js.mjs +6 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.mjs +14 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/arrRemove.js.mjs +9 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/createErrorClass.js.mjs +13 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/errorContext.js.mjs +8 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/identity.js.mjs +6 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/isFunction.js.mjs +6 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/noop.js.mjs +5 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/pipe.js.mjs +17 -0
- package/dist/treeshaking/_virtual/rxjs/dist/esm5/internal/util/reportUnhandledError.js.mjs +11 -0
- package/dist/treeshaking/_virtual/tslib/tslib.es6.mjs.mjs +64 -0
- package/dist/treeshaking/assets/user-center/images/avatar.png.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/default-user-photo.png.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/left-arrow-dark.svg.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/left-arrow-light.svg.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/noData.svg.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/warning-dark.svg.mjs +4 -0
- package/dist/treeshaking/assets/user-center/images/warning-light.svg.mjs +4 -0
- package/dist/treeshaking/components/footer/OFooter.vue.mjs +2 -2
- package/dist/treeshaking/components/footer/index.mjs +3 -3
- package/dist/treeshaking/components/header/OHeader.vue.mjs +2 -2
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +2 -2
- package/dist/treeshaking/components/header/index.mjs +6 -6
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +25 -25
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +2 -2
- package/dist/treeshaking/components/header-language-switcher/index.mjs +3 -3
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +2 -2
- package/dist/treeshaking/components/header-search/index.mjs +3 -3
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.mjs +2 -2
- package/dist/treeshaking/components/header-theme/index.mjs +3 -3
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +2 -2
- package/dist/treeshaking/components/header-user/index.mjs +3 -3
- package/dist/treeshaking/components/meeting/OMeetingMinutes.css +46 -42
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +0 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +74 -115
- package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.css +17 -17
- package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue2.mjs +1 -2
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +66 -85
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +1 -127
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +5 -219
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue2.mjs +181 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +3 -3
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +1 -127
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue2.mjs +2 -3
- package/dist/treeshaking/components/meeting/index.d.ts +1 -128
- package/dist/treeshaking/components/meeting/index.mjs +6 -7
- package/dist/treeshaking/components/meeting/types.d.ts +0 -2
- package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
- package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSecurity.css +215 -0
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue.d.ts +39 -0
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue2.mjs +291 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.css +199 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.vue.d.ts +22 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +393 -0
- package/dist/treeshaking/components/user-center/OAppFooterSimple.vue.d.ts +12 -0
- package/dist/treeshaking/components/user-center/OAppFooterSimple.vue.mjs +51 -0
- package/dist/treeshaking/components/user-center/OAppFooterSimple.vue2.mjs +4 -0
- package/dist/treeshaking/components/user-center/OAppHeader.css +23 -0
- package/dist/treeshaking/components/user-center/OAppHeader.vue.d.ts +43 -0
- package/dist/treeshaking/components/user-center/OAppHeader.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OAppHeader.vue2.mjs +208 -0
- package/dist/treeshaking/components/user-center/OAsideBar.css +65 -0
- package/dist/treeshaking/components/user-center/OAsideBar.vue.d.ts +26 -0
- package/dist/treeshaking/components/user-center/OAsideBar.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OAsideBar.vue2.mjs +108 -0
- package/dist/treeshaking/components/user-center/OLayout.css +30 -0
- package/dist/treeshaking/components/user-center/OLayout.vue.d.ts +18 -0
- package/dist/treeshaking/components/user-center/OLayout.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OLayout.vue2.mjs +27 -0
- package/dist/treeshaking/components/user-center/OTheAccountManage.css +25 -0
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue.d.ts +18 -0
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue2.mjs +26 -0
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.css +48 -0
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue.d.ts +18 -0
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue2.mjs +103 -0
- package/dist/treeshaking/components/user-center/OTheMeeting.css +183 -0
- package/dist/treeshaking/components/user-center/OTheMeeting.vue.d.ts +14 -0
- package/dist/treeshaking/components/user-center/OTheMeeting.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OTheMeeting.vue2.mjs +125 -0
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.css +85 -0
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue.d.ts +22 -0
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue2.mjs +387 -0
- package/dist/treeshaking/components/user-center/OUserInfo.css +239 -0
- package/dist/treeshaking/components/user-center/OUserInfo.vue.d.ts +159 -0
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +9 -0
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +557 -0
- package/dist/treeshaking/components/user-center/OUserInfo2.css +44 -0
- package/dist/treeshaking/components/user-center/OUserInfo3.css +16 -0
- package/dist/treeshaking/components/user-center/const/common.const.d.ts +17 -0
- package/dist/treeshaking/components/user-center/const/common.const.mjs +31 -0
- package/dist/treeshaking/components/user-center/index.d.ts +801 -0
- package/dist/treeshaking/components/user-center/index.mjs +81 -0
- package/dist/treeshaking/components/user-center/internal/OAppDialog.css +68 -0
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.d.ts +197 -0
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +440 -0
- package/dist/treeshaking/components/user-center/internal/OAppEmpty.css +63 -0
- package/dist/treeshaking/components/user-center/internal/OAppEmpty.vue.d.ts +25 -0
- package/dist/treeshaking/components/user-center/internal/OAppEmpty.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OAppEmpty.vue2.mjs +41 -0
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.css +27 -0
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue.d.ts +94 -0
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue2.mjs +135 -0
- package/dist/treeshaking/components/user-center/internal/OCountdownButton.vue.d.ts +20 -0
- package/dist/treeshaking/components/user-center/internal/OCountdownButton.vue.mjs +67 -0
- package/dist/treeshaking/components/user-center/internal/OCountdownButton.vue2.mjs +4 -0
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.css +171 -0
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue.d.ts +189 -0
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue.mjs +8 -0
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue2.mjs +319 -0
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal2.css +57 -0
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.css +57 -0
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue.d.ts +164 -0
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue.mjs +8 -0
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue2.mjs +149 -0
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog2.css +13 -0
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.css +57 -0
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue.d.ts +182 -0
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue.mjs +8 -0
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue2.mjs +162 -0
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog2.css +13 -0
- package/dist/treeshaking/components/user-center/internal/OMaskEye.css +11 -0
- package/dist/treeshaking/components/user-center/internal/OMaskEye.vue.d.ts +18 -0
- package/dist/treeshaking/components/user-center/internal/OMaskEye.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OMaskEye.vue2.mjs +30 -0
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.css +78 -0
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue.d.ts +426 -0
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue2.mjs +460 -0
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.css +18 -0
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue.d.ts +174 -0
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue2.mjs +147 -0
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.css +50 -0
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue.d.ts +37 -0
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue2.mjs +117 -0
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.css +58 -0
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.d.ts +30 -0
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.mjs +7 -0
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue2.mjs +107 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.css +524 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue.d.ts +55 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue.mjs +8 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue2.mjs +455 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar2.css +304 -0
- package/dist/treeshaking/components/user-center/rolesMap.d.ts +10 -0
- package/dist/treeshaking/components/user-center/rolesMap.mjs +29 -0
- package/dist/treeshaking/components/user-center/styles/global.css +357 -0
- package/dist/treeshaking/components/user-center/styles/variables.css +362 -0
- package/dist/treeshaking/components/user-center/types/captcha.d.ts +6 -0
- package/dist/treeshaking/components/user-center/types/interface.d.ts +13 -0
- package/dist/treeshaking/components/user-center/types/search.d.ts +67 -0
- package/dist/treeshaking/components/user-center/types/usercenter.interface.d.ts +57 -0
- package/dist/treeshaking/components/user-center/utils/helper.d.ts +4 -0
- package/dist/treeshaking/components/user-center/utils/helper.mjs +6 -0
- package/dist/treeshaking/components/user-center/utils/rules.d.ts +11 -0
- package/dist/treeshaking/components/user-center/utils/rules.mjs +145 -0
- package/dist/treeshaking/components/user-center/utils/utils.d.ts +17 -0
- package/dist/treeshaking/components/user-center/utils/utils.mjs +47 -0
- package/dist/treeshaking/components/user-center/verify/Verify.css +282 -0
- package/dist/treeshaking/components/user-center/verify/Verify.vue.d.ts +2 -0
- package/dist/treeshaking/components/user-center/verify/Verify.vue.mjs +61 -0
- package/dist/treeshaking/components/user-center/verify/Verify.vue2.mjs +83 -0
- package/dist/treeshaking/components/user-center/verify/VerifySlide.vue.d.ts +2 -0
- package/dist/treeshaking/components/user-center/verify/VerifySlide.vue.mjs +122 -0
- package/dist/treeshaking/components/user-center/verify/VerifySlide.vue2.mjs +366 -0
- package/dist/treeshaking/components/user-center/verify/utils/ase.d.ts +5 -0
- package/dist/treeshaking/components/user-center/verify/utils/ase.mjs +13 -0
- package/dist/treeshaking/components/user-center/verify/utils/util.d.ts +6 -0
- package/dist/treeshaking/components/user-center/verify/utils/util.mjs +34 -0
- package/dist/treeshaking/i18n/en.mjs +131 -2
- package/dist/treeshaking/i18n/zh.mjs +131 -2
- package/dist/treeshaking/index.d.ts +1 -0
- package/dist/treeshaking/index.mjs +12 -0
- package/package.json +13 -6
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue3.mjs +0 -5
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import { commonjsGlobal } from "../_commonjsHelpers.mjs";
|
|
2
|
+
import { commonjsRequire } from "../_commonjs-dynamic-modules.mjs";
|
|
3
|
+
import { __module as core$1 } from "./core.js2.mjs";
|
|
4
|
+
import require$$0 from "../___vite-browser-external.mjs";
|
|
5
|
+
var core = core$1.exports;
|
|
6
|
+
var hasRequiredCore;
|
|
7
|
+
function requireCore() {
|
|
8
|
+
if (hasRequiredCore) return core$1.exports;
|
|
9
|
+
hasRequiredCore = 1;
|
|
10
|
+
(function(module, exports) {
|
|
11
|
+
(function(root, factory) {
|
|
12
|
+
{
|
|
13
|
+
module.exports = factory();
|
|
14
|
+
}
|
|
15
|
+
})(core, function() {
|
|
16
|
+
var CryptoJS = CryptoJS || (function(Math2, undefined$1) {
|
|
17
|
+
var crypto;
|
|
18
|
+
if (typeof window !== "undefined" && window.crypto) {
|
|
19
|
+
crypto = window.crypto;
|
|
20
|
+
}
|
|
21
|
+
if (typeof self !== "undefined" && self.crypto) {
|
|
22
|
+
crypto = self.crypto;
|
|
23
|
+
}
|
|
24
|
+
if (typeof globalThis !== "undefined" && globalThis.crypto) {
|
|
25
|
+
crypto = globalThis.crypto;
|
|
26
|
+
}
|
|
27
|
+
if (!crypto && typeof window !== "undefined" && window.msCrypto) {
|
|
28
|
+
crypto = window.msCrypto;
|
|
29
|
+
}
|
|
30
|
+
if (!crypto && typeof commonjsGlobal !== "undefined" && commonjsGlobal.crypto) {
|
|
31
|
+
crypto = commonjsGlobal.crypto;
|
|
32
|
+
}
|
|
33
|
+
if (!crypto && typeof commonjsRequire === "function") {
|
|
34
|
+
try {
|
|
35
|
+
crypto = require$$0;
|
|
36
|
+
} catch (err) {
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
var cryptoSecureRandomInt = function() {
|
|
40
|
+
if (crypto) {
|
|
41
|
+
if (typeof crypto.getRandomValues === "function") {
|
|
42
|
+
try {
|
|
43
|
+
return crypto.getRandomValues(new Uint32Array(1))[0];
|
|
44
|
+
} catch (err) {
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (typeof crypto.randomBytes === "function") {
|
|
48
|
+
try {
|
|
49
|
+
return crypto.randomBytes(4).readInt32LE();
|
|
50
|
+
} catch (err) {
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
55
|
+
};
|
|
56
|
+
var create = Object.create || /* @__PURE__ */ (function() {
|
|
57
|
+
function F() {
|
|
58
|
+
}
|
|
59
|
+
return function(obj) {
|
|
60
|
+
var subtype;
|
|
61
|
+
F.prototype = obj;
|
|
62
|
+
subtype = new F();
|
|
63
|
+
F.prototype = null;
|
|
64
|
+
return subtype;
|
|
65
|
+
};
|
|
66
|
+
})();
|
|
67
|
+
var C = {};
|
|
68
|
+
var C_lib = C.lib = {};
|
|
69
|
+
var Base = C_lib.Base = /* @__PURE__ */ (function() {
|
|
70
|
+
return {
|
|
71
|
+
/**
|
|
72
|
+
* Creates a new object that inherits from this object.
|
|
73
|
+
*
|
|
74
|
+
* @param {Object} overrides Properties to copy into the new object.
|
|
75
|
+
*
|
|
76
|
+
* @return {Object} The new object.
|
|
77
|
+
*
|
|
78
|
+
* @static
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
*
|
|
82
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
|
83
|
+
* field: 'value',
|
|
84
|
+
*
|
|
85
|
+
* method: function () {
|
|
86
|
+
* }
|
|
87
|
+
* });
|
|
88
|
+
*/
|
|
89
|
+
extend: function(overrides) {
|
|
90
|
+
var subtype = create(this);
|
|
91
|
+
if (overrides) {
|
|
92
|
+
subtype.mixIn(overrides);
|
|
93
|
+
}
|
|
94
|
+
if (!subtype.hasOwnProperty("init") || this.init === subtype.init) {
|
|
95
|
+
subtype.init = function() {
|
|
96
|
+
subtype.$super.init.apply(this, arguments);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
subtype.init.prototype = subtype;
|
|
100
|
+
subtype.$super = this;
|
|
101
|
+
return subtype;
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* Extends this object and runs the init method.
|
|
105
|
+
* Arguments to create() will be passed to init().
|
|
106
|
+
*
|
|
107
|
+
* @return {Object} The new object.
|
|
108
|
+
*
|
|
109
|
+
* @static
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
*
|
|
113
|
+
* var instance = MyType.create();
|
|
114
|
+
*/
|
|
115
|
+
create: function() {
|
|
116
|
+
var instance = this.extend();
|
|
117
|
+
instance.init.apply(instance, arguments);
|
|
118
|
+
return instance;
|
|
119
|
+
},
|
|
120
|
+
/**
|
|
121
|
+
* Initializes a newly created object.
|
|
122
|
+
* Override this method to add some logic when your objects are created.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
*
|
|
126
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
|
127
|
+
* init: function () {
|
|
128
|
+
* // ...
|
|
129
|
+
* }
|
|
130
|
+
* });
|
|
131
|
+
*/
|
|
132
|
+
init: function() {
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* Copies properties into this object.
|
|
136
|
+
*
|
|
137
|
+
* @param {Object} properties The properties to mix in.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
*
|
|
141
|
+
* MyType.mixIn({
|
|
142
|
+
* field: 'value'
|
|
143
|
+
* });
|
|
144
|
+
*/
|
|
145
|
+
mixIn: function(properties) {
|
|
146
|
+
for (var propertyName in properties) {
|
|
147
|
+
if (properties.hasOwnProperty(propertyName)) {
|
|
148
|
+
this[propertyName] = properties[propertyName];
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
if (properties.hasOwnProperty("toString")) {
|
|
152
|
+
this.toString = properties.toString;
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
* Creates a copy of this object.
|
|
157
|
+
*
|
|
158
|
+
* @return {Object} The clone.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
*
|
|
162
|
+
* var clone = instance.clone();
|
|
163
|
+
*/
|
|
164
|
+
clone: function() {
|
|
165
|
+
return this.init.prototype.extend(this);
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
})();
|
|
169
|
+
var WordArray = C_lib.WordArray = Base.extend({
|
|
170
|
+
/**
|
|
171
|
+
* Initializes a newly created word array.
|
|
172
|
+
*
|
|
173
|
+
* @param {Array} words (Optional) An array of 32-bit words.
|
|
174
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
*
|
|
178
|
+
* var wordArray = CryptoJS.lib.WordArray.create();
|
|
179
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
|
180
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
|
181
|
+
*/
|
|
182
|
+
init: function(words, sigBytes) {
|
|
183
|
+
words = this.words = words || [];
|
|
184
|
+
if (sigBytes != undefined$1) {
|
|
185
|
+
this.sigBytes = sigBytes;
|
|
186
|
+
} else {
|
|
187
|
+
this.sigBytes = words.length * 4;
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
* Converts this word array to a string.
|
|
192
|
+
*
|
|
193
|
+
* @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
|
|
194
|
+
*
|
|
195
|
+
* @return {string} The stringified word array.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
*
|
|
199
|
+
* var string = wordArray + '';
|
|
200
|
+
* var string = wordArray.toString();
|
|
201
|
+
* var string = wordArray.toString(CryptoJS.enc.Utf8);
|
|
202
|
+
*/
|
|
203
|
+
toString: function(encoder) {
|
|
204
|
+
return (encoder || Hex).stringify(this);
|
|
205
|
+
},
|
|
206
|
+
/**
|
|
207
|
+
* Concatenates a word array to this word array.
|
|
208
|
+
*
|
|
209
|
+
* @param {WordArray} wordArray The word array to append.
|
|
210
|
+
*
|
|
211
|
+
* @return {WordArray} This word array.
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
*
|
|
215
|
+
* wordArray1.concat(wordArray2);
|
|
216
|
+
*/
|
|
217
|
+
concat: function(wordArray) {
|
|
218
|
+
var thisWords = this.words;
|
|
219
|
+
var thatWords = wordArray.words;
|
|
220
|
+
var thisSigBytes = this.sigBytes;
|
|
221
|
+
var thatSigBytes = wordArray.sigBytes;
|
|
222
|
+
this.clamp();
|
|
223
|
+
if (thisSigBytes % 4) {
|
|
224
|
+
for (var i = 0; i < thatSigBytes; i++) {
|
|
225
|
+
var thatByte = thatWords[i >>> 2] >>> 24 - i % 4 * 8 & 255;
|
|
226
|
+
thisWords[thisSigBytes + i >>> 2] |= thatByte << 24 - (thisSigBytes + i) % 4 * 8;
|
|
227
|
+
}
|
|
228
|
+
} else {
|
|
229
|
+
for (var j = 0; j < thatSigBytes; j += 4) {
|
|
230
|
+
thisWords[thisSigBytes + j >>> 2] = thatWords[j >>> 2];
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
this.sigBytes += thatSigBytes;
|
|
234
|
+
return this;
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
* Removes insignificant bits.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
*
|
|
241
|
+
* wordArray.clamp();
|
|
242
|
+
*/
|
|
243
|
+
clamp: function() {
|
|
244
|
+
var words = this.words;
|
|
245
|
+
var sigBytes = this.sigBytes;
|
|
246
|
+
words[sigBytes >>> 2] &= 4294967295 << 32 - sigBytes % 4 * 8;
|
|
247
|
+
words.length = Math2.ceil(sigBytes / 4);
|
|
248
|
+
},
|
|
249
|
+
/**
|
|
250
|
+
* Creates a copy of this word array.
|
|
251
|
+
*
|
|
252
|
+
* @return {WordArray} The clone.
|
|
253
|
+
*
|
|
254
|
+
* @example
|
|
255
|
+
*
|
|
256
|
+
* var clone = wordArray.clone();
|
|
257
|
+
*/
|
|
258
|
+
clone: function() {
|
|
259
|
+
var clone = Base.clone.call(this);
|
|
260
|
+
clone.words = this.words.slice(0);
|
|
261
|
+
return clone;
|
|
262
|
+
},
|
|
263
|
+
/**
|
|
264
|
+
* Creates a word array filled with random bytes.
|
|
265
|
+
*
|
|
266
|
+
* @param {number} nBytes The number of random bytes to generate.
|
|
267
|
+
*
|
|
268
|
+
* @return {WordArray} The random word array.
|
|
269
|
+
*
|
|
270
|
+
* @static
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
*
|
|
274
|
+
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
275
|
+
*/
|
|
276
|
+
random: function(nBytes) {
|
|
277
|
+
var words = [];
|
|
278
|
+
for (var i = 0; i < nBytes; i += 4) {
|
|
279
|
+
words.push(cryptoSecureRandomInt());
|
|
280
|
+
}
|
|
281
|
+
return new WordArray.init(words, nBytes);
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
var C_enc = C.enc = {};
|
|
285
|
+
var Hex = C_enc.Hex = {
|
|
286
|
+
/**
|
|
287
|
+
* Converts a word array to a hex string.
|
|
288
|
+
*
|
|
289
|
+
* @param {WordArray} wordArray The word array.
|
|
290
|
+
*
|
|
291
|
+
* @return {string} The hex string.
|
|
292
|
+
*
|
|
293
|
+
* @static
|
|
294
|
+
*
|
|
295
|
+
* @example
|
|
296
|
+
*
|
|
297
|
+
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
298
|
+
*/
|
|
299
|
+
stringify: function(wordArray) {
|
|
300
|
+
var words = wordArray.words;
|
|
301
|
+
var sigBytes = wordArray.sigBytes;
|
|
302
|
+
var hexChars = [];
|
|
303
|
+
for (var i = 0; i < sigBytes; i++) {
|
|
304
|
+
var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
|
|
305
|
+
hexChars.push((bite >>> 4).toString(16));
|
|
306
|
+
hexChars.push((bite & 15).toString(16));
|
|
307
|
+
}
|
|
308
|
+
return hexChars.join("");
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* Converts a hex string to a word array.
|
|
312
|
+
*
|
|
313
|
+
* @param {string} hexStr The hex string.
|
|
314
|
+
*
|
|
315
|
+
* @return {WordArray} The word array.
|
|
316
|
+
*
|
|
317
|
+
* @static
|
|
318
|
+
*
|
|
319
|
+
* @example
|
|
320
|
+
*
|
|
321
|
+
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
322
|
+
*/
|
|
323
|
+
parse: function(hexStr) {
|
|
324
|
+
var hexStrLength = hexStr.length;
|
|
325
|
+
var words = [];
|
|
326
|
+
for (var i = 0; i < hexStrLength; i += 2) {
|
|
327
|
+
words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << 24 - i % 8 * 4;
|
|
328
|
+
}
|
|
329
|
+
return new WordArray.init(words, hexStrLength / 2);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
var Latin1 = C_enc.Latin1 = {
|
|
333
|
+
/**
|
|
334
|
+
* Converts a word array to a Latin1 string.
|
|
335
|
+
*
|
|
336
|
+
* @param {WordArray} wordArray The word array.
|
|
337
|
+
*
|
|
338
|
+
* @return {string} The Latin1 string.
|
|
339
|
+
*
|
|
340
|
+
* @static
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
*
|
|
344
|
+
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
345
|
+
*/
|
|
346
|
+
stringify: function(wordArray) {
|
|
347
|
+
var words = wordArray.words;
|
|
348
|
+
var sigBytes = wordArray.sigBytes;
|
|
349
|
+
var latin1Chars = [];
|
|
350
|
+
for (var i = 0; i < sigBytes; i++) {
|
|
351
|
+
var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
|
|
352
|
+
latin1Chars.push(String.fromCharCode(bite));
|
|
353
|
+
}
|
|
354
|
+
return latin1Chars.join("");
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Converts a Latin1 string to a word array.
|
|
358
|
+
*
|
|
359
|
+
* @param {string} latin1Str The Latin1 string.
|
|
360
|
+
*
|
|
361
|
+
* @return {WordArray} The word array.
|
|
362
|
+
*
|
|
363
|
+
* @static
|
|
364
|
+
*
|
|
365
|
+
* @example
|
|
366
|
+
*
|
|
367
|
+
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
368
|
+
*/
|
|
369
|
+
parse: function(latin1Str) {
|
|
370
|
+
var latin1StrLength = latin1Str.length;
|
|
371
|
+
var words = [];
|
|
372
|
+
for (var i = 0; i < latin1StrLength; i++) {
|
|
373
|
+
words[i >>> 2] |= (latin1Str.charCodeAt(i) & 255) << 24 - i % 4 * 8;
|
|
374
|
+
}
|
|
375
|
+
return new WordArray.init(words, latin1StrLength);
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
var Utf8 = C_enc.Utf8 = {
|
|
379
|
+
/**
|
|
380
|
+
* Converts a word array to a UTF-8 string.
|
|
381
|
+
*
|
|
382
|
+
* @param {WordArray} wordArray The word array.
|
|
383
|
+
*
|
|
384
|
+
* @return {string} The UTF-8 string.
|
|
385
|
+
*
|
|
386
|
+
* @static
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
*
|
|
390
|
+
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
|
|
391
|
+
*/
|
|
392
|
+
stringify: function(wordArray) {
|
|
393
|
+
try {
|
|
394
|
+
return decodeURIComponent(escape(Latin1.stringify(wordArray)));
|
|
395
|
+
} catch (e) {
|
|
396
|
+
throw new Error("Malformed UTF-8 data");
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
/**
|
|
400
|
+
* Converts a UTF-8 string to a word array.
|
|
401
|
+
*
|
|
402
|
+
* @param {string} utf8Str The UTF-8 string.
|
|
403
|
+
*
|
|
404
|
+
* @return {WordArray} The word array.
|
|
405
|
+
*
|
|
406
|
+
* @static
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
*
|
|
410
|
+
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
|
|
411
|
+
*/
|
|
412
|
+
parse: function(utf8Str) {
|
|
413
|
+
return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({
|
|
417
|
+
/**
|
|
418
|
+
* Resets this block algorithm's data buffer to its initial state.
|
|
419
|
+
*
|
|
420
|
+
* @example
|
|
421
|
+
*
|
|
422
|
+
* bufferedBlockAlgorithm.reset();
|
|
423
|
+
*/
|
|
424
|
+
reset: function() {
|
|
425
|
+
this._data = new WordArray.init();
|
|
426
|
+
this._nDataBytes = 0;
|
|
427
|
+
},
|
|
428
|
+
/**
|
|
429
|
+
* Adds new data to this block algorithm's buffer.
|
|
430
|
+
*
|
|
431
|
+
* @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
|
|
432
|
+
*
|
|
433
|
+
* @example
|
|
434
|
+
*
|
|
435
|
+
* bufferedBlockAlgorithm._append('data');
|
|
436
|
+
* bufferedBlockAlgorithm._append(wordArray);
|
|
437
|
+
*/
|
|
438
|
+
_append: function(data) {
|
|
439
|
+
if (typeof data == "string") {
|
|
440
|
+
data = Utf8.parse(data);
|
|
441
|
+
}
|
|
442
|
+
this._data.concat(data);
|
|
443
|
+
this._nDataBytes += data.sigBytes;
|
|
444
|
+
},
|
|
445
|
+
/**
|
|
446
|
+
* Processes available data blocks.
|
|
447
|
+
*
|
|
448
|
+
* This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
|
|
449
|
+
*
|
|
450
|
+
* @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
|
|
451
|
+
*
|
|
452
|
+
* @return {WordArray} The processed data.
|
|
453
|
+
*
|
|
454
|
+
* @example
|
|
455
|
+
*
|
|
456
|
+
* var processedData = bufferedBlockAlgorithm._process();
|
|
457
|
+
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
458
|
+
*/
|
|
459
|
+
_process: function(doFlush) {
|
|
460
|
+
var processedWords;
|
|
461
|
+
var data = this._data;
|
|
462
|
+
var dataWords = data.words;
|
|
463
|
+
var dataSigBytes = data.sigBytes;
|
|
464
|
+
var blockSize = this.blockSize;
|
|
465
|
+
var blockSizeBytes = blockSize * 4;
|
|
466
|
+
var nBlocksReady = dataSigBytes / blockSizeBytes;
|
|
467
|
+
if (doFlush) {
|
|
468
|
+
nBlocksReady = Math2.ceil(nBlocksReady);
|
|
469
|
+
} else {
|
|
470
|
+
nBlocksReady = Math2.max((nBlocksReady | 0) - this._minBufferSize, 0);
|
|
471
|
+
}
|
|
472
|
+
var nWordsReady = nBlocksReady * blockSize;
|
|
473
|
+
var nBytesReady = Math2.min(nWordsReady * 4, dataSigBytes);
|
|
474
|
+
if (nWordsReady) {
|
|
475
|
+
for (var offset = 0; offset < nWordsReady; offset += blockSize) {
|
|
476
|
+
this._doProcessBlock(dataWords, offset);
|
|
477
|
+
}
|
|
478
|
+
processedWords = dataWords.splice(0, nWordsReady);
|
|
479
|
+
data.sigBytes -= nBytesReady;
|
|
480
|
+
}
|
|
481
|
+
return new WordArray.init(processedWords, nBytesReady);
|
|
482
|
+
},
|
|
483
|
+
/**
|
|
484
|
+
* Creates a copy of this object.
|
|
485
|
+
*
|
|
486
|
+
* @return {Object} The clone.
|
|
487
|
+
*
|
|
488
|
+
* @example
|
|
489
|
+
*
|
|
490
|
+
* var clone = bufferedBlockAlgorithm.clone();
|
|
491
|
+
*/
|
|
492
|
+
clone: function() {
|
|
493
|
+
var clone = Base.clone.call(this);
|
|
494
|
+
clone._data = this._data.clone();
|
|
495
|
+
return clone;
|
|
496
|
+
},
|
|
497
|
+
_minBufferSize: 0
|
|
498
|
+
});
|
|
499
|
+
C_lib.Hasher = BufferedBlockAlgorithm.extend({
|
|
500
|
+
/**
|
|
501
|
+
* Configuration options.
|
|
502
|
+
*/
|
|
503
|
+
cfg: Base.extend(),
|
|
504
|
+
/**
|
|
505
|
+
* Initializes a newly created hasher.
|
|
506
|
+
*
|
|
507
|
+
* @param {Object} cfg (Optional) The configuration options to use for this hash computation.
|
|
508
|
+
*
|
|
509
|
+
* @example
|
|
510
|
+
*
|
|
511
|
+
* var hasher = CryptoJS.algo.SHA256.create();
|
|
512
|
+
*/
|
|
513
|
+
init: function(cfg) {
|
|
514
|
+
this.cfg = this.cfg.extend(cfg);
|
|
515
|
+
this.reset();
|
|
516
|
+
},
|
|
517
|
+
/**
|
|
518
|
+
* Resets this hasher to its initial state.
|
|
519
|
+
*
|
|
520
|
+
* @example
|
|
521
|
+
*
|
|
522
|
+
* hasher.reset();
|
|
523
|
+
*/
|
|
524
|
+
reset: function() {
|
|
525
|
+
BufferedBlockAlgorithm.reset.call(this);
|
|
526
|
+
this._doReset();
|
|
527
|
+
},
|
|
528
|
+
/**
|
|
529
|
+
* Updates this hasher with a message.
|
|
530
|
+
*
|
|
531
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
|
532
|
+
*
|
|
533
|
+
* @return {Hasher} This hasher.
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
*
|
|
537
|
+
* hasher.update('message');
|
|
538
|
+
* hasher.update(wordArray);
|
|
539
|
+
*/
|
|
540
|
+
update: function(messageUpdate) {
|
|
541
|
+
this._append(messageUpdate);
|
|
542
|
+
this._process();
|
|
543
|
+
return this;
|
|
544
|
+
},
|
|
545
|
+
/**
|
|
546
|
+
* Finalizes the hash computation.
|
|
547
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
|
548
|
+
*
|
|
549
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
|
550
|
+
*
|
|
551
|
+
* @return {WordArray} The hash.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
*
|
|
555
|
+
* var hash = hasher.finalize();
|
|
556
|
+
* var hash = hasher.finalize('message');
|
|
557
|
+
* var hash = hasher.finalize(wordArray);
|
|
558
|
+
*/
|
|
559
|
+
finalize: function(messageUpdate) {
|
|
560
|
+
if (messageUpdate) {
|
|
561
|
+
this._append(messageUpdate);
|
|
562
|
+
}
|
|
563
|
+
var hash = this._doFinalize();
|
|
564
|
+
return hash;
|
|
565
|
+
},
|
|
566
|
+
blockSize: 512 / 32,
|
|
567
|
+
/**
|
|
568
|
+
* Creates a shortcut function to a hasher's object interface.
|
|
569
|
+
*
|
|
570
|
+
* @param {Hasher} hasher The hasher to create a helper for.
|
|
571
|
+
*
|
|
572
|
+
* @return {Function} The shortcut function.
|
|
573
|
+
*
|
|
574
|
+
* @static
|
|
575
|
+
*
|
|
576
|
+
* @example
|
|
577
|
+
*
|
|
578
|
+
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
579
|
+
*/
|
|
580
|
+
_createHelper: function(hasher) {
|
|
581
|
+
return function(message, cfg) {
|
|
582
|
+
return new hasher.init(cfg).finalize(message);
|
|
583
|
+
};
|
|
584
|
+
},
|
|
585
|
+
/**
|
|
586
|
+
* Creates a shortcut function to the HMAC's object interface.
|
|
587
|
+
*
|
|
588
|
+
* @param {Hasher} hasher The hasher to use in this HMAC helper.
|
|
589
|
+
*
|
|
590
|
+
* @return {Function} The shortcut function.
|
|
591
|
+
*
|
|
592
|
+
* @static
|
|
593
|
+
*
|
|
594
|
+
* @example
|
|
595
|
+
*
|
|
596
|
+
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
597
|
+
*/
|
|
598
|
+
_createHmacHelper: function(hasher) {
|
|
599
|
+
return function(message, key) {
|
|
600
|
+
return new C_algo.HMAC.init(hasher, key).finalize(message);
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
});
|
|
604
|
+
var C_algo = C.algo = {};
|
|
605
|
+
return C;
|
|
606
|
+
})(Math);
|
|
607
|
+
return CryptoJS;
|
|
608
|
+
});
|
|
609
|
+
})(core$1);
|
|
610
|
+
return core$1.exports;
|
|
611
|
+
}
|
|
612
|
+
export {
|
|
613
|
+
requireCore as __require
|
|
614
|
+
};
|