@rxap/material-table-system 12.5.3 → 12.5.6

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 (112) hide show
  1. package/bundles/rxap-material-table-system.umd.js +219 -200
  2. package/bundles/rxap-material-table-system.umd.js.map +1 -1
  3. package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js +3 -3
  4. package/esm2015/lib/cells/boolean-cell/boolean-cell.component.js.map +1 -1
  5. package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js +4 -4
  6. package/esm2015/lib/cells/boolean-cell/boolean-cell.component.module.js.map +1 -1
  7. package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js +3 -3
  8. package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.js.map +1 -1
  9. package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js +4 -4
  10. package/esm2015/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.js.map +1 -1
  11. package/esm2015/lib/cells/date-cell/date-cell.component.js +3 -3
  12. package/esm2015/lib/cells/date-cell/date-cell.component.js.map +1 -1
  13. package/esm2015/lib/cells/date-cell/date-cell.component.module.js +4 -4
  14. package/esm2015/lib/cells/date-cell/date-cell.component.module.js.map +1 -1
  15. package/esm2015/lib/cells/icon-cell/icon-cell.component.js +3 -3
  16. package/esm2015/lib/cells/icon-cell/icon-cell.component.js.map +1 -1
  17. package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js +4 -4
  18. package/esm2015/lib/cells/icon-cell/icon-cell.component.module.js.map +1 -1
  19. package/esm2015/lib/cells/image-cell/image-cell.component.js +3 -3
  20. package/esm2015/lib/cells/image-cell/image-cell.component.js.map +1 -1
  21. package/esm2015/lib/cells/image-cell/image-cell.component.module.js +4 -4
  22. package/esm2015/lib/cells/image-cell/image-cell.component.module.js.map +1 -1
  23. package/esm2015/lib/cells/link-cell/link-cell.component.js +3 -3
  24. package/esm2015/lib/cells/link-cell/link-cell.component.js.map +1 -1
  25. package/esm2015/lib/cells/link-cell/link-cell.component.module.js +4 -4
  26. package/esm2015/lib/cells/link-cell/link-cell.component.module.js.map +1 -1
  27. package/esm2015/lib/cells/options-cell/options-cell.component.js +3 -3
  28. package/esm2015/lib/cells/options-cell/options-cell.component.js.map +1 -1
  29. package/esm2015/lib/cells/options-cell/options-cell.component.module.js +4 -4
  30. package/esm2015/lib/cells/options-cell/options-cell.component.module.js.map +1 -1
  31. package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js +3 -3
  32. package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.js.map +1 -1
  33. package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js +4 -4
  34. package/esm2015/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.js.map +1 -1
  35. package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js +3 -3
  36. package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.js.map +1 -1
  37. package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js +4 -4
  38. package/esm2015/lib/expand-row/expand-row-container/expand-row-container.component.module.js.map +1 -1
  39. package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js +3 -3
  40. package/esm2015/lib/expand-row/expand-row-container/expand-row-content.directive.js.map +1 -1
  41. package/esm2015/lib/expand-row/expand-row.directive.js +3 -3
  42. package/esm2015/lib/expand-row/expand-row.directive.js.map +1 -1
  43. package/esm2015/lib/expand-row/expand-row.module.js +4 -4
  44. package/esm2015/lib/expand-row/expand-row.module.js.map +1 -1
  45. package/esm2015/lib/expand-row/expand-row.service.js +3 -3
  46. package/esm2015/lib/expand-row/expand-row.service.js.map +1 -1
  47. package/esm2015/lib/persistent-paginator.directive.js +7 -7
  48. package/esm2015/lib/persistent-paginator.directive.js.map +1 -1
  49. package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js +3 -3
  50. package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.js.map +1 -1
  51. package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js +4 -4
  52. package/esm2015/lib/select-row/checkbox-cell/checkbox-cell.component.module.js.map +1 -1
  53. package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js +3 -3
  54. package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.js.map +1 -1
  55. package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js +4 -4
  56. package/esm2015/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.js.map +1 -1
  57. package/esm2015/lib/select-row/select-row.module.js +4 -4
  58. package/esm2015/lib/select-row/select-row.module.js.map +1 -1
  59. package/esm2015/lib/select-row/select-row.service.js +3 -3
  60. package/esm2015/lib/select-row/select-row.service.js.map +1 -1
  61. package/esm2015/lib/select-row/selected-rows.directive.js +3 -3
  62. package/esm2015/lib/select-row/selected-rows.directive.js.map +1 -1
  63. package/esm2015/lib/table-column-menu/table-column-menu.component.js +3 -3
  64. package/esm2015/lib/table-column-menu/table-column-menu.component.js.map +1 -1
  65. package/esm2015/lib/table-column-menu/table-column-menu.component.module.js +4 -4
  66. package/esm2015/lib/table-column-menu/table-column-menu.component.module.js.map +1 -1
  67. package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js +23 -5
  68. package/esm2015/lib/table-column-menu/table-column-option/table-column-option.component.js.map +1 -1
  69. package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js +3 -3
  70. package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.js.map +1 -1
  71. package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js +4 -4
  72. package/esm2015/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.js.map +1 -1
  73. package/esm2015/lib/table-create-button/table-create-button.directive.js +7 -7
  74. package/esm2015/lib/table-create-button/table-create-button.directive.js.map +1 -1
  75. package/esm2015/lib/table-data-source.directive.js +7 -7
  76. package/esm2015/lib/table-data-source.directive.js.map +1 -1
  77. package/esm2015/lib/table-filter/filter-header-row.directive.js +3 -3
  78. package/esm2015/lib/table-filter/filter-header-row.directive.js.map +1 -1
  79. package/esm2015/lib/table-filter/table-filter.module.js +4 -4
  80. package/esm2015/lib/table-filter/table-filter.module.js.map +1 -1
  81. package/esm2015/lib/table-filter/table-filter.service.js +3 -3
  82. package/esm2015/lib/table-filter/table-filter.service.js.map +1 -1
  83. package/esm2015/lib/table-filter/to-filter-column-names.pipe.js +3 -3
  84. package/esm2015/lib/table-filter/to-filter-column-names.pipe.js.map +1 -1
  85. package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js +3 -3
  86. package/esm2015/lib/table-row-actions/table-row-action-executing.directive.js.map +1 -1
  87. package/esm2015/lib/table-row-actions/table-row-action.directive.js +3 -3
  88. package/esm2015/lib/table-row-actions/table-row-action.directive.js.map +1 -1
  89. package/esm2015/lib/table-row-actions/table-row-actions.module.js +4 -4
  90. package/esm2015/lib/table-row-actions/table-row-actions.module.js.map +1 -1
  91. package/esm2015/lib/table-row-actions/table-row-header-action.directive.js +3 -3
  92. package/esm2015/lib/table-row-actions/table-row-header-action.directive.js.map +1 -1
  93. package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js +3 -3
  94. package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.js.map +1 -1
  95. package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js +4 -4
  96. package/esm2015/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.js.map +1 -1
  97. package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js +3 -3
  98. package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.js.map +1 -1
  99. package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js +4 -4
  100. package/esm2015/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.js.map +1 -1
  101. package/esm2015/lib/table-row-controls/table-row-controls.module.js +4 -4
  102. package/esm2015/lib/table-row-controls/table-row-controls.module.js.map +1 -1
  103. package/esm2015/lib/table-select-controls/table-select-controls.component.js +3 -3
  104. package/esm2015/lib/table-select-controls/table-select-controls.component.js.map +1 -1
  105. package/esm2015/lib/table-select-controls/table-select-controls.component.module.js +4 -4
  106. package/esm2015/lib/table-select-controls/table-select-controls.component.module.js.map +1 -1
  107. package/fesm2015/rxap-material-table-system.js +208 -191
  108. package/fesm2015/rxap-material-table-system.js.map +1 -1
  109. package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +7 -3
  110. package/package.json +5 -5
  111. package/src/schematics/ng-add/index.js +1 -1
  112. package/src/schematics/ng-add/index.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"table-row-actions.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-actions/table-row-actions.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;;AAoBpF,MAAM,OAAO,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAhB9B,uBAAuB;QACvB,gCAAgC;QAChC,6BAA6B,aAG7B,uBAAuB;QACvB,6BAA6B;QAC7B,gCAAgC;QAChC,gBAAgB;QAChB,eAAe;QACf,sBAAsB;QACtB,aAAa;QACb,oBAAoB;QACpB,YAAY;mHAGH,qBAAqB,YAR9B,gBAAgB;QAChB,eAAe;QACf,sBAAsB;QACtB,aAAa;QACb,oBAAoB;QACpB,YAAY;2FAGH,qBAAqB;kBAlBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,uBAAuB;wBACvB,gCAAgC;wBAChC,6BAA6B;qBAC9B;oBACD,OAAO,EAAO;wBACZ,uBAAuB;wBACvB,6BAA6B;wBAC7B,gCAAgC;wBAChC,gBAAgB;wBAChB,eAAe;wBACf,sBAAsB;wBACtB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;qBACb;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { TableRowActionExecutingDirective } from './table-row-action-executing.directive';\nimport { TableRowActionDirective } from './table-row-action.directive';\nimport { TableRowHeaderActionDirective } from './table-row-header-action.directive';\n\n@NgModule({\n declarations: [\n TableRowActionDirective,\n TableRowActionExecutingDirective,\n TableRowHeaderActionDirective\n ],\n exports: [\n TableRowActionDirective,\n TableRowHeaderActionDirective,\n TableRowActionExecutingDirective,\n MatTooltipModule,\n MatButtonModule,\n ConfirmComponentModule,\n MatIconModule,\n MatProgressBarModule,\n CommonModule\n ]\n})\nexport class TableRowActionsModule {}\n"]}
