@pisell/pisellos 0.10.51 → 0.10.52

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.
@@ -326,7 +326,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
326
326
  date: string;
327
327
  status: string;
328
328
  week: string;
329
- weekNum: 0 | 1 | 2 | 3 | 4 | 5 | 6;
329
+ weekNum: 0 | 2 | 1 | 5 | 4 | 3 | 6;
330
330
  }[]>;
331
331
  submitTimeSlot(timeSlots: TimeSliceItem): void;
332
332
  private getScheduleDataByIds;
@@ -52,10 +52,10 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
52
52
  * 在解决方案对外 ready 前准备 Invoice Document;失败只降级模板,不阻断销售。
53
53
  * 已由页面取得的 OpenData 直接交给模块接管,没有注入数据时再走 target-scoped 加载。
54
54
  */
55
- private prepareInvoiceTemplateAtSolutionReady;
55
+ protected prepareInvoiceTemplateAtSolutionReady(injectedOpenData?: OpenDataConfig): Promise<void>;
56
56
  protected getBookingTicketBusinessCode(): string | null;
57
57
  private getIdGeneratorPlugin;
58
- private loadOpenDataConfig;
58
+ protected loadOpenDataConfig(): Promise<OpenDataConfig | null>;
59
59
  getOpenData(): Promise<OpenDataConfig | null>;
60
60
  getInvoiceLayoutConfig(): Promise<InvoiceLayoutConfig>;
61
61
  getInvoiceTemplateSettings(): Promise<InvoiceTemplateSettings>;
@@ -60,6 +60,12 @@ export declare class UnifiedBookingSalesImpl extends BookingTicket {
60
60
  protected defaultVersion: string;
61
61
  protected store: UnifiedBookingSalesState;
62
62
  protected pickupTimingEnabled: boolean;
63
+ private runtimeOpenDataScope;
64
+ private runtimeOpenDataSnapshot;
65
+ private runtimeOpenDataModule;
66
+ private runtimeOpenDataCore;
67
+ private runtimeOpenDataGeneration;
68
+ private runtimeOpenDataDestroyed;
63
69
  private unifiedProductCatalog;
64
70
  private availabilityRuntimeOffsetMinutes;
65
71
  private availabilityScheduleCatalog;
@@ -143,13 +149,14 @@ export declare class UnifiedBookingSalesImpl extends BookingTicket {
143
149
  private resolveDiscountAction;
144
150
  private resetCachedCustomerDiscountState;
145
151
  private refreshLegacySessionCustomerDiscounts;
146
- /**
147
- * Loads OpenData without borrowing BookingTicket. Cache ownership is tied to the exact
148
- * business/channel target so a reused solution instance cannot leak another entry's menus.
149
- */
152
+ private getRuntimeOpenDataScope;
153
+ private resetRuntimeOpenData;
154
+ protected prepareInvoiceTemplateAtSolutionReady(injectedOpenData?: OpenDataConfig): Promise<void>;
155
+ protected loadOpenDataConfig(): Promise<OpenDataConfig | null>;
156
+ /** A successful configuration belongs to this business runtime until an explicit refresh. */
150
157
  loadOpenData(params: UnifiedBookingSalesLoadOpenDataParams): Promise<OpenDataConfig>;
151
158
  getOpenData(): Promise<OpenDataConfig | null>;
152
- protected loadPickupTimingOpenData(force: boolean): Promise<Record<string, unknown>>;
159
+ protected loadPickupTimingOpenData(_force: boolean): Promise<Record<string, unknown>>;
153
160
  private resetAllergyItemRuleState;
154
161
  private fetchAllergyItemRuleConfigs;
155
162
  private ensureAllergyItemRuleConfigsLoaded;