geonetwork-ui 2.5.0-dev.4e621e7b5 → 2.5.0-dev.5ea8dba3f
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/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -23
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +3 -4
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +1 -6
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -6
- package/esm2022/translations/de.json +0 -71
- package/esm2022/translations/en.json +0 -63
- package/esm2022/translations/es.json +0 -71
- package/esm2022/translations/fr.json +0 -71
- package/esm2022/translations/it.json +0 -71
- package/esm2022/translations/nl.json +0 -71
- package/esm2022/translations/pt.json +0 -71
- package/fesm2022/geonetwork-ui.mjs +10 -638
- package/fesm2022/geonetwork-ui.mjs.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/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/ui-inputs.module.d.ts +27 -28
- package/libs/ui/inputs/src/lib/ui-inputs.module.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/ui-widgets.module.d.ts +8 -9
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
- package/package.json +1 -1
- 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/models/wizard-field.type.ts +0 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +2 -2
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -3
- package/translations/de.json +0 -71
- package/translations/en.json +0 -63
- package/translations/es.json +0 -71
- package/translations/fr.json +0 -71
- package/translations/it.json +0 -71
- package/translations/nl.json +0 -71
- package/translations/pt.json +0 -71
- package/translations/sk.json +0 -71
- 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
|
@@ -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
|
-
}
|