@pisell/private-materials 6.6.6 → 6.6.8

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 (121) 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 +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  8. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  9. package/es/components/booking/forms/table/index.d.ts +1 -0
  10. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  11. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  12. package/es/components/booking/info/service/like/index.d.ts +1 -0
  13. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  14. package/es/components/checkout/PaymentModal.js +15 -10
  15. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  16. package/es/components/eftpos/group/index.d.ts +1 -0
  17. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  18. package/es/components/eftpos/icon/device.d.ts +1 -0
  19. package/es/components/eftpos/receipt/index.d.ts +1 -0
  20. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  21. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  22. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  23. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  24. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  25. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  26. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  27. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  28. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  29. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  30. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  31. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  32. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  33. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  34. package/es/components/schedules/products/index.d.ts +1 -0
  35. package/es/plus/clientName/index.d.ts +1 -0
  36. package/es/pro/pisellPaymentList/example.d.ts +1 -0
  37. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  38. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  39. package/lib/components/booking/forms/table/index.d.ts +1 -0
  40. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  41. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  42. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  43. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  44. package/lib/components/checkout/PaymentModal.js +5 -2
  45. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  46. package/lib/components/eftpos/group/index.d.ts +1 -0
  47. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  48. package/lib/components/eftpos/icon/device.d.ts +1 -0
  49. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  50. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  51. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  52. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  53. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  54. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  55. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  56. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  57. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  58. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  59. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  60. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  61. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  62. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  63. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  64. package/lib/components/schedules/products/index.d.ts +1 -0
  65. package/lib/plus/clientName/index.d.ts +1 -0
  66. package/lib/pro/pisellPaymentList/example.d.ts +1 -0
  67. package/package.json +4 -4
  68. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  69. package/es/components/pay/toC/locales.d.ts +0 -301
  70. package/es/components/pay/toC/status.d.ts +0 -13
  71. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  72. package/es/components/systemSettings/registry/services.d.ts +0 -77
  73. package/es/components/systemSettings/registry/types.d.ts +0 -126
  74. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  75. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  76. package/es/components/wallet/utils.d.ts +0 -48
  77. package/es/components/walletList/locales.d.ts +0 -27
  78. package/es/components/walletList/types/index.d.ts +0 -194
  79. package/es/plus/selectHolder/types.d.ts +0 -104
  80. package/es/plus/selectHolder/utils.d.ts +0 -9
  81. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  82. package/es/plus/walletEditor/locales.d.ts +0 -135
  83. package/es/plus/walletEditor/types.d.ts +0 -52
  84. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  85. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  86. package/es/pro/Login2.0/hooks/index.d.ts +0 -2
  87. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  88. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
  89. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
  90. package/es/pro/Login2.0/locales.d.ts +0 -543
  91. package/es/pro/Login2.0/shared/Header.d.ts +0 -11
  92. package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  93. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  94. package/es/pro/Login2.0/types.d.ts +0 -167
  95. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  96. package/lib/components/pay/toC/locales.d.ts +0 -301
  97. package/lib/components/pay/toC/status.d.ts +0 -13
  98. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  99. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  100. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  101. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  102. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  103. package/lib/components/wallet/utils.d.ts +0 -48
  104. package/lib/components/walletList/locales.d.ts +0 -27
  105. package/lib/components/walletList/types/index.d.ts +0 -194
  106. package/lib/plus/selectHolder/types.d.ts +0 -104
  107. package/lib/plus/selectHolder/utils.d.ts +0 -9
  108. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
  109. package/lib/plus/walletEditor/locales.d.ts +0 -135
  110. package/lib/plus/walletEditor/types.d.ts +0 -52
  111. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  112. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  113. package/lib/pro/Login2.0/hooks/index.d.ts +0 -2
  114. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
  115. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
  116. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
  117. package/lib/pro/Login2.0/locales.d.ts +0 -543
  118. package/lib/pro/Login2.0/shared/Header.d.ts +0 -11
  119. package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
  120. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  121. package/lib/pro/Login2.0/types.d.ts +0 -167
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
3
4
  export default Table;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
