sep-yui 0.0.65 → 0.0.69

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 (89) hide show
  1. package/README.md +46 -46
  2. package/dist/common/extentions.d.ts +6 -2
  3. package/dist/components/Accordion/Accordion.vue.d.ts +12 -0
  4. package/dist/components/Badges/Badges.vue.d.ts +5 -3
  5. package/dist/components/Badges/enum/enum.d.ts +3 -1
  6. package/dist/components/Button/Button.vue.d.ts +3 -3
  7. package/dist/components/Button/enum/enum.d.ts +2 -1
  8. package/dist/components/Button/interface/interface.d.ts +3 -3
  9. package/dist/components/Calendar/Calendar.vue.d.ts +19 -0
  10. package/dist/components/Calendar/DataPickerChoose.vue.d.ts +19 -0
  11. package/dist/components/Calendar/DatePicker.vue.d.ts +73 -0
  12. package/dist/components/Calendar/DatePickerRange.vue.d.ts +62 -0
  13. package/dist/components/Calendar/date-utils.d.ts +6 -0
  14. package/dist/components/Calendar/enums/enums.d.ts +4 -0
  15. package/dist/components/Calendar/interfaces/interfaces.d.ts +22 -0
  16. package/dist/components/Card/Card.vue.d.ts +1 -0
  17. package/dist/components/Checkbox/Checkbox.vue.d.ts +8 -0
  18. package/dist/components/Checkbox/interface/interface.d.ts +2 -0
  19. package/dist/components/CircularProgress/CircularProgress.vue.d.ts +21 -0
  20. package/dist/components/CircularProgress/interface/interface.d.ts +3 -0
  21. package/dist/components/Dialog/Dialog.vue.d.ts +5 -1
  22. package/dist/components/Dialog/interface/interface.d.ts +1 -0
  23. package/dist/components/DragAndDrop/DragAndDrop.vue.d.ts +3 -0
  24. package/dist/components/DragAndDrop/interface/interface.d.ts +1 -0
  25. package/dist/components/FilterTag/FilterTag.vue.d.ts +44 -0
  26. package/dist/components/FilterTag/interface/interface.d.ts +16 -0
  27. package/dist/components/Icon/enum/enum.d.ts +12 -1
  28. package/dist/components/Icon/icons.d.ts +14 -0
  29. package/dist/components/Input/Input.vue.d.ts +44 -0
  30. package/dist/components/Input/enum/enum.d.ts +2 -1
  31. package/dist/components/Input/interface/interface.d.ts +4 -1
  32. package/dist/components/InputNumber/InputNumber.vue.d.ts +41 -0
  33. package/dist/components/InputNumber/enum/enum.d.ts +2 -1
  34. package/dist/components/InputNumber/interface/interface.d.ts +8 -0
  35. package/dist/components/Loader/Loader.vue.d.ts +27 -0
  36. package/dist/components/Loader/interfaces/interfaces.d.ts +1 -4
  37. package/dist/components/Modal/Modal.vue.d.ts +5 -1
  38. package/dist/components/Modal/ModalAnimated.vue.d.ts +26 -0
  39. package/dist/components/Notification/Notification.vue.d.ts +1 -1
  40. package/dist/components/Picture/Picture.vue.d.ts +21 -0
  41. package/dist/components/Picture/enums/enums.d.ts +5 -0
  42. package/dist/components/Picture/interface/interface.d.ts +8 -0
  43. package/dist/components/Popover/Popover.vue.d.ts +31 -0
  44. package/dist/components/Popover/PopoverHover.vue.d.ts +37 -0
  45. package/dist/components/Popover/enums/enums.d.ts +4 -0
  46. package/dist/components/Popover/interface/interface.d.ts +14 -0
  47. package/dist/components/Radio/Radio.vue.d.ts +19 -0
  48. package/dist/components/Radio/interface/interface.d.ts +5 -0
  49. package/dist/components/Range/Range.vue.d.ts +49 -0
  50. package/dist/components/Range/interface/interface.d.ts +10 -0
  51. package/dist/components/ScrollWrapper/ScrollWrapper.vue.d.ts +47 -0
  52. package/dist/components/ScrollWrapper/interface/interface.d.ts +4 -0
  53. package/dist/components/Search/History.vue.d.ts +2 -2
  54. package/dist/components/Search/Search.vue.d.ts +5 -0
  55. package/dist/components/Search/SearchResult.vue.d.ts +2 -2
  56. package/dist/components/Search/interface/interface.d.ts +1 -0
  57. package/dist/components/Select/BaseFilter.vue.d.ts +77 -0
  58. package/dist/components/Select/ChoosenMiniOptions.vue.d.ts +17 -0
  59. package/dist/components/Select/Combobox.vue.d.ts +25 -0
  60. package/dist/components/{Dropdown → Select}/Dropdown.vue.d.ts +10 -4
  61. package/dist/components/Select/Filter.vue.d.ts +36 -0
  62. package/dist/components/Select/Options.vue.d.ts +34 -0
  63. package/dist/components/Select/SelectList.vue.d.ts +41 -0
  64. package/dist/components/Select/interface/interface.d.ts +51 -0
  65. package/dist/components/Table/HeadTableRow.vue.d.ts +11 -0
  66. package/dist/components/Table/SectionTableRow.vue.d.ts +22 -0
  67. package/dist/components/Table/Table.vue.d.ts +51 -0
  68. package/dist/components/Table/TableRow.vue.d.ts +38 -0
  69. package/dist/components/Table/TableTd.vue.d.ts +39 -0
  70. package/dist/components/Table/TableTh.vue.d.ts +39 -0
  71. package/dist/components/Table/interface/interface.d.ts +18 -0
  72. package/dist/components/Textarea/Textarea.vue.d.ts +7 -0
  73. package/dist/components/Textarea/enum/index.d.ts +4 -0
  74. package/dist/components/Textarea/interface/interface.d.ts +4 -0
  75. package/dist/components/Toggle/Toggle.vue.d.ts +30 -27
  76. package/dist/components/Toggle/enums/enums.d.ts +6 -0
  77. package/dist/components/Toggle/interface/interface.d.ts +3 -1
  78. package/dist/components/Tooltip/Tooltip.vue.d.ts +48 -0
  79. package/dist/components/Tooltip/interface/interface.d.ts +12 -0
  80. package/dist/components/index.d.ts +29 -3
  81. package/dist/helpers/change-style-properties.d.ts +19 -0
  82. package/dist/helpers/guards/is-options-object-with-hint.d.ts +6 -0
  83. package/dist/helpers/guards/is-options-object.d.ts +4 -0
  84. package/dist/helpers/throttle.d.ts +7 -0
  85. package/dist/sep-yui.es.ts +14392 -5509
  86. package/dist/sep-yui.umd.ts +113 -39
  87. package/dist/style.css +1 -1
  88. package/package.json +27 -24
  89. package/dist/components/Dropdown/interface/interface.d.ts +0 -5
