ngx-bimplus-components 0.0.219-angualr-v21 → 0.0.219-angualr-v21-01

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.
@@ -8093,7 +8093,7 @@ class ObjectHyperlinksComponent extends BimplusLocalizedWidgetComponent {
8093
8093
  });
8094
8094
  }
8095
8095
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ObjectHyperlinksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8096
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: ObjectHyperlinksComponent, isStandalone: true, selector: "lib-object-hyperlinks", inputs: { api: "api", rootObjectId: "rootObjectId", canCreateHyperlinks: "canCreateHyperlinks", canDeleteHyperlinks: "canDeleteHyperlinks" }, usesInheritance: true, ngImport: i0, template: "@if (canCreateHyperlinks) {\n <form [formGroup]=\"hyperlinkForm\" class=\"input-form\">\n <div>\n <lib-bimplus-input-text-field formControlName=\"name\" placeholder=\"{{ '_Name' | translate }}\"/>\n </div>\n <div>\n <lib-bimplus-input-text-field formControlName=\"url\" placeholder=\"{{ '_URL' | translate }}\"/>\n </div>\n\n <lib-bimplus-buttons-row [items]=\"buttonRowItems\" (buttonClicked)=\"buttonRowButtonClicked($event)\"/>\n </form>\n}\n\n<div class=\"list-anchor\">\n <div class=\"list\">\n <lib-bimplus-scrollable-container>\n @if (hyperlinks.length > 0) {\n @for (hyperlink of hyperlinks; track hyperlink) {\n <div style=\"padding-left: 8px\">\n <lib-object-hyperlinks-item [hyperlink]=\"hyperlink\" [deleteButtonEnabled]=\"canDeleteHyperlinks\"\n (deleteButtonClicked)=\"onHyperlinkItemDeleteButtonClicked(hyperlink)\"/>\n </div>\n }\n } @else {\n <div class=\"no-links\">{{ \"_No hyperlinks found\" | translate }}</div>\n }\n </lib-bimplus-scrollable-container>\n </div>\n </div>\n", styles: [":host{height:100%;display:flex;flex-direction:column;flex:1}.list-anchor{position:relative;flex:1}.list{position:absolute;top:0;bottom:0;width:100%}lib-bimplus-buttons-row{--button-row-margin-top: .8rem;--button-row-margin-right: 0;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}.no-links{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}.input-form{padding-left:.8rem;padding-right:.8rem;display:flex;flex-direction:column;gap:.2rem}.input-form lib-bimplus-input-text-field{margin-top:.2rem}\n"], dependencies: [{ kind: "component", type: BimplusButtonsRowComponent, selector: "lib-bimplus-buttons-row", inputs: ["isMultiple", "items", "canUpdateObject"], outputs: ["fileChanged", "buttonClicked"] }, { kind: "component", type: BimplusScrollableContainerComponent, selector: "lib-bimplus-scrollable-container" }, { kind: "component", type: ObjectHyperlinksItemComponent, selector: "lib-object-hyperlinks-item", inputs: ["hyperlink", "deleteButtonEnabled"], outputs: ["deleteButtonClicked"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: BimplusInputTextFieldComponent, selector: "lib-bimplus-input-text-field", inputs: ["placeholder", "showClearButton", "validValue"], outputs: ["enterKeyPressed"] }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.ShadowDom }); }
8096
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: ObjectHyperlinksComponent, isStandalone: true, selector: "lib-object-hyperlinks", inputs: { api: "api", rootObjectId: "rootObjectId", canCreateHyperlinks: "canCreateHyperlinks", canDeleteHyperlinks: "canDeleteHyperlinks" }, providers: [TranslateService], usesInheritance: true, ngImport: i0, template: "@if (canCreateHyperlinks) {\n <form [formGroup]=\"hyperlinkForm\" class=\"input-form\">\n <div>\n <lib-bimplus-input-text-field formControlName=\"name\" placeholder=\"{{ '_Name' | translate }}\"/>\n </div>\n <div>\n <lib-bimplus-input-text-field formControlName=\"url\" placeholder=\"{{ '_URL' | translate }}\"/>\n </div>\n\n <lib-bimplus-buttons-row [items]=\"buttonRowItems\" (buttonClicked)=\"buttonRowButtonClicked($event)\"/>\n </form>\n}\n\n<div class=\"list-anchor\">\n <div class=\"list\">\n <lib-bimplus-scrollable-container>\n @if (hyperlinks.length > 0) {\n @for (hyperlink of hyperlinks; track hyperlink) {\n <div style=\"padding-left: 8px\">\n <lib-object-hyperlinks-item [hyperlink]=\"hyperlink\" [deleteButtonEnabled]=\"canDeleteHyperlinks\"\n (deleteButtonClicked)=\"onHyperlinkItemDeleteButtonClicked(hyperlink)\"/>\n </div>\n }\n } @else {\n <div class=\"no-links\">{{ \"_No hyperlinks found\" | translate }}</div>\n }\n </lib-bimplus-scrollable-container>\n </div>\n </div>\n", styles: [":host{height:100%;display:flex;flex-direction:column;flex:1}.list-anchor{position:relative;flex:1}.list{position:absolute;top:0;bottom:0;width:100%}lib-bimplus-buttons-row{--button-row-margin-top: .8rem;--button-row-margin-right: 0;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}.no-links{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}.input-form{padding-left:.8rem;padding-right:.8rem;display:flex;flex-direction:column;gap:.2rem}.input-form lib-bimplus-input-text-field{margin-top:.2rem}\n"], dependencies: [{ kind: "component", type: BimplusButtonsRowComponent, selector: "lib-bimplus-buttons-row", inputs: ["isMultiple", "items", "canUpdateObject"], outputs: ["fileChanged", "buttonClicked"] }, { kind: "component", type: BimplusScrollableContainerComponent, selector: "lib-bimplus-scrollable-container" }, { kind: "component", type: ObjectHyperlinksItemComponent, selector: "lib-object-hyperlinks-item", inputs: ["hyperlink", "deleteButtonEnabled"], outputs: ["deleteButtonClicked"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: BimplusInputTextFieldComponent, selector: "lib-bimplus-input-text-field", inputs: ["placeholder", "showClearButton", "validValue"], outputs: ["enterKeyPressed"] }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.ShadowDom }); }
8097
8097
  }
