e5core-angular-ui
Version:
e5 Anywhere Angular UI
17 lines • 3.81 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component } from '@angular/core';
import { E5coreUiGenerateDocumentBaseComponent } from './e5core-ui-generate-document-base';
export class E5coreUiGenerateDocumentMaterialComponent extends E5coreUiGenerateDocumentBaseComponent {
}
E5coreUiGenerateDocumentMaterialComponent.decorators = [
{ type: Component, args: [{
selector: 'e5core-ui-generate-document-material',
template: "<div class=\"e5core-ui-generate-document\">\n\n <div>\n <mat-form-field class='e5-work-field-type-input' *ngIf=\"isReadOnly\">\n <input\n [readonly]='true'\n matInput\n placeholder=\"Template to Use\"\n name=\"template\"\n type=\"text\"\n />\n </mat-form-field>\n <mat-form-field class='e5-work-field-type-list' *ngIf=\"!isReadOnly\">\n <mat-select placeholder=\"Template to Use\" (selectionChange)=\"onSelectDocumentTemplate($event)\">\n <mat-option *ngFor=\"let documentTemplate of documentTemplates\" [value]=documentTemplate>{{documentTemplate.name}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div>\n <mat-form-field class='e5-work-field-type-input' *ngIf=\"isReadOnly\">\n <input\n [readonly]='true'\n matInput\n placeholder=\"Attachment Type\"\n name=\"attachmentType\"\n type=\"text\"\n />\n </mat-form-field>\n <mat-form-field class='e5-work-field-type-list' *ngIf=\"!isReadOnly && hasAttachments\">\n <mat-select placeholder=\"Attachment Type\" (selectionChange)=\"onSelectAttachmentType($event)\">\n <mat-option *ngFor=\"let attachmentType of attachmentTypes\" [value]=attachmentType>{{attachmentType.name}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div> \n <button *ngIf=\"showGenerateButton\" mat-raised-button (click)=\"onGenerateDocument()\">Generate</button>\n</div>\n",
providers: [{ provide: E5coreUiGenerateDocumentBaseComponent, useExisting: E5coreUiGenerateDocumentMaterialComponent }],
styles: [""]
}] }
];
//# sourceMappingURL=data:application/json;base64,eyJ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