@simpleangularcontrols/sac-bootstrap4 10.0.0-rc.12 → 10.0.0-rc.13

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.
Files changed (31) hide show
  1. package/bundles/simpleangularcontrols-sac-bootstrap4.umd.js +87 -24
  2. package/bundles/simpleangularcontrols-sac-bootstrap4.umd.js.map +1 -1
  3. package/bundles/simpleangularcontrols-sac-bootstrap4.umd.min.js +1 -1
  4. package/bundles/simpleangularcontrols-sac-bootstrap4.umd.min.js.map +1 -1
  5. package/controls/contextmenu/contextmenuitembutton.d.ts +3 -4
  6. package/controls/multilanguage/multilanguagemenuitembutton.d.ts +3 -3
  7. package/controls/treeview/treeview.d.ts +14 -0
  8. package/controls/treeview/treeview.module.d.ts +2 -0
  9. package/controls/treeview/treeview.module.ngfactory.d.ts +3 -0
  10. package/controls/treeview/treeview.ngfactory.d.ts +1 -0
  11. package/esm2015/controls/contextmenu/contextmenu.js +3 -9
  12. package/esm2015/controls/contextmenu/contextmenu.module.ngfactory.js +1 -1
  13. package/esm2015/controls/contextmenu/contextmenuanchor.js +1 -1
  14. package/esm2015/controls/contextmenu/contextmenucontainer.js +1 -1
  15. package/esm2015/controls/contextmenu/contextmenuitembutton.js +15 -11
  16. package/esm2015/controls/contextmenu/contextmenuitemsplitter.js +9 -3
  17. package/esm2015/controls/input/inputsearch.js +1 -1
  18. package/esm2015/controls/multilanguage/multilanguage.module.ngfactory.js +1 -1
  19. package/esm2015/controls/multilanguage/multilanguagemenuitembutton.js +15 -10
  20. package/esm2015/controls/treeview/treeview.js +41 -0
  21. package/esm2015/controls/treeview/treeview.module.js +16 -0
  22. package/esm2015/controls/treeview/treeview.module.ngfactory.js +7 -0
  23. package/esm2015/controls/treeview/treeview.ngfactory.js +7 -0
  24. package/esm2015/public_api.js +3 -3
  25. package/fesm2015/simpleangularcontrols-sac-bootstrap4.js +83 -27
  26. package/fesm2015/simpleangularcontrols-sac-bootstrap4.js.map +1 -1
  27. package/package.json +2 -2
  28. package/public_api.d.ts +2 -2
  29. package/simpleangularcontrols-sac-bootstrap4-10.0.0-rc.13.tgz +0 -0
  30. package/simpleangularcontrols-sac-bootstrap4.metadata.json +1 -1
  31. package/simpleangularcontrols-sac-bootstrap4-10.0.0-rc.12.tgz +0 -0
@@ -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 <div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\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 <div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\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 für Menü Eintrag in Context Menü
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(contextmenu) {
777
- return _super.call(this, contextmenu) || 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: "<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"
778
+ template: "<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",
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: "<div class=\"dropdown-divider\"></div>"
802
+ template: "<div class=\"dropdown-divider\"></div>",
803
+ providers: [
804
+ {
805
+ provide: sacCommon.SacContextmenuItemCommon,
806
+ useExisting: core.forwardRef(function () { return SacContextmenuItemSplitterComponent; }),
807
+ },
808
+ ]
805
809
  },] }
806
810
  ];
807
811
 
