@deskhero/dh_ui 2.48.0 → 2.49.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 (121) hide show
  1. package/dist/adapters/editorjs/EditorjsTransformer.d.ts +3 -0
  2. package/dist/adapters/editorjs/EditorjsView.vue.d.ts +72 -0
  3. package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +29 -0
  4. package/dist/adapters/tiptap/TiptapAdapter.d.ts +26 -0
  5. package/dist/adapters/tiptap/TiptapTransformer.d.ts +3 -0
  6. package/dist/adapters/tiptap/TiptapView.vue.d.ts +73 -0
  7. package/dist/adapters/tiptap/components/BlockquoteButton.vue.d.ts +2 -0
  8. package/dist/adapters/tiptap/components/CodeblockButton.vue.d.ts +2 -0
  9. package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +2 -0
  10. package/dist/adapters/tiptap/components/Dropdown.vue.d.ts +35 -0
  11. package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +11 -0
  12. package/dist/adapters/tiptap/components/HeadingDropdown.vue.d.ts +2 -0
  13. package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +11 -0
  14. package/dist/adapters/tiptap/components/Input.vue.d.ts +16 -0
  15. package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +2 -0
  16. package/dist/adapters/tiptap/components/ListDropdown.vue.d.ts +2 -0
  17. package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +12 -0
  18. package/dist/adapters/tiptap/components/Separator.vue.d.ts +33 -0
  19. package/dist/adapters/tiptap/components/TableButton.vue.d.ts +2 -0
  20. package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +12 -0
  21. package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +2 -0
  22. package/dist/adapters/tiptap/components/Toolbar.vue.d.ts +9 -0
  23. package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +17 -0
  24. package/dist/adapters/tiptap/components/button/Button.vue.d.ts +41 -0
  25. package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +29 -0
  26. package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +2 -0
  27. package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +2 -0
  28. package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +2 -0
  29. package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +2 -0
  30. package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +2 -0
  31. package/dist/adapters/tiptap/components/tiptap-icons/BlockquoteIcon.vue.d.ts +2 -0
  32. package/dist/adapters/tiptap/components/tiptap-icons/BoldIcon.vue.d.ts +2 -0
  33. package/dist/adapters/tiptap/components/tiptap-icons/ChevronDownIcon.vue.d.ts +2 -0
  34. package/dist/adapters/tiptap/components/tiptap-icons/CodeIcon.vue.d.ts +2 -0
  35. package/dist/adapters/tiptap/components/tiptap-icons/CodeblockIcon.vue.d.ts +2 -0
  36. package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +2 -0
  37. package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +2 -0
  38. package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +2 -0
  39. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +2 -0
  40. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFourIcon.vue.d.ts +2 -0
  41. package/dist/adapters/tiptap/components/tiptap-icons/HeadingIcon.vue.d.ts +2 -0
  42. package/dist/adapters/tiptap/components/tiptap-icons/HeadingOneIcon.vue.d.ts +2 -0
  43. package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +2 -0
  44. package/dist/adapters/tiptap/components/tiptap-icons/HeadingThreeIcon.vue.d.ts +2 -0
  45. package/dist/adapters/tiptap/components/tiptap-icons/HeadingTwoIcon.vue.d.ts +2 -0
  46. package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +2 -0
  47. package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +2 -0
  48. package/dist/adapters/tiptap/components/tiptap-icons/ItalicIcon.vue.d.ts +2 -0
  49. package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +2 -0
  50. package/dist/adapters/tiptap/components/tiptap-icons/ListIcon.vue.d.ts +2 -0
  51. package/dist/adapters/tiptap/components/tiptap-icons/ListOrderedIcon.vue.d.ts +2 -0
  52. package/dist/adapters/tiptap/components/tiptap-icons/ListTodoIcon.vue.d.ts +2 -0
  53. package/dist/adapters/tiptap/components/tiptap-icons/RedoIcon.vue.d.ts +2 -0
  54. package/dist/adapters/tiptap/components/tiptap-icons/StrikeIcon.vue.d.ts +2 -0
  55. package/dist/adapters/tiptap/components/tiptap-icons/SubscriptIcon.vue.d.ts +2 -0
  56. package/dist/adapters/tiptap/components/tiptap-icons/SuperscriptIcon.vue.d.ts +2 -0
  57. package/dist/adapters/tiptap/components/tiptap-icons/TableIcon.vue.d.ts +2 -0
  58. package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +2 -0
  59. package/dist/adapters/tiptap/components/tiptap-icons/UnderlineIcon.vue.d.ts +2 -0
  60. package/dist/adapters/tiptap/components/tiptap-icons/UndoIcon.vue.d.ts +2 -0
  61. package/dist/adapters/tiptap/components/undo-redo-button/UndoRedoButton.vue.d.ts +30 -0
  62. package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +18 -0
  63. package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +8 -0
  64. package/dist/adapters/tiptap/extensions/attachment.d.ts +2 -0
  65. package/dist/adapters/tiptap/extensions/file-upload-node/file-upload-node-extension.d.ts +80 -0
  66. package/dist/adapters/tiptap/extensions/file-upload-node/index.d.ts +1 -0
  67. package/dist/adapters/tiptap/extensions/signature.d.ts +2 -0
  68. package/dist/adapters/tiptap/extensions/table/index.d.ts +2 -0
  69. package/dist/adapters/tiptap/utils/tiptap-utils.d.ts +122 -0
  70. package/dist/components/Button.vue.d.ts +102 -0
  71. package/dist/components/ColorPicker.vue.d.ts +17 -0
  72. package/dist/components/Copiable.vue.d.ts +8 -0
  73. package/dist/components/DatePicker.vue.d.ts +11 -0
  74. package/dist/components/DropdownMenu.vue.d.ts +108 -0
  75. package/dist/components/DropdownMenuItem.vue.d.ts +50 -0
  76. package/dist/components/Error.vue.d.ts +16 -0
  77. package/dist/components/ExpansionPanel.vue.d.ts +58 -0
  78. package/dist/components/FileUpload.vue.d.ts +13 -0
  79. package/dist/components/IconWithText.vue.d.ts +149 -0
  80. package/dist/components/ImageCropper.vue.d.ts +73 -0
  81. package/dist/components/Input.vue.d.ts +51 -0
  82. package/dist/components/InputDropdown.vue.d.ts +16 -0
  83. package/dist/components/InputDropdownMultiple.vue.d.ts +16 -0
  84. package/dist/components/InputGroup.vue.d.ts +15 -0
  85. package/dist/components/InputList.vue.d.ts +20 -0
  86. package/dist/components/InputWithList/DropdownList.vue.d.ts +90 -0
  87. package/dist/components/InputWithList/MultipleInput.vue.d.ts +87 -0
  88. package/dist/components/InputWithList/SingleInput.vue.d.ts +48 -0
  89. package/dist/components/InputWithList/TagItem.vue.d.ts +33 -0
  90. package/dist/components/InputWithList/configs/input-with-list.config.d.ts +8 -0
  91. package/dist/components/InputWithList.vue.d.ts +165 -0
  92. package/dist/components/LineChart.vue.d.ts +9 -0
  93. package/dist/components/Modal.vue.d.ts +118 -0
  94. package/dist/components/Notification.vue.d.ts +195 -0
  95. package/dist/components/PasswordField.vue.d.ts +62 -0
  96. package/dist/components/RadioBox.vue.d.ts +9 -0
  97. package/dist/components/RadioBoxGroup.vue.d.ts +8 -0
  98. package/dist/components/SearchInput.vue.d.ts +36 -0
  99. package/dist/components/Stepper.vue.d.ts +23 -0
  100. package/dist/components/Tag.vue.d.ts +48 -0
  101. package/dist/components/Tags.vue.d.ts +91 -0
  102. package/dist/components/TextEditor.vue.d.ts +81 -0
  103. package/dist/components/TextEditorLegacy.vue.d.ts +40 -0
  104. package/dist/components/VerificationCode.vue.d.ts +45 -0
  105. package/dist/components/configs/input-with-list.config.d.ts +8 -0
  106. package/dist/dh_ui.es.js +39583 -18005
  107. package/dist/dh_ui.umd.js +353 -84
  108. package/dist/factories/EditorFactory.d.ts +19 -0
  109. package/dist/helpers/inputWithListUtils.d.ts +4 -0
  110. package/dist/index.d.ts +39 -0
  111. package/dist/main.d.ts +1 -0
  112. package/dist/models/DropdownMenuItem.model.d.ts +13 -0
  113. package/dist/models/EditorJSi18n.model.d.ts +109 -0
  114. package/dist/models/EditorTransformer.d.ts +5 -0
  115. package/dist/models/InputDropdown.model.d.ts +4 -0
  116. package/dist/models/InputList.model.d.ts +4 -0
  117. package/dist/models/InputWithList.model.d.ts +1 -0
  118. package/dist/models/Tag.model.d.ts +7 -0
  119. package/dist/style.css +1 -1
  120. package/dist/tools/editorCode.d.ts +21 -0
  121. package/package.json +14 -1
