toku-ui 1.6.2 → 1.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.
- package/dist/components/TCombobox/TCombobox.d.ts +36 -0
- package/dist/components/TCombobox/TCombobox.d.ts.map +1 -0
- package/dist/components/TCombobox/TCombobox.styles.d.ts +1 -0
- package/dist/components/TCombobox/TCombobox.styles.d.ts.map +1 -0
- package/dist/components/TCombobox/TCombobox.types.d.ts +16 -0
- package/dist/components/TCombobox/TCombobox.types.d.ts.map +1 -0
- package/dist/components/TCombobox/TCombobox.utils.d.ts +2 -0
- package/dist/components/TCombobox/TCombobox.utils.d.ts.map +1 -0
- package/dist/components/TCombobox/index.d.ts +3 -0
- package/dist/components/TCombobox/index.d.ts.map +1 -0
- package/dist/components/TTextInput/TTextInput.d.ts.map +1 -1
- package/dist/index.es.js +651 -647
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Option } from './TCombobox.types';
|
|
3
|
+
export declare const TCombobox: import("vue").DefineComponent<{
|
|
4
|
+
options: {
|
|
5
|
+
type: PropType<Option[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
placeholder: {
|
|
9
|
+
type: PropType<string | undefined>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
label: PropType<string | undefined>;
|
|
13
|
+
helperText: PropType<string | undefined>;
|
|
14
|
+
disabled: PropType<boolean | undefined>;
|
|
15
|
+
modelValue: PropType<string | undefined>;
|
|
16
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "select" | "update:modelValue")[], "input" | "select" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
options: {
|
|
18
|
+
type: PropType<Option[]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
type: PropType<string | undefined>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
label: PropType<string | undefined>;
|
|
26
|
+
helperText: PropType<string | undefined>;
|
|
27
|
+
disabled: PropType<boolean | undefined>;
|
|
28
|
+
modelValue: PropType<string | undefined>;
|
|
29
|
+
}>> & {
|
|
30
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
placeholder: string | undefined;
|
|
35
|
+
}, {}>;
|
|
36
|
+
//# sourceMappingURL=TCombobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/TCombobox/TCombobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EAGT,MAAM,KAAK,CAAC;AAIb,OAAO,EAAE,MAAM,EAAS,MAAM,mBAAmB,CAAC;AAGlD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4HpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=TCombobox.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TCombobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TCombobox/TCombobox.styles.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type OptionLabel = string;
|
|
2
|
+
type OptionValue = unknown;
|
|
3
|
+
export type Option = {
|
|
4
|
+
label: OptionLabel;
|
|
5
|
+
value: OptionValue;
|
|
6
|
+
};
|
|
7
|
+
export type Props = {
|
|
8
|
+
options: Option[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
helperText?: string;
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=TCombobox.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TCombobox.types.d.ts","sourceRoot":"","sources":["../../../src/components/TCombobox/TCombobox.types.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG,MAAM,CAAC;AAC1B,KAAK,WAAW,GAAG,OAAO,CAAC;AAE3B,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TCombobox.utils.d.ts","sourceRoot":"","sources":["../../../src/components/TCombobox/TCombobox.utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,QAAS,MAAM,WAIR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TCombobox/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TTextInput/TTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,QAAQ,EAAO,MAAM,KAAK,CAAC;AAW/D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TTextInput/TTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,QAAQ,EAAO,MAAM,KAAK,CAAC;AAW/D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAsIrB,CAAC"}
|