@pisell/private-materials 3.3.27 → 3.3.29

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 (87) 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/businessModel/SalesModel/index.d.ts +0 -1
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  9. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/index.d.ts +0 -1
  12. package/es/components/booking/components/footer/index.d.ts +0 -1
  13. package/es/components/booking/deposit/index.d.ts +0 -1
  14. package/es/components/booking/hooks/useQuotation.js +6 -2
  15. package/es/components/booking/info/service/Lists.d.ts +0 -1
  16. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  17. package/es/components/booking/info/service/editService/index.js +1 -1
  18. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  19. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  20. package/es/components/booking/info/service2/hooks/useSelectPet.js +2 -4
  21. package/es/components/booking/info/service2/utils.d.ts +1 -1
  22. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  23. package/es/components/eftposPay/amount.d.ts +1 -1
  24. package/es/components/eftposPay/device.d.ts +1 -1
  25. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  26. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  27. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  28. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  29. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  30. package/es/components/eventBooking/index.d.ts +0 -1
  31. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  32. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  33. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  34. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  35. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  36. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  37. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  38. package/es/components/productExtension/index.d.ts +0 -1
  39. package/es/components/ruleSetting/index.d.ts +0 -1
  40. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  41. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  42. package/es/components/shoppingCart/index.d.ts +0 -1
  43. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  44. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  45. package/es/components/ticketBooking/index.d.ts +0 -1
  46. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  47. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  48. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  49. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  50. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  51. package/lib/components/appointmentBooking/index.d.ts +0 -1
  52. package/lib/components/booking/components/footer/index.d.ts +0 -1
  53. package/lib/components/booking/deposit/index.d.ts +0 -1
  54. package/lib/components/booking/hooks/useQuotation.js +4 -3
  55. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  56. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  57. package/lib/components/booking/info/service/editService/index.js +1 -1
  58. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  59. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  60. package/lib/components/booking/info/service2/hooks/useSelectPet.js +2 -4
  61. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  62. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  63. package/lib/components/eftposPay/amount.d.ts +1 -1
  64. package/lib/components/eftposPay/device.d.ts +1 -1
  65. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  66. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  67. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  68. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  69. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  70. package/lib/components/eventBooking/index.d.ts +0 -1
  71. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  72. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  73. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  74. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  75. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  76. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  77. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  78. package/lib/components/productExtension/index.d.ts +0 -1
  79. package/lib/components/ruleSetting/index.d.ts +0 -1
  80. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  81. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  82. package/lib/components/shoppingCart/index.d.ts +0 -1
  83. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  84. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  85. package/lib/components/ticketBooking/index.d.ts +0 -1
  86. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  87. package/package.json +4 -4
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: ({ onNext }: any) => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AppointmentBooking: () => JSX.Element;
4
3
  export default AppointmentBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 底部
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -220,11 +220,15 @@ var useQuotation = function useQuotation(state, dispatch) {
220
220
  return (state === null || state === void 0 || (_state$client = state.client) === null || _state$client === void 0 ? void 0 : _state$client.edit) || (state === null || state === void 0 || (_state$date = state.date) === null || _state$date === void 0 ? void 0 : _state$date.edit);
221
221
  }, [state]);
222
222
  useEffect(function () {
223
- var _context$appHelper, _context$appHelper$ge, _state$client2;
223
+ var _context$appHelper, _context$appHelper$ge, _context$appHelper2, _context$appHelper2$g, _state$client2;
224
+ // 报价单
224
225
  var isQuotation = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.businessUtils) === null || _context$appHelper === void 0 || (_context$appHelper$ge = _context$appHelper.getAppByModal) === null || _context$appHelper$ge === void 0 ? void 0 : _context$appHelper$ge.call(_context$appHelper, 'quotation');
225
226
 
227
+ // 假日报价单
228
+ var isHolidayQuotation = context === null || context === void 0 || (_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.businessUtils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getAppByModal) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2, 'holidayquotation');
229
+
226
230
  // 没有报价单不走该流程 没有更新客户信息或者日期不更新不走该流程
