@tilde-nlp/ngx-common 6.1.24 → 6.1.26

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,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC1zdWJzY3JpcHRpb24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvY29yZS9hdXRoL2F1dGgtc3Vic2NyaXB0aW9uLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBZGRvbiB9IGZyb20gXCIuL2FkZG9uLm1vZGVsXCI7XHJcbmltcG9ydCB7IFN1YnNjcmlwdGlvblBsYW4gfSBmcm9tIFwiLi9zdWJzY3JpcHRpb24tcGxhbi5lbnVtXCI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEF1dGhTdWJzY3JpcHRpb24ge1xyXG4gIFBsYW5JZDogU3Vic2NyaXB0aW9uUGxhbjtcclxuICAgIElkOiBzdHJpbmc7XHJcbiAgICBJc1RyaWFsOiBib29sZWFuO1xyXG4gICAgRW5kRGF0ZT86IHN0cmluZztcclxuICAgIEFkZG9ucz86IEFkZG9uW107XHJcbiAgICAvLyBkYXRlIHRpbWUgc3RyaW5nXHJcbiAgICB0ZT8gOiBzdHJpbmc7XHJcbn1cclxuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC1zdWJzY3JpcHRpb24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvY29yZS9hdXRoL2F1dGgtc3Vic2NyaXB0aW9uLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBZGRvbiB9IGZyb20gXCIuL2FkZG9uLm1vZGVsXCI7XHJcbmltcG9ydCB7IFN1YnNjcmlwdGlvblBsYW4gfSBmcm9tIFwiLi9zdWJzY3JpcHRpb24tcGxhbi5lbnVtXCI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEF1dGhTdWJzY3JpcHRpb24ge1xyXG4gIFBsYW5JZDogU3Vic2NyaXB0aW9uUGxhbjtcclxuICBJZDogc3RyaW5nO1xyXG4gIElzVHJpYWw6IGJvb2xlYW47XHJcbiAgLyoqIHBsYWNlaG9sZGVyIHByb3BlcnR5LCBETyBOT1QgVVNFIFRISVMgVE8gQ0hFQ0sgSUYgVkFMSUQgU1VCU0NSSVBUSU9OLiBJZiBzdWJzY3JpcHRpb24gZXhpc3RzLCBpdCBpcyB2YWxpZC4gKi9cclxuICBFbmREYXRlPzogc3RyaW5nO1xyXG4gIEFkZG9ucz86IEFkZG9uW107XHJcbiAgLy8gZGF0ZSB0aW1lIHN0cmluZ1xyXG4gIHRlPzogc3RyaW5nO1xyXG4gIExhYmVsPzogc3RyaW5nO1xyXG59XHJcbiJdfQ==
@@ -551,11 +551,11 @@ export class MultiFunctionalTableComponent {
551
551
  i0.ɵɵproperty("ngForOf", ctx.configurableColumns);
552
552
  i0.ɵɵadvance(3);
553
553
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 19, "MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE"), " ");
554
- } }, dependencies: [i3.NgForOf, i3.NgIf, i4.MatTable, i4.MatHeaderCellDef, i4.MatHeaderRowDef, i4.MatColumnDef, i4.MatCellDef, i4.MatRowDef, i4.MatHeaderCell, i4.MatCell, i4.MatHeaderRow, i4.MatRow, i4.MatNoDataRow, i5.MatButton, i5.MatIconButton, i6.MatMenu, i6.MatMenuTrigger, i7.MatCheckbox, i8.NgControlStatus, i8.NgModel, i9.FilterBarComponent, i10.DefaultLayoutDirective, i10.DefaultLayoutGapDirective, i10.DefaultLayoutAlignDirective, i10.DefaultFlexDirective, i11.DefaultClassDirective, i12.MatTooltip, i13.StatusDisplayComponent, i14.MatIcon, i2.TranslatePipe], styles: ["[_nghost-%COMP%] th, [_nghost-%COMP%] tr{white-space:nowrap}[_nghost-%COMP%] td:not(:first-of-type){padding-right:10px!important}[_nghost-%COMP%] tr.mat-mdc-row:hover, [_nghost-%COMP%] tr.mat-mdc-row.highlight{background-color:var(--base-95)}[_nghost-%COMP%] tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}[_nghost-%COMP%] .export-data .mdc-button__label{display:flex;align-items:center}[_nghost-%COMP%] .mat-mdc-cell, [_nghost-%COMP%] .mat-mdc-header-cell, [_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}[_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}[_nghost-%COMP%] .mdc-data-table__cell:nth-child(2), [_nghost-%COMP%] .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}[_nghost-%COMP%] td+.cdk-column-columnSelect{display:none}[_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button, [_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}[_nghost-%COMP%] .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}[_nghost-%COMP%] .filter-active{background-color:var(--neutral-95)}[_nghost-%COMP%] .row-actions{opacity:0}[_nghost-%COMP%] .mobile .row-actions, [_nghost-%COMP%] .highlight .row-actions{opacity:1}table[_ngcontent-%COMP%]{width:100%}.wild-search-wrapper[_ngcontent-%COMP%]{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:30px}.wild-search-wrapper[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{color:var(--base-40)}.wild-search-wrapper[_ngcontent-%COMP%] .wild-search-clear-btn[_ngcontent-%COMP%]{position:absolute;right:3px}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{height:33px!important;width:33px!important}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons-outlined[_ngcontent-%COMP%]{top:5px!important;left:5px!important}.mobile[_ngcontent-%COMP%] .wild-search-wrapper[_ngcontent-%COMP%]{margin:0}.column-selector-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:end}.column-select-menu[_ngcontent-%COMP%]{padding:8px 18px 8px 8px}.column-select-save[_ngcontent-%COMP%]{padding-left:8px;padding-top:8px}.column-select-save[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.row-clickable[_ngcontent-%COMP%]{cursor:pointer}.row-clickable[_ngcontent-%COMP%]:active{background-color:var(--base-70)!important}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}.table-action-button[_ngcontent-%COMP%]{margin-bottom:1rem}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding:0 0 0 10px}.row-select[_ngcontent-%COMP%]{width:0}.table-overflow[_ngcontent-%COMP%]{overflow-x:auto}.table-dragable[_ngcontent-%COMP%]{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable[_ngcontent-%COMP%]:active{cursor:grabbing}.table-sticky-header[_ngcontent-%COMP%]{max-height:70vh}"] }); }
554
+ } }, dependencies: [i3.NgForOf, i3.NgIf, i4.MatTable, i4.MatHeaderCellDef, i4.MatHeaderRowDef, i4.MatColumnDef, i4.MatCellDef, i4.MatRowDef, i4.MatHeaderCell, i4.MatCell, i4.MatHeaderRow, i4.MatRow, i4.MatNoDataRow, i5.MatButton, i5.MatIconButton, i6.MatMenu, i6.MatMenuTrigger, i7.MatCheckbox, i8.NgControlStatus, i8.NgModel, i9.FilterBarComponent, i10.DefaultLayoutDirective, i10.DefaultLayoutGapDirective, i10.DefaultLayoutAlignDirective, i10.DefaultFlexDirective, i11.DefaultClassDirective, i12.MatTooltip, i13.StatusDisplayComponent, i14.MatIcon, i2.TranslatePipe], styles: ["[_nghost-%COMP%] th, [_nghost-%COMP%] tr{white-space:nowrap}[_nghost-%COMP%] td:not(:first-of-type){padding-right:10px!important}[_nghost-%COMP%] tr.mat-mdc-row:hover, [_nghost-%COMP%] tr.mat-mdc-row.highlight{background-color:var(--base-95)}[_nghost-%COMP%] tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}[_nghost-%COMP%] .export-data .mdc-button__label{display:flex;align-items:center}[_nghost-%COMP%] .mat-mdc-cell, [_nghost-%COMP%] .mat-mdc-header-cell, [_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}[_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}[_nghost-%COMP%] .mdc-data-table__cell:nth-child(2), [_nghost-%COMP%] .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}[_nghost-%COMP%] td+.cdk-column-columnSelect{display:none}[_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button, [_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}[_nghost-%COMP%] .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}[_nghost-%COMP%] .filter-active{background-color:var(--neutral-95)}[_nghost-%COMP%] .row-actions{opacity:0}[_nghost-%COMP%] .highlight .row-actions{opacity:1}table[_ngcontent-%COMP%]{width:100%}.wild-search-wrapper[_ngcontent-%COMP%]{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:30px}.wild-search-wrapper[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{color:var(--base-40)}.wild-search-wrapper[_ngcontent-%COMP%] .wild-search-clear-btn[_ngcontent-%COMP%]{position:absolute;right:3px}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{height:33px!important;width:33px!important}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons-outlined[_ngcontent-%COMP%]{top:5px!important;left:5px!important}.mobile[_ngcontent-%COMP%] .wild-search-wrapper[_ngcontent-%COMP%]{margin:0}.column-selector-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:end}.column-select-menu[_ngcontent-%COMP%]{padding:8px 18px 8px 8px}.column-select-save[_ngcontent-%COMP%]{padding-left:8px;padding-top:8px}.column-select-save[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.row-clickable[_ngcontent-%COMP%]{cursor:pointer}.row-clickable[_ngcontent-%COMP%]:active{background-color:var(--base-70)!important}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}.table-action-button[_ngcontent-%COMP%]{margin-bottom:1rem}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding:0 0 0 10px}.row-select[_ngcontent-%COMP%]{width:0}.table-overflow[_ngcontent-%COMP%]{overflow-x:auto}.table-dragable[_ngcontent-%COMP%]{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable[_ngcontent-%COMP%]:active{cursor:grabbing}.table-sticky-header[_ngcontent-%COMP%]{max-height:70vh}"] }); }
555
555
  }
