@wix/ecom_app-extensions 1.0.83 → 1.0.85

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.
@@ -0,0 +1,161 @@
1
+ interface editOrderOptions {
2
+ /** ID of the order to edit. */
3
+ orderId: string;
4
+ }
5
+ /**
6
+ * 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.
7
+ * @dashobardPageBuilder
8
+ */
9
+ declare function editOrder(options: editOrderOptions): PageBuilderResult;
10
+ interface orderRefundOptions {
11
+ /** ID of the order to refund. */
12
+ orderId: string;
13
+ }
14
+ /**
15
+ * 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.
16
+ * @dashobardPageBuilder
17
+ */
18
+ declare function orderRefund(options: orderRefundOptions): PageBuilderResult;
19
+ /**
20
+ * 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.
21
+ * @dashobardPageBuilder
22
+ */
23
+ declare function deliveryProfiles(): PageBuilderResult;
24
+ interface deliveryProfileOptions {
25
+ /** Delivery profile to manage */
26
+ deliveryProfileId: string;
27
+ }
28
+ /**
29
+ * 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.
30
+ * @dashobardPageBuilder
31
+ */
32
+ declare function deliveryProfile(options: deliveryProfileOptions): PageBuilderResult;
33
+ /**
34
+ * 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.
35
+ * @dashobardPageBuilder
36
+ */
37
+ declare function orderList(): PageBuilderResult;
38
+ /**
39
+ * 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.
40
+ * @dashobardPageBuilder
41
+ */
42
+ declare function newOrder(): PageBuilderResult;
43
+ interface editDraftOrderOptions {
44
+ /** Draft order id */
45
+ draftOrderId: string;
46
+ }
47
+ /**
48
+ * 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.
49
+ * @dashobardPageBuilder
50
+ */
51
+ declare function editDraftOrder(options: editDraftOrderOptions): PageBuilderResult;
52
+ interface orderDetailsOptions {
53
+ /** The order Id to display */
54
+ id: string;
55
+ }
56
+ /**
57
+ * 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.
58
+ * @dashobardPageBuilder
59
+ */
60
+ declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
61
+ interface PageBuilderResult {
62
+ pageId: string;
63
+ relativeUrl?: string;
64
+ }
65
+
66
+ type dashboardPageBuilders_PageBuilderResult = PageBuilderResult;
67
+ declare const dashboardPageBuilders_deliveryProfile: typeof deliveryProfile;
68
+ type dashboardPageBuilders_deliveryProfileOptions = deliveryProfileOptions;
69
+ declare const dashboardPageBuilders_deliveryProfiles: typeof deliveryProfiles;
70
+ declare const dashboardPageBuilders_editDraftOrder: typeof editDraftOrder;
71
+ type dashboardPageBuilders_editDraftOrderOptions = editDraftOrderOptions;
72
+ declare const dashboardPageBuilders_editOrder: typeof editOrder;
73
+ type dashboardPageBuilders_editOrderOptions = editOrderOptions;
74
+ declare const dashboardPageBuilders_newOrder: typeof newOrder;
75
+ declare const dashboardPageBuilders_orderDetails: typeof orderDetails;
76
+ type dashboardPageBuilders_orderDetailsOptions = orderDetailsOptions;
77
+ declare const dashboardPageBuilders_orderList: typeof orderList;
78
+ declare const dashboardPageBuilders_orderRefund: typeof orderRefund;
79
+ type dashboardPageBuilders_orderRefundOptions = orderRefundOptions;
80
+ 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 };
82
+ }
83
+
84
+ /**
85
+ * @pageName EditOrder
86
+ * @slotType dashboard menu plugin
87
+ */
88
+ type OrderSummaryParams$1 = DraftOrderManageFeesActionParams$1;
89
+ /** @internal */
90
+ type DraftOrderManageFeesActionParams$1 = {
91
+ draftOrderId: string;
92
+ onDraftOrderUpdate(): Promise<void>;
93
+ };
94
+
95
+ declare namespace f2526550194f4c1392989a6b8abda62f {
96
+ export type { DraftOrderManageFeesActionParams$1 as DraftOrderManageFeesActionParams, OrderSummaryParams$1 as OrderSummaryParams };
97
+ }
98
+
99
+ /**
100
+ * @pageName Orders
101
+ * @slotType dashboard menu plugin
102
+ */
103
+ type OrderItemsBulkMoreActionsMenuParams = OrdersListBulkActionExtensionProps;
104
+ /** @internal */
105
+ type OrdersListBulkActionExtensionProps = {
106
+ selectedIds: string[];
107
+ uncheckedIds: string[];
108
+ isSelectAll: boolean;
109
+ total: number;
110
+ onSuccess(): Promise<void>;
111
+ };
112
+
113
+ type _8107f05fD6464c81Be90Adf28d321398_OrderItemsBulkMoreActionsMenuParams = OrderItemsBulkMoreActionsMenuParams;
114
+ type _8107f05fD6464c81Be90Adf28d321398_OrdersListBulkActionExtensionProps = OrdersListBulkActionExtensionProps;
115
+ declare namespace _8107f05fD6464c81Be90Adf28d321398 {
116
+ export type { _8107f05fD6464c81Be90Adf28d321398_OrderItemsBulkMoreActionsMenuParams as OrderItemsBulkMoreActionsMenuParams, _8107f05fD6464c81Be90Adf28d321398_OrdersListBulkActionExtensionProps as OrdersListBulkActionExtensionProps };
117
+ }
118
+
119
+ /**
120
+ * @pageName DraftOrderPage
121
+ * @slotType dashboard menu plugin
122
+ */
123
+ type OrderSummaryParams = DraftOrderManageFeesActionParams;
124
+ /** @internal */
125
+ type DraftOrderManageFeesActionParams = {
126
+ draftOrderId: string;
127
+ onDraftOrderUpdate(): Promise<void>;
128
+ };
129
+
130
+ type _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams = DraftOrderManageFeesActionParams;
131
+ type _8454e8a0568443319d4aE4873467553a_OrderSummaryParams = OrderSummaryParams;
132
+ declare namespace _8454e8a0568443319d4aE4873467553a {
133
+ export type { _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams as DraftOrderManageFeesActionParams, _8454e8a0568443319d4aE4873467553a_OrderSummaryParams as OrderSummaryParams };
134
+ }
135
+
136
+ /**
137
+ * @pageName OrderDetails
138
+ * @slotType dashboard plugin
139
+ */
140
+ type OrderRightPanelParams = OrderDetailsSecondaryCardProps;
141
+ /** @internal */
142
+ type OrderDetailsSecondaryCardProps = {
143
+ orderId: string;
144
+ onOrderUpdate(): Promise<void>;
145
+ };
146
+
147
+ type _3b96985eA459497294c363f038a73af2_OrderDetailsSecondaryCardProps = OrderDetailsSecondaryCardProps;
148
+ type _3b96985eA459497294c363f038a73af2_OrderRightPanelParams = OrderRightPanelParams;
149
+ declare namespace _3b96985eA459497294c363f038a73af2 {
150
+ export type { _3b96985eA459497294c363f038a73af2_OrderDetailsSecondaryCardProps as OrderDetailsSecondaryCardProps, _3b96985eA459497294c363f038a73af2_OrderRightPanelParams as OrderRightPanelParams };
151
+ }
152
+
153
+ declare namespace dashboardPagesPluginProps {
154
+ export { _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
155
+ }
156
+
157
+ declare namespace dashboard {
158
+ export { dashboardPageBuilders as pages, dashboardPagesPluginProps as plugins };
159
+ }
160
+
161
+ export { dashboardPageBuilders as a, dashboardPagesPluginProps as b, dashboard as d };
@@ -1,161 +1 @@
1
- interface editOrderOptions {
2
- /** ID of the order to edit. */
3
- orderId: string;
4
- }
5
- /**
6
- * 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.
7
- * @dashobardPageBuilder
8
- */
9
- declare function editOrder(options: editOrderOptions): PageBuilderResult;
10
- interface orderRefundOptions {
11
- /** ID of the order to refund. */
12
- orderId: string;
13
- }
14
- /**
15
- * 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.
16
- * @dashobardPageBuilder
17
- */
18
- declare function orderRefund(options: orderRefundOptions): PageBuilderResult;
19
- /**
20
- * 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.
21
- * @dashobardPageBuilder
22
- */
23
- declare function deliveryProfiles(): PageBuilderResult;
24
- interface deliveryProfileOptions {
25
- /** Delivery profile to manage */
26
- deliveryProfileId: string;
27
- }
28
- /**
29
- * 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.
30
- * @dashobardPageBuilder
31
- */
32
- declare function deliveryProfile(options: deliveryProfileOptions): PageBuilderResult;
33
- /**
34
- * 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.
35
- * @dashobardPageBuilder
36
- */
37
- declare function orderList(): PageBuilderResult;
38
- /**
39
- * 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.
40
- * @dashobardPageBuilder
41
- */
42
- declare function newOrder(): PageBuilderResult;
43
- interface editDraftOrderOptions {
44
- /** Draft order id */
45
- draftOrderId: string;
46
- }
47
- /**
48
- * 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.
49
- * @dashobardPageBuilder
50
- */
51
- declare function editDraftOrder(options: editDraftOrderOptions): PageBuilderResult;
52
- interface orderDetailsOptions {
53
- /** The order Id to display */
54
- id: string;
55
- }
56
- /**
57
- * 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.
58
- * @dashobardPageBuilder
59
- */
60
- declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
61
- interface PageBuilderResult {
62
- pageId: string;
63
- relativeUrl?: string;
64
- }
65
-
66
- type dashboardPageBuilders_PageBuilderResult = PageBuilderResult;
67
- declare const dashboardPageBuilders_deliveryProfile: typeof deliveryProfile;
68
- type dashboardPageBuilders_deliveryProfileOptions = deliveryProfileOptions;
69
- declare const dashboardPageBuilders_deliveryProfiles: typeof deliveryProfiles;
70
- declare const dashboardPageBuilders_editDraftOrder: typeof editDraftOrder;
71
- type dashboardPageBuilders_editDraftOrderOptions = editDraftOrderOptions;
72
- declare const dashboardPageBuilders_editOrder: typeof editOrder;
73
- type dashboardPageBuilders_editOrderOptions = editOrderOptions;
74
- declare const dashboardPageBuilders_newOrder: typeof newOrder;
75
- declare const dashboardPageBuilders_orderDetails: typeof orderDetails;
76
- type dashboardPageBuilders_orderDetailsOptions = orderDetailsOptions;
77
- declare const dashboardPageBuilders_orderList: typeof orderList;
78
- declare const dashboardPageBuilders_orderRefund: typeof orderRefund;
79
- type dashboardPageBuilders_orderRefundOptions = orderRefundOptions;
80
- 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 };
82
- }
83
-
84
- /**
85
- * @pageName EditOrder
86
- * @slotType dashboard menu plugin
87
- */
88
- type OrderSummaryParams$1 = DraftOrderManageFeesActionParams$1;
89
- /** @internal */
90
- type DraftOrderManageFeesActionParams$1 = {
91
- draftOrderId: string;
92
- onDraftOrderUpdate(): Promise<void>;
93
- };
94
-
95
- declare namespace f2526550194f4c1392989a6b8abda62f {
96
- export type { DraftOrderManageFeesActionParams$1 as DraftOrderManageFeesActionParams, OrderSummaryParams$1 as OrderSummaryParams };
97
- }
98
-
99
- /**
100
- * @pageName Orders
101
- * @slotType dashboard menu plugin
102
- */
103
- type OrderItemsBulkMoreActionsMenuParams = OrdersListBulkActionExtensionProps;
104
- /** @internal */
105
- type OrdersListBulkActionExtensionProps = {
106
- selectedIds: string[];
107
- uncheckedIds: string[];
108
- isSelectAll: boolean;
109
- total: number;
110
- onSuccess(): Promise<void>;
111
- };
112
-
113
- type _8107f05fD6464c81Be90Adf28d321398_OrderItemsBulkMoreActionsMenuParams = OrderItemsBulkMoreActionsMenuParams;
114
- type _8107f05fD6464c81Be90Adf28d321398_OrdersListBulkActionExtensionProps = OrdersListBulkActionExtensionProps;
115
- declare namespace _8107f05fD6464c81Be90Adf28d321398 {
116
- export type { _8107f05fD6464c81Be90Adf28d321398_OrderItemsBulkMoreActionsMenuParams as OrderItemsBulkMoreActionsMenuParams, _8107f05fD6464c81Be90Adf28d321398_OrdersListBulkActionExtensionProps as OrdersListBulkActionExtensionProps };
117
- }
118
-
119
- /**
120
- * @pageName DraftOrderPage
121
- * @slotType dashboard menu plugin
122
- */
123
- type OrderSummaryParams = DraftOrderManageFeesActionParams;
124
- /** @internal */
125
- type DraftOrderManageFeesActionParams = {
126
- draftOrderId: string;
127
- onDraftOrderUpdate(): Promise<void>;
128
- };
129
-
130
- type _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams = DraftOrderManageFeesActionParams;
131
- type _8454e8a0568443319d4aE4873467553a_OrderSummaryParams = OrderSummaryParams;
132
- declare namespace _8454e8a0568443319d4aE4873467553a {
133
- export type { _8454e8a0568443319d4aE4873467553a_DraftOrderManageFeesActionParams as DraftOrderManageFeesActionParams, _8454e8a0568443319d4aE4873467553a_OrderSummaryParams as OrderSummaryParams };
134
- }
135
-
136
- /**
137
- * @pageName OrderDetails
138
- * @slotType dashboard plugin
139
- */
140
- type OrderRightPanelParams = OrderDetailsSecondaryCardProps;
141
- /** @internal */
142
- type OrderDetailsSecondaryCardProps = {
143
- orderId: string;
144
- onOrderUpdate(): Promise<void>;
145
- };
146
-
147
- type _3b96985eA459497294c363f038a73af2_OrderDetailsSecondaryCardProps = OrderDetailsSecondaryCardProps;
148
- type _3b96985eA459497294c363f038a73af2_OrderRightPanelParams = OrderRightPanelParams;
149
- declare namespace _3b96985eA459497294c363f038a73af2 {
150
- export type { _3b96985eA459497294c363f038a73af2_OrderDetailsSecondaryCardProps as OrderDetailsSecondaryCardProps, _3b96985eA459497294c363f038a73af2_OrderRightPanelParams as OrderRightPanelParams };
151
- }
152
-
153
- declare namespace dashboardPagesPluginProps {
154
- export { _8454e8a0568443319d4aE4873467553a as DraftOrderPage, f2526550194f4c1392989a6b8abda62f as EditOrder, _3b96985eA459497294c363f038a73af2 as OrderDetails, _8107f05fD6464c81Be90Adf28d321398 as Orders };
155
- }
156
-
157
- declare namespace dashboard {
158
- export { dashboardPageBuilders as pages, dashboardPagesPluginProps as plugins };
159
- }
160
-
161
- export { dashboard as d, dashboardPageBuilders as pages, dashboardPagesPluginProps as plugins };
1
+ export { a as pages, b as plugins } from './dashboard-DyfKqhiW.js';
@@ -1 +1,2 @@
1
- export { d as dashboard } from './dashboard.js';
1
+ export { s as site } from './site-BtXf6TUC.js';
2
+ export { d as dashboard } from './dashboard-DyfKqhiW.js';
@@ -20,10 +20,50 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
- dashboard: () => dashboard_exports
23
+ dashboard: () => dashboard_exports,
24
+ site: () => site_exports
24
25
  });
