@acorex/platform 20.0.2 → 20.0.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.
Files changed (33) hide show
  1. package/common/index.d.ts +40 -71
  2. package/core/index.d.ts +245 -217
  3. package/fesm2022/acorex-platform-common.mjs +9 -26
  4. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-core.mjs +63 -57
  6. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-layout-components.mjs +7 -4
  8. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  10. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BFIGLwd9.mjs → acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs} +3 -3
  11. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BFIGLwd9.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs.map} +1 -1
  12. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BuyMyK_I.mjs → acorex-platform-themes-default-entity-master-list-view.component-BxdQ5JWS.mjs} +10 -270
  13. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BxdQ5JWS.mjs.map +1 -0
  14. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CHHmHz2a.mjs → acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs} +3 -3
  15. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CHHmHz2a.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs.map} +1 -1
  16. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnjDBPeT.mjs → acorex-platform-themes-default-entity-master-single-view.component-cvoKMP84.mjs} +3 -3
  17. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnjDBPeT.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-cvoKMP84.mjs.map} +1 -1
  18. package/fesm2022/acorex-platform-themes-default.mjs +10 -10
  19. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  20. package/fesm2022/acorex-platform-widgets.mjs +26 -8
  21. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  22. package/fesm2022/acorex-platform-workflow.mjs +13 -44
  23. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  24. package/layout/components/index.d.ts +2 -2
  25. package/layout/entity/index.d.ts +2 -2
  26. package/package.json +1 -5
  27. package/widgets/index.d.ts +4 -0
  28. package/workflow/index.d.ts +11 -3
  29. package/fesm2022/acorex-platform-layout-filters.mjs +0 -163
  30. package/fesm2022/acorex-platform-layout-filters.mjs.map +0 -1
  31. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BuyMyK_I.mjs.map +0 -1
  32. package/layout/filters/README.md +0 -3
  33. package/layout/filters/index.d.ts +0 -34
@@ -7079,9 +7079,14 @@ class AXPFileListComponent {
7079
7079
  this.isLoading = signal(true);
7080
7080
  this.fileTypes = signal([]);
7081
7081
  this.onRemove = output();
7082
+ this.onRevert = output();
7082
7083
  this.readOnly = input(false);
7083
7084
  this.files = input([]);
7084
- this.displayFiles = computed(() => this.files().filter(file => file.status !== 'deleted'));
7085
+ /**
7086
+ * All files should be displayed, even those with `deleted` status.
7087
+ * The template will handle the visual differences based on the status.
7088
+ */
7089
+ this.displayFiles = computed(() => this.files());
7085
7090
  }
