@pisell/private-materials 3.0.69 → 3.0.71

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 (49) 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.css +1 -1
  6. package/build/lowcode/render/default/view.js +9 -9
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +7 -7
  9. package/es/components/booking/components/addButton/index.d.ts +1 -0
  10. package/es/components/booking/components/addButton/index.js +6 -2
  11. package/es/components/booking/components/customSelect/index.js +4 -2
  12. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -1
  13. package/es/components/booking/components/footer/FooterMenus/index.js +71 -22
  14. package/es/components/booking/components/footer/index.js +255 -14
  15. package/es/components/booking/info/client/index.js +2 -2
  16. package/es/components/booking/info/header/index.less +7 -1
  17. package/es/components/booking/info/index.js +6 -5
  18. package/es/components/booking/info/notes/index.d.ts +1 -1
  19. package/es/components/booking/info/notes/index.js +4 -1
  20. package/es/components/booking/info/pet/index.js +3 -0
  21. package/es/components/booking/info/service/addService/index.js +12 -7
  22. package/es/components/booking/info/service/editService/index.js +19 -4
  23. package/es/components/booking/info/service/serviceList/index.js +1 -1
  24. package/es/components/booking/locales.d.ts +3 -3
  25. package/es/components/booking/locales.js +13 -13
  26. package/es/components/booking/model.d.ts +1 -0
  27. package/es/components/booking/payments/index.js +0 -6
  28. package/es/components/booking/utils.js +1 -1
  29. package/lib/components/booking/components/addButton/index.d.ts +1 -0
  30. package/lib/components/booking/components/addButton/index.js +7 -4
  31. package/lib/components/booking/components/customSelect/index.js +3 -2
  32. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -1
  33. package/lib/components/booking/components/footer/FooterMenus/index.js +4 -21
  34. package/lib/components/booking/components/footer/index.js +243 -16
  35. package/lib/components/booking/info/client/index.js +2 -2
  36. package/lib/components/booking/info/header/index.less +7 -1
  37. package/lib/components/booking/info/index.js +4 -3
  38. package/lib/components/booking/info/notes/index.d.ts +1 -1
  39. package/lib/components/booking/info/notes/index.js +4 -1
  40. package/lib/components/booking/info/pet/index.js +3 -0
  41. package/lib/components/booking/info/service/addService/index.js +11 -7
  42. package/lib/components/booking/info/service/editService/index.js +21 -6
  43. package/lib/components/booking/info/service/serviceList/index.js +1 -1
  44. package/lib/components/booking/locales.d.ts +3 -3
  45. package/lib/components/booking/locales.js +13 -13
  46. package/lib/components/booking/model.d.ts +1 -0
  47. package/lib/components/booking/payments/index.js +0 -6
  48. package/lib/components/booking/utils.js +1 -1
  49. package/package.json +3 -3
