@paperless/angular 2.18.2 → 2.18.4

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.
@@ -3023,7 +3023,7 @@ class TableCell {
3023
3023
  /**
3024
3024
  * The variant of the column
3025
3025
  */
3026
- this.variant = 'default';
3026
+ this.variant = "default";
3027
3027
  /**
3028
3028
  * The index of the column
3029
3029
  */
@@ -3044,21 +3044,25 @@ class TableCell {
3044
3044
  }
3045
3045
  get class() {
3046
3046
  return cn(getTableCellColumnClasses(this.definition, this.variant, this.checkboxOffset), {
3047
- 'sticky left-4 z-[2]': !!this.definition?.sticky,
3048
- 'bg-gradient-to-r from-white to-transparent dark:from-hurricane-700 from-80%': this.definition?.sticky && this.definition?.sticky !== 'footer',
3049
- 'bg-gradient-to-r from-off-white-300 to-transparent dark:from-hurricane-400 from-80%': this.definition?.sticky && this.definition?.sticky === 'footer',
3050
- 'flex-shrink': !this.scrollable,
3051
- 'flex-shrink-0': this.scrollable,
3047
+ "sticky left-4 z-[2]": !!this.definition?.sticky,
3048
+ "bg-gradient-to-r from-white to-transparent dark:from-hurricane-700 from-80%": this.definition?.sticky &&
3049
+ this.definition?.sticky !== "footer" &&
3050
+ this.definition?.sticky !== "extra-header",
3051
+ "bg-gradient-to-r from-off-white-300 to-transparent dark:from-hurricane-400 from-80%": this.definition?.sticky &&
3052
+ (this.definition?.sticky === "footer" ||
3053
+ this.definition?.sticky === "extra-header"),
3054
+ "flex-shrink": !this.scrollable,
3055
+ "flex-shrink-0": this.scrollable,
3052
3056
  });
3053
3057
  }
3054
3058
  get data() {
3055
- if (this.variant === 'header' || this.variant === 'header-secondary') {
3059
+ if (this.variant === "header" || this.variant === "header-secondary") {
3056
3060
  return {
3057
3061
  value: this.value,
3058
3062
  };
3059
3063
  }
3060
3064
  return {
3061
- value: this.value ?? this.definition?.path
3065
+ value: (this.value ?? this.definition?.path)
3062
3066
  ? objectGetByPath(this.item, this.definition.path)
3063
3067
  : null,
3064
3068
  item: this.item,
@@ -3071,7 +3075,7 @@ TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2
3071
3075
  TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", checkboxOffset: "checkboxOffset", template: "template", scrollable: "scrollable" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngIf=\"variant === 'header' || variant === 'header-secondary'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\t'text-start':\n\t\t\t\t\tdefinition?.align === undefined || definition.align === 'start',\n\t\t\t\t'text-center': definition.align === 'center',\n\t\t\t\t'text-end': definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\tflex: definition?.flex,\n\t\t\t\t'flex-1': definition?.flex,\n\t\t\t\t'justify-start':\n\t\t\t\t\tdefinition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'justify-end': definition?.flex && definition.align === 'end',\n\t\t\t\t'justify-center': definition?.flex && definition.align === 'end',\n\t\t\t\t'text-start':\n\t\t\t\t\t!definition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'text-center': !definition?.flex && definition.align === 'center',\n\t\t\t\t'text-end': !definition?.flex && definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t<ng-container *ngIf=\"data.value\">\n\t\t{{ data.value }}\n\t</ng-container>\n\n\t<ng-content *ngIf=\"!data.value\"></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
3072
3076
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
3073
3077
  type: Component,
3074
- args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngIf=\"variant === 'header' || variant === 'header-secondary'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\t'text-start':\n\t\t\t\t\tdefinition?.align === undefined || definition.align === 'start',\n\t\t\t\t'text-center': definition.align === 'center',\n\t\t\t\t'text-end': definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\tflex: definition?.flex,\n\t\t\t\t'flex-1': definition?.flex,\n\t\t\t\t'justify-start':\n\t\t\t\t\tdefinition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'justify-end': definition?.flex && definition.align === 'end',\n\t\t\t\t'justify-center': definition?.flex && definition.align === 'end',\n\t\t\t\t'text-start':\n\t\t\t\t\t!definition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'text-center': !definition?.flex && definition.align === 'center',\n\t\t\t\t'text-end': !definition?.flex && definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t<ng-container *ngIf=\"data.value\">\n\t\t{{ data.value }}\n\t</ng-container>\n\n\t<ng-content *ngIf=\"!data.value\"></ng-content>\n</ng-template>\n" }]
3078
+ args: [{ selector: "p-table-cell-ngx", template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngIf=\"variant === 'header' || variant === 'header-secondary'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\t'text-start':\n\t\t\t\t\tdefinition?.align === undefined || definition.align === 'start',\n\t\t\t\t'text-center': definition.align === 'center',\n\t\t\t\t'text-end': definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\t[class]=\"\n\t\t\tcn('overflow-hidden text-ellipsis', {\n\t\t\t\tflex: definition?.flex,\n\t\t\t\t'flex-1': definition?.flex,\n\t\t\t\t'justify-start':\n\t\t\t\t\tdefinition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'justify-end': definition?.flex && definition.align === 'end',\n\t\t\t\t'justify-center': definition?.flex && definition.align === 'end',\n\t\t\t\t'text-start':\n\t\t\t\t\t!definition?.flex &&\n\t\t\t\t\t(definition?.align === undefined || definition.align === 'start'),\n\t\t\t\t'text-center': !definition?.flex && definition.align === 'center',\n\t\t\t\t'text-end': !definition?.flex && definition.align === 'end'\n\t\t\t})\n\t\t\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t<ng-container *ngIf=\"data.value\">\n\t\t{{ data.value }}\n\t</ng-container>\n\n\t<ng-content *ngIf=\"!data.value\"></ng-content>\n</ng-template>\n" }]
3075
3079
  }], propDecorators: { variant: [{
3076
3080
  type: Input
3077
3081
  }], index: [{
@@ -3094,7 +3098,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3094
3098
  type: Input
3095
3099
  }], class: [{
3096
3100
  type: HostBinding,
3097
- args: ['class']
3101
+ args: ["class"]
3098
3102
  }] } });