@@ -2464,7 +2468,7 @@
2464
2468
  SacInputSearchComponent.decorators = [
2465
2469
  { type: core.Component, args: [{
2466
2470
  selector: 'sac-inputsearch',
2467
- template: "<div\r\n class=\"row form-group\"\r\n [class.no-gutters]=\"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) : 'sr-only', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"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=\"ml-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 <div class=\"input-group-append\">\r\n <button\r\n type=\"submit\"\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.mr-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 <small\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text text-muted\">\r\n {{ helptext }}\r\n </small>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ml-2 mr-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",
2471
+ template: "<div\r\n class=\"row form-group\"\r\n [class.no-gutters]=\"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) : 'sr-only', componentHeight | toLabelHeight]\"\r\n [class.required]=\"isrequired\">\r\n <div\r\n class=\"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=\"ml-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 <div class=\"input-group-append\">\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.mr-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 <small\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text text-muted\">\r\n {{ helptext }}\r\n </small>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ml-2 mr-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",
2468
2472
  // Value Access Provider registrieren, damit Wert via Model geschrieben und gelesen werden kann
2469
2473
  providers: [
2470
2474
  {
@@ -2886,28 +2890,33 @@
2886
2890
  ]; };
2887
2891
 
2888
2892
  /**
2889
- * Component für Menü Eintrag in Context Menü
2893
+ * Component for menu entry in context menu
2890
2894
  */
2891
2895
  var SacMultilanguagemenuItemButtonComponent = /** @class */ (function (_super) {
2892
2896
  __extends(SacMultilanguagemenuItemButtonComponent, _super);
2897
+ // #region Constructors
2893
2898
  /**
2894
2899
  * Constructor
2895
2900
  * @param contextmenu Instance von Context Menü
2896
2901
  */
2897
- function SacMultilanguagemenuItemButtonComponent(contextmenu) {
2898
- return _super.call(this, contextmenu) || this;
2902
+ function SacMultilanguagemenuItemButtonComponent() {
2903
+ return _super.call(this) || this;
2899
2904
  }
2900
2905
  return SacMultilanguagemenuItemButtonComponent;
2901
2906
  }(sacCommon.SacContextmenuItemButtonCommon));
2902
2907
  SacMultilanguagemenuItemButtonComponent.decorators = [
2903
2908
  { type: core.Component, args: [{
2904
2909
  selector: 'sac-multilanguagemenubutton',
2905
- template: "<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"
2910
+ template: "<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",
2911
+ providers: [
2912
+ {
2913
+ provide: sacCommon.SacContextmenuItemCommon,
2914
+ useExisting: core.forwardRef(function () { return SacMultilanguagemenuItemButtonComponent; }),
2915
+ },
2916
+ ]
2906
2917
  },] }
2907
2918
  ];
2908
- SacMultilanguagemenuItemButtonComponent.ctorParameters = function () { return [
2909
- { type: sacCommon.SacContextmenuCommon }
2910
- ]; };
2919
+ SacMultilanguagemenuItemButtonComponent.ctorParameters = function () { return []; };
2911
2920
 
2912
2921
  var SACBootstrap4MultilanguageModule = /** @class */ (function () {
2913
2922
  function SACBootstrap4MultilanguageModule() {
@@ -3174,6 +3183,58 @@
3174
3183
  },] }
3175
3184
  ];
3176
3185
 
3186
+ /**
3187
+ * Treeview Compomnent
3188
+ */
3189
+ var SacTreeviewComponent = /** @class */ (function (_super) {
3190
+ __extends(SacTreeviewComponent, _super);
3191
+ // #region Constructors
3192
+ /**
3193
+ * Constructor
3194
+ * @param formLayout SacFormLayout to define scoped layout settings
3195
+ * @param injector Component Injector
3196
+ */
3197
+ function SacTreeviewComponent(formLayout, injector) {
3198
+ return _super.call(this, formLayout, injector) || this;
3199
+ }
3200
+ return SacTreeviewComponent;
3201
+ }(sacCommon.SacTreeviewCommon));
3202
+ SacTreeviewComponent.decorators = [
3203
+ { type: core.Component, args: [{
3204
+ selector: 'sac-treeview',
3205
+ 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) : 'sr-only', 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=\"ml-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.mr-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 }\">\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 <small\r\n *ngIf=\"helptextmode === 'text' && helptext\"\r\n class=\"form-text text-muted\">\r\n {{ helptext }}\r\n </small>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"helptextmode === 'tooltip' && helptext && disablelabel\"\r\n class=\"form-control-plaintext align-self-top ml-2 mr-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 <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 <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=\"mr-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 class=\"mr-2\"\r\n [ngClass]=\"getStringField(node, attricon)\">\r\n </div>\r\n\r\n <div\r\n (click)=\"onNodeClicked(node)\"\r\n class=\"flex-grow-1 py-1\"\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]=\"{ node: child, deep: deep + 1 }\">\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 #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",
3206
+ providers: [
3207
+ {
3208
+ provide: forms.NG_VALUE_ACCESSOR,
3209
+ multi: true,
3210
+ useExisting: SacTreeviewComponent,
3211
+ },
3212
+ {
3213
+ provide: forms.NG_VALIDATORS,
3214
+ useExisting: core.forwardRef(function () { return SacTreeviewComponent; }),
3215
+ multi: true,
3216
+ },
3217
+ ]
3218
+ },] }
3219
+ ];
3220
+ SacTreeviewComponent.ctorParameters = function () { return [
3221
+ { type: SacFormLayoutDirective, decorators: [{ type: core.Host }, { type: core.Optional }] },
3222
+ { type: core.Injector }
3223
+ ]; };
3224
+
3225
+ var SACBootstrap4TreeviewModule = /** @class */ (function () {
3226
+ function SACBootstrap4TreeviewModule() {
3227
+ }
3228
+ return SACBootstrap4TreeviewModule;
3229
+ }());
3230
+ SACBootstrap4TreeviewModule.decorators = [
3231
+ { type: core.NgModule, args: [{
3232
+ declarations: [SacTreeviewComponent],
3233
+ imports: [common.CommonModule, SACBootstrap4TooltipModule, SACBootstrap4LayoutModule, SACBootstrap4ContextmenuModule],
3234
+ exports: [SacTreeviewComponent],
3235
+ },] }
3236
+ ];
3237
+
3177
3238
  /**
3178
3239
  * Validation Summary Kompontente
3179
3240
  */
@@ -3314,6 +3375,7 @@
3314
3375
  exports.SACBootstrap4TabsModule = SACBootstrap4TabsModule;
3315
3376
  exports.SACBootstrap4TinyMceModule = SACBootstrap4TinyMceModule;
3316
3377
  exports.SACBootstrap4TooltipModule = SACBootstrap4TooltipModule;
3378
+ exports.SACBootstrap4TreeviewModule = SACBootstrap4TreeviewModule;
3317
3379
  exports.SACBootstrap4UploadModule = SACBootstrap4UploadModule;
3318
3380
  exports.SACBootstrap4ValidationSummaryModule = SACBootstrap4ValidationSummaryModule;
3319
3381
  exports.SACBootstrap4WizardModule = SACBootstrap4WizardModule;
@@ -3368,6 +3430,7 @@
3368
3430
  exports.SacToLabelHeightPipe = SacToLabelHeightPipe;
3369
3431
  exports.SacToLabelWidthCssPipe = SacToLabelWidthCssPipe;
3370
3432
  exports.SacTooltipComponent = SacTooltipComponent;
3433
+ exports.SacTreeviewComponent = SacTreeviewComponent;
3371
3434
  exports.SacUploadComponent = SacUploadComponent;
3372
3435
  exports.SacUploadMultipleComponent = SacUploadMultipleComponent;
3373
3436
  exports.SacValidationSummaryComponent = SacValidationSummaryComponent;