@simpleangularcontrols/sac-bootstrap5 10.0.0-rc.1 → 10.0.0-rc.11
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-bootstrap5.umd.js +223 -143
- package/bundles/simpleangularcontrols-sac-bootstrap5.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-bootstrap5.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-bootstrap5.umd.min.js.map +1 -1
- package/controls/checkbox/checkbox.module.d.ts.map +1 -1
- package/controls/checkbox/checkbox.module.ngfactory.d.ts.map +1 -1
- package/controls/datetime/datetime.module.d.ts.map +1 -1
- package/controls/datetime/datetime.module.ngfactory.d.ts.map +1 -1
- package/controls/form/inheritform.directive.d.ts +14 -37
- package/controls/form/inheritform.directive.d.ts.map +1 -1
- package/controls/grid/gridbutton.d.ts +1 -10
- package/controls/grid/gridbutton.d.ts.map +1 -1
- package/controls/input/input.module.d.ts.map +1 -1
- package/controls/input/input.module.ngfactory.d.ts.map +1 -1
- package/controls/list/dropdown.module.d.ts.map +1 -1
- package/controls/list/dropdown.module.ngfactory.d.ts.map +1 -1
- package/controls/list/list.module.d.ts.map +1 -1
- package/controls/list/list.module.ngfactory.d.ts.map +1 -1
- package/controls/multilanguage/multilanguage.module.d.ts.map +1 -1
- package/controls/multilanguage/multilanguage.module.ngfactory.d.ts.map +1 -1
- package/controls/static/staticlabel.module.d.ts.map +1 -1
- package/controls/static/staticlabel.module.ngfactory.d.ts.map +1 -1
- package/controls/tinymce/tinymce.module.d.ts.map +1 -1
- package/controls/tinymce/tinymce.module.ngfactory.d.ts.map +1 -1
- package/controls/tooltip/tooltip.d.ts +35 -0
- package/controls/tooltip/tooltip.d.ts.map +1 -0
- package/controls/tooltip/tooltip.module.d.ts +3 -0
- package/controls/tooltip/tooltip.module.d.ts.map +1 -0
- package/controls/tooltip/tooltip.module.ngfactory.d.ts +4 -0
- package/controls/tooltip/tooltip.module.ngfactory.d.ts.map +1 -0
- package/controls/tooltip/tooltip.ngfactory.d.ts +2 -0
- package/controls/tooltip/tooltip.ngfactory.d.ts.map +1 -0
- package/controls/upload/upload.module.d.ts.map +1 -1
- package/controls/upload/upload.module.ngfactory.d.ts.map +1 -1
- package/esm2015/controls/checkbox/checkbox.js +3 -3
- package/esm2015/controls/checkbox/checkbox.module.js +7 -2
- package/esm2015/controls/checkbox/checkbox.module.ngfactory.js +1 -1
- 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/datetime/date.js +2 -2
- package/esm2015/controls/datetime/datetime.js +2 -2
- 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 +2 -2
- package/esm2015/controls/form/inheritform.directive.js +42 -56
- package/esm2015/controls/grid/grid.js +2 -2
- 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/input/input.js +2 -2
- package/esm2015/controls/input/input.module.js +7 -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/dropdown.module.js +7 -2
- package/esm2015/controls/list/dropdown.module.ngfactory.js +1 -1
- package/esm2015/controls/list/list.module.js +7 -2
- package/esm2015/controls/list/list.module.ngfactory.js +1 -1
- package/esm2015/controls/list/listbox.js +2 -2
- package/esm2015/controls/multilanguage/multilanguage.module.js +7 -2
- package/esm2015/controls/multilanguage/multilanguage.module.ngfactory.js +1 -1
- package/esm2015/controls/multilanguage/multilanguageinput.js +2 -2
- package/esm2015/controls/multilanguage/multilanguageinputarea.js +2 -2
- package/esm2015/controls/static/formcontainer.js +2 -2
- package/esm2015/controls/static/staticlabel.js +2 -2
- package/esm2015/controls/static/staticlabel.module.js +7 -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 +52 -0
- package/esm2015/controls/tooltip/tooltip.module.js +13 -0
- package/esm2015/controls/tooltip/tooltip.module.ngfactory.js +7 -0
- package/esm2015/controls/tooltip/tooltip.ngfactory.js +7 -0
- package/esm2015/controls/upload/dropzonemultiple.js +2 -2
- package/esm2015/controls/upload/dropzonesingle.js +2 -2
- package/esm2015/controls/upload/upload.js +2 -2
- package/esm2015/controls/upload/upload.module.js +8 -2
- package/esm2015/controls/upload/upload.module.ngfactory.js +1 -1
- package/esm2015/controls/upload/uploadmultiple.js +2 -2
- package/esm2015/public-api.js +3 -1
- package/esm2015/simpleangularcontrols-sac-bootstrap5.js +39 -39
- package/fesm2015/simpleangularcontrols-sac-bootstrap5.js +175 -101
- package/fesm2015/simpleangularcontrols-sac-bootstrap5.js.map +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -1
- package/simpleangularcontrols-sac-bootstrap5-10.0.0-rc.11.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap5.d.ts +38 -38
- package/simpleangularcontrols-sac-bootstrap5.d.ts.map +1 -1
- package/simpleangularcontrols-sac-bootstrap5.metadata.json +1 -1
- package/simpleangularcontrols-sac-bootstrap5-10.0.0-rc.1.tgz +0 -0
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
SacConfirmComponent.decorators = [
|
|
593
593
|
{ type: core.Component, args: [{
|
|
594
594
|
selector: 'sac-confirm',
|
|
595
|
-
template: "<sac-dialog\r\n [(isvisible)]=\"isvisible\"\r\n [title]=\"title\"\r\n [allowesc]=\"false\"\r\n [closebutton]=\"false\"\r\n dialogsize=\"small\"\r\n>\r\n <div dialogbody>\r\n <div class=\"d-flex align-items-center\">\r\n <div class=\"me-2\">\r\n <img\r\n [attr.src]=\"image\"\r\n class=\"align-self-center mr-3\"\r\n *ngIf=\"hasImage()\"\r\n />\r\n </div>\r\n <div class=\"flex-grow-1\">{{message}}</div>\r\n </div>\r\n </div>\r\n <ng-container 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 </ng-container>\r\n</sac-dialog>\r\n"
|
|
595
|
+
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 dialogsize=\"small\"\r\n>\r\n <div dialogbody>\r\n <div class=\"d-flex align-items-center\">\r\n <div class=\"me-2\">\r\n <img\r\n [attr.src]=\"image\"\r\n class=\"align-self-center mr-3\"\r\n *ngIf=\"hasImage()\"\r\n />\r\n </div>\r\n <div class=\"flex-grow-1\">{{message}}</div>\r\n </div>\r\n </div>\r\n <ng-container 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 </ng-container>\r\n</sac-dialog>\r\n"
|
|
596
596
|
},] }
|
|
597
597
|
];
|
|
598
598
|
|
|
@@ -930,74 +930,60 @@
|
|
|
930
930
|
cssClassForm: [{ type: core.HostBinding, args: ['class.form',] }]
|
|
931
931
|
};
|
|
932
932
|
|
|
933
|
+
// #region Classes
|
|
933
934
|
/**
|
|
934
|
-
*
|
|
935
|
-
* @param form SacFormular
|
|
935
|
+
* Directive to inherit an NgForm/NgForm from a parent component
|
|
936
936
|
*/
|
|
937
|
-
function
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}
|
|
947
|
-
/**
|
|
948
|
-
* Directive zum erben eines NgForm/NgFormular einer übergeordneten Komponente
|
|
949
|
-
*
|
|
950
|
-
* @example Implementation in Markup
|
|
951
|
-
*
|
|
952
|
-
* <div sacInheritForm>
|
|
953
|
-
* </div>
|
|
954
|
-
*
|
|
955
|
-
* @example Model an Sub-Komponente übergeben
|
|
956
|
-
*
|
|
957
|
-
* <div sacInheritForm>
|
|
958
|
-
* <div>SubForm</div>
|
|
959
|
-
* <div>
|
|
960
|
-
* <ngInput [(ngModel)]="mymodel.fieldarea2" name="subformField3" label="field 3" [isrequired]="true"></ngInput>
|
|
961
|
-
* </div>
|
|
962
|
-
* </div>
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
* (at)Component({
|
|
966
|
-
* selector: 'sacInheritForm',
|
|
967
|
-
* templateUrl: './subform.component.html'
|
|
968
|
-
* })
|
|
969
|
-
* export class SubFormComponent implements DoCheck {
|
|
970
|
-
*
|
|
971
|
-
* (at)Input() mymodel;
|
|
972
|
-
* (at)Output() mymodelChange = new EventEmitter();
|
|
973
|
-
*
|
|
974
|
-
* ngDoCheck() {
|
|
975
|
-
* this.mymodelChange.next(this.mymodel);
|
|
976
|
-
* }
|
|
977
|
-
*}
|
|
978
|
-
*
|
|
979
|
-
*/
|
|
980
|
-
var SacInheritFormDirective = /** @class */ (function () {
|
|
981
|
-
function SacInheritFormDirective() {
|
|
937
|
+
var SacInheritFormDirective = /** @class */ (function (_super) {
|
|
938
|
+
__extends(SacInheritFormDirective, _super);
|
|
939
|
+
// #region Constructors
|
|
940
|
+
/**
|
|
941
|
+
* Construtor
|
|
942
|
+
* @param injector: injector to receive the NgForm instance
|
|
943
|
+
*/
|
|
944
|
+
function SacInheritFormDirective(injector) {
|
|
945
|
+
return _super.call(this, injector.get(forms.NgForm)) || this;
|
|
982
946
|
}
|
|
983
947
|
return SacInheritFormDirective;
|
|
984
|
-
}());
|
|
948
|
+
}(sacCommon.SacFormCommon));
|
|
985
949
|
SacInheritFormDirective.decorators = [
|
|
986
950
|
{ type: core.Directive, args: [{
|
|
987
951
|
selector: '[sacInheritForm]',
|
|
952
|
+
exportAs: 'sacinheritform',
|
|
988
953
|
providers: [
|
|
989
954
|
{
|
|
990
955
|
provide: SacFormDirective,
|
|
991
956
|
useFactory: SACFORM_FACTORY,
|
|
992
|
-
deps: [[new core.SkipSelf(), SacFormDirective]]
|
|
993
|
-
},
|
|
957
|
+
deps: [[new core.SkipSelf(), SacFormDirective]],
|
|
958
|
+
},
|
|
959
|
+
{
|
|
994
960
|
provide: forms.ControlContainer,
|
|
995
961
|
useFactory: NGFORM_FACTORY,
|
|
996
|
-
deps: [forms.NgForm]
|
|
997
|
-
}
|
|
998
|
-
]
|
|
962
|
+
deps: [forms.NgForm],
|
|
963
|
+
},
|
|
964
|
+
],
|
|
999
965
|
},] }
|
|
1000
|
-
];
|
|
966
|
+
];
|
|
967
|
+
SacInheritFormDirective.ctorParameters = function () { return [
|
|
968
|
+
{ type: core.Injector }
|
|
969
|
+
]; };
|
|
970
|
+
// #endregion Classes
|
|
971
|
+
// #region Functions
|
|
972
|
+
/**
|
|
973
|
+
* Factory Methode für NgForm
|
|
974
|
+
* @param form NgForm
|
|
975
|
+
*/
|
|
976
|
+
function NGFORM_FACTORY(form) {
|
|
977
|
+
return form;
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* Factory Methode für SacForm
|
|
981
|
+
* @param form SacFormular
|
|
982
|
+
*/
|
|
983
|
+
function SACFORM_FACTORY(form) {
|
|
984
|
+
return form;
|
|
985
|
+
}
|
|
986
|
+
// #endregion Functions
|
|
1001
987
|
|
|
1002
988
|
var SACBootstrap5FormModule = /** @class */ (function () {
|
|
1003
989
|
function SACBootstrap5FormModule() {
|
|
@@ -1204,6 +1190,71 @@
|
|
|
1204
1190
|
},] }
|
|
1205
1191
|
];
|
|
1206
1192
|
|
|
1193
|
+
/**
|
|
1194
|
+
* Tooltip Komponente
|
|
1195
|
+
*
|
|
1196
|
+
* @example ToolTip Control
|
|
1197
|
+
*
|
|
1198
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
1199
|
+
* <i class="tooltip"></i>
|
|
1200
|
+
* </ngTooltip>
|
|
1201
|
+
*
|
|
1202
|
+
* @example ToolTip Control im Inline Mode. Style auf Icon kann auch in Klasse ausgelagert werden.
|
|
1203
|
+
*
|
|
1204
|
+
* <div class="form-inline">
|
|
1205
|
+
* <ngInputSearch iconname="Suchen"></ngInputSearch>
|
|
1206
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
1207
|
+
* <i class="tooltip" style="position: relative; left: 0; top: 3px; display: inline-block; margin-right: 10px;"></i>
|
|
1208
|
+
* </ngTooltip>
|
|
1209
|
+
* </div>
|
|
1210
|
+
*
|
|
1211
|
+
*/
|
|
1212
|
+
var SacTooltipComponent = /** @class */ (function (_super) {
|
|
1213
|
+
__extends(SacTooltipComponent, _super);
|
|
1214
|
+
// #region Constructors
|
|
1215
|
+
/**
|
|
1216
|
+
* Konstrukor
|
|
1217
|
+
* @param parent SacFormular Instanz
|
|
1218
|
+
* @param injector Component Injector
|
|
1219
|
+
*/
|
|
1220
|
+
function SacTooltipComponent(cdRef, ref) {
|
|
1221
|
+
return _super.call(this, cdRef, ref) || this;
|
|
1222
|
+
}
|
|
1223
|
+
// #endregion Constructors
|
|
1224
|
+
// #region Protected Methods
|
|
1225
|
+
/**
|
|
1226
|
+
* Padding Value for Bootstrap5 Tooltip Padding
|
|
1227
|
+
* @returns Static Padding Value for BS5
|
|
1228
|
+
*/
|
|
1229
|
+
SacTooltipComponent.prototype.getTooltipOffset = function () {
|
|
1230
|
+
return 8;
|
|
1231
|
+
};
|
|
1232
|
+
return SacTooltipComponent;
|
|
1233
|
+
}(sacCommon.SacTooltipCommon));
|
|
1234
|
+
SacTooltipComponent.decorators = [
|
|
1235
|
+
{ type: core.Component, args: [{
|
|
1236
|
+
selector: 'sac-tooltip',
|
|
1237
|
+
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 >\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"IsTooltipVisible()\" #tooltip>\r\n <div\r\n [class.show]=\"IsTooltipContentVisible\"\r\n class=\"tooltip bs-tooltip-auto fade\"\r\n style=\"position: absolute\"\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 [attr.data-popper-placement]=\"GetTooltipPosition() == TooltipPosition.right ? 'right' : GetTooltipPosition() == TooltipPosition.left ? 'left' : GetTooltipPosition() == TooltipPosition.top ? 'top' :GetTooltipPosition() == TooltipPosition.bottom ? 'bottom' : null\"\r\n >\r\n <div\r\n class=\"tooltip-arrow\"\r\n style=\"position: absolute\"\r\n [style.top.px]=\"GetTooltipPosition() === TooltipPosition.left || GetTooltipPosition() === TooltipPosition.right ? (getToolTipHeight() / 2) - 6.5 : null\"\r\n [style.left.px]=\"GetTooltipPosition() === TooltipPosition.bottom || GetTooltipPosition() === TooltipPosition.top ? (getToolTipWidth() / 2) - 6.5 : null\"\r\n ></div>\r\n <div class=\"tooltip-inner\">{{tooltiptext}}</div>\r\n </div>\r\n </div>\r\n</div>\r\n"
|
|
1238
|
+
},] }
|
|
1239
|
+
];
|
|
1240
|
+
SacTooltipComponent.ctorParameters = function () { return [
|
|
1241
|
+
{ type: core.ChangeDetectorRef },
|
|
1242
|
+
{ type: core.ElementRef }
|
|
1243
|
+
]; };
|
|
1244
|
+
|
|
1245
|
+
var SACBootstrap5TooltipModule = /** @class */ (function () {
|
|
1246
|
+
function SACBootstrap5TooltipModule() {
|
|
1247
|
+
}
|
|
1248
|
+
return SACBootstrap5TooltipModule;
|
|
1249
|
+
}());
|
|
1250
|
+
SACBootstrap5TooltipModule.decorators = [
|
|
1251
|
+
{ type: core.NgModule, args: [{
|
|
1252
|
+
declarations: [SacTooltipComponent],
|
|
1253
|
+
imports: [common.CommonModule],
|
|
1254
|
+
exports: [SacTooltipComponent],
|
|
1255
|
+
},] }
|
|
1256
|
+
];
|
|
1257
|
+
|
|
1207
1258
|
/**
|
|
1208
1259
|
* Dropzone Komponente für mehrere Uploads
|
|
1209
1260
|
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
@@ -1234,7 +1285,7 @@
|
|
|
1234
1285
|
SacDropzoneMultipleComponent.decorators = [
|
|
1235
1286
|
{ type: core.Component, args: [{
|
|
1236
1287
|
selector: 'sac-dropzonemultiple',
|
|
1237
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
1288
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n >\r\n <span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\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 >\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center align-items-center w-50 my-3\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"flex-fill progress-container\">\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 >\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 >\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 >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\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 />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1238
1289
|
providers: [
|
|
1239
1290
|
{
|
|
1240
1291
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1287,7 +1338,7 @@
|
|
|
1287
1338
|
SacDropzoneSingleComponent.decorators = [
|
|
1288
1339
|
{ type: core.Component, args: [{
|
|
1289
1340
|
selector: 'sac-dropzonesingle',
|
|
1290
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
1341
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n >\r\n <span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\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 >\r\n <div\r\n class=\"content d-flex justify-content-center position-relative\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center align-items-center w-50 my-3\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"flex-fill progress-container\">\r\n <div class=\"dropzone-uploadstates\" *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 >\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 >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\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 />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1291
1342
|
providers: [
|
|
1292
1343
|
{
|
|
1293
1344
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1332,7 +1383,7 @@
|
|
|
1332
1383
|
SacUploadComponent.decorators = [
|
|
1333
1384
|
{ type: core.Component, args: [{
|
|
1334
1385
|
selector: 'sac-upload',
|
|
1335
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}
|
|
1386
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n >\r\n <span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span></sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\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 [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\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-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i class=\"pe-2\" [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\"\r\n >{{\r\n lngResourceService.GetString(validationKeyService.UploadButtonBrowse)\r\n | async }}</span\r\n >\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]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n <div\r\n class=\"form-control upload-progress\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\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 >\r\n <span class=\"progress-text text-dark\"\r\n >{{ Filename() | async }}</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\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.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pe-2\"></span>{{\r\n lngResourceService.GetString(validationKeyService.UploadButtonUpload) |\r\n async }}\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1336
1387
|
providers: [
|
|
1337
1388
|
{
|
|
1338
1389
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1377,7 +1428,7 @@
|
|
|
1377
1428
|
SacUploadMultipleComponent.decorators = [
|
|
1378
1429
|
{ type: core.Component, args: [{
|
|
1379
1430
|
selector: 'sac-uploadmultiple',
|
|
1380
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}
|
|
1431
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n >\r\n <span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span></sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-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-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 [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\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-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\" class=\"pe-2\"></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 <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\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-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pe-2\"></span> {{\r\n lngResourceService.GetString(validationKeyService.UploadButtonUpload)\r\n | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\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\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\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\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\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-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pe-2\"></span>{{\r\n lngResourceService.GetString(validationKeyService.UploadButtonUpload)\r\n | async }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1381
1432
|
providers: [
|
|
1382
1433
|
{
|
|
1383
1434
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1413,7 +1464,12 @@
|
|
|
1413
1464
|
SacDropzoneSingleComponent,
|
|
1414
1465
|
SacDropzoneMultipleComponent,
|
|
1415
1466
|
],
|
|
1416
|
-
imports: [
|
|
1467
|
+
imports: [
|
|
1468
|
+
common.CommonModule,
|
|
1469
|
+
forms.FormsModule,
|
|
1470
|
+
SACBootstrap5LayoutModule,
|
|
1471
|
+
SACBootstrap5TooltipModule,
|
|
1472
|
+
],
|
|
1417
1473
|
exports: [
|
|
1418
1474
|
SacUploadComponent,
|
|
1419
1475
|
SacUploadMultipleComponent,
|
|
@@ -1572,7 +1628,7 @@
|
|
|
1572
1628
|
SacCheckboxComponent.decorators = [
|
|
1573
1629
|
{ type: core.Component, args: [{
|
|
1574
1630
|
selector: 'sac-checkbox',
|
|
1575
|
-
template: "<div class=\"row\" [class.g-0]=\"disablelabel\" [class.mb-3]=\"!stacked\">\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden' ]\"\r\n >\r\n <label\r\n *ngIf=\"!disablelabel && !stacked\"\r\n for=\"{{name}}\"\r\n class=\"col-form-label\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n >{{label}}</
|
|
1631
|
+
template: "<div class=\"row\" [class.g-0]=\"disablelabel\" [class.mb-3]=\"!stacked\">\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden' ]\"\r\n >\r\n <label\r\n *ngIf=\"!disablelabel && !stacked\"\r\n for=\"{{name}}\"\r\n class=\"col-form-label\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ms-1\"\r\n ></span> </sac-tooltip\r\n ></label>\r\n </div>\r\n <div\r\n class=\"align-self-center col-12\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div\r\n class=\"form-check\"\r\n [class.form-switch]=\"checkboxstyle === 'switch'\"\r\n [attr.role]=\"checkboxstyle === 'switch' ? 'switch' : null\"\r\n [class.form-check-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-check-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <input\r\n class=\"form-check-input\"\r\n [class.form-check-input-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-check-input-lg]=\"componentHeight === ControlHeight.Large\"\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"checkbox\"\r\n [checked]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue($event.target.checked)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <label\r\n for=\"{{name}}\"\r\n class=\"form-check-label\"\r\n [class.form-check-label-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-check-label-lg]=\"componentHeight === ControlHeight.Large\"\r\n >\r\n <ng-container *ngIf=\"checkboxtext\">{{checkboxtext}}</ng-container>\r\n </label>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1576
1632
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1577
1633
|
providers: [
|
|
1578
1634
|
{
|
|
@@ -1586,7 +1642,7 @@
|
|
|
1586
1642
|
multi: true,
|
|
1587
1643
|
},
|
|
1588
1644
|
],
|
|
1589
|
-
styles: [".form-check-
|
|
1645
|
+
styles: [".form-check-sm{font-size:.875em}.form-check-lg{font-size:1.25em}"]
|
|
1590
1646
|
},] }
|
|
1591
1647
|
];
|
|
1592
1648
|
SacCheckboxComponent.ctorParameters = function () { return [
|
|
@@ -1613,7 +1669,7 @@
|
|
|
1613
1669
|
SacRadiobuttonsComponent.decorators = [
|
|
1614
1670
|
{ type: core.Component, args: [{
|
|
1615
1671
|
selector: 'sac-radiobuttons',
|
|
1616
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <div\r\n *ngIf=\"disablelabel === false\"\r\n class=\"col-12 pt-0\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden' ]\"\r\n >\r\n <label\r\n class=\"col-form-label\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n *ngIf=\"!disablelabel\"\r\n >{{label}}</
|
|
1672
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <div\r\n *ngIf=\"disablelabel === false\"\r\n class=\"col-12 pt-0\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden' ]\"\r\n >\r\n <label\r\n class=\"col-form-label\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n *ngIf=\"!disablelabel\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ms-1\"\r\n ></span> </sac-tooltip\r\n ></label>\r\n </div>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.pt-1]=\"componentHeight === ControlHeight.Small\"\r\n [class.pt-2]=\"componentHeight !== ControlHeight.Small\"\r\n >\r\n <ng-content></ng-content>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1617
1673
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1618
1674
|
providers: [
|
|
1619
1675
|
{
|
|
@@ -1671,7 +1727,11 @@
|
|
|
1671
1727
|
SacRadiobuttonComponent,
|
|
1672
1728
|
SacRadiobuttonsComponent,
|
|
1673
1729
|
],
|
|
1674
|
-
imports: [
|
|
1730
|
+
imports: [
|
|
1731
|
+
common.CommonModule,
|
|
1732
|
+
SACBootstrap5LayoutModule,
|
|
1733
|
+
SACBootstrap5TooltipModule,
|
|
1734
|
+
],
|
|
1675
1735
|
exports: [
|
|
1676
1736
|
SacCheckboxComponent,
|
|
1677
1737
|
SacRadiobuttonComponent,
|
|
@@ -1704,7 +1764,7 @@
|
|
|
1704
1764
|
SacDateComponent.decorators = [
|
|
1705
1765
|
{ type: core.Component, args: [{
|
|
1706
1766
|
selector: 'sac-date',
|
|
1707
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
1767
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12 position-relative\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show position-absolute\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: unset;\r\n max-width: 325px;\r\n margin-top: 7px;\r\n \"\r\n >\r\n <div\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.right.rem]=\"componentHeight === ControlHeight.Small ? 1.1 : componentHeight === ControlHeight.Large ? 1.8 : 1.4\"\r\n ></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\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",
|
|
1708
1768
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1709
1769
|
providers: [
|
|
1710
1770
|
{
|
|
@@ -1763,7 +1823,7 @@
|
|
|
1763
1823
|
SacDateTimeComponent.decorators = [
|
|
1764
1824
|
{ type: core.Component, args: [{
|
|
1765
1825
|
selector: 'sac-datetime',
|
|
1766
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
1826
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12 position-relative\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show position-absolute\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: unset;\r\n max-width: 325px;\r\n margin-top: 7px;\r\n \"\r\n >\r\n <div\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.right.rem]=\"componentHeight === ControlHeight.Small ? 1.1 : componentHeight === ControlHeight.Large ? 1.8 : 1.4\"\r\n ></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1767
1827
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1768
1828
|
providers: [
|
|
1769
1829
|
{
|
|
@@ -1805,7 +1865,7 @@
|
|
|
1805
1865
|
SacTimeComponent.decorators = [
|
|
1806
1866
|
{ type: core.Component, args: [{
|
|
1807
1867
|
selector: 'sac-time',
|
|
1808
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
1868
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12 position-relative\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showTimeSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show position-absolute\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: unset;\r\n max-width: 325px;\r\n margin-top: 7px;\r\n \"\r\n >\r\n <div\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.right.rem]=\"componentHeight === ControlHeight.Small ? 1.1 : componentHeight === ControlHeight.Large ? 1.8 : 1.4\"\r\n ></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"timeselect($event)\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1809
1869
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1810
1870
|
providers: [
|
|
1811
1871
|
{
|
|
@@ -1840,7 +1900,12 @@
|
|
|
1840
1900
|
SacTimeComponent,
|
|
1841
1901
|
SacDateSelectorComponent,
|
|
1842
1902
|
],
|
|
1843
|
-
imports: [
|
|
1903
|
+
imports: [
|
|
1904
|
+
common.CommonModule,
|
|
1905
|
+
angularImask.IMaskModule,
|
|
1906
|
+
SACBootstrap5LayoutModule,
|
|
1907
|
+
SACBootstrap5TooltipModule,
|
|
1908
|
+
],
|
|
1844
1909
|
exports: [
|
|
1845
1910
|
SacDateComponent,
|
|
1846
1911
|
SacDateTimeComponent,
|
|
@@ -1874,7 +1939,7 @@
|
|
|
1874
1939
|
SacGridComponent.decorators = [
|
|
1875
1940
|
{ type: core.Component, args: [{
|
|
1876
1941
|
selector: 'sac-grid',
|
|
1877
|
-
template: "<div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover\" id
|
|
1942
|
+
template: "<div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover\" id=\"{{name}}\">\r\n <thead class=\"thead-light\">\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 *ngIf=\"pagerdata\">\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 [pagesizes]=\"pagesizes\"\r\n [pagingtext]=\"pagingtext\"\r\n [pagesizetext]=\"pagesizetext\"\r\n [pagesizedisabled]=\"pagesizedisabled\"\r\n ></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tfoot>\r\n </table>\r\n</div>\r\n",
|
|
1878
1943
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1879
1944
|
providers: [
|
|
1880
1945
|
{ provide: forms.NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
@@ -1896,23 +1961,15 @@
|
|
|
1896
1961
|
|
|
1897
1962
|
/**
|
|
1898
1963
|
* Grid Action Button
|
|
1899
|
-
*
|
|
1900
|
-
* @example Standard Action
|
|
1901
|
-
*
|
|
1902
|
-
* <ngGridButton icon="edit" (clicked)="action('edit')" [isdisabled]="true"></ngGridButton>
|
|
1903
|
-
*
|
|
1904
|
-
* @example Custom Action
|
|
1905
|
-
*
|
|
1906
|
-
* <ngGridButton iconstyle="sprite" icon="icon-sprite-base-main_info" (clicked)="action("info")"></ngGridButton>
|
|
1907
|
-
*
|
|
1908
1964
|
*/
|
|
1909
1965
|
var SacGridButtonComponent = /** @class */ (function (_super) {
|
|
1910
1966
|
__extends(SacGridButtonComponent, _super);
|
|
1911
1967
|
function SacGridButtonComponent() {
|
|
1912
1968
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1913
1969
|
}
|
|
1970
|
+
// #region Public Methods
|
|
1914
1971
|
/**
|
|
1915
|
-
*
|
|
1972
|
+
* Returns the icon for the button
|
|
1916
1973
|
*/
|
|
1917
1974
|
SacGridButtonComponent.prototype.getIconClass = function () {
|
|
1918
1975
|
var iconset = this.iconstyle;
|
|
@@ -1962,7 +2019,7 @@
|
|
|
1962
2019
|
SacGridColumnComponent.decorators = [
|
|
1963
2020
|
{ type: core.Component, args: [{
|
|
1964
2021
|
selector: 'sac-gridcolumn',
|
|
1965
|
-
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=\"ps-2\"\r\n [class]=\"IconSortUp\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n class=\"ps-2\"\r\n [class]=\"IconSortDown\"\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",
|
|
2022
|
+
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=\"ps-2\"\r\n [class]=\"IconSortUp\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n class=\"ps-2\"\r\n [class]=\"IconSortDown\"\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 (click)=\"ColumnClick()\"\r\n>\r\n <span [attr.title]=\"IsEllipsis() ? value : null\"> {{value}} </span>\r\n</td>\r\n",
|
|
1966
2023
|
providers: [
|
|
1967
2024
|
{
|
|
1968
2025
|
provide: sacCommon.SacGridColumnBaseCommon,
|
|
@@ -2110,7 +2167,7 @@
|
|
|
2110
2167
|
SacInputComponent.decorators = [
|
|
2111
2168
|
{ type: core.Component, args: [{
|
|
2112
2169
|
selector: 'sac-input',
|
|
2113
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2170
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2114
2171
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2115
2172
|
providers: [
|
|
2116
2173
|
{ provide: forms.NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
@@ -2146,7 +2203,7 @@
|
|
|
2146
2203
|
SacInputAreaComponent.decorators = [
|
|
2147
2204
|
{ type: core.Component, args: [{
|
|
2148
2205
|
selector: 'sac-inputarea',
|
|
2149
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2206
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"\"\r\n class=\"form-control\"\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 [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n [attr.maxlength]=\"maxlength\"\r\n [readonly]=\"readonly\"\r\n ></textarea>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2150
2207
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2151
2208
|
providers: [
|
|
2152
2209
|
{
|
|
@@ -2186,7 +2243,7 @@
|
|
|
2186
2243
|
SacInputCurrencyComponent.decorators = [
|
|
2187
2244
|
{ type: core.Component, args: [{
|
|
2188
2245
|
selector: 'sac-inputcurrency',
|
|
2189
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2246
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n />\r\n <span class=\"input-group-text\">{{currency}}</span>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2190
2247
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2191
2248
|
providers: [
|
|
2192
2249
|
{
|
|
@@ -2226,7 +2283,7 @@
|
|
|
2226
2283
|
SacInputDecimalComponent.decorators = [
|
|
2227
2284
|
{ type: core.Component, args: [{
|
|
2228
2285
|
selector: 'sac-inputdecimal',
|
|
2229
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2286
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n />\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2230
2287
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2231
2288
|
providers: [
|
|
2232
2289
|
{
|
|
@@ -2266,7 +2323,7 @@
|
|
|
2266
2323
|
SacInputEmailComponent.decorators = [
|
|
2267
2324
|
{ type: core.Component, args: [{
|
|
2268
2325
|
selector: 'sac-inputemail',
|
|
2269
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2326
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <span class=\"input-group-text\">@</span>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"email\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2270
2327
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2271
2328
|
providers: [
|
|
2272
2329
|
{
|
|
@@ -2306,7 +2363,7 @@
|
|
|
2306
2363
|
SacInputIntegerComponent.decorators = [
|
|
2307
2364
|
{ type: core.Component, args: [{
|
|
2308
2365
|
selector: 'sac-inputinteger',
|
|
2309
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2366
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n />\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2310
2367
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2311
2368
|
providers: [
|
|
2312
2369
|
{
|
|
@@ -2346,7 +2403,7 @@
|
|
|
2346
2403
|
SacInputPasswordComponent.decorators = [
|
|
2347
2404
|
{ type: core.Component, args: [{
|
|
2348
2405
|
selector: 'sac-inputpassword',
|
|
2349
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2406
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"password\"\r\n class=\"form-control\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"new-password\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2350
2407
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2351
2408
|
providers: [
|
|
2352
2409
|
{
|
|
@@ -2386,7 +2443,7 @@
|
|
|
2386
2443
|
SacInputSearchComponent.decorators = [
|
|
2387
2444
|
{ type: core.Component, args: [{
|
|
2388
2445
|
selector: 'sac-inputsearch',
|
|
2389
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</
|
|
2446
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-secondary\"\r\n id=\"{{name}}_search\"\r\n (click)=\"searchClick()\"\r\n >\r\n <i\r\n *ngIf=\"buttonmode === 'icon' || buttonmode === 'mixed'\"\r\n [class]=\"iconname\"\r\n [class.me-2]=\"buttonmode === 'mixed'\"\r\n ></i>\r\n <ng-container *ngIf=\"buttonmode === 'text' || buttonmode === 'mixed'\"\r\n >{{buttontext}}</ng-container\r\n >\r\n </button>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2390
2447
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2391
2448
|
providers: [
|
|
2392
2449
|
{
|
|
@@ -2424,7 +2481,11 @@
|
|
|
2424
2481
|
SacInputPasswordComponent,
|
|
2425
2482
|
SacInputSearchComponent,
|
|
2426
2483
|
],
|
|
2427
|
-
imports: [
|
|
2484
|
+
imports: [
|
|
2485
|
+
common.CommonModule,
|
|
2486
|
+
SACBootstrap5LayoutModule,
|
|
2487
|
+
SACBootstrap5TooltipModule,
|
|
2488
|
+
],
|
|
2428
2489
|
exports: [
|
|
2429
2490
|
SacInputComponent,
|
|
2430
2491
|
SacInputAreaComponent,
|
|
@@ -2460,7 +2521,7 @@
|
|
|
2460
2521
|
SacDropdownComponent.decorators = [
|
|
2461
2522
|
{ type: core.Component, args: [{
|
|
2462
2523
|
selector: 'sac-dropdown',
|
|
2463
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2524
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <select\r\n #dropdownitem\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-select\"\r\n [class.form-select-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-select-lg]=\"componentHeight === ControlHeight.Large\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue(dropdownitem.value)\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <option *ngIf=\"emptylabel !== ''\" [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 >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </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 >\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 >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\r\n",
|
|
2464
2525
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2465
2526
|
providers: [
|
|
2466
2527
|
{
|
|
@@ -2517,7 +2578,11 @@
|
|
|
2517
2578
|
SACBootstrap5DropdownModule.decorators = [
|
|
2518
2579
|
{ type: core.NgModule, args: [{
|
|
2519
2580
|
declarations: [SacDropdownComponent, SacDropdownOptionDirective],
|
|
2520
|
-
imports: [
|
|
2581
|
+
imports: [
|
|
2582
|
+
common.CommonModule,
|
|
2583
|
+
SACBootstrap5LayoutModule,
|
|
2584
|
+
SACBootstrap5TooltipModule,
|
|
2585
|
+
],
|
|
2521
2586
|
exports: [SacDropdownComponent, SacDropdownOptionDirective],
|
|
2522
2587
|
},] }
|
|
2523
2588
|
];
|
|
@@ -2542,7 +2607,7 @@
|
|
|
2542
2607
|
SacListboxComponent.decorators = [
|
|
2543
2608
|
{ type: core.Component, args: [{
|
|
2544
2609
|
selector: 'sac-listbox',
|
|
2545
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2610
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <select\r\n multiple\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-select\"\r\n [class.form-select-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-select-lg]=\"componentHeight === ControlHeight.Large\"\r\n [size]=\"rowsize\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"getSelectedItems($event.target)\"\r\n [disabled]=\"isdisabled\"\r\n >\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 >\r\n {{option[optionlabel]}}\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 >\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 >\r\n {{item[optionlabel]}}\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2546
2611
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2547
2612
|
providers: [
|
|
2548
2613
|
{
|
|
@@ -2597,7 +2662,11 @@
|
|
|
2597
2662
|
SACBootstrap5ListModule.decorators = [
|
|
2598
2663
|
{ type: core.NgModule, args: [{
|
|
2599
2664
|
declarations: [SacListboxComponent, SacListboxOptionDirective],
|
|
2600
|
-
imports: [
|
|
2665
|
+
imports: [
|
|
2666
|
+
common.CommonModule,
|
|
2667
|
+
SACBootstrap5LayoutModule,
|
|
2668
|
+
SACBootstrap5TooltipModule,
|
|
2669
|
+
],
|
|
2601
2670
|
exports: [SacListboxComponent, SacListboxOptionDirective],
|
|
2602
2671
|
},] }
|
|
2603
2672
|
];
|
|
@@ -2628,7 +2697,7 @@
|
|
|
2628
2697
|
SacMultilanguageInputComponent.decorators = [
|
|
2629
2698
|
{ type: core.Component, args: [{
|
|
2630
2699
|
selector: 'sac-multilanguageinput',
|
|
2631
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2700
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n placement=\"bottom-right\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n [inputtemplate]=\"menuInput\"\r\n [validationtemplate]=\"validationMessage\"\r\n #contextmenu\r\n >\r\n <ng-template #menuInput>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n </ng-template>\r\n\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <span\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></span>\r\n </button>\r\n </ng-template>\r\n\r\n <ng-template #validationMessage>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div></ng-template\r\n >\r\n\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n",
|
|
2632
2701
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2633
2702
|
providers: [
|
|
2634
2703
|
{
|
|
@@ -2675,7 +2744,7 @@
|
|
|
2675
2744
|
SacMultilanguageInputAreaComponent.decorators = [
|
|
2676
2745
|
{ type: core.Component, args: [{
|
|
2677
2746
|
selector: 'sac-multilanguageinputarea',
|
|
2678
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2747
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\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 [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n placement=\"bottom-right\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n [inputtemplate]=\"menuInput\"\r\n [validationtemplate]=\"validationMessage\"\r\n #contextmenu\r\n >\r\n <ng-template #menuInput>\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n style=\"height: auto\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.rows]=\"rows\"\r\n [attr.maxlength]=\"maxlength\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [disabled]=\"isdisabled\"\r\n ></textarea>\r\n </ng-template>\r\n\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <i\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></i>\r\n </button>\r\n </ng-template>\r\n\r\n <ng-template #validationMessage>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div></ng-template\r\n >\r\n\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n",
|
|
2679
2748
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2680
2749
|
providers: [
|
|
2681
2750
|
{
|
|
@@ -2839,7 +2908,11 @@
|
|
|
2839
2908
|
SacMultilanguagemenuContainerDirective,
|
|
2840
2909
|
SacMultilanguagemenuItemButtonComponent,
|
|
2841
2910
|
],
|
|
2842
|
-
imports: [
|
|
2911
|
+
imports: [
|
|
2912
|
+
common.CommonModule,
|
|
2913
|
+
SACBootstrap5LayoutModule,
|
|
2914
|
+
SACBootstrap5TooltipModule,
|
|
2915
|
+
],
|
|
2843
2916
|
exports: [SacMultilanguageInputComponent, SacMultilanguageInputAreaComponent],
|
|
2844
2917
|
},] }
|
|
2845
2918
|
];
|
|
@@ -2874,7 +2947,7 @@
|
|
|
2874
2947
|
SacStaticFormContainerComponent.decorators = [
|
|
2875
2948
|
{ type: core.Component, args: [{
|
|
2876
2949
|
selector: 'sac-staticformcontainer',
|
|
2877
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</
|
|
2950
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <ng-content></ng-content>\r\n <label\r\n for=\"{{name}}\"\r\n class=\"form-label-adaptive form-label-fixed\"\r\n [ngClass]=\"{ 'required': isrequired }\"\r\n *ngIf=\"isAdaptiveLabel && !disablelabel\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2878
2951
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2879
2952
|
providers: [
|
|
2880
2953
|
{
|
|
@@ -2914,7 +2987,7 @@
|
|
|
2914
2987
|
SacStaticLabelComponent.decorators = [
|
|
2915
2988
|
{ type: core.Component, args: [{
|
|
2916
2989
|
selector: 'sac-staticlabel',
|
|
2917
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}</
|
|
2990
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n ><span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\r\n <div\r\n [id]=\"name\"\r\n class=\"form-control-plaintext\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [innerHTML]=\"value\"\r\n ></div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\r\n </div>\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-left control-label\"\r\n *ngIf=\"isAdaptiveLabel && !disablelabel\"\r\n >{{label}}</label\r\n >\r\n </div>\r\n</div>\r\n",
|
|
2918
2991
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2919
2992
|
providers: [
|
|
2920
2993
|
{
|
|
@@ -2943,7 +3016,11 @@
|
|
|
2943
3016
|
SACBootstrap5StaticLabelModule.decorators = [
|
|
2944
3017
|
{ type: core.NgModule, args: [{
|
|
2945
3018
|
declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
2946
|
-
imports: [
|
|
3019
|
+
imports: [
|
|
3020
|
+
common.CommonModule,
|
|
3021
|
+
SACBootstrap5LayoutModule,
|
|
3022
|
+
SACBootstrap5TooltipModule,
|
|
3023
|
+
],
|
|
2947
3024
|
exports: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
2948
3025
|
},] }
|
|
2949
3026
|
];
|
|
@@ -2985,7 +3062,7 @@
|
|
|
2985
3062
|
SacTabComponent.decorators = [
|
|
2986
3063
|
{ type: core.Component, args: [{
|
|
2987
3064
|
selector: 'sac-tab',
|
|
2988
|
-
template: "<!-- Nav tabs -->\r\n<ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li class=\"nav-item\" *ngFor=\"let item of _tabItems\">\r\n <a\r\n role=\"tab\"\r\n class=\"nav-link\"\r\n data-toggle=\"tab\"\r\n [ngClass]=\"{ 'active': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item.disabled ? 'not-allowed' : 'pointer'}\"\r\n >{{item.label}}</a\r\n >\r\n </li>\r\n</ul>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content pl-3 pt-2\">\r\n <ng-content></ng-content>\r\n</div>\r\n"
|
|
3065
|
+
template: "<!-- Nav tabs -->\r\n<ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li class=\"nav-item\" *ngFor=\"let item of _tabItems\">\r\n <a\r\n [id]=\"GetTabItemButtonId(item.id)\"\r\n role=\"tab\"\r\n class=\"nav-link\"\r\n data-toggle=\"tab\"\r\n [ngClass]=\"{ 'active': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item.disabled ? 'not-allowed' : 'pointer'}\"\r\n >{{item.label}}</a\r\n >\r\n </li>\r\n</ul>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content pl-3 pt-2\">\r\n <ng-content></ng-content>\r\n</div>\r\n"
|
|
2989
3066
|
},] }
|
|
2990
3067
|
];
|
|
2991
3068
|
SacTabComponent.propDecorators = {
|
|
@@ -3034,7 +3111,7 @@
|
|
|
3034
3111
|
SacTinyMceComponent.decorators = [
|
|
3035
3112
|
{ type: core.Component, args: [{
|
|
3036
3113
|
selector: 'sac-tinymce',
|
|
3037
|
-
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <div\r\n class=\"col\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >\r\n <label for=\"{{name}}\" class=\"form-control-label\">{{label}}</label>\r\n </div>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\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)\"\r\n ></editor>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\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>\r\n <ng-container dialogbody>\r\n <sac-filebrowser\r\n [apiurl]=\"filebrowserapiurl\"\r\n (file)=\"selectDialogSettings.value = $event\"\r\n [allowfoldercreate]=\"allowfoldercreate\"\r\n [allowfolderrename]=\"allowfolderrename\"\r\n [allowfolderdelete]=\"allowfolderdelete\"\r\n [allowfileupload]=\"allowfileupload\"\r\n [allowfilerename]=\"allowfilerename\"\r\n [allowfiledelete]=\"allowfiledelete\"\r\n [selectedfile]=\"selectDialogSettings.value\"\r\n [allowedtypes]=\"selectDialogSettings.allowedtypes\"\r\n ></sac-filebrowser>\r\n </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()\"\r\n ></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectCancel) | async }}\"\r\n (clicked)=\"closeSelectDialog()\"\r\n ></sac-button>\r\n </ng-container>\r\n</sac-dialog>\r\n",
|
|
3114
|
+
template: "<div class=\"row mb-3\" [class.g-0]=\"disablelabel\">\r\n <div\r\n class=\"col\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n >\r\n <label for=\"{{name}}\" class=\"form-control-label\"\r\n >{{label}}<sac-tooltip\r\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\"\r\n >\r\n <span [ngClass]=\"HelptextTooltipIcon\" class=\"ms-1\"></span> </sac-tooltip\r\n ></label>\r\n </div>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n >\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)\"\r\n ></editor>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div *ngIf=\"helptextmode === 'text' && helptext\" class=\"form-text\">\r\n {{helptext}}\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>\r\n <ng-container dialogbody>\r\n <sac-filebrowser\r\n [apiurl]=\"filebrowserapiurl\"\r\n (file)=\"selectDialogSettings.value = $event\"\r\n [allowfoldercreate]=\"allowfoldercreate\"\r\n [allowfolderrename]=\"allowfolderrename\"\r\n [allowfolderdelete]=\"allowfolderdelete\"\r\n [allowfileupload]=\"allowfileupload\"\r\n [allowfilerename]=\"allowfilerename\"\r\n [allowfiledelete]=\"allowfiledelete\"\r\n [selectedfile]=\"selectDialogSettings.value\"\r\n [allowedtypes]=\"selectDialogSettings.allowedtypes\"\r\n ></sac-filebrowser>\r\n </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()\"\r\n ></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectCancel) | async }}\"\r\n (clicked)=\"closeSelectDialog()\"\r\n ></sac-button>\r\n </ng-container>\r\n</sac-dialog>\r\n",
|
|
3038
3115
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
3039
3116
|
providers: [
|
|
3040
3117
|
{
|
|
@@ -3073,6 +3150,7 @@
|
|
|
3073
3150
|
SACBootstrap5DialogModule,
|
|
3074
3151
|
SACBootstrap5BrowserModule,
|
|
3075
3152
|
SACBootstrap5LayoutModule,
|
|
3153
|
+
SACBootstrap5TooltipModule,
|
|
3076
3154
|
],
|
|
3077
3155
|
exports: [SacTinyMceComponent],
|
|
3078
3156
|
},] }
|
|
@@ -3197,6 +3275,7 @@
|
|
|
3197
3275
|
* Generated bundle index. Do not edit.
|
|
3198
3276
|
*/
|
|
3199
3277
|
|
|
3278
|
+
exports.NGFORM_FACTORY = NGFORM_FACTORY;
|
|
3200
3279
|
exports.SACBootstrap5BrowserModule = SACBootstrap5BrowserModule;
|
|
3201
3280
|
exports.SACBootstrap5ButtonModule = SACBootstrap5ButtonModule;
|
|
3202
3281
|
exports.SACBootstrap5CheckboxModule = SACBootstrap5CheckboxModule;
|
|
@@ -3214,48 +3293,49 @@
|
|
|
3214
3293
|
exports.SACBootstrap5StaticLabelModule = SACBootstrap5StaticLabelModule;
|
|
3215
3294
|
exports.SACBootstrap5TabsModule = SACBootstrap5TabsModule;
|
|
3216
3295
|
exports.SACBootstrap5TinyMceModule = SACBootstrap5TinyMceModule;
|
|
3296
|
+
exports.SACBootstrap5TooltipModule = SACBootstrap5TooltipModule;
|
|
3217
3297
|
exports.SACBootstrap5UploadModule = SACBootstrap5UploadModule;
|
|
3218
3298
|
exports.SACBootstrap5ValidationSummaryModule = SACBootstrap5ValidationSummaryModule;
|
|
3219
3299
|
exports.SACBootstrap5WizardModule = SACBootstrap5WizardModule;
|
|
3300
|
+
exports.SACFORM_FACTORY = SACFORM_FACTORY;
|
|
3220
3301
|
exports.SacFormDirective = SacFormDirective;
|
|
3302
|
+
exports.SacInheritFormDirective = SacInheritFormDirective;
|
|
3221
3303
|
exports.ServiceConfirm = ServiceConfirm;
|
|
3222
3304
|
exports.ɵa = SacBrowserComponent;
|
|
3223
3305
|
exports.ɵb = SacDropzoneMultipleComponent;
|
|
3224
|
-
exports.ɵba =
|
|
3225
|
-
exports.ɵbb =
|
|
3226
|
-
exports.ɵbc =
|
|
3227
|
-
exports.ɵbd =
|
|
3228
|
-
exports.ɵbe =
|
|
3229
|
-
exports.ɵbf =
|
|
3230
|
-
exports.ɵbg =
|
|
3231
|
-
exports.ɵbh =
|
|
3232
|
-
exports.ɵbi =
|
|
3233
|
-
exports.ɵbj =
|
|
3234
|
-
exports.ɵbk =
|
|
3235
|
-
exports.ɵbl =
|
|
3236
|
-
exports.ɵbm =
|
|
3237
|
-
exports.ɵbn =
|
|
3238
|
-
exports.ɵbo =
|
|
3239
|
-
exports.ɵbp =
|
|
3240
|
-
exports.ɵbq =
|
|
3241
|
-
exports.ɵbr =
|
|
3242
|
-
exports.ɵbs =
|
|
3243
|
-
exports.ɵbt =
|
|
3244
|
-
exports.ɵbu =
|
|
3245
|
-
exports.ɵbv =
|
|
3246
|
-
exports.ɵbw =
|
|
3247
|
-
exports.ɵbx =
|
|
3248
|
-
exports.ɵby =
|
|
3249
|
-
exports.ɵbz =
|
|
3306
|
+
exports.ɵba = SacGridComponent;
|
|
3307
|
+
exports.ɵbb = SacGridColumnComponent;
|
|
3308
|
+
exports.ɵbc = SacGridColumnActionComponent;
|
|
3309
|
+
exports.ɵbd = SacPagingComponent;
|
|
3310
|
+
exports.ɵbe = SacGridButtonComponent;
|
|
3311
|
+
exports.ɵbf = SacGridImageComponent;
|
|
3312
|
+
exports.ɵbg = SacInputComponent;
|
|
3313
|
+
exports.ɵbh = SacInputAreaComponent;
|
|
3314
|
+
exports.ɵbi = SacInputCurrencyComponent;
|
|
3315
|
+
exports.ɵbj = SacInputDecimalComponent;
|
|
3316
|
+
exports.ɵbk = SacInputEmailComponent;
|
|
3317
|
+
exports.ɵbl = SacInputIntegerComponent;
|
|
3318
|
+
exports.ɵbm = SacInputPasswordComponent;
|
|
3319
|
+
exports.ɵbn = SacInputSearchComponent;
|
|
3320
|
+
exports.ɵbo = SacDropdownComponent;
|
|
3321
|
+
exports.ɵbp = SacDropdownOptionDirective;
|
|
3322
|
+
exports.ɵbq = SacListboxComponent;
|
|
3323
|
+
exports.ɵbr = SacListboxOptionDirective;
|
|
3324
|
+
exports.ɵbs = SacMultilanguageInputComponent;
|
|
3325
|
+
exports.ɵbt = SacMultilanguageInputAreaComponent;
|
|
3326
|
+
exports.ɵbu = SacMultilanguagemenuComponent;
|
|
3327
|
+
exports.ɵbv = SacMultilanguagemenuAnchorDirective;
|
|
3328
|
+
exports.ɵbw = SacMultilanguagemenuContainerDirective;
|
|
3329
|
+
exports.ɵbx = SacMultilanguagemenuItemButtonComponent;
|
|
3330
|
+
exports.ɵby = SacStaticLabelComponent;
|
|
3331
|
+
exports.ɵbz = SacStaticFormContainerComponent;
|
|
3250
3332
|
exports.ɵc = SacFormLayoutDirective;
|
|
3251
|
-
exports.ɵca =
|
|
3252
|
-
exports.ɵcb =
|
|
3253
|
-
exports.ɵcc =
|
|
3254
|
-
exports.ɵcd =
|
|
3255
|
-
exports.ɵce =
|
|
3256
|
-
exports.ɵcf =
|
|
3257
|
-
exports.ɵcg = SacWizardComponent;
|
|
3258
|
-
exports.ɵch = SacWizardItemComponent;
|
|
3333
|
+
exports.ɵca = SacTabComponent;
|
|
3334
|
+
exports.ɵcb = SacTabItemComponent;
|
|
3335
|
+
exports.ɵcc = SacTinyMceComponent;
|
|
3336
|
+
exports.ɵcd = SacValidationSummaryComponent;
|
|
3337
|
+
exports.ɵce = SacWizardComponent;
|
|
3338
|
+
exports.ɵcf = SacWizardItemComponent;
|
|
3259
3339
|
exports.ɵd = SacConfirmComponent;
|
|
3260
3340
|
exports.ɵe = SacDialogComponent;
|
|
3261
3341
|
exports.ɵf = SacButtonComponent;
|
|
@@ -3271,14 +3351,14 @@
|
|
|
3271
3351
|
exports.ɵp = SacToControlWidthCssPipe;
|
|
3272
3352
|
exports.ɵq = SacToLabelHeightPipe;
|
|
3273
3353
|
exports.ɵr = SacToLabelWidthCssPipe;
|
|
3274
|
-
exports.ɵs =
|
|
3275
|
-
exports.ɵt =
|
|
3276
|
-
exports.ɵu =
|
|
3277
|
-
exports.ɵv =
|
|
3278
|
-
exports.ɵw =
|
|
3279
|
-
exports.ɵx =
|
|
3280
|
-
exports.ɵy =
|
|
3281
|
-
exports.ɵz =
|
|
3354
|
+
exports.ɵs = SacTooltipComponent;
|
|
3355
|
+
exports.ɵt = SacCheckboxComponent;
|
|
3356
|
+
exports.ɵu = SacRadiobuttonComponent;
|
|
3357
|
+
exports.ɵv = SacRadiobuttonsComponent;
|
|
3358
|
+
exports.ɵw = SacDateComponent;
|
|
3359
|
+
exports.ɵx = SacDateTimeComponent;
|
|
3360
|
+
exports.ɵy = SacTimeComponent;
|
|
3361
|
+
exports.ɵz = SacDateSelectorComponent;
|
|
3282
3362
|
|
|
3283
3363
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3284
3364
|
|