@myparcel-dev/pdk-admin-preset-default 2.2.8 → 2.3.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,16 @@
2
2
 
3
3
  <!-- MONOWEAVE:BELOW -->
4
4
 
5
+ ## [2.3.0](https://github.com/myparcelnl/js-pdk/compare/@myparcel-dev/pdk-admin-preset-default@2.2.8...@myparcel-dev/pdk-admin-preset-default@2.3.0) "@myparcel-dev/pdk-admin-preset-default" (2026-10-15)
6
+
7
+
8
+ ### Features
9
+
10
+ * **admin:** wait for bulk label pdfs and show progress while printing ([#490](https://github.com/myparcelnl/js-pdk/issues/490)) ([c093d2d](https://github.com/myparcelnl/js-pdk/commit/c093d2d8fcaef29b5b2b6fbbce20570f76b631b9))
11
+
12
+
13
+
14
+
5
15
  ## [2.2.8](https://github.com/myparcelnl/js-pdk/compare/@myparcel-dev/pdk-admin-preset-default@2.2.7...@myparcel-dev/pdk-admin-preset-default@2.2.8) "@myparcel-dev/pdk-admin-preset-default" (2026-10-06)
6
16
 
7
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myparcel-dev/pdk-admin-preset-default",
3
- "version": "2.2.8",
3
+ "version": "2.3.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/myparcelnl/js-pdk.git",
@@ -27,14 +27,14 @@
27
27
  "typecheck": "run ws:vue:typecheck \"$(pwd)\""
28
28
  },
29
29
  "dependencies": {
30
- "@myparcel-dev/pdk-admin": "^2.2.7",
30
+ "@myparcel-dev/pdk-admin": "^2.3.0",
31
31
  "@myparcel-dev/ts-utils": "^1.15.0",
32
32
  "@vuepic/vue-datepicker": "^11.0.2",
33
33
  "@vueuse/core": "^10.0.0",
34
34
  "vue": "3.4.31"
35
35
  },
36
36
  "devDependencies": {
37
- "@myparcel-dev/pdk-admin-component-tests": "2.2.8",
37
+ "@myparcel-dev/pdk-admin-component-tests": "2.3.0",
38
38
  "@myparcel-dev/pdk-build-vite": "1.0.0-alpha.0",
39
39
  "typescript": "^5.2.2",
40
40
  "vite": "^8.3.1",
@@ -1,5 +1,7 @@
1
1
  <template>
2
- <div v-test="AdminComponent.Notification">
2
+ <div
3
+ v-test="AdminComponent.Notification"
4
+ :aria-busy="notification.loading ? 'true' : undefined">
3
5
  <b
4
6
  v-if="notification.title"
5
7
  v-text="notification.title" />
@@ -14,15 +16,27 @@
14
16
  <p
15
17
  v-else
16
18
  v-text="contentArray[0]" />
19
+
20
+ <span
21
+ v-if="notification.loading"
22
+ v-text="translate('loading')" />
23
+
24
+ <button
25
+ v-if="notification.action"
26
+ type="button"
27
+ @click="notification.action.onClick()"
28
+ v-text="notification.action.label" />
17
29
  </div>
18
30
  </template>
19
31
 
20
32
  <script lang="ts" setup>
21
33
  import {computed} from 'vue';
22
- import {AdminComponent, type NotificationProps} from '@myparcel-dev/pdk-admin';
34
+ import {AdminComponent, type NotificationProps, useLanguage} from '@myparcel-dev/pdk-admin';
23
35
  import {toArray} from '@myparcel-dev/ts-utils';
24
36
 
25
37
  const props = defineProps<NotificationProps>();
26
38
 
27
39
  const contentArray = computed(() => toArray(props.notification.content));
40
+
41
+ const {translate} = useLanguage();
28
42
  </script>