@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.
- package/datarailsshared-datarailsshared-1.6.97.tgz +0 -0
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +12 -6
- package/esm2022/lib/dr-dialog/interfaces/dialog-data.mjs +1 -1
- package/esm2022/lib/text-overflow/element-overflow.directive.mjs +48 -0
- package/esm2022/lib/text-overflow/text-overflow.component.mjs +34 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +178 -99
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.d.ts +1 -0
- package/lib/dr-dialog/interfaces/dialog-data.d.ts +2 -0
- package/lib/text-overflow/element-overflow.directive.d.ts +15 -0
- package/lib/text-overflow/text-overflow.component.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.6.93.tgz +0 -0
|
@@ -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
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';
|
|
Binary file
|