25
26
  module.exports = __toCommonJS(index_exports);
26
27
 
28
+ // site.ts
29
+ var site_exports = {};
30
+ __export(site_exports, {
31
+ plugins: () => editor_pages_plugin_props_exports
32
+ });
33
+
34
+ // src/extensions/editor-pages-plugin-props.ts
35
+ var editor_pages_plugin_props_exports = {};
36
+ __export(editor_pages_plugin_props_exports, {
37
+ CategoryPage: () => bda15dc1_816d_4ff3_8dcb_1172d5343cce_exports,
38
+ Checkout: () => fd5970_8072_c276_1246_058b79e70c1a_exports,
39
+ GridGallery: () => afb094_84f9_739f_44fd_78d036adb028_exports,
40
+ ProductPage: () => a94f09_2766_3c40_4a32_8edb5acdd8bc_exports,
41
+ SearchModalGallery: () => c9_d856_49b9_af14_216071924e3b_exports,
42
+ SearchResultsPageGallery: () => abcd87fe_c51f_4538_848d_2902a2f50d2d_exports,
43
+ Shop: () => bba0_253e_a800_a235_88821cf3f8a4_exports
44
+ });
45
+
46
+ // src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts
47
+ var afb094_84f9_739f_44fd_78d036adb028_exports = {};
48
+
49
+ // src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts
50
+ var bda15dc1_816d_4ff3_8dcb_1172d5343cce_exports = {};
51
+
52
+ // src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts
53
+ var a94f09_2766_3c40_4a32_8edb5acdd8bc_exports = {};
54
+
55
+ // src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts
56
+ var fd5970_8072_c276_1246_058b79e70c1a_exports = {};
57
+
58
+ // src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts
59
+ var abcd87fe_c51f_4538_848d_2902a2f50d2d_exports = {};
60
+
61
+ // src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts
62
+ var bba0_253e_a800_a235_88821cf3f8a4_exports = {};
63
+
64
+ // src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts
65
+ var c9_d856_49b9_af14_216071924e3b_exports = {};
66
+
27
67
  // dashboard.ts
