@leanix/components 0.4.329 → 0.4.330
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/esm2022/index.mjs +1 -2
- package/esm2022/lib/core-ui/core-ui.module.mjs +1 -7
- package/fesm2022/leanix-components.mjs +2 -58
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/lib/core-ui/core-ui.module.d.ts +2 -3
- package/package.json +1 -1
- package/esm2022/lib/core-ui/components/file-download-button/file-download-button.component.mjs +0 -57
- package/lib/core-ui/components/file-download-button/file-download-button.component.d.ts +0 -20
package/index.d.ts
CHANGED
@@ -29,7 +29,6 @@ export * from './lib/core-ui/components/content-panel/content-panel.component';
|
|
29
29
|
export * from './lib/core-ui/components/counter/counter.component';
|
30
30
|
export * from './lib/core-ui/components/ellipsis/ellipsis.component';
|
31
31
|
export * from './lib/core-ui/components/empty-state/empty-state.component';
|
32
|
-
export * from './lib/core-ui/components/file-download-button/file-download-button.component';
|
33
32
|
export * from './lib/core-ui/components/icon-scale/icon-scale.component';
|
34
33
|
export * from './lib/core-ui/components/integration-link-card/integration-link-card-group.component';
|
35
34
|
export * from './lib/core-ui/components/integration-link-card/integration-link-card.component';
|
@@ -38,10 +38,9 @@ import * as i36 from "./pipes/translation-between.pipe";
|
|
38
38
|
import * as i37 from "./pipes/sort.pipe";
|
39
39
|
import * as i38 from "./pipes/contrast-color.pipe";
|
40
40
|
import * as i39 from "./pipes/unescape-curly-braces.pipe";
|
41
|
-
import * as i40 from "./components/
|
42
|
-
import * as i41 from "./components/empty-state/empty-state.component";
|
41
|
+
import * as i40 from "./components/empty-state/empty-state.component";
|
43
42
|
export declare class LxCoreUiModule {
|
44
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<LxCoreUiModule, never>;
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LxCoreUiModule, never, [typeof i1.TranslateModule, typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BadgeComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i9.ButtonGroupComponent, typeof i10.BrPipe, typeof i11.CardComponent, typeof i12.CollapsibleComponent, typeof i13.ColoredLabelComponent, typeof i14.CustomDatePipe, typeof i15.EllipsisComponent, typeof i16.HighlightRangePipe, typeof i17.HighlightTermPipe, typeof i18.IconScaleComponent, typeof i19.IntegrationLinkCardComponent, typeof i20.IntegrationLinkCardGroupComponent, typeof i21.LxLinkifyPipe, typeof i22.LxUnlinkifyPipe, typeof i23.LxTimeAgo, typeof i24.LxTranslatePipe, typeof i25.MarkdownPipe, typeof i26.NbspPipe, typeof i27.LxIsUuidPipe, typeof i28.StepperComponent, typeof i29.SpinnerComponent, typeof i30.TableComponent, typeof i31.TableHeaderComponent, typeof i32.TinySpinnerComponent, typeof i33.TooltipDirective, typeof i34.TranslationAfterPipe, typeof i35.TranslationBeforePipe, typeof i36.TranslationBetweenPipe, typeof i37.SortPipe, typeof i38.ContrastColorPipe, typeof i39.UnescapeCurlyBracesPipe, typeof i40.
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LxCoreUiModule, never, [typeof i1.TranslateModule, typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i5.CounterComponent, typeof i6.BadgeComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i9.ButtonGroupComponent, typeof i10.BrPipe, typeof i11.CardComponent, typeof i12.CollapsibleComponent, typeof i13.ColoredLabelComponent, typeof i14.CustomDatePipe, typeof i15.EllipsisComponent, typeof i16.HighlightRangePipe, typeof i17.HighlightTermPipe, typeof i18.IconScaleComponent, typeof i19.IntegrationLinkCardComponent, typeof i20.IntegrationLinkCardGroupComponent, typeof i21.LxLinkifyPipe, typeof i22.LxUnlinkifyPipe, typeof i23.LxTimeAgo, typeof i24.LxTranslatePipe, typeof i25.MarkdownPipe, typeof i26.NbspPipe, typeof i27.LxIsUuidPipe, typeof i28.StepperComponent, typeof i29.SpinnerComponent, typeof i30.TableComponent, typeof i31.TableHeaderComponent, typeof i32.TinySpinnerComponent, typeof i33.TooltipDirective, typeof i34.TranslationAfterPipe, typeof i35.TranslationBeforePipe, typeof i36.TranslationBetweenPipe, typeof i37.SortPipe, typeof i38.ContrastColorPipe, typeof i39.UnescapeCurlyBracesPipe, typeof i40.EmptyStateComponent], [typeof i2.AfterViewInitDirective, typeof i3.AutocloseDirective, typeof i4.AutofocusDirective, typeof i6.BadgeComponent, typeof i5.CounterComponent, typeof i7.BannerComponent, typeof i8.ButtonComponent, typeof i10.BrPipe, typeof i9.ButtonGroupComponent, typeof i11.CardComponent, typeof i13.ColoredLabelComponent, typeof i14.CustomDatePipe, typeof i15.EllipsisComponent, typeof i16.HighlightRangePipe, typeof i17.HighlightTermPipe, typeof i18.IconScaleComponent, typeof i19.IntegrationLinkCardComponent, typeof i20.IntegrationLinkCardGroupComponent, typeof i21.LxLinkifyPipe, typeof i22.LxUnlinkifyPipe, typeof i23.LxTimeAgo, typeof i24.LxTranslatePipe, typeof i25.MarkdownPipe, typeof i26.NbspPipe, typeof i27.LxIsUuidPipe, typeof i28.StepperComponent, typeof i29.SpinnerComponent, typeof i30.TableComponent, typeof i31.TableHeaderComponent, typeof i32.TinySpinnerComponent, typeof i33.TooltipDirective, typeof i34.TranslationAfterPipe, typeof i35.TranslationBeforePipe, typeof i36.TranslationBetweenPipe, typeof i12.CollapsibleComponent, typeof i37.SortPipe, typeof i38.ContrastColorPipe, typeof i39.UnescapeCurlyBracesPipe, typeof i40.EmptyStateComponent]>;
|
46
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<LxCoreUiModule>;
|
47
46
|
}
|
package/package.json
CHANGED
package/esm2022/lib/core-ui/components/file-download-button/file-download-button.component.mjs
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
import { NgIf } from '@angular/common';
|
2
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
3
|
-
import { TranslateModule } from '@ngx-translate/core';
|
4
|
-
import { ButtonComponent } from '../button/button.component';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@ngx-translate/core";
|
7
|
-
export class FileDownloadButtonComponent {
|
8
|
-
constructor() {
|
9
|
-
this.downloadFinish = new EventEmitter();
|
10
|
-
this.downloadStarted = new EventEmitter();
|
11
|
-
this.NAME = 'FileDownloadButtonComponent';
|
12
|
-
}
|
13
|
-
ngOnInit() {
|
14
|
-
this.downloadLink = this.initialDownloadLink;
|
15
|
-
}
|
16
|
-
download(event) {
|
17
|
-
this.downloadStarted.emit();
|
18
|
-
this.openUrlInNewWindow(this.downloadLink);
|
19
|
-
this.downloaded = true;
|
20
|
-
event.preventDefault();
|
21
|
-
this.downloadFinish.emit(this.downloadLink);
|
22
|
-
}
|
23
|
-
requestDownload() {
|
24
|
-
if (this.downloadRequest) {
|
25
|
-
this.downloadRequest(this.refreshKeyUrl).subscribe((downloadUrl) => {
|
26
|
-
this.downloadLink = downloadUrl;
|
27
|
-
});
|
28
|
-
}
|
29
|
-
}
|
30
|
-
openUrlInNewWindow(url, target = '_blank', features) {
|
31
|
-
const newTab = window.open(url, target, features);
|
32
|
-
// In case a popup blocker has blocked the newly opened tab/window, "newTab" will be null
|
33
|
-
if (newTab) {
|
34
|
-
newTab.opener = null;
|
35
|
-
}
|
36
|
-
return newTab;
|
37
|
-
}
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: FileDownloadButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.8", type: FileDownloadButtonComponent, isStandalone: true, selector: "lx-file-download-button", inputs: { downloadRequest: "downloadRequest", initialDownloadLink: "initialDownloadLink", refreshKeyUrl: "refreshKeyUrl", downloadLabel: "downloadLabel" }, outputs: { downloadFinish: "downloadFinish", downloadStarted: "downloadStarted" }, ngImport: i0, template: "<a class=\"btn btn-primary\" *ngIf=\"!downloaded && !!downloadLink\" [href]=\"downloadLink\" (click)=\"download($event)\">{{\n downloadLabel ? downloadLabel : ('buttons.download' | translate)\n}}</a>\n<button lx-button color=\"light\" size=\"large\" *ngIf=\"(downloaded && refreshKeyUrl) || !downloadLink\" (click)=\"requestDownload()\">\n {{ NAME + '.newDownload' | translate }}\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[lx-button]", inputs: ["size", "color", "mode", "pressed", "selected", "square", "circle", "disabled", "showSpinner"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] }); }
|
40
|
-
}
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: FileDownloadButtonComponent, decorators: [{
|
42
|
-
type: Component,
|
43
|
-
args: [{ selector: 'lx-file-download-button', standalone: true, imports: [NgIf, ButtonComponent, TranslateModule], template: "<a class=\"btn btn-primary\" *ngIf=\"!downloaded && !!downloadLink\" [href]=\"downloadLink\" (click)=\"download($event)\">{{\n downloadLabel ? downloadLabel : ('buttons.download' | translate)\n}}</a>\n<button lx-button color=\"light\" size=\"large\" *ngIf=\"(downloaded && refreshKeyUrl) || !downloadLink\" (click)=\"requestDownload()\">\n {{ NAME + '.newDownload' | translate }}\n</button>\n" }]
|
44
|
-
}], propDecorators: { downloadRequest: [{
|
45
|
-
type: Input
|
46
|
-
}], initialDownloadLink: [{
|
47
|
-
type: Input
|
48
|
-
}], refreshKeyUrl: [{
|
49
|
-
type: Input
|
50
|
-
}], downloadLabel: [{
|
51
|
-
type: Input
|
52
|
-
}], downloadFinish: [{
|
53
|
-
type: Output
|
54
|
-
}], downloadStarted: [{
|
55
|
-
type: Output
|
56
|
-
}] } });
|
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 -1,20 +0,0 @@
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class FileDownloadButtonComponent implements OnInit {
|
5
|
-
downloadRequest: (any: any) => Observable<any>;
|
6
|
-
initialDownloadLink: string;
|
7
|
-
refreshKeyUrl: string;
|
8
|
-
downloadLabel: string;
|
9
|
-
downloadFinish: EventEmitter<string>;
|
10
|
-
downloadStarted: EventEmitter<void>;
|
11
|
-
readonly NAME = "FileDownloadButtonComponent";
|
12
|
-
downloadLink: string;
|
13
|
-
downloaded: boolean;
|
14
|
-
ngOnInit(): void;
|
15
|
-
download(event: MouseEvent): void;
|
16
|
-
requestDownload(): void;
|
17
|
-
private openUrlInNewWindow;
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileDownloadButtonComponent, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileDownloadButtonComponent, "lx-file-download-button", never, { "downloadRequest": { "alias": "downloadRequest"; "required": false; }; "initialDownloadLink": { "alias": "initialDownloadLink"; "required": false; }; "refreshKeyUrl": { "alias": "refreshKeyUrl"; "required": false; }; "downloadLabel": { "alias": "downloadLabel"; "required": false; }; }, { "downloadFinish": "downloadFinish"; "downloadStarted": "downloadStarted"; }, never, never, true, never>;
|
20
|
-
}
|