@hotelinking/ui 8.40.5 → 8.41.1

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.
@@ -5,14 +5,17 @@ declare function __VLS_template(): {
5
5
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiTagInterface>, {
6
6
  color: string;
7
7
  loading: boolean;
8
+ size: string;
8
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
10
  tagEvent: (T: string) => void;
10
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiTagInterface>, {
11
12
  color: string;
12
13
  loading: boolean;
14
+ size: string;
13
15
  }>>> & {
14
16
  onTagEvent?: ((T: string) => any) | undefined;
15
17
  }, {
18
+ size: "small" | "medium" | "big";
16
19
  color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
17
20
  loading: boolean;
18
21
  }, {}>;
@@ -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
+ };
@@ -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 };
@@ -99,6 +99,7 @@ export interface UiSelectInterface {
99
99
  export interface UiTagInterface {
100
100
  color?: AllColors;
101
101
  loading?: boolean;
102
+ size?: Sizes;
102
103
  event?: string;
103
104
  name?: string;
104
105
  text?: string;
@@ -215,7 +216,7 @@ export type chartOptionsType = {
215
216
  stacked?: boolean;
216
217
  type?: "area" | "line" | "bar" | "scatter";
217
218
  };
218
- colors: string[];
219
+ colors: any;
219
220
  stroke?: {
220
221
  show: boolean;
221
222
  curve: string;
@@ -265,6 +266,12 @@ export type chartOptionsType = {
265
266
  };
266
267
  export interface UiChartInterface {
267
268
  title: string;
269
+ isNps?: boolean;
270
+ npsLiterals?: {
271
+ unhappy: string;
272
+ neutral: string;
273
+ happy: string;
274
+ };
268
275
  id: string;
269
276
  type?: "area" | "line" | "bar" | "scatter";
270
277
  series: {
@@ -275,6 +282,7 @@ export interface UiChartInterface {
275
282
  options?: {
276
283
  xaxis: {
277
284
  type: string;
285
+ max?: number;
278
286
  categories: string[];
279
287
  };
280
288
  };
@@ -491,4 +499,19 @@ export interface UiWrapperInterface {
491
499
  };
492
500
  sidebar: UiSidebarInterface;
493
501
  }
502
+ export interface UiDynamicStatsInterface {
503
+ dynamicStats: {
504
+ icon: any;
505
+ change?: string;
506
+ changeType?: string;
507
+ actionText?: string;
508
+ id: string;
509
+ name: string;
510
+ stat: string | number;
511
+ explanation?: string;
512
+ color?: AllColors;
513
+ showFooter?: boolean;
514
+ }[];
515
+ loading: boolean;
516
+ }
494
517
  export {};