@@ -64,7 +64,7 @@ var locales_default = {
64
64
  "pisell2.text.add-notes": "Add Notes",
65
65
  "pisell2.text.notes": "Notes",
66
66
  "pisell2.text.new-appointment": "New appointment",
67
- "pisell2.text.enroll": "Enroll",
67
+ "pisell2.text.enroll.detail": "Details",
68
68
  "pisell2.text.add-products-successfully": "Add products successfully",
69
69
  "pisell2.text.add": "Add",
70
70
  "pisell2.text.created-successfully": "Appointment created",
@@ -149,23 +149,23 @@ var locales_default = {
149
149
  "pisell2.text.add-contacts": "Add contact",
150
150
  "pisell2.text.edit-profile": "Edit profile",
151
151
  "pisell2.text.remove-contact": "Remove contact",
152
- "pisell2.text.order.sales.channel.online": "Online Store",
153
- "pisell2.text.order.sales.channel.pos-terminal": "Pisell Terminal",
152
+ "pisell2.text.order.sales.channel.online": "Online store",
153
+ "pisell2.text.order.sales.channel.pos-terminal": "Pisell terminal",
154
154
  "pisell2.text.order.sales.channel.boxcocal": "Boxlocal",
155
- "pisell2.text.order.sales.channel.tableorder": "Table Order",
156
- "pisell2.text.order.sales.channel.reserve": "Google Reservation",
155
+ "pisell2.text.order.sales.channel.tableorder": "Table order",
156
+ "pisell2.text.order.sales.channel.reserve": "Google reservation",
157
157
  "pisell2.text.rebook": "Rebook",
158
158
  "pisell2.text.now": "Now",
159
- "pisell2.text.deposit-list": "Deposit List",
159
+ "pisell2.text.deposit-list": "Deposit list",
160
160
  "pisell2.text.deposit-item-status-paid": "Paid",
161
161
  "pisell2.text.deposit-item-status-unpaid": "Unpaid",
162
- "pisell2.text.deposit-order-total": "Order Total",
163
- "pisell2.text.deposit-order-detail": "Order Details",
164
- "pisell2.text.deposit-collect-deposit": "Collect Deposit",
162
+ "pisell2.text.deposit-order-total": "Order total",
163
+ "pisell2.text.deposit-order-detail": "Order details",
164
+ "pisell2.text.deposit-collect-deposit": "Collect deposit",
165
165
  "pisell2.text.deposit-order-no": "Order No",
166
166
  "pisell2.text.deposit-amount": "Amount",
167
- "pisell2.text.deposit-deposit-amount": "Deposit Amount",
168
- "pisell2.text.deposit-generate-payment-link": "Generate Payment Link",
167
+ "pisell2.text.deposit-deposit-amount": "Deposit amount",
168
+ "pisell2.text.deposit-generate-payment-link": "Generate payment link",
169
169
  "pisell2.text.deposit-list-empty": "Please add a deposit",
170
170
  "pisell2.text.deposit-amount-message": "Amount must be greater than 0",
171
171
  "pisell2.text.deposit-amount-message2": "The deposit amount cannot be greater than the total order amount",
@@ -227,7 +227,7 @@ var locales_default = {
227
227
  "pisell2.text.add-notes": "添加备注",
228
228
  "pisell2.text.notes": "备注",
229
229
  "pisell2.text.new-appointment": "新预约",
230
- "pisell2.text.enroll": "报名",
230
+ "pisell2.text.enroll.detail": "详情",
231
231
  "pisell2.text.add-products-successfully": "添加商品成功",
232
232
  "pisell2.text.refund": "退款",
233
233
  "pisell2.text.refund-amount": "退款金额",
@@ -390,7 +390,7 @@ var locales_default = {
390
390
  "pisell2.text.add-notes": "添加備注",
391
391
  "pisell2.text.notes": "備注",
392
392
  "pisell2.text.new-appointment": "新預約",
393
- "pisell2.text.enroll": "报名",
393
+ "pisell2.text.enroll.detail": "詳情",
394
394
  "pisell2.text.add-products-successfully": "添加商品成功",
395
395
  //
396
396
  "pisell2.text.add": "添加",
@@ -86,6 +86,7 @@ export interface FormState {
86
86
  end_time: string;
87
87
  productIds: number[];
88
88
  };
89
+ disableEventBookingEdit?: boolean;
89
90
  }
90
91
  export declare const walkInData: {
91
92
  id: number;
@@ -73,12 +73,6 @@ var Payments = (0, import_model.Provider)((props) => {
73
73
  (0, import_react.useEffect)(() => {
74
74
  if (state.bookingDetail) {
75
75
  init();
76
- state.action({
77
- type: "pisell1.registerPlugin",
78
- data: {
79
- pluginList: ["RefundPlugin"]
80
- }
81
- });
82
76
  }
83
77
  }, [state.bookingDetail]);
84
78
  const getRefundInfo = async () => {
@@ -440,7 +440,7 @@ var getServerItemExtend = (state, cacheItem, timeObj) => {
440
440
  if (findNextSliceProps.date && findNextSliceProps.date !== "00:00") {
441
441
  _extend.start_time = findNextSlice(findNextSliceProps);
442
442
  } else {
443
- _extend.start_time = "now";
443
+ _extend.start_time = (0, import_dayjs.default)().format("HH:mm");
444
444
  }
445
445
  }
446
446
  _extend = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.69",
3
+ "version": "3.0.71",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,8 +59,8 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "@pisell/utils": "1.0.24",
62
- "@pisell/date-picker": "1.0.73",
63
- "@pisell/icon": "0.0.8"
62
+ "@pisell/icon": "0.0.8",
63
+ "@pisell/date-picker": "1.0.73"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": "^18.0.0",