antd-management-fast-framework 1.12.61 → 1.12.64

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.
@@ -475,3 +475,92 @@ export namespace mobileTypeCollection {
475
475
  export { helper_7 as helper };
476
476
  }
477
477
  }
478
+ export namespace iconCollection {
479
+ const help_1: JSX.Element;
480
+ export { help_1 as help };
481
+ export const add: JSX.Element;
482
+ export const addCircle: JSX.Element;
483
+ export const reload: JSX.Element;
484
+ export const edit: JSX.Element;
485
+ export const enable: JSX.Element;
486
+ export const disable: JSX.Element;
487
+ const _delete: JSX.Element;
488
+ export { _delete as delete };
489
+ export const clock: JSX.Element;
490
+ const close_1: JSX.Element;
491
+ export { close_1 as close };
492
+ export const copy: JSX.Element;
493
+ export const eye: JSX.Element;
494
+ const _export: JSX.Element;
495
+ export { _export as export };
496
+ export const home: JSX.Element;
497
+ const _import: JSX.Element;
498
+ export { _import as import };
499
+ export const idCard: JSX.Element;
500
+ export const search: JSX.Element;
501
+ export const setting: JSX.Element;
502
+ export const tag: JSX.Element;
503
+ export const tags: JSX.Element;
504
+ export const upload: JSX.Element;
505
+ export const user: JSX.Element;
506
+ export const video: JSX.Element;
507
+ const loading_1: JSX.Element;
508
+ export { loading_1 as loading };
509
+ export const users: JSX.Element;
510
+ export const tool: JSX.Element;
511
+ export const sync: JSX.Element;
512
+ export const sound: JSX.Element;
513
+ export const shop: JSX.Element;
514
+ export const shoppingCart: JSX.Element;
515
+ export const shopping: JSX.Element;
516
+ export const schedule: JSX.Element;
517
+ export const scan: JSX.Element;
518
+ export const read: JSX.Element;
519
+ export const qrCode: JSX.Element;
520
+ export const powerOff: JSX.Element;
521
+ export const phone: JSX.Element;
522
+ export const profile: JSX.Element;
523
+ export const project: JSX.Element;
524
+ export const message: JSX.Element;
525
+ export const lock: JSX.Element;
526
+ export const unlock: JSX.Element;
527
+ export const mail: JSX.Element;
528
+ export const line: JSX.Element;
529
+ const key_2: JSX.Element;
530
+ export { key_2 as key };
531
+ export const history: JSX.Element;
532
+ export const gift: JSX.Element;
533
+ export const folder: JSX.Element;
534
+ export const filter: JSX.Element;
535
+ export const download: JSX.Element;
536
+ const ellipsis_1: JSX.Element;
537
+ export { ellipsis_1 as ellipsis };
538
+ export const desktop: JSX.Element;
539
+ export const dashboard: JSX.Element;
540
+ export const contacts: JSX.Element;
541
+ export const clear: JSX.Element;
542
+ export const bell: JSX.Element;
543
+ export const undo: JSX.Element;
544
+ export const redo: JSX.Element;
545
+ export const form: JSX.Element;
546
+ const warning_2: JSX.Element;
547
+ export { warning_2 as warning };
548
+ export const question: JSX.Element;
549
+ export const logout: JSX.Element;
550
+ export const login: JSX.Element;
551
+ export const arrowUp: JSX.Element;
552
+ export const arrowDown: JSX.Element;
553
+ export const arrowLeft: JSX.Element;
554
+ export const arrowRight: JSX.Element;
555
+ export const swap: JSX.Element;
556
+ export const online: JSX.Element;
557
+ export const offline: JSX.Element;
558
+ export const up: JSX.Element;
559
+ export const upCircle: JSX.Element;
560
+ export const down: JSX.Element;
561
+ export const downCircle: JSX.Element;
562
+ export const left: JSX.Element;
563
+ export const leftCircle: JSX.Element;
564
+ export const right: JSX.Element;
565
+ export const rightCircle: JSX.Element;
566
+ }
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.dropdownExpandItemType = exports.drawerConfig = exports.defaultUserAvatar = exports.defaultEmptyImage = exports.datetimeFormat = exports.dataTypeCollection = exports.convertCollection = exports.contentConfig = exports.columnPlaceholder = exports.columnFacadeMode = exports.cardConfig = exports.authenticationFailCode = exports.appInitDefault = exports.apiSuccessCode = exports.animalType = exports.accessWaySpecialCollection = void 0;
7
7
  exports.empty = empty;
