@hotelinking/ui 13.45.16 → 14.45.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.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
  }
@@ -1420,7 +1424,7 @@ export declare interface UiSidebarV2Interface {
1420
1424
  /** left sidebar with product logos */
1421
1425
  productsSidebar: {
1422
1426
  name: string;
1423
- icon: FunctionalComponent;
1427
+ icon: FunctionalComponent | string;
1424
1428
  active?: boolean;
1425
1429
  }[];
1426
1430
  }
@@ -1673,6 +1677,8 @@ export declare interface UiTableInterface {
1673
1677
  }[];
1674
1678
  /** rows */
1675
1679
  items: TableItemType[] | [];
1680
+ /** control column visibility by array index */
1681
+ hiddenColumns: number[];
1676
1682
  /** when row is checked, available actions shows */
1677
1683
  actions: {
1678
1684
  /** action string literal */