web-backset.cn/apps/server/public/login.js
2023-02-22 07:24:30 +08:00

119 lines
25 KiB
JavaScript

/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ "../../packages/util/dist/cjs/index.js":
/*!*********************************************!*\
!*** ../../packages/util/dist/cjs/index.js ***!
\*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
eval("\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.RegUtil = exports.ValidateUtil = void 0;\nconst ValidateUtil = __importStar(__webpack_require__(/*! ./validate */ \"../../packages/util/dist/cjs/validate.js\"));\nexports.ValidateUtil = ValidateUtil;\nconst RegUtil = __importStar(__webpack_require__(/*! ./reg */ \"../../packages/util/dist/cjs/reg.js\"));\nexports.RegUtil = RegUtil;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vcGFja2FnZXMvdXRpbC9kaXN0L2Nqcy9pbmRleC5qcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFHU0Esb0JBQUFBO0FBRlQ7QUFFdUJBLGVBQUFBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vQGJhY2tzZXQvc2VydmVyLy4uLy4uL3NyYy9pbmRleC50cz8wZTNlIl0sIm5hbWVzIjpbImV4cG9ydHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../../packages/util/dist/cjs/index.js\n");
/***/ }),
/***/ "../../packages/util/dist/cjs/reg.js":
/*!*******************************************!*\
!*** ../../packages/util/dist/cjs/reg.js ***!
\*******************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.PHONE = void 0;\n/**\n * 手机号正则[常用]\n */\nexports.PHONE = /^1[3456789]\\d{9}$/;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vcGFja2FnZXMvdXRpbC9kaXN0L2Nqcy9yZWcuanMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7OztBQUdhQSxhQUFLLEdBQUcsbUJBQW1CIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vQGJhY2tzZXQvc2VydmVyLy4uLy4uL3NyYy9yZWcudHM/MGJiOSJdLCJuYW1lcyI6WyJleHBvcnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///../../packages/util/dist/cjs/reg.js\n");
/***/ }),
/***/ "../../packages/util/dist/cjs/validate.js":
/*!************************************************!*\
!*** ../../packages/util/dist/cjs/validate.js ***!
\************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.withEmpty = void 0;\n/**\n * 检测对象是否存在空 value\n * @param {Object} obj 检测的对象\n */\nconst withEmpty = obj => Object.values(obj).some(v => !v);\nexports.withEmpty = withEmpty;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vcGFja2FnZXMvdXRpbC9kaXN0L2Nqcy92YWxpZGF0ZS5qcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUlPLE1BQU1BLFNBQVMsR0FBSUMsR0FBVyxJQUFLQyxNQUFNLENBQUNDLE1BQU0sQ0FBQ0YsR0FBRyxDQUFDLENBQUNHLElBQUksQ0FBRUMsQ0FBQyxJQUFLLENBQUNBLENBQUMsQ0FBQztBQUEvREMsaUJBQVMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AYmFja3NldC9zZXJ2ZXIvLi4vLi4vc3JjL3ZhbGlkYXRlLnRzP2Q1MjEiXSwibmFtZXMiOlsid2l0aEVtcHR5Iiwib2JqIiwiT2JqZWN0IiwidmFsdWVzIiwic29tZSIsInYiLCJleHBvcnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///../../packages/util/dist/cjs/validate.js\n");
/***/ }),
/***/ "./view/page/login/index.less":
/*!************************************!*\
!*** ./view/page/login/index.less ***!
\************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2UvbG9naW4vaW5kZXgubGVzcy5qcyIsIm1hcHBpbmdzIjoiO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AYmFja3NldC9zZXJ2ZXIvLi92aWV3L3BhZ2UvbG9naW4vaW5kZXgubGVzcz9mOGU3Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IHt9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./view/page/login/index.less\n");
/***/ }),
/***/ "./view/api/index.ts":
/*!***************************!*\
!*** ./view/api/index.ts ***!
\***************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.createUser = exports.getVerifyCode = exports.userLogin = void 0;\n/**\n * 用户登录\n */\nconst userLogin = (p) => $.post('/auth/user/login', p);\nexports.userLogin = userLogin;\n/**\n * 获取验证码\n */\nconst getVerifyCode = (p) => $.post('/sms/verifycode', p);\nexports.getVerifyCode = getVerifyCode;\n/**\n * 用户注册\n */\nconst createUser = (p) => $.post('/user/create', p);\nexports.createUser = createUser;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi92aWV3L2FwaS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7R0FFRztBQUNJLE1BQU0sU0FBUyxHQUFHLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLGtCQUFrQixFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQXRELFFBQUEsU0FBUyxhQUE2QztBQUVuRTs7R0FFRztBQUNJLE1BQU0sYUFBYSxHQUFHLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEN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hwUWtGQk5FTTdRVUZGZEVVN08wZEJSVWM3UVVGRFNTeE5RVUZOTEZWQlFWVXNSMEZCUnl4RFFVRkRMRU5CUVUwc1JVRkJSU3hGUVVGRkxFTkJRVU1zUTBGQlF5eERRVUZETEVsQlFVa3NRMEZCUXl4alFVRmpMRVZCUVVVc1EwRkJReXhEUVVGRExFTkJRVU03UVVGQmJrUXNVVUZCUVN4VlFVRlZMR05CUVhsREluMD0iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./view/api/index.ts\n");
/***/ }),
/***/ "./view/page/login/index.ts":
/*!**********************************!*\
!*** ./view/page/login/index.ts ***!
\**********************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__webpack_require__(/*! ./index.less */ \"./view/page/login/index.less\");\nconst api_1 = __webpack_require__(/*! ../../api */ \"./view/api/index.ts\");\nconst util_1 = __webpack_require__(/*! @backset/util */ \"../../packages/util/dist/cjs/index.js\");\n$(() => {\n $('#page-signup')\n .on('click', '#btn-switch-login-type', handleSwitchLoginType)\n .on('click', '#btn-signup-password', handlePasswordLogin)\n .on('click', '#btn-signup-verify', handleVerifyLogin)\n .on('click', '#btn-verify-code', handleGetVerifyCode);\n /**\n * 获取验证码\n */\n function handleGetVerifyCode() {\n const params = { phone: '' + $('#tel').val() };\n if (!util_1.RegUtil.PHONE.test(params.phone))\n return;\n // return message.error({ text: '手机号格式错误' });\n $('#btn-verify-code').addClass('loading');\n (0, api_1.getVerifyCode)(params).then(res => {\n console.log(res);\n if (res) {\n $('#btn-verify-code').removeClass('loading');\n }\n });\n }\n /**\n * 验证码登录\n */\n function handleVerifyLogin() {\n const params = {\n login_type: 'verifycode',\n user_login: '' + $('#tel').val(),\n verify_code: '' + $('#verify-code').val(),\n };\n (0, api_1.userLogin)(params).then(res => {\n console.log(res);\n });\n }\n /**\n * 密码登录\n */\n function handlePasswordLogin() {\n const params = {\n login_type: 'password',\n user_login: '' + $('#username').val(),\n user_pass: '' + $('#password').val(),\n };\n (0, api_1.userLogin)(params).then(res => {\n console.log(res);\n });\n }\n /**\n * 点击登录方式切换\n */\n function handleSwitchLoginType() {\n const switchVerify = $(this).attr('data-login-type') === 'password';\n if (switchVerify) {\n $('#verify-form').removeClass('d-none');\n $('#password-form').addClass('d-none');\n $(this).attr('data-login-type', 'verify').html('密码登陆');\n }\n else {\n $('#verify-form').addClass('d-none');\n $('#password-form').removeClass('d-none');\n $(this).attr('data-login-type', 'password').html('验证码登陆');\n }\n }\n});\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi92aWV3L3BhZ2UvbG9naW4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBc0I7QUFDdEIsbUNBQXFEO0FBQ3JELHdDQUF3QztBQUV4QyxDQUFDLENBQUMsR0FBRyxFQUFFO0lBQ0wsQ0FBQyxDQUFDLGNBQWMsQ0FBQztTQUNkLEVBQUUsQ0FBQyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUscUJBQXFCLENBQUM7U0FDNUQsRUFBRSxDQUFDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxtQkFBbUIsQ0FBQztTQUN4RCxFQUFFLENBQUMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLGlCQUFpQixDQUFDO1NBQ3BELEVBQUUsQ0FBQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsbUJBQW1CLENBQUMsQ0FBQztJQUV4RDs7T0FFRztJQUNILFNBQVMsbUJBQW1CO1FBQzFCLE1BQU0sTUFBTSxHQUFHLEVBQUUsS0FBSyxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQztR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LCBhcGlfMS5nZXRWZXJpZnlDb2RlKShwYXJhbXMpLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICBpZiAocmVzKSB7XG4gICAgICAgICAgICAgICAgJCgnI2J0bi12ZXJpZnktY29kZScpLnJlbW92ZUNsYXNzKCdsb2FkaW5nJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgIH1cbiAgICAvKipcbiAgICAgKiDpqozor4HnoIHnmbvlvZVcbiAgICAgKi9cbiAgICBmdW5jdGlvbiBoYW5kbGVWZXJpZnlMb2dpbigpIHtcbiAgICAgICAgY29uc3QgcGFyYW1zID0ge1xuICAgICAgICAgICAgbG9naW5fdHlwZTogJ3ZlcmlmeWNvZGUnLFxuICAgICAgICAgICAgdXNlcl9sb2dpbjogJycgKyAkKCcjdGVsJykudmFsKCksXG4gICAgICAgICAgICB2ZXJpZnlfY29kZTogJycgKyAkKCcjdmVyaWZ5LWNvZGUnKS52YWwoKSxcbiAgICAgICAgfTtcbiAgICAgICAgKDAsIGFwaV8xLnVzZXJMb2dpbikocGFyYW1zKS50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICB9KTtcbiAgICB9XG4gICAgLyoqXG4gICAgICog5a+G56CB55m75b2VXG4gICAgICovXG4gICAgZnVuY3Rpb24gaGFuZGxlUGFzc3dvcmRMb2dpbigpIHtcbiAgICAgICAgY29uc3QgcGFyYW1zID0ge1xuICAgICAgICAgICAgbG9naW5fdHlwZTogJ3Bhc3N3b3JkJyxcbiAgICAgICAgICAgIHVzZXJfbG9naW46ICcnICsgJCgnI3VzZXJuYW1lJykudmFsKCksXG4gICAgICAgICAgICB1c2VyX3Bhc3M6ICcnICsgJCgnI3Bhc3N3b3JkJykudmFsKCksXG4gICAgICAgIH07XG4gICAgICAgICgwLCBhcGlfMS51c2VyTG9naW4pKHBhcmFtcykudGhlbih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UXl4RFFVRkRMRWxCUVVrc1EwRkJReXhwUWtGQmFVSXNSVUZCUlN4UlFVRlJMRU5CUVVNc1EwRkJReXhKUVVGSkxFTkJRVU1zVFVGQlRTeERRVUZETEVOQlFVTTdVMEZEZUVRN1lVRkJUVHRaUVVOTUxFTkJRVU1zUTBGQlF5eGpRVUZqTEVOQlFVTXNRMEZCUXl4UlFVRlJMRU5CUVVNc1VVRkJVU3hEUVVGRExFTkJRVU03V1VGRGNrTXNRMEZCUXl4RFFVRkRMR2RDUVVGblFpeERRVUZETEVOQlFVTXNWMEZCVnl4RFFVRkRMRkZCUVZFc1EwRkJReXhEUVVGRE8xbEJRekZETEVOQlFVTXNRMEZCUXl4SlFVRkpMRU5CUVVNc1EwRkJReXhKUVVGSkxFTkJRVU1zYVVKQlFXbENMRVZCUVVVc1ZVRkJWU3hEUVVGRExFTkJRVU1zU1VGQlNTeERRVUZETEU5QlFVOHNRMEZCUXl4RFFVRkRPMU5CUXpORU8wbEJRMGdzUTBGQlF6dEJRVU5JTEVOQlFVTXNRMEZCUXl4RFFVRkRJbjA9Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./view/page/login/index.ts\n");
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval-source-map devtool is used.
/******/ var __webpack_exports__ = __webpack_require__("./view/page/login/index.ts");
/******/
/******/ })()
;