8
- exports.zeroString = exports.zeroInt = exports.whetherString = exports.whetherNumber = exports.unlimitedWithStringFlag = exports.unlimitedWithNumberFlag = exports.tabBarCollection = exports.sortOperate = exports.selectModeCollection = exports.searchCardConfig = exports.pageHeaderRenderType = exports.notificationTypeCollection = exports.mobileTypeCollection = exports.messageTypeCollection = exports.logShowMode = exports.logLevel = exports.listViewConfig = exports.imageContentPreviewMode = exports.formatCollection = exports.formNameCollection = exports.extraBuildType = exports.emptyLogo = exports.emptyDatetime = void 0;
8
+ exports.zeroString = exports.zeroInt = exports.whetherString = exports.whetherNumber = exports.unlimitedWithStringFlag = exports.unlimitedWithNumberFlag = exports.tabBarCollection = exports.sortOperate = exports.selectModeCollection = exports.searchCardConfig = exports.pageHeaderRenderType = exports.notificationTypeCollection = exports.mobileTypeCollection = exports.messageTypeCollection = exports.logShowMode = exports.logLevel = exports.listViewConfig = exports.imageContentPreviewMode = exports.iconCollection = exports.formatCollection = exports.formNameCollection = exports.extraBuildType = exports.emptyLogo = exports.emptyDatetime = void 0;
9
+
10
+ var _icons = require("@ant-design/icons");
9
11
 
10
12
  var _mediaDefault = require("./mediaDefault");
11
13
 
@@ -910,6 +912,87 @@ var mobileTypeCollection = {
910
912
  helper: ''
911
913
  }
912
914
  };
