@hotelinking/ui 10.43.0 → 10.43.5

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 (107) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.d.ts +1927 -0
  3. package/dist/ui.es.js +66 -58
  4. package/package.json +18 -10
  5. package/dist/components/Atoms/uiButton/uiButton.vue.d.ts +0 -14
  6. package/dist/components/Atoms/uiCheckbox/uiCheckbox.vue.d.ts +0 -18
  7. package/dist/components/Atoms/uiDropdown/uiDropdown.vue.d.ts +0 -10
  8. package/dist/components/Atoms/uiIcon/uiIcon.vue.d.ts +0 -7
  9. package/dist/components/Atoms/uiInput/uiInput.vue.d.ts +0 -16
  10. package/dist/components/Atoms/uiInputFile/uiInputFile.vue.d.ts +0 -10
  11. package/dist/components/Atoms/uiRangeSlider/uiRangeSlider.vue.d.ts +0 -10
  12. package/dist/components/Atoms/uiSelect/uiSelect.vue.d.ts +0 -12
  13. package/dist/components/Atoms/uiTag/uiTag.vue.d.ts +0 -18
  14. package/dist/components/Atoms/uiTextArea/uiTextArea.vue.d.ts +0 -18
  15. package/dist/components/Atoms/uiToggle/uiToggle.vue.d.ts +0 -39
  16. package/dist/components/Common/SkeletonTable/SkeletonTable.vue.d.ts +0 -2
  17. package/dist/components/Molecules/uiAlert/uiAlert.vue.d.ts +0 -17
  18. package/dist/components/Molecules/uiBreadcrumbs/uiBreadcrumbs.vue.d.ts +0 -9
  19. package/dist/components/Molecules/uiCard/uiCard.vue.d.ts +0 -19
  20. package/dist/components/Molecules/uiDeviceStatus/uiDeviceStatus.vue.d.ts +0 -12
  21. package/dist/components/Molecules/uiFilter/uiFilter.vue.d.ts +0 -10
  22. package/dist/components/Molecules/uiModal/uiModal.vue.d.ts +0 -24
  23. package/dist/components/Molecules/uiNotification/uiNotification.vue.d.ts +0 -11
  24. package/dist/components/Molecules/uiSectionTitle/uiSectionTitle.vue.d.ts +0 -3
  25. package/dist/components/Molecules/uiTaskList/uiTaskList.vue.d.ts +0 -5
  26. package/dist/components/Organisms/uiCharts/RangeSelector.vue.d.ts +0 -14
  27. package/dist/components/Organisms/uiCharts/uiChart.vue.d.ts +0 -33
  28. package/dist/components/Organisms/uiCircleCharts/uiCircleChart.vue.d.ts +0 -32
  29. package/dist/components/Organisms/uiDateRange/uiDateRange.vue.d.ts +0 -13
  30. package/dist/components/Organisms/uiDragAndDrop/uiDragAndDrop.vue.d.ts +0 -9
  31. package/dist/components/Organisms/uiDynamicStats/uiDynamicStats.vue.d.ts +0 -5
  32. package/dist/components/Organisms/uiFooter/uiFooter.vue.d.ts +0 -2
  33. package/dist/components/Organisms/uiFunnelChartV2/uiFunnelChartV2.vue.d.ts +0 -34
  34. package/dist/components/Organisms/uiGallery/uiGallery.vue.d.ts +0 -11
  35. package/dist/components/Organisms/uiLoadingScreen/uiLoadingScreen.vue.d.ts +0 -5
  36. package/dist/components/Organisms/uiNoResults/uiNoResults.vue.d.ts +0 -9
  37. package/dist/components/Organisms/uiPagination/uiPagination.vue.d.ts +0 -24
  38. package/dist/components/Organisms/uiPriceCalendar/DateSelector.vue.d.ts +0 -22
  39. package/dist/components/Organisms/uiPriceCalendar/Day.vue.d.ts +0 -14
  40. package/dist/components/Organisms/uiPriceCalendar/Price.vue.d.ts +0 -25
  41. package/dist/components/Organisms/uiPriceCalendar/uiPriceCalendar.vue.d.ts +0 -25
  42. package/dist/components/Organisms/uiRightSidebar/uiRightSidebar.vue.d.ts +0 -16
  43. package/dist/components/Organisms/uiSidebar/uiSidebar.vue.d.ts +0 -9
  44. package/dist/components/Organisms/uiSidebar/uiSidebarV2.vue.d.ts +0 -12
  45. package/dist/components/Organisms/uiSmartFilter/uiSmartFilter.vue.d.ts +0 -25
  46. package/dist/components/Organisms/uiStats/uiStats.vue.d.ts +0 -9
  47. package/dist/components/Organisms/uiStripedCard/uiStripedCard.vue.d.ts +0 -9
  48. package/dist/components/Organisms/uiTable/tooltip.vue.d.ts +0 -7
  49. package/dist/components/Organisms/uiTable/uiTable.vue.d.ts +0 -41
  50. package/dist/components/Organisms/uiTabs/uiTabs.vue.d.ts +0 -7
  51. package/dist/components/Organisms/uiTimeline/uiTimeline.vue.d.ts +0 -12
  52. package/dist/components/Organisms/uiTopbar/uiTopbar.vue.d.ts +0 -7
  53. package/dist/components/Organisms/uiWrapper/uiWrapper.vue.d.ts +0 -20
  54. package/dist/components/index.d.ts +0 -44
  55. package/dist/index.d.ts +0 -7
  56. package/dist/types/components/Atoms/uiButton/uiButton.vue.d.ts +0 -39
  57. package/dist/types/components/Atoms/uiCheckbox/uiCheckbox.vue.d.ts +0 -43
  58. package/dist/types/components/Atoms/uiDropdown/uiDropdown.vue.d.ts +0 -33
  59. package/dist/types/components/Atoms/uiIcon/uiIcon.vue.d.ts +0 -32
  60. package/dist/types/components/Atoms/uiInput/uiInput.vue.d.ts +0 -43
  61. package/dist/types/components/Atoms/uiInputFile/uiInputFile.vue.d.ts +0 -33
  62. package/dist/types/components/Atoms/uiRangeSlider/uiRangeSlider.vue.d.ts +0 -33
  63. package/dist/types/components/Atoms/uiSelect/uiSelect.vue.d.ts +0 -35
  64. package/dist/types/components/Atoms/uiTag/uiTag.vue.d.ts +0 -43
  65. package/dist/types/components/Atoms/uiTextArea/uiTextArea.vue.d.ts +0 -45
  66. package/dist/types/components/Atoms/uiToggle/uiToggle.vue.d.ts +0 -64
  67. package/dist/types/components/Common/SkeletonTable/SkeletonTable.vue.d.ts +0 -2
  68. package/dist/types/components/Molecules/uiAlert/uiAlert.vue.d.ts +0 -40
  69. package/dist/types/components/Molecules/uiBreadcrumbs/uiBreadcrumbs.vue.d.ts +0 -30
  70. package/dist/types/components/Molecules/uiCard/uiCard.vue.d.ts +0 -40
  71. package/dist/types/components/Molecules/uiDeviceStatus/uiDeviceStatus.vue.d.ts +0 -35
  72. package/dist/types/components/Molecules/uiFilter/uiFilter.vue.d.ts +0 -33
  73. package/dist/types/components/Molecules/uiModal/uiModal.vue.d.ts +0 -49
  74. package/dist/types/components/Molecules/uiNotification/uiNotification.vue.d.ts +0 -36
  75. package/dist/types/components/Molecules/uiSectionTitle/uiSectionTitle.vue.d.ts +0 -12
  76. package/dist/types/components/Molecules/uiTaskList/uiTaskList.vue.d.ts +0 -26
  77. package/dist/types/components/Organisms/uiCharts/RangeSelector.vue.d.ts +0 -14
  78. package/dist/types/components/Organisms/uiCharts/uiChart.vue.d.ts +0 -66
  79. package/dist/types/components/Organisms/uiCircleCharts/uiCircleChart.vue.d.ts +0 -63
  80. package/dist/types/components/Organisms/uiDateRange/uiDateRange.vue.d.ts +0 -22
  81. package/dist/types/components/Organisms/uiDragAndDrop/uiDragAndDrop.vue.d.ts +0 -30
  82. package/dist/types/components/Organisms/uiDynamicStats/uiDynamicStats.vue.d.ts +0 -26
  83. package/dist/types/components/Organisms/uiFooter/uiFooter.vue.d.ts +0 -2
  84. package/dist/types/components/Organisms/uiFunnelChartV2/uiFunnelChartV2.vue.d.ts +0 -69
  85. package/dist/types/components/Organisms/uiGallery/uiGallery.vue.d.ts +0 -20
  86. package/dist/types/components/Organisms/uiLoadingScreen/uiLoadingScreen.vue.d.ts +0 -26
  87. package/dist/types/components/Organisms/uiNoResults/uiNoResults.vue.d.ts +0 -18
  88. package/dist/types/components/Organisms/uiPagination/uiPagination.vue.d.ts +0 -40
  89. package/dist/types/components/Organisms/uiPriceCalendar/DateSelector.vue.d.ts +0 -22
  90. package/dist/types/components/Organisms/uiPriceCalendar/Day.vue.d.ts +0 -14
  91. package/dist/types/components/Organisms/uiPriceCalendar/Price.vue.d.ts +0 -25
  92. package/dist/types/components/Organisms/uiPriceCalendar/uiPriceCalendar.vue.d.ts +0 -34
  93. package/dist/types/components/Organisms/uiRightSidebar/uiRightSidebar.vue.d.ts +0 -37
  94. package/dist/types/components/Organisms/uiSidebar/uiSidebar.vue.d.ts +0 -30
  95. package/dist/types/components/Organisms/uiSidebar/uiSidebarV2.vue.d.ts +0 -35
  96. package/dist/types/components/Organisms/uiSmartFilter/uiSmartFilter.vue.d.ts +0 -46
  97. package/dist/types/components/Organisms/uiStats/uiStats.vue.d.ts +0 -30
  98. package/dist/types/components/Organisms/uiStripedCard/uiStripedCard.vue.d.ts +0 -30
  99. package/dist/types/components/Organisms/uiTable/tooltip.vue.d.ts +0 -7
  100. package/dist/types/components/Organisms/uiTable/uiTable.vue.d.ts +0 -66
  101. package/dist/types/components/Organisms/uiTabs/uiTabs.vue.d.ts +0 -16
  102. package/dist/types/components/Organisms/uiTimeline/uiTimeline.vue.d.ts +0 -35
  103. package/dist/types/components/Organisms/uiTopbar/uiTopbar.vue.d.ts +0 -16
  104. package/dist/types/components/Organisms/uiWrapper/uiWrapper.vue.d.ts +0 -29
  105. package/dist/types/components/index.d.ts +0 -44
  106. package/dist/types/index.d.ts +0 -1183
  107. package/dist/types/types/index.d.ts +0 -1183