@@ -0,0 +1,77 @@
1
+ import { OptionsObject } from './interface/interface';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: import('vue').PropType<string | string[]>;
5
+ title: {
6
+ type: import('vue').PropType<string>;
7
+ required: true;
8
+ };
9
+ class: {
10
+ type: import('vue').PropType<string>;
11
+ };
12
+ disabled: {
13
+ type: import('vue').PropType<boolean>;
14
+ };
15
+ options: {
16
+ type: import('vue').PropType<OptionsObject[] | import('./interface/interface').IOptionsObjectWithHint[]>;
17
+ required: true;
18
+ };
19
+ defaultOption: {
20
+ type: import('vue').PropType<string>;
21
+ default: string;
22
+ };
23
+ isSearch: {
24
+ type: import('vue').PropType<boolean>;
25
+ default: boolean;
26
+ };
27
+ isPosibleToClear: {
28
+ type: import('vue').PropType<boolean>;
29
+ default: boolean;
30
+ };
31
+ isShowMiniOptions: {
32
+ type: import('vue').PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ change: (value: string | string[]) => void;
37
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
+ modelValue: import('vue').PropType<string | string[]>;
39
+ title: {
40
+ type: import('vue').PropType<string>;
41
+ required: true;
42
+ };
43
+ class: {
44
+ type: import('vue').PropType<string>;
45
+ };
46
+ disabled: {
47
+ type: import('vue').PropType<boolean>;
48
+ };
49
+ options: {
50
+ type: import('vue').PropType<OptionsObject[] | import('./interface/interface').IOptionsObjectWithHint[]>;
51
+ required: true;
52
+ };
53
+ defaultOption: {
54
+ type: import('vue').PropType<string>;
55
+ default: string;
56
+ };
57
+ isSearch: {
58
+ type: import('vue').PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ isPosibleToClear: {
62
+ type: import('vue').PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ isShowMiniOptions: {
66
+ type: import('vue').PropType<boolean>;
67
+ default: boolean;
68
+ };
69
+ }>> & {
70
+ onChange?: ((value: string | string[]) => any) | undefined;
71
+ }, {
72
+ defaultOption: string;
73
+ isSearch: boolean;
74
+ isPosibleToClear: boolean;
75
+ isShowMiniOptions: boolean;
76
+ }, {}>;
77
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { IChoosenMiniOptionsProps } from './interface/interface';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<IChoosenMiniOptionsProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ remove: (key: string) => void;
5
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IChoosenMiniOptionsProps>>> & {
6
+ onRemove?: ((key: string) => any) | undefined;
7
+ }, {}, {}>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,25 @@
1
+ import { IComboboxProps } from './interface/interface';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IComboboxProps>, {
4
+ disabled: boolean;
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
6
+ disabled: boolean;
7
+ }, {}>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithDefaults<P, D> = {
19
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
+ default: D[K];
21
+ }> : P[K];
22
+ };
23
+ type __VLS_Prettify<T> = {
24
+ [K in keyof T]: T[K];
25
+ } & {};
@@ -1,10 +1,16 @@
1
- import { IDropdownProps } from './interface/interface';
1
+ import { IOptionsProps } from './interface/interface';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
4
+ disabled: boolean;
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
6
  change: (value: string) => void;
5
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {}>>> & {
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
8
+ disabled: boolean;
9
+ }>>> & {
6
10
  onChange?: ((value: string) => any) | undefined;
7
- }, {}, {}>;
11
+ }, {
12
+ disabled: boolean;
13
+ }, {}>;
8
14
  export default _default;
