@pisell/private-materials 6.6.13 → 6.6.15

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 (80) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +1 -1
  10. package/es/components/booking/addons/model.d.ts +10 -1
  11. package/es/components/booking/components/footer/index.js +3 -1
  12. package/es/components/booking/forms/model.d.ts +10 -1
  13. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  14. package/es/components/booking/info/model.d.ts +10 -1
  15. package/es/components/booking/info/service2/utils.d.ts +1 -1
  16. package/es/components/booking/info2/cartClientCard/index.js +4 -2
  17. package/es/components/booking/locales.js +2 -2
  18. package/es/components/booking/model.d.ts +9 -1
  19. package/es/components/booking/notes/model.d.ts +10 -1
  20. package/es/components/booking/payments/model.d.ts +10 -1
  21. package/es/components/checkout/components/PaymentDetailModal/index.less +427 -429
  22. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -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/eftposPay/hooks.d.ts +2 -2
  26. package/es/components/eftposPay/store/index.d.ts +5 -5
  27. package/es/components/pay/toC/model.d.ts +9 -1
  28. package/es/components/schedules/model.d.ts +9 -1
  29. package/es/components/ticketBooking/components/addServiceVariant/addService.js +5 -4
  30. package/es/components/ticketBooking/components/ticketBooking/index.js +1 -0
  31. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  32. package/es/plus/clinetSearch/index.d.ts +1 -0
  33. package/es/plus/clinetSearch/index.js +11 -3
  34. package/es/plus/clinetSearch/locales.d.ts +3 -0
  35. package/es/plus/clinetSearch/locales.js +6 -3
  36. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  37. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  38. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  39. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  40. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  41. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  42. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  43. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  44. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  45. package/lib/components/booking/addons/model.d.ts +10 -1
  46. package/lib/components/booking/components/footer/index.js +3 -2
  47. package/lib/components/booking/forms/model.d.ts +10 -1
  48. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  49. package/lib/components/booking/info/model.d.ts +10 -1
  50. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  51. package/lib/components/booking/info2/cartClientCard/index.js +4 -2
  52. package/lib/components/booking/locales.js +2 -2
  53. package/lib/components/booking/model.d.ts +9 -1
  54. package/lib/components/booking/notes/model.d.ts +10 -1
  55. package/lib/components/booking/payments/model.d.ts +10 -1
  56. package/lib/components/checkout/components/PaymentDetailModal/index.less +427 -429
  57. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  58. package/lib/components/eftposPay/amount.d.ts +1 -1
  59. package/lib/components/eftposPay/device.d.ts +1 -1
  60. package/lib/components/eftposPay/hooks.d.ts +2 -2
  61. package/lib/components/eftposPay/store/index.d.ts +5 -5
  62. package/lib/components/pay/toC/model.d.ts +9 -1
  63. package/lib/components/schedules/model.d.ts +9 -1
  64. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +5 -5
  65. package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -0
  66. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  67. package/lib/plus/clinetSearch/index.d.ts +1 -0
  68. package/lib/plus/clinetSearch/index.js +16 -6
  69. package/lib/plus/clinetSearch/locales.d.ts +3 -0
  70. package/lib/plus/clinetSearch/locales.js +6 -3
  71. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  72. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  73. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  74. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  75. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  76. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  77. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  78. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  79. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
  80. package/package.json +3 -3
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1783,11 +1783,13 @@ var Footer = function Footer(props) {
1783
1783
  clearAllScanListenersTaskQueue = _useScanManager2.clearAllScanListenersTaskQueue;
1784
1784
  // 清空所有内容并重置购物车
1785
1785
  var handleClearAllAndReset = function handleClearAllAndReset() {
1786
- var _shopDiscount$clear;
1786
+ var _state$setIntervalTim, _shopDiscount$clear;
1787
1787
  // setTimeout(() => {
1788
1788
  // (window as any)?.shopApi?.bookingTicket?.clearAllCart();
1789
1789
  // }, 0);
1790
1790
  clearAllScanListenersTaskQueue();
1791
+ // 重置时间定时器,使时间按每分钟自动更新
1792
+ state === null || state === void 0 || (_state$setIntervalTim = state.setIntervalTime) === null || _state$setIntervalTim === void 0 || _state$setIntervalTim.call(state, true);
1791
1793
  // 清空服务项目
1792
1794
  dispatch({
1793
1795
  type: 'setService',
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
4
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
5
  handleOpen: () => void;
6
6
  handleValuesChange: (val: any) => void;
7
- handleOk: (values: SendModalValues) => Promise<any>;
7
+ handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
8
8
  };
9
9
  export default useSendModal;
@@ -1,5 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { FormState } from '../model';
1
3
  export declare const walkInData: {
2
4
  id: number;
3
5
  nickname: string;
4
6
  };
5
- export declare const Provider: any, Context: any;
7
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
+ state: FormState;
9
+ } & {
10
+ dispatch: (params: {
11
+ type: string;
12
+ payload: any;
13
+ }) => void;
14
+ }>;
@@ -216,4 +216,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
216
216
  * @Author: WangHan
217
217
  * @Date: 2024-12-24 11:32
218
218
  */
219
- export declare const updateServicePrice: (state: any) => Promise<any> | never[];
219
+ export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
@@ -427,14 +427,16 @@ var CartClientCard = /*#__PURE__*/forwardRef(function (_ref, ref) {
427
427
  open: searchModalVisible,
428
428
  onCancel: handleModalCancel,
429
429
  // 同时存在两个搜索弹窗时,内部的无限滚动组件会发生冲突
430
- destroyOnClose: true
430
+ destroyOnClose: true,
431
+ width: 880
431
432
  },
432
433
  isShowNewButton: false // 在模态框中隐藏新增按钮
433
434
  ,
434
435
  resultProps: resultProps,
435
436
  onAddClient: handleAddClientSuccess,
436
437
  onLoadMore: loadMore,
437
- hasMore: hasMore
438
+ hasMore: hasMore,
439
+ state: state
438
440
  }), /*#__PURE__*/React.createElement(PisellModal, {
439
441
  className: "cart-client-card_switch-modal",
440
442
  open: switchModalVisible,
@@ -743,7 +743,7 @@ export default {
743
743
  'pisell2.text.form.link.to.another.record.more': '查看更多',
744
744
  // 联系信息
745
745
  'pisell2.booking.text.contact-info.title': '联系信息',
746
- 'pisell2.booking.text.search-placeholder': '搜索客户/联系信息',
746
+ 'pisell2.booking.text.search-placeholder': '搜索客户/联系信息/持有人',
747
747
  'pisell-select-holder-please-select': '请选择',
748
748
  'pisell-select-holder-selected': '已选择:'
749
749
  },
@@ -1119,7 +1119,7 @@ export default {
1119
1119
  'pisell2.text.form.link.to.another.record.more': '查看更多',
1120
1120
  // 联系信息
1121
1121
  'pisell2.booking.text.contact-info.title': '聯繫信息',
1122
- 'pisell2.booking.text.search-placeholder': '搜索客戶/聯系信息',
1122
+ 'pisell2.booking.text.search-placeholder': '搜索客戶/聯系信息/持有人',
1123
1123
  'pisell-select-holder-please-select': '請選擇',
1124
1124
  'pisell-select-holder-selected': '已選擇:'
1125
1125
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -109,4 +110,11 @@ export declare const walkInData: {
109
110
  id: number;
110
111
  nickname: string;
111
112
  };
112
- export declare const Provider: any, Context: any;
113
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
+ state: FormState;
115
+ } & {
116
+ dispatch: (params: {
117
+ type: string;
118
+ payload: any;
119
+ }) => void;
120
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;