@hotelinking/ui 10.41.6 → 10.41.7

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,9 +1,9 @@
1
1
  import { UiChartInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  selectedRange: (T: {
4
- range?: {
5
- from: string;
6
- to: string;
4
+ range: {
5
+ from: Date | string;
6
+ to: Date | string;
7
7
  };
8
8
  chartId: UiChartInterface["id"];
9
9
  }) => any;
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {},
12
12
  maximizeChart: (T: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
14
14
  onSelectedRange?: ((T: {
15
- range?: {
16
- from: string;
17
- to: string;
15
+ range: {
16
+ from: Date | string;
17
+ to: Date | string;
18
18
  };
19
19
  chartId: UiChartInterface["id"];
20
20
  }) => any) | undefined;
@@ -25,7 +25,6 @@ declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {},
25
25
  id: string;
26
26
  type: "area" | "line" | "bar" | "scatter";
27
27
  loading: boolean;
28
- range: "24h" | "7d" | "1m" | "3m" | "all";
29
28
  empty: boolean;
30
29
  horizontal: boolean;
31
30
  stacked: boolean;
@@ -1,9 +1,9 @@
1
1
  import { UiChartInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  selectedRange: (T: {
4
- range?: {
5
- from: string;
6
- to: string;
4
+ range: {
5
+ from: Date | string;
6
+ to: Date | string;
7
7
  };
8
8
  chartId: UiChartInterface["id"];
9
9
  }) => any;
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {},
12
12
  maximizeChart: (T: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
14
14
  onSelectedRange?: ((T: {
15
- range?: {
16
- from: string;
17
- to: string;
15
+ range: {
16
+ from: Date | string;
17
+ to: Date | string;
18
18
  };
19
19
  chartId: UiChartInterface["id"];
20
20
  }) => any) | undefined;
@@ -1,13 +1,13 @@
1
1
  import { UiDateRangeInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<UiDateRangeInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  uiDateRangeButtonClicked: (t: {
4
- from?: string;
5
- to?: string;
4
+ from: Date | string;
5
+ to: Date | string;
6
6
  } | undefined) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<UiDateRangeInterface> & Readonly<{
8
8
  onUiDateRangeButtonClicked?: ((t: {
9
- from?: string;
10
- to?: string;
9
+ from: Date | string;
10
+ to: Date | string;
11
11
  } | undefined) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { UiChartInterface } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  selectedRange: (T: {
4
- range?: {
5
- from: string;
6
- to: string;
4
+ range: {
5
+ from: Date | string;
6
+ to: Date | string;
7
7
  };
8
8
  chartId: UiChartInterface["id"];
9
9
  }) => any;
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<UiChartInterface, {}, {},
12
12
  maximizeChart: (T: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
14
14
  onSelectedRange?: ((T: {
15
- range?: {
16
- from: string;
17
- to: string;
15
+ range: {
16
+ from: Date | string;
17
+ to: Date | string;
18
18
  };
19
19
  chartId: UiChartInterface["id"];
20
20
  }) => any) | undefined;
@@ -110,6 +110,10 @@ export interface UiInputInterface {
110
110
  addOn?: string;
111
111
  /** Addon text but at right side of input field */
112
112
  rightAddOn?: string;
113
+ /**max value*/
114
+ max?: string | number;
115
+ /**min value*/
116
+ min?: string | number;
113
117
  /** Is loading or not */
114
118
  loading: boolean;
115
119
  }
@@ -510,6 +514,11 @@ export type chartOptionsType = {
510
514
  export interface UiChartInterface {
511
515
  /** uiCircleChart sections labels */
512
516
  labels?: string[];
517
+ /** default date ranges */
518
+ dates?: {
519
+ from: Date | string;
520
+ to: Date | string;
521
+ };
513
522
  /** chart title */
514
523
  title: string;
515
524
  /** chart is Net promoter score */
@@ -559,9 +568,9 @@ export interface UiChartInterface {
559
568
  export interface UiChartEventsInterface {
560
569
  /** emitted when user clicks on range inputs */
561
570
  (e: "selectedRange", T: {
562
- range?: {
563
- from: string;
564
- to: string;
571
+ range: {
572
+ from: Date | string;
573
+ to: Date | string;
565
574
  };
566
575
  chartId: UiChartInterface["id"];
567
576
  }): void;
@@ -583,10 +592,10 @@ export interface UiDateRangeInterface {
583
592
  to: string;
584
593
  search: string;
585
594
  };
586
- /** date range dates */
587
- values?: {
588
- from?: string;
589
- to?: string;
595
+ /** default date ranges */
596
+ values: {
597
+ from: Date | string;
598
+ to: Date | string;
590
599
  };
591
600
  /** date range field colors */
592
601
  color?: AllColors;
@@ -601,7 +610,7 @@ export interface UiDateRangeInterface {
601
610
  }
602
611
  export interface UiDateRangeEventsInterface {
603
612
  /** emitted when date range button is clicked */
604
- (e: 'uiDateRangeButtonClicked', t: UiDateRangeInterface["values"]): void;
613
+ (e: 'uiDateRangeButtonClicked', t: UiDateRangeInterface["values"] | undefined): void;
605
614
  }
606
615
  export interface UiDragAndDropInterface {
607
616
  /** drag and drop array of elements */