@seniorsistemas/angular-components 17.9.1 → 17.9.2

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 (25) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +50 -14
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/kanban/components/kanban-column/kanban-column.component.d.ts +2 -0
  6. package/components/kanban/components/kanban-item/kanban-item.component.d.ts +7 -4
  7. package/components/kanban/kanban.component.d.ts +7 -5
  8. package/components/kanban/models/index.d.ts +1 -1
  9. package/components/kanban/models/kanban-data.d.ts +9 -2
  10. package/esm2015/components/kanban/components/kanban-column/kanban-column.component.js +14 -2
  11. package/esm2015/components/kanban/components/kanban-item/kanban-item.component.js +20 -6
  12. package/esm2015/components/kanban/kanban.component.js +26 -18
  13. package/esm2015/components/kanban/models/index.js +1 -1
  14. package/esm2015/components/kanban/models/kanban-data.js +1 -1
  15. package/esm5/components/kanban/components/kanban-column/kanban-column.component.js +16 -3
  16. package/esm5/components/kanban/components/kanban-item/kanban-item.component.js +22 -7
  17. package/esm5/components/kanban/kanban.component.js +26 -18
  18. package/esm5/components/kanban/models/index.js +1 -1
  19. package/esm5/components/kanban/models/kanban-data.js +1 -1
  20. package/fesm2015/seniorsistemas-angular-components.js +48 -14
  21. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  22. package/fesm5/seniorsistemas-angular-components.js +50 -14
  23. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  24. package/package.json +1 -1
  25. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -14472,6 +14472,8 @@ var KanbanTemplateTypes;