1
+ {"version":3,"file":"table-row-actions.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-actions/table-row-actions.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;;AAoBpF,MAAM,OAAO,qBAAqB;;mHAArB,qBAAqB;oHAArB,qBAAqB,iBAhB9B,uBAAuB;QACvB,gCAAgC;QAChC,6BAA6B,aAG7B,uBAAuB;QACvB,6BAA6B;QAC7B,gCAAgC;QAChC,gBAAgB;QAChB,eAAe;QACf,sBAAsB;QACtB,aAAa;QACb,oBAAoB;QACpB,YAAY;oHAGH,qBAAqB,YAR9B,gBAAgB;QAChB,eAAe;QACf,sBAAsB;QACtB,aAAa;QACb,oBAAoB;QACpB,YAAY;4FAGH,qBAAqB;kBAlBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,uBAAuB;wBACvB,gCAAgC;wBAChC,6BAA6B;qBAC9B;oBACD,OAAO,EAAO;wBACZ,uBAAuB;wBACvB,6BAA6B;wBAC7B,gCAAgC;wBAChC,gBAAgB;wBAChB,eAAe;wBACf,sBAAsB;wBACtB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;qBACb;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { TableRowActionExecutingDirective } from './table-row-action-executing.directive';\nimport { TableRowActionDirective } from './table-row-action.directive';\nimport { TableRowHeaderActionDirective } from './table-row-header-action.directive';\n\n@NgModule({\n declarations: [\n TableRowActionDirective,\n TableRowActionExecutingDirective,\n TableRowHeaderActionDirective\n ],\n exports: [\n TableRowActionDirective,\n TableRowHeaderActionDirective,\n TableRowActionExecutingDirective,\n MatTooltipModule,\n MatButtonModule,\n ConfirmComponentModule,\n MatIconModule,\n MatProgressBarModule,\n CommonModule\n ]\n})\nexport class TableRowActionsModule {}\n"]}
@@ -45,13 +45,13 @@ export class TableRowHeaderActionDirective extends TableRowActionDirective {
45
45
  return (_b = (_a = this.selectRowService) === null || _a === void 0 ? void 0 : _a.selectedRows) !== null && _b !== void 0 ? _b : [];
46
46
  }
47
47
  }