8098
8098
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ObjectHyperlinksComponent, decorators: [{
8099
8099
  type: Component,
@@ -8104,7 +8104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
8104
8104
  TranslateModule,
8105
8105
  ReactiveFormsModule,
8106
8106
  BimplusInputTextFieldComponent
8107
- ], encapsulation: ViewEncapsulation.ShadowDom, template: "@if (canCreateHyperlinks) {\n <form [formGroup]=\"hyperlinkForm\" class=\"input-form\">\n <div>\n <lib-bimplus-input-text-field formControlName=\"name\" placeholder=\"{{ '_Name' | translate }}\"/>\n </div>\n <div>\n <lib-bimplus-input-text-field formControlName=\"url\" placeholder=\"{{ '_URL' | translate }}\"/>\n </div>\n\n <lib-bimplus-buttons-row [items]=\"buttonRowItems\" (buttonClicked)=\"buttonRowButtonClicked($event)\"/>\n </form>\n}\n\n<div class=\"list-anchor\">\n <div class=\"list\">\n <lib-bimplus-scrollable-container>\n @if (hyperlinks.length > 0) {\n @for (hyperlink of hyperlinks; track hyperlink) {\n <div style=\"padding-left: 8px\">\n <lib-object-hyperlinks-item [hyperlink]=\"hyperlink\" [deleteButtonEnabled]=\"canDeleteHyperlinks\"\n (deleteButtonClicked)=\"onHyperlinkItemDeleteButtonClicked(hyperlink)\"/>\n </div>\n }\n } @else {\n <div class=\"no-links\">{{ \"_No hyperlinks found\" | translate }}</div>\n }\n </lib-bimplus-scrollable-container>\n </div>\n </div>\n", styles: [":host{height:100%;display:flex;flex-direction:column;flex:1}.list-anchor{position:relative;flex:1}.list{position:absolute;top:0;bottom:0;width:100%}lib-bimplus-buttons-row{--button-row-margin-top: .8rem;--button-row-margin-right: 0;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}.no-links{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}.input-form{padding-left:.8rem;padding-right:.8rem;display:flex;flex-direction:column;gap:.2rem}.input-form lib-bimplus-input-text-field{margin-top:.2rem}\n"] }]
8107
+ ], providers: [TranslateService], encapsulation: ViewEncapsulation.ShadowDom, template: "@if (canCreateHyperlinks) {\n <form [formGroup]=\"hyperlinkForm\" class=\"input-form\">\n <div>\n <lib-bimplus-input-text-field formControlName=\"name\" placeholder=\"{{ '_Name' | translate }}\"/>\n </div>\n <div>\n <lib-bimplus-input-text-field formControlName=\"url\" placeholder=\"{{ '_URL' | translate }}\"/>\n </div>\n\n <lib-bimplus-buttons-row [items]=\"buttonRowItems\" (buttonClicked)=\"buttonRowButtonClicked($event)\"/>\n </form>\n}\n\n<div class=\"list-anchor\">\n <div class=\"list\">\n <lib-bimplus-scrollable-container>\n @if (hyperlinks.length > 0) {\n @for (hyperlink of hyperlinks; track hyperlink) {\n <div style=\"padding-left: 8px\">\n <lib-object-hyperlinks-item [hyperlink]=\"hyperlink\" [deleteButtonEnabled]=\"canDeleteHyperlinks\"\n (deleteButtonClicked)=\"onHyperlinkItemDeleteButtonClicked(hyperlink)\"/>\n </div>\n }\n } @else {\n <div class=\"no-links\">{{ \"_No hyperlinks found\" | translate }}</div>\n }\n </lib-bimplus-scrollable-container>\n </div>\n </div>\n", styles: [":host{height:100%;display:flex;flex-direction:column;flex:1}.list-anchor{position:relative;flex:1}.list{position:absolute;top:0;bottom:0;width:100%}lib-bimplus-buttons-row{--button-row-margin-top: .8rem;--button-row-margin-right: 0;--button-row-margin-bottom: 1.4rem;--button-row-margin-left: 0}.no-links{padding:2.5rem .5rem;color:var(--details-controls-details-not-found-text-color);text-align:center}.input-form{padding-left:.8rem;padding-right:.8rem;display:flex;flex-direction:column;gap:.2rem}.input-form lib-bimplus-input-text-field{margin-top:.2rem}\n"] }]
8108
8108
  }], ctorParameters: () => [], propDecorators: { api: [{
8109
8109
  type: Input
8110
8110
  }], rootObjectId: [{