tplus-member 3.36.1 → 3.36.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/api.js.map +1 -1
  3. package/dist/controllers/FeedbackController.js.map +1 -1
  4. package/dist/controllers/MemberOrderController.js +12 -12
  5. package/dist/controllers/MemberOrderController.js.map +1 -1
  6. package/dist/controllers/OpenCardController.js +7 -7
  7. package/dist/controllers/OpenCardController.js.map +1 -1
  8. package/dist/controllers/defaultConfig.js.map +1 -1
  9. package/dist/dataProvider/member.js +7 -7
  10. package/dist/dataProvider/member.js.map +1 -1
  11. package/dist/dataProvider/openCard.js.map +1 -1
  12. package/dist/domain/member/AuthProcess.js.map +1 -1
  13. package/dist/domain/member/CardCodeChangedProcessor.js +2 -2
  14. package/dist/domain/member/CardCodeChangedProcessor.js.map +1 -1
  15. package/dist/domain/member/CheckCardCodeAndCodeProcessor.js +2 -2
  16. package/dist/domain/member/CheckCardCodeAndCodeProcessor.js.map +1 -1
  17. package/dist/domain/member/CheckMobilephoneFormatProcessor.js +2 -2
  18. package/dist/domain/member/CheckMobilephoneFormatProcessor.js.map +1 -1
  19. package/dist/domain/member/CheckPresentAmountProcessor.js +2 -2
  20. package/dist/domain/member/CheckPresentAmountProcessor.js.map +1 -1
  21. package/dist/domain/member/EffectiveDateChangedProcessor.js +2 -2
  22. package/dist/domain/member/EffectiveDateChangedProcessor.js.map +1 -1
  23. package/dist/domain/member/GetThisPresentAmountProcessor.js +2 -2
  24. package/dist/domain/member/GetThisPresentAmountProcessor.js.map +1 -1
  25. package/dist/domain/member/InitDataProcessor.js +123 -123
  26. package/dist/domain/member/InitDataProcessor.js.map +1 -1
  27. package/dist/domain/member/IsMemberEffectiveProcessor.js +2 -2
  28. package/dist/domain/member/IsMemberEffectiveProcessor.js.map +1 -1
  29. package/dist/domain/member/IsMemberEnableProcessor.js +2 -2
  30. package/dist/domain/member/IsMemberEnableProcessor.js.map +1 -1
  31. package/dist/domain/member/IsMemberExpirationProcessor.js +2 -2
  32. package/dist/domain/member/IsMemberExpirationProcessor.js.map +1 -1
  33. package/dist/domain/member/IsMemberPasswordSameProcessor.js +2 -2
  34. package/dist/domain/member/IsMemberPasswordSameProcessor.js.map +1 -1
  35. package/dist/domain/member/IsMemberStorageForStoreProcessor.js +3 -3
  36. package/dist/domain/member/IsMemberStorageForStoreProcessor.js.map +1 -1
  37. package/dist/domain/member/MemberTypeChangedProcessor.js +4 -4
  38. package/dist/domain/member/MemberTypeChangedProcessor.js.map +1 -1
  39. package/dist/domain/member/MobilephoneChangedProcessor.js +4 -4
  40. package/dist/domain/member/MobilephoneChangedProcessor.js.map +1 -1
  41. package/dist/domain/member/PersonProcesser.js.map +1 -1
  42. package/dist/domain/member/PriuserdefChangedProcessor.js +2 -2
  43. package/dist/domain/member/PriuserdefChangedProcessor.js.map +1 -1
  44. package/dist/domain/operationLog/AddLogProcessor.js +6 -6
  45. package/dist/domain/operationLog/AddLogProcessor.js.map +1 -1
  46. package/dist/domain/operationLog/OperationConfig.js.map +1 -1
  47. package/dist/domain/operationLog/OperationLog.js.map +1 -1
  48. package/dist/index.js +6 -1
  49. package/dist/index.js.map +1 -1
  50. package/dist/member/MemberCardList.js +393 -0
  51. package/dist/member/MemberCardList.js.map +1 -0
  52. package/dist/member/MemberPhoto.js.map +1 -1
  53. package/dist/member/MemberShow.js +3 -1
  54. package/dist/member/MemberShow.js.map +1 -1
  55. package/dist/member/ShopMember.js +418 -322
  56. package/dist/member/ShopMember.js.map +1 -1
  57. package/dist/member/ShopMember.less +636 -531
  58. package/dist/member/ShopMemberStorage.js +451 -0
  59. package/dist/member/ShopMemberStorage.js.map +1 -0
  60. package/dist/member/api.js +277 -42
  61. package/dist/member/api.js.map +1 -1
  62. package/dist/member/color.less +31 -31
  63. package/dist/member/index.js +271 -172
  64. package/dist/member/index.js.map +1 -1
  65. package/dist/member/index.less +570 -570
  66. package/dist/member/memberMenu/bindCard/index.js +295 -0
  67. package/dist/member/memberMenu/bindCard/index.js.map +1 -0
  68. package/dist/member/memberMenu/bindCard/style.less +8 -0
  69. package/dist/member/memberMenu/changeMemberCard/index.js.map +1 -1
  70. package/dist/member/memberMenu/changeMemberCard/style.less +42 -42
  71. package/dist/member/memberMenu/index.js +504 -345
  72. package/dist/member/memberMenu/index.js.map +1 -1
  73. package/dist/member/memberMenu/modifyPass/index.js +3 -2
  74. package/dist/member/memberMenu/modifyPass/index.js.map +1 -1
  75. package/dist/member/memberMenu/modifyPass/store.js.map +1 -1
  76. package/dist/member/memberMenu/modifyPass/style.less +96 -96
  77. package/dist/member/memberMenu/style.less +137 -85
  78. package/dist/member/memberMenuStorage/bindCard/index.js +172 -0
  79. package/dist/member/memberMenuStorage/bindCard/index.js.map +1 -0
  80. package/dist/member/memberMenuStorage/bindCard/style.less +8 -0
  81. package/dist/member/memberMenuStorage/changeMemberCard/index.js +260 -0
  82. package/dist/member/memberMenuStorage/changeMemberCard/index.js.map +1 -0
  83. package/dist/member/memberMenuStorage/changeMemberCard/style.less +43 -0
  84. package/dist/member/memberMenuStorage/index.js +1807 -0
  85. package/dist/member/memberMenuStorage/index.js.map +1 -0
  86. package/dist/member/memberMenuStorage/modifyPass/index.js +423 -0
  87. package/dist/member/memberMenuStorage/modifyPass/index.js.map +1 -0
  88. package/dist/member/memberMenuStorage/modifyPass/store.js +426 -0
  89. package/dist/member/memberMenuStorage/modifyPass/store.js.map +1 -0
  90. package/dist/member/memberMenuStorage/modifyPass/style.less +96 -0
  91. package/dist/member/memberMenuStorage/style.less +139 -0
  92. package/dist/member/memberTab/MemberCardInfo.js +89 -0
  93. package/dist/member/memberTab/MemberCardInfo.js.map +1 -0
  94. package/dist/member/memberTab/MemberManager.js +640 -0
  95. package/dist/member/memberTab/MemberManager.js.map +1 -0
  96. package/dist/member/memberTab/MemberStorage.js +176 -0
  97. package/dist/member/memberTab/MemberStorage.js.map +1 -0
  98. package/dist/member/memberTab/index.js +133 -0
  99. package/dist/member/memberTab/index.js.map +1 -0
  100. package/dist/member/memberTab.js +58 -11
  101. package/dist/member/memberTab.js.map +1 -1
  102. package/dist/socket.js +13 -13
  103. package/dist/socket.js.map +1 -1
  104. package/dist/stores/MemberStore.js +87 -5
  105. package/dist/stores/MemberStore.js.map +1 -1
  106. package/dist/stores/index.js.map +1 -1
  107. package/dist/utils.js +15 -1
  108. package/dist/utils.js.map +1 -1
  109. package/dist/viewController/MemberOrderViewController.js.map +1 -1
  110. package/dist/viewDoMain/CheckMemberProcessorBlock.js +2 -2
  111. package/dist/viewDoMain/CheckMemberProcessorBlock.js.map +1 -1
  112. package/dist/viewDoMain/CheckMemberStorageProcessorBlock.js +2 -2
  113. package/dist/viewDoMain/CheckMemberStorageProcessorBlock.js.map +1 -1
  114. package/dist/viewDoMain/CheckSelectMemberProcessorBlock.js +2 -2
  115. package/dist/viewDoMain/CheckSelectMemberProcessorBlock.js.map +1 -1
  116. package/dist/viewDoMain/CheckUpdatePasswordProcessorBlock.js.map +1 -1
  117. package/dist/viewDoMain/MemberDataChangedProcessorBlock.js +2 -2
  118. package/dist/viewDoMain/MemberDataChangedProcessorBlock.js.map +1 -1
  119. package/dist/viewDoMain/MemberDataPreSaveProcessorBlock.js +2 -2
  120. package/dist/viewDoMain/MemberDataPreSaveProcessorBlock.js.map +1 -1
  121. package/dist/viewDoMain/StorageAmountChangedProcessorBlock.js +3 -2
  122. package/dist/viewDoMain/StorageAmountChangedProcessorBlock.js.map +1 -1
  123. package/dist/viewModels/memberVoucher.js +3 -3
  124. package/dist/viewModels/memberVoucher.js.map +1 -1
  125. package/dist/views/MemberOrderView.js +6 -6
  126. package/dist/views/MemberOrderView.js.map +1 -1
  127. package/dist/views/MemberStore.less +143 -143
  128. package/dist/views/MemberStoreNew.less +228 -230
  129. package/dist/views/MemberStoreNewView.js +15 -27
  130. package/dist/views/MemberStoreNewView.js.map +1 -1
  131. package/dist/views/MemberStoreView.js.map +1 -1
  132. package/dist/views/MemberStoreViewContainer.js.map +1 -1
  133. package/dist/views/PresentDetail.less +118 -118
  134. package/dist/views/PresetDetailView.js.map +1 -1
  135. package/dist/views/memberOrder.less +54 -54
  136. package/locales/zh/tplus-portsetting.json +1 -1
  137. package/locales/zh-CN/tplus-portsetting.json +1 -1
  138. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _card = require('antd/es/card');
