@simpleangularcontrols/sac-bootstrap5 10.0.0-rc.2 → 10.0.0-rc.20
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 +362 -205
- 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/checkbox/radiobutton.d.ts +6 -2
- package/controls/checkbox/radiobutton.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuanchor.d.ts.map +1 -1
- package/controls/contextmenu/contextmenucontainer.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuitembutton.d.ts +3 -4
- package/controls/contextmenu/contextmenuitembutton.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuitemsplitter.d.ts.map +1 -1
- package/controls/datetime/date.d.ts +4 -3
- package/controls/datetime/date.d.ts.map +1 -1
- package/controls/datetime/datetime.d.ts +4 -3
- package/controls/datetime/datetime.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/datetime/time.d.ts +4 -3
- package/controls/datetime/time.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.d.ts +1 -1
- package/controls/list/dropdown.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/list/listbox.d.ts +1 -1
- package/controls/list/listbox.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/multilanguage/multilanguagemenuitembutton.d.ts +3 -4
- package/controls/multilanguage/multilanguagemenuitembutton.d.ts.map +1 -1
- package/controls/static/formcontainer.d.ts +1 -1
- package/controls/static/formcontainer.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.d.ts +2 -2
- package/controls/tinymce/tinymce.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/treeview/treeview.d.ts +15 -0
- package/controls/treeview/treeview.d.ts.map +1 -0
- package/controls/treeview/treeview.module.d.ts +3 -0
- package/controls/treeview/treeview.module.d.ts.map +1 -0
- package/controls/treeview/treeview.module.ngfactory.d.ts +4 -0
- package/controls/treeview/treeview.module.ngfactory.d.ts.map +1 -0
- package/controls/treeview/treeview.ngfactory.d.ts +2 -0
- package/controls/treeview/treeview.ngfactory.d.ts.map +1 -0
- package/controls/upload/dropzonemultiple.d.ts +1 -1
- package/controls/upload/dropzonemultiple.d.ts.map +1 -1
- package/controls/upload/dropzonesingle.d.ts +1 -1
- package/controls/upload/dropzonesingle.d.ts.map +1 -1
- package/controls/upload/upload.module.d.ts.map +1 -1
- package/controls/upload/upload.module.ngfactory.d.ts.map +1 -1
- package/controls/upload/uploadmultiple.d.ts +1 -1
- package/controls/upload/uploadmultiple.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/radiobutton.js +13 -7
- package/esm2015/controls/checkbox/radiobuttons.js +2 -2
- package/esm2015/controls/confirm/confirm.js +2 -2
- package/esm2015/controls/confirm/confirm.module.ngfactory.js +1 -1
- package/esm2015/controls/contextmenu/contextmenu.js +3 -9
- package/esm2015/controls/contextmenu/contextmenu.module.ngfactory.js +1 -1
- package/esm2015/controls/contextmenu/contextmenuanchor.js +1 -1
- package/esm2015/controls/contextmenu/contextmenucontainer.js +1 -1
- package/esm2015/controls/contextmenu/contextmenuitembutton.js +15 -11
- package/esm2015/controls/contextmenu/contextmenuitemsplitter.js +9 -3
- package/esm2015/controls/datetime/date.js +17 -12
- package/esm2015/controls/datetime/datetime.js +9 -7
- package/esm2015/controls/datetime/datetime.module.js +8 -2
- package/esm2015/controls/datetime/datetime.module.ngfactory.js +1 -1
- package/esm2015/controls/datetime/time.js +9 -7
- package/esm2015/controls/dialog/dialog.js +2 -2
- package/esm2015/controls/dialog/dialog.module.ngfactory.js +1 -1
- package/esm2015/controls/form/inheritform.directive.js +42 -56
- package/esm2015/controls/grid/grid.js +2 -2
- package/esm2015/controls/grid/grid.module.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 +5 -5
- 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 +5 -5
- 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/multilanguage/multilanguagemenuitembutton.js +15 -11
- package/esm2015/controls/static/formcontainer.js +3 -3
- 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 +5 -5
- 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/treeview/treeview.js +41 -0
- package/esm2015/controls/treeview/treeview.module.js +16 -0
- package/esm2015/controls/treeview/treeview.module.ngfactory.js +7 -0
- package/esm2015/controls/treeview/treeview.ngfactory.js +7 -0
- package/esm2015/controls/upload/dropzonemultiple.js +4 -4
- package/esm2015/controls/upload/dropzonesingle.js +4 -4
- 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 +4 -4
- package/esm2015/public-api.js +60 -3
- package/esm2015/simpleangularcontrols-sac-bootstrap5.js +6 -57
- package/fesm2015/simpleangularcontrols-sac-bootstrap5.js +290 -146
- package/fesm2015/simpleangularcontrols-sac-bootstrap5.js.map +1 -1
- package/package.json +3 -3
- package/public-api.d.ts +57 -2
- package/public-api.d.ts.map +1 -1
- package/simpleangularcontrols-sac-bootstrap5-10.0.0-rc.20.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap5.d.ts +5 -56
- 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.2.tgz +0 -0
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
SacDialogComponent.decorators = [
|
|
557
557
|
{ type: core.Component, args: [{
|
|
558
558
|
selector: 'sac-dialog',
|
|
559
|
-
template: "<div\r\n #dialog\r\n class=\"modal show\"\r\n style=\"display: block\"\r\n tabindex=\"-1\"\r\n role=\"dialog\"\r\n *ngIf=\"_show\"\r\n>\r\n <div\r\n class=\"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable\"\r\n role=\"document\"\r\n [class.modal-xl]=\"_size === 'extralarge'\"\r\n [class.modal-lg]=\"_size === 'large'\"\r\n [class.modal-sm]=\"_size === 'small'\"\r\n >\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\">{{title}}</h5>\r\n <button\r\n type=\"button\"\r\n class=\"btn-close\"\r\n data-dismiss=\"modal\"\r\n aria-label=\"Close\"\r\n (click)=\"hide()\"\r\n *ngIf=\"closebutton\"\r\n ></button>\r\n </div>\r\n <div class=\"modal-body\"
|
|
559
|
+
template: "<div\r\n #dialog\r\n class=\"modal show\"\r\n style=\"display: block\"\r\n tabindex=\"-1\"\r\n role=\"dialog\"\r\n *ngIf=\"_show\"\r\n>\r\n <div\r\n class=\"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable\"\r\n role=\"document\"\r\n [class.modal-xl]=\"_size === 'extralarge'\"\r\n [class.modal-lg]=\"_size === 'large'\"\r\n [class.modal-sm]=\"_size === 'small'\"\r\n >\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\">{{title}}</h5>\r\n <button\r\n type=\"button\"\r\n class=\"btn-close\"\r\n data-dismiss=\"modal\"\r\n aria-label=\"Close\"\r\n (click)=\"hide()\"\r\n *ngIf=\"closebutton\"\r\n ></button>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content select=\"[dialogbody]\"></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-content select=\"[dialogfooter]\"></ng-content>\r\n </div>\r\n </div>\r\n <!-- /.modal-content -->\r\n </div>\r\n <!-- /.modal-dialog -->\r\n</div>\r\n<!-- /.modal -->\r\n<div class=\"modal-backdrop show\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n"
|
|
560
560
|
},] }
|
|
561
561
|
];
|
|
562
562
|
SacDialogComponent.ctorParameters = function () { return [
|
|
@@ -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
|
|
|
@@ -747,13 +747,7 @@
|
|
|
747
747
|
SacContextmenuComponent.decorators = [
|
|
748
748
|
{ type: core.Component, args: [{
|
|
749
749
|
selector: 'sac-contextmenu',
|
|
750
|
-
template: "<div class=\"dropdown\" [ngClass]=\"cssclass\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n ></ng-container>\r\n\r\n <ul\r\n class=\"dropdown-menu dropdown-menu-end\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </ul>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacContextMenuAnchor\r\n class=\"btn btn-sm btn-link text-secondary text-decoration-none\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n >\r\n <i [class]=\"IconContextMenu\"></i>\r\n </button>\r\n</ng-template>\r\n"
|
|
751
|
-
providers: [
|
|
752
|
-
{
|
|
753
|
-
provide: sacCommon.SacContextmenuCommon,
|
|
754
|
-
useExisting: core.forwardRef(function () { return SacContextmenuComponent; }),
|
|
755
|
-
},
|
|
756
|
-
]
|
|
750
|
+
template: "<div class=\"dropdown\" [ngClass]=\"cssclass\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n ></ng-container>\r\n\r\n <ul\r\n class=\"dropdown-menu dropdown-menu-end\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </ul>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacContextMenuAnchor\r\n class=\"btn btn-sm btn-link text-secondary text-decoration-none\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n >\r\n <i [class]=\"IconContextMenu\"></i>\r\n </button>\r\n</ng-template>\r\n"
|
|
757
751
|
},] }
|
|
758
752
|
];
|
|
759
753
|
SacContextmenuComponent.ctorParameters = function () { return [
|
|
@@ -765,28 +759,32 @@
|
|
|
765
759
|
]; };
|
|
766
760
|
|
|
767
761
|
/**
|
|
768
|
-
* Component
|
|
762
|
+
* Component for menu entry in context menu
|
|
769
763
|
*/
|
|
770
764
|
var SacContextmenuItemButtonComponent = /** @class */ (function (_super) {
|
|
771
765
|
__extends(SacContextmenuItemButtonComponent, _super);
|
|
766
|
+
// #region Constructors
|
|
772
767
|
/**
|
|
773
768
|
* Constructor
|
|
774
|
-
* @param contextmenu Instance von Context Menü
|
|
775
769
|
*/
|
|
776
|
-
function SacContextmenuItemButtonComponent(
|
|
777
|
-
return _super.call(this
|
|
770
|
+
function SacContextmenuItemButtonComponent() {
|
|
771
|
+
return _super.call(this) || this;
|
|
778
772
|
}
|
|
779
773
|
return SacContextmenuItemButtonComponent;
|
|
780
774
|
}(sacCommon.SacContextmenuItemButtonCommon));
|
|
781
775
|
SacContextmenuItemButtonComponent.decorators = [
|
|
782
776
|
{ type: core.Component, args: [{
|
|
783
777
|
selector: 'sac-contextmenubutton',
|
|
784
|
-
template: "<li>\r\n
|
|
778
|
+
template: "<li>\r\n <button\r\n [id]=\"name\"\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [ngClass]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\">\r\n <div class=\"d-flex\">\r\n <div\r\n *ngIf=\"!isicondisabled\"\r\n style=\"min-width: 1.5rem\">\r\n <img\r\n *ngIf=\"image\"\r\n [src]=\"image\"\r\n class=\"align-baseline\" />\r\n <i\r\n *ngIf=\"icon\"\r\n [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n </button>\r\n</li>\r\n",
|
|
779
|
+
providers: [
|
|
780
|
+
{
|
|
781
|
+
provide: sacCommon.SacContextmenuItemCommon,
|
|
782
|
+
useExisting: core.forwardRef(function () { return SacContextmenuItemButtonComponent; }),
|
|
783
|
+
},
|
|
784
|
+
]
|
|
785
785
|
},] }
|
|
786
786
|
];
|
|
787
|
-
SacContextmenuItemButtonComponent.ctorParameters = function () { return [
|
|
788
|
-
{ type: sacCommon.SacContextmenuCommon }
|
|
789
|
-
]; };
|
|
787
|
+
SacContextmenuItemButtonComponent.ctorParameters = function () { return []; };
|
|
790
788
|
|
|
791
789
|
/**
|
|
792
790
|
* Splitter Komponente in Context Menü
|
|
@@ -801,7 +799,13 @@
|
|
|
801
799
|
SacContextmenuItemSplitterComponent.decorators = [
|
|
802
800
|
{ type: core.Component, args: [{
|
|
803
801
|
selector: 'sac-contextmenusplitter',
|
|
804
|
-
template: "<li><div class=\"dropdown-divider\"></div></li>\r\n"
|
|
802
|
+
template: "<li><div class=\"dropdown-divider\"></div></li>\r\n",
|
|
803
|
+
providers: [
|
|
804
|
+
{
|
|
805
|
+
provide: sacCommon.SacContextmenuItemCommon,
|
|
806
|
+
useExisting: core.forwardRef(function () { return SacContextmenuItemSplitterComponent; }),
|
|
807
|
+
},
|
|
808
|
+
]
|
|
805
809
|
},] }
|
|
806
810
|
];
|
|
807
811
|
|
|
@@ -930,74 +934,60 @@
|
|
|
930
934
|
cssClassForm: [{ type: core.HostBinding, args: ['class.form',] }]
|
|
931
935
|
};
|
|
932
936
|
|
|
937
|
+
// #region Classes
|
|
933
938
|
/**
|
|
934
|
-
*
|
|
935
|
-
* @param form SacFormular
|
|
936
|
-
*/
|
|
937
|
-
function SACFORM_FACTORY(form) {
|
|
938
|
-
return form;
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Factory Methode für NgForm
|
|
942
|
-
* @param form NgForm
|
|
943
|
-
*/
|
|
944
|
-
function NGFORM_FACTORY(form) {
|
|
945
|
-
return form;
|
|
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
|
-
*
|
|
939
|
+
* Directive to inherit an NgForm/NgForm from a parent component
|
|
979
940
|
*/
|
|
980
|
-
var SacInheritFormDirective = /** @class */ (function () {
|
|
981
|
-
|
|
941
|
+
var SacInheritFormDirective = /** @class */ (function (_super) {
|
|
942
|
+
__extends(SacInheritFormDirective, _super);
|
|
943
|
+
// #region Constructors
|
|
944
|
+
/**
|
|
945
|
+
* Construtor
|
|
946
|
+
* @param injector: injector to receive the NgForm instance
|
|
947
|
+
*/
|
|
948
|
+
function SacInheritFormDirective(injector) {
|
|
949
|
+
return _super.call(this, injector.get(forms.NgForm)) || this;
|
|
982
950
|
}
|
|
983
951
|
return SacInheritFormDirective;
|
|
984
|
-
}());
|
|
952
|
+
}(sacCommon.SacFormCommon));
|
|
985
953
|
SacInheritFormDirective.decorators = [
|
|
986
954
|
{ type: core.Directive, args: [{
|
|
987
955
|
selector: '[sacInheritForm]',
|
|
956
|
+
exportAs: 'sacinheritform',
|
|
988
957
|
providers: [
|
|
989
958
|
{
|
|
990
959
|
provide: SacFormDirective,
|
|
991
960
|
useFactory: SACFORM_FACTORY,
|
|
992
|
-
deps: [[new core.SkipSelf(), SacFormDirective]]
|
|
993
|
-
},
|
|
961
|
+
deps: [[new core.SkipSelf(), SacFormDirective]],
|
|
962
|
+
},
|
|
963
|
+
{
|
|
994
964
|
provide: forms.ControlContainer,
|
|
995
965
|
useFactory: NGFORM_FACTORY,
|
|
996
|
-
deps: [forms.NgForm]
|
|
997
|
-
}
|
|
998
|
-
]
|
|
966
|
+
deps: [forms.NgForm],
|
|
967
|
+
},
|
|
968
|
+
],
|
|
999
969
|
},] }
|
|
1000
|
-
];
|
|
970
|
+
];
|
|
971
|
+
SacInheritFormDirective.ctorParameters = function () { return [
|
|
972
|
+
{ type: core.Injector }
|
|
973
|
+
]; };
|
|
974
|
+
// #endregion Classes
|
|
975
|
+
// #region Functions
|
|
976
|
+
/**
|
|
977
|
+
* Factory Methode für NgForm
|
|
978
|
+
* @param form NgForm
|
|
979
|
+
*/
|
|
980
|
+
function NGFORM_FACTORY(form) {
|
|
981
|
+
return form;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* Factory Methode für SacForm
|
|
985
|
+
* @param form SacFormular
|
|
986
|
+
*/
|
|
987
|
+
function SACFORM_FACTORY(form) {
|
|
988
|
+
return form;
|
|
989
|
+
}
|
|
990
|
+
// #endregion Functions
|
|
1001
991
|
|
|
1002
992
|
var SACBootstrap5FormModule = /** @class */ (function () {
|
|
1003
993
|
function SACBootstrap5FormModule() {
|
|
@@ -1204,6 +1194,71 @@
|
|
|
1204
1194
|
},] }
|
|
1205
1195
|
];
|
|
1206
1196
|
|
|
1197
|
+
/**
|
|
1198
|
+
* Tooltip Komponente
|
|
1199
|
+
*
|
|
1200
|
+
* @example ToolTip Control
|
|
1201
|
+
*
|
|
1202
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
1203
|
+
* <i class="tooltip"></i>
|
|
1204
|
+
* </ngTooltip>
|
|
1205
|
+
*
|
|
1206
|
+
* @example ToolTip Control im Inline Mode. Style auf Icon kann auch in Klasse ausgelagert werden.
|
|
1207
|
+
*
|
|
1208
|
+
* <div class="form-inline">
|
|
1209
|
+
* <ngInputSearch iconname="Suchen"></ngInputSearch>
|
|
1210
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
1211
|
+
* <i class="tooltip" style="position: relative; left: 0; top: 3px; display: inline-block; margin-right: 10px;"></i>
|
|
1212
|
+
* </ngTooltip>
|
|
1213
|
+
* </div>
|
|
1214
|
+
*
|
|
1215
|
+
*/
|
|
1216
|
+
var SacTooltipComponent = /** @class */ (function (_super) {
|
|
1217
|
+
__extends(SacTooltipComponent, _super);
|
|
1218
|
+
// #region Constructors
|
|
1219
|
+
/**
|
|
1220
|
+
* Konstrukor
|
|
1221
|
+
* @param parent SacFormular Instanz
|
|
1222
|
+
* @param injector Component Injector
|
|
1223
|
+
*/
|
|
1224
|
+
function SacTooltipComponent(cdRef, ref) {
|
|
1225
|
+
return _super.call(this, cdRef, ref) || this;
|
|
1226
|
+
}
|
|
1227
|
+
// #endregion Constructors
|
|
1228
|
+
// #region Protected Methods
|
|
1229
|
+
/**
|
|
1230
|
+
* Padding Value for Bootstrap5 Tooltip Padding
|
|
1231
|
+
* @returns Static Padding Value for BS5
|
|
1232
|
+
*/
|
|
1233
|
+
SacTooltipComponent.prototype.getTooltipOffset = function () {
|
|
1234
|
+
return 8;
|
|
1235
|
+
};
|
|
1236
|
+
return SacTooltipComponent;
|
|
1237
|
+
}(sacCommon.SacTooltipCommon));
|
|
1238
|
+
SacTooltipComponent.decorators = [
|
|
1239
|
+
{ type: core.Component, args: [{
|
|
1240
|
+
selector: 'sac-tooltip',
|
|
1241
|
+
template: "<div [style.display]=\"inlinemode ? 'inline' : null\">\r\n <div\r\n #container\r\n (mouseenter)=\"ShowTooltip()\"\r\n (mouseleave)=\"HideTooltip()\"\r\n [style.display]=\"inlinemode ? 'inline' : null\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n *ngIf=\"IsTooltipVisible()\"\r\n #tooltip>\r\n <div\r\n [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]=\"\r\n GetTooltipPosition() == TooltipPosition.right\r\n ? 'right'\r\n : GetTooltipPosition() == TooltipPosition.left\r\n ? 'left'\r\n : GetTooltipPosition() == TooltipPosition.top\r\n ? 'top'\r\n : GetTooltipPosition() == TooltipPosition.bottom\r\n ? 'bottom'\r\n : null\r\n \">\r\n <div\r\n class=\"tooltip-arrow\"\r\n style=\"position: absolute\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\"></div>\r\n <div class=\"tooltip-inner\">{{ tooltiptext }}</div>\r\n </div>\r\n </div>\r\n</div>\r\n"
|
|
1242
|
+
},] }
|
|
1243
|
+
];
|
|
1244
|
+
SacTooltipComponent.ctorParameters = function () { return [
|
|
1245
|
+
{ type: core.ChangeDetectorRef },
|
|
1246
|
+
{ type: core.ElementRef }
|
|
1247
|
+
]; };
|
|
1248
|
+
|
|
1249
|
+
var SACBootstrap5TooltipModule = /** @class */ (function () {
|
|
1250
|
+
function SACBootstrap5TooltipModule() {
|
|
1251
|
+
}
|
|
1252
|
+
return SACBootstrap5TooltipModule;
|
|
1253
|
+
}());
|
|
1254
|
+
SACBootstrap5TooltipModule.decorators = [
|
|
1255
|
+
{ type: core.NgModule, args: [{
|
|
1256
|
+
declarations: [SacTooltipComponent],
|
|
1257
|
+
imports: [common.CommonModule],
|
|
1258
|
+
exports: [SacTooltipComponent],
|
|
1259
|
+
},] }
|
|
1260
|
+
];
|
|
1261
|
+
|
|
1207
1262
|
/**
|
|
1208
1263
|
* Dropzone Komponente für mehrere Uploads
|
|
1209
1264
|
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
@@ -1234,7 +1289,7 @@
|
|
|
1234
1289
|
SacDropzoneMultipleComponent.decorators = [
|
|
1235
1290
|
{ type: core.Component, args: [{
|
|
1236
1291
|
selector: 'sac-dropzonemultiple',
|
|
1237
|
-
template: "<div class=\"row mb-3\"
|
|
1292
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}_label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\">\r\n <div class=\"align-self-center text-center\">\r\n <div [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center align-items-center w-50 my-3\"\r\n *ngIf=\"uploads.length > 0\">\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 <div\r\n class=\"input-group upload-component upload-component-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text 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 <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 </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1238
1293
|
providers: [
|
|
1239
1294
|
{
|
|
1240
1295
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1287,7 +1342,7 @@
|
|
|
1287
1342
|
SacDropzoneSingleComponent.decorators = [
|
|
1288
1343
|
{ type: core.Component, args: [{
|
|
1289
1344
|
selector: 'sac-dropzonesingle',
|
|
1290
|
-
template: "<div class=\"row mb-3\"
|
|
1345
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}_label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n class=\"content d-flex justify-content-center position-relative\"\r\n *ngIf=\"uploads.length === 0\">\r\n <div class=\"align-self-center text-center\">\r\n <div [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center align-items-center w-50 my-3\"\r\n *ngIf=\"uploads.length > 0\">\r\n <div class=\"flex-fill progress-container\">\r\n <div\r\n class=\"dropzone-uploadstates\"\r\n *ngFor=\"let file of uploads\">\r\n <div\r\n class=\"input-group upload-component upload-component-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text 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 <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 </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1291
1346
|
providers: [
|
|
1292
1347
|
{
|
|
1293
1348
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1332,7 +1387,7 @@
|
|
|
1332
1387
|
SacUploadComponent.decorators = [
|
|
1333
1388
|
{ type: core.Component, args: [{
|
|
1334
1389
|
selector: 'sac-upload',
|
|
1335
|
-
template: "<div class=\"row mb-3\"
|
|
1390
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}_label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <!-- 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 <i\r\n class=\"pe-2\"\r\n [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\">{{ lngResourceService.GetString(validationKeyService.UploadButtonBrowse) | async }}</span>\r\n <input\r\n type=\"file\"\r\n id=\"{{ name }}_uploadinput\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"HasQueueItem()\" />\r\n </div>\r\n <div\r\n class=\"form-control upload-progress\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"Progress() === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"Progress()\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"Progress()\">\r\n <span class=\"progress-text text-dark\">{{ Filename() | async }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <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 <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 <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 <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 <span\r\n [class]=\"IconUpload\"\r\n class=\"pe-2\"></span\r\n >{{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1336
1391
|
providers: [
|
|
1337
1392
|
{
|
|
1338
1393
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1377,7 +1432,7 @@
|
|
|
1377
1432
|
SacUploadMultipleComponent.decorators = [
|
|
1378
1433
|
{ type: core.Component, args: [{
|
|
1379
1434
|
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}}</label\r\n >\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>\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",
|
|
1435
|
+
template: "<div\r\n id=\"{{ name }}\"\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isAdaptiveLabel\"\r\n id=\"{{ name }}_label\"\r\n for=\"{{ name }}_uploadinput\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\">\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 <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 <i\r\n [class]=\"IconBrowse\"\r\n class=\"pe-2\"></i>\r\n <span class=\"upload-browse\">Browse</span>\r\n <input\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\" />\r\n </div>\r\n\r\n <div\r\n class=\"btn-group\"\r\n [class.btn-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.btn-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <!-- image-preview-clear button -->\r\n <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 <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 <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 <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 <span\r\n [class]=\"IconUpload\"\r\n class=\"pe-2\"></span>\r\n {{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngFor=\"let file of uploads\"\r\n style=\"margin-top: 5px\">\r\n <div\r\n class=\"input-group upload-component upload-multiple\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <div\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress === 100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\">\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n\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 <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 <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 <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 <span\r\n [class]=\"IconUpload\"\r\n class=\"pe-2\"></span\r\n >{{ lngResourceService.GetString(validationKeyService.UploadButtonUpload) | async }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1381
1436
|
providers: [
|
|
1382
1437
|
{
|
|
1383
1438
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -1413,7 +1468,12 @@
|
|
|
1413
1468
|
SacDropzoneSingleComponent,
|
|
1414
1469
|
SacDropzoneMultipleComponent,
|
|
1415
1470
|
],
|
|
1416
|
-
imports: [
|
|
1471
|
+
imports: [
|
|
1472
|
+
common.CommonModule,
|
|
1473
|
+
forms.FormsModule,
|
|
1474
|
+
SACBootstrap5LayoutModule,
|
|
1475
|
+
SACBootstrap5TooltipModule,
|
|
1476
|
+
],
|
|
1417
1477
|
exports: [
|
|
1418
1478
|
SacUploadComponent,
|
|
1419
1479
|
SacUploadMultipleComponent,
|
|
@@ -1572,7 +1632,7 @@
|
|
|
1572
1632
|
SacCheckboxComponent.decorators = [
|
|
1573
1633
|
{ type: core.Component, args: [{
|
|
1574
1634
|
selector: 'sac-checkbox',
|
|
1575
|
-
template: "<div
|
|
1635
|
+
template: "<div\r\n class=\"row\"\r\n [class.g-0]=\"disablelabel\"\r\n [class.mb-3]=\"!stacked\">\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\r\n <label\r\n *ngIf=\"!disablelabel && !stacked\"\r\n for=\"{{ name }}\"\r\n class=\"col-form-label d-flex\"\r\n [ngClass]=\"componentHeight | toLabelHeight\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\r\n >{{ label }}</div\r\n >\r\n <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>\r\n </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 <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 <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 <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 <ng-container *ngIf=\"checkboxtext\">{{ checkboxtext }}</ng-container>\r\n </label>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1576
1636
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1577
1637
|
providers: [
|
|
1578
1638
|
{
|
|
@@ -1586,7 +1646,7 @@
|
|
|
1586
1646
|
multi: true,
|
|
1587
1647
|
},
|
|
1588
1648
|
],
|
|
1589
|
-
styles: [".form-check-
|
|
1649
|
+
styles: [".form-check-sm{font-size:.875em}.form-check-lg{font-size:1.25em}"]
|
|
1590
1650
|
},] }
|
|
1591
1651
|
];
|
|
1592
1652
|
SacCheckboxComponent.ctorParameters = function () { return [
|
|
@@ -1613,7 +1673,7 @@
|
|
|
1613
1673
|
SacRadiobuttonsComponent.decorators = [
|
|
1614
1674
|
{ type: core.Component, args: [{
|
|
1615
1675
|
selector: 'sac-radiobuttons',
|
|
1616
|
-
template: "<div
|
|
1676
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [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 <label\r\n class=\"col-form-label d-flex\"\r\n [ngClass]=\"componentHeight | toLabelHeight\"\r\n *ngIf=\"!disablelabel\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\r\n >{{ label }}</div\r\n >\r\n <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>\r\n </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 <ng-content></ng-content>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1617
1677
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1618
1678
|
providers: [
|
|
1619
1679
|
{
|
|
@@ -1639,24 +1699,29 @@
|
|
|
1639
1699
|
*/
|
|
1640
1700
|
var SacRadiobuttonComponent = /** @class */ (function (_super) {
|
|
1641
1701
|
__extends(SacRadiobuttonComponent, _super);
|
|
1702
|
+
// #region Constructors
|
|
1642
1703
|
/**
|
|
1643
1704
|
* Konstruktor
|
|
1644
1705
|
* @param SacRadioButtons Radio Buttons Group Komponente
|
|
1706
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
1707
|
+
* @param injector Injector for injecting services
|
|
1645
1708
|
*/
|
|
1646
|
-
function SacRadiobuttonComponent(sacRadioButtons) {
|
|
1647
|
-
return _super.call(this, sacRadioButtons) || this;
|
|
1709
|
+
function SacRadiobuttonComponent(sacRadioButtons, formLayout, injector) {
|
|
1710
|
+
return _super.call(this, sacRadioButtons, formLayout, injector) || this;
|
|
1648
1711
|
}
|
|
1649
1712
|
return SacRadiobuttonComponent;
|
|
1650
1713
|
}(sacCommon.SacRadiobuttonCommon));
|
|
1651
1714
|
SacRadiobuttonComponent.decorators = [
|
|
1652
1715
|
{ type: core.Component, args: [{
|
|
1653
1716
|
selector: 'sac-radiobutton',
|
|
1654
|
-
template: "<div\r\n
|
|
1717
|
+
template: "<div\r\n class=\"form-check\"\r\n [class.form-check-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.form-check-lg]=\"componentHeight === ControlHeight.Large\"\r\n *ngIf=\"hidden === false\">\r\n <input\r\n id=\"{{ getName }}_{{ getIndex }}\"\r\n name=\"{{ getName }}\"\r\n type=\"radio\"\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 [value]=\"value\"\r\n [checked]=\"checked\"\r\n (change)=\"ChangeEvent()\"\r\n [disabled]=\"isDisabled\" />\r\n <label\r\n for=\"{{ getName }}_{{ getIndex }}\"\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 <ng-template *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate; context: { label: label }\"> </ng-template>\r\n </label>\r\n</div>\r\n\r\n<ng-template\r\n #defaultItemLabelTemplate\r\n let-label=\"label\">\r\n <ng-container>{{ label }}</ng-container>\r\n</ng-template>\r\n",
|
|
1655
1718
|
styles: [".form-check-lg{padding-left:1.75rem}.form-check-input{height:1rem;width:1rem}.form-check-input-sm{height:.875rem;margin-top:.4rem;width:.875rem}.form-check-input-lg{height:1.25rem;margin-left:-1.75rem;margin-top:.4rem;width:1.25rem}.form-check-label-sm{font-size:.875rem}.form-check-label-lg{font-size:1.25rem}"]
|
|
1656
1719
|
},] }
|
|
1657
1720
|
];
|
|
1658
1721
|
SacRadiobuttonComponent.ctorParameters = function () { return [
|
|
1659
|
-
{ type: SacRadiobuttonsComponent, decorators: [{ type: core.Host }] }
|
|
1722
|
+
{ type: SacRadiobuttonsComponent, decorators: [{ type: core.Host }] },
|
|
1723
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
|
|
1724
|
+
{ type: core.Injector }
|
|
1660
1725
|
]; };
|
|
1661
1726
|
|
|
1662
1727
|
var SACBootstrap5CheckboxModule = /** @class */ (function () {
|
|
@@ -1671,7 +1736,11 @@
|
|
|
1671
1736
|
SacRadiobuttonComponent,
|
|
1672
1737
|
SacRadiobuttonsComponent,
|
|
1673
1738
|
],
|
|
1674
|
-
imports: [
|
|
1739
|
+
imports: [
|
|
1740
|
+
common.CommonModule,
|
|
1741
|
+
SACBootstrap5LayoutModule,
|
|
1742
|
+
SACBootstrap5TooltipModule,
|
|
1743
|
+
],
|
|
1675
1744
|
exports: [
|
|
1676
1745
|
SacCheckboxComponent,
|
|
1677
1746
|
SacRadiobuttonComponent,
|
|
@@ -1680,10 +1749,7 @@
|
|
|
1680
1749
|
},] }
|
|
1681
1750
|
];
|
|
1682
1751
|
|
|
1683
|
-
|
|
1684
|
-
* Referenz auf Moment.JS
|
|
1685
|
-
*/
|
|
1686
|
-
var moment = moment___default['default'];
|
|
1752
|
+
// #region Classes
|
|
1687
1753
|
/**
|
|
1688
1754
|
* Komponente für Datumauswahl
|
|
1689
1755
|
*/
|
|
@@ -1695,16 +1761,17 @@
|
|
|
1695
1761
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1696
1762
|
* @param injector Injector for injecting services
|
|
1697
1763
|
* @param elementRef Reference to html dom element
|
|
1764
|
+
* @param cdRef Change Dectection Servie
|
|
1698
1765
|
*/
|
|
1699
|
-
function SacDateComponent(formLayout, injector, elementRef) {
|
|
1700
|
-
return _super.call(this, formLayout, injector, elementRef) || this;
|
|
1766
|
+
function SacDateComponent(formLayout, injector, elementRef, cdRef) {
|
|
1767
|
+
return _super.call(this, formLayout, injector, elementRef, cdRef) || this;
|
|
1701
1768
|
}
|
|
1702
1769
|
return SacDateComponent;
|
|
1703
1770
|
}(sacCommon.SacDateCommon));
|
|
1704
1771
|
SacDateComponent.decorators = [
|
|
1705
1772
|
{ type: core.Component, args: [{
|
|
1706
1773
|
selector: 'sac-date',
|
|
1707
|
-
template: "<div
|
|
1774
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </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 [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 <button\r\n #pickerbutton\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\">\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 {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover fade show position-absolute bs-popover-auto\"\r\n role=\"tooltip\"\r\n [attr.data-popper-placement]=\"\r\n GetPickerPosition() == TooltipPosition.right\r\n ? 'right'\r\n : GetPickerPosition() == TooltipPosition.left\r\n ? 'left'\r\n : GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\r\n ? 'top'\r\n : GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\r\n ? 'bottom'\r\n : null\r\n \"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1708
1775
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1709
1776
|
providers: [
|
|
1710
1777
|
{
|
|
@@ -1723,8 +1790,16 @@
|
|
|
1723
1790
|
SacDateComponent.ctorParameters = function () { return [
|
|
1724
1791
|
{ type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
|
|
1725
1792
|
{ type: core.Injector },
|
|
1726
|
-
{ type: core.ElementRef }
|
|
1727
|
-
|
|
1793
|
+
{ type: core.ElementRef },
|
|
1794
|
+
{ type: core.ChangeDetectorRef }
|
|
1795
|
+
]; };
|
|
1796
|
+
// #endregion Classes
|
|
1797
|
+
// #region Variables
|
|
1798
|
+
/**
|
|
1799
|
+
* Referenz auf Moment.JS
|
|
1800
|
+
*/
|
|
1801
|
+
var moment = moment___default['default'];
|
|
1802
|
+
// #endregion Variables
|
|
1728
1803
|
|
|
1729
1804
|
/**
|
|
1730
1805
|
* DateTime Selektor Komponente
|
|
@@ -1754,16 +1829,17 @@
|
|
|
1754
1829
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1755
1830
|
* @param injector Injector for injecting services
|
|
1756
1831
|
* @param elementRef Reference to html dom element
|
|
1832
|
+
* @param cdRef Change Dectection Servie
|
|
1757
1833
|
*/
|
|
1758
|
-
function SacDateTimeComponent(formLayout, injector, elementRef) {
|
|
1759
|
-
return _super.call(this, formLayout, injector, elementRef) || this;
|
|
1834
|
+
function SacDateTimeComponent(formLayout, injector, elementRef, cdRef) {
|
|
1835
|
+
return _super.call(this, formLayout, injector, elementRef, cdRef) || this;
|
|
1760
1836
|
}
|
|
1761
1837
|
return SacDateTimeComponent;
|
|
1762
1838
|
}(sacCommon.SacDateTimeCommon));
|
|
1763
1839
|
SacDateTimeComponent.decorators = [
|
|
1764
1840
|
{ type: core.Component, args: [{
|
|
1765
1841
|
selector: 'sac-datetime',
|
|
1766
|
-
template: "<div
|
|
1842
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </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 [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 <button\r\n #pickerbutton\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\">\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 {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover fade show position-absolute bs-popover-auto\"\r\n role=\"tooltip\"\r\n [attr.data-popper-placement]=\"\r\n GetPickerPosition() == TooltipPosition.right\r\n ? 'right'\r\n : GetPickerPosition() == TooltipPosition.left\r\n ? 'left'\r\n : GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\r\n ? 'top'\r\n : GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\r\n ? 'bottom'\r\n : null\r\n \"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\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\"></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1767
1843
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1768
1844
|
providers: [
|
|
1769
1845
|
{
|
|
@@ -1782,7 +1858,8 @@
|
|
|
1782
1858
|
SacDateTimeComponent.ctorParameters = function () { return [
|
|
1783
1859
|
{ type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
|
|
1784
1860
|
{ type: core.Injector },
|
|
1785
|
-
{ type: core.ElementRef }
|
|
1861
|
+
{ type: core.ElementRef },
|
|
1862
|
+
{ type: core.ChangeDetectorRef }
|
|
1786
1863
|
]; };
|
|
1787
1864
|
|
|
1788
1865
|
/**
|
|
@@ -1796,16 +1873,17 @@
|
|
|
1796
1873
|
* @param formLayout SacFormLayout to define scoped layout settings
|
|
1797
1874
|
* @param injector Injector for injecting services
|
|
1798
1875
|
* @param elementRef Reference to html dom element
|
|
1876
|
+
* @param cdRef Change Dectection Servie
|
|
1799
1877
|
*/
|
|
1800
|
-
function SacTimeComponent(formLayout, injector, elementRef) {
|
|
1801
|
-
return _super.call(this, formLayout, injector, elementRef) || this;
|
|
1878
|
+
function SacTimeComponent(formLayout, injector, elementRef, cdRef) {
|
|
1879
|
+
return _super.call(this, formLayout, injector, elementRef, cdRef) || this;
|
|
1802
1880
|
}
|
|
1803
1881
|
return SacTimeComponent;
|
|
1804
1882
|
}(sacCommon.SacTimeCommon));
|
|
1805
1883
|
SacTimeComponent.decorators = [
|
|
1806
1884
|
{ type: core.Component, args: [{
|
|
1807
1885
|
selector: 'sac-time',
|
|
1808
|
-
template: "<div
|
|
1886
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </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 [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 <button\r\n #pickerbutton\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showTimeSelector()\"\r\n [disabled]=\"isdisabled\">\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 {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n <div\r\n #picker\r\n *ngIf=\"_showselector\">\r\n <div\r\n class=\"popover fade show position-absolute bs-popover-auto\"\r\n role=\"tooltip\"\r\n [attr.data-popper-placement]=\"\r\n GetPickerPosition() == TooltipPosition.right\r\n ? 'right'\r\n : GetPickerPosition() == TooltipPosition.left\r\n ? 'left'\r\n : GetPickerPosition() == TooltipPosition.top || GetPickerPosition() == TooltipPosition.topend\r\n ? 'top'\r\n : GetPickerPosition() == TooltipPosition.bottom || GetPickerPosition() == TooltipPosition.bottomend\r\n ? 'bottom'\r\n : null\r\n \"\r\n [style.left.px]=\"posPopupLeft\"\r\n [style.top.px]=\"posPopupTop\">\r\n <div\r\n #pickerarrow\r\n class=\"popover-arrow position-absolute\"\r\n style=\"left: unset\"\r\n [style.top.px]=\"posArrowTop\"\r\n [style.left.px]=\"posArrowLeft\">\r\n </div>\r\n\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"timeselect($event)\"\r\n timeselection=\"true\"></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
1809
1887
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1810
1888
|
providers: [
|
|
1811
1889
|
{
|
|
@@ -1824,7 +1902,8 @@
|
|
|
1824
1902
|
SacTimeComponent.ctorParameters = function () { return [
|
|
1825
1903
|
{ type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
|
|
1826
1904
|
{ type: core.Injector },
|
|
1827
|
-
{ type: core.ElementRef }
|
|
1905
|
+
{ type: core.ElementRef },
|
|
1906
|
+
{ type: core.ChangeDetectorRef }
|
|
1828
1907
|
]; };
|
|
1829
1908
|
|
|
1830
1909
|
var SACBootstrap5DateTimeModule = /** @class */ (function () {
|
|
@@ -1840,7 +1919,12 @@
|
|
|
1840
1919
|
SacTimeComponent,
|
|
1841
1920
|
SacDateSelectorComponent,
|
|
1842
1921
|
],
|
|
1843
|
-
imports: [
|
|
1922
|
+
imports: [
|
|
1923
|
+
common.CommonModule,
|
|
1924
|
+
angularImask.IMaskModule,
|
|
1925
|
+
SACBootstrap5LayoutModule,
|
|
1926
|
+
SACBootstrap5TooltipModule,
|
|
1927
|
+
],
|
|
1844
1928
|
exports: [
|
|
1845
1929
|
SacDateComponent,
|
|
1846
1930
|
SacDateTimeComponent,
|
|
@@ -1874,7 +1958,7 @@
|
|
|
1874
1958
|
SacGridComponent.decorators = [
|
|
1875
1959
|
{ type: core.Component, args: [{
|
|
1876
1960
|
selector: 'sac-grid',
|
|
1877
|
-
template: "<div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover\" id
|
|
1961
|
+
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
1962
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
1879
1963
|
providers: [
|
|
1880
1964
|
{ provide: forms.NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
@@ -1896,23 +1980,15 @@
|
|
|
1896
1980
|
|
|
1897
1981
|
/**
|
|
1898
1982
|
* 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
1983
|
*/
|
|
1909
1984
|
var SacGridButtonComponent = /** @class */ (function (_super) {
|
|
1910
1985
|
__extends(SacGridButtonComponent, _super);
|
|
1911
1986
|
function SacGridButtonComponent() {
|
|
1912
1987
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1913
1988
|
}
|
|
1989
|
+
// #region Public Methods
|
|
1914
1990
|
/**
|
|
1915
|
-
*
|
|
1991
|
+
* Returns the icon for the button
|
|
1916
1992
|
*/
|
|
1917
1993
|
SacGridButtonComponent.prototype.getIconClass = function () {
|
|
1918
1994
|
var iconset = this.iconstyle;
|
|
@@ -1962,7 +2038,7 @@
|
|
|
1962
2038
|
SacGridColumnComponent.decorators = [
|
|
1963
2039
|
{ type: core.Component, args: [{
|
|
1964
2040
|
selector: 'sac-gridcolumn',
|
|
1965
|
-
template: "<th\r\n
|
|
2041
|
+
template: "<th\r\n scope=\"col\"\r\n *ngIf=\"IsHeader()\"\r\n [style.width]=\"width\"\r\n (click)=\"SortByColumn()\">\r\n <span>{{ header }}</span>\r\n <span\r\n class=\"ps-2\"\r\n [class]=\"IconSortUp\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() === 'asc'\"></span>\r\n <span\r\n class=\"ps-2\"\r\n [class]=\"IconSortDown\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() === 'desc'\"></span>\r\n</th>\r\n<td\r\n scope=\"col\"\r\n *ngIf=\"IsBody()\"\r\n [style.width]=\"width\"\r\n [class.ellipsis]=\"IsEllipsis()\"\r\n (click)=\"ColumnClick()\"\r\n [style.max-width]=\"IsEllipsis() ? width : null\"\r\n [style.overflow]=\"IsEllipsis() ? 'hidden' : null\"\r\n [style.text-overflow]=\"IsEllipsis() ? 'ellipsis' : null\"\r\n [style.white-space]=\"IsEllipsis() ? 'nowrap' : null\">\r\n <span\r\n [attr.title]=\"IsEllipsis() ? value : null\"\r\n [innerHtml]=\"value\">\r\n </span>\r\n</td>\r\n",
|
|
1966
2042
|
providers: [
|
|
1967
2043
|
{
|
|
1968
2044
|
provide: sacCommon.SacGridColumnBaseCommon,
|
|
@@ -2110,7 +2186,7 @@
|
|
|
2110
2186
|
SacInputComponent.decorators = [
|
|
2111
2187
|
{ type: core.Component, args: [{
|
|
2112
2188
|
selector: 'sac-input',
|
|
2113
|
-
template: "<div
|
|
2189
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2114
2190
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2115
2191
|
providers: [
|
|
2116
2192
|
{ provide: forms.NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
@@ -2146,7 +2222,7 @@
|
|
|
2146
2222
|
SacInputAreaComponent.decorators = [
|
|
2147
2223
|
{ type: core.Component, args: [{
|
|
2148
2224
|
selector: 'sac-inputarea',
|
|
2149
|
-
template: "<div
|
|
2225
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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\"></textarea>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2150
2226
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2151
2227
|
providers: [
|
|
2152
2228
|
{
|
|
@@ -2186,7 +2262,7 @@
|
|
|
2186
2262
|
SacInputCurrencyComponent.decorators = [
|
|
2187
2263
|
{ type: core.Component, args: [{
|
|
2188
2264
|
selector: 'sac-inputcurrency',
|
|
2189
|
-
template: "<div
|
|
2265
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 <span class=\"input-group-text\">{{ currency }}</span>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2190
2266
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2191
2267
|
providers: [
|
|
2192
2268
|
{
|
|
@@ -2226,7 +2302,7 @@
|
|
|
2226
2302
|
SacInputDecimalComponent.decorators = [
|
|
2227
2303
|
{ type: core.Component, args: [{
|
|
2228
2304
|
selector: 'sac-inputdecimal',
|
|
2229
|
-
template: "<div
|
|
2305
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2230
2306
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2231
2307
|
providers: [
|
|
2232
2308
|
{
|
|
@@ -2266,7 +2342,7 @@
|
|
|
2266
2342
|
SacInputEmailComponent.decorators = [
|
|
2267
2343
|
{ type: core.Component, args: [{
|
|
2268
2344
|
selector: 'sac-inputemail',
|
|
2269
|
-
template: "<div
|
|
2345
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2270
2346
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2271
2347
|
providers: [
|
|
2272
2348
|
{
|
|
@@ -2306,7 +2382,7 @@
|
|
|
2306
2382
|
SacInputIntegerComponent.decorators = [
|
|
2307
2383
|
{ type: core.Component, args: [{
|
|
2308
2384
|
selector: 'sac-inputinteger',
|
|
2309
|
-
template: "<div
|
|
2385
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2310
2386
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2311
2387
|
providers: [
|
|
2312
2388
|
{
|
|
@@ -2346,7 +2422,7 @@
|
|
|
2346
2422
|
SacInputPasswordComponent.decorators = [
|
|
2347
2423
|
{ type: core.Component, args: [{
|
|
2348
2424
|
selector: 'sac-inputpassword',
|
|
2349
|
-
template: "<div
|
|
2425
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2350
2426
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2351
2427
|
providers: [
|
|
2352
2428
|
{
|
|
@@ -2386,7 +2462,7 @@
|
|
|
2386
2462
|
SacInputSearchComponent.decorators = [
|
|
2387
2463
|
{ type: core.Component, args: [{
|
|
2388
2464
|
selector: 'sac-inputsearch',
|
|
2389
|
-
template: "<div
|
|
2465
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n id=\"{{ name }}_label\"\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n class=\"input-group\"\r\n [class.input-group-sm]=\"componentHeight === ControlHeight.Small\"\r\n [class.input-group-lg]=\"componentHeight === ControlHeight.Large\">\r\n <input\r\n id=\"{{ name }}\"\r\n name=\"{{ name }}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [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 <button\r\n type=\"button\"\r\n class=\"btn btn-secondary\"\r\n id=\"{{ name }}_search\"\r\n (click)=\"searchClick()\">\r\n <i\r\n *ngIf=\"buttonmode === 'icon' || buttonmode === 'mixed'\"\r\n [class]=\"iconname\"\r\n [class.me-2]=\"buttonmode === 'mixed'\"></i>\r\n <ng-container *ngIf=\"buttonmode === 'text' || buttonmode === 'mixed'\">{{ buttontext }}</ng-container>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2390
2466
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2391
2467
|
providers: [
|
|
2392
2468
|
{
|
|
@@ -2424,7 +2500,11 @@
|
|
|
2424
2500
|
SacInputPasswordComponent,
|
|
2425
2501
|
SacInputSearchComponent,
|
|
2426
2502
|
],
|
|
2427
|
-
imports: [
|
|
2503
|
+
imports: [
|
|
2504
|
+
common.CommonModule,
|
|
2505
|
+
SACBootstrap5LayoutModule,
|
|
2506
|
+
SACBootstrap5TooltipModule,
|
|
2507
|
+
],
|
|
2428
2508
|
exports: [
|
|
2429
2509
|
SacInputComponent,
|
|
2430
2510
|
SacInputAreaComponent,
|
|
@@ -2460,7 +2540,7 @@
|
|
|
2460
2540
|
SacDropdownComponent.decorators = [
|
|
2461
2541
|
{ type: core.Component, args: [{
|
|
2462
2542
|
selector: 'sac-dropdown',
|
|
2463
|
-
template: "<div
|
|
2543
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <option\r\n *ngIf=\"emptylabel !== ''\"\r\n [ngValue]=\"emptyvalue\">\r\n {{ emptylabel }}\r\n </option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let item of options\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: item[optionlabel], item: item }\"> </ng-template>\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let group of options\"\r\n [attr.label]=\"group[grouplabel]\">\r\n <option\r\n *ngFor=\"let item of group[groupitems]\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate; context: { label: item[optionlabel], item: item }\"> </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template\r\n #defaultItemLabelTemplate\r\n let-label=\"label\">\r\n {{ label }}\r\n</ng-template>\r\n",
|
|
2464
2544
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2465
2545
|
providers: [
|
|
2466
2546
|
{
|
|
@@ -2517,7 +2597,11 @@
|
|
|
2517
2597
|
SACBootstrap5DropdownModule.decorators = [
|
|
2518
2598
|
{ type: core.NgModule, args: [{
|
|
2519
2599
|
declarations: [SacDropdownComponent, SacDropdownOptionDirective],
|
|
2520
|
-
imports: [
|
|
2600
|
+
imports: [
|
|
2601
|
+
common.CommonModule,
|
|
2602
|
+
SACBootstrap5LayoutModule,
|
|
2603
|
+
SACBootstrap5TooltipModule,
|
|
2604
|
+
],
|
|
2521
2605
|
exports: [SacDropdownComponent, SacDropdownOptionDirective],
|
|
2522
2606
|
},] }
|
|
2523
2607
|
];
|
|
@@ -2542,7 +2626,7 @@
|
|
|
2542
2626
|
SacListboxComponent.decorators = [
|
|
2543
2627
|
{ type: core.Component, args: [{
|
|
2544
2628
|
selector: 'sac-listbox',
|
|
2545
|
-
template: "<div
|
|
2629
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 {{ 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 <option\r\n *ngFor=\"let item of option[groupitems]\"\r\n [value]=\"item[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\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 {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2546
2630
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2547
2631
|
providers: [
|
|
2548
2632
|
{
|
|
@@ -2597,7 +2681,11 @@
|
|
|
2597
2681
|
SACBootstrap5ListModule.decorators = [
|
|
2598
2682
|
{ type: core.NgModule, args: [{
|
|
2599
2683
|
declarations: [SacListboxComponent, SacListboxOptionDirective],
|
|
2600
|
-
imports: [
|
|
2684
|
+
imports: [
|
|
2685
|
+
common.CommonModule,
|
|
2686
|
+
SACBootstrap5LayoutModule,
|
|
2687
|
+
SACBootstrap5TooltipModule,
|
|
2688
|
+
],
|
|
2601
2689
|
exports: [SacListboxComponent, SacListboxOptionDirective],
|
|
2602
2690
|
},] }
|
|
2603
2691
|
];
|
|
@@ -2628,7 +2716,7 @@
|
|
|
2628
2716
|
SacMultilanguageInputComponent.decorators = [
|
|
2629
2717
|
{ type: core.Component, args: [{
|
|
2630
2718
|
selector: 'sac-multilanguageinput',
|
|
2631
|
-
template: "<div
|
|
2719
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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 </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 <img\r\n src=\"{{ SelectedIcon }}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\" />\r\n <span\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"></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 {{ 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)\"></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)\"></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\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
2720
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2633
2721
|
providers: [
|
|
2634
2722
|
{
|
|
@@ -2675,7 +2763,7 @@
|
|
|
2675
2763
|
SacMultilanguageInputAreaComponent.decorators = [
|
|
2676
2764
|
{ type: core.Component, args: [{
|
|
2677
2765
|
selector: 'sac-multilanguageinputarea',
|
|
2678
|
-
template: "<div
|
|
2766
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\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 <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\"></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 <img\r\n src=\"{{ SelectedIcon }}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\" />\r\n <i\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"></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 {{ 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)\"></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)\"></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\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
2767
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2680
2768
|
providers: [
|
|
2681
2769
|
{
|
|
@@ -2801,28 +2889,32 @@
|
|
|
2801
2889
|
]; };
|
|
2802
2890
|
|
|
2803
2891
|
/**
|
|
2804
|
-
* Component
|
|
2892
|
+
* Component for menu entry in context menu
|
|
2805
2893
|
*/
|
|
2806
2894
|
var SacMultilanguagemenuItemButtonComponent = /** @class */ (function (_super) {
|
|
2807
2895
|
__extends(SacMultilanguagemenuItemButtonComponent, _super);
|
|
2896
|
+
// #region Constructors
|
|
2808
2897
|
/**
|
|
2809
2898
|
* Constructor
|
|
2810
|
-
* @param contextmenu Instance von Context Menü
|
|
2811
2899
|
*/
|
|
2812
|
-
function SacMultilanguagemenuItemButtonComponent(
|
|
2813
|
-
return _super.call(this
|
|
2900
|
+
function SacMultilanguagemenuItemButtonComponent() {
|
|
2901
|
+
return _super.call(this) || this;
|
|
2814
2902
|
}
|
|
2815
2903
|
return SacMultilanguagemenuItemButtonComponent;
|
|
2816
2904
|
}(sacCommon.SacContextmenuItemButtonCommon));
|
|
2817
2905
|
SacMultilanguagemenuItemButtonComponent.decorators = [
|
|
2818
2906
|
{ type: core.Component, args: [{
|
|
2819
2907
|
selector: 'sac-multilanguagemenubutton',
|
|
2820
|
-
template: "<li>\r\n <button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [ngClass]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n >\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n </button>\r\n</li>\r\n"
|
|
2908
|
+
template: "<li>\r\n <button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [ngClass]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n >\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n </button>\r\n</li>\r\n",
|
|
2909
|
+
providers: [
|
|
2910
|
+
{
|
|
2911
|
+
provide: sacCommon.SacContextmenuItemCommon,
|
|
2912
|
+
useExisting: core.forwardRef(function () { return SacMultilanguagemenuItemButtonComponent; }),
|
|
2913
|
+
},
|
|
2914
|
+
]
|
|
2821
2915
|
},] }
|
|
2822
2916
|
];
|
|
2823
|
-
SacMultilanguagemenuItemButtonComponent.ctorParameters = function () { return [
|
|
2824
|
-
{ type: sacCommon.SacContextmenuCommon }
|
|
2825
|
-
]; };
|
|
2917
|
+
SacMultilanguagemenuItemButtonComponent.ctorParameters = function () { return []; };
|
|
2826
2918
|
|
|
2827
2919
|
var SACBootstrap5MultilanguageModule = /** @class */ (function () {
|
|
2828
2920
|
function SACBootstrap5MultilanguageModule() {
|
|
@@ -2839,7 +2931,11 @@
|
|
|
2839
2931
|
SacMultilanguagemenuContainerDirective,
|
|
2840
2932
|
SacMultilanguagemenuItemButtonComponent,
|
|
2841
2933
|
],
|
|
2842
|
-
imports: [
|
|
2934
|
+
imports: [
|
|
2935
|
+
common.CommonModule,
|
|
2936
|
+
SACBootstrap5LayoutModule,
|
|
2937
|
+
SACBootstrap5TooltipModule,
|
|
2938
|
+
],
|
|
2843
2939
|
exports: [SacMultilanguageInputComponent, SacMultilanguageInputAreaComponent],
|
|
2844
2940
|
},] }
|
|
2845
2941
|
];
|
|
@@ -2874,7 +2970,7 @@
|
|
|
2874
2970
|
SacStaticFormContainerComponent.decorators = [
|
|
2875
2971
|
{ type: core.Component, args: [{
|
|
2876
2972
|
selector: 'sac-staticformcontainer',
|
|
2877
|
-
template: "<div
|
|
2973
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [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 d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n [class.was-validated]=\"isinlineerrorenabled && isinvalid && errormessage\">\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 && isinvalid && errormessage\">\r\n {{ errormessage }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2878
2974
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2879
2975
|
providers: [
|
|
2880
2976
|
{
|
|
@@ -2914,7 +3010,7 @@
|
|
|
2914
3010
|
SacStaticLabelComponent.decorators = [
|
|
2915
3011
|
{ type: core.Component, args: [{
|
|
2916
3012
|
selector: 'sac-staticlabel',
|
|
2917
|
-
template: "<div
|
|
3013
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [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 d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div>\r\n <div\r\n [id]=\"name\"\r\n class=\"form-control-plaintext\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\"\r\n [innerHTML]=\"value\"></div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2918
3014
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
2919
3015
|
providers: [
|
|
2920
3016
|
{
|
|
@@ -2943,7 +3039,11 @@
|
|
|
2943
3039
|
SACBootstrap5StaticLabelModule.decorators = [
|
|
2944
3040
|
{ type: core.NgModule, args: [{
|
|
2945
3041
|
declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
2946
|
-
imports: [
|
|
3042
|
+
imports: [
|
|
3043
|
+
common.CommonModule,
|
|
3044
|
+
SACBootstrap5LayoutModule,
|
|
3045
|
+
SACBootstrap5TooltipModule,
|
|
3046
|
+
],
|
|
2947
3047
|
exports: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
2948
3048
|
},] }
|
|
2949
3049
|
];
|
|
@@ -2985,7 +3085,7 @@
|
|
|
2985
3085
|
SacTabComponent.decorators = [
|
|
2986
3086
|
{ type: core.Component, args: [{
|
|
2987
3087
|
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"
|
|
3088
|
+
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
3089
|
},] }
|
|
2990
3090
|
];
|
|
2991
3091
|
SacTabComponent.propDecorators = {
|
|
@@ -3024,7 +3124,7 @@
|
|
|
3024
3124
|
// #region Public Methods
|
|
3025
3125
|
/**
|
|
3026
3126
|
* overwrite tinymce defaults
|
|
3027
|
-
* @returns
|
|
3127
|
+
* @returns boostrap5 has no overwrites
|
|
3028
3128
|
*/
|
|
3029
3129
|
SacTinyMceComponent.prototype.overwriteDefaultSettings = function () {
|
|
3030
3130
|
return {};
|
|
@@ -3034,7 +3134,7 @@
|
|
|
3034
3134
|
SacTinyMceComponent.decorators = [
|
|
3035
3135
|
{ type: core.Component, args: [{
|
|
3036
3136
|
selector: 'sac-tinymce',
|
|
3037
|
-
template: "<div
|
|
3137
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\r\n [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div [class.flex-grow-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <editor\r\n [id]=\"name + '_tinymce'\"\r\n [init]=\"_config\"\r\n [initialValue]=\"value\"\r\n ngModel\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (ngModelChange)=\"setValue($event)\"\r\n (onSaveContent)=\"save($event.event.content)\"\r\n [disabled]=\"disabled\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"></editor>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n\r\n <sac-dialog\r\n *ngIf=\"selectdialogvisible\"\r\n [allowesc]=\"false\"\r\n [backdrop]=\"true\"\r\n [(isvisible)]=\"selectdialogvisible\"\r\n title=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectDialogtitle) | async }}\"\r\n size=\"large\"\r\n height=\"500px\">\r\n <ng-container dialogbody>\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\"></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()\"></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString(validationKeyService.TinyMceFileselectCancel) | async }}\"\r\n (clicked)=\"closeSelectDialog()\"></sac-button>\r\n </ng-container>\r\n </sac-dialog>\r\n</div>\r\n",
|
|
3038
3138
|
// Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
|
|
3039
3139
|
providers: [
|
|
3040
3140
|
{
|
|
@@ -3073,11 +3173,64 @@
|
|
|
3073
3173
|
SACBootstrap5DialogModule,
|
|
3074
3174
|
SACBootstrap5BrowserModule,
|
|
3075
3175
|
SACBootstrap5LayoutModule,
|
|
3176
|
+
SACBootstrap5TooltipModule,
|
|
3076
3177
|
],
|
|
3077
3178
|
exports: [SacTinyMceComponent],
|
|
3078
3179
|
},] }
|
|
3079
3180
|
];
|
|
3080
3181
|
|
|
3182
|
+
/**
|
|
3183
|
+
* Treeview Compomnent
|
|
3184
|
+
*/
|
|
3185
|
+
var SacTreeviewComponent = /** @class */ (function (_super) {
|
|
3186
|
+
__extends(SacTreeviewComponent, _super);
|
|
3187
|
+
// #region Constructors
|
|
3188
|
+
/**
|
|
3189
|
+
* Constructor
|
|
3190
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
3191
|
+
* @param injector Component Injector
|
|
3192
|
+
*/
|
|
3193
|
+
function SacTreeviewComponent(formLayout, injector) {
|
|
3194
|
+
return _super.call(this, formLayout, injector) || this;
|
|
3195
|
+
}
|
|
3196
|
+
return SacTreeviewComponent;
|
|
3197
|
+
}(sacCommon.SacTreeviewCommon));
|
|
3198
|
+
SacTreeviewComponent.decorators = [
|
|
3199
|
+
{ type: core.Component, args: [{
|
|
3200
|
+
selector: 'sac-treeview',
|
|
3201
|
+
template: "<div\r\n class=\"row mb-3\"\r\n [class.g-0]=\"disablelabel\">\r\n <label\r\n for=\"{{ name }}\"\r\n class=\"col-12 col-form-label d-flex\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"text flex-grow-0\"\r\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\">\r\n {{ label }}\r\n </div>\r\n <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>\r\n </sac-tooltip>\r\n </label>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\">\r\n <div [class.d-flex]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <div\r\n class=\"w-100\"\r\n [style.min-width]=\"helptextmode === 'tooltip' && helptext && disablelabel ? 0 : null\"\r\n [class.me-1]=\"helptextmode === 'tooltip' && helptext && disablelabel\">\r\n <ul\r\n class=\"list-group list-group-flush\"\r\n id=\"{{ name }}\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [class.border]=\"invalid && (dirty || touched)\"\r\n [class.border-danger]=\"invalid && (dirty || touched)\">\r\n <ng-container *ngFor=\"let node of data\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{ node: node, deep: 0, path: '', textpath: '' }\">\r\n </ng-template>\r\n </ng-container>\r\n </ul>\r\n\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\">\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text\">\r\n {{ helptext }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ms-2 me-1 w-auto\"\r\n [ngClass]=\"[componentHeight | toControlHeight]\">\r\n <sac-tooltip\r\n [tooltiptext]=\"helptext\"\r\n [inlinemode]=\"true\">\r\n <span\r\n [ngClass]=\"HelptextTooltipIcon\"\r\n class=\"ml-1\">\r\n </span>\r\n </sac-tooltip>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template\r\n #treeItem\r\n let-node=\"node\"\r\n let-deep=\"deep\"\r\n let-path=\"path\"\r\n let-textpath=\"textpath\">\r\n <li\r\n class=\"list-group-item list-group-item-action py-1 px-2 d-flex align-items-center\"\r\n [class.active]=\"isSelectedState(node)\"\r\n (mouseenter)=\"setHoverState(node, true)\"\r\n (mouseleave)=\"setHoverState(node, false)\"\r\n style=\"cursor: pointer\"\r\n attr.data-path=\"{{ path }}/{{ getStringField(node, attrid) }}\"\r\n attr.data-textpath=\"{{ textpath }}/{{ getStringField(node, attrlabel) }}\">\r\n <div\r\n class=\"mx-3\"\r\n *ngFor=\"let i of count(deep)\">\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n *ngIf=\"expandedstate === 'true' || expandedstate === true\"\r\n class=\"me-2\"\r\n [ngClass]=\"!hasChildren(node) ? iconFolderEmpty : !isExpandedState(node) ? iconFolderCollabsed : isExpandedState(node) ? iconFolderOpen : ''\">\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n *ngIf=\"attricon && getStringField(node, attricon)\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templateicon || defaultTemplateIcon\"\r\n [ngTemplateOutletContext]=\"{ node: node }\">\r\n </ng-template>\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n class=\"flex-grow-1 py-1\"\r\n [style.max-width.percent]=\"enableellipsis ? '100' : null\"\r\n [style.overflow]=\"enableellipsis ? 'hidden' : null\"\r\n [style.text-overflow]=\"enableellipsis ? 'ellipsis' : null\"\r\n [style.white-space]=\"enableellipsis ? 'nowrap' : null\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templatelabel || defaultTemplateLabel\"\r\n [ngTemplateOutletContext]=\"{ node: node, label: getStringField(node, attrlabel) }\">\r\n </ng-template>\r\n </div>\r\n\r\n <div\r\n (click)=\"setSelectedState(node)\"\r\n class=\"flex-shrink-0\"\r\n *ngIf=\"!isDisabledState(node) && (showactionalways || isSelectedState(node) || isHoverState(node))\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"templateaction || defaultTemplateAction\"\r\n [ngTemplateOutletContext]=\"{ node: node, actionhandler: onActionClicked.bind(this) }\">\r\n </ng-template>\r\n </div>\r\n </li>\r\n\r\n <ng-container *ngIf=\"isExpandedState(node)\">\r\n <ng-template\r\n *ngFor=\"let child of getChildren(node)\"\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{\r\n node: child,\r\n deep: deep + 1,\r\n path: path + '/' + getStringField(node, attrid),\r\n textpath: textpath + '/' + getStringField(node, attrlabel)\r\n }\">\r\n </ng-template>\r\n </ng-container>\r\n</ng-template>\r\n<ng-template\r\n #defaultTemplateLabel\r\n let-label=\"label\"\r\n let-node=\"node\">\r\n <span [title]=\"label\">\r\n {{ label }}\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template\r\n #defaultTemplateIcon\r\n let-node=\"node\">\r\n <div\r\n class=\"me-2\"\r\n [ngClass]=\"getStringField(node, attricon)\">\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template\r\n #defaultTemplateAction\r\n let-node=\"node\"\r\n let-actionhandler=\"actionhandler\">\r\n <a\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"actionhandler({ action: 'default', node: node })\">\r\n <i [class]=\"iconAction\"></i>\r\n </a>\r\n</ng-template>\r\n",
|
|
3202
|
+
providers: [
|
|
3203
|
+
{
|
|
3204
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
3205
|
+
multi: true,
|
|
3206
|
+
useExisting: SacTreeviewComponent,
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
provide: forms.NG_VALIDATORS,
|
|
3210
|
+
useExisting: core.forwardRef(function () { return SacTreeviewComponent; }),
|
|
3211
|
+
multi: true,
|
|
3212
|
+
},
|
|
3213
|
+
]
|
|
3214
|
+
},] }
|
|
3215
|
+
];
|
|
3216
|
+
SacTreeviewComponent.ctorParameters = function () { return [
|
|
3217
|
+
{ type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
|
|
3218
|
+
{ type: core.Injector }
|
|
3219
|
+
]; };
|
|
3220
|
+
|
|
3221
|
+
var SACBootstrap5TreeviewModule = /** @class */ (function () {
|
|
3222
|
+
function SACBootstrap5TreeviewModule() {
|
|
3223
|
+
}
|
|
3224
|
+
return SACBootstrap5TreeviewModule;
|
|
3225
|
+
}());
|
|
3226
|
+
SACBootstrap5TreeviewModule.decorators = [
|
|
3227
|
+
{ type: core.NgModule, args: [{
|
|
3228
|
+
declarations: [SacTreeviewComponent],
|
|
3229
|
+
imports: [common.CommonModule, SACBootstrap5LayoutModule, SACBootstrap5ContextmenuModule, SACBootstrap5TooltipModule],
|
|
3230
|
+
exports: [SacTreeviewComponent],
|
|
3231
|
+
},] }
|
|
3232
|
+
];
|
|
3233
|
+
|
|
3081
3234
|
/**
|
|
3082
3235
|
* Validation Summary Kompontente
|
|
3083
3236
|
*/
|
|
@@ -3197,6 +3350,7 @@
|
|
|
3197
3350
|
* Generated bundle index. Do not edit.
|
|
3198
3351
|
*/
|
|
3199
3352
|
|
|
3353
|
+
exports.NGFORM_FACTORY = NGFORM_FACTORY;
|
|
3200
3354
|
exports.SACBootstrap5BrowserModule = SACBootstrap5BrowserModule;
|
|
3201
3355
|
exports.SACBootstrap5ButtonModule = SACBootstrap5ButtonModule;
|
|
3202
3356
|
exports.SACBootstrap5CheckboxModule = SACBootstrap5CheckboxModule;
|
|
@@ -3214,71 +3368,74 @@
|
|
|
3214
3368
|
exports.SACBootstrap5StaticLabelModule = SACBootstrap5StaticLabelModule;
|
|
3215
3369
|
exports.SACBootstrap5TabsModule = SACBootstrap5TabsModule;
|
|
3216
3370
|
exports.SACBootstrap5TinyMceModule = SACBootstrap5TinyMceModule;
|
|
3371
|
+
exports.SACBootstrap5TooltipModule = SACBootstrap5TooltipModule;
|
|
3372
|
+
exports.SACBootstrap5TreeviewModule = SACBootstrap5TreeviewModule;
|
|
3217
3373
|
exports.SACBootstrap5UploadModule = SACBootstrap5UploadModule;
|
|
3218
3374
|
exports.SACBootstrap5ValidationSummaryModule = SACBootstrap5ValidationSummaryModule;
|
|
3219
3375
|
exports.SACBootstrap5WizardModule = SACBootstrap5WizardModule;
|
|
3376
|
+
exports.SACFORM_FACTORY = SACFORM_FACTORY;
|
|
3377
|
+
exports.SacBrowserComponent = SacBrowserComponent;
|
|
3378
|
+
exports.SacButtonComponent = SacButtonComponent;
|
|
3379
|
+
exports.SacCheckboxComponent = SacCheckboxComponent;
|
|
3380
|
+
exports.SacConfirmComponent = SacConfirmComponent;
|
|
3381
|
+
exports.SacContextmenuAnchorDirective = SacContextmenuAnchorDirective;
|
|
3382
|
+
exports.SacContextmenuComponent = SacContextmenuComponent;
|
|
3383
|
+
exports.SacContextmenuItemButtonComponent = SacContextmenuItemButtonComponent;
|
|
3384
|
+
exports.SacContextmenuItemSplitterComponent = SacContextmenuItemSplitterComponent;
|
|
3385
|
+
exports.SacDateComponent = SacDateComponent;
|
|
3386
|
+
exports.SacDateSelectorComponent = SacDateSelectorComponent;
|
|
3387
|
+
exports.SacDateTimeComponent = SacDateTimeComponent;
|
|
3388
|
+
exports.SacDialogComponent = SacDialogComponent;
|
|
3389
|
+
exports.SacDropdownComponent = SacDropdownComponent;
|
|
3390
|
+
exports.SacDropdownOptionDirective = SacDropdownOptionDirective;
|
|
3391
|
+
exports.SacDropzoneMultipleComponent = SacDropzoneMultipleComponent;
|
|
3392
|
+
exports.SacDropzoneSingleComponent = SacDropzoneSingleComponent;
|
|
3220
3393
|
exports.SacFormDirective = SacFormDirective;
|
|
3394
|
+
exports.SacFormLayoutDirective = SacFormLayoutDirective;
|
|
3395
|
+
exports.SacGridButtonComponent = SacGridButtonComponent;
|
|
3396
|
+
exports.SacGridColumnActionComponent = SacGridColumnActionComponent;
|
|
3397
|
+
exports.SacGridColumnComponent = SacGridColumnComponent;
|
|
3398
|
+
exports.SacGridComponent = SacGridComponent;
|
|
3399
|
+
exports.SacGridImageComponent = SacGridImageComponent;
|
|
3400
|
+
exports.SacInheritFormDirective = SacInheritFormDirective;
|
|
3401
|
+
exports.SacInputAreaComponent = SacInputAreaComponent;
|
|
3402
|
+
exports.SacInputComponent = SacInputComponent;
|
|
3403
|
+
exports.SacInputCurrencyComponent = SacInputCurrencyComponent;
|
|
3404
|
+
exports.SacInputDecimalComponent = SacInputDecimalComponent;
|
|
3405
|
+
exports.SacInputEmailComponent = SacInputEmailComponent;
|
|
3406
|
+
exports.SacInputIntegerComponent = SacInputIntegerComponent;
|
|
3407
|
+
exports.SacInputPasswordComponent = SacInputPasswordComponent;
|
|
3408
|
+
exports.SacInputSearchComponent = SacInputSearchComponent;
|
|
3409
|
+
exports.SacListboxComponent = SacListboxComponent;
|
|
3410
|
+
exports.SacListboxOptionDirective = SacListboxOptionDirective;
|
|
3411
|
+
exports.SacMultilanguageInputAreaComponent = SacMultilanguageInputAreaComponent;
|
|
3412
|
+
exports.SacMultilanguageInputComponent = SacMultilanguageInputComponent;
|
|
3413
|
+
exports.SacPagingComponent = SacPagingComponent;
|
|
3414
|
+
exports.SacRadiobuttonComponent = SacRadiobuttonComponent;
|
|
3415
|
+
exports.SacRadiobuttonsComponent = SacRadiobuttonsComponent;
|
|
3416
|
+
exports.SacStaticFormContainerComponent = SacStaticFormContainerComponent;
|
|
3417
|
+
exports.SacStaticLabelComponent = SacStaticLabelComponent;
|
|
3418
|
+
exports.SacTabComponent = SacTabComponent;
|
|
3419
|
+
exports.SacTabItemComponent = SacTabItemComponent;
|
|
3420
|
+
exports.SacTimeComponent = SacTimeComponent;
|
|
3421
|
+
exports.SacTinyMceComponent = SacTinyMceComponent;
|
|
3422
|
+
exports.SacToControlHeightPipe = SacToControlHeightPipe;
|
|
3423
|
+
exports.SacToControlWidthCssPipe = SacToControlWidthCssPipe;
|
|
3424
|
+
exports.SacToLabelHeightPipe = SacToLabelHeightPipe;
|
|
3425
|
+
exports.SacToLabelWidthCssPipe = SacToLabelWidthCssPipe;
|
|
3426
|
+
exports.SacTooltipComponent = SacTooltipComponent;
|
|
3427
|
+
exports.SacTreeviewComponent = SacTreeviewComponent;
|
|
3428
|
+
exports.SacUploadComponent = SacUploadComponent;
|
|
3429
|
+
exports.SacUploadMultipleComponent = SacUploadMultipleComponent;
|
|
3430
|
+
exports.SacValidationSummaryComponent = SacValidationSummaryComponent;
|
|
3431
|
+
exports.SacWizardComponent = SacWizardComponent;
|
|
3432
|
+
exports.SacWizardItemComponent = SacWizardItemComponent;
|
|
3221
3433
|
exports.ServiceConfirm = ServiceConfirm;
|
|
3222
|
-
exports.ɵa =
|
|
3223
|
-
exports.ɵb =
|
|
3224
|
-
exports.ɵ
|
|
3225
|
-
exports.ɵ
|
|
3226
|
-
exports.ɵ
|
|
3227
|
-
exports.ɵbd = SacGridColumnComponent;
|
|
3228
|
-
exports.ɵbe = SacGridColumnActionComponent;
|
|
3229
|
-
exports.ɵbf = SacPagingComponent;
|
|
3230
|
-
exports.ɵbg = SacGridButtonComponent;
|
|
3231
|
-
exports.ɵbh = SacGridImageComponent;
|
|
3232
|
-
exports.ɵbi = SacInputComponent;
|
|
3233
|
-
exports.ɵbj = SacInputAreaComponent;
|
|
3234
|
-
exports.ɵbk = SacInputCurrencyComponent;
|
|
3235
|
-
exports.ɵbl = SacInputDecimalComponent;
|
|
3236
|
-
exports.ɵbm = SacInputEmailComponent;
|
|
3237
|
-
exports.ɵbn = SacInputIntegerComponent;
|
|
3238
|
-
exports.ɵbo = SacInputPasswordComponent;
|
|
3239
|
-
exports.ɵbp = SacInputSearchComponent;
|
|
3240
|
-
exports.ɵbq = SacDropdownComponent;
|
|
3241
|
-
exports.ɵbr = SacDropdownOptionDirective;
|
|
3242
|
-
exports.ɵbs = SacListboxComponent;
|
|
3243
|
-
exports.ɵbt = SacListboxOptionDirective;
|
|
3244
|
-
exports.ɵbu = SacMultilanguageInputComponent;
|
|
3245
|
-
exports.ɵbv = SacMultilanguageInputAreaComponent;
|
|
3246
|
-
exports.ɵbw = SacMultilanguagemenuComponent;
|
|
3247
|
-
exports.ɵbx = SacMultilanguagemenuAnchorDirective;
|
|
3248
|
-
exports.ɵby = SacMultilanguagemenuContainerDirective;
|
|
3249
|
-
exports.ɵbz = SacMultilanguagemenuItemButtonComponent;
|
|
3250
|
-
exports.ɵc = SacFormLayoutDirective;
|
|
3251
|
-
exports.ɵca = SacStaticLabelComponent;
|
|
3252
|
-
exports.ɵcb = SacStaticFormContainerComponent;
|
|
3253
|
-
exports.ɵcc = SacTabComponent;
|
|
3254
|
-
exports.ɵcd = SacTabItemComponent;
|
|
3255
|
-
exports.ɵce = SacTinyMceComponent;
|
|
3256
|
-
exports.ɵcf = SacValidationSummaryComponent;
|
|
3257
|
-
exports.ɵcg = SacWizardComponent;
|
|
3258
|
-
exports.ɵch = SacWizardItemComponent;
|
|
3259
|
-
exports.ɵd = SacConfirmComponent;
|
|
3260
|
-
exports.ɵe = SacDialogComponent;
|
|
3261
|
-
exports.ɵf = SacButtonComponent;
|
|
3262
|
-
exports.ɵg = SacContextmenuComponent;
|
|
3263
|
-
exports.ɵh = SacContextmenuItemButtonComponent;
|
|
3264
|
-
exports.ɵi = SacContextmenuItemSplitterComponent;
|
|
3265
|
-
exports.ɵj = SacContextmenuAnchorDirective;
|
|
3266
|
-
exports.ɵk = SacContextmenuContainerDirective;
|
|
3267
|
-
exports.ɵl = SacUploadComponent;
|
|
3268
|
-
exports.ɵm = SacUploadMultipleComponent;
|
|
3269
|
-
exports.ɵn = SacDropzoneSingleComponent;
|
|
3270
|
-
exports.ɵo = SacToControlHeightPipe;
|
|
3271
|
-
exports.ɵp = SacToControlWidthCssPipe;
|
|
3272
|
-
exports.ɵq = SacToLabelHeightPipe;
|
|
3273
|
-
exports.ɵr = SacToLabelWidthCssPipe;
|
|
3274
|
-
exports.ɵs = SACFORM_FACTORY;
|
|
3275
|
-
exports.ɵt = NGFORM_FACTORY;
|
|
3276
|
-
exports.ɵu = SacInheritFormDirective;
|
|
3277
|
-
exports.ɵv = SacCheckboxComponent;
|
|
3278
|
-
exports.ɵw = SacRadiobuttonComponent;
|
|
3279
|
-
exports.ɵx = SacRadiobuttonsComponent;
|
|
3280
|
-
exports.ɵy = SacDateComponent;
|
|
3281
|
-
exports.ɵz = SacDateTimeComponent;
|
|
3434
|
+
exports.ɵa = SacContextmenuContainerDirective;
|
|
3435
|
+
exports.ɵb = SacMultilanguagemenuComponent;
|
|
3436
|
+
exports.ɵc = SacMultilanguagemenuAnchorDirective;
|
|
3437
|
+
exports.ɵd = SacMultilanguagemenuContainerDirective;
|
|
3438
|
+
exports.ɵe = SacMultilanguagemenuItemButtonComponent;
|
|
3282
3439
|
|
|
3283
3440
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3284
3441
|
|