@pisell/materials 2.2.73 → 2.2.75

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.
Files changed (169) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +28 -24
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +29 -25
  11. package/es/components/batch-editor/index.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  14. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  15. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  16. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  19. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  20. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  24. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/index.d.ts +4 -5
  26. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  27. package/es/components/date-picker/index.d.ts +0 -1
  28. package/es/components/filter/index.d.ts +0 -1
  29. package/es/components/list/index.d.ts +0 -1
  30. package/es/components/lowCodePage/index.d.ts +0 -1
  31. package/es/components/page/index.d.ts +0 -1
  32. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  33. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  34. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  35. package/es/components/pisellInput/index.d.ts +0 -1
  36. package/es/components/pisellLoading/index.d.ts +0 -1
  37. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  38. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  39. package/es/components/pisellModal/components/index.d.ts +0 -1
  40. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  41. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  42. package/es/components/productCard/components/Header/index.d.ts +0 -1
  43. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  44. package/es/components/productCard/components/Note/index.d.ts +0 -1
  45. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  46. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  47. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  48. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  49. package/es/components/qrcode/index.d.ts +0 -1
  50. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  51. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  52. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  53. package/es/components/table/Actions/index.d.ts +0 -1
  54. package/es/components/table/BasicTable/index.d.ts +0 -1
  55. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  56. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  57. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  58. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  59. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  60. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  61. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  62. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  63. package/es/components/table/Table/fields/index.d.ts +2 -3
  64. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  80. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  81. package/es/components/table/Table/utils.d.ts +1 -1
  82. package/es/components/table/View/index.d.ts +0 -1
  83. package/es/components/versionSelect/index.d.ts +0 -1
  84. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  85. package/es/components/walletCard/Guide/index.d.ts +3 -0
  86. package/es/components/walletCard/Guide/index.js +87 -0
  87. package/es/components/walletCard/Guide/index.less +71 -0
  88. package/es/components/walletCard/index.d.ts +2 -0
  89. package/es/components/walletCard/index.js +14 -6
  90. package/lib/components/batch-editor/index.d.ts +0 -1
  91. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  92. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  93. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  94. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  95. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  96. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  97. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  98. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  99. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  100. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  101. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  102. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  103. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  104. package/lib/components/dataSourceComponents/fields/index.d.ts +4 -5
  105. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  106. package/lib/components/date-picker/index.d.ts +0 -1
  107. package/lib/components/filter/index.d.ts +0 -1
  108. package/lib/components/list/index.d.ts +0 -1
  109. package/lib/components/lowCodePage/index.d.ts +0 -1
  110. package/lib/components/page/index.d.ts +0 -1
  111. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  112. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  113. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  114. package/lib/components/pisellInput/index.d.ts +0 -1
  115. package/lib/components/pisellLoading/index.d.ts +0 -1
  116. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  117. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  118. package/lib/components/pisellModal/components/index.d.ts +0 -1
  119. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  120. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  121. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  122. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  123. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  124. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  125. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  126. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  127. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  128. package/lib/components/qrcode/index.d.ts +0 -1
  129. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  130. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  131. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  132. package/lib/components/table/Actions/index.d.ts +0 -1
  133. package/lib/components/table/BasicTable/index.d.ts +0 -1
  134. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  135. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  136. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  137. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  138. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  139. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  140. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  141. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  142. package/lib/components/table/Table/fields/index.d.ts +2 -3
  143. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  144. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  145. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  146. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  147. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  148. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  149. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  150. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  151. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  152. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  153. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  154. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  155. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  156. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  157. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  158. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  159. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  160. package/lib/components/table/Table/utils.d.ts +1 -1
  161. package/lib/components/table/View/index.d.ts +0 -1
  162. package/lib/components/versionSelect/index.d.ts +0 -1
  163. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  164. package/lib/components/walletCard/Guide/index.d.ts +3 -0
  165. package/lib/components/walletCard/Guide/index.js +136 -0
  166. package/lib/components/walletCard/Guide/index.less +71 -0
  167. package/lib/components/walletCard/index.d.ts +2 -0
  168. package/lib/components/walletCard/index.js +9 -4
  169. package/package.json +3 -3
