@albank/vue-ui-kit 2.5.0-preview.240 → 2.5.0-preview.251

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.
@@ -150,6 +150,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
150
150
  $el: HTMLDivElement;
151
151
  $options: import('vue').ComponentOptionsBase<Readonly<import('../FormField/FormField.vue').FormFieldProps> & Readonly<{}>, {
152
152
  resetValue: () => void;
153
+ setValue: (newValue: string) => string;
153
154
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
154
155
  cssMod: "svoi" | "none";
155
156
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -174,8 +175,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
174
175
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
175
176
  } & Readonly<{
176
177
  cssMod: "svoi" | "none";
177
- }> & Omit<Readonly<import('../FormField/FormField.vue').FormFieldProps> & Readonly<{}>, "cssMod" | "resetValue"> & import('vue').ShallowUnwrapRef<{
178
+ }> & Omit<Readonly<import('../FormField/FormField.vue').FormFieldProps> & Readonly<{}>, "cssMod" | "resetValue" | "setValue"> & import('vue').ShallowUnwrapRef<{
178
179
  resetValue: () => void;
180
+ setValue: (newValue: string) => string;
179
181
  }> & {} & import('vue').ComponentCustomProperties & {} & {
180
182
  $slots: {
181
183
  default?(_: {}): any;
@@ -21,5 +21,64 @@ declare const _default: import('vue').DefineComponent<DropdownProps, {}, {}, {},
21
21
  options: SelectOption[];
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
23
  input: HTMLDivElement;
24
+ formField: ({
25
+ $: import('vue').ComponentInternalInstance;
26
+ $data: {};
27
+ $props: {
28
+ readonly center?: boolean | undefined;
29
+ readonly error?: boolean | undefined;
30
+ readonly cssMod?: "svoi" | "none" | undefined;
31
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
32
+ $attrs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import('vue').Slot<any> | undefined;
40
+ }>;
41
+ $root: import('vue').ComponentPublicInstance | null;
42
+ $parent: import('vue').ComponentPublicInstance | null;
43
+ $host: Element | null;
44
+ $emit: (event: string, ...args: any[]) => void;
45
+ $el: HTMLDivElement;
46
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../FormField/FormField.vue').FormFieldProps> & Readonly<{}>, {
47
+ resetValue: () => void;
48
+ setValue: (newValue: string) => string;
49
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
50
+ cssMod: "svoi" | "none";
51
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
52
+ beforeCreate?: (() => void) | (() => void)[];
53
+ created?: (() => void) | (() => void)[];
54
+ beforeMount?: (() => void) | (() => void)[];
55
+ mounted?: (() => void) | (() => void)[];
56
+ beforeUpdate?: (() => void) | (() => void)[];
57
+ updated?: (() => void) | (() => void)[];
58
+ activated?: (() => void) | (() => void)[];
59
+ deactivated?: (() => void) | (() => void)[];
60
+ beforeDestroy?: (() => void) | (() => void)[];
61
+ beforeUnmount?: (() => void) | (() => void)[];
62
+ destroyed?: (() => void) | (() => void)[];
63
+ unmounted?: (() => void) | (() => void)[];
64
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
65
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
66
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
67
+ };
68
+ $forceUpdate: () => void;
69
+ $nextTick: typeof import('vue').nextTick;
70
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
71
+ } & Readonly<{
72
+ cssMod: "svoi" | "none";
73
+ }> & Omit<Readonly<import('../FormField/FormField.vue').FormFieldProps> & Readonly<{}>, "cssMod" | "resetValue" | "setValue"> & import('vue').ShallowUnwrapRef<{
74
+ resetValue: () => void;
75
+ setValue: (newValue: string) => string;
76
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
77
+ $slots: {
78
+ default?(_: {}): any;
79
+ label?(_: {}): any;
80
+ icon?(_: {}): any;
81
+ };
82
+ }) | null;
24
83
  }, HTMLDivElement>;
25
84
  export default _default;
@@ -0,0 +1,15 @@
1
+ export interface SelectOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface DropdownMenuProps {
6
+ options?: SelectOption[];
7
+ }
8
+ declare const _default: import('vue').DefineComponent<DropdownMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ select: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<DropdownMenuProps> & Readonly<{
11
+ onSelect?: ((...args: any[]) => any) | undefined;
12
+ }>, {
13
+ options: SelectOption[];
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ export default _default;
@@ -5,6 +5,7 @@ export interface FormFieldProps {
5
5
  }
6
6
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FormFieldProps, {
7
7
  resetValue: () => void;
8
+ setValue: (newValue: string) => string;
8
9
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {
9
10
  cssMod: "svoi" | "none";
10
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {