@teammodlr/ui-kit 2.1.45 → 2.1.46

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.
@@ -1,6 +1,7 @@
1
- import type { Size } from '../../types/props';
1
+ import type { MaybeArray, Size } from '../../types/props';
2
2
  import { type PropType } from 'vue';
3
3
  import * as style from './style';
4
+ import type { OnUpdateValue } from './types';
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  label: {
6
7
  type: StringConstructor;
@@ -68,6 +69,8 @@ declare const _default: import("vue").DefineComponent<{
68
69
  type: NumberConstructor;
69
70
  default: number;
70
71
  };
72
+ 'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
73
+ onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
71
74
  modelValue: PropType<string | number | boolean | object | any[] | undefined>;
72
75
  name: StringConstructor;
73
76
  readonly: BooleanConstructor;
@@ -131,7 +134,90 @@ declare const _default: import("vue").DefineComponent<{
131
134
  leaveTo: string;
132
135
  };
133
136
  toggleAllItems: () => void;
134
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
137
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
138
+ [x: number]: string;
139
+ length: number;
140
+ toString(): string;
141
+ toLocaleString(): string;
142
+ pop(): string | undefined;
143
+ push(...items: string[]): number;
144
+ concat(...items: ConcatArray<string>[]): string[];
145
+ concat(...items: (string | ConcatArray<string>)[]): string[];
146
+ join(separator?: string | undefined): string;
147
+ reverse(): string[];
148
+ shift(): string | undefined;
149
+ slice(start?: number | undefined, end?: number | undefined): string[];
150
+ sort(compareFn?: ((a: string, b: string) => number) | undefined): string[];
151
+ splice(start: number, deleteCount?: number | undefined): string[];
152
+ splice(start: number, deleteCount: number, ...items: string[]): string[];
153
+ unshift(...items: string[]): number;
154
+ indexOf(searchElement: string, fromIndex?: number | undefined): number;
155
+ lastIndexOf(searchElement: string, fromIndex?: number | undefined): number;
156
+ every<S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, thisArg?: any): this is S[];
157
+ every(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean;
158
+ some(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean;
159
+ forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void;
160
+ map<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any): U[];
161
+ filter<S_1 extends string>(predicate: (value: string, index: number, array: string[]) => value is S_1, thisArg?: any): S_1[];
162
+ filter(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[];
163
+ reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string;
164
+ reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string;
165
+ reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1;
166
+ reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string;
167
+ reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string;
168
+ reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2;
169
+ find<S_2 extends string>(predicate: (value: string, index: number, obj: string[]) => value is S_2, thisArg?: any): S_2 | undefined;
170
+ find(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined;
171
+ findIndex(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): number;
172
+ fill(value: string, start?: number | undefined, end?: number | undefined): string[];
173
+ copyWithin(target: number, start: number, end?: number | undefined): string[];
174
+ entries(): IterableIterator<[number, string]>;
175
+ keys(): IterableIterator<number>;
176
+ values(): IterableIterator<string>;
177
+ includes(searchElement: string, fromIndex?: number | undefined): boolean;
178
+ flatMap<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
179
+ flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
180
+ [Symbol.iterator](): IterableIterator<string>;
181
+ [Symbol.unscopables]: {
182
+ [x: number]: boolean | undefined;
183
+ length?: boolean | undefined;
184
+ toString?: boolean | undefined;
185
+ toLocaleString?: boolean | undefined;
186
+ pop?: boolean | undefined;
187
+ push?: boolean | undefined;
188
+ concat?: boolean | undefined;
189
+ join?: boolean | undefined;
190
+ reverse?: boolean | undefined;
191
+ shift?: boolean | undefined;
192
+ slice?: boolean | undefined;
193
+ sort?: boolean | undefined;
194
+ splice?: boolean | undefined;
195
+ unshift?: boolean | undefined;
196
+ indexOf?: boolean | undefined;
197
+ lastIndexOf?: boolean | undefined;
198
+ every?: boolean | undefined;
199
+ some?: boolean | undefined;
200
+ forEach?: boolean | undefined;
201
+ map?: boolean | undefined;
202
+ filter?: boolean | undefined;
203
+ reduce?: boolean | undefined;
204
+ reduceRight?: boolean | undefined;
205
+ find?: boolean | undefined;
206
+ findIndex?: boolean | undefined;
207
+ fill?: boolean | undefined;
208
+ copyWithin?: boolean | undefined;
209
+ entries?: boolean | undefined;
210
+ keys?: boolean | undefined;
211
+ values?: boolean | undefined;
212
+ includes?: boolean | undefined;
213
+ flatMap?: boolean | undefined;
214
+ flat?: boolean | undefined;
215
+ [Symbol.iterator]?: boolean | undefined;
216
+ readonly [Symbol.unscopables]?: boolean | undefined;
217
+ at?: boolean | undefined;
218
+ };
219
+ at(index: number): string | undefined;
220
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
135
221
  label: {
136
222
  type: StringConstructor;
137
223
  };
@@ -198,6 +284,8 @@ declare const _default: import("vue").DefineComponent<{
198
284
  type: NumberConstructor;
199
285
  default: number;
200
286
  };
287
+ 'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
288
+ onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
201
289
  modelValue: PropType<string | number | boolean | object | any[] | undefined>;
202
290
  name: StringConstructor;
203
291
  readonly: BooleanConstructor;
@@ -0,0 +1,4 @@
1
+ export type ValueAtom = string | number;
2
+ export type Value = ValueAtom | string[] | number[] | ValueAtom[];
3
+ export type OnUpdateValue = (value: string & number & ValueAtom & string[] & number[] & ValueAtom[] & (ValueAtom | null) & (string[] | null) & (number[] | null) & (ValueAtom[] | null), option: object & null) => void;
4
+ export type OnUpdateValueImpl = (value: ValueAtom | string[] | number[] | ValueAtom[] | (ValueAtom | null) | (string[] | null) | (number[] | null) | (ValueAtom[] | null), option: object | null) => void;