@wix/ecom_app-extensions 1.0.87 → 1.0.88

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.
@@ -133,6 +133,45 @@ declare namespace _8454e8a0568443319d4aE4873467553a {
133
133
  export type { _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams as DraftOrderManageFeesActionParams, _8454e8a0568443319d4aE4873467553a_OrderSummaryParams as OrderSummaryParams };
134
134
  }
135
135
 
136
+ /**
137
+ * @pageName CollectPayment
138
+ * @slotType dashboard menu plugin
139
+ */
140
+ type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;
141
+ /** @internal */
142
+ type CollectPaymentMenuOptionParams = {
143
+ orderId: string;
144
+ /** @deprecated Use onSuccess() instead */
145
+ onSuccessCallback(): Promise<void>;
146
+ onSuccess(): Promise<void>;
147
+ };
148
+ /**
149
+ * @pageName CollectPayment
150
+ * @slotType dashboard plugin
151
+ */
152
+ type CollectPaymentModalParams = CollectPaymentMenuOnBeforePayModalSlotProps;
153
+ /** @internal */
154
+ type CollectPaymentMenuOnBeforePayModalSlotProps = {
155
+ orderId: string;
156
+ onSuccess(): Promise<void>;
157
+ onCancel(): void;
158
+ menuOption: {
159
+ key: 'CHARGE_WITH_CREDIT_CARD' | 'RECORD_ORDER_MANUAL_PAYMENT' | 'CHARGE_WITH_INVOICE' | 'CAPTURE_AUTHORIZED_PAYMENT' | 'CREATE_AUTHORIZED_PAYMENT';
160
+ componentId?: undefined;
161
+ } | {
162
+ key: 'EXTENSION';
163
+ componentId: string;
164
+ };
165
+ };
166
+
167
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOnBeforePayModalSlotProps = CollectPaymentMenuOnBeforePayModalSlotProps;
168
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOptionParams = CollectPaymentMenuOptionParams;
169
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuParams = CollectPaymentMenuParams;
170
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentModalParams = CollectPaymentModalParams;
171
+ declare namespace e5128b65Cb234ea4B63a434a4e6b6e9e {
172
+ export type { e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOnBeforePayModalSlotProps as CollectPaymentMenuOnBeforePayModalSlotProps, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOptionParams as CollectPaymentMenuOptionParams, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuParams as CollectPaymentMenuParams, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentModalParams as CollectPaymentModalParams };
173
+ }
174
+
136
175
  /**
137
176
  * @pageName OrderDetails
138
177
  * @slotType dashboard plugin
@@ -151,7 +190,7 @@ declare namespace _3b96985eA459497294c363f038a73af2 {
151
190
  }
152
191
 
153
192
  declare namespace dashboardPagesPluginProps {
154
- export { _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
193
+ export { e5128b65Cb234ea4B63a434a4e6b6e9e as CollectPayment, _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
155
194
  }
156
195
 
157
196
  declare namespace dashboard {
@@ -1 +1 @@
1
- export { a as pages, b as plugins } from './dashboard-DyfKqhiW.js';
1
+ export { a as pages, b as plugins } from './dashboard-f6lp5uQB.js';
@@ -85,6 +85,7 @@ function orderDetails(options) {
85
85
  // src/extensions/dashboard-pages-plugin-props.ts
86
86
  var dashboard_pages_plugin_props_exports = {};
87
87
  __export(dashboard_pages_plugin_props_exports, {
88
+ CollectPayment: () => e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports,
88
89
  DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
89
90
  EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
90
91
  OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
@@ -100,6 +101,9 @@ var f05f_d646_4c81_be90_adf28d321398_exports = {};
100
101
  // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
101
102
  var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
102
103
 
104
+ // src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts
105
+ var e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports = {};
106
+
103
107
  // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
104
108
  var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
105
109
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
1
+ {"version":3,"sources":["../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as CollectPayment from './dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName CollectPayment\n * @slotType dashboard menu plugin\n */\nexport type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;\n\n/** @internal */\nexport type CollectPaymentMenuOptionParams = {\n orderId: string;\n /** @deprecated Use onSuccess() instead */\n onSuccessCallback(): Promise<void>;\n onSuccess(): Promise<void>;\n};\n\n/**\n * @pageName CollectPayment\n * @slotType dashboard plugin\n */\nexport type CollectPaymentModalParams =\n CollectPaymentMenuOnBeforePayModalSlotProps;\n\n/** @internal */\nexport type CollectPaymentMenuOnBeforePayModalSlotProps = {\n orderId: string;\n onSuccess(): Promise<void>;\n onCancel(): void;\n menuOption:\n | {\n key:\n | 'CHARGE_WITH_CREDIT_CARD'\n | 'RECORD_ORDER_MANUAL_PAYMENT'\n | 'CHARGE_WITH_INVOICE'\n | 'CAPTURE_AUTHORIZED_PAYMENT'\n | 'CREATE_AUTHORIZED_PAYMENT';\n componentId?: undefined;\n }\n | {\n key: 'EXTENSION';\n componentId: string;\n };\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
@@ -1,2 +1,2 @@
1
1
  export { s as site } from './site-CG7HeogU.js';
2
- export { d as dashboard } from './dashboard-DyfKqhiW.js';
2
+ export { d as dashboard } from './dashboard-f6lp5uQB.js';
@@ -131,6 +131,7 @@ function orderDetails(options) {
131
131
  // src/extensions/dashboard-pages-plugin-props.ts
132
132
  var dashboard_pages_plugin_props_exports = {};
133
133
  __export(dashboard_pages_plugin_props_exports, {
134
+ CollectPayment: () => e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports,
134
135
  DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
135
136
  EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
136
137
  OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
@@ -146,6 +147,9 @@ var f05f_d646_4c81_be90_adf28d321398_exports = {};
146
147
  // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
147
148
  var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
148
149
 
150
+ // src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts
151
+ var e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports = {};
152
+
149
153
  // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
150
154
  var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
151
155
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../site.ts","../../src/extensions/editor-pages-plugin-props.ts","../../src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts","../../src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts","../../src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts","../../src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts","../../src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts","../../src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts","../../src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as site from './site.js';\nexport * as dashboard from './dashboard.js';\n","export * as plugins from './src/extensions/editor-pages-plugin-props.js';\n","export * as GridGallery from './editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.js';\nexport * as CategoryPage from './editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.js';\nexport * as ProductPage from './editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.js';\nexport * as Checkout from './editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.js';\nexport * as SearchResultsPageGallery from './editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.js';\nexport * as Shop from './editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.js';\nexport * as SearchModalGallery from './editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.js';\n","/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageListTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageAdditionalButtonsSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails5SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails7SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails2SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails9SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageMedia1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails6SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails4SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageTopSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails3SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails8SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageBottomSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n","/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutPoliciesAfter1Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfter2Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutTopProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryTotalsBreakdownBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutStepsBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n","/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
1
+ {"version":3,"sources":["../../index.ts","../../site.ts","../../src/extensions/editor-pages-plugin-props.ts","../../src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts","../../src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts","../../src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts","../../src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts","../../src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts","../../src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts","../../src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as site from './site.js';\nexport * as dashboard from './dashboard.js';\n","export * as plugins from './src/extensions/editor-pages-plugin-props.js';\n","export * as GridGallery from './editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.js';\nexport * as CategoryPage from './editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.js';\nexport * as ProductPage from './editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.js';\nexport * as Checkout from './editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.js';\nexport * as SearchResultsPageGallery from './editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.js';\nexport * as Shop from './editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.js';\nexport * as SearchModalGallery from './editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.js';\n","/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageListTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageAdditionalButtonsSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails5SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails7SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails2SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails9SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageMedia1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails6SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails4SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageTopSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails3SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails8SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageBottomSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n","/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutPoliciesAfter1Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfter2Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutTopProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryTotalsBreakdownBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutStepsBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n","/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as CollectPayment from './dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName CollectPayment\n * @slotType dashboard menu plugin\n */\nexport type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;\n\n/** @internal */\nexport type CollectPaymentMenuOptionParams = {\n orderId: string;\n /** @deprecated Use onSuccess() instead */\n onSuccessCallback(): Promise<void>;\n onSuccess(): Promise<void>;\n};\n\n/**\n * @pageName CollectPayment\n * @slotType dashboard plugin\n */\nexport type CollectPaymentModalParams =\n CollectPaymentMenuOnBeforePayModalSlotProps;\n\n/** @internal */\nexport type CollectPaymentMenuOnBeforePayModalSlotProps = {\n orderId: string;\n onSuccess(): Promise<void>;\n onCancel(): void;\n menuOption:\n | {\n key:\n | 'CHARGE_WITH_CREDIT_CARD'\n | 'RECORD_ORDER_MANUAL_PAYMENT'\n | 'CHARGE_WITH_INVOICE'\n | 'CAPTURE_AUTHORIZED_PAYMENT'\n | 'CREATE_AUTHORIZED_PAYMENT';\n componentId?: undefined;\n }\n | {\n key: 'EXTENSION';\n componentId: string;\n };\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
@@ -133,6 +133,45 @@ declare namespace _8454e8a0568443319d4aE4873467553a {
133
133
  export type { _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams as DraftOrderManageFeesActionParams, _8454e8a0568443319d4aE4873467553a_OrderSummaryParams as OrderSummaryParams };
134
134
  }
135
135
 
136
+ /**
137
+ * @pageName CollectPayment
138
+ * @slotType dashboard menu plugin
139
+ */
140
+ type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;
141
+ /** @internal */
142
+ type CollectPaymentMenuOptionParams = {
143
+ orderId: string;
144
+ /** @deprecated Use onSuccess() instead */
145
+ onSuccessCallback(): Promise<void>;
146
+ onSuccess(): Promise<void>;
147
+ };
148
+ /**
149
+ * @pageName CollectPayment
150
+ * @slotType dashboard plugin
151
+ */
152
+ type CollectPaymentModalParams = CollectPaymentMenuOnBeforePayModalSlotProps;
153
+ /** @internal */
154
+ type CollectPaymentMenuOnBeforePayModalSlotProps = {
155
+ orderId: string;
156
+ onSuccess(): Promise<void>;
157
+ onCancel(): void;
158
+ menuOption: {
159
+ key: 'CHARGE_WITH_CREDIT_CARD' | 'RECORD_ORDER_MANUAL_PAYMENT' | 'CHARGE_WITH_INVOICE' | 'CAPTURE_AUTHORIZED_PAYMENT' | 'CREATE_AUTHORIZED_PAYMENT';
160
+ componentId?: undefined;
161
+ } | {
162
+ key: 'EXTENSION';
163
+ componentId: string;
164
+ };
165
+ };
166
+
167
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOnBeforePayModalSlotProps = CollectPaymentMenuOnBeforePayModalSlotProps;
168
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOptionParams = CollectPaymentMenuOptionParams;
169
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuParams = CollectPaymentMenuParams;
170
+ type e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentModalParams = CollectPaymentModalParams;
171
+ declare namespace e5128b65Cb234ea4B63a434a4e6b6e9e {
172
+ export type { e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOnBeforePayModalSlotProps as CollectPaymentMenuOnBeforePayModalSlotProps, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuOptionParams as CollectPaymentMenuOptionParams, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentMenuParams as CollectPaymentMenuParams, e5128b65Cb234ea4B63a434a4e6b6e9e_CollectPaymentModalParams as CollectPaymentModalParams };
173
+ }
174
+
136
175
  /**
137
176
  * @pageName OrderDetails
138
177
  * @slotType dashboard plugin
@@ -151,7 +190,7 @@ declare namespace _3b96985eA459497294c363f038a73af2 {
151
190
  }
152
191
 
153
192
  declare namespace dashboardPagesPluginProps {
154
- export { _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
193
+ export { e5128b65Cb234ea4B63a434a4e6b6e9e as CollectPayment, _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
155
194
  }
156
195
 
157
196
  declare namespace dashboard {
@@ -1 +1 @@
1
- export { a as pages, b as plugins } from './dashboard-DyfKqhiW.mjs';
1
+ export { a as pages, b as plugins } from './dashboard-f6lp5uQB.mjs';
@@ -64,6 +64,7 @@ function orderDetails(options) {
64
64
  // src/extensions/dashboard-pages-plugin-props.ts
65
65
  var dashboard_pages_plugin_props_exports = {};
66
66
  __export(dashboard_pages_plugin_props_exports, {
67
+ CollectPayment: () => e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports,
67
68
  DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
68
69
  EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
69
70
  OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
@@ -79,6 +80,9 @@ var f05f_d646_4c81_be90_adf28d321398_exports = {};
79
80
  // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
80
81
  var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
81
82
 
83
+ // src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts
84
+ var e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports = {};
85
+
82
86
  // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
83
87
  var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
84
88
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
1
+ {"version":3,"sources":["../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as CollectPayment from './dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName CollectPayment\n * @slotType dashboard menu plugin\n */\nexport type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;\n\n/** @internal */\nexport type CollectPaymentMenuOptionParams = {\n orderId: string;\n /** @deprecated Use onSuccess() instead */\n onSuccessCallback(): Promise<void>;\n onSuccess(): Promise<void>;\n};\n\n/**\n * @pageName CollectPayment\n * @slotType dashboard plugin\n */\nexport type CollectPaymentModalParams =\n CollectPaymentMenuOnBeforePayModalSlotProps;\n\n/** @internal */\nexport type CollectPaymentMenuOnBeforePayModalSlotProps = {\n orderId: string;\n onSuccess(): Promise<void>;\n onCancel(): void;\n menuOption:\n | {\n key:\n | 'CHARGE_WITH_CREDIT_CARD'\n | 'RECORD_ORDER_MANUAL_PAYMENT'\n | 'CHARGE_WITH_INVOICE'\n | 'CAPTURE_AUTHORIZED_PAYMENT'\n | 'CREATE_AUTHORIZED_PAYMENT';\n componentId?: undefined;\n }\n | {\n key: 'EXTENSION';\n componentId: string;\n };\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
@@ -1,2 +1,2 @@
1
1
  export { s as site } from './site-CG7HeogU.mjs';
2
- export { d as dashboard } from './dashboard-DyfKqhiW.mjs';
2
+ export { d as dashboard } from './dashboard-f6lp5uQB.mjs';
@@ -110,6 +110,7 @@ function orderDetails(options) {
110
110
  // src/extensions/dashboard-pages-plugin-props.ts
111
111
  var dashboard_pages_plugin_props_exports = {};
112
112
  __export(dashboard_pages_plugin_props_exports, {
113
+ CollectPayment: () => e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports,
113
114
  DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
114
115
  EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
115
116
  OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
@@ -125,6 +126,9 @@ var f05f_d646_4c81_be90_adf28d321398_exports = {};
125
126
  // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
126
127
  var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
127
128
 
129
+ // src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts
130
+ var e5128b65_cb23_4ea4_b63a_434a4e6b6e9e_exports = {};
131
+
128
132
  // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
129
133
  var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
130
134
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../site.ts","../../src/extensions/editor-pages-plugin-props.ts","../../src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts","../../src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts","../../src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts","../../src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts","../../src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts","../../src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts","../../src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as plugins from './src/extensions/editor-pages-plugin-props.js';\n","export * as GridGallery from './editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.js';\nexport * as CategoryPage from './editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.js';\nexport * as ProductPage from './editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.js';\nexport * as Checkout from './editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.js';\nexport * as SearchResultsPageGallery from './editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.js';\nexport * as Shop from './editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.js';\nexport * as SearchModalGallery from './editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.js';\n","/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageListTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageAdditionalButtonsSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails5SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails7SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails2SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails9SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageMedia1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails6SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails4SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageTopSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails3SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails8SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageBottomSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n","/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutPoliciesAfter1Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfter2Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutTopProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryTotalsBreakdownBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutStepsBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n","/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
1
+ {"version":3,"sources":["../../site.ts","../../src/extensions/editor-pages-plugin-props.ts","../../src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts","../../src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts","../../src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts","../../src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts","../../src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts","../../src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts","../../src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as plugins from './src/extensions/editor-pages-plugin-props.js';\n","export * as GridGallery from './editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.js';\nexport * as CategoryPage from './editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.js';\nexport * as ProductPage from './editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.js';\nexport * as Checkout from './editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.js';\nexport * as SearchResultsPageGallery from './editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.js';\nexport * as Shop from './editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.js';\nexport * as SearchModalGallery from './editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.js';\n","/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageListTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageAdditionalButtonsSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails5SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails7SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails2SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails9SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageMedia1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails6SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails4SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageTopSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails3SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails8SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageBottomSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n","/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutPoliciesAfter1Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfter2Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutTopProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryTotalsBreakdownBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutStepsBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n","/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: 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 Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: 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 Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\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 Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: 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 Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\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 Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\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 New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: 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 Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: 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 Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as CollectPayment from './dashboard-page-plugins/e5128b65-cb23-4ea4-b63a-434a4e6b6e9e.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName CollectPayment\n * @slotType dashboard menu plugin\n */\nexport type CollectPaymentMenuParams = CollectPaymentMenuOptionParams;\n\n/** @internal */\nexport type CollectPaymentMenuOptionParams = {\n orderId: string;\n /** @deprecated Use onSuccess() instead */\n onSuccessCallback(): Promise<void>;\n onSuccess(): Promise<void>;\n};\n\n/**\n * @pageName CollectPayment\n * @slotType dashboard plugin\n */\nexport type CollectPaymentModalParams =\n CollectPaymentMenuOnBeforePayModalSlotProps;\n\n/** @internal */\nexport type CollectPaymentMenuOnBeforePayModalSlotProps = {\n orderId: string;\n onSuccess(): Promise<void>;\n onCancel(): void;\n menuOption:\n | {\n key:\n | 'CHARGE_WITH_CREDIT_CARD'\n | 'RECORD_ORDER_MANUAL_PAYMENT'\n | 'CHARGE_WITH_INVOICE'\n | 'CAPTURE_AUTHORIZED_PAYMENT'\n | 'CREATE_AUTHORIZED_PAYMENT';\n componentId?: undefined;\n }\n | {\n key: 'EXTENSION';\n componentId: string;\n };\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom_app-extensions",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -51,5 +51,5 @@
51
51
  "groupId": "com.wixpress.sdk-app-extensions-autogen"
52
52
  }
53
53
  },
54
- "falconPackageHash": "8b383afa27c7a88fde89b208978ba04f44fb0735a668370f348978bd"
54
+ "falconPackageHash": "e1480d063f8cc64e017789df6c93a40c32a3edcca1864664d3cf5cf5"
55
55
  }