@wix/ecom_app-extensions 1.0.81 → 1.0.83

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 (55) hide show
  1. package/build/cjs/dashboard.d.ts +161 -2
  2. package/build/cjs/dashboard.js +107 -26
  3. package/build/cjs/dashboard.js.map +1 -1
  4. package/build/cjs/index.d.ts +1 -1
  5. package/build/cjs/index.js +112 -25
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/es/dashboard.d.mts +161 -0
  8. package/build/es/dashboard.mjs +88 -0
  9. package/build/es/dashboard.mjs.map +1 -0
  10. package/build/es/index.d.mts +1 -0
  11. package/build/es/index.mjs +94 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/package.json +12 -10
  14. package/build/cjs/src/extensions/dashboard-page-builders.d.ts +0 -64
  15. package/build/cjs/src/extensions/dashboard-page-builders.js +0 -88
  16. package/build/cjs/src/extensions/dashboard-page-builders.js.map +0 -1
  17. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.d.ts +0 -10
  18. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js +0 -3
  19. package/build/cjs/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js.map +0 -1
  20. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.d.ts +0 -13
  21. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js +0 -3
  22. package/build/cjs/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js.map +0 -1
  23. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +0 -10
  24. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +0 -3
  25. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +0 -1
  26. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.d.ts +0 -10
  27. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js +0 -3
  28. package/build/cjs/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js.map +0 -1
  29. package/build/cjs/src/extensions/dashboard-pages-plugin-props.d.ts +0 -4
  30. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js +0 -31
  31. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js.map +0 -1
  32. package/build/es/dashboard.d.ts +0 -2
  33. package/build/es/dashboard.js +0 -3
  34. package/build/es/dashboard.js.map +0 -1
  35. package/build/es/index.d.ts +0 -1
  36. package/build/es/index.js +0 -2
  37. package/build/es/index.js.map +0 -1
  38. package/build/es/src/extensions/dashboard-page-builders.d.ts +0 -64
  39. package/build/es/src/extensions/dashboard-page-builders.js +0 -77
  40. package/build/es/src/extensions/dashboard-page-builders.js.map +0 -1
  41. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.d.ts +0 -10
  42. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js +0 -2
  43. package/build/es/src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js.map +0 -1
  44. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.d.ts +0 -13
  45. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js +0 -2
  46. package/build/es/src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js.map +0 -1
  47. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +0 -10
  48. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +0 -2
  49. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +0 -1
  50. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.d.ts +0 -10
  51. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js +0 -2
  52. package/build/es/src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js.map +0 -1
  53. package/build/es/src/extensions/dashboard-pages-plugin-props.d.ts +0 -4
  54. package/build/es/src/extensions/dashboard-pages-plugin-props.js +0 -5
  55. package/build/es/src/extensions/dashboard-pages-plugin-props.js.map +0 -1