556
556
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableComponent, [{
557
557
  type: Component,
558
- args: [{ selector: 'tld-multi-functional-table', template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"primary-accent-darker\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"primary-accent-darker\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"config.dataSource\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"hoveredRow = row\"\r\n (mouseleave)=\"hoveredRow = null\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(row)\"\r\n [class.highlight]=\"row === hoveredRow || highlightElement(row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"primary-accent-darker\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"primary-accent-darker\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
558
+ args: [{ selector: 'tld-multi-functional-table', template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"primary-accent-darker\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"primary-accent-darker\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"config.dataSource\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"hoveredRow = row\"\r\n (mouseleave)=\"hoveredRow = null\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(row)\"\r\n [class.highlight]=\"row === hoveredRow || highlightElement(row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"primary-accent-darker\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"primary-accent-darker\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .highlight .row-actions{opacity:1}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
559
559
  }], () => [{ type: i1.DOMService }, { type: i2.TranslateService }], { config: [{
560
560
  type: Input
561
561
  }], highlightedElements: [{
@@ -0,0 +1,2 @@
1
+ export * from './subscription.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvc3Vic2NyaXB0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbi5jb21wb25lbnQnO1xyXG4iXX0=
@@ -0,0 +1,8 @@
1
+ export var SUBSCRIPTION_STATE;
2
+ (function (SUBSCRIPTION_STATE) {
3
+ SUBSCRIPTION_STATE[SUBSCRIPTION_STATE["ACTIVE"] = 0] = "ACTIVE";
4
+ SUBSCRIPTION_STATE[SUBSCRIPTION_STATE["TRIAL"] = 1] = "TRIAL";
5
+ SUBSCRIPTION_STATE[SUBSCRIPTION_STATE["ENDED"] = 2] = "ENDED";
6
+ SUBSCRIPTION_STATE[SUBSCRIPTION_STATE["NONE"] = 3] = "NONE";
7
+ })(SUBSCRIPTION_STATE || (SUBSCRIPTION_STATE = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXN0YXRlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvc3Vic2NyaXB0aW9uL21vZGVscy9zdWJzY3JpcHRpb24tc3RhdGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxrQkFLWDtBQUxELFdBQVksa0JBQWtCO0lBQzVCLCtEQUFNLENBQUE7SUFDTiw2REFBSyxDQUFBO0lBQ0wsNkRBQUssQ0FBQTtJQUNMLDJEQUFJLENBQUE7QUFDTixDQUFDLEVBTFcsa0JBQWtCLEtBQWxCLGtCQUFrQixRQUs3QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNVQlNDUklQVElPTl9TVEFURSB7XHJcbiAgQUNUSVZFLFxyXG4gIFRSSUFMLFxyXG4gIEVOREVELFxyXG4gIE5PTkVcclxufVxyXG4iXX0=
@@ -0,0 +1,251 @@
1
+ import { Component, computed, input } from '@angular/core';
2
+ import { TranslatePipe } from '@ngx-translate/core';
3
+ import { CommonModule, DatePipe } from '@angular/common';
4
+ import { SUBSCRIPTION_STATE } from './models/subscription-state.enum';
5
+ import { MatProgressBarModule } from '@angular/material/progress-bar';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/material/progress-bar";
8
+ import * as i2 from "@angular/common";
9
+ const _c0 = a0 => ({ date: a0 });
10
+ const _c1 = (a0, a1) => ({ used: a0, limit: a1 });
11
+ function SubscriptionComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵdeclareLet(0);
13
+ i0.ɵɵelementStart(1, "h3", 0);
14
+ i0.ɵɵtext(2);
15
+ i0.ɵɵpipe(3, "translate");
16
+ i0.ɵɵelementEnd();
17
+ i0.ɵɵelementStart(4, "div", 1)(5, "div", 2)(6, "span", 3);
18
+ i0.ɵɵtext(7);
19
+ i0.ɵɵpipe(8, "translate");
20
+ i0.ɵɵelementEnd()();
21
+ i0.ɵɵelementStart(9, "div", 4)(10, "span");
22
+ i0.ɵɵtext(11);
23
+ i0.ɵɵelementEnd()()();
24
+ i0.ɵɵelementStart(12, "div", 1)(13, "div", 2)(14, "span", 3);
25
+ i0.ɵɵtext(15);
26
+ i0.ɵɵpipe(16, "translate");
27
+ i0.ɵɵelementEnd()();
28
+ i0.ɵɵelementStart(17, "div", 4)(18, "span");
29
+ i0.ɵɵtext(19);
30
+ i0.ɵɵelementEnd()()();
31
+ } if (rf & 2) {
32
+ const userToken_r1 = i0.ɵɵnextContext().token();
33
+ i0.ɵɵadvance(2);
34
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 5, "SUBSCRIPTION.USER_INFO"));
35
+ i0.ɵɵadvance(5);
36
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "SUBSCRIPTION.LABEL_NAME"));
37
+ i0.ɵɵadvance(4);
38
+ i0.ɵɵtextInterpolate(userToken_r1.name);
39
+ i0.ɵɵadvance(4);
40
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 9, "SUBSCRIPTION.LABEL_EMAIL"));
41
+ i0.ɵɵadvance(4);
42
+ i0.ɵɵtextInterpolate(userToken_r1.email);
43
+ } }
44
+ function SubscriptionComponent_Conditional_1_Case_10_Template(rf, ctx) { if (rf & 1) {
45
+ i0.ɵɵelementStart(0, "span");
46
+ i0.ɵɵtext(1);
47
+ i0.ɵɵpipe(2, "date");
48
+ i0.ɵɵpipe(3, "translate");
49
+ i0.ɵɵelementEnd();
50
+ } if (rf & 2) {
51
+ i0.ɵɵnextContext();
52
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
53
+ i0.ɵɵadvance();
54
+ i0.ɵɵtextInterpolate1(" (", i0.ɵɵpipeBind2(3, 4, "SUBSCRIPTION.TRIAL_END_DATE", i0.ɵɵpureFunction1(7, _c0, i0.ɵɵpipeBind2(2, 1, currentSubscription_r2.EndDate, "dd.MM.yyyy."))), ") ");
55
+ } }
56
+ function SubscriptionComponent_Conditional_1_Case_11_Conditional_0_Template(rf, ctx) { if (rf & 1) {
57
+ i0.ɵɵelementStart(0, "span");
58
+ i0.ɵɵtext(1);
59
+ i0.ɵɵpipe(2, "date");
60
+ i0.ɵɵpipe(3, "translate");
61
+ i0.ɵɵelementEnd();
62
+ } if (rf & 2) {
63
+ i0.ɵɵnextContext(2);
64
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵtextInterpolate1(" (", i0.ɵɵpipeBind2(3, 4, "SUBSCRIPTION.END_DATE", i0.ɵɵpureFunction1(7, _c0, i0.ɵɵpipeBind2(2, 1, currentSubscription_r2.EndDate, "dd.MM.yyyy."))), ") ");
67
+ } }
68
+ function SubscriptionComponent_Conditional_1_Case_11_Template(rf, ctx) { if (rf & 1) {
69
+ i0.ɵɵtemplate(0, SubscriptionComponent_Conditional_1_Case_11_Conditional_0_Template, 4, 9, "span");
70
+ } if (rf & 2) {
71
+ i0.ɵɵnextContext();
72
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
73
+ i0.ɵɵconditional(currentSubscription_r2.EndDate ? 0 : -1);
74
+ } }
75
+ function SubscriptionComponent_Conditional_1_Case_12_Template(rf, ctx) { if (rf & 1) {
76
+ i0.ɵɵtext(0);
77
+ i0.ɵɵpipe(1, "date");
78
+ i0.ɵɵpipe(2, "translate");
79
+ } if (rf & 2) {
80
+ i0.ɵɵnextContext();
81
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
82
+ i0.ɵɵtextInterpolate1(" (", i0.ɵɵpipeBind2(2, 4, "SUBSCRIPTION.END_DATE", i0.ɵɵpureFunction1(7, _c0, i0.ɵɵpipeBind2(1, 1, currentSubscription_r2.EndDate, "dd.MM.yyyy."))), ") ");
83
+ } }
84
+ function SubscriptionComponent_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
85
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "span", 3);
86
+ i0.ɵɵtext(3);
87
+ i0.ɵɵpipe(4, "translate");
88
+ i0.ɵɵelementEnd()();
89
+ i0.ɵɵelementStart(5, "div", 4);
90
+ i0.ɵɵelementContainerStart(6);
91
+ i0.ɵɵelementStart(7, "span");
92
+ i0.ɵɵtext(8);
93
+ i0.ɵɵpipe(9, "date");
94
+ i0.ɵɵelementEnd();
95
+ i0.ɵɵelementContainerEnd();
96
+ i0.ɵɵelementEnd()();
97
+ } if (rf & 2) {
98
+ i0.ɵɵnextContext();
99
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
100
+ i0.ɵɵadvance(3);
101
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 2, "SUBSCRIPTION.LABEL_SUBSCRIPTION_END_DATE"));
102
+ i0.ɵɵadvance(5);
103
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 4, currentSubscription_r2.EndDate, "dd.MM.yyyy"));
104
+ } }
105
+ function SubscriptionComponent_Conditional_1_Conditional_14_For_7_Template(rf, ctx) { if (rf & 1) {
106
+ i0.ɵɵelementStart(0, "span");
107
+ i0.ɵɵtext(1);
108
+ i0.ɵɵelementEnd();
109
+ } if (rf & 2) {
110
+ const item_r3 = ctx.$implicit;
111
+ const ɵ$index_95_r4 = ctx.$index;
112
+ i0.ɵɵnextContext(2);
113
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
114
+ i0.ɵɵadvance();
115
+ i0.ɵɵtextInterpolate2("", item_r3.id, "", currentSubscription_r2.Addons.length - 1 > ɵ$index_95_r4 ? "," : "", " ");
116
+ } }
117
+ function SubscriptionComponent_Conditional_1_Conditional_14_Template(rf, ctx) { if (rf & 1) {
118
+ i0.ɵɵelementStart(0, "div", 5)(1, "div", 2)(2, "span", 3);
119
+ i0.ɵɵtext(3);
120
+ i0.ɵɵpipe(4, "translate");
121
+ i0.ɵɵelementEnd()();
122
+ i0.ɵɵelementStart(5, "div", 4);
123
+ i0.ɵɵrepeaterCreate(6, SubscriptionComponent_Conditional_1_Conditional_14_For_7_Template, 2, 2, "span", null, i0.ɵɵrepeaterTrackByIndex);
124
+ i0.ɵɵelementEnd()();
125
+ } if (rf & 2) {
126
+ i0.ɵɵnextContext();
127
+ const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
128
+ i0.ɵɵadvance(3);
129
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, "SUBSCRIPTION.ADDITIONS_PLUGINS"));
130
+ i0.ɵɵadvance(3);
131
+ i0.ɵɵrepeater(currentSubscription_r2.Addons);
132
+ } }
133
+ function SubscriptionComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
134
+ i0.ɵɵdeclareLet(0);
135
+ i0.ɵɵelementStart(1, "div", 5)(2, "div", 2)(3, "span", 3);
136
+ i0.ɵɵtext(4);
137
+ i0.ɵɵpipe(5, "translate");
138
+ i0.ɵɵelementEnd()();
139
+ i0.ɵɵelementStart(6, "div", 4);
140
+ i0.ɵɵelementContainerStart(7);
141
+ i0.ɵɵelementStart(8, "span");
142
+ i0.ɵɵtext(9);
143
+ i0.ɵɵtemplate(10, SubscriptionComponent_Conditional_1_Case_10_Template, 4, 9, "span")(11, SubscriptionComponent_Conditional_1_Case_11_Template, 1, 1)(12, SubscriptionComponent_Conditional_1_Case_12_Template, 3, 9);
144
+ i0.ɵɵelementEnd();
145
+ i0.ɵɵelementContainerEnd();
146
+ i0.ɵɵelementEnd()();
147
+ i0.ɵɵtemplate(13, SubscriptionComponent_Conditional_1_Conditional_13_Template, 10, 7, "div", 1)(14, SubscriptionComponent_Conditional_1_Conditional_14_Template, 8, 3, "div", 5);
148
+ } if (rf & 2) {
149
+ let tmp_4_0;
150
+ const ctx_r4 = i0.ɵɵnextContext();
151
+ const currentSubscription_r6 = i0.ɵɵstoreLet(ctx_r4.subscription());
152
+ i0.ɵɵadvance(4);
153
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, "SUBSCRIPTION.LABEL_SUBSCRIPTION_PLAN_ID"));
154
+ i0.ɵɵadvance(5);
155
+ i0.ɵɵtextInterpolate1(" ", currentSubscription_r6.Label ? currentSubscription_r6.Label : currentSubscription_r6.PlanId, " ");
156
+ i0.ɵɵadvance();
157
+ i0.ɵɵconditional((tmp_4_0 = ctx_r4.subscriptionState()) === ctx_r4.subscriptionStates.TRIAL ? 10 : tmp_4_0 === ctx_r4.subscriptionStates.ACTIVE ? 11 : tmp_4_0 === ctx_r4.subscriptionStates.ENDED ? 12 : -1);
158
+ i0.ɵɵadvance(3);
159
+ i0.ɵɵconditional(currentSubscription_r6.EndDate ? 13 : -1);
160
+ i0.ɵɵadvance();
161
+ i0.ɵɵconditional((currentSubscription_r6.Addons == null ? null : currentSubscription_r6.Addons.length) ? 14 : -1);
162
+ } }
163
+ function SubscriptionComponent_Conditional_2_For_4_Template(rf, ctx) { if (rf & 1) {
164
+ i0.ɵɵelementStart(0, "div", 6);
165
+ i0.ɵɵelement(1, "mat-progress-bar", 7);
166
+ i0.ɵɵelementStart(2, "div", 8)(3, "span", 9);
167
+ i0.ɵɵtext(4);
168
+ i0.ɵɵpipe(5, "uppercase");
169
+ i0.ɵɵpipe(6, "translate");
170
+ i0.ɵɵelementEnd()()();
171
+ } if (rf & 2) {
172
+ const currentQuota_r7 = ctx.$implicit;
173
+ i0.ɵɵadvance();
174
+ i0.ɵɵproperty("value", (currentQuota_r7.quotaLimit - currentQuota_r7.quotaRemaining) / currentQuota_r7.quotaLimit * 100);
175
+ i0.ɵɵadvance(3);
176
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 4, "QUOTA." + i0.ɵɵpipeBind1(5, 2, currentQuota_r7.quotaType.toString()), i0.ɵɵpureFunction2(7, _c1, currentQuota_r7.quotaLimit - currentQuota_r7.quotaRemaining, currentQuota_r7.quotaLimit)), " ");
177
+ } }
178
+ function SubscriptionComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
179
+ i0.ɵɵelementStart(0, "h3", 0);
180
+ i0.ɵɵtext(1);
181
+ i0.ɵɵpipe(2, "translate");
182
+ i0.ɵɵelementEnd();
183
+ i0.ɵɵrepeaterCreate(3, SubscriptionComponent_Conditional_2_For_4_Template, 7, 10, "div", 6, i0.ɵɵrepeaterTrackByIndex);
184
+ } if (rf & 2) {
185
+ const ctx_r4 = i0.ɵɵnextContext();
186
+ i0.ɵɵadvance();
187
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "SUBSCRIPTION.LIMITS"));
188
+ i0.ɵɵadvance(2);
189
+ i0.ɵɵrepeater(ctx_r4.visibleQuotas());
190
+ } }
191
+ export class SubscriptionComponent {
192
+ constructor() {
193
+ /** Parsed user token to get user related info */
194
+ this.token = input.required();
195
+ /** Current user plan that app has selected */
196
+ this.subscription = input.required();
197
+ /** Quota usage */
198
+ this.quota = input.required();
199
+ this.visibleQuotaTypes = input();
200
+ this.visibleQuotas = computed(() => {
201
+ const quota = this.quota();
202
+ if (!quota?.usage) {
203
+ return [];
204
+ }
205
+ if (!this.visibleQuotaTypes()) {
206
+ return quota.usage;
207
+ }
208
+ return quota.usage.filter(quota => this.visibleQuotaTypes()?.includes(quota.quotaType));
209
+ });
210
+ this.subscriptionStates = SUBSCRIPTION_STATE;
211
+ this.subscriptionState = computed(() => {
212
+ const subscription = this.subscription();
213
+ if (!subscription) {
214
+ return SUBSCRIPTION_STATE.NONE;
215
+ }
216
+ if (subscription.IsTrial) {
217
+ return SUBSCRIPTION_STATE.TRIAL;
218
+ }
219
+ const now = new Date();
220
+ if (!subscription.EndDate || new Date(subscription.EndDate) < now) {
221
+ return SUBSCRIPTION_STATE.ACTIVE;
222
+ }
223
+ else {
224
+ return SUBSCRIPTION_STATE.ENDED;
225
+ }
226
+ });
227
+ }
228
+ static { this.ɵfac = function SubscriptionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscriptionComponent)(); }; }
229
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscriptionComponent, selectors: [["lib-subscription"]], inputs: { token: [1, "token"], subscription: [1, "subscription"], quota: [1, "quota"], visibleQuotaTypes: [1, "visibleQuotaTypes"] }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 3, consts: [[1, "subscription-section-title", "text-l-semi-bold"], [1, "subscription-data-row"], [1, "subscription-label"], [1, "label"], [1, "subscription-data"], ["fxLayout", "row", 1, "subscription-data-row"], [1, "subscription-limit-wrapper"], [3, "value"], [1, "subscription-limit"], [1, "text-l-semi-bold"]], template: function SubscriptionComponent_Template(rf, ctx) { if (rf & 1) {
230
+ i0.ɵɵtemplate(0, SubscriptionComponent_Conditional_0_Template, 20, 11)(1, SubscriptionComponent_Conditional_1_Template, 15, 8)(2, SubscriptionComponent_Conditional_2_Template, 5, 3);
231
+ } if (rf & 2) {
232
+ i0.ɵɵconditional(ctx.token() ? 0 : -1);
233
+ i0.ɵɵadvance();
234
+ i0.ɵɵconditional(ctx.subscription() ? 1 : -1);
235
+ i0.ɵɵadvance();
236
+ i0.ɵɵconditional(ctx.visibleQuotas().length ? 2 : -1);
237
+ } }, dependencies: [TranslatePipe,
238
+ DatePipe,
239
+ MatProgressBarModule, i1.MatProgressBar, CommonModule, i2.UpperCasePipe], styles: ["[_nghost-%COMP%]{display:block}mat-card[_ngcontent-%COMP%]{margin:1.5rem}.subscription-container[_ngcontent-%COMP%]:not(.mobile){margin:16px 32px}.subscription-section-title[_ngcontent-%COMP%]{margin:32px 0 18px}.subscription-data-row[_ngcontent-%COMP%]{border-bottom:2px solid var(--base-70);margin-bottom:18px;flex-direction:row;display:flex}.subscription-data[_ngcontent-%COMP%]{color:var(--base-30);word-wrap:break-word;margin-left:.5rem}.subscription-limit-wrapper[_ngcontent-%COMP%], .subscription-limit[_ngcontent-%COMP%]{margin-top:16px}.subscription-actions-wrapper[_ngcontent-%COMP%]{padding:32px 0 18px}.subscription-manage-link[_ngcontent-%COMP%]{text-decoration:none}.subscription-container[_ngcontent-%COMP%]:not(.mobile, .empty)[_ngcontent-%COMP%]{width:75%}.subscription-label[_ngcontent-%COMP%]:not(.mobile, .empty)[_ngcontent-%COMP%]{width:35%}.subscription-data[_ngcontent-%COMP%]:not(.mobile, .empty)[_ngcontent-%COMP%]{width:65%}.untranslated-files-disclaimer[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:10px;color:var(--base-40)}.no-subscription-message[_ngcontent-%COMP%]{margin-top:32px;color:var(--base-40)}.contact-sales-btn[_ngcontent-%COMP%]{text-align:center}.contact-sales-btn[_ngcontent-%COMP%]:hover{text-decoration:none}"] }); }
240
+ }
241
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionComponent, [{
242
+ type: Component,
243
+ args: [{ selector: 'lib-subscription', standalone: true, imports: [
244
+ TranslatePipe,
245
+ DatePipe,
246
+ MatProgressBarModule,
247
+ CommonModule
248
+ ], template: "@if(token()){\r\n <!-- narrow type to non null property -->\r\n @let userToken = token()!;\r\n\r\n <h3 class=\"subscription-section-title text-l-semi-bold\">{{ \"SUBSCRIPTION.USER_INFO\" | translate }}</h3>\r\n\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_NAME\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <span>{{ userToken.name }}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_EMAIL\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <span>{{ userToken.email }}</span>\r\n </div>\r\n </div>\r\n}\r\n\r\n@if(subscription()){\r\n @let currentSubscription = subscription()!;\r\n\r\n <div fxLayout=\"row\" class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_SUBSCRIPTION_PLAN_ID\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <ng-container>\r\n <span>\r\n {{ currentSubscription.Label ? currentSubscription.Label : currentSubscription.PlanId }}\r\n\r\n @switch (subscriptionState()) {\r\n @case(subscriptionStates.TRIAL){\r\n <span> ({{ \"SUBSCRIPTION.TRIAL_END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }}) </span>\r\n }\r\n @case (subscriptionStates.ACTIVE) {\r\n @if(currentSubscription.EndDate){\r\n <span> ({{ \"SUBSCRIPTION.END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }}) </span>\r\n }\r\n }\r\n @case (subscriptionStates.ENDED) {\r\n ({{ \"SUBSCRIPTION.END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }})\r\n }\r\n }\r\n </span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n @if(currentSubscription.EndDate){\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_SUBSCRIPTION_END_DATE\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <ng-container>\r\n <span>{{currentSubscription.EndDate | date: \"dd.MM.yyyy\"}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n }\r\n\r\n @if(currentSubscription.Addons?.length){\r\n <div fxLayout=\"row\" class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.ADDITIONS_PLUGINS\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n @for (item of currentSubscription.Addons; track $index; let i = $index) {\r\n <span>{{ item.id }}{{ currentSubscription.Addons!.length - 1 > i ? \",\" : \"\" }} </span>\r\n }\r\n </div>\r\n </div>\r\n }\r\n}\r\n\r\n@if(visibleQuotas().length){\r\n <h3 class=\"subscription-section-title text-l-semi-bold\">{{ \"SUBSCRIPTION.LIMITS\" | translate }}</h3>\r\n\r\n @for (currentQuota of visibleQuotas(); track $index) {\r\n <div class=\"subscription-limit-wrapper\">\r\n <mat-progress-bar [value]=\"((currentQuota.quotaLimit - currentQuota.quotaRemaining) / currentQuota.quotaLimit) * 100\"></mat-progress-bar>\r\n <div class=\"subscription-limit\">\r\n <span class=\"text-l-semi-bold\">\r\n {{ \"QUOTA.\" + (currentQuota.quotaType.toString() | uppercase) | translate: { used: currentQuota.quotaLimit - currentQuota.quotaRemaining, limit: currentQuota.quotaLimit } }}\r\n </span>\r\n </div>\r\n </div>\r\n }\r\n}\r\n", styles: [":host{display:block}mat-card{margin:1.5rem}.subscription-container:not(.mobile){margin:16px 32px}.subscription-section-title{margin:32px 0 18px}.subscription-data-row{border-bottom:2px solid var(--base-70);margin-bottom:18px;flex-direction:row;display:flex}.subscription-data{color:var(--base-30);word-wrap:break-word;margin-left:.5rem}.subscription-limit-wrapper,.subscription-limit{margin-top:16px}.subscription-actions-wrapper{padding:32px 0 18px}.subscription-manage-link{text-decoration:none}.subscription-container:not(.mobile,.empty){width:75%}.subscription-label:not(.mobile,.empty){width:35%}.subscription-data:not(.mobile,.empty){width:65%}.untranslated-files-disclaimer{margin-top:16px;margin-bottom:10px;color:var(--base-40)}.no-subscription-message{margin-top:32px;color:var(--base-40)}.contact-sales-btn{text-align:center}.contact-sales-btn:hover{text-decoration:none}\n"] }]
249
+ }], null, null); })();
250
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscriptionComponent, { className: "SubscriptionComponent", filePath: "lib\\subscription\\subscription.component.ts", lineNumber: 22 }); })();
251
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi9zdWJzY3JpcHRpb24vc3Vic2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi9zdWJzY3JpcHRpb24vc3Vic2NyaXB0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkzRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztB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dC13cmFwcGVyXCI+XHJcbiAgICAgIDxtYXQtcHJvZ3Jlc3MtYmFyIFt2YWx1ZV09XCIoKGN1cnJlbnRRdW90YS5xdW90YUxpbWl0IC0gY3VycmVudFF1b3RhLnF1b3RhUmVtYWluaW5nKSAvIGN1cnJlbnRRdW90YS5xdW90YUxpbWl0KSAqIDEwMFwiPjwvbWF0LXByb2dyZXNzLWJhcj5cclxuICAgICAgPGRpdiBjbGFzcz1cInN1YnNjcmlwdGlvbi1saW1pdFwiPlxyXG4gICAgICAgIDxzcGFuIGNsYXNzPVwidGV4dC1sLXNlbWktYm9sZFwiPlxyXG4gICAgICAgICAge3sgXCJRVU9UQS5cIiArIChjdXJyZW50UXVvdGEucXVvdGFUeXBlLnRvU3RyaW5nKCkgfCB1cHBlcmNhc2UpIHwgdHJhbnNsYXRlOiB7IHVzZWQ6IGN1cnJlbnRRdW90YS5xdW90YUxpbWl0IC0gY3VycmVudFF1b3RhLnF1b3RhUmVtYWluaW5nLCBsaW1pdDogY3VycmVudFF1b3RhLnF1b3RhTGltaXQgfSB9fVxyXG4gICAgICAgIDwvc3Bhbj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICB9XHJcbn1cclxuIl19
@@ -27,4 +27,5 @@ export * from './lib/sidebar';
27
27
  export * from './lib/toast';
28
28
  export * from './lib/core';
29
29
  export * from './lib/global-message';
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjL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ICogZnJvbSAnLi9saWIvbm90aWZpY2F0aW9uLW1lc3NhZ2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90bGQtbG9hZGVyJ1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9oZWxwZXJzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcGFueS1wcm9kdWN0JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9vdGVyJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZmlsZS11cGxvYWQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9maWx0ZXItYmFyJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbXVsdGktZnVuY3Rpb25hbC10YWJsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbmZpcm1hdGlvbi1tb2RhbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Rlcm1pbm9sb2d5JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvb3Blbi1jbG9zZS1idXR0b24nO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25zdGFudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9leHRlbnNpb24tZGlhbG9nJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdHVzLWRpc3BsYXknO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90ZXh0LXRvLXNwZWVjaCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xsbSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NpZGViYXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90b2FzdCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9nbG9iYWwtbWVzc2FnZSc7XHJcbiJdfQ==
30
+ export * from './lib/subscription';
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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