@pisell/private-materials 6.11.68 → 6.11.70

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 (94) 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 +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  8. package/es/components/booking/hooks/usePromotion.js +2 -1
  9. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  10. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  11. package/es/components/booking/utils.d.ts +2 -2
  12. package/es/components/eftposPay/amount.d.ts +1 -1
  13. package/es/components/eftposPay/device.d.ts +1 -1
  14. package/es/components/eftposPay/hooks.d.ts +2 -2
  15. package/es/components/eftposPay/store/index.d.ts +7 -7
  16. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  17. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  18. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  19. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  20. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  21. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  22. package/es/plus/pisellReservation/PisellReservation.js +31 -41
  23. package/es/plus/pisellReservation/floorPlanApi.js +3 -1
  24. package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +2 -0
  25. package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.js +4 -1
  26. package/es/plus/pisellReservation/hooks/usePisellReservationResourceTableData.d.ts +1 -1
  27. package/es/plus/pisellReservation/hooks/usePisellReservationResourceTableData.js +2 -1
  28. package/es/plus/pisellReservation/index.d.ts +1 -1
  29. package/es/plus/pisellReservation/index.js +1 -1
  30. package/es/plus/pisellReservation/locales-ja.d.ts +69 -0
  31. package/es/plus/pisellReservation/locales-ja.js +68 -0
  32. package/es/plus/pisellReservation/locales-pt.d.ts +69 -0
  33. package/es/plus/pisellReservation/locales-pt.js +68 -0
  34. package/es/plus/pisellReservation/locales.d.ts +161 -0
  35. package/es/plus/pisellReservation/locales.js +35 -4
  36. package/es/plus/pisellReservation/reservationCards.js +7 -4
  37. package/es/plus/pisellReservation/reservationConstants.d.ts +33 -0
  38. package/es/plus/pisellReservation/reservationConstants.js +4 -1
  39. package/es/plus/pisellReservation/reservationMock.d.ts +10 -4
  40. package/es/plus/pisellReservation/reservationMock.js +94 -39
  41. package/es/plus/pisellReservation/useReservationFloorMapMerged.d.ts +2 -0
  42. package/es/plus/pisellReservation/useReservationFloorMapMerged.js +8 -5
  43. package/es/plus/pisellReservation/useReservationFloorPlan.d.ts +3 -0
  44. package/es/plus/pisellReservation/useReservationFloorPlan.js +5 -4
  45. package/es/plus/pisellSalesGrid/serve.js +2 -2
  46. package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  47. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  48. package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
  49. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  50. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  51. package/lib/components/booking/hooks/usePromotion.js +1 -1
  52. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  53. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  54. package/lib/components/booking/utils.d.ts +2 -2
  55. package/lib/components/eftposPay/amount.d.ts +1 -1
  56. package/lib/components/eftposPay/device.d.ts +1 -1
  57. package/lib/components/eftposPay/hooks.d.ts +2 -2
  58. package/lib/components/eftposPay/store/index.d.ts +7 -7
  59. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  60. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  61. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  62. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  63. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  64. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  65. package/lib/plus/pisellReservation/PisellReservation.js +28 -64
  66. package/lib/plus/pisellReservation/floorPlanApi.js +7 -5
  67. package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +2 -0
  68. package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.js +4 -1
  69. package/lib/plus/pisellReservation/hooks/usePisellReservationResourceTableData.d.ts +1 -1
  70. package/lib/plus/pisellReservation/hooks/usePisellReservationResourceTableData.js +2 -1
  71. package/lib/plus/pisellReservation/index.d.ts +1 -1
  72. package/lib/plus/pisellReservation/index.js +2 -2
  73. package/lib/plus/pisellReservation/locales-ja.d.ts +69 -0
  74. package/lib/plus/pisellReservation/locales-ja.js +91 -0
  75. package/lib/plus/pisellReservation/locales-pt.d.ts +69 -0
  76. package/lib/plus/pisellReservation/locales-pt.js +91 -0
  77. package/lib/plus/pisellReservation/locales.d.ts +161 -0
  78. package/lib/plus/pisellReservation/locales.js +45 -4
  79. package/lib/plus/pisellReservation/reservationCards.js +7 -8
  80. package/lib/plus/pisellReservation/reservationConstants.d.ts +33 -0
  81. package/lib/plus/pisellReservation/reservationConstants.js +10 -0
  82. package/lib/plus/pisellReservation/reservationMock.d.ts +10 -4
  83. package/lib/plus/pisellReservation/reservationMock.js +106 -19
  84. package/lib/plus/pisellReservation/useReservationFloorMapMerged.d.ts +2 -0
  85. package/lib/plus/pisellReservation/useReservationFloorMapMerged.js +10 -4
  86. package/lib/plus/pisellReservation/useReservationFloorPlan.d.ts +3 -0
  87. package/lib/plus/pisellReservation/useReservationFloorPlan.js +4 -3
  88. package/lib/plus/pisellSalesGrid/serve.js +2 -2
  89. package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  90. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
  91. package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
  92. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  93. package/lowcode/pisell-reservation/meta.ts +1 -1
  94. package/package.json +2 -2
