@pisell/materials 1.0.957 → 1.0.959

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 (189) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +4 -4
  6. package/build/lowcode/view.js +4 -4
  7. package/es/components/auto-complete-number/index.d.ts +1 -0
  8. package/es/components/badge/index.d.ts +1 -0
  9. package/es/components/batch-editor/fields/index.d.ts +1 -0
  10. package/es/components/calendar/index.d.ts +1 -0
  11. package/es/components/cardPro/index.d.ts +1 -0
  12. package/es/components/checkbox/index.d.ts +1 -0
  13. package/es/components/classicLayout/index.d.ts +1 -0
  14. package/es/components/colorPicker/index.d.ts +1 -0
  15. package/es/components/config-provider/index.d.ts +1 -0
  16. package/es/components/dataSourceComponents/dataSourceForm/utils.js +12 -2
  17. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  22. package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -1
  23. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  27. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/index.d.ts +0 -1
  30. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  31. package/es/components/dropdown/index.d.ts +1 -0
  32. package/es/components/filter/components/items/index.d.ts +1 -0
  33. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  34. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  35. package/es/components/filter/components/items/text/index.d.ts +1 -0
  36. package/es/components/filter/index.d.ts +0 -1
  37. package/es/components/pisellCard/index.d.ts +1 -0
  38. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  39. package/es/components/pisellDatePicker/index.d.ts +1 -0
  40. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  41. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  42. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  43. package/es/components/pisellLoading/index.d.ts +0 -1
  44. package/es/components/pisellTooltip/index.d.ts +1 -0
  45. package/es/components/pisellUpload/index.d.ts +1 -0
  46. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  47. package/es/components/productCard/components/Action/index.d.ts +1 -0
  48. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  49. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  50. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  51. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  52. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  53. package/es/components/radio/index.d.ts +1 -0
  54. package/es/components/segmented/index.d.ts +1 -0
  55. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  56. package/es/components/skeleton/index.d.ts +1 -0
  57. package/es/components/slider/index.d.ts +1 -0
  58. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  59. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  60. package/es/components/table/Summary/index.d.ts +1 -0
  61. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  85. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  91. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  92. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  93. package/es/components/time-picker/index.d.ts +1 -0
  94. package/es/components/upload/index.d.ts +1 -0
  95. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  96. package/es/components/walletCard/Guest/index.d.ts +1 -0
  97. package/es/components/walletCard/Guide/index.d.ts +1 -0
  98. package/lib/components/auto-complete-number/index.d.ts +1 -0
  99. package/lib/components/badge/index.d.ts +1 -0
  100. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  101. package/lib/components/calendar/index.d.ts +1 -0
  102. package/lib/components/cardPro/index.d.ts +1 -0
  103. package/lib/components/checkbox/index.d.ts +1 -0
  104. package/lib/components/classicLayout/index.d.ts +1 -0
  105. package/lib/components/colorPicker/index.d.ts +1 -0
  106. package/lib/components/config-provider/index.d.ts +1 -0
  107. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +12 -0
  108. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  109. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  110. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  111. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  112. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  113. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -1
  114. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  115. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  116. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  118. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/fields/index.d.ts +0 -1
  121. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  122. package/lib/components/dropdown/index.d.ts +1 -0
  123. package/lib/components/filter/components/items/index.d.ts +1 -0
  124. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  125. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  126. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  127. package/lib/components/filter/index.d.ts +0 -1
  128. package/lib/components/pisellCard/index.d.ts +1 -0
  129. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  130. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  131. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  132. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  133. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  134. package/lib/components/pisellLoading/index.d.ts +0 -1
  135. package/lib/components/pisellTooltip/index.d.ts +1 -0
  136. package/lib/components/pisellUpload/index.d.ts +1 -0
  137. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  138. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  139. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  140. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  141. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  142. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  143. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  144. package/lib/components/radio/index.d.ts +1 -0
  145. package/lib/components/segmented/index.d.ts +1 -0
  146. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  147. package/lib/components/skeleton/index.d.ts +1 -0
  148. package/lib/components/slider/index.d.ts +1 -0
  149. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  150. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  151. package/lib/components/table/Summary/index.d.ts +1 -0
  152. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  153. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  154. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  155. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  157. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  158. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  160. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  161. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  162. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  163. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  164. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  165. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  166. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  167. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  168. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  169. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  170. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  171. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  172. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  173. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  174. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  175. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  176. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  177. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  178. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  179. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  180. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  181. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  182. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  183. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  184. package/lib/components/time-picker/index.d.ts +1 -0
  185. package/lib/components/upload/index.d.ts +1 -0
  186. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  187. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  188. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  189. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AutoCompleteProps, InputNumberProps } from "antd";
2
3
  interface AutoCompleteNumberProps {
3
4
  autoCompleteProps: AutoCompleteProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BadgeProps as OriginalBadgeprops } from 'antd';
2
3
  import './index.less';
