@stonecrop/aform 0.18.0 → 0.19.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/dist/aform.d.ts +13 -0
- package/dist/aform.js +350 -337
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/src/types/index.d.ts +12 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/components/form/AFormLink.vue +42 -25
- package/src/types/index.ts +13 -0
package/dist/aform.d.ts
CHANGED
|
@@ -50,6 +50,19 @@ export { AForm }
|
|
|
50
50
|
|
|
51
51
|
export { AFormLink }
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* What AFormLink accepts as its `v-model`.
|
|
55
|
+
*
|
|
56
|
+
* Wider than {@link AFormLinkValue} because a link is as often bound straight to its FK column as
|
|
57
|
+
* to a resolved reference: a record loaded from the DB carries the raw scalar, and a parent bound
|
|
58
|
+
* to that column coerces every update it receives back to a scalar. The component reads through
|
|
59
|
+
* `linkId`/`linkDisplayText`/`asLinkValue`, so all three shapes render and resolve identically.
|
|
60
|
+
*
|
|
61
|
+
* Emitting is narrower — AFormLink always writes back an {@link AFormLinkValue}.
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare type AFormLinkModelValue = AFormLinkValue | string | number;
|
|
65
|
+
|
|
53
66
|
/**
|
|
54
67
|
* Navigation contract for AFormLink. Provide via `provide('aformLinkNavigator', ...)` in the app plugin.
|
|
55
68
|
* @public
|