@bridge-ui/vue 0.6.0 → 0.7.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.
Files changed (76) hide show
  1. package/dist/Adapters/I18n/useI18nAdapter.d.ts +1 -1
  2. package/dist/Adapters/I18n/useI18nAdapter.js +4 -1
  3. package/dist/Components/Accordion/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/dist/Components/Accordion/accordion.types.d.ts +2 -2
  5. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +1 -1
  6. package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +33 -28
  7. package/dist/Components/BaseField/BaseFieldCorner.js +5 -0
  8. package/dist/Components/BaseField/BaseFieldCorner.vue.d.ts +17 -0
  9. package/dist/Components/BaseField/BaseFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  10. package/dist/Components/BaseField/baseField.types.d.ts +4 -2
  11. package/dist/Components/BaseField/composables/useBaseField.d.ts +1 -1
  12. package/dist/Components/BaseField/composables/useBaseField.js +11 -8
  13. package/dist/Components/ColorField/composables/useColorField.d.ts +1 -1
  14. package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +154 -131
  15. package/dist/Components/DataTable/DataTablePagination.js +5 -0
  16. package/dist/Components/DataTable/DataTablePagination.vue.d.ts +24 -0
  17. package/dist/Components/DataTable/DataTablePagination.vue_vue_type_script_setup_true_lang.js +40 -0
  18. package/dist/Components/DataTable/composables/useDataTable.d.ts +8 -3
  19. package/dist/Components/DataTable/composables/useDataTable.js +299 -280
  20. package/dist/Components/DataTable/composables/useDataTablePagination.d.ts +69 -0
  21. package/dist/Components/DataTable/composables/useDataTablePagination.js +130 -0
  22. package/dist/Components/DataTable/dataTable.types.d.ts +27 -12
  23. package/dist/Components/DataTable/dataTablePagination.types.d.ts +169 -0
  24. package/dist/Components/DataTable/index.d.ts +2 -1
  25. package/dist/Components/DateField/composables/useDateField.d.ts +1 -1
  26. package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +1 -1
  27. package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +1 -1
  28. package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +1 -1
  29. package/dist/Components/FormField/FilledFormField.vue.d.ts +7 -7
  30. package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  31. package/dist/Components/FormField/FormFieldCorner.js +5 -0
  32. package/dist/Components/FormField/FormFieldCorner.vue.d.ts +17 -0
  33. package/dist/Components/FormField/FormFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  34. package/dist/Components/FormField/NotchedFormField.vue.d.ts +7 -7
  35. package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +31 -26
  36. package/dist/Components/FormField/OutlinedFormField.vue.d.ts +7 -7
  37. package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  38. package/dist/Components/FormField/StackedFormField.vue.d.ts +6 -6
  39. package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +34 -29
  40. package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +7 -7
  41. package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  42. package/dist/Components/FormField/composables/useFormField.d.ts +1 -1
  43. package/dist/Components/FormField/composables/useFormField.js +15 -9
  44. package/dist/Components/FormField/formField.types.d.ts +4 -2
  45. package/dist/Components/NumberField/composables/useNumberField.d.ts +1 -1
  46. package/dist/Components/OtpField/composables/useOtpField.d.ts +1 -1
  47. package/dist/Components/Pagination/Pagination.vue_vue_type_script_setup_true_lang.js +6 -6
  48. package/dist/Components/Pagination/composables/usePagination.d.ts +4 -2
  49. package/dist/Components/Pagination/composables/usePagination.js +125 -127
  50. package/dist/Components/Pagination/pagination.types.d.ts +5 -5
  51. package/dist/Components/PasswordField/composables/usePasswordField.d.ts +1 -1
  52. package/dist/Components/Select/composables/useSelect.d.ts +1 -1
  53. package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
  54. package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +2 -2
  55. package/dist/Components/Tabs/composables/useTabs.js +16 -10
  56. package/dist/Components/Tabs/tabs.types.d.ts +3 -3
  57. package/dist/Components/TextField/composables/useTextField.d.ts +1 -1
  58. package/dist/Components/Textarea/composables/useTextarea.d.ts +1 -1
  59. package/dist/Components/TimeField/composables/useTimeField.d.ts +1 -1
  60. package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +1 -1
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +4 -4
  63. package/docs/components/Accordion.md +1 -1
  64. package/docs/components/DataTable.md +5 -11
  65. package/docs/components/I18n.md +65 -24
  66. package/docs/components/Pagination.md +5 -3
  67. package/docs/components/Table.md +2 -2
  68. package/docs/components/Tabs.md +24 -6
  69. package/docs/examples/i18n-dictionary.ts +28 -10
  70. package/docs/examples/i18n-vue-i18n.ts +7 -6
  71. package/docs/examples/icon-fontawesome.ts +4 -0
  72. package/docs/examples/icon-heroicons.ts +5 -1
  73. package/docs/examples/icon-lucide.ts +4 -0
  74. package/docs/examples/icon-phosphor.ts +4 -0
  75. package/docs/examples/icon-tabler.ts +4 -0
  76. package/package.json +2 -2
@@ -1,42 +1,47 @@
1
1
  import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
2
2
  import r from "../Icon/Icon.js";
3
- import i from "./FormFieldLabel.js";
4
- import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeProps as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
3
+ import i from "./FormFieldCorner.js";
4
+ import a from "./FormFieldLabel.js";
5
+ import { Fragment as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, useSlots as x, withCtx as S } from "vue";
5
6
  //#region src/Components/FormField/FilledFormField.vue?vue&type=script&setup=true&lang.ts
