@webx-ui/core 0.33.3 → 0.34.1

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.
@@ -0,0 +1,26 @@
1
+ import { PropType } from 'vue';
2
+ import { ValidationErrors } from '../composables/useFormField';
3
+ /**
4
+ * A part of a form that answers to its own errors: the form around it, with `errors` replaced.
5
+ *
6
+ * A row of a repeater is a small form inside the big one, and its fields are named as the row
7
+ * names them — `title`, `url`. `WxFormItem` looks its error up by that name on the form, so
8
+ * without a scope a row's `title` shows the error of the record's own `title`, in every row at
9
+ * once, and the row that was actually refused (`articles.2.title.en`) shows nothing.
10
+ *
11
+ * Outside a form there is nothing to narrow, and the slot renders as it is.
12
+ */
13
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
+ errors: {
15
+ type: PropType<ValidationErrors>;
16
+ required: true;
17
+ };
18
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
19
+ [key: string]: any;
20
+ }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ errors: {
22
+ type: PropType<ValidationErrors>;
23
+ required: true;
24
+ };
25
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;