@seniorsistemas/angular-components 17.2.19 → 17.3.0

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 (55) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +439 -7
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/kanban/components/kanban-column/kanban-column.component.d.ts +16 -0
  6. package/components/kanban/components/kanban-item/kanban-item.component.d.ts +13 -0
  7. package/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +3 -0
  8. package/components/kanban/index.d.ts +4 -0
  9. package/components/kanban/kanban-event.service.d.ts +12 -0
  10. package/components/kanban/kanban.component.d.ts +41 -0
  11. package/components/kanban/kanban.module.d.ts +2 -0
  12. package/components/kanban/models/index.d.ts +2 -0
  13. package/components/kanban/models/kanban-data.d.ts +20 -0
  14. package/components/kanban/models/kanban-template-types.d.ts +7 -0
  15. package/components/kanban/template.directive.d.ts +6 -0
  16. package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +3 -3
  17. package/esm2015/components/kanban/components/kanban-column/kanban-column.component.js +82 -0
  18. package/esm2015/components/kanban/components/kanban-item/kanban-item.component.js +44 -0
  19. package/esm2015/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.js +19 -0
  20. package/esm2015/components/kanban/index.js +5 -0
  21. package/esm2015/components/kanban/kanban-event.service.js +27 -0
  22. package/esm2015/components/kanban/kanban.component.js +209 -0
  23. package/esm2015/components/kanban/kanban.module.js +45 -0
  24. package/esm2015/components/kanban/models/index.js +2 -0
  25. package/esm2015/components/kanban/models/kanban-data.js +1 -0
  26. package/esm2015/components/kanban/models/kanban-template-types.js +9 -0
  27. package/esm2015/components/kanban/template.directive.js +20 -0
  28. package/esm2015/components/progressbar/components/progressbar-determinate/progressbar-determinate.component.js +1 -1
  29. package/esm2015/locale/fallback.js +3 -1
  30. package/esm2015/public-api.js +2 -1
  31. package/esm2015/seniorsistemas-angular-components.js +5 -1
  32. package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +3 -3
  33. package/esm5/components/kanban/components/kanban-column/kanban-column.component.js +84 -0
  34. package/esm5/components/kanban/components/kanban-item/kanban-item.component.js +45 -0
  35. package/esm5/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.js +20 -0
  36. package/esm5/components/kanban/index.js +5 -0
  37. package/esm5/components/kanban/kanban-event.service.js +28 -0
  38. package/esm5/components/kanban/kanban.component.js +213 -0
  39. package/esm5/components/kanban/kanban.module.js +48 -0
  40. package/esm5/components/kanban/models/index.js +2 -0
  41. package/esm5/components/kanban/models/kanban-data.js +1 -0
  42. package/esm5/components/kanban/models/kanban-template-types.js +9 -0
  43. package/esm5/components/kanban/template.directive.js +21 -0
  44. package/esm5/components/progressbar/components/progressbar-determinate/progressbar-determinate.component.js +1 -1
  45. package/esm5/locale/fallback.js +3 -1
  46. package/esm5/public-api.js +2 -1
  47. package/esm5/seniorsistemas-angular-components.js +5 -1
  48. package/fesm2015/seniorsistemas-angular-components.js +417 -4
  49. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  50. package/fesm5/seniorsistemas-angular-components.js +430 -4
  51. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  52. package/package.json +1 -1
  53. package/public-api.d.ts +1 -0
  54. package/seniorsistemas-angular-components.d.ts +4 -0
  55. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -56,6 +56,7 @@ import { styleTags, tags, HighlightStyle } from '@codemirror/highlight';
56
56
  import { autocompletion, pickedCompletion, startCompletion } from '@codemirror/autocomplete';
57
57
  import { showTooltip } from '@codemirror/tooltip';
58
58
  import { lineNumbers } from '@codemirror/gutter';
59
+ import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
59
60
 
