tokenizer-ui-kit 0.2.38 → 0.2.39

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,8 @@
1
- import type { SelectOption } from "./types";
1
+ import type { SelectOption, SelectOptionRaw } from "./types";
2
2
  type __VLS_Props = {
3
- options: SelectOption[];
3
+ options: (SelectOption | SelectOptionRaw | string | number)[];
4
+ valueKey?: string;
5
+ labelKey?: string;
4
6
  placeholder?: string;
5
7
  searchPlaceholder?: string;
6
8
  disabled?: boolean;
@@ -16,14 +18,18 @@ type __VLS_PublicProps = __VLS_Props & {
16
18
  modelValue?: Array<string | number> | string | number | null;
17
19
  };
18
20
  declare var __VLS_1: {
19
- option: SelectOption;
20
- }, __VLS_9: {
21
- option: SelectOption;
21
+ option: SelectOption | SelectOptionRaw;
22
+ }, __VLS_13: {
23
+ option: SelectOption | SelectOptionRaw;
24
+ }, __VLS_15: {
25
+ option: SelectOption | SelectOptionRaw;
22
26
  };
23
27
  type __VLS_Slots = {} & {
24
28
  tag?: (props: typeof __VLS_1) => any;
25
29
  } & {
26
- option?: (props: typeof __VLS_9) => any;
30
+ 'option-content'?: (props: typeof __VLS_13) => any;
31
+ } & {
32
+ option?: (props: typeof __VLS_15) => any;
27
33
  };
28
34
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
35
  "update:modelValue": (value: string | number | (string | number)[] | null) => any;
@@ -39,6 +45,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
39
45
  disabled: boolean;
40
46
  placeholder: string;
41
47
  clearable: boolean;
48
+ valueKey: string;
49
+ labelKey: string;
42
50
  searchPlaceholder: string;
43
51
  noResultsText: string;
44
52
  dropdownMaxHeightClass: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Select/Select.vue"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AE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA+C/C,QAAA,MAAM,eAAe;;;;;;;;;;UAvqBV,MAAM;cAPF,OAAO;iBAFJ,MAAM;eAGR,OAAO;cALR,MAAM;cACN,MAAM;uBAEG,MAAM;mBAGV,MAAM;4BACG,MAAM;mBACf,OAAO;oBACN,OAAO;kBACT,OAAO;6EAgrBxB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -3,4 +3,5 @@ export interface SelectOption {
3
3
  value: string | number;
4
4
  disabled?: boolean;
5
5
  }
6
+ export type SelectOptionRaw = Record<string, any>;
6
7
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Select/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Select/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAGD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "typings": "dist/types/index.d.ts",
8
8
  "author": "TochJob",
9
9
  "license": "ISC",
10
- "version": "0.2.38",
10
+ "version": "0.2.39",
11
11
  "type": "module",
12
12
  "repository": {
13
13
  "type": "git",