inviton-powerduck 0.0.104 → 0.0.105

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,6 +1,6 @@
1
1
  import { toNative, Prop } from "vue-facing-decorator";
2
2
  import TsxComponent, { Component } from "../../app/vuetsx";
3
- import DataTable, { TableColumn, RowIndexMode, DataTableFilterMode, DataTableOnSortedArgs } from "./datatable";
3
+ import DataTable, { TableColumn, RowIndexMode, DataTableFilterMode, DataTableOnSortedArgs, DataTableMobileBehavior } from "./datatable";
4
4
  import { IWebApiClient, WebClientApiMethod } from "../../common/IWebClient";
5
5
 
6
6
  interface DataTableStaticArgs {
@@ -19,6 +19,7 @@ interface DataTableStaticArgs {
19
19
  preserveFilter?: boolean
20
20
  checkboxButtonsVisible?: boolean;
21
21
  sortableRows?: boolean;
22
+ mobileBehavior?: DataTableMobileBehavior;
22
23
  rowCheckstateChanged?: (row: any, checked: boolean, selectedRows: any[]) => void;
23
24
  sortComplete?: (args: DataTableOnSortedArgs) => void;
24
25
  }
@@ -41,6 +42,7 @@ export class DataTableStaticComponent extends TsxComponent<DataTableStaticArgs>
41
42
  @Prop() checkboxesTitle!: string;
42
43
  @Prop() checkboxButtonsVisible!: boolean;
43
44
  @Prop() sortableRows!: boolean;
45
+ @Prop() mobileBehavior!: DataTableMobileBehavior;
44
46
  @Prop() rowCheckstateChanged?: (row: any, checked: boolean, selectedRows: any[]) => void;
45
47
  @Prop() sortComplete?: (args: DataTableOnSortedArgs) => void;
46
48
 
@@ -119,6 +121,7 @@ export class DataTableStaticComponent extends TsxComponent<DataTableStaticArgs>
119
121
  sortComplete={this.sortComplete}
120
122
  preserveOrderBy={this.preserveOrderBy}
121
123
  fullSizeHasButtonBelow={this.fullSizeTable}
124
+ mobileBehavior={this.mobileBehavior}
122
125
  />
123
126
  );
124
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
- "version": "0.0.104",
3
+ "version": "0.0.105",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": " vite build && vue-tsc --declaration --emitDeclarationOnly",