6
- var S = [
7
+ var C = [
7
8
  "data-invalid",
8
9
  "aria-disabled",
9
10
  "aria-readonly"
10
- ], C = ["id"], w = ["id", "aria-hidden"], T = /*@__PURE__*/ f({
11
+ ], w = ["id"], T = ["id", "aria-hidden"], E = /*@__PURE__*/ p({
11
12
  __name: "FilledFormField",
12
13
  props: { api: {} },
13
- setup(f) {
14
- let T = b();
15
- return (b, E) => (g(), s("div", m(f.api.rootBind.value, {
16
- "data-invalid": f.api.invalidated.value || void 0,
17
- "aria-disabled": f.api.isDisabled.value || void 0,
18
- "aria-readonly": f.api.isReadonly.value || void 0
14
+ setup(p) {
15
+ let E = x();
16
+ return (x, D) => (_(), c("div", h(p.api.rootBind.value, {
17
+ "data-invalid": p.api.invalidated.value || void 0,
18
+ "aria-disabled": p.api.isDisabled.value || void 0,
19
+ "aria-readonly": p.api.isReadonly.value || void 0
19
20
  }), [
20
- y(t)(y(T), "label", f.api.merged.value.label) || y(t)(y(T), "corner", f.api.merged.value.corner) ? (g(), s("div", h(m({ key: 0 }, f.api.headerBind.value)), [d(i, { api: f.api }, l({ _: 2 }, [y(e)(y(T), "label") ? {
21
+ b(t)(b(E), "label", p.api.merged.value.label) || b(t)(b(E), "corner", p.api.merged.value.corner) ? (_(), c("div", g(h({ key: 0 }, p.api.headerBind.value)), [f(a, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "label") ? {
21
22
  name: "label",
22
- fn: x(() => [_(b.$slots, "label")]),
23
+ fn: S(() => [v(x.$slots, "label")]),
23
24
  key: "0"
24
- } : void 0]), 1032, ["api"]), y(t)(y(T), "corner", f.api.merged.value.corner) ? (g(), s("span", h(m({ key: 0 }, f.api.cornerBind.value)), [y(e)(y(T), "corner") ? _(b.$slots, "corner", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.corner) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.corner), 1)], 64)) : o("", !0)], 16)) : o("", !0)], 16)) : o("", !0),
25
- c("div", h(p(f.api.containerBind.value)), [
26
- y(e)(y(T), "start") ? (g(), s("div", h(m({ key: 0 }, f.api.startSlotBind.value)), [_(b.$slots, "start")], 16)) : y(n)(f.api.merged.value.start) ? (g(), s("div", h(m({ key: 1 }, f.api.startBind.value)), v(f.api.merged.value.start), 17)) : f.api.merged.value.startIcon ? (g(), s("div", h(m({ key: 2 }, f.api.startBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.startIconBind.value, { icon: f.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0),
27
- _(b.$slots, "default"),
28
- y(e)(y(T), "end") ? (g(), s("div", h(m({ key: 3 }, f.api.endSlotBind.value)), [_(b.$slots, "end")], 16)) : y(n)(f.api.merged.value.end) ? (g(), s("div", h(m({ key: 4 }, f.api.endBind.value)), v(f.api.merged.value.end), 17)) : f.api.invalidated.value && f.api.merged.value.showErrorIcon !== !1 ? (g(), s("div", h(m({ key: 5 }, f.api.endBind.value)), [d(y(r), m({
29
- icon: f.api.errorIcon.value,
30
- size: f.api.merged.value.size
31
- }, f.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : f.api.merged.value.endIcon ? (g(), s("div", h(m({ key: 6 }, f.api.endBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.endIconBind.value, { icon: f.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0)
25
+ } : void 0]), 1032, ["api"]), f(i, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "corner") ? {
26
+ name: "corner",
27
+ fn: S(() => [v(x.$slots, "corner")]),
28
+ key: "0"
29
+ } : void 0]), 1032, ["api"])], 16)) : s("", !0),
30
+ l("div", g(m(p.api.containerBind.value)), [
31
+ b(e)(b(E), "start") ? (_(), c("div", g(h({ key: 0 }, p.api.startSlotBind.value)), [v(x.$slots, "start")], 16)) : b(n)(p.api.merged.value.start) ? (_(), c("div", g(h({ key: 1 }, p.api.startBind.value)), y(p.api.merged.value.start), 17)) : p.api.merged.value.startIcon ? (_(), c("div", g(h({ key: 2 }, p.api.startBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.startIconBind.value, { icon: p.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0),
32
+ v(x.$slots, "default"),
33
+ b(e)(b(E), "end") ? (_(), c("div", g(h({ key: 3 }, p.api.endSlotBind.value)), [v(x.$slots, "end")], 16)) : b(n)(p.api.merged.value.end) ? (_(), c("div", g(h({ key: 4 }, p.api.endBind.value)), y(p.api.merged.value.end), 17)) : p.api.invalidated.value && p.api.merged.value.showErrorIcon !== !1 ? (_(), c("div", g(h({ key: 5 }, p.api.endBind.value)), [f(b(r), h({
34
+ icon: p.api.errorIcon.value,
35
+ size: p.api.merged.value.size
36
+ }, p.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : p.api.merged.value.endIcon ? (_(), c("div", g(h({ key: 6 }, p.api.endBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.endIconBind.value, { icon: p.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0)
32
37
  ], 16),
33
- !f.api.invalidated.value && y(t)(y(T), "description", f.api.merged.value.description) ? (g(), s("p", m({ key: 1 }, f.api.descriptionBind.value, { id: `${f.api.controlId.value}-description` }), [y(e)(y(T), "description") ? _(b.$slots, "description", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.description) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.description), 1)], 64)) : o("", !0)], 16, C)) : o("", !0),
34
- f.api.merged.value.hideErrorMessage ? o("", !0) : (g(), s("p", m({ key: 2 }, f.api.errorBind.value, {
35
- id: `${f.api.controlId.value}-error`,
36
- "aria-hidden": !f.api.showErrorMessageContent.value || void 0
37
- }), [f.api.showErrorMessageContent.value ? (g(), s(a, { key: 0 }, [y(e)(y(T), "errorMessage") ? _(b.$slots, "errorMessage", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.errorMessage) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.errorMessage), 1)], 64)) : o("", !0)], 64)) : o("", !0)], 16, w))
38
- ], 16, S));
38
+ !p.api.invalidated.value && b(t)(b(E), "description", p.api.merged.value.description) ? (_(), c("p", h({ key: 1 }, p.api.descriptionBind.value, { id: `${p.api.controlId.value}-description` }), [b(e)(b(E), "description") ? v(x.$slots, "description", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.description) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.description), 1)], 64)) : s("", !0)], 16, w)) : s("", !0),
39
+ p.api.merged.value.hideErrorMessage ? s("", !0) : (_(), c("p", h({ key: 2 }, p.api.errorBind.value, {
40
+ id: `${p.api.controlId.value}-error`,
41
+ "aria-hidden": !p.api.showErrorMessageContent.value || void 0
42
+ }), [p.api.showErrorMessageContent.value ? (_(), c(o, { key: 0 }, [b(e)(b(E), "errorMessage") ? v(x.$slots, "errorMessage", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.errorMessage) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.errorMessage), 1)], 64)) : s("", !0)], 64)) : s("", !0)], 16, T))
43
+ ], 16, C));
39
44
  }
40
45
  });
41
46
  //#endregion
42
- export { T as default };
47
+ export { E as default };
@@ -0,0 +1,5 @@
1
+ import e from "./FormFieldCorner.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/Components/FormField/FormFieldCorner.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,17 @@
1
+ import { UseFormFieldReturn } from './composables/useFormField';
2
+ type __VLS_Props = {
3
+ api: UseFormFieldReturn;
4
+ };
5
+ declare var __VLS_8: {};
6
+ type __VLS_Slots = {} & {
7
+ corner?: (props: typeof __VLS_8) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ import { hasNamedSlot as e, hasSlotOrProp as t } from "../../Utils/slotOrProp.js";
2
+ import n from "../Label/Label.js";
3
+ import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createTextVNode as s, defineComponent as c, mergeProps as l, normalizeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useSlots as h, withCtx as g } from "vue";
4
+ //#region src/Components/FormField/FormFieldCorner.vue?vue&type=script&setup=true&lang.ts
5
+ var _ = /*@__PURE__*/ c({
6
+ __name: "FormFieldCorner",
7
+ props: { api: {} },
8
+ setup(c) {
9
+ let _ = h();
10
+ return (h, v) => m(t)(m(_), "corner", c.api.merged.value.corner) ? (d(), i(m(n), u(l({ key: 0 }, c.api.fieldCornerProps.value)), {
11
+ default: g(() => [m(e)(m(_), "corner") ? f(h.$slots, "corner", {}, void 0, void 0, 0) : (d(), o(r, { key: 1 }, [s(p(c.api.merged.value.corner), 1)], 64))]),
12
+ _: 3
13
+ }, 16)) : a("", !0);
14
+ }
15
+ });
16
+ //#endregion
17
+ export { _ as default };
@@ -2,21 +2,21 @@ import { UseFormFieldReturn } from './composables/useFormField';
2
2
  type __VLS_Props = {
3
3
  api: UseFormFieldReturn;
4
4
  };
5
- declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_19: {}, __VLS_21: {}, __VLS_33: {}, __VLS_35: {};
5
+ declare var __VLS_8: {}, __VLS_17: {}, __VLS_19: {}, __VLS_26: {}, __VLS_28: {}, __VLS_40: {}, __VLS_42: {};
6
6
  type __VLS_Slots = {} & {
7
7
  label?: (props: typeof __VLS_8) => any;
8
8
  } & {
9
- corner?: (props: typeof __VLS_10) => any;
9
+ corner?: (props: typeof __VLS_17) => any;
10
10
  } & {
11
- start?: (props: typeof __VLS_12) => any;
11
+ start?: (props: typeof __VLS_19) => any;
12
12
  } & {
13
- default?: (props: typeof __VLS_19) => any;
13
+ default?: (props: typeof __VLS_26) => any;
14
14
  } & {
15
- end?: (props: typeof __VLS_21) => any;
15
+ end?: (props: typeof __VLS_28) => any;
16
16
  } & {
17
- description?: (props: typeof __VLS_33) => any;
17
+ description?: (props: typeof __VLS_40) => any;
18
18
  } & {
19
- errorMessage?: (props: typeof __VLS_35) => any;
19
+ errorMessage?: (props: typeof __VLS_42) => any;
20
20
  };
21
21
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,41 +1,46 @@
1
1
  import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
2
2
  import r from "../Icon/Icon.js";
3
- import i from "./FormFieldLabel.js";
4
- import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeProps as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
3
+ import i from "./FormFieldCorner.js";
4
+ import a from "./FormFieldLabel.js";
5
+ import { Fragment as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, useSlots as x, withCtx as S } from "vue";
5
6
  //#region src/Components/FormField/NotchedFormField.vue?vue&type=script&setup=true&lang.ts
6
- var S = [
7
+ var C = [
7
8
  "data-invalid",
8
9
  "aria-disabled",
9
10
  "aria-readonly"
10
- ], C = { class: "flex min-h-0 w-full flex-1 items-stretch gap-x-2" }, w = ["id"], T = ["id", "aria-hidden"], E = /*@__PURE__*/ f({
11
+ ], w = { class: "flex min-h-0 w-full flex-1 items-stretch gap-x-2" }, T = ["id"], E = ["id", "aria-hidden"], D = /*@__PURE__*/ p({
11
12
  __name: "NotchedFormField",
12
13
  props: { api: {} },
13
- setup(f) {
14
- let E = b();
15
- return (b, D) => (g(), s("div", m(f.api.rootBind.value, {
16
- "data-invalid": f.api.invalidated.value || void 0,
17
- "aria-disabled": f.api.isDisabled.value || void 0,
18
- "aria-readonly": f.api.isReadonly.value || void 0
14
+ setup(p) {
15
+ let D = x();
16
+ return (x, O) => (_(), c("div", h(p.api.rootBind.value, {
17
+ "data-invalid": p.api.invalidated.value || void 0,
18
+ "aria-disabled": p.api.isDisabled.value || void 0,
19
+ "aria-readonly": p.api.isReadonly.value || void 0
19
20
  }), [
20
- c("div", h(p(f.api.containerBind.value)), [f.api.hasInsetLabelRow.value ? (g(), s("div", h(m({ key: 0 }, f.api.insetLabelRowBind.value)), [d(i, { api: f.api }, l({ _: 2 }, [y(e)(y(E), "label") ? {
21
+ l("div", g(m(p.api.containerBind.value)), [p.api.hasInsetLabelRow.value ? (_(), c("div", g(h({ key: 0 }, p.api.insetLabelRowBind.value)), [f(a, { api: p.api }, u({ _: 2 }, [b(e)(b(D), "label") ? {
21
22
  name: "label",
22
- fn: x(() => [_(b.$slots, "label")]),
23
+ fn: S(() => [v(x.$slots, "label")]),
23
24
  key: "0"
24
- } : void 0]), 1032, ["api"]), y(t)(y(E), "corner", f.api.merged.value.corner) ? (g(), s("span", h(m({ key: 0 }, f.api.cornerBind.value)), [y(e)(y(E), "corner") ? _(b.$slots, "corner", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.corner) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.corner), 1)], 64)) : o("", !0)], 16)) : o("", !0)], 16)) : o("", !0), c("div", C, [
25
- y(e)(y(E), "start") ? (g(), s("div", h(m({ key: 0 }, f.api.startSlotBind.value)), [_(b.$slots, "start")], 16)) : y(n)(f.api.merged.value.start) ? (g(), s("div", h(m({ key: 1 }, f.api.startBind.value)), v(f.api.merged.value.start), 17)) : f.api.merged.value.startIcon ? (g(), s("div", h(m({ key: 2 }, f.api.startBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.startIconBind.value, { icon: f.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0),
26
- _(b.$slots, "default"),
27
- y(e)(y(E), "end") ? (g(), s("div", h(m({ key: 3 }, f.api.endSlotBind.value)), [_(b.$slots, "end")], 16)) : y(n)(f.api.merged.value.end) ? (g(), s("div", h(m({ key: 4 }, f.api.endBind.value)), v(f.api.merged.value.end), 17)) : f.api.invalidated.value && f.api.merged.value.showErrorIcon !== !1 ? (g(), s("div", h(m({ key: 5 }, f.api.endBind.value)), [d(y(r), m({
28
- icon: f.api.errorIcon.value,
29
- size: f.api.merged.value.size
30
- }, f.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : f.api.merged.value.endIcon ? (g(), s("div", h(m({ key: 6 }, f.api.endBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.endIconBind.value, { icon: f.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0)
25
+ } : void 0]), 1032, ["api"]), f(i, { api: p.api }, u({ _: 2 }, [b(e)(b(D), "corner") ? {
26
+ name: "corner",
27
+ fn: S(() => [v(x.$slots, "corner")]),
28
+ key: "0"
29
+ } : void 0]), 1032, ["api"])], 16)) : s("", !0), l("div", w, [
30
+ b(e)(b(D), "start") ? (_(), c("div", g(h({ key: 0 }, p.api.startSlotBind.value)), [v(x.$slots, "start")], 16)) : b(n)(p.api.merged.value.start) ? (_(), c("div", g(h({ key: 1 }, p.api.startBind.value)), y(p.api.merged.value.start), 17)) : p.api.merged.value.startIcon ? (_(), c("div", g(h({ key: 2 }, p.api.startBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.startIconBind.value, { icon: p.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0),
31
+ v(x.$slots, "default"),
32
+ b(e)(b(D), "end") ? (_(), c("div", g(h({ key: 3 }, p.api.endSlotBind.value)), [v(x.$slots, "end")], 16)) : b(n)(p.api.merged.value.end) ? (_(), c("div", g(h({ key: 4 }, p.api.endBind.value)), y(p.api.merged.value.end), 17)) : p.api.invalidated.value && p.api.merged.value.showErrorIcon !== !1 ? (_(), c("div", g(h({ key: 5 }, p.api.endBind.value)), [f(b(r), h({
33
+ icon: p.api.errorIcon.value,
34
+ size: p.api.merged.value.size
35
+ }, p.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : p.api.merged.value.endIcon ? (_(), c("div", g(h({ key: 6 }, p.api.endBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.endIconBind.value, { icon: p.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0)
31
36
  ])], 16),
32
- !f.api.invalidated.value && y(t)(y(E), "description", f.api.merged.value.description) ? (g(), s("p", m({ key: 0 }, f.api.descriptionBind.value, { id: `${f.api.controlId.value}-description` }), [y(e)(y(E), "description") ? _(b.$slots, "description", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.description) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.description), 1)], 64)) : o("", !0)], 16, w)) : o("", !0),
33
- f.api.merged.value.hideErrorMessage ? o("", !0) : (g(), s("p", m({ key: 1 }, f.api.errorBind.value, {
34
- id: `${f.api.controlId.value}-error`,
35
- "aria-hidden": !f.api.showErrorMessageContent.value || void 0
36
- }), [f.api.showErrorMessageContent.value ? (g(), s(a, { key: 0 }, [y(e)(y(E), "errorMessage") ? _(b.$slots, "errorMessage", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.errorMessage) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.errorMessage), 1)], 64)) : o("", !0)], 64)) : o("", !0)], 16, T))
37
- ], 16, S));
37
+ !p.api.invalidated.value && b(t)(b(D), "description", p.api.merged.value.description) ? (_(), c("p", h({ key: 0 }, p.api.descriptionBind.value, { id: `${p.api.controlId.value}-description` }), [b(e)(b(D), "description") ? v(x.$slots, "description", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.description) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.description), 1)], 64)) : s("", !0)], 16, T)) : s("", !0),
38
+ p.api.merged.value.hideErrorMessage ? s("", !0) : (_(), c("p", h({ key: 1 }, p.api.errorBind.value, {
39
+ id: `${p.api.controlId.value}-error`,
40
+ "aria-hidden": !p.api.showErrorMessageContent.value || void 0
41
+ }), [p.api.showErrorMessageContent.value ? (_(), c(o, { key: 0 }, [b(e)(b(D), "errorMessage") ? v(x.$slots, "errorMessage", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.errorMessage) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.errorMessage), 1)], 64)) : s("", !0)], 64)) : s("", !0)], 16, E))
42
+ ], 16, C));
38
43
  }
39
44
  });
40
45
  //#endregion
41
- export { E as default };
46
+ export { D as default };
@@ -2,21 +2,21 @@ import { UseFormFieldReturn } from './composables/useFormField';
2
2
  type __VLS_Props = {
3
3
  api: UseFormFieldReturn;
4
4
  };
5
- declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_19: {}, __VLS_21: {}, __VLS_33: {}, __VLS_35: {};
5
+ declare var __VLS_8: {}, __VLS_17: {}, __VLS_19: {}, __VLS_26: {}, __VLS_28: {}, __VLS_40: {}, __VLS_42: {};
6
6
  type __VLS_Slots = {} & {
7
7
  label?: (props: typeof __VLS_8) => any;
8
8
  } & {
9
- corner?: (props: typeof __VLS_10) => any;
9
+ corner?: (props: typeof __VLS_17) => any;
10
10
  } & {
11
- start?: (props: typeof __VLS_12) => any;
11
+ start?: (props: typeof __VLS_19) => any;
12
12
  } & {
13
- default?: (props: typeof __VLS_19) => any;
13
+ default?: (props: typeof __VLS_26) => any;
14
14
  } & {
15
- end?: (props: typeof __VLS_21) => any;
15
+ end?: (props: typeof __VLS_28) => any;
16
16
  } & {
17
- description?: (props: typeof __VLS_33) => any;
17
+ description?: (props: typeof __VLS_40) => any;
18
18
  } & {
19
- errorMessage?: (props: typeof __VLS_35) => any;
19
+ errorMessage?: (props: typeof __VLS_42) => any;
20
20
  };
21
21
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,42 +1,47 @@
1
1
  import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
2
2
  import r from "../Icon/Icon.js";
3
- import i from "./FormFieldLabel.js";
4
- import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeProps as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
3
+ import i from "./FormFieldCorner.js";
4
+ import a from "./FormFieldLabel.js";
5
+ import { Fragment as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, useSlots as x, withCtx as S } from "vue";
5
6
  //#region src/Components/FormField/OutlinedFormField.vue?vue&type=script&setup=true&lang.ts
6
- var S = [
7
+ var C = [
7
8
  "data-invalid",
8
9
  "aria-disabled",
9
10
  "aria-readonly"
10
- ], C = ["id"], w = ["id", "aria-hidden"], T = /*@__PURE__*/ f({
11
+ ], w = ["id"], T = ["id", "aria-hidden"], E = /*@__PURE__*/ p({
11
12
  __name: "OutlinedFormField",
12
13
  props: { api: {} },
13
- setup(f) {
14
- let T = b();
15
- return (b, E) => (g(), s("div", m(f.api.rootBind.value, {
16
- "data-invalid": f.api.invalidated.value || void 0,
17
- "aria-disabled": f.api.isDisabled.value || void 0,
18
- "aria-readonly": f.api.isReadonly.value || void 0
14
+ setup(p) {
15
+ let E = x();
16
+ return (x, D) => (_(), c("div", h(p.api.rootBind.value, {
17
+ "data-invalid": p.api.invalidated.value || void 0,
18
+ "aria-disabled": p.api.isDisabled.value || void 0,
19
+ "aria-readonly": p.api.isReadonly.value || void 0
19
20
  }), [
20
- y(t)(y(T), "label", f.api.merged.value.label) || y(t)(y(T), "corner", f.api.merged.value.corner) ? (g(), s("div", h(m({ key: 0 }, f.api.headerBind.value)), [d(i, { api: f.api }, l({ _: 2 }, [y(e)(y(T), "label") ? {
21
+ b(t)(b(E), "label", p.api.merged.value.label) || b(t)(b(E), "corner", p.api.merged.value.corner) ? (_(), c("div", g(h({ key: 0 }, p.api.headerBind.value)), [f(a, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "label") ? {
21
22
  name: "label",
22
- fn: x(() => [_(b.$slots, "label")]),
23
+ fn: S(() => [v(x.$slots, "label")]),
23
24
  key: "0"
24
- } : void 0]), 1032, ["api"]), y(t)(y(T), "corner", f.api.merged.value.corner) ? (g(), s("span", h(m({ key: 0 }, f.api.cornerBind.value)), [y(e)(y(T), "corner") ? _(b.$slots, "corner", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.corner) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.corner), 1)], 64)) : o("", !0)], 16)) : o("", !0)], 16)) : o("", !0),
25
- c("div", h(p(f.api.containerBind.value)), [
26
- y(e)(y(T), "start") ? (g(), s("div", h(m({ key: 0 }, f.api.startSlotBind.value)), [_(b.$slots, "start")], 16)) : y(n)(f.api.merged.value.start) ? (g(), s("div", h(m({ key: 1 }, f.api.startBind.value)), v(f.api.merged.value.start), 17)) : f.api.merged.value.startIcon ? (g(), s("div", h(m({ key: 2 }, f.api.startBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.startIconBind.value, { icon: f.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0),
27
- _(b.$slots, "default"),
28
- y(e)(y(T), "end") ? (g(), s("div", h(m({ key: 3 }, f.api.endSlotBind.value)), [_(b.$slots, "end")], 16)) : y(n)(f.api.merged.value.end) ? (g(), s("div", h(m({ key: 4 }, f.api.endBind.value)), v(f.api.merged.value.end), 17)) : f.api.invalidated.value && f.api.merged.value.showErrorIcon !== !1 ? (g(), s("div", h(m({ key: 5 }, f.api.endBind.value)), [d(y(r), m({
29
- icon: f.api.errorIcon.value,
30
- size: f.api.merged.value.size
31
- }, f.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : f.api.merged.value.endIcon ? (g(), s("div", h(m({ key: 6 }, f.api.endBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.endIconBind.value, { icon: f.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0)
25
+ } : void 0]), 1032, ["api"]), f(i, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "corner") ? {
26
+ name: "corner",
27
+ fn: S(() => [v(x.$slots, "corner")]),
28
+ key: "0"
29
+ } : void 0]), 1032, ["api"])], 16)) : s("", !0),
30
+ l("div", g(m(p.api.containerBind.value)), [
31
+ b(e)(b(E), "start") ? (_(), c("div", g(h({ key: 0 }, p.api.startSlotBind.value)), [v(x.$slots, "start")], 16)) : b(n)(p.api.merged.value.start) ? (_(), c("div", g(h({ key: 1 }, p.api.startBind.value)), y(p.api.merged.value.start), 17)) : p.api.merged.value.startIcon ? (_(), c("div", g(h({ key: 2 }, p.api.startBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.startIconBind.value, { icon: p.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0),
32
+ v(x.$slots, "default"),
33
+ b(e)(b(E), "end") ? (_(), c("div", g(h({ key: 3 }, p.api.endSlotBind.value)), [v(x.$slots, "end")], 16)) : b(n)(p.api.merged.value.end) ? (_(), c("div", g(h({ key: 4 }, p.api.endBind.value)), y(p.api.merged.value.end), 17)) : p.api.invalidated.value && p.api.merged.value.showErrorIcon !== !1 ? (_(), c("div", g(h({ key: 5 }, p.api.endBind.value)), [f(b(r), h({
34
+ icon: p.api.errorIcon.value,
35
+ size: p.api.merged.value.size
36
+ }, p.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : p.api.merged.value.endIcon ? (_(), c("div", g(h({ key: 6 }, p.api.endBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.endIconBind.value, { icon: p.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0)
32
37
  ], 16),
33
- !f.api.invalidated.value && y(t)(y(T), "description", f.api.merged.value.description) ? (g(), s("p", m({ key: 1 }, f.api.descriptionBind.value, { id: `${f.api.controlId.value}-description` }), [y(e)(y(T), "description") ? _(b.$slots, "description", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.description) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.description), 1)], 64)) : o("", !0)], 16, C)) : o("", !0),
34
- f.api.merged.value.hideErrorMessage ? o("", !0) : (g(), s("p", m({ key: 2 }, f.api.errorBind.value, {
35
- id: `${f.api.controlId.value}-error`,
36
- "aria-hidden": !f.api.showErrorMessageContent.value || void 0
37
- }), [f.api.showErrorMessageContent.value ? (g(), s(a, { key: 0 }, [y(e)(y(T), "errorMessage") ? _(b.$slots, "errorMessage", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.errorMessage) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.errorMessage), 1)], 64)) : o("", !0)], 64)) : o("", !0)], 16, w))
38
- ], 16, S));
38
+ !p.api.invalidated.value && b(t)(b(E), "description", p.api.merged.value.description) ? (_(), c("p", h({ key: 1 }, p.api.descriptionBind.value, { id: `${p.api.controlId.value}-description` }), [b(e)(b(E), "description") ? v(x.$slots, "description", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.description) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.description), 1)], 64)) : s("", !0)], 16, w)) : s("", !0),
39
+ p.api.merged.value.hideErrorMessage ? s("", !0) : (_(), c("p", h({ key: 2 }, p.api.errorBind.value, {
40
+ id: `${p.api.controlId.value}-error`,
41
+ "aria-hidden": !p.api.showErrorMessageContent.value || void 0
42
+ }), [p.api.showErrorMessageContent.value ? (_(), c(o, { key: 0 }, [b(e)(b(E), "errorMessage") ? v(x.$slots, "errorMessage", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.errorMessage) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.errorMessage), 1)], 64)) : s("", !0)], 64)) : s("", !0)], 16, T))
43
+ ], 16, C));
39
44
  }
40
45
  });
41
46
  //#endregion
42
- export { T as default };
47
+ export { E as default };
@@ -2,21 +2,21 @@ import { UseFormFieldReturn } from './composables/useFormField';
2
2
  type __VLS_Props = {
3
3
  api: UseFormFieldReturn;
4
4
  };
5
- declare var __VLS_1: {}, __VLS_10: {}, __VLS_12: {}, __VLS_19: {}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {};
5
+ declare var __VLS_1: {}, __VLS_10: {}, __VLS_19: {}, __VLS_26: {}, __VLS_38: {}, __VLS_40: {}, __VLS_42: {};
6
6
  type __VLS_Slots = {} & {
7
7
  start?: (props: typeof __VLS_1) => any;
8
8
  } & {
9
9
  label?: (props: typeof __VLS_10) => any;
10
10
  } & {
11
- corner?: (props: typeof __VLS_12) => any;
11
+ corner?: (props: typeof __VLS_19) => any;
12
12
  } & {
13
- default?: (props: typeof __VLS_19) => any;
13
+ default?: (props: typeof __VLS_26) => any;
14
14
  } & {
15
- end?: (props: typeof __VLS_31) => any;
15
+ end?: (props: typeof __VLS_38) => any;
16
16
  } & {
17
- description?: (props: typeof __VLS_33) => any;
17
+ description?: (props: typeof __VLS_40) => any;
18
18
  } & {
19
- errorMessage?: (props: typeof __VLS_35) => any;
19
+ errorMessage?: (props: typeof __VLS_42) => any;
20
20
  };
21
21
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,45 +1,50 @@
1
1
  import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
2
2
  import r from "../Icon/Icon.js";
3
- import i from "./FormFieldLabel.js";
4
- import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeProps as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
3
+ import i from "./FormFieldCorner.js";
4
+ import a from "./FormFieldLabel.js";
5
+ import { Fragment as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, useSlots as x, withCtx as S } from "vue";
5
6
  //#region src/Components/FormField/StackedFormField.vue?vue&type=script&setup=true&lang.ts
6
- var S = [
7
+ var C = [
7
8
  "data-invalid",
8
9
  "aria-disabled",
9
10
  "aria-readonly"
10
- ], C = ["id"], w = ["id", "aria-hidden"], T = /*@__PURE__*/ f({
11
+ ], w = ["id"], T = ["id", "aria-hidden"], E = /*@__PURE__*/ p({
11
12
  __name: "StackedFormField",
12
13
  props: { api: {} },
13
- setup(f) {
14
- let T = b();
15
- return (b, E) => (g(), s("div", m(f.api.rootBind.value, {
16
- "data-invalid": f.api.invalidated.value || void 0,
17
- "aria-disabled": f.api.isDisabled.value || void 0,
18
- "aria-readonly": f.api.isReadonly.value || void 0
14
+ setup(p) {
15
+ let E = x();
16
+ return (x, D) => (_(), c("div", h(p.api.rootBind.value, {
17
+ "data-invalid": p.api.invalidated.value || void 0,
18
+ "aria-disabled": p.api.isDisabled.value || void 0,
19
+ "aria-readonly": p.api.isReadonly.value || void 0
19
20
  }), [
20
- c("div", h(p(f.api.containerBind.value)), [
21
- y(e)(y(T), "start") ? (g(), s("div", h(m({ key: 0 }, f.api.startSlotBind.value)), [_(b.$slots, "start")], 16)) : o("", !0),
22
- c("div", h(p(f.api.stackedBodyBind.value)), [f.api.hasInsetLabelRow.value ? (g(), s("div", h(m({ key: 0 }, f.api.insetLabelRowBind.value)), [d(i, { api: f.api }, l({ _: 2 }, [y(e)(y(T), "label") ? {
21
+ l("div", g(m(p.api.containerBind.value)), [
22
+ b(e)(b(E), "start") ? (_(), c("div", g(h({ key: 0 }, p.api.startSlotBind.value)), [v(x.$slots, "start")], 16)) : s("", !0),
23
+ l("div", g(m(p.api.stackedBodyBind.value)), [p.api.hasInsetLabelRow.value ? (_(), c("div", g(h({ key: 0 }, p.api.insetLabelRowBind.value)), [f(a, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "label") ? {
23
24
  name: "label",
24
- fn: x(() => [_(b.$slots, "label")]),
25
+ fn: S(() => [v(x.$slots, "label")]),
25
26
  key: "0"
26
- } : void 0]), 1032, ["api"]), y(t)(y(T), "corner", f.api.merged.value.corner) ? (g(), s("span", h(m({ key: 0 }, f.api.cornerBind.value)), [y(e)(y(T), "corner") ? _(b.$slots, "corner", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.corner) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.corner), 1)], 64)) : o("", !0)], 16)) : o("", !0)], 16)) : o("", !0), c("div", h(p(f.api.stackedInputRowBind.value)), [
27
- y(n)(f.api.merged.value.start) ? (g(), s("div", h(m({ key: 0 }, f.api.startBind.value)), v(f.api.merged.value.start), 17)) : f.api.merged.value.startIcon ? (g(), s("div", h(m({ key: 1 }, f.api.startBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.startIconBind.value, { icon: f.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0),
28
- _(b.$slots, "default"),
29
- y(n)(f.api.merged.value.end) ? (g(), s("div", h(m({ key: 2 }, f.api.endBind.value)), v(f.api.merged.value.end), 17)) : f.api.invalidated.value && f.api.merged.value.showErrorIcon !== !1 ? (g(), s("div", h(m({ key: 3 }, f.api.endBind.value)), [d(y(r), m({
30
- icon: f.api.errorIcon.value,
31
- size: f.api.merged.value.size
32
- }, f.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : f.api.merged.value.endIcon ? (g(), s("div", h(m({ key: 4 }, f.api.endBind.value)), [d(y(r), m({ size: f.api.merged.value.size }, f.api.endIconBind.value, { icon: f.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : o("", !0)
27
+ } : void 0]), 1032, ["api"]), f(i, { api: p.api }, u({ _: 2 }, [b(e)(b(E), "corner") ? {
28
+ name: "corner",
29
+ fn: S(() => [v(x.$slots, "corner")]),
30
+ key: "0"
31
+ } : void 0]), 1032, ["api"])], 16)) : s("", !0), l("div", g(m(p.api.stackedInputRowBind.value)), [
32
+ b(n)(p.api.merged.value.start) ? (_(), c("div", g(h({ key: 0 }, p.api.startBind.value)), y(p.api.merged.value.start), 17)) : p.api.merged.value.startIcon ? (_(), c("div", g(h({ key: 1 }, p.api.startBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.startIconBind.value, { icon: p.api.merged.value.startIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0),
33
+ v(x.$slots, "default"),
34
+ b(n)(p.api.merged.value.end) ? (_(), c("div", g(h({ key: 2 }, p.api.endBind.value)), y(p.api.merged.value.end), 17)) : p.api.invalidated.value && p.api.merged.value.showErrorIcon !== !1 ? (_(), c("div", g(h({ key: 3 }, p.api.endBind.value)), [f(b(r), h({
35
+ icon: p.api.errorIcon.value,
36
+ size: p.api.merged.value.size
37
+ }, p.api.endIconBind.value), null, 16, ["icon", "size"])], 16)) : p.api.merged.value.endIcon ? (_(), c("div", g(h({ key: 4 }, p.api.endBind.value)), [f(b(r), h({ size: p.api.merged.value.size }, p.api.endIconBind.value, { icon: p.api.merged.value.endIcon }), null, 16, ["size", "icon"])], 16)) : s("", !0)
33
38
  ], 16)], 16),
34
- y(e)(y(T), "end") ? (g(), s("div", h(m({ key: 1 }, f.api.endSlotBind.value)), [_(b.$slots, "end")], 16)) : o("", !0)
39
+ b(e)(b(E), "end") ? (_(), c("div", g(h({ key: 1 }, p.api.endSlotBind.value)), [v(x.$slots, "end")], 16)) : s("", !0)
35
40
  ], 16),
36
- !f.api.invalidated.value && y(t)(y(T), "description", f.api.merged.value.description) ? (g(), s("p", m({ key: 0 }, f.api.descriptionBind.value, { id: `${f.api.controlId.value}-description` }), [y(e)(y(T), "description") ? _(b.$slots, "description", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.description) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.description), 1)], 64)) : o("", !0)], 16, C)) : o("", !0),
37
- f.api.merged.value.hideErrorMessage ? o("", !0) : (g(), s("p", m({ key: 1 }, f.api.errorBind.value, {
38
- id: `${f.api.controlId.value}-error`,
39
- "aria-hidden": !f.api.showErrorMessageContent.value || void 0
40
- }), [f.api.showErrorMessageContent.value ? (g(), s(a, { key: 0 }, [y(e)(y(T), "errorMessage") ? _(b.$slots, "errorMessage", {}, void 0, void 0, 0) : y(n)(f.api.merged.value.errorMessage) ? (g(), s(a, { key: 1 }, [u(v(f.api.merged.value.errorMessage), 1)], 64)) : o("", !0)], 64)) : o("", !0)], 16, w))
41
- ], 16, S));
41
+ !p.api.invalidated.value && b(t)(b(E), "description", p.api.merged.value.description) ? (_(), c("p", h({ key: 0 }, p.api.descriptionBind.value, { id: `${p.api.controlId.value}-description` }), [b(e)(b(E), "description") ? v(x.$slots, "description", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.description) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.description), 1)], 64)) : s("", !0)], 16, w)) : s("", !0),
42
+ p.api.merged.value.hideErrorMessage ? s("", !0) : (_(), c("p", h({ key: 1 }, p.api.errorBind.value, {
43
+ id: `${p.api.controlId.value}-error`,
44
+ "aria-hidden": !p.api.showErrorMessageContent.value || void 0
45
+ }), [p.api.showErrorMessageContent.value ? (_(), c(o, { key: 0 }, [b(e)(b(E), "errorMessage") ? v(x.$slots, "errorMessage", {}, void 0, void 0, 0) : b(n)(p.api.merged.value.errorMessage) ? (_(), c(o, { key: 1 }, [d(y(p.api.merged.value.errorMessage), 1)], 64)) : s("", !0)], 64)) : s("", !0)], 16, T))
46
+ ], 16, C));
42
47
  }
43
48
  });
44
49
  //#endregion
45
- export { T as default };
50
+ export { E as default };
@@ -2,21 +2,21 @@ import { UseFormFieldReturn } from './composables/useFormField';
2
2
  type __VLS_Props = {
3
3
  api: UseFormFieldReturn;
4
4
  };
5
- declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_19: {}, __VLS_21: {}, __VLS_33: {}, __VLS_35: {};
5
+ declare var __VLS_8: {}, __VLS_17: {}, __VLS_19: {}, __VLS_26: {}, __VLS_28: {}, __VLS_40: {}, __VLS_42: {};
6
6
  type __VLS_Slots = {} & {
7
7
  label?: (props: typeof __VLS_8) => any;
8
8
  } & {
9
- corner?: (props: typeof __VLS_10) => any;
9
+ corner?: (props: typeof __VLS_17) => any;
10
10
  } & {
11
- start?: (props: typeof __VLS_12) => any;
11
+ start?: (props: typeof __VLS_19) => any;
12
12
  } & {
13
- default?: (props: typeof __VLS_19) => any;
13
+ default?: (props: typeof __VLS_26) => any;
14
14
  } & {
15
- end?: (props: typeof __VLS_21) => any;
15
+ end?: (props: typeof __VLS_28) => any;
16
16
  } & {
17
- description?: (props: typeof __VLS_33) => any;
17
+ description?: (props: typeof __VLS_40) => any;
18
18
  } & {
19
- errorMessage?: (props: typeof __VLS_35) => any;
19
+ errorMessage?: (props: typeof __VLS_42) => any;
20
20
  };
21
21
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;