14472
14472
  var KanbanComponent = /** @class */ (function () {
14473
14473
  function KanbanComponent(kanbanEventService) {
14474
14474
  this.kanbanEventService = kanbanEventService;
14475
+ this.showItemCheckboxes = true;
14476
+ this.showColumnCheckboxes = true;
14475
14477
  this.itemsMoved = new EventEmitter();
14476
14478
  this.dataUpdated = new EventEmitter();
14477
14479
  this.itemsSelected = new EventEmitter();
@@ -14531,6 +14533,8 @@ var KanbanComponent = /** @class */ (function () {
14531
14533
  this.selectedItems.clear();
14532
14534
  };
14533
14535
  KanbanComponent.prototype.selectItem = function (event, item, column) {
14536
+ if (item.disabled || item.frozen)
14537
+ return;
14534
14538
  if (event.ctrlKey) {
14535
14539
  if (this.selectedItems.delete(item)) {
14536
14540
  this.kanbanEventService.emitUnselectItemEvent(item);
@@ -14545,6 +14549,8 @@ var KanbanComponent = /** @class */ (function () {
14545
14549
  }
14546
14550
  }
14547
14551
  else {
14552
+ if (this.selectedItems.delete(item))
14553
+ return;
14548
14554
  this.selectedItems.clear();
14549
14555
  this.selectedItems.add(item);
14550
14556
  this.selectedColumn = column;
@@ -14561,9 +14567,7 @@ var KanbanComponent = /** @class */ (function () {
14561
14567
  this.draggingItems.clear();
14562
14568
  };
14563
14569
  KanbanComponent.prototype.getLinkedColumns = function (currentColumn) {
14564
- return this.data.columns
14565
- .filter(function (column) { return column != currentColumn; })
14566
- .map(function (column) { return column.id; });
14570
+ return this.data.columns.filter(function (column) { return column != currentColumn; }).map(function (column) { return column.id; });
14567
14571
  };
14568
14572
  KanbanComponent.prototype.getColumnHeaderTemplate = function () {
14569
14573
  return this._getCustomTemplate(KanbanTemplateTypes.ColumnHeader);
@@ -14590,7 +14594,7 @@ var KanbanComponent = /** @class */ (function () {
14590
14594
  .pipe(takeUntil(this._unsubscribe$))
14591
14595
  .subscribe(function (column) {
14592
14596
  column.items
14593
- .filter(function (item) { return !item.disabled; })
14597
+ .filter(function (item) { return !item.disabled && !item.frozen; })
14594
14598
  .forEach(function (item) {
14595
14599
  _this.selectedItems.add(item);
14596
14600
  });
@@ -14620,9 +14624,7 @@ var KanbanComponent = /** @class */ (function () {
14620
14624
  });
14621
14625
  });
14622
14626
  });
14623
- this.kanbanEventService.unselectItemEvent
14624
- .pipe(takeUntil(this._unsubscribe$))
14625
- .subscribe(function (item) {
14627
+ this.kanbanEventService.unselectItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function (item) {
14626
14628
  _this.selectedItems.delete(item);
14627
14629
  });
14628
14630
  };
@@ -14651,6 +14653,12 @@ var KanbanComponent = /** @class */ (function () {
14651
14653
  __decorate([
14652
14654
  Input()
14653
14655
  ], KanbanComponent.prototype, "data", void 0);
14656
+ __decorate([
14657
+ Input()
14658
+ ], KanbanComponent.prototype, "showItemCheckboxes", void 0);
14659
+ __decorate([
14660
+ Input()
14661
+ ], KanbanComponent.prototype, "showColumnCheckboxes", void 0);
14654
14662
  __decorate([
14655
14663
  Output()
14656
14664
  ], KanbanComponent.prototype, "itemsMoved", void 0);
@@ -14665,9 +14673,9 @@ var KanbanComponent = /** @class */ (function () {
14665
14673
  ], KanbanComponent.prototype, "templates", void 0);
14666
14674
  KanbanComponent = __decorate([
14667
14675
  Component({
14668
- selector: 's-kanban',
14669
- template: "<div class=\"kanban\">\n <s-kanban-column\n *ngFor=\"let column of data.columns\"\n [data]=\"column\"\n [headerTemplate]=\"columnHeaderTemplate\">\n <div\n [id]=\"column.id\"\n style=\"height: 100%; width: 100%;\"\n cdkDropList\n #dynamicList=\"cdkDropList\"\n [cdkDropListData]=\"column.items\"\n [cdkDropListConnectedTo]=\"getLinkedColumns(column)\"\n (cdkDropListDropped)=\"drop($event)\">\n\n <ng-container *ngIf=\"!columnEmptyMessageTemplate; then defaultEmptyMessageTemplate else customEmptyMessageTemplate\"></ng-container>\n\n <ng-template #defaultEmptyMessageTemplate>\n <div *ngIf=\"!column.items.length\" class=\"empty-message\">\n <p class=\"text\">\n <span class=\"fas fa-clock\"></span>&nbsp;\n <span>{{ \"platform.angular_components.count_items_in_target\" | translate:{ count: column.items.length, target: column.title } }}</span>\n </p>\n </div>\n </ng-template>\n\n <ng-template #customEmptyMessageTemplate>\n <ng-container *ngTemplateOutlet=\"columnEmptyMessageTemplate; context: { $implicit: column }\"></ng-container>\n </ng-template>\n\n <div\n *ngFor=\"let item of column.items\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragDisabled]=\"item.disabled\"\n (cdkDragStarted)=\"dragStarted()\"\n (cdkDragReleased)=\"dragReleased()\"\n (click)=\"selectItem($event, item, column)\">\n \n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n\n <ng-container *cdkDragPreview>\n <ng-container *ngIf=\"selectedItems.size > 1; then itemDraggingTemplate else itemTemplate\"></ng-container>\n </ng-container>\n\n <ng-template #itemTemplate>\n <s-kanban-item\n [item]=\"item\"\n [selected]=\"selectedItems.has(item)\"\n [headerTemplate]=\"itemHeaderTemplate\"\n [bodyTemplate]=\"itemBodyTemplate\"\n [footerTemplate]=\"itemFooterTemplate\">\n </s-kanban-item>\n </ng-template>\n\n <ng-template #itemDraggingTemplate>\n <s-kanban-item-dragging [quantityItems]=\"selectedItems.size\"></s-kanban-item-dragging>\n </ng-template>\n\n <div *cdkDragPlaceholder>\n <div class=\"placeholder\">\n <div class=\"placeholder-line\"></div>\n </div>\n </div>\n </div>\n </div>\n </s-kanban-column>\n</div>\n\n",
14670
- styles: [".kanban{display:-ms-flexbox;display:flex;gap:16px;width:100%}.kanban .empty-message{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:16px}.kanban .empty-message .text{overflow:hidden;text-align:center;text-overflow:ellipsis;width:100%;white-space:nowrap}@media screen and (max-width:600px){.kanban{-ms-flex-direction:column;flex-direction:column}}s-kanban-column{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;min-width:292px}.placeholder{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.placeholder .placeholder-line{background-color:#a5a5b2;height:1px;margin:6px 0;width:50%}"]
14676
+ selector: "s-kanban",
14677
+ template: "<div class=\"kanban\">\n <s-kanban-column\n *ngFor=\"let column of data.columns\"\n [data]=\"column\"\n [showCheckbox]=\"showColumnCheckboxes\"\n [headerTemplate]=\"columnHeaderTemplate\">\n <div\n [id]=\"column.id\"\n style=\"height: 100%; width: 100%;\"\n cdkDropList\n #dynamicList=\"cdkDropList\"\n [cdkDropListData]=\"column.items\"\n [cdkDropListConnectedTo]=\"getLinkedColumns(column)\"\n (cdkDropListDropped)=\"drop($event)\">\n\n <ng-container *ngIf=\"!columnEmptyMessageTemplate; then defaultEmptyMessageTemplate else customEmptyMessageTemplate\"></ng-container>\n\n <ng-template #defaultEmptyMessageTemplate>\n <div *ngIf=\"!column.items.length\" class=\"empty-message\">\n <p class=\"text\">\n <span class=\"fas fa-clock\"></span>&nbsp;\n <span>{{ \"platform.angular_components.count_items_in_target\" | translate:{ count: column.items.length, target: column.title } }}</span>\n </p>\n </div>\n </ng-template>\n\n <ng-template #customEmptyMessageTemplate>\n <ng-container *ngTemplateOutlet=\"columnEmptyMessageTemplate; context: { $implicit: column }\"></ng-container>\n </ng-template>\n\n <div\n *ngFor=\"let item of column.items\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragDisabled]=\"item.disabled || item.frozen\"\n (cdkDragStarted)=\"dragStarted()\"\n (cdkDragReleased)=\"dragReleased()\"\n (click)=\"selectItem($event, item, column)\">\n \n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n\n <ng-container *cdkDragPreview>\n <ng-container *ngIf=\"selectedItems.size > 1; then itemDraggingTemplate else itemTemplate\"></ng-container>\n </ng-container>\n\n <ng-template #itemTemplate>\n <s-kanban-item\n [item]=\"item\"\n [selected]=\"selectedItems.has(item)\"\n [showCheckbox]=\"showItemCheckboxes\"\n [headerTemplate]=\"itemHeaderTemplate\"\n [bodyTemplate]=\"itemBodyTemplate\"\n [footerTemplate]=\"itemFooterTemplate\">\n </s-kanban-item>\n </ng-template>\n\n <ng-template #itemDraggingTemplate>\n <s-kanban-item-dragging [quantityItems]=\"selectedItems.size\"></s-kanban-item-dragging>\n </ng-template>\n\n <div *cdkDragPlaceholder>\n <div class=\"placeholder\">\n <div class=\"placeholder-line\"></div>\n </div>\n </div>\n </div>\n </div>\n </s-kanban-column>\n</div>\n\n",
14678
+ styles: [".kanban{display:-ms-flexbox;display:flex;gap:16px;overflow:auto;width:100%}.kanban .empty-message{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:16px}.kanban .empty-message .text{overflow:hidden;text-align:center;text-overflow:ellipsis;width:100%;white-space:nowrap}@media screen and (max-width:600px){.kanban{-ms-flex-direction:column;flex-direction:column}}s-kanban-column{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;min-width:292px}.placeholder{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.placeholder .placeholder-line{background-color:#a5a5b2;height:1px;margin:6px 0;width:50%}"]
14671
14679
  })
14672
14680
  ], KanbanComponent);
14673
14681
  return KanbanComponent;
@@ -14676,17 +14684,27 @@ var KanbanComponent = /** @class */ (function () {
14676
14684
  var KanbanColumnComponent = /** @class */ (function () {
14677
14685
  function KanbanColumnComponent(kanbanEventService) {
14678
14686
  this.kanbanEventService = kanbanEventService;
14687
+ this.showCheckbox = true;
14679
14688
  this.selectionControl = new FormControl(false);
14680
14689
  this._unsubscribe$ = new Subject();
14681
14690
  }
14682
14691
  KanbanColumnComponent.prototype.ngOnInit = function () {
14683
14692
  this._validateInputs();
14684
14693
  this._subscriveEvents();
14694
+ this._createTieredOptions();
14685
14695
  };
14686
14696
  KanbanColumnComponent.prototype.ngOnDestroy = function () {
14687
14697
  this._unsubscribe$.next();
14688
14698
  this._unsubscribe$.complete();
14689
14699
  };
14700
+ KanbanColumnComponent.prototype._createTieredOptions = function () {
14701
+ var _this = this;
14702
+ var options = [];
14703
+ this.data.options.forEach(function (option) {
14704
+ options.push(__assign(__assign({}, option), { command: function () { option.command(_this.data); } }));
14705
+ });
14706
+ this.data.options = options;
14707
+ };
14690
14708
  KanbanColumnComponent.prototype._subscriveEvents = function () {
14691
14709
  var _this = this;
14692
14710
  this.selectionControl.valueChanges
@@ -14737,13 +14755,16 @@ var KanbanColumnComponent = /** @class */ (function () {
14737
14755
  __decorate([
14738
14756
  Input()
14739
14757
  ], KanbanColumnComponent.prototype, "data", void 0);
14758
+ __decorate([
14759
+ Input()
14760
+ ], KanbanColumnComponent.prototype, "showCheckbox", void 0);
14740
14761
  __decorate([
14741
14762
  Input()
14742
14763
  ], KanbanColumnComponent.prototype, "headerTemplate", void 0);
14743
14764
  KanbanColumnComponent = __decorate([
14744
14765
  Component({
14745
14766
  selector: "s-kanban-column",
14746
- template: "<div class=\"kanban-column\">\n <div class=\"kanban-column__header\">\n <div class=\"content\">\n <form>\n <input\n type=\"checkbox\"\n name=\"checkbox\"\n [formControl]=\"selectionControl\">\n </form>\n\n <ng-container *ngIf=\"!headerTemplate; then defaultHeaderTemplate else customHeaderTemplate\"></ng-container>\n \n <ng-template #defaultHeaderTemplate>\n <div class=\"header\">\n <span class=\"title\">{{ data.title }} ({{ data.items.length }})</span>\n </div>\n </ng-template>\n \n <ng-template #customHeaderTemplate>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: data }\"></ng-container>\n </ng-template>\n </div>\n <s-button\n *ngIf=\"data.options\"\n priority=\"default\"\n [disabled]=\"false\"\n [auxiliary]=\"true\"\n size=\"small\"\n [model]=\"data.options\">\n </s-button>\n </div>\n <div class=\"kanban-column__body\">\n <ng-content></ng-content>\n </div>\n</div>",
14767
+ template: "<div class=\"kanban-column\">\n <div class=\"kanban-column__header\">\n <div class=\"content\">\n <form>\n <input\n *ngIf=\"showCheckbox\"\n type=\"checkbox\"\n name=\"checkbox\"\n [formControl]=\"selectionControl\">\n </form>\n\n <ng-container *ngIf=\"!headerTemplate; then defaultHeaderTemplate else customHeaderTemplate\"></ng-container>\n \n <ng-template #defaultHeaderTemplate>\n <div class=\"header\">\n <span class=\"title\">{{ data.title }} ({{ data.items.length }})</span>\n </div>\n </ng-template>\n \n <ng-template #customHeaderTemplate>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: data }\"></ng-container>\n </ng-template>\n </div>\n <s-button\n *ngIf=\"data.options\"\n priority=\"default\"\n [disabled]=\"false\"\n [auxiliary]=\"true\"\n size=\"small\"\n [model]=\"data.options\">\n </s-button>\n </div>\n <div class=\"kanban-column__body\">\n <ng-content></ng-content>\n </div>\n</div>",
14747
14768
  styles: [".kanban-column{-ms-flex-align:center;align-items:center;background-color:#fbfafc;border:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;min-height:120px;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.kanban-column .kanban-column__header{-ms-flex-align:center;align-items:center;border-bottom:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:16px 16px 8px;width:100%}.kanban-column .kanban-column__header .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-column .kanban-column__header .content .teste{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:\"Open Sans\" sans-serif}.kanban-column .kanban-column__header .content .teste .title{font-size:14px;font-weight:800}.kanban-column .kanban-column__header .content .teste .description{font-size:12px}.kanban-column .kanban-column__body{display:-ms-flexbox;display:flex;height:100%;-ms-flex-pack:center;justify-content:center;width:100%}"]
14748
14769
  })
14749
14770
  ], KanbanColumnComponent);
@@ -14771,7 +14792,11 @@ var KanbanItemComponent = /** @class */ (function () {
14771
14792
  function KanbanItemComponent(_kanbanEventService) {
14772
14793
  this._kanbanEventService = _kanbanEventService;
14773
14794
  this.selected = false;
14795
+ this.showCheckbox = true;
14774
14796
  }
14797
+ KanbanItemComponent.prototype.ngOnInit = function () {
14798
+ this._createTieredOptions();
14799
+ };
14775
14800
  KanbanItemComponent.prototype.onSelectedChange = function (value) {
14776
14801
  if (value) {
14777
14802
  this._kanbanEventService.emitSelectItemEvent(this.item);
@@ -14780,6 +14805,14 @@ var KanbanItemComponent = /** @class */ (function () {
14780
14805
  this._kanbanEventService.emitUnselectItemEvent(this.item);
14781
14806
  }
14782
14807
  };
14808
+ KanbanItemComponent.prototype._createTieredOptions = function () {
14809
+ var _this = this;
14810
+ var options = [];
14811
+ this.item.options.forEach(function (option) {
14812
+ options.push(__assign(__assign({}, option), { command: function () { option.command(_this.item); } }));
14813
+ });
14814
+ this.item.options = options;
14815
+ };
14783
14816
  KanbanItemComponent.ctorParameters = function () { return [
14784
14817
  { type: KanbanEventService }
14785
14818
  ]; };
@@ -14789,6 +14822,9 @@ var KanbanItemComponent = /** @class */ (function () {
14789
14822
  __decorate([
14790
14823
  Input()
14791
14824
  ], KanbanItemComponent.prototype, "selected", void 0);
14825
+ __decorate([
14826
+ Input()
14827
+ ], KanbanItemComponent.prototype, "showCheckbox", void 0);
14792
14828
  __decorate([
14793
14829
  Input()
14794
14830
  ], KanbanItemComponent.prototype, "headerTemplate", void 0);
@@ -14800,9 +14836,9 @@ var KanbanItemComponent = /** @class */ (function () {
14800
14836
  ], KanbanItemComponent.prototype, "footerTemplate", void 0);
14801
14837
  KanbanItemComponent = __decorate([
14802
14838
  Component({
14803
- selector: 's-kanban-item',
14804
- template: "<p-tieredMenu\n #optionsMenu\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"9999\"\n [model]=\"item.options\">\n</p-tieredMenu>\n\n<div\n class=\"kanban-item\"\n [ngClass]=\"{\n 'kanban-item--selected': selected && !item.disabled,\n 'kanban-item--disabled': item.disabled\n }\">\n <div class=\"kanban-item__header\">\n <div class=\"content\">\n <form>\n <input\n *ngIf=\"!item.disabled\"\n type=\"checkbox\"\n name=\"checkbox\"\n [(ngModel)]=\"selected\"\n (ngModelChange)=\"onSelectedChange($event)\"\n (click)=\"$event.stopPropagation()\">\n </form>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <button\n *ngIf=\"item.options && !item.disabled\"\n class=\"options-button\"\n (click)=\"optionsMenu.toggle($event); $event.stopPropagation();\">\n <i class=\"fas fa-ellipsis-v\"></i>\n </button>\n </div>\n <div class=\"kanban-item__body\">\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"kanban-item__footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: item }\"></ng-container> \n </div>\n</div>",
14805
- styles: [".kanban-item{background-color:#fff;border-radius:4px;box-shadow:0 1px 5px 0 rgba(0,0,0,.25);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:16px;min-width:260px;padding:16px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.kanban-item .kanban-item__header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__header .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-item .kanban-item__header .options-button{background-color:transparent;border:none;cursor:pointer;margin-right:-8px;padding:0 8px}.kanban-item .kanban-item__body{margin:16px 0}.kanban-item .kanban-item__footer{border-top:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__footer .date-info{-ms-flex-align:center;align-items:center;color:#6e7280;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:12px;gap:4px;line-height:150%}.kanban-item--selected{border:1px solid #428bca}.kanban-item--disabled{opacity:50%}"]
14839
+ selector: "s-kanban-item",
14840
+ template: "<p-tieredMenu\n #optionsMenu\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"9999\"\n [model]=\"item.options\">\n</p-tieredMenu>\n\n<div\n class=\"kanban-item\"\n [ngClass]=\"{\n 'kanban-item--selected': selected && !item.disabled,\n 'kanban-item--disabled': item.disabled,\n 'kanban-item--frozen': !item.disabled && item.frozen\n }\">\n <div class=\"kanban-item__header\">\n <div class=\"content\">\n <form>\n <input\n *ngIf=\"showCheckbox && !item.disabled && !item.frozen\"\n type=\"checkbox\"\n name=\"checkbox\"\n [(ngModel)]=\"selected\"\n (ngModelChange)=\"onSelectedChange($event)\"\n (click)=\"$event.stopPropagation()\">\n </form>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <button\n *ngIf=\"item.options && !item.disabled\"\n class=\"options-button\"\n (click)=\"optionsMenu.toggle($event); $event.stopPropagation();\">\n <i class=\"fas fa-ellipsis-v\"></i>\n </button>\n </div>\n <div class=\"kanban-item__body\">\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"kanban-item__footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: item }\"></ng-container> \n </div>\n</div>",
14841
+ styles: [".kanban-item{background-color:#fff;border-radius:4px;box-shadow:0 1px 5px 0 rgba(0,0,0,.25);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:16px;min-width:260px;padding:16px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.kanban-item .kanban-item__header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__header .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-item .kanban-item__header .options-button{background-color:transparent;border:none;cursor:pointer;margin-right:-8px;padding:0 8px}.kanban-item .kanban-item__body{margin:16px 0}.kanban-item .kanban-item__footer{border-top:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__footer .date-info{-ms-flex-align:center;align-items:center;color:#6e7280;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:12px;gap:4px;line-height:150%}.kanban-item--selected{border:1px solid #428bca}.kanban-item--disabled{opacity:50%}.kanban-item--frozen{box-shadow:none}"]
14806
14842
  })
14807
14843
  ], KanbanItemComponent);
14808
14844
  return KanbanItemComponent;