48
- TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
49
- TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
48
+ TableRowHeaderActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowHeaderActionDirective, deps: [{ token: RXAP_TABLE_ROW_ACTION_METHOD }, { token: ChangeDetectorRef }, { token: ViewContainerRef }, { token: TableDataSourceDirective }, { token: MatSnackBar }, { token: MatButton, optional: true }, { token: SelectRowService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
49
+ TableRowHeaderActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TableRowHeaderActionDirective, selector: "button[rxapTableRowHeaderAction]", inputs: { type: ["rxapTableRowHeaderAction", "type"] }, usesInheritance: true, ngImport: i0 });
50
50
  __decorate([
51
51
  Required,
52
52
  __metadata("design:type", String)
53
53
  ], TableRowHeaderActionDirective.prototype, "type", void 0);
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowHeaderActionDirective, decorators: [{
55
55
  type: Directive,
56
56
  args: [{
57
57
  selector: 'button[rxapTableRowHeaderAction]'
@@ -1 +1 @@
1
- {"version":3,"file":"table-row-header-action.directive.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-actions/table-row-header-action.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,KAAK,EAGL,QAAQ,EACR,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,GAAG,EACH,SAAS,EACT,GAAG,EACJ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;;;;;AAKpE,MAA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,6BAA6B;kBAHzC,SAAS;mBAAC;oBACT,QAAQ,EAAE,kCAAkC;iBAC7C;;0BAOI,MAAM;2BAAC,4BAA4B;;0BAEnC,MAAM;2BAAC,iBAAiB;;0BAExB,MAAM;2BAAC,gBAAgB;;0BAEvB,MAAM;2BAAC,wBAAwB;;0BAE/B,MAAM;2BAAC,WAAW;;0BAElB,QAAQ;;0BACR,MAAM;2BAAC,SAAS;;0BAEhB,QAAQ;;0BACR,MAAM;2BAAC,gBAAgB;4CA4CnB,IAAI;sBAFV,KAAK;uBAAC,0BAA0B","sourcesContent":["import {\n ChangeDetectorRef,\n Directive,\n Inject,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewContainerRef\n} from '@angular/core';\nimport { MatButton } from '@angular/material/button';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Required } from '@rxap/utilities';\nimport { Subscription } from 'rxjs';\nimport {\n map,\n startWith,\n tap\n} from 'rxjs/operators';\nimport { TableRowActionDirective } from './table-row-action.directive';\nimport { TableRowActionMethod } from './table-row-action.method';\nimport { RXAP_TABLE_ROW_ACTION_METHOD } from './tokens';\nimport { TableDataSourceDirective } from '../table-data-source.directive';\nimport { SelectRowService } from '../select-row/select-row.service';\n\n@Directive({\n selector: 'button[rxapTableRowHeaderAction]'\n})\nexport class TableRowHeaderActionDirective<Data extends Record<string, any>>\n extends TableRowActionDirective<Data>\n implements OnInit, OnDestroy {\n private _subscription?: Subscription;\n\n constructor(\n @Inject(RXAP_TABLE_ROW_ACTION_METHOD)\n actionMethod: TableRowActionMethod<Data>,\n @Inject(ChangeDetectorRef)\n cdr: ChangeDetectorRef,\n @Inject(ViewContainerRef)\n vcr: ViewContainerRef,\n @Inject(TableDataSourceDirective)\n tableDataSourceDirective: TableDataSourceDirective,\n @Inject(MatSnackBar)\n snackBar: MatSnackBar,\n @Optional()\n @Inject(MatButton)\n matButton: MatButton | null,\n @Optional()\n @Inject(SelectRowService)\n private readonly selectRowService: SelectRowService<Data> | null\n ) {\n super(\n actionMethod,\n cdr,\n vcr,\n tableDataSourceDirective,\n snackBar,\n matButton\n );\n }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n if (this.selectRowService) {\n this._subscription = this.selectRowService.selectedRows$\n .pipe(\n startWith(this.selectRowService.selectedRows),\n map((rows) => rows.length !== 0),\n tap((hasSelected) => {\n if (hasSelected) {\n this.setButtonEnabled();\n } else {\n this.setButtonDisabled();\n }\n this.cdr.detectChanges();\n })\n )\n .subscribe();\n } else {\n this.setButtonDisabled();\n }\n }\n\n protected getElementList(): Data[] {\n return this.selectRowService?.selectedRows ?? [];\n }\n\n @Input('rxapTableRowHeaderAction')\n @Required\n public type!: string;\n}\n"]}
1
+ {"version":3,"file":"table-row-header-action.directive.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-actions/table-row-header-action.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,KAAK,EAGL,QAAQ,EACR,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,GAAG,EACH,SAAS,EACT,GAAG,EACJ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;;;;;AAKpE,MAAM,OAAO,6BACX,SAAQ,uBAA6B;IAIrC,YAEI,YAAwC,EAExC,GAAsB,EAEtB,GAAqB,EAErB,wBAAkD,EAElD,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0BAEnC,MAAM;2BAAC,iBAAiB;;0BAExB,MAAM;2BAAC,gBAAgB;;0BAEvB,MAAM;2BAAC,wBAAwB;;0BAE/B,MAAM;2BAAC,WAAW;;0BAElB,QAAQ;;0BACR,MAAM;2BAAC,SAAS;;0BAEhB,QAAQ;;0BACR,MAAM;2BAAC,gBAAgB;4CA4CnB,IAAI;sBAFV,KAAK;uBAAC,0BAA0B","sourcesContent":["import {\n ChangeDetectorRef,\n Directive,\n Inject,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewContainerRef\n} from '@angular/core';\nimport { MatButton } from '@angular/material/button';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Required } from '@rxap/utilities';\nimport { Subscription } from 'rxjs';\nimport {\n map,\n startWith,\n tap\n} from 'rxjs/operators';\nimport { TableRowActionDirective } from './table-row-action.directive';\nimport { TableRowActionMethod } from './table-row-action.method';\nimport { RXAP_TABLE_ROW_ACTION_METHOD } from './tokens';\nimport { TableDataSourceDirective } from '../table-data-source.directive';\nimport { SelectRowService } from '../select-row/select-row.service';\n\n@Directive({\n selector: 'button[rxapTableRowHeaderAction]'\n})\nexport class TableRowHeaderActionDirective<Data extends Record<string, any>>\n extends TableRowActionDirective<Data>\n implements OnInit, OnDestroy {\n private _subscription?: Subscription;\n\n constructor(\n @Inject(RXAP_TABLE_ROW_ACTION_METHOD)\n actionMethod: TableRowActionMethod<Data>,\n @Inject(ChangeDetectorRef)\n cdr: ChangeDetectorRef,\n @Inject(ViewContainerRef)\n vcr: ViewContainerRef,\n @Inject(TableDataSourceDirective)\n tableDataSourceDirective: TableDataSourceDirective,\n @Inject(MatSnackBar)\n snackBar: MatSnackBar,\n @Optional()\n @Inject(MatButton)\n matButton: MatButton | null,\n @Optional()\n @Inject(SelectRowService)\n private readonly selectRowService: SelectRowService<Data> | null\n ) {\n super(\n actionMethod,\n cdr,\n vcr,\n tableDataSourceDirective,\n snackBar,\n matButton\n );\n }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n if (this.selectRowService) {\n this._subscription = this.selectRowService.selectedRows$\n .pipe(\n startWith(this.selectRowService.selectedRows),\n map((rows) => rows.length !== 0),\n tap((hasSelected) => {\n if (hasSelected) {\n this.setButtonEnabled();\n } else {\n this.setButtonDisabled();\n }\n this.cdr.detectChanges();\n })\n )\n .subscribe();\n } else {\n this.setButtonDisabled();\n }\n }\n\n protected getElementList(): Data[] {\n return this.selectRowService?.selectedRows ?? [];\n }\n\n @Input('rxapTableRowHeaderAction')\n @Required\n public type!: string;\n}\n"]}
@@ -78,13 +78,13 @@ export class RowControlsCellComponent {
78
78
  });
79
79
  }
80
80
  }
81
- RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponent, deps: [{ token: i1.TableDataSourceDirective }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }, { token: ROW_EDIT_METHOD, optional: true }, { token: ROW_VIEW_METHOD, optional: true }, { token: ROW_LINK_METHOD, optional: true }, { token: ROW_EDIT_LOADER_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
82
- RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i7.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
+ RowControlsCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponent, deps: [{ token: i1.TableDataSourceDirective }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }, { token: ROW_EDIT_METHOD, optional: true }, { token: ROW_VIEW_METHOD, optional: true }, { token: ROW_LINK_METHOD, optional: true }, { token: ROW_EDIT_LOADER_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
82
+ RowControlsCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RowControlsCellComponent, selector: "td[mfd-row-controls-cell]", inputs: { element: "element" }, host: { classAttribute: "mfd-row-controls-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"L\u00F6schen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i7.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
83
83
  __decorate([
84
84
  Required,
85
85
  __metadata("design:type", Object)
86
86
  ], RowControlsCellComponent.prototype, "element", void 0);
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponent, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponent, decorators: [{
88
88
  type: Component,
89
89
  args: [{
90
90
  selector: 'td[mfd-row-controls-cell]',
@@ -1 +1 @@
1
- {"version":3,"file":"row-controls-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,MAAM,EACN,KAAK,EACL,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EACL,YAAY,EAEb,MAAM,MAAM,CAAC;;;;;;;;;;AAUd,MAAM,OAAO,wBAAwB;IAMnC,YACmB,eAA+C,EAGhD,qBAA2E,IAAI,EAG/E,sBAA2E,IAAI,EAG/E,wBAA2E,IAAI,EAG/E,mBAA2E,IAAI,EAG/E,gBAA2E,IAAI,EAG/E,gBAA2E,IAAI,EAG/E,mBAA2E,IAAI;QArB9E,oBAAe,GAAf,eAAe,CAAgC;QAGhD,uBAAkB,GAAlB,kBAAkB,CAA6D;QAG/E,wBAAmB,GAAnB,mBAAmB,CAA4D;QAG/E,0BAAqB,GAArB,qBAAqB,CAA0D;QAG/E,qBAAgB,GAAhB,gBAAgB,CAA+D;QAG/E,kBAAa,GAAb,aAAa,CAAkE;QAG/E,kBAAa,GAAb,aAAa,CAAkE;QAG/E,qBAAgB,GAAhB,gBAAgB,CAA+D;IAC9F,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core';\nimport { Required } from '@rxap/utilities';\nimport {\n ROW_ARCHIVE_METHOD,\n ROW_DELETE_METHOD,\n ROW_EDIT_LOADER_METHOD,\n ROW_EDIT_METHOD,\n ROW_LINK_METHOD,\n ROW_RESTORE_METHOD,\n ROW_VIEW_METHOD\n} from '../tokens';\nimport { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';\nimport { TableDataSourceDirective } from '../../table-data-source.directive';\nimport {\n isObservable,\n Observable\n} from 'rxjs';\nimport { Method } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'td[mfd-row-controls-cell]',\n templateUrl: './row-controls-cell.component.html',\n styleUrls: [ './row-controls-cell.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-row-controls-cell' }\n})\nexport class RowControlsCellComponent<Data extends Record<string, any> & { uuid: string }> {\n\n @Input()\n @Required\n public element!: Data;\n\n constructor(\n private readonly tableDataSource: TableDataSourceDirective<Data>,\n @Optional()\n @Inject(ROW_DELETE_METHOD)\n public readonly deleteRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_ARCHIVE_METHOD)\n public readonly archiveRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_RESTORE_METHOD)\n public readonly unarchiveRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_EDIT_METHOD)\n public readonly editRemoteMethod: Method<any, Data | Observable<Data>> | null = null,\n @Optional()\n @Inject(ROW_VIEW_METHOD)\n public readonly rowViewMethod: Method<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_LINK_METHOD)\n public readonly rowLinkMethod: Method<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_EDIT_LOADER_METHOD)\n public readonly editLoaderMethod: Method<any, Data> | null = null\n ) {}\n\n public async archive() {\n if (this.archiveRemoteMethod) {\n await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async unarchive() {\n if (this.unarchiveRemoteMethod) {\n await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async remove() {\n if (this.deleteRemoteMethod) {\n await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async view() {\n if (this.rowViewMethod) {\n await this.rowViewMethod.call(this.element);\n }\n }\n\n public async link() {\n if (this.rowLinkMethod) {\n await this.rowLinkMethod.call(this.element);\n }\n }\n\n public async edit() {\n if (this.editRemoteMethod) {\n let initial = this.element;\n if (this.editLoaderMethod) {\n initial = await this.editLoaderMethod.call(initial);\n }\n const result = await this.editRemoteMethod.call(initial, { context: this.element });\n if (isObservable(result)) {\n await result.toPromise();\n }\n this.tableDataSource.refresh();\n }\n }\n}\n","<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"Löschen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n"]}
1
+ {"version":3,"file":"row-controls-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,MAAM,EACN,KAAK,EACL,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EAChB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EACL,YAAY,EAEb,MAAM,MAAM,CAAC;;;;;;;;;;AAUd,MAAM,OAAO,wBAAwB;IAMnC,YACmB,eAA+C,EAGhD,qBAA2E,IAAI,EAG/E,sBAA2E,IAAI,EAG/E,wBAA2E,IAAI,EAG/E,mBAA2E,IAAI,EAG/E,gBAA2E,IAAI,EAG/E,gBAA2E,IAAI,EAG/E,mBAA2E,IAAI;QArB9E,oBAAe,GAAf,eAAe,CAAgC;QAGhD,uBAAkB,GAAlB,kBAAkB,CAA6D;QAG/E,wBAAmB,GAAnB,mBAAmB,CAA4D;QAG/E,0BAAqB,GAArB,qBAAqB,CAA0D;QAG/E,qBAAgB,GAAhB,gB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;;0BACR,MAAM;2BAAC,sBAAsB;4CAvBzB,OAAO;sBAFb,KAAK","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Input,\n Optional\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport {\n ROW_ARCHIVE_METHOD,\n ROW_DELETE_METHOD,\n ROW_EDIT_LOADER_METHOD,\n ROW_EDIT_METHOD,\n ROW_LINK_METHOD,\n ROW_RESTORE_METHOD,\n ROW_VIEW_METHOD\n} from '../tokens';\nimport { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';\nimport { TableDataSourceDirective } from '../../table-data-source.directive';\nimport {\n isObservable,\n Observable\n} from 'rxjs';\nimport { Method } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'td[mfd-row-controls-cell]',\n templateUrl: './row-controls-cell.component.html',\n styleUrls: [ './row-controls-cell.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-row-controls-cell' }\n})\nexport class RowControlsCellComponent<Data extends Record<string, any> & { uuid: string }> {\n\n @Input()\n @Required\n public element!: Data;\n\n constructor(\n private readonly tableDataSource: TableDataSourceDirective<Data>,\n @Optional()\n @Inject(ROW_DELETE_METHOD)\n public readonly deleteRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_ARCHIVE_METHOD)\n public readonly archiveRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_RESTORE_METHOD)\n public readonly unarchiveRemoteMethod: OpenApiRemoteMethod<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_EDIT_METHOD)\n public readonly editRemoteMethod: Method<any, Data | Observable<Data>> | null = null,\n @Optional()\n @Inject(ROW_VIEW_METHOD)\n public readonly rowViewMethod: Method<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_LINK_METHOD)\n public readonly rowLinkMethod: Method<any, { uuid: string }> | null = null,\n @Optional()\n @Inject(ROW_EDIT_LOADER_METHOD)\n public readonly editLoaderMethod: Method<any, Data> | null = null\n ) {}\n\n public async archive() {\n if (this.archiveRemoteMethod) {\n await this.archiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async unarchive() {\n if (this.unarchiveRemoteMethod) {\n await this.unarchiveRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async remove() {\n if (this.deleteRemoteMethod) {\n await this.deleteRemoteMethod.call({ parameters: { uuid: this.element.uuid } });\n this.tableDataSource.refresh();\n }\n }\n\n public async view() {\n if (this.rowViewMethod) {\n await this.rowViewMethod.call(this.element);\n }\n }\n\n public async link() {\n if (this.rowLinkMethod) {\n await this.rowLinkMethod.call(this.element);\n }\n }\n\n public async edit() {\n if (this.editRemoteMethod) {\n let initial = this.element;\n if (this.editLoaderMethod) {\n initial = await this.editLoaderMethod.call(initial);\n }\n const result = await this.editRemoteMethod.call(initial, { context: this.element });\n if (isObservable(result)) {\n await result.toPromise();\n }\n this.tableDataSource.refresh();\n }\n }\n}\n","<div fxLayout=\"row\">\n\n <!-- archive -->\n <button (confirmed)=\"archive()\" *ngIf=\"!element.__archived && archiveRemoteMethod\" mat-icon-button matTooltip=\"Archivieren\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button (confirmed)=\"unarchive()\" *ngIf=\"element.__archived && unarchiveRemoteMethod\" mat-icon-button matTooltip=\"Wiederherstellen\" rxapConfirm type=\"button\"\n fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button *ngIf=\"(element.__archived && deleteRemoteMethod) || (deleteRemoteMethod && !unarchiveRemoteMethod && !archiveRemoteMethod)\" matTooltip=\"Löschen\"\n type=\"button\"\n (confirmed)=\"remove()\" mat-icon-button color=\"warn\"\n rxapConfirm fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n <!-- edit -->\n <button (click)=\"edit()\" *ngIf=\"!element.__archived && editRemoteMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Bearbeiten\" type=\"button\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <!-- view -->\n <button (click)=\"view()\" *ngIf=\"rowViewMethod\" fxFlex=\"40px\" mat-icon-button matTooltip=\"Details\" type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n\n <!-- link -->\n <button type=\"button\" *ngIf=\"rowLinkMethod\" (click)=\"link()\" mat-icon-button fxFlex=\"40px\">\n <mat-icon svgIcon=\"database-import\"></mat-icon>\n </button>\n\n</div>\n"]}
@@ -9,14 +9,14 @@ import { MatTooltipModule } from '@angular/material/tooltip';
9
9
  import * as i0 from "@angular/core";
10
10
  export class RowControlsCellComponentModule {
11
11
  }
12
- RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponentModule, declarations: [RowControlsCellComponent], imports: [CommonModule,
12
+ RowControlsCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ RowControlsCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponentModule, declarations: [RowControlsCellComponent], imports: [CommonModule,
14
14
  FlexLayoutModule,
15
15
  MatButtonModule,
16
16
  MatIconModule,
17
17
  ConfirmComponentModule,
18
18
  MatTooltipModule], exports: [RowControlsCellComponent] });
19
- RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponentModule, imports: [[
19
+ RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponentModule, imports: [[
20
20
  CommonModule,
21
21
  FlexLayoutModule,
22
22
  MatButtonModule,
@@ -24,7 +24,7 @@ RowControlsCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "1
24
24
  ConfirmComponentModule,
25
25
  MatTooltipModule
26
26
  ]] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsCellComponentModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  declarations: [RowControlsCellComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"row-controls-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAe7D,MAAM,OAAO,8BAA8B;;2HAA9B,8BAA8B;4HAA9B,8BAA8B,iBAXzB,wBAAwB,aAEtC,YAAY;QACZ,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,gBAAgB,aAEF,wBAAwB;4HAE7B,8BAA8B,YAV3B;YACZ,YAAY;YACZ,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,sBAAsB;YACtB,gBAAgB;SACjB;2FAGU,8BAA8B;kBAZ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,CAAE;oBAC1C,OAAO,EAAO;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,sBAAsB;wBACtB,gBAAgB;qBACjB;oBACD,OAAO,EAAO,CAAE,wBAAwB,CAAE;iBAC3C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsCellComponent } from './row-controls-cell.component';\nimport { CommonModule } from '@angular/common';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n\n@NgModule({\n declarations: [ RowControlsCellComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatButtonModule,\n MatIconModule,\n ConfirmComponentModule,\n MatTooltipModule\n ],\n exports: [ RowControlsCellComponent ]\n})\nexport class RowControlsCellComponentModule {\n}\n"]}
1
+ {"version":3,"file":"row-controls-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAe7D,MAAM,OAAO,8BAA8B;;4HAA9B,8BAA8B;6HAA9B,8BAA8B,iBAXzB,wBAAwB,aAEtC,YAAY;QACZ,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,gBAAgB,aAEF,wBAAwB;6HAE7B,8BAA8B,YAV3B;YACZ,YAAY;YACZ,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,sBAAsB;YACtB,gBAAgB;SACjB;4FAGU,8BAA8B;kBAZ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,CAAE;oBAC1C,OAAO,EAAO;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,sBAAsB;wBACtB,gBAAgB;qBACjB;oBACD,OAAO,EAAO,CAAE,wBAAwB,CAAE;iBAC3C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsCellComponent } from './row-controls-cell.component';\nimport { CommonModule } from '@angular/common';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n\n@NgModule({\n declarations: [ RowControlsCellComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatButtonModule,\n MatIconModule,\n ConfirmComponentModule,\n MatTooltipModule\n ],\n exports: [ RowControlsCellComponent ]\n})\nexport class RowControlsCellComponentModule {\n}\n"]}
@@ -77,9 +77,9 @@ export class RowControlsHeaderCellComponent {
77
77
  });
78
78
  }
79
79
  }
80
- RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponent, deps: [{ token: i1.TableDataSourceDirective }, { token: TableFilterService, optional: true }, { token: SelectRowService, optional: true }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
81
- RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }], pipes: { "async": i5.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
80
+ RowControlsHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponent, deps: [{ token: i1.TableDataSourceDirective }, { token: TableFilterService, optional: true }, { token: SelectRowService, optional: true }, { token: ROW_DELETE_METHOD, optional: true }, { token: ROW_ARCHIVE_METHOD, optional: true }, { token: ROW_RESTORE_METHOD, optional: true }], target: i0.ɵɵFactoryTarget.Component });
81
+ RowControlsHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RowControlsHeaderCellComponent, selector: "th[mfd-row-controls-header-cell]", host: { classAttribute: "mfd-row-controls-header-cell" }, ngImport: i0, template: "<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"L\u00F6schen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7.ConfirmDirective, selector: "[rxapConfirm]", inputs: ["rxapConfirm"], outputs: ["confirmed", "unconfirmed"] }], pipes: { "async": i5.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponent, decorators: [{
83
83
  type: Component,
84
84
  args: [{
85
85
  selector: 'th[mfd-row-controls-header-cell]',
@@ -1 +1 @@
1
- {"version":3,"file":"row-controls-header-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,MAAM,EACN,QAAQ,GACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;;;;;;;;;;;;AAUvE,MAAM,OAAO,8BAA8B;IASzC,YACmB,eAA+C,EAG/C,cAAyC,IAAI,EAG9C,YAA2C,IAAI,EAG9C,qBAGN,IAAI,EAGE,sBAGN,IAAI,EAGE,wBAGN,IAAI;;QAxBE,oBAAe,GAAf,eAAe,CAAgC;QAG/C,gBAAW,GAAX,WAAW,CAAkC;QAG9C,cAAS,GAAT,SAAS,CAAsC;QAG9C,uBAAkB,GAAlB,kBAAkB,CAGpB;QAGE,wBAAmB,GAAnB,mBAAmB,CAGrB;QAGE,0BAAqB,GAArB,qBAAqB,CAGvB;QAEf,IAAI,CAAC,SAAS;YACZ,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,aAAa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AgB;;0BAEvB,QAAQ;;0BACR,MAAM;2BAAC,iBAAiB;;0BAKxB,QAAQ;;0BACR,MAAM;2BAAC,kBAAkB;;0BAKzB,QAAQ;;0BACR,MAAM;2BAAC,kBAAkB","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Optional,\n} from '@angular/core';\nimport { TableFilterService } from '../../table-filter/table-filter.service';\nimport type { Observable } from 'rxjs';\nimport { of } from 'rxjs';\nimport { distinctUntilChanged, map, startWith } from 'rxjs/operators';\nimport {\n ROW_ARCHIVE_METHOD,\n ROW_DELETE_METHOD,\n ROW_RESTORE_METHOD,\n} from '../tokens';\nimport { TableDataSourceDirective } from '../../table-data-source.directive';\nimport { SelectRowService } from '../../select-row/select-row.service';\nimport { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';\n\n@Component({\n selector: 'th[mfd-row-controls-header-cell]',\n templateUrl: './row-controls-header-cell.component.html',\n styleUrls: ['./row-controls-header-cell.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-row-controls-header-cell' },\n})\nexport class RowControlsHeaderCellComponent<Data extends Record<string, any>> {\n public showArchive$: Observable<boolean>;\n\n public showUnarchive$: Observable<boolean>;\n\n public showDelete$: Observable<boolean>;\n\n public disabled$: Observable<boolean>;\n\n constructor(\n private readonly tableDataSource: TableDataSourceDirective<Data>,\n @Optional()\n @Inject(TableFilterService)\n private readonly tableFilter: TableFilterService | null = null,\n @Optional()\n @Inject(SelectRowService)\n public readonly selectRow: SelectRowService<Data> | null = null,\n @Optional()\n @Inject(ROW_DELETE_METHOD)\n private readonly deleteRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null,\n @Optional()\n @Inject(ROW_ARCHIVE_METHOD)\n private readonly archiveRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null,\n @Optional()\n @Inject(ROW_RESTORE_METHOD)\n private readonly unarchiveRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null\n ) {\n this.disabled$ =\n this.selectRow?.selectedRows$.pipe(\n map((selectedRows) => selectedRows.length === 0),\n startWith(true)\n ) ?? of(true);\n this.showUnarchive$ = this.showDelete$ =\n this.tableFilter?.change.pipe(\n map(\n (filter) =>\n filter &&\n filter.hasOwnProperty('__archived') &&\n filter['__archived'] === true\n ),\n distinctUntilChanged()\n ) ?? of(false);\n this.showArchive$ =\n this.tableFilter?.change.pipe(\n map(\n (filter) =>\n !filter ||\n !filter.hasOwnProperty('__archived') ||\n filter['__archived'] === false\n ),\n distinctUntilChanged()\n ) ?? of(true);\n }\n\n public async archiveSelected(selectedRows: Data[] | undefined) {\n if (this.archiveRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.archiveRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n\n public async unarchiveSelected(selectedRows: Data[] | undefined) {\n if (this.unarchiveRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.unarchiveRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n\n public async deleteSelected(selectedRows: Data[] | undefined) {\n if (this.deleteRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.deleteRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n}\n","<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Löschen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n"]}
1
+ {"version":3,"file":"row-controls-header-cell.component.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.ts","../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,MAAM,EACN,QAAQ,GACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;;;;;;;;;;;;AAUvE,MAAM,OAAO,8BAA8B;IASzC,YACmB,eAA+C,EAG/C,cAAyC,IAAI,EAG9C,YAA2C,IAAI,EAG9C,qBAGN,IAAI,EAGE,sBAGN,IAAI,EAGE,wBAGN,IAAI;;QAxBE,oBAAe,GAAf,eAAe,CAAgC;QAG/C,gBAAW,GAAX,WAAW,CAA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D,SAAS,EAAE,CAAC,2CAA2C,CAAC;oBACxD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE;iBAChD;;0BAYI,QAAQ;;0BACR,MAAM;2BAAC,kBAAkB;;0BAEzB,QAAQ;;0BACR,MAAM;2BAAC,gBAAgB;;0BAEvB,QAAQ;;0BACR,MAAM;2BAAC,iBAAiB;;0BAKxB,QAAQ;;0BACR,MAAM;2BAAC,kBAAkB;;0BAKzB,QAAQ;;0BACR,MAAM;2BAAC,kBAAkB","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Optional,\n} from '@angular/core';\nimport { TableFilterService } from '../../table-filter/table-filter.service';\nimport type { Observable } from 'rxjs';\nimport { of } from 'rxjs';\nimport { distinctUntilChanged, map, startWith } from 'rxjs/operators';\nimport {\n ROW_ARCHIVE_METHOD,\n ROW_DELETE_METHOD,\n ROW_RESTORE_METHOD,\n} from '../tokens';\nimport { TableDataSourceDirective } from '../../table-data-source.directive';\nimport { SelectRowService } from '../../select-row/select-row.service';\nimport { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';\n\n@Component({\n selector: 'th[mfd-row-controls-header-cell]',\n templateUrl: './row-controls-header-cell.component.html',\n styleUrls: ['./row-controls-header-cell.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-row-controls-header-cell' },\n})\nexport class RowControlsHeaderCellComponent<Data extends Record<string, any>> {\n public showArchive$: Observable<boolean>;\n\n public showUnarchive$: Observable<boolean>;\n\n public showDelete$: Observable<boolean>;\n\n public disabled$: Observable<boolean>;\n\n constructor(\n private readonly tableDataSource: TableDataSourceDirective<Data>,\n @Optional()\n @Inject(TableFilterService)\n private readonly tableFilter: TableFilterService | null = null,\n @Optional()\n @Inject(SelectRowService)\n public readonly selectRow: SelectRowService<Data> | null = null,\n @Optional()\n @Inject(ROW_DELETE_METHOD)\n private readonly deleteRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null,\n @Optional()\n @Inject(ROW_ARCHIVE_METHOD)\n private readonly archiveRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null,\n @Optional()\n @Inject(ROW_RESTORE_METHOD)\n private readonly unarchiveRemoteMethod: OpenApiRemoteMethod<\n any,\n { uuid: string }\n > | null = null\n ) {\n this.disabled$ =\n this.selectRow?.selectedRows$.pipe(\n map((selectedRows) => selectedRows.length === 0),\n startWith(true)\n ) ?? of(true);\n this.showUnarchive$ = this.showDelete$ =\n this.tableFilter?.change.pipe(\n map(\n (filter) =>\n filter &&\n filter.hasOwnProperty('__archived') &&\n filter['__archived'] === true\n ),\n distinctUntilChanged()\n ) ?? of(false);\n this.showArchive$ =\n this.tableFilter?.change.pipe(\n map(\n (filter) =>\n !filter ||\n !filter.hasOwnProperty('__archived') ||\n filter['__archived'] === false\n ),\n distinctUntilChanged()\n ) ?? of(true);\n }\n\n public async archiveSelected(selectedRows: Data[] | undefined) {\n if (this.archiveRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.archiveRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n\n public async unarchiveSelected(selectedRows: Data[] | undefined) {\n if (this.unarchiveRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.unarchiveRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n\n public async deleteSelected(selectedRows: Data[] | undefined) {\n if (this.deleteRemoteMethod && selectedRows) {\n await Promise.all(\n selectedRows.map((selectedRow) =>\n this.deleteRemoteMethod?.call({\n parameters: { uuid: selectedRow.uuid },\n })\n )\n );\n this.tableDataSource.refresh();\n }\n }\n}\n","<div fxLayout=\"row\">\n\n <!-- archive -->\n <button *ngIf=\"selectRow && (showArchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Archivieren\" type=\"button\"\n (confirmed)=\"archiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>archive</mat-icon>\n </button>\n\n <!-- unarchive -->\n <button *ngIf=\"selectRow && (showUnarchive$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Wiederherstellen\" type=\"button\"\n (confirmed)=\"unarchiveSelected($event)\" mat-icon-button\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>unarchive</mat-icon>\n </button>\n\n <!-- delete -->\n <button (confirmed)=\"deleteSelected($event)\" *ngIf=\"selectRow && (showDelete$ | async)\" [disabled]=\"disabled$ | async\" matTooltip=\"Löschen\" type=\"button\"\n mat-icon-button color=\"warn\"\n [rxapConfirm]=\"selectRow.selectedRows\" fxFlex=\"40px\">\n <mat-icon>delete</mat-icon>\n </button>\n\n</div>\n"]}
@@ -9,14 +9,14 @@ import { MatTooltipModule } from '@angular/material/tooltip';
9
9
  import * as i0 from "@angular/core";
10
10
  export class RowControlsHeaderCellComponentModule {
11
11
  }
12
- RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponentModule, declarations: [RowControlsHeaderCellComponent], imports: [FlexLayoutModule,
12
+ RowControlsHeaderCellComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ RowControlsHeaderCellComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponentModule, declarations: [RowControlsHeaderCellComponent], imports: [FlexLayoutModule,
14
14
  MatButtonModule,
15
15
  MatIconModule,
16
16
  ConfirmComponentModule,
17
17
  CommonModule,
18
18
  MatTooltipModule], exports: [RowControlsHeaderCellComponent] });
19
- RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponentModule, imports: [[
19
+ RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponentModule, imports: [[
20
20
  FlexLayoutModule,
21
21
  MatButtonModule,
22
22
  MatIconModule,
@@ -24,7 +24,7 @@ RowControlsHeaderCellComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersi
24
24
  CommonModule,
25
25
  MatTooltipModule,
26
26
  ]] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RowControlsHeaderCellComponentModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  declarations: [RowControlsHeaderCellComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"row-controls-header-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAc7D,MAAM,OAAO,oCAAoC;;iIAApC,oCAAoC;kIAApC,oCAAoC,iBAXhC,8BAA8B,aAE3C,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,YAAY;QACZ,gBAAgB,aAER,8BAA8B;kIAE7B,oCAAoC,YAVtC;YACP,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,sBAAsB;YACtB,YAAY;YACZ,gBAAgB;SACjB;2FAGU,oCAAoC;kBAZhD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE;wBACP,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,sBAAsB;wBACtB,YAAY;wBACZ,gBAAgB;qBACjB;oBACD,OAAO,EAAE,CAAC,8BAA8B,CAAC;iBAC1C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsHeaderCellComponent } from './row-controls-header-cell.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { CommonModule } from '@angular/common';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n@NgModule({\n declarations: [RowControlsHeaderCellComponent],\n imports: [\n FlexLayoutModule,\n MatButtonModule,\n MatIconModule,\n ConfirmComponentModule,\n CommonModule,\n MatTooltipModule,\n ],\n exports: [RowControlsHeaderCellComponent],\n})\nexport class RowControlsHeaderCellComponentModule {}\n"]}
1
+ {"version":3,"file":"row-controls-header-cell.component.module.js","sourceRoot":"","sources":["../../../../../../../../libs/material/table-system/src/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAc7D,MAAM,OAAO,oCAAoC;;kIAApC,oCAAoC;mIAApC,oCAAoC,iBAXhC,8BAA8B,aAE3C,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,sBAAsB;QACtB,YAAY;QACZ,gBAAgB,aAER,8BAA8B;mIAE7B,oCAAoC,YAVtC;YACP,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,sBAAsB;YACtB,YAAY;YACZ,gBAAgB;SACjB;4FAGU,oCAAoC;kBAZhD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE;wBACP,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,sBAAsB;wBACtB,YAAY;wBACZ,gBAAgB;qBACjB;oBACD,OAAO,EAAE,CAAC,8BAA8B,CAAC;iBAC1C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsHeaderCellComponent } from './row-controls-header-cell.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ConfirmComponentModule } from '@rxap/components';\nimport { CommonModule } from '@angular/common';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n@NgModule({\n declarations: [RowControlsHeaderCellComponent],\n imports: [\n FlexLayoutModule,\n MatButtonModule,\n MatIconModule,\n ConfirmComponentModule,\n CommonModule,\n MatTooltipModule,\n ],\n exports: [RowControlsHeaderCellComponent],\n})\nexport class RowControlsHeaderCellComponentModule {}\n"]}
@@ -4,12 +4,12 @@ import { RowControlsHeaderCellComponentModule } from './row-controls-header-cell
4
4
  import * as i0 from "@angular/core";
5
5
  export class TableRowControlsModule {
6
6
  }
7
- TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
7
+ TableRowControlsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowControlsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ TableRowControlsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowControlsModule, exports: [RowControlsCellComponentModule,
9
9
  RowControlsHeaderCellComponentModule] });
10
- TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
10
+ TableRowControlsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowControlsModule, imports: [RowControlsCellComponentModule,
11
11
  RowControlsHeaderCellComponentModule] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableRowControlsModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableRowControlsModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  exports: [
@@ -1 +1 @@
1
- {"version":3,"file":"table-row-controls.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-controls/table-row-controls.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EAAE,oCAAoC,EAAE,MAAM,sEAAsE,CAAC;;AAS5H,MAAM,OAAO,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,YAJ/B,8BAA8B;QAC9B,oCAAoC;oHAG3B,sBAAsB,YAJ/B,8BAA8B;QAC9B,oCAAoC;2FAG3B,sBAAsB;kBANlC,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,8BAA8B;wBAC9B,oCAAoC;qBACrC;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsCellComponentModule } from './row-controls-cell/row-controls-cell.component.module';\nimport { RowControlsHeaderCellComponentModule } from './row-controls-header-cell/row-controls-header-cell.component.module';\n\n\n@NgModule({\n exports: [\n RowControlsCellComponentModule,\n RowControlsHeaderCellComponentModule\n ]\n})\nexport class TableRowControlsModule {\n}\n"]}
1
+ {"version":3,"file":"table-row-controls.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-row-controls/table-row-controls.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EAAE,oCAAoC,EAAE,MAAM,sEAAsE,CAAC;;AAS5H,MAAM,OAAO,sBAAsB;;oHAAtB,sBAAsB;qHAAtB,sBAAsB,YAJ/B,8BAA8B;QAC9B,oCAAoC;qHAG3B,sBAAsB,YAJ/B,8BAA8B;QAC9B,oCAAoC;4FAG3B,sBAAsB;kBANlC,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,8BAA8B;wBAC9B,oCAAoC;qBACrC;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { RowControlsCellComponentModule } from './row-controls-cell/row-controls-cell.component.module';\nimport { RowControlsHeaderCellComponentModule } from './row-controls-header-cell/row-controls-header-cell.component.module';\n\n\n@NgModule({\n exports: [\n RowControlsCellComponentModule,\n RowControlsHeaderCellComponentModule\n ]\n})\nexport class TableRowControlsModule {\n}\n"]}
@@ -20,9 +20,9 @@ export class TableSelectControlsComponent {
20
20
  this.windowRef.close(this.selectRows.selectedRows);
21
21
  }
