geonetwork-ui 2.5.0-dev.4e621e7b5 → 2.5.0-dev.59720aa72

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 (137) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +2 -2
  2. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -8
  3. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  4. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
  5. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +4 -4
  6. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +2 -2
  7. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
  8. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -12
  9. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
  10. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -23
  11. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +3 -4
  12. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
  13. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +24 -5
  14. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +8 -6
  15. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -3
  16. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +7 -8
  17. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
  18. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  19. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +37 -2
  20. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +1 -6
  21. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +2 -7
  22. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  23. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -6
  24. package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +5 -3
  25. package/esm2022/translations/de.json +1 -72
  26. package/esm2022/translations/en.json +1 -64
  27. package/esm2022/translations/es.json +0 -71
  28. package/esm2022/translations/fr.json +1 -72
  29. package/esm2022/translations/it.json +1 -72
  30. package/esm2022/translations/nl.json +0 -71
  31. package/esm2022/translations/pt.json +0 -71
  32. package/fesm2022/geonetwork-ui.mjs +113 -695
  33. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  34. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  35. package/libs/feature/editor/src/index.d.ts +1 -0
  36. package/libs/feature/editor/src/index.d.ts.map +1 -1
  37. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +1 -0
  38. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  39. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -0
  40. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  41. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +1 -3
  42. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +1 -1
  43. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +2 -3
  44. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +1 -1
  45. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +4 -1
  46. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  47. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -2
  48. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  49. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  50. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  51. package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -1
  52. package/libs/ui/inputs/src/index.d.ts +0 -1
  53. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  54. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +16 -1
  55. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  56. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +27 -28
  57. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  58. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -3
  59. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
  60. package/libs/ui/widgets/src/index.d.ts +0 -1
  61. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  62. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +8 -9
  63. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  64. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  65. package/package.json +1 -1
  66. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +1 -1
  67. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +3 -11
  68. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +90 -0
  69. package/src/libs/feature/editor/src/index.ts +1 -0
  70. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +3 -3
  71. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +1 -0
  72. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +10 -11
  73. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -0
  74. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -13
  75. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -20
  76. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -1
  77. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +24 -13
  78. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +23 -4
  79. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +71 -60
  80. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +4 -2
  81. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
  82. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
  83. package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +8 -8
  84. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +4 -6
  85. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +2 -2
  86. package/src/libs/ui/inputs/src/index.ts +0 -1
  87. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +42 -0
  88. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  89. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +1 -7
  90. package/src/libs/ui/widgets/src/index.ts +0 -1
  91. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -3
  92. package/src/libs/util/data-fetcher/src/lib/utils.ts +4 -2
  93. package/translations/de.json +1 -72
  94. package/translations/en.json +1 -64
  95. package/translations/es.json +0 -71
  96. package/translations/fr.json +1 -72
  97. package/translations/it.json +1 -72
  98. package/translations/nl.json +0 -71
  99. package/translations/pt.json +0 -71
  100. package/translations/sk.json +0 -71
  101. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +0 -78
  102. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +0 -55
  103. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts +0 -33
  104. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +0 -1
  105. package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts +0 -21
  106. package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts.map +0 -1
  107. package/src/libs/data-access/datafeeder/src/index.ts +0 -1
  108. package/src/libs/data-access/datafeeder/src/openapi/api/api.ts +0 -11
  109. package/src/libs/data-access/datafeeder/src/openapi/api/config.api.service.ts +0 -168
  110. package/src/libs/data-access/datafeeder/src/openapi/api/dataPublishing.api.service.ts +0 -270
  111. package/src/libs/data-access/datafeeder/src/openapi/api/fileUpload.api.service.ts +0 -734
  112. package/src/libs/data-access/datafeeder/src/openapi/api.module.ts +0 -46
  113. package/src/libs/data-access/datafeeder/src/openapi/configuration.ts +0 -125
  114. package/src/libs/data-access/datafeeder/src/openapi/encoder.ts +0 -20
  115. package/src/libs/data-access/datafeeder/src/openapi/index.ts +0 -5
  116. package/src/libs/data-access/datafeeder/src/openapi/model/analysisStatusEnum.api.model.ts +0 -24
  117. package/src/libs/data-access/datafeeder/src/openapi/model/boundingBox.api.model.ts +0 -20
  118. package/src/libs/data-access/datafeeder/src/openapi/model/cRS.api.model.ts +0 -25
  119. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +0 -45
  120. package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishRequest.api.model.ts +0 -39
  121. package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishingStatus.api.model.ts +0 -50
  122. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +0 -39
  123. package/src/libs/data-access/datafeeder/src/openapi/model/models.ts +0 -13
  124. package/src/libs/data-access/datafeeder/src/openapi/model/property.api.model.ts +0 -17
  125. package/src/libs/data-access/datafeeder/src/openapi/model/publishJobStatus.api.model.ts +0 -33
  126. package/src/libs/data-access/datafeeder/src/openapi/model/publishRequest.api.model.ts +0 -16
  127. package/src/libs/data-access/datafeeder/src/openapi/model/publishStatusEnum.api.model.ts +0 -20
  128. package/src/libs/data-access/datafeeder/src/openapi/model/publishStepEnum.api.model.ts +0 -42
  129. package/src/libs/data-access/datafeeder/src/openapi/model/uploadJobStatus.api.model.ts +0 -33
  130. package/src/libs/data-access/datafeeder/src/openapi/variables.ts +0 -9
  131. package/src/libs/data-access/datafeeder/src/spec.yaml +0 -537
  132. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.css +0 -36
  133. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.html +0 -23
  134. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +0 -81
  135. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.css +0 -3
  136. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.html +0 -13
  137. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +0 -55
@@ -1,55 +0,0 @@
1
- import { ChangeDetectorRef, Component, Input } from '@angular/core'
2
-
3
- interface ColorScheme {
4
- outerBar: string
5
- innerBar: string
6
- }
7
-
8
- @Component({
9
- selector: 'gn-ui-step-bar',
10
- templateUrl: './step-bar.component.html',
11
- styleUrls: ['./step-bar.component.css'],
12
- })
13
- export class StepBarComponent {
14
- @Input() steps
15
- @Input() currentStep = 1
16
- @Input() type: 'primary' | 'secondary' | 'default' = 'default'
17
-
18
- constructor(private cdr: ChangeDetectorRef) {}
19
-
20
- get stepCounter() {
21
- return new Array(this.steps)
22
- }
23
-
24
- get color(): ColorScheme {
25
- switch (this.type) {
26
- case 'default':
27
- return {
28
- outerBar: 'bg-gray-200',
29
- innerBar: 'bg-gray-100',
30
- }
31
- case 'primary':
32
- return {
33
- outerBar: 'bg-primary',
34
- innerBar: 'bg-primary-lighter',
35
- }
36
- case 'secondary':
37
- return {
38
- outerBar: 'bg-secondary',
39
- innerBar: 'bg-secondary-lighter',
40
- }
41
- }
42
- }
43
-
44
- getCircleColor(index: number): string {
45
- return index === this.currentStep
46
- ? 'bg-black'
47
- : index < this.currentStep
48
- ? 'bg-white'
49
- : this.color.innerBar
50
- }
51
-
52
- getChecked(index: number): boolean {
53
- return index + 1 < this.currentStep
54
- }
55
- }