60
61
  var AccordionPanelComponent = /** @class */ (function () {
61
62
  function AccordionPanelComponent() {
@@ -7780,7 +7781,7 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
7780
7781
  this.fields = [
7781
7782
  new FormField({
7782
7783
  name: "context",
7783
- type: FieldType.String,
7784
+ type: FieldType.Text,
7784
7785
  label: this._translateService.instant("platform.angular_components.context"),
7785
7786
  size: { sm: 12, md: 12, lg: 12, xl: 12 },
7786
7787
  }),
@@ -7804,7 +7805,7 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
7804
7805
  ], TextAreaIAFieldComponent.prototype, "formControl", void 0);
7805
7806
  TextAreaIAFieldComponent = __decorate([
7806
7807
  Component({
7807
- template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n {{ 'platform.angular_components.iassist_text_generator' | translate }}\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n [sTooltip]=\"'platform.angular_components.iassist_text_generator' | translate\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
7808
+ template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
7808
7809
  styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
7809
7810
  })
7810
7811
  ], TextAreaIAFieldComponent);
@@ -15492,7 +15493,7 @@ var ProgressBarDeterminateComponent = /** @class */ (function () {
15492
15493
  Component({
15493
15494
  selector: "s-progressbar-determinate",
15494
15495
  template: "<div class=\"progressbar-determinate\">\n <div class=\"progressbar-container\">\n <div\n class=\"progressbar-active\"\n [ngClass]=\"{\n 'progressbar-active--blue' : activeColor === 'blue',\n 'progressbar-active--green': activeColor === 'green',\n 'progressbar-active--red': activeColor === 'red',\n 'progressbar-active--yellow': activeColor === 'yellow'\n }\"\n [ngStyle]=\"{ 'width': value + '%' }\">\n {{ showValue && value ? value + '%' : '' }}\n </div>\n </div>\n <div\n *ngIf=\"targetValue\"\n class=\"target\"\n [ngStyle]=\"{\n 'left': targetValue <= 50 ? targetValue + '%' : 'unset',\n 'right': targetValue > 50 ? 100 - targetValue + '%' : 'unset',\n 'align-items': targetValue > 50 ? 'flex-end' : 'flex-start'\n }\">\n <span class=\"target-line\"></span>\n <span class=\"target-label\">\n {{ targetLabel || value + '%' }}\n </span>\n </div>\n </div>\n ",
15495
- styles: [".progressbar-determinate{position:relative}.progressbar-determinate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progressbar-determinate .progressbar-container .progressbar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progressbar-determinate .progressbar-container .progressbar-active--blue{background-color:#428bca}.progressbar-determinate .progressbar-container .progressbar-active--green{background-color:#0c9348}.progressbar-determinate .progressbar-container .progressbar-active--red{background-color:#c13018}.progressbar-determinate .progressbar-container .progressbar-active--yellow{background-color:#fcbf10}.progressbar-determinate .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progressbar-determinate .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progressbar-determinate .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
15496
+ styles: [".progressbar-determinate{position:relative}.progressbar-determinate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progressbar-determinate .progressbar-container .progressbar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progressbar-determinate .progressbar-container .progressbar-active--blue{background-color:#428bca}.progressbar-determinate .progressbar-container .progressbar-active--green{background-color:#0c9348}.progressbar-determinate .progressbar-container .progressbar-active--red{background-color:#c13018}.progressbar-determinate .progressbar-container .progressbar-active--yellow{background-color:#fcbf10;color:#212533}.progressbar-determinate .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progressbar-determinate .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progressbar-determinate .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
15496
15497
  })
15497
15498
  ], ProgressBarDeterminateComponent);
15498
15499
  return ProgressBarDeterminateComponent;
@@ -15751,6 +15752,8 @@ var PanelModule = /** @class */ (function () {
15751
15752
  }());
15752
15753
 
15753
15754
  var fallback = {
15755
+ "platform.angular_components.count_items_in_target": "{{ count }} itens em {{ target }}",
15756
+ "platform.angular_components.count_items_selected": "{{ count }} itens selecionados",
15754
15757
  "platform.angular_components.january": "Janeiro",
15755
15758
  "platform.angular_components.february": "Fevereiro",
15756
15759
  "platform.angular_components.march": "Março",
@@ -16047,9 +16050,432 @@ var fallback = {
16047
16050
  "platform.angular_components.date_modified_custom_blob": "Enviado às {{hour}}:{{minutes}} de {{day}}/{{month}}/{{fullYear}}"
16048
16051
  };
16049
16052
 
16053
+ var KanbanTemplateTypes;
16054
+ (function (KanbanTemplateTypes) {
16055
+ KanbanTemplateTypes["ColumnHeader"] = "column-header";
16056
+ KanbanTemplateTypes["ColumnEmptyMessage"] = "column-empty-message";
16057
+ KanbanTemplateTypes["ItemHeader"] = "item-header";
16058
+ KanbanTemplateTypes["ItemBody"] = "item-body";
16059
+ KanbanTemplateTypes["ItemFooter"] = "item-footer";
16060
+ })(KanbanTemplateTypes || (KanbanTemplateTypes = {}));
16061
+
16062
+ var TemplateDirective = /** @class */ (function () {
16063
+ function TemplateDirective(template) {
16064
+ this.template = template;
16065
+ }
16066
+ TemplateDirective.ctorParameters = function () { return [
16067
+ { type: TemplateRef }
16068
+ ]; };
16069
+ __decorate([
16070
+ Input("sTemplate")
16071
+ ], TemplateDirective.prototype, "type", void 0);
16072
+ TemplateDirective = __decorate([
16073
+ Directive({
16074
+ selector: "[sTemplate]",
16075
+ })
16076
+ ], TemplateDirective);
16077
+ return TemplateDirective;
16078
+ }());
16079
+
16080
+ var KanbanEventService = /** @class */ (function () {
16081
+ function KanbanEventService() {
16082
+ this.selectAllColumnItemsEvent = new EventEmitter();
16083
+ this.unselectAllColumnItemsEvent = new EventEmitter();
16084
+ this.selectItemEvent = new EventEmitter();
16085
+ this.unselectItemEvent = new EventEmitter();
16086
+ }
16087
+ KanbanEventService.prototype.emitSelectAllColumnItemsEvent = function (column) {
16088
+ this.selectAllColumnItemsEvent.emit(column);
16089
+ };
16090
+ KanbanEventService.prototype.emitUnselectAllColumnItemsEvent = function (column) {
16091
+ this.unselectAllColumnItemsEvent.emit(column);
16092
+ };
16093
+ KanbanEventService.prototype.emitSelectItemEvent = function (item) {
16094
+ this.selectItemEvent.emit(item);
16095
+ };
16096
+ KanbanEventService.prototype.emitUnselectItemEvent = function (item) {
16097
+ this.unselectItemEvent.emit(item);
16098
+ };
16099
+ KanbanEventService = __decorate([
16100
+ Injectable()
16101
+ ], KanbanEventService);
16102
+ return KanbanEventService;
16103
+ }());
16104
+
16105
+ var KanbanComponent = /** @class */ (function () {
16106
+ function KanbanComponent(kanbanEventService) {
16107
+ this.kanbanEventService = kanbanEventService;
16108
+ this.itemsMoved = new EventEmitter();
16109
+ this.dataUpdated = new EventEmitter();
16110
+ this.itemsSelected = new EventEmitter();
16111
+ this.selectedItems = new Set();
16112
+ this.draggingItems = new Set();
16113
+ this._unsubscribe$ = new Subject();
16114
+ }
16115
+ KanbanComponent.prototype.ngOnInit = function () {
16116
+ this._subscribeEvents();
16117
+ this._normalizeData();
16118
+ this._validateInputs();
16119
+ };
16120
+ KanbanComponent.prototype.ngAfterContentInit = function () {
16121
+ this._getTemplates();
16122
+ };
16123
+ KanbanComponent.prototype.ngOnDestroy = function () {
16124
+ this._unsubscribe$.next();
16125
+ this._unsubscribe$.complete();
16126
+ };
16127
+ KanbanComponent.prototype.drop = function (event) {
16128
+ var _this = this;
16129
+ var _a;
16130
+ var previousColumn = this.data.columns.find(function (column) { return column.id === event.previousContainer.id; });
16131
+ var targetColumn = this.data.columns.find(function (column) { return column.id === event.container.id; });
16132
+ if (!previousColumn || !targetColumn) {
16133
+ throw new Error("Unable to obtain information about columns when performing drag and drop");
16134
+ }
16135
+ if (event.previousContainer === event.container) {
16136
+ moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
16137
+ }
16138
+ else {
16139
+ transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
16140
+ }
16141
+ this.selectedItems.forEach(function (item) {
16142
+ var previousIndex = event.previousContainer.data.indexOf(item);
16143
+ if (previousIndex !== -1 && item !== event.item.data) {
16144
+ if (event.previousContainer === event.container) {
16145
+ moveItemInArray(event.container.data, previousIndex, event.currentIndex);
16146
+ }
16147
+ else {
16148
+ transferArrayItem(event.previousContainer.data, event.container.data, previousIndex, event.currentIndex);
16149
+ }
16150
+ }
16151
+ });
16152
+ this.selectedItems.add(event.item.data);
16153
+ this.itemsMoved.emit({
16154
+ items: __spread(this.selectedItems),
16155
+ previousColumn: previousColumn,
16156
+ targetColumn: targetColumn,
16157
+ });
16158
+ if ((_a = this.dataUpdated.observers) === null || _a === void 0 ? void 0 : _a.length) {
16159
+ this.dataUpdated.emit(__assign({}, this.data));
16160
+ }
16161
+ this.data.columns.forEach(function (column) {
16162
+ _this.kanbanEventService.emitUnselectAllColumnItemsEvent(column);
16163
+ });
16164
+ this.selectedItems.clear();
16165
+ };
16166
+ KanbanComponent.prototype.selectItem = function (event, item, column) {
16167
+ if (event.ctrlKey) {
16168
+ if (this.selectedItems.delete(item)) {
16169
+ this.kanbanEventService.emitUnselectItemEvent(item);
16170
+ }
16171
+ else {
16172
+ if (this.selectedColumn && !this.selectedColumn.items.includes(item)) {
16173
+ this.selectedItems.clear();
16174
+ }
16175
+ this.selectedItems.add(item);
16176
+ this.selectedColumn = column;
16177
+ this.kanbanEventService.emitSelectItemEvent(item);
16178
+ }
16179
+ }
16180
+ else {
16181
+ this.selectedItems.clear();
16182
+ this.selectedItems.add(item);
16183
+ this.selectedColumn = column;
16184
+ this.kanbanEventService.emitSelectItemEvent(item);
16185
+ }
16186
+ };
16187
+ KanbanComponent.prototype.dragStarted = function () {
16188
+ var _this = this;
16189
+ this.selectedItems.forEach(function (item) {
16190
+ _this.draggingItems.add(item);
16191
+ });
16192
+ };
16193
+ KanbanComponent.prototype.dragReleased = function () {
16194
+ this.draggingItems.clear();
16195
+ };
16196
+ KanbanComponent.prototype.getLinkedColumns = function (currentColumn) {
16197
+ return this.data.columns
16198
+ .filter(function (column) { return column != currentColumn; })
16199
+ .map(function (column) { return column.id; });
16200
+ };
16201
+ KanbanComponent.prototype.getColumnHeaderTemplate = function () {
16202
+ return this._getCustomTemplate(KanbanTemplateTypes.ColumnHeader);
16203
+ };
16204
+ KanbanComponent.prototype.getColumnEmptyMessageTemplate = function () {
16205
+ return this._getCustomTemplate(KanbanTemplateTypes.ColumnEmptyMessage);
16206
+ };
16207
+ KanbanComponent.prototype.getItemHeaderTemplate = function () {
16208
+ return this._getCustomTemplate(KanbanTemplateTypes.ItemHeader);
16209
+ };
16210
+ KanbanComponent.prototype.getItemBodyTemplate = function () {
16211
+ return this._getCustomTemplate(KanbanTemplateTypes.ItemBody);
16212
+ };
16213
+ KanbanComponent.prototype.getItemFooterTemplate = function () {
16214
+ return this._getCustomTemplate(KanbanTemplateTypes.ItemFooter);
16215
+ };
16216
+ KanbanComponent.prototype._getCustomTemplate = function (type) {
16217
+ var _a;
16218
+ return (_a = this.templates.find(function (template) { return template.type === type; })) === null || _a === void 0 ? void 0 : _a.template;
16219
+ };
16220
+ KanbanComponent.prototype._subscribeEvents = function () {
16221
+ var _this = this;
16222
+ this.kanbanEventService.selectAllColumnItemsEvent
16223
+ .pipe(takeUntil(this._unsubscribe$))
16224
+ .subscribe(function (column) {
16225
+ column.items
16226
+ .filter(function (item) { return !item.disabled; })
16227
+ .forEach(function (item) {
16228
+ _this.selectedItems.add(item);
16229
+ });
16230
+ _this.selectedColumn = column;
16231
+ _this.itemsSelected.emit(__spread(_this.selectedItems));
16232
+ });
16233
+ this.kanbanEventService.unselectAllColumnItemsEvent
16234
+ .pipe(takeUntil(this._unsubscribe$))
16235
+ .subscribe(function (_) {
16236
+ _this.selectedItems.clear();
16237
+ });
16238
+ this.kanbanEventService.selectItemEvent
16239
+ .pipe(takeUntil(this._unsubscribe$))
16240
+ .subscribe(function (item) {
16241
+ if (_this.selectedColumn && !_this.selectedColumn.items.includes(item)) {
16242
+ _this.selectedItems.clear();
16243
+ }
16244
+ _this.selectedItems.add(item);
16245
+ _this.itemsSelected.emit(__spread(_this.selectedItems));
16246
+ // Finding the item column and setting selectedColumn.
16247
+ _this.data.columns.forEach(function (column) {
16248
+ column.items.forEach(function (currentItem) {
16249
+ if (currentItem === item) {
16250
+ _this.selectedColumn = column;
16251
+ return;
16252
+ }
16253
+ });
16254
+ });
16255
+ });
16256
+ this.kanbanEventService.unselectItemEvent
16257
+ .pipe(takeUntil(this._unsubscribe$))
16258
+ .subscribe(function (item) {
16259
+ _this.selectedItems.delete(item);
16260
+ });
16261
+ };
16262
+ KanbanComponent.prototype._normalizeData = function () {
16263
+ this.data.columns.forEach(function (column) {
16264
+ column.id = column.id || "id-" + Math.random().toString(36).substring(2, 9) + "-" + Date.now().toString(36);
16265
+ });
16266
+ };
16267
+ KanbanComponent.prototype._validateInputs = function () {
16268
+ var columns = this.data.columns;
16269
+ var columnIds = this.data.columns.map(function (column) { return column.id; });
16270
+ if (new Set(columnIds).size !== columns.length) {
16271
+ throw new Error("Repeated IDs are not accepted.");
16272
+ }
16273
+ };
16274
+ KanbanComponent.prototype._getTemplates = function () {
16275
+ this.columnHeaderTemplate = this.getColumnHeaderTemplate();
16276
+ this.columnEmptyMessageTemplate = this.getColumnEmptyMessageTemplate();
16277
+ this.itemHeaderTemplate = this.getItemHeaderTemplate();
16278
+ this.itemBodyTemplate = this.getItemBodyTemplate();
16279
+ this.itemFooterTemplate = this.getItemFooterTemplate();
16280
+ };
16281
+ KanbanComponent.ctorParameters = function () { return [
16282
+ { type: KanbanEventService }
16283
+ ]; };
16284
+ __decorate([
16285
+ Input()
16286
+ ], KanbanComponent.prototype, "data", void 0);
16287
+ __decorate([
16288
+ Output()
16289
+ ], KanbanComponent.prototype, "itemsMoved", void 0);
16290
+ __decorate([
16291
+ Output()
16292
+ ], KanbanComponent.prototype, "dataUpdated", void 0);
16293
+ __decorate([
16294
+ Output()
16295
+ ], KanbanComponent.prototype, "itemsSelected", void 0);
16296
+ __decorate([
16297
+ ContentChildren(TemplateDirective)
16298
+ ], KanbanComponent.prototype, "templates", void 0);
16299
+ KanbanComponent = __decorate([
16300
+ Component({
16301
+ selector: 's-kanban',
16302
+ 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",
16303
+ 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%}"]
16304
+ })
16305
+ ], KanbanComponent);
16306
+ return KanbanComponent;
16307
+ }());
16308
+
16309
+ var KanbanItemComponent = /** @class */ (function () {
16310
+ function KanbanItemComponent(_kanbanEventService) {
16311
+ this._kanbanEventService = _kanbanEventService;
16312
+ this.selected = false;
16313
+ }
16314
+ KanbanItemComponent.prototype.onSelectedChange = function (value) {
16315
+ if (value) {
16316
+ this._kanbanEventService.emitSelectItemEvent(this.item);
16317
+ }
16318
+ else {
16319
+ this._kanbanEventService.emitUnselectItemEvent(this.item);
16320
+ }
16321
+ };
16322
+ KanbanItemComponent.ctorParameters = function () { return [
16323
+ { type: KanbanEventService }
16324
+ ]; };
16325
+ __decorate([
16326
+ Input()
16327
+ ], KanbanItemComponent.prototype, "item", void 0);
16328
+ __decorate([
16329
+ Input()
16330
+ ], KanbanItemComponent.prototype, "selected", void 0);
16331
+ __decorate([
16332
+ Input()
16333
+ ], KanbanItemComponent.prototype, "headerTemplate", void 0);
16334
+ __decorate([
16335
+ Input()
16336
+ ], KanbanItemComponent.prototype, "bodyTemplate", void 0);
16337
+ __decorate([
16338
+ Input()
16339
+ ], KanbanItemComponent.prototype, "footerTemplate", void 0);
16340
+ KanbanItemComponent = __decorate([
16341
+ Component({
16342
+ selector: 's-kanban-item',
16343
+ 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>",
16344
+ 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%}"]
16345
+ })
16346
+ ], KanbanItemComponent);
16347
+ return KanbanItemComponent;
16348
+ }());
16349
+
16350
+ var KanbanColumnComponent = /** @class */ (function () {
16351
+ function KanbanColumnComponent(kanbanEventService) {
16352
+ this.kanbanEventService = kanbanEventService;
16353
+ this.selectionControl = new FormControl(false);
16354
+ this._unsubscribe$ = new Subject();
16355
+ }
16356
+ KanbanColumnComponent.prototype.ngOnInit = function () {
16357
+ this._validateInputs();
16358
+ this._subscriveEvents();
16359
+ };
16360
+ KanbanColumnComponent.prototype.ngOnDestroy = function () {
16361
+ this._unsubscribe$.next();
16362
+ this._unsubscribe$.complete();
16363
+ };
16364
+ KanbanColumnComponent.prototype._subscriveEvents = function () {
16365
+ var _this = this;
16366
+ this.selectionControl.valueChanges
16367
+ .pipe(takeUntil(this._unsubscribe$))
16368
+ .subscribe(function (value) {
16369
+ if (value) {
16370
+ _this.kanbanEventService.emitSelectAllColumnItemsEvent(_this.data);
16371
+ }
16372
+ else {
16373
+ _this.kanbanEventService.emitUnselectAllColumnItemsEvent(_this.data);
16374
+ }
16375
+ });
16376
+ this.kanbanEventService.unselectItemEvent
16377
+ .pipe(takeUntil(this._unsubscribe$))
16378
+ .subscribe(function (_) {
16379
+ _this.selectionControl.setValue(false, { emitEvent: false });
16380
+ });
16381
+ this.kanbanEventService.selectItemEvent
16382
+ .pipe(takeUntil(this._unsubscribe$))
16383
+ .subscribe(function (item) {
16384
+ if (!_this.data.items.includes(item)) {
16385
+ _this.selectionControl.setValue(false, { emitEvent: false });
16386
+ }
16387
+ });
16388
+ this.kanbanEventService.selectAllColumnItemsEvent
16389
+ .pipe(takeUntil(this._unsubscribe$))
16390
+ .subscribe(function (column) {
16391
+ if (_this.data !== column) {
16392
+ _this.selectionControl.setValue(false, { emitEvent: false });
16393
+ }
16394
+ });
16395
+ this.kanbanEventService.unselectAllColumnItemsEvent
16396
+ .pipe(takeUntil(this._unsubscribe$))
16397
+ .subscribe(function (column) {
16398
+ if (_this.data !== column) {
16399
+ _this.selectionControl.setValue(false, { emitEvent: false });
16400
+ }
16401
+ });
16402
+ };
16403
+ KanbanColumnComponent.prototype._validateInputs = function () {
16404
+ if (!this.data) {
16405
+ throw new Error("data parameter is required");
16406
+ }
16407
+ };
16408
+ KanbanColumnComponent.ctorParameters = function () { return [
16409
+ { type: KanbanEventService }
16410
+ ]; };
16411
+ __decorate([
16412
+ Input()
16413
+ ], KanbanColumnComponent.prototype, "data", void 0);
16414
+ __decorate([
16415
+ Input()
16416
+ ], KanbanColumnComponent.prototype, "headerTemplate", void 0);
16417
+ KanbanColumnComponent = __decorate([
16418
+ Component({
16419
+ selector: "s-kanban-column",
16420
+ 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>",
16421
+ 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%}"]
16422
+ })
16423
+ ], KanbanColumnComponent);
16424
+ return KanbanColumnComponent;
16425
+ }());
16426
+
16427
+ var KanbanItemDraggingComponent = /** @class */ (function () {
16428
+ function KanbanItemDraggingComponent() {
16429
+ this.quantityItems = 0;
16430
+ }
16431
+ __decorate([
16432
+ Input()
16433
+ ], KanbanItemDraggingComponent.prototype, "quantityItems", void 0);
16434
+ KanbanItemDraggingComponent = __decorate([
16435
+ Component({
16436
+ selector: "s-kanban-item-dragging",
16437
+ template: "<div\n *ngIf=\"quantityItems\"\n class=\"kanban-item-dragging\">\n</div>\n\n<div\n class=\"kanban-item-dragging\"\n [ngClass]=\"{ 'kanban-item-dragging--over': quantityItems }\">\n <div class=\"content\">\n <input type=\"checkbox\" checked />\n <s-badge\n [text]=\"'platform.angular_components.count_items_selected' | translate:{ count: quantityItems }\"\n color=\"blue\">\n </s-badge>\n </div>\n</div>",
16438
+ styles: [".kanban-item-dragging{background-color:#fff;border:1px solid #428bca;border-radius:4px;box-shadow:0 1px 5px 0 rgba(0,0,0,.25);height:52px;padding:16px;width:260px}.kanban-item-dragging .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-item-dragging--over{left:12px;position:relative;top:-64px}"]
16439
+ })
16440
+ ], KanbanItemDraggingComponent);
16441
+ return KanbanItemDraggingComponent;
16442
+ }());
16443
+
16444
+ var KanbanModule = /** @class */ (function () {
16445
+ function KanbanModule() {
16446
+ }
16447
+ KanbanModule = __decorate([
16448
+ NgModule({
16449
+ imports: [
16450
+ CommonModule,
16451
+ FormsModule,
16452
+ ReactiveFormsModule,
16453
+ TranslateModule,
16454
+ DragDropModule,
16455
+ BadgeModule,
16456
+ ButtonModule,
16457
+ TieredMenuModule$1,
16458
+ ],
16459
+ declarations: [
16460
+ KanbanComponent,
16461
+ KanbanItemComponent,
16462
+ KanbanColumnComponent,
16463
+ KanbanItemDraggingComponent,
16464
+ TemplateDirective,
16465
+ ],
16466
+ exports: [
16467
+ KanbanComponent,
16468
+ TemplateDirective,
16469
+ ],
16470
+ providers: [KanbanEventService],
16471
+ })
16472
+ ], KanbanModule);
16473
+ return KanbanModule;
16474
+ }());
16475
+
16050
16476
  /**
16051
16477
  * Generated bundle index. Do not edit.
16052
16478
  */
16053
16479
 
16054
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, RadioButtonComponent as ɵba, RowComponent as ɵbb, SectionComponent as ɵbc, SelectFieldComponent as ɵbd, SliderFieldComponent as ɵbe, TextAreaFieldComponent as ɵbf, TextAreaIAFieldComponent as ɵbg, IAssistService as ɵbh, TextFieldComponent as ɵbi, DecimalField as ɵbk, SideTableComponent as ɵbl, StructureModule as ɵbm, HeaderComponent as ɵbn, FooterComponent as ɵbo, NumberLocaleOptions as ɵbp, ThumbnailService as ɵbq, BorderButtonModule as ɵbr, BorderButtonComponent as ɵbs, SlidePanelService as ɵbt, TimelineItemModule as ɵbu, TimelineIconItemComponent as ɵbv, HorizontalTimelineModule as ɵbw, HorizontalTimelineComponent as ɵbx, VerticalTimelineModule as ɵby, VerticalTimelineComponent as ɵbz, CountryPhonePickerService as ɵc, RangeLineComponent as ɵca, CollapseOptionComponent as ɵcb, CollapsedItemsComponent as ɵcc, VerticalItemsComponent as ɵcd, InfiniteScrollModule as ɵce, InfiniteScrollDirective as ɵcf, CustomTranslationsModule as ɵcg, CodeEditorComponent as ɵch, CoreFacade as ɵci, CodeMirror6Core as ɵcj, TieredMenuEventService as ɵck, TieredMenuService as ɵcl, TieredMenuComponent as ɵcm, TieredMenuNestedComponent as ɵcn, TieredMenuItemComponent as ɵco, TieredMenuDividerComponent as ɵcp, ProgressBarDeterminateComponent as ɵcq, ProgressBarIndeterminateComponent as ɵcr, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BignumberFieldComponent as ɵm, BooleanFieldComponent as ɵn, BooleanSwitchFieldComponent as ɵo, CalendarFieldComponent as ɵp, ChipsFieldComponent as ɵq, CountryPhonePickerFieldComponent as ɵr, CurrencyFieldComponent as ɵs, DynamicFieldComponent as ɵt, DynamicFormDirective as ɵu, FieldsetComponent as ɵv, FileUploadComponent$1 as ɵw, LookupFieldComponent as ɵx, NumberFieldComponent as ɵy, PasswordFieldComponent as ɵz };
16480
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, RadioButtonComponent as ɵba, RowComponent as ɵbb, SectionComponent as ɵbc, SelectFieldComponent as ɵbd, SliderFieldComponent as ɵbe, TextAreaFieldComponent as ɵbf, TextAreaIAFieldComponent as ɵbg, IAssistService as ɵbh, TextFieldComponent as ɵbi, DecimalField as ɵbk, SideTableComponent as ɵbl, StructureModule as ɵbm, HeaderComponent as ɵbn, FooterComponent as ɵbo, NumberLocaleOptions as ɵbp, ThumbnailService as ɵbq, BorderButtonModule as ɵbr, BorderButtonComponent as ɵbs, SlidePanelService as ɵbt, TimelineItemModule as ɵbu, TimelineIconItemComponent as ɵbv, HorizontalTimelineModule as ɵbw, HorizontalTimelineComponent as ɵbx, VerticalTimelineModule as ɵby, VerticalTimelineComponent as ɵbz, CountryPhonePickerService as ɵc, RangeLineComponent as ɵca, CollapseOptionComponent as ɵcb, CollapsedItemsComponent as ɵcc, VerticalItemsComponent as ɵcd, InfiniteScrollModule as ɵce, InfiniteScrollDirective as ɵcf, CustomTranslationsModule as ɵcg, CodeEditorComponent as ɵch, CoreFacade as ɵci, CodeMirror6Core as ɵcj, TieredMenuEventService as ɵck, TieredMenuService as ɵcl, TieredMenuComponent as ɵcm, TieredMenuNestedComponent as ɵcn, TieredMenuItemComponent as ɵco, TieredMenuDividerComponent as ɵcp, ProgressBarDeterminateComponent as ɵcq, ProgressBarIndeterminateComponent as ɵcr, KanbanEventService as ɵcs, KanbanItemComponent as ɵct, KanbanColumnComponent as ɵcu, KanbanItemDraggingComponent as ɵcv, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BignumberFieldComponent as ɵm, BooleanFieldComponent as ɵn, BooleanSwitchFieldComponent as ɵo, CalendarFieldComponent as ɵp, ChipsFieldComponent as ɵq, CountryPhonePickerFieldComponent as ɵr, CurrencyFieldComponent as ɵs, DynamicFieldComponent as ɵt, DynamicFormDirective as ɵu, FieldsetComponent as ɵv, FileUploadComponent$1 as ɵw, LookupFieldComponent as ɵx, NumberFieldComponent as ɵy, PasswordFieldComponent as ɵz };
16055
16481
  //# sourceMappingURL=seniorsistemas-angular-components.js.map