@wix/ecom_app-extensions 1.0.89 → 1.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{dashboard-f6lp5uQB.d.ts → dashboard-C6qs3P5V.d.ts} +7 -1
- package/build/cjs/dashboard.d.ts +1 -1
- package/build/cjs/dashboard.js +5 -1
- package/build/cjs/dashboard.js.map +1 -1
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +7 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{site-BGlhHCtF.d.ts → site-CXoy-yKq.d.ts} +16 -1
- package/build/cjs/site.d.ts +1 -1
- package/build/cjs/site.js +2 -1
- package/build/cjs/site.js.map +1 -1
- package/build/es/{dashboard-f6lp5uQB.d.mts → dashboard-C6qs3P5V.d.mts} +7 -1
- package/build/es/dashboard.d.mts +1 -1
- package/build/es/dashboard.mjs +5 -1
- package/build/es/dashboard.mjs.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +7 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/{site-BGlhHCtF.d.mts → site-CXoy-yKq.d.mts} +16 -1
- package/build/es/site.d.mts +1 -1
- package/build/es/site.mjs +2 -1
- package/build/es/site.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -7,6 +7,11 @@ interface editOrderOptions {
|
|
|
7
7
|
* @dashobardPageBuilder
|
|
8
8
|
*/
|
|
9
9
|
declare function editOrder(options: editOrderOptions): PageBuilderResult;
|
|
10
|
+
/**
|
|
11
|
+
* 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 Tax Settings page in the dashboard.
|
|
12
|
+
* @dashobardPageBuilder
|
|
13
|
+
*/
|
|
14
|
+
declare function taxSettings(): PageBuilderResult;
|
|
10
15
|
interface orderRefundOptions {
|
|
11
16
|
/** ID of the order to refund. */
|
|
12
17
|
orderId: string;
|
|
@@ -77,8 +82,9 @@ type dashboardPageBuilders_orderDetailsOptions = orderDetailsOptions;
|
|
|
77
82
|
declare const dashboardPageBuilders_orderList: typeof orderList;
|
|
78
83
|
declare const dashboardPageBuilders_orderRefund: typeof orderRefund;
|
|
79
84
|
type dashboardPageBuilders_orderRefundOptions = orderRefundOptions;
|
|
85
|
+
declare const dashboardPageBuilders_taxSettings: typeof taxSettings;
|
|
80
86
|
declare namespace dashboardPageBuilders {
|
|
81
|
-
export { type dashboardPageBuilders_PageBuilderResult as PageBuilderResult, dashboardPageBuilders_deliveryProfile as deliveryProfile, type dashboardPageBuilders_deliveryProfileOptions as deliveryProfileOptions, dashboardPageBuilders_deliveryProfiles as deliveryProfiles, dashboardPageBuilders_editDraftOrder as editDraftOrder, type dashboardPageBuilders_editDraftOrderOptions as editDraftOrderOptions, dashboardPageBuilders_editOrder as editOrder, type dashboardPageBuilders_editOrderOptions as editOrderOptions, dashboardPageBuilders_newOrder as newOrder, dashboardPageBuilders_orderDetails as orderDetails, type dashboardPageBuilders_orderDetailsOptions as orderDetailsOptions, dashboardPageBuilders_orderList as orderList, dashboardPageBuilders_orderRefund as orderRefund, type dashboardPageBuilders_orderRefundOptions as orderRefundOptions };
|
|
87
|
+
export { type dashboardPageBuilders_PageBuilderResult as PageBuilderResult, dashboardPageBuilders_deliveryProfile as deliveryProfile, type dashboardPageBuilders_deliveryProfileOptions as deliveryProfileOptions, dashboardPageBuilders_deliveryProfiles as deliveryProfiles, dashboardPageBuilders_editDraftOrder as editDraftOrder, type dashboardPageBuilders_editDraftOrderOptions as editDraftOrderOptions, dashboardPageBuilders_editOrder as editOrder, type dashboardPageBuilders_editOrderOptions as editOrderOptions, dashboardPageBuilders_newOrder as newOrder, dashboardPageBuilders_orderDetails as orderDetails, type dashboardPageBuilders_orderDetailsOptions as orderDetailsOptions, dashboardPageBuilders_orderList as orderList, dashboardPageBuilders_orderRefund as orderRefund, type dashboardPageBuilders_orderRefundOptions as orderRefundOptions, dashboardPageBuilders_taxSettings as taxSettings };
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
/**
|
package/build/cjs/dashboard.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as pages, b as plugins } from './dashboard-
|
|
1
|
+
export { a as pages, b as plugins } from './dashboard-C6qs3P5V.js';
|
package/build/cjs/dashboard.js
CHANGED
|
@@ -35,7 +35,8 @@ __export(dashboard_page_builders_exports, {
|
|
|
35
35
|
newOrder: () => newOrder,
|
|
36
36
|
orderDetails: () => orderDetails,
|
|
37
37
|
orderList: () => orderList,
|
|
38
|
-
orderRefund: () => orderRefund
|
|
38
|
+
orderRefund: () => orderRefund,
|
|
39
|
+
taxSettings: () => taxSettings
|
|
39
40
|
});
|
|
40
41
|
function editOrder(options) {
|
|
41
42
|
const { orderId } = options;
|
|
@@ -44,6 +45,9 @@ function editOrder(options) {
|
|
|
44
45
|
relativeUrl: `${orderId}`
|
|
45
46
|
};
|
|
46
47
|
}
|
|
48
|
+
function taxSettings() {
|
|
49
|
+
return { pageId: "7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02" };
|
|
50
|
+
}
|
|
47
51
|
function orderRefund(options) {
|
|
48
52
|
const { orderId } = options;
|
|
49
53
|
return {
|
|
@@ -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/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;;;
|
|
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\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 Tax Settings page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function taxSettings(): PageBuilderResult {\n return { pageId: '7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02' };\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;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,cAAiC;AAC/C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;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;;;AC5HA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as site } from './site-
|
|
2
|
-
export { d as dashboard } from './dashboard-
|
|
1
|
+
export { s as site } from './site-CXoy-yKq.js';
|
|
2
|
+
export { d as dashboard } from './dashboard-C6qs3P5V.js';
|
package/build/cjs/index.js
CHANGED
|
@@ -106,7 +106,8 @@ var SlotIds4 = {
|
|
|
106
106
|
checkoutStepsBefore: "16cf4440-fa01-47ff-973e-051bb91c25d9",
|
|
107
107
|
checkoutSummaryBefore: "969d874f-bdba-4429-a626-ff801d712c6a",
|
|
108
108
|
checkoutSummaryLineItemsAfter: "6918440e-160c-4b55-87b6-2af2e83b3174",
|
|
109
|
-
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1"
|
|
109
|
+
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1",
|
|
110
|
+
checkoutDeliveryStepOptionsAfter: "b64dc1ee-b8d6-4870-9758-01f6c0c22fef"
|
|
110
111
|
};
|
|
111
112
|
|
|
112
113
|
// src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts
|
|
@@ -162,7 +163,8 @@ __export(dashboard_page_builders_exports, {
|
|
|
162
163
|
newOrder: () => newOrder,
|
|
163
164
|
orderDetails: () => orderDetails,
|
|
164
165
|
orderList: () => orderList,
|
|
165
|
-
orderRefund: () => orderRefund
|
|
166
|
+
orderRefund: () => orderRefund,
|
|
167
|
+
taxSettings: () => taxSettings
|
|
166
168
|
});
|
|
167
169
|
function editOrder(options) {
|
|
168
170
|
const { orderId } = options;
|
|
@@ -171,6 +173,9 @@ function editOrder(options) {
|
|
|
171
173
|
relativeUrl: `${orderId}`
|
|
172
174
|
};
|
|
173
175
|
}
|
|
176
|
+
function taxSettings() {
|
|
177
|
+
return { pageId: "7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02" };
|
|
178
|
+
}
|
|
174
179
|
function orderRefund(options) {
|
|
175
180
|
const { orderId } = options;
|
|
176
181
|
return {
|
package/build/cjs/index.js.map
CHANGED
|
@@ -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/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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AA2IO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAClB;;;ACrJA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;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":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutAfterDeliveryOptionsProps = {\n // The ID of the current checkout process.\n checkoutId: string;\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 // The date when the checkout was last updated.\n checkoutUpdatedDate: string;\n\n // The ID of the selected delivery Carrier.\n selectedDeliveryOptionCarrierId: string;\n\n // The ID of the selected delivery option.\n selectedDeliveryOptionId: string;\n\n // A callback function to enable or disable the continue button.\n disableContinueButton: (callback: (isDisabled: boolean) => void) => void;\n\n // The current state of the delivery step.\n deliveryStepState: 'open' | 'summary';\n};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n checkoutDeliveryStepOptionsAfter: 'b64dc1ee-b8d6-4870-9758-01f6c0c22fef',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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\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 Tax Settings page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function taxSettings(): PageBuilderResult {\n return { pageId: '7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02' };\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;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AAsKO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAAA,EAChB,kCAAkC;AACpC;;;ACjLA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA;AAAA;AAAA;;;ACAA;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;AAMO,SAAS,cAAiC;AAC/C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;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;;;AC5HA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
@@ -322,6 +322,19 @@ type CheckoutHeaderProps = {
|
|
|
322
322
|
stepId: CheckoutStepId;
|
|
323
323
|
onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;
|
|
324
324
|
};
|
|
325
|
+
/**
|
|
326
|
+
* @pageName Checkout
|
|
327
|
+
* @slotType site plugin
|
|
328
|
+
*/
|
|
329
|
+
type CheckoutAfterDeliveryOptionsProps = {
|
|
330
|
+
checkoutId: string;
|
|
331
|
+
onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;
|
|
332
|
+
checkoutUpdatedDate: string;
|
|
333
|
+
selectedDeliveryOptionCarrierId: string;
|
|
334
|
+
selectedDeliveryOptionId: string;
|
|
335
|
+
disableContinueButton: (callback: (isDisabled: boolean) => void) => void;
|
|
336
|
+
deliveryStepState: 'open' | 'summary';
|
|
337
|
+
};
|
|
325
338
|
declare const SlotIds$3: {
|
|
326
339
|
checkoutPoliciesAfter1: string;
|
|
327
340
|
checkoutSummaryLineItemsAfter2: string;
|
|
@@ -332,8 +345,10 @@ declare const SlotIds$3: {
|
|
|
332
345
|
checkoutSummaryBefore: string;
|
|
333
346
|
checkoutSummaryLineItemsAfter: string;
|
|
334
347
|
checkoutHeader: string;
|
|
348
|
+
checkoutDeliveryStepOptionsAfter: string;
|
|
335
349
|
};
|
|
336
350
|
|
|
351
|
+
type _14fd59708072C2761246058b79e70c1a_CheckoutAfterDeliveryOptionsProps = CheckoutAfterDeliveryOptionsProps;
|
|
337
352
|
type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps = CheckoutHeaderProps;
|
|
338
353
|
type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props = CheckoutPoliciesAfter1Props;
|
|
339
354
|
type _14fd59708072C2761246058b79e70c1a_CheckoutStepId = CheckoutStepId;
|
|
@@ -345,7 +360,7 @@ type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps = Chec
|
|
|
345
360
|
type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps = CheckoutSummaryTotalsBreakdownBeforeProps;
|
|
346
361
|
type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps = CheckoutTopProps;
|
|
347
362
|
declare namespace _14fd59708072C2761246058b79e70c1a {
|
|
348
|
-
export { type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps as CheckoutHeaderProps, type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props as CheckoutPoliciesAfter1Props, type _14fd59708072C2761246058b79e70c1a_CheckoutStepId as CheckoutStepId, type _14fd59708072C2761246058b79e70c1a_CheckoutStepsBeforeProps as CheckoutStepsBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryAfterProps as CheckoutSummaryAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryBeforeProps as CheckoutSummaryBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfter2Props as CheckoutSummaryLineItemsAfter2Props, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps as CheckoutSummaryLineItemsAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps as CheckoutSummaryTotalsBreakdownBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps as CheckoutTopProps, SlotIds$3 as SlotIds };
|
|
363
|
+
export { type _14fd59708072C2761246058b79e70c1a_CheckoutAfterDeliveryOptionsProps as CheckoutAfterDeliveryOptionsProps, type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps as CheckoutHeaderProps, type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props as CheckoutPoliciesAfter1Props, type _14fd59708072C2761246058b79e70c1a_CheckoutStepId as CheckoutStepId, type _14fd59708072C2761246058b79e70c1a_CheckoutStepsBeforeProps as CheckoutStepsBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryAfterProps as CheckoutSummaryAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryBeforeProps as CheckoutSummaryBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfter2Props as CheckoutSummaryLineItemsAfter2Props, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps as CheckoutSummaryLineItemsAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps as CheckoutSummaryTotalsBreakdownBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps as CheckoutTopProps, SlotIds$3 as SlotIds };
|
|
349
364
|
}
|
|
350
365
|
|
|
351
366
|
/**
|
package/build/cjs/site.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { e as plugins } from './site-
|
|
1
|
+
export { e as plugins } from './site-CXoy-yKq.js';
|
package/build/cjs/site.js
CHANGED
|
@@ -99,7 +99,8 @@ var SlotIds4 = {
|
|
|
99
99
|
checkoutStepsBefore: "16cf4440-fa01-47ff-973e-051bb91c25d9",
|
|
100
100
|
checkoutSummaryBefore: "969d874f-bdba-4429-a626-ff801d712c6a",
|
|
101
101
|
checkoutSummaryLineItemsAfter: "6918440e-160c-4b55-87b6-2af2e83b3174",
|
|
102
|
-
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1"
|
|
102
|
+
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1",
|
|
103
|
+
checkoutDeliveryStepOptionsAfter: "b64dc1ee-b8d6-4870-9758-01f6c0c22fef"
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
// src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts
|
package/build/cjs/site.js.map
CHANGED
|
@@ -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"],"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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AA2IO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAClB;;;ACrJA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
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"],"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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutAfterDeliveryOptionsProps = {\n // The ID of the current checkout process.\n checkoutId: string;\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 // The date when the checkout was last updated.\n checkoutUpdatedDate: string;\n\n // The ID of the selected delivery Carrier.\n selectedDeliveryOptionCarrierId: string;\n\n // The ID of the selected delivery option.\n selectedDeliveryOptionId: string;\n\n // A callback function to enable or disable the continue button.\n disableContinueButton: (callback: (isDisabled: boolean) => void) => void;\n\n // The current state of the delivery step.\n deliveryStepState: 'open' | 'summary';\n};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n checkoutDeliveryStepOptionsAfter: 'b64dc1ee-b8d6-4870-9758-01f6c0c22fef',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AAsKO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAAA,EAChB,kCAAkC;AACpC;;;ACjLA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
@@ -7,6 +7,11 @@ interface editOrderOptions {
|
|
|
7
7
|
* @dashobardPageBuilder
|
|
8
8
|
*/
|
|
9
9
|
declare function editOrder(options: editOrderOptions): PageBuilderResult;
|
|
10
|
+
/**
|
|
11
|
+
* 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 Tax Settings page in the dashboard.
|
|
12
|
+
* @dashobardPageBuilder
|
|
13
|
+
*/
|
|
14
|
+
declare function taxSettings(): PageBuilderResult;
|
|
10
15
|
interface orderRefundOptions {
|
|
11
16
|
/** ID of the order to refund. */
|
|
12
17
|
orderId: string;
|
|
@@ -77,8 +82,9 @@ type dashboardPageBuilders_orderDetailsOptions = orderDetailsOptions;
|
|
|
77
82
|
declare const dashboardPageBuilders_orderList: typeof orderList;
|
|
78
83
|
declare const dashboardPageBuilders_orderRefund: typeof orderRefund;
|
|
79
84
|
type dashboardPageBuilders_orderRefundOptions = orderRefundOptions;
|
|
85
|
+
declare const dashboardPageBuilders_taxSettings: typeof taxSettings;
|
|
80
86
|
declare namespace dashboardPageBuilders {
|
|
81
|
-
export { type dashboardPageBuilders_PageBuilderResult as PageBuilderResult, dashboardPageBuilders_deliveryProfile as deliveryProfile, type dashboardPageBuilders_deliveryProfileOptions as deliveryProfileOptions, dashboardPageBuilders_deliveryProfiles as deliveryProfiles, dashboardPageBuilders_editDraftOrder as editDraftOrder, type dashboardPageBuilders_editDraftOrderOptions as editDraftOrderOptions, dashboardPageBuilders_editOrder as editOrder, type dashboardPageBuilders_editOrderOptions as editOrderOptions, dashboardPageBuilders_newOrder as newOrder, dashboardPageBuilders_orderDetails as orderDetails, type dashboardPageBuilders_orderDetailsOptions as orderDetailsOptions, dashboardPageBuilders_orderList as orderList, dashboardPageBuilders_orderRefund as orderRefund, type dashboardPageBuilders_orderRefundOptions as orderRefundOptions };
|
|
87
|
+
export { type dashboardPageBuilders_PageBuilderResult as PageBuilderResult, dashboardPageBuilders_deliveryProfile as deliveryProfile, type dashboardPageBuilders_deliveryProfileOptions as deliveryProfileOptions, dashboardPageBuilders_deliveryProfiles as deliveryProfiles, dashboardPageBuilders_editDraftOrder as editDraftOrder, type dashboardPageBuilders_editDraftOrderOptions as editDraftOrderOptions, dashboardPageBuilders_editOrder as editOrder, type dashboardPageBuilders_editOrderOptions as editOrderOptions, dashboardPageBuilders_newOrder as newOrder, dashboardPageBuilders_orderDetails as orderDetails, type dashboardPageBuilders_orderDetailsOptions as orderDetailsOptions, dashboardPageBuilders_orderList as orderList, dashboardPageBuilders_orderRefund as orderRefund, type dashboardPageBuilders_orderRefundOptions as orderRefundOptions, dashboardPageBuilders_taxSettings as taxSettings };
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
/**
|
package/build/es/dashboard.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as pages, b as plugins } from './dashboard-
|
|
1
|
+
export { a as pages, b as plugins } from './dashboard-C6qs3P5V.mjs';
|
package/build/es/dashboard.mjs
CHANGED
|
@@ -14,7 +14,8 @@ __export(dashboard_page_builders_exports, {
|
|
|
14
14
|
newOrder: () => newOrder,
|
|
15
15
|
orderDetails: () => orderDetails,
|
|
16
16
|
orderList: () => orderList,
|
|
17
|
-
orderRefund: () => orderRefund
|
|
17
|
+
orderRefund: () => orderRefund,
|
|
18
|
+
taxSettings: () => taxSettings
|
|
18
19
|
});
|
|
19
20
|
function editOrder(options) {
|
|
20
21
|
const { orderId } = options;
|
|
@@ -23,6 +24,9 @@ function editOrder(options) {
|
|
|
23
24
|
relativeUrl: `${orderId}`
|
|
24
25
|
};
|
|
25
26
|
}
|
|
27
|
+
function taxSettings() {
|
|
28
|
+
return { pageId: "7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02" };
|
|
29
|
+
}
|
|
26
30
|
function orderRefund(options) {
|
|
27
31
|
const { orderId } = options;
|
|
28
32
|
return {
|
|
@@ -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/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;;;
|
|
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\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 Tax Settings page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function taxSettings(): PageBuilderResult {\n return { pageId: '7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02' };\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;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,cAAiC;AAC/C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;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;;;AC5HA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as site } from './site-
|
|
2
|
-
export { d as dashboard } from './dashboard-
|
|
1
|
+
export { s as site } from './site-CXoy-yKq.mjs';
|
|
2
|
+
export { d as dashboard } from './dashboard-C6qs3P5V.mjs';
|
package/build/es/index.mjs
CHANGED
|
@@ -85,7 +85,8 @@ var SlotIds4 = {
|
|
|
85
85
|
checkoutStepsBefore: "16cf4440-fa01-47ff-973e-051bb91c25d9",
|
|
86
86
|
checkoutSummaryBefore: "969d874f-bdba-4429-a626-ff801d712c6a",
|
|
87
87
|
checkoutSummaryLineItemsAfter: "6918440e-160c-4b55-87b6-2af2e83b3174",
|
|
88
|
-
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1"
|
|
88
|
+
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1",
|
|
89
|
+
checkoutDeliveryStepOptionsAfter: "b64dc1ee-b8d6-4870-9758-01f6c0c22fef"
|
|
89
90
|
};
|
|
90
91
|
|
|
91
92
|
// src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts
|
|
@@ -141,7 +142,8 @@ __export(dashboard_page_builders_exports, {
|
|
|
141
142
|
newOrder: () => newOrder,
|
|
142
143
|
orderDetails: () => orderDetails,
|
|
143
144
|
orderList: () => orderList,
|
|
144
|
-
orderRefund: () => orderRefund
|
|
145
|
+
orderRefund: () => orderRefund,
|
|
146
|
+
taxSettings: () => taxSettings
|
|
145
147
|
});
|
|
146
148
|
function editOrder(options) {
|
|
147
149
|
const { orderId } = options;
|
|
@@ -150,6 +152,9 @@ function editOrder(options) {
|
|
|
150
152
|
relativeUrl: `${orderId}`
|
|
151
153
|
};
|
|
152
154
|
}
|
|
155
|
+
function taxSettings() {
|
|
156
|
+
return { pageId: "7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02" };
|
|
157
|
+
}
|
|
153
158
|
function orderRefund(options) {
|
|
154
159
|
const { orderId } = options;
|
|
155
160
|
return {
|
package/build/es/index.mjs.map
CHANGED
|
@@ -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/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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AA2IO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAClB;;;ACrJA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;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":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutAfterDeliveryOptionsProps = {\n // The ID of the current checkout process.\n checkoutId: string;\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 // The date when the checkout was last updated.\n checkoutUpdatedDate: string;\n\n // The ID of the selected delivery Carrier.\n selectedDeliveryOptionCarrierId: string;\n\n // The ID of the selected delivery option.\n selectedDeliveryOptionId: string;\n\n // A callback function to enable or disable the continue button.\n disableContinueButton: (callback: (isDisabled: boolean) => void) => void;\n\n // The current state of the delivery step.\n deliveryStepState: 'open' | 'summary';\n};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n checkoutDeliveryStepOptionsAfter: 'b64dc1ee-b8d6-4870-9758-01f6c0c22fef',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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\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 Tax Settings page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function taxSettings(): PageBuilderResult {\n return { pageId: '7f43cf15-e14a-48f7-a7fa-9d0d1b1a6f02' };\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;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AAsKO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAAA,EAChB,kCAAkC;AACpC;;;ACjLA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA;AAAA;AAAA;;;ACAA;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;AAMO,SAAS,cAAiC;AAC/C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;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;;;AC5HA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
@@ -322,6 +322,19 @@ type CheckoutHeaderProps = {
|
|
|
322
322
|
stepId: CheckoutStepId;
|
|
323
323
|
onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;
|
|
324
324
|
};
|
|
325
|
+
/**
|
|
326
|
+
* @pageName Checkout
|
|
327
|
+
* @slotType site plugin
|
|
328
|
+
*/
|
|
329
|
+
type CheckoutAfterDeliveryOptionsProps = {
|
|
330
|
+
checkoutId: string;
|
|
331
|
+
onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;
|
|
332
|
+
checkoutUpdatedDate: string;
|
|
333
|
+
selectedDeliveryOptionCarrierId: string;
|
|
334
|
+
selectedDeliveryOptionId: string;
|
|
335
|
+
disableContinueButton: (callback: (isDisabled: boolean) => void) => void;
|
|
336
|
+
deliveryStepState: 'open' | 'summary';
|
|
337
|
+
};
|
|
325
338
|
declare const SlotIds$3: {
|
|
326
339
|
checkoutPoliciesAfter1: string;
|
|
327
340
|
checkoutSummaryLineItemsAfter2: string;
|
|
@@ -332,8 +345,10 @@ declare const SlotIds$3: {
|
|
|
332
345
|
checkoutSummaryBefore: string;
|
|
333
346
|
checkoutSummaryLineItemsAfter: string;
|
|
334
347
|
checkoutHeader: string;
|
|
348
|
+
checkoutDeliveryStepOptionsAfter: string;
|
|
335
349
|
};
|
|
336
350
|
|
|
351
|
+
type _14fd59708072C2761246058b79e70c1a_CheckoutAfterDeliveryOptionsProps = CheckoutAfterDeliveryOptionsProps;
|
|
337
352
|
type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps = CheckoutHeaderProps;
|
|
338
353
|
type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props = CheckoutPoliciesAfter1Props;
|
|
339
354
|
type _14fd59708072C2761246058b79e70c1a_CheckoutStepId = CheckoutStepId;
|
|
@@ -345,7 +360,7 @@ type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps = Chec
|
|
|
345
360
|
type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps = CheckoutSummaryTotalsBreakdownBeforeProps;
|
|
346
361
|
type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps = CheckoutTopProps;
|
|
347
362
|
declare namespace _14fd59708072C2761246058b79e70c1a {
|
|
348
|
-
export { type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps as CheckoutHeaderProps, type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props as CheckoutPoliciesAfter1Props, type _14fd59708072C2761246058b79e70c1a_CheckoutStepId as CheckoutStepId, type _14fd59708072C2761246058b79e70c1a_CheckoutStepsBeforeProps as CheckoutStepsBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryAfterProps as CheckoutSummaryAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryBeforeProps as CheckoutSummaryBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfter2Props as CheckoutSummaryLineItemsAfter2Props, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps as CheckoutSummaryLineItemsAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps as CheckoutSummaryTotalsBreakdownBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps as CheckoutTopProps, SlotIds$3 as SlotIds };
|
|
363
|
+
export { type _14fd59708072C2761246058b79e70c1a_CheckoutAfterDeliveryOptionsProps as CheckoutAfterDeliveryOptionsProps, type _14fd59708072C2761246058b79e70c1a_CheckoutHeaderProps as CheckoutHeaderProps, type _14fd59708072C2761246058b79e70c1a_CheckoutPoliciesAfter1Props as CheckoutPoliciesAfter1Props, type _14fd59708072C2761246058b79e70c1a_CheckoutStepId as CheckoutStepId, type _14fd59708072C2761246058b79e70c1a_CheckoutStepsBeforeProps as CheckoutStepsBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryAfterProps as CheckoutSummaryAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryBeforeProps as CheckoutSummaryBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfter2Props as CheckoutSummaryLineItemsAfter2Props, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryLineItemsAfterProps as CheckoutSummaryLineItemsAfterProps, type _14fd59708072C2761246058b79e70c1a_CheckoutSummaryTotalsBreakdownBeforeProps as CheckoutSummaryTotalsBreakdownBeforeProps, type _14fd59708072C2761246058b79e70c1a_CheckoutTopProps as CheckoutTopProps, SlotIds$3 as SlotIds };
|
|
349
364
|
}
|
|
350
365
|
|
|
351
366
|
/**
|
package/build/es/site.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { e as plugins } from './site-
|
|
1
|
+
export { e as plugins } from './site-CXoy-yKq.mjs';
|
package/build/es/site.mjs
CHANGED
|
@@ -79,7 +79,8 @@ var SlotIds4 = {
|
|
|
79
79
|
checkoutStepsBefore: "16cf4440-fa01-47ff-973e-051bb91c25d9",
|
|
80
80
|
checkoutSummaryBefore: "969d874f-bdba-4429-a626-ff801d712c6a",
|
|
81
81
|
checkoutSummaryLineItemsAfter: "6918440e-160c-4b55-87b6-2af2e83b3174",
|
|
82
|
-
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1"
|
|
82
|
+
checkoutHeader: "bb058d1f-b70f-4df9-9da0-0523322a38a1",
|
|
83
|
+
checkoutDeliveryStepOptionsAfter: "b64dc1ee-b8d6-4870-9758-01f6c0c22fef"
|
|
83
84
|
};
|
|
84
85
|
|
|
85
86
|
// src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts
|
package/build/es/site.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../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"],"sourcesContent":["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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AA2IO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAClB;;;ACrJA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
|
1
|
+
{"version":3,"sources":["../../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"],"sourcesContent":["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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n categoryPageHeroBottom: 'e5f2b946-9932-4b38-9165-8a6054fad913',\n categoryPageListTop: '281f21dd-27f1-4466-b1fb-1af332f0cea8',\n categoryPageHeroTop: '7bff6166-e633-48b8-ac3a-f6b9660d39dc',\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};\nexport const SlotIds = {\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n productPageAdditionalButtons: '9d31fcc2-53ee-4547-b837-878f5394ed7e',\n productPageDetails5: '1db8f870-879b-46b8-88df-f232e2621eb2',\n productPageDetails7: '15c88f6e-fbd2-418b-a389-00bcd1937dc1',\n productPageDetails2: '905e9719-9672-437f-85a0-1975337ba08c',\n productPageDetails9: 'a49a45fe-2f34-4eae-a8f5-d971f822e645',\n productPageMedia1: 'f74d0746-dd85-4a4e-b1c5-8207b29cc191',\n productPageDetails6: '6feecc92-8459-4698-ad4b-b085a74407d8',\n productPageDetails4: 'cec2ee92-7e12-42a1-a2f5-fe02f30e688a',\n productPageTop: '2832b6e7-1bb3-4b08-b361-5e77a13621dc',\n productPageDetails1: '8e497c6c-3ed9-4995-8ee9-e9f939f7a355',\n productPageDetails3: 'b9dff4d5-192d-4574-bf14-baf6e2734f3a',\n productPageDetails8: 'edce2d4e-51c9-4e75-b7db-090da80ff455',\n productPageBottom: 'ad454e1e-aa18-46a6-ae81-5df549178c7a',\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/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutAfterDeliveryOptionsProps = {\n // The ID of the current checkout process.\n checkoutId: string;\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 // The date when the checkout was last updated.\n checkoutUpdatedDate: string;\n\n // The ID of the selected delivery Carrier.\n selectedDeliveryOptionCarrierId: string;\n\n // The ID of the selected delivery option.\n selectedDeliveryOptionId: string;\n\n // A callback function to enable or disable the continue button.\n disableContinueButton: (callback: (isDisabled: boolean) => void) => void;\n\n // The current state of the delivery step.\n deliveryStepState: 'open' | 'summary';\n};\nexport const SlotIds = {\n checkoutPoliciesAfter1: '465be850-f1e6-4e80-b125-a62e56005f05',\n checkoutSummaryLineItemsAfter2: 'f63efbab-2b28-4565-af96-d198040d2303',\n checkoutSummaryAfter: 'c9614893-83dd-4481-8a86-62ce3c696fb0',\n checkoutTop: '210b7bf5-8532-4f42-9f5f-00204534b403',\n checkoutSummaryTotalsBreakdownBefore: '5e7ea8d8-adec-4a12-b28b-d07fbb055442',\n checkoutStepsBefore: '16cf4440-fa01-47ff-973e-051bb91c25d9',\n checkoutSummaryBefore: '969d874f-bdba-4429-a626-ff801d712c6a',\n checkoutSummaryLineItemsAfter: '6918440e-160c-4b55-87b6-2af2e83b3174',\n checkoutHeader: 'bb058d1f-b70f-4df9-9da0-0523322a38a1',\n checkoutDeliveryStepOptionsAfter: 'b64dc1ee-b8d6-4870-9758-01f6c0c22fef',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\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};\nexport const SlotIds = {\n galleryFiltersTop: 'a81dea42-6bdc-4cd9-b8e0-995751d926a9',\n galleryFiltersBottom: 'bb2f1ffa-3dd8-434f-bd9a-faa1fbbfa0f9',\n galleryProductsTop: '4c5fb938-90bc-420d-8766-d8b428dd00ee',\n galleryProductsBottom: '4a10dfa2-e2aa-47ae-9629-ca86c1d04751',\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAkCO,IAAM,UAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAA;AAAA;AA6DO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;;;ACrEA;AAAA;AAAA,iBAAAC;AAAA;AAuIO,IAAMA,WAAU;AAAA,EACrB,gBAAgB;AAAA,EAChB,8BAA8B;AAAA,EAC9B,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB;;;ACtJA;AAAA;AAAA,iBAAAC;AAAA;AAsKO,IAAMA,WAAU;AAAA,EACrB,wBAAwB;AAAA,EACxB,gCAAgC;AAAA,EAChC,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,sCAAsC;AAAA,EACtC,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,+BAA+B;AAAA,EAC/B,gBAAgB;AAAA,EAChB,kCAAkC;AACpC;;;ACjLA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;;;ACvCA;AAAA;AAAA,iBAAAC;AAAA;AAkCO,IAAMA,WAAU;AAAA,EACrB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB;","names":["SlotIds","SlotIds","SlotIds","SlotIds","SlotIds","SlotIds"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom_app-extensions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.91",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@wix/sdk-runtime": "^0.
|
|
37
|
+
"@wix/sdk-runtime": "^0.6.0",
|
|
38
38
|
"@wix/sdk-types": "^1.13.35"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"groupId": "com.wixpress.sdk-app-extensions-autogen"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "a9b7ec659bd079bb27231b2d48406512f5161756e4f5204a31e2080c"
|
|
55
55
|
}
|