@caipira/tamandua 0.0.112 → 0.0.114

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/Form.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-BwcOBEkF.js";
2
- import { p as a } from "./plugin-DB0XiYOM.js";
1
+ import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-BCHodpyU.js";
2
+ import { p as a } from "./plugin-Dh8Ga8Cy.js";
3
3
  export {
4
4
  m as Form,
5
5
  a as FormPlugin
@@ -1,37 +1,37 @@
1
- import { reactive as C, defineComponent as $, ref as _, computed as N, watch as O, provide as z, resolveComponent as A, openBlock as J, createElementBlock as P, renderSlot as j, unref as E, createElementVNode as B, normalizeClass as T, withDirectives as W, createVNode as R, mergeProps as q, vShow as x } from "vue";
1
+ import { reactive as C, defineComponent as $, ref as _, computed as N, watch as O, provide as z, resolveComponent as A, openBlock as J, createElementBlock as P, renderSlot as j, unref as B, createElementVNode as E, normalizeClass as T, withDirectives as W, createVNode as R, mergeProps as q, vShow as x } from "vue";
2
2
  import { F as G } from "./ui-UhY-K-wS.js";
3
3
  import { F as s, a as f } from "./form-Dctryp6H.js";
4
4
  import { d as h, c as S, p as F, a as V } from "./transformers-BORZfvK0.js";
5
5
  const i = {
6
- default: (e, t, r) => (t[r] = e, t),
7
- price: (e, t, r, n = ["Currency", "Value"]) => {
8
- const [c, a] = F(e);
9
- return t[`${r}${n[0]}`] = c, t[`${r}${n[1]}`] = a, t;
6
+ default: (r, t, e) => (t[e] = r, t),
7
+ price: (r, t, e, n = ["Currency", "Value"]) => {
8
+ const [c, a] = F(r);
9
+ return t[`${e}${n[0]}`] = c, t[`${e}${n[1]}`] = a, t;
10
10
  },
11
- password: async (e, t, r) => (t[r] = V(e), t)
12
- }, H = async (e, t, r, n) => {
13
- switch (e) {
11
+ password: async (r, t, e) => (t[e] = V(r), t)
12
+ }, H = async (r, t, e, n) => {
13
+ switch (r) {
14
14
  case s.Address:
15
15
  return i.default(
16
- r,
16
+ e,
17
17
  t,
18
18
  n
19
19
  );
20
20
  case s.Boolean:
21
21
  return i.default(
22
- r,
22
+ e,
23
23
  t,
24
24
  n
25
25
  );
26
26
  case s.Country:
27
27
  return i.default(
28
- S(r),
28
+ S(e),
29
29
  t,
30
30
  n
31
31
  );
32
32
  case s.Date:
33
33
  return i.default(
34
- h(r),
34
+ h(e),
35
35
  t,
36
36
  n
37
37
  );
@@ -40,98 +40,101 @@ const i = {
40
40
  throw new Error("Cannot append files to JSON!");
41
41
  case s.Price:
42
42
  return i.price(
43
- r,
43
+ e,
44
44
  t,
45
45
  n
46
46
  );
47
47
  case s.Password:
48
48
  return await i.password(
49
- r,
49
+ e,
50
50
  t,
51
51
  n
52
52
  );
53
53
  case s.StringArray:
54
54
  return i.default(
55
- r,
55
+ e,
56
56
  t,
57
57
  n
58
58
  );
59
59
  default:
60
60
  return i.default(
61
- r,
61
+ e,
62
62
  t,
63
63
  n
64
64
  );
65
65
  }
66
- }, p = (e) => (e == null ? e = "" : typeof e == "object" ? e = JSON.stringify(e) : typeof e == "number" ? e = e.toString() : typeof e == "boolean" && (e = e ? "1" : "0"), e), u = {
67
- default: (e, t, r) => {
68
- const n = p(e);
69
- return e && t.append(r, n), t;
66
+ }, p = (r) => (r == null ? r = "" : typeof r == "object" ? r = JSON.stringify(r) : typeof r == "number" ? r = r.toString() : typeof r == "boolean" && (r = r ? "1" : "0"), r), u = {
67
+ boolean: (r, t, e) => (t.append(e, r ? "1" : "0"), t),
68
+ default: (r, t, e) => {
69
+ const n = p(r);
70
+ return r && t.append(e, n), t;
70
71
  },
71
- price: (e, t, r, n = ["Currency", "Value"]) => {
72
- const [c, a] = F(e);
73
- return t.append(`${r}${n[0]}`, p(c)), t.append(`${r}${n[1]}`, p(a)), t;
72
+ price: (r, t, e, n = ["Currency", "Value"]) => {
73
+ const [c, a] = F(r);
74
+ return t.append(`${e}${n[0]}`, p(c)), t.append(`${e}${n[1]}`, p(a)), t;
74
75
  },
75
- address: (e, t, r) => (t.append(
76
- r,
76
+ address: (r, t, e) => (t.append(
77
+ e,
77
78
  JSON.stringify({
78
- ...e,
79
- country: S(e?.country)
79
+ ...r,
80
+ country: S(r?.country)
80
81
  })
81
82
  ), t),
82
- documents: (e, t, r) => (r.endsWith("[]") || (r = `${r}[]`), Array.from(e).forEach((n) => t.append(r, n)), t),
83
- document: (e, t, r) => (t.append(r, e), t),
84
- stringArray: (e, t, r) => (r.endsWith("[]") || (r = `${r}[]`), e.forEach((n) => t.append(r, p(n))), t),
85
- object: (e, t, r) => (t.append(r, JSON.stringify(e)), t)
86
- }, I = async (e, t, r, n) => {
87
- switch (e) {
83
+ documents: (r, t, e) => (e.endsWith("[]") || (e = `${e}[]`), Array.from(r).forEach((n) => t.append(e, n)), t),
84
+ document: (r, t, e) => (t.append(e, r), t),
85
+ stringArray: (r, t, e) => (e.endsWith("[]") || (e = `${e}[]`), r.forEach((n) => t.append(e, p(n))), t),
86
+ object: (r, t, e) => (t.append(e, JSON.stringify(r)), t)
87
+ }, I = async (r, t, e, n) => {
88
+ switch (r) {
89
+ case s.Boolean:
90
+ return u.boolean(e, t, n);
88
91
  case s.Country:
89
- return u.default(S(r), t, n);
92
+ return u.default(S(e), t, n);
90
93
  case s.Document:
91
- return u.document(r, t, n);
94
+ return u.document(e, t, n);
92
95
  case s.Documents:
93
- return u.documents(r, t, n);
96
+ return u.documents(e, t, n);
94
97
  case s.Date:
95
- return u.default(h(r), t, n);
98
+ return u.default(h(e), t, n);
96
99
  case s.Address:
97
- return u.address(r, t, n);
100
+ return u.address(e, t, n);
98
101
  case s.Price:
99
- return u.price(r, t, n);
102
+ return u.price(e, t, n);
100
103
  case s.Password:
101
- return u.default(V(r), t, n);
104
+ return u.default(V(e), t, n);
102
105
  case s.StringArray:
103
- return u.stringArray(r, t, n);
106
+ return u.stringArray(e, t, n);
104
107
  case s.Object:
105
- return u.object(r, t, n);
108
+ return u.object(e, t, n);
106
109
  default:
107
- return u.default(r, t, n);
110
+ return u.default(e, t, n);
108
111
  }
109
- }, K = async (e, t, r) => {
110
- switch (r) {
112
+ }, K = async (r, t, e) => {
113
+ switch (e) {
111
114
  case f.JSON:
112
115
  let n = {};
113
- for (const a in e)
116
+ for (const a in r)
114
117
  n = await H(
115
118
  t[a],
116
119
  n,
117
- e[a],
120
+ r[a],
118
121
  a
119
122
  );
120
123
  return n;
121
124
  case f.FormData:
122
125
  default:
123
126
  let c = new FormData();
124
- for (const a in e)
127
+ for (const a in r)
125
128
  c = await I(
126
129
  t[a],
127
130
  c,
128
- e[a],
131
+ r[a],
129
132
  a
130
133
  );
131
134
  return c;
132
135
  }
133
136
  };
134
- function L(e) {
137
+ function L(r) {
135
138
  const t = C(
136
139
  {}
137
140
  );
@@ -147,12 +150,12 @@ function L(e) {
147
150
  const o = {
148
151
  ...t
149
152
  };
150
- return e.id && e.id.value && (o.id = e.id.value), {
153
+ return r.id && r.id.value && (o.id = r.id.value), {
151
154
  isValid: !0,
152
155
  form: await K(
153
156
  o,
154
- e.schema,
155
- e.format ?? f.JSON
157
+ r.schema,
158
+ r.format ?? f.JSON
156
159
  )
157
160
  };
158
161
  } };
@@ -172,8 +175,8 @@ const Z = /* @__PURE__ */ $({
172
175
  buttonWrapperClass: { default: "" }
173
176
  },
174
177
  emits: ["submit", "change"],
175
- setup(e, { expose: t, emit: r }) {
176
- const n = e, c = r, a = _(), { form: m, getValue: o, setValue: d, setValues: b, reset: y, submit: g } = L({
178
+ setup(r, { expose: t, emit: e }) {
179
+ const n = r, c = e, a = _(), { form: m, getValue: o, setValue: d, setValues: b, reset: y, submit: g } = L({
177
180
  id: N(() => n.identifier),
178
181
  schema: n.schema,
179
182
  format: n.submissionFormat
@@ -201,8 +204,8 @@ const Z = /* @__PURE__ */ $({
201
204
  ref_key: "formReference",
202
205
  ref: a
203
206
  }, [
204
- j(l.$slots, "default", { form: E(m) }),
205
- B("div", {
207
+ j(l.$slots, "default", { form: B(m) }),
208
+ E("div", {
206
209
  class: T([n.buttonWrapperClass])
207
210
  }, [
208
211
  W(R(D, q({
@@ -8,7 +8,7 @@ import { _ as l } from "./DialogProvider.vue_vue_type_script_setup_true_lang-ByN
8
8
  import { D as c } from "./Drawer-y5xBARd2.js";
9
9
  import { _ as T } from "./Dropdown.vue_vue_type_script_setup_true_lang-DzFX49Bk.js";
10
10
  import { _ as d } from "./FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js";
11
- import { _ as g } from "./Form.vue_vue_type_script_setup_true_lang-BwcOBEkF.js";
11
+ import { _ as g } from "./Form.vue_vue_type_script_setup_true_lang-BCHodpyU.js";
12
12
  import { _ as b } from "./FormItem.vue_vue_type_script_setup_true_lang-CjK_w-y0.js";
13
13
  import { _ as G } from "./GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js";
14
14
  import { _ as k } from "./GraphyLabel.vue_vue_type_script_setup_true_lang-DIKuG0Po.js";
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./Form.vue_vue_type_script_setup_true_lang-BwcOBEkF.js";
2
+ import { _ as s } from "./Form.vue_vue_type_script_setup_true_lang-BCHodpyU.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -17,8 +17,8 @@ import "./Dropdown.vue_vue_type_script_setup_true_lang-DzFX49Bk.js";
17
17
  import { p as l } from "./plugin-BUXGSpUK.js";
18
18
  import { p as g } from "./plugin-43q0Kzto.js";
19
19
  import { p as a } from "./plugin-CzWnCRfO.js";
20
- import "./Form.vue_vue_type_script_setup_true_lang-BwcOBEkF.js";
21
- import { p as s } from "./plugin-DB0XiYOM.js";
20
+ import "./Form.vue_vue_type_script_setup_true_lang-BCHodpyU.js";
21
+ import { p as s } from "./plugin-Dh8Ga8Cy.js";
22
22
  import { p as P } from "./plugin-Buc7eEox.js";
23
23
  import { p as f } from "./plugin-CC97Vx-s.js";
24
24
  import "./GraphyPrice.vue_vue_type_script_setup_true_lang-DYxzVfdC.js";
package/dist/plugins.js CHANGED
@@ -17,8 +17,8 @@ import "./Dropdown.vue_vue_type_script_setup_true_lang-DzFX49Bk.js";
17
17
  import { p as N } from "./plugin-BUXGSpUK.js";
18
18
  import { p as Q } from "./plugin-43q0Kzto.js";
19
19
  import { p as V } from "./plugin-CzWnCRfO.js";
20
- import "./Form.vue_vue_type_script_setup_true_lang-BwcOBEkF.js";
21
- import { p as X } from "./plugin-DB0XiYOM.js";
20
+ import "./Form.vue_vue_type_script_setup_true_lang-BCHodpyU.js";
21
+ import { p as X } from "./plugin-Dh8Ga8Cy.js";
22
22
  import { p as Z } from "./plugin-Buc7eEox.js";
23
23
  import { p as $ } from "./plugin-CC97Vx-s.js";
24
24
  import "./GraphyPrice.vue_vue_type_script_setup_true_lang-DYxzVfdC.js";
package/dist/tamandua.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n } from "./plugins-DASyBRSp.js";
1
+ import { p as n } from "./plugins-Bj1rKGE_.js";
2
2
  const o = {
3
3
  install(s) {
4
4
  for (const i in n)
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  icon?: `${import('../../enums/ui.js').Icon}`;
8
8
  label: string | object;
9
9
  type?: string;
10
- renderer?: string;
10
+ renderer?: import('vue').Component;
11
11
  rendererProps?: {
12
12
  [props: string]: any;
13
13
  };
@@ -21,7 +21,7 @@ declare function __VLS_template(): {
21
21
  icon?: `${import('../../enums/ui.js').Icon}`;
22
22
  label: string | object;
23
23
  type?: string;
24
- renderer?: string;
24
+ renderer?: import('vue').Component;
25
25
  rendererProps?: {
26
26
  [props: string]: any;
27
27
  };
@@ -35,7 +35,7 @@ declare function __VLS_template(): {
35
35
  icon?: `${import('../../enums/ui.js').Icon}`;
36
36
  label: string | object;
37
37
  type?: string;
38
- renderer?: string;
38
+ renderer?: import('vue').Component;
39
39
  rendererProps?: {
40
40
  [props: string]: any;
41
41
  };
@@ -8,7 +8,7 @@ export type FormStyle = {
8
8
  };
9
9
  export type FormLayout = "horizontal" | "vertical" | "inline";
10
10
  export type FormProps<T extends FormSchema> = {
11
- size: `${FormControlSize}`;
11
+ size?: `${FormControlSize}`;
12
12
  schema?: T;
13
13
  layout?: FormLayout;
14
14
  formStyle?: FormStyle;
@@ -8,7 +8,210 @@ declare function __VLS_template(): {
8
8
  icon?: `${import('../../enums/ui.js').Icon}` | undefined;
9
9
  label: string | object;
10
10
  type?: string | undefined;
11
- renderer?: string | undefined;
11
+ renderer?: import('vue').FunctionalComponent<any, {}, any, {}> | {
12
+ new (...args: any[]): any;
13
+ __isFragment?: never;
14
+ __isTeleport?: never;
15
+ __isSuspense?: never;
16
+ } | {
17
+ [x: string]: any;
18
+ setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
19
+ attrs: {
20
+ [x: string]: unknown;
21
+ };
22
+ slots: Readonly<{
23
+ [name: string]: import('vue').Slot<any> | undefined;
24
+ }>;
25
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
26
+ expose: (exposed?: Record<string, any>) => void;
27
+ }) => any) | undefined;
28
+ name?: string | undefined;
29
+ template?: string | object | undefined;
30
+ render?: Function | undefined;
31
+ components?: Record<string, import('vue').Component> | undefined;
32
+ directives?: Record<string, import('vue').Directive> | undefined;
33
+ inheritAttrs?: boolean | undefined;
34
+ emits?: any;
35
+ slots?: {} | undefined;
36
+ expose?: string[] | undefined;
37
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
38
+ compilerOptions?: {
39
+ isCustomElement?: ((tag: string) => boolean) | undefined;
40
+ whitespace?: "preserve" | "condense" | undefined;
41
+ comments?: boolean | undefined;
42
+ delimiters?: [string, string] | undefined;
43
+ } | undefined;
44
+ call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
45
+ __isFragment?: never | undefined;
46
+ __isTeleport?: never | undefined;
47
+ __isSuspense?: never | undefined;
48
+ __defaults?: any;
49
+ compatConfig?: {
50
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
51
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
52
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
53
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
54
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
55
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
56
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
57
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
58
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
59
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
60
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
61
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
62
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
63
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
64
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
65
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
66
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
67
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
68
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
69
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
70
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
71
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
72
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
73
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
74
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
75
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
76
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
77
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
78
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
79
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
80
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
81
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
82
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
83
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
84
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
85
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
86
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
87
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
88
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
89
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
90
+ FILTERS?: boolean | "suppress-warning" | undefined;
91
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
92
+ MODE?: 2 | 3 | ((comp: import('vue').Component | null) => 2 | 3) | undefined;
93
+ } | undefined;
94
+ data?: ((this: any, vm: any) => any) | undefined;
95
+ computed?: import('vue').ComputedOptions | undefined;
96
+ methods?: import('vue').MethodOptions | undefined;
97
+ watch?: {
98
+ [x: string]: (string | import('vue').WatchCallback<any, any> | ({
99
+ handler: import('vue').WatchCallback | string;
100
+ } & import('vue').WatchOptions<boolean>)) | (string | import('vue').WatchCallback<any, any> | ({
101
+ handler: import('vue').WatchCallback | string;
102
+ } & import('vue').WatchOptions<boolean>))[];
103
+ } | undefined;
104
+ provide?: import('vue').ComponentProvideOptions | undefined;
105
+ inject?: {} | string[] | undefined;
106
+ filters?: Record<string, Function> | undefined;
107
+ mixins?: any[] | undefined;
108
+ extends?: any;
109
+ beforeCreate?: (() => void) | undefined;
110
+ created?: (() => void) | undefined;
111
+ beforeMount?: (() => void) | undefined;
112
+ mounted?: (() => void) | undefined;
113
+ beforeUpdate?: (() => void) | undefined;
114
+ updated?: (() => void) | undefined;
115
+ activated?: (() => void) | undefined;
116
+ deactivated?: (() => void) | undefined;
117
+ beforeDestroy?: (() => void) | undefined;
118
+ beforeUnmount?: (() => void) | undefined;
119
+ destroyed?: (() => void) | undefined;
120
+ unmounted?: (() => void) | undefined;
121
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | undefined;
122
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | undefined;
123
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
124
+ delimiters?: [string, string] | undefined;
125
+ __differentiator?: string | number | symbol | undefined;
126
+ __isBuiltIn?: boolean | undefined;
127
+ __file?: string | undefined;
128
+ __name?: string | undefined;
129
+ i18n?: {
130
+ locale?: string | undefined;
131
+ fallbackLocale?: string | false | string[] | {
132
+ [x: string]: string[];
133
+ } | undefined;
134
+ messages?: {
135
+ [x: string]: import('@intlify/core-base').LocaleMessage<import("vue-i18n").VueMessageType>;
136
+ } | undefined;
137
+ flatJson?: boolean | undefined;
138
+ datetimeFormats?: {
139
+ [x: string]: import('vue-i18n').IntlDateTimeFormat;
140
+ } | undefined;
141
+ numberFormats?: {
142
+ [x: string]: import('vue-i18n').IntlNumberFormat;
143
+ } | undefined;
144
+ availableLocales?: import('vue-i18n').Locale[] | undefined;
145
+ modifiers?: import('vue-i18n').LinkedModifiers<import("vue-i18n").VueMessageType> | undefined;
146
+ formatter?: {
147
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
148
+ } | undefined;
149
+ missing?: import('vue-i18n').MissingHandler | undefined;
150
+ fallbackRoot?: boolean | undefined;
151
+ silentTranslationWarn?: boolean | {
152
+ exec: (string: string) => RegExpExecArray | null;
153
+ test: (string: string) => boolean;
154
+ readonly source: string;
155
+ readonly global: boolean;
156
+ readonly ignoreCase: boolean;
157
+ readonly multiline: boolean;
158
+ lastIndex: number;
159
+ compile: (pattern: string, flags?: string) => RegExp;
160
+ readonly flags: string;
161
+ readonly sticky: boolean;
162
+ readonly unicode: boolean;
163
+ readonly dotAll: boolean;
164
+ readonly hasIndices: boolean;
165
+ readonly unicodeSets: boolean;
166
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
167
+ [Symbol.replace]: {
168
+ (string: string, replaceValue: string): string;
169
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
170
+ };
171
+ [Symbol.search]: (string: string) => number;
172
+ [Symbol.split]: (string: string, limit?: number) => string[];
173
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
174
+ } | undefined;
175
+ silentFallbackWarn?: boolean | {
176
+ exec: (string: string) => RegExpExecArray | null;
177
+ test: (string: string) => boolean;
178
+ readonly source: string;
179
+ readonly global: boolean;
180
+ readonly ignoreCase: boolean;
181
+ readonly multiline: boolean;
182
+ lastIndex: number;
183
+ compile: (pattern: string, flags?: string) => RegExp;
184
+ readonly flags: string;
185
+ readonly sticky: boolean;
186
+ readonly unicode: boolean;
187
+ readonly dotAll: boolean;
188
+ readonly hasIndices: boolean;
189
+ readonly unicodeSets: boolean;
190
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
191
+ [Symbol.replace]: {
192
+ (string: string, replaceValue: string): string;
193
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
194
+ };
195
+ [Symbol.search]: (string: string) => number;
196
+ [Symbol.split]: (string: string, limit?: number) => string[];
197
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
198
+ } | undefined;
199
+ formatFallbackMessages?: boolean | undefined;
200
+ preserveDirectiveContent?: boolean | undefined;
201
+ warnHtmlInMessage?: import('vue-i18n').WarnHtmlInMessageLevel | undefined;
202
+ escapeParameterHtml?: boolean | undefined;
203
+ sharedMessages?: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType> | undefined;
204
+ pluralizationRules?: import('@intlify/core-base').PluralizationRules | undefined;
205
+ postTranslation?: import('vue-i18n').PostTranslationHandler<import("vue-i18n").VueMessageType> | undefined;
206
+ sync?: boolean | undefined;
207
+ messageResolver?: import('vue-i18n').MessageResolver | undefined;
208
+ } | undefined;
209
+ __i18n?: {
210
+ locale: import('vue-i18n').Locale;
211
+ resource: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType>;
212
+ }[] | undefined;
213
+ __INTLIFY_META__?: string | undefined;
214
+ } | undefined;
12
215
  rendererProps?: {
13
216
  [props: string]: any;
14
217
  } | undefined;
@@ -22,7 +225,210 @@ declare function __VLS_template(): {
22
225
  icon?: `${import('../../enums/ui.js').Icon}` | undefined;
23
226
  label: string | object;
24
227
  type?: string | undefined;
25
- renderer?: string | undefined;
228
+ renderer?: import('vue').FunctionalComponent<any, {}, any, {}> | {
229
+ new (...args: any[]): any;
230
+ __isFragment?: never;
231
+ __isTeleport?: never;
232
+ __isSuspense?: never;
233
+ } | {
234
+ [x: string]: any;
235
+ setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
236
+ attrs: {
237
+ [x: string]: unknown;
238
+ };
239
+ slots: Readonly<{
240
+ [name: string]: import('vue').Slot<any> | undefined;
241
+ }>;
242
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
243
+ expose: (exposed?: Record<string, any>) => void;
244
+ }) => any) | undefined;
245
+ name?: string | undefined;
246
+ template?: string | object | undefined;
247
+ render?: Function | undefined;
248
+ components?: Record<string, import('vue').Component> | undefined;
249
+ directives?: Record<string, import('vue').Directive> | undefined;
250
+ inheritAttrs?: boolean | undefined;
251
+ emits?: any;
252
+ slots?: {} | undefined;
253
+ expose?: string[] | undefined;
254
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
255
+ compilerOptions?: {
256
+ isCustomElement?: ((tag: string) => boolean) | undefined;
257
+ whitespace?: "preserve" | "condense" | undefined;
258
+ comments?: boolean | undefined;
259
+ delimiters?: [string, string] | undefined;
260
+ } | undefined;
261
+ call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
262
+ __isFragment?: never | undefined;
263
+ __isTeleport?: never | undefined;
264
+ __isSuspense?: never | undefined;
265
+ __defaults?: any;
266
+ compatConfig?: {
267
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
268
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
269
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
270
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
271
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
272
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
273
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
274
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
275
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
276
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
277
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
278
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
279
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
280
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
281
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
282
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
283
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
284
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
285
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
286
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
287
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
288
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
289
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
290
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
291
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
292
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
293
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
294
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
295
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
296
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
297
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
298
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
299
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
300
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
301
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
302
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
303
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
304
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
305
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
306
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
307
+ FILTERS?: boolean | "suppress-warning" | undefined;
308
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
309
+ MODE?: 2 | 3 | ((comp: import('vue').Component | null) => 2 | 3) | undefined;
310
+ } | undefined;
311
+ data?: ((this: any, vm: any) => any) | undefined;
312
+ computed?: import('vue').ComputedOptions | undefined;
313
+ methods?: import('vue').MethodOptions | undefined;
314
+ watch?: {
315
+ [x: string]: (string | import('vue').WatchCallback<any, any> | ({
316
+ handler: import('vue').WatchCallback | string;
317
+ } & import('vue').WatchOptions<boolean>)) | (string | import('vue').WatchCallback<any, any> | ({
318
+ handler: import('vue').WatchCallback | string;
319
+ } & import('vue').WatchOptions<boolean>))[];
320
+ } | undefined;
321
+ provide?: import('vue').ComponentProvideOptions | undefined;
322
+ inject?: {} | string[] | undefined;
323
+ filters?: Record<string, Function> | undefined;
324
+ mixins?: any[] | undefined;
325
+ extends?: any;
326
+ beforeCreate?: (() => void) | undefined;
327
+ created?: (() => void) | undefined;
328
+ beforeMount?: (() => void) | undefined;
329
+ mounted?: (() => void) | undefined;
330
+ beforeUpdate?: (() => void) | undefined;
331
+ updated?: (() => void) | undefined;
332
+ activated?: (() => void) | undefined;
333
+ deactivated?: (() => void) | undefined;
334
+ beforeDestroy?: (() => void) | undefined;
335
+ beforeUnmount?: (() => void) | undefined;
336
+ destroyed?: (() => void) | undefined;
337
+ unmounted?: (() => void) | undefined;
338
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | undefined;
339
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | undefined;
340
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
341
+ delimiters?: [string, string] | undefined;
342
+ __differentiator?: string | number | symbol | undefined;
343
+ __isBuiltIn?: boolean | undefined;
344
+ __file?: string | undefined;
345
+ __name?: string | undefined;
346
+ i18n?: {
347
+ locale?: string | undefined;
348
+ fallbackLocale?: string | false | string[] | {
349
+ [x: string]: string[];
350
+ } | undefined;
351
+ messages?: {
352
+ [x: string]: import('@intlify/core-base').LocaleMessage<import("vue-i18n").VueMessageType>;
353
+ } | undefined;
354
+ flatJson?: boolean | undefined;
355
+ datetimeFormats?: {
356
+ [x: string]: import('vue-i18n').IntlDateTimeFormat;
357
+ } | undefined;
358
+ numberFormats?: {
359
+ [x: string]: import('vue-i18n').IntlNumberFormat;
360
+ } | undefined;
361
+ availableLocales?: import('vue-i18n').Locale[] | undefined;
362
+ modifiers?: import('vue-i18n').LinkedModifiers<import("vue-i18n").VueMessageType> | undefined;
363
+ formatter?: {
364
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
365
+ } | undefined;
366
+ missing?: import('vue-i18n').MissingHandler | undefined;
367
+ fallbackRoot?: boolean | undefined;
368
+ silentTranslationWarn?: boolean | {
369
+ exec: (string: string) => RegExpExecArray | null;
370
+ test: (string: string) => boolean;
371
+ readonly source: string;
372
+ readonly global: boolean;
373
+ readonly ignoreCase: boolean;
374
+ readonly multiline: boolean;
375
+ lastIndex: number;
376
+ compile: (pattern: string, flags?: string) => RegExp;
377
+ readonly flags: string;
378
+ readonly sticky: boolean;
379
+ readonly unicode: boolean;
380
+ readonly dotAll: boolean;
381
+ readonly hasIndices: boolean;
382
+ readonly unicodeSets: boolean;
383
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
384
+ [Symbol.replace]: {
385
+ (string: string, replaceValue: string): string;
386
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
387
+ };
388
+ [Symbol.search]: (string: string) => number;
389
+ [Symbol.split]: (string: string, limit?: number) => string[];
390
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
391
+ } | undefined;
392
+ silentFallbackWarn?: boolean | {
393
+ exec: (string: string) => RegExpExecArray | null;
394
+ test: (string: string) => boolean;
395
+ readonly source: string;
396
+ readonly global: boolean;
397
+ readonly ignoreCase: boolean;
398
+ readonly multiline: boolean;
399
+ lastIndex: number;
400
+ compile: (pattern: string, flags?: string) => RegExp;
401
+ readonly flags: string;
402
+ readonly sticky: boolean;
403
+ readonly unicode: boolean;
404
+ readonly dotAll: boolean;
405
+ readonly hasIndices: boolean;
406
+ readonly unicodeSets: boolean;
407
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
408
+ [Symbol.replace]: {
409
+ (string: string, replaceValue: string): string;
410
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
411
+ };
412
+ [Symbol.search]: (string: string) => number;
413
+ [Symbol.split]: (string: string, limit?: number) => string[];
414
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
415
+ } | undefined;
416
+ formatFallbackMessages?: boolean | undefined;
417
+ preserveDirectiveContent?: boolean | undefined;
418
+ warnHtmlInMessage?: import('vue-i18n').WarnHtmlInMessageLevel | undefined;
419
+ escapeParameterHtml?: boolean | undefined;
420
+ sharedMessages?: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType> | undefined;
421
+ pluralizationRules?: import('@intlify/core-base').PluralizationRules | undefined;
422
+ postTranslation?: import('vue-i18n').PostTranslationHandler<import("vue-i18n").VueMessageType> | undefined;
423
+ sync?: boolean | undefined;
424
+ messageResolver?: import('vue-i18n').MessageResolver | undefined;
425
+ } | undefined;
426
+ __i18n?: {
427
+ locale: import('vue-i18n').Locale;
428
+ resource: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType>;
429
+ }[] | undefined;
430
+ __INTLIFY_META__?: string | undefined;
431
+ } | undefined;
26
432
  rendererProps?: {
27
433
  [props: string]: any;
28
434
  } | undefined;
@@ -36,7 +442,210 @@ declare function __VLS_template(): {
36
442
  icon?: `${import('../../enums/ui.js').Icon}` | undefined;
37
443
  label: string | object;
38
444
  type?: string | undefined;
39
- renderer?: string | undefined;
445
+ renderer?: import('vue').FunctionalComponent<any, {}, any, {}> | {
446
+ new (...args: any[]): any;
447
+ __isFragment?: never;
448
+ __isTeleport?: never;
449
+ __isSuspense?: never;
450
+ } | {
451
+ [x: string]: any;
452
+ setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
453
+ attrs: {
454
+ [x: string]: unknown;
455
+ };
456
+ slots: Readonly<{
457
+ [name: string]: import('vue').Slot<any> | undefined;
458
+ }>;
459
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
460
+ expose: (exposed?: Record<string, any>) => void;
461
+ }) => any) | undefined;
462
+ name?: string | undefined;
463
+ template?: string | object | undefined;
464
+ render?: Function | undefined;
465
+ components?: Record<string, import('vue').Component> | undefined;
466
+ directives?: Record<string, import('vue').Directive> | undefined;
467
+ inheritAttrs?: boolean | undefined;
468
+ emits?: any;
469
+ slots?: {} | undefined;
470
+ expose?: string[] | undefined;
471
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
472
+ compilerOptions?: {
473
+ isCustomElement?: ((tag: string) => boolean) | undefined;
474
+ whitespace?: "preserve" | "condense" | undefined;
475
+ comments?: boolean | undefined;
476
+ delimiters?: [string, string] | undefined;
477
+ } | undefined;
478
+ call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
479
+ __isFragment?: never | undefined;
480
+ __isTeleport?: never | undefined;
481
+ __isSuspense?: never | undefined;
482
+ __defaults?: any;
483
+ compatConfig?: {
484
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
485
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
486
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
487
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
488
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
489
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
490
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
491
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
492
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
493
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
494
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
495
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
496
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
497
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
498
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
499
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
500
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
501
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
502
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
503
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
504
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
505
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
506
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
507
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
508
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
509
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
510
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
511
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
512
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
513
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
514
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
515
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
516
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
517
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
518
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
519
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
520
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
521
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
522
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
523
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
524
+ FILTERS?: boolean | "suppress-warning" | undefined;
525
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
526
+ MODE?: 2 | 3 | ((comp: import('vue').Component | null) => 2 | 3) | undefined;
527
+ } | undefined;
528
+ data?: ((this: any, vm: any) => any) | undefined;
529
+ computed?: import('vue').ComputedOptions | undefined;
530
+ methods?: import('vue').MethodOptions | undefined;
531
+ watch?: {
532
+ [x: string]: (string | import('vue').WatchCallback<any, any> | ({
533
+ handler: import('vue').WatchCallback | string;
534
+ } & import('vue').WatchOptions<boolean>)) | (string | import('vue').WatchCallback<any, any> | ({
535
+ handler: import('vue').WatchCallback | string;
536
+ } & import('vue').WatchOptions<boolean>))[];
537
+ } | undefined;
538
+ provide?: import('vue').ComponentProvideOptions | undefined;
539
+ inject?: {} | string[] | undefined;
540
+ filters?: Record<string, Function> | undefined;
541
+ mixins?: any[] | undefined;
542
+ extends?: any;
543
+ beforeCreate?: (() => void) | undefined;
544
+ created?: (() => void) | undefined;
545
+ beforeMount?: (() => void) | undefined;
546
+ mounted?: (() => void) | undefined;
547
+ beforeUpdate?: (() => void) | undefined;
548
+ updated?: (() => void) | undefined;
549
+ activated?: (() => void) | undefined;
550
+ deactivated?: (() => void) | undefined;
551
+ beforeDestroy?: (() => void) | undefined;
552
+ beforeUnmount?: (() => void) | undefined;
553
+ destroyed?: (() => void) | undefined;
554
+ unmounted?: (() => void) | undefined;
555
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | undefined;
556
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | undefined;
557
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
558
+ delimiters?: [string, string] | undefined;
559
+ __differentiator?: string | number | symbol | undefined;
560
+ __isBuiltIn?: boolean | undefined;
561
+ __file?: string | undefined;
562
+ __name?: string | undefined;
563
+ i18n?: {
564
+ locale?: string | undefined;
565
+ fallbackLocale?: string | false | string[] | {
566
+ [x: string]: string[];
567
+ } | undefined;
568
+ messages?: {
569
+ [x: string]: import('@intlify/core-base').LocaleMessage<import("vue-i18n").VueMessageType>;
570
+ } | undefined;
571
+ flatJson?: boolean | undefined;
572
+ datetimeFormats?: {
573
+ [x: string]: import('vue-i18n').IntlDateTimeFormat;
574
+ } | undefined;
575
+ numberFormats?: {
576
+ [x: string]: import('vue-i18n').IntlNumberFormat;
577
+ } | undefined;
578
+ availableLocales?: import('vue-i18n').Locale[] | undefined;
579
+ modifiers?: import('vue-i18n').LinkedModifiers<import("vue-i18n").VueMessageType> | undefined;
580
+ formatter?: {
581
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
582
+ } | undefined;
583
+ missing?: import('vue-i18n').MissingHandler | undefined;
584
+ fallbackRoot?: boolean | undefined;
585
+ silentTranslationWarn?: boolean | {
586
+ exec: (string: string) => RegExpExecArray | null;
587
+ test: (string: string) => boolean;
588
+ readonly source: string;
589
+ readonly global: boolean;
590
+ readonly ignoreCase: boolean;
591
+ readonly multiline: boolean;
592
+ lastIndex: number;
593
+ compile: (pattern: string, flags?: string) => RegExp;
594
+ readonly flags: string;
595
+ readonly sticky: boolean;
596
+ readonly unicode: boolean;
597
+ readonly dotAll: boolean;
598
+ readonly hasIndices: boolean;
599
+ readonly unicodeSets: boolean;
600
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
601
+ [Symbol.replace]: {
602
+ (string: string, replaceValue: string): string;
603
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
604
+ };
605
+ [Symbol.search]: (string: string) => number;
606
+ [Symbol.split]: (string: string, limit?: number) => string[];
607
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
608
+ } | undefined;
609
+ silentFallbackWarn?: boolean | {
610
+ exec: (string: string) => RegExpExecArray | null;
611
+ test: (string: string) => boolean;
612
+ readonly source: string;
613
+ readonly global: boolean;
614
+ readonly ignoreCase: boolean;
615
+ readonly multiline: boolean;
616
+ lastIndex: number;
617
+ compile: (pattern: string, flags?: string) => RegExp;
618
+ readonly flags: string;
619
+ readonly sticky: boolean;
620
+ readonly unicode: boolean;
621
+ readonly dotAll: boolean;
622
+ readonly hasIndices: boolean;
623
+ readonly unicodeSets: boolean;
624
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
625
+ [Symbol.replace]: {
626
+ (string: string, replaceValue: string): string;
627
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
628
+ };
629
+ [Symbol.search]: (string: string) => number;
630
+ [Symbol.split]: (string: string, limit?: number) => string[];
631
+ [Symbol.matchAll]: (str: string) => RegExpStringIterator<RegExpMatchArray>;
632
+ } | undefined;
633
+ formatFallbackMessages?: boolean | undefined;
634
+ preserveDirectiveContent?: boolean | undefined;
635
+ warnHtmlInMessage?: import('vue-i18n').WarnHtmlInMessageLevel | undefined;
636
+ escapeParameterHtml?: boolean | undefined;
637
+ sharedMessages?: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType> | undefined;
638
+ pluralizationRules?: import('@intlify/core-base').PluralizationRules | undefined;
639
+ postTranslation?: import('vue-i18n').PostTranslationHandler<import("vue-i18n").VueMessageType> | undefined;
640
+ sync?: boolean | undefined;
641
+ messageResolver?: import('vue-i18n').MessageResolver | undefined;
642
+ } | undefined;
643
+ __i18n?: {
644
+ locale: import('vue-i18n').Locale;
645
+ resource: import('vue-i18n').LocaleMessages<import("vue-i18n").VueMessageType>;
646
+ }[] | undefined;
647
+ __INTLIFY_META__?: string | undefined;
648
+ } | undefined;
40
649
  rendererProps?: {
41
650
  [props: string]: any;
42
651
  } | undefined;
@@ -1,6 +1,7 @@
1
1
  import { Icon, FormControlSize, ElementPosition } from '../../enums/ui.js';
2
2
  import { APISearchFilters } from '../../types/api.js';
3
3
  import { Pagination } from '../../types/ui.js';
4
+ import { Component } from 'vue';
4
5
 
5
6
  export type SelectValuePrimitives = string | number;
6
7
  export type InputSelectValue = SelectValuePrimitives | Array<SelectValuePrimitives>;
@@ -14,10 +15,9 @@ export type InputSelectOption = {
14
15
  /** Optional type, used to diferentiate options from one another */
15
16
  type?: string;
16
17
  /**
17
- * Optional renderer, containing the fully resolved path to the component
18
- * that will be used to render the option
18
+ * Optional renderer component
19
19
  */
20
- renderer?: string;
20
+ renderer?: Component;
21
21
  /**
22
22
  * Optional props to be passed to the renderer component.
23
23
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.112",
3
+ "version": "0.0.114",
4
4
  "private": false,
5
5
  "description": "UI library for the Caipira ecosystem",
6
6
  "license": "GPL-3.0-only",