@@ -0,0 +1,88 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/extensions/dashboard-page-builders.ts
8
+ var dashboard_page_builders_exports = {};
9
+ __export(dashboard_page_builders_exports, {
10
+ deliveryProfile: () => deliveryProfile,
11
+ deliveryProfiles: () => deliveryProfiles,
12
+ editDraftOrder: () => editDraftOrder,
13
+ editOrder: () => editOrder,
14
+ newOrder: () => newOrder,
15
+ orderDetails: () => orderDetails,
16
+ orderList: () => orderList,
17
+ orderRefund: () => orderRefund
18
+ });
19
+ function editOrder(options) {
20
+ const { orderId } = options;
21
+ return {
22
+ pageId: "f2526550-194f-4c13-9298-9a6b8abda62f",
23
+ relativeUrl: `${orderId}`
24
+ };
25
+ }
26
+ function orderRefund(options) {
27
+ const { orderId } = options;
28
+ return {
29
+ pageId: "c4898867-69a5-4e05-92b7-c276f9424641",
30
+ relativeUrl: `${orderId}`
31
+ };
32
+ }
33
+ function deliveryProfiles() {
34
+ return { pageId: "841919b4-9e96-43f4-87ea-fa382bc9d0e8" };
35
+ }
36
+ function deliveryProfile(options) {
37
+ const { deliveryProfileId } = options;
38
+ return {
39
+ pageId: "841919b4-9e96-43f4-87ea-fa382bc9d0e8",
40
+ relativeUrl: `${deliveryProfileId}`
41
+ };
42
+ }
43
+ function orderList() {
44
+ return { pageId: "8107f05f-d646-4c81-be90-adf28d321398" };
45
+ }
46
+ function newOrder() {
47
+ return { pageId: "8454e8a0-5684-4331-9d4a-e4873467553a" };
48
+ }
49
+ function editDraftOrder(options) {
50
+ const { draftOrderId } = options;
51
+ return {
52
+ pageId: "8454e8a0-5684-4331-9d4a-e4873467553a",
53
+ relativeUrl: `${draftOrderId}`
54
+ };
55
+ }
56
+ function orderDetails(options) {
57
+ const { id } = options;
58
+ return {
59
+ pageId: "3b96985e-a459-4972-94c3-63f038a73af2",
60
+ relativeUrl: `${id}`
61
+ };
62
+ }
63
+
64
+ // src/extensions/dashboard-pages-plugin-props.ts
65
+ var dashboard_pages_plugin_props_exports = {};
66
+ __export(dashboard_pages_plugin_props_exports, {
67
+ DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
68
+ EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
69
+ OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
70
+ Orders: () => f05f_d646_4c81_be90_adf28d321398_exports
71
+ });
72
+
73
+ // src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts
74
+ var f2526550_194f_4c13_9298_9a6b8abda62f_exports = {};
75
+
76
+ // src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts
77
+ var f05f_d646_4c81_be90_adf28d321398_exports = {};
78
+
79
+ // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
80
+ var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
81
+
82
+ // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
83
+ var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
84
+ export {
85
+ dashboard_page_builders_exports as pages,
86
+ dashboard_pages_plugin_props_exports as plugins
87
+ };
88
+ //# sourceMappingURL=dashboard.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,UAAU,SAA8C;AACtE,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAWO,SAAS,YAAY,SAAgD;AAC1E,QAAM,EAAE,QAAQ,IAAI;AAEpB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,OAAO;AAAA,EACzB;AACF;AAMO,SAAS,mBAAsC;AACpD,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,gBACd,SACmB;AACnB,QAAM,EAAE,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,iBAAiB;AAAA,EACnC;AACF;AAMO,SAAS,YAA+B;AAC7C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAMO,SAAS,WAA8B;AAC5C,SAAO,EAAE,QAAQ,uCAAuC;AAC1D;AAWO,SAAS,eACd,SACmB;AACnB,QAAM,EAAE,aAAa,IAAI;AAEzB,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,YAAY;AAAA,EAC9B;AACF;AAWO,SAAS,aAAa,SAAiD;AAC5E,QAAM,EAAE,GAAG,IAAI;AAEf,SAAO;AAAA,IACL,QAAQ;AAAA,IACR,aAAa,GAAG,EAAE;AAAA,EACpB;AACF;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;;;ACAA;;;ACAA;","names":[]}
@@ -0,0 +1 @@
1
+ export { d as dashboard } from './dashboard.mjs';
@@ -0,0 +1,94 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // dashboard.ts
8
+ var dashboard_exports = {};
9
+ __export(dashboard_exports, {
10
+ pages: () => dashboard_page_builders_exports,
11
+ plugins: () => dashboard_pages_plugin_props_exports
12
+ });
13
+
14
+ // src/extensions/dashboard-page-builders.ts
15
+ var dashboard_page_builders_exports = {};
16
+ __export(dashboard_page_builders_exports, {
17
+ deliveryProfile: () => deliveryProfile,
18
+ deliveryProfiles: () => deliveryProfiles,
19
+ editDraftOrder: () => editDraftOrder,
20
+ editOrder: () => editOrder,
21
+ newOrder: () => newOrder,
22
+ orderDetails: () => orderDetails,
23
+ orderList: () => orderList,
24
+ orderRefund: () => orderRefund
25
+ });
26
+ function editOrder(options) {
27
+ const { orderId } = options;
28
+ return {
29
+ pageId: "f2526550-194f-4c13-9298-9a6b8abda62f",
30
+ relativeUrl: `${orderId}`
31
+ };
32
+ }
33
+ function orderRefund(options) {
34
+ const { orderId } = options;
35
+ return {
36
+ pageId: "c4898867-69a5-4e05-92b7-c276f9424641",
37
+ relativeUrl: `${orderId}`
38
+ };
39
+ }
40
+ function deliveryProfiles() {
41
+ return { pageId: "841919b4-9e96-43f4-87ea-fa382bc9d0e8" };
42
+ }
43
+ function deliveryProfile(options) {
44
+ const { deliveryProfileId } = options;
45
+ return {
46
+ pageId: "841919b4-9e96-43f4-87ea-fa382bc9d0e8",
47
+ relativeUrl: `${deliveryProfileId}`
48
+ };
49
+ }
50
+ function orderList() {
51
+ return { pageId: "8107f05f-d646-4c81-be90-adf28d321398" };
52
+ }
53
+ function newOrder() {
54
+ return { pageId: "8454e8a0-5684-4331-9d4a-e4873467553a" };
55
+ }
56
+ function editDraftOrder(options) {
57
+ const { draftOrderId } = options;
58
+ return {
59
+ pageId: "8454e8a0-5684-4331-9d4a-e4873467553a",
60
+ relativeUrl: `${draftOrderId}`
61
+ };
62
+ }
63
+ function orderDetails(options) {
64
+ const { id } = options;
65
+ return {
66
+ pageId: "3b96985e-a459-4972-94c3-63f038a73af2",
67
+ relativeUrl: `${id}`
68
+ };
69
+ }
70
+
71
+ // src/extensions/dashboard-pages-plugin-props.ts
72
+ var dashboard_pages_plugin_props_exports = {};
73
+ __export(dashboard_pages_plugin_props_exports, {
74
+ DraftOrderPage: () => e8a0_5684_4331_9d4a_e4873467553a_exports,
75
+ EditOrder: () => f2526550_194f_4c13_9298_9a6b8abda62f_exports,
76
+ OrderDetails: () => b96985e_a459_4972_94c3_63f038a73af2_exports,
77
+ Orders: () => f05f_d646_4c81_be90_adf28d321398_exports
78
+ });
79
+
80
+ // src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts
81
+ var f2526550_194f_4c13_9298_9a6b8abda62f_exports = {};
82
+
83
+ // src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts
84
+ var f05f_d646_4c81_be90_adf28d321398_exports = {};
85
+
86
+ // src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts
87
+ var e8a0_5684_4331_9d4a_e4873467553a_exports = {};
88
+
89
+ // src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts
90
+ var b96985e_a459_4972_94c3_63f038a73af2_exports = {};
91
+ export {
92
+ dashboard_exports as dashboard
93
+ };
94
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../dashboard.ts","../../src/extensions/dashboard-page-builders.ts","../../src/extensions/dashboard-pages-plugin-props.ts","../../src/extensions/dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.ts","../../src/extensions/dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.ts","../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts","../../src/extensions/dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.ts"],"sourcesContent":["export * as pages from './src/extensions/dashboard-page-builders.js';\nexport * as plugins from './src/extensions/dashboard-pages-plugin-props.js';\n","export interface editOrderOptions {\n /** ID of the order to edit. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editOrder(options: editOrderOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',\n relativeUrl: `${orderId}`,\n };\n}\n\nexport interface orderRefundOptions {\n /** ID of the order to refund. */\n orderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Refund page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderRefund(options: orderRefundOptions): PageBuilderResult {\n const { orderId } = options;\n\n return {\n pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',\n relativeUrl: `${orderId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profiles page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfiles(): PageBuilderResult {\n return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };\n}\n\nexport interface deliveryProfileOptions {\n /** Delivery profile to manage */\n deliveryProfileId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Delivery Profile page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function deliveryProfile(\n options: deliveryProfileOptions\n): PageBuilderResult {\n const { deliveryProfileId } = options;\n\n return {\n pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',\n relativeUrl: `${deliveryProfileId}`,\n };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order List page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderList(): PageBuilderResult {\n return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the New Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function newOrder(): PageBuilderResult {\n return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };\n}\n\nexport interface editDraftOrderOptions {\n /** Draft order id */\n draftOrderId: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Edit Draft Order page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function editDraftOrder(\n options: editDraftOrderOptions\n): PageBuilderResult {\n const { draftOrderId } = options;\n\n return {\n pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',\n relativeUrl: `${draftOrderId}`,\n };\n}\n\nexport interface orderDetailsOptions {\n /** The order Id to display */\n id: string;\n}\n\n/**\n * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the Order Details page in the dashboard.\n * @dashobardPageBuilder\n */\nexport function orderDetails(options: orderDetailsOptions): PageBuilderResult {\n const { id } = options;\n\n return {\n pageId: '3b96985e-a459-4972-94c3-63f038a73af2',\n relativeUrl: `${id}`,\n };\n}\n\nexport interface PageBuilderResult {\n pageId: string;\n relativeUrl?: string;\n}\n","export * as EditOrder from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';\nexport * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';\nexport * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';\nexport * as OrderDetails from './dashboard-page-plugins/3b96985e-a459-4972-94c3-63f038a73af2.js';\n","/**\n * @pageName EditOrder\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName Orders\n * @slotType dashboard menu plugin\n */\nexport type OrderItemsBulkMoreActionsMenuParams =\n OrdersListBulkActionExtensionProps;\n/** @internal */\nexport type OrdersListBulkActionExtensionProps = {\n // An array of IDs representing the orders that have been selected.\n selectedIds: string[];\n // An array of IDs representing the orders that have been unchecked. Applicable only when the \"Select All\" option was selected.\n uncheckedIds: string[];\n // A boolean value indicating whether the \"Select All\" option was selected.\n isSelectAll: boolean;\n // The total number of orders that were selected.\n total: number;\n // Callback that notifies the host after successful handling of the flow associated with the new menu item.\n onSuccess(): Promise<void>;\n};\n","/**\n * @pageName DraftOrderPage\n * @slotType dashboard menu plugin\n */\nexport type OrderSummaryParams = DraftOrderManageFeesActionParams;\n/** @internal */\nexport type DraftOrderManageFeesActionParams = {\n // ID of the order that is being edited.\n draftOrderId: string;\n // Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onDraftOrderUpdate(): Promise<void>;\n};\n","/**\n * @pageName OrderDetails\n * @slotType dashboard plugin\n */\nexport type OrderRightPanelParams = OrderDetailsSecondaryCardProps;\n\n/** @internal */\nexport type OrderDetailsSecondaryCardProps = {\n // Order ID.\n orderId: string;\n // Callback that notifies the host page about an order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.\n onOrderUpdate(): Promise<void>;\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;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":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@wix/ecom_app-extensions",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
4
+ "license": "MIT",
4
5
  "publishConfig": {
5
6
  "registry": "https://registry.npmjs.org/",
6
7
  "access": "public"
@@ -8,18 +9,18 @@
8
9
  "keywords": [],
9
10
  "sideEffects": false,
10
11
  "main": "./build/cjs/index.js",
11
- "types": "./build/es/index.d.ts",
12
+ "types": "./build/cjs/index.d.ts",
12
13
  "exports": {
13
14
  ".": {
14
- "import": "./build/es/index.js",
15
+ "import": "./build/es/index.mjs",
15
16
  "require": "./build/cjs/index.js",
16
- "types": "./build/es/index.d.ts"
17
+ "types": "./build/es/index.d.mts"
17
18
  },
18
19
  "./package.json": "./package.json",
19
20
  "./dashboard": {
20
- "import": "./build/es/dashboard.js",
21
+ "import": "./build/es/dashboard.mjs",
21
22
  "require": "./build/cjs/dashboard.js",
22
- "types": "./build/es/dashboard.d.ts"
23
+ "types": "./build/es/dashboard.d.mts"
23
24
  }
24
25
  },
25
26
  "files": [
@@ -27,14 +28,15 @@
27
28
  "dashboard"
28
29
  ],
29
30
  "dependencies": {
30
- "@wix/sdk-runtime": "^0.3.49",
31
- "@wix/sdk-types": "^1.13.23"
31
+ "@wix/sdk-runtime": "^0.3.55",
32
+ "@wix/sdk-types": "^1.13.28"
32
33
  },
33
34
  "devDependencies": {
35
+ "tsup": "^8.4.0",
34
36
  "typescript": "^5.3.2"
35
37
  },
36
38
  "scripts": {
37
- "build": "tsc -b tsconfig.json tsconfig.esm.json",
39
+ "build": "tsup",
38
40
  "test": ":"
39
41
  },
40
42
  "wix": {
@@ -43,5 +45,5 @@
43
45
  "groupId": "com.wixpress.sdk-app-extensions-autogen"
44
46
  }
45
47
  },
46
- "falconPackageHash": "2458f12a69cd61f57c4cc6d4bde41b4b504764a4e354dbfd4ed3fa87"
48
+ "falconPackageHash": "f412ab8a4c87057a09744875a1378fb5277081ca35d6a0aacb65c9f5"
47
49
  }
@@ -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,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"}