@hotelinking/ui 8.40.6 → 9.41.2

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.
@@ -1,4 +1,4 @@
1
- import { UiChartInterface } from "../../../types";
1
+ import { UiChartInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiChartInterface>, {
3
3
  id: string;
4
4
  type: string;
@@ -0,0 +1,26 @@
1
+ import { UiDynamicStatsInterface } from "@/types";
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiDynamicStatsInterface>, {
3
+ loading: boolean;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiDynamicStatsInterface>, {
5
+ loading: boolean;
6
+ }>>>, {
7
+ loading: boolean;
8
+ }, {}>;
9
+ export default _default;
10
+ type __VLS_WithDefaults<P, D> = {
11
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
12
+ default: D[K];
13
+ }> : P[K];
14
+ };
15
+ type __VLS_Prettify<T> = {
16
+ [K in keyof T]: T[K];
17
+ } & {};
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -1,16 +1,19 @@
1
1
  import { UiSidebarInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarInterface>, {
3
3
  loading: boolean;
4
+ isFilterNavigation: boolean;
4
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
6
  sideBarClick: (...args: any[]) => void;
6
7
  productBarClick: (...args: any[]) => void;
7
8
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarInterface>, {
8
9
  loading: boolean;
10
+ isFilterNavigation: boolean;
9
11
  }>>> & {
10
12
  onSideBarClick?: ((...args: any[]) => any) | undefined;
11
13
  onProductBarClick?: ((...args: any[]) => any) | undefined;
12
14
  }, {
13
15
  loading: boolean;
16
+ isFilterNavigation: boolean;
14
17
  }, {}>;
15
18
  export default _default;
16
19
  type __VLS_WithDefaults<P, D> = {
@@ -38,4 +38,5 @@ import uiRangeSlider from "./Atoms/uiRangeSlider/uiRangeSlider.vue";
38
38
  import uiSectionTitle from "./Molecules/uiSectionTitle/uiSectionTitle.vue";
39
39
  import uiDeviceStatus from "./Molecules/uiDeviceStatus/uiDeviceStatus.vue";
40
40
  import uiWrapper from "./Organisms/uiWrapper/uiWrapper.vue";
41
- export { uiButton, uiIcon, uiCheckbox, uiDropdown, uiInput, uiInputFile, uiSelect, uiTag, uiTextArea, uiToggle, uiAlert, uiBreadcrumbs, uiCard, uiFilter, uiModal, uiNotification, uiTaskList, uiPriceCalendar, uiChart, uiFooter, uiLoadingScreen, uiPagination, uiSidebar, uiStats, uiStripedCard, uiTable, uiTabs, uiTimeline, uiTopbar, uiFunnelChartV2, uiNoResults, uiRightSidebar, uiGallery, uiDragAndDrop, uiCircleChart, uiDateRange, uiRangeSlider, uiSectionTitle, uiDeviceStatus, uiWrapper };
41
+ import uiDynamicStats from "./Organisms/uiDynamicStats/uiDynamicStats.vue";
42
+ export { uiButton, uiIcon, uiCheckbox, uiDropdown, uiInput, uiInputFile, uiSelect, uiTag, uiTextArea, uiToggle, uiAlert, uiBreadcrumbs, uiCard, uiFilter, uiModal, uiNotification, uiTaskList, uiPriceCalendar, uiChart, uiFooter, uiLoadingScreen, uiPagination, uiSidebar, uiStats, uiStripedCard, uiTable, uiTabs, uiTimeline, uiTopbar, uiFunnelChartV2, uiNoResults, uiRightSidebar, uiGallery, uiDragAndDrop, uiCircleChart, uiDateRange, uiRangeSlider, uiSectionTitle, uiDeviceStatus, uiWrapper, uiDynamicStats };
@@ -23,6 +23,7 @@ export interface UiCheckboxInterface {
23
23
  disabled?: boolean;
24
24
  loading: boolean;
25
25
  value: string;
26
+ text?: string;
26
27
  }
27
28
  export type UiCheckboxType = {
28
29
  checked: boolean;
@@ -56,7 +57,7 @@ export interface UiInputInterface {
56
57
  color?: AllColors;
57
58
  value?: string;
58
59
  error?: string;
59
- optional?: string;
60
+ requiredText?: string;
60
61
  addOn?: string;
61
62
  rightAddOn?: string;
62
63
  loading: boolean;
@@ -64,7 +65,7 @@ export interface UiInputInterface {
64
65
  export interface UiInputFileInterface {
65
66
  name: string;
66
67
  id: string;
67
- optional?: string;
68
+ requiredText?: string;
68
69
  placeholder: string;
69
70
  dragAndDrop: string;
70
71
  fileTypesAndSizes: string;
@@ -81,7 +82,7 @@ export interface UiRangeSliderInterface {
81
82
  max?: number;
82
83
  sliderValue?: number | number[];
83
84
  label: string;
84
- optional?: string;
85
+ requiredText?: string;
85
86
  }
86
87
  export type SelectItemType = {
87
88
  id: string;
@@ -95,6 +96,7 @@ export interface UiSelectInterface {
95
96
  select: SelectItemType;
96
97
  loading?: boolean;
97
98
  disabled?: boolean;
99
+ requiredText?: string;
98
100
  }
99
101
  export interface UiTagInterface {
100
102
  color?: AllColors;
@@ -113,6 +115,7 @@ export interface UiTextAreaInterface {
113
115
  disabled?: boolean;
114
116
  error?: string;
115
117
  loading?: boolean;
118
+ requiredText?: string;
116
119
  }
117
120
  export interface UiToggleInterface {
118
121
  item: {
@@ -274,7 +277,6 @@ export interface UiChartInterface {
274
277
  };
275
278
  id: string;
276
279
  type?: "area" | "line" | "bar" | "scatter";
277
- colors: any;
278
280
  series: {
279
281
  name: string;
280
282
  type?: "area" | "line" | "bar" | "scatter";
@@ -364,7 +366,7 @@ export interface UiRightSidebarInterface {
364
366
  open: boolean;
365
367
  }
366
368
  export interface UiSidebarInterface {
367
- navigation: {
369
+ navigation?: {
368
370
  name: string;
369
371
  icon?: any;
370
372
  current?: boolean;
@@ -375,8 +377,16 @@ export interface UiSidebarInterface {
375
377
  current?: boolean;
376
378
  }[];
377
379
  }[];
380
+ filterNavigation?: {
381
+ hasSearch?: boolean;
382
+ search?: UiInputInterface;
383
+ items?: {
384
+ label: string;
385
+ filters: UiCheckboxInterface[];
386
+ }[];
387
+ };
388
+ isFilterNavigation?: boolean;
378
389
  loading?: boolean;
379
- defaultOpen?: boolean;
380
390
  logo?: string;
381
391
  }
382
392
  export interface UiStatsInterface {
@@ -500,4 +510,19 @@ export interface UiWrapperInterface {
500
510
  };
501
511
  sidebar: UiSidebarInterface;
502
512
  }
513
+ export interface UiDynamicStatsInterface {
514
+ dynamicStats: {
515
+ icon: any;
516
+ change?: string;
517
+ changeType?: string;
518
+ actionText?: string;
519
+ id: string;
520
+ name: string;
521
+ stat: string | number;
522
+ explanation?: string;
523
+ color?: AllColors;
524
+ showFooter?: boolean;
525
+ }[];
526
+ loading: boolean;
527
+ }
503
528
  export {};