@pisell/private-materials 6.11.68 → 6.11.69
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/plus/pisellReservation/PisellReservation.js +31 -41
- package/es/plus/pisellReservation/floorPlanApi.js +3 -1
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +2 -0
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.js +4 -1
- package/es/plus/pisellReservation/hooks/usePisellReservationResourceTableData.d.ts +1 -1
- package/es/plus/pisellReservation/hooks/usePisellReservationResourceTableData.js +2 -1
- package/es/plus/pisellReservation/index.d.ts +1 -1
- package/es/plus/pisellReservation/index.js +1 -1
- package/es/plus/pisellReservation/locales-ja.d.ts +69 -0
- package/es/plus/pisellReservation/locales-ja.js +68 -0
- package/es/plus/pisellReservation/locales-pt.d.ts +69 -0
- package/es/plus/pisellReservation/locales-pt.js +68 -0
- package/es/plus/pisellReservation/locales.d.ts +161 -0
- package/es/plus/pisellReservation/locales.js +35 -4
- package/es/plus/pisellReservation/reservationCards.js +7 -4
- package/es/plus/pisellReservation/reservationConstants.d.ts +33 -0
- package/es/plus/pisellReservation/reservationConstants.js +4 -1
- package/es/plus/pisellReservation/reservationMock.d.ts +10 -4
- package/es/plus/pisellReservation/reservationMock.js +94 -39
- package/es/plus/pisellReservation/useReservationFloorMapMerged.d.ts +2 -0
- package/es/plus/pisellReservation/useReservationFloorMapMerged.js +8 -5
- package/es/plus/pisellReservation/useReservationFloorPlan.d.ts +2 -0
- package/es/plus/pisellReservation/useReservationFloorPlan.js +5 -4
- package/es/plus/pisellSalesManagement/config/booking.d.ts +1 -0
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/plus/pisellReservation/PisellReservation.js +28 -64
- package/lib/plus/pisellReservation/floorPlanApi.js +7 -5
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +2 -0
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.js +4 -1
- package/lib/plus/pisellReservation/hooks/usePisellReservationResourceTableData.d.ts +1 -1
- package/lib/plus/pisellReservation/hooks/usePisellReservationResourceTableData.js +2 -1
- package/lib/plus/pisellReservation/index.d.ts +1 -1
- package/lib/plus/pisellReservation/index.js +2 -2
- package/lib/plus/pisellReservation/locales-ja.d.ts +69 -0
- package/lib/plus/pisellReservation/locales-ja.js +91 -0
- package/lib/plus/pisellReservation/locales-pt.d.ts +69 -0
- package/lib/plus/pisellReservation/locales-pt.js +91 -0
- package/lib/plus/pisellReservation/locales.d.ts +161 -0
- package/lib/plus/pisellReservation/locales.js +45 -4
- package/lib/plus/pisellReservation/reservationCards.js +7 -8
- package/lib/plus/pisellReservation/reservationConstants.d.ts +33 -0
- package/lib/plus/pisellReservation/reservationConstants.js +10 -0
- package/lib/plus/pisellReservation/reservationMock.d.ts +10 -4
- package/lib/plus/pisellReservation/reservationMock.js +106 -19
- package/lib/plus/pisellReservation/useReservationFloorMapMerged.d.ts +2 -0
- package/lib/plus/pisellReservation/useReservationFloorMapMerged.js +10 -4
- package/lib/plus/pisellReservation/useReservationFloorPlan.d.ts +2 -0
- package/lib/plus/pisellReservation/useReservationFloorPlan.js +4 -3
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +1 -0
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lowcode/pisell-reservation/meta.ts +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/** PisellReservation — Português */
|
|
2
|
+
export default {
|
|
3
|
+
'pisell-reservation.page-title': 'Reserva',
|
|
4
|
+
'pisell-reservation.new': '+ Novo',
|
|
5
|
+
'pisell-reservation.new-modal-title': 'Novo',
|
|
6
|
+
'pisell-reservation.new-modal-placeholder': 'Sem rotas disponíveis',
|
|
7
|
+
'pisell-reservation.cancel': 'Cancelar',
|
|
8
|
+
'pisell-reservation.edit-map': 'Editar planta',
|
|
9
|
+
'pisell-reservation.edit-map-done': 'Concluir edição',
|
|
10
|
+
'pisell-reservation.follow-current': 'Actual',
|
|
11
|
+
'pisell-reservation.view-grid': 'Tabela',
|
|
12
|
+
'pisell-reservation.view-floor': 'Planta',
|
|
13
|
+
'pisell-reservation.follow-live-time': 'Hora actual',
|
|
14
|
+
'pisell-reservation.follow-custom-time': 'Hora personalizada',
|
|
15
|
+
'pisell-reservation.follow-live-hint': 'A seguir a hora actual',
|
|
16
|
+
'pisell-reservation.follow-custom-hint': 'A usar hora personalizada',
|
|
17
|
+
'pisell-reservation.switch-to-custom-time': 'Mudar para hora personalizada',
|
|
18
|
+
'pisell-reservation.switch-to-live-time': 'Mudar para hora actual',
|
|
19
|
+
'pisell-reservation.non-current-hint': 'Não está na hora actual',
|
|
20
|
+
'pisell-reservation.at-current-time': 'Está na hora actual',
|
|
21
|
+
'pisell-reservation.go-current': 'Ir para actual',
|
|
22
|
+
'pisell-reservation.grid.code': 'Mesa',
|
|
23
|
+
'pisell-reservation.grid.area': 'Zona',
|
|
24
|
+
'pisell-reservation.grid.status': 'Estado',
|
|
25
|
+
'pisell-reservation.grid.guest': 'Cliente',
|
|
26
|
+
'pisell-reservation.grid.time': 'Hora',
|
|
27
|
+
'pisell-reservation.grid.party': 'Pessoas',
|
|
28
|
+
'pisell-reservation.canvas.main': 'Zona principal',
|
|
29
|
+
'pisell-reservation.canvas.secondary': 'Zona secundária',
|
|
30
|
+
'pisell-reservation.canvas.vip': 'Zona VIP',
|
|
31
|
+
'pisell-reservation.maintenance': 'Em manutenção',
|
|
32
|
+
'pisell-reservation.next': 'SEGUINTE',
|
|
33
|
+
'pisell-reservation.party': 'pessoas',
|
|
34
|
+
'pisell-reservation.more': 'mais',
|
|
35
|
+
'pisell-reservation.late': 'atraso',
|
|
36
|
+
'pisell-reservation.floor-hud.total': 'Total',
|
|
37
|
+
'pisell-reservation.floor-map.data-source-label': 'Recurso',
|
|
38
|
+
'pisell-reservation.floor-map.category-background': 'Fundo',
|
|
39
|
+
'pisell-reservation.floor-map.palette-image-bg': 'Imagem (fundo)',
|
|
40
|
+
'pisell-reservation.floor-plan.save-failed': 'Falha ao guardar a planta',
|
|
41
|
+
'pisell-reservation.card-placeholder.hint-select-row': 'Fonte de dados seleccionada. Escolha uma linha na barra lateral.',
|
|
42
|
+
'pisell-reservation.card-placeholder.hint-bind-datasource': 'Sem linha ligada: seleccione fonte e registo na barra lateral.',
|
|
43
|
+
'pisell-reservation.card-placeholder.hint-new-slot': 'Marcador de nova mesa. Pode ligar um registo na barra lateral.',
|
|
44
|
+
'pisell-reservation.card-placeholder.hint-row-not-found': 'Registo não encontrado: verifique a ligação ou a lista.',
|
|
45
|
+
'pisell-reservation.resource-grid.id': 'ID',
|
|
46
|
+
'pisell-reservation.resource-grid.name': 'Nome',
|
|
47
|
+
'pisell-reservation.resource-grid.form-code': 'Código do formulário',
|
|
48
|
+
'pisell-reservation.resource-grid.capacity': 'Capacidade',
|
|
49
|
+
'pisell-reservation.resource-grid.schedule': 'Agenda',
|
|
50
|
+
'pisell-reservation.resource-grid.form-id': 'ID do formulário',
|
|
51
|
+
'pisell-reservation.resource-grid.card-status': 'Estado do cartão',
|
|
52
|
+
'pisell-reservation.room-kind-bound': 'Recurso ligado',
|
|
53
|
+
'pisell-reservation.room-status-occupied': 'Ocupada',
|
|
54
|
+
'pisell-reservation.room-status-reserved': 'Reservada',
|
|
55
|
+
'pisell-reservation.room-status-empty': 'Livre',
|
|
56
|
+
'pisell-reservation.room-status-locked': 'Bloqueada',
|
|
57
|
+
'pisell-reservation.room-status-unbound': 'Sem ligação',
|
|
58
|
+
'pisell-reservation.room-paid': 'Pago',
|
|
59
|
+
'pisell-reservation.room-unpaid': 'Não pago',
|
|
60
|
+
'pisell-reservation.room-cap-prefix': 'Cap.',
|
|
61
|
+
'pisell-reservation.room-time-end': 'Fim',
|
|
62
|
+
'pisell-reservation.room-time-start': 'Início',
|
|
63
|
+
'pisell-reservation.room-in-minutes': 'em {d}',
|
|
64
|
+
'pisell-reservation.room-view-all': 'Ver todas as {n} reservas',
|
|
65
|
+
'pisell-reservation.room-next-prefix': 'Seguinte',
|
|
66
|
+
'pisell-reservation.room-guest-unknown': 'Cliente',
|
|
67
|
+
'pisell-reservation.room-collapse': 'Recolher'
|
|
68
|
+
};
|
|
@@ -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,3 +1,5 @@
|
|
|
1
|
+
import reservationJa from "./locales-ja";
|
|
2
|
+
import reservationPt from "./locales-pt";
|
|
1
3
|
export default {
|
|
2
4
|
en: {
|
|
3
5
|
'pisell-reservation.page-title': 'Reservation',
|
|
@@ -34,13 +36,22 @@ export default {
|
|
|
34
36
|
'pisell-reservation.more': 'more',
|
|
35
37
|
'pisell-reservation.late': 'late',
|
|
36
38
|
'pisell-reservation.floor-hud.total': 'Total',
|
|
39
|
+
'pisell-reservation.floor-map.data-source-label': 'Resource',
|
|
40
|
+
'pisell-reservation.floor-map.category-background': 'Background',
|
|
41
|
+
'pisell-reservation.floor-map.palette-image-bg': 'Image (background)',
|
|
42
|
+
'pisell-reservation.floor-plan.save-failed': 'Failed to save floor plan',
|
|
43
|
+
'pisell-reservation.card-placeholder.hint-select-row': 'Data source selected. Choose a row in the sidebar.',
|
|
44
|
+
'pisell-reservation.card-placeholder.hint-bind-datasource': 'No row bound: select a data source and record in the sidebar.',
|
|
45
|
+
'pisell-reservation.card-placeholder.hint-new-slot': 'New table placeholder. Bind a record in the sidebar.',
|
|
46
|
+
'pisell-reservation.card-placeholder.hint-row-not-found': 'Record not found: check binding or data list.',
|
|
37
47
|
'pisell-reservation.resource-grid.id': 'ID',
|
|
38
48
|
'pisell-reservation.resource-grid.name': 'Name',
|
|
39
49
|
'pisell-reservation.resource-grid.form-code': 'Form code',
|
|
40
50
|
'pisell-reservation.resource-grid.capacity': 'Capacity',
|
|
41
51
|
'pisell-reservation.resource-grid.schedule': 'Schedule',
|
|
42
52
|
'pisell-reservation.resource-grid.form-id': 'Form ID',
|
|
43
|
-
'pisell-reservation.
|
|
53
|
+
'pisell-reservation.resource-grid.card-status': 'Card status',
|
|
54
|
+
'pisell-reservation.room-kind-bound': 'Bound resource',
|
|
44
55
|
'pisell-reservation.room-status-occupied': 'Occupied',
|
|
45
56
|
'pisell-reservation.room-status-reserved': 'Reserved',
|
|
46
57
|
'pisell-reservation.room-status-empty': 'Empty',
|
|
@@ -92,13 +103,22 @@ export default {
|
|
|
92
103
|
'pisell-reservation.more': '更多',
|
|
93
104
|
'pisell-reservation.late': '迟到',
|
|
94
105
|
'pisell-reservation.floor-hud.total': '总计',
|
|
106
|
+
'pisell-reservation.floor-map.data-source-label': '资源',
|
|
107
|
+
'pisell-reservation.floor-map.category-background': '底图',
|
|
108
|
+
'pisell-reservation.floor-map.palette-image-bg': '图片(底图)',
|
|
109
|
+
'pisell-reservation.floor-plan.save-failed': '平面图保存失败',
|
|
110
|
+
'pisell-reservation.card-placeholder.hint-select-row': '已选择数据源,请在侧栏选择数据行',
|
|
111
|
+
'pisell-reservation.card-placeholder.hint-bind-datasource': '未绑定数据行:请在侧栏选择数据源与记录',
|
|
112
|
+
'pisell-reservation.card-placeholder.hint-new-slot': '新桌位占位,可在侧栏绑定具体记录',
|
|
113
|
+
'pisell-reservation.card-placeholder.hint-row-not-found': '未找到对应记录:请检查绑定或数据列表',
|
|
95
114
|
'pisell-reservation.resource-grid.id': 'ID',
|
|
96
115
|
'pisell-reservation.resource-grid.name': '名称',
|
|
97
116
|
'pisell-reservation.resource-grid.form-code': '表单编码',
|
|
98
117
|
'pisell-reservation.resource-grid.capacity': '容量',
|
|
99
118
|
'pisell-reservation.resource-grid.schedule': '日程',
|
|
100
119
|
'pisell-reservation.resource-grid.form-id': '表单 ID',
|
|
101
|
-
'pisell-reservation.
|
|
120
|
+
'pisell-reservation.resource-grid.card-status': '卡片状态',
|
|
121
|
+
'pisell-reservation.room-kind-bound': '绑定资源',
|
|
102
122
|
'pisell-reservation.room-status-occupied': '使用中',
|
|
103
123
|
'pisell-reservation.room-status-reserved': '已预订',
|
|
104
124
|
'pisell-reservation.room-status-empty': '空闲',
|
|
@@ -150,13 +170,22 @@ export default {
|
|
|
150
170
|
'pisell-reservation.more': '更多',
|
|
151
171
|
'pisell-reservation.late': '遲到',
|
|
152
172
|
'pisell-reservation.floor-hud.total': '總計',
|
|
173
|
+
'pisell-reservation.floor-map.data-source-label': '資源',
|
|
174
|
+
'pisell-reservation.floor-map.category-background': '底圖',
|
|
175
|
+
'pisell-reservation.floor-map.palette-image-bg': '圖片(底圖)',
|
|
176
|
+
'pisell-reservation.floor-plan.save-failed': '平面圖儲存失敗',
|
|
177
|
+
'pisell-reservation.card-placeholder.hint-select-row': '已選擇資料來源,請在側欄選擇資料列',
|
|
178
|
+
'pisell-reservation.card-placeholder.hint-bind-datasource': '未綁定資料列:請在側欄選擇資料來源與記錄',
|
|
179
|
+
'pisell-reservation.card-placeholder.hint-new-slot': '新桌位佔位,可在側欄綁定具體記錄',
|
|
180
|
+
'pisell-reservation.card-placeholder.hint-row-not-found': '找不到對應記錄:請檢查綁定或資料清單',
|
|
153
181
|
'pisell-reservation.resource-grid.id': 'ID',
|
|
154
182
|
'pisell-reservation.resource-grid.name': '名稱',
|
|
155
183
|
'pisell-reservation.resource-grid.form-code': '表單編碼',
|
|
156
184
|
'pisell-reservation.resource-grid.capacity': '容量',
|
|
157
185
|
'pisell-reservation.resource-grid.schedule': '日程',
|
|
158
186
|
'pisell-reservation.resource-grid.form-id': '表單 ID',
|
|
159
|
-
'pisell-reservation.
|
|
187
|
+
'pisell-reservation.resource-grid.card-status': '卡片狀態',
|
|
188
|
+
'pisell-reservation.room-kind-bound': '綁定資源',
|
|
160
189
|
'pisell-reservation.room-status-occupied': '使用中',
|
|
161
190
|
'pisell-reservation.room-status-reserved': '已預訂',
|
|
162
191
|
'pisell-reservation.room-status-empty': '空閒',
|
|
@@ -172,5 +201,7 @@ export default {
|
|
|
172
201
|
'pisell-reservation.room-next-prefix': '下一檔',
|
|
173
202
|
'pisell-reservation.room-guest-unknown': '客人',
|
|
174
203
|
'pisell-reservation.room-collapse': '收起'
|
|
175
|
-
}
|
|
204
|
+
},
|
|
205
|
+
ja: reservationJa,
|
|
206
|
+
pt: reservationPt
|
|
176
207
|
};
|
|
@@ -10,6 +10,10 @@ import { RESERVATION_BOUND_TABLE_ELEMENT_KIND } from "./reservationMock";
|
|
|
10
10
|
import { mapPisellReservationRowToFloorRoomCardData, ReservationFloorRoomCard } from "./floorRoomCard";
|
|
11
11
|
import "./ReservationCards.less";
|
|
12
12
|
var I18N_BOUND = 'pisell-reservation.room-kind-bound';
|
|
13
|
+
var I18N_CARD_HINT_SELECT_ROW = 'pisell-reservation.card-placeholder.hint-select-row';
|
|
14
|
+
var I18N_CARD_HINT_BIND_DATASOURCE = 'pisell-reservation.card-placeholder.hint-bind-datasource';
|
|
15
|
+
var I18N_CARD_HINT_NEW_SLOT = 'pisell-reservation.card-placeholder.hint-new-slot';
|
|
16
|
+
var I18N_CARD_HINT_ROW_NOT_FOUND = 'pisell-reservation.card-placeholder.hint-row-not-found';
|
|
13
17
|
|
|
14
18
|
/**
|
|
15
19
|
* 房间标题:优先数据行 `main_field` 展示名(` ## ` 前为主名称),其次 `code`,最后图元编辑名。
|
|
@@ -48,11 +52,11 @@ function getReservationPlaceholderCopy(item) {
|
|
|
48
52
|
var rid = (binding === null || binding === void 0 ? void 0 : binding.recordId) != null ? String(binding.recordId).trim() : '';
|
|
49
53
|
var hint;
|
|
50
54
|
if (!hasKey || !rid) {
|
|
51
|
-
hint = hasKey ?
|
|
55
|
+
hint = hasKey ? locales.getText(I18N_CARD_HINT_SELECT_ROW) : locales.getText(I18N_CARD_HINT_BIND_DATASOURCE);
|
|
52
56
|
} else if (rid.startsWith('new_')) {
|
|
53
|
-
hint =
|
|
57
|
+
hint = locales.getText(I18N_CARD_HINT_NEW_SLOT);
|
|
54
58
|
} else {
|
|
55
|
-
hint =
|
|
59
|
+
hint = locales.getText(I18N_CARD_HINT_ROW_NOT_FOUND);
|
|
56
60
|
}
|
|
57
61
|
/** 绑定桌位统一矩形卡片;旧数据若为圆吧位仍可能带 circle,占位跟形走以兼容裁切 */
|
|
58
62
|
var shape = item.shape === 'circle' ? 'circle' : 'rect';
|
|
@@ -88,7 +92,6 @@ function renderReservationBoundRoomCardInner(item, dataSources) {
|
|
|
88
92
|
var sceneName = ((_item$_sceneElement2 = item._sceneElement) === null || _item$_sceneElement2 === void 0 ? void 0 : _item$_sceneElement2.name) != null ? String(item._sceneElement.name).trim() : undefined;
|
|
89
93
|
var roomTitle = displayRoomTitleFromRow(row, sceneName);
|
|
90
94
|
var data = mapPisellReservationRowToFloorRoomCardData(row, roomTitle || row.code || locales.getText(I18N_BOUND));
|
|
91
|
-
console.log('[PisellReservation] room mapPisellReservationRowToFloorRoomCardData', row, data);
|
|
92
95
|
return /*#__PURE__*/React.createElement(ReservationFloorRoomCard, {
|
|
93
96
|
data: data
|
|
94
97
|
});
|
|
@@ -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";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
var _ja, _ja2, _pt, _pt2;
|
|
1
2
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -34,7 +35,9 @@ export var RESERVATION_TIMELINE_BUSINESS_RANGE = {
|
|
|
34
35
|
export var PISELL_RESERVATION_PAGE_LOCALES = {
|
|
35
36
|
en: _objectSpread(_objectSpread(_objectSpread({}, orderListLocales.en), salesManagementLocales.en), reservationLocales.en),
|
|
36
37
|
'zh-CN': _objectSpread(_objectSpread(_objectSpread({}, orderListLocales['zh-CN']), salesManagementLocales['zh-CN']), reservationLocales['zh-CN']),
|
|
37
|
-
'zh-HK': _objectSpread(_objectSpread(_objectSpread({}, orderListLocales['zh-HK']), salesManagementLocales['zh-HK']), reservationLocales['zh-HK'])
|
|
38
|
+
'zh-HK': _objectSpread(_objectSpread(_objectSpread({}, orderListLocales['zh-HK']), salesManagementLocales['zh-HK']), reservationLocales['zh-HK']),
|
|
39
|
+
ja: _objectSpread(_objectSpread(_objectSpread({}, (_ja = orderListLocales.ja) !== null && _ja !== void 0 ? _ja : {}), (_ja2 = salesManagementLocales.ja) !== null && _ja2 !== void 0 ? _ja2 : {}), reservationLocales.ja),
|
|
40
|
+
pt: _objectSpread(_objectSpread(_objectSpread({}, (_pt = orderListLocales.pt) !== null && _pt !== void 0 ? _pt : {}), (_pt2 = salesManagementLocales.pt) !== null && _pt2 !== void 0 ? _pt2 : {}), reservationLocales.pt)
|
|
38
41
|
};
|
|
39
42
|
export var I18N_PAGE_TITLE = 'pisell-reservation.page-title';
|
|
40
43
|
export var I18N_NEW = 'pisell-reservation.new';
|
|
@@ -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
|
-
|
|
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
|
-
|
|
65
|
+
/** 平面图侧栏数据源记录表单列(随当前语言刷新) */
|
|
66
|
+
export declare function getReservationDataSourceFormColumns(): ({
|
|
61
67
|
key: string;
|
|
62
|
-
label:
|
|
68
|
+
label: any;
|
|
63
69
|
type: "string";
|
|
64
70
|
} | {
|
|
65
71
|
key: string;
|
|
66
|
-
label:
|
|
72
|
+
label: any;
|
|
67
73
|
type: "number";
|
|
68
74
|
})[];
|