geonetwork-ui 2.4.0-dev.656babc7 → 2.4.0-dev.8f04e899

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 (77) hide show
  1. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +5 -5
  2. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  3. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
  4. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +7 -4
  5. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  6. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  7. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +6 -4
  8. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +2 -1
  9. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +2 -2
  10. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +14 -44
  11. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +64 -50
  12. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +12 -35
  13. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +12 -6
  14. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +7 -4
  15. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -3
  16. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +7 -4
  17. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  18. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +59 -26
  19. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +2 -7
  20. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +5 -3
  21. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +1 -6
  22. package/fesm2022/geonetwork-ui.mjs +397 -396
  23. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  24. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  25. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +1 -1
  26. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +2 -1
  27. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  28. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +1 -0
  29. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  30. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +1 -1
  31. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  32. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +1 -0
  33. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  34. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +14 -24
  35. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  36. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
  37. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  38. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +5 -10
  39. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  40. package/libs/feature/editor/src/lib/services/editor.service.d.ts +1 -1
  41. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  42. package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
  43. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  44. package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
  45. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  46. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  47. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +7 -4
  48. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  49. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -36
  50. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  51. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
  52. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  53. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
  54. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +7 -8
  57. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +1 -1
  58. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +2 -1
  59. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +2 -0
  60. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +35 -29
  61. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +1 -0
  62. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +1 -1
  63. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +2 -3
  64. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +19 -61
  65. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +95 -86
  66. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +2 -22
  67. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +11 -44
  68. package/src/libs/feature/editor/src/lib/services/editor.service.ts +20 -6
  69. package/src/libs/feature/record/src/lib/feature-record.module.ts +3 -2
  70. package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
  71. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
  72. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -1
  73. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +23 -19
  74. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +79 -27
  75. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  76. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
  77. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAGL,UAAU,EAIX,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wEAAwE,CAAA;AAC/E,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAEL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAGzF,qBACa,aAAc,YAAW,0BAA0B;IAE5D,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,aAAa;gBAHb,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,oBAAoB,EACrC,SAAS,EAAE,YAAY,EACvB,aAAa,EAAE,iBAAiB;IAG1C,MAAM,CAAC,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,SAAS,EACT,cAAc,GACf,EAAE,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;IA6B3C,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC;IAoB1D,SAAS,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC;IAiBrE,iBAAiB,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,CAAC,aAAa,EAAE,CAAC;IAmBxE,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC;IA2B/D,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC;IAiBrD;;OAEG;IACH,OAAO,CAAC,eAAe;IAsBvB,OAAO,CAAC,2BAA2B;IAInC,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAqBtD,OAAO,CAAC,oBAAoB;IAW5B,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAgCrB,iBAAiB,CACf,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAWrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAMhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;yCAvQtC,aAAa;6CAAb,aAAa;CA8QzB"}