8
+
9
+ var _card2 = _interopRequireDefault(_card);
10
+
11
+ var _extends2 = require('babel-runtime/helpers/extends');
12
+
13
+ var _extends3 = _interopRequireDefault(_extends2);
14
+
15
+ exports.default = MemberCardInfo;
16
+
17
+ require('antd/es/card/style');
18
+
19
+ var _react = require('react');
20
+
21
+ var _react2 = _interopRequireDefault(_react);
22
+
23
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
24
+
25
+ function MemberCardInfoItem(props) {
26
+ return _react2.default.createElement(
27
+ 'div',
28
+ null,
29
+ props.label && _react2.default.createElement(
30
+ 'span',
31
+ null,
32
+ props.label || ''
33
+ ),
34
+ props.label && _react2.default.createElement(
35
+ 'span',
36
+ { 'data-overflow': 'tip' },
37
+ '\uFF1A',
38
+ props.value || ''
39
+ )
40
+ );
41
+ } // 卡信息组件
42
+ function MemberCardInfo(props) {
43
+ var _ref = props || {},
44
+ _ref$list = _ref.list,
45
+ list = _ref$list === undefined ? [] : _ref$list,
46
+ title = _ref.title,
47
+ _ref$memberList = _ref.memberList,
48
+ memberList = _ref$memberList === undefined ? [] : _ref$memberList,
49
+ keyName = _ref.keyName,
50
+ storeKey = _ref.storeKey,
51
+ cardList = _ref.cardList;
52
+
53
+ list.length % 2 && list.push({}); //奇数补全
54
+ return _react2.default.createElement(
55
+ _card2.default,
56
+ {
57
+ title: title,
58
+ bordered: false,
59
+ className: 'card-member-card',
60
+ bodyStyle: { 'padding': 0 },
61
+ headStyle: { borderColor: '#C8C8CD' }
62
+ },
63
+ storeKey === 'memberManager' && !!memberList.length && _react2.default.createElement(
64
+ 'div',
65
+ { className: 'member-info-table' },
66
+ list.map(function (item) {
67
+ return _react2.default.createElement(MemberCardInfoItem, (0, _extends3.default)({ key: keyName + item.label }, item));
68
+ }),
69
+ !memberList.length && _react2.default.createElement(
70
+ 'p',
71
+ { className: 'empty-data', style: { position: 'relative', transform: 'translateY(5px)' } },
72
+ '\u6682\u65E0\u6570\u636E~'
73
+ )
74
+ ),
75
+ storeKey === 'memberStorage' && !!cardList.length && _react2.default.createElement(
76
+ 'div',
77
+ { className: 'member-info-table' },
78
+ list.map(function (item) {
79
+ return _react2.default.createElement(MemberCardInfoItem, (0, _extends3.default)({ key: keyName + item.label }, item));
80
+ }),
81
+ !list.length && _react2.default.createElement(
82
+ 'p',
83
+ { className: 'empty-data', style: { position: 'relative', transform: 'translateY(10px)' } },
84
+ '\u6682\u65E0\u6570\u636E~'
85
+ )
86
+ )
87
+ );
88
+ }
89
+ //# sourceMappingURL=MemberCardInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["tplus-member/member/memberTab/MemberCardInfo.js"],"names":["MemberCardInfo","MemberCardInfoItem","props","label","value","list","title","memberList","keyName","storeKey","cardList","length","push","borderColor","map","item","position","transform"],"mappings":";;;;;;;;;;;;;;kBAawBA,c;;;;AAZxB;;;;;;AAGA,SAASC,kBAAT,CAA4BC,KAA5B,EAAmC;AAC/B,WACI;AAAA;AAAA;AACKA,cAAMC,KAAN,IAAe;AAAA;AAAA;AAAOD,kBAAMC,KAAN,IAAe;AAAtB,SADpB;AAEKD,cAAMC,KAAN,IAAe;AAAA;AAAA,cAAM,iBAAc,KAApB;AAAA;AAA4BD,kBAAME,KAAN,IAAe;AAA3C;AAFpB,KADJ;AAMH,C,CAXD;AAae,SAASJ,cAAT,CAAwBE,KAAxB,EAA+B;AAAA,eAC6BA,SAAS,EADtC;AAAA,yBAClCG,IADkC;AAAA,QAClCA,IADkC,6BAC7B,EAD6B;AAAA,QACzBC,KADyB,QACzBA,KADyB;AAAA,+BAClBC,UADkB;AAAA,QAClBA,UADkB,mCACP,EADO;AAAA,QACHC,OADG,QACHA,OADG;AAAA,QACMC,QADN,QACMA,QADN;AAAA,QACgBC,QADhB,QACgBA,QADhB;;AAE1CL,SAAKM,MAAL,GAAc,CAAd,IAAmBN,KAAKO,IAAL,CAAU,EAAV,CAAnB,CAF0C,CAER;AAClC,WACI;AAAA;AAAA;AACI,mBAAON,KADX;AAEI,sBAAU,KAFd;AAGI,uBAAU,kBAHd;AAII,uBAAW,EAAC,WAAW,CAAZ,EAJf;AAKI,uBAAW,EAACO,aAAa,SAAd;AALf;AAQQJ,qBAAa,eAAb,IAAgC,CAAC,CAACF,WAAWI,MAA7C,IAAuD;AAAA;AAAA,cAAK,WAAU,mBAAf;AAE/CN,iBAAKS,GAAL,CAAS,gBAAQ;AACb,uBACI,8BAAC,kBAAD,2BAAoB,KAAKN,UAAUO,KAAKZ,KAAxC,IAAmDY,IAAnD,EADJ;AAGH,aAJD,CAF+C;AAS/C,aAACR,WAAWI,MAAZ,IAAsB;AAAA;AAAA,kBAAG,WAAU,YAAb,EAA0B,OAAO,EAACK,UAAU,UAAX,EAAuBC,WAAW,iBAAlC,EAAjC;AAAA;AAAA;AATyB,SAR/D;AAuBQR,qBAAa,eAAb,IAAgC,CAAC,CAACC,SAASC,MAA3C,IAAqD;AAAA;AAAA,cAAK,WAAU,mBAAf;AAEjDN,iBAAKS,GAAL,CAAS,gBAAQ;AACb,uBACI,8BAAC,kBAAD,2BAAoB,KAAKN,UAAUO,KAAKZ,KAAxC,IAAmDY,IAAnD,EADJ;AAGH,aAJD,CAFiD;AASjD,aAACV,KAAKM,MAAN,IAAgB;AAAA;AAAA,kBAAG,WAAU,YAAb,EAA0B,OAAO,EAACK,UAAU,UAAX,EAAuBC,WAAW,kBAAlC,EAAjC;AAAA;AAAA;AATiC;AAvB7D,KADJ;AAyCH","file":"MemberCardInfo.js","sourcesContent":["// 卡信息组件\nimport React from 'react'\nimport { Card } from 'antd';\n\nfunction MemberCardInfoItem(props) {\n return (\n <div>\n {props.label && <span>{props.label || ''}</span>}\n {props.label && <span data-overflow='tip'>:{props.value || ''}</span>}\n </div>\n )\n}\n\nexport default function MemberCardInfo(props) {\n const { list=[], title, memberList=[], keyName, storeKey, cardList } = props || {}\n list.length % 2 && list.push({}); //奇数补全\n return (\n <Card \n title={title}\n bordered={false} \n className=\"card-member-card\"\n bodyStyle={{'padding': 0}}\n headStyle={{borderColor: '#C8C8CD'}}\n >\n {\n storeKey === 'memberManager' && !!memberList.length && <div className='member-info-table'>\n {\n list.map(item => { \n return (\n <MemberCardInfoItem key={keyName + item.label} {...item} />\n )\n })\n }\n {\n !memberList.length && <p className='empty-data' style={{position: 'relative', transform: 'translateY(5px)'}}>暂无数据~</p>\n }\n </div>\n }\n\n {\n storeKey === 'memberStorage' && !!cardList.length && <div className='member-info-table'>\n {\n list.map(item => { \n return (\n <MemberCardInfoItem key={keyName + item.label} {...item} />\n )\n })\n }\n {\n !list.length && <p className='empty-data' style={{position: 'relative', transform: 'translateY(10px)'}}>暂无数据~</p>\n }\n </div>\n \n }\n \n </Card>\n )\n}\n"]}