@simpleangularcontrols/sac-bootstrap3 10.0.0-rc.2 → 10.0.0-rc.21
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/bundles/simpleangularcontrols-sac-bootstrap3.umd.js +571 -255
- package/bundles/simpleangularcontrols-sac-bootstrap3.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-bootstrap3.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-bootstrap3.umd.min.js.map +1 -1
- package/controls/checkbox/radiobutton.d.ts +4 -2
- package/controls/contextmenu/contextmenu.d.ts +16 -0
- package/controls/contextmenu/contextmenu.module.d.ts +2 -0
- package/controls/contextmenu/contextmenu.module.ngfactory.d.ts +3 -0
- package/controls/contextmenu/contextmenuanchor.d.ts +12 -0
- package/controls/contextmenu/contextmenucontainer.d.ts +12 -0
- package/controls/contextmenu/contextmenucontainer.ngfactory.d.ts +1 -0
- package/controls/contextmenu/contextmenuitembutton.d.ts +14 -0
- package/controls/contextmenu/contextmenuitembutton.ngfactory.d.ts +1 -0
- package/controls/contextmenu/contextmenuitemsplitter.d.ts +6 -0
- package/controls/contextmenu/contextmenuitemsplitter.ngfactory.d.ts +1 -0
- package/controls/datetime/date.d.ts +4 -3
- package/controls/datetime/datetime.d.ts +4 -3
- package/controls/datetime/time.d.ts +4 -3
- package/controls/form/inheritform.directive.d.ts +14 -37
- package/controls/grid/gridbutton.d.ts +1 -10
- package/controls/static/formcontainer.d.ts +1 -1
- package/controls/tooltip/tooltip.d.ts +6 -1
- package/controls/treeview/treeview.d.ts +13 -2
- package/controls/treeview/treeview.module.d.ts +1 -1
- package/controls/treeview/treeview.module.ngfactory.d.ts +1 -1
- package/controls/upload/dropzonemultiple.d.ts +21 -0
- package/controls/upload/dropzonemultiple.ngfactory.d.ts +1 -0
- package/controls/upload/dropzonesingle.d.ts +21 -0
- package/controls/upload/dropzonesingle.ngfactory.d.ts +1 -0
- package/esm2015/controls/buttons/button.js +5 -3
- package/esm2015/controls/buttons/button.module.ngfactory.js +1 -1
- package/esm2015/controls/checkbox/checkbox.js +2 -2
- package/esm2015/controls/checkbox/checkbox.module.js +7 -2
- package/esm2015/controls/checkbox/checkbox.module.ngfactory.js +1 -1
- package/esm2015/controls/checkbox/radiobutton.js +11 -7
- package/esm2015/controls/checkbox/radiobuttons.js +2 -2
- package/esm2015/controls/confirm/confirm.js +2 -2
- package/esm2015/controls/confirm/confirm.module.ngfactory.js +1 -1
- package/esm2015/controls/contextmenu/contextmenu.js +34 -0
- package/esm2015/controls/contextmenu/contextmenu.module.js +28 -0
- package/esm2015/controls/contextmenu/contextmenu.module.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenu.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenuanchor.js +30 -0
- package/esm2015/controls/contextmenu/contextmenuanchor.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenucontainer.js +30 -0
- package/esm2015/controls/contextmenu/contextmenucontainer.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenuitembutton.js +42 -0
- package/esm2015/controls/contextmenu/contextmenuitembutton.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenuitemsplitter.js +20 -0
- package/esm2015/controls/contextmenu/contextmenuitemsplitter.ngfactory.js +7 -0
- package/esm2015/controls/datetime/date.js +14 -9
- package/esm2015/controls/datetime/datetime.js +9 -7
- package/esm2015/controls/datetime/datetime.module.js +8 -2
- package/esm2015/controls/datetime/datetime.module.ngfactory.js +1 -1
- package/esm2015/controls/datetime/time.js +9 -7
- package/esm2015/controls/dialog/dialog.js +2 -2
- package/esm2015/controls/dialog/dialog.module.ngfactory.js +1 -1
- package/esm2015/controls/form/inheritform.directive.js +42 -56
- package/esm2015/controls/grid/grid.js +2 -2
- package/esm2015/controls/grid/grid.module.js +21 -8
- package/esm2015/controls/grid/grid.module.ngfactory.js +1 -1
- package/esm2015/controls/grid/gridbutton.js +3 -11
- package/esm2015/controls/grid/gridcolumn.js +2 -2
- package/esm2015/controls/grid/paging.js +2 -2
- package/esm2015/controls/input/input.js +2 -2
- package/esm2015/controls/input/input.module.ngfactory.js +1 -1
- package/esm2015/controls/input/inputarea.js +2 -2
- package/esm2015/controls/input/inputcurrency.js +2 -2
- package/esm2015/controls/input/inputdecimal.js +2 -2
- package/esm2015/controls/input/inputemail.js +2 -2
- package/esm2015/controls/input/inputinteger.js +2 -2
- package/esm2015/controls/input/inputpassword.js +2 -2
- package/esm2015/controls/input/inputsearch.js +2 -2
- package/esm2015/controls/list/dropdown.js +2 -2
- package/esm2015/controls/list/list.module.js +3 -1
- package/esm2015/controls/list/list.module.ngfactory.js +1 -1
- package/esm2015/controls/list/listbox.js +2 -2
- package/esm2015/controls/static/formcontainer.js +3 -3
- package/esm2015/controls/static/staticlabel.js +2 -2
- package/esm2015/controls/static/staticlabel.module.ngfactory.js +1 -1
- package/esm2015/controls/tabs/tab.js +2 -2
- package/esm2015/controls/tabs/tabs.module.ngfactory.js +1 -1
- package/esm2015/controls/tinymce/tinymce.js +2 -2
- package/esm2015/controls/tinymce/tinymce.module.js +3 -1
- package/esm2015/controls/tinymce/tinymce.module.ngfactory.js +1 -1
- package/esm2015/controls/tooltip/tooltip.js +13 -3
- package/esm2015/controls/tooltip/tooltip.module.js +3 -5
- package/esm2015/controls/treeview/treeview.js +36 -6
- package/esm2015/controls/treeview/treeview.module.js +11 -12
- package/esm2015/controls/treeview/treeview.module.ngfactory.js +1 -1
- package/esm2015/controls/upload/dropzonemultiple.js +55 -0
- package/esm2015/controls/{treeview/ngtreeitemaction.ngfactory.js → upload/dropzonemultiple.ngfactory.js} +1 -1
- package/esm2015/controls/upload/dropzonesingle.js +55 -0
- package/esm2015/controls/{treeview/treeviewchild.ngfactory.js → upload/dropzonesingle.ngfactory.js} +1 -1
- package/esm2015/controls/upload/upload.js +3 -3
- package/esm2015/controls/upload/upload.module.js +15 -7
- package/esm2015/controls/upload/upload.module.ngfactory.js +1 -1
- package/esm2015/controls/upload/uploadmultiple.js +3 -3
- package/esm2015/public_api.js +9 -5
- package/esm2015/simpleangularcontrols-sac-bootstrap3.js +2 -1
- package/fesm2015/simpleangularcontrols-sac-bootstrap3.js +522 -222
- package/fesm2015/simpleangularcontrols-sac-bootstrap3.js.map +1 -1
- package/package.json +3 -3
- package/public_api.d.ts +8 -4
- package/simpleangularcontrols-sac-bootstrap3-10.0.0-rc.21.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap3.d.ts +1 -0
- package/simpleangularcontrols-sac-bootstrap3.metadata.json +1 -1
- package/controls/treeview/ngtreeitemaction.d.ts +0 -5
- package/controls/treeview/treeviewchild.d.ts +0 -3
- package/esm2015/controls/treeview/ngtreeitemaction.js +0 -17
- package/esm2015/controls/treeview/treeviewchild.js +0 -11
- package/simpleangularcontrols-sac-bootstrap3-10.0.0-rc.2.tgz +0 -0
- /package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → contextmenu/contextmenu.ngfactory.d.ts} +0 -0
- /package/controls/{treeview/treeviewchild.ngfactory.d.ts → contextmenu/contextmenuanchor.ngfactory.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Component, NgModule, Directive, Pipe, forwardRef, Host, Optional, Injector,
|
|
2
|
-
import { SacButtonCommon, SacFormLayoutCommon, ControlHeight, SacCheckboxCommon, SacRadiobuttonsCommon, SacRadiobuttonCommon, SacDialogCommon, SacConfirmCommon, ServiceConfirmCommon, isDefined, SacConfirmButton, SacDateCommon, SacDateSelectorCommon, SacDateTimeCommon, SacTimeCommon, SacGridCommon, SacGridColumnCommon, SacGridColumnBaseCommon,
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
1
|
+
import { Component, ViewEncapsulation, NgModule, Directive, Pipe, ChangeDetectorRef, ElementRef, forwardRef, Host, Optional, Injector, Input, Injectable, ComponentFactoryResolver, Inject, ApplicationRef, NgZone, Renderer2, ContentChild, TemplateRef, ContentChildren, HostBinding, SkipSelf } from '@angular/core';
|
|
2
|
+
import { SacButtonCommon, SacFormLayoutCommon, ControlHeight, SacTooltipCommon, SacCheckboxCommon, SacRadiobuttonsCommon, SacRadiobuttonCommon, SacDialogCommon, SacConfirmCommon, ServiceConfirmCommon, isDefined, SacConfirmButton, SacContextmenuCommon, SacContextmenuAnchorCommon, SacContextMenuContrainerCommon, SacContextmenuItemButtonCommon, SacContextmenuItemCommon, SacDateCommon, SacDateSelectorCommon, SacDateTimeCommon, SacTimeCommon, SacGridCommon, SacGridButtonCommon, SacGridColumnCommon, SacGridColumnBaseCommon, SacGridColumnActionCommon, SacGridImageCommon, SacPagingCommon, SacInputCommon, SacInputAreaCommon, SacInputCurrencyCommon, SacInputDecimalCommon, SacInputEmailCommon, SacInputIntegerCommon, SacInputPasswordCommon, SacInputSearchCommon, SacDropdownCommon, SacDropdownOptionCommon, SacListboxCommon, SACCommonListboxOptionModule, SacStaticFormContainerCommon, SacStaticLabelCommon, SacTabItemCommon, SacTabCommon, SacTinyMceCommon, SacTreeviewCommon, SacDropzoneMultipleCommon, SacDropzoneSingleCommon, SacUploadSingleCommon, SacUploadMultipleCommon, SacFormCommon, SacValidationSummaryCommon, SacWizardItemCommon, SacWizardCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
+
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
4
4
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, NgForm, ControlContainer } from '@angular/forms';
|
|
5
5
|
import { forkJoin } from 'rxjs';
|
|
6
6
|
import { take } from 'rxjs/operators';
|
|
@@ -13,7 +13,9 @@ class SacButtonComponent extends SacButtonCommon {
|
|
|
13
13
|
SacButtonComponent.decorators = [
|
|
14
14
|
{ type: Component, args: [{
|
|
15
15
|
selector: 'sac-button',
|
|
16
|
-
template: "<a\r\n [id]=\"name\"\r\n class=\"btn\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary'\"\r\n [class.btn-success]=\"role === 'success'\"\r\n [class.btn-danger]=\"role === 'danger'\"\r\n [class.btn-warning]=\"role === 'warning'\"\r\n [class.btn-info]=\"role === 'info'\"\r\n [class.btn-default]=\"role === 'default'\"\r\n [class.btn-link]=\"role === 'link'\"\r\n [attr.disabled]=\"_isdisabled ? 'disabled' : null\"\r\n (click)=\"buttonClick()\"\r\n>\r\n <i\r\n *ngIf=\"icon !== ''\"\r\n [ngClass]=\"icon\"\r\n [ngStyle]=\"{ 'margin-right': text ? '0.5rem': null}\"\r\n ></i>\r\n {{text}}\r\n</a>\r\n"
|
|
16
|
+
template: "<a\r\n [id]=\"name\"\r\n class=\"btn\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary'\"\r\n [class.btn-success]=\"role === 'success'\"\r\n [class.btn-danger]=\"role === 'danger'\"\r\n [class.btn-warning]=\"role === 'warning'\"\r\n [class.btn-info]=\"role === 'info'\"\r\n [class.btn-default]=\"role === 'default'\"\r\n [class.btn-link]=\"role === 'link'\"\r\n [attr.disabled]=\"_isdisabled ? 'disabled' : null\"\r\n (click)=\"buttonClick()\"\r\n>\r\n <i\r\n *ngIf=\"isloading\"\r\n class=\"\"\r\n role=\"status\"\r\n aria-hidden=\"true\"\r\n class=\"glyphicon glyphicon-repeat spin\"\r\n [ngStyle]=\"{ 'margin-right': text ? '0.5rem': null}\"\r\n ></i>\r\n <i\r\n *ngIf=\"!isloading && icon !== ''\"\r\n [ngClass]=\"icon\"\r\n [ngStyle]=\"{ 'margin-right': text ? '0.5rem': null}\"\r\n ></i>\r\n {{text}}\r\n</a>\r\n",
|
|
17
|
+
encapsulation: ViewEncapsulation.None,
|
|
18
|
+
styles: ['sac-button+sac-button {margin-left: 5px}', '.spin { animation: spin 1.5s infinite; } @keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }']
|
|
17
19
|
},] }
|
|
18
20
|
];
|
|
19
21
|
|
|
@@ -189,6 +191,66 @@ SACBootstrap3LayoutModule.decorators = [
|
|
|
189
191
|
},] }
|
|
190
192
|
];
|
|
191
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Tooltip Komponente
|
|
196
|
+
*
|
|
197
|
+
* @example ToolTip Control
|
|
198
|
+
*
|
|
199
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
200
|
+
* <i class="tooltip"></i>
|
|
201
|
+
* </ngTooltip>
|
|
202
|
+
*
|
|
203
|
+
* @example ToolTip Control im Inline Mode. Style auf Icon kann auch in Klasse ausgelagert werden.
|
|
204
|
+
*
|
|
205
|
+
* <div class="form-inline">
|
|
206
|
+
* <ngInputSearch iconname="Suchen"></ngInputSearch>
|
|
207
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
208
|
+
* <i class="tooltip" style="position: relative; left: 0; top: 3px; display: inline-block; margin-right: 10px;"></i>
|
|
209
|
+
* </ngTooltip>
|
|
210
|
+
* </div>
|
|
211
|
+
*
|
|
212
|
+
*/
|
|
213
|
+
class SacTooltipComponent extends SacTooltipCommon {
|
|
214
|
+
// #region Constructors
|
|
215
|
+
/**
|
|
216
|
+
* Konstrukor
|
|
217
|
+
* @param parent SacFormular Instanz
|
|
218
|
+
* @param injector Component Injector
|
|
219
|
+
*/
|
|
220
|
+
constructor(cdRef, ref) {
|
|
221
|
+
super(cdRef, ref);
|
|
222
|
+
}
|
|
223
|
+
// #endregion Constructors
|
|
224
|
+
// #region Protected Methods
|
|
225
|
+
/**
|
|
226
|
+
* Padding for Tooltip
|
|
227
|
+
* @returns Always 0. BS3 not require Padding
|
|
228
|
+
*/
|
|
229
|
+
getTooltipOffset() {
|
|
230
|
+
return 0;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
SacTooltipComponent.decorators = [
|
|
234
|
+
{ type: Component, args: [{
|
|
235
|
+
selector: 'sac-tooltip',
|
|
236
|
+
template: "<div [style.display]=\"inlinemode ? 'inline' : null\">\r\n <div\r\n #container\r\n (mouseenter)=\"ShowTooltip()\"\r\n (mouseleave)=\"HideTooltip()\"\r\n [style.display]=\"inlinemode ? 'inline' : null\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n *ngIf=\"IsTooltipVisible()\"\r\n #tooltip>\r\n <div\r\n [style.visibility]=\"IsTooltipContentVisible ? 'visible' : 'hidden'\"\r\n class=\"tooltip in\"\r\n style=\"display: block\"\r\n [style.left.px]=\"LeftPos\"\r\n [style.top.px]=\"TopPos\"\r\n [class.top]=\"GetTooltipPosition() === TooltipPosition.top\"\r\n [class.left]=\"GetTooltipPosition() === TooltipPosition.left\"\r\n [class.right]=\"GetTooltipPosition() === TooltipPosition.right\"\r\n [class.bottom]=\"GetTooltipPosition() === TooltipPosition.bottom\">\r\n <div class=\"tooltip-arrow\"></div>\r\n <div class=\"tooltip-inner\">{{ tooltiptext }}</div>\r\n </div>\r\n </div>\r\n</div>\r\n"
|
|
237
|
+
},] }
|
|
238
|
+
];
|
|
239
|
+
SacTooltipComponent.ctorParameters = () => [
|
|
240
|
+
{ type: ChangeDetectorRef },
|
|
241
|
+
{ type: ElementRef }
|
|
242
|
+
];
|
|
243
|
+
|
|
244
|
+
class SACBootstrap3TooltipModule {
|
|
245
|
+
}
|
|
246
|
+
SACBootstrap3TooltipModule.decorators = [
|
|
247
|
+
{ type: NgModule, args: [{
|
|
248
|
+
declarations: [SacTooltipComponent],
|
|
249
|
+
imports: [CommonModule],
|
|
250
|
+
exports: [SacTooltipComponent],
|
|
251
|
+
},] }
|
|
252
|
+
];
|
|
253
|
+
|
|
192
254
|
class SacCheckboxComponent extends SacCheckboxCommon {
|
|
193
255
|
// #region Constructors
|
|
194
256
|
/**
|
|
@@ -203,7 +265,7 @@ class SacCheckboxComponent extends SacCheckboxCommon {
|
|
|
203
265
|
SacCheckboxComponent.decorators = [
|
|
204
266
|
{ type: Component, args: [{
|
|
205
267
|
selector: 'sac-checkbox',
|
|
206
|
-
template: "<div\r\n
|
|
268
|
+
template: "<div\r\n class=\"row\"\r\n [class.form-group]=\"!stacked\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"!disablelabel && !stacked\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div\r\n class=\"checkbox\"\r\n [class.checkbox-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.checkbox-lg]=\"componentHeight === ControlHeight.Large\">\r\n <label for=\"{{ name }}\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"checkbox\"\r\n class=\"visible-checkbox\"\r\n [checked]=\"value\"\r\n [disabled]=\"isdisabled\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue($event.target.checked)\" />\r\n <ng-container *ngIf=\"checkboxtext\">\r\n <span>{{ checkboxtext }}</span>\r\n </ng-container>\r\n </label>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && (disablelabel || stacked)\"\r\n class=\"form-control-static\"\r\n style=\"display: inline\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </div>\r\n</div>\r\n",
|
|
207
269
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
208
270
|
providers: [
|
|
209
271
|
{
|
|
@@ -239,7 +301,7 @@ class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
|
|
|
239
301
|
SacRadiobuttonsComponent.decorators = [
|
|
240
302
|
{ type: Component, args: [{
|
|
241
303
|
selector: 'sac-radiobuttons',
|
|
242
|
-
template: "<div\r\n
|
|
304
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </div>\r\n</div>\r\n",
|
|
243
305
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
244
306
|
providers: [
|
|
245
307
|
{
|
|
@@ -261,19 +323,22 @@ SacRadiobuttonsComponent.ctorParameters = () => [
|
|
|
261
323
|
];
|
|
262
324
|
|
|
263
325
|
class SacRadiobuttonComponent extends SacRadiobuttonCommon {
|
|
264
|
-
|
|
265
|
-
|
|
326
|
+
// #region Constructors
|
|
327
|
+
constructor(sacRadioButtons, formLayout, injector) {
|
|
328
|
+
super(sacRadioButtons, formLayout, injector);
|
|
266
329
|
}
|
|
267
330
|
}
|
|
268
331
|
SacRadiobuttonComponent.decorators = [
|
|
269
332
|
{ type: Component, args: [{
|
|
270
333
|
selector: 'sac-radiobutton',
|
|
271
|
-
template: "<div\r\n
|
|
334
|
+
template: "<div\r\n class=\"radio\"\r\n *ngIf=\"hidden === false\"\r\n [class.radio-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.radio-lg]=\"componentHeight === ControlHeight.Large\">\r\n <label for=\"{{ getName }}_{{ getIndex }}\">\r\n <input\r\n id=\"{{ getName }}_{{ getIndex }}\"\r\n name=\"{{ getName }}\"\r\n type=\"radio\"\r\n [value]=\"value\"\r\n [checked]=\"checked\"\r\n (change)=\"ChangeEvent()\"\r\n [disabled]=\"isDisabled\" />\r\n <ng-template *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate; context: { label: label }\"></ng-template>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </label>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n class=\"form-control-static\"\r\n style=\"display: inline\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n</div>\r\n\r\n<ng-template\r\n #defaultItemLabelTemplate\r\n let-label=\"label\">\r\n <span>{{ label }}</span>\r\n</ng-template>\r\n",
|
|
272
335
|
styles: [".radio-lg label{font-size:18px;padding-top:2px}.radio-lg label input{height:20px;margin-top:2px;width:20px}.radio-sm{padding-top:2px}.radio-sm label{font-size:12px;min-height:14px;padding-top:2px}.radio-sm label input{height:12px;margin-top:2px;width:12px}"]
|
|
273
336
|
},] }
|
|
274
337
|
];
|
|
275
338
|
SacRadiobuttonComponent.ctorParameters = () => [
|
|
276
|
-
{ type: SacRadiobuttonsComponent, decorators: [{ type: Host }] }
|
|
339
|
+
{ type: SacRadiobuttonsComponent, decorators: [{ type: Host }] },
|
|
340
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
341
|
+
{ type: Injector }
|
|
277
342
|
];
|
|
278
343
|
|
|
279
344
|
class SACBootstrap3CheckboxModule {
|
|
@@ -285,7 +350,11 @@ SACBootstrap3CheckboxModule.decorators = [
|
|
|
285
350
|
SacRadiobuttonComponent,
|
|
286
351
|
SacRadiobuttonsComponent,
|
|
287
352
|
],
|
|
288
|
-
imports: [
|
|
353
|
+
imports: [
|
|
354
|
+
CommonModule,
|
|
355
|
+
SACBootstrap3LayoutModule,
|
|
356
|
+
SACBootstrap3TooltipModule,
|
|
357
|
+
],
|
|
289
358
|
exports: [
|
|
290
359
|
SacCheckboxComponent,
|
|
291
360
|
SacRadiobuttonComponent,
|
|
@@ -332,7 +401,7 @@ class SacDialogComponent extends SacDialogCommon {
|
|
|
332
401
|
SacDialogComponent.decorators = [
|
|
333
402
|
{ type: Component, args: [{
|
|
334
403
|
selector: 'sac-dialog',
|
|
335
|
-
template: "<div [id]=\"name\" *ngIf=\"_show\" [ngStyle]=\"{'z-index': zindex}\">\r\n <div
|
|
404
|
+
template: "<div [id]=\"name\" *ngIf=\"_show\" [ngStyle]=\"{'z-index': zindex}\">\r\n <div\r\n class=\"modal in\"\r\n style=\"display: block\"\r\n tabindex=\"-1\"\r\n role=\"dialog\"\r\n #dialog\r\n >\r\n <div\r\n class=\"modal-dialog\"\r\n [class.modal-sm]=\"_size==='small'\"\r\n [class.modal-lg]=\"_size === 'large' || _size === 'extralarge'\"\r\n role=\"document\"\r\n >\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <button\r\n type=\"button\"\r\n class=\"close\"\r\n data-dismiss=\"modal\"\r\n aria-label=\"Close\"\r\n (click)=\"hide()\"\r\n *ngIf=\"closebutton\"\r\n >\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n <span class=\"modal-title\">{{title}}</span>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content select=\"[dialogbody]\"></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-content select=\"[dialogfooter]\"></ng-content>\r\n </div>\r\n </div>\r\n <!-- /.modal-content -->\r\n </div>\r\n <!-- /.modal-dialog -->\r\n </div>\r\n <!-- /.modal -->\r\n</div>\r\n<div class=\"modal-backdrop in\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n"
|
|
336
405
|
},] }
|
|
337
406
|
];
|
|
338
407
|
SacDialogComponent.ctorParameters = () => [
|
|
@@ -360,7 +429,7 @@ class SacConfirmComponent extends SacConfirmCommon {
|
|
|
360
429
|
SacConfirmComponent.decorators = [
|
|
361
430
|
{ type: Component, args: [{
|
|
362
431
|
selector: 'sac-confirm',
|
|
363
|
-
template: "<sac-dialog\r\n [(isvisible)]=\"isvisible\"\r\n [title]=\"title\"\r\n [allowesc]=\"false\"\r\n [closebutton]=\"false\"\r\n>\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <div class=\"media-left media-middle\" *ngIf=\"hasImage()\">\r\n <img [attr.src]=\"image\" />\r\n </div>\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <div dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button\r\n [name]=\"button.key\"\r\n [text]=\"button.text\"\r\n [role]=\"button.role || 'default'\"\r\n (clicked)=\"confirm(button.key)\"\r\n
|
|
432
|
+
template: "<sac-dialog\r\n name=\"confirmDialog\"\r\n [(isvisible)]=\"isvisible\"\r\n [title]=\"title\"\r\n [allowesc]=\"false\"\r\n [closebutton]=\"false\"\r\n>\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <div class=\"media-left media-middle\" *ngIf=\"hasImage()\">\r\n <img [attr.src]=\"image\" />\r\n </div>\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <div dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button\r\n [name]=\"button.key\"\r\n [text]=\"button.text\"\r\n [role]=\"button.role || 'default'\"\r\n (clicked)=\"confirm(button.key)\"\r\n ></sac-button>\r\n </ng-container>\r\n </div>\r\n</sac-dialog>\r\n"
|
|
364
433
|
},] }
|
|
365
434
|
];
|
|
366
435
|
|
|
@@ -485,7 +554,173 @@ SACBootstrap3ConfirmModule.decorators = [
|
|
|
485
554
|
},] }
|
|
486
555
|
];
|
|
487
556
|
|
|
488
|
-
|
|
557
|
+
/**
|
|
558
|
+
* Component for context menu
|
|
559
|
+
*/
|
|
560
|
+
class SacContextmenuComponent extends SacContextmenuCommon {
|
|
561
|
+
// #region Constructors
|
|
562
|
+
/**
|
|
563
|
+
* Constructor
|
|
564
|
+
* @param document Reference to HTML document
|
|
565
|
+
* @param ngZone Angular Zone Service
|
|
566
|
+
* @param elementRef Reference to HTML element of the current component
|
|
567
|
+
* @param renderer Render Service from Angular
|
|
568
|
+
* @param injector injector to resolve services
|
|
569
|
+
*/
|
|
570
|
+
constructor(document, ngZone, elementRef, renderer, injector) {
|
|
571
|
+
super(document, ngZone, elementRef, renderer, injector);
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
SacContextmenuComponent.decorators = [
|
|
575
|
+
{ type: Component, args: [{
|
|
576
|
+
selector: 'sac-contextmenu',
|
|
577
|
+
template: "<div\r\n class=\"dropdown\"\r\n [ngClass]=\"cssclass\">\r\n <ng-container [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"></ng-container>\r\n\r\n <ul\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\">\r\n <ng-content></ng-content>\r\n </ul>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacContextMenuAnchor\r\n class=\"btn btn-link\"\r\n type=\"button\"\r\n (click)=\"toggle()\">\r\n <i [class]=\"IconContextMenu\"></i>\r\n </button>\r\n</ng-template>\r\n"
|
|
578
|
+
},] }
|
|
579
|
+
];
|
|
580
|
+
SacContextmenuComponent.ctorParameters = () => [
|
|
581
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
|
|
582
|
+
{ type: NgZone },
|
|
583
|
+
{ type: ElementRef },
|
|
584
|
+
{ type: Renderer2 },
|
|
585
|
+
{ type: Injector }
|
|
586
|
+
];
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Anker Komponente für Context Menü. Wird zum positionieren des Context Menü in der Page benötigt.
|
|
590
|
+
*/
|
|
591
|
+
class SacContextmenuAnchorDirective extends SacContextmenuAnchorCommon {
|
|
592
|
+
// #region Constructors
|
|
593
|
+
/**
|
|
594
|
+
* Konstruktor
|
|
595
|
+
* @param elementRef HTML DOM Referenz
|
|
596
|
+
*/
|
|
597
|
+
constructor(elementRef) {
|
|
598
|
+
super(elementRef);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
SacContextmenuAnchorDirective.decorators = [
|
|
602
|
+
{ type: Directive, args: [{
|
|
603
|
+
selector: '[sacContextMenuAnchor]',
|
|
604
|
+
providers: [
|
|
605
|
+
{
|
|
606
|
+
provide: SacContextmenuAnchorCommon,
|
|
607
|
+
useExisting: forwardRef(() => SacContextmenuAnchorDirective),
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
},] }
|
|
611
|
+
];
|
|
612
|
+
SacContextmenuAnchorDirective.ctorParameters = () => [
|
|
613
|
+
{ type: ElementRef }
|
|
614
|
+
];
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Marker Komponente für Context Menü
|
|
618
|
+
*/
|
|
619
|
+
class SacContextmenuContainerDirective extends SacContextMenuContrainerCommon {
|
|
620
|
+
// #region Constructors
|
|
621
|
+
/**
|
|
622
|
+
* Konstruktor
|
|
623
|
+
* @param elementRef Referenz auf DOM Element
|
|
624
|
+
*/
|
|
625
|
+
constructor(elementRef) {
|
|
626
|
+
super(elementRef);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
SacContextmenuContainerDirective.decorators = [
|
|
630
|
+
{ type: Directive, args: [{
|
|
631
|
+
selector: '[sacContextMenuContainer]',
|
|
632
|
+
providers: [
|
|
633
|
+
{
|
|
634
|
+
provide: SacContextMenuContrainerCommon,
|
|
635
|
+
useExisting: forwardRef(() => SacContextmenuContainerDirective),
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
},] }
|
|
639
|
+
];
|
|
640
|
+
SacContextmenuContainerDirective.ctorParameters = () => [
|
|
641
|
+
{ type: ElementRef }
|
|
642
|
+
];
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Component for menu entry in context menu
|
|
646
|
+
*/
|
|
647
|
+
class SacContextmenuItemButtonComponent extends SacContextmenuItemButtonCommon {
|
|
648
|
+
// #region Constructors
|
|
649
|
+
/**
|
|
650
|
+
* Constructor
|
|
651
|
+
* @param contextmenu Instance von Context Menü
|
|
652
|
+
*/
|
|
653
|
+
constructor(el) {
|
|
654
|
+
super();
|
|
655
|
+
this.el = el;
|
|
656
|
+
}
|
|
657
|
+
// #endregion Constructors
|
|
658
|
+
// #region Public Methods
|
|
659
|
+
ngOnInit() {
|
|
660
|
+
const rootElement = this.el.nativeElement;
|
|
661
|
+
const parentElement = rootElement.parentElement;
|
|
662
|
+
while (rootElement.firstChild) {
|
|
663
|
+
parentElement.insertBefore(rootElement.firstChild, rootElement);
|
|
664
|
+
}
|
|
665
|
+
parentElement.removeChild(rootElement);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
SacContextmenuItemButtonComponent.decorators = [
|
|
669
|
+
{ type: Component, args: [{
|
|
670
|
+
selector: 'sac-contextmenubutton',
|
|
671
|
+
template: "<li\r\n [class.disabled]=\"isdisabled\"\r\n [ngClass]=\"cssclass\">\r\n <a\r\n [id]=\"name\"\r\n (click)=\"callaction($event)\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n [ngStyle]=\"{ cursor: !isdisabled ? 'pointer' : null }\"\r\n style=\"display: flex\">\r\n <div\r\n style=\"min-width: 25px\"\r\n *ngIf=\"!isicondisabled\">\r\n <img\r\n *ngIf=\"image\"\r\n [src]=\"image\"\r\n style=\"vertical-align: baseline\"\r\n [ngStyle]=\"{ 'margin-right': text ? '5px' : null }\" />\r\n <i\r\n *ngIf=\"icon\"\r\n [class]=\"iconstyle + ' ' + icon\"\r\n [ngStyle]=\"{ 'margin-right': text ? '5px' : null }\">\r\n </i>\r\n </div>\r\n <div>{{ text }}</div>\r\n </a>\r\n</li>\r\n",
|
|
672
|
+
providers: [
|
|
673
|
+
{
|
|
674
|
+
provide: SacContextmenuItemCommon,
|
|
675
|
+
useExisting: forwardRef(() => SacContextmenuItemButtonComponent),
|
|
676
|
+
},
|
|
677
|
+
]
|
|
678
|
+
},] }
|
|
679
|
+
];
|
|
680
|
+
SacContextmenuItemButtonComponent.ctorParameters = () => [
|
|
681
|
+
{ type: ElementRef }
|
|
682
|
+
];
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Splitter Komponente in Context Menü
|
|
686
|
+
*/
|
|
687
|
+
class SacContextmenuItemSplitterComponent extends SacContextmenuItemCommon {
|
|
688
|
+
}
|
|
689
|
+
SacContextmenuItemSplitterComponent.decorators = [
|
|
690
|
+
{ type: Component, args: [{
|
|
691
|
+
selector: 'sac-contextmenusplitter',
|
|
692
|
+
template: "<li\r\n role=\"separator\"\r\n class=\"divider\"></li>\r\n",
|
|
693
|
+
providers: [
|
|
694
|
+
{
|
|
695
|
+
provide: SacContextmenuItemCommon,
|
|
696
|
+
useExisting: forwardRef(() => SacContextmenuItemSplitterComponent),
|
|
697
|
+
},
|
|
698
|
+
]
|
|
699
|
+
},] }
|
|
700
|
+
];
|
|
701
|
+
|
|
702
|
+
class SACBootstrap3ContextmenuModule {
|
|
703
|
+
}
|
|
704
|
+
SACBootstrap3ContextmenuModule.decorators = [
|
|
705
|
+
{ type: NgModule, args: [{
|
|
706
|
+
declarations: [
|
|
707
|
+
SacContextmenuComponent,
|
|
708
|
+
SacContextmenuItemButtonComponent,
|
|
709
|
+
SacContextmenuItemSplitterComponent,
|
|
710
|
+
SacContextmenuAnchorDirective,
|
|
711
|
+
SacContextmenuContainerDirective,
|
|
712
|
+
],
|
|
713
|
+
imports: [CommonModule],
|
|
714
|
+
exports: [
|
|
715
|
+
SacContextmenuComponent,
|
|
716
|
+
SacContextmenuItemButtonComponent,
|
|
717
|
+
SacContextmenuItemSplitterComponent,
|
|
718
|
+
SacContextmenuAnchorDirective,
|
|
719
|
+
],
|
|
720
|
+
},] }
|
|
721
|
+
];
|
|
722
|
+
|
|
723
|
+
// #region Classes
|
|
489
724
|
class SacDateComponent extends SacDateCommon {
|
|
490
725
|
// #region Constructors
|
|
491
726
|
/**
|
|
@@ -493,15 +728,16 @@ class SacDateComponent extends SacDateCommon {
|
|
|
493
728
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
494
729
|
* @param injector Injector for injecting services
|
|
495
730
|
* @param elementRef Reference to html dom element
|
|
731
|
+
* @param cdRef Change Dectection Servie
|
|
496
732
|
*/
|
|
497
|
-
constructor(formLayout, injector, elementRef) {
|
|
498
|
-
super(formLayout, injector, elementRef);
|
|
733
|
+
constructor(formLayout, injector, elementRef, cdRef) {
|
|
734
|
+
super(formLayout, injector, elementRef, cdRef);
|
|
499
735
|
}
|
|
500
736
|
}
|
|
501
737
|
SacDateComponent.decorators = [
|
|
502
738
|
{ type: Component, args: [{
|
|
503
739
|
selector: 'sac-date',
|
|
504
|
-
template: "<div\r\n
|
|
740
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div\r\n style=\"position: relative\"\r\n [style.width.px]=\"componentHeight === ControlHeight.Small ? 120 : componentHeight === ControlHeight.Large ? 180 : 140\">\r\n <div\r\n class=\"datetime-textbox input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <!-- this class comes in the div above when disabled [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\" -->\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control date-control\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n (click)=\"showDateSelector()\" />\r\n <span class=\"input-group-btn\">\r\n <button\r\n #pickerbutton\r\n class=\"btn btn-default\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\">\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </span>\r\n </div>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover in\"\r\n role=\"tooltip\"\r\n style=\"display: block; max-width: unset; margin: 0\"\r\n [class.bottom]=\"GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\"\r\n [class.top]=\"GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n style=\"margin: 0\"\r\n class=\"arrow\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\">\r\n </sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
505
741
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
506
742
|
providers: [
|
|
507
743
|
{
|
|
@@ -520,8 +756,13 @@ SacDateComponent.decorators = [
|
|
|
520
756
|
SacDateComponent.ctorParameters = () => [
|
|
521
757
|
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
522
758
|
{ type: Injector },
|
|
523
|
-
{ type: ElementRef }
|
|
524
|
-
|
|
759
|
+
{ type: ElementRef },
|
|
760
|
+
{ type: ChangeDetectorRef }
|
|
761
|
+
];
|
|
762
|
+
// #endregion Classes
|
|
763
|
+
// #region Variables
|
|
764
|
+
const moment = moment_;
|
|
765
|
+
// #endregion Variables
|
|
525
766
|
|
|
526
767
|
class SacDateSelectorComponent extends SacDateSelectorCommon {
|
|
527
768
|
}
|
|
@@ -539,15 +780,16 @@ class SacDateTimeComponent extends SacDateTimeCommon {
|
|
|
539
780
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
540
781
|
* @param injector Injector for injecting services
|
|
541
782
|
* @param elementRef Reference to html dom element
|
|
783
|
+
* @param cdRef Change Dectection Servie
|
|
542
784
|
*/
|
|
543
|
-
constructor(formLayout, injector, elementRef) {
|
|
544
|
-
super(formLayout, injector, elementRef);
|
|
785
|
+
constructor(formLayout, injector, elementRef, cdRef) {
|
|
786
|
+
super(formLayout, injector, elementRef, cdRef);
|
|
545
787
|
}
|
|
546
788
|
}
|
|
547
789
|
SacDateTimeComponent.decorators = [
|
|
548
790
|
{ type: Component, args: [{
|
|
549
791
|
selector: 'sac-datetime',
|
|
550
|
-
template: "<div\r\n
|
|
792
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div\r\n style=\"position: relative\"\r\n [style.width.px]=\"componentHeight === ControlHeight.Small ? 160 : componentHeight === ControlHeight.Large ? 230 : 180\">\r\n <div\r\n class=\"datetime-textbox input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control date-control\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n (click)=\"showDateSelector()\" />\r\n <span class=\"input-group-btn\">\r\n <button\r\n #pickerbutton\r\n class=\"btn btn-default\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\">\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </span>\r\n </div>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover in\"\r\n role=\"tooltip\"\r\n style=\"display: block; max-width: unset; margin: 0\"\r\n [class.bottom]=\"GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\"\r\n [class.top]=\"GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n style=\"margin: 0\"\r\n class=\"arrow\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n timeselection=\"true\"></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
551
793
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
552
794
|
providers: [
|
|
553
795
|
{
|
|
@@ -566,7 +808,8 @@ SacDateTimeComponent.decorators = [
|
|
|
566
808
|
SacDateTimeComponent.ctorParameters = () => [
|
|
567
809
|
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
568
810
|
{ type: Injector },
|
|
569
|
-
{ type: ElementRef }
|
|
811
|
+
{ type: ElementRef },
|
|
812
|
+
{ type: ChangeDetectorRef }
|
|
570
813
|
];
|
|
571
814
|
|
|
572
815
|
class SacTimeComponent extends SacTimeCommon {
|
|
@@ -576,15 +819,16 @@ class SacTimeComponent extends SacTimeCommon {
|
|
|
576
819
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
577
820
|
* @param injector Injector for injecting services
|
|
578
821
|
* @param elementRef Reference to html dom element
|
|
822
|
+
* @param cdRef Change Dectection Servie
|
|
579
823
|
*/
|
|
580
|
-
constructor(formLayout, injector, elementRef) {
|
|
581
|
-
super(formLayout, injector, elementRef);
|
|
824
|
+
constructor(formLayout, injector, elementRef, cdRef) {
|
|
825
|
+
super(formLayout, injector, elementRef, cdRef);
|
|
582
826
|
}
|
|
583
827
|
}
|
|
584
828
|
SacTimeComponent.decorators = [
|
|
585
829
|
{ type: Component, args: [{
|
|
586
830
|
selector: 'sac-time',
|
|
587
|
-
template: "<div\r\n
|
|
831
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div\r\n style=\"position: relative\"\r\n [style.width.px]=\"componentHeight === ControlHeight.Small ? 120 : componentHeight === ControlHeight.Large ? 160 : 140\">\r\n <div\r\n class=\"datetime-textbox input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control time-control\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n (click)=\"showTimeSelector()\"\r\n maxlength=\"6\"\r\n size=\"6\" />\r\n <span class=\"input-group-btn\">\r\n <button\r\n #pickerbutton\r\n class=\"btn btn-default\"\r\n type=\"button\"\r\n (click)=\"showTimeSelector()\"\r\n [disabled]=\"isdisabled\">\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </span>\r\n </div>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover in\"\r\n role=\"tooltip\"\r\n style=\"display: block; max-width: unset; margin: 0\"\r\n [class.bottom]=\"GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\"\r\n [class.top]=\"GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n style=\"margin: 0\"\r\n class=\"arrow\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"timeselect($event)\"\r\n timeselection=\"true\"></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
588
832
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
589
833
|
providers: [
|
|
590
834
|
{
|
|
@@ -603,7 +847,8 @@ SacTimeComponent.decorators = [
|
|
|
603
847
|
SacTimeComponent.ctorParameters = () => [
|
|
604
848
|
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
605
849
|
{ type: Injector },
|
|
606
|
-
{ type: ElementRef }
|
|
850
|
+
{ type: ElementRef },
|
|
851
|
+
{ type: ChangeDetectorRef }
|
|
607
852
|
];
|
|
608
853
|
|
|
609
854
|
class SACBootstrap3DateTimeModule {
|
|
@@ -616,7 +861,12 @@ SACBootstrap3DateTimeModule.decorators = [
|
|
|
616
861
|
SacTimeComponent,
|
|
617
862
|
SacDateSelectorComponent,
|
|
618
863
|
],
|
|
619
|
-
imports: [
|
|
864
|
+
imports: [
|
|
865
|
+
CommonModule,
|
|
866
|
+
IMaskModule,
|
|
867
|
+
SACBootstrap3LayoutModule,
|
|
868
|
+
SACBootstrap3TooltipModule,
|
|
869
|
+
],
|
|
620
870
|
exports: [
|
|
621
871
|
SacDateComponent,
|
|
622
872
|
SacDateTimeComponent,
|
|
@@ -635,7 +885,7 @@ class SacGridComponent extends SacGridCommon {
|
|
|
635
885
|
SacGridComponent.decorators = [
|
|
636
886
|
{ type: Component, args: [{
|
|
637
887
|
selector: 'sac-grid',
|
|
638
|
-
template: "<table class=\"table table-striped table-condensed table-hover\" id
|
|
888
|
+
template: "<table class=\"table table-striped table-condensed table-hover\" id=\"{{name}}\">\r\n <thead>\r\n <tr>\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { row: {}, type: 'header'}\"\r\n >\r\n </ng-container>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let item of value; let i=index\">\r\n <tr>\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { row: item, type: 'body'}\"\r\n >\r\n </ng-container>\r\n </tr>\r\n </ng-container>\r\n <tr\r\n *ngIf=\"value === undefined || value === null || value.length === 0\"\r\n data-e2e=\"emptyrow\"\r\n >\r\n <td [attr.colspan]=\"ColumnCount\">{{emptytext}}</td>\r\n </tr>\r\n </tbody>\r\n <tfoot *ngIf=\"pagerdata\">\r\n <tr>\r\n <td [attr.colspan]=\"ColumnCount\">\r\n <div class=\"container-fluid\">\r\n <sac-paging\r\n name=\"{{name}}Paging\"\r\n (paging)=\"pageChange($event)\"\r\n [pagerdata]=\"pagerdata\"\r\n [pagingtext]=\"pagingtext\"\r\n [pagesizetext]=\"pagesizetext\"\r\n ></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tfoot>\r\n</table>\r\n",
|
|
639
889
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
640
890
|
providers: [
|
|
641
891
|
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
@@ -647,44 +897,13 @@ SacGridComponent.propDecorators = {
|
|
|
647
897
|
template: [{ type: ContentChild, args: [TemplateRef, { static: true },] }]
|
|
648
898
|
};
|
|
649
899
|
|
|
650
|
-
class SacGridColumnComponent extends SacGridColumnCommon {
|
|
651
|
-
constructor(grid, injector, el) {
|
|
652
|
-
super(grid, injector, el);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
SacGridColumnComponent.decorators = [
|
|
656
|
-
{ type: Component, args: [{
|
|
657
|
-
selector: 'sac-gridcolumn',
|
|
658
|
-
template: "<th\r\n scope=\"col\"\r\n *ngIf=\"IsHeader()\"\r\n [style.width]=\"width\"\r\n (click)=\"SortByColumn()\"\r\n>\r\n <span>{{header}}</span>\r\n <span\r\n [class]=\"IconSortUp\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n [class]=\"IconSortDown\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='desc'\"\r\n ></span>\r\n</th>\r\n<td\r\n scope=\"col\"\r\n *ngIf=\"IsBody()\"\r\n [style.width]=\"width\"\r\n [class.ellipsis]=\"IsEllipsis()\"\r\n>\r\n <span [attr.title]=\"IsEllipsis() ? value : null\"> {{value}} </span>\r\n</td>\r\n",
|
|
659
|
-
providers: [
|
|
660
|
-
{
|
|
661
|
-
provide: SacGridColumnBaseCommon,
|
|
662
|
-
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
663
|
-
},
|
|
664
|
-
]
|
|
665
|
-
},] }
|
|
666
|
-
];
|
|
667
|
-
SacGridColumnComponent.ctorParameters = () => [
|
|
668
|
-
{ type: SacGridComponent },
|
|
669
|
-
{ type: Injector },
|
|
670
|
-
{ type: ElementRef }
|
|
671
|
-
];
|
|
672
|
-
|
|
673
900
|
/**
|
|
674
901
|
* Grid Action Button
|
|
675
|
-
*
|
|
676
|
-
* @example Standard Action
|
|
677
|
-
*
|
|
678
|
-
* <ngGridButton icon="edit" (clicked)="action('edit')" [isdisabled]="true"></ngGridButton>
|
|
679
|
-
*
|
|
680
|
-
* @example Custom Action
|
|
681
|
-
*
|
|
682
|
-
* <ngGridButton iconstyle="sprite" icon="icon-sprite-base-main_info" (clicked)="action('info')"></ngGridButton>
|
|
683
|
-
*
|
|
684
902
|
*/
|
|
685
903
|
class SacGridButtonComponent extends SacGridButtonCommon {
|
|
904
|
+
// #region Public Methods
|
|
686
905
|
/**
|
|
687
|
-
*
|
|
906
|
+
* Returns the icon for the button
|
|
688
907
|
*/
|
|
689
908
|
getIconClass() {
|
|
690
909
|
let iconset = this.iconstyle;
|
|
@@ -715,25 +934,27 @@ SacGridButtonComponent.decorators = [
|
|
|
715
934
|
},] }
|
|
716
935
|
];
|
|
717
936
|
|
|
718
|
-
class
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
constructor(injector) { super(injector); }
|
|
937
|
+
class SacGridColumnComponent extends SacGridColumnCommon {
|
|
938
|
+
constructor(grid, injector, el) {
|
|
939
|
+
super(grid, injector, el);
|
|
940
|
+
}
|
|
723
941
|
}
|
|
724
|
-
|
|
942
|
+
SacGridColumnComponent.decorators = [
|
|
725
943
|
{ type: Component, args: [{
|
|
726
|
-
selector: 'sac-
|
|
727
|
-
template: "<
|
|
728
|
-
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
944
|
+
selector: 'sac-gridcolumn',
|
|
945
|
+
template: "<th\r\n scope=\"col\"\r\n *ngIf=\"IsHeader()\"\r\n [style.width]=\"width\"\r\n (click)=\"SortByColumn()\">\r\n <span>{{ header }}</span>\r\n <span\r\n [class]=\"IconSortUp\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() === 'asc'\"></span>\r\n <span\r\n [class]=\"IconSortDown\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() === 'desc'\"></span>\r\n</th>\r\n<td\r\n scope=\"col\"\r\n *ngIf=\"IsBody()\"\r\n [style.width]=\"width\"\r\n [class.ellipsis]=\"IsEllipsis()\"\r\n (click)=\"ColumnClick()\"\r\n [style.max-width]=\"IsEllipsis() ? width : null\"\r\n [style.overflow]=\"IsEllipsis() ? 'hidden' : null\"\r\n [style.text-overflow]=\"IsEllipsis() ? 'ellipsis' : null\"\r\n [style.white-space]=\"IsEllipsis() ? 'nowrap' : null\">\r\n <span\r\n [attr.title]=\"IsEllipsis() ? value : null\"\r\n [innerHtml]=\"value\"></span>\r\n</td>\r\n",
|
|
729
946
|
providers: [
|
|
730
|
-
{
|
|
731
|
-
|
|
947
|
+
{
|
|
948
|
+
provide: SacGridColumnBaseCommon,
|
|
949
|
+
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
950
|
+
},
|
|
732
951
|
]
|
|
733
952
|
},] }
|
|
734
953
|
];
|
|
735
|
-
|
|
736
|
-
{ type:
|
|
954
|
+
SacGridColumnComponent.ctorParameters = () => [
|
|
955
|
+
{ type: SacGridComponent },
|
|
956
|
+
{ type: Injector },
|
|
957
|
+
{ type: ElementRef }
|
|
737
958
|
];
|
|
738
959
|
|
|
739
960
|
class SacGridColumnActionComponent extends SacGridColumnActionCommon {
|
|
@@ -779,67 +1000,48 @@ SacGridImageComponent.decorators = [
|
|
|
779
1000
|
},] }
|
|
780
1001
|
];
|
|
781
1002
|
|
|
782
|
-
class
|
|
783
|
-
}
|
|
784
|
-
SACBootstrap3GridModule.decorators = [
|
|
785
|
-
{ type: NgModule, args: [{
|
|
786
|
-
declarations: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent],
|
|
787
|
-
imports: [
|
|
788
|
-
CommonModule
|
|
789
|
-
],
|
|
790
|
-
exports: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent]
|
|
791
|
-
},] }
|
|
792
|
-
];
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Tooltip Komponente
|
|
796
|
-
*
|
|
797
|
-
* @example ToolTip Control
|
|
798
|
-
*
|
|
799
|
-
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
800
|
-
* <i class="tooltip"></i>
|
|
801
|
-
* </ngTooltip>
|
|
802
|
-
*
|
|
803
|
-
* @example ToolTip Control im Inline Mode. Style auf Icon kann auch in Klasse ausgelagert werden.
|
|
804
|
-
*
|
|
805
|
-
* <div class="form-inline">
|
|
806
|
-
* <ngInputSearch iconname="Suchen"></ngInputSearch>
|
|
807
|
-
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
808
|
-
* <i class="tooltip" style="position: relative; left: 0; top: 3px; display: inline-block; margin-right: 10px;"></i>
|
|
809
|
-
* </ngTooltip>
|
|
810
|
-
* </div>
|
|
811
|
-
*
|
|
812
|
-
*/
|
|
813
|
-
class SacTooltipComponent extends SacTooltipCommon {
|
|
1003
|
+
class SacPagingComponent extends SacPagingCommon {
|
|
814
1004
|
/**
|
|
815
|
-
*
|
|
816
|
-
* @param parent SacFormular Instanz
|
|
817
|
-
* @param injector Component Injector
|
|
1005
|
+
* Konstruktor
|
|
818
1006
|
*/
|
|
819
|
-
constructor(
|
|
820
|
-
super(cdRef, ref);
|
|
821
|
-
}
|
|
1007
|
+
constructor(injector) { super(injector); }
|
|
822
1008
|
}
|
|
823
|
-
|
|
1009
|
+
SacPagingComponent.decorators = [
|
|
824
1010
|
{ type: Component, args: [{
|
|
825
|
-
selector: 'sac-
|
|
826
|
-
template: "<div
|
|
1011
|
+
selector: 'sac-paging',
|
|
1012
|
+
template: "<div class=\"row\">\r\n <div class=\"pager-nav col-sm-4\" id=\"{{name}}\">\r\n <ul class=\"pagination\" style=\"margin: 10px 0\">\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === firstPageIndex}\"\r\n >\r\n <a (click)=\"firstPage()\">\u00AB</a>\r\n </li>\r\n <li\r\n *ngFor=\"let page of paginators; let i = index\"\r\n [ngClass]=\"{'active': page === activePageIndex}\"\r\n >\r\n <a (click)=\"changePage(page)\">{{page + 1 }}</a>\r\n </li>\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === lastPageIndex}\"\r\n >\r\n <a (click)=\"lastPage()\">\u00BB</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-sm-4 text-center\" style=\"margin: 20px 0\">\r\n Seite {{getCurrentPageNumber()}} von {{getTotalPageNumber()}}\r\n </div>\r\n <div\r\n class=\"col-sm-4 text-right\"\r\n *ngIf=\"!pagesizedisabled\"\r\n style=\"margin: 12px 0\"\r\n >\r\n <div class=\"form-inline\">\r\n <div class=\"form-group\" id=\"{{name}}_size\">\r\n <select\r\n class=\"form-control form-control-sm\"\r\n style=\"width: 85px\"\r\n [ngModel]=\"pageSize\"\r\n (ngModelChange)=\"changePageSize($event)\"\r\n >\r\n <option [ngValue]=\"size\" *ngFor=\"let size of getPageSizes\">\r\n {{size}}\r\n </option>\r\n </select>\r\n <span style=\"margin-left: 5px\">{{ PageSizeText | async }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1013
|
+
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1014
|
+
providers: [
|
|
1015
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacPagingComponent },
|
|
1016
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacPagingComponent) }
|
|
1017
|
+
]
|
|
827
1018
|
},] }
|
|
828
1019
|
];
|
|
829
|
-
|
|
830
|
-
{ type:
|
|
831
|
-
{ type: ElementRef }
|
|
1020
|
+
SacPagingComponent.ctorParameters = () => [
|
|
1021
|
+
{ type: Injector }
|
|
832
1022
|
];
|
|
833
1023
|
|
|
834
|
-
class
|
|
1024
|
+
class SACBootstrap3GridModule {
|
|
835
1025
|
}
|
|
836
|
-
|
|
1026
|
+
SACBootstrap3GridModule.decorators = [
|
|
837
1027
|
{ type: NgModule, args: [{
|
|
838
|
-
declarations: [
|
|
839
|
-
|
|
840
|
-
|
|
1028
|
+
declarations: [
|
|
1029
|
+
SacGridComponent,
|
|
1030
|
+
SacGridColumnComponent,
|
|
1031
|
+
SacGridColumnActionComponent,
|
|
1032
|
+
SacPagingComponent,
|
|
1033
|
+
SacGridButtonComponent,
|
|
1034
|
+
SacGridImageComponent,
|
|
1035
|
+
],
|
|
1036
|
+
imports: [CommonModule, FormsModule],
|
|
1037
|
+
exports: [
|
|
1038
|
+
SacGridComponent,
|
|
1039
|
+
SacGridColumnComponent,
|
|
1040
|
+
SacGridColumnActionComponent,
|
|
1041
|
+
SacPagingComponent,
|
|
1042
|
+
SacGridButtonComponent,
|
|
1043
|
+
SacGridImageComponent,
|
|
841
1044
|
],
|
|
842
|
-
exports: [SacTooltipComponent]
|
|
843
1045
|
},] }
|
|
844
1046
|
];
|
|
845
1047
|
|
|
@@ -857,7 +1059,7 @@ class SacInputComponent extends SacInputCommon {
|
|
|
857
1059
|
SacInputComponent.decorators = [
|
|
858
1060
|
{ type: Component, args: [{
|
|
859
1061
|
selector: 'sac-input',
|
|
860
|
-
template: "<div\r\n
|
|
1062
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxtextlength\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
861
1063
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
862
1064
|
providers: [
|
|
863
1065
|
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
@@ -900,7 +1102,7 @@ class SacInputAreaComponent extends SacInputAreaCommon {
|
|
|
900
1102
|
SacInputAreaComponent.decorators = [
|
|
901
1103
|
{ type: Component, args: [{
|
|
902
1104
|
selector: 'sac-inputarea',
|
|
903
|
-
template: "<div\r\n
|
|
1105
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <textarea\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"\"\r\n class=\"form-control\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [class.validation-error]=\"invalid && (dirty || touched)\"\r\n [class.required]=\"isrequired\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.rows]=\"rows\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\">\r\n </textarea>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
904
1106
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
905
1107
|
providers: [
|
|
906
1108
|
{
|
|
@@ -935,7 +1137,7 @@ class SacInputCurrencyComponent extends SacInputCurrencyCommon {
|
|
|
935
1137
|
SacInputCurrencyComponent.decorators = [
|
|
936
1138
|
{ type: Component, args: [{
|
|
937
1139
|
selector: 'sac-inputcurrency',
|
|
938
|
-
template: "<div\r\n
|
|
1140
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.clearfix]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static pull-right\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n\r\n <div\r\n class=\"input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n <div class=\"input-group-addon\">{{ currency }}</div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
939
1141
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
940
1142
|
providers: [
|
|
941
1143
|
{
|
|
@@ -970,7 +1172,7 @@ class SacInputDecimalComponent extends SacInputDecimalCommon {
|
|
|
970
1172
|
SacInputDecimalComponent.decorators = [
|
|
971
1173
|
{ type: Component, args: [{
|
|
972
1174
|
selector: 'sac-inputdecimal',
|
|
973
|
-
template: "<div\r\n
|
|
1175
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
974
1176
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
975
1177
|
providers: [
|
|
976
1178
|
{
|
|
@@ -1005,7 +1207,7 @@ class SacInputEmailComponent extends SacInputEmailCommon {
|
|
|
1005
1207
|
SacInputEmailComponent.decorators = [
|
|
1006
1208
|
{ type: Component, args: [{
|
|
1007
1209
|
selector: 'sac-inputemail',
|
|
1008
|
-
template: "<div\r\n
|
|
1210
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.clearfix]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static pull-right\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n\r\n <div\r\n class=\"input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"input-group-addon\">@</div>\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n autocomplete=\"email\"\r\n [attr.maxlength]=\"maxtextlength\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1009
1211
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1010
1212
|
providers: [
|
|
1011
1213
|
{
|
|
@@ -1040,7 +1242,7 @@ class SacInputIntegerComponent extends SacInputIntegerCommon {
|
|
|
1040
1242
|
SacInputIntegerComponent.decorators = [
|
|
1041
1243
|
{ type: Component, args: [{
|
|
1042
1244
|
selector: 'sac-inputinteger',
|
|
1043
|
-
template: "<div\r\n
|
|
1245
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1044
1246
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1045
1247
|
providers: [
|
|
1046
1248
|
{
|
|
@@ -1075,7 +1277,7 @@ class SacInputPasswordComponent extends SacInputPasswordCommon {
|
|
|
1075
1277
|
SacInputPasswordComponent.decorators = [
|
|
1076
1278
|
{ type: Component, args: [{
|
|
1077
1279
|
selector: 'sac-inputpassword',
|
|
1078
|
-
template: "<div\r\n
|
|
1280
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n type=\"password\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxtextlength\"\r\n autocomplete=\"new-password\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1079
1281
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1080
1282
|
providers: [
|
|
1081
1283
|
{
|
|
@@ -1110,7 +1312,7 @@ class SacInputSearchComponent extends SacInputSearchCommon {
|
|
|
1110
1312
|
SacInputSearchComponent.decorators = [
|
|
1111
1313
|
{ type: Component, args: [{
|
|
1112
1314
|
selector: 'sac-inputsearch',
|
|
1113
|
-
template: "<div\r\n
|
|
1315
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.clearfix]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static pull-right\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n\r\n <div\r\n class=\"input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxtextlength\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\" />\r\n <span class=\"input-group-btn\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-default\"\r\n id=\"{{ name }}_search\"\r\n (click)=\"searchClick()\">\r\n <i\r\n *ngIf=\"buttonmode === 'icon' || buttonmode === 'mixed'\"\r\n [class]=\"iconname\"\r\n [style.margin-right.px]=\"buttonmode === 'mixed' ? 7 : null\">\r\n </i>\r\n <ng-container *ngIf=\"buttonmode === 'text' || buttonmode === 'mixed'\">{{ buttontext }}</ng-container>\r\n </button>\r\n </span>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </div>\r\n</div>\r\n",
|
|
1114
1316
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1115
1317
|
providers: [
|
|
1116
1318
|
{
|
|
@@ -1182,7 +1384,7 @@ class SacDropdownComponent extends SacDropdownCommon {
|
|
|
1182
1384
|
SacDropdownComponent.decorators = [
|
|
1183
1385
|
{ type: Component, args: [{
|
|
1184
1386
|
selector: 'sac-dropdown',
|
|
1185
|
-
template: "<div\r\n
|
|
1387
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <select\r\n #dropdownitem\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue(dropdownitem.value)\"\r\n [disabled]=\"isdisabled\">\r\n <option\r\n *ngIf=\"emptylabel !== ''\"\r\n [ngValue]=\"emptyvalue\">\r\n {{ emptylabel }}\r\n </option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let item of options\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: item[optionlabel], item: item }\"> </ng-template>\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let group of options\"\r\n [attr.label]=\"group[grouplabel]\">\r\n <option\r\n *ngFor=\"let item of group[groupitems]\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: item[optionlabel], item: item }\"> </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template\r\n #defaultItemLabelTemplate\r\n let-label=\"label\">\r\n {{ label }}\r\n</ng-template>\r\n",
|
|
1186
1388
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1187
1389
|
providers: [
|
|
1188
1390
|
{
|
|
@@ -1240,7 +1442,7 @@ class SacListboxComponent extends SacListboxCommon {
|
|
|
1240
1442
|
SacListboxComponent.decorators = [
|
|
1241
1443
|
{ type: Component, args: [{
|
|
1242
1444
|
selector: 'sac-listbox',
|
|
1243
|
-
template: "<div\r\n
|
|
1445
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <select\r\n multiple\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n class=\"form-control\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [size]=\"rowsize\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"getSelectedItems($event.target)\"\r\n [disabled]=\"isdisabled\">\r\n <ng-content></ng-content>\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let option of options\"\r\n [value]=\"option[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && option[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: option[optionlabel] }\"> </ng-template>\r\n </option>\r\n </ng-container>\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let option of options\"\r\n [attr.label]=\"option[grouplabel]\">\r\n <option\r\n *ngFor=\"let item of option[groupitems]\"\r\n [value]=\"item[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: item[optionlabel] }\"> </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template\r\n #defaultItemLabelTemplate\r\n let-label=\"label\">\r\n {{ label }}\r\n</ng-template>\r\n",
|
|
1244
1446
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1245
1447
|
providers: [
|
|
1246
1448
|
{
|
|
@@ -1273,6 +1475,7 @@ SACBootstrap3ListModule.decorators = [
|
|
|
1273
1475
|
imports: [
|
|
1274
1476
|
CommonModule,
|
|
1275
1477
|
SACCommonListboxOptionModule,
|
|
1478
|
+
SACBootstrap3TooltipModule,
|
|
1276
1479
|
FormsModule,
|
|
1277
1480
|
SACBootstrap3LayoutModule,
|
|
1278
1481
|
],
|
|
@@ -1312,7 +1515,7 @@ class SacStaticFormContainerComponent extends SacStaticFormContainerCommon {
|
|
|
1312
1515
|
SacStaticFormContainerComponent.decorators = [
|
|
1313
1516
|
{ type: Component, args: [{
|
|
1314
1517
|
selector: 'sac-staticformcontainer',
|
|
1315
|
-
template: "<div\r\n
|
|
1518
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"isinvalid && errormessage\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <ng-content></ng-content>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && isinvalid && errormessage\">\r\n {{ errormessage }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1316
1519
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1317
1520
|
providers: [
|
|
1318
1521
|
{
|
|
@@ -1347,7 +1550,7 @@ class SacStaticLabelComponent extends SacStaticLabelCommon {
|
|
|
1347
1550
|
SacStaticLabelComponent.decorators = [
|
|
1348
1551
|
{ type: Component, args: [{
|
|
1349
1552
|
selector: 'sac-staticlabel',
|
|
1350
|
-
template: "<div
|
|
1553
|
+
template: "<div\r\n class=\"row form-group\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div\r\n [id]=\"name\"\r\n class=\"form-control-static\"\r\n [style.padding-left.px]=\"0\"\r\n [innerHTML]=\"value\">\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </div>\r\n</div>\r\n",
|
|
1351
1554
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1352
1555
|
providers: [
|
|
1353
1556
|
{
|
|
@@ -1399,7 +1602,7 @@ class SacTabComponent extends SacTabCommon {
|
|
|
1399
1602
|
SacTabComponent.decorators = [
|
|
1400
1603
|
{ type: Component, args: [{
|
|
1401
1604
|
selector: 'sac-tab',
|
|
1402
|
-
template: "<!-- Nav tabs -->\r\n<div [id]=\"name\" class=\"content-nav-tabs\">\r\n <ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li\r\n *ngFor=\"let item of _tabItems\"\r\n [ngClass]=\"{ 'active show': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item._disabled ? 'not-allowed' : 'pointer'}\"\r\n >\r\n <a [id]=\"GetTabItemButtonId(item.
|
|
1605
|
+
template: "<!-- Nav tabs -->\r\n<div [id]=\"name\" class=\"content-nav-tabs\">\r\n <ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li\r\n *ngFor=\"let item of _tabItems\"\r\n [ngClass]=\"{ 'active show': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item._disabled ? 'not-allowed' : 'pointer'}\"\r\n >\r\n <a [id]=\"GetTabItemButtonId(item.id)\" role=\"tab\">\r\n <ng-template\r\n *ngTemplateOutlet=\"tablabeltemplate || defaultTabLabelTemplate;context:{ label: item.label }\"\r\n >\r\n </ng-template>\r\n </a>\r\n </li>\r\n </ul>\r\n</div>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content\" style=\"margin-top: 15px\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #defaultTabLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\r\n"
|
|
1403
1606
|
},] }
|
|
1404
1607
|
];
|
|
1405
1608
|
SacTabComponent.propDecorators = {
|
|
@@ -1442,7 +1645,7 @@ class SacTinyMceComponent extends SacTinyMceCommon {
|
|
|
1442
1645
|
SacTinyMceComponent.decorators = [
|
|
1443
1646
|
{ type: Component, args: [{
|
|
1444
1647
|
selector: 'sac-tinymce',
|
|
1445
|
-
template: "<div\r\n
|
|
1648
|
+
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.has-error]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div [style.flex-grow]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 1 : null\">\r\n <editor\r\n [id]=\"name + '_tinymce'\"\r\n [init]=\"_config\"\r\n [initialValue]=\"value\"\r\n ngModel\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"setValue($event)\"\r\n (onSaveContent)=\"save($event.event.content)\"\r\n [disabled]=\"disabled\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"></editor>\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"help-block\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<sac-dialog\r\n *ngIf=\"selectdialogvisible\"\r\n [allowesc]=\"false\"\r\n [backdrop]=\"true\"\r\n [(isvisible)]=\"selectdialogvisible\"\r\n title=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectDialogtitle) | async }}\"\r\n size=\"large\"\r\n height=\"500px\">\r\n <ng-container dialogbody> </ng-container>\r\n <ng-container dialogfooter>\r\n <sac-button\r\n role=\"primary\"\r\n [name]=\"name + '_modalOk'\"\r\n text=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectOk) | async }}\"\r\n (clicked)=\"setSelectDialogResult()\"></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectCancel) | async }}\"\r\n (clicked)=\"closeSelectDialog()\"></sac-button>\r\n </ng-container>\r\n</sac-dialog>\r\n",
|
|
1446
1649
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1447
1650
|
providers: [
|
|
1448
1651
|
{
|
|
@@ -1476,54 +1679,159 @@ SACBootstrap3TinyMceModule.decorators = [
|
|
|
1476
1679
|
SACBootstrap3ButtonModule,
|
|
1477
1680
|
SACBootstrap3DialogModule,
|
|
1478
1681
|
SACBootstrap3LayoutModule,
|
|
1682
|
+
SACBootstrap3TooltipModule,
|
|
1479
1683
|
],
|
|
1480
1684
|
exports: [SacTinyMceComponent],
|
|
1481
1685
|
},] }
|
|
1482
1686
|
];
|
|
1483
1687
|
|
|
1484
|
-
|
|
1688
|
+
/**
|
|
1689
|
+
* Treeview Compomnent
|
|
1690
|
+
*/
|
|
1691
|
+
class SacTreeviewComponent extends SacTreeviewCommon {
|
|
1692
|
+
// #region Constructors
|
|
1693
|
+
/**
|
|
1694
|
+
* Constructor
|
|
1695
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1696
|
+
* @param injector Component Injector
|
|
1697
|
+
*/
|
|
1698
|
+
constructor(formLayout, injector) {
|
|
1699
|
+
super(formLayout, injector);
|
|
1700
|
+
}
|
|
1485
1701
|
}
|
|
1486
|
-
|
|
1702
|
+
SacTreeviewComponent.decorators = [
|
|
1487
1703
|
{ type: Component, args: [{
|
|
1488
1704
|
selector: 'sac-treeview',
|
|
1489
|
-
template: "<div
|
|
1705
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\"\r\n [class.has-error]=\"invalid && (dirty || touched)\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.has-error]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n <div [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div [style.width.%]=\"helptextmode === 'tooltip' && helptext && disablelabel ? '100' : null\">\r\n <table\r\n class=\"table table-hover table-condensed\"\r\n id=\"{{ name }}\"\r\n style=\"table-layout: fixed\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [class.border]=\"invalid && (dirty || touched)\"\r\n [class.border-danger]=\"invalid && (dirty || touched)\">\r\n <tbody>\r\n <ng-container *ngFor=\"let node of data\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{ node: node, deep: 0, path: '', textpath: '' }\">\r\n </ng-template>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"help-block\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template\r\n #treeItem\r\n let-node=\"node\"\r\n let-deep=\"deep\"\r\n let-path=\"path\"\r\n let-textpath=\"textpath\">\r\n <tr\r\n [class.active]=\"isSelectedState(node)\"\r\n attr.data-path=\"{{ path }}/{{ getStringField(node, attrid) }}\"\r\n attr.data-textpath=\"{{ textpath }}/{{ getStringField(node, attrlabel) }}\">\r\n <td>\r\n <div\r\n class=\"py-1 px-2 d-flex align-items-center\"\r\n style=\"display: flex; flex-direction: row; cursor: pointer; align-items: center\"\r\n (mouseenter)=\"setHoverState(node, true)\"\r\n (mouseleave)=\"setHoverState(node, false)\">\r\n <div\r\n style=\"margin-right: 15px\"\r\n *ngFor=\"let i of count(deep)\">\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n *ngIf=\"expandedstate === 'true' || expandedstate === true\"\r\n style=\"margin-right: 15px\"\r\n [ngClass]=\"!hasChildren(node) ? iconFolderEmpty : !isExpandedState(node) ? iconFolderCollabsed : isExpandedState(node) ? iconFolderOpen : ''\">\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n *ngIf=\"attricon && getStringField(node, attricon)\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templateicon || defaultTemplateIcon\"\r\n [ngTemplateOutletContext]=\"{ node: node }\">\r\n </ng-template>\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n style=\"padding-top: 7px; padding-bottom: 7px; flex-grow: 1\"\r\n [style.max-width.%]=\"enableellipsis ? '100' : null\"\r\n [style.overflow]=\"enableellipsis ? 'hidden' : null\"\r\n [style.text-overflow]=\"enableellipsis ? 'ellipsis' : null\"\r\n [style.white-space]=\"enableellipsis ? 'nowrap' : null\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templatelabel || defaultTemplateLabel\"\r\n [ngTemplateOutletContext]=\"{ node: node, label: getStringField(node, attrlabel) }\">\r\n </ng-template>\r\n </div>\r\n\r\n <div\r\n (click)=\"setSelectedState(node)\"\r\n style=\"flex-shrink: 0\"\r\n *ngIf=\"!isDisabledState(node) && (showactionalways || isSelectedState(node) || isHoverState(node))\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templateaction || defaultTemplateAction\"\r\n [ngTemplateOutletContext]=\"{ node: node, actionhandler: onActionClicked.bind(this) }\">\r\n </ng-template>\r\n </div>\r\n </div>\r\n </td>\r\n </tr>\r\n <ng-container *ngIf=\"isExpandedState(node)\">\r\n <ng-template\r\n *ngFor=\"let child of getChildren(node)\"\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{\r\n node: child,\r\n deep: deep + 1,\r\n path: path + '/' + getStringField(node, attrid),\r\n textpath: textpath + '/' + getStringField(node, attrlabel)\r\n }\">\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>\r\n\r\n<ng-template\r\n #defaultTemplateLabel\r\n let-label=\"label\"\r\n let-node=\"node\">\r\n <span [title]=\"label\">\r\n {{ label }}\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template\r\n #defaultTemplateIcon\r\n let-node=\"node\">\r\n <div\r\n style=\"margin-right: 15px\"\r\n [ngClass]=\"getStringField(node, attricon)\">\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template\r\n #defaultTemplateAction\r\n let-node=\"node\"\r\n let-actionhandler=\"actionhandler\">\r\n <a\r\n class=\"btn btn-link text-secondary\"\r\n (click)=\"actionhandler({ action: 'default', node: node })\">\r\n <i [class]=\"iconAction\"></i>\r\n </a>\r\n</ng-template>\r\n",
|
|
1706
|
+
providers: [
|
|
1707
|
+
{
|
|
1708
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1709
|
+
multi: true,
|
|
1710
|
+
useExisting: SacTreeviewComponent,
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
provide: NG_VALIDATORS,
|
|
1714
|
+
useExisting: forwardRef(() => SacTreeviewComponent),
|
|
1715
|
+
multi: true,
|
|
1716
|
+
},
|
|
1717
|
+
]
|
|
1490
1718
|
},] }
|
|
1719
|
+
];
|
|
1720
|
+
SacTreeviewComponent.ctorParameters = () => [
|
|
1721
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
1722
|
+
{ type: Injector }
|
|
1491
1723
|
];
|
|
1492
1724
|
|
|
1493
|
-
class
|
|
1725
|
+
class SACBootstrap3TreeviewModule {
|
|
1494
1726
|
}
|
|
1495
|
-
|
|
1496
|
-
{ type:
|
|
1497
|
-
|
|
1498
|
-
|
|
1727
|
+
SACBootstrap3TreeviewModule.decorators = [
|
|
1728
|
+
{ type: NgModule, args: [{
|
|
1729
|
+
declarations: [SacTreeviewComponent],
|
|
1730
|
+
imports: [CommonModule, SACBootstrap3TooltipModule, SACBootstrap3LayoutModule, SACBootstrap3ContextmenuModule],
|
|
1731
|
+
exports: [SacTreeviewComponent],
|
|
1499
1732
|
},] }
|
|
1500
1733
|
];
|
|
1501
1734
|
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1735
|
+
/**
|
|
1736
|
+
* Dropzone Komponente für mehrere Uploads
|
|
1737
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
1738
|
+
*/
|
|
1739
|
+
class SacDropzoneMultipleComponent extends SacDropzoneMultipleCommon {
|
|
1740
|
+
// #region Constructors
|
|
1741
|
+
/**
|
|
1742
|
+
* Constructor
|
|
1743
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1744
|
+
* @param injector Injector for injecting services
|
|
1745
|
+
* @param renderer Angular rendering engine
|
|
1746
|
+
* @param ngZone ngZone to manage external javascripts
|
|
1747
|
+
*/
|
|
1748
|
+
constructor(formLayout, injector, renderer, ngZone) {
|
|
1749
|
+
super(formLayout, injector, renderer, ngZone);
|
|
1750
|
+
}
|
|
1751
|
+
// #endregion Constructors
|
|
1752
|
+
// #region Public Methods
|
|
1753
|
+
/**
|
|
1754
|
+
* Initialisiert das Control
|
|
1755
|
+
*/
|
|
1756
|
+
ngOnInit() {
|
|
1757
|
+
super.ngOnInit();
|
|
1505
1758
|
}
|
|
1506
1759
|
}
|
|
1507
|
-
|
|
1760
|
+
SacDropzoneMultipleComponent.decorators = [
|
|
1508
1761
|
{ type: Component, args: [{
|
|
1509
|
-
selector: 'sac-
|
|
1510
|
-
template: "<
|
|
1762
|
+
selector: 'sac-dropzonemultiple',
|
|
1763
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div [style.flex-grow]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 1 : null\">\r\n <div\r\n class=\"img-rounded dropzone control-label\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [class.active]=\"active\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\">\r\n <div\r\n class=\"content\"\r\n *ngIf=\"uploads.length === 0\">\r\n <div>\r\n <div [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"uploads.length > 0\">\r\n <div>\r\n <div\r\n class=\"dropzone-uploadstates\"\r\n [class.mt-1]=\"i > 0\"\r\n *ngFor=\"let file of uploads; let i = index\">\r\n <div\r\n class=\"input-group upload-component upload-component-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n multiple\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\" />\r\n </div>\r\n <small\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </small>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"help-block help-block-error\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1764
|
+
providers: [
|
|
1765
|
+
{
|
|
1766
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1767
|
+
multi: true,
|
|
1768
|
+
useExisting: SacDropzoneMultipleComponent,
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
provide: NG_VALIDATORS,
|
|
1772
|
+
multi: true,
|
|
1773
|
+
useExisting: forwardRef(() => SacDropzoneMultipleComponent),
|
|
1774
|
+
},
|
|
1775
|
+
],
|
|
1776
|
+
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone{border-style:dashed;border-width:2px;min-height:120px;padding-bottom:50px;padding-top:50px;position:relative;text-align:center;width:100%}.dropzone.active{background-color:#add8e6}.dropzone .progress{border-radius:0}.dropzone .progress .progress-bar{border-bottom-right-radius:0;border-top-right-radius:0;display:flex;flex-direction:column;justify-content:center;text-align:center}.dropzone .progress .progress-bar .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone input[type=file]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;width:100%}.dropzone .dropzone-uploadstates{margin-left:auto;margin-right:auto;margin-top:6px;max-width:450px;width:80%}"]
|
|
1511
1777
|
},] }
|
|
1512
1778
|
];
|
|
1513
|
-
|
|
1514
|
-
{ type:
|
|
1779
|
+
SacDropzoneMultipleComponent.ctorParameters = () => [
|
|
1780
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
1781
|
+
{ type: Injector },
|
|
1782
|
+
{ type: Renderer2 },
|
|
1783
|
+
{ type: NgZone }
|
|
1515
1784
|
];
|
|
1516
1785
|
|
|
1517
|
-
|
|
1786
|
+
/**
|
|
1787
|
+
* Dropzone Komponente für den Upload eines Files
|
|
1788
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
1789
|
+
*/
|
|
1790
|
+
class SacDropzoneSingleComponent extends SacDropzoneSingleCommon {
|
|
1791
|
+
// #region Constructors
|
|
1792
|
+
/**
|
|
1793
|
+
* Constructor
|
|
1794
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1795
|
+
* @param injector Injector for injecting services
|
|
1796
|
+
* @param renderer Angular rendering engine
|
|
1797
|
+
* @param ngZone ngZone to manage external javascripts
|
|
1798
|
+
*/
|
|
1799
|
+
constructor(formLayout, injector, renderer, ngZone) {
|
|
1800
|
+
super(formLayout, injector, renderer, ngZone);
|
|
1801
|
+
}
|
|
1802
|
+
// #endregion Constructors
|
|
1803
|
+
// #region Public Methods
|
|
1804
|
+
/**
|
|
1805
|
+
* Initialisiert das Control
|
|
1806
|
+
*/
|
|
1807
|
+
ngOnInit() {
|
|
1808
|
+
super.ngOnInit();
|
|
1809
|
+
}
|
|
1518
1810
|
}
|
|
1519
|
-
|
|
1520
|
-
{ type:
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1811
|
+
SacDropzoneSingleComponent.decorators = [
|
|
1812
|
+
{ type: Component, args: [{
|
|
1813
|
+
selector: 'sac-dropzonesingle',
|
|
1814
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div [style.flex-grow]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 1 : null\">\r\n <div\r\n class=\"img-rounded dropzone control-label\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.active]=\"active\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\">\r\n <div\r\n class=\"content\"\r\n *ngIf=\"uploads.length === 0\">\r\n <div>\r\n <div [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"uploads.length > 0\">\r\n <div>\r\n <div\r\n class=\"dropzone-uploadstates\"\r\n *ngFor=\"let file of uploads\">\r\n <div\r\n class=\"input-group upload-component upload-component-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"form-control upload-progress\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\" />\r\n </div>\r\n <small\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </small>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"help-block help-block-error\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1815
|
+
providers: [
|
|
1816
|
+
{
|
|
1817
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1818
|
+
multi: true,
|
|
1819
|
+
useExisting: SacDropzoneSingleComponent,
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
provide: NG_VALIDATORS,
|
|
1823
|
+
multi: true,
|
|
1824
|
+
useExisting: forwardRef(() => SacDropzoneSingleComponent),
|
|
1825
|
+
},
|
|
1524
1826
|
],
|
|
1525
|
-
|
|
1827
|
+
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone{border-style:dashed;border-width:2px;min-height:120px;padding-bottom:50px;padding-top:50px;position:relative;text-align:center;width:100%}.dropzone.active{background-color:#add8e6}.dropzone .progress{border-radius:0}.dropzone .progress .progress-bar{border-bottom-right-radius:0;border-top-right-radius:0;display:flex;flex-direction:column;justify-content:center;text-align:center}.dropzone .progress .progress-bar .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone input[type=file]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;width:100%}.dropzone .dropzone-uploadstates{margin-left:auto;margin-right:auto;margin-top:6px;max-width:450px;width:80%}"]
|
|
1526
1828
|
},] }
|
|
1829
|
+
];
|
|
1830
|
+
SacDropzoneSingleComponent.ctorParameters = () => [
|
|
1831
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: Host }, { type: Optional }] },
|
|
1832
|
+
{ type: Injector },
|
|
1833
|
+
{ type: Renderer2 },
|
|
1834
|
+
{ type: NgZone }
|
|
1527
1835
|
];
|
|
1528
1836
|
|
|
1529
1837
|
// https://github.com/kukhariev/ngx-uploadx/
|
|
@@ -1543,7 +1851,7 @@ class SacUploadComponent extends SacUploadSingleCommon {
|
|
|
1543
1851
|
SacUploadComponent.decorators = [
|
|
1544
1852
|
{ type: Component, args: [{
|
|
1545
1853
|
selector: 'sac-upload',
|
|
1546
|
-
template: "<div\r\n
|
|
1854
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div [style.flex-grow]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 1 : null\">\r\n <div\r\n class=\"input-group upload-component upload-single\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"input-group-btn\">\r\n <!-- image-preview-input -->\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"HasQueueItem()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <i [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\">{{ lngResourceService.GetString(validationKeyService.UploadButtonBrowse) | async }}</span>\r\n <input\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"HasQueueItem()\" />\r\n </div>\r\n </div>\r\n <div class=\"form-control upload-progress\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"Progress() === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"Progress()\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"Progress()\">\r\n <span class=\"progress-text text-dark\">{{ Filename() | async }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"input-group-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconUpload\"></span> {{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1547
1855
|
providers: [
|
|
1548
1856
|
{
|
|
1549
1857
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -1556,7 +1864,7 @@ SacUploadComponent.decorators = [
|
|
|
1556
1864
|
useExisting: forwardRef(() => SacUploadComponent),
|
|
1557
1865
|
},
|
|
1558
1866
|
],
|
|
1559
|
-
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}"]
|
|
1867
|
+
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone{border-style:dashed;border-width:2px;min-height:120px;padding-bottom:50px;padding-top:50px;position:relative;text-align:center;width:100%}.dropzone.active{background-color:#add8e6}.dropzone .progress{border-radius:0}.dropzone .progress .progress-bar{border-bottom-right-radius:0;border-top-right-radius:0;display:flex;flex-direction:column;justify-content:center;text-align:center}.dropzone .progress .progress-bar .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone input[type=file]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;width:100%}.dropzone .dropzone-uploadstates{margin-left:auto;margin-right:auto;margin-top:6px;max-width:450px;width:80%}"]
|
|
1560
1868
|
},] }
|
|
1561
1869
|
];
|
|
1562
1870
|
SacUploadComponent.ctorParameters = () => [
|
|
@@ -1583,7 +1891,7 @@ class SacUploadMultipleComponent extends SacUploadMultipleCommon {
|
|
|
1583
1891
|
SacUploadMultipleComponent.decorators = [
|
|
1584
1892
|
{ type: Component, args: [{
|
|
1585
1893
|
selector: 'sac-uploadmultiple',
|
|
1586
|
-
template: "<div\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only' ]\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-xs-12\">\r\n <div\r\n class=\"btn-group\"\r\n [class.btn-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.btn-group-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\">Browse</span>\r\n <input\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n />\r\n </div>\r\n\r\n <div\r\n class=\"btn-group\"\r\n [class.btn-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.btn-group-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString(validationKeyService.UploadButtonUpload)\r\n | async }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngFor=\"let file of uploads\" style=\"margin-top: 5px\">\r\n <div\r\n class=\"input-group upload-component upload-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <div class=\"form-control upload-progress\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"input-group-btn\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && file.status !== 'paused')\"\r\n class=\"btn\"\r\n (click)=\"pause(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'uploading' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString(validationKeyService.UploadButtonUpload)\r\n | async }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1894
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row form-group\"\r\n [class.has-error]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-xs-12 control-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'sr-only']\"\r\n [class.required]=\"isrequired\">\r\n <span class=\"text\">{{ label }}</span>\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-xs-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div\r\n class=\"col-xs-12\"\r\n [style.display]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 'flex' : null\">\r\n <div\r\n class=\"btn-group\"\r\n [class.btn-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.btn-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <i [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\">Browse</span>\r\n <input\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\" />\r\n </div>\r\n\r\n <div\r\n class=\"btn-group\"\r\n [class.btn-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.btn-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconUpload\"></span> {{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-static\"\r\n style=\"margin-left: 5px\">\r\n <sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [class]=\"HelptextTooltipIcon\"\r\n style=\"margin-left: 5px; margin-right: 5px\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngFor=\"let file of uploads\"\r\n style=\"margin-top: 5px\">\r\n <div\r\n class=\"input-group upload-component upload-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"form-control upload-progress\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"input-group-btn\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && file.status !== 'paused')\"\r\n class=\"btn\"\r\n (click)=\"pause(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'uploading' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\">\r\n <span [class]=\"IconUpload\"></span> {{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <p\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"help-block\">\r\n {{ helptext }}\r\n </p>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1587
1895
|
providers: [
|
|
1588
1896
|
{
|
|
1589
1897
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -1596,7 +1904,7 @@ SacUploadMultipleComponent.decorators = [
|
|
|
1596
1904
|
useExisting: forwardRef(() => SacUploadMultipleComponent),
|
|
1597
1905
|
},
|
|
1598
1906
|
],
|
|
1599
|
-
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}"]
|
|
1907
|
+
styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{bottom:0;display:inline-block;left:0;margin:0;opacity:0;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:2}.upload-component.upload-multiple .upload-progress .progress{border-bottom-right-radius:0;border-top-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone{border-style:dashed;border-width:2px;min-height:120px;padding-bottom:50px;padding-top:50px;position:relative;text-align:center;width:100%}.dropzone.active{background-color:#add8e6}.dropzone .progress{border-radius:0}.dropzone .progress .progress-bar{border-bottom-right-radius:0;border-top-right-radius:0;display:flex;flex-direction:column;justify-content:center;text-align:center}.dropzone .progress .progress-bar .progress-text{color:#000;display:table-cell;height:34px;left:0;line-height:34px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.dropzone input[type=file]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;width:100%}.dropzone .dropzone-uploadstates{margin-left:auto;margin-right:auto;margin-top:6px;max-width:450px;width:80%}"]
|
|
1600
1908
|
},] }
|
|
1601
1909
|
];
|
|
1602
1910
|
SacUploadMultipleComponent.ctorParameters = () => [
|
|
@@ -1610,9 +1918,14 @@ class SACBootstrap3UploadModule {
|
|
|
1610
1918
|
}
|
|
1611
1919
|
SACBootstrap3UploadModule.decorators = [
|
|
1612
1920
|
{ type: NgModule, args: [{
|
|
1613
|
-
declarations: [
|
|
1614
|
-
|
|
1615
|
-
|
|
1921
|
+
declarations: [
|
|
1922
|
+
SacUploadComponent,
|
|
1923
|
+
SacUploadMultipleComponent,
|
|
1924
|
+
SacDropzoneSingleComponent,
|
|
1925
|
+
SacDropzoneMultipleComponent,
|
|
1926
|
+
],
|
|
1927
|
+
imports: [CommonModule, FormsModule, SACBootstrap3LayoutModule, SACBootstrap3TooltipModule],
|
|
1928
|
+
exports: [SacUploadComponent, SacUploadMultipleComponent, SacDropzoneSingleComponent, SacDropzoneMultipleComponent],
|
|
1616
1929
|
},] }
|
|
1617
1930
|
];
|
|
1618
1931
|
|
|
@@ -1744,71 +2057,58 @@ SACBootstrap3WizardModule.decorators = [
|
|
|
1744
2057
|
},] }
|
|
1745
2058
|
];
|
|
1746
2059
|
|
|
2060
|
+
// #region Classes
|
|
1747
2061
|
/**
|
|
1748
|
-
*
|
|
1749
|
-
* @param form NgFormular
|
|
1750
|
-
*/
|
|
1751
|
-
function SACFORM_FACTORY(form) {
|
|
1752
|
-
return form;
|
|
1753
|
-
}
|
|
1754
|
-
/**
|
|
1755
|
-
* Factory Methode für NgForm
|
|
1756
|
-
* @param form NgForm
|
|
1757
|
-
*/
|
|
1758
|
-
function NGFORM_FACTORY(form) {
|
|
1759
|
-
return form;
|
|
1760
|
-
}
|
|
1761
|
-
/**
|
|
1762
|
-
* Directive zum erben eines NgForm/NgFormular einer übergeordneten Komponente
|
|
1763
|
-
*
|
|
1764
|
-
* @example Implementation in Markup
|
|
1765
|
-
*
|
|
1766
|
-
* <div sacInheritForm>
|
|
1767
|
-
* </div>
|
|
1768
|
-
*
|
|
1769
|
-
* @example Model an Sub-Komponente übergeben
|
|
1770
|
-
*
|
|
1771
|
-
* <div sacInheritForm>
|
|
1772
|
-
* <div>SubForm</div>
|
|
1773
|
-
* <div>
|
|
1774
|
-
* <ngInput [(ngModel)]="mymodel.fieldarea2" name="subformField3" label="field 3" [isrequired]="true"></ngInput>
|
|
1775
|
-
* </div>
|
|
1776
|
-
* </div>
|
|
1777
|
-
*
|
|
1778
|
-
*
|
|
1779
|
-
* (at)Component({
|
|
1780
|
-
* selector: 'sacInheritForm',
|
|
1781
|
-
* templateUrl: './subform.component.html'
|
|
1782
|
-
* })
|
|
1783
|
-
* export class SubFormComponent implements DoCheck {
|
|
1784
|
-
*
|
|
1785
|
-
* (at)Input() mymodel;
|
|
1786
|
-
* (at)Output() mymodelChange = new EventEmitter();
|
|
1787
|
-
*
|
|
1788
|
-
* ngDoCheck() {
|
|
1789
|
-
* this.mymodelChange.next(this.mymodel);
|
|
1790
|
-
* }
|
|
1791
|
-
*}
|
|
1792
|
-
*
|
|
2062
|
+
* Directive to inherit an NgForm/NgForm from a parent component
|
|
1793
2063
|
*/
|
|
1794
|
-
class SacInheritFormDirective {
|
|
2064
|
+
class SacInheritFormDirective extends SacFormCommon {
|
|
2065
|
+
// #region Constructors
|
|
2066
|
+
/**
|
|
2067
|
+
* Construtor
|
|
2068
|
+
* @param injector: injector to receive the NgForm instance
|
|
2069
|
+
*/
|
|
2070
|
+
constructor(injector) {
|
|
2071
|
+
super(injector.get(NgForm));
|
|
2072
|
+
}
|
|
1795
2073
|
}
|
|
1796
2074
|
SacInheritFormDirective.decorators = [
|
|
1797
2075
|
{ type: Directive, args: [{
|
|
1798
2076
|
selector: '[sacInheritForm]',
|
|
2077
|
+
exportAs: 'sacinheritform',
|
|
1799
2078
|
providers: [
|
|
1800
2079
|
{
|
|
1801
2080
|
provide: SacFormDirective,
|
|
1802
2081
|
useFactory: SACFORM_FACTORY,
|
|
1803
|
-
deps: [[new SkipSelf(), SacFormDirective]]
|
|
1804
|
-
},
|
|
2082
|
+
deps: [[new SkipSelf(), SacFormDirective]],
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
1805
2085
|
provide: ControlContainer,
|
|
1806
2086
|
useFactory: NGFORM_FACTORY,
|
|
1807
|
-
deps: [NgForm]
|
|
1808
|
-
}
|
|
1809
|
-
]
|
|
2087
|
+
deps: [NgForm],
|
|
2088
|
+
},
|
|
2089
|
+
],
|
|
1810
2090
|
},] }
|
|
1811
|
-
];
|
|
2091
|
+
];
|
|
2092
|
+
SacInheritFormDirective.ctorParameters = () => [
|
|
2093
|
+
{ type: Injector }
|
|
2094
|
+
];
|
|
2095
|
+
// #endregion Classes
|
|
2096
|
+
// #region Functions
|
|
2097
|
+
/**
|
|
2098
|
+
* Factory Methode für NgForm
|
|
2099
|
+
* @param form NgForm
|
|
2100
|
+
*/
|
|
2101
|
+
function NGFORM_FACTORY(form) {
|
|
2102
|
+
return form;
|
|
2103
|
+
}
|
|
2104
|
+
/**
|
|
2105
|
+
* Factory Methode für SacForm
|
|
2106
|
+
* @param form NgFormular
|
|
2107
|
+
*/
|
|
2108
|
+
function SACFORM_FACTORY(form) {
|
|
2109
|
+
return form;
|
|
2110
|
+
}
|
|
2111
|
+
// #endregion Functions
|
|
1812
2112
|
|
|
1813
2113
|
class SACBootstrap3FormModule {
|
|
1814
2114
|
}
|
|
@@ -1828,5 +2128,5 @@ SACBootstrap3FormModule.decorators = [
|
|
|
1828
2128
|
* Generated bundle index. Do not edit.
|
|
1829
2129
|
*/
|
|
1830
2130
|
|
|
1831
|
-
export { NGFORM_FACTORY, SACBootstrap3ButtonModule, SACBootstrap3CheckboxModule, SACBootstrap3ConfirmModule, SACBootstrap3DateTimeModule, SACBootstrap3DialogModule, SACBootstrap3FormModule, SACBootstrap3GridModule, SACBootstrap3InputModule, SACBootstrap3LayoutModule, SACBootstrap3ListModule, SACBootstrap3StaticLabelModule, SACBootstrap3TabsModule, SACBootstrap3TinyMceModule, SACBootstrap3TooltipModule,
|
|
2131
|
+
export { NGFORM_FACTORY, SACBootstrap3ButtonModule, SACBootstrap3CheckboxModule, SACBootstrap3ConfirmModule, SACBootstrap3ContextmenuModule, SACBootstrap3DateTimeModule, SACBootstrap3DialogModule, SACBootstrap3FormModule, SACBootstrap3GridModule, SACBootstrap3InputModule, SACBootstrap3LayoutModule, SACBootstrap3ListModule, SACBootstrap3StaticLabelModule, SACBootstrap3TabsModule, SACBootstrap3TinyMceModule, SACBootstrap3TooltipModule, SACBootstrap3TreeviewModule, SACBootstrap3UploadModule, SACBootstrap3ValidationSummaryModule, SACBootstrap3WizardModule, SACFORM_FACTORY, SacButtonComponent, SacCheckboxComponent, SacConfirmComponent, SacContextmenuAnchorDirective, SacContextmenuComponent, SacContextmenuItemButtonComponent, SacContextmenuItemSplitterComponent, SacDateComponent, SacDateSelectorComponent, SacDateTimeComponent, SacDialogComponent, SacDropdownComponent, SacDropdownOptionDirective, SacDropzoneMultipleComponent, SacDropzoneSingleComponent, SacFormDirective, SacFormLayoutDirective, SacGridButtonComponent, SacGridColumnActionComponent, SacGridColumnComponent, SacGridComponent, SacGridImageComponent, SacInheritFormDirective, SacInputAreaComponent, SacInputComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent, SacListboxComponent, SacPagingComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent, SacStaticFormContainerComponent, SacStaticLabelComponent, SacTabComponent, SacTabItemComponent, SacTimeComponent, SacTinyMceComponent, SacToControlHeightPipe, SacToControlWidthCssPipe, SacToLabelHeightPipe, SacToLabelWidthCssPipe, SacTooltipComponent, SacTreeviewComponent, SacUploadComponent, SacUploadMultipleComponent, SacValidationSummaryComponent, SacWizardComponent, SacWizardItemComponent, ServiceConfirm, SacContextmenuContainerDirective as ɵa };
|
|
1832
2132
|
//# sourceMappingURL=simpleangularcontrols-sac-bootstrap3.js.map
|