@@ -0,0 +1,87 @@
1
+ import React, { useMemo } from 'react';
2
+ import useEngineContext from "../../../hooks/useEngineContext";
3
+ import Button from "../../button";
4
+ import "./index.less";
5
+ var Guide = function Guide(props) {
6
+ var _utils$translation, _utils$translation2, _utils$translation3, _utils$translation4, _utils$translation5, _setting$titleConfig, _utils$translation6, _setting$subtitleConf, _utils$translation7, _setting$buttonConfig, _utils$translation8, _setting$buttonConfig2;
7
+ var setting = props.setting;
8
+ var context = useEngineContext();
9
+ var _ref = context.appHelper || {},
10
+ utils = _ref.utils;
11
+
12
+ /**
13
+ * @title: 样式处理
14
+ * @description:
15
+ * @param {any} config
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-03-13 15:39
19
+ */
20
+ var getTextStyle = function getTextStyle(config, otherConfig) {
21
+ return {
22
+ color: (config === null || config === void 0 ? void 0 : config.color) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.color) || '#fff',
23
+ fontSize: (config === null || config === void 0 ? void 0 : config.size) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.size) || 14,
24
+ fontWeight: (config === null || config === void 0 ? void 0 : config.weight) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.weight) || 400,
25
+ fontStyle: (config === null || config === void 0 ? void 0 : config.style) || 'normal'
26
+ };
27
+ };
28
+ var _setting = useMemo(function () {
29
+ return (setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig) || {};
30
+ }, [setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig]);
31
+
32
+ /**
33
+ * @title: 跳转链接
34
+ * @description:
35
+ * @return {*}
36
+ * @Author: WangHan
37
+ * @Date: 2025-06-09 14:36
38
+ */
39
+ var handleClick = function handleClick(e) {
40
+ var _setting$skipLink;
41
+ e.stopPropagation();
42
+ if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
43
+ utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
44
+ };
45
+ return /*#__PURE__*/React.createElement("div", {
46
+ className: "pisell-wallet-guide-wrap",
47
+ style: {
48
+ backgroundColor: _setting === null || _setting === void 0 ? void 0 : _setting.backgroundColor
49
+ },
50
+ onClick: function onClick(e) {
51
+ return handleClick(e);
52
+ }
53
+ }, utils !== null && utils !== void 0 && (_utils$translation = utils.translation) !== null && _utils$translation !== void 0 && _utils$translation.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImage) ? /*#__PURE__*/React.createElement("img", {
54
+ className: "pisell-wallet-guide-bg",
55
+ src: (utils === null || utils === void 0 || (_utils$translation2 = utils.translation) === null || _utils$translation2 === void 0 ? void 0 : _utils$translation2.call(utils, _setting.backgroundImage)) || '',
56
+ alt: (utils === null || utils === void 0 || (_utils$translation3 = utils.translation) === null || _utils$translation3 === void 0 ? void 0 : _utils$translation3.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || '',
57
+ title: (utils === null || utils === void 0 || (_utils$translation4 = utils.translation) === null || _utils$translation4 === void 0 ? void 0 : _utils$translation4.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || ''
58
+ }) : null, /*#__PURE__*/React.createElement("div", {
59
+ className: "pisell-wallet-guide-content ".concat(_setting.align === 'center' ? 'pisell-wallet-guide-center' : '')
60
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
61
+ className: "pisell-wallet-guide-title",
62
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.titleConfig, {
63
+ size: 18,
64
+ weight: 600
65
+ })
66
+ }, (utils === null || utils === void 0 || (_utils$translation5 = utils.translation) === null || _utils$translation5 === void 0 ? void 0 : _utils$translation5.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.title) || (_setting === null || _setting === void 0 || (_setting$titleConfig = _setting.titleConfig) === null || _setting$titleConfig === void 0 ? void 0 : _setting$titleConfig.text))) || ''), /*#__PURE__*/React.createElement("div", {
67
+ className: "pisell-wallet-guide-subtitle",
68
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.subtitleConfig, {
69
+ color: '#D0D5DD'
70
+ })
71
+ }, (utils === null || utils === void 0 || (_utils$translation6 = utils.translation) === null || _utils$translation6 === void 0 ? void 0 : _utils$translation6.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.subtitle) || (_setting === null || _setting === void 0 || (_setting$subtitleConf = _setting.subtitleConfig) === null || _setting$subtitleConf === void 0 ? void 0 : _setting$subtitleConf.text))) || '')), utils !== null && utils !== void 0 && (_utils$translation7 = utils.translation) !== null && _utils$translation7 !== void 0 && _utils$translation7.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig = _setting.buttonConfig) === null || _setting$buttonConfig === void 0 ? void 0 : _setting$buttonConfig.text)) ? /*#__PURE__*/React.createElement("div", {
72
+ className: "pisell-wallet-guide-button-wrap"
73
+ }, /*#__PURE__*/React.createElement(Button, {
74
+ style: {
75
+ backgroundColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonColor) || '#7F56D9',
76
+ borderColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonBorderColor) || '#7F56D9'
77
+ },
78
+ onClick: function onClick(e) {
79
+ return handleClick(e);
80
+ }
81
+ }, /*#__PURE__*/React.createElement("div", {
82
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.buttonConfig, {
83
+ weight: 600
84
+ })
85
+ }, (utils === null || utils === void 0 || (_utils$translation8 = utils.translation) === null || _utils$translation8 === void 0 ? void 0 : _utils$translation8.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig2 = _setting.buttonConfig) === null || _setting$buttonConfig2 === void 0 ? void 0 : _setting$buttonConfig2.text))) || ''))) : null));
86
+ };
87
+ export default Guide;
@@ -0,0 +1,71 @@
1
+ .pisell-wallet-guide-wrap {
2
+ background-repeat: no-repeat;
3
+ background-position: center center;
4
+ background-size: contain;
5
+ overflow: hidden;
6
+ position: relative;
7
+ min-height: 136px;
8
+ display: flex;
9
+ padding: 16px 18px;
10
+
11
+ .pisell-wallet-guide-bg {
12
+ position: absolute;
13
+ top: 50%;
14
+ left: 50%;
15
+ transform: translate(-50%, -50%);
16
+ width: 100%;
17
+ height: 100%;
18
+ object-fit: contain;
19
+ }
20
+
21
+ .pisell-wallet-guide-content {
22
+ position: relative;
23
+ text-align: left;
24
+ display: flex;
25
+ justify-content: space-between;
26
+ flex-direction: column;
27
+ flex: 1;
28
+ width: 100%;
29
+
30
+ &.pisell-wallet-guide-center {
31
+ text-align: center;
32
+ align-items: center;
33
+ }
34
+
35
+ .pisell-wallet-guide-title {
36
+ line-height: 28px;
37
+ }
38
+
39
+ .pisell-wallet-guide-subtitle {
40
+ line-height: 20px;
41
+ }
42
+
43
+ .pisell-wallet-guide-button-wrap {
44
+ display: flex;
45
+ width: fit-content;
46
+ max-width: 100%;
47
+ }
48
+
49
+ .pisell-lowcode-btn-default {
50
+ margin-top: 8px;
51
+ display: flex;
52
+ padding: 10px 16px;
53
+ justify-content: center;
54
+ align-items: center;
55
+ background: transparent;
56
+ border-color: transparent;
57
+ border-radius: 8px;
58
+ border: 1px solid var(--Primary-600, #7f56d9);
59
+ background: var(--Primary-600, #7f56d9);
60
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
61
+ max-width: 100%;
62
+ width: auto;
63
+ > div {
64
+ max-width: 100%;
65
+ white-space: nowrap;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ }
69
+ }
70
+ }
71
+ }
@@ -60,6 +60,8 @@ export interface WalletCardProps {
60
60
  [key: string]: any;
61
61
  /** 是否已登录 */
62
62
  isLogin?: boolean;
63
+ /** 是否是引导页 */
64
+ isGuide?: boolean;
63
65
  }
64
66
  declare const WalletCard: React.FC<WalletCardProps>;
65
67
  export default WalletCard;
@@ -24,6 +24,7 @@ import PisellModal from "./../pisellModal";
24
24
  import Amount from "./../pisellText/components/Amount";
25
25
  import useEngineContext from "../../hooks/useEngineContext";
26
26
  import Guest from "./Guest";
27
+ import Guide from "./Guide";
27
28
  import "./index.less";
28
29
 
29
30
  // 添加JSX类型声明
@@ -91,8 +92,8 @@ var useCodeModal = function useCodeModal(cardNo, onCodeClick, codeType) {
91
92
  if (interaction !== null && interaction !== void 0 && (_interaction$utils = interaction.utils) !== null && _interaction$utils !== void 0 && (_interaction$utils$is = _interaction$utils.isAppEnv) !== null && _interaction$utils$is !== void 0 && _interaction$utils$is.call(_interaction$utils)) {
92
93
  var _interaction$utils2, _interaction$utils2$p;
93
94
  var typeMap = {
94
- orCode: "qrCode",
95
- barCode: "barCode"
95
+ orCode: 'qrCode',
96
+ barCode: 'barCode'
96
97
  };
97
98
  interaction === null || interaction === void 0 || (_interaction$utils2 = interaction.utils) === null || _interaction$utils2 === void 0 || (_interaction$utils2$p = _interaction$utils2.postMessageToApp) === null || _interaction$utils2$p === void 0 || _interaction$utils2$p.call(_interaction$utils2, {
98
99
  module: 'global',
@@ -327,7 +328,8 @@ var WalletCard = function WalletCard(props) {
327
328
  onCodeClick = mergedProps.onCodeClick,
328
329
  onClick = mergedProps.onClick,
329
330
  className = mergedProps.className,
330
- style = mergedProps.style;
331
+ style = mergedProps.style,
332
+ isGuide = mergedProps.isGuide;
331
333
 
332
334
  // 处理可能为0/1的布尔值props
333
335
  var showIcon = toBooleanValue(mergedProps.showIcon);
@@ -358,6 +360,10 @@ var WalletCard = function WalletCard(props) {
358
360
  }
359
361
  }, [props.customBackgroundImage, mode]);
360
362
  var goWallet = function goWallet() {
363
+ // 未开启任何一个wallet pass展示,则不跳转
364
+ if (!(items !== null && items !== void 0 && items.length)) {
365
+ return;
366
+ }
361
367
  utils === null || utils === void 0 || utils.action({
362
368
  type: 'pisell1.goWallet',
363
369
  data: {},
@@ -381,9 +387,9 @@ var WalletCard = function WalletCard(props) {
381
387
  flexDirection: codeDirection === 'top' ? 'column-reverse' : 'column'
382
388
  }
383
389
  }, /*#__PURE__*/React.createElement("div", {
384
- className: classNames('pisell-wallet-card-content', mode, !isLogin && 'pisell-wallet-card-guest-content'),
390
+ className: classNames('pisell-wallet-card-content', mode, (!isLogin || isGuide) && 'pisell-wallet-card-guest-content'),
385
391
  style: backgroundStyle
386
- }, isLogin ? /*#__PURE__*/React.createElement("div", {
392
+ }, isLogin ? !isGuide ? /*#__PURE__*/React.createElement("div", {
387
393
  onClick: function onClick() {
388
394
  goWallet();
389
395
  }
@@ -405,7 +411,9 @@ var WalletCard = function WalletCard(props) {
405
411
  }), /*#__PURE__*/React.createElement(CardContent, {
406
412
  items: items,
407
413
  symbol: symbol
408
- })) : /*#__PURE__*/React.createElement(Guest, {
414
+ })) : /*#__PURE__*/React.createElement(Guide, {
415
+ setting: props
416
+ }) : /*#__PURE__*/React.createElement(Guest, {
409
417
  setting: props
410
418
  })), cardStyle === 'full' && isLogin && /*#__PURE__*/React.createElement("div", {
411
419
  className: classNames('pisell-wallet-card-showCode', codeDirection === 'top' ? 'code-top' : 'code-bottom')
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItem: (props: any) => JSX.Element;
3
2
  export default FormItem;
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
43
43
  }) => JSX.Element;
44
44
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
45
  options?: any;
46
- optionSourceType?: "custom" | "default" | "api" | undefined;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
47
  labelField: string;
48
48
  valueField: string;
49
49
  extraParams?: Record<string, any> | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceQRCode: (props: any) => JSX.Element;
3
2
  export default DataSourceQRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface BaseFilterItem {
4
3
  name?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from '../../../filter/types';
3
2
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
4
3
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
70
70
  useCustomAction: boolean;
71
71
  actionType: string;
72
72
  openMode: "modal" | "drawer";
73
- openContentSize: "small" | "large" | "middle";
73
+ openContentSize: "small" | "middle" | "large";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
3
2
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
4
3
  export default DataSourceWrapper;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
4
  labelField: string;
6
5
  valueField: string;
7
6
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const formFieldMap: {
3
2
  FormItemCheckbox: import("react").FC<{}> & {
4
3
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -35,7 +34,7 @@ declare const formFieldMap: {
35
34
  };
36
35
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
36
  options?: any;
38
- optionSourceType?: "custom" | "default" | "api" | undefined;
37
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
38
  labelField: string;
40
39
  valueField: string;
41
40
  extraParams?: Record<string, any> | undefined;
@@ -60,13 +59,13 @@ declare const formFieldMap: {
60
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
61
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
64
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
64
  } & {
66
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
67
66
  }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
68
67
  onChange: (value: string) => void;
69
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
68
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
70
69
  JSON: import("react").FC<any>;
71
70
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
72
71
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -92,7 +91,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
92
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
93
92
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
94
93
  options?: any;
95
- optionSourceType?: "custom" | "default" | "api" | undefined;
94
+ optionSourceType?: "default" | "custom" | "api" | undefined;
96
95
  labelField: string;
97
96
  valueField: string;
98
97
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DatePicker: (props: any) => JSX.Element;
3
2
  export default DatePicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterProps } from "./types";
3
2
  declare const Filter: (props: FilterProps) => JSX.Element | null;
4
3
  export default Filter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const List: {
4
3
  (props: any): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type LowCodePageProps = {
3
2
  id: number;
4
3
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps } from '../config-provider';
3
2
  interface PageProps extends ConfigProviderProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputNumberProps } from 'antd/es/input-number';
3
2
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellAdjustPriceProps {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellWalletPassCardProps {
4
3
  id: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
4
3
  export default EditButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: (props: any) => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Note: (props: any) => JSX.Element | null;
4
3
  export default Note;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
4
3
  export default Packages;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
4
3
  export default Sales;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const QRCode: (props: any) => JSX.Element;
3
2
  export default QRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
3
2
  declare type CoverProps = {
4
3
  cover?: GallerySettingType["cover"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type RenderFieldsProps = {
4
3
  fields: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;