@datarailsshared/datarailsshared 1.6.93 → 1.6.97

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.
@@ -19,6 +19,7 @@ export declare class DialogModalWrapperComponent implements OnInit, OnDestroy {
19
19
  ngOnInit(): void;
20
20
  onAccept(): void;
21
21
  onDecline(): void;
22
+ onCancel(): void;
22
23
  footerAction(): void;
23
24
  closeDialog(): void;
24
25
  ngOnDestroy(): void;
@@ -94,6 +94,7 @@ export interface ModalFormField {
94
94
  items?: any[];
95
95
  items$?: Observable<any[]> | Observable<any>;
96
96
  default?: any;
97
+ addTag?: boolean;
97
98
  placeholder?: string;
98
99
  bindLabel?: string;
99
100
  bindValue?: string;
@@ -109,6 +110,7 @@ export type DialogFooterButton = {
109
110
  loadingLabel?: string;
110
111
  functions?: any;
111
112
  isDisabled?: boolean;
113
+ actionFn?: void;
112
114
  loading?: any;
113
115
  theme?: ButtonType;
114
116
  };
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type TOverflowType = 'horizontal' | 'vertical' | 'all';
4
+ export declare class ElementOverflowDirective implements OnInit {
5
+ drElementOverflow: boolean | string;
6
+ drElementOverflowChange: EventEmitter<boolean>;
7
+ drElementOverflowType: TOverflowType;
8
+ private readonly destroy$;
9
+ private readonly el;
10
+ get isOverflow(): boolean;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementOverflowDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElementOverflowDirective, "[drElementOverflow]", ["textOverflow"], { "drElementOverflow": { "alias": "drElementOverflow"; "required": false; }; "drElementOverflowType": { "alias": "drElementOverflowType"; "required": false; }; }, { "drElementOverflowChange": "drElementOverflowChange"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import { TOverflowType } from './element-overflow.directive';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TextOverflowComponent {
4
+ overflowType: TOverflowType;
5
+ showTooltip: boolean;
6
+ isOverflow: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextOverflowComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextOverflowComponent, "dr-text-overflow", never, { "overflowType": { "alias": "overflowType"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.93",
3
+ "version": "1.6.97",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -156,3 +156,5 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
156
156
  export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
157
157
  export { DrProgressBarComponent } from './lib/dr-progress-bar/dr-progress-bar.component';
158
158
  export * from './lib/drawer/public-api';
159
+ export * from './lib/text-overflow/element-overflow.directive';
160
+ export * from './lib/text-overflow/text-overflow.component';