package/dist/ui.d.ts ADDED
@@ -0,0 +1,1927 @@
1
+ import { App } from 'vue';
2
+ import { ComponentOptionsMixin } from 'vue';
3
+ import { ComponentProvideOptions } from 'vue';
4
+ import { DefineComponent } from 'vue';
5
+ import { FileInputType as FileInputType_2 } from '../../../types';
6
+ import { FunctionalComponent } from 'vue';
7
+ import { InputType as InputType_2 } from '../../../types';
8
+ import { PublicProps } from 'vue';
9
+ import { SelectItemType as SelectItemType_2 } from '../../../types';
10
+ import { UiCheckboxType as UiCheckboxType_2 } from '../../../types';
11
+ import { UiDropdownItemType as UiDropdownItemType_2 } from '../../../types';
12
+ import { UiTagInterface as UiTagInterface_2 } from '../../../types';
13
+
14
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
19
+
20
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+
26
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
31
+
32
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+
38
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+
44
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
49
+
50
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
55
+
56
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
61
+
62
+ export declare const AllColors: readonly ["primary", "secondary", "light", "green", "yellow", "red", "black", "gray", "white"];
63
+
64
+ declare const AllColors: readonly ["primary", "secondary", "light", "green", "yellow", "red", "black", "gray", "white"];
65
+
66
+ declare type AllColors_2 = typeof AllColors[number];
67
+
68
+ export declare const AllSizes: readonly ["small", "medium", "big", "bigger", "huge", "massive"];
69
+
70
+ declare const AllSizes: readonly ["small", "medium", "big", "bigger", "huge", "massive"];
71
+
72
+ declare type AllSizes_2 = typeof AllSizes[number];
73
+
74
+ export declare const BiggerSizes: readonly ["bigger", "huge", "massive"];
75
+
76
+ export declare type chartOptionsType = {
77
+ chart: {
78
+ toolbar: {
79
+ show: boolean;
80
+ };
81
+ zoom: {
82
+ enabled: boolean;
83
+ };
84
+ stacked?: boolean;
85
+ type?: "area" | "line" | "bar" | "scatter";
86
+ };
87
+ colors: any;
88
+ stroke?: {
89
+ show: boolean;
90
+ curve: string;
91
+ lineCap: string;
92
+ width: number;
93
+ dashArray: number;
94
+ };
95
+ dataLabels: {
96
+ enabled: boolean;
97
+ formatter?: Function;
98
+ };
99
+ markers: {
100
+ strokeWidth: number;
101
+ size: number;
102
+ hover: {
103
+ size: number;
104
+ };
105
+ };
106
+ annotations?: {
107
+ yaxis: [
108
+ {
109
+ y: number;
110
+ borderColor: string;
111
+ label: {
112
+ borderColor: string;
113
+ style: {
114
+ color: string;
115
+ background: string;
116
+ };
117
+ text: string;
118
+ };
119
+ }
120
+ ];
121
+ };
122
+ tooltip?: {
123
+ intersect: boolean;
124
+ shared: boolean;
125
+ };
126
+ plotOptions?: {
127
+ bar: {
128
+ horizontal?: boolean;
129
+ borderRadius?: number;
130
+ barHeight?: string;
131
+ isFunnel?: boolean;
132
+ };
133
+ };
134
+ };
135
+
136
+ export declare const Colors: readonly ["primary", "secondary", "light", "green", "yellow", "red"];
137
+
138
+ declare const Colors: readonly ["primary", "secondary", "light", "green", "yellow", "red"];
139
+
140
+ declare type Colors_2 = typeof Colors[number];
141
+
142
+ declare const _default: {
143
+ install: typeof install;
144
+ };
145
+ export default _default;
146
+
147
+ export declare type FileInputType = {
148
+ /** Id of the input field */
149
+ id: string;
150
+ /** Uploaded files */
151
+ files: any;
152
+ };
153
+
154
+ export declare type InputType = {
155
+ /** Name of the input field */
156
+ name: string;
157
+ /** Internal value of input field */
158
+ value: string;
159
+ };
160
+
161
+ declare type InputTypes = typeof UiInputTypes[number];
162
+
163
+ declare function install(app: App): void;
164
+
165
+ export declare const MonoColors: readonly ["black", "gray", "white"];
166
+
167
+ export declare type SelectItemType = {
168
+ /** Unique value inside the select */
169
+ id: string;
170
+ /** Name of the item */
171
+ name: string;
172
+ };
173
+
174
+ export declare const Sizes: readonly ["small", "medium", "big"];
175
+
176
+ declare const Sizes: readonly ["small", "medium", "big"];
177
+
178
+ declare type Sizes_2 = typeof Sizes[number];
179
+
180
+ export declare type TableItemType = {
181
+ /** co unique id */
182
+ id: string | number;
183
+ /** when a row is emitted, if additional info is needed, can be put here */
184
+ emitWith?: any;
185
+ /** content, can be string, link, tag */
186
+ row: Array<string | {
187
+ /** string literal */
188
+ content: string;
189
+ /** if tag, backgroun color of tag */
190
+ color: AllColors_2;
191
+ /** tag, link that emits, or href link */
192
+ type?: 'tag' | 'link' | 'href';
193
+ /** content emitted if clicked on link type */
194
+ emits?: any;
195
+ /** target url of href type */
196
+ href?: string;
197
+ }>;
198
+ };
199
+
200
+ export declare type TaskType = {
201
+ /** internal id of task*/
202
+ id: number;
203
+ /** name of task */
204
+ name: string;
205
+ /** task action string */
206
+ action: string;
207
+ /** task action href */
208
+ href: string;
209
+ /** task action status */
210
+ status: "Complete" | "In progress" | "Incomplete";
211
+ /** task status literal string */
212
+ statusLiteral: string;
213
+ /** task description */
214
+ description: string;
215
+ };
216
+
217
+ export declare const Types: string[];
218
+
219
+ declare const Types: string[];
220
+
221
+ declare type Types_2 = typeof Types[number];
222
+
223
+ export declare const uiAlert: __VLS_WithTemplateSlots_4<DefineComponent<UiAlertInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
224
+ alertEvent: (T: string) => any;
225
+ }, string, PublicProps, Readonly<UiAlertInterface> & Readonly<{
226
+ onAlertEvent?: ((T: string) => any) | undefined;
227
+ }>, {
228
+ loading: boolean;
229
+ type: string;
230
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
231
+ default?(_: {}): any;
232
+ }>;
233
+
234
+ export declare interface UiAlertEventsInterface {
235
+ /** When an alert action is clicked emits UiAlertInterface["actions"]["event"] */
236
+ (e: 'alertEvent', T: string): void;
237
+ }
238
+
239
+ export declare interface UiAlertInterface {
240
+ /** List of possible actions that are at the bottom of the notification */
241
+ actions?: {
242
+ name: string;
243
+ event: string;
244
+ }[];
245
+ /** Notification title */
246
+ title: string;
247
+ /** Notification type */
248
+ type?: string;
249
+ /** Is loading or not */
250
+ loading?: boolean;
251
+ }
252
+
253
+ export declare const uiBreadcrumbs: DefineComponent<UiBreadcrumbsInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
254
+ breadCrumbClicked: (T: string) => any;
255
+ }, string, PublicProps, Readonly<UiBreadcrumbsInterface> & Readonly<{
256
+ onBreadCrumbClicked?: ((T: string) => any) | undefined;
257
+ }>, {
258
+ loading: boolean;
259
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
260
+
261
+ export declare interface UiBreadcrumbsEventInterface {
262
+ /** emits UiBreadcrumbsInterface["pages"]["routeName"] when a breadcrumb is clicked */
263
+ (e: 'breadCrumbClicked', T: string): void;
264
+ }
265
+
266
+ export declare interface UiBreadcrumbsInterface {
267
+ /** pages array */
268
+ pages: {
269
+ /** string literal */
270
+ name: string;
271
+ /** route link */
272
+ routeName: string;
273
+ /** it´s current route or not */
274
+ current?: boolean;
275
+ }[];
276
+ /** shows skeletons */
277
+ loading?: boolean;
278
+ }
279
+
280
+ export declare const uiButton: __VLS_WithTemplateSlots<DefineComponent<UiButtonInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiButtonInterface> & Readonly<{}>, {
281
+ loading: boolean;
282
+ size: "big" | "small" | "medium";
283
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red";
284
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
285
+ default?(_: {}): any;
286
+ }>;
287
+
288
+ export declare interface UiButtonInterface {
289
+ /** Defines if button as block class applied or not */
290
+ block?: boolean;
291
+ /** Color options (see type Colors) */
292
+ color?: Colors_2;
293
+ /** Button is enabled or disabled */
294
+ disabled?: boolean;
295
+ /** Defines an icon in button´s left side. As you need to import the icon directly from icons library, you must use '@heroicons/vue/24/outline' icon type */
296
+ icon?: FunctionalComponent;
297
+ /** Is in skeleton mode or not */
298
+ loading: boolean;
299
+ /** Size options (see type Sizes) */
300
+ size?: Sizes_2;
301
+ }
302
+
303
+ export declare const uiCard: DefineComponent<UiCardInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
304
+ cardSelected: (T: {
305
+ id: string;
306
+ name: string;
307
+ type: string;
308
+ tags: UiTagInterface_2[] | undefined;
309
+ }) => any;
310
+ }, string, PublicProps, Readonly<UiCardInterface> & Readonly<{
311
+ onCardSelected?: ((T: {
312
+ id: string;
313
+ name: string;
314
+ type: string;
315
+ tags: UiTagInterface_2[] | undefined;
316
+ }) => any) | undefined;
317
+ }>, {
318
+ loading: boolean;
319
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
320
+
321
+ export declare interface UiCardEventsInterface {
322
+ /** Emits when card is clicked */
323
+ (e: 'cardSelected', T: {
324
+ id: UiCardInterface["id"];
325
+ name: UiCardInterface["name"];
326
+ type: UiCardInterface["type"];
327
+ tags: UiCardInterface["tags"];
328
+ }): void;
329
+ }
330
+
331
+ export declare interface UiCardInterface {
332
+ /** card id */
333
+ id: string;
334
+ /** card title */
335
+ name: string;
336
+ /** card subtitle */
337
+ type: string;
338
+ /** array of tags */
339
+ tags?: UiTagInterface[];
340
+ /** logo url string */
341
+ logo: string;
342
+ /** show skeleton */
343
+ loading: boolean;
344
+ }
345
+
346
+ export declare const uiChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
347
+ selectedRange: (T: {
348
+ range: {
349
+ from: string | Date;
350
+ to: string | Date;
351
+ };
352
+ chartId: string;
353
+ }) => any;
354
+ chartUpdated: () => any;
355
+ dataPointSelection: (T: any) => any;
356
+ maximizeChart: (T: string) => any;
357
+ }, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
358
+ onSelectedRange?: ((T: {
359
+ range: {
360
+ from: string | Date;
361
+ to: string | Date;
362
+ };
363
+ chartId: string;
364
+ }) => any) | undefined;
365
+ onChartUpdated?: (() => any) | undefined;
366
+ onDataPointSelection?: ((T: any) => any) | undefined;
367
+ onMaximizeChart?: ((T: string) => any) | undefined;
368
+ }>, {
369
+ loading: boolean;
370
+ type: "area" | "line" | "bar" | "scatter";
371
+ id: string;
372
+ empty: boolean;
373
+ horizontal: boolean;
374
+ stacked: boolean;
375
+ height: number;
376
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
377
+
378
+ export declare interface UiChartEventsInterface {
379
+ /** emitted when user clicks on range inputs */
380
+ (e: "selectedRange", T: {
381
+ range: {
382
+ from: Date | string;
383
+ to: Date | string;
384
+ };
385
+ chartId: UiChartInterface["id"];
386
+ }): void;
387
+ /** emitted when chart updated */
388
+ (e: "chartUpdated"): void;
389
+ /** emitted when a point inside chart is clicked */
390
+ (e: "dataPointSelection", T: any): void;
391
+ /** emitted when user clicks on enlarge icon */
392
+ (e: "maximizeChart", T: UiChartInterface["id"]): void;
393
+ }
394
+
395
+ export declare interface UiChartInterface {
396
+ /** uiCircleChart sections labels */
397
+ labels?: string[];
398
+ /** default date ranges */
399
+ dates?: {
400
+ from: Date | string;
401
+ to: Date | string;
402
+ };
403
+ /** chart title */
404
+ title: string;
405
+ /** chart is Net promoter score */
406
+ isNps?: boolean;
407
+ /** nps string literals */
408
+ npsLiterals?: {
409
+ unhappy: string;
410
+ neutral: string;
411
+ happy: string;
412
+ };
413
+ /** chart id */
414
+ id: string;
415
+ /** chart type (NOT USED in uiCircleChart && uiFunnelChartV2) */
416
+ type?: "area" | "line" | "bar" | "scatter";
417
+ /** chart series and if different type, type */
418
+ series: {
419
+ name: string;
420
+ type?: "area" | "line" | "bar" | "scatter";
421
+ data: number[];
422
+ }[];
423
+ /** chart options (NOT USED in uiCircleChart) */
424
+ options?: {
425
+ xaxis: {
426
+ type: string;
427
+ max?: number;
428
+ categories: string[];
429
+ };
430
+ };
431
+ /** show skeleton */
432
+ loading?: boolean;
433
+ /** if chart has no data */
434
+ empty?: boolean;
435
+ /** show data in this range */
436
+ range?: "24h" | "7d" | "1m" | "3m" | "all";
437
+ /** horizontal or vertical (for columns) (NOT USED in uiCircleChart && uiFunnelChartV2) */
438
+ horizontal?: boolean;
439
+ /** columns are stacked (NOT USED in uiCircleChart && uiFunnelChartV2) */
440
+ stacked?: boolean;
441
+ /** if charts needs a custom height */
442
+ height?: number;
443
+ /** draw a line (check score objetive) (NOT USED in uiCircleChart && uiFunnelChartV2) */
444
+ annotations?: {
445
+ text: string;
446
+ high: number;
447
+ };
448
+ }
449
+
450
+ export declare const uiCheckbox: __VLS_WithTemplateSlots_2<DefineComponent<UiCheckboxInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
451
+ checkboxChanged: (checkbox: UiCheckboxType_2) => any;
452
+ }, string, PublicProps, Readonly<UiCheckboxInterface> & Readonly<{
453
+ onCheckboxChanged?: ((checkbox: UiCheckboxType_2) => any) | undefined;
454
+ }>, {
455
+ disabled: boolean;
456
+ loading: boolean;
457
+ check: boolean;
458
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
459
+ default?(_: {}): any;
460
+ }>;
461
+
462
+ export declare interface UiCheckboxEventsInterface {
463
+ /** Emitted when click over checkbox */
464
+ (e: 'checkboxChanged', checkbox: UiCheckboxType): void;
465
+ }
466
+
467
+ export declare interface UiCheckboxInterface {
468
+ /** Is checked or not */
469
+ check?: boolean;
470
+ /** Is disabled or not */
471
+ disabled?: boolean;
472
+ /** Is loading or not */
473
+ loading: boolean;
474
+ /** Internal value of checkbox */
475
+ value: string;
476
+ /** To be used in UiSidebarV2 */
477
+ text?: string;
478
+ }
479
+
480
+ export declare type UiCheckboxType = {
481
+ /** Is checked or not */
482
+ checked: boolean;
483
+ /** Internal value of checkbox */
484
+ value: string;
485
+ };
486
+
487
+ export declare const uiCircleChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
488
+ selectedRange: (T: {
489
+ range: {
490
+ from: string | Date;
491
+ to: string | Date;
492
+ };
493
+ chartId: string;
494
+ }) => any;
495
+ chartUpdated: () => any;
496
+ dataPointSelection: (T: any) => any;
497
+ maximizeChart: (T: string) => any;
498
+ }, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
499
+ onSelectedRange?: ((T: {
500
+ range: {
501
+ from: string | Date;
502
+ to: string | Date;
503
+ };
504
+ chartId: string;
505
+ }) => any) | undefined;
506
+ onChartUpdated?: (() => any) | undefined;
507
+ onDataPointSelection?: ((T: any) => any) | undefined;
508
+ onMaximizeChart?: ((T: string) => any) | undefined;
509
+ }>, {
510
+ loading: boolean;
511
+ id: string;
512
+ empty: boolean;
513
+ horizontal: boolean;
514
+ stacked: boolean;
515
+ height: number;
516
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
517
+
518
+ export declare const uiDateRange: DefineComponent<UiDateRangeInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
519
+ uiDateRangeButtonClicked: (t: {
520
+ from: string | Date;
521
+ to: string | Date;
522
+ } | undefined) => any;
523
+ }, string, PublicProps, Readonly<UiDateRangeInterface> & Readonly<{
524
+ onUiDateRangeButtonClicked?: ((t: {
525
+ from: string | Date;
526
+ to: string | Date;
527
+ } | undefined) => any) | undefined;
528
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
529
+
530
+ export declare interface UiDateRangeEventsInterface {
531
+ /** emitted when date range button is clicked */
532
+ (e: 'uiDateRangeButtonClicked', t: UiDateRangeInterface["values"] | undefined): void;
533
+ }
534
+
535
+ export declare interface UiDateRangeInterface {
536
+ /** unique identifier */
537
+ id: string;
538
+ /** show skeleton */
539
+ loading?: boolean;
540
+ /** date range literal strings */
541
+ literals: {
542
+ from: string;
543
+ to: string;
544
+ search: string;
545
+ };
546
+ /** default date ranges */
547
+ values: {
548
+ from: Date | string;
549
+ to: Date | string;
550
+ };
551
+ /** date range field colors */
552
+ color?: AllColors_2;
553
+ /** show error message below field */
554
+ error?: string;
555
+ /** is date range disabled */
556
+ disabled?: boolean;
557
+ /** show label above date range */
558
+ label?: string;
559
+ /** fields placeholder */
560
+ placeholder?: string;
561
+ }
562
+
563
+ export declare const uiDeviceStatus: DefineComponent<UiDeviceStatusInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
564
+ deviceStatusTagClicked: (T: string | undefined) => any;
565
+ deviceStatusQtyClicked: (T: string) => any;
566
+ }, string, PublicProps, Readonly<UiDeviceStatusInterface> & Readonly<{
567
+ onDeviceStatusTagClicked?: ((T: string | undefined) => any) | undefined;
568
+ onDeviceStatusQtyClicked?: ((T: string) => any) | undefined;
569
+ }>, {
570
+ loading: boolean;
571
+ qty: number;
572
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
573
+
574
+ export declare interface UiDeviceStatusEventsInterface {
575
+ /** emitted when a tag is clicked*/
576
+ (e: 'deviceStatusTagClicked', T: UiTagInterface["event"]): void;
577
+ /** emitted when the link in the device status is clicked */
578
+ (e: 'deviceStatusQtyClicked', T: UiDeviceStatusInterface["id"]): void;
579
+ }
580
+
581
+ export declare interface UiDeviceStatusInterface {
582
+ /** device id */
583
+ id: string;
584
+ /** device name */
585
+ name: string;
586
+ /** icon component from Heroicons */
587
+ icon: any;
588
+ /** icon background color */
589
+ color: AllColors_2;
590
+ /** device quantity */
591
+ qty: number;
592
+ /** tags array */
593
+ tags?: UiTagInterface[];
594
+ /** show skeleton */
595
+ loading: boolean;
596
+ }
597
+
598
+ export declare const uiDragAndDrop: DefineComponent<UiDragAndDropInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
599
+ dragAndDropUpdated: (T: any) => any;
600
+ }, string, PublicProps, Readonly<UiDragAndDropInterface> & Readonly<{
601
+ onDragAndDropUpdated?: ((T: any) => any) | undefined;
602
+ }>, {
603
+ loading: boolean;
604
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
605
+
606
+ export declare interface UiDragAndDropEventsInterface {
607
+ /** emitted when drag and drop elements are updated (dragged)*/
608
+ (e: "dragAndDropUpdated", T: any): void;
609
+ }
610
+
611
+ export declare interface UiDragAndDropInterface {
612
+ /** drag and drop array of elements */
613
+ elements: {
614
+ id: number;
615
+ name: string;
616
+ description: string;
617
+ }[];
618
+ /** show skeleton */
619
+ loading?: boolean;
620
+ }
621
+
622
+ export declare const uiDropdown: DefineComponent<UiDropdownInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
623
+ optionSelected: (v: UiDropdownItemType) => any;
624
+ }, string, PublicProps, Readonly<UiDropdownInterface> & Readonly<{
625
+ onOptionSelected?: ((v: UiDropdownItemType) => any) | undefined;
626
+ }>, {
627
+ position: "left" | "right";
628
+ loading: boolean;
629
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
630
+
631
+ export declare interface UiDropdownEventsInterface {
632
+ /** On option selected */
633
+ (e: 'optionSelected', v: UiDropdownItemType): void;
634
+ }
635
+
636
+ export declare interface UiDropdownInterface {
637
+ /** Dropdown items */
638
+ items: UiDropdownItemType[];
639
+ /** Set dropdown to left or right */
640
+ position?: "left" | "right";
641
+ /** Is disabled or not */
642
+ disabled?: boolean;
643
+ /** Top label of Dropdown */
644
+ label?: string;
645
+ /** Is loading or not */
646
+ loading: boolean;
647
+ /** Text that appears top right side of the dropdown field, that informs to user is a required field */
648
+ requiredText?: string;
649
+ }
650
+
651
+ export declare type UiDropdownItemType = {
652
+ /** Name of item */
653
+ name: string;
654
+ /** Value of item */
655
+ value: string;
656
+ /** Is it active or not */
657
+ active?: boolean;
658
+ };
659
+
660
+ export declare const uiDynamicStats: DefineComponent<UiDynamicStatsInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiDynamicStatsInterface> & Readonly<{}>, {
661
+ loading: boolean;
662
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
663
+
664
+ export declare interface UiDynamicStatsInterface {
665
+ /** uiStat Array */
666
+ dynamicStats: UiStatsInterface["item"][];
667
+ /** show skeleton */
668
+ loading: boolean;
669
+ }
670
+
671
+ export declare const uiFilter: DefineComponent<UiFilterInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
672
+ filterSelected: (T: string) => any;
673
+ }, string, PublicProps, Readonly<UiFilterInterface> & Readonly<{
674
+ onFilterSelected?: ((T: string) => any) | undefined;
675
+ }>, {
676
+ position: "left" | "right";
677
+ loading: boolean;
678
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
679
+
680
+ export declare interface UiFilterEventsInterface {
681
+ /** emits UiFilterInterface["items"]["value"] when filter is selected */
682
+ (e: 'filterSelected', T: string): void;
683
+ }
684
+
685
+ export declare interface UiFilterInterface {
686
+ /** items array */
687
+ items: {
688
+ /** item name */
689
+ name: string;
690
+ /** item value */
691
+ value: string;
692
+ /** is is selected or not */
693
+ active?: boolean;
694
+ }[];
695
+ /** float position of dropdown */
696
+ position?: "left" | "right";
697
+ /** label literal above filter */
698
+ label?: string;
699
+ /** show skeleton */
700
+ loading?: boolean;
701
+ }
702
+
703
+ export declare const uiFooter: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
704
+
705
+ export declare const uiFunnelChartV2: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
706
+ selectedRange: (T: {
707
+ range: {
708
+ from: string | Date;
709
+ to: string | Date;
710
+ };
711
+ chartId: string;
712
+ }) => any;
713
+ chartUpdated: () => any;
714
+ dataPointSelection: (T: any) => any;
715
+ maximizeChart: (T: string) => any;
716
+ }, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
717
+ onSelectedRange?: ((T: {
718
+ range: {
719
+ from: string | Date;
720
+ to: string | Date;
721
+ };
722
+ chartId: string;
723
+ }) => any) | undefined;
724
+ onChartUpdated?: (() => any) | undefined;
725
+ onDataPointSelection?: ((T: any) => any) | undefined;
726
+ onMaximizeChart?: ((T: string) => any) | undefined;
727
+ }>, {
728
+ loading: boolean;
729
+ type: "area" | "line" | "bar" | "scatter";
730
+ id: string;
731
+ range: "24h" | "7d" | "1m" | "3m" | "all";
732
+ empty: boolean;
733
+ horizontal: boolean;
734
+ stacked: boolean;
735
+ height: number;
736
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
737
+
738
+ export declare const uiGallery: DefineComponent<UiGalleryInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
739
+ modalAction: (T: any) => any;
740
+ deleteImage: (T: any) => any;
741
+ imgClicked: (T: any) => any;
742
+ }, string, PublicProps, Readonly<UiGalleryInterface> & Readonly<{
743
+ onModalAction?: ((T: any) => any) | undefined;
744
+ onDeleteImage?: ((T: any) => any) | undefined;
745
+ onImgClicked?: ((T: any) => any) | undefined;
746
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
747
+
748
+ export declare interface UiGalleryEventsInterface {
749
+ /** emitted when a modal action is clicked, emits modal action */
750
+ (e: "modalAction", T: any): void;
751
+ /** emitted when delete image bin icon is clicked, emits image */
752
+ (e: "deleteImage", T: any): void;
753
+ /** emitted when an image is clicked, emits image */
754
+ (e: "imgClicked", T: any): void;
755
+ }
756
+
757
+ export declare interface UiGalleryInterface {
758
+ /** unique id gallery */
759
+ galleryId: string;
760
+ /** images gallery array */
761
+ gallery: {
762
+ /** image title or file name */
763
+ title: string;
764
+ /** image size reference */
765
+ size: string;
766
+ /** image url */
767
+ source: string;
768
+ }[];
769
+ /** show skeleton */
770
+ loading?: boolean;
771
+ /** image gallery string literals */
772
+ literals: {
773
+ /** delete button string literal */
774
+ deleteAllImages: string;
775
+ /** doble opt in modal title */
776
+ modalTitle: string;
777
+ /** doble opt in modal text */
778
+ modalText: string;
779
+ /** close action string literal */
780
+ closeAction: string;
781
+ /** delete action string literal */
782
+ deleteAction: string;
783
+ };
784
+ }
785
+
786
+ export declare const uiIcon: DefineComponent<UiIconInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiIconInterface> & Readonly<{}>, {
787
+ loading: boolean;
788
+ size: "big" | "small" | "medium" | "bigger" | "huge" | "massive";
789
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
790
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
791
+
792
+ export declare interface UiIconInterface {
793
+ /** Imported icon from '@heroicons/vue/24/outline' */
794
+ icon: FunctionalComponent;
795
+ /** Size options (see type AllSizes) */
796
+ size?: AllSizes_2;
797
+ /** Color options (see type AllColors) */
798
+ color?: AllColors_2;
799
+ /** Is loading or not */
800
+ loading: boolean;
801
+ }
802
+
803
+ export declare const uiInput: DefineComponent<UiInputInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
804
+ inputChanged: (T: InputType_2) => any;
805
+ rightAddOnClicked: () => any;
806
+ addOnClicked: () => any;
807
+ }, string, PublicProps, Readonly<UiInputInterface> & Readonly<{
808
+ onInputChanged?: ((T: InputType_2) => any) | undefined;
809
+ onRightAddOnClicked?: (() => any) | undefined;
810
+ onAddOnClicked?: (() => any) | undefined;
811
+ }>, {
812
+ loading: boolean;
813
+ type: "number" | "text" | "email" | "password" | "date" | "datetime-local";
814
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
815
+ placeholder: string;
816
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
817
+
818
+ export declare interface UiInputEventsInterface {
819
+ /** Whenever the input changes */
820
+ (e: "inputChanged", T: InputType): void;
821
+ /** Right addon is clicked */
822
+ (e: "rightAddOnClicked"): void;
823
+ /** Addon clicked */
824
+ (e: "addOnClicked"): void;
825
+ }
826
+
827
+ export declare const uiInputFile: DefineComponent<UiInputFileInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
828
+ filesUploaded: (T: FileInputType_2) => any;
829
+ }, string, PublicProps, Readonly<UiInputFileInterface> & Readonly<{
830
+ onFilesUploaded?: ((T: FileInputType_2) => any) | undefined;
831
+ }>, {
832
+ loading: boolean;
833
+ icon: any;
834
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
835
+
836
+ export declare interface UiInputFileEventsInterface {
837
+ /** Whenever files are dragged inside input field, or send the default way */
838
+ (e: "filesUploaded", T: FileInputType): void;
839
+ }
840
+
841
+ export declare interface UiInputFileInterface {
842
+ /** Name of the input field */
843
+ name: string;
844
+ /** Id of the input field */
845
+ id: string;
846
+ /** Text that appears top right side of the input field, that informs to user is a required field */
847
+ requiredText?: string;
848
+ /** Placeholder of the input field */
849
+ placeholder: string;
850
+ /** Part of text literal that makes reference to drag and drop a file inside the input field */
851
+ dragAndDrop: string;
852
+ /** Part of text literal that makes reference to file types inside the input field */
853
+ fileTypesAndSizes: string;
854
+ /** Text below the input field that shows the error */
855
+ error?: string;
856
+ /** MIME types of files that input field must accept */
857
+ accept: string;
858
+ /** Imported icon from '@heroicons/vue/24/outline' */
859
+ icon?: any;
860
+ /** Is loading or not */
861
+ loading: boolean;
862
+ /** Label in top of the input field */
863
+ label?: string;
864
+ }
865
+
866
+ export declare interface UiInputInterface {
867
+ /** Label in top of the input field */
868
+ label?: string;
869
+ /** Input field type */
870
+ type?: InputTypes;
871
+ /** Name of the input field */
872
+ name: string;
873
+ /** Placeholder of the input field */
874
+ placeholder?: string;
875
+ /** Imported icon from '@heroicons/vue/24/outline' */
876
+ icon?: any;
877
+ /** Is disabled or not */
878
+ disabled?: boolean;
879
+ /** Color options (see type Colors) */
880
+ color?: AllColors_2;
881
+ /** Internal value of input field */
882
+ value?: string;
883
+ /** Text below the input field that shows the error */
884
+ error?: string;
885
+ /** Text that appears top right side of the input field, that informs to user is a required field */
886
+ requiredText?: string;
887
+ /** Addon text in the input field */
888
+ addOn?: string;
889
+ /** Addon text but at right side of input field */
890
+ rightAddOn?: string;
891
+ /**max value*/
892
+ max?: string | number;
893
+ /**min value*/
894
+ min?: string | number;
895
+ /** Is loading or not */
896
+ loading: boolean;
897
+ }
898
+
899
+ export declare const UiInputTypes: readonly ["text", "email", "password", "number", "date", "datetime-local"];
900
+
901
+ export declare const uiLoadingScreen: DefineComponent<UiLoadScreenInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiLoadScreenInterface> & Readonly<{}>, {
902
+ fixed: boolean;
903
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
904
+
905
+ export declare interface UiLoadScreenInterface {
906
+ /** title string */
907
+ title?: string;
908
+ /** message string */
909
+ message?: string;
910
+ /** not in use, only for DS purposes */
911
+ fixed?: boolean;
912
+ }
913
+
914
+ export declare const uiModal: __VLS_WithTemplateSlots_5<DefineComponent<UiModalInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
915
+ modalAction: (T: {
916
+ modal: string;
917
+ action: string;
918
+ }) => any;
919
+ }, string, PublicProps, Readonly<UiModalInterface> & Readonly<{
920
+ onModalAction?: ((T: {
921
+ modal: string;
922
+ action: string;
923
+ }) => any) | undefined;
924
+ }>, {
925
+ loading: boolean;
926
+ type: string;
927
+ open: boolean;
928
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
929
+ default?(_: {}): any;
930
+ }>;
931
+
932
+ export declare interface UiModalEventsInterface {
933
+ /** emitted when a modal action is clicked, action emits: UiModalInterface["actions"]["value"] */
934
+ (e: 'modalAction', T: {
935
+ modal: UiModalInterface["modalName"];
936
+ action: string;
937
+ }): void;
938
+ }
939
+
940
+ export declare interface UiModalInterface {
941
+ /** modal title */
942
+ title: string;
943
+ /** actions array */
944
+ actions: {
945
+ /** value of the action */
946
+ value: string;
947
+ /** action literal */
948
+ name: string;
949
+ }[];
950
+ /** modal name */
951
+ modalName: string;
952
+ /** show modal or not */
953
+ open: boolean;
954
+ /** modal type */
955
+ type?: Types_2;
956
+ /** show skeleton */
957
+ loading?: boolean;
958
+ }
959
+
960
+ export declare const uiNoResults: DefineComponent<UiNoResultsInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
961
+ action: (T: string) => any;
962
+ noResultsOptionSelected: (T: UiDropdownItemType_2) => any;
963
+ }, string, PublicProps, Readonly<UiNoResultsInterface> & Readonly<{
964
+ onAction?: ((T: string) => any) | undefined;
965
+ onNoResultsOptionSelected?: ((T: UiDropdownItemType_2) => any) | undefined;
966
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
967
+
968
+ export declare interface UiNoResultsEventsInterface {
969
+ /** action button clicked */
970
+ (e: "action", T: string): void;
971
+ /** dropdown option selected */
972
+ (e: "noResultsOptionSelected", T: UiDropdownItemType): void;
973
+ }
974
+
975
+ export declare interface UiNoResultsInterface {
976
+ /** title string literal */
977
+ title: string;
978
+ /** message string literal */
979
+ message: string;
980
+ /** uiButtons array */
981
+ actions: {
982
+ /** action to emit when clicked */
983
+ action: string;
984
+ /** string literal */
985
+ text: string;
986
+ }[];
987
+ /** want to add more options, add items */
988
+ items: UiDropdownItemType[];
989
+ /** default selected item */
990
+ select: UiDropdownItemType;
991
+ }
992
+
993
+ export declare const uiNotification: DefineComponent<UiNotificationInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
994
+ closeNotification: () => any;
995
+ }, string, PublicProps, Readonly<UiNotificationInterface> & Readonly<{
996
+ onCloseNotification?: (() => any) | undefined;
997
+ }>, {
998
+ fixed: boolean;
999
+ type: string;
1000
+ show: boolean;
1001
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1002
+
1003
+ export declare interface UiNotificationEventsInterface {
1004
+ /** emitted when X icon is clicked */
1005
+ (e: 'closeNotification'): void;
1006
+ }
1007
+
1008
+ export declare interface UiNotificationInterface {
1009
+ /** notification type */
1010
+ type?: Types_2;
1011
+ /** notification title */
1012
+ title: string;
1013
+ /** notification message */
1014
+ message?: string;
1015
+ /** not in use, only for DS purposes */
1016
+ fixed: boolean;
1017
+ /** show or not */
1018
+ show: boolean;
1019
+ }
1020
+
1021
+ export declare const uiPagination: __VLS_WithTemplateSlots_6<DefineComponent<UiPaginationInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1022
+ changePage: (T: number) => any;
1023
+ }, string, PublicProps, Readonly<UiPaginationInterface> & Readonly<{
1024
+ onChangePage?: ((T: number) => any) | undefined;
1025
+ }>, {
1026
+ loading: boolean;
1027
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
1028
+ 'test-first-button': HTMLButtonElement;
1029
+ 'test-last-button': HTMLButtonElement;
1030
+ }, any>, {
1031
+ previous?(_: {}): any;
1032
+ previous?(_: {}): any;
1033
+ next?(_: {}): any;
1034
+ next?(_: {}): any;
1035
+ showing?(_: {}): any;
1036
+ of?(_: {}): any;
1037
+ }>;
1038
+
1039
+ export declare interface UiPaginationEventsInterface {
1040
+ /** emits when a button is clicked, emits a page number */
1041
+ (e: "changePage", T: number): void;
1042
+ }
1043
+
1044
+ export declare interface UiPaginationInterface {
1045
+ /** current page number */
1046
+ current: number;
1047
+ /** total number of pages */
1048
+ total: number;
1049
+ /** show skeleton */
1050
+ loading?: boolean;
1051
+ }
1052
+
1053
+ export declare const uiPriceCalendar: DefineComponent<UiPriceCalendarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1054
+ tableAction: (t: any) => any;
1055
+ dateChanged: (t: Date) => any;
1056
+ changeCategoryBulkPrices: () => any;
1057
+ changeCategorySelectionPrice: (t: UiRoomTypeSelectionPriceType) => any;
1058
+ changeCategoryUpgradePrice: (t: UiRoomTypeSelectionPriceType) => any;
1059
+ changeRoomPrice: (t: {
1060
+ price: UiRoomTypeSelectionPriceType;
1061
+ roomId: string;
1062
+ roomName: string;
1063
+ }) => any;
1064
+ }, string, PublicProps, Readonly<UiPriceCalendarInterface> & Readonly<{
1065
+ onTableAction?: ((t: any) => any) | undefined;
1066
+ onDateChanged?: ((t: Date) => any) | undefined;
1067
+ onChangeCategoryBulkPrices?: (() => any) | undefined;
1068
+ onChangeCategorySelectionPrice?: ((t: UiRoomTypeSelectionPriceType) => any) | undefined;
1069
+ onChangeCategoryUpgradePrice?: ((t: UiRoomTypeSelectionPriceType) => any) | undefined;
1070
+ onChangeRoomPrice?: ((t: {
1071
+ price: UiRoomTypeSelectionPriceType;
1072
+ roomId: string;
1073
+ roomName: string;
1074
+ }) => any) | undefined;
1075
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1076
+
1077
+ export declare interface UiPriceCalendarInterface {
1078
+ /** show skeleton */
1079
+ loading: boolean;
1080
+ /** default starting date */
1081
+ today: Date;
1082
+ /** Is a prices table or a discounts table */
1083
+ type: "prices" | "discounts";
1084
+ /** currency information */
1085
+ currency: {
1086
+ /** currency name: ej "EUR" */
1087
+ name: string;
1088
+ /** currency symbol: ej "€" */
1089
+ symbol: string;
1090
+ };
1091
+ /** listed default selection prices and upgrade prices for this category */
1092
+ category: {
1093
+ /** category name */
1094
+ name: string;
1095
+ /** array of selection prices based on date */
1096
+ selectionPrices: {
1097
+ date: Date;
1098
+ price: number;
1099
+ }[];
1100
+ /** array of upgrade prices based on date */
1101
+ upgradePrices: {
1102
+ date: Date;
1103
+ price: number;
1104
+ }[];
1105
+ };
1106
+ /** listed rooms for this category with selection prices by date */
1107
+ rooms: UiPriceCalendarRoomType[];
1108
+ /** table actions based on row selections */
1109
+ actions: {
1110
+ /** action string literal */
1111
+ name: string;
1112
+ /** actino id */
1113
+ id: string;
1114
+ }[];
1115
+ /** table literals check storybook */
1116
+ literals: {
1117
+ category: string;
1118
+ changeInBulk: string;
1119
+ pricesSelection: string;
1120
+ pricesUpgrade: string;
1121
+ room: string;
1122
+ building: string;
1123
+ floor: string;
1124
+ pricesDiscount: string;
1125
+ };
1126
+ }
1127
+
1128
+ export declare type UiPriceCalendarRoomType = {
1129
+ /** room id */
1130
+ id: string;
1131
+ /** room name */
1132
+ name: string;
1133
+ /** building the room is in */
1134
+ building: string;
1135
+ /** the floor the room is in */
1136
+ floor: string;
1137
+ /** selection prices for this room based on dates */
1138
+ selectionPrices: UiRoomTypeSelectionPriceType[];
1139
+ };
1140
+
1141
+ export declare interface UiPricesCalendarEventsInterface {
1142
+ /** when a date button is clicked */
1143
+ (e: 'dateChanged', t: Date): void;
1144
+ /** click change category prices in bulk button */
1145
+ (e: 'changeCategoryBulkPrices'): void;
1146
+ /** click on category price */
1147
+ (e: 'changeCategorySelectionPrice', t: UiRoomTypeSelectionPriceType): void;
1148
+ /** click on category upgrade price */
1149
+ (e: 'changeCategoryUpgradePrice', t: UiRoomTypeSelectionPriceType): void;
1150
+ /** click on room price */
1151
+ (e: 'changeRoomPrice', t: {
1152
+ price: UiRoomTypeSelectionPriceType;
1153
+ roomId: string;
1154
+ roomName: string;
1155
+ }): void;
1156
+ /** click on table action */
1157
+ (e: 'tableAction', t: any): void;
1158
+ }
1159
+
1160
+ export declare const uiRangeSlider: DefineComponent<UiRangeSliderInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1161
+ sliderUpdated: (T: any) => any;
1162
+ }, string, PublicProps, Readonly<UiRangeSliderInterface> & Readonly<{
1163
+ onSliderUpdated?: ((T: any) => any) | undefined;
1164
+ }>, {
1165
+ disabled: boolean;
1166
+ loading: boolean;
1167
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1168
+
1169
+ export declare interface UiRangeSliderEventsInterface {
1170
+ /** Whenever the slider is changed */
1171
+ (e: "sliderUpdated", T: any): void;
1172
+ }
1173
+
1174
+ export declare interface UiRangeSliderInterface {
1175
+ /** Is loading or not */
1176
+ loading: boolean;
1177
+ /** Is disabled or not */
1178
+ disabled?: boolean;
1179
+ /** Min number of the range slider */
1180
+ min?: number;
1181
+ /** Max number of the range slider */
1182
+ max?: number;
1183
+ /** Actual value or range of values of the slider */
1184
+ sliderValue?: number | number[];
1185
+ /** Label in top of the slider */
1186
+ label: string;
1187
+ /** Text that appears top right side of the input field, that informs to user is a required field */
1188
+ requiredText?: string;
1189
+ }
1190
+
1191
+ export declare const uiRightSidebar: __VLS_WithTemplateSlots_7<DefineComponent<UiRightSidebarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1192
+ closeRightBar: () => any;
1193
+ }, string, PublicProps, Readonly<UiRightSidebarInterface> & Readonly<{
1194
+ onCloseRightBar?: (() => any) | undefined;
1195
+ }>, {
1196
+ open: boolean;
1197
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1198
+ default?(_: {}): any;
1199
+ }>;
1200
+
1201
+ export declare interface UiRightSidebarEventsInterface {
1202
+ /** emits when click outside bar or X icon */
1203
+ (e: "closeRightBar"): void;
1204
+ }
1205
+
1206
+ export declare interface UiRightSidebarInterface {
1207
+ /** Sidebar title */
1208
+ title?: string;
1209
+ /** sidebar description or secondary text */
1210
+ description?: string;
1211
+ /** is sidebar open? */
1212
+ open: boolean;
1213
+ }
1214
+
1215
+ /** selection prices for this room based on dates */
1216
+ export declare type UiRoomTypeSelectionPriceType = {
1217
+ date: Date;
1218
+ price: number;
1219
+ };
1220
+
1221
+ export declare const uiSectionTitle: DefineComponent<UiSectionTitleInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiSectionTitleInterface> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1222
+
1223
+ export declare interface UiSectionTitleInterface {
1224
+ /** section title */
1225
+ title: string;
1226
+ /** section description */
1227
+ description?: string;
1228
+ }
1229
+
1230
+ export declare const uiSelect: DefineComponent<UiSelectInterface, {
1231
+ handleChange: (value: SelectItemType) => void;
1232
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1233
+ selectChanged: (T: SelectItemType) => any;
1234
+ }, string, PublicProps, Readonly<UiSelectInterface> & Readonly<{
1235
+ onSelectChanged?: ((T: SelectItemType) => any) | undefined;
1236
+ }>, {
1237
+ loading: boolean;
1238
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
1239
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1240
+
1241
+ export declare interface UiSelectEventsInterface {
1242
+ /** When a item is selected */
1243
+ (e: "selectChanged", T: SelectItemType): void;
1244
+ }
1245
+
1246
+ export declare interface UiSelectInterface {
1247
+ /** Array of items */
1248
+ items: SelectItemType[];
1249
+ /** Label in top of the Select */
1250
+ label?: string;
1251
+ /** Text below the input field that shows the error */
1252
+ error?: string;
1253
+ /** Color options (see type AllColors) */
1254
+ color?: AllColors_2;
1255
+ /** Selected item */
1256
+ select: SelectItemType;
1257
+ /** Is loading or not */
1258
+ loading?: boolean;
1259
+ /** Is disabled or not */
1260
+ disabled?: boolean;
1261
+ /** Text that appears top right side of the input field, that informs to user is a required field */
1262
+ requiredText?: string;
1263
+ }
1264
+
1265
+ export declare const uiSidebar: DefineComponent<UiSidebarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1266
+ sideBarClick: (t: string) => any;
1267
+ }, string, PublicProps, Readonly<UiSidebarInterface> & Readonly<{
1268
+ onSideBarClick?: ((t: string) => any) | undefined;
1269
+ }>, {
1270
+ loading: boolean;
1271
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1272
+
1273
+ export declare interface UiSidebarEventsInterface {
1274
+ /** emitted when a link is clicked, emits item id */
1275
+ (e: 'sideBarClick', t: string): any;
1276
+ }
1277
+
1278
+ export declare interface UiSidebarInterface {
1279
+ /** navigation array */
1280
+ navigation?: {
1281
+ /** name string literal */
1282
+ name: string;
1283
+ /** icon component from Heroicons */
1284
+ icon?: any;
1285
+ /** is current sidebar item */
1286
+ current?: boolean;
1287
+ /** unique id */
1288
+ id: string;
1289
+ /** If item is parent, has children items */
1290
+ children?: {
1291
+ /** name string literal */
1292
+ name: string;
1293
+ /** unique id */
1294
+ id: string;
1295
+ /** is current sidebar item */
1296
+ current?: boolean;
1297
+ }[];
1298
+ };
1299
+ /** instead, can be a filters sidebar */
1300
+ filterNavigation?: {
1301
+ /** has search input on top */
1302
+ hasSearch?: boolean;
1303
+ /** search props */
1304
+ search?: UiInputInterface;
1305
+ /** check groups */
1306
+ items?: {
1307
+ /** check groups title */
1308
+ label: string;
1309
+ /** checkbox array */
1310
+ filters: UiCheckboxInterface[];
1311
+ }[];
1312
+ };
1313
+ /** is filter sidebar or navigation sidebar */
1314
+ isFilterNavigation?: boolean;
1315
+ /** show skeleton */
1316
+ loading?: boolean;
1317
+ /** sidebar brand logo */
1318
+ logo?: string;
1319
+ }
1320
+
1321
+ export declare const uiSidebarV2: DefineComponent<UiSidebarV2Interface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1322
+ sideBarClick: (t: string) => any;
1323
+ productBarClick: (t: string) => any;
1324
+ }, string, PublicProps, Readonly<UiSidebarV2Interface> & Readonly<{
1325
+ onSideBarClick?: ((t: string) => any) | undefined;
1326
+ onProductBarClick?: ((t: string) => any) | undefined;
1327
+ }>, {
1328
+ loading: boolean;
1329
+ isFilterNavigation: boolean;
1330
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1331
+
1332
+ export declare interface uiSidebarV2EventsInterface {
1333
+ /** emits product name when clicked */
1334
+ (e: 'productBarClick', t: string): void;
1335
+ /** emitted when a link is clicked, emits item id */
1336
+ (e: 'sideBarClick', t: string): void;
1337
+ }
1338
+
1339
+ export declare interface UiSidebarV2Interface {
1340
+ /** navigation array */
1341
+ navigation?: {
1342
+ /** name string literal */
1343
+ name: string;
1344
+ /** icon component from Heroicons */
1345
+ icon?: any;
1346
+ /** is current sidebar item */
1347
+ current?: boolean;
1348
+ /** unique id */
1349
+ id: string;
1350
+ /** If item is parent, has children items */
1351
+ children?: {
1352
+ /** name string literal */
1353
+ name: string;
1354
+ /** unique id */
1355
+ id: string;
1356
+ /** is current sidebar item */
1357
+ current?: boolean;
1358
+ }[];
1359
+ };
1360
+ /** instead, can be a filters sidebar */
1361
+ filterNavigation?: {
1362
+ /** has search input on top */
1363
+ hasSearch?: boolean;
1364
+ /** search props */
1365
+ search?: UiInputInterface;
1366
+ /** check groups */
1367
+ items?: {
1368
+ /** check groups title */
1369
+ label: string;
1370
+ /** checkbox array */
1371
+ filters: UiCheckboxInterface[];
1372
+ }[];
1373
+ };
1374
+ /** is filter sidebar or navigation sidebar */
1375
+ isFilterNavigation?: boolean;
1376
+ /** show skeleton */
1377
+ loading?: boolean;
1378
+ /** sidebar brand logo */
1379
+ logo?: string;
1380
+ /** left sidebar with product logos */
1381
+ productsSidebar: {
1382
+ name: string;
1383
+ icon: any;
1384
+ active?: boolean;
1385
+ }[];
1386
+ }
1387
+
1388
+ export declare const uiSmartFilter: DefineComponent<UiSmartFilterInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1389
+ rightAddOnClicked: () => any;
1390
+ smartFilterSelected: (T: {
1391
+ name: string;
1392
+ value: string;
1393
+ active?: boolean | undefined;
1394
+ }[]) => any;
1395
+ smartInputChanged: (T: InputType_2) => any;
1396
+ smartSelectChanged: (T: SelectItemType_2[]) => any;
1397
+ smartOptionSelected: (T: UiDropdownItemType_2) => any;
1398
+ }, string, PublicProps, Readonly<UiSmartFilterInterface> & Readonly<{
1399
+ onRightAddOnClicked?: (() => any) | undefined;
1400
+ onSmartFilterSelected?: ((T: {
1401
+ name: string;
1402
+ value: string;
1403
+ active?: boolean | undefined;
1404
+ }[]) => any) | undefined;
1405
+ onSmartInputChanged?: ((T: InputType_2) => any) | undefined;
1406
+ onSmartSelectChanged?: ((T: SelectItemType_2[]) => any) | undefined;
1407
+ onSmartOptionSelected?: ((T: UiDropdownItemType_2) => any) | undefined;
1408
+ }>, {
1409
+ loading: boolean;
1410
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1411
+
1412
+ export declare interface UiSmartFilterEventInterface {
1413
+ /** when a filter is selected */
1414
+ (e: 'smartFilterSelected', T: UiFilterInterface["items"]): void;
1415
+ /** when an input is changed */
1416
+ (e: 'smartInputChanged', T: InputType): void;
1417
+ /** when a select is changed*/
1418
+ (e: 'smartSelectChanged', T: UiSelectInterface["items"]): void;
1419
+ /** when a dropdown option is selected */
1420
+ (e: 'smartOptionSelected', T: UiDropdownItemType): void;
1421
+ /** Right addon is clicked */
1422
+ (e: "rightAddOnClicked"): void;
1423
+ }
1424
+
1425
+ /** uiSmartFilter */
1426
+ export declare interface UiSmartFilterInterface {
1427
+ /** Filter items */
1428
+ items: {
1429
+ /** item name */
1430
+ name: string;
1431
+ /** item value */
1432
+ value: string;
1433
+ /** is is selected or not */
1434
+ active?: boolean;
1435
+ /** for use in UiSmartFilter, it determines if input is a dropdown or input field */
1436
+ type: "uiDropdowm" | "uiInput" | "uiSelect";
1437
+ /** filter props based on componend being used */
1438
+ props: UiInputInterface | UiDropdownInterface;
1439
+ }[];
1440
+ /** filter action literal */
1441
+ buttonLiteral: string;
1442
+ /** show skeleton */
1443
+ loading?: boolean;
1444
+ }
1445
+
1446
+ export declare const uiStats: DefineComponent<UiStatsInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1447
+ statClick: (T: string) => any;
1448
+ }, string, PublicProps, Readonly<UiStatsInterface> & Readonly<{
1449
+ onStatClick?: ((T: string) => any) | undefined;
1450
+ }>, {
1451
+ loading: boolean;
1452
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1453
+
1454
+ export declare interface UiStatsEventsInterface {
1455
+ /** emits when actionText is clicked, emits item.id */
1456
+ (e: "statClick", T: string): void;
1457
+ }
1458
+
1459
+ export declare interface UiStatsInterface {
1460
+ item: {
1461
+ /** stat icon */
1462
+ icon: any;
1463
+ /** increase o decrease value ej: 122% */
1464
+ change?: string;
1465
+ /** change direction */
1466
+ changeType?: "increase" | "decrease" | "neutral";
1467
+ /** footer action link */
1468
+ actionText?: string;
1469
+ /** unique id */
1470
+ id: string;
1471
+ /** stats name */
1472
+ name: string;
1473
+ /** stat value */
1474
+ stat: string | number;
1475
+ /** helper text */
1476
+ explanation?: string;
1477
+ /** icon background color */
1478
+ color?: AllColors_2;
1479
+ /** show footer with action */
1480
+ showFooter?: boolean;
1481
+ };
1482
+ /** show skeleton */
1483
+ loading?: boolean;
1484
+ }
1485
+
1486
+ export declare const uiStripedCard: DefineComponent<UiStripedCardInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1487
+ itemClicked: (T: string) => any;
1488
+ }, string, PublicProps, Readonly<UiStripedCardInterface> & Readonly<{
1489
+ onItemClicked?: ((T: string) => any) | undefined;
1490
+ }>, {
1491
+ loading: boolean;
1492
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1493
+
1494
+ export declare interface UiStripedCardEventsInterface {
1495
+ /** emits when link is clicked, emits item emits */
1496
+ (e: "itemClicked", T: string): void;
1497
+ }
1498
+
1499
+ export declare interface UiStripedCardInterface {
1500
+ /** card title */
1501
+ title: string;
1502
+ /** card subtitle */
1503
+ subtitle: string;
1504
+ /** array of card rows */
1505
+ items: {
1506
+ /** row title */
1507
+ title: string;
1508
+ /** row text */
1509
+ text: string;
1510
+ /** if link, when click, emits: */
1511
+ emits: string;
1512
+ /** row content, if undefined, the content is text */
1513
+ type?: "link" | "tags";
1514
+ /** if type tags, tags array */
1515
+ tags?: UiTagInterface[];
1516
+ }[];
1517
+ /** show skeleton */
1518
+ loading?: boolean;
1519
+ }
1520
+
1521
+ export declare interface UiTabEventsInterface {
1522
+ /** emits when a tab is clicked, emits tab id */
1523
+ (e: "tabClicked", T: string): void;
1524
+ }
1525
+
1526
+ export declare interface UiTabInterface {
1527
+ /** tabs array */
1528
+ tabs: {
1529
+ /** tab string literal */
1530
+ name: string;
1531
+ /** tab unique id */
1532
+ id: string;
1533
+ /** tab count tag */
1534
+ count?: number;
1535
+ /** is current tag */
1536
+ current?: boolean;
1537
+ }[];
1538
+ }
1539
+
1540
+ export declare const uiTable: DefineComponent<UiTableInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1541
+ tableAction: (T: {
1542
+ action: string;
1543
+ items: (string | number)[];
1544
+ }) => any;
1545
+ orderBy: (T: {
1546
+ value: string;
1547
+ orderDirection: "desc" | "asc";
1548
+ }) => any;
1549
+ customEmit: (T: {
1550
+ data: {
1551
+ content: string;
1552
+ type: string;
1553
+ emits: any;
1554
+ };
1555
+ }) => any;
1556
+ selectedItemsDeleted: () => any;
1557
+ }, string, PublicProps, Readonly<UiTableInterface> & Readonly<{
1558
+ onTableAction?: ((T: {
1559
+ action: string;
1560
+ items: (string | number)[];
1561
+ }) => any) | undefined;
1562
+ onOrderBy?: ((T: {
1563
+ value: string;
1564
+ orderDirection: "desc" | "asc";
1565
+ }) => any) | undefined;
1566
+ onCustomEmit?: ((T: {
1567
+ data: {
1568
+ content: string;
1569
+ type: string;
1570
+ emits: any;
1571
+ };
1572
+ }) => any) | undefined;
1573
+ onSelectedItemsDeleted?: (() => any) | undefined;
1574
+ }>, {
1575
+ loading: boolean;
1576
+ resetSelected: boolean;
1577
+ orderDirection: "desc" | "asc";
1578
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1579
+
1580
+ export declare interface UiTableEventsInterface {
1581
+ /** if table action is clicked, emits selected rows ids */
1582
+ (e: "tableAction", T: {
1583
+ action: string;
1584
+ items: Array<string | number>;
1585
+ }): void;
1586
+ /** emits header value and asc desc */
1587
+ (e: "orderBy", T: {
1588
+ value: string;
1589
+ orderDirection: "desc" | "asc";
1590
+ }): void;
1591
+ /** if colum is link and has custom info */
1592
+ (e: "customEmit", T: {
1593
+ data: {
1594
+ content: string;
1595
+ type: string;
1596
+ emits: any;
1597
+ };
1598
+ }): void;
1599
+ /** emitted when resetSelected prop is sent with true, use it to rollback resetSelected to false */
1600
+ (e: "selectedItemsDeleted"): void;
1601
+ }
1602
+
1603
+ export declare interface UiTableInterface {
1604
+ /** if you send this prop to the table with true it will reset all checked rows */
1605
+ resetSelected: boolean;
1606
+ /** header value the table is ordered */
1607
+ orderedBy: string;
1608
+ /** order direction */
1609
+ orderDirection?: "asc" | "desc";
1610
+ /** show skeleton */
1611
+ loading?: boolean;
1612
+ /** table header */
1613
+ header: {
1614
+ /** table column header name */
1615
+ name: string;
1616
+ /** table column header value, used for orders */
1617
+ value: string;
1618
+ /** tooltip string literal if needed */
1619
+ tooltip?: string;
1620
+ }[];
1621
+ /** rows */
1622
+ items: TableItemType[] | [];
1623
+ /** when row is checked, available actions shows */
1624
+ actions: {
1625
+ /** action string literal */
1626
+ name: string;
1627
+ /** action id */
1628
+ id: string;
1629
+ }[];
1630
+ }
1631
+
1632
+ export declare const uiTabs: DefineComponent<UiTabInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1633
+ tabClicked: (T: string) => any;
1634
+ }, string, PublicProps, Readonly<UiTabInterface> & Readonly<{
1635
+ onTabClicked?: ((T: string) => any) | undefined;
1636
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1637
+
1638
+ export declare const uiTag: __VLS_WithTemplateSlots_3<DefineComponent<UiTagInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1639
+ tagEvent: (T: string | undefined) => any;
1640
+ }, string, PublicProps, Readonly<UiTagInterface> & Readonly<{
1641
+ onTagEvent?: ((T: string | undefined) => any) | undefined;
1642
+ }>, {
1643
+ loading: boolean;
1644
+ size: "big" | "small" | "medium";
1645
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
1646
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1647
+ default?(_: {}): any;
1648
+ }>;
1649
+
1650
+ export declare interface UiTagEventsInterface {
1651
+ /** When clicked, if props.event is defined. It emits the value of props.event */
1652
+ (e: "tagEvent", T: UiTagInterface["event"]): void;
1653
+ }
1654
+
1655
+ export declare interface UiTagInterface {
1656
+ /** Color options (see type AllColors) */
1657
+ color?: AllColors_2;
1658
+ /** Is loading or not */
1659
+ loading?: boolean;
1660
+ /** Size options (see type Sizes) */
1661
+ size?: Sizes_2;
1662
+ /** If tag is clickable, this is the name of the event will be fired */
1663
+ event?: string;
1664
+ /** In uiCard, uiDeviceStatus, tag instead of slot uses name */
1665
+ name?: string;
1666
+ /** Tag text usually uses the slot, but there is some other components that needs the taxt text as a prop. You can use text instead of prop if needed */
1667
+ text?: string;
1668
+ }
1669
+
1670
+ export declare interface UiTaskList {
1671
+ /** list of tasks */
1672
+ tasks: TaskType[];
1673
+ /** show skeleton */
1674
+ loading?: boolean;
1675
+ }
1676
+
1677
+ export declare const uiTaskList: DefineComponent<UiTaskList, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiTaskList> & Readonly<{}>, {
1678
+ loading: boolean;
1679
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1680
+
1681
+ export declare const uiTextArea: DefineComponent<UiTextAreaInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1682
+ inputChanged: (T: {
1683
+ name: string;
1684
+ value?: string | undefined;
1685
+ }) => any;
1686
+ }, string, PublicProps, Readonly<UiTextAreaInterface> & Readonly<{
1687
+ onInputChanged?: ((T: {
1688
+ name: string;
1689
+ value?: string | undefined;
1690
+ }) => any) | undefined;
1691
+ }>, {
1692
+ disabled: boolean;
1693
+ loading: boolean;
1694
+ color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
1695
+ placeholder: string;
1696
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1697
+
1698
+ export declare interface UiTextAreaEventsInterface {
1699
+ /** Whenever text area value changes is emitted */
1700
+ (e: "inputChanged", T: {
1701
+ name: string;
1702
+ value?: string;
1703
+ }): void;
1704
+ }
1705
+
1706
+ export declare interface UiTextAreaInterface {
1707
+ /** Name of the text area */
1708
+ name: string;
1709
+ /** Label in top of the text area */
1710
+ label: string;
1711
+ /** Placeholder of the text area */
1712
+ placeholder?: string;
1713
+ /** Value (text) of the text area */
1714
+ value?: string;
1715
+ /** Color options (see type Colors) */
1716
+ color?: AllColors_2;
1717
+ /** Is disabled or not */
1718
+ disabled?: boolean;
1719
+ /** Text below the text area that shows the error */
1720
+ error?: string;
1721
+ /** Is loading or not */
1722
+ loading?: boolean;
1723
+ /** Text that appears top right side of the text area, that informs to user is a required field */
1724
+ requiredText?: string;
1725
+ }
1726
+
1727
+ export declare const uiTimeline: DefineComponent<UiTimelineInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1728
+ timelineEventClicked: (t: string | number) => any;
1729
+ timelineFooterClicked: (t: string) => any;
1730
+ }, string, PublicProps, Readonly<UiTimelineInterface> & Readonly<{
1731
+ onTimelineEventClicked?: ((t: string | number) => any) | undefined;
1732
+ onTimelineFooterClicked?: ((t: string) => any) | undefined;
1733
+ }>, {
1734
+ loading: boolean;
1735
+ empty: boolean;
1736
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1737
+
1738
+ export declare interface UiTimelineEventsInterface {
1739
+ /** when a timeline event is clicked, emits item id */
1740
+ (e: 'timelineEventClicked', t: string | number): void;
1741
+ /** emits when footer link is clicked */
1742
+ (e: 'timelineFooterClicked', t: string): void;
1743
+ }
1744
+
1745
+ export declare interface UiTimelineInterface {
1746
+ /** timeline title */
1747
+ name: string;
1748
+ /** items */
1749
+ timeline: {
1750
+ /** timeline unique id */
1751
+ id: string;
1752
+ /** timeline footer literal */
1753
+ footerText: string;
1754
+ /** items array */
1755
+ items: {
1756
+ /** row id */
1757
+ id: number | string;
1758
+ /** link id */
1759
+ linkId: number | string;
1760
+ /** row text */
1761
+ content: string;
1762
+ /** item name, reference.. */
1763
+ target: string;
1764
+ /** target link */
1765
+ href: string;
1766
+ /** event date */
1767
+ date: string;
1768
+ /** event formatted date */
1769
+ datetime: string;
1770
+ /** event icon */
1771
+ icon: any;
1772
+ /** event icon background color */
1773
+ iconBackground: string;
1774
+ }[];
1775
+ };
1776
+ /** if custom height in px */
1777
+ height?: number;
1778
+ /** is timeline empty */
1779
+ empty?: boolean;
1780
+ /** show skeleton */
1781
+ loading?: boolean;
1782
+ }
1783
+
1784
+ export declare const uiToggle: DefineComponent<UiToggleInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1785
+ toggleChanged: (T: {
1786
+ item: {
1787
+ title: string;
1788
+ subtitle?: string | undefined;
1789
+ active?: boolean | undefined;
1790
+ action: string;
1791
+ };
1792
+ active: boolean;
1793
+ }) => any;
1794
+ actionClicked: (item: {
1795
+ title: string;
1796
+ subtitle?: string | undefined;
1797
+ active?: boolean | undefined;
1798
+ action: string;
1799
+ }) => any;
1800
+ }, string, PublicProps, Readonly<UiToggleInterface> & Readonly<{
1801
+ onToggleChanged?: ((T: {
1802
+ item: {
1803
+ title: string;
1804
+ subtitle?: string | undefined;
1805
+ active?: boolean | undefined;
1806
+ action: string;
1807
+ };
1808
+ active: boolean;
1809
+ }) => any) | undefined;
1810
+ onActionClicked?: ((item: {
1811
+ title: string;
1812
+ subtitle?: string | undefined;
1813
+ active?: boolean | undefined;
1814
+ action: string;
1815
+ }) => any) | undefined;
1816
+ }>, {
1817
+ disabled: boolean;
1818
+ loading: boolean;
1819
+ checked: boolean;
1820
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1821
+
1822
+ export declare interface UiToggleEventsInterface {
1823
+ /** emitted when toggle is changed */
1824
+ (e: 'toggleChanged', T: {
1825
+ item: UiToggleInterface["item"];
1826
+ active: boolean;
1827
+ }): void;
1828
+ /** emitted when right action is clicked */
1829
+ (e: 'actionClicked', item: UiToggleInterface["item"]): void;
1830
+ }
1831
+
1832
+ export declare interface UiToggleInterface {
1833
+ /** Toggle item that contains title, subtitle, if it´s active or not, and the action */
1834
+ item: {
1835
+ title: string;
1836
+ subtitle?: string;
1837
+ active?: boolean;
1838
+ action: string;
1839
+ };
1840
+ /** Is checked or not */
1841
+ checked?: boolean;
1842
+ /** Is disabled or not */
1843
+ disabled?: boolean;
1844
+ /** Is loading or not */
1845
+ loading: boolean;
1846
+ }
1847
+
1848
+ export declare const uiTopbar: DefineComponent<UiTopbarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1849
+ topBarClick: (T: string) => any;
1850
+ }, string, PublicProps, Readonly<UiTopbarInterface> & Readonly<{
1851
+ onTopBarClick?: ((T: string) => any) | undefined;
1852
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1853
+
1854
+ export declare interface UiTopbarEventsInterface {
1855
+ /** when clicked in any menu item */
1856
+ (e: "topBarClick", T: string): void;
1857
+ }
1858
+
1859
+ export declare interface UiTopbarInterface {
1860
+ /** brand logo */
1861
+ logo: string;
1862
+ /** show alert icon */
1863
+ alerted: boolean;
1864
+ /** sub brand logo */
1865
+ accountLogo: string;
1866
+ /** profile menu of sub brand */
1867
+ profileMenu?: {
1868
+ name: string;
1869
+ id: string;
1870
+ }[];
1871
+ /** brand name and description */
1872
+ brand?: {
1873
+ title: string;
1874
+ subtitle: string;
1875
+ };
1876
+ /** when mobile, this is the sidebar navigation menu */
1877
+ navigation?: UiSidebarV2Interface["navigation"];
1878
+ }
1879
+
1880
+ export declare const uiWrapper: __VLS_WithTemplateSlots_8<DefineComponent<UiWrapperInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1881
+ selectChanged: (T: SelectItemType) => any;
1882
+ sideBarClick: (t: string) => any;
1883
+ productBarClick: (t: string) => any;
1884
+ topBarClick: (T: string) => any;
1885
+ }, string, PublicProps, Readonly<UiWrapperInterface> & Readonly<{
1886
+ onSelectChanged?: ((T: SelectItemType) => any) | undefined;
1887
+ onSideBarClick?: ((t: string) => any) | undefined;
1888
+ onProductBarClick?: ((t: string) => any) | undefined;
1889
+ onTopBarClick?: ((T: string) => any) | undefined;
1890
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
1891
+ default?(_: {}): any;
1892
+ }>;
1893
+
1894
+ export declare interface UiWrapperEventsInterface {
1895
+ /** emits product name when clicked */
1896
+ (e: 'productBarClick', t: string): void;
1897
+ /** emitted when a link is clicked, emits item id */
1898
+ (e: 'sideBarClick', t: string): void;
1899
+ /** When an item is selected */
1900
+ (e: "selectChanged", T: SelectItemType): void;
1901
+ /** when clicked in any menu item */
1902
+ (e: "topBarClick", T: string): void;
1903
+ }
1904
+
1905
+ export declare interface UiWrapperInterface {
1906
+ topbar: {
1907
+ /** product logo */
1908
+ logo: string;
1909
+ /** is an alert */
1910
+ alerted?: boolean;
1911
+ /** brand logo */
1912
+ accountLogo?: string;
1913
+ /** brand profile menu */
1914
+ profileMenu?: {
1915
+ name: string;
1916
+ id: string;
1917
+ }[];
1918
+ /** top bar search items */
1919
+ selectItems: SelectItemType[];
1920
+ /** top bar search selected item */
1921
+ selectedItem: SelectItemType;
1922
+ };
1923
+ /** wrapper sidebar */
1924
+ sidebar: UiSidebarV2Interface;
1925
+ }
1926
+
1927
+ export { }