@dskripchenko/ui 0.1.0 → 0.3.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.
Files changed (39) hide show
  1. package/dist/components/Code/UidCode.vue.d.ts +36 -0
  2. package/dist/components/Code/index.d.ts +2 -0
  3. package/dist/components/Combobox/UidCombobox.vue.d.ts +49 -0
  4. package/dist/components/Combobox/index.d.ts +2 -0
  5. package/dist/components/DateRangePicker/UidDateRangePicker.vue.d.ts +34 -0
  6. package/dist/components/DateRangePicker/index.d.ts +2 -0
  7. package/dist/components/DescriptionList/UidDescriptionItem.vue.d.ts +34 -0
  8. package/dist/components/DescriptionList/UidDescriptionList.vue.d.ts +36 -0
  9. package/dist/components/DescriptionList/context.d.ts +6 -0
  10. package/dist/components/DescriptionList/index.d.ts +4 -0
  11. package/dist/components/FileUpload/UidFileUpload.vue.d.ts +46 -0
  12. package/dist/components/FileUpload/index.d.ts +2 -0
  13. package/dist/components/NumberInput/UidNumberInput.vue.d.ts +46 -0
  14. package/dist/components/NumberInput/index.d.ts +2 -0
  15. package/dist/components/Rating/UidRating.vue.d.ts +34 -0
  16. package/dist/components/Rating/index.d.ts +2 -0
  17. package/dist/components/Splitter/UidSplitter.vue.d.ts +50 -0
  18. package/dist/components/Splitter/index.d.ts +2 -0
  19. package/dist/components/Stack/UidStack.vue.d.ts +1 -1
  20. package/dist/components/Stat/UidStat.vue.d.ts +48 -0
  21. package/dist/components/Stat/index.d.ts +2 -0
  22. package/dist/components/TagsInput/UidTagsInput.vue.d.ts +39 -0
  23. package/dist/components/TagsInput/index.d.ts +2 -0
  24. package/dist/components/TimePicker/UidTimePicker.vue.d.ts +33 -0
  25. package/dist/components/TimePicker/index.d.ts +2 -0
  26. package/dist/components/Timeline/UidTimeline.vue.d.ts +24 -0
  27. package/dist/components/Timeline/UidTimelineItem.vue.d.ts +33 -0
  28. package/dist/components/Timeline/index.d.ts +4 -0
  29. package/dist/components/TreeView/UidTreeItem.vue.d.ts +7 -0
  30. package/dist/components/TreeView/UidTreeView.vue.d.ts +35 -0
  31. package/dist/components/TreeView/context.d.ts +26 -0
  32. package/dist/components/TreeView/index.d.ts +4 -0
  33. package/dist/index.cjs +2 -1
  34. package/dist/index.d.ts +28 -0
  35. package/dist/index.mjs +2665 -661
  36. package/dist/patterns/Result/UidResult.vue.d.ts +37 -0
  37. package/dist/patterns/Result/index.d.ts +2 -0
  38. package/dist/styles/index.css +1 -1
  39. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ export interface UidCodeProps {
2
+ code?: string;
3
+ language?: string;
4
+ inline?: boolean;
5
+ lineNumbers?: boolean;
6
+ copy?: boolean;
7
+ wrap?: boolean;
8
+ maxHeight?: string;
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Readonly<{
13
+ default?(): unknown;
14
+ }> & {
15
+ default?(): unknown;
16
+ };
17
+ refs: {};
18
+ rootEl: any;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<UidCodeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidCodeProps> & Readonly<{}>, {
22
+ code: string;
23
+ inline: boolean;
24
+ copy: boolean;
25
+ language: string;
26
+ lineNumbers: boolean;
27
+ wrap: boolean;
28
+ maxHeight: string;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,2 @@
1
+ export { default as UidCode } from './UidCode.vue';
2
+ export type { UidCodeProps } from './UidCode.vue';
@@ -0,0 +1,49 @@
1
+ import { Size } from '../../types/index.js';
2
+ export interface ComboboxOption {
3
+ value: string | number;
4
+ label: string;
5
+ hint?: string;
6
+ disabled?: boolean;
7
+ }
8
+ export interface UidComboboxProps {
9
+ options: ComboboxOption[];
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ clearable?: boolean;
13
+ allowCreate?: boolean;
14
+ filter?: (option: ComboboxOption, query: string) => boolean;
15
+ size?: Size;
16
+ label?: string;
17
+ hint?: string;
18
+ error?: string;
19
+ required?: boolean;
20
+ emptyText?: string;
21
+ id?: string;
22
+ }
23
+ type __VLS_Props = UidComboboxProps;
24
+ type __VLS_PublicProps = {
25
+ modelValue?: string | number | null;
26
+ } & __VLS_Props;
27
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ "update:modelValue": (value: string | number | null) => any;
29
+ change: (value: string | number | null) => any;
30
+ create: (value: string) => any;
31
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
33
+ onChange?: ((value: string | number | null) => any) | undefined;
34
+ onCreate?: ((value: string) => any) | undefined;
35
+ }>, {
36
+ size: Size;
37
+ filter: (option: ComboboxOption, query: string) => boolean;
38
+ required: boolean;
39
+ disabled: boolean;
40
+ placeholder: string;
41
+ emptyText: string;
42
+ clearable: boolean;
43
+ allowCreate: boolean;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ containerRef: HTMLDivElement;
46
+ inputRef: HTMLInputElement;
47
+ listRef: HTMLDivElement;
48
+ }, HTMLDivElement>;
49
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidCombobox } from './UidCombobox.vue';
2
+ export type { UidComboboxProps, ComboboxOption } from './UidCombobox.vue';
@@ -0,0 +1,34 @@
1
+ export interface DateRange {
2
+ start: string | null;
3
+ end: string | null;
4
+ }
5
+ export interface UidDateRangePickerProps {
6
+ min?: string;
7
+ max?: string;
8
+ disabled?: boolean;
9
+ clearable?: boolean;
10
+ placeholder?: string;
11
+ format?: (date: Date) => string;
12
+ }
13
+ type __VLS_Props = UidDateRangePickerProps;
14
+ type __VLS_PublicProps = {
15
+ modelValue?: DateRange;
16
+ } & __VLS_Props;
17
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (value: DateRange) => any;
19
+ change: (value: DateRange) => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
22
+ onChange?: ((value: DateRange) => any) | undefined;
23
+ }>, {
24
+ disabled: boolean;
25
+ min: string;
26
+ max: string;
27
+ placeholder: string;
28
+ format: (date: Date) => string;
29
+ clearable: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ containerRef: HTMLDivElement;
32
+ triggerRef: HTMLDivElement;
33
+ }, HTMLDivElement>;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidDateRangePicker } from './UidDateRangePicker.vue';
2
+ export type { UidDateRangePickerProps, DateRange } from './UidDateRangePicker.vue';
@@ -0,0 +1,34 @@
1
+ export interface UidDescriptionItemProps {
2
+ label?: string;
3
+ span?: number;
4
+ copyable?: boolean;
5
+ copyValue?: string;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: Readonly<{
10
+ default?(): unknown;
11
+ label?(): unknown;
12
+ }> & {
13
+ default?(): unknown;
14
+ label?(): unknown;
15
+ };
16
+ refs: {
17
+ itemRef: HTMLDivElement;
18
+ };
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<UidDescriptionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidDescriptionItemProps> & Readonly<{}>, {
23
+ span: number;
24
+ copyable: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
+ itemRef: HTMLDivElement;
27
+ }, HTMLDivElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,36 @@
1
+ import { Size } from '../../types/index.js';
2
+ export interface UidDescriptionListProps {
3
+ title?: string;
4
+ direction?: 'horizontal' | 'vertical';
5
+ columns?: number;
6
+ bordered?: boolean;
7
+ size?: Size;
8
+ labelWidth?: string;
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: Readonly<{
13
+ default?(): unknown;
14
+ title?(): unknown;
15
+ }> & {
16
+ default?(): unknown;
17
+ title?(): unknown;
18
+ };
19
+ refs: {};
20
+ rootEl: HTMLDivElement;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: import('vue').DefineComponent<UidDescriptionListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidDescriptionListProps> & Readonly<{}>, {
24
+ size: Size;
25
+ direction: "horizontal" | "vertical";
26
+ columns: number;
27
+ bordered: boolean;
28
+ labelWidth: string;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,6 @@
1
+ import { InjectionKey, Ref } from 'vue';
2
+ export interface DescriptionListContext {
3
+ direction: Ref<'horizontal' | 'vertical'>;
4
+ bordered: Ref<boolean>;
5
+ }
6
+ export declare const descriptionListKey: InjectionKey<DescriptionListContext>;
@@ -0,0 +1,4 @@
1
+ export { default as UidDescriptionList } from './UidDescriptionList.vue';
2
+ export { default as UidDescriptionItem } from './UidDescriptionItem.vue';
3
+ export type { UidDescriptionListProps } from './UidDescriptionList.vue';
4
+ export type { UidDescriptionItemProps } from './UidDescriptionItem.vue';
@@ -0,0 +1,46 @@
1
+ export interface UploadedFile {
2
+ file: File;
3
+ id: string;
4
+ progress?: number;
5
+ error?: string;
6
+ }
7
+ export interface UidFileUploadProps {
8
+ multiple?: boolean;
9
+ accept?: string;
10
+ maxSize?: number;
11
+ maxFiles?: number;
12
+ disabled?: boolean;
13
+ label?: string;
14
+ hint?: string;
15
+ error?: string;
16
+ required?: boolean;
17
+ primaryText?: string;
18
+ secondaryText?: string;
19
+ }
20
+ type __VLS_Props = UidFileUploadProps;
21
+ type __VLS_PublicProps = {
22
+ modelValue?: UploadedFile[];
23
+ } & __VLS_Props;
24
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ add: (files: File[]) => any;
26
+ "update:modelValue": (value: UploadedFile[]) => any;
27
+ remove: (file: File) => any;
28
+ reject: (file: File, reason: string) => any;
29
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ onAdd?: ((files: File[]) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: UploadedFile[]) => any) | undefined;
32
+ onRemove?: ((file: File) => any) | undefined;
33
+ onReject?: ((file: File, reason: string) => any) | undefined;
34
+ }>, {
35
+ required: boolean;
36
+ disabled: boolean;
37
+ multiple: boolean;
38
+ accept: string;
39
+ maxSize: number;
40
+ maxFiles: number;
41
+ primaryText: string;
42
+ secondaryText: string;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
44
+ inputRef: HTMLInputElement;
45
+ }, HTMLDivElement>;
46
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidFileUpload } from './UidFileUpload.vue';
2
+ export type { UidFileUploadProps, UploadedFile } from './UidFileUpload.vue';
@@ -0,0 +1,46 @@
1
+ import { Size } from '../../types/index.js';
2
+ export interface UidNumberInputProps {
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ precision?: number;
7
+ disabled?: boolean;
8
+ readonly?: boolean;
9
+ size?: Size;
10
+ label?: string;
11
+ hint?: string;
12
+ error?: string;
13
+ required?: boolean;
14
+ placeholder?: string;
15
+ name?: string;
16
+ id?: string;
17
+ controls?: boolean;
18
+ centered?: boolean;
19
+ }
20
+ type __VLS_Props = UidNumberInputProps;
21
+ type __VLS_PublicProps = {
22
+ modelValue?: number | null;
23
+ } & __VLS_Props;
24
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ blur: (event: FocusEvent) => any;
26
+ focus: (event: FocusEvent) => any;
27
+ "update:modelValue": (value: number | null) => any;
28
+ change: (value: number | null) => any;
29
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ onBlur?: ((event: FocusEvent) => any) | undefined;
31
+ onFocus?: ((event: FocusEvent) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
33
+ onChange?: ((value: number | null) => any) | undefined;
34
+ }>, {
35
+ size: Size;
36
+ required: boolean;
37
+ disabled: boolean;
38
+ min: number;
39
+ max: number;
40
+ readonly: boolean;
41
+ step: number;
42
+ precision: number;
43
+ controls: boolean;
44
+ centered: boolean;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
46
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidNumberInput } from './UidNumberInput.vue';
2
+ export type { UidNumberInputProps } from './UidNumberInput.vue';
@@ -0,0 +1,34 @@
1
+ import { Size } from '../../types/index.js';
2
+ export type RatingTone = 'warning' | 'primary' | 'success' | 'danger';
3
+ export interface UidRatingProps {
4
+ max?: number;
5
+ allowHalf?: boolean;
6
+ readonly?: boolean;
7
+ disabled?: boolean;
8
+ showLabel?: boolean;
9
+ size?: Size;
10
+ tone?: RatingTone;
11
+ icon?: unknown;
12
+ label?: string;
13
+ }
14
+ type __VLS_Props = UidRatingProps;
15
+ type __VLS_PublicProps = {
16
+ modelValue?: number;
17
+ } & __VLS_Props;
18
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (value: number) => any;
20
+ change: (value: number) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
23
+ onChange?: ((value: number) => any) | undefined;
24
+ }>, {
25
+ icon: undefined;
26
+ size: Size;
27
+ disabled: boolean;
28
+ max: number;
29
+ readonly: boolean;
30
+ tone: RatingTone;
31
+ allowHalf: boolean;
32
+ showLabel: boolean;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidRating } from './UidRating.vue';
2
+ export type { UidRatingProps, RatingTone } from './UidRating.vue';
@@ -0,0 +1,50 @@
1
+ export interface UidSplitterProps {
2
+ direction?: 'horizontal' | 'vertical';
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ disabled?: boolean;
7
+ }
8
+ type __VLS_Props = UidSplitterProps;
9
+ type __VLS_PublicProps = {
10
+ modelValue?: number;
11
+ } & __VLS_Props;
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: Readonly<{
15
+ start?(): unknown;
16
+ end?(): unknown;
17
+ }> & {
18
+ start?(): unknown;
19
+ end?(): unknown;
20
+ };
21
+ refs: {
22
+ containerRef: HTMLDivElement;
23
+ handleRef: HTMLDivElement;
24
+ };
25
+ rootEl: HTMLDivElement;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ "update:modelValue": (value: number) => any;
30
+ change: (value: number) => any;
31
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
33
+ onChange?: ((value: number) => any) | undefined;
34
+ }>, {
35
+ disabled: boolean;
36
+ min: number;
37
+ max: number;
38
+ direction: "horizontal" | "vertical";
39
+ step: number;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
41
+ containerRef: HTMLDivElement;
42
+ handleRef: HTMLDivElement;
43
+ }, HTMLDivElement>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
+ export default _default;
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,2 @@
1
+ export { default as UidSplitter } from './UidSplitter.vue';
2
+ export type { UidSplitterProps } from './UidSplitter.vue';
@@ -22,10 +22,10 @@ declare const __VLS_component: import('vue').DefineComponent<UidStackProps, {},
22
22
  inline: boolean;