915
+ exports.mobileTypeCollection = mobileTypeCollection;
916
+ var iconCollection = {
917
+ help: /*#__PURE__*/React.createElement(_icons.InfoCircleOutlined, null),
918
+ add: /*#__PURE__*/React.createElement(_icons.PlusOutlined, null),
919
+ addCircle: /*#__PURE__*/React.createElement(_icons.PlusCircleOutlined, null),
920
+ reload: /*#__PURE__*/React.createElement(_icons.ReloadOutlined, null),
921
+ edit: /*#__PURE__*/React.createElement(_icons.EditOutlined, null),
922
+ enable: /*#__PURE__*/React.createElement(_icons.PlayCircleOutlined, null),
923
+ disable: /*#__PURE__*/React.createElement(_icons.PauseCircleOutlined, null),
924
+ delete: /*#__PURE__*/React.createElement(_icons.DeleteOutlined, null),
925
+ clock: /*#__PURE__*/React.createElement(_icons.ClockCircleOutlined, null),
926
+ close: /*#__PURE__*/React.createElement(_icons.CloseCircleOutlined, null),
927
+ copy: /*#__PURE__*/React.createElement(_icons.CopyOutlined, null),
928
+ eye: /*#__PURE__*/React.createElement(_icons.EyeOutlined, null),
929
+ export: /*#__PURE__*/React.createElement(_icons.ExportOutlined, null),
930
+ home: /*#__PURE__*/React.createElement(_icons.HomeOutlined, null),
931
+ import: /*#__PURE__*/React.createElement(_icons.ImportOutlined, null),
932
+ idCard: /*#__PURE__*/React.createElement(_icons.IdcardOutlined, null),
933
+ search: /*#__PURE__*/React.createElement(_icons.SearchOutlined, null),
934
+ setting: /*#__PURE__*/React.createElement(_icons.SettingOutlined, null),
935
+ tag: /*#__PURE__*/React.createElement(_icons.TagOutlined, null),
936
+ tags: /*#__PURE__*/React.createElement(_icons.TagsOutlined, null),
937
+ upload: /*#__PURE__*/React.createElement(_icons.UploadOutlined, null),
938
+ user: /*#__PURE__*/React.createElement(_icons.UserOutlined, null),
939
+ video: /*#__PURE__*/React.createElement(_icons.VideoCameraOutlined, null),
940
+ loading: /*#__PURE__*/React.createElement(_icons.LoadingOutlined, null),
941
+ users: /*#__PURE__*/React.createElement(_icons.TeamOutlined, null),
942
+ tool: /*#__PURE__*/React.createElement(_icons.ToolOutlined, null),
943
+ sync: /*#__PURE__*/React.createElement(_icons.SyncOutlined, null),
944
+ sound: /*#__PURE__*/React.createElement(_icons.SoundOutlined, null),
945
+ shop: /*#__PURE__*/React.createElement(_icons.ShopOutlined, null),
946
+ shoppingCart: /*#__PURE__*/React.createElement(_icons.ShoppingCartOutlined, null),
947
+ shopping: /*#__PURE__*/React.createElement(_icons.ShoppingOutlined, null),
948
+ schedule: /*#__PURE__*/React.createElement(_icons.ScheduleOutlined, null),
949
+ scan: /*#__PURE__*/React.createElement(_icons.ScanOutlined, null),
950
+ read: /*#__PURE__*/React.createElement(_icons.ReadOutlined, null),
951
+ qrCode: /*#__PURE__*/React.createElement(_icons.QrcodeOutlined, null),
952
+ powerOff: /*#__PURE__*/React.createElement(_icons.PoweroffOutlined, null),
953
+ phone: /*#__PURE__*/React.createElement(_icons.PhoneOutlined, null),
954
+ profile: /*#__PURE__*/React.createElement(_icons.ProfileOutlined, null),
955
+ project: /*#__PURE__*/React.createElement(_icons.ProjectOutlined, null),
956
+ message: /*#__PURE__*/React.createElement(_icons.MessageOutlined, null),
957
+ lock: /*#__PURE__*/React.createElement(_icons.LockOutlined, null),
958
+ unlock: /*#__PURE__*/React.createElement(_icons.UnlockOutlined, null),
959
+ mail: /*#__PURE__*/React.createElement(_icons.MailOutlined, null),
960
+ line: /*#__PURE__*/React.createElement(_icons.LineOutlined, null),
961
+ key: /*#__PURE__*/React.createElement(_icons.KeyOutlined, null),
962
+ history: /*#__PURE__*/React.createElement(_icons.HistoryOutlined, null),
963
+ gift: /*#__PURE__*/React.createElement(_icons.GiftOutlined, null),
964
+ folder: /*#__PURE__*/React.createElement(_icons.FolderOutlined, null),
965
+ filter: /*#__PURE__*/React.createElement(_icons.FilterOutlined, null),
966
+ download: /*#__PURE__*/React.createElement(_icons.DownloadOutlined, null),
967
+ ellipsis: /*#__PURE__*/React.createElement(_icons.EllipsisOutlined, null),
968
+ desktop: /*#__PURE__*/React.createElement(_icons.DesktopOutlined, null),
969
+ dashboard: /*#__PURE__*/React.createElement(_icons.DashboardOutlined, null),
970
+ contacts: /*#__PURE__*/React.createElement(_icons.ContactsOutlined, null),
971
+ clear: /*#__PURE__*/React.createElement(_icons.ClearOutlined, null),
972
+ bell: /*#__PURE__*/React.createElement(_icons.BellOutlined, null),
973
+ undo: /*#__PURE__*/React.createElement(_icons.UndoOutlined, null),
974
+ redo: /*#__PURE__*/React.createElement(_icons.RedoOutlined, null),
975
+ form: /*#__PURE__*/React.createElement(_icons.FormOutlined, null),
976
+ warning: /*#__PURE__*/React.createElement(_icons.WarningOutlined, null),
977
+ question: /*#__PURE__*/React.createElement(_icons.QuestionCircleFilled, null),
978
+ logout: /*#__PURE__*/React.createElement(_icons.LogoutOutlined, null),
979
+ login: /*#__PURE__*/React.createElement(_icons.LoginOutlined, null),
980
+ arrowUp: /*#__PURE__*/React.createElement(_icons.ArrowUpOutlined, null),
981
+ arrowDown: /*#__PURE__*/React.createElement(_icons.ArrowDownOutlined, null),
982
+ arrowLeft: /*#__PURE__*/React.createElement(_icons.ArrowLeftOutlined, null),
983
+ arrowRight: /*#__PURE__*/React.createElement(_icons.ArrowRightOutlined, null),
984
+ swap: /*#__PURE__*/React.createElement(_icons.SwapOutlined, null),
985
+ online: /*#__PURE__*/React.createElement(_icons.VerticalAlignTopOutlined, null),
986
+ offline: /*#__PURE__*/React.createElement(_icons.VerticalAlignBottomOutlined, null),
987
+ up: /*#__PURE__*/React.createElement(_icons.UpOutlined, null),
988
+ upCircle: /*#__PURE__*/React.createElement(_icons.UpCircleOutlined, null),
989
+ down: /*#__PURE__*/React.createElement(_icons.DownOutlined, null),
990
+ downCircle: /*#__PURE__*/React.createElement(_icons.DownCircleOutlined, null),
991
+ left: /*#__PURE__*/React.createElement(_icons.LeftOutlined, null),
992
+ leftCircle: /*#__PURE__*/React.createElement(_icons.LeftCircleOutlined, null),
993
+ right: /*#__PURE__*/React.createElement(_icons.RightOutlined, null),
994
+ rightCircle: /*#__PURE__*/React.createElement(_icons.RightCircleOutlined, null)
995
+ };
913
996
  /**
914
997
  * 占位函数
915
998
  *
@@ -917,7 +1000,7 @@ var mobileTypeCollection = {
917
1000
  * @returns
918
1001
  */
