@myparcel-dev/pdk-admin-preset-default 2.2.7 → 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,26 @@
|
|
|
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
|
+
|
|
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)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **admin-component-tests:** fix the drop-off input test and the disabled check ([#493](https://github.com/myparcelnl/js-pdk/issues/493)) ([489c335](https://github.com/myparcelnl/js-pdk/commit/489c335f860226685dd1a324ce9fcdbfe11e0798)), closes [myparcelnl/woocommerce#1943](https://github.com/myparcelnl/woocommerce/issues/1943)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
5
25
|
## [2.2.6](https://github.com/myparcelnl/js-pdk/compare/@myparcel-dev/pdk-admin-preset-default@2.2.5...@myparcel-dev/pdk-admin-preset-default@2.2.6) "@myparcel-dev/pdk-admin-preset-default" (2026-09-24)
|
|
6
26
|
|
|
7
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myparcel-dev/pdk-admin-preset-default",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -50,8 +50,7 @@ executePdkComponentTests({
|
|
|
50
50
|
[AdminComponent.CodeEditor]: DefaultCodeEditor,
|
|
51
51
|
[AdminComponent.Col]: DefaultCol,
|
|
52
52
|
[AdminComponent.CurrencyInput]: DefaultCurrencyInput,
|
|
53
|
-
|
|
54
|
-
// [AdminComponent.DropOffInput]: DefaultDropOffInput,
|
|
53
|
+
[AdminComponent.DropOffInput]: DefaultDropOffInput,
|
|
55
54
|
[AdminComponent.DropdownButton]: DefaultDropdownButton,
|
|
56
55
|
[AdminComponent.FormGroup]: DefaultFormGroup,
|
|
57
56
|
[AdminComponent.Heading]: DefaultHeading,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
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>
|