@hotelinking/ui 13.45.17 → 14.46.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/ui.cjs +1 -1
- package/dist/ui.d.ts +33 -2
- package/dist/ui.es.js +1457 -1312
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -487,7 +487,7 @@ export declare type UiCheckboxType = {
|
|
|
487
487
|
/** Is checked or not */
|
|
488
488
|
checked: boolean;
|
|
489
489
|
/** Internal value of checkbox */
|
|
490
|
-
value: string;
|
|
490
|
+
value: string | number;
|
|
491
491
|
};
|
|
492
492
|
|
|
493
493
|
export declare const uiCircleChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -953,7 +953,7 @@ export declare interface UiModalInterface {
|
|
|
953
953
|
/** modal title */
|
|
954
954
|
title: string;
|
|
955
955
|
/** actions array */
|
|
956
|
-
actions
|
|
956
|
+
actions?: {
|
|
957
957
|
/** value of the action */
|
|
958
958
|
value: string;
|
|
959
959
|
/** action literal */
|
|
@@ -1048,6 +1048,8 @@ loading: boolean;
|
|
|
1048
1048
|
next?(_: {}): any;
|
|
1049
1049
|
showing?(_: {}): any;
|
|
1050
1050
|
of?(_: {}): any;
|
|
1051
|
+
pages?(_: {}): any;
|
|
1052
|
+
fromTotal?(_: {}): any;
|
|
1051
1053
|
}>;
|
|
1052
1054
|
|
|
1053
1055
|
export declare interface UiPaginationEventsInterface {
|
|
@@ -1060,6 +1062,8 @@ export declare interface UiPaginationInterface {
|
|
|
1060
1062
|
current: number;
|
|
1061
1063
|
/** total number of pages */
|
|
1062
1064
|
total: number;
|
|
1065
|
+
/** total items in table (all items, not just the page) */
|
|
1066
|
+
totalItems: number;
|
|
1063
1067
|
/** show skeleton */
|
|
1064
1068
|
loading?: boolean;
|
|
1065
1069
|
}
|
|
@@ -1482,6 +1486,31 @@ export declare interface UiSmartFilterInterface {
|
|
|
1482
1486
|
loading?: boolean;
|
|
1483
1487
|
}
|
|
1484
1488
|
|
|
1489
|
+
export declare const uiSmartFilterMultiple: DefineComponent<UiSmartFilterInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1490
|
+
rightAddOnClicked: () => any;
|
|
1491
|
+
smartFilterSelected: (value: string) => any;
|
|
1492
|
+
smartInputChanged: (value: InputType) => any;
|
|
1493
|
+
smartSelectChanged: (value: SelectItemType_2[]) => any;
|
|
1494
|
+
smartOptionSelected: (value: UiDropdownItemType) => any;
|
|
1495
|
+
smartFilterMultipleSent: (filters: {
|
|
1496
|
+
name: string;
|
|
1497
|
+
value: any;
|
|
1498
|
+
}[]) => any;
|
|
1499
|
+
}, string, PublicProps, Readonly<UiSmartFilterInterface> & Readonly<{
|
|
1500
|
+
onRightAddOnClicked?: (() => any) | undefined;
|
|
1501
|
+
onSmartFilterSelected?: ((value: string) => any) | undefined;
|
|
1502
|
+
onSmartInputChanged?: ((value: InputType) => any) | undefined;
|
|
1503
|
+
onSmartSelectChanged?: ((value: SelectItemType_2[]) => any) | undefined;
|
|
1504
|
+
onSmartOptionSelected?: ((value: UiDropdownItemType) => any) | undefined;
|
|
1505
|
+
onSmartFilterMultipleSent?: ((filters: {
|
|
1506
|
+
name: string;
|
|
1507
|
+
value: any;
|
|
1508
|
+
}[]) => any) | undefined;
|
|
1509
|
+
}>, {
|
|
1510
|
+
loading: boolean;
|
|
1511
|
+
showFilterButton: boolean;
|
|
1512
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1513
|
+
|
|
1485
1514
|
export declare interface UiSmartFilterMultipleEventInterface {
|
|
1486
1515
|
/** send filters on click */
|
|
1487
1516
|
(e: "smartFilterMultipleSent", T: {
|
|
@@ -1673,6 +1702,8 @@ export declare interface UiTableInterface {
|
|
|
1673
1702
|
}[];
|
|
1674
1703
|
/** rows */
|
|
1675
1704
|
items: TableItemType[] | [];
|
|
1705
|
+
/** control column visibility by array index */
|
|
1706
|
+
hiddenColumns: number[];
|
|
1676
1707
|
/** when row is checked, available actions shows */
|
|
1677
1708
|
actions: {
|
|
1678
1709
|
/** action string literal */
|