@db-ux/v-core-components 5.6.1 → 5.6.3-icon-font-fallback02-b9fc7c2
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 +8 -0
- package/dist/db-ux.es.js +12 -12
- package/dist/db-ux.umd.js +1 -1
- package/dist/utils/form-components.d.ts +18 -1
- package/package.json +3 -3
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
export declare const handleFrameworkEventAngular: (component: any, event: any, modelValue?: string, lastValue?: any) => void;
|
|
1
|
+
export declare const handleFrameworkEventAngular: (component: any, event: any, modelValue?: string, lastValue?: any, reset?: boolean) => void;
|
|
2
|
+
/**
|
|
3
|
+
* Angular renders the element from `state._value` instead of `props.value`.
|
|
4
|
+
* While the browser cannot parse the current entry (`validity.badInput`, e.g.
|
|
5
|
+
* `29.02.0202` on the way to `29.02.2028`) it reports `value` as an empty
|
|
6
|
+
* string. Mirroring that empty value into the bound expression would write it
|
|
7
|
+
* to the element and clear the native editor with everything the user typed
|
|
8
|
+
* (https://github.com/db-ux-design-system/core-web/issues/7748).
|
|
9
|
+
*
|
|
10
|
+
* The gap is deliberately narrow: it applies only while the element itself
|
|
11
|
+
* reports `badInput` **and** the incoming value is empty. Every other write
|
|
12
|
+
* reaches the display value, which is what keeps a programmatic reset to
|
|
13
|
+
* `undefined` working
|
|
14
|
+
* (https://github.com/db-ux-design-system/core-web/issues/6147).
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const shouldKeepDisplayValue: (element: any, value: any) => boolean;
|
|
2
19
|
export declare const handleFrameworkEventVue: (emit: (event: string, ...args: any[]) => void, event: any, modelValue?: string) => void;
|
|
3
20
|
export declare const addResetEventListener: (element: any, resetFunction: (event: Event) => void, signal: AbortSignal) => void;
|
|
4
21
|
export declare const addCheckedResetEventListener: (element: any, props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.3-icon-font-fallback02-b9fc7c2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dist/"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@db-ux/core-components": "5.6.
|
|
32
|
-
"@db-ux/core-foundations": "5.6.
|
|
31
|
+
"@db-ux/core-components": "5.6.3-icon-font-fallback02-b9fc7c2",
|
|
32
|
+
"@db-ux/core-foundations": "5.6.3-icon-font-fallback02-b9fc7c2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@playwright/experimental-ct-vue": "1.62.1",
|