@myparcel-dev/pdk-admin-component-tests 1.14.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  <!-- MONOWEAVE:BELOW -->
4
4
 
5
+ ## [2.0.0](https://github.com/myparcelnl/js-pdk/compare/@myparcel-dev/pdk-admin-component-tests@1.14.2...@myparcel-dev/pdk-admin-component-tests@2.0.0) "@myparcel-dev/pdk-admin-component-tests" (2026-06-04)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * drive admin shipment options and checkout from the PDK capabilities API (#346)
11
+
12
+ ### Features
13
+
14
+ * drive admin shipment options and checkout from the PDK capabilities API ([#346](https://github.com/myparcelnl/js-pdk/issues/346)) ([f62b934](https://github.com/myparcelnl/js-pdk/commit/f62b9348d4f4316da28dbb97e4c335fc8aa9df80)), closes [myparcelnl/pdk#459](https://github.com/myparcelnl/pdk/issues/459) [myparcelnl/pdk#459](https://github.com/myparcelnl/pdk/issues/459) [myparcelnl/pdk#459](https://github.com/myparcelnl/pdk/issues/459)
15
+
16
+
17
+
18
+
5
19
  ## [1.14.2](https://github.com/myparcelnl/js-pdk/compare/@myparcel-dev/pdk-admin-component-tests@1.14.1...@myparcel-dev/pdk-admin-component-tests@1.14.2) "@myparcel-dev/pdk-admin-component-tests" (2026-05-29)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myparcel-dev/pdk-admin-component-tests",
3
- "version": "1.14.2",
3
+ "version": "2.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/myparcelnl/js-pdk.git",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "run ws:vue:typecheck \"$(pwd)\""
32
32
  },
33
33
  "dependencies": {
34
- "@myparcel-dev/pdk-admin": "^1.14.2",
34
+ "@myparcel-dev/pdk-admin": "^2.0.0",
35
35
  "@pinia/testing": ">= 0.1.0 < 1",
36
36
  "@vitest/coverage-v8": "^2.1.3",
37
37
  "@vue/test-utils": "^2.0.0",
package/src/TestSuite.ts CHANGED
@@ -105,11 +105,11 @@ export class TestSuite<
105
105
  return this.resolveOptions();
106
106
  }
107
107
 
108
- public getInputWrapper<NodeType extends Node>(wrapper: VueWrapper<Component>): DOMWrapper<NodeType> {
108
+ public getInputWrapper<NodeType extends Node>(wrapper: VueWrapper<any>): DOMWrapper<NodeType> {
109
109
  return this.getElementWrapper('input', wrapper);
110
110
  }
111
111
 
112
- public getSelectWrapper<NodeType extends Node>(wrapper: VueWrapper<Component>): DOMWrapper<NodeType> {
112
+ public getSelectWrapper<NodeType extends Node>(wrapper: VueWrapper<any>): DOMWrapper<NodeType> {
113
113
  return this.getElementWrapper('select', wrapper);
114
114
  }
115
115
 
@@ -123,7 +123,7 @@ export class TestSuite<
123
123
 
124
124
  private getElementWrapper<NodeType extends Node>(
125
125
  element: string,
126
- wrapper: VueWrapper<Component>,
126
+ wrapper: VueWrapper<any>,
127
127
  ): DOMWrapper<NodeType> {
128
128
  const byComponentName = wrapper.findByTestId(this.componentName);
129
129
 
@@ -10,6 +10,7 @@ exports[`exports > exports from index.ts 1`] = `
10
10
  "AdminInstanceContextKey",
11
11
  "AdminModalKey",
12
12
  "AdminView",
13
+ "BOX_MODE_ACTIONS",
13
14
  "BackendEndpoint",
14
15
  "BulkSelectCheckbox",
15
16
  "ChildProductSettingsView",
@@ -26,13 +27,17 @@ exports[`exports > exports from index.ts 1`] = `
26
27
  "FrontendEndpoint",
27
28
  "INJECT_ADMIN_INSTANCE",
28
29
  "INJECT_GLOBAL_PDK_ADMIN",
30
+ "LIST_ITEM_MODE_ACTIONS",
29
31
  "LogLevel",
32
+ "MODAL_MODE_ACTIONS",
30
33
  "ModalsView",
31
34
  "NotificationCategory",
32
35
  "NotificationContainer",
33
36
  "NotificationsView",
37
+ "ORDER_VIEW_IN_BACKOFFICE_ID",
34
38
  "OrderBoxView",
35
39
  "OrderListItemView",
40
+ "OrderMode",
36
41
  "PackageType",
37
42
  "PdkAdmin",
38
43
  "PlainElement",
@@ -42,6 +47,7 @@ exports[`exports > exports from index.ts 1`] = `
42
47
  "QUERY_KEY_SHIPMENT",
43
48
  "ResetButton",
44
49
  "ReturnsForm",
50
+ "STORE_MODE_ACTIONS",
45
51
  "ShipmentBarcode",
46
52
  "ShipmentOptionsForm",
47
53
  "ShipmentStatus",
@@ -148,6 +154,7 @@ exports[`exports > exports from index.ts 1`] = `
148
154
  "useMultiSelectInputContext",
149
155
  "useNotificationStore",
150
156
  "useOrderData",
157
+ "useOrderMode",
151
158
  "useOrdersData",
152
159
  "usePdkMutation",
153
160
  "usePrintOrdersMutation",
@@ -12,15 +12,15 @@ declare module '*.vue' {
12
12
  declare const __VUE_PROD_DEVTOOLS__: boolean;
13
13
 
14
14
  declare module '@vue/test-utils' {
15
- export class VueWrapper {
16
- public findByTestId<K extends keyof HTMLElementTagNameMap>(
15
+ export interface VueWrapper {
16
+ findByTestId<K extends keyof HTMLElementTagNameMap>(
17
17
  selector: string | string[],
18
18
  ): DOMWrapper<HTMLElementTagNameMap[K]>;
19
19
 
20
- public findByTestId<K extends keyof SVGElementTagNameMap>(
20
+ findByTestId<K extends keyof SVGElementTagNameMap>(
21
21
  selector: string | string[],
22
22
  ): DOMWrapper<SVGElementTagNameMap[K]>;
23
23
 
24
- public findByTestId<T extends Element | Node = Node>(selector: string | string[]): DOMWrapper<T>;
24
+ findByTestId<T extends Element | Node = Node>(selector: string | string[]): DOMWrapper<T>;
25
25
  }
26
26
  }