@igo2/geo 21.0.0-next.2 → 21.0.0-next.3

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.
@@ -22742,11 +22742,11 @@ class FeatureFormComponent {
22742
22742
  };
22743
22743
  }
22744
22744
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: FeatureFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22745
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.10", type: FeatureFormComponent, isStandalone: true, selector: "igo-feature-form", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, feature: { classPropertyName: "feature", publicName: "feature", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { submitForm: "submitForm" }, viewQueries: [{ propertyName: "igoForm", first: true, predicate: ["igoForm"], descendants: true, isSignal: true }], ngImport: i0, template: "<igo-form\n #igoForm\n [form]=\"form()\"\n [formData]=\"feature()\"\n (submitForm)=\"onSubmit($event)\"\n>\n <ng-content />\n\n <ng-content select=\"[formButtons]\" formButtons />\n</igo-form>\n", styles: [":host{display:block}igo-form{height:100%}\n"], dependencies: [{ kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22745
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.10", type: FeatureFormComponent, isStandalone: true, selector: "igo-feature-form", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, feature: { classPropertyName: "feature", publicName: "feature", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { submitForm: "submitForm" }, viewQueries: [{ propertyName: "igoForm", first: true, predicate: ["igoForm"], descendants: true, isSignal: true }], ngImport: i0, template: "<igo-form\n #igoForm\n [form]=\"form()\"\n [formData]=\"$any(feature())\"\n (submitForm)=\"onSubmit($event)\"\n>\n <ng-content />\n\n <ng-content select=\"[formButtons]\" formButtons />\n</igo-form>\n", styles: [":host{display:block}igo-form{height:100%}\n"], dependencies: [{ kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22746
22746
  }
22747
22747
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: FeatureFormComponent, decorators: [{
22748
22748
  type: Component,
22749
- args: [{ selector: 'igo-feature-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormComponent], template: "<igo-form\n #igoForm\n [form]=\"form()\"\n [formData]=\"feature()\"\n (submitForm)=\"onSubmit($event)\"\n>\n <ng-content />\n\n <ng-content select=\"[formButtons]\" formButtons />\n</igo-form>\n", styles: [":host{display:block}igo-form{height:100%}\n"] }]
22749
+ args: [{ selector: 'igo-feature-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormComponent], template: "<igo-form\n #igoForm\n [form]=\"form()\"\n [formData]=\"$any(feature())\"\n (submitForm)=\"onSubmit($event)\"\n>\n <ng-content />\n\n <ng-content select=\"[formButtons]\" formButtons />\n</igo-form>\n", styles: [":host{display:block}igo-form{height:100%}\n"] }]
22750
22750
  }], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], feature: [{ type: i0.Input, args: [{ isSignal: true, alias: "feature", required: false }] }], submitForm: [{ type: i0.Output, args: ["submitForm"] }], igoForm: [{ type: i0.ViewChild, args: ['igoForm', { isSignal: true }] }] } });
22751
22751
 
22752
22752
  const FEATURE_DIRECTIVES = [
@@ -36193,7 +36193,7 @@ class InteractiveSelectionFormComponent {
36193
36193
  }));
36194
36194
  }