3
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Like: ({ status, onChange, className, style, }: {
3
4
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps extends SelectProps {
3
4
  locale?: string;
@@ -2078,7 +2078,7 @@ var PaymentModal = function PaymentModal(_ref18) {
2078
2078
  useEffect(function () {
2079
2079
  var initCheckoutData = /*#__PURE__*/function () {
2080
2080
  var _ref28 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
2081
- var checkout, shop_wallet_pass_id, newData, _newData$subtotal_inf, _newData$subtotal_inf2, _orderInfo2, _data$subtotal_info, _data$subtotal_info2, _orderInfo4;
2081
+ var checkout, shop_wallet_pass_id, newData, _newData$subtotal_inf, _newData$subtotal_inf2, _orderInfo2, _data$subtotal_info, _data$subtotal_info2, _orderInfo4, domain;
2082
2082
  return _regeneratorRuntime().wrap(function _callee23$(_context23) {
2083
2083
  while (1) switch (_context23.prev = _context23.next) {
2084
2084
  case 0:
@@ -2095,7 +2095,7 @@ var PaymentModal = function PaymentModal(_ref18) {
2095
2095
  case 6:
2096
2096
  shop_wallet_pass_id = _context23.sent;
2097
2097
  checkout.setOtherParams({
2098
- is_price_include_tax: getData('is_price_include_tax'),
2098
+ is_price_include_tax: getData('is_price_include_tax') || 1,
2099
2099
  tax_rate: getData('tax_rate') || '10',
2100
2100
  surcharge_list: getData('surcharge_list'),
2101
2101
  currency_format: getData('currency_format'),
@@ -2310,11 +2310,11 @@ var PaymentModal = function PaymentModal(_ref18) {
2310
2310
  return _ref29.apply(this, arguments);
2311
2311
  };
2312
2312
  }()));
2313
- _context23.next = 42;
2313
+ _context23.next = 45;
2314
2314
  break;
2315
2315
  case 25:
2316
2316
  if (!isLocalOrderCreated.current) {
2317
- _context23.next = 42;
2317
+ _context23.next = 44;
2318
2318
  break;
2319
2319
  }
2320
2320
  // // 如果本地订单已创建,这时候还更新了 data,则需要销毁当前的订单数据,然后更新新的订单数据了
@@ -2361,27 +2361,32 @@ var PaymentModal = function PaymentModal(_ref18) {
2361
2361
  }
2362
2362
  setOrderInfo(_orderInfo4);
2363
2363
  isLocalOrderCreated.current = true;
2364
- case 42:
2365
- _context23.next = 49;
2364
+ _context23.next = 45;
2366
2365
  break;
2367
2366
  case 44:
2368
- _context23.prev = 44;
2367
+ throw new Error('pisellos is not available');
2368
+ case 45:
2369
+ _context23.next = 53;
2370
+ break;
2371
+ case 47:
2372
+ _context23.prev = 47;
2369
2373
  _context23.t0 = _context23["catch"](0);
2370
2374
  console.error('Failed to initialize checkout data:', _context23.t0);
2375
+ domain = window.location.hostname;
2371
2376
  logger === null || logger === void 0 || logger.addLog({
2372
2377
  type: 'error',
2373
- title: 'Failed to initialize checkout data',
2378
+ title: "".concat(domain, ": Failed to initialize checkout data"),
2374
2379
  metadata: {
2375
2380
  error: _context23.t0
2376
2381
  }
2377
2382
  });
2378
2383
  // 如果订单创建失败,弹出提示让重新加载 app
2379
2384
  setShowCreateErrorModal(true);
2380
- case 49:
2385
+ case 53:
2381
2386
  case "end":
2382
2387
  return _context23.stop();
2383
2388
  }
2384
- }, _callee23, null, [[0, 44]]);
2389
+ }, _callee23, null, [[0, 47]]);
2385
2390
  }));
2386
2391
  return function initCheckoutData() {
2387
2392
  return _ref28.apply(this, arguments);
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RadioGroupProps } from 'antd';
2
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
4
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 自定义组件设置
3
4
  * @description: 自定义组件设置
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './titlebar.less';
2
3
  declare enum EPopupTitleBarVariantType {
3
4
  BackTitleClose = "back-title-cancel",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: (props: {
2
3
  status: string;
3
4
  pedding?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 获取 Tyro 资源
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Status: (props: any) => JSX.Element;
3
4
  export default Status;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DayItem: (props: any) => JSX.Element;
3
4
  export default DayItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { CalendarItemProps } from '../../../../../type';
3
4
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Status: (props: any) => JSX.Element;
3
4
  export default Status;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface InfoProps {
2
3
  relation_id: any;
3
4
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from "../type";
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type CurrentDayProps = {
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { IClientNameProps } from './type';
3
4
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -4,6 +4,7 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
+ /// <reference types="react" />
7
8
  export declare const BasicExample: () => JSX.Element;
8
9
  export declare const ChildrenExample: () => JSX.Element;
9
10
  export declare const CustomItemExample: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
2
3
  export default FormItemChildrenWrap;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
3
4
  export default Table;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
2
3
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Like: ({ status, onChange, className, style, }: {
3
4
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps extends SelectProps {
3
4
  locale?: string;
@@ -1472,7 +1472,7 @@ var PaymentModal = ({
1472
1472
  isLocalOrderCreated.current = true;
1473
1473
  const shop_wallet_pass_id = await (0, import_utils2.getShopWalletPassId)(interaction);
1474
1474
  checkout.setOtherParams({
1475
- is_price_include_tax: getData("is_price_include_tax"),
1475
+ is_price_include_tax: getData("is_price_include_tax") || 1,
1476
1476
  tax_rate: getData("tax_rate") || "10",
1477
1477
  surcharge_list: getData("surcharge_list"),
1478
1478
  currency_format: getData("currency_format"),
@@ -1673,12 +1673,15 @@ var PaymentModal = ({
1673
1673
  }
1674
1674
  setOrderInfo(orderInfo2);
1675
1675
  isLocalOrderCreated.current = true;
1676
+ } else {
1677
+ throw new Error("pisellos is not available");
1676
1678
  }
1677
1679
  } catch (error) {
1678
1680
  console.error("Failed to initialize checkout data:", error);
1681
+ const domain = window.location.hostname;
1679
1682
  logger == null ? void 0 : logger.addLog({
1680
1683
  type: "error",
1681
- title: "Failed to initialize checkout data",
1684
+ title: `${domain}: Failed to initialize checkout data`,
1682
1685
  metadata: {
1683
1686
  error
1684
1687
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RadioGroupProps } from 'antd';
2
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
3
4
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ color }: {
2
3
  color?: string | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 自定义组件设置
3
4
  * @description: 自定义组件设置
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './titlebar.less';
2
3
  declare enum EPopupTitleBarVariantType {
3
4
  BackTitleClose = "back-title-cancel",
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: (props: {
2
3
  status: string;
3
4
  pedding?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 获取 Tyro 资源
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Status: (props: any) => JSX.Element;
3
4
  export default Status;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DayItem: (props: any) => JSX.Element;
3
4
  export default DayItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { CalendarItemProps } from '../../../../../type';
3
4
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Status: (props: any) => JSX.Element;
3
4
  export default Status;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface InfoProps {
2
3
  relation_id: any;
3
4
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from "../type";
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type CurrentDayProps = {
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { IClientNameProps } from './type';
3
4
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -4,6 +4,7 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
+ /// <reference types="react" />
7
8
  export declare const BasicExample: () => JSX.Element;
8
9
  export declare const ChildrenExample: () => JSX.Element;
9
10
  export declare const CustomItemExample: () => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.6.6",
3
+ "version": "6.6.8",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -61,10 +61,10 @@
61
61
  "styled-components": "^6.0.0-rc.3",
62
62
  "@react-spring/web": "^9.6.1",
63
63
  "@use-gesture/react": "^10.3.1",
64
- "@pisell/date-picker": "3.0.7",
65
- "@pisell/materials": "6.6.3",
66
64
  "@pisell/icon": "0.0.11",
67
- "@pisell/utils": "3.0.2"
65
+ "@pisell/materials": "6.6.3",
66
+ "@pisell/utils": "3.0.2",
67
+ "@pisell/date-picker": "3.0.7"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.0.0",
@@ -1 +0,0 @@
1
- export declare const getIsPartyRoomResourceShop: (id: number) => boolean;