@pisell/materials 1.0.799 → 1.0.800

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 (117) 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 +3 -3
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.js +23 -27
  8. package/build/lowcode/view.js +24 -28
  9. package/es/components/DragSortList/index.js +6 -6
  10. package/es/components/appVersionControl/index.d.ts +4 -0
  11. package/es/components/classicLayout/index.js +4 -5
  12. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  16. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  17. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  18. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  19. package/es/components/drag-sort-tree/index.d.ts +3 -0
  20. package/es/components/icon/index.js +5 -5
  21. package/es/components/list/index.js +6 -6
  22. package/es/components/login-and-register/index.d.ts +82 -0
  23. package/es/components/pisell-config-provider/index.d.ts +12 -0
  24. package/es/components/pisellCardList/index.d.ts +71 -0
  25. package/es/components/pisellEmpty/index.d.ts +19 -0
  26. package/es/components/productCard/components/Header/Actions/index.d.ts +3 -0
  27. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  28. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  29. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  30. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  31. package/es/components/qrcode/index.js +1 -1
  32. package/es/components/sort/components/InlineMenu/index.js +1 -1
  33. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  34. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  35. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  36. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  37. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  38. package/es/components/table/Gallery/index.d.ts +5 -0
  39. package/es/components/table/Header/Buttons/index.js +5 -5
  40. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  41. package/es/components/table/Table/SelectField/index.js +4 -4
  42. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  43. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  44. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  45. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  46. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  47. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  48. package/es/components/table/Table/index.d.ts +4 -0
  49. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  50. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  51. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  52. package/es/components/table/Table/utils.d.ts +173 -0
  53. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  54. package/es/components/table/hooks/useTableSetting.d.ts +22 -0
  55. package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
  56. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  57. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  58. package/es/components/table/types.d.ts +253 -0
  59. package/es/components/translation/index.js +10 -10
  60. package/es/components/translation/utils.js +5 -5
  61. package/es/components/versionModal/index.d.ts +24 -0
  62. package/es/components/walletCard/index.js +66 -45
  63. package/es/hooks/useResponsive.js +2 -2
  64. package/es/index.d.ts +141 -0
  65. package/es/locales/en-US.d.ts +276 -0
  66. package/es/locales/zh-CN.d.ts +271 -0
  67. package/es/locales/zh-TW.d.ts +271 -0
  68. package/es/utils/hoc.js +1 -1
  69. package/es/utils/miniRedux.js +8 -9
  70. package/es/utils/platform.d.ts +1 -1
  71. package/lib/components/appVersionControl/index.d.ts +4 -0
  72. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  73. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  74. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  75. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  76. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  77. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  78. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  79. package/lib/components/drag-sort-tree/index.d.ts +3 -0
  80. package/lib/components/login-and-register/index.d.ts +82 -0
  81. package/lib/components/lowCodePage/index.js +1 -2
  82. package/lib/components/pisell-config-provider/index.d.ts +12 -0
  83. package/lib/components/pisellCardList/index.d.ts +71 -0
  84. package/lib/components/pisellEmpty/index.d.ts +19 -0
  85. package/lib/components/productCard/components/Header/Actions/index.d.ts +3 -0
  86. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  87. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  88. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  89. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  90. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  91. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  92. package/lib/components/table/Gallery/index.d.ts +5 -0
  93. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  94. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  95. package/lib/components/table/Table/fields/utils/index.js +1 -2
  96. package/lib/components/table/Table/index.d.ts +4 -0
  97. package/lib/components/table/Table/utils.d.ts +173 -0
  98. package/lib/components/table/hooks/useTableSetting.d.ts +22 -0
  99. package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
  100. package/lib/components/table/types.d.ts +253 -0
  101. package/lib/components/versionModal/index.d.ts +24 -0
  102. package/lib/components/walletCard/index.js +22 -2
  103. package/lib/hooks/useResponsive.js +3 -6
  104. package/lib/index.d.ts +141 -0
  105. package/lib/locales/en-US.d.ts +276 -0
  106. package/lib/locales/zh-CN.d.ts +271 -0
  107. package/lib/locales/zh-TW.d.ts +271 -0
  108. package/lib/utils/platform.d.ts +1 -1
  109. package/package.json +3 -3
  110. package/dist/umd/materials.min.css +0 -1
  111. package/dist/umd/materials.min.js +0 -1
  112. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  113. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  114. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  115. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  116. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  117. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
@@ -76,13 +76,34 @@ var toBooleanValue = function toBooleanValue(value) {
76
76
  };
77
77
 
78
78
  // 自定义钩子:处理二维码/条形码模态框
