@hotelinking/ui 9.41.36 → 10.41.0

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.
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<UiInputInterface, {}, {},
8
8
  onRightAddOnClicked?: (() => any) | undefined;
9
9
  onAddOnClicked?: (() => any) | undefined;
10
10
  }>, {
11
- type: "number" | "text" | "email" | "password" | "date";
11
+ type: "number" | "text" | "email" | "password" | "date" | "datetime-local";
12
12
  color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
13
13
  loading: boolean;
14
14
  placeholder: string;
@@ -1,18 +1,26 @@
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?: "24h" | "7d" | "1m" | "3m" | "all";
4
+ range?: {
5
+ from: string;
6
+ to: string;
7
+ };
5
8
  chartId: UiChartInterface["id"];
6
9
  }) => any;
7
10
  chartUpdated: () => any;
8
11
  dataPointSelection: (T: any) => any;
12
+ maximizeChart: (T: string) => any;
9
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
10
14
  onSelectedRange?: ((T: {
11
- range?: "24h" | "7d" | "1m" | "3m" | "all";
15
+ range?: {
16
+ from: string;
17
+ to: string;
18
+ };
12
19
  chartId: UiChartInterface["id"];
13
20
  }) => any) | undefined;
14
21
  onChartUpdated?: (() => any) | undefined;
15
22
  onDataPointSelection?: ((T: any) => any) | undefined;
23
+ onMaximizeChart?: ((T: string) => any) | undefined;
16
24
  }>, {
17
25
  id: string;
18
26
  type: "area" | "line" | "bar" | "scatter";
@@ -1,18 +1,26 @@
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?: "24h" | "7d" | "1m" | "3m" | "all";
4
+ range?: {
5
+ from: string;
6
+ to: string;
7
+ };
5
8
  chartId: UiChartInterface["id"];
6
9
  }) => any;
7
10
  chartUpdated: () => any;
8
11
  dataPointSelection: (T: any) => any;
12
+ maximizeChart: (T: string) => any;
9
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
10
14
  onSelectedRange?: ((T: {
11
- range?: "24h" | "7d" | "1m" | "3m" | "all";
15
+ range?: {
16
+ from: string;
17
+ to: string;
18
+ };
12
19
  chartId: UiChartInterface["id"];
13
20
  }) => any) | undefined;
14
21
  onChartUpdated?: (() => any) | undefined;
15
22
  onDataPointSelection?: ((T: any) => any) | undefined;
23
+ onMaximizeChart?: ((T: string) => any) | undefined;
16
24
  }>, {
17
25
  id: string;
18
26
  loading: boolean;
@@ -1,18 +1,26 @@
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?: "24h" | "7d" | "1m" | "3m" | "all";
4
+ range?: {
5
+ from: string;
6
+ to: string;
7
+ };
5
8
  chartId: UiChartInterface["id"];
6
9
  }) => any;
7
10
  chartUpdated: () => any;
8
11
  dataPointSelection: (T: any) => any;
12
+ maximizeChart: (T: string) => any;
9
13
  }, string, import("vue").PublicProps, Readonly<UiChartInterface> & Readonly<{
10
14
  onSelectedRange?: ((T: {
11
- range?: "24h" | "7d" | "1m" | "3m" | "all";
15
+ range?: {
16
+ from: string;
17
+ to: string;
18
+ };
12
19
  chartId: UiChartInterface["id"];
13
20
  }) => any) | undefined;
14
21
  onChartUpdated?: (() => any) | undefined;
15
22
  onDataPointSelection?: ((T: any) => any) | undefined;
23
+ onMaximizeChart?: ((T: string) => any) | undefined;
16
24
  }>, {
17
25
  id: string;
18
26
  type: "area" | "line" | "bar" | "scatter";
@@ -1,6 +1,6 @@
1
1
  import { FunctionalComponent } from "vue";
2
2
  export declare const Colors: readonly ["primary", "secondary", "light", "green", "yellow", "red"];
3
- export declare const UiInputTypes: readonly ["text", "email", "password", "number", "date"];
3
+ export declare const UiInputTypes: readonly ["text", "email", "password", "number", "date", "datetime-local"];
4
4
  export declare const MonoColors: readonly ["black", "gray", "white"];
5
5
  export declare const AllColors: readonly ["primary", "secondary", "light", "green", "yellow", "red", "black", "gray", "white"];
6
6
  export declare const Sizes: readonly ["small", "medium", "big"];
@@ -557,15 +557,20 @@ export interface UiChartInterface {
557
557
  };
558
558
  }
559
559
  export interface UiChartEventsInterface {
560
- /** emitted when user clicks on range buttons */
560
+ /** emitted when user clicks on range inputs */
561
561
  (e: "selectedRange", T: {
562
- range?: "24h" | "7d" | "1m" | "3m" | "all";
562
+ range?: {
563
+ from: string;
564
+ to: string;
565
+ };
563
566
  chartId: UiChartInterface["id"];
564
567
  }): void;
565
568
  /** emitted when chart updated */
566
569
  (e: "chartUpdated"): void;
567
570
  /** emitted when a point inside chart is clicked */
568
571
  (e: "dataPointSelection", T: any): void;
572
+ /** emitted when user clicks on enlarge icon */
573
+ (e: "maximizeChart", T: UiChartInterface["id"]): void;
569
574
  }
570
575
  export interface UiDateRangeInterface {
571
576
  /** unique identifier */