3
4
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  price: import("react").FC<import("./Price").PriceProps>;
3
4
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Calendar: (props: any) => JSX.Element;
2
3
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: (props: any) => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Checkbox: (props: any) => JSX.Element;
2
3
  export default Checkbox;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ClassicLayout: (props: any) => JSX.Element;
3
4
  export default ClassicLayout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from 'antd';
2
3
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
3
4
  export default ColorPicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
2
3
  import "dayjs/locale/zh-cn";
3
4
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -1,7 +1,7 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
1
  var _excluded = ["renderMode", "value", "onChange"],
3
2
  _excluded2 = ["name", "label", "mode", "renderMode", "tooltip", "noStyle", "extra", "required", "requiredobj", "minLengthobj", "maxLengthobj", "typeobj", "maxobj", "minobj", "normalize", "getValueProps", "validator", "style", "validateTrigger", "__designMode", "labelCol", "hideLabel", "innerStyle"];
4
3
  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; } } }; }
4
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
5
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6
6
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
7
  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); }
@@ -173,7 +173,7 @@ export var withFormItem = function withFormItem(WrappedComponent, overlayProps)
173
173
  case 'phone':
174
174
  rules.push({
175
175
  validator: function validator(_, originValue) {
176
- var _value;
176
+ var _value, _phone;
177
177
  var value = "";
178
178
  if (isString(originValue)) {
179
179
  value = originValue;
@@ -183,6 +183,16 @@ export var withFormItem = function withFormItem(WrappedComponent, overlayProps)
183
183
 
184
184
  // 如果值为空或者只有空格,直接返回成功,不进行校验
185
185
  if (!((_value = value) !== null && _value !== void 0 && _value.trim())) {
186
+ if ((requiredobj === null || requiredobj === void 0 ? void 0 : requiredobj.required) === false) {
187
+ return Promise.resolve();
188
+ } else if (_typeof(originValue) == 'object') {
189
+ // 如果是object,存在phone和contryCallingCode都为空的场景,需要拦截
190
+ return Promise.reject(new Error(requiredobj.message || getText('pisell-data-source-form-required-message')));
191
+ }
192
+ }
193
+
194
+ // 如果是object返回格式,非必填且phone为空,不进行校验
195
+ if (typeof originValue !== 'string' && (requiredobj === null || requiredobj === void 0 ? void 0 : requiredobj.required) === false && (originValue === null || originValue === void 0 || (_phone = originValue.phone) === null || _phone === void 0 ? void 0 : _phone.trim()) === '') {
186
196
  return Promise.resolve();
187
197
  }
188
198
  try {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -107,7 +107,7 @@ export var useCountries = function useCountries() {
107
107
  shopData = _useRequest2.data,
108
108
  runShop = _useRequest2.run;
109
109
  useEffect(function () {
110
- if (!isShop) {
110
+ if (!isShop && !isPc && !isH5) {
111
111
  run();
112
112
  }
113
113
  }, [isShop]);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,4 +1,3 @@
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
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -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>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ValueProps, SortType } from '../types';
3
4
  declare type IdType = string | number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: () => JSX.Element;
2
3
  export default Text;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: (props: any) => JSX.Element;
2
3
  export default Text;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CardProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellCardProps extends CardProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './detePickerCpt.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PisellDatePicker: (props: any) => JSX.Element;
2
3
  export default PisellDatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface ScanProps {
3
4
  onChange: (val: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Divider: ({ type }: any) => JSX.Element;
3
4
  export default Divider;
@@ -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,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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
3
4
  style?: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Radio: (props: any) => JSX.Element;
2
3
  export default Radio;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SegmentedProps } from "antd";
2
3
  import "./index.less";
3
4
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Skeleton: (props: any) => JSX.Element;
2
3
  export default Skeleton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SliderOuter: (props: any) => JSX.Element;
2
3
  export default SliderOuter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
  import "./index.less";
3
4
  interface InlineMenuProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './PopoverContent.less';
2
3
  declare type FieldType = string | number;
3
4
  export declare type GroupValue = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Summary: ({ summary }: any) => JSX.Element | null;
3
4
  export default Summary;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const summary: (props: any) => JSX.Element;
2
3
  export default summary;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SortIconProps {
2
3
  sortOrder: null | "ascend" | "descend";
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TimePicker: (props: any) => JSX.Element;
2
3
  export default TimePicker;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Upload: (props: any) => JSX.Element;
2
3
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guest: (props: any) => JSX.Element;
3
4
  export default Guest;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guide: (props: any) => JSX.Element;
3
4
  export default Guide;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AutoCompleteProps, InputNumberProps } from "antd";
2
3
  interface AutoCompleteNumberProps {
3
4
  autoCompleteProps: AutoCompleteProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BadgeProps as OriginalBadgeprops } from 'antd';
2
3
  import './index.less';
3
4
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  price: import("react").FC<import("./Price").PriceProps>;
3
4
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Calendar: (props: any) => JSX.Element;
2
3
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: (props: any) => JSX.Element;
3
4
  export default _default;