@fmdevui/fm-dev 1.0.36 → 1.0.37

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.
@@ -3,3 +3,15 @@ export * as getApi from './base';
3
3
  export * from './sys';
4
4
  export * from './login';
5
5
  export * from './utils/request';
6
+ /**
7
+ * 账号类型枚举<br />&nbsp;会员 Member = 666<br />&nbsp;普通账号 NormalUser = 777<br />&nbsp;系统管理员 SysAdmin = 888<br />&nbsp;平台管理 987;超级管理员 SuperAdmin = 999<br />
8
+ * @export
9
+ * @enum {string}
10
+ */
11
+ export declare enum AccountTypeEnum {
12
+ NUMBER_666 = 666,
13
+ NUMBER_777 = 777,
14
+ NUMBER_888 = 888,
15
+ NUMBER_987 = 987,
16
+ NUMBER_999 = 999
17
+ }
package/es/index.mjs CHANGED
@@ -13,6 +13,7 @@ export { useBaseApi } from './packages/core/api/base/index.mjs';
13
13
  export { feature, useSysApi } from './packages/core/api/sys/index.mjs';
14
14
  export { useLoginApi } from './packages/core/api/login/index.mjs';
15
15
  export { accessTokenKey, axiosInstance, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, decryptJWT, getJWTDate, getToken, refreshAccessTokenKey, request2, service, tansParams } from './packages/core/api/utils/request.mjs';
16
+ export { AccountTypeEnum } from './packages/core/api/index.mjs';
16
17
  export { directive } from './packages/core/directive/index.mjs';
17
18
  export { getCountryCode, i18n, iso_3166_1_CountryList, languageList, mergMessage, setupI18n } from './packages/core/locales/index.mjs';
18
19
  export { pinia } from './packages/core/stores/inpinia.mjs';
@@ -4,3 +4,14 @@ export { useBaseApi } from './base/index.mjs';
4
4
  export { feature, useSysApi } from './sys/index.mjs';
5
5
  export { useLoginApi } from './login/index.mjs';
6
6
  export { accessTokenKey, axiosInstance, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, decryptJWT, getJWTDate, getToken, refreshAccessTokenKey, request2, service, tansParams } from './utils/request.mjs';
7
+
8
+ var AccountTypeEnum = /* @__PURE__ */ ((AccountTypeEnum2) => {
9
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_666"] = 666] = "NUMBER_666";
10
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_777"] = 777] = "NUMBER_777";
11
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_888"] = 888] = "NUMBER_888";
12
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_987"] = 987] = "NUMBER_987";
13
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_999"] = 999] = "NUMBER_999";
14
+ return AccountTypeEnum2;
15
+ })(AccountTypeEnum || {});
16
+
17
+ export { AccountTypeEnum };
@@ -1,7 +1,7 @@
1
1
  export { FmDragImg, FmNoticeBar, FmTransfer } from './ui/components/index.mjs';
2
2
  export { FmLogin } from './ui/login/index.mjs';
3
3
  export { NextLoading } from './ui/loading/index.mjs';
4
- import './api/index.mjs';
4
+ export { AccountTypeEnum } from './api/index.mjs';
5
5
  export { directive } from './directive/index.mjs';
6
6
  export { getCountryCode, i18n, iso_3166_1_CountryList, languageList, mergMessage, setupI18n } from './locales/index.mjs';
7
7
  import './stores/index.mjs';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.36 */
1
+ /*! fm-dev v1.0.37 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
@@ -30095,6 +30095,15 @@
30095
30095
  };
30096
30096
  }
30097
30097
 
30098
+ var AccountTypeEnum = /* @__PURE__ */ ((AccountTypeEnum2) => {
30099
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_666"] = 666] = "NUMBER_666";
30100
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_777"] = 777] = "NUMBER_777";
30101
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_888"] = 888] = "NUMBER_888";
30102
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_987"] = 987] = "NUMBER_987";
30103
+ AccountTypeEnum2[AccountTypeEnum2["NUMBER_999"] = 999] = "NUMBER_999";
30104
+ return AccountTypeEnum2;
30105
+ })(AccountTypeEnum || {});
30106
+
30098
30107
  var __create$1 = Object.create;
30099
30108
  var __defProp$1 = Object.defineProperty;
30100
30109
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
@@ -52248,6 +52257,7 @@
52248
52257
 
52249
52258
  const install = installer.install;
52250
52259
 
52260
+ exports.AccountTypeEnum = AccountTypeEnum;
52251
52261
  exports.FmDragImg = FmDragImg;
52252
52262
  exports.FmLogin = FmLogin;
52253
52263
  exports.FmNoticeBar = FmNoticeBar;