9
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,36 @@
1
+ import { IFilterProps } from './interface/interface';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterProps>, {
4
+ noOptionText: string;
5
+ enableClearAll: boolean;
6
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ change: (value: string) => void;
8
+ search: (value: string) => void;
9
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterProps>, {
10
+ noOptionText: string;
11
+ enableClearAll: boolean;
12
+ }>>> & {
13
+ onChange?: ((value: string) => any) | undefined;
14
+ onSearch?: ((value: string) => any) | undefined;
15
+ }, {
16
+ noOptionText: string;
17
+ enableClearAll: boolean;
18
+ }, {}>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
29
+ type __VLS_WithDefaults<P, D> = {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
+ default: D[K];
32
+ }> : P[K];
33
+ };
34
+ type __VLS_Prettify<T> = {
35
+ [K in keyof T]: T[K];
36
+ } & {};
@@ -0,0 +1,34 @@
1
+ import { IOptionsProps } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ change: (value: string) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {}>>> & {
9
+ onChange?: ((value: string) => any) | undefined;
10
+ }, {}, {}>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,41 @@
1
+ import { ISelectListProps } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ header?(_: {}): any;
5
+ options?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectListProps>, {
8
+ isOpened: boolean;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ change: (val: boolean) => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectListProps>, {
12
+ isOpened: boolean;
13
+ }>>> & {
14
+ onChange?: ((val: boolean) => any) | undefined;
15
+ }, {
16
+ isOpened: boolean;
17
+ }, {}>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
29
+ type __VLS_WithDefaults<P, D> = {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
+ default: D[K];
32
+ }> : P[K];
33
+ };
34
+ type __VLS_Prettify<T> = {
35
+ [K in keyof T]: T[K];
36
+ } & {};
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,51 @@
1
+ interface ClassObject {
2
+ [key: string]: boolean;
3
+ }
4
+ type ClassArray = Array<string | ClassObject>;
5
+ type VueClasses = ClassObject | ClassArray | string;
6
+ export type TOptions = string[] | OptionsObject[];
7
+ export interface OptionsObject {
8
+ key: string;
9
+ value: string;
10
+ }
11
+ export interface IOptionsObjectWithHint extends OptionsObject {
12
+ hint: string;
13
+ }
14
+ export interface IOptionsProps {
15
+ options: string[] | OptionsObject[] | IOptionsObjectWithHint[];
16
+ defaultOption?: string;
17
+ class?: string;
18
+ disabled?: boolean;
19
+ }
20
+ export interface ISelectListProps {
21
+ isOpened: boolean;
22
+ disableOpen?: boolean;
23
+ headerClasses?: VueClasses;
24
+ optionsClasses?: VueClasses;
25
+ disabled?: boolean;
26
+ }
27
+ export interface IFilterProps extends Omit<IOptionsProps, 'options'> {
28
+ options: TOptions;
29
+ title: string;
30
+ noOptionText?: string;
31
+ enableClearAll?: boolean;
32
+ }
33
+ export interface IComboboxProps extends IOptionsProps {
34
+ options: string[];
35
+ placeholder?: string;
36
+ disableOpen?: boolean;
37
+ }
38
+ export interface IBaseFilterProps extends Omit<IOptionsProps, 'options'> {
39
+ options: OptionsObject[] | IOptionsObjectWithHint[];
40
+ title: string;
41
+ isSearch?: boolean;
42
+ isPosibleToClear?: boolean;
43
+ isShowMiniOptions?: boolean;
44
+ }
45
+ export interface IChoosenMiniOptionsProps {
46
+ options: OptionsObject[] | IOptionsObjectWithHint[];
47
+ }
48
+ export interface IChoosenMiniOptionsEmits {
49
+ (e: 'remove', key: string): void;
50
+ }
51
+ export {};
@@ -0,0 +1,11 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
+ export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -0,0 +1,22 @@
1
+ import { ISectionTableRow } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ISectionTableRow>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ISectionTableRow>>>, {}, {}>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,51 @@
1
+ import { ITableProps } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ colgroup?(_: {}): any;
5
+ head?(_: {
6
+ countColumn: number;
7
+ }): any;
8
+ search?(_: {}): any;
9
+ body?(_: {
10
+ countColumn: number;
11
+ }): any;
12
+ };
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableProps>, {
14
+ isShowVerticalScroll: boolean;
15
+ }>, {
16
+ scrollToTop: () => void;
17
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ unmountScroll: (event: Event) => void;
19
+ "unmount-intersection": () => void;
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableProps>, {
21
+ isShowVerticalScroll: boolean;
22
+ }>>> & {
23
+ onUnmountScroll?: ((event: Event) => any) | undefined;
24
+ "onUnmount-intersection"?: (() => any) | undefined;
25
+ }, {
26
+ isShowVerticalScroll: boolean;
27
+ }, {}>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ export default _default;
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToRuntimeProps<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
39
+ type __VLS_WithDefaults<P, D> = {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
+ default: D[K];
42
+ }> : P[K];
43
+ };
44
+ type __VLS_Prettify<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
47
+ type __VLS_WithTemplateSlots<T, S> = T & {
48
+ new (): {
49
+ $slots: S;
50
+ };
51
+ };
@@ -0,0 +1,38 @@
1
+ import { ITableRow } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableRow>, {
7
+ type: string;
8
+ colspan: number;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableRow>, {
10
+ type: string;
11
+ colspan: number;
12
+ }>>>, {
13
+ type: import('./interface/interface').TTableRow;
14
+ }, {}>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,39 @@
1
+ import { ITableTd } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableTd>, {
7
+ colspan: number;
8
+ rowspan: number;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableTd>, {
10
+ colspan: number;
11
+ rowspan: number;
12
+ }>>>, {
13
+ colspan: number | string;
14
+ rowspan: number | string;
15
+ }, {}>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,39 @@
1
+ import { ITableTd } from './interface/interface';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableTd>, {
7
+ colspan: number;
8
+ rowspan: number;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITableTd>, {
10
+ colspan: number;
11
+ rowspan: number;
12
+ }>>>, {
13
+ colspan: number | string;
14
+ rowspan: number | string;
15
+ }, {}>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,18 @@
1
+ export interface ISectionTable<T> {
2
+ title?: string;
3
+ values: T[];
4
+ }
5
+ export type TTableRow = 'selected' | 'default';
6
+ export interface ITableRow {
7
+ type?: TTableRow;
8
+ }
9
+ export interface ISectionTableRow {
10
+ colspan: number | string;
11
+ }
12
+ export interface ITableTd {
13
+ colspan?: number | string;
14
+ rowspan?: number | string;
15
+ }
16
+ export interface ITableProps {
17
+ isShowVerticalScroll?: boolean;
18
+ }
@@ -1,18 +1,25 @@
1
1
  import { ITextareaProps } from './interface/interface';
2
+ import { TextareaTypeEnum } from './enum';
2
3
 
3
4
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITextareaProps>, {
4
5
  required: boolean;
5
6
  modelValue: string;
7
+ readonly: boolean;
8
+ type: TextareaTypeEnum;
6
9
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
10
  "update:modelValue": (value: string) => void;
8
11
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITextareaProps>, {
9
12
  required: boolean;
10
13
  modelValue: string;
14
+ readonly: boolean;
15
+ type: TextareaTypeEnum;
11
16
  }>>> & {
12
17
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
18
  }, {
19
+ type: TextareaTypeEnum;
14
20
  required: boolean;
15
21
  modelValue: string;
22
+ readonly: boolean;
16
23
  }, {}>;
17
24
  export default _default;
18
25
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,4 @@
1
+ export declare enum TextareaTypeEnum {
2
+ default = "default",
3
+ minor = "minor"
4
+ }
@@ -1,7 +1,11 @@
1
+ import { TextareaTypeEnum } from '../enum';
2
+
1
3
  export interface ITextareaProps {
2
4
  placeholder?: string;
3
5
  inputMessage?: string;
4
6
  required?: boolean;
5
7
  maxlength?: number;
6
8
  modelValue: string;
9
+ readonly?: boolean;
10
+ type?: TextareaTypeEnum;
7
11
  }
@@ -1,34 +1,37 @@
1
- import { IToggleProps } from './interface/interface';
1
+ import { ToggleEnum } from './enums/enums.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IToggleProps>, {
4
- disabled: boolean;
5
- checked: boolean;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: import('vue').PropType<boolean>;
5
+ type: {
6
+ type: import('vue').PropType<ToggleEnum>;
7
+ default: ToggleEnum;
8
+ };
9
+ disabled: {
10
+ type: import('vue').PropType<boolean>;
11
+ default: boolean;
12
+ };
13
+ backgroundColor: {
14
+ type: import('vue').PropType<string>;
15
+ };
16
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
17
  change: (isChecked: boolean) => void;
8
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IToggleProps>, {
9
- disabled: boolean;
10
- checked: boolean;
11
- }>>> & {
18
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
+ modelValue: import('vue').PropType<boolean>;
20
+ type: {
21
+ type: import('vue').PropType<ToggleEnum>;
22
+ default: ToggleEnum;
23
+ };
24
+ disabled: {
25
+ type: import('vue').PropType<boolean>;
26
+ default: boolean;
27
+ };
28
+ backgroundColor: {
29
+ type: import('vue').PropType<string>;
30
+ };
31
+ }>> & {
12
32
  onChange?: ((isChecked: boolean) => any) | undefined;
13
33
  }, {
34
+ type: ToggleEnum;
14
35
  disabled: boolean;
15
- checked: boolean;
16
36
  }, {}>;
17
37
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
- type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
- default: D[K];
30
- }> : P[K];
31
- };
32
- type __VLS_Prettify<T> = {
33
- [K in keyof T]: T[K];
34
- } & {};
@@ -0,0 +1,6 @@
1
+ export declare enum ToggleEnum {
2
+ small = "small",
3
+ medium = "medium",
4
+ big = "big",
5
+ large = "large"
6
+ }
@@ -1,5 +1,7 @@
1
+ import { ToggleEnum } from '../enums/enums';
2
+
1
3
  export interface IToggleProps {
2
4
  disabled?: boolean;
3
5
  backgroundColor?: string;
4
- checked?: boolean;
6
+ type?: ToggleEnum;
5
7
  }