@hotelinking/ui 9.41.35 → 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.
- package/dist/types/components/Atoms/uiInput/uiInput.vue.d.ts +1 -1
- package/dist/types/components/Organisms/uiCharts/uiChart.vue.d.ts +10 -2
- package/dist/types/components/Organisms/uiCircleCharts/uiCircleChart.vue.d.ts +10 -2
- package/dist/types/components/Organisms/uiFunnelChartV2/uiFunnelChartV2.vue.d.ts +10 -2
- package/dist/types/components/Organisms/uiPriceCalendar/uiPriceCalendar.vue.d.ts +10 -2
- package/dist/types/types/index.d.ts +13 -4
- package/dist/ui.cjs +1 -1
- package/dist/ui.es.js +1174 -1134
- package/package.json +1 -1
|
@@ -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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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";
|
|
@@ -5,13 +5,21 @@ declare const _default: import("vue").DefineComponent<UiPriceCalendarInterface,
|
|
|
5
5
|
changeCategoryBulkPrices: () => any;
|
|
6
6
|
changeCategorySelectionPrice: (t: UiRoomTypeSelectionPriceType) => any;
|
|
7
7
|
changeCategoryUpgradePrice: (t: UiRoomTypeSelectionPriceType) => any;
|
|
8
|
-
changeRoomPrice: (t:
|
|
8
|
+
changeRoomPrice: (t: {
|
|
9
|
+
price: UiRoomTypeSelectionPriceType;
|
|
10
|
+
roomId: string;
|
|
11
|
+
roomName: string;
|
|
12
|
+
}) => any;
|
|
9
13
|
}, string, import("vue").PublicProps, Readonly<UiPriceCalendarInterface> & Readonly<{
|
|
10
14
|
onTableAction?: ((t: any) => any) | undefined;
|
|
11
15
|
onDateChanged?: ((t: Date) => any) | undefined;
|
|
12
16
|
onChangeCategoryBulkPrices?: (() => any) | undefined;
|
|
13
17
|
onChangeCategorySelectionPrice?: ((t: UiRoomTypeSelectionPriceType) => any) | undefined;
|
|
14
18
|
onChangeCategoryUpgradePrice?: ((t: UiRoomTypeSelectionPriceType) => any) | undefined;
|
|
15
|
-
onChangeRoomPrice?: ((t:
|
|
19
|
+
onChangeRoomPrice?: ((t: {
|
|
20
|
+
price: UiRoomTypeSelectionPriceType;
|
|
21
|
+
roomId: string;
|
|
22
|
+
roomName: string;
|
|
23
|
+
}) => any) | undefined;
|
|
16
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
25
|
export default _default;
|
|
@@ -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
|
|
560
|
+
/** emitted when user clicks on range inputs */
|
|
561
561
|
(e: "selectedRange", T: {
|
|
562
|
-
range?:
|
|
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 */
|
|
@@ -1124,7 +1129,11 @@ export interface UiPricesCalendarEventsInterface {
|
|
|
1124
1129
|
/** click on category upgrade price */
|
|
1125
1130
|
(e: 'changeCategoryUpgradePrice', t: UiRoomTypeSelectionPriceType): void;
|
|
1126
1131
|
/** click on room price */
|
|
1127
|
-
(e: 'changeRoomPrice', t:
|
|
1132
|
+
(e: 'changeRoomPrice', t: {
|
|
1133
|
+
price: UiRoomTypeSelectionPriceType;
|
|
1134
|
+
roomId: string;
|
|
1135
|
+
roomName: string;
|
|
1136
|
+
}): void;
|
|
1128
1137
|
/** click on table action */
|
|
1129
1138
|
(e: 'tableAction', t: any): void;
|
|
1130
1139
|
}
|