919
1002
 
920
- exports.mobileTypeCollection = mobileTypeCollection;
1003
+ exports.iconCollection = iconCollection;
921
1004
 
922
1005
  function empty() {
923
1006
  return {};
@@ -6,6 +6,14 @@ export function isBrowser(): boolean;
6
6
  * 检测目标是否在数组址之中
7
7
  */
8
8
  export function inCollection(collection: any, value: any): boolean;
9
+ /**
10
+ * base64解码
11
+ */
12
+ export function decodeBase64(target: any): any;
13
+ /**
14
+ * base64编码
15
+ */
16
+ export function encodeBase64(target: any): string;
9
17
  /**
10
18
  * 占位函数
11
19
  *
package/es/utils/core.js CHANGED
@@ -3,7 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.decodeBase64 = decodeBase64;
6
7
  exports.empty = empty;
8
+ exports.encodeBase64 = encodeBase64;
7
9
  exports.inCollection = inCollection;
8
10
  exports.isBrowser = isBrowser;
9
11
  exports.replace = replace;
@@ -51,6 +53,25 @@ function inCollection(collection, value) {
51
53
  });
52
54
  return result;
53
55
  }
56
+ /**
57
+ * base64解码
58
+ */
59
+
60
+
61
+ function decodeBase64(target) {
62
+ var commonContent = (target || '').replace(/\s/g, '+');
63
+ commonContent = Buffer.from(commonContent, 'base64').toString();
64
+ return commonContent;
65
+ }
66
+ /**
67
+ * base64编码
68
+ */
69
+
70
+
71
+ function encodeBase64(target) {
72
+ var base64Content = Buffer.from(target).toString('base64');
73
+ return base64Content;
74
+ }
54
75
  /**
55
76
  * 占位函数
56
77
  *
@@ -11,6 +11,8 @@ exports.removeLocalStorage = removeLocalStorage;
11
11
  exports.saveJsonToLocalStorage = saveJsonToLocalStorage;
12
12
  exports.saveStringToLocalStorage = saveStringToLocalStorage;
13
13
 
14
+ var _core = require("./core");
15
+
14
16
  /**
15
17
  * 获取LocalStorage数据
16
18
  * @export
@@ -25,8 +27,8 @@ function getStringFromLocalStorage(key) {
25
27
  return value;
26
28
  }
27
29
 
28
- var decode = decodeBase64(value);
29
- var v = encodeBase64(decode);
30
+ var decode = (0, _core.decodeBase64)(value);
31
+ var v = (0, _core.encodeBase64)(decode);
30
32
 
31
33
  if (value !== v) {
32
34
  return null;
@@ -65,7 +67,7 @@ function saveStringToLocalStorage(key, value) {
65
67
  if (process.env.NODE_ENV === 'development') {
66
68
  storage.setItem(key, value);
67
69
  } else {
68
- storage.setItem(key, encodeBase64(value));
70
+ storage.setItem(key, (0, _core.encodeBase64)(value));
69
71
  }
70
72
  }
71
73
  /**
@@ -11,6 +11,8 @@ exports.removeSessionStorage = removeSessionStorage;
11
11
  exports.saveJsonToSessionStorage = saveJsonToSessionStorage;
12
12
  exports.saveStringToSessionStorage = saveStringToSessionStorage;
13
13
 
14
+ var _core = require("./core");
15
+
14
16
  /**
15
17
  * 获取SessionStorage数据
16
18
  * @export
@@ -25,8 +27,8 @@ function getStringFromSessionStorage(key) {
25
27
  return value;
26
28
  }
27
29
 
28
- var decode = decodeBase64(value);
29
- var v = encodeBase64(decode);
30
+ var decode = (0, _core.decodeBase64)(value);
31
+ var v = (0, _core.encodeBase64)(decode);
30
32
 
31
33
  if (value !== v) {
32
34
  return null;
@@ -65,7 +67,7 @@ function saveStringToSessionStorage(key, value) {
65
67
  if (process.env.NODE_ENV === 'development') {
66
68
  storage.setItem(key, value);
67
69
  } else {
68
- storage.setItem(key, encodeBase64(value));
70
+ storage.setItem(key, (0, _core.encodeBase64)(value));
69
71
  }
70
72
  }
71
73
  /**
@@ -616,6 +616,11 @@ export function decodeBase64(target: any): any;
616
616
  * base64编码
617
617
  */
618
618
  export function encodeBase64(target: any): string;
619
+ /**
620
+ * 补零
621
+ * @param {*} val
622
+ * @returns
623
+ */
619
624
  export function fixedZero(val: any): any;
620
625
  /**
621
626
  * getTimeDistance
package/es/utils/tools.js CHANGED
@@ -1700,9 +1700,7 @@ function stringIsNullOrWhiteSpace(value) {
1700
1700
 
1701
1701
 
1702
1702
  function decodeBase64(target) {
1703
- var commonContent = (target || '').replace(/\s/g, '+');
1704
- commonContent = Buffer.from(commonContent, 'base64').toString();
1705
- return commonContent;
1703
+ return (0, _core.decodeBase64)(target);
1706
1704
  }
1707
1705
  /**
1708
1706
  * base64编码
@@ -1710,9 +1708,14 @@ function decodeBase64(target) {
1710
1708
 
1711
1709
 
1712
1710
  function encodeBase64(target) {
1713
- var base64Content = Buffer.from(target).toString('base64');
1714
- return base64Content;
1711
+ return (0, _core.encodeBase64)(target);
1715
1712
  }
1713
+ /**
1714
+ * 补零
1715
+ * @param {*} val
1716
+ * @returns
1717
+ */
1718
+
1716
1719
 
1717
1720
  function fixedZero(val) {
1718
1721
  return val * 1 < 10 ? "0".concat(val) : val;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "1.12.61",
3
+ "version": "1.12.64",
4
4
  "description": "antd-management-fast-framework",
5
5
  "keywords": [
6
6
  "antd-management-fast-framework"
@@ -169,7 +169,7 @@
169
169
  "eslint-config-prettier": "^8.5.0",
170
170
  "eslint-plugin-eslint-comments": "^3.2.0",
171
171
  "eslint-plugin-import": "^2.26.0",
172
- "eslint-plugin-jest": "^26.4.2",
172
+ "eslint-plugin-jest": "^26.4.5",
173
173
  "eslint-plugin-jsx-a11y": "^6.5.1",
174
174
  "eslint-plugin-prettier": "^4.0.0",
175
175
  "eslint-plugin-react": "^7.30.0",
@@ -219,7 +219,7 @@
219
219
  "src/framework",
220
220
  "src/utils"
221
221
  ],
222
- "gitHead": "45f18deaf8123fe55caee8ff0b5c4d50fbbf6436",
222
+ "gitHead": "92cfc6b7d294139bce81505a9d8ec23ad2cc7c6f",
223
223
  "gitHooks": {
224
224
  "pre-commit": "lint-staged"
225
225
  }