@trudb/tru-common-lib 0.1.293 → 0.1.295

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.
@@ -4,6 +4,7 @@ import { TruModelTypeLookup } from '../../services/tru-model-type-lookup';
4
4
  import { ITruCardColumnConfig } from './classes/tru-card-column-config';
5
5
  import { TruSearchViewEventHandler } from '../../base-views/search/services/tru-search-view-event-handler';
6
6
  import { TruSearchResultViewManager } from '../../services/tru-search-result-view-manager';
7
+ import { TruCard } from './tru-card';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class TruCardColumn {
9
10
  private dataContext;
@@ -39,7 +40,7 @@ export declare class TruCardColumn {
39
40
  lockedColumns: any;
40
41
  columnFilterRefs: never[];
41
42
  cardFilterStr: string | null;
42
- selectedCards: Array<Card>;
43
+ selectedCards: Array<TruCard>;
43
44
  color: string | null;
44
45
  unassignedColor: string | null;
45
46
  key: string;
@@ -61,26 +62,14 @@ export declare class TruCardColumn {
61
62
  private updateItemsSource;
62
63
  private subscribeTo;
63
64
  private onSearch;
64
- updateSelection: (card: Card) => void;
65
- dragStart: (e: any, card: Card) => boolean;
66
- dragOver: (e: any, card: Card) => void;
65
+ updateSelection: (card: TruCard) => void;
66
+ dragStart: (e: any, card: TruCard) => boolean;
67
+ dragOver: (e: any, card: TruCard) => void;
67
68
  dragEnd: (e: any) => void;
68
- drop: (e: any, card: Card) => boolean;
69
+ drop: (e: any, card: TruCard) => boolean;
69
70
  ngOnInit(): void;
70
71
  ngAfterViewInit(): void;
71
- removeSelection: (card: Card) => void;
72
+ removeSelection: (card: TruCard) => void;
72
73
  static ɵfac: i0.ɵɵFactoryDeclaration<TruCardColumn, never>;
73
74
  static ɵcmp: i0.ɵɵComponentDeclaration<TruCardColumn, "tru-card-column", never, { "config": { "alias": "config"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
74
75
  }
75
- export declare class Card {
76
- private cardColumn;
77
- private cardContainerElement;
78
- private data;
79
- column: any;
80
- cardElement: HTMLDivElement;
81
- selected: boolean;
82
- constructor(cardColumn: TruCardColumn, column: any, data: any, dropped: boolean);
83
- selectAll: (selectAll: any) => void;
84
- updateData: () => void;
85
- goToDetail: (ref: number) => void;
86
- }
@@ -0,0 +1,13 @@
1
+ import { TruCardColumn } from "./tru-card-column";
2
+ export declare class TruCard {
3
+ private cardColumn;
4
+ private cardContainerElement;
5
+ data: any;
6
+ column: any;
7
+ cardElement: HTMLDivElement;
8
+ selected: boolean;
9
+ constructor(cardColumn: TruCardColumn, column: any, data: any, dropped: boolean);
10
+ selectAll: (selectAll: any) => void;
11
+ updateData: () => void;
12
+ goToDetail: (ref: number) => void;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.1.293",
3
+ "version": "0.1.295",
4
4
  "type": "module",
5
5
  "module": "fesm2022/trudb-tru-common-lib.mjs",
6
6
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -47,6 +47,7 @@ export * from './lib/components/card-column/classes/tru-card-column-config';
47
47
  export * from './lib/components/card-column/classes/tru-card-column-data';
48
48
  export * from './lib/components/card-column/classes/tru-card-column-search-results-config-base';
49
49
  export * from './lib/components/card-column/tru-card-column';
50
+ export * from './lib/components/card-column/tru-card';
50
51
  export * from './lib/components/card-column/tru-card-column-module';
51
52
  export * from './lib/components/confirm-dialog/tru-confirm-dialog';
52
53
  export * from './lib/components/confirm-dialog/tru-confirm-dialog-module';