1
+ {"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAGL,UAAU,EAIX,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wEAAwE,CAAA;AAC/E,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAEL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAGzF,qBACa,aAAc,YAAW,0BAA0B;IAE5D,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,aAAa;gBAHb,YAAY,EAAE,gBAAgB,EAC9B,eAAe,EAAE,oBAAoB,EACrC,SAAS,EAAE,YAAY,EACvB,aAAa,EAAE,iBAAiB;IAG1C,MAAM,CAAC,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,SAAS,EACT,cAAc,GACf,EAAE,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;IA6B3C,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC;IAoB1D,SAAS,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC;IAiBrE,iBAAiB,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,CAAC,aAAa,EAAE,CAAC;IAmBxE,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC;IA2B/D,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC;IAiBrD;;OAEG;IACH,OAAO,CAAC,eAAe;IAsBvB,OAAO,CAAC,2BAA2B;IAInC,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAqBtD,OAAO,CAAC,oBAAoB;IAW5B,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IA+BrB,iBAAiB,CACf,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAWrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAMhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;yCAtQtC,aAAa;6CAAb,aAAa;CA6QzB"}
@@ -20,7 +20,7 @@ export declare abstract class RecordsRepositoryInterface {
20
20
  /**
21
21
  * @param record
22
22
  * @param referenceRecordSource
23
- * @returns Observable<string> Returns the source of the record as it was serialized when saved
23
+ * @returns Observable<string> Returns the unique identifier of the record as it was when saved
24
24
  */
25
25
  abstract saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
26
26
  /**
@@ -12,9 +12,10 @@ import * as i10 from "../../../../ui/widgets/src/lib/ui-widgets.module";
12
12
  import * as i11 from "@ngx-translate/core";
13
13
  import * as i12 from "../../../../ui/dataviz/src/lib/chart/chart.component";
14
14
  import * as i13 from "../../../../ui/inputs/src/lib/ui-inputs.module";
15
+ import * as i14 from "../../../../ui/widgets/src/lib/popup-alert/popup-alert.component";
15
16
  export declare class FeatureDatavizModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureDatavizModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureDatavizModule, [typeof i1.GeoTableViewComponent, typeof i2.FigureContainerComponent, typeof i3.TableViewComponent, typeof i4.ChartViewComponent], [typeof i5.CommonModule, typeof i6.FeatureMapModule, typeof i7.UiMapModule, typeof i8.UiDatavizModule, typeof i9.TableComponent, typeof i10.UiWidgetsModule, typeof i11.TranslateModule, typeof i12.ChartComponent, typeof i13.UiInputsModule], [typeof i1.GeoTableViewComponent, typeof i2.FigureContainerComponent, typeof i3.TableViewComponent, typeof i4.ChartViewComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureDatavizModule, [typeof i1.GeoTableViewComponent, typeof i2.FigureContainerComponent, typeof i3.TableViewComponent, typeof i4.ChartViewComponent], [typeof i5.CommonModule, typeof i6.FeatureMapModule, typeof i7.UiMapModule, typeof i8.UiDatavizModule, typeof i9.TableComponent, typeof i10.UiWidgetsModule, typeof i11.TranslateModule, typeof i12.ChartComponent, typeof i13.UiInputsModule, typeof i14.PopupAlertComponent], [typeof i1.GeoTableViewComponent, typeof i2.FigureContainerComponent, typeof i3.TableViewComponent, typeof i4.ChartViewComponent]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureDatavizModule>;
19
20
  }
20
21
  //# sourceMappingURL=feature-dataviz.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-dataviz.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAiBA,qBAyBa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
1
+ {"version":3,"file":"feature-dataviz.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAiBA,qBA0Ba,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
@@ -24,4 +24,5 @@ export declare const saveRecordFailure: import("@ngrx/store").ActionCreator<"[Ed
24
24
  }) => {
25
25
  error: SaveRecordError;
26
26
  } & import("@ngrx/store/src/models").TypedAction<"[Editor] Save record failure">>;
27
+ export declare const draftSaveSuccess: import("@ngrx/store").ActionCreator<"[Editor] Draft save success", () => import("@ngrx/store/src/models").TypedAction<"[Editor] Draft save success">>;
27
28
  //# sourceMappingURL=editor.actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,UAAU;YAGX,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;;YAFpB,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;yEAE/B,CAAA;AAED,eAAO,MAAM,iBAAiB;WAEb,MAAM;WAAS,OAAO;;WAAtB,MAAM;WAAS,OAAO;iFACtC,CAAA;AAED,eAAO,MAAM,mBAAmB,+JAE/B,CAAA;AAED,eAAO,MAAM,UAAU,yIAAuC,CAAA;AAC9D,eAAO,MAAM,iBAAiB,yJAA+C,CAAA;AAC7E,eAAO,MAAM,iBAAiB;WAEb,eAAe;;WAAf,eAAe;iFAC/B,CAAA"}
1
+ {"version":3,"file":"editor.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,UAAU;YAGX,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;;YAFpB,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;yEAE/B,CAAA;AAED,eAAO,MAAM,iBAAiB;WAEb,MAAM;WAAS,OAAO;;WAAtB,MAAM;WAAS,OAAO;iFACtC,CAAA;AAED,eAAO,MAAM,mBAAmB,+JAE/B,CAAA;AAED,eAAO,MAAM,UAAU,yIAAuC,CAAA;AAC9D,eAAO,MAAM,iBAAiB,yJAA+C,CAAA;AAC7E,eAAO,MAAM,iBAAiB;WAEb,eAAe;;WAAf,eAAe;iFAC/B,CAAA;AAED,eAAO,MAAM,gBAAgB,uJAA8C,CAAA"}
@@ -12,7 +12,7 @@ export declare class EditorEffects {
12
12
  error: string;
13
13
  } & import("@ngrx/store/src/models").TypedAction<"[Editor] Save record failure">)> & import("@ngrx/effects").CreateEffectMetadata;
14
14
  markAsChanged$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Mark record as changed">> & import("@ngrx/effects").CreateEffectMetadata;
15
- saveRecordDraft$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
15
+ saveRecordDraft$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Draft save success">> & import("@ngrx/effects").CreateEffectMetadata;
16
16
  checkHasChangesOnOpen$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Mark record as changed">> & import("@ngrx/effects").CreateEffectMetadata;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorEffects, never>;
18
18
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorEffects>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.effects.ts"],"names":[],"mappings":";AAUA,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,aAAa,CAAwB;IAC7C,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,KAAK,CAAgB;IAE7B,WAAW;;;;;;sIA6BV;IAED,cAAc,4JAKb;IAED,gBAAgB,iFASf;IAED,sBAAsB,4JASrB;yCAhEU,aAAa;6CAAb,aAAa;CAiEzB"}
1
+ {"version":3,"file":"editor.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.effects.ts"],"names":[],"mappings":";AAcA,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,aAAa,CAAwB;IAC7C,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,KAAK,CAAgB;IAE7B,WAAW;;;;;;sIAgCV;IAED,cAAc,4JAKb;IAED,gBAAgB,wJAQf;IAED,sBAAsB,4JASrB;yCAlEU,aAAa;6CAAb,aAAa;CAmEzB"}
@@ -14,6 +14,7 @@ export declare class EditorFacade {
14
14
  config: import("../models/fields.model").EditorFieldConfig;
15
15
  value: any;
16
16
  }[]>;
17
+ draftSaveSuccess$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Draft save success">>;
17
18
  openRecord(record: CatalogRecord, recordSource: string, alreadySavedOnce: boolean): void;
18
19
  saveRecord(): void;
19
20
  updateRecordField(field: string, value: unknown): void;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAIzF,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,2CAAwD;IAC/D,aAAa,oCAA8D;IAC3E,iBAAiB,qCAEhB;IACD,OAAO,qCAA8D;IACrE,UAAU,oCAGT;IACD,YAAY,0GAA8D;IAC1E,iBAAiB,qCAEhB;IACD,aAAa;;;SAA8D;IAE3E,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,OAAO;IAO3B,UAAU;IAIV,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;yCAlCpC,YAAY;6CAAZ,YAAY;CAqCxB"}
1
+ {"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAIzF,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,2CAAwD;IAC/D,aAAa,oCAA8D;IAC3E,iBAAiB,qCAEhB;IACD,OAAO,qCAA8D;IACrE,UAAU,oCAGT;IACD,YAAY,0GAA8D;IAC1E,iBAAiB,qCAEhB;IACD,aAAa;;;SAA8D;IAC3E,iBAAiB,yGAA6D;IAE9E,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,OAAO;IAO3B,UAAU;IAIV,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;yCAnCpC,YAAY;6CAAZ,YAAY;CAsCxB"}
@@ -1,35 +1,25 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
1
  import { FormControl } from '@angular/forms';
3
- import { KeywordType, ThesaurusModel } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus';
4
2
  import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
5
- import { Observable } from 'rxjs';
3
+ import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
6
4
  import * as i0 from "@angular/core";
7
- export declare class FormFieldKeywordsComponent implements OnInit {
5
+ type AutocompleteItem = {
6
+ title: string;
7
+ value: Keyword;
8
+ };
9
+ export declare class FormFieldKeywordsComponent {
8
10
  private platformService;
9
- control: FormControl<any>;
10
- itemSelected: EventEmitter<string>;
11
- inputSubmitted: EventEmitter<string>;
12
- searchInputValue$: Observable<void | {
11
+ control: FormControl<Keyword[]>;
12
+ displayWithFn: (item: AutocompleteItem) => string;
13
+ autoCompleteAction: (query: string) => import("rxjs").Observable<{
13
14
  title: string;
14
- }>;
15
- allThesaurus$: Observable<any[]>;
16
- displayWithFn: (item: any) => string;
17
- autoCompleteAction: (query: string) => Observable<{
18
- title: string;
19
- value: ThesaurusModel;
15
+ value: Keyword;
20
16
  }[]>;
21
17
  constructor(platformService: PlatformServiceInterface);
22
- ngOnInit(): void;
23
- handleItemSelection(item: any): void;
24
- handleInputSubmission(any: string): void;
25
- handleInputCleared(): Promise<void>;
26
- addKeyword(item: {
27
- label: string;
28
- thesaurus: ThesaurusModel;
29
- type: KeywordType;
30
- }): void;
18
+ handleItemSelection(item: AutocompleteItem): void;
19
+ addKeyword(keyword: Keyword): void;
31
20
  removeKeyword(index: number): void;
32
21
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; }, never, never, true, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
34
23
  }
24
+ export {};
35
25
  //# sourceMappingURL=form-field-keywords.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,WAAW,EACX,cAAc,EACf,MAAM,uEAAuE,CAAA;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAM3H,OAAO,EAAE,UAAU,EAAO,MAAM,MAAM,CAAA;;AAEtC,qBAaa,0BAA2B,YAAW,MAAM;IA0B3C,OAAO,CAAC,eAAe;IAzB1B,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IACxB,YAAY,uBAA6B;IACzC,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC,IAAI,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvD,aAAa,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAA;IAEhC,aAAa,wBAKZ;IAED,kBAAkB,UAAW,MAAM;;;SAUlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,QAAQ,IAAI,IAAI;IAKhB,mBAAmB,CAAC,IAAI,KAAA;IAQxB,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAU3B,kBAAkB;IAIxB,UAAU,CAAC,IAAI,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,cAAc,CAAA;QACzB,IAAI,EAAE,WAAW,CAAA;KAClB;IAmBD,aAAa,CAAC,KAAK,EAAE,MAAM;yCA9EhB,0BAA0B;2CAA1B,0BAA0B;CAmFtC"}
1
+ {"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAQ3H,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;;AAE5F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAca,0BAA0B;IAiBzB,OAAO,CAAC,eAAe;IAhB1B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAQlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAmB3B,aAAa,CAAC,KAAK,EAAE,MAAM;yCA1ChB,0BAA0B;2CAA1B,0BAA0B;CA+CtC"}
@@ -1,20 +1,20 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
+ import { DropdownChoice } from '../../../../../../../../../libs/ui/inputs/src';
3
4
  import { TranslateService } from '@ngx-translate/core';
5
+ import { UpdateFrequency } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class FormFieldUpdateFrequencyComponent implements OnInit {
6
8
  private translateService;
7
- control: FormControl;
9
+ control: FormControl<UpdateFrequency>;
10
+ protected choices: DropdownChoice[];
8
11
  get planned(): boolean;
9
12
  constructor(translateService: TranslateService);
10
- ngOnInit(): void;
13
+ ngOnInit(): Promise<void>;
11
14
  onPlannedToggled(): void;
12
15
  get selectedFrequency(): string;
13
16
  onSelectFrequencyValue(value: unknown): void;
14
- choices: {
15
- value: string;
16
- label: any;
17
- }[];
17
+ private getInitialChoices;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldUpdateFrequencyComponent, never>;
19
19
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldUpdateFrequencyComponent, "gn-ui-form-field-update-frequency", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAM5C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEvE,qBAQa,iCAAkC,YAAW,MAAM;IAOlD,OAAO,CAAC,gBAAgB;IAN3B,OAAO,EAAE,WAAW,CAAA;IAE7B,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAmBR,gBAAgB;IAQhB,IAAI,iBAAiB,WAGpB;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;IAKrC,OAAO;;;QAyEN;yCAvHU,iCAAiC;2CAAjC,iCAAiC;CAwH7C"}
1
+ {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAEL,cAAc,EAEf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EACL,eAAe,EAEhB,MAAM,oEAAoE,CAAA;;AAG3E,qBAQa,iCAAkC,YAAW,MAAM;IASlD,OAAO,CAAC,gBAAgB;IAR3B,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAE9C,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,CAAK;IAExC,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEhD,QAAQ;IAuBd,gBAAgB;IAQhB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;YAQvB,iBAAiB;yCAxDpB,iCAAiC;2CAAjC,iCAAiC;CA4H7C"}
@@ -2,9 +2,10 @@ import { ElementRef } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { FormFieldConfig } from './form-field.model';
5
+ import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FormFieldComponent {
7
- model: string;
8
+ model: CatalogRecordKeys;
8
9
  config: FormFieldConfig;
9
10
  set value(v: unknown);
10
11
  valueChange: Observable<unknown>;
@@ -12,21 +13,15 @@ export declare class FormFieldComponent {
12
13
  formControl: FormControl<any>;
13
14
  constructor();
14
15
  focusTitleInput(): void;
15
- get simpleType(): "number" | "text" | "url" | "date" | "toggle" | "list";
16
- get isSimpleField(): boolean;
17
- get isFileField(): boolean;
18
- get isSpatialExtentField(): boolean;
19
- get isArrayField(): boolean;
20
- get isObjectField(): boolean;
21
- get isFieldOk(): boolean;
22
- get isFieldLocked(): boolean;
23
- get isFieldInvalid(): boolean;
24
16
  get isTitle(): boolean;
25
17
  get isAbstract(): boolean;
26
18
  get isLicenses(): boolean;
27
19
  get isResourceUpdated(): boolean;
28
20
  get isUpdateFrequency(): boolean;
29
21
  get isTemporalExtents(): boolean;
22
+ get isSpatialExtentField(): boolean;
23
+ get isSimpleField(): boolean;
24
+ get isReadOnly(): boolean;
30
25
  get isKeywords(): boolean;
31
26
  get withoutWrapper(): boolean;
32
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;AAIpD,qBA2Ba,kBAAkB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,UAAU,2DAQb;IAED,IAAI,aAAa,YAShB;IACD,IAAI,WAAW,YAEd;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,YAAY,YAEf;IACD,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,YAEZ;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,cAAc,YAEjB;IAED,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAzFU,kBAAkB;2CAAlB,kBAAkB;CA0F9B"}
1
+ {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;;AAGnG,qBA2Ba,kBAAkB;IACpB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAvDU,kBAAkB;2CAAlB,kBAAkB;CAwD9B"}
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class EditorService {
7
7
  private recordsRepository;
8
8
  constructor(recordsRepository: RecordsRepositoryInterface);
9
- saveRecord(record: CatalogRecord, fieldsConfig: EditorFieldsConfig): Observable<[CatalogRecord, string]>;
9
+ saveRecord(record: CatalogRecord, fieldsConfig: EditorFieldsConfig, generateNewUniqueIdentifier?: boolean): Observable<[CatalogRecord, string]>;
10
10
  saveRecordAsDraft(record: CatalogRecord): Observable<void>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
12
12
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,kBAAkB,GAC/B,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAoBtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCA3B/C,aAAa;6CAAb,aAAa;CAgCzB"}
1
+ {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,kBAAkB,EAChC,2BAA2B,UAAQ,GAClC,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAiCtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCAzC/C,aAAa;6CAAb,aAAa;CA8CzB"}
@@ -20,9 +20,10 @@ import * as i18 from "../../../../ui/widgets/src/lib/ui-widgets.module";
20
20
  import * as i19 from "@ngx-translate/core";
21
21
  import * as i20 from "../../../../ui/dataviz/src/lib/table/table.component";
22
22
  import * as i21 from "../../../dataviz/src/lib/feature-dataviz.module";
23
+ import * as i22 from "../../../../ui/widgets/src/lib/popup-alert/popup-alert.component";
23
24
  export declare class FeatureRecordModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureRecordModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule, typeof i22.PopupAlertComponent], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureRecordModule>;
27
28
  }
28
29
  //# sourceMappingURL=feature-record.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAmCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAoCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -19,9 +19,10 @@ import * as i17 from "../../../../ui/elements/src/lib/ui-elements.module";
19
19
  import * as i18 from "./facets/facets.module";
20
20
  import * as i19 from "@angular/material/icon";
21
21
  import * as i20 from "../../../../ui/widgets/src/lib/ui-widgets.module";
22
+ import * as i21 from "../../../../ui/inputs/src/lib/autocomplete/autocomplete.component";
22
23
  export declare class FeatureSearchModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureSearchModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.AutocompleteComponent], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
26
27
  }
27
28
  //# sourceMappingURL=feature-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0BA,qBA+Ca,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0BA,qBAgDa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAe/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAhBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IAChB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA4B;IAE5E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;yCAnDb,oBAAoB;2CAApB,oBAAoB;CA2DhC"}
1
+ {"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAe/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAhBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IAChB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA2B;IAE3E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;yCAnDb,oBAAoB;2CAApB,oBAAoB;CA2DhC"}
@@ -11,6 +11,8 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
11
11
  value?: AutocompleteItem;
12
12
  clearOnSelection: boolean;
13
13
  autoFocus: boolean;
14
+ minCharacterCount?: number;
15
+ allowSubmit: boolean;
14
16
  itemSelected: EventEmitter<unknown>;
15
17
  inputSubmitted: EventEmitter<string>;
16
18
  inputCleared: EventEmitter<void>;
@@ -18,14 +20,15 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
18
20
  autocomplete: MatAutocomplete;
19
21
  inputRef: ElementRef<HTMLInputElement>;
20
22
  searching: boolean;
21
- suggestions$: Observable<AutocompleteItem[]>;
22
23
  control: UntypedFormControl;
23
- subscription: Subscription;
24
24
  cancelEnter: boolean;
25
25
  selectionSubject: ReplaySubject<MatAutocompleteSelectedEvent>;
26
26
  lastInputValue$: ReplaySubject<string>;
27
27
  error: string | null;
28
- displayWithFn: (AutocompleteItem: any) => string;
28
+ suggestions$: Observable<AutocompleteItem[]>;
29
+ subscription: Subscription;
30
+ displayWithFn: (item: AutocompleteItem) => string;
31
+ displayWithFnInternal: (item?: AutocompleteItem) => string;
29
32
  constructor(cdRef: ChangeDetectorRef);
30
33
  ngOnChanges(changes: SimpleChanges): void;
31
34
  ngOnInit(): void;
@@ -37,6 +40,6 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
37
40
  handleClickSearch(): void;
38
41
  handleSelection(event: MatAutocompleteSelectedEvent): void;
39
42
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
41
44
  }
42
45
  //# sourceMappingURL=autocomplete.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EACL,eAAe,EACf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAS,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAczE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAMa,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAyB1C,OAAO,CAAC,KAAK;IAvBhB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,SAAS,UAAQ;IAChB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,OAAO,qBAA2B;IAClC,YAAY,eAAqB;IACjC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAElB,aAAa,EAAE,CAAC,gBAAgB,KAAA,KAAK,MAAM,CAAiB;gBAEjD,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAgChB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IAUb,WAAW,CAAC,GAAG,EAAE,MAAM;IAOvB,iBAAiB;IAKjB,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAjHxC,qBAAqB;2CAArB,qBAAqB;CA0HjC"}
1
+ {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAiBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAea,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAiC1C,OAAO,CAAC,KAAK;IA/BhB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IACtB,WAAW,UAAO;IACjB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAkEhB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IASb,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,iBAAiB;IAIjB,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAxJxC,qBAAqB;2CAArB,qBAAqB;CAiKjC"}
@@ -1,42 +1,41 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./autocomplete/autocomplete.component";
3
- import * as i2 from "./text-input/text-input.component";
4
- import * as i3 from "./drag-and-drop-file-input/drag-and-drop-file-input.component";
5
- import * as i4 from "./chips-input/chips-input.component";
6
- import * as i5 from "./navigation-button/navigation-button.component";
7
- import * as i6 from "./star-toggle/star-toggle.component";
8
- import * as i7 from "./dropdown-multiselect/dropdown-multiselect.component";
9
- import * as i8 from "./viewport-intersector/viewport-intersector.component";
10
- import * as i9 from "./copy-text-button/copy-text-button.component";
11
- import * as i10 from "./checkbox/checkbox.component";
12
- import * as i11 from "./search-input/search-input.component";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "@ngx-translate/core";
15
- import * as i14 from "ngx-dropzone";
16
- import * as i15 from "@angular/forms";
17
- import * as i16 from "ngx-chips";
18
- import * as i17 from "../../../../util/shared/src/lib/util-shared.module";
19
- import * as i18 from "@angular/material/autocomplete";
20
- import * as i19 from "@angular/material/icon";
21
- import * as i20 from "../../../widgets/src/lib/ui-widgets.module";
22
- import * as i21 from "@angular/cdk/overlay";
23
- import * as i22 from "@angular/material/checkbox";
24
- import * as i23 from "@angular/material/tooltip";
25
- import * as i24 from "@angular/material/form-field";
26
- import * as i25 from "@angular/material/input";
27
- import * as i26 from "@angular/material/datepicker";
28
- import * as i27 from "@angular/material/core";
29
- import * as i28 from "./editable-label/editable-label.directive";
30
- import * as i29 from "./text-area/text-area.component";
31
- import * as i30 from "./button/button.component";
32
- import * as i31 from "./image-input/image-input.component";
33
- import * as i32 from "./dropdown-selector/dropdown-selector.component";
34
- import * as i33 from "./date-range-picker/date-range-picker.component";
35
- import * as i34 from "./check-toggle/check-toggle.component";
36
- import * as i35 from "./badge/badge.component";
2
+ import * as i1 from "./text-input/text-input.component";
3
+ import * as i2 from "./drag-and-drop-file-input/drag-and-drop-file-input.component";
4
+ import * as i3 from "./chips-input/chips-input.component";
5
+ import * as i4 from "./navigation-button/navigation-button.component";
6
+ import * as i5 from "./star-toggle/star-toggle.component";
7
+ import * as i6 from "./dropdown-multiselect/dropdown-multiselect.component";
8
+ import * as i7 from "./viewport-intersector/viewport-intersector.component";
9
+ import * as i8 from "./copy-text-button/copy-text-button.component";
10
+ import * as i9 from "./checkbox/checkbox.component";
11
+ import * as i10 from "./search-input/search-input.component";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@ngx-translate/core";
14
+ import * as i13 from "ngx-dropzone";
15
+ import * as i14 from "@angular/forms";
16
+ import * as i15 from "ngx-chips";
17
+ import * as i16 from "../../../../util/shared/src/lib/util-shared.module";
18
+ import * as i17 from "@angular/material/autocomplete";
19
+ import * as i18 from "@angular/material/icon";
20
+ import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
21
+ import * as i20 from "@angular/cdk/overlay";
22
+ import * as i21 from "@angular/material/checkbox";
23
+ import * as i22 from "@angular/material/tooltip";
24
+ import * as i23 from "@angular/material/form-field";
25
+ import * as i24 from "@angular/material/input";
26
+ import * as i25 from "@angular/material/datepicker";
27
+ import * as i26 from "@angular/material/core";
28
+ import * as i27 from "./editable-label/editable-label.directive";
29
+ import * as i28 from "./text-area/text-area.component";
30
+ import * as i29 from "./button/button.component";
31
+ import * as i30 from "./image-input/image-input.component";
32
+ import * as i31 from "./dropdown-selector/dropdown-selector.component";
33
+ import * as i32 from "./date-range-picker/date-range-picker.component";
34
+ import * as i33 from "./check-toggle/check-toggle.component";
35
+ import * as i34 from "./badge/badge.component";
37
36
  export declare class UiInputsModule {
38
37
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
39
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.AutocompleteComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i9.CopyTextButtonComponent, typeof i10.CheckboxComponent, typeof i11.SearchInputComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.TagInputModule, typeof i17.UtilSharedModule, typeof i18.MatAutocompleteModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.OverlayModule, typeof i22.MatCheckboxModule, typeof i23.MatTooltipModule, typeof i24.MatFormFieldModule, typeof i25.MatInputModule, typeof i26.MatDatepickerModule, typeof i27.MatNativeDateModule, typeof i28.EditableLabelDirective, typeof i29.TextAreaComponent, typeof i30.ButtonComponent, typeof i31.ImageInputComponent, typeof i32.DropdownSelectorComponent, typeof i33.DateRangePickerComponent, typeof i34.CheckToggleComponent, typeof i35.BadgeComponent], [typeof i32.DropdownSelectorComponent, typeof i1.AutocompleteComponent, typeof i30.ButtonComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i29.TextAreaComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i34.CheckToggleComponent, typeof i9.CopyTextButtonComponent, typeof i10.CheckboxComponent, typeof i11.SearchInputComponent, typeof i33.DateRangePickerComponent, typeof i28.EditableLabelDirective, typeof i31.ImageInputComponent, typeof i35.BadgeComponent]>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.TextInputComponent, typeof i2.DragAndDropFileInputComponent, typeof i3.ChipsInputComponent, typeof i4.NavigationButtonComponent, typeof i5.StarToggleComponent, typeof i6.DropdownMultiselectComponent, typeof i7.ViewportIntersectorComponent, typeof i8.CopyTextButtonComponent, typeof i9.CheckboxComponent, typeof i10.SearchInputComponent], [typeof i11.CommonModule, typeof i12.TranslateModule, typeof i13.NgxDropzoneModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.TagInputModule, typeof i16.UtilSharedModule, typeof i17.MatAutocompleteModule, typeof i18.MatIconModule, typeof i19.UiWidgetsModule, typeof i20.OverlayModule, typeof i21.MatCheckboxModule, typeof i22.MatTooltipModule, typeof i23.MatFormFieldModule, typeof i24.MatInputModule, typeof i25.MatDatepickerModule, typeof i26.MatNativeDateModule, typeof i27.EditableLabelDirective, typeof i28.TextAreaComponent, typeof i29.ButtonComponent, typeof i30.ImageInputComponent, typeof i31.DropdownSelectorComponent, typeof i32.DateRangePickerComponent, typeof i33.CheckToggleComponent, typeof i34.BadgeComponent], [typeof i31.DropdownSelectorComponent, typeof i29.ButtonComponent, typeof i1.TextInputComponent, typeof i2.DragAndDropFileInputComponent, typeof i28.TextAreaComponent, typeof i3.ChipsInputComponent, typeof i4.NavigationButtonComponent, typeof i5.StarToggleComponent, typeof i6.DropdownMultiselectComponent, typeof i7.ViewportIntersectorComponent, typeof i33.CheckToggleComponent, typeof i8.CopyTextButtonComponent, typeof i9.CheckboxComponent, typeof i10.SearchInputComponent, typeof i32.DateRangePickerComponent, typeof i27.EditableLabelDirective, typeof i30.ImageInputComponent, typeof i34.BadgeComponent]>;
40
39
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
41
40
  }
42
41
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,qBA+Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -14,6 +14,6 @@ export declare class PopupAlertComponent implements OnInit {
14
14
  expand(): void;
15
15
  expandAndClose(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupAlertComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<PopupAlertComponent, "gn-ui-popup-alert", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupAlertComponent, "gn-ui-popup-alert", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
18
18
  }
19
19
  //# sourceMappingURL=popup-alert.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popup-alert.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,MAAM,EAEP,MAAM,eAAe,CAAA;;AAEtB,qBAMa,mBAAoB,YAAW,MAAM;IAQpC,OAAO,CAAC,cAAc;IAPzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAS;IAC5C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAQ;IACrB,OAAO,EAAE,UAAU,CAAA;IACzC,QAAQ,UAAQ;IAChB,OAAO,MAAO;gBAEM,cAAc,EAAE,iBAAiB;IAErD,IAAI,YAAY,WAGf;IAED,QAAQ;IAIR,MAAM;IAMN,cAAc;yCAzBH,mBAAmB;2CAAnB,mBAAmB;CAkC/B"}
1
+ {"version":3,"file":"popup-alert.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,MAAM,EAEP,MAAM,eAAe,CAAA;;AAItB,qBAQa,mBAAoB,YAAW,MAAM;IAQpC,OAAO,CAAC,cAAc;IAPzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAS;IAC5C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAQ;IACrB,OAAO,EAAE,UAAU,CAAA;IACzC,QAAQ,UAAQ;IAChB,OAAO,MAAO;gBAEM,cAAc,EAAE,iBAAiB;IAErD,IAAI,YAAY,WAGf;IAED,QAAQ;IAIR,MAAM;IAMN,cAAc;yCAzBH,mBAAmB;2CAAnB,mBAAmB;CAkC/B"}
@@ -3,19 +3,18 @@ import * as i1 from "./color-scale/color-scale.component";
3
3
  import * as i2 from "./progress-bar/progress-bar.component";
4
4
  import * as i3 from "./step-bar/step-bar.component";
5
5
  import * as i4 from "./loading-mask/loading-mask.component";
6
- import * as i5 from "./popup-alert/popup-alert.component";
7
- import * as i6 from "./spinning-loader/spinning-loader.component";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@ngx-translate/core";
10
- import * as i9 from "ngx-dropzone";
11
- import * as i10 from "@angular/forms";
12
- import * as i11 from "ngx-chips";
13
- import * as i12 from "../../../../util/shared/src/lib/util-shared.module";
14
- import * as i13 from "@angular/material/progress-spinner";
15
- import * as i14 from "@angular/material/icon";
6
+ import * as i5 from "./spinning-loader/spinning-loader.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@ngx-translate/core";
9
+ import * as i8 from "ngx-dropzone";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "ngx-chips";
12
+ import * as i11 from "../../../../util/shared/src/lib/util-shared.module";
13
+ import * as i12 from "@angular/material/progress-spinner";
14
+ import * as i13 from "@angular/material/icon";
16
15
  export declare class UiWidgetsModule {
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<UiWidgetsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiWidgetsModule, [typeof i1.ColorScaleComponent, typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.PopupAlertComponent, typeof i6.SpinningLoaderComponent], [typeof i7.CommonModule, typeof i8.TranslateModule, typeof i9.NgxDropzoneModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.TagInputModule, typeof i12.UtilSharedModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatIconModule], [typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.PopupAlertComponent, typeof i6.SpinningLoaderComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiWidgetsModule, [typeof i1.ColorScaleComponent, typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.SpinningLoaderComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.NgxDropzoneModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.TagInputModule, typeof i11.UtilSharedModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatIconModule], [typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.SpinningLoaderComponent]>;
19
18
  static ɵinj: i0.ɵɵInjectorDeclaration<UiWidgetsModule>;
20
19
  }
21
20
  //# sourceMappingURL=ui-widgets.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-widgets.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/widgets/src/lib/ui-widgets.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgBA,qBA4Ba,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
1
+ {"version":3,"file":"ui-widgets.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/widgets/src/lib/ui-widgets.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAeA,qBA0Ba,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.4.0-dev.656babc7",
3
+ "version": "2.4.0-dev.8f04e899",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -265,14 +265,13 @@ export class Gn4Repository implements RecordsRepositoryInterface {
265
265
  undefined,
266
266
  recordXml
267
267
  )
268
- .pipe(map(() => recordXml))
269
- ),
270
- tap(() => {
271
- // if saving was successful, the associated draft can be discarded
272
- window.localStorage.removeItem(
273
- this.getLocalStorageKeyForRecord(record.uniqueIdentifier)
274
- )
275
- })
268
+ .pipe(
269
+ map((response) => {
270
+ const metadataId = Object.keys(response.metadataInfos)[0]
271
+ return response.metadataInfos[metadataId][0].uuid
272
+ })
273
+ )
274
+ )
276
275
  )
277
276
  }
278
277
 
@@ -33,7 +33,7 @@ export abstract class RecordsRepositoryInterface {
33
33
  /**
34
34
  * @param record
35
35
  * @param referenceRecordSource
36
- * @returns Observable<string> Returns the source of the record as it was serialized when saved
36
+ * @returns Observable<string> Returns the unique identifier of the record as it was when saved
37
37
  */
38
38
  abstract saveRecord(
39
39
  record: CatalogRecord,
@@ -12,7 +12,7 @@ import {
12
12
  import { TableViewComponent } from './table-view/table-view.component'
13
13
  import { ChartViewComponent } from './chart-view/chart-view.component'
14
14
  import { TranslateModule } from '@ngx-translate/core'
15
- import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
15
+ import { PopupAlertComponent, UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
16
16
  import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
17
17
 
18
18
  @NgModule({
@@ -26,6 +26,7 @@ import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
26
26
  TranslateModule,
27
27
  ChartComponent,
28
28
  UiInputsModule,
29
+ PopupAlertComponent,
29
30
  ],
30
31
  declarations: [
31
32
  GeoTableViewComponent,
@@ -26,3 +26,5 @@ export const saveRecordFailure = createAction(
26
26
  '[Editor] Save record failure',
27
27
  props<{ error: SaveRecordError }>()
28
28
  )
29
+
30
+ export const draftSaveSuccess = createAction('[Editor] Draft save success')