{"version":3,"sources":["../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/db6319e8-f8d6-4de3-830e-917d4e5c6d47.ts","../../src/extensions/dashboard-page-plugins/bbbc8c7d-19b9-4a86-bfc5-1bf59208b01b.ts","../../src/extensions/dashboard-page-plugins/3b9b5f2b-adc9-4099-80e6-5e74bc30e613.ts","../../src/extensions/dashboard-page-plugins/c756378f-3438-41c6-a686-85e9fb0193ac.ts","../../src/extensions/dashboard-page-plugins/a6a6a0ee-865f-43cc-a8f2-b50984f74457.ts","../../src/extensions/dashboard-page-plugins/9728c715-8b64-4d9b-b5a6-a33c201ce8e6.ts","../../src/extensions/dashboard-page-plugins/a4f36fac-ea18-483b-8236-095e29fcb726.ts"],"sourcesContent":["export interface serviceFormOptions {\n  /** The service id to edit */\n  serviceId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Service Form page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function serviceForm(options: serviceFormOptions): PageBuilderResult {\n  const { serviceId } = options;\n\n  return {\n    pageId: 'db6319e8-f8d6-4de3-830e-917d4e5c6d47',\n    relativeUrl: `${serviceId}`,\n  };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Export Booking Data page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function exportBookingData(): PageBuilderResult {\n  return {\n    pageId: 'bbbc8c7d-19b9-4a86-bfc5-1bf59208b01b',\n    relativeUrl: `?openModal=exportBookingData`,\n  };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Sync Personal Calendar page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function syncPersonalCalendar(): PageBuilderResult {\n  return {\n    pageId: 'bbbc8c7d-19b9-4a86-bfc5-1bf59208b01b',\n    relativeUrl: `?openModal=syncPersonalCalendar`,\n  };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Services List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function servicesList(): PageBuilderResult {\n  return { pageId: 'c756378f-3438-41c6-a686-85e9fb0193ac' };\n}\n\nexport interface staffEditOptions {\n  /** The staff member id to edit */\n  staffMemberId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Staff Edit page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function staffEdit(options: staffEditOptions): PageBuilderResult {\n  const { staffMemberId } = options;\n\n  return {\n    pageId: 'a6a6a0ee-865f-43cc-a8f2-b50984f74457',\n    relativeUrl: `${staffMemberId}`,\n  };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Staff List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function staffList(): PageBuilderResult {\n  return { pageId: 'a4f36fac-ea18-483b-8236-095e29fcb726' };\n}\n\nexport interface PageBuilderResult {\n  pageId: string;\n  relativeUrl?: string;\n}\n","export * as BookingsServiceForm from './dashboard-page-plugins/db6319e8-f8d6-4de3-830e-917d4e5c6d47.js';\nexport * as BookingCalendar from './dashboard-page-plugins/bbbc8c7d-19b9-4a86-bfc5-1bf59208b01b.js';\nexport * as BookingList from './dashboard-page-plugins/3b9b5f2b-adc9-4099-80e6-5e74bc30e613.js';\nexport * as Services from './dashboard-page-plugins/c756378f-3438-41c6-a686-85e9fb0193ac.js';\nexport * as BookingsStaffMemberForm from './dashboard-page-plugins/a6a6a0ee-865f-43cc-a8f2-b50984f74457.js';\nexport * as BookingsPolicyForm from './dashboard-page-plugins/9728c715-8b64-4d9b-b5a6-a33c201ce8e6.js';\nexport * as Staff from './dashboard-page-plugins/a4f36fac-ea18-483b-8236-095e29fcb726.js';\n","/**\n * @pageName BookingsServiceForm\n * @slotType dashboard plugin\n */\nexport type ServiceFormSectionProps = {\n  serviceId?: string;\n  save: () => Promise<\n    { success: true; serviceId: string } | { success: false; errors: unknown }\n  >;\n};\n/**\n * @pageName BookingsServiceForm\n * @slotType dashboard plugin\n */\nexport type ServiceFormSidebarProps = {\n  serviceId?: string;\n  save: () => Promise<\n    { success: true; serviceId: string } | { success: false; errors: unknown }\n  >;\n};\n/**\n * @pageName BookingsServiceForm\n * @slotType dashboard menu plugin\n */\nexport type ServiceFormMoreActionsMenuProps = {\n  serviceId?: string;\n  save: () => Promise<\n    { success: true; serviceId: string } | { success: false; errors: unknown }\n  >;\n};\n","/**\n * @pageName BookingCalendar\n * @slotType dashboard plugin\n */\nexport interface ExtensionProps {\n  notifyStartLoading?: () => void;\n  notifyFinishedLoading?: () => void;\n\n  liveCalendar3: {\n    listenToLiveUpdates(params: {\n      callback: (liveUpdateItems: LiveCalendar3UpdateItem[]) => void;\n    }): {\n      remove(): void;\n    };\n  };\n}\n\n/** @internal */\nexport type LiveCalendar3UpdateItem = {\n  changeType: 'event-created' | 'event-updated';\n\n  // Event ID\n  id?: string | null;\n\n  // Event title\n  title?: string | null;\n\n  // Information about when the event starts adjusted to the `timeZone` of the\n  // business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\n  adjustedStart?: ZonedDate;\n\n  // Information about when the event ends adjusted to the `timeZone` of the\n  // business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\n  adjustedEnd?: ZonedDate;\n\n  // Information about when the event starts.\n  start?: ZonedDate;\n\n  // Information about when the event ends.\n  end?: ZonedDate;\n\n  // Event status.\n  status?: Status;\n\n  // Information about whether the event is a single occurrence or part of a recurring series.\n  recurrenceType?: RecurrenceType;\n};\n// noinspection JSUnusedGlobalSymbols\n\n// NOTE: This file is for extension slot documentation, and should not include any imports\n\n/** @internal */\nexport interface ZonedDate {\n  /**\n   * Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\n   * For example, `2024-01-30T13:30:00`.\n   */\n  localDate?: string | null;\n\n  /**\n   * Time zone in\n   * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\n   * For example, `America/New_York`.\n   */\n  timeZone?: string | null;\n\n  /**\n   * UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\n   * For example, `2024-01-30T13:30:00`.\n   * Not available for adjusted date fields.\n   */\n  utcDate?: Date | null;\n}\n\n/** @internal */\nexport declare enum Status {\n  // Event is scheduled to happen or has happened.\n  CONFIRMED = 'CONFIRMED',\n\n  //  Event has been canceled.\n  CANCELLED = 'CANCELLED',\n}\n\n/** @internal */\nexport declare enum RecurrenceType {\n  // The event occurs only once and doesn't repeat.\n  NONE = 'NONE',\n\n  // Defines the recurrence pattern for a series of recurring events.\n  MASTER = 'MASTER',\n\n  // A specific occurrence of a recurring event. You can't create an event with `{\"recurrenceType\": \"INSTANCE\"}`, instead it's automatically generated based on the recurrence rule. If you update an `INSTANCE` event, `recurrenceType` automatically changes to `EXCEPTION`.\n  INSTANCE = 'INSTANCE',\n\n  // A modified instance of a recurring event that differs from the recurrence pattern. For example, an event with a different time or location. You can't create an `EXCEPTION` event directly, instead it's set automatically when you update an `INSTANCE` event.\n  EXCEPTION = 'EXCEPTION',\n}\n/**\n * @pageName BookingCalendar\n * @slotType dashboard menu plugin\n */\nexport type CalendarMoreActionsMenuParams = {};\n","/**\n * @pageName BookingList\n * @slotType dashboard plugin\n */\nexport type BookingListHeaderParams = {};\n\n/**\n * @pageName BookingList\n * @slotType dashboard plugin\n */\nexport interface BookingListMenuActionParams {\n  bookingId?: string;\n}\n\n/**\n * @pageName BookingList\n * @slotType dashboard plugin\n */\nexport interface BookingListBulkMenuActionParams {\n  selectedBookingIds: string[];\n}\n","/**\n * @pageName Services\n * @slotType dashboard plugin\n */\nexport type ServicesBannerParams = {};\n/**\n * @pageName Services\n * @slotType dashboard menu plugin\n */\nexport type ServicesMainActionsMenuParams = {};\n/**\n * @pageName Services\n * @slotType dashboard menu plugin\n */\nexport type ServiceItemMoreActionsMenuParams = {\n  /* Service ID.*/ serviceId: string;\n};\n","/**\n * @pageName BookingsStaffMemberForm\n * @slotType dashboard plugin\n */\nexport type EditStaffProfileBannerParams = {\n  /* Staff Resource ID.*/ staffResourceId: string;\n  /* Staff ID.*/ staffId: string;\n};\n/**\n * @pageName BookingsStaffMemberForm\n * @slotType dashboard menu plugin\n */\nexport type EditStaffProfileMainMoreActionsMenuParams = {\n  /* Staff Resource ID.*/ staffResourceId: string;\n  /* Staff ID.*/ staffId: string;\n};\n/**\n * @pageName BookingsStaffMemberForm\n * @slotType dashboard plugin\n */\nexport type StaffSettingsWidgetProps = {\n  staffResourceId?: string;\n  staffMemberId?: string;\n  staffWixUserId?: string;\n  staffName?: string;\n  scheduleId?: string;\n  staffEmail?: string;\n  onBookingPermissionsRequest: () => void;\n};\n","/**\n * @pageName BookingsPolicyForm\n * @slotType dashboard plugin\n */\nexport type StaffAssignmentParams = { /* Policy ID.*/ policyId: string };\n","/**\n * @pageName Staff\n * @slotType dashboard plugin\n */\nexport type StaffBannerParams = {\n  /* Staff Resource ID.*/ staffResourceId: string;\n  /* Staff ID.*/ staffId: string;\n};\n/**\n * @pageName Staff\n * @slotType dashboard menu plugin\n */\nexport type StaffMainMoreActionsMenuParams = {};\n/**\n * @pageName Staff\n * @slotType dashboard menu plugin\n */\nexport type StaffItemMoreActionsMenuParams = {\n  /* Staff Resource ID.*/ staffResourceId: string;\n  /* Staff ID.*/ staffId: string;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,UAAU,IAAI;AAEtB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,SAAS;AAAA,EAC3B;AACF;AAMO,SAAS,oBAAuC;AACrD,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa;AAAA,EACf;AACF;AAMO,SAAS,uBAA0C;AACxD,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa;AAAA,EACf;AACF;AAMO,SAAS,eAAkC;AAChD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,cAAc,IAAI;AAE1B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,aAAa;AAAA,EAC/B;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;;;ACxEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}