227
- if (!isQuotation || !isEditClientOrDate) return;
231
+ if (!isQuotation && !isHolidayQuotation || !isEditClientOrDate) return;
228
232
  updateCartQuotation({
229
233
  customer_id: (_state$client2 = state.client) === null || _state$client2 === void 0 || (_state$client2 = _state$client2.value) === null || _state$client2 === void 0 ? void 0 : _state$client2.id,
230
234
  schedule_date: currentDate
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -1093,7 +1093,7 @@ var Info = function Info(_, ref) {
1093
1093
  }]
1094
1094
  }, /*#__PURE__*/React.createElement(Duration, _extends({}, durationProps, {
1095
1095
  timeObj: timeObj
1096
- })))), (holderLists === null || holderLists === void 0 ? void 0 : holderLists.length) > 0 ? /*#__PURE__*/React.createElement(Col, {
1096
+ })))), isDayBookingMode && (holderLists === null || holderLists === void 0 ? void 0 : holderLists.length) > 0 ? /*#__PURE__*/React.createElement(Col, {
1097
1097
  span: isDayBookingMode ? 12 : 24
1098
1098
  }, /*#__PURE__*/React.createElement(Form.Item, {
1099
1099
  label: locales.getText('pisell2.text.holder'),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -30,11 +30,9 @@ var useSelectPet = function useSelectPet(state) {
30
30
  */
31
31
  var holderLists = useMemo(function () {
32
32
  var _state$pet3;
33
- var _lists = formatHolderLists(petLists);
34
- return _lists;
35
33
  if (isDaysBookingBol) {
36
- var _lists2 = formatHolderLists(petLists);
37
- return _lists2;
34
+ var _lists = formatHolderLists(petLists);
35
+ return _lists;
38
36
  }
39
37
  return (state === null || state === void 0 || (_state$pet3 = state.pet) === null || _state$pet3 === void 0 ? void 0 : _state$pet3.holders) || [];
40
38
  }, [petLists, isDaysBookingBol, state === null || state === void 0 || (_state$pet4 = state.pet) === null || _state$pet4 === void 0 ? void 0 : _state$pet4.holders]);
@@ -240,4 +240,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
240
240
  * @Author: WangHan
241
241
  * @Date: 2024-12-24 11:32
242
242
  */
243
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
243
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const TicketBooking: () => JSX.Element;
4
3
  export default TicketBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface TicketBookingProps {
4
3
  productExtensionType: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: ({ onNext }: any) => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AppointmentBooking: () => JSX.Element;
4
3
  export default AppointmentBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 底部
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -179,11 +179,12 @@ var useQuotation = (state, dispatch) => {
179
179
  return ((_a2 = state == null ? void 0 : state.client) == null ? void 0 : _a2.edit) || ((_b2 = state == null ? void 0 : state.date) == null ? void 0 : _b2.edit);
180
180
  }, [state]);
181
181
  (0, import_react.useEffect)(() => {
182
- var _a2, _b2, _c, _d, _e, _f;
182
+ var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
183
183
  const isQuotation = (_d = (_c = (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b2.businessUtils) == null ? void 0 : _c.getAppByModal) == null ? void 0 : _d.call(_c, "quotation");
184
- if (!isQuotation || !isEditClientOrDate) return;
184
+ const isHolidayQuotation = (_h = (_g = (_f = (_e = context == null ? void 0 : context.appHelper) == null ? void 0 : _e.utils) == null ? void 0 : _f.businessUtils) == null ? void 0 : _g.getAppByModal) == null ? void 0 : _h.call(_g, "holidayquotation");
185
+ if (!isQuotation && !isHolidayQuotation || !isEditClientOrDate) return;
185
186
  updateCartQuotation({
186
- customer_id: (_f = (_e = state.client) == null ? void 0 : _e.value) == null ? void 0 : _f.id,
187
+ customer_id: (_j = (_i = state.client) == null ? void 0 : _i.value) == null ? void 0 : _j.id,
187
188
  schedule_date: currentDate
188
189
  });
189
190
  }, [(_b = (_a = state.client) == null ? void 0 : _a.value) == null ? void 0 : _b.id, currentDate, isEditClientOrDate]);
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -752,7 +752,7 @@ var Info = (_, ref) => {
752
752
  rules: [{ required: true }]
753
753
  },
754
754
  /* @__PURE__ */ import_react.default.createElement(import_duration.default, { ...durationProps, timeObj })
755
- )), (holderLists == null ? void 0 : holderLists.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: isDayBookingMode ? 12 : 24 }, /* @__PURE__ */ import_react.default.createElement(
755
+ )), isDayBookingMode && (holderLists == null ? void 0 : holderLists.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: isDayBookingMode ? 12 : 24 }, /* @__PURE__ */ import_react.default.createElement(
756
756
  import_antd.Form.Item,
757
757
  {
758
758
  label: import_utils.locales.getText("pisell2.text.holder"),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -36,11 +36,9 @@ var useSelectPet = (state) => {
36
36
  }, [(_a = state == null ? void 0 : state.pet) == null ? void 0 : _a.value]);
37
37
  const holderLists = (0, import_react.useMemo)(() => {
38
38
  var _a2;
39
- const _lists = (0, import_utils.formatHolderLists)(petLists);
40
- return _lists;
41
39
  if (isDaysBookingBol) {
42
- const _lists2 = (0, import_utils.formatHolderLists)(petLists);
43
- return _lists2;
40
+ const _lists = (0, import_utils.formatHolderLists)(petLists);
41
+ return _lists;
44
42
  }
45
43
  return ((_a2 = state == null ? void 0 : state.pet) == null ? void 0 : _a2.holders) || [];
46
44
  }, [petLists, isDaysBookingBol, (_b = state == null ? void 0 : state.pet) == null ? void 0 : _b.holders]);
@@ -240,4 +240,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
240
240
  * @Author: WangHan
241
241
  * @Date: 2024-12-24 11:32
242
242
  */
243
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
243
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const TicketBooking: () => JSX.Element;
4
3
  export default TicketBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface TicketBookingProps {
4
3
  productExtensionType: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.27",
3
+ "version": "3.3.29",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/materials": "3.3.8",
62
+ "@pisell/date-picker": "3.0.2",
63
63
  "@pisell/utils": "1.0.42",
64
- "@pisell/icon": "0.0.11",
65
- "@pisell/date-picker": "3.0.2"
64
+ "@pisell/materials": "3.3.8",
65
+ "@pisell/icon": "0.0.11"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",