3099
3103
 
3100
3104
  let TableColumn = class TableColumn {
@@ -3615,7 +3619,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
3615
3619
  let Table = class Table {
3616
3620
  constructor(_cd) {
3617
3621
  this._cd = _cd;
3618
- this.className = 'flex flex-col z-0';
3622
+ this.className = "flex flex-col z-0";
3619
3623
  this.theme = state.theme;
3620
3624
  /**
3621
3625
  * Wether data is loading
@@ -3660,7 +3664,7 @@ let Table = class Table {
3660
3664
  /**
3661
3665
  * The floating menu amount item text
3662
3666
  */
3663
- this.floatingMenuAmountSelectedText = '0 items selected';
3667
+ this.floatingMenuAmountSelectedText = "0 items selected";
3664
3668
  /**
3665
3669
  * Wether the floating menu has been shown atleast once
3666
3670
  */
@@ -3709,7 +3713,7 @@ let Table = class Table {
3709
3713
  /**
3710
3714
  * The action button icon
3711
3715
  */
3712
- this.actionButtonIcon = 'pencil';
3716
+ this.actionButtonIcon = "pencil";
3713
3717
  /**
3714
3718
  * Wether the action button is enabled
3715
3719
  */
@@ -3776,11 +3780,11 @@ let Table = class Table {
3776
3780
  */
3777
3781
  this.hideOnSinglePage = true;
3778
3782
  /* Empty state start */
3779
- this.emptyStateType = 'no_filter';
3780
- this.emptyStateIllustration = 'table';
3781
- this.emptyStateActionIcon = 'plus';
3783
+ this.emptyStateType = "no_filter";
3784
+ this.emptyStateIllustration = "table";
3785
+ this.emptyStateActionIcon = "plus";
3782
3786
  this.enableEmptyStateAction = true;
3783
- this.emptyStateFilteredIllustration = 'search';
3787
+ this.emptyStateFilteredIllustration = "search";
3784
3788
  /**
3785
3789
  * Wether to enable scrolling
3786
3790
  */
@@ -3806,10 +3810,10 @@ let Table = class Table {
3806
3810
  this._ctrlDown = false;
3807
3811
  this.filterModalShow$ = new BehaviorSubject(false);
3808
3812
  this._rowActionsSubscriptions = [];
3809
- this.filterModalHeaderText = 'Filters';
3810
- this.filterModalSaveText = 'Save';
3811
- this.filterModalCancelText = 'Cancel';
3812
- this.filterModalResetText = 'Reset filters';
3813
+ this.filterModalHeaderText = "Filters";
3814
+ this.filterModalSaveText = "Save";
3815
+ this.filterModalCancelText = "Cancel";
3816
+ this.filterModalResetText = "Reset filters";
3813
3817
  this.filterModalShowReset = false;
3814
3818
  this.filterModalShowResetMobile = false;
3815
3819
  this.filterModalShow = new EventEmitter();
@@ -3841,37 +3845,37 @@ let Table = class Table {
3841
3845
  }
3842
3846
  ngOnInit() {
3843
3847
  this._parseItems(this.items);
3844
- onStateChange('theme', value => this._checkTheme(value));
3848
+ onStateChange("theme", (value) => this._checkTheme(value));
3845
3849
  this.loadingRows = Array.from({
3846
3850
  length: this.amountOfLoadingRows,
3847
3851
  });
3848
3852
  this.filterModalShow$
3849
3853
  .pipe(untilDestroyed(this), distinctUntilChanged())
3850
- .subscribe(value => this.filterModalShow.next(value));
3854
+ .subscribe((value) => this.filterModalShow.next(value));
3851
3855
  }
3852
3856
  ngOnChanges(changes) {
3853
- if (changes['items']) {
3854
- this._parseItems(changes['items'].currentValue);
3857
+ if (changes["items"]) {
3858
+ this._parseItems(changes["items"].currentValue);
3855
3859
  }
3856
- if (changes['amountOfLoadingRows']) {
3860
+ if (changes["amountOfLoadingRows"]) {
3857
3861
  this.loadingRows = Array.from({
3858
- length: changes['amountOfLoadingRows'].currentValue,
3862
+ length: changes["amountOfLoadingRows"].currentValue,
3859
3863
  });
3860
3864
  }
3861
3865
  let calculateRowSelectionData = false;
3862
- if (changes['enableRowSelection']) {
3866
+ if (changes["enableRowSelection"]) {
3863
3867
  this._inputEnableRowSelection =
3864
- changes['enableRowSelection'].currentValue;
3868
+ changes["enableRowSelection"].currentValue;
3865
3869
  calculateRowSelectionData = true;
3866
3870
  }
3867
- if (changes['rowSelectionLimit']) {
3868
- this._inputRowSelectionLimit = changes['rowSelectionLimit'].currentValue;
3871
+ if (changes["rowSelectionLimit"]) {
3872
+ this._inputRowSelectionLimit = changes["rowSelectionLimit"].currentValue;
3869
3873
  calculateRowSelectionData = true;
3870
3874
  }
3871
- if (calculateRowSelectionData || changes['selectedRows']) {
3875
+ if (calculateRowSelectionData || changes["selectedRows"]) {
3872
3876
  this._setRowSelectionData();
3873
3877
  }
3874
- if (changes['enableScroll']?.currentValue) {
3878
+ if (changes["enableScroll"]?.currentValue) {
3875
3879
  this._checkChangesSubscriptions();
3876
3880
  }
3877
3881
  }
@@ -3897,19 +3901,19 @@ let Table = class Table {
3897
3901
  this._calculateColumnWidths();
3898
3902
  }
3899
3903
  keyDown({ key }) {
3900
- if (key !== 'Control' || this._ctrlDown === true) {
3904
+ if (key !== "Control" || this._ctrlDown === true) {
3901
3905
  return;
3902
3906
  }
3903
3907
  this._ctrlDown = true;
3904
3908
  }
3905
3909
  keyUp({ key }) {
3906
- if (key !== 'Control' || this._ctrlDown === false) {
3910
+ if (key !== "Control" || this._ctrlDown === false) {
3907
3911
  return;
3908
3912
  }
3909
3913
  this._ctrlDown = false;
3910
3914
  }
3911
3915
  visibilityChange() {
3912
- if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {
3916
+ if (document.visibilityState !== "hidden" || this._ctrlDown === false) {
3913
3917
  return;
3914
3918
  }
3915
3919
  this._ctrlDown = false;
@@ -3950,7 +3954,7 @@ let Table = class Table {
3950
3954
  if (!actions?.length) {
3951
3955
  return [];
3952
3956
  }
3953
- return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
3957
+ return actions.filter((a) => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
3954
3958
  }
3955
3959
  onContainerXScroll(ev) {
3956
3960
  if (!this.enableScroll) {
@@ -4017,7 +4021,7 @@ let Table = class Table {
4017
4021
  }
4018
4022
  for (let i = 0; i < this.selectedRows.length; i++) {
4019
4023
  const value = this.selectedRows[i];
4020
- const row = this.parsedItems.find(d => this._getSelectionValue(d, i) === this._getSelectionValue(value, i));
4024
+ const row = this.parsedItems.find((d) => this._getSelectionValue(d, i) === this._getSelectionValue(value, i));
4021
4025
  if (!row) {
4022
4026
  continue;
4023
4027
  }
@@ -4066,7 +4070,7 @@ let Table = class Table {
4066
4070
  return this.selectionKey ? row?.[this.selectionKey] || index : index;
4067
4071
  }
4068
4072
  _selectionContains(row, index, returnIndex = false) {
4069
- const returnValue = this.selectedRows.findIndex(item => this._getSelectionValue(row, index) ===
4073
+ const returnValue = this.selectedRows.findIndex((item) => this._getSelectionValue(row, index) ===
4070
4074
  this._getSelectionValue(item, index));
4071
4075
  return !returnIndex ? returnValue >= 0 : returnValue;
4072
4076
  }
@@ -4109,8 +4113,8 @@ let Table = class Table {
4109
4113
  }
4110
4114
  _rowClick($event, index) {
4111
4115
  const target = $event.target;
4112
- if (target.tagName.toLowerCase() === 'input' ||
4113
- target.type === 'checkbox') {
4116
+ if (target.tagName.toLowerCase() === "input" ||
4117
+ target.type === "checkbox") {
4114
4118
  return;
4115
4119
  }
4116
4120
  const row = this._findRow(target);
@@ -4137,17 +4141,17 @@ let Table = class Table {
4137
4141
  this._checkboxChange(checkbox, index);
4138
4142
  }
4139
4143
  _getActionRouterLink(routerLink, rowIndex) {
4140
- if (typeof routerLink === 'function') {
4144
+ if (typeof routerLink === "function") {
4141
4145
  const item = this.parsedItems[rowIndex];
4142
4146
  return this._getActionRouterLink(routerLink(item), rowIndex);
4143
4147
  }
4144
- if (typeof routerLink === 'string' || Array.isArray(routerLink)) {
4148
+ if (typeof routerLink === "string" || Array.isArray(routerLink)) {
4145
4149
  return new BehaviorSubject(routerLink);
4146
4150
  }
4147
4151
  return routerLink;
4148
4152
  }
4149
4153
  _getActionQueryParams(queryParams, rowIndex) {
4150
- if (typeof queryParams === 'function') {
4154
+ if (typeof queryParams === "function") {
4151
4155
  const item = this.parsedItems[rowIndex];
4152
4156
  return this._getActionQueryParams(queryParams(item), rowIndex);
4153
4157
  }
@@ -4166,8 +4170,8 @@ let Table = class Table {
4166
4170
  if (!action.action) {
4167
4171
  return;
4168
4172
  }
4169
- if (action.type === 'multi' ||
4170
- (action.type === 'both' && rowIndex === undefined)) {
4173
+ if (action.type === "multi" ||
4174
+ (action.type === "both" && rowIndex === undefined)) {
4171
4175
  action.action.emit({
4172
4176
  items: this.selectedRows,
4173
4177
  multi: true,
@@ -4192,7 +4196,7 @@ let Table = class Table {
4192
4196
  if (!el) {
4193
4197
  return el;
4194
4198
  }
4195
- if (el?.tagName?.toLowerCase() === 'p-table-row') {
4199
+ if (el?.tagName?.toLowerCase() === "p-table-row") {
4196
4200
  return el;
4197
4201
  }
4198
4202
  return this._findRow(el?.parentElement);
@@ -4201,11 +4205,11 @@ let Table = class Table {
4201
4205
  if (!el) {
4202
4206
  return null;
4203
4207
  }
4204
- if (el.getAttribute('data-is-action') !== null &&
4205
- el.getAttribute('data-is-action') !== 'false') {
4208
+ if (el.getAttribute("data-is-action") !== null &&
4209
+ el.getAttribute("data-is-action") !== "false") {
4206
4210
  return el;
4207
4211
  }
4208
- if (el?.tagName?.toLowerCase() === 'p-table-row') {
4212
+ if (el?.tagName?.toLowerCase() === "p-table-row") {
4209
4213
  return null;
4210
4214
  }
4211
4215
  return this._findRowAction(el?.parentElement);
@@ -4225,14 +4229,14 @@ let Table = class Table {
4225
4229
  subscription.unsubscribe();
4226
4230
  }
4227
4231
  }
4228
- this._rowActionsSubscriptions = actions.map(action => action._loadingChanged
4232
+ this._rowActionsSubscriptions = actions.map((action) => action._loadingChanged
4229
4233
  .pipe(untilDestroyed(this))
4230
4234
  .subscribe(() => this._cd.detectChanges()));
4231
4235
  // we hack this to any[] to make it work..
4232
- const rowActionsRow = actions.filter(a => a.type === 'both' || a.type === 'single');
4233
- const rowActionsFloating = actions.filter(a => (this._inputEnableRowSelection &&
4234
- (a.type === 'both' || a.type === 'multi')) ||
4235
- (mobile && a.type === 'single' && !a.routerLink));
4236
+ const rowActionsRow = actions.filter((a) => a.type === "both" || a.type === "single");
4237
+ const rowActionsFloating = actions.filter((a) => (this._inputEnableRowSelection &&
4238
+ (a.type === "both" || a.type === "multi")) ||
4239
+ (mobile && a.type === "single" && !a.routerLink));
4236
4240
  let rowSelectionLimit = this._inputRowSelectionLimit;
4237
4241
  if (mobile && // we're mobile
4238
4242
  rowActionsFloating?.length && // we have atleast 1 item in _rowActionsFloating
@@ -4251,15 +4255,15 @@ let Table = class Table {
4251
4255
  this.rowActionsRow$.next(rowActionsRow);
4252
4256
  this.rowActionsFloatingAll$.next(rowActionsFloating);
4253
4257
  this.floatingMenuShown$
4254
- .pipe(take(1), filter(v => !!v))
4258
+ .pipe(take(1), filter((v) => !!v))
4255
4259
  .subscribe(() => this._showFloatingMenu());
4256
4260
  }, 200);
4257
4261
  }
4258
4262
  _showFloatingMenu() {
4259
- this.rowActionsFloatingAll$.pipe(take(1)).subscribe(actions => {
4263
+ this.rowActionsFloatingAll$.pipe(take(1)).subscribe((actions) => {
4260
4264
  if (this.rowSelectionLimit === 1 &&
4261
- actions.findIndex(a => (a.type === 'single' || a.type === 'both') && a.showFunction) >= 0) {
4262
- actions = actions.filter(a => a.type === 'multi' ||
4265
+ actions.findIndex((a) => (a.type === "single" || a.type === "both") && a.showFunction) >= 0) {
4266
+ actions = actions.filter((a) => a.type === "multi" ||
4263
4267
  !a.showFunction ||
4264
4268
  a.showFunction(this.selectedRows[0]));
4265
4269
  }
@@ -4268,18 +4272,18 @@ let Table = class Table {
4268
4272
  });
4269
4273
  }
4270
4274
  _parseDefinitions(definitionsArray) {
4271
- return definitionsArray.map(definition => this._parseDefinitionSizes(definition));
4275
+ return definitionsArray.map((definition) => this._parseDefinitionSizes(definition));
4272
4276
  }
4273
4277
  _parseDefinitionSizes(definition) {
4274
4278
  const definitionAny = definition;
4275
- let parsedSizes = { default: 'full' };
4279
+ let parsedSizes = { default: "full" };
4276
4280
  for (const [index, size] of tableColumSizesOptions.entries()) {
4277
- if (definitionAny.sizes === 'auto' ||
4278
- definitionAny.sizes === 'hidden' ||
4279
- definitionAny.sizes === 'full' ||
4280
- typeof definitionAny.sizes === 'number') {
4281
+ if (definitionAny.sizes === "auto" ||
4282
+ definitionAny.sizes === "hidden" ||
4283
+ definitionAny.sizes === "full" ||
4284
+ typeof definitionAny.sizes === "number") {
4281
4285
  parsedSizes[size] =
4282
- definitionAny.sizes === 'auto' ? 'full' : definitionAny.sizes;
4286
+ definitionAny.sizes === "auto" ? "full" : definitionAny.sizes;
4283
4287
  continue;
4284
4288
  }
4285
4289
  parsedSizes[size] =
@@ -4312,23 +4316,23 @@ let Table = class Table {
4312
4316
  clearTimeout(this._calculateColumnWidthsTimeout);
4313
4317
  this._calculateColumnWidthsTimeout = 0;
4314
4318
  }
4315
- const rows = this.tableRows.map(c => c.nativeElement);
4316
- const cells = rows.flatMap(row => Array.from(row.querySelectorAll('p-table-cell-ngx')));
4319
+ const rows = this.tableRows.map((c) => c.nativeElement);
4320
+ const cells = rows.flatMap((row) => Array.from(row.querySelectorAll("p-table-cell-ngx")));
4317
4321
  this._calculateColumnWidthsTimeout = setTimeout(async () => {
4318
4322
  this._setRowsWidth(rows);
4319
4323
  const promises = [];
4320
4324
  for (const cell of cells) {
4321
4325
  if (cell.style.width?.length) {
4322
- cell.style.width = 'unset';
4326
+ cell.style.width = "unset";
4323
4327
  }
4324
- promises.push(new Promise(resolve => setTimeout(() => {
4328
+ promises.push(new Promise((resolve) => setTimeout(() => {
4325
4329
  const rect = cell.getBoundingClientRect();
4326
- cell.setAttribute('style', `width: ${rect.width}px !important`);
4330
+ cell.setAttribute("style", `width: ${rect.width}px !important`);
4327
4331
  resolve();
4328
4332
  }, 100)));
4329
4333
  }
4330
4334
  await Promise.all(promises);
4331
- this._setRowsWidth(rows, 'min-content');
4335
+ this._setRowsWidth(rows, "min-content");
4332
4336
  this._resetScrollPosition();
4333
4337
  }, 200);
4334
4338
  }
@@ -4339,21 +4343,21 @@ let Table = class Table {
4339
4343
  if (!shadow) {
4340
4344
  continue;
4341
4345
  }
4342
- const firstDiv = shadow.querySelector('*:nth-child(1)');
4346
+ const firstDiv = shadow.querySelector("*:nth-child(1)");
4343
4347
  if (!firstDiv) {
4344
4348
  continue;
4345
4349
  }
4346
- const secondDiv = firstDiv.querySelector('*:nth-child(1)');
4350
+ const secondDiv = firstDiv.querySelector("*:nth-child(1)");
4347
4351
  if (!secondDiv) {
4348
4352
  continue;
4349
4353
  }
4350
4354
  if (value === null) {
4351
- firstDiv.setAttribute('style', '');
4352
- secondDiv.setAttribute('style', '');
4355
+ firstDiv.setAttribute("style", "");
4356
+ secondDiv.setAttribute("style", "");
4353
4357
  continue;
4354
4358
  }
4355
- firstDiv.setAttribute('style', 'width: min-content;');
4356
- secondDiv.setAttribute('style', 'width: min-content;');
4359
+ firstDiv.setAttribute("style", "width: min-content;");
4360
+ secondDiv.setAttribute("style", "width: min-content;");
4357
4361
  if (i === 0) {
4358
4362
  this._totalWidth = firstDiv.getBoundingClientRect().width;
4359
4363
  }
@@ -4365,6 +4369,9 @@ let Table = class Table {
4365
4369
  }
4366
4370
  this.reachedScrollStart$.next(true);
4367
4371
  this.reachedScrollEnd$.next(false);
4372
+ this._calculateScrollPosition({
4373
+ target: this.scrollContainer.nativeElement,
4374
+ });
4368
4375
  }
4369
4376
  _calculateScrollPosition({ target }) {
4370
4377
  this.reachedScrollStart$.next(target.scrollLeft < 10);
@@ -4389,13 +4396,13 @@ Table = __decorate([
4389
4396
  ], Table);
4390
4397
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
4391
4398
  type: Component,
4392
- args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div\n\t\tclass=\"relative flex-1\"\n\t\t*ngIf=\"enableScroll; else rowsTemplate\"\n\t>\n\t\t<div\n\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"\n\t\t\t\tcn(\n\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t'before:w-24 before:h-full before:transition-opacity',\n\t\t\t\t\t'before:bg-gradient-to-r before:from-white dark:before:from-hurricane-700 before:via-white/80 dark:before:via-hurricane-700/90 before:to-transparent',\n\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t'after:w-24 after:h-full after:transition-opacity',\n\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:dark:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/90 after:to-transparent',\n\t\t\t\t\t{\n\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t\t[tableHeaderHasAction]=\"enableHeader && enableAction && actionButtonEnabled\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row\n\t\t*ngIf=\"(extraHeaders$ | async)?.length\"\n\t\tvariant=\"header-secondary\"\n\t\tclassName=\"z-[2]\"\n\t\t[isLast]=\"true\"\n\t>\n\t\t<ng-container *ngFor=\"let col of extraHeaders$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\tvariant=\"header-secondary\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkboxOffset]=\"index === 0 && enableRowSelection\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t>\n\t\t\t\t<b>{{ col.name }}</b>\n\t\t\t</p-table-cell-ngx>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\tclass=\"group\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t[isLast]=\"rowIndex === loadingRows.length - 1\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t[isLast]=\"rowIndex === parsedItems.length - 1\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngFor=\"let col of columns$ | async; let index = index\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\n\t\t<ng-container *ngFor=\"let customRow of customRows\">\n\t\t\t<p-table-row\n\t\t\t\t[variant]=\"customRow.variant\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\t'z-[2]': customRow.variant === 'secondary'\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"customRow.templateRef\"></ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t\t[enableAction]=\"false\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n" }]
4399
+ args: [{ selector: "p-table-ngx", changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div\n\t\tclass=\"relative flex-1\"\n\t\t*ngIf=\"enableScroll; else rowsTemplate\"\n\t>\n\t\t<div\n\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"\n\t\t\t\tcn(\n\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t'before:w-24 before:h-full before:transition-opacity',\n\t\t\t\t\t'before:bg-gradient-to-r before:from-white dark:before:from-hurricane-700 before:via-white/80 dark:before:via-hurricane-700/90 before:to-transparent',\n\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t'after:w-24 after:h-full after:transition-opacity',\n\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:dark:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/90 after:to-transparent',\n\t\t\t\t\t{\n\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t\t[tableHeaderHasAction]=\"enableHeader && enableAction && actionButtonEnabled\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row\n\t\t*ngIf=\"(extraHeaders$ | async)?.length\"\n\t\tvariant=\"header-secondary\"\n\t\tclassName=\"z-[2]\"\n\t\t[isLast]=\"true\"\n\t>\n\t\t<ng-container *ngFor=\"let col of extraHeaders$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\tvariant=\"header-secondary\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkboxOffset]=\"index === 0 && enableRowSelection\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t>\n\t\t\t\t<b>{{ col.name }}</b>\n\t\t\t</p-table-cell-ngx>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\tclass=\"group\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t[isLast]=\"rowIndex === loadingRows.length - 1\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t[isLast]=\"rowIndex === parsedItems.length - 1\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngFor=\"let col of columns$ | async; let index = index\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\n\t\t<ng-container *ngFor=\"let customRow of customRows\">\n\t\t\t<p-table-row\n\t\t\t\t[variant]=\"customRow.variant\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\t'z-[2]': customRow.variant === 'secondary'\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"customRow.templateRef\"></ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t\t[enableAction]=\"false\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n" }]
4393
4400
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
4394
4401
  type: HostBinding,
4395
- args: ['class']
4402
+ args: ["class"]
4396
4403
  }], theme: [{
4397
4404
  type: HostBinding,
4398
- args: ['attr.data-theme']
4405
+ args: ["attr.data-theme"]
4399
4406
  }], items: [{
4400
4407
  type: Input
4401
4408
  }], loading: [{
@@ -4524,7 +4531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
4524
4531
  args: [TableCell, { read: ElementRef }]
4525
4532
  }], scrollContainer: [{
4526
4533
  type: ViewChild,
4527
- args: ['scrollContainer']
4534
+ args: ["scrollContainer"]
4528
4535
  }], emptyStateActionClick: [{
4529
4536
  type: Output
4530
4537
  }], shadow: [{
@@ -4579,16 +4586,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
4579
4586
  type: Output
4580
4587
  }], onResize: [{
4581
4588
  type: HostListener,
4582
- args: ['window:resize', ['$event']]
4589
+ args: ["window:resize", ["$event"]]
4583
4590
  }], keyDown: [{
4584
4591
  type: HostListener,
4585
- args: ['document:keydown', ['$event']]
4592
+ args: ["document:keydown", ["$event"]]
4586
4593
  }], keyUp: [{
4587
4594
  type: HostListener,
4588
- args: ['document:keyup', ['$event']]
4595
+ args: ["document:keyup", ["$event"]]
4589
4596
  }], visibilityChange: [{
4590
4597
  type: HostListener,
4591
- args: ['document:visibilitychange', ['$event']]
4598
+ args: ["document:visibilitychange", ["$event"]]
4592
4599
  }] } });
4593
4600
 
4594
4601
  const TABLE_COMPONENTS = [