79
- var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
79
+ var useCodeModal = function useCodeModal(cardNo, onCodeClick, codeType) {
80
+ var _context$appHelper;
80
81
  var _useState = useState(false),
81
82
  _useState2 = _slicedToArray(_useState, 2),
82
83
  isModalOpen = _useState2[0],
83
84
  setIsModalOpen = _useState2[1];
85
+ var context = useEngineContext();
86
+ var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
87
+ interaction = _ref.interaction;
84
88
  var handleCodeClick = function handleCodeClick(e) {
89
+ var _interaction$utils, _interaction$utils$is;
85
90
  e.stopPropagation();
91
+ 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
+ var _interaction$utils2, _interaction$utils2$p;
93
+ var typeMap = {
94
+ orCode: "qrCode",
95
+ barCode: "barCode"
96
+ };
97
+ 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
+ module: 'global',
99
+ key: 'openCodeModal',
100
+ data: {
101
+ type: typeMap[codeType] || codeType,
102
+ value: cardNo
103
+ }
104
+ });
105
+ return;
106
+ }
86
107
  if (onCodeClick) {
87
108
  onCodeClick();
88
109
  } else {
@@ -101,32 +122,32 @@ var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
101
122
  };
102
123
 
103
124
  // 子组件:卡片头部
104
- var CardHeader = function CardHeader(_ref) {
105
- var _ref$showIcon = _ref.showIcon,
106
- showIcon = _ref$showIcon === void 0 ? true : _ref$showIcon,
107
- _ref$showWalletName = _ref.showWalletName,
108
- showWalletName = _ref$showWalletName === void 0 ? true : _ref$showWalletName,
109
- _ref$showShopName = _ref.showShopName,
110
- showShopName = _ref$showShopName === void 0 ? true : _ref$showShopName,
111
- _ref$showCardNo = _ref.showCardNo,
112
- showCardNo = _ref$showCardNo === void 0 ? true : _ref$showCardNo,
113
- _ref$showCode = _ref.showCode,
114
- showCode = _ref$showCode === void 0 ? true : _ref$showCode,
115
- iconImg = _ref.iconImg,
116
- mode = _ref.mode,
117
- _ref$walletName = _ref.walletName,
118
- walletName = _ref$walletName === void 0 ? 'Level' : _ref$walletName,
119
- _ref$shopName = _ref.shopName,
120
- shopName = _ref$shopName === void 0 ? 'Store name' : _ref$shopName,
121
- _ref$cardNo = _ref.cardNo,
122
- cardNo = _ref$cardNo === void 0 ? 'Wallet number' : _ref$cardNo,
123
- _ref$cardStyle = _ref.cardStyle,
124
- cardStyle = _ref$cardStyle === void 0 ? 'normal' : _ref$cardStyle,
125
- _ref$codeType = _ref.codeType,
126
- codeType = _ref$codeType === void 0 ? 'barCode' : _ref$codeType,
127
- onCodeClick = _ref.onCodeClick,
128
- _ref$isLogin = _ref.isLogin,
129
- isLogin = _ref$isLogin === void 0 ? false : _ref$isLogin;
125
+ var CardHeader = function CardHeader(_ref2) {
126
+ var _ref2$showIcon = _ref2.showIcon,
127
+ showIcon = _ref2$showIcon === void 0 ? true : _ref2$showIcon,
128
+ _ref2$showWalletName = _ref2.showWalletName,
129
+ showWalletName = _ref2$showWalletName === void 0 ? true : _ref2$showWalletName,
130
+ _ref2$showShopName = _ref2.showShopName,
131
+ showShopName = _ref2$showShopName === void 0 ? true : _ref2$showShopName,
132
+ _ref2$showCardNo = _ref2.showCardNo,
133
+ showCardNo = _ref2$showCardNo === void 0 ? true : _ref2$showCardNo,
134
+ _ref2$showCode = _ref2.showCode,
135
+ showCode = _ref2$showCode === void 0 ? true : _ref2$showCode,
136
+ iconImg = _ref2.iconImg,
137
+ mode = _ref2.mode,
138
+ _ref2$walletName = _ref2.walletName,
139
+ walletName = _ref2$walletName === void 0 ? 'Level' : _ref2$walletName,
140
+ _ref2$shopName = _ref2.shopName,
141
+ shopName = _ref2$shopName === void 0 ? 'Store name' : _ref2$shopName,
142
+ _ref2$cardNo = _ref2.cardNo,
143
+ cardNo = _ref2$cardNo === void 0 ? 'Wallet number' : _ref2$cardNo,
144
+ _ref2$cardStyle = _ref2.cardStyle,
145
+ cardStyle = _ref2$cardStyle === void 0 ? 'normal' : _ref2$cardStyle,
146
+ _ref2$codeType = _ref2.codeType,
147
+ codeType = _ref2$codeType === void 0 ? 'barCode' : _ref2$codeType,
148
+ onCodeClick = _ref2.onCodeClick,
149
+ _ref2$isLogin = _ref2.isLogin,
150
+ isLogin = _ref2$isLogin === void 0 ? false : _ref2$isLogin;
130
151
  // 处理可能为0/1的布尔值
131
152
  var processedShowIcon = toBooleanValue(showIcon);
132
153
  var processedShowWalletName = toBooleanValue(showWalletName);
@@ -165,9 +186,9 @@ var CardHeader = function CardHeader(_ref) {
165
186
  };
166
187
 
167
188
  // 子组件:卡片内容项
168
- var CardItem = function CardItem(_ref2) {
169
- var item = _ref2.item,
170
- symbol = _ref2.symbol;
189
+ var CardItem = function CardItem(_ref3) {
190
+ var item = _ref3.item,
191
+ symbol = _ref3.symbol;
171
192
  var key = item.key,
172
193
  label = item.label,
173
194
  value = item.value;
@@ -188,9 +209,9 @@ var CardItem = function CardItem(_ref2) {
188
209
  };
189
210
 
190
211
  // 子组件:卡片内容
191
- var CardContent = function CardContent(_ref3) {
192
- var items = _ref3.items,
193
- symbol = _ref3.symbol;
212
+ var CardContent = function CardContent(_ref4) {
213
+ var items = _ref4.items,
214
+ symbol = _ref4.symbol;
194
215
  // 定义期望的顺序
195
216
  var expectedOrder = ['piont', 'balance', 'discount', 'voucher'];
196
217
 
@@ -218,9 +239,9 @@ var CardContent = function CardContent(_ref3) {
218
239
  };
219
240
 
220
241
  // 子组件:二维码/条形码显示
221
- var CodeDisplay = function CodeDisplay(_ref4) {
222
- var codeType = _ref4.codeType,
223
- cardNo = _ref4.cardNo;
242
+ var CodeDisplay = function CodeDisplay(_ref5) {
243
+ var codeType = _ref5.codeType,
244
+ cardNo = _ref5.cardNo;
224
245
  if (!cardNo) return null;
225
246
  return /*#__PURE__*/React.createElement("div", {
226
247
  className: "pisell-wallet-card-code"
@@ -250,12 +271,12 @@ var blockEvent = function blockEvent(e) {
250
271
  };
251
272
 
252
273
  // 子组件:二维码/条形码模态框
253
- var CodeModal = function CodeModal(_ref5) {
254
- var isOpen = _ref5.isOpen,
255
- onClose = _ref5.onClose,
256
- codeType = _ref5.codeType,
257
- cardNo = _ref5.cardNo,
258
- platform = _ref5.platform;
274
+ var CodeModal = function CodeModal(_ref6) {
275
+ var isOpen = _ref6.isOpen,
276
+ onClose = _ref6.onClose,
277
+ codeType = _ref6.codeType,
278
+ cardNo = _ref6.cardNo,
279
+ platform = _ref6.platform;
259
280
  return /*#__PURE__*/React.createElement(PisellModal, {
260
281
  title: getText(codeType === 'barCode' ? 'walletCard-barcode' : 'walletCard-qrcode'),
261
282
  platform: platform,
@@ -316,10 +337,10 @@ var WalletCard = function WalletCard(props) {
316
337
  var showCode = toBooleanValue(mergedProps.showCode);
317
338
  var isLogin = toBooleanValue(mergedProps.isLogin);
318
339
  var context = useEngineContext();
319
- var _ref6 = context.appHelper || {},
320
- utils = _ref6.utils;
340
+ var _ref7 = context.appHelper || {},
341
+ utils = _ref7.utils;
321
342
  // 使用自定义钩子处理模态框逻辑
322
- var _useCodeModal = useCodeModal(cardNo, onCodeClick),
343
+ var _useCodeModal = useCodeModal(cardNo, onCodeClick, codeType),
323
344
  isModalOpen = _useCodeModal.isModalOpen,
324
345
  handleCodeClick = _useCodeModal.handleCodeClick,
325
346
  closeModal = _useCodeModal.closeModal;
@@ -1,8 +1,8 @@
1
1
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
3
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
4
4
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
5
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
8
  import { useEffect, useState, useMemo } from 'react';
package/es/index.d.ts ADDED
@@ -0,0 +1,141 @@
1
+ export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
2
+ export { default as AppVersionControl } from './components/appVersionControl';
3
+ export { default as AutoComplete } from './components/auto-complete';
4
+ export { default as AutoCompleteNumber } from './components/auto-complete-number';
5
+ export { default as Badge } from './components/badge';
6
+ export { default as BatchEditor } from './components/batch-editor';
7
+ export { default as Button } from './components/button';
8
+ export { default as ButtonGroupEdit } from './components/buttonGroupEdit';
9
+ export { default as ButtonGroupPreview } from './components/buttonGroupPreview';
10
+ export { default as Calendar } from './components/calendar';
11
+ export { default as CardMetricItem } from './components/cardMetricItem';
12
+ export { default as CardPro } from './components/cardPro';
13
+ export { default as Cascader } from './components/cascader';
14
+ export { default as Checkbox } from './components/checkbox';
15
+ export { default as ClassicLayout } from './components/classicLayout';
16
+ export { default as Collapse } from './components/collapse';
17
+ export { default as Component } from './components/component';
18
+ export { default as ConfigProvider } from './components/config-provider';
19
+ export { default as CropPhoto } from './components/cropPhoto';
20
+ export { default as CustomSelect } from './components/customSelect';
21
+ export { default as DataSourceForm } from './components/dataSourceComponents/dataSourceForm';
22
+ export { default as FormGroup } from './components/dataSourceComponents/dataSourceForm/group';
23
+ export { default as JsonWrapper } from './components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider';
24
+ export { default as SubmitButton } from './components/dataSourceComponents/dataSourceForm/submitButton';
25
+ export { default as DataSourceMenu } from './components/dataSourceComponents/dataSourceMenu';
26
+ export { default as DataSourceImage } from './components/dataSourceComponents/dataSourceShow/dataSourceImage';
27
+ export { default as DataSourceQRCode } from './components/dataSourceComponents/dataSourceShow/dataSourceQRCode';
28
+ export { default as DataSourceTypography } from './components/dataSourceComponents/dataSourceShow/dataSourceTypography';
29
+ export { default as DataSourceTable } from './components/dataSourceComponents/dataSourceTable';
30
+ export { default as DataSourceWrapper } from './components/dataSourceComponents/dataSourceWrapper';
31
+ export { default as FormItemCheckbox } from './components/dataSourceComponents/fields/Checkbox';
32
+ export { default as FormItemColorPicker } from './components/dataSourceComponents/fields/ColorPicker';
33
+ export { default as FormItemDatePicker } from './components/dataSourceComponents/fields/DatePicker';
34
+ export { default as FormItemIconSelect } from './components/dataSourceComponents/fields/IconSelect';
35
+ export { default as FormItemInput } from './components/dataSourceComponents/fields/Input';
36
+ export { default as FormItemInputNumber } from './components/dataSourceComponents/fields/InputNumber';
37
+ export { default as FormItemRadio } from './components/dataSourceComponents/fields/Radio';
38
+ export { default as FormItemSelect } from './components/dataSourceComponents/fields/Select';
39
+ export { default as FormItemTimePicker } from './components/dataSourceComponents/fields/TimePicker';
40
+ export { default as FormItemTranslation } from './components/dataSourceComponents/fields/Translation';
41
+ export { default as FormItemUpload } from './components/dataSourceComponents/fields/Upload';
42
+ export { default as DatePicker } from './components/date-picker';
43
+ export { default as Div } from './components/div';
44
+ export { default as DragSortTree } from './components/drag-sort-tree';
45
+ export { default as Drawer } from './components/drawer';
46
+ export { default as Dropdown } from './components/dropdown';
47
+ export { default as Filter } from './components/filter';
48
+ export { default as Form } from './components/form';
49
+ export { default as Icon } from './components/icon';
50
+ export { default as IconSelect } from './components/iconSelect';
51
+ export { default as Iconfont } from './components/iconfont';
52
+ export { default as Image } from './components/image';
53
+ export { default as Input } from './components/input';
54
+ export { default as InputNumberRange } from './components/input-number-range';
55
+ export { default as List } from './components/list';
56
+ export { default as loginAndRegister } from './components/login-and-register';
57
+ export { default as LowCodePage } from './components/lowCodePage';
58
+ export { default as Modal } from './components/modal';
59
+ export { default as OrganizationTenantSwitcher } from './components/organizationTenantSwitcher';
60
+ export { default as Page } from './components/page';
61
+ export { default as PageHeader } from './components/page-header';
62
+ export { default as PisellConfigProvider } from './components/pisell-config-provider';
63
+ export { default as PisellContext, globalConfig, } from './components/pisell-config-provider/context';
64
+ export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
65
+ export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
66
+ export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
67
+ export { default as PisellAlert } from './components/pisellAlert';
68
+ export { default as PisellAnchor } from './components/pisellAnchor';
69
+ export { default as PisellAvatar } from './components/pisellAvatar';
70
+ export { default as PisellCard } from './components/pisellCard';
71
+ export { default as PisellCardList } from './components/pisellCardList';
72
+ export { default as PisellCheckboxGroup } from './components/pisellCheckboxGroup';
73
+ export { default as PisellContainer } from './components/pisellContainer';
74
+ export { default as PisellCountdown } from './components/pisellCountdown';
75
+ export { default as PisellCustomCheckboxGroup } from './components/pisellCustomCheckboxGroup';
76
+ export { default as PisellDatePicker } from './components/pisellDatePicker';
77
+ export { default as PisellDraggable } from './components/pisellDraggable';
78
+ export { default as PisellDropdown } from './components/pisellDropdown';
79
+ export { default as PisellEmpty } from './components/pisellEmpty';
80
+ export { default as PisellFloatingPanel } from './components/pisellFloatingPanel';
81
+ export { default as PisellHeaderProgressBar } from './components/pisellHeaderProgressBar';
82
+ export { default as PisellImageCarousels } from './components/pisellImageCarousels';
83
+ export { default as PisellInformationEntry } from './components/pisellInformationEntry';
84
+ export { default as PisellInput } from './components/pisellInput';
85
+ export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
86
+ export { default as PisellLayout } from './components/pisellLayout';
87
+ export { default as PisellContent } from './components/pisellLayout/content';
88
+ export { default as PisellFooter } from './components/pisellLayout/footer';
89
+ export { default as PisellHeader } from './components/pisellLayout/header';
90
+ export { default as PisellSider } from './components/pisellLayout/sider';
91
+ export { default as PisellList01 } from './components/pisellList01';
92
+ export { default as PisellLoading } from './components/pisellLoading';
93
+ export { default as PisellMenu } from './components/pisellMenu';
94
+ export type { PisellMenuProps } from './components/pisellMenu/types';
95
+ export { default as PisellModal } from './components/pisellModal';
96
+ export { default as PisellQRScanner } from './components/pisellQRScanner';
97
+ export type { PisellQRScannerProps } from './components/pisellQRScanner';
98
+ export { default as PisellQrcode } from './components/pisellQrcode';
99
+ export { default as PisellRow } from './components/pisellRow';
100
+ export { default as PisellScan } from './components/pisellScan';
101
+ export { default as PisellSectionHeaders } from './components/pisellSectionHeaders';
102
+ export { default as PisellStatisticList } from './components/pisellStatisticList';
103
+ export { default as PisellTags } from './components/pisellTags';
104
+ export { default as PisellText } from './components/pisellText';
105
+ export { default as PisellToast } from './components/pisellToast';
106
+ export { default as PisellTooltip } from './components/pisellTooltip';
107
+ export { default as PisellUpload } from './components/pisellUpload';
108
+ export { default as PisellViewGrid } from './components/pisellViewGrid';
109
+ export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
110
+ export { default as ProductCard } from './components/productCard';
111
+ export { default as ProfileMenu } from './components/profileMenu';
112
+ export { default as QRCode } from './components/qrcode';
113
+ export { default as Radio } from './components/radio';
114
+ export { default as RecordView } from './components/record-view';
115
+ export { default as SectionFooters } from './components/section-footers';
116
+ export { default as Segmented } from './components/segmented';
117
+ export { default as Select } from './components/select';
118
+ export { default as SelectTime } from './components/select-time';
119
+ export { default as Skeleton } from './components/skeleton';
120
+ export { default as Slider } from './components/slider';
121
+ export { default as Sort } from './components/sort';
122
+ export { default as SortableList } from './components/sortableList';
123
+ export { default as Table } from './components/table';
124
+ export { default as Tabs } from './components/tabs';
125
+ export { default as TimePicker } from './components/time-picker';
126
+ export { default as Translation } from './components/translation';
127
+ export { default as TreeSelect } from './components/tree-select';
128
+ export { default as Typography } from './components/typography';
129
+ export { default as Upload } from './components/upload';
130
+ export { default as VirtualKeyboard } from './components/virtual-keyboard';
131
+ export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
132
+ export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
133
+ export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
134
+ export { default as WalletCard } from './components/walletCard';
135
+ export { default as PublishVersionModal } from './components/versionModal';
136
+ export { default as PisellDropSort } from './components/pisellDropSort';
137
+ export { default as PisellNavigationMenu } from './components/pisellNavigationMenu';
138
+ export { default as PisellAppCard } from './components/pisellAppCard';
139
+ export type { PisellAppCardProps } from './components/pisellAppCard/types';
140
+ export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
141
+ export { default as PisellGoodPassCard } from './components/pisellGoodPassCard';
@@ -0,0 +1,276 @@
1
+ declare const _default: {
2
+ "table-filter-search": string;
3
+ "table-filter-clear": string;
4
+ "table-filter-filter": string;
5
+ "table-filter-min": string;
6
+ "table-filter-max": string;
7
+ "table-pagination-previous": string;
8
+ "table-pagination-next": string;
9
+ "table-pagination-total": (current: string, total: string) => string;
10
+ "select-dropdown-render-select-all": string;
11
+ "select-dropdown-render-search": string;
12
+ "sort-button-text": string;
13
+ "sort-oldest-to-newest": string;
14
+ "sort-newest-to-oldest": string;
15
+ "sort-a-z": string;
16
+ "sort-z-a": string;
17
+ "sort-from-morning-to-night": string;
18
+ "sort-from-evening-to-morning": string;
19
+ "sort-0-9": string;
20
+ "sort-9-0": string;
21
+ "table-action-filter-button": string;
22
+ "table-action-filter-quick-filter": string;
23
+ "table-action-filter-quick-filter-tip": (count: number) => string;
24
+ "table-action-filter-other-filter": string;
25
+ "table-action-filter-other-filter-tip": () => string;
26
+ "table-action-group-by-title": string;
27
+ "table-action-group-by-title-tip": string;
28
+ "table-action-column-title": string;
29
+ "table-column-group-records": string;
30
+ "table-column-group-lock-tip": string;
31
+ "table-column-drag-sort-disabled-tip": string;
32
+ "table-action-filter-no-filter": string;
33
+ "table-action-range-picker-presets-today": string;
34
+ "table-action-range-picker-presets-yesterday": string;
35
+ "table-action-range-picker-presets-last-3-day": string;
36
+ "table-action-range-picker-presets-last-7-day": string;
37
+ "table-action-range-picker-presets-last-14-day": string;
38
+ "table-action-range-picker-presets-last-30-day": string;
39
+ "table-action-range-picker-presets-last-90-day": string;
40
+ "virtual-keyboard-time-now": string;
41
+ "virtual-keyboard-time-ok": string;
42
+ 'batch-editor-batch-edit': string;
43
+ 'batch-editor-actions': string;
44
+ 'batch-editor-remove': string;
45
+ 'batch-editor-price': string;
46
+ 'batch-editor-cancel': string;
47
+ 'batch-editor-search': string;
48
+ 'batch-editor-confirm': string;
49
+ 'batch-editor-batch-remove': string;
50
+ 'batch-editor-quick-edit': string;
51
+ 'batch-editor-what-price': string;
52
+ 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
+ 'batch-editor-quick-edit-title-2': (product: string) => string;
54
+ 'table-action-export-import-export-success': string;
55
+ 'table-action-export-import-button': string;
56
+ 'table-action-export-import-export-range': string;
57
+ 'table-action-export-import-current-page': string;
58
+ 'table-action-export-import-all-records': string;
59
+ 'table-action-export-import-selected-records': string;
60
+ 'table-action-export-import-selected': string;
61
+ 'table-action-export-import-item': (length: number) => string;
62
+ 'table-action-export-import-product': string;
63
+ 'table-action-export-import-table-text-input-title': string;
64
+ 'table-action-export-import-table-text-input-describe': string;
65
+ 'table-action-export-import-table-error-file': string;
66
+ 'table-action-export-import-import-success': string;
67
+ 'table-action-export-import-import-phone': string;
68
+ 'table-action-export-import-table-success-download': string;
69
+ 'table-action-export-import-table-textimport-product': string;
70
+ 'table-action-export-import-table-text-product-template': string;
71
+ 'table-action-export-import-table-text-click-download': string;
72
+ 'table-action-export-import-table-text-edit-file': string;
73
+ 'table-action-export-import-button-import': string;
74
+ 'table-action-export-import-cancel': string;
75
+ 'table-action-export-import-file-completed': string;
76
+ 'table-action-export-import-file-processing': string;
77
+ 'table-action-export-import-file-pending': string;
78
+ 'table-action-export-import-file-refresh': string;
79
+ 'table-action-export-import-export-title': string;
80
+ 'table-action-export-import-file-hint': string;
81
+ 'table-action-export-import-file-name': string;
82
+ 'table-action-export-import-file-content': string;
83
+ 'table-action-export-import-file-content-all': string;
84
+ 'table-action-export-import-file-content-part': string;
85
+ 'table-action-export-import-file-status': string;
86
+ 'table-action-export-import-file-account': string;
87
+ 'table-action-export-import-file-created': string;
88
+ 'table-action-export-import-file-record': (length: number) => string;
89
+ 'table-action-export-import-import-title': string;
90
+ 'table-action-export-import-log-hint': string;
91
+ 'table-action-export-import-log-name': string;
92
+ 'table-action-export-import-log-result': string;
93
+ 'table-action-export-import-log-ok': (num: number) => string;
94
+ 'table-action-export-import-log-err': (num: number) => string;
95
+ 'table-action-export-import-log-check': string;
96
+ 'table-action-export-import-log-detail-title': string;
97
+ 'table-action-export-import-log-err-log': string;
98
+ 'table-action-export-import-log-copy': string;
99
+ 'table-action-export-import-table-success-copy': string;
100
+ 'drag-sort-tree-unavailable-today-tip': string;
101
+ 'date-picker-today': string;
102
+ 'date-picker-yesterday': string;
103
+ 'date-picker-tomorrow': string;
104
+ 'date-picker-next_monday': string;
105
+ 'date-picker-last_friday': string;
106
+ 'date-picker-first_day_of_this_month': string;
107
+ 'date-picker-last_day_of_this_month': string;
108
+ 'date-picker-first_day_of_next_month': string;
109
+ 'date-picker-last_day_of_last_month': string;
110
+ 'date-picker-invalid-date': string;
111
+ "date-picker-apply": string;
112
+ 'date-picker-shortcut-custom': string;
113
+ 'pisell-input-copy-success': string;
114
+ 'pisell-input-copy': string;
115
+ 'pisell-empty-description-no-data': string;
116
+ 'pisell-information-entry-input-search': string;
117
+ 'pisell-information-entry-input-confirm': string;
118
+ 'pisell-information-entry-scan-exit': string;
119
+ 'pisell-wallet-pass-card-detail': string;
120
+ 'pisell-wallet-pass-card-edit': string;
121
+ 'pisell-wallet-pass-card-name': string;
122
+ 'pisell-wallet-pass-card-store-name': string;
123
+ 'pisell-wallet-pass-card-balance': string;
124
+ 'pisell-wallet-pass-card-redeem': string;
125
+ 'pisell-wallet-pass-card-code': string;
126
+ 'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-confirm': string;
128
+ 'pisell-wallet-pass-card-cancel': string;
129
+ 'pisell-wallet-pass-card-required': string;
130
+ 'pisell-wallet-pass-card-expireDate': string;
131
+ 'pisell-adjust-price-price-override': string;
132
+ 'pisell-adjust-price-discount': string;
133
+ 'pisell-adjust-price-discount-amount': string;
134
+ 'pisell-adjust-price-discount-percentage': string;
135
+ 'pisell-adjust-price-total-after-discount': string;
136
+ 'pisell-adjust-price-discount-can-be-maximum': string;
137
+ 'pisell-discount-card-title': string;
138
+ 'pisell-discount-card-unit': string;
139
+ 'pisell-data-source-table-add': string;
140
+ 'pisell-data-source-table-edit': string;
141
+ 'pisell-data-source-table-detail': string;
142
+ 'pisell-data-source-table-delete': string;
143
+ 'pisell-record-view-available': string;
144
+ 'pisell-record-view-unavailable': string;
145
+ 'pisell-data-source-form-required-message': string;
146
+ 'pisell-data-source-form-email-message': string;
147
+ 'pisell-data-source-form-domain-message': string;
148
+ 'pisell-data-source-form-url-message': string;
149
+ 'pisell-data-source-form-phone-message': string;
150
+ 'pisell-data-source-form-min-length-message': (minLength: number) => string;
151
+ 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
152
+ 'pisell-data-source-form-min-value-message': (minValue: number) => string;
153
+ 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
154
+ 'pisell-data-source-form-mobile-message': string;
155
+ 'pisell-data-source-form-pattern-message': string;
156
+ 'pisell-number-format-thousand': string;
157
+ 'pisell-number-format-million': string;
158
+ 'pisell-number-format-billion': string;
159
+ 'walletCard-done': string;
160
+ 'walletCard-qrcode': string;
161
+ 'walletCard-barcode': string;
162
+ 'pisell-upload-button': string;
163
+ 'pisell-upload-setting-size-error': (maxSize: number) => string;
164
+ 'pisell-upload-setting-type-error': (type: string) => string;
165
+ 'pisell-upload-count-error': (count: number) => string;
166
+ 'pisell-upload-error': (name: string) => string;
167
+ 'pisell-upload-multilingual-title': string;
168
+ 'pisell-upload-multilingual-item-title-original': string;
169
+ 'pisell-upload-multilingual-item-title-en': string;
170
+ 'pisell-upload-multilingual-item-title-zh-CN': string;
171
+ 'pisell-upload-multilingual-item-title-zh-HK': string;
172
+ 'pisell-color-picker-default': string;
173
+ 'pisell-action-get-data': string;
174
+ 'pisell-action-delete-success': string;
175
+ 'pisell-action-delete-failed': string;
176
+ 'walletCard-piont': string;
177
+ 'walletCard-rechargeable': string;
178
+ 'walletCard-voucher': string;
179
+ 'walletCard-discount': string;
180
+ 'pisellQrcode-done': string;
181
+ 'pisellQrcode-qrcode': string;
182
+ 'pisell-delete-confirm-title': string;
183
+ 'pisell-delete-confirm-content': string;
184
+ 'pisell-delete-confirm-ok': string;
185
+ 'pisell-delete-confirm-cancel': string;
186
+ 'pisell-design-mode-action-disabled': string;
187
+ 'pisell-translation-original': string;
188
+ 'pisell-version-modal-title': string;
189
+ 'pisell-version-modal-current-version': string;
190
+ 'pisell-version-modal-version': string;
191
+ 'pisell-version-modal-update-notes': string;
192
+ 'pisell-version-modal-patch': string;
193
+ 'pisell-version-modal-minor': string;
194
+ 'pisell-version-modal-major': string;
195
+ 'pisell-version-modal-custom': string;
196
+ 'pisell-version-modal-cancel': string;
197
+ 'pisell-version-modal-confirm': string;
198
+ 'pisell-version-modal-describe-update-notes': string;
199
+ 'pisell-version-modal-version-error': string;
200
+ 'pisell-version-modal-version-required': string;
201
+ 'pisell-version-modal-based-on-version': string;
202
+ 'subdomain-error-too-short': string;
203
+ 'subdomain-error-too-long': string;
204
+ 'subdomain-error-pattern': string;
205
+ 'subdomain-error-numbers-only': string;
206
+ 'subdomain-error-hyphen-ends': string;
207
+ 'subdomain-error-consecutive-hyphens': string;
208
+ 'subdomain-error-required': string;
209
+ 'pisell-icon-select-outlined': string;
210
+ 'pisell-icon-select-filled': string;
211
+ 'pisell-icon-select-two-tone': string;
212
+ 'pisell-icon-select-iconfont': string;
213
+ 'pisell-icon-select-search': string;
214
+ 'pisell-icon-select-select': string;
215
+ 'pisell-lowcode-app-version-control-live': string;
216
+ 'pisell-lowcode-app-version-control-draft': string;
217
+ 'pisell-lowcode-app-version-control-deprecated': string;
218
+ 'pisell-lowcode-app-version-control-new-version': string;
219
+ 'pisell-lowcode-app-version-control-promote-to-live': string;
220
+ 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
221
+ 'pisell-lowcode-app-version-control-promote-version-describe': string;
222
+ 'pisell-lowcode-app-version-control-promote-version-ok': string;
223
+ 'pisell-lowcode-app-version-control-promote-version-cancel': string;
224
+ 'pisell-lowcode-app-version-control-version-exists': string;
225
+ 'pisell-lowcode-app-version-control-version-create-title': string;
226
+ 'pisell-lowcode-drop-sort-add': string;
227
+ 'pisell-lowcode-navigation-menu-add-sub-menu': string;
228
+ 'pisell-lowcode-navigation-menu-add-page': string;
229
+ 'pisell-lowcode-navigation-menu-add-page-tip': string;
230
+ 'pisell-lowcode-navigation-menu-tag-base': string;
231
+ 'pisell-lowcode-navigation-menu-tag-pisell1': string;
232
+ 'pisell-data-source-form-app-identifier-pattern': string;
233
+ 'pisell-data-source-form-app-identifier-start-with-letter': string;
234
+ 'pisell-group-permissions-rule-required': string;
235
+ 'pisell-group-permissions-rule-limit': string;
236
+ 'pisell-data-source-form-app-identifier-letters-only': string;
237
+ 'pisell-data-source-form-app-identifier-alphanumeric': string;
238
+ 'pisell-data-source-form-app-identifier-special-ends': string;
239
+ 'pisell-data-source-form-app-identifier-consecutive-special': string;
240
+ "qrscanner-loading": string;
241
+ "qrscanner-success": string;
242
+ "qrscanner-success-qrcode": string;
243
+ "qrscanner-success-barcode": string;
244
+ "qrscanner-error-upload-image": string;
245
+ "qrscanner-error-load-failed": string;
246
+ "qrscanner-error-no-code": string;
247
+ "qrscanner-error-camera-init": string;
248
+ "qrscanner-error-process-image": string;
249
+ 'pisell-login-and-register-title': string;
250
+ 'pisell-login-and-register-subtitle': string;
251
+ 'pisell-login-and-register-email-label': string;
252
+ 'pisell-login-and-register-email-placeholder': string;
253
+ 'pisell-login-and-register-password-label': string;
254
+ 'pisell-login-and-register-password-placeholder': string;
255
+ 'pisell-login-and-register-email-error': string;
256
+ 'pisell-login-and-register-email-error-valid': string;
257
+ 'pisell-login-and-register-password-error': string;
258
+ 'pisell-login-and-register-login': string;
259
+ 'pisell-login-and-register-google': string;
260
+ 'pisell-login-and-register-facebook': string;
261
+ 'pisell-login-and-register-apple': string;
262
+ 'pisell-login-and-register-sign-up': string;
263
+ 'pisell-login-and-register-login-tab': string;
264
+ 'pisell-login-and-register-register-tab': string;
265
+ 'pisell-login-and-register-register-email-placeholder': string;
266
+ 'pisell-login-and-register-register-password-placeholder': string;
267
+ 'pisell-login-and-register-register-button-text': string;
268
+ 'pisell-login-and-register-remember-me': string;
269
+ 'pisell-login-and-register-forgot-password': string;
270
+ 'pisell-login-and-register-register-password-error': string;
271
+ 'pisell-login-and-register-register-password-error-valid': string;
272
+ 'pisell2.text.goodpass.product-vouchers': string;
273
+ 'pisell2.text.goodpass.view-more': string;
274
+ 'pisell2.text.goodpass.save': string;
275
+ };
276
+ export default _default;