23
23
  direction: "row" | "column" | "row-reverse" | "column-reverse";
24
24
  as: string;
25
+ wrap: boolean;
25
26
  gap: string;
26
27
  align: "start" | "center" | "end" | "stretch" | "baseline";
27
28
  justify: "start" | "center" | "end" | "between" | "around" | "evenly";
28
- wrap: boolean;
29
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
31
  export default _default;
@@ -0,0 +1,48 @@
1
+ import { Component } from 'vue';
2
+ export type StatTone = 'primary' | 'success' | 'warning' | 'danger' | 'info';
3
+ export type StatVariant = 'card' | 'ghost';
4
+ export interface UidStatProps {
5
+ title?: string;
6
+ value?: number | string;
7
+ prefix?: string;
8
+ suffix?: string;
9
+ trend?: number;
10
+ trendSuffix?: string;
11
+ precision?: number;
12
+ formatter?: (value: number | string) => string;
13
+ tone?: StatTone;
14
+ variant?: StatVariant;
15
+ icon?: Component;
16
+ loading?: boolean;
17
+ footer?: string;
18
+ }
19
+ declare function __VLS_template(): {
20
+ attrs: Partial<{}>;
21
+ slots: Readonly<{
22
+ icon?(): unknown;
23
+ value?(): unknown;
24
+ trend?(): unknown;
25
+ footer?(): unknown;
26
+ }> & {
27
+ icon?(): unknown;
28
+ value?(): unknown;
29
+ trend?(): unknown;
30
+ footer?(): unknown;
31
+ };
32
+ refs: {};
33
+ rootEl: HTMLDivElement;
34
+ };
35
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
+ declare const __VLS_component: import('vue').DefineComponent<UidStatProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidStatProps> & Readonly<{}>, {
37
+ variant: StatVariant;
38
+ precision: number;
39
+ tone: StatTone;
40
+ trendSuffix: string;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,2 @@
1
+ export { default as UidStat } from './UidStat.vue';
2
+ export type { UidStatProps, StatTone, StatVariant } from './UidStat.vue';
@@ -0,0 +1,39 @@
1
+ import { Size } from '../../types/index.js';
2
+ export interface UidTagsInputProps {
3
+ separators?: string[];
4
+ max?: number;
5
+ unique?: boolean;
6
+ validate?: (value: string) => boolean;
7
+ placeholder?: string;
8
+ label?: string;
9
+ hint?: string;
10
+ error?: string;
11
+ required?: boolean;
12
+ disabled?: boolean;
13
+ size?: Size;
14
+ id?: string;
15
+ }
16
+ type __VLS_Props = UidTagsInputProps;
17
+ type __VLS_PublicProps = {
18
+ modelValue?: string[];
19
+ } & __VLS_Props;
20
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ add: (value: string) => any;
22
+ "update:modelValue": (value: string[]) => any;
23
+ remove: (value: string, index: number) => any;
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ onAdd?: ((value: string) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
27
+ onRemove?: ((value: string, index: number) => any) | undefined;
28
+ }>, {
29
+ size: Size;
30
+ required: boolean;
31
+ disabled: boolean;
32
+ max: number;
33
+ validate: (value: string) => boolean;
34
+ separators: string[];
35
+ unique: boolean;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
37
+ inputRef: HTMLInputElement;
38
+ }, HTMLDivElement>;
39
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidTagsInput } from './UidTagsInput.vue';
2
+ export type { UidTagsInputProps } from './UidTagsInput.vue';
@@ -0,0 +1,33 @@
1
+ export interface UidTimePickerProps {
2
+ step?: number;
3
+ withSeconds?: boolean;
4
+ hour12?: boolean;
5
+ disabled?: boolean;
6
+ clearable?: boolean;
7
+ placeholder?: string;
8
+ }
9
+ type __VLS_Props = UidTimePickerProps;
10
+ type __VLS_PublicProps = {
11
+ modelValue?: string | null;
12
+ } & __VLS_Props;
13
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string | null) => any;
15
+ change: (value: string | null) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
18
+ onChange?: ((value: string | null) => any) | undefined;
19
+ }>, {
20
+ disabled: boolean;
21
+ placeholder: string;
22
+ step: number;
23
+ clearable: boolean;
24
+ withSeconds: boolean;
25
+ hour12: boolean;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
+ containerRef: HTMLDivElement;
28
+ triggerRef: HTMLDivElement;
29
+ hourColRef: HTMLDivElement;
30
+ minuteColRef: HTMLDivElement;
31
+ secondColRef: HTMLDivElement;
32
+ }, HTMLDivElement>;
33
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UidTimePicker } from './UidTimePicker.vue';
2
+ export type { UidTimePickerProps } from './UidTimePicker.vue';
@@ -0,0 +1,24 @@
1
+ export interface UidTimelineProps {
2
+ alternate?: boolean;
3
+ }
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: Readonly<{
7
+ default?(): unknown;
8
+ }> & {
9
+ default?(): unknown;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLOListElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<UidTimelineProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidTimelineProps> & Readonly<{}>, {
16
+ alternate: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLOListElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,33 @@
1
+ export type TimelineTone = 'neutral' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
2
+ export interface UidTimelineItemProps {
3
+ title?: string;
4
+ description?: string;
5
+ time?: string;
6
+ tone?: TimelineTone;
7
+ icon?: unknown;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Readonly<{
12
+ default?(): unknown;
13
+ time?(): unknown;
14
+ icon?(): unknown;
15
+ }> & {
16
+ default?(): unknown;
17
+ time?(): unknown;
18
+ icon?(): unknown;
19
+ };
20
+ refs: {};
21
+ rootEl: HTMLLIElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<UidTimelineItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UidTimelineItemProps> & Readonly<{}>, {
25
+ tone: TimelineTone;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,4 @@
1
+ export { default as UidTimeline } from './UidTimeline.vue';
2
+ export { default as UidTimelineItem } from './UidTimelineItem.vue';
3
+ export type { UidTimelineProps } from './UidTimeline.vue';
4
+ export type { UidTimelineItemProps, TimelineTone } from './UidTimelineItem.vue';
@@ -0,0 +1,7 @@
1
+ import { TreeNode } from './context.js';
2
+ interface Props {
3
+ node: TreeNode;
4
+ level: number;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
7
+ export default _default;