@@ -0,0 +1,58 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ isAdvancedSettingsOpen: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ type: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ enableToggle: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ headerCustomCss: {
19
+ type: ObjectConstructor;
20
+ default: () => {};
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ isAdvancedSettingsOpen: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ type: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ enableToggle: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ headerCustomCss: {
40
+ type: ObjectConstructor;
41
+ default: () => {};
42
+ };
43
+ }>>, {
44
+ title: string;
45
+ type: string;
46
+ isAdvancedSettingsOpen: boolean;
47
+ enableToggle: boolean;
48
+ headerCustomCss: Record<string, any>;
49
+ }, {}>, {
50
+ title?(_: {}): any;
51
+ content?(_: {}): any;
52
+ }>;
53
+ export default _default;
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly data?: unknown[] | undefined;
4
+ readonly i18n?: Record<string, any> | undefined;
5
+ readonly customColor?: string | undefined;
6
+ readonly accept?: string | undefined;
7
+ readonly multiple?: boolean | undefined;
8
+ readonly inline?: boolean | undefined;
9
+ readonly large?: boolean | undefined;
10
+ };
11
+ $emit: (event: "upload" | "delete", ...args: any[]) => void;
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
13
+ export default _default;
@@ -0,0 +1,149 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ iconName: {
8
+ type: StringConstructor;
9
+ required: false;
10
+ default: string;
11
+ };
12
+ iconUrl: {
13
+ type: StringConstructor;
14
+ required: false;
15
+ default: string;
16
+ };
17
+ text: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ textPosition: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ validator: (value: string) => boolean;
25
+ };
26
+ labelKlass: {
27
+ type: StringConstructor;
28
+ required: false;
29
+ default: string;
30
+ };
31
+ size: {
32
+ type: NumberConstructor;
33
+ required: false;
34
+ default: number;
35
+ };
36
+ hideText: {
37
+ type: BooleanConstructor;
38
+ required: false;
39
+ default: boolean;
40
+ };
41
+ hasBackground: {
42
+ type: BooleanConstructor;
43
+ required: false;
44
+ default: boolean;
45
+ };
46
+ active: {
47
+ type: BooleanConstructor;
48
+ required: false;
49
+ default: boolean;
50
+ };
51
+ activeOnHover: {
52
+ type: BooleanConstructor;
53
+ required: false;
54
+ default: boolean;
55
+ };
56
+ textEllipsis: {
57
+ type: BooleanConstructor;
58
+ required: false;
59
+ default: boolean;
60
+ };
61
+ isDanger: {
62
+ type: BooleanConstructor;
63
+ required: false;
64
+ default: boolean;
65
+ };
66
+ }, unknown, unknown, {}, {
67
+ emitError(): void;
68
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "error"[], "error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ title: {
70
+ type: StringConstructor;
71
+ required: false;
72
+ default: string;
73
+ };
74
+ iconName: {
75
+ type: StringConstructor;
76
+ required: false;
77
+ default: string;
78
+ };
79
+ iconUrl: {
80
+ type: StringConstructor;
81
+ required: false;
82
+ default: string;
83
+ };
84
+ text: {
85
+ type: StringConstructor;
86
+ required: true;
87
+ };
88
+ textPosition: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ validator: (value: string) => boolean;
92
+ };
93
+ labelKlass: {
94
+ type: StringConstructor;
95
+ required: false;
96
+ default: string;
97
+ };
98
+ size: {
99
+ type: NumberConstructor;
100
+ required: false;
101
+ default: number;
102
+ };
103
+ hideText: {
104
+ type: BooleanConstructor;
105
+ required: false;
106
+ default: boolean;
107
+ };
108
+ hasBackground: {
109
+ type: BooleanConstructor;
110
+ required: false;
111
+ default: boolean;
112
+ };
113
+ active: {
114
+ type: BooleanConstructor;
115
+ required: false;
116
+ default: boolean;
117
+ };
118
+ activeOnHover: {
119
+ type: BooleanConstructor;
120
+ required: false;
121
+ default: boolean;
122
+ };
123
+ textEllipsis: {
124
+ type: BooleanConstructor;
125
+ required: false;
126
+ default: boolean;
127
+ };
128
+ isDanger: {
129
+ type: BooleanConstructor;
130
+ required: false;
131
+ default: boolean;
132
+ };
133
+ }>> & {
134
+ onError?: ((...args: any[]) => any) | undefined;
135
+ }, {
136
+ title: string;
137
+ iconName: string;
138
+ size: number;
139
+ active: boolean;
140
+ isDanger: boolean;
141
+ activeOnHover: boolean;
142
+ iconUrl: string;
143
+ textPosition: string;
144
+ labelKlass: string;
145
+ hideText: boolean;
146
+ hasBackground: boolean;
147
+ textEllipsis: boolean;
148
+ }, {}>;
149
+ export default _default;
@@ -0,0 +1,73 @@
1
+ import "cropperjs/dist/cropper.css";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ image: {
4
+ type: {
5
+ new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
6
+ prototype: File;
7
+ };
8
+ required: false;
9
+ default: null;
10
+ };
11
+ width: {
12
+ type: NumberConstructor[];
13
+ required: false;
14
+ default: number;
15
+ };
16
+ height: {
17
+ type: NumberConstructor[];
18
+ required: false;
19
+ default: number;
20
+ };
21
+ showPreview: {
22
+ type: BooleanConstructor;
23
+ required: false;
24
+ default: boolean;
25
+ };
26
+ isRound: {
27
+ type: BooleanConstructor;
28
+ required: false;
29
+ default: boolean;
30
+ };
31
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ update: (value: HTMLCanvasElement) => void;
33
+ sizeError: () => void;
34
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ image: {
36
+ type: {
37
+ new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
38
+ prototype: File;
39
+ };
40
+ required: false;
41
+ default: null;
42
+ };
43
+ width: {
44
+ type: NumberConstructor[];
45
+ required: false;
46
+ default: number;
47
+ };
48
+ height: {
49
+ type: NumberConstructor[];
50
+ required: false;
51
+ default: number;
52
+ };
53
+ showPreview: {
54
+ type: BooleanConstructor;
55
+ required: false;
56
+ default: boolean;
57
+ };
58
+ isRound: {
59
+ type: BooleanConstructor;
60
+ required: false;
61
+ default: boolean;
62
+ };
63
+ }>> & {
64
+ onUpdate?: ((value: HTMLCanvasElement) => any) | undefined;
65
+ onSizeError?: (() => any) | undefined;
66
+ }, {
67
+ image: File;
68
+ height: number;
69
+ width: number;
70
+ showPreview: boolean;
71
+ isRound: boolean;
72
+ }, {}>;
73
+ export default _default;
@@ -0,0 +1,51 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ placeholder: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ error: {
8
+ type: BooleanConstructor;
9
+ required: false;
10
+ default: boolean;
11
+ };
12
+ success: {
13
+ type: BooleanConstructor;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ modelValue: {
18
+ type: StringConstructor;
19
+ required: false;
20
+ default: string;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ placeholder: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ default: string;
27
+ };
28
+ error: {
29
+ type: BooleanConstructor;
30
+ required: false;
31
+ default: boolean;
32
+ };
33
+ success: {
34
+ type: BooleanConstructor;
35
+ required: false;
36
+ default: boolean;
37
+ };
38
+ modelValue: {
39
+ type: StringConstructor;
40
+ required: false;
41
+ default: string;
42
+ };
43
+ }>> & {
44
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
+ }, {
46
+ error: boolean;
47
+ placeholder: string;
48
+ modelValue: string;
49
+ success: boolean;
50
+ }, {}>;
51
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly icon?: string | undefined;
4
+ readonly tabindex?: number | undefined;
5
+ readonly options?: unknown[] | undefined;
6
+ readonly labelProp?: string | undefined;
7
+ readonly valueProp?: string | undefined;
8
+ readonly placeholderInput?: string | undefined;
9
+ readonly inputValue?: string | undefined;
10
+ readonly inputWidth?: string | undefined;
11
+ readonly selectedOption?: Record<string, any> | undefined;
12
+ readonly clearIconPosition?: string | undefined;
13
+ };
14
+ $emit: (event: "update" | "clear", ...args: any[]) => void;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
16
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly title?: string | undefined;
4
+ readonly icon?: string | undefined;
5
+ readonly tabindex?: number | undefined;
6
+ readonly value?: unknown[] | undefined;
7
+ readonly options?: unknown[] | undefined;
8
+ readonly labelProp?: string | undefined;
9
+ readonly valueProp?: string | undefined;
10
+ readonly placeholderInput?: string | undefined;
11
+ readonly inputWidth?: string | undefined;
12
+ readonly clearIconPosition?: string | undefined;
13
+ };
14
+ $emit: (event: "update", ...args: any[]) => void;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
16
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly placeholder?: string | undefined;
4
+ readonly iconName?: string | undefined;
5
+ readonly modelValue?: string | number | undefined;
6
+ readonly inputType?: string | undefined;
7
+ readonly sideContent?: string | undefined;
8
+ readonly widthProp?: string | undefined;
9
+ readonly heightProp?: string | undefined;
10
+ readonly direction?: string | undefined;
11
+ readonly e2e?: string | undefined;
12
+ };
13
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
15
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ $props: {
3
+ readonly list?: unknown[] | undefined;
4
+ readonly placeholder?: string | undefined;
5
+ readonly layout?: string | undefined;
6
+ readonly modelValue?: Record<string, any> | unknown[] | undefined;
7
+ readonly maxHeight?: string | undefined;
8
+ readonly labelProp?: string | undefined;
9
+ readonly valueProp?: string | undefined;
10
+ readonly canClear?: boolean | undefined;
11
+ readonly showAvatar?: boolean | undefined;
12
+ };
13
+ $emit: (event: "select" | "update" | "clear" | "deselect", ...args: any[]) => void;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
15
+ default?(_: {}): any;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
19
+ $slots: S;
20
+ });
@@ -0,0 +1,90 @@
1
+ import { PropType } from "vue";
2
+ import { InputWithListOption } from "@/models/InputWithList.model";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ open: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ options: {
9
+ type: PropType<InputWithListOption[]>;
10
+ default: () => never[];
11
+ };
12
+ selectedValues: {
13
+ type: PropType<string[]>;
14
+ default: () => never[];
15
+ };
16
+ selectedValue: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ multiple: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ labelKey: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ valueKey: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ isLoading: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ loadingText: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ open: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ options: {
46
+ type: PropType<InputWithListOption[]>;
47
+ default: () => never[];
48
+ };
49
+ selectedValues: {
50
+ type: PropType<string[]>;
51
+ default: () => never[];
52
+ };
53
+ selectedValue: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ multiple: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ labelKey: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ valueKey: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ isLoading: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ loadingText: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ }>> & {
78
+ onSelect?: ((...args: any[]) => any) | undefined;
79
+ }, {
80
+ multiple: boolean;
81
+ options: InputWithListOption[];
82
+ open: boolean;
83
+ selectedValues: string[];
84
+ selectedValue: string;
85
+ labelKey: string;
86
+ valueKey: string;
87
+ isLoading: boolean;
88
+ loadingText: string;
89
+ }, {}>;
90
+ export default _default;
@@ -0,0 +1,87 @@
1
+ import { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: {
4
+ type: PropType<string[]>;
5
+ default: () => never[];
6
+ };
7
+ placeholder: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ errors: {
16
+ type: PropType<string[]>;
17
+ default: () => never[];
18
+ };
19
+ tagClassFunction: {
20
+ type: PropType<(value: string) => string>;
21
+ default: null;
22
+ };
23
+ allowCreate: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ createOnKeys: {
28
+ type: PropType<string[]>;
29
+ default: () => string[];
30
+ };
31
+ validateValue: {
32
+ type: PropType<(value: string) => boolean>;
33
+ default: null;
34
+ };
35
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "focus" | "keydown" | "update:modelValue" | "clear" | "create" | "remove")[], "input" | "blur" | "focus" | "keydown" | "update:modelValue" | "clear" | "create" | "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ modelValue: {
37
+ type: PropType<string[]>;
38
+ default: () => never[];
39
+ };
40
+ placeholder: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ disabled: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ errors: {
49
+ type: PropType<string[]>;
50
+ default: () => never[];
51
+ };
52
+ tagClassFunction: {
53
+ type: PropType<(value: string) => string>;
54
+ default: null;
55
+ };
56
+ allowCreate: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ createOnKeys: {
61
+ type: PropType<string[]>;
62
+ default: () => string[];
63
+ };
64
+ validateValue: {
65
+ type: PropType<(value: string) => boolean>;
66
+ default: null;
67
+ };
68
+ }>> & {
69
+ onFocus?: ((...args: any[]) => any) | undefined;
70
+ onBlur?: ((...args: any[]) => any) | undefined;
71
+ onInput?: ((...args: any[]) => any) | undefined;
72
+ onKeydown?: ((...args: any[]) => any) | undefined;
73
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
74
+ onClear?: ((...args: any[]) => any) | undefined;
75
+ onCreate?: ((...args: any[]) => any) | undefined;
76
+ onRemove?: ((...args: any[]) => any) | undefined;
77
+ }, {
78
+ placeholder: string;
79
+ disabled: boolean;
80
+ modelValue: string[];
81
+ errors: string[];
82
+ tagClassFunction: (value: string) => string;
83
+ allowCreate: boolean;
84
+ createOnKeys: string[];
85
+ validateValue: (value: string) => boolean;
86
+ }, {}>;
87
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ placeholder: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ errors: {
16
+ type: PropType<string[]>;
17
+ default: () => never[];
18
+ };
19
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "focus" | "update:modelValue" | "clear")[], "input" | "blur" | "focus" | "update:modelValue" | "clear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ modelValue: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ placeholder: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ errors: {
33
+ type: PropType<string[]>;
34
+ default: () => never[];
35
+ };
36
+ }>> & {
37
+ onFocus?: ((...args: any[]) => any) | undefined;
38
+ onBlur?: ((...args: any[]) => any) | undefined;
39
+ onInput?: ((...args: any[]) => any) | undefined;
40
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
+ onClear?: ((...args: any[]) => any) | undefined;
42
+ }, {
43
+ placeholder: string;
44
+ disabled: boolean;
45
+ modelValue: string;
46
+ errors: string[];
47
+ }, {}>;
48
+ export default _default;
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ disabled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ tagClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ label: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ disabled: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ tagClass: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>> & {
28
+ onRemove?: ((...args: any[]) => any) | undefined;
29
+ }, {
30
+ disabled: boolean;
31
+ tagClass: string;
32
+ }, {}>;
33
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export declare const INPUT_CONFIG: {
2
+ readonly DEBOUNCE_DELAY: 300;
3
+ readonly MIN_SEARCH_LENGTH: 0;
4
+ readonly DEFAULT_PLACEHOLDER: "Type or select";
5
+ readonly DEFAULT_LOADING_TEXT: "Loading...";
6
+ readonly CREATE_KEYS: readonly ["enter", ",", "space"];
7
+ readonly BLUR_DELAY: 50;
8
+ };