@@ -34,12 +34,21 @@ declare const _default: {
34
34
  'pisell-reservation.more': string;
35
35
  'pisell-reservation.late': string;
36
36
  'pisell-reservation.floor-hud.total': string;
37
+ 'pisell-reservation.floor-map.data-source-label': string;
38
+ 'pisell-reservation.floor-map.category-background': string;
39
+ 'pisell-reservation.floor-map.palette-image-bg': string;
40
+ 'pisell-reservation.floor-plan.save-failed': string;
41
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
42
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
43
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
44
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
37
45
  'pisell-reservation.resource-grid.id': string;
38
46
  'pisell-reservation.resource-grid.name': string;
39
47
  'pisell-reservation.resource-grid.form-code': string;
40
48
  'pisell-reservation.resource-grid.capacity': string;
41
49
  'pisell-reservation.resource-grid.schedule': string;
42
50
  'pisell-reservation.resource-grid.form-id': string;
51
+ 'pisell-reservation.resource-grid.card-status': string;
43
52
  'pisell-reservation.room-kind-bound': string;
44
53
  'pisell-reservation.room-status-occupied': string;
45
54
  'pisell-reservation.room-status-reserved': string;
@@ -92,12 +101,21 @@ declare const _default: {
92
101
  'pisell-reservation.more': string;
93
102
  'pisell-reservation.late': string;
94
103
  'pisell-reservation.floor-hud.total': string;
104
+ 'pisell-reservation.floor-map.data-source-label': string;
105
+ 'pisell-reservation.floor-map.category-background': string;
106
+ 'pisell-reservation.floor-map.palette-image-bg': string;
107
+ 'pisell-reservation.floor-plan.save-failed': string;
108
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
109
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
110
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
111
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
95
112
  'pisell-reservation.resource-grid.id': string;
96
113
  'pisell-reservation.resource-grid.name': string;
97
114
  'pisell-reservation.resource-grid.form-code': string;
98
115
  'pisell-reservation.resource-grid.capacity': string;
99
116
  'pisell-reservation.resource-grid.schedule': string;
100
117
  'pisell-reservation.resource-grid.form-id': string;
118
+ 'pisell-reservation.resource-grid.card-status': string;
101
119
  'pisell-reservation.room-kind-bound': string;
102
120
  'pisell-reservation.room-status-occupied': string;
103
121
  'pisell-reservation.room-status-reserved': string;
@@ -150,12 +168,155 @@ declare const _default: {
150
168
  'pisell-reservation.more': string;
151
169
  'pisell-reservation.late': string;
152
170
  'pisell-reservation.floor-hud.total': string;
171
+ 'pisell-reservation.floor-map.data-source-label': string;
172
+ 'pisell-reservation.floor-map.category-background': string;
173
+ 'pisell-reservation.floor-map.palette-image-bg': string;
174
+ 'pisell-reservation.floor-plan.save-failed': string;
175
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
176
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
177
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
178
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
153
179
  'pisell-reservation.resource-grid.id': string;
154
180
  'pisell-reservation.resource-grid.name': string;
155
181
  'pisell-reservation.resource-grid.form-code': string;
156
182
  'pisell-reservation.resource-grid.capacity': string;
157
183
  'pisell-reservation.resource-grid.schedule': string;
158
184
  'pisell-reservation.resource-grid.form-id': string;
185
+ 'pisell-reservation.resource-grid.card-status': string;
186
+ 'pisell-reservation.room-kind-bound': string;
187
+ 'pisell-reservation.room-status-occupied': string;
188
+ 'pisell-reservation.room-status-reserved': string;
189
+ 'pisell-reservation.room-status-empty': string;
190
+ 'pisell-reservation.room-status-locked': string;
191
+ 'pisell-reservation.room-status-unbound': string;
192
+ 'pisell-reservation.room-paid': string;
193
+ 'pisell-reservation.room-unpaid': string;
194
+ 'pisell-reservation.room-cap-prefix': string;
195
+ 'pisell-reservation.room-time-end': string;
196
+ 'pisell-reservation.room-time-start': string;
197
+ 'pisell-reservation.room-in-minutes': string;
198
+ 'pisell-reservation.room-view-all': string;
199
+ 'pisell-reservation.room-next-prefix': string;
200
+ 'pisell-reservation.room-guest-unknown': string;
201
+ 'pisell-reservation.room-collapse': string;
202
+ };
203
+ ja: {
204
+ 'pisell-reservation.page-title': string;
205
+ 'pisell-reservation.new': string;
206
+ 'pisell-reservation.new-modal-title': string;
207
+ 'pisell-reservation.new-modal-placeholder': string;
208
+ 'pisell-reservation.cancel': string;
209
+ 'pisell-reservation.edit-map': string;
210
+ 'pisell-reservation.edit-map-done': string;
211
+ 'pisell-reservation.follow-current': string;
212
+ 'pisell-reservation.view-grid': string;
213
+ 'pisell-reservation.view-floor': string;
214
+ 'pisell-reservation.follow-live-time': string;
215
+ 'pisell-reservation.follow-custom-time': string;
216
+ 'pisell-reservation.follow-live-hint': string;
217
+ 'pisell-reservation.follow-custom-hint': string;
218
+ 'pisell-reservation.switch-to-custom-time': string;
219
+ 'pisell-reservation.switch-to-live-time': string;
220
+ 'pisell-reservation.non-current-hint': string;
221
+ 'pisell-reservation.at-current-time': string;
222
+ 'pisell-reservation.go-current': string;
223
+ 'pisell-reservation.grid.code': string;
224
+ 'pisell-reservation.grid.area': string;
225
+ 'pisell-reservation.grid.status': string;
226
+ 'pisell-reservation.grid.guest': string;
227
+ 'pisell-reservation.grid.time': string;
228
+ 'pisell-reservation.grid.party': string;
229
+ 'pisell-reservation.canvas.main': string;
230
+ 'pisell-reservation.canvas.secondary': string;
231
+ 'pisell-reservation.canvas.vip': string;
232
+ 'pisell-reservation.maintenance': string;
233
+ 'pisell-reservation.next': string;
234
+ 'pisell-reservation.party': string;
235
+ 'pisell-reservation.more': string;
236
+ 'pisell-reservation.late': string;
237
+ 'pisell-reservation.floor-hud.total': string;
238
+ 'pisell-reservation.floor-map.data-source-label': string;
239
+ 'pisell-reservation.floor-map.category-background': string;
240
+ 'pisell-reservation.floor-map.palette-image-bg': string;
241
+ 'pisell-reservation.floor-plan.save-failed': string;
242
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
243
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
244
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
245
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
246
+ 'pisell-reservation.resource-grid.id': string;
247
+ 'pisell-reservation.resource-grid.name': string;
248
+ 'pisell-reservation.resource-grid.form-code': string;
249
+ 'pisell-reservation.resource-grid.capacity': string;
250
+ 'pisell-reservation.resource-grid.schedule': string;
251
+ 'pisell-reservation.resource-grid.form-id': string;
252
+ 'pisell-reservation.resource-grid.card-status': string;
253
+ 'pisell-reservation.room-kind-bound': string;
254
+ 'pisell-reservation.room-status-occupied': string;
255
+ 'pisell-reservation.room-status-reserved': string;
256
+ 'pisell-reservation.room-status-empty': string;
257
+ 'pisell-reservation.room-status-locked': string;
258
+ 'pisell-reservation.room-status-unbound': string;
259
+ 'pisell-reservation.room-paid': string;
260
+ 'pisell-reservation.room-unpaid': string;
261
+ 'pisell-reservation.room-cap-prefix': string;
262
+ 'pisell-reservation.room-time-end': string;
263
+ 'pisell-reservation.room-time-start': string;
264
+ 'pisell-reservation.room-in-minutes': string;
265
+ 'pisell-reservation.room-view-all': string;
266
+ 'pisell-reservation.room-next-prefix': string;
267
+ 'pisell-reservation.room-guest-unknown': string;
268
+ 'pisell-reservation.room-collapse': string;
269
+ };
270
+ pt: {
271
+ 'pisell-reservation.page-title': string;
272
+ 'pisell-reservation.new': string;
273
+ 'pisell-reservation.new-modal-title': string;
274
+ 'pisell-reservation.new-modal-placeholder': string;
275
+ 'pisell-reservation.cancel': string;
276
+ 'pisell-reservation.edit-map': string;
277
+ 'pisell-reservation.edit-map-done': string;
278
+ 'pisell-reservation.follow-current': string;
279
+ 'pisell-reservation.view-grid': string;
280
+ 'pisell-reservation.view-floor': string;
281
+ 'pisell-reservation.follow-live-time': string;
282
+ 'pisell-reservation.follow-custom-time': string;
283
+ 'pisell-reservation.follow-live-hint': string;
284
+ 'pisell-reservation.follow-custom-hint': string;
285
+ 'pisell-reservation.switch-to-custom-time': string;
286
+ 'pisell-reservation.switch-to-live-time': string;
287
+ 'pisell-reservation.non-current-hint': string;
288
+ 'pisell-reservation.at-current-time': string;
289
+ 'pisell-reservation.go-current': string;
290
+ 'pisell-reservation.grid.code': string;
291
+ 'pisell-reservation.grid.area': string;
292
+ 'pisell-reservation.grid.status': string;
293
+ 'pisell-reservation.grid.guest': string;
294
+ 'pisell-reservation.grid.time': string;
295
+ 'pisell-reservation.grid.party': string;
296
+ 'pisell-reservation.canvas.main': string;
297
+ 'pisell-reservation.canvas.secondary': string;
298
+ 'pisell-reservation.canvas.vip': string;
299
+ 'pisell-reservation.maintenance': string;
300
+ 'pisell-reservation.next': string;
301
+ 'pisell-reservation.party': string;
302
+ 'pisell-reservation.more': string;
303
+ 'pisell-reservation.late': string;
304
+ 'pisell-reservation.floor-hud.total': string;
305
+ 'pisell-reservation.floor-map.data-source-label': string;
306
+ 'pisell-reservation.floor-map.category-background': string;
307
+ 'pisell-reservation.floor-map.palette-image-bg': string;
308
+ 'pisell-reservation.floor-plan.save-failed': string;
309
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
310
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
311
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
312
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
313
+ 'pisell-reservation.resource-grid.id': string;
314
+ 'pisell-reservation.resource-grid.name': string;
315
+ 'pisell-reservation.resource-grid.form-code': string;
316
+ 'pisell-reservation.resource-grid.capacity': string;
317
+ 'pisell-reservation.resource-grid.schedule': string;
318
+ 'pisell-reservation.resource-grid.form-id': string;
319
+ 'pisell-reservation.resource-grid.card-status': string;
159
320
  'pisell-reservation.room-kind-bound': string;
160
321
  'pisell-reservation.room-status-occupied': string;
161
322
  'pisell-reservation.room-status-reserved': string;
@@ -1,6 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
7
  var __export = (target, all) => {
6
8
  for (var name in all)
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
14
16
  }
15
17
  return to;
16
18
  };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
17
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
28
 
19
29
  // src/plus/pisellReservation/locales.ts
@@ -22,6 +32,8 @@ __export(locales_exports, {
22
32
  default: () => locales_default
23
33
  });
24
34
  module.exports = __toCommonJS(locales_exports);
35
+ var import_locales_ja = __toESM(require("./locales-ja"));
36
+ var import_locales_pt = __toESM(require("./locales-pt"));
25
37
  var locales_default = {
26
38
  en: {
27
39
  "pisell-reservation.page-title": "Reservation",
@@ -58,13 +70,22 @@ var locales_default = {
58
70
  "pisell-reservation.more": "more",
59
71
  "pisell-reservation.late": "late",
60
72
  "pisell-reservation.floor-hud.total": "Total",
73
+ "pisell-reservation.floor-map.data-source-label": "Resource",
74
+ "pisell-reservation.floor-map.category-background": "Background",
75
+ "pisell-reservation.floor-map.palette-image-bg": "Image (background)",
76
+ "pisell-reservation.floor-plan.save-failed": "Failed to save floor plan",
77
+ "pisell-reservation.card-placeholder.hint-select-row": "Data source selected. Choose a row in the sidebar.",
78
+ "pisell-reservation.card-placeholder.hint-bind-datasource": "No row bound: select a data source and record in the sidebar.",
79
+ "pisell-reservation.card-placeholder.hint-new-slot": "New table placeholder. Bind a record in the sidebar.",
80
+ "pisell-reservation.card-placeholder.hint-row-not-found": "Record not found: check binding or data list.",
61
81
  "pisell-reservation.resource-grid.id": "ID",
62
82
  "pisell-reservation.resource-grid.name": "Name",
63
83
  "pisell-reservation.resource-grid.form-code": "Form code",
64
84
  "pisell-reservation.resource-grid.capacity": "Capacity",
65
85
  "pisell-reservation.resource-grid.schedule": "Schedule",
66
86
  "pisell-reservation.resource-grid.form-id": "Form ID",
67
- "pisell-reservation.room-kind-bound": "Bound table",
87
+ "pisell-reservation.resource-grid.card-status": "Card status",
88
+ "pisell-reservation.room-kind-bound": "Bound resource",
68
89
  "pisell-reservation.room-status-occupied": "Occupied",
69
90
  "pisell-reservation.room-status-reserved": "Reserved",
70
91
  "pisell-reservation.room-status-empty": "Empty",
@@ -116,13 +137,22 @@ var locales_default = {
116
137
  "pisell-reservation.more": "更多",
117
138
  "pisell-reservation.late": "迟到",
118
139
  "pisell-reservation.floor-hud.total": "总计",
140
+ "pisell-reservation.floor-map.data-source-label": "资源",
141
+ "pisell-reservation.floor-map.category-background": "底图",
142
+ "pisell-reservation.floor-map.palette-image-bg": "图片(底图)",
143
+ "pisell-reservation.floor-plan.save-failed": "平面图保存失败",
144
+ "pisell-reservation.card-placeholder.hint-select-row": "已选择数据源,请在侧栏选择数据行",
145
+ "pisell-reservation.card-placeholder.hint-bind-datasource": "未绑定数据行:请在侧栏选择数据源与记录",
146
+ "pisell-reservation.card-placeholder.hint-new-slot": "新桌位占位,可在侧栏绑定具体记录",
147
+ "pisell-reservation.card-placeholder.hint-row-not-found": "未找到对应记录:请检查绑定或数据列表",
119
148
  "pisell-reservation.resource-grid.id": "ID",
120
149
  "pisell-reservation.resource-grid.name": "名称",
121
150
  "pisell-reservation.resource-grid.form-code": "表单编码",
122
151
  "pisell-reservation.resource-grid.capacity": "容量",
123
152
  "pisell-reservation.resource-grid.schedule": "日程",
124
153
  "pisell-reservation.resource-grid.form-id": "表单 ID",
125
- "pisell-reservation.room-kind-bound": "绑定桌位",
154
+ "pisell-reservation.resource-grid.card-status": "卡片状态",
155
+ "pisell-reservation.room-kind-bound": "绑定资源",
126
156
  "pisell-reservation.room-status-occupied": "使用中",
127
157
  "pisell-reservation.room-status-reserved": "已预订",
128
158
  "pisell-reservation.room-status-empty": "空闲",
@@ -174,13 +204,22 @@ var locales_default = {
174
204
  "pisell-reservation.more": "更多",
175
205
  "pisell-reservation.late": "遲到",
176
206
  "pisell-reservation.floor-hud.total": "總計",
207
+ "pisell-reservation.floor-map.data-source-label": "資源",
208
+ "pisell-reservation.floor-map.category-background": "底圖",
209
+ "pisell-reservation.floor-map.palette-image-bg": "圖片(底圖)",
210
+ "pisell-reservation.floor-plan.save-failed": "平面圖儲存失敗",
211
+ "pisell-reservation.card-placeholder.hint-select-row": "已選擇資料來源,請在側欄選擇資料列",
212
+ "pisell-reservation.card-placeholder.hint-bind-datasource": "未綁定資料列:請在側欄選擇資料來源與記錄",
213
+ "pisell-reservation.card-placeholder.hint-new-slot": "新桌位佔位,可在側欄綁定具體記錄",
214
+ "pisell-reservation.card-placeholder.hint-row-not-found": "找不到對應記錄:請檢查綁定或資料清單",
177
215
  "pisell-reservation.resource-grid.id": "ID",
178
216
  "pisell-reservation.resource-grid.name": "名稱",
179
217
  "pisell-reservation.resource-grid.form-code": "表單編碼",
180
218
  "pisell-reservation.resource-grid.capacity": "容量",
181
219
  "pisell-reservation.resource-grid.schedule": "日程",
182
220
  "pisell-reservation.resource-grid.form-id": "表單 ID",
183
- "pisell-reservation.room-kind-bound": "綁定桌位",
221
+ "pisell-reservation.resource-grid.card-status": "卡片狀態",
222
+ "pisell-reservation.room-kind-bound": "綁定資源",
184
223
  "pisell-reservation.room-status-occupied": "使用中",
185
224
  "pisell-reservation.room-status-reserved": "已預訂",
186
225
  "pisell-reservation.room-status-empty": "空閒",
@@ -196,5 +235,7 @@ var locales_default = {
196
235
  "pisell-reservation.room-next-prefix": "下一檔",
197
236
  "pisell-reservation.room-guest-unknown": "客人",
198
237
  "pisell-reservation.room-collapse": "收起"
199
- }
238
+ },
239
+ ja: import_locales_ja.default,
240
+ pt: import_locales_pt.default
200
241
  };
@@ -44,6 +44,10 @@ var import_reservationMock = require("./reservationMock");
44
44
  var import_floorRoomCard = require("./floorRoomCard");
45
45
  var import_ReservationCards = require("./ReservationCards.less");
46
46
  var I18N_BOUND = "pisell-reservation.room-kind-bound";
47
+ var I18N_CARD_HINT_SELECT_ROW = "pisell-reservation.card-placeholder.hint-select-row";
48
+ var I18N_CARD_HINT_BIND_DATASOURCE = "pisell-reservation.card-placeholder.hint-bind-datasource";
49
+ var I18N_CARD_HINT_NEW_SLOT = "pisell-reservation.card-placeholder.hint-new-slot";
50
+ var I18N_CARD_HINT_ROW_NOT_FOUND = "pisell-reservation.card-placeholder.hint-row-not-found";
47
51
  function displayRoomTitleFromRow(row, sceneElementName) {
48
52
  var _a, _b;
49
53
  const raw = row.main_field;
@@ -77,11 +81,11 @@ function getReservationPlaceholderCopy(item) {
77
81
  const rid = (binding == null ? void 0 : binding.recordId) != null ? String(binding.recordId).trim() : "";
78
82
  let hint;
79
83
  if (!hasKey || !rid) {
80
- hint = hasKey ? "已选择数据源,请在侧栏选择数据行" : "未绑定数据行:请在侧栏选择数据源与记录";
84
+ hint = hasKey ? import_utils.locales.getText(I18N_CARD_HINT_SELECT_ROW) : import_utils.locales.getText(I18N_CARD_HINT_BIND_DATASOURCE);
81
85
  } else if (rid.startsWith("new_")) {
82
- hint = `新桌位占位,可在侧栏绑定具体记录`;
86
+ hint = import_utils.locales.getText(I18N_CARD_HINT_NEW_SLOT);
83
87
  } else {
84
- hint = "未找到对应记录:请检查绑定或数据列表";
88
+ hint = import_utils.locales.getText(I18N_CARD_HINT_ROW_NOT_FOUND);
85
89
  }
86
90
  const shape = item.shape === "circle" ? "circle" : "rect";
87
91
  return { title, hint, shape };
@@ -120,11 +124,6 @@ function renderReservationBoundRoomCardInner(item, dataSources) {
120
124
  row,
121
125
  roomTitle || row.code || import_utils.locales.getText(I18N_BOUND)
122
126
  );
123
- console.log(
124
- "[PisellReservation] room mapPisellReservationRowToFloorRoomCardData",
125
- row,
126
- data
127
- );
128
127
  return /* @__PURE__ */ import_react.default.createElement(import_floorRoomCard.ReservationFloorRoomCard, { data });
129
128
  }
130
129
  function renderReservationTableCard(item, dataSources) {
@@ -28,6 +28,10 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
28
28
  'pisell-reservation.edit-map-done': string;
29
29
  'pisell-reservation.follow-current': string;
30
30
  'pisell-reservation.view-grid': string;
31
+ /**
32
+ * 时间轴默认区间:锚定日历日当日 02:00 — 次日 02:00(跨日 24h)
33
+ * 可由 toolBar → PisellReservationScheduleBand 的 timeNavigatorProps 覆盖
34
+ */
31
35
  'pisell-reservation.view-floor': string;
32
36
  'pisell-reservation.follow-live-time': string;
33
37
  'pisell-reservation.follow-custom-time': string;
@@ -53,12 +57,21 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
53
57
  'pisell-reservation.more': string;
54
58
  'pisell-reservation.late': string;
55
59
  'pisell-reservation.floor-hud.total': string;
60
+ 'pisell-reservation.floor-map.data-source-label': string;
61
+ 'pisell-reservation.floor-map.category-background': string;
62
+ 'pisell-reservation.floor-map.palette-image-bg': string;
63
+ 'pisell-reservation.floor-plan.save-failed': string;
64
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
65
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
66
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
67
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
56
68
  'pisell-reservation.resource-grid.id': string;
57
69
  'pisell-reservation.resource-grid.name': string;
58
70
  'pisell-reservation.resource-grid.form-code': string;
59
71
  'pisell-reservation.resource-grid.capacity': string;
60
72
  'pisell-reservation.resource-grid.schedule': string;
61
73
  'pisell-reservation.resource-grid.form-id': string;
74
+ 'pisell-reservation.resource-grid.card-status': string;
62
75
  'pisell-reservation.room-kind-bound': string;
63
76
  'pisell-reservation.room-status-occupied': string;
64
77
  'pisell-reservation.room-status-reserved': string;
@@ -330,12 +343,21 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
330
343
  'pisell-reservation.more': string;
331
344
  'pisell-reservation.late': string;
332
345
  'pisell-reservation.floor-hud.total': string;
346
+ 'pisell-reservation.floor-map.data-source-label': string;
347
+ 'pisell-reservation.floor-map.category-background': string;
348
+ 'pisell-reservation.floor-map.palette-image-bg': string;
349
+ 'pisell-reservation.floor-plan.save-failed': string;
350
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
351
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
352
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
353
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
333
354
  'pisell-reservation.resource-grid.id': string;
334
355
  'pisell-reservation.resource-grid.name': string;
335
356
  'pisell-reservation.resource-grid.form-code': string;
336
357
  'pisell-reservation.resource-grid.capacity': string;
337
358
  'pisell-reservation.resource-grid.schedule': string;
338
359
  'pisell-reservation.resource-grid.form-id': string;
360
+ 'pisell-reservation.resource-grid.card-status': string;
339
361
  'pisell-reservation.room-kind-bound': string;
340
362
  'pisell-reservation.room-status-occupied': string;
341
363
  'pisell-reservation.room-status-reserved': string;
@@ -607,12 +629,21 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
607
629
  'pisell-reservation.more': string;
608
630
  'pisell-reservation.late': string;
609
631
  'pisell-reservation.floor-hud.total': string;
632
+ 'pisell-reservation.floor-map.data-source-label': string;
633
+ 'pisell-reservation.floor-map.category-background': string;
634
+ 'pisell-reservation.floor-map.palette-image-bg': string;
635
+ 'pisell-reservation.floor-plan.save-failed': string;
636
+ 'pisell-reservation.card-placeholder.hint-select-row': string;
637
+ 'pisell-reservation.card-placeholder.hint-bind-datasource': string;
638
+ 'pisell-reservation.card-placeholder.hint-new-slot': string;
639
+ 'pisell-reservation.card-placeholder.hint-row-not-found': string;
610
640
  'pisell-reservation.resource-grid.id': string;
611
641
  'pisell-reservation.resource-grid.name': string;
612
642
  'pisell-reservation.resource-grid.form-code': string;
613
643
  'pisell-reservation.resource-grid.capacity': string;
614
644
  'pisell-reservation.resource-grid.schedule': string;
615
645
  'pisell-reservation.resource-grid.form-id': string;
646
+ 'pisell-reservation.resource-grid.card-status': string;
616
647
  'pisell-reservation.room-kind-bound': string;
617
648
  'pisell-reservation.room-status-occupied': string;
618
649
  'pisell-reservation.room-status-reserved': string;
@@ -849,6 +880,8 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
849
880
  "page.order.cancelleds": string;
850
881
  "page.order.completeds": string;
851
882
  };
883
+ ja: any;
884
+ pt: any;
852
885
  };
853
886
  export declare const I18N_PAGE_TITLE = "pisell-reservation.page-title";
854
887
  export declare const I18N_NEW = "pisell-reservation.new";
@@ -75,6 +75,16 @@ var PISELL_RESERVATION_PAGE_LOCALES = {
75
75
  ...import_locales2.default["zh-HK"],
76
76
  ...import_locales3.default["zh-HK"],
77
77
  ...import_locales.default["zh-HK"]
78
+ },
79
+ ja: {
80
+ ...import_locales2.default.ja ?? {},
81
+ ...import_locales3.default.ja ?? {},
82
+ ...import_locales.default.ja
83
+ },
84
+ pt: {
85
+ ...import_locales2.default.pt ?? {},
86
+ ...import_locales3.default.pt ?? {},
87
+ ...import_locales.default.pt
78
88
  }
79
89
  };
80
90
  var I18N_PAGE_TITLE = "pisell-reservation.page-title";
@@ -1,4 +1,5 @@
1
1
  import { type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapSceneElement, type FloorMapViewConfig } from '@pisell/materials';
2
+ import type { PisellReservationTableRow } from './types';
2
3
  /**
3
4
  * 父级/接口 elementKinds 与预约默认合并:
4
5
  * - 去掉与 Story 图片图元重复的旧版种类;
@@ -7,7 +8,11 @@ import { type FloorMapElementKindCategory, type FloorMapElementKindConfig, type
7
8
  export declare function mergeFloorMapElementKindsWithDefaults(defaults: FloorMapElementKindConfig[], remote: FloorMapElementKindConfig[] | undefined): FloorMapElementKindConfig[];
8
9
  /** 同上,补全图元分类(如「底图」),避免调色板分组缺失 */
9
10
  export declare function mergeFloorMapElementKindCategoriesWithDefaults(defaults: FloorMapElementKindCategory[], remote: FloorMapElementKindCategory[] | undefined): FloorMapElementKindCategory[];
10
- import type { PisellReservationTableRow } from './types';
11
+ /**
12
+ * 按当前 {@link locales} 刷新调色板分组、图元展示名(底图 / 资源绑定等)。
13
+ * 持久化里若仍使用约定 `categoryId`:`background`、`dining` 与约定 kind value,会覆盖旧快照文案以便随引擎语言切换。
14
+ */
15
+ export declare function applyReservationFloorMapLiveLabels(config: FloorMapViewConfig): FloorMapViewConfig;
11
16
  /**
12
17
  * 预约平面图「绑定桌位」唯一图元 value(与底图 `floorMapImage` 并存)。
13
18
  * 旧版方桌 / 长条 / 吧台图元仍可从接口 scene 回显,渲染走同一套房间卡片。
@@ -57,12 +62,13 @@ export declare type ReservationFloorMapConfigPersisted = FloorMapViewConfig;
57
62
  export declare function getReservationFloorMapShellConfig(): ReservationFloorMapConfigPersisted;
58
63
  /** 平面图初始配置:sceneElements 使用上方完整 width/height,勿仅依赖派生表 */
59
64
  export declare function getDefaultReservationFloorMapConfig(): ReservationFloorMapConfigPersisted;
60
- export declare const reservationDataSourceFormColumns: ({
65
+ /** 平面图侧栏数据源记录表单列(随当前语言刷新) */
66
+ export declare function getReservationDataSourceFormColumns(): ({
61
67
  key: string;
62
- label: string;
68
+ label: any;
63
69
  type: "string";
64
70
  } | {
65
71
  key: string;
66
- label: string;
72
+ label: any;
67
73
  type: "number";
68
74
  })[];