@pisell/private-materials 6.11.115 → 6.11.117
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 +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/orderList/components/HandleActions.d.ts +1 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/es/plus/orderList/components/Reset.d.ts +1 -0
- package/es/plus/orderList/components/Toolbar.d.ts +1 -0
- package/es/plus/pisellReservation/PisellReservation.js +369 -41
- package/es/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +7 -6
- package/es/plus/pisellReservation/components/PisellReservationSubcomponents.js +25 -12
- package/es/plus/pisellReservation/components/ReservationResourceWallResourceSelect.d.ts +14 -0
- package/es/plus/pisellReservation/components/ReservationResourceWallResourceSelect.js +30 -0
- package/es/plus/pisellReservation/components/bookingDetailModal/ReservationBookingDetailModal.js +5 -5
- package/es/plus/pisellReservation/data/bookingToReservationTables.d.ts +4 -0
- package/es/plus/pisellReservation/data/bookingToReservationTables.js +12 -4
- package/es/plus/pisellReservation/data/mapReservationToVenueWallCards.d.ts +6 -0
- package/es/plus/pisellReservation/data/mapReservationToVenueWallCards.js +171 -0
- package/es/plus/pisellReservation/data/reservationDataUtils.js +1 -1
- package/es/plus/pisellReservation/floorMap/reservationMock.js +160 -0
- package/es/plus/pisellReservation/floorRoomCard/buildCardBodyViewModel.js +4 -4
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardUtils.d.ts +18 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardUtils.js +44 -0
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/es/plus/pisellReservation/locales/locales-ja.d.ts +5 -0
- package/es/plus/pisellReservation/locales/locales-ja.js +5 -0
- package/es/plus/pisellReservation/locales/locales-pt.d.ts +5 -0
- package/es/plus/pisellReservation/locales/locales-pt.js +5 -0
- package/es/plus/pisellReservation/locales/locales.d.ts +17 -0
- package/es/plus/pisellReservation/locales/locales.js +7 -0
- package/es/plus/pisellReservation/reservationConstants.d.ts +23 -5
- package/es/plus/pisellReservation/reservationConstants.js +7 -0
- package/es/plus/pisellReservation/types.d.ts +4 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/pro/Selector/demo.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/lib/plus/orderList/components/Reset.d.ts +1 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
- package/lib/plus/pisellReservation/PisellReservation.js +312 -12
- package/lib/plus/pisellReservation/components/PisellReservationSubcomponents.d.ts +7 -6
- package/lib/plus/pisellReservation/components/PisellReservationSubcomponents.js +18 -5
- package/lib/plus/pisellReservation/components/ReservationResourceWallResourceSelect.d.ts +14 -0
- package/lib/plus/pisellReservation/components/ReservationResourceWallResourceSelect.js +60 -0
- package/lib/plus/pisellReservation/components/bookingDetailModal/ReservationBookingDetailModal.js +1 -1
- package/lib/plus/pisellReservation/data/bookingToReservationTables.d.ts +4 -0
- package/lib/plus/pisellReservation/data/bookingToReservationTables.js +16 -9
- package/lib/plus/pisellReservation/data/mapReservationToVenueWallCards.d.ts +6 -0
- package/lib/plus/pisellReservation/data/mapReservationToVenueWallCards.js +160 -0
- package/lib/plus/pisellReservation/data/reservationDataUtils.js +2 -1
- package/lib/plus/pisellReservation/floorMap/reservationMock.js +151 -0
- package/lib/plus/pisellReservation/floorRoomCard/buildCardBodyViewModel.js +5 -2
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardUtils.d.ts +18 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardUtils.js +40 -0
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/lib/plus/pisellReservation/locales/locales-ja.d.ts +5 -0
- package/lib/plus/pisellReservation/locales/locales-ja.js +5 -0
- package/lib/plus/pisellReservation/locales/locales-pt.d.ts +5 -0
- package/lib/plus/pisellReservation/locales/locales-pt.js +5 -0
- package/lib/plus/pisellReservation/locales/locales.d.ts +17 -0
- package/lib/plus/pisellReservation/locales/locales.js +7 -0
- package/lib/plus/pisellReservation/reservationConstants.d.ts +23 -5
- package/lib/plus/pisellReservation/reservationConstants.js +12 -0
- package/lib/plus/pisellReservation/types.d.ts +4 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -27,6 +27,11 @@ function bookingStartEndMs(startDate, startTime, endDate, endTime) {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/** 统一的起止毫秒(供资源墙/卡片兼容层复用,避免重复推断) */
|
|
31
|
+
export function floorRoomCardBookingStartEndMs(booking) {
|
|
32
|
+
return bookingStartEndMs(booking.start_date, booking.start_time, booking.end_date, booking.end_time);
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
/**
|
|
31
36
|
* 预留态时间行:图元内仅展示时刻 + 文案后缀,不展示开始日期。
|
|
32
37
|
*/
|
|
@@ -279,6 +284,45 @@ export function getFloorRoomCardExplicitNextBooking(data) {
|
|
|
279
284
|
return (_sortFloorRoomCardBoo = sortFloorRoomCardBookingsByStart(marked)[0]) !== null && _sortFloorRoomCardBoo !== void 0 ? _sortFloorRoomCardBoo : null;
|
|
280
285
|
}
|
|
281
286
|
|
|
287
|
+
/**
|
|
288
|
+
* 与 {@link buildCardBodyViewModel} Next 行同一套优先级:接口 `is_next`/`isNext` →
|
|
289
|
+
* 单 occupied 后一条 → 多条 reserved 第二条 →「进行中」后首条未开始。
|
|
290
|
+
*/
|
|
291
|
+
export function resolveFloorRoomCardNextBookingLikeBodyModel(data) {
|
|
292
|
+
var _ref, _ref2, _getFloorRoomCardExpl;
|
|
293
|
+
var nowMs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now();
|
|
294
|
+
return (_ref = (_ref2 = (_getFloorRoomCardExpl = getFloorRoomCardExplicitNextBooking(data)) !== null && _getFloorRoomCardExpl !== void 0 ? _getFloorRoomCardExpl : getFloorRoomCardNextAfterSingleOccupiedBooking(data)) !== null && _ref2 !== void 0 ? _ref2 : getFloorRoomCardNextAfterPrimaryReserved(data)) !== null && _ref !== void 0 ? _ref : getFloorRoomCardNextNotStartedBooking(data, nowMs);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/** Next 条客人一行:与 FloorRoomCardFromData `nextGuestLineForStrip` 一致 */
|
|
298
|
+
export function formatFloorRoomCardNextGuestStripLine(b) {
|
|
299
|
+
var _b$holder, _b$holder2;
|
|
300
|
+
var n = (_b$holder = b.holder) === null || _b$holder === void 0 || (_b$holder = _b$holder.name) === null || _b$holder === void 0 ? void 0 : _b$holder.trim();
|
|
301
|
+
if (n) return n;
|
|
302
|
+
var ph = (_b$holder2 = b.holder) === null || _b$holder2 === void 0 ? void 0 : _b$holder2.phone;
|
|
303
|
+
if (ph) {
|
|
304
|
+
var m = maskPisellReservationPhoneTail(ph);
|
|
305
|
+
if (m) return m;
|
|
306
|
+
}
|
|
307
|
+
return '';
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* 联系人展示一行:与 `buildCardBodyViewModel` 的 `guestDisplayLine` 一致。
|
|
312
|
+
* - 优先姓名
|
|
313
|
+
* - 预留态可展示手机号尾号(脱敏)
|
|
314
|
+
*/
|
|
315
|
+
export function formatFloorRoomCardGuestDisplayLine(holder, showPhone) {
|
|
316
|
+
var _holder$name;
|
|
317
|
+
var n = holder === null || holder === void 0 || (_holder$name = holder.name) === null || _holder$name === void 0 ? void 0 : _holder$name.trim();
|
|
318
|
+
if (n) return n;
|
|
319
|
+
if (showPhone && holder !== null && holder !== void 0 && holder.phone) {
|
|
320
|
+
var m = maskPisellReservationPhoneTail(holder.phone);
|
|
321
|
+
if (m) return m;
|
|
322
|
+
}
|
|
323
|
+
return '';
|
|
324
|
+
}
|
|
325
|
+
|
|
282
326
|
/**
|
|
283
327
|
* 主区域展示用:第一条非 `isNext`;若全部为 next 则回退首条。
|
|
284
328
|
*/
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<import("react").SetStateAction<ReservationScheduleBandValue>>;
|
|
11
|
+
schedule: ReservationScheduleBandValue;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<ReservationScheduleBandValue>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** PisellReservation — 日本語 */
|
|
2
2
|
declare const _default: {
|
|
3
3
|
'pisell-reservation.page-title': string;
|
|
4
|
+
'pisell-reservation.page-title-venue': string;
|
|
4
5
|
'pisell-reservation.new': string;
|
|
5
6
|
'pisell-reservation.new-modal-title': string;
|
|
6
7
|
'pisell-reservation.new-modal-placeholder': string;
|
|
@@ -11,6 +12,8 @@ declare const _default: {
|
|
|
11
12
|
'pisell-reservation.view-grid': string;
|
|
12
13
|
'pisell-reservation.view-floor': string;
|
|
13
14
|
'pisell-reservation.view-calendar': string;
|
|
15
|
+
'pisell-reservation.view-resource-wall': string;
|
|
16
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
14
17
|
'pisell-reservation.calendar-granularity-day': string;
|
|
15
18
|
'pisell-reservation.calendar-granularity-week': string;
|
|
16
19
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -25,6 +28,8 @@ declare const _default: {
|
|
|
25
28
|
'pisell-reservation.at-current-time': string;
|
|
26
29
|
'pisell-reservation.go-current': string;
|
|
27
30
|
'pisell-reservation.schedule-data-loading': string;
|
|
31
|
+
'pisell-reservation.hud-open-table-aria': string;
|
|
32
|
+
'pisell-reservation.hud-table-drawer-title': string;
|
|
28
33
|
'pisell-reservation.hud-sheet-close-aria': string;
|
|
29
34
|
'pisell-reservation.hud-expand-aria': string;
|
|
30
35
|
'pisell-reservation.hud-collapse-aria': string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** PisellReservation — 日本語 */
|
|
2
2
|
export default {
|
|
3
3
|
'pisell-reservation.page-title': '予約',
|
|
4
|
+
'pisell-reservation.page-title-venue': '会場オペレーション',
|
|
4
5
|
'pisell-reservation.new': '+ 新規',
|
|
5
6
|
'pisell-reservation.new-modal-title': '新規',
|
|
6
7
|
'pisell-reservation.new-modal-placeholder': '利用できるルートがありません',
|
|
@@ -11,6 +12,8 @@ export default {
|
|
|
11
12
|
'pisell-reservation.view-grid': '表',
|
|
12
13
|
'pisell-reservation.view-floor': 'フロア図',
|
|
13
14
|
'pisell-reservation.view-calendar': 'カレンダー',
|
|
15
|
+
'pisell-reservation.view-resource-wall': 'ウォール',
|
|
16
|
+
'pisell-reservation.resource-wall-resources': 'ウォール表示リソース',
|
|
14
17
|
'pisell-reservation.calendar-granularity-day': '日',
|
|
15
18
|
'pisell-reservation.calendar-granularity-week': '週',
|
|
16
19
|
'pisell-reservation.calendar-granularity-month': '月',
|
|
@@ -25,6 +28,8 @@ export default {
|
|
|
25
28
|
'pisell-reservation.at-current-time': '現在時刻を表示中です',
|
|
26
29
|
'pisell-reservation.go-current': '現在へ',
|
|
27
30
|
'pisell-reservation.schedule-data-loading': '予約データを読み込み中…',
|
|
31
|
+
'pisell-reservation.hud-open-table-aria': 'フロアマップ上のバインド済みリソース一覧を開く',
|
|
32
|
+
'pisell-reservation.hud-table-drawer-title': 'マップ上のリソース',
|
|
28
33
|
'pisell-reservation.hud-sheet-close-aria': 'リソース一覧を閉じる',
|
|
29
34
|
'pisell-reservation.hud-expand-aria': 'リソース一覧を展開',
|
|
30
35
|
'pisell-reservation.hud-collapse-aria': 'リソース一覧を閉じる',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** PisellReservation — Português */
|
|
2
2
|
declare const _default: {
|
|
3
3
|
'pisell-reservation.page-title': string;
|
|
4
|
+
'pisell-reservation.page-title-venue': string;
|
|
4
5
|
'pisell-reservation.new': string;
|
|
5
6
|
'pisell-reservation.new-modal-title': string;
|
|
6
7
|
'pisell-reservation.new-modal-placeholder': string;
|
|
@@ -11,6 +12,8 @@ declare const _default: {
|
|
|
11
12
|
'pisell-reservation.view-grid': string;
|
|
12
13
|
'pisell-reservation.view-floor': string;
|
|
13
14
|
'pisell-reservation.view-calendar': string;
|
|
15
|
+
'pisell-reservation.view-resource-wall': string;
|
|
16
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
14
17
|
'pisell-reservation.calendar-granularity-day': string;
|
|
15
18
|
'pisell-reservation.calendar-granularity-week': string;
|
|
16
19
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -25,6 +28,8 @@ declare const _default: {
|
|
|
25
28
|
'pisell-reservation.at-current-time': string;
|
|
26
29
|
'pisell-reservation.go-current': string;
|
|
27
30
|
'pisell-reservation.schedule-data-loading': string;
|
|
31
|
+
'pisell-reservation.hud-open-table-aria': string;
|
|
32
|
+
'pisell-reservation.hud-table-drawer-title': string;
|
|
28
33
|
'pisell-reservation.hud-sheet-close-aria': string;
|
|
29
34
|
'pisell-reservation.hud-expand-aria': string;
|
|
30
35
|
'pisell-reservation.hud-collapse-aria': string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** PisellReservation — Português */
|
|
2
2
|
export default {
|
|
3
3
|
'pisell-reservation.page-title': 'Reserva',
|
|
4
|
+
'pisell-reservation.page-title-venue': 'Controlo do espaço',
|
|
4
5
|
'pisell-reservation.new': '+ Novo',
|
|
5
6
|
'pisell-reservation.new-modal-title': 'Novo',
|
|
6
7
|
'pisell-reservation.new-modal-placeholder': 'Sem rotas disponíveis',
|
|
@@ -11,6 +12,8 @@ export default {
|
|
|
11
12
|
'pisell-reservation.view-grid': 'Tabela',
|
|
12
13
|
'pisell-reservation.view-floor': 'Planta',
|
|
13
14
|
'pisell-reservation.view-calendar': 'Calendário',
|
|
15
|
+
'pisell-reservation.view-resource-wall': 'Painel',
|
|
16
|
+
'pisell-reservation.resource-wall-resources': 'Recursos no painel',
|
|
14
17
|
'pisell-reservation.calendar-granularity-day': 'Dia',
|
|
15
18
|
'pisell-reservation.calendar-granularity-week': 'Semana',
|
|
16
19
|
'pisell-reservation.calendar-granularity-month': 'Mês',
|
|
@@ -25,6 +28,8 @@ export default {
|
|
|
25
28
|
'pisell-reservation.at-current-time': 'Está na hora actual',
|
|
26
29
|
'pisell-reservation.go-current': 'Ir para actual',
|
|
27
30
|
'pisell-reservation.schedule-data-loading': 'A carregar reservas…',
|
|
31
|
+
'pisell-reservation.hud-open-table-aria': 'Abrir tabela de recursos ligados na planta',
|
|
32
|
+
'pisell-reservation.hud-table-drawer-title': 'Recursos no mapa',
|
|
28
33
|
'pisell-reservation.hud-sheet-close-aria': 'Fechar lista de recursos',
|
|
29
34
|
'pisell-reservation.hud-expand-aria': 'Expandir lista de recursos',
|
|
30
35
|
'pisell-reservation.hud-collapse-aria': 'Fechar lista de recursos',
|
|
@@ -17,6 +17,8 @@ declare const _default: {
|
|
|
17
17
|
'pisell-reservation.view-grid': string;
|
|
18
18
|
'pisell-reservation.view-floor': string;
|
|
19
19
|
'pisell-reservation.view-calendar': string;
|
|
20
|
+
'pisell-reservation.view-resource-wall': string;
|
|
21
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
20
22
|
'pisell-reservation.calendar-granularity-day': string;
|
|
21
23
|
'pisell-reservation.calendar-granularity-week': string;
|
|
22
24
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -156,6 +158,8 @@ declare const _default: {
|
|
|
156
158
|
'pisell-reservation.view-grid': string;
|
|
157
159
|
'pisell-reservation.view-floor': string;
|
|
158
160
|
'pisell-reservation.view-calendar': string;
|
|
161
|
+
'pisell-reservation.view-resource-wall': string;
|
|
162
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
159
163
|
'pisell-reservation.calendar-granularity-day': string;
|
|
160
164
|
'pisell-reservation.calendar-granularity-week': string;
|
|
161
165
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -218,6 +222,7 @@ declare const _default: {
|
|
|
218
222
|
'pisell-reservation.room-time-start': string;
|
|
219
223
|
'pisell-reservation.room-in-minutes': string;
|
|
220
224
|
'pisell-reservation.room-view-all': string;
|
|
225
|
+
'pisell-reservation.room-occupancy-sum': string;
|
|
221
226
|
'pisell-reservation.room-next-prefix': string;
|
|
222
227
|
'pisell-reservation.room-guest-unknown': string;
|
|
223
228
|
'pisell-reservation.room-collapse': string;
|
|
@@ -294,6 +299,8 @@ declare const _default: {
|
|
|
294
299
|
'pisell-reservation.view-grid': string;
|
|
295
300
|
'pisell-reservation.view-floor': string;
|
|
296
301
|
'pisell-reservation.view-calendar': string;
|
|
302
|
+
'pisell-reservation.view-resource-wall': string;
|
|
303
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
297
304
|
'pisell-reservation.calendar-granularity-day': string;
|
|
298
305
|
'pisell-reservation.calendar-granularity-week': string;
|
|
299
306
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -417,6 +424,7 @@ declare const _default: {
|
|
|
417
424
|
};
|
|
418
425
|
ja: {
|
|
419
426
|
'pisell-reservation.page-title': string;
|
|
427
|
+
'pisell-reservation.page-title-venue': string;
|
|
420
428
|
'pisell-reservation.new': string;
|
|
421
429
|
'pisell-reservation.new-modal-title': string;
|
|
422
430
|
'pisell-reservation.new-modal-placeholder': string;
|
|
@@ -427,6 +435,8 @@ declare const _default: {
|
|
|
427
435
|
'pisell-reservation.view-grid': string;
|
|
428
436
|
'pisell-reservation.view-floor': string;
|
|
429
437
|
'pisell-reservation.view-calendar': string;
|
|
438
|
+
'pisell-reservation.view-resource-wall': string;
|
|
439
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
430
440
|
'pisell-reservation.calendar-granularity-day': string;
|
|
431
441
|
'pisell-reservation.calendar-granularity-week': string;
|
|
432
442
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -441,6 +451,8 @@ declare const _default: {
|
|
|
441
451
|
'pisell-reservation.at-current-time': string;
|
|
442
452
|
'pisell-reservation.go-current': string;
|
|
443
453
|
'pisell-reservation.schedule-data-loading': string;
|
|
454
|
+
'pisell-reservation.hud-open-table-aria': string;
|
|
455
|
+
'pisell-reservation.hud-table-drawer-title': string;
|
|
444
456
|
'pisell-reservation.hud-sheet-close-aria': string;
|
|
445
457
|
'pisell-reservation.hud-expand-aria': string;
|
|
446
458
|
'pisell-reservation.hud-collapse-aria': string;
|
|
@@ -553,6 +565,7 @@ declare const _default: {
|
|
|
553
565
|
};
|
|
554
566
|
pt: {
|
|
555
567
|
'pisell-reservation.page-title': string;
|
|
568
|
+
'pisell-reservation.page-title-venue': string;
|
|
556
569
|
'pisell-reservation.new': string;
|
|
557
570
|
'pisell-reservation.new-modal-title': string;
|
|
558
571
|
'pisell-reservation.new-modal-placeholder': string;
|
|
@@ -563,6 +576,8 @@ declare const _default: {
|
|
|
563
576
|
'pisell-reservation.view-grid': string;
|
|
564
577
|
'pisell-reservation.view-floor': string;
|
|
565
578
|
'pisell-reservation.view-calendar': string;
|
|
579
|
+
'pisell-reservation.view-resource-wall': string;
|
|
580
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
566
581
|
'pisell-reservation.calendar-granularity-day': string;
|
|
567
582
|
'pisell-reservation.calendar-granularity-week': string;
|
|
568
583
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -577,6 +592,8 @@ declare const _default: {
|
|
|
577
592
|
'pisell-reservation.at-current-time': string;
|
|
578
593
|
'pisell-reservation.go-current': string;
|
|
579
594
|
'pisell-reservation.schedule-data-loading': string;
|
|
595
|
+
'pisell-reservation.hud-open-table-aria': string;
|
|
596
|
+
'pisell-reservation.hud-table-drawer-title': string;
|
|
580
597
|
'pisell-reservation.hud-sheet-close-aria': string;
|
|
581
598
|
'pisell-reservation.hud-expand-aria': string;
|
|
582
599
|
'pisell-reservation.hud-collapse-aria': string;
|
|
@@ -19,6 +19,8 @@ export default {
|
|
|
19
19
|
'pisell-reservation.view-grid': 'Table',
|
|
20
20
|
'pisell-reservation.view-floor': 'Floor map',
|
|
21
21
|
'pisell-reservation.view-calendar': 'Calendar',
|
|
22
|
+
'pisell-reservation.view-resource-wall': 'Wall',
|
|
23
|
+
'pisell-reservation.resource-wall-resources': 'Resources on wall',
|
|
22
24
|
'pisell-reservation.calendar-granularity-day': 'Day',
|
|
23
25
|
'pisell-reservation.calendar-granularity-week': 'Week',
|
|
24
26
|
'pisell-reservation.calendar-granularity-month': 'Month',
|
|
@@ -158,6 +160,8 @@ export default {
|
|
|
158
160
|
'pisell-reservation.view-grid': '表格',
|
|
159
161
|
'pisell-reservation.view-floor': '平面图',
|
|
160
162
|
'pisell-reservation.view-calendar': '日历',
|
|
163
|
+
'pisell-reservation.view-resource-wall': '大屏',
|
|
164
|
+
'pisell-reservation.resource-wall-resources': '大屏显示资源',
|
|
161
165
|
'pisell-reservation.calendar-granularity-day': '日',
|
|
162
166
|
'pisell-reservation.calendar-granularity-week': '周',
|
|
163
167
|
'pisell-reservation.calendar-granularity-month': '月',
|
|
@@ -220,6 +224,7 @@ export default {
|
|
|
220
224
|
'pisell-reservation.room-time-start': '开始',
|
|
221
225
|
'pisell-reservation.room-in-minutes': '还有 {d}',
|
|
222
226
|
'pisell-reservation.room-view-all': '查看全部 {n} 条预约',
|
|
227
|
+
'pisell-reservation.room-occupancy-sum': '人数 {current}/{capacity}',
|
|
223
228
|
'pisell-reservation.room-next-prefix': '下一档',
|
|
224
229
|
'pisell-reservation.room-guest-unknown': '客人',
|
|
225
230
|
'pisell-reservation.room-collapse': '收起',
|
|
@@ -296,6 +301,8 @@ export default {
|
|
|
296
301
|
'pisell-reservation.view-grid': '表格',
|
|
297
302
|
'pisell-reservation.view-floor': '平面圖',
|
|
298
303
|
'pisell-reservation.view-calendar': '日曆',
|
|
304
|
+
'pisell-reservation.view-resource-wall': '大屏',
|
|
305
|
+
'pisell-reservation.resource-wall-resources': '大屏顯示資源',
|
|
299
306
|
'pisell-reservation.calendar-granularity-day': '日',
|
|
300
307
|
'pisell-reservation.calendar-granularity-week': '週',
|
|
301
308
|
'pisell-reservation.calendar-granularity-month': '月',
|
|
@@ -10,6 +10,8 @@ export declare const PISELL_RESERVATION_BODY_VIEW_STORAGE_KEY = "pisell-reservat
|
|
|
10
10
|
export declare const PISELL_RESERVATION_HUD_DRAWER_COLUMN_STORAGE_KEY = "pisell-reservation.hud-booking-drawer.columns";
|
|
11
11
|
/** HUD 表格:全量在内存中过滤后的本地分页默认每页条数(与主表服务端分页无关) */
|
|
12
12
|
export declare const PISELL_RESERVATION_HUD_LOCAL_PAGE_SIZE = 50;
|
|
13
|
+
/** 资源墙筛选:画布资源多选最多可选数量 */
|
|
14
|
+
export declare const RESERVATION_RESOURCE_WALL_MAX_RESOURCE_SELECTION = 6;
|
|
13
15
|
/** RoomCard 子预约块:`closest` 解析用户点中的预约 */
|
|
14
16
|
export declare const PISELL_FLOOR_CHECKOUT_BOOKING_SELECTOR = "[data-pisell-floor-checkout-booking]";
|
|
15
17
|
/**
|
|
@@ -44,8 +46,14 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
44
46
|
'pisell-reservation.edit-map-done': string;
|
|
45
47
|
'pisell-reservation.follow-current': string;
|
|
46
48
|
'pisell-reservation.view-grid': string;
|
|
49
|
+
/**
|
|
50
|
+
* 时间轴默认区间:锚定日历日当日 02:00 — 次日 02:00(跨日 24h)
|
|
51
|
+
* 可由 toolBar → PisellReservationScheduleBand 的 timeNavigatorProps 覆盖
|
|
52
|
+
*/
|
|
47
53
|
'pisell-reservation.view-floor': string;
|
|
48
54
|
'pisell-reservation.view-calendar': string;
|
|
55
|
+
'pisell-reservation.view-resource-wall': string;
|
|
56
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
49
57
|
'pisell-reservation.calendar-granularity-day': string;
|
|
50
58
|
'pisell-reservation.calendar-granularity-week': string;
|
|
51
59
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -78,7 +86,6 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
78
86
|
'pisell-reservation.floor-hud.interactive-title': string;
|
|
79
87
|
'pisell-reservation.floor-map.data-source-label': string;
|
|
80
88
|
'pisell-reservation.floor-map.category-background': string;
|
|
81
|
-
/** 日历内改约/锁台等:平面图侧尚未对接写接口时的提示 */
|
|
82
89
|
'pisell-reservation.floor-map.palette-image-bg': string;
|
|
83
90
|
'pisell-reservation.floor-plan.save-failed': string;
|
|
84
91
|
'pisell-reservation.card-placeholder.hint-select-row': string;
|
|
@@ -282,11 +289,12 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
282
289
|
'pisell2.orderList.column.createInfo': string;
|
|
283
290
|
'pisell2.orderList.column.moreInfo': string;
|
|
284
291
|
'pisell2.orderList.deliveryType.nil': string;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
*
|
|
288
|
-
* 否则筛排、列头等会退化为展示 key(与 PisellSalesManagement 合并策略一致)。
|
|
292
|
+
/**
|
|
293
|
+
* 时间轴默认区间:锚定日历日当日 02:00 — 次日 02:00(跨日 24h)
|
|
294
|
+
* 可由 toolBar → PisellReservationScheduleBand 的 timeNavigatorProps 覆盖
|
|
289
295
|
*/
|
|
296
|
+
'pisell2.orderList.deliveryType.shipping': string;
|
|
297
|
+
'pisell2.orderList.deliveryType.local_delivery': string;
|
|
290
298
|
'pisell2.orderList.deliveryType.pickup': string;
|
|
291
299
|
'pisell2.orderList.deliveryType.shop_service': string;
|
|
292
300
|
'pisell2.orderList.shopServiceType.dine-in': string;
|
|
@@ -324,6 +332,7 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
324
332
|
'pisell2.orderList.common.guest': string;
|
|
325
333
|
'pisell2.orderList.quickFilter.keyword.placeholder': string;
|
|
326
334
|
'pisell2.orderList.quickFilter.orderDate.label': string;
|
|
335
|
+
/** 日历内改约/锁台等:平面图侧尚未对接写接口时的提示 */
|
|
327
336
|
'pisell2.orderList.quickFilter.orderDate.placeholder': string;
|
|
328
337
|
'pisell2.orderList.filter.orderStatus.label': string;
|
|
329
338
|
'pisell2.orderList.filter.orderStatus.placeholder': string;
|
|
@@ -409,6 +418,8 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
409
418
|
'pisell-reservation.view-grid': string;
|
|
410
419
|
'pisell-reservation.view-floor': string;
|
|
411
420
|
'pisell-reservation.view-calendar': string;
|
|
421
|
+
'pisell-reservation.view-resource-wall': string;
|
|
422
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
412
423
|
'pisell-reservation.calendar-granularity-day': string;
|
|
413
424
|
'pisell-reservation.calendar-granularity-week': string;
|
|
414
425
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -471,6 +482,7 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
471
482
|
'pisell-reservation.room-time-start': string;
|
|
472
483
|
'pisell-reservation.room-in-minutes': string;
|
|
473
484
|
'pisell-reservation.room-view-all': string;
|
|
485
|
+
'pisell-reservation.room-occupancy-sum': string;
|
|
474
486
|
'pisell-reservation.room-next-prefix': string;
|
|
475
487
|
'pisell-reservation.room-guest-unknown': string;
|
|
476
488
|
'pisell-reservation.room-collapse': string;
|
|
@@ -766,6 +778,8 @@ export declare const PISELL_RESERVATION_PAGE_LOCALES: {
|
|
|
766
778
|
'pisell-reservation.view-grid': string;
|
|
767
779
|
'pisell-reservation.view-floor': string;
|
|
768
780
|
'pisell-reservation.view-calendar': string;
|
|
781
|
+
'pisell-reservation.view-resource-wall': string;
|
|
782
|
+
'pisell-reservation.resource-wall-resources': string;
|
|
769
783
|
'pisell-reservation.calendar-granularity-day': string;
|
|
770
784
|
'pisell-reservation.calendar-granularity-week': string;
|
|
771
785
|
'pisell-reservation.calendar-granularity-month': string;
|
|
@@ -1121,6 +1135,10 @@ export declare const I18N_EDIT_MAP_DONE = "pisell-reservation.edit-map-done";
|
|
|
1121
1135
|
export declare const I18N_VIEW_GRID = "pisell-reservation.view-grid";
|
|
1122
1136
|
export declare const I18N_VIEW_FLOOR = "pisell-reservation.view-floor";
|
|
1123
1137
|
export declare const I18N_VIEW_CALENDAR = "pisell-reservation.view-calendar";
|
|
1138
|
+
export declare const I18N_VIEW_RESOURCE_WALL = "pisell-reservation.view-resource-wall";
|
|
1139
|
+
export declare const I18N_RESOURCE_WALL_RESOURCES = "pisell-reservation.resource-wall-resources";
|
|
1140
|
+
/** localStorage:`${PREFIX}:${bodyViewStorageKey || 'default'}` */
|
|
1141
|
+
export declare const PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX = "pisell-reservation.resource-wall-filter";
|
|
1124
1142
|
export declare const I18N_CALENDAR_DAY = "pisell-reservation.calendar-granularity-day";
|
|
1125
1143
|
export declare const I18N_CALENDAR_WEEK = "pisell-reservation.calendar-granularity-week";
|
|
1126
1144
|
export declare const I18N_CALENDAR_MONTH = "pisell-reservation.calendar-granularity-month";
|
|
@@ -25,6 +25,9 @@ export var PISELL_RESERVATION_HUD_DRAWER_COLUMN_STORAGE_KEY = 'pisell-reservatio
|
|
|
25
25
|
/** HUD 表格:全量在内存中过滤后的本地分页默认每页条数(与主表服务端分页无关) */
|
|
26
26
|
export var PISELL_RESERVATION_HUD_LOCAL_PAGE_SIZE = 50;
|
|
27
27
|
|
|
28
|
+
/** 资源墙筛选:画布资源多选最多可选数量 */
|
|
29
|
+
export var RESERVATION_RESOURCE_WALL_MAX_RESOURCE_SELECTION = 6;
|
|
30
|
+
|
|
28
31
|
/** RoomCard 子预约块:`closest` 解析用户点中的预约 */
|
|
29
32
|
export var PISELL_FLOOR_CHECKOUT_BOOKING_SELECTOR = '[data-pisell-floor-checkout-booking]';
|
|
30
33
|
|
|
@@ -60,6 +63,10 @@ export var I18N_EDIT_MAP_DONE = 'pisell-reservation.edit-map-done';
|
|
|
60
63
|
export var I18N_VIEW_GRID = 'pisell-reservation.view-grid';
|
|
61
64
|
export var I18N_VIEW_FLOOR = 'pisell-reservation.view-floor';
|
|
62
65
|
export var I18N_VIEW_CALENDAR = 'pisell-reservation.view-calendar';
|
|
66
|
+
export var I18N_VIEW_RESOURCE_WALL = 'pisell-reservation.view-resource-wall';
|
|
67
|
+
export var I18N_RESOURCE_WALL_RESOURCES = 'pisell-reservation.resource-wall-resources';
|
|
68
|
+
/** localStorage:`${PREFIX}:${bodyViewStorageKey || 'default'}` */
|
|
69
|
+
export var PISELL_RESERVATION_RESOURCE_WALL_FILTER_STORAGE_PREFIX = 'pisell-reservation.resource-wall-filter';
|
|
63
70
|
export var I18N_CALENDAR_DAY = 'pisell-reservation.calendar-granularity-day';
|
|
64
71
|
export var I18N_CALENDAR_WEEK = 'pisell-reservation.calendar-granularity-week';
|
|
65
72
|
export var I18N_CALENDAR_MONTH = 'pisell-reservation.calendar-granularity-month';
|
|
@@ -83,6 +83,10 @@ export declare type PisellReservationTableRow = {
|
|
|
83
83
|
hostIsTimeout?: boolean;
|
|
84
84
|
/** 合成行:下一档预约(与接口 isNext 语义一致时由映射写入 booking) */
|
|
85
85
|
isNext?: boolean;
|
|
86
|
+
/** Story / 本地演示:映射到大屏资源墙卡片的灯控态(接灯控接口前预览)。 */
|
|
87
|
+
resourceWallLightState?: 'off' | 'off_soon_on' | 'on_soon_off';
|
|
88
|
+
resourceWallLightOnInMin?: number;
|
|
89
|
+
resourceWallLightOffInMin?: number;
|
|
86
90
|
};
|
|
87
91
|
/**
|
|
88
92
|
* 页面级预约看板:内置 Sales Management 预约列表(列、筛选、排序、GET booking)+ 时间轴 + 平面图。
|
|
@@ -300,7 +300,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
300
300
|
mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
|
|
301
301
|
order_id?: string | number | undefined;
|
|
302
302
|
eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu" | undefined;
|
|
303
|
-
action?: "
|
|
303
|
+
action?: "deviceList" | "amount" | "pay" | undefined;
|
|
304
304
|
key?: number | undefined;
|
|
305
305
|
step?: number | undefined;
|
|
306
306
|
title?: string | undefined;
|