7086
7091
  async ngOnInit() {
7087
7092
  this.fileTypes.set(await this.fileTypeService.items());
@@ -7172,12 +7177,18 @@ class AXPFileListComponent {
7172
7177
  async handleFileRemove(file) {
7173
7178
  this.onRemove.emit(file);
7174
7179
  }
7180
+ /**
7181
+ * Handle revert action – emit the file so parent components can update the status.
7182
+ */
7183
+ handleFileRevert(file) {
7184
+ this.onRevert.emit(file);
7185
+ }
7175
7186
  ngOnDestroy() {
7176
7187
  }
7177
7188
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXPFileListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7178
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: AXPFileListComponent, isStandalone: true, selector: "axp-file-list", inputs: { readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onRemove: "onRemove" }, providers: [], ngImport: i0, template: "@for (file of displayFiles(); track $index) {\n <div class=\"__item\">\n <div class=\"__icon\">\n <i class=\"fa-fw {{ getFileInfo(file.name).icon }} fa-solid\"></i>\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__actions\">\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"primary\" (onClick)=\"handleFileDownload(file)\">\n <ax-icon class=\"fa-light fa-download\"></ax-icon>\n </ax-button>\n @if (!readOnly()) {\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"danger\" (onClick)=\"handleFileRemove(file)\">\n <ax-icon class=\"fa-light fa-trash-can\"></ax-icon>\n </ax-button>\n }\n </div>\n </div>\n} @empty {\n <div class=\"ax-text-center ax-text-muted ax-text-sm ax-p-4\">\n {{ '@document-management:no-files' | translate | async }}\n </div>\n}\n", styles: [":host{display:flex;width:100%;flex-direction:column;gap:.125rem;padding-top:.5rem;padding-bottom:.5rem}:host .__item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.375rem;padding:.5rem}:host .__item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__item .__icon{width:1.5rem;flex-shrink:0}:host .__item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:500}:host .__item .__actions{margin-left:auto;display:flex}\n"], dependencies: [{ kind: "ngmodule", type:
7189
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: AXPFileListComponent, isStandalone: true, selector: "axp-file-list", inputs: { readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onRemove: "onRemove", onRevert: "onRevert" }, providers: [], ngImport: i0, template: "@for (file of displayFiles(); track $index) {\n <div class=\"__item\" [ngClass]=\"{'--removed': file.status === 'deleted', '--attached': file.status === 'attached'}\">\n <div class=\"__icon\">\n <i class=\"fa-fw {{ getFileInfo(file.name).icon }} fa-solid\"></i>\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__actions\">\n @if (file.status === 'deleted') {\n <!-- Revert button -->\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"warning\" (onClick)=\"handleFileRevert(file)\">\n <ax-icon class=\"fa-light fa-rotate-left\"></ax-icon>\n </ax-button>\n } @else {\n <!-- Regular actions -->\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"primary\" (onClick)=\"handleFileDownload(file)\">\n <ax-icon class=\"fa-light fa-download\"></ax-icon>\n </ax-button>\n @if (!readOnly()) {\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"danger\" (onClick)=\"handleFileRemove(file)\">\n <ax-icon class=\"fa-light fa-trash-can\"></ax-icon>\n </ax-button>\n }\n }\n </div>\n </div>\n} @empty {\n <div class=\"ax-text-center ax-text-muted ax-text-sm ax-p-4\">\n {{ '@document-management:no-files' | translate | async }}\n </div>\n}\n", styles: [":host{display:flex;width:100%;flex-direction:column;gap:.125rem;padding-top:.5rem;padding-bottom:.5rem}:host .__item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-left-width:4px;border-color:transparent;padding:.5rem}:host .__item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__item.--removed{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}:host .__item.--attached{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-success-500),var(--tw-border-opacity, 1));animation:attached-flash 1s ease-out forwards}:host .__item .__icon{width:1.5rem;flex-shrink:0}:host .__item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:500}:host .__item .__actions{margin-left:auto;display:flex}@keyframes attached-flash{0%{background-color:rgb(var(--ax-sys-color-success-50))}to{background-color:transparent}}\n"], dependencies: [{ kind: "ngmodule", type:
7179
7190
  // Angular
7180
- CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type:
7191
+ CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type:
7181
7192
  // ACoreX
7182
7193
  AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }] }); }
7183
7194
  }
@@ -7195,7 +7206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
7195
7206
  AXDecoratorModule,
7196
7207
  AXTranslationModule
7197
7208
  // Platform
7198
- ], providers: [], template: "@for (file of displayFiles(); track $index) {\n <div class=\"__item\">\n <div class=\"__icon\">\n <i class=\"fa-fw {{ getFileInfo(file.name).icon }} fa-solid\"></i>\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__actions\">\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"primary\" (onClick)=\"handleFileDownload(file)\">\n <ax-icon class=\"fa-light fa-download\"></ax-icon>\n </ax-button>\n @if (!readOnly()) {\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"danger\" (onClick)=\"handleFileRemove(file)\">\n <ax-icon class=\"fa-light fa-trash-can\"></ax-icon>\n </ax-button>\n }\n </div>\n </div>\n} @empty {\n <div class=\"ax-text-center ax-text-muted ax-text-sm ax-p-4\">\n {{ '@document-management:no-files' | translate | async }}\n </div>\n}\n", styles: [":host{display:flex;width:100%;flex-direction:column;gap:.125rem;padding-top:.5rem;padding-bottom:.5rem}:host .__item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.375rem;padding:.5rem}:host .__item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__item .__icon{width:1.5rem;flex-shrink:0}:host .__item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:500}:host .__item .__actions{margin-left:auto;display:flex}\n"] }]
7209
+ ], providers: [], template: "@for (file of displayFiles(); track $index) {\n <div class=\"__item\" [ngClass]=\"{'--removed': file.status === 'deleted', '--attached': file.status === 'attached'}\">\n <div class=\"__icon\">\n <i class=\"fa-fw {{ getFileInfo(file.name).icon }} fa-solid\"></i>\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__actions\">\n @if (file.status === 'deleted') {\n <!-- Revert button -->\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"warning\" (onClick)=\"handleFileRevert(file)\">\n <ax-icon class=\"fa-light fa-rotate-left\"></ax-icon>\n </ax-button>\n } @else {\n <!-- Regular actions -->\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"primary\" (onClick)=\"handleFileDownload(file)\">\n <ax-icon class=\"fa-light fa-download\"></ax-icon>\n </ax-button>\n @if (!readOnly()) {\n <ax-button [look]=\"'blank'\" class=\"ax-sm\" color=\"danger\" (onClick)=\"handleFileRemove(file)\">\n <ax-icon class=\"fa-light fa-trash-can\"></ax-icon>\n </ax-button>\n }\n }\n </div>\n </div>\n} @empty {\n <div class=\"ax-text-center ax-text-muted ax-text-sm ax-p-4\">\n {{ '@document-management:no-files' | translate | async }}\n </div>\n}\n", styles: [":host{display:flex;width:100%;flex-direction:column;gap:.125rem;padding-top:.5rem;padding-bottom:.5rem}:host .__item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-left-width:4px;border-color:transparent;padding:.5rem}:host .__item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__item.--removed{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}:host .__item.--attached{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-success-500),var(--tw-border-opacity, 1));animation:attached-flash 1s ease-out forwards}:host .__item .__icon{width:1.5rem;flex-shrink:0}:host .__item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:500}:host .__item .__actions{margin-left:auto;display:flex}@keyframes attached-flash{0%{background-color:rgb(var(--ax-sys-color-success-50))}to{background-color:transparent}}\n"] }]
7199
7210
  }] });
