@wix/ecom_app-extensions 1.0.82 → 1.0.84

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.
Files changed (66) hide show
  1. package/build/cjs/dashboard-DyfKqhiW.d.ts +161 -0
  2. package/build/cjs/dashboard.d.ts +1 -2
  3. package/build/cjs/dashboard.js +107 -26
  4. package/build/cjs/dashboard.js.map +1 -1
  5. package/build/cjs/index.d.ts +2 -1
  6. package/build/cjs/index.js +153 -25
  7. package/build/cjs/index.js.map +1 -1
  8. package/build/cjs/site-BtXf6TUC.d.ts +412 -0
  9. package/build/cjs/site.d.ts +1 -0
  10. package/build/cjs/site.js +63 -0
  11. package/build/cjs/site.js.map +1 -0
  12. package/build/es/dashboard-DyfKqhiW.d.mts +161 -0
  13. package/build/es/dashboard.d.mts +1 -0
  14. package/build/es/dashboard.mjs +88 -0
  15. package/build/es/dashboard.mjs.map +1 -0
  16. package/build/es/index.d.mts +2 -0
  17. package/build/es/index.mjs +134 -0
  18. package/build/es/index.mjs.map +1 -0
  19. package/build/es/site-BtXf6TUC.d.mts +412 -0
  20. package/build/es/site.d.mts +1 -0
  21. package/build/es/site.mjs +42 -0
  22. package/build/es/site.mjs.map +1 -0
  23. package/package.json +18 -10
  24. package/site/package.json +3 -0
  25. package/build/cjs/src/extensions/dashboard-page-builders.d.ts +0 -64
  26. package/build/cjs/src/extensions/dashboard-page-builders.js +0 -88
  27. package/build/cjs/src/extensions/dashboard-page-builders.js.map +0 -1
  28. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.d.ts +0 -10
  29. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js +0 -3
  30. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js.map +0 -1
  31. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.d.ts +0 -13
  32. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js +0 -3
  33. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js.map +0 -1
  34. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +0 -10
  35. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +0 -3
  36. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +0 -1
  37. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.d.ts +0 -10
  38. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js +0 -3
  39. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js.map +0 -1
  40. package/build/cjs/src/extensions/dashboard-pages-plugin-props.d.ts +0 -4
  41. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js +0 -31
  42. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js.map +0 -1
  43. package/build/es/dashboard.d.ts +0 -2
  44. package/build/es/dashboard.js +0 -3
  45. package/build/es/dashboard.js.map +0 -1
  46. package/build/es/index.d.ts +0 -1
  47. package/build/es/index.js +0 -2
  48. package/build/es/index.js.map +0 -1
  49. package/build/es/src/extensions/dashboard-page-builders.d.ts +0 -64
  50. package/build/es/src/extensions/dashboard-page-builders.js +0 -77
  51. package/build/es/src/extensions/dashboard-page-builders.js.map +0 -1
  52. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.d.ts +0 -10
  53. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js +0 -2
  54. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js.map +0 -1
  55. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.d.ts +0 -13
  56. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js +0 -2
  57. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js.map +0 -1
  58. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +0 -10
  59. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +0 -2
  60. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +0 -1
  61. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.d.ts +0 -10
  62. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js +0 -2
  63. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js.map +0 -1
  64. package/build/es/src/extensions/dashboard-pages-plugin-props.d.ts +0 -4
  65. package/build/es/src/extensions/dashboard-pages-plugin-props.js +0 -5
  66. package/build/es/src/extensions/dashboard-pages-plugin-props.js.map +0 -1
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.orderDetails = exports.editDraftOrder = exports.newOrder = exports.orderList = exports.deliveryProfile = exports.deliveryProfiles = exports.orderRefund = exports.editOrder = void 0;
4
- /**
5
- * 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.
6
- * @dashobardPageBuilder
7
- */
8
- function editOrder(options) {
9
- const { orderId } = options;
10
- return {
11
- pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',
12
- relativeUrl: `${orderId}`,
13
- };
14
- }
15
- exports.editOrder = editOrder;
16
- /**
17
- * 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.
18
- * @dashobardPageBuilder
19
- */
20
- function orderRefund(options) {
21
- const { orderId } = options;
22
- return {
23
- pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',
24
- relativeUrl: `${orderId}`,
25
- };
26
- }
27
- exports.orderRefund = orderRefund;
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 Profiles page in the dashboard.
30
- * @dashobardPageBuilder
31
- */
32
- function deliveryProfiles() {
33
- return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
34
- }
35
- exports.deliveryProfiles = deliveryProfiles;
36
- /**
37
- * 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.
38
- * @dashobardPageBuilder
39
- */
40
- function deliveryProfile(options) {
41
- const { deliveryProfileId } = options;
42
- return {
43
- pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',
44
- relativeUrl: `${deliveryProfileId}`,
45
- };
46
- }
47
- exports.deliveryProfile = deliveryProfile;
48
- /**
49
- * 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.
50
- * @dashobardPageBuilder
51
- */
52
- function orderList() {
53
- return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
54
- }
55
- exports.orderList = orderList;
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 New Order page in the dashboard.
58
- * @dashobardPageBuilder
59
- */
60
- function newOrder() {
61
- return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };
62
- }
63
- exports.newOrder = newOrder;
64
- /**
65
- * 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.
66
- * @dashobardPageBuilder
67
- */
68
- function editDraftOrder(options) {
69
- const { draftOrderId } = options;
70
- return {
71
- pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',
72
- relativeUrl: `${draftOrderId}`,
73
- };
74
- }
75
- exports.editDraftOrder = editDraftOrder;
76
- /**
77
- * 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.
78
- * @dashobardPageBuilder
79
- */
80
- function orderDetails(options) {
81
- const { id } = options;
82
- return {
83
- pageId: '3b96985e-a459-4972-94c3-63f038a73af2',
84
- relativeUrl: `${id}`,
85
- };
86
- }
87
- exports.orderDetails = orderDetails;
88
- //# sourceMappingURL=dashboard-page-builders.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":";;;AAKA;;;GAGG;AACH,SAAgB,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,8BAOC;AAOD;;;GAGG;AACH,SAAgB,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,kCAOC;AAED;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4CAEC;AAOD;;;GAGG;AACH,SAAgB,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AATD,0CASC;AAED;;;GAGG;AACH,SAAgB,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,QAAQ;IACtB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4BAEC;AAOD;;;GAGG;AACH,SAAgB,cAAc,CAC5B,OAA8B;IAE9B,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,YAAY,EAAE;KAC/B,CAAC;AACJ,CAAC;AATD,wCASC;AAOD;;;GAGG;AACH,SAAgB,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC;AAPD,oCAOC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName OrderDetails
3
- * @slotType dashboard plugin
4
- */
5
- export type OrderRightPanelParams = OrderDetailsSecondaryCardProps;
6
- /** @internal */
7
- export type OrderDetailsSecondaryCardProps = {
8
- orderId: string;
9
- onOrderUpdate(): Promise<void>;
10
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=3b96985e-a459-4972-94c3-63f038a73af2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"3b96985e-a459-4972-94c3-63f038a73af2.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- /**
2
- * @pageName Orders
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderItemsBulkMoreActionsMenuParams = OrdersListBulkActionExtensionProps;
6
- /** @internal */
7
- export type OrdersListBulkActionExtensionProps = {
8
- selectedIds: string[];
9
- uncheckedIds: string[];
10
- isSelectAll: boolean;
11
- total: number;
12
- onSuccess(): Promise<void>;
13
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=8107f05f-d646-4c81-be90-adf28d321398.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"8107f05f-d646-4c81-be90-adf28d321398.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName DraftOrderPage
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderSummaryParams = DraftOrderManageFeesActionParams;
6
- /** @internal */
7
- export type DraftOrderManageFeesActionParams = {
8
- draftOrderId: string;
9
- onDraftOrderUpdate(): Promise<void>;
10
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=8454e8a0-5684-4331-9d4a-e4873467553a.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"8454e8a0-5684-4331-9d4a-e4873467553a.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName EditOrder
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderSummaryParams = DraftOrderManageFeesActionParams;
6
- /** @internal */
7
- export type DraftOrderManageFeesActionParams = {
8
- draftOrderId: string;
9
- onDraftOrderUpdate(): Promise<void>;
10
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=f2526550-194f-4c13-9298-9a6b8abda62f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"f2526550-194f-4c13-9298-9a6b8abda62f.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
- export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
- export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
4
- export * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.OrderDetails = exports.DraftOrderPage = exports.Orders = exports.EditOrder = void 0;
27
- exports.EditOrder = __importStar(require("./dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js"));
28
- exports.Orders = __importStar(require("./dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js"));
29
- exports.DraftOrderPage = __importStar(require("./dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js"));
30
- exports.OrderDetails = __importStar(require("./dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js"));
31
- //# sourceMappingURL=dashboard-pages-plugin-props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8GAA8F;AAC9F,2GAA2F;AAC3F,mHAAmG;AACnG,iHAAiG"}
@@ -1,2 +0,0 @@
1
- export * as pages from './src/extensions/dashboard-page-builders.js';
2
- export * as plugins from './src/extensions/dashboard-pages-plugin-props.js';
@@ -1,3 +0,0 @@
1
- export * as pages from './src/extensions/dashboard-page-builders.js';
2
- export * as plugins from './src/extensions/dashboard-pages-plugin-props.js';
3
- //# sourceMappingURL=dashboard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,OAAO,MAAM,kDAAkD,CAAC"}
@@ -1 +0,0 @@
1
- export * as dashboard from './dashboard.js';
package/build/es/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * as dashboard from './dashboard.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC"}
@@ -1,64 +0,0 @@
1
- export 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
- export declare function editOrder(options: editOrderOptions): PageBuilderResult;
10
- export 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
- export 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
- export declare function deliveryProfiles(): PageBuilderResult;
24
- export 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
- export 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
- export 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
- export declare function newOrder(): PageBuilderResult;
43
- export 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
- export declare function editDraftOrder(options: editDraftOrderOptions): PageBuilderResult;
52
- export 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
- export declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
61
- export interface PageBuilderResult {
62
- pageId: string;
63
- relativeUrl?: string;
64
- }
@@ -1,77 +0,0 @@
1
- /**
2
- * 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.
3
- * @dashobardPageBuilder
4
- */
5
- export function editOrder(options) {
6
- const { orderId } = options;
7
- return {
8
- pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',
9
- relativeUrl: `${orderId}`,
10
- };
11
- }
12
- /**
13
- * 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.
14
- * @dashobardPageBuilder
15
- */
16
- export function orderRefund(options) {
17
- const { orderId } = options;
18
- return {
19
- pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',
20
- relativeUrl: `${orderId}`,
21
- };
22
- }
23
- /**
24
- * 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.
25
- * @dashobardPageBuilder
26
- */
27
- export function deliveryProfiles() {
28
- return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
29
- }
30
- /**
31
- * 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.
32
- * @dashobardPageBuilder
33
- */
34
- export function deliveryProfile(options) {
35
- const { deliveryProfileId } = options;
36
- return {
37
- pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',
38
- relativeUrl: `${deliveryProfileId}`,
39
- };
40
- }
41
- /**
42
- * 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.
43
- * @dashobardPageBuilder
44
- */
45
- export function orderList() {
46
- return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
47
- }
48
- /**
49
- * 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.
50
- * @dashobardPageBuilder
51
- */
52
- export function newOrder() {
53
- return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };
54
- }
55
- /**
56
- * 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.
57
- * @dashobardPageBuilder
58
- */
59
- export function editDraftOrder(options) {
60
- const { draftOrderId } = options;
61
- return {
62
- pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',
63
- relativeUrl: `${draftOrderId}`,
64
- };
65
- }
66
- /**
67
- * 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.
68
- * @dashobardPageBuilder
69
- */
70
- export function orderDetails(options) {
71
- const { id } = options;
72
- return {
73
- pageId: '3b96985e-a459-4972-94c3-63f038a73af2',
74
- relativeUrl: `${id}`,
75
- };
76
- }
77
- //# sourceMappingURL=dashboard-page-builders.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,QAAQ;IACtB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,cAAc,CAC5B,OAA8B;IAE9B,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,YAAY,EAAE;KAC/B,CAAC;AACJ,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName OrderDetails
3
- * @slotType dashboard plugin
4
- */
5
- export type OrderRightPanelParams = OrderDetailsSecondaryCardProps;
6
- /** @internal */
7
- export type OrderDetailsSecondaryCardProps = {
8
- orderId: string;
9
- onOrderUpdate(): Promise<void>;
10
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=3b96985e-a459-4972-94c3-63f038a73af2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"3b96985e-a459-4972-94c3-63f038a73af2.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- /**
2
- * @pageName Orders
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderItemsBulkMoreActionsMenuParams = OrdersListBulkActionExtensionProps;
6
- /** @internal */
7
- export type OrdersListBulkActionExtensionProps = {
8
- selectedIds: string[];
9
- uncheckedIds: string[];
10
- isSelectAll: boolean;
11
- total: number;
12
- onSuccess(): Promise<void>;
13
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=8107f05f-d646-4c81-be90-adf28d321398.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"8107f05f-d646-4c81-be90-adf28d321398.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName DraftOrderPage
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderSummaryParams = DraftOrderManageFeesActionParams;
6
- /** @internal */
7
- export type DraftOrderManageFeesActionParams = {
8
- draftOrderId: string;
9
- onDraftOrderUpdate(): Promise<void>;
10
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=8454e8a0-5684-4331-9d4a-e4873467553a.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"8454e8a0-5684-4331-9d4a-e4873467553a.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * @pageName EditOrder
3
- * @slotType dashboard menu plugin
4
- */
5
- export type OrderSummaryParams = DraftOrderManageFeesActionParams;
6
- /** @internal */
7
- export type DraftOrderManageFeesActionParams = {
8
- draftOrderId: string;
9
- onDraftOrderUpdate(): Promise<void>;
10
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=f2526550-194f-4c13-9298-9a6b8abda62f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"f2526550-194f-4c13-9298-9a6b8abda62f.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
- export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
- export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
4
- export * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';
@@ -1,5 +0,0 @@
1
- export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
- export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
- export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
4
- export * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';
5
- //# sourceMappingURL=dashboard-pages-plugin-props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kEAAkE,CAAC;AAC9F,OAAO,KAAK,MAAM,MAAM,kEAAkE,CAAC;AAC3F,OAAO,KAAK,cAAc,MAAM,kEAAkE,CAAC;AACnG,OAAO,KAAK,YAAY,MAAM,kEAAkE,CAAC"}