36195
36195
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: InteractiveSelectionFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
36196
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: InteractiveSelectionFormComponent, isStandalone: true, selector: "igo-interactive-selection", inputs: { map: { classPropertyName: "map", publicName: "map", isSignal: true, isRequired: false, transformFunction: null }, workspace: { classPropertyName: "workspace", publicName: "workspace", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { complete: "complete", cancel: "cancel" }, ngImport: i0, template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($event)\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clear()\"\n >\n {{\n 'igo.geo.workspace.widget.interactiveSelection.reset.button'\n | translate\n }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ submitButtonText$ | async | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "component", type: FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
36196
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: InteractiveSelectionFormComponent, isStandalone: true, selector: "igo-interactive-selection", inputs: { map: { classPropertyName: "map", publicName: "map", isSignal: true, isRequired: false, transformFunction: null }, workspace: { classPropertyName: "workspace", publicName: "workspace", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { complete: "complete", cancel: "cancel" }, ngImport: i0, template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(data$ | async)\"\n (submitForm)=\"onSubmit($event)\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clear()\"\n >\n {{\n 'igo.geo.workspace.widget.interactiveSelection.reset.button'\n | translate\n }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ submitButtonText$ | async | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "component", type: FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
36197
36197
  }
36198
36198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: InteractiveSelectionFormComponent, decorators: [{
36199
36199
  type: Component,
@@ -36203,7 +36203,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
36203
36203
  FormComponent,
36204
36204
  FormFieldComponent,
36205
36205
  AsyncPipe
36206
- ], template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($event)\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clear()\"\n >\n {{\n 'igo.geo.workspace.widget.interactiveSelection.reset.button'\n | translate\n }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ submitButtonText$ | async | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"] }]
36206
+ ], template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(data$ | async)\"\n (submitForm)=\"onSubmit($event)\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clear()\"\n >\n {{\n 'igo.geo.workspace.widget.interactiveSelection.reset.button'\n | translate\n }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ submitButtonText$ | async | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"] }]
36207
36207
  }], propDecorators: { map: [{ type: i0.Input, args: [{ isSignal: true, alias: "map", required: false }] }], workspace: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspace", required: false }] }], complete: [{ type: i0.Output, args: ["complete"] }], cancel: [{ type: i0.Output, args: ["cancel"] }] } });
36208
36208
 
36209
36209
  const OgcFilterWidget = new InjectionToken('OgcFilterWidget');
@@ -39857,7 +39857,7 @@ class AddCatalogDialogComponent {
39857
39857
  .every((e) => e);
39858
39858
  }
39859
39859
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AddCatalogDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39860
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: AddCatalogDialogComponent, isStandalone: true, selector: "igo-add-catalog-dialog", ngImport: i0, template: "<h4>{{ 'igo.geo.catalog.library.addBtn' | translate }}</h4>\n\n<ng-template #customTab>\n @let form = customForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"customData$ | async\"\n (submitForm)=\"onCustomSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n</ng-template>\n\n@if (data.predefinedCatalogs.length) {\n <mat-tab-group\n [selectedIndex]=\"\n !data.addedCatalog ||\n (data.error && data.isPredefinedCatalog && data.predefinedCatalogs.length)\n ? 0\n : 1\n \"\n >\n <mat-tab [label]=\"'igo.geo.catalog.library.predefined' | translate\">\n @let form = predefinedForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onPredefinedSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n </mat-tab>\n\n <mat-tab [label]=\"'igo.geo.catalog.library.custom' | translate\">\n <ng-container *ngTemplateOutlet=\"customTab\" />\n </mat-tab>\n </mat-tab-group>\n} @else {\n <ng-container *ngTemplateOutlet=\"customTab\" />\n}\n\n@if (data.error && data.addedCatalog) {\n <p class=\"error\">\n {{\n emailAddress\n ? languageService.translate.instant(\n 'igo.geo.catalog.externalProvider.unavailableWithEmail',\n { value: data.addedCatalog.url, email: emailAddress }\n )\n : languageService.translate.instant('igo.geo.catalog.unavailable', {\n value: data.addedCatalog.url\n })\n }}\n </p>\n}\n", styles: ["h4{padding:0 12px}mat-tab-group{padding:12px}igo-form{overflow:hidden;padding:0 12px 12px}.actions-container{display:flex;justify-content:flex-end;column-gap:8px}.form-container{width:100%;height:auto;padding-top:12px}.form-container igo-form-field{display:block;height:auto}.error{overflow-wrap:break-word;padding:0 20px;color:red}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$5.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "ngmodule", type: MatListModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "component", type: FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
39860
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: AddCatalogDialogComponent, isStandalone: true, selector: "igo-add-catalog-dialog", ngImport: i0, template: "<h4>{{ 'igo.geo.catalog.library.addBtn' | translate }}</h4>\n\n<ng-template #customTab>\n @let form = customForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(customData$ | async)\"\n (submitForm)=\"onCustomSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n</ng-template>\n\n@if (data.predefinedCatalogs.length) {\n <mat-tab-group\n [selectedIndex]=\"\n !data.addedCatalog ||\n (data.error && data.isPredefinedCatalog && data.predefinedCatalogs.length)\n ? 0\n : 1\n \"\n >\n <mat-tab [label]=\"'igo.geo.catalog.library.predefined' | translate\">\n @let form = predefinedForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(data$ | async)\"\n (submitForm)=\"onPredefinedSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n </mat-tab>\n\n <mat-tab [label]=\"'igo.geo.catalog.library.custom' | translate\">\n <ng-container *ngTemplateOutlet=\"customTab\" />\n </mat-tab>\n </mat-tab-group>\n} @else {\n <ng-container *ngTemplateOutlet=\"customTab\" />\n}\n\n@if (data.error && data.addedCatalog) {\n <p class=\"error\">\n {{\n emailAddress\n ? languageService.translate.instant(\n 'igo.geo.catalog.externalProvider.unavailableWithEmail',\n { value: data.addedCatalog.url, email: emailAddress }\n )\n : languageService.translate.instant('igo.geo.catalog.unavailable', {\n value: data.addedCatalog.url\n })\n }}\n </p>\n}\n", styles: ["h4{padding:0 12px}mat-tab-group{padding:12px}igo-form{overflow:hidden;padding:0 12px 12px}.actions-container{display:flex;justify-content:flex-end;column-gap:8px}.form-container{width:100%;height:auto;padding-top:12px}.form-container igo-form-field{display:block;height:auto}.error{overflow-wrap:break-word;padding:0 20px;color:red}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$5.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$5.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "ngmodule", type: MatListModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "component", type: FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "component", type: FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
39861
39861
  }
39862
39862
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AddCatalogDialogComponent, decorators: [{
39863
39863
  type: Component,
@@ -39878,7 +39878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
39878
39878
  FormComponent,
39879
39879
  FormFieldComponent,
39880
39880
  NgTemplateOutlet
39881
- ], template: "<h4>{{ 'igo.geo.catalog.library.addBtn' | translate }}</h4>\n\n<ng-template #customTab>\n @let form = customForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"customData$ | async\"\n (submitForm)=\"onCustomSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n</ng-template>\n\n@if (data.predefinedCatalogs.length) {\n <mat-tab-group\n [selectedIndex]=\"\n !data.addedCatalog ||\n (data.error && data.isPredefinedCatalog && data.predefinedCatalogs.length)\n ? 0\n : 1\n \"\n >\n <mat-tab [label]=\"'igo.geo.catalog.library.predefined' | translate\">\n @let form = predefinedForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onPredefinedSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n </mat-tab>\n\n <mat-tab [label]=\"'igo.geo.catalog.library.custom' | translate\">\n <ng-container *ngTemplateOutlet=\"customTab\" />\n </mat-tab>\n </mat-tab-group>\n} @else {\n <ng-container *ngTemplateOutlet=\"customTab\" />\n}\n\n@if (data.error && data.addedCatalog) {\n <p class=\"error\">\n {{\n emailAddress\n ? languageService.translate.instant(\n 'igo.geo.catalog.externalProvider.unavailableWithEmail',\n { value: data.addedCatalog.url, email: emailAddress }\n )\n : languageService.translate.instant('igo.geo.catalog.unavailable', {\n value: data.addedCatalog.url\n })\n }}\n </p>\n}\n", styles: ["h4{padding:0 12px}mat-tab-group{padding:12px}igo-form{overflow:hidden;padding:0 12px 12px}.actions-container{display:flex;justify-content:flex-end;column-gap:8px}.form-container{width:100%;height:auto;padding-top:12px}.form-container igo-form-field{display:block;height:auto}.error{overflow-wrap:break-word;padding:0 20px;color:red}\n"] }]
39881
+ ], template: "<h4>{{ 'igo.geo.catalog.library.addBtn' | translate }}</h4>\n\n<ng-template #customTab>\n @let form = customForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(customData$ | async)\"\n (submitForm)=\"onCustomSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n</ng-template>\n\n@if (data.predefinedCatalogs.length) {\n <mat-tab-group\n [selectedIndex]=\"\n !data.addedCatalog ||\n (data.error && data.isPredefinedCatalog && data.predefinedCatalogs.length)\n ? 0\n : 1\n \"\n >\n <mat-tab [label]=\"'igo.geo.catalog.library.predefined' | translate\">\n @let form = predefinedForm$ | async;\n\n @if (form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"$any(data$ | async)\"\n (submitForm)=\"onPredefinedSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n matButton=\"outlined\"\n type=\"button\"\n color=\"primary\"\n (click)=\"dialogRef.close()\"\n >\n {{ 'igo.geo.catalog.library.cancel' | translate }}\n </button>\n <button matButton=\"filled\" type=\"submit\" color=\"primary\">\n {{ 'igo.geo.catalog.library.add' | translate }}\n </button>\n </div>\n </igo-form>\n }\n </mat-tab>\n\n <mat-tab [label]=\"'igo.geo.catalog.library.custom' | translate\">\n <ng-container *ngTemplateOutlet=\"customTab\" />\n </mat-tab>\n </mat-tab-group>\n} @else {\n <ng-container *ngTemplateOutlet=\"customTab\" />\n}\n\n@if (data.error && data.addedCatalog) {\n <p class=\"error\">\n {{\n emailAddress\n ? languageService.translate.instant(\n 'igo.geo.catalog.externalProvider.unavailableWithEmail',\n { value: data.addedCatalog.url, email: emailAddress }\n )\n : languageService.translate.instant('igo.geo.catalog.unavailable', {\n value: data.addedCatalog.url\n })\n }}\n </p>\n}\n", styles: ["h4{padding:0 12px}mat-tab-group{padding:12px}igo-form{overflow:hidden;padding:0 12px 12px}.actions-container{display:flex;justify-content:flex-end;column-gap:8px}.form-container{width:100%;height:auto;padding-top:12px}.form-container igo-form-field{display:block;height:auto}.error{overflow-wrap:break-word;padding:0 20px;color:red}\n"] }]
39882
39882
  }] });
39883
39883
 
39884
39884
  /**