geonetwork-ui 2.5.0-dev.a538998f8 → 2.5.0-dev.aed8e2abc
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.
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +11 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +20 -17
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +25 -9
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +7 -4
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +8 -8
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +7 -4
- package/esm2022/libs/feature/editor/src/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
- 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 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -23
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +3 -4
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +25 -5
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +10 -7
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +4 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -2
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +9 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +19 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +6 -1
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +15 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +1 -1
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +78 -0
- package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +32 -31
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +23 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +94 -8
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +1 -6
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +6 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +14 -4
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +10 -3
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +10 -3
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -6
- package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +5 -4
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base-cache.mjs +12 -0
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +3 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +5 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +2 -2
- package/esm2022/libs/util/data-fetcher/src/lib/readers/wfs.mjs +19 -11
- package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +13 -9
- package/esm2022/translations/de.json +5 -77
- package/esm2022/translations/en.json +5 -77
- package/esm2022/translations/es.json +3 -75
- package/esm2022/translations/fr.json +17 -89
- package/esm2022/translations/it.json +22 -93
- package/esm2022/translations/nl.json +3 -75
- package/esm2022/translations/pt.json +3 -75
- package/fesm2022/geonetwork-ui.mjs +631 -933
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +3 -0
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -0
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +2 -2
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +2 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- 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
- 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
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +1 -3
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +2 -3
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +5 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -2
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +16 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +5 -0
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +4 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +5 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts +16 -0
- package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts +5 -6
- package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +0 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +23 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +27 -28
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -2
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +3 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +8 -9
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts +8 -0
- package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts.map +1 -0
- package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/base.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/readers/base.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/gml.d.ts +5 -3
- package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts +7 -4
- package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/utils.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +25 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +4 -0
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +22 -16
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +44 -13
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +4 -1
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +165 -0
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +4 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +22 -9
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -1
- package/src/libs/feature/editor/src/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -0
- 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
- 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 -10
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -13
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -20
- package/src/libs/feature/editor/src/lib/fields.config.ts +1 -1
- package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +24 -11
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +26 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +71 -60
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +6 -3
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +16 -0
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +21 -2
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -0
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +30 -1
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +12 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +3 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +7 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +3 -1
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.css +0 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +25 -0
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +70 -0
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +20 -14
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +29 -32
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +21 -9
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +13 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +36 -19
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +91 -2
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +3 -2
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +1 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +37 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +8 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +2 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +6 -0
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +36 -11
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +9 -1
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -3
- package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +13 -4
- package/src/libs/util/data-fetcher/src/lib/readers/base-cache.ts +14 -0
- package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +2 -1
- package/src/libs/util/data-fetcher/src/lib/readers/base.ts +2 -2
- package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +7 -7
- package/src/libs/util/data-fetcher/src/lib/readers/json.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +34 -11
- package/src/libs/util/data-fetcher/src/lib/utils.ts +38 -32
- package/translations/de.json +5 -77
- package/translations/en.json +5 -77
- package/translations/es.json +3 -75
- package/translations/fr.json +17 -89
- package/translations/it.json +22 -93
- package/translations/nl.json +3 -75
- package/translations/pt.json +3 -75
- package/translations/sk.json +3 -75
- package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +0 -78
- package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +0 -55
- package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts +0 -33
- package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +0 -1
- package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts +0 -21
- package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts.map +0 -1
- package/src/libs/data-access/datafeeder/src/index.ts +0 -1
- package/src/libs/data-access/datafeeder/src/openapi/api/api.ts +0 -11
- package/src/libs/data-access/datafeeder/src/openapi/api/config.api.service.ts +0 -168
- package/src/libs/data-access/datafeeder/src/openapi/api/dataPublishing.api.service.ts +0 -270
- package/src/libs/data-access/datafeeder/src/openapi/api/fileUpload.api.service.ts +0 -734
- package/src/libs/data-access/datafeeder/src/openapi/api.module.ts +0 -46
- package/src/libs/data-access/datafeeder/src/openapi/configuration.ts +0 -125
- package/src/libs/data-access/datafeeder/src/openapi/encoder.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/index.ts +0 -5
- package/src/libs/data-access/datafeeder/src/openapi/model/analysisStatusEnum.api.model.ts +0 -24
- package/src/libs/data-access/datafeeder/src/openapi/model/boundingBox.api.model.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/model/cRS.api.model.ts +0 -25
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +0 -45
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishRequest.api.model.ts +0 -39
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishingStatus.api.model.ts +0 -50
- package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +0 -39
- package/src/libs/data-access/datafeeder/src/openapi/model/models.ts +0 -13
- package/src/libs/data-access/datafeeder/src/openapi/model/property.api.model.ts +0 -17
- package/src/libs/data-access/datafeeder/src/openapi/model/publishJobStatus.api.model.ts +0 -33
- package/src/libs/data-access/datafeeder/src/openapi/model/publishRequest.api.model.ts +0 -16
- package/src/libs/data-access/datafeeder/src/openapi/model/publishStatusEnum.api.model.ts +0 -20
- package/src/libs/data-access/datafeeder/src/openapi/model/publishStepEnum.api.model.ts +0 -42
- package/src/libs/data-access/datafeeder/src/openapi/model/uploadJobStatus.api.model.ts +0 -33
- package/src/libs/data-access/datafeeder/src/openapi/variables.ts +0 -9
- package/src/libs/data-access/datafeeder/src/spec.yaml +0 -537
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.css +0 -36
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.html +0 -23
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +0 -81
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.css +0 -3
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.html +0 -13
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +0 -55
package/translations/pt.json
CHANGED
|
@@ -20,8 +20,6 @@
|
|
|
20
20
|
"chart.type.lineSmooth": "gráfico de linha suave",
|
|
21
21
|
"chart.type.pie": "gráfico de pizza",
|
|
22
22
|
"dashboard.catalog.allRecords": "",
|
|
23
|
-
"dashboard.catalog.contacts": "",
|
|
24
|
-
"dashboard.catalog.thesaurus": "",
|
|
25
23
|
"dashboard.createRecord": "",
|
|
26
24
|
"dashboard.importRecord": "",
|
|
27
25
|
"dashboard.importRecord.importExternal": "",
|
|
@@ -34,29 +32,10 @@
|
|
|
34
32
|
"dashboard.records.myDraft": "Meus rascunhos",
|
|
35
33
|
"dashboard.records.myRecords": "Meus Registros",
|
|
36
34
|
"dashboard.records.search": "Buscar por \"{searchText}\"",
|
|
37
|
-
"dashboard.records.templates": "",
|
|
38
35
|
"dashboard.records.userDetail": "",
|
|
39
36
|
"dashboard.records.userEmail": "",
|
|
40
37
|
"dashboard.records.username": "",
|
|
41
38
|
"dashboard.records.users": "",
|
|
42
|
-
"datafeeder.analysisProgressBar.illustration.fileFormatDetection": "",
|
|
43
|
-
"datafeeder.analysisProgressBar.illustration.gatheringDatasetInformation": "",
|
|
44
|
-
"datafeeder.analysisProgressBar.illustration.samplingData": "",
|
|
45
|
-
"datafeeder.analysisProgressBar.subtitle": "",
|
|
46
|
-
"datafeeder.analysisProgressBar.title": "",
|
|
47
|
-
"datafeeder.datasetValidation.datasetInformation": "",
|
|
48
|
-
"datafeeder.datasetValidation.submitButton": "",
|
|
49
|
-
"datafeeder.datasetValidation.title": "",
|
|
50
|
-
"datafeeder.datasetValidation.unknown": "",
|
|
51
|
-
"datafeeder.datasetValidationCsv.explicitLineNumbers": "",
|
|
52
|
-
"datafeeder.datasetValidationCsv.lineNumbers": "",
|
|
53
|
-
"datafeeder.form.abstract": "",
|
|
54
|
-
"datafeeder.form.datepicker": "",
|
|
55
|
-
"datafeeder.form.description": "",
|
|
56
|
-
"datafeeder.form.dropdown": "",
|
|
57
|
-
"datafeeder.form.tags": "",
|
|
58
|
-
"datafeeder.form.title": "",
|
|
59
|
-
"datafeeder.formsPage.title": "",
|
|
60
39
|
"datafeeder.month.april": "",
|
|
61
40
|
"datafeeder.month.august": "",
|
|
62
41
|
"datafeeder.month.december": "",
|
|
@@ -69,59 +48,6 @@
|
|
|
69
48
|
"datafeeder.month.november": "",
|
|
70
49
|
"datafeeder.month.october": "",
|
|
71
50
|
"datafeeder.month.september": "",
|
|
72
|
-
"datafeeder.publish.hint": "",
|
|
73
|
-
"datafeeder.publish.illustration.title": "",
|
|
74
|
-
"datafeeder.publish.subtitle": "",
|
|
75
|
-
"datafeeder.publish.title": "",
|
|
76
|
-
"datafeeder.publish.upload": "",
|
|
77
|
-
"datafeeder.publishSuccess.geonetworkRecord": "",
|
|
78
|
-
"datafeeder.publishSuccess.illustration.title": "",
|
|
79
|
-
"datafeeder.publishSuccess.mapViewer": "",
|
|
80
|
-
"datafeeder.publishSuccess.ogcFeature": "",
|
|
81
|
-
"datafeeder.publishSuccess.subtitle": "",
|
|
82
|
-
"datafeeder.publishSuccess.title": "",
|
|
83
|
-
"datafeeder.publishSuccess.uploadAnotherData": "",
|
|
84
|
-
"datafeeder.summarizePage.illustration": "",
|
|
85
|
-
"datafeeder.summarizePage.previous": "",
|
|
86
|
-
"datafeeder.summarizePage.submit": "",
|
|
87
|
-
"datafeeder.summarizePage.title": "",
|
|
88
|
-
"datafeeder.upload.acceptedFormats": "",
|
|
89
|
-
"datafeeder.upload.checkboxLabel": "",
|
|
90
|
-
"datafeeder.upload.error.subtitle.analysis": "",
|
|
91
|
-
"datafeeder.upload.error.subtitle.cantOpenFile": "",
|
|
92
|
-
"datafeeder.upload.error.subtitle.fileFormat": "",
|
|
93
|
-
"datafeeder.upload.error.subtitle.fileSize": "",
|
|
94
|
-
"datafeeder.upload.error.title.analysis": "",
|
|
95
|
-
"datafeeder.upload.error.title.cantOpenFile": "",
|
|
96
|
-
"datafeeder.upload.error.title.fileFormat": "",
|
|
97
|
-
"datafeeder.upload.error.title.fileHasntSelected": "",
|
|
98
|
-
"datafeeder.upload.error.title.fileSize": "",
|
|
99
|
-
"datafeeder.upload.error.title.noRightsToSendData": "",
|
|
100
|
-
"datafeeder.upload.illustration.enrichment": "",
|
|
101
|
-
"datafeeder.upload.illustration.import": "",
|
|
102
|
-
"datafeeder.upload.illustration.title": "",
|
|
103
|
-
"datafeeder.upload.illustration.validation": "",
|
|
104
|
-
"datafeeder.upload.illustration.verification": "",
|
|
105
|
-
"datafeeder.upload.inputLabel": "",
|
|
106
|
-
"datafeeder.upload.maxFileSize": "",
|
|
107
|
-
"datafeeder.upload.title": "",
|
|
108
|
-
"datafeeder.upload.uploadButton": "",
|
|
109
|
-
"datafeeder.validation.csv.delimiter": "",
|
|
110
|
-
"datafeeder.validation.csv.delimiter.comma": "",
|
|
111
|
-
"datafeeder.validation.csv.delimiter.semicolon": "",
|
|
112
|
-
"datafeeder.validation.csv.lat.field": "",
|
|
113
|
-
"datafeeder.validation.csv.lng.field": "",
|
|
114
|
-
"datafeeder.validation.csv.quote.double": "",
|
|
115
|
-
"datafeeder.validation.csv.quote.none": "",
|
|
116
|
-
"datafeeder.validation.csv.quote.simple": "",
|
|
117
|
-
"datafeeder.validation.csv.quoteChar": "",
|
|
118
|
-
"datafeeder.validation.encoding": "",
|
|
119
|
-
"datafeeder.validation.extent.title": "",
|
|
120
|
-
"datafeeder.validation.extent.title.unknown": "",
|
|
121
|
-
"datafeeder.validation.projection": "",
|
|
122
|
-
"datafeeder.validation.projection.unknown": "",
|
|
123
|
-
"datafeeder.validation.sample.title": "",
|
|
124
|
-
"datafeeder.wizard.emptyRequiredValuesMessage": "",
|
|
125
51
|
"datafeeder.wizardSummarize.createdAt": "",
|
|
126
52
|
"datafeeder.wizardSummarize.scale": "",
|
|
127
53
|
"datahub.header.datasets": "",
|
|
@@ -425,6 +351,7 @@
|
|
|
425
351
|
"record.action.download": "",
|
|
426
352
|
"record.action.duplicate": "",
|
|
427
353
|
"record.action.duplicating": "",
|
|
354
|
+
"record.action.rollback": "",
|
|
428
355
|
"record.action.view": "",
|
|
429
356
|
"record.externalViewer.open": "",
|
|
430
357
|
"record.feature.limit": "",
|
|
@@ -547,6 +474,8 @@
|
|
|
547
474
|
"search.error.recordNotFound": "",
|
|
548
475
|
"search.field.any.placeholder": "",
|
|
549
476
|
"search.field.sortBy": "",
|
|
477
|
+
"search.filters.availableServices.download": "",
|
|
478
|
+
"search.filters.availableServices.view": "",
|
|
550
479
|
"search.filters.changeDate": "",
|
|
551
480
|
"search.filters.clear": "",
|
|
552
481
|
"search.filters.contact": "",
|
|
@@ -602,7 +531,6 @@
|
|
|
602
531
|
"tooltip.url.open": "",
|
|
603
532
|
"ui.readLess": "",
|
|
604
533
|
"ui.readMore": "",
|
|
605
|
-
"wfs.aggregations.notsupported": "",
|
|
606
534
|
"wfs.feature.limit": "",
|
|
607
535
|
"wfs.featuretype.notfound": "",
|
|
608
536
|
"wfs.geojsongml.notsupported": "",
|
package/translations/sk.json
CHANGED
|
@@ -20,8 +20,6 @@
|
|
|
20
20
|
"chart.type.lineSmooth": "vyhladený čiarový graf",
|
|
21
21
|
"chart.type.pie": "koláčový graf",
|
|
22
22
|
"dashboard.catalog.allRecords": "",
|
|
23
|
-
"dashboard.catalog.contacts": "",
|
|
24
|
-
"dashboard.catalog.thesaurus": "",
|
|
25
23
|
"dashboard.createRecord": "",
|
|
26
24
|
"dashboard.importRecord": "",
|
|
27
25
|
"dashboard.importRecord.importExternal": "",
|
|
@@ -34,29 +32,10 @@
|
|
|
34
32
|
"dashboard.records.myDraft": "Moje koncepty",
|
|
35
33
|
"dashboard.records.myRecords": "Moje záznamy",
|
|
36
34
|
"dashboard.records.search": "Hľadať \"{searchText}\"",
|
|
37
|
-
"dashboard.records.templates": "",
|
|
38
35
|
"dashboard.records.userDetail": "Meno",
|
|
39
36
|
"dashboard.records.userEmail": "Email",
|
|
40
37
|
"dashboard.records.username": "Užívateľské meno",
|
|
41
38
|
"dashboard.records.users": "{count, plural, =1{užívateľ} other{užívatelia}}",
|
|
42
|
-
"datafeeder.analysisProgressBar.illustration.fileFormatDetection": "Detekcia formátu súboru",
|
|
43
|
-
"datafeeder.analysisProgressBar.illustration.gatheringDatasetInformation": "Zbieranie informácií o datasete",
|
|
44
|
-
"datafeeder.analysisProgressBar.illustration.samplingData": "Vzorkovanie dát",
|
|
45
|
-
"datafeeder.analysisProgressBar.subtitle": "Analýza môže trvať niekoľko minút, prosím čakajte.",
|
|
46
|
-
"datafeeder.analysisProgressBar.title": "Analýza prebieha",
|
|
47
|
-
"datafeeder.datasetValidation.datasetInformation": "Poskytnutý dataset obsahuje {number} entít",
|
|
48
|
-
"datafeeder.datasetValidation.submitButton": "OK, moje dáta sú správne",
|
|
49
|
-
"datafeeder.datasetValidation.title": "Uistite sa, že dáta sú správne",
|
|
50
|
-
"datafeeder.datasetValidation.unknown": " - ",
|
|
51
|
-
"datafeeder.datasetValidationCsv.explicitLineNumbers": "",
|
|
52
|
-
"datafeeder.datasetValidationCsv.lineNumbers": "",
|
|
53
|
-
"datafeeder.form.abstract": "Ako by ste opísali Váš dataset?",
|
|
54
|
-
"datafeeder.form.datepicker": "Viete, kedy bol dataset vytvorený?",
|
|
55
|
-
"datafeeder.form.description": "Nakoniec popíšte proces, ktorý bol použitý na vytvorenie datasetu",
|
|
56
|
-
"datafeeder.form.dropdown": "Pre akú mierku boli dáta vytvorené?",
|
|
57
|
-
"datafeeder.form.tags": "Vyberte jednu alebo viac značiek, ktoré sa hodia k datasetu",
|
|
58
|
-
"datafeeder.form.title": "Dajte svojmu datasetu najlepší názov",
|
|
59
|
-
"datafeeder.formsPage.title": "Povedzte nám viac o datasete",
|
|
60
39
|
"datafeeder.month.april": "Apríl",
|
|
61
40
|
"datafeeder.month.august": "August",
|
|
62
41
|
"datafeeder.month.december": "December",
|
|
@@ -69,59 +48,6 @@
|
|
|
69
48
|
"datafeeder.month.november": "November",
|
|
70
49
|
"datafeeder.month.october": "Október",
|
|
71
50
|
"datafeeder.month.september": "September",
|
|
72
|
-
"datafeeder.publish.hint": "Môžete bezpečne opustiť túto stránku, budete informovaní, keď bude proces dokončený",
|
|
73
|
-
"datafeeder.publish.illustration.title": "Ďalší dataset na publikovanie?",
|
|
74
|
-
"datafeeder.publish.subtitle": "Publikovanie môže trvať niekoľko minút.",
|
|
75
|
-
"datafeeder.publish.title": "Ďakujeme! Váš dataset sa publikuje",
|
|
76
|
-
"datafeeder.publish.upload": "Nahrať teraz",
|
|
77
|
-
"datafeeder.publishSuccess.geonetworkRecord": "Metadátový záznam",
|
|
78
|
-
"datafeeder.publishSuccess.illustration.title": "Hotovo, všetko je v poriadku!",
|
|
79
|
-
"datafeeder.publishSuccess.mapViewer": "Prehliadač máp",
|
|
80
|
-
"datafeeder.publishSuccess.ogcFeature": "",
|
|
81
|
-
"datafeeder.publishSuccess.subtitle": "Pozrite si svoje dáta v:",
|
|
82
|
-
"datafeeder.publishSuccess.title": "Gratulujeme! Váš dataset bol publikovaný",
|
|
83
|
-
"datafeeder.publishSuccess.uploadAnotherData": "Nahrajte ďalší dataset",
|
|
84
|
-
"datafeeder.summarizePage.illustration": "žiadna chyba? poďme na to!",
|
|
85
|
-
"datafeeder.summarizePage.previous": "Predchádzajúci",
|
|
86
|
-
"datafeeder.summarizePage.submit": "Odoslať",
|
|
87
|
-
"datafeeder.summarizePage.title": "Už ste takmer tam...",
|
|
88
|
-
"datafeeder.upload.acceptedFormats": "Akceptované formáty súborov:",
|
|
89
|
-
"datafeeder.upload.checkboxLabel": "Mám práva na publikovanie tohto datasetu",
|
|
90
|
-
"datafeeder.upload.error.subtitle.analysis": "Skontrolujte, či súbor obsahuje platný geopriestorový dataset",
|
|
91
|
-
"datafeeder.upload.error.subtitle.cantOpenFile": "Skontrolujte, či je súbor platný",
|
|
92
|
-
"datafeeder.upload.error.subtitle.fileFormat": "Pamätajte: len formát SHP",
|
|
93
|
-
"datafeeder.upload.error.subtitle.fileSize": "Pamätajte: maximálne {size} MB",
|
|
94
|
-
"datafeeder.upload.error.title.analysis": "Chyba počas analýzy datasetu",
|
|
95
|
-
"datafeeder.upload.error.title.cantOpenFile": "Chyba pri otváraní súboru",
|
|
96
|
-
"datafeeder.upload.error.title.fileFormat": "Vybraný formát súboru nie je podporovaný",
|
|
97
|
-
"datafeeder.upload.error.title.fileHasntSelected": "Nebol vybraný žiadny súbor",
|
|
98
|
-
"datafeeder.upload.error.title.fileSize": "Veľkosť súboru je príliš veľká",
|
|
99
|
-
"datafeeder.upload.error.title.noRightsToSendData": "Nemáte povolenie publikovať tento dataset",
|
|
100
|
-
"datafeeder.upload.illustration.enrichment": "Úprava",
|
|
101
|
-
"datafeeder.upload.illustration.import": "Import",
|
|
102
|
-
"datafeeder.upload.illustration.title": "Pridávanie dát \n nikdy nebolo jednoduchšie",
|
|
103
|
-
"datafeeder.upload.illustration.validation": "Validácia",
|
|
104
|
-
"datafeeder.upload.illustration.verification": "Overenie",
|
|
105
|
-
"datafeeder.upload.inputLabel": "Importujte váš súbor",
|
|
106
|
-
"datafeeder.upload.maxFileSize": "Maximálna veľkosť súboru je {size} MB",
|
|
107
|
-
"datafeeder.upload.title": "Nahrajte svoj dataset",
|
|
108
|
-
"datafeeder.upload.uploadButton": "Nahrať",
|
|
109
|
-
"datafeeder.validation.csv.delimiter": "",
|
|
110
|
-
"datafeeder.validation.csv.delimiter.comma": "",
|
|
111
|
-
"datafeeder.validation.csv.delimiter.semicolon": "",
|
|
112
|
-
"datafeeder.validation.csv.lat.field": "",
|
|
113
|
-
"datafeeder.validation.csv.lng.field": "",
|
|
114
|
-
"datafeeder.validation.csv.quote.double": "",
|
|
115
|
-
"datafeeder.validation.csv.quote.none": "",
|
|
116
|
-
"datafeeder.validation.csv.quote.simple": "",
|
|
117
|
-
"datafeeder.validation.csv.quoteChar": "",
|
|
118
|
-
"datafeeder.validation.encoding": "kódovanie",
|
|
119
|
-
"datafeeder.validation.extent.title": "Tu je rozsah datasetu",
|
|
120
|
-
"datafeeder.validation.extent.title.unknown": "Systém projekcie je neznámy",
|
|
121
|
-
"datafeeder.validation.projection": "súradnicový referenčný systém:",
|
|
122
|
-
"datafeeder.validation.projection.unknown": "Vyberte súradnicový referenčný systém",
|
|
123
|
-
"datafeeder.validation.sample.title": "A vzorka entity z datasetu",
|
|
124
|
-
"datafeeder.wizard.emptyRequiredValuesMessage": "Vyplňte povinné polia",
|
|
125
51
|
"datafeeder.wizardSummarize.createdAt": "Vytvorené v",
|
|
126
52
|
"datafeeder.wizardSummarize.scale": "Mierka",
|
|
127
53
|
"datahub.header.datasets": "Datasety",
|
|
@@ -425,6 +351,7 @@
|
|
|
425
351
|
"record.action.download": "Stiahnuť",
|
|
426
352
|
"record.action.duplicate": "",
|
|
427
353
|
"record.action.duplicating": "",
|
|
354
|
+
"record.action.rollback": "",
|
|
428
355
|
"record.action.view": "Zobraziť",
|
|
429
356
|
"record.externalViewer.open": "Otvoriť v externom mapovom prehliadači",
|
|
430
357
|
"record.feature.limit": "",
|
|
@@ -547,6 +474,8 @@
|
|
|
547
474
|
"search.error.recordNotFound": "Záznam s identifikátorom \"{ id }\" sa nepodarilo nájsť.",
|
|
548
475
|
"search.field.any.placeholder": "Hľadať datasety ...",
|
|
549
476
|
"search.field.sortBy": "Zoradiť podľa:",
|
|
477
|
+
"search.filters.availableServices.download": "",
|
|
478
|
+
"search.filters.availableServices.view": "",
|
|
550
479
|
"search.filters.changeDate": "",
|
|
551
480
|
"search.filters.clear": "Obnoviť",
|
|
552
481
|
"search.filters.contact": "Kontakty",
|
|
@@ -602,7 +531,6 @@
|
|
|
602
531
|
"tooltip.url.open": "Otvoriť URL",
|
|
603
532
|
"ui.readLess": "Čítať menej",
|
|
604
533
|
"ui.readMore": "Čítať viac",
|
|
605
|
-
"wfs.aggregations.notsupported": "",
|
|
606
534
|
"wfs.feature.limit": "",
|
|
607
535
|
"wfs.featuretype.notfound": "V službe nebol nájdený žiadny zodpovedajúci typ funkcie",
|
|
608
536
|
"wfs.geojsongml.notsupported": "Táto služba nepodporuje formát GeoJSON alebo GML",
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Component, Input, Output } from '@angular/core';
|
|
3
|
-
import { LANG_2_TO_3_MAPPER } from '../../../../../../libs/util/i18n/src';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { Observable, of, Subject, Subscription } from 'rxjs';
|
|
6
|
-
import { distinctUntilChanged, map, shareReplay, tap } from 'rxjs/operators';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common/http";
|
|
9
|
-
import * as i2 from "@ngx-translate/core";
|
|
10
|
-
import * as i3 from "@angular/common";
|
|
11
|
-
import * as i4 from "@angular/forms";
|
|
12
|
-
import * as i5 from "ngx-chips";
|
|
13
|
-
export class ChipsInputComponent {
|
|
14
|
-
onChange(event) {
|
|
15
|
-
this.rawChange.next(event);
|
|
16
|
-
}
|
|
17
|
-
constructor(http, translate) {
|
|
18
|
-
this.http = http;
|
|
19
|
-
this.translate = translate;
|
|
20
|
-
this.required = false;
|
|
21
|
-
this.loadOnce = false;
|
|
22
|
-
this.autocompleteItems = [];
|
|
23
|
-
this.invalid = false;
|
|
24
|
-
this.items = [];
|
|
25
|
-
this.requestAutocompleteItems = (text) => {
|
|
26
|
-
if (this.url) {
|
|
27
|
-
if (this.loadOnce && this.loadedItems) {
|
|
28
|
-
return this.loadedItems;
|
|
29
|
-
}
|
|
30
|
-
const url = this.url(text);
|
|
31
|
-
const lang = LANG_2_TO_3_MAPPER[this.translate.currentLang.slice(0, 2)];
|
|
32
|
-
return this.http
|
|
33
|
-
.get(url.replace('${lang}', lang))
|
|
34
|
-
.pipe(map((item) => item.map((i) => i.values[lang])));
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return of(this.autocompleteItems || []);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
this.rawChange = new Subject();
|
|
41
|
-
this.itemsChange = this.rawChange.pipe(distinctUntilChanged());
|
|
42
|
-
this.subscription = new Subscription();
|
|
43
|
-
}
|
|
44
|
-
ngOnInit() {
|
|
45
|
-
if (this.loadOnce) {
|
|
46
|
-
this.loadedItems = this.requestAutocompleteItems('*').pipe(shareReplay(1));
|
|
47
|
-
}
|
|
48
|
-
this.items = this.selectedItems;
|
|
49
|
-
this.subscription = this.rawChange
|
|
50
|
-
.pipe(tap((v) => (this.invalid = v.length === 0)))
|
|
51
|
-
.subscribe();
|
|
52
|
-
this.rawChange.next(this.items);
|
|
53
|
-
}
|
|
54
|
-
ngOnDestroy() {
|
|
55
|
-
this.subscription.unsubscribe();
|
|
56
|
-
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ChipsInputComponent, deps: [{ token: i1.HttpClient }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ChipsInputComponent, selector: "gn-ui-chips-input", inputs: { url: "url", placeholder: "placeholder", selectedItems: "selectedItems", required: "required", loadOnce: "loadOnce", autocompleteItems: "autocompleteItems" }, outputs: { itemsChange: "itemsChange" }, ngImport: i0, template: "<tag-input\n [ngModel]=\"items\"\n (ngModelChange)=\"onChange($event)\"\n onlyFromAutocomplete=\"true\"\n [placeholder]=\"placeholder\"\n [secondaryPlaceholder]=\"placeholder\"\n [ripple]=\"false\"\n [animationDuration]=\"{ enter: '0ms', leave: '0ms' }\"\n [onTextChangeDebounce]=\"100\"\n class=\"border-2 border-primary h-full rounded-lg p-2 bg-white text-sm focus:border-primary\"\n [ngClass]=\"{ invalid: invalid }\"\n>\n <tag-input-dropdown\n [autocompleteObservable]=\"requestAutocompleteItems\"\n [minimumTextLength]=\"0\"\n [keepOpen]=\"false\"\n [showDropdownIfEmpty]=\"true\"\n >\n <ng-template let-item=\"item\" let-index=\"index\">\n {{ item.display }}\n </ng-template>\n </tag-input-dropdown>\n</tag-input>\n", styles: ["tag-input::ng-deep .ng2-tag-input{border-bottom:none}tag-input::ng-deep .ng2-tag-input.ng2-tag-input--focused{border-bottom:none}tag-input::ng-deep tag{border-radius:5px;background:var(--color-primary-lightest);font-family:inherit;align-content:center;font-style:italic}tag-input::ng-deep tag::ng-deep:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover,tag-input::ng-deep tag:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:var(--color-primary)!important}tag-input::ng-deep .tag__text{padding-right:7px}tag-input::ng-deep div,tag-input::ng-deep form{height:100%}tag-input.invalid{border-color:var(--color-secondary)}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.TagInputComponent, selector: "tag-input", inputs: ["separatorKeys", "separatorKeyCodes", "placeholder", "secondaryPlaceholder", "maxItems", "validators", "asyncValidators", "onlyFromAutocomplete", "errorMessages", "theme", "onTextChangeDebounce", "inputId", "inputClass", "clearOnBlur", "hideForm", "addOnBlur", "addOnPaste", "pasteSplitPattern", "blinkIfDupe", "removable", "editable", "allowDupes", "modelAsStrings", "trimTags", "inputText", "ripple", "tabindex", "disable", "dragZone", "onRemoving", "onAdding", "animationDuration"], outputs: ["onAdd", "onRemove", "onSelect", "onFocus", "onBlur", "onTextChange", "onPaste", "onValidationError", "onTagEdited", "inputTextChange"] }, { kind: "component", type: i5.TagInputDropdown, selector: "tag-input-dropdown", inputs: ["offset", "focusFirstElement", "showDropdownIfEmpty", "autocompleteObservable", "minimumTextLength", "limitItemsTo", "displayBy", "identifyBy", "matchingFn", "appendToBody", "keepOpen", "dynamicUpdate", "zIndex", "autocompleteItems"] }] }); }
|
|
59
|
-
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ChipsInputComponent, decorators: [{
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: 'gn-ui-chips-input', template: "<tag-input\n [ngModel]=\"items\"\n (ngModelChange)=\"onChange($event)\"\n onlyFromAutocomplete=\"true\"\n [placeholder]=\"placeholder\"\n [secondaryPlaceholder]=\"placeholder\"\n [ripple]=\"false\"\n [animationDuration]=\"{ enter: '0ms', leave: '0ms' }\"\n [onTextChangeDebounce]=\"100\"\n class=\"border-2 border-primary h-full rounded-lg p-2 bg-white text-sm focus:border-primary\"\n [ngClass]=\"{ invalid: invalid }\"\n>\n <tag-input-dropdown\n [autocompleteObservable]=\"requestAutocompleteItems\"\n [minimumTextLength]=\"0\"\n [keepOpen]=\"false\"\n [showDropdownIfEmpty]=\"true\"\n >\n <ng-template let-item=\"item\" let-index=\"index\">\n {{ item.display }}\n </ng-template>\n </tag-input-dropdown>\n</tag-input>\n", styles: ["tag-input::ng-deep .ng2-tag-input{border-bottom:none}tag-input::ng-deep .ng2-tag-input.ng2-tag-input--focused{border-bottom:none}tag-input::ng-deep tag{border-radius:5px;background:var(--color-primary-lightest);font-family:inherit;align-content:center;font-style:italic}tag-input::ng-deep tag::ng-deep:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover,tag-input::ng-deep tag:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:var(--color-primary)!important}tag-input::ng-deep .tag__text{padding-right:7px}tag-input::ng-deep div,tag-input::ng-deep form{height:100%}tag-input.invalid{border-color:var(--color-secondary)}\n"] }]
|
|
63
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.TranslateService }], propDecorators: { url: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], placeholder: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], selectedItems: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], required: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], loadOnce: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], autocompleteItems: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], itemsChange: [{
|
|
76
|
-
type: Output
|
|
77
|
-
}] } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9jaGlwcy1pbnB1dC9jaGlwcy1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2NoaXBzLWlucHV0L2No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BbcGxhY2Vob2xkZXJdPVwicGxhY2Vob2xkZXJcIlxuICBbc2Vjb25kYXJ5UGxhY2Vob2xkZXJdPVwicGxhY2Vob2xkZXJcIlxuICBbcmlwcGxlXT1cImZhbHNlXCJcbiAgW2FuaW1hdGlvbkR1cmF0aW9uXT1cInsgZW50ZXI6ICcwbXMnLCBsZWF2ZTogJzBtcycgfVwiXG4gIFtvblRleHRDaGFuZ2VEZWJvdW5jZV09XCIxMDBcIlxuICBjbGFzcz1cImJvcmRlci0yIGJvcmRlci1wcmltYXJ5IGgtZnVsbCByb3VuZGVkLWxnIHAtMiBiZy13aGl0ZSB0ZXh0LXNtIGZvY3VzOmJvcmRlci1wcmltYXJ5XCJcbiAgW25nQ2xhc3NdPVwieyBpbnZhbGlkOiBpbnZhbGlkIH1cIlxuPlxuICA8dGFnLWlucHV0LWRyb3Bkb3duXG4gICAgW2F1dG9jb21wbGV0ZU9ic2VydmFibGVdPVwicmVxdWVzdEF1dG9jb21wbGV0ZUl0ZW1zXCJcbiAgICBbbWluaW11bVRleHRMZW5ndGhdPVwiMFwiXG4gICAgW2tlZXBPcGVuXT1cImZhbHNlXCJcbiAgICBbc2hvd0Ryb3Bkb3duSWZFbXB0eV09XCJ0cnVlXCJcbiAgPlxuICAgIDxuZy10ZW1wbGF0ZSBsZXQtaXRlbT1cIml0ZW1cIiBsZXQtaW5kZXg9XCJpbmRleFwiPlxuICAgICAge3sgaXRlbS5kaXNwbGF5IH19XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC90YWctaW5wdXQtZHJvcGRvd24+XG48L3RhZy1pbnB1dD5cbiJdfQ==
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class StepBarComponent {
|
|
5
|
-
constructor(cdr) {
|
|
6
|
-
this.cdr = cdr;
|
|
7
|
-
this.currentStep = 1;
|
|
8
|
-
this.type = 'default';
|
|
9
|
-
}
|
|
10
|
-
get stepCounter() {
|
|
11
|
-
return new Array(this.steps);
|
|
12
|
-
}
|
|
13
|
-
get color() {
|
|
14
|
-
switch (this.type) {
|
|
15
|
-
case 'default':
|
|
16
|
-
return {
|
|
17
|
-
outerBar: 'bg-gray-200',
|
|
18
|
-
innerBar: 'bg-gray-100',
|
|
19
|
-
};
|
|
20
|
-
case 'primary':
|
|
21
|
-
return {
|
|
22
|
-
outerBar: 'bg-primary',
|
|
23
|
-
innerBar: 'bg-primary-lighter',
|
|
24
|
-
};
|
|
25
|
-
case 'secondary':
|
|
26
|
-
return {
|
|
27
|
-
outerBar: 'bg-secondary',
|
|
28
|
-
innerBar: 'bg-secondary-lighter',
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
getCircleColor(index) {
|
|
33
|
-
return index === this.currentStep
|
|
34
|
-
? 'bg-black'
|
|
35
|
-
: index < this.currentStep
|
|
36
|
-
? 'bg-white'
|
|
37
|
-
: this.color.innerBar;
|
|
38
|
-
}
|
|
39
|
-
getChecked(index) {
|
|
40
|
-
return index + 1 < this.currentStep;
|
|
41
|
-
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StepBarComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: StepBarComponent, selector: "gn-ui-step-bar", inputs: { steps: "steps", currentStep: "currentStep", type: "type" }, ngImport: i0, template: "<div class=\"relative flex flex-col justify-center\">\n <div class=\"flex justify-between ml-16 mr-16 z-10 circle-steps\">\n <div\n *ngFor=\"let step of stepCounter; let i = index\"\n class=\"shadow-md rounded-full h-6 w-6 {{ getCircleColor(i + 1) }}\"\n >\n <span class=\"icon-check pl-1\" *ngIf=\"getChecked(i)\"></span>\n </div>\n </div>\n <div\n class=\"absolute rounded-lg right-0 w-full {{ color.outerBar }} h-2 z-0\"\n ></div>\n</div>\n", styles: [".icon-check{color:var(--color-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StepBarComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{ selector: 'gn-ui-step-bar', template: "<div class=\"relative flex flex-col justify-center\">\n <div class=\"flex justify-between ml-16 mr-16 z-10 circle-steps\">\n <div\n *ngFor=\"let step of stepCounter; let i = index\"\n class=\"shadow-md rounded-full h-6 w-6 {{ getCircleColor(i + 1) }}\"\n >\n <span class=\"icon-check pl-1\" *ngIf=\"getChecked(i)\"></span>\n </div>\n </div>\n <div\n class=\"absolute rounded-lg right-0 w-full {{ color.outerBar }} h-2 z-0\"\n ></div>\n</div>\n", styles: [".icon-check{color:var(--color-primary)}\n"] }]
|
|
48
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { steps: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], currentStep: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], type: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcC1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS93aWRnZXRzL3NyYy9saWIvc3RlcC1iYXIvc3RlcC1iYXIuY29tcG9uZW50LnRzIi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BcbiAgfVxufVxuIiwiPGRpdiBjbGFzcz1cInJlbGF0aXZlIGZsZXggZmxleC1jb2wganVzdGlmeS1jZW50ZXJcIj5cbiAgPGRpdiBjbGFzcz1cImZsZXgganVzdGlmeS1iZXR3ZWVuIG1sLTE2IG1yLTE2IHotMTAgY2lyY2xlLXN0ZXBzXCI+XG4gICAgPGRpdlxuICAgICAgKm5nRm9yPVwibGV0IHN0ZXAgb2Ygc3RlcENvdW50ZXI7IGxldCBpID0gaW5kZXhcIlxuICAgICAgY2xhc3M9XCJzaGFkb3ctbWQgcm91bmRlZC1mdWxsIGgtNiB3LTYge3sgZ2V0Q2lyY2xlQ29sb3IoaSArIDEpIH19XCJcbiAgICA+XG4gICAgICA8c3BhbiBjbGFzcz1cImljb24tY2hlY2sgcGwtMVwiICpuZ0lmPVwiZ2V0Q2hlY2tlZChpKVwiPjwvc3Bhbj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXZcbiAgICBjbGFzcz1cImFic29sdXRlIHJvdW5kZWQtbGcgcmlnaHQtMCB3LWZ1bGwge3sgY29sb3Iub3V0ZXJCYXIgfX0gaC0yIHotMFwiXG4gID48L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface Items {
|
|
7
|
-
display: string;
|
|
8
|
-
value: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class ChipsInputComponent implements OnInit, OnDestroy {
|
|
11
|
-
private http;
|
|
12
|
-
private translate;
|
|
13
|
-
url: (text: any) => string;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
selectedItems: Items[];
|
|
16
|
-
required: boolean;
|
|
17
|
-
loadOnce: boolean;
|
|
18
|
-
autocompleteItems: Items[];
|
|
19
|
-
itemsChange: Observable<Items[]>;
|
|
20
|
-
private subscription;
|
|
21
|
-
invalid: boolean;
|
|
22
|
-
rawChange: Subject<Items[]>;
|
|
23
|
-
items: Items[];
|
|
24
|
-
loadedItems: Observable<Items[]>;
|
|
25
|
-
onChange(event: any): void;
|
|
26
|
-
requestAutocompleteItems: (text: string) => Observable<any>;
|
|
27
|
-
constructor(http: HttpClient, translate: TranslateService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsInputComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsInputComponent, "gn-ui-chips-input", never, { "url": { "alias": "url"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "required": { "alias": "required"; "required": false; }; "loadOnce": { "alias": "loadOnce"; "required": false; }; "autocompleteItems": { "alias": "autocompleteItems"; "required": false; }; }, { "itemsChange": "itemsChange"; }, never, never, false, never>;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=chips-input.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chips-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAA;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAM,OAAO,EAAgB,MAAM,MAAM,CAAA;;AAG5D,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAKa,mBAAoB,YAAW,MAAM,EAAE,SAAS;IAwCzD,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,SAAS;IAxCV,GAAG,EAAE,CAAC,IAAI,KAAA,KAAK,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,KAAK,EAAE,CAAA;IACtB,QAAQ,UAAQ;IAChB,QAAQ,UAAQ;IAChB,iBAAiB,EAAE,KAAK,EAAE,CAAK;IAC9B,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IAE1C,OAAO,CAAC,YAAY,CAAc;IAElC,OAAO,UAAQ;IAEf,SAAS,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAA;IAE3B,KAAK,EAAE,KAAK,EAAE,CAAK;IAEnB,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IAEhC,QAAQ,CAAC,KAAK,KAAA;IAId,wBAAwB,SAAU,MAAM,KAAG,UAAU,CAAC,GAAG,CAAC,CAczD;gBAGS,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,gBAAgB;IAOrC,QAAQ,IAAI,IAAI;IAYhB,WAAW;yCA5DA,mBAAmB;2CAAnB,mBAAmB;CA+D/B"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface ColorScheme {
|
|
4
|
-
outerBar: string;
|
|
5
|
-
innerBar: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class StepBarComponent {
|
|
8
|
-
private cdr;
|
|
9
|
-
steps: any;
|
|
10
|
-
currentStep: number;
|
|
11
|
-
type: 'primary' | 'secondary' | 'default';
|
|
12
|
-
constructor(cdr: ChangeDetectorRef);
|
|
13
|
-
get stepCounter(): any[];
|
|
14
|
-
get color(): ColorScheme;
|
|
15
|
-
getCircleColor(index: number): string;
|
|
16
|
-
getChecked(index: number): boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepBarComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepBarComponent, "gn-ui-step-bar", never, { "steps": { "alias": "steps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=step-bar.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"step-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,eAAe,CAAA;;AAEnE,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,qBAKa,gBAAgB;IAKf,OAAO,CAAC,GAAG;IAJd,KAAK,MAAA;IACL,WAAW,SAAI;IACf,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAY;gBAE1C,GAAG,EAAE,iBAAiB;IAE1C,IAAI,WAAW,UAEd;IAED,IAAI,KAAK,IAAI,WAAW,CAkBvB;IAED,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAQrC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;yCAvCvB,gBAAgB;2CAAhB,gBAAgB;CA0C5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './openapi/'
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './config.api.service'
|
|
2
|
-
import { ConfigApiService } from './config.api.service'
|
|
3
|
-
export * from './dataPublishing.api.service'
|
|
4
|
-
import { DataPublishingApiService } from './dataPublishing.api.service'
|
|
5
|
-
export * from './fileUpload.api.service'
|
|
6
|
-
import { FileUploadApiService } from './fileUpload.api.service'
|
|
7
|
-
export const APIS = [
|
|
8
|
-
ConfigApiService,
|
|
9
|
-
DataPublishingApiService,
|
|
10
|
-
FileUploadApiService,
|
|
11
|
-
]
|