28
68
  var dashboard_exports = {};
29
69
  __export(dashboard_exports, {
@@ -110,6 +150,7 @@ var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
110
150
  var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
111
151
  // Annotate the CommonJS export names for ESM import in node:
112
152
  0 && (module.exports = {
113
- dashboard
153
+ dashboard,
154
+ site
114
155
  });
115
156
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as dashboard from './dashboard.js';\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
1
+ {"version":3,"sources":["../../index.ts","../../site.ts","../../src/extensions/editor-pages-plugin-props.ts","../../src/extensions/editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.ts","../../src/extensions/editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.ts","../../src/extensions/editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.ts","../../src/extensions/editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.ts","../../src/extensions/editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.ts","../../src/extensions/editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.ts","../../src/extensions/editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.ts","../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as site from './site.js';\nexport * as dashboard from './dashboard.js';\n","export * as plugins from './src/extensions/editor-pages-plugin-props.js';\n","export * as GridGallery from './editor-page-plugins/13afb094-84f9-739f-44fd-78d036adb028.js';\nexport * as CategoryPage from './editor-page-plugins/bda15dc1-816d-4ff3-8dcb-1172d5343cce.js';\nexport * as ProductPage from './editor-page-plugins/13a94f09-2766-3c40-4a32-8edb5acdd8bc.js';\nexport * as Checkout from './editor-page-plugins/14fd5970-8072-c276-1246-058b79e70c1a.js';\nexport * as SearchResultsPageGallery from './editor-page-plugins/abcd87fe-c51f-4538-848d-2902a2f50d2d.js';\nexport * as Shop from './editor-page-plugins/1380bba0-253e-a800-a235-88821cf3f8a4.js';\nexport * as SearchModalGallery from './editor-page-plugins/244576c9-d856-49b9-af14-216071924e3b.js';\n","/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName GridGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageListTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName CategoryPage\n * @slotType site plugin\n */\nexport type CategoryPageHeroTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageAdditionalButtonsSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails5SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails7SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails2SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails9SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageMedia1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails6SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails4SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageTopSlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails1SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails3SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n\n/**\n * @pageName ProductPage\n * @slotType site plugin\n */\nexport type ProductPageDetails8SlotProps = {\n // The ID of the product that is currently applied on the plugin's host.\n productId: string;\n};\n","/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutPoliciesAfter1Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n/** @internal */\nexport type CheckoutStepId =\n | 'contact-details'\n | 'delivery-method'\n | 'payment-and-place-order';\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfter2Props = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutTopProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryTotalsBreakdownBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutStepsBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryBeforeProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutSummaryLineItemsAfterProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n\n/**\n * @pageName Checkout\n * @slotType site plugin\n */\nexport type CheckoutHeaderProps = {\n // The ID of the current checkout process.\n checkoutId: string;\n\n // The ID of the current checkout step: `contact-details`, `delivery-method` or `payment-and-place-order`\n stepId: CheckoutStepId;\n\n // An event handler that accepts a callback function that is invoked by a widget. The widget should call the function whenever the checkout needs to be refreshed.\n onRefreshCheckout: (refreshCheckoutCallback: () => void) => void;\n};\n","/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchResultsPageGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName Shop\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryFiltersBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsTopSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n\n/**\n * @pageName SearchModalGallery\n * @slotType site plugin\n */\nexport type GalleryProductsBottomSlotProps = {\n // The ID of the category that is currently applied on the plugin's host.\n categoryId: string;\n};\n","export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}