@pisell/pisellos 0.10.65 → 0.10.66

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 | 2 | 1 | 3 | 4 | 5 | 6;
329
+ weekNum: 0 | 2 | 1 | 6 | 4 | 5 | 3;
330
330
  }[]>;
331
331
  submitTimeSlot(timeSlots: TimeSliceItem): void;
332
332
  private getScheduleDataByIds;
@@ -58,6 +58,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
58
58
  private getIdGeneratorPlugin;
59
59
  protected loadOpenDataConfig(): Promise<OpenDataConfig | null>;
60
60
  getOpenData(): Promise<OpenDataConfig | null>;
61
+ protected loadContactInfoOpenData(): Promise<OpenDataConfig | null>;
61
62
  getInvoiceLayoutConfig(): Promise<InvoiceLayoutConfig>;
62
63
  getInvoiceTemplateSettings(): Promise<InvoiceTemplateSettings>;
63
64
  protected isInvoiceOpenDataCacheCurrent(): boolean;
@@ -286,7 +287,9 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
286
287
  /**
287
288
  * 清空下单客户(协议字段 + snapshot)。
288
289
  */
289
- clearOrderCustomer(): void;
290
+ clearOrderCustomer(options?: {
291
+ preserveContactInfo?: boolean;
292
+ }): void;
290
293
  /**
291
294
  * 重置 tempOrder,并同步清空下单客户运行态。
292
295
  *
@@ -465,19 +468,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
465
468
  * 加车两阶段主决策(规格弹窗 / 资源编辑 / 直接加车)。
466
469
  * 与 ticketBooking `handleSelectProduct` + `handleBooking4Service` 等价。
467
470
  */
468
- decideAddProduct(item: any, options?: Partial<AddProductDecideContext>): {
469
- action: "reloadCatalog";
470
- } | {
471
- action: "add";
472
- cacheItem: any;
473
- } | {
474
- action: "requiresDetail";
475
- payload: AddProductRequiresDetailPayload;
476
- } | {
477
- action: "requiresBookingEdit";
478
- cacheItem: any;
479
- payload: import("./utils/addProductDecision").AddProductRequiresBookingEditPayload;
480
- };
471
+ decideAddProduct(item: any, options?: Partial<AddProductDecideContext>): import("./utils/addProductDecision").AddProductDecision;
481
472
  /** 规格弹窗 callback 后的第二段决策。 */
482
473
  decideAfterDetail(cacheItem: any, options?: Partial<AddProductDecideContext>): import("./utils/addProductDecision").AddProductDecision;
483
474
  /**