@hotelinking/ui 8.40.6 → 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.
@@ -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 };
@@ -274,7 +274,6 @@ export interface UiChartInterface {
274
274
  };
275
275
  id: string;
276
276
  type?: "area" | "line" | "bar" | "scatter";
277
- colors: any;
278
277
  series: {
279
278
  name: string;
280
279
  type?: "area" | "line" | "bar" | "scatter";
@@ -500,4 +499,19 @@ export interface UiWrapperInterface {
500
499
  };
501
500
  sidebar: UiSidebarInterface;
502
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
+ }
503
517
  export {};