7200
7211
 
7201
7212
  class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent {
@@ -7248,6 +7259,13 @@ class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent {
7248
7259
  this.setValue(this.getValue()?.map(f => f.id === file.id ? file : f) ?? []);
7249
7260
  }
7250
7261
  }
7262
+ /**
7263
+ * Revert a deleted file back to attached status.
7264
+ */
7265
+ handleFileRevert(file) {
7266
+ file.status = 'uploaded';
7267
+ this.setValue(this.getValue()?.map(f => f.id === file.id ? file : f) ?? []);
7268
+ }
7251
7269
  clear() {
7252
7270
  for (const file of this.files()) {
7253
7271
  this.removeFile(file);
@@ -7287,9 +7305,9 @@ class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent {
7287
7305
  </ax-button>
7288
7306
  </div>
7289
7307
  <div class="ax-p-2">
7290
- <axp-file-list [files]="files()" (onRemove)="handleFileRemove($event)" ></axp-file-list>
7308
+ <axp-file-list [files]="files()" (onRemove)="handleFileRemove($event)" (onRevert)="handleFileRevert($event)"></axp-file-list>
7291
7309
  </div>
7292
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i6$1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPComponentSlotModule }, { kind: "directive", type: i5$2.AXPComponentSlotDirective, selector: "axp-component-slot", inputs: ["name", "host", "context"], exportAs: ["slot"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readOnly", "files"], outputs: ["onRemove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7310
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i6$1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPComponentSlotModule }, { kind: "directive", type: i5$2.AXPComponentSlotDirective, selector: "axp-component-slot", inputs: ["name", "host", "context"], exportAs: ["slot"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readOnly", "files"], outputs: ["onRemove", "onRevert"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7293
7311
  }
7294
7312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXPFileUploaderWidgetEditComponent, decorators: [{
7295
7313
  type: Component,
@@ -7319,7 +7337,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
7319
7337
  </ax-button>
7320
7338
  </div>
7321
7339
  <div class="ax-p-2">
7322
- <axp-file-list [files]="files()" (onRemove)="handleFileRemove($event)" ></axp-file-list>
7340
+ <axp-file-list [files]="files()" (onRemove)="handleFileRemove($event)" (onRevert)="handleFileRevert($event)"></axp-file-list>
7323
7341
  </div>
7324
7342
  `,
7325
7343
  host: {
@@ -7382,7 +7400,7 @@ class AXPFileUploaderWidgetViewComponent extends AXPValueWidgetComponent {
7382
7400
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXPFileUploaderWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7383
7401
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.4", type: AXPFileUploaderWidgetViewComponent, isStandalone: true, selector: "axp-file-uploader-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
7384
7402
  <axp-file-list [files]="files()" [readOnly]="true"></axp-file-list>
7385
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readOnly", "files"], outputs: ["onRemove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7403
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPFileListComponent, selector: "axp-file-list", inputs: ["readOnly", "files"], outputs: ["onRemove", "onRevert"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7386
7404
  }
7387
7405
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXPFileUploaderWidgetViewComponent, decorators: [{
7388
7406
  type: Component,