22
22
  }
23
- TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: i1.SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component });
24
- TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\"\n i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
23
+ TableSelectControlsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponent, deps: [{ token: i1.SelectRowService }, { token: RXAP_WINDOW_REF }], target: i0.ɵɵFactoryTarget.Component });
24
+ TableSelectControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TableSelectControlsComponent, selector: "mfd-table-select-controls", host: { classAttribute: "mfd-table-select-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\"\n i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n", styles: [""], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{
28
28
  // TODO : rn selector
@@ -1 +1 @@
1
- {"version":3,"file":"table-select-controls.component.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.ts","../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;;;;;AAUpE,MAAM,OAAO,4BAA4B;IAGvC,YACmB,UAAiC,EAEjC,SAAoB;QAFpB,eAAU,GAAV,UAAU,CAAuB;QAEjC,cAAS,GAAT,SAAS,CAAW;QAErC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CACvD,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CACzC,CAAC;IACJ,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IACrD,CAAC;;yHAnBU,4BAA4B,kDAK7B,eAAe;6GALd,4BAA4B,wHCfzC,2cAQA;2FDOa,4BAA4B;kBARxC,SAAS;mBAAC;oBACT,qBAAqB;oBACrB,QAAQ,EAAE,2BAA2B;oBACrC,WAAW,EAAE,wCAAwC;oBACrD,SAAS,EAAE,CAAC,wCAAwC,CAAC;oBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE;iBAC7C;;0BAMI,MAAM;2BAAC,eAAe","sourcesContent":["import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';\nimport type { WindowRef } from '@rxap/window-system';\nimport { RXAP_WINDOW_REF } from '@rxap/window-system';\nimport type { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { SelectRowService } from '../select-row/select-row.service';\n\n@Component({\n // TODO : rn selector\n selector: 'mfd-table-select-controls',\n templateUrl: './table-select-controls.component.html',\n styleUrls: ['./table-select-controls.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-table-select-controls' },\n})\nexport class TableSelectControlsComponent {\n public hasNotSelected$: Observable<boolean>;\n\n constructor(\n private readonly selectRows: SelectRowService<any>,\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef\n ) {\n this.hasNotSelected$ = this.selectRows.selectedRows$.pipe(\n map((selected) => selected.length === 0)\n );\n }\n\n public cancel() {\n this.windowRef.close();\n }\n\n public select() {\n this.windowRef.close(this.selectRows.selectedRows);\n }\n}\n","<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\"\n i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n"]}
1
+ {"version":3,"file":"table-select-controls.component.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.ts","../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;;;;;AAUpE,MAAM,OAAO,4BAA4B;IAGvC,YACmB,UAAiC,EAEjC,SAAoB;QAFpB,eAAU,GAAV,UAAU,CAAuB;QAEjC,cAAS,GAAT,SAAS,CAAW;QAErC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CACvD,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CACzC,CAAC;IACJ,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IACrD,CAAC;;0HAnBU,4BAA4B,kDAK7B,eAAe;8GALd,4BAA4B,wHCfzC,2cAQA;4FDOa,4BAA4B;kBARxC,SAAS;mBAAC;oBACT,qBAAqB;oBACrB,QAAQ,EAAE,2BAA2B;oBACrC,WAAW,EAAE,wCAAwC;oBACrD,SAAS,EAAE,CAAC,wCAAwC,CAAC;oBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,2BAA2B,EAAE;iBAC7C;;0BAMI,MAAM;2BAAC,eAAe","sourcesContent":["import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';\nimport type { WindowRef } from '@rxap/window-system';\nimport { RXAP_WINDOW_REF } from '@rxap/window-system';\nimport type { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { SelectRowService } from '../select-row/select-row.service';\n\n@Component({\n // TODO : rn selector\n selector: 'mfd-table-select-controls',\n templateUrl: './table-select-controls.component.html',\n styleUrls: ['./table-select-controls.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'mfd-table-select-controls' },\n})\nexport class TableSelectControlsComponent {\n public hasNotSelected$: Observable<boolean>;\n\n constructor(\n private readonly selectRows: SelectRowService<any>,\n @Inject(RXAP_WINDOW_REF)\n private readonly windowRef: WindowRef\n ) {\n this.hasNotSelected$ = this.selectRows.selectedRows$.pipe(\n map((selected) => selected.length === 0)\n );\n }\n\n public cancel() {\n this.windowRef.close();\n }\n\n public select() {\n this.windowRef.close(this.selectRows.selectedRows);\n }\n}\n","<div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <button fxFlex=\"nogrow\" mat-stroked-button (click)=\"cancel()\" type=\"button\"\n i18n=\"@@rxap-material.table-system.table-select-controls.cancel\">Cancel\n </button>\n <button fxFlex=\"nogrow\" mat-raised-button (click)=\"select()\" type=\"button\" [disabled]=\"hasNotSelected$ | async\"\n i18n=\"@@rxap-material.table-system.table-select-controls.select\">Select\n </button>\n</div>\n"]}
@@ -6,16 +6,16 @@ import { CommonModule } from '@angular/common';
6
6
  import * as i0 from "@angular/core";
7
7
  export class TableSelectControlsComponentModule {
8
8
  }
9
- TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponentModule, declarations: [TableSelectControlsComponent], imports: [MatButtonModule,
9
+ TableSelectControlsComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ TableSelectControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponentModule, declarations: [TableSelectControlsComponent], imports: [MatButtonModule,
11
11
  FlexLayoutModule,
12
12
  CommonModule], exports: [TableSelectControlsComponent] });
13
- TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponentModule, imports: [[
13
+ TableSelectControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponentModule, imports: [[
14
14
  MatButtonModule,
15
15
  FlexLayoutModule,
16
16
  CommonModule
17
17
  ]] });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TableSelectControlsComponentModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [TableSelectControlsComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"table-select-controls.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAY/C,MAAM,OAAO,kCAAkC;;+HAAlC,kCAAkC;gIAAlC,kCAAkC,iBAR7B,4BAA4B,aAE1C,eAAe;QACf,gBAAgB;QAChB,YAAY,aAEE,4BAA4B;gIAEjC,kCAAkC,YAP/B;YACZ,eAAe;YACf,gBAAgB;YAChB,YAAY;SACb;2FAGU,kCAAkC;kBAT9C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,4BAA4B,CAAE;oBAC9C,OAAO,EAAO;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,YAAY;qBACb;oBACD,OAAO,EAAO,CAAE,4BAA4B,CAAE;iBAC/C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { TableSelectControlsComponent } from './table-select-controls.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [ TableSelectControlsComponent ],\n imports: [\n MatButtonModule,\n FlexLayoutModule,\n CommonModule\n ],\n exports: [ TableSelectControlsComponent ]\n})\nexport class TableSelectControlsComponentModule {\n}\n"]}
1
+ {"version":3,"file":"table-select-controls.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/material/table-system/src/lib/table-select-controls/table-select-controls.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAY/C,MAAM,OAAO,kCAAkC;;gIAAlC,kCAAkC;iIAAlC,kCAAkC,iBAR7B,4BAA4B,aAE1C,eAAe;QACf,gBAAgB;QAChB,YAAY,aAEE,4BAA4B;iIAEjC,kCAAkC,YAP/B;YACZ,eAAe;YACf,gBAAgB;YAChB,YAAY;SACb;4FAGU,kCAAkC;kBAT9C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,4BAA4B,CAAE;oBAC9C,OAAO,EAAO;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,YAAY;qBACb;oBACD,OAAO,EAAO,CAAE,4BAA4B,CAAE;iBAC/C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { TableSelectControlsComponent } from './table-select-controls.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [ TableSelectControlsComponent ],\n imports: [\n MatButtonModule,\n FlexLayoutModule,\n CommonModule\n ],\n exports: [ TableSelectControlsComponent ]\n})\nexport class TableSelectControlsComponentModule {\n}\n"]}