@piveau/dpi 0.1.0-beta.5
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/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/dpi.css +1 -0
- package/dist/composables/useRuntimeEnv.js +11 -0
- package/dist/composables/useTed.js +9 -0
- package/dist/data-provider-interface/DPIMenu.vue.js +457 -0
- package/dist/data-provider-interface/DataProviderInterface.vue.js +43 -0
- package/dist/data-provider-interface/DataProviderInterface.vue2.js +144 -0
- package/dist/data-provider-interface/HappyFlowComponents/BlogDPIHome.vue.js +13 -0
- package/dist/data-provider-interface/HappyFlowComponents/CommunityDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1052 -0
- package/dist/data-provider-interface/HappyFlowComponents/ConsultingDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +26 -0
- package/dist/data-provider-interface/HappyFlowComponents/FAQDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +109 -0
- package/dist/data-provider-interface/HappyFlowComponents/ServiceDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CheckCircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Circle.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/DatenbereitstellerV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Error.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Published.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Warning.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/FurV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationCelebrate.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationStart.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/InfoFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/WarningFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/bydata_logo_blue_small.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/iconRight.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/x-circleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +135 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/eventBus.js +16 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +256 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CheckboxV3.vue.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +91 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CrossOutButton.vue.js +63 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DatasetStatus.vue.js +52 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +231 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Illustration.vue.js +33 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +477 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputV3.vue.js +182 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LogoV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +123 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +566 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/MoreButton.vue.js +56 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +41 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +80 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js +50 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +113 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +116 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +227 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +148 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +70 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +46 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +130 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +106 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +247 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +79 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +73 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +134 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +68 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SwitchV3.vue.js +195 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +207 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +115 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonLarge.vue.js +108 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +125 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +69 -0
- package/dist/data-provider-interface/components/AutocompleteInput.vue.js +279 -0
- package/dist/data-provider-interface/components/BasicInfosPage.vue.js +9 -0
- package/dist/data-provider-interface/components/ConditionalInput.vue.js +196 -0
- package/dist/data-provider-interface/components/ContactPage.vue.js +246 -0
- package/dist/data-provider-interface/components/CoveringPage.vue.js +9 -0
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.js +49 -0
- package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +60 -0
- package/dist/data-provider-interface/components/DistLicense.vue.js +160 -0
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +1147 -0
- package/dist/data-provider-interface/components/DistributionStepper.vue.js +212 -0
- package/dist/data-provider-interface/components/Dropup.vue.js +62 -0
- package/dist/data-provider-interface/components/FileUpload.vue.js +278 -0
- package/dist/data-provider-interface/components/HVDPage.vue.js +106 -0
- package/dist/data-provider-interface/components/HappyFlowLandingPage.vue.js +70 -0
- package/dist/data-provider-interface/components/InfoSlot.vue.js +81 -0
- package/dist/data-provider-interface/components/InputPageStep.vue.js +40 -0
- package/dist/data-provider-interface/components/InputPageStep.vue2.js +4 -0
- package/dist/data-provider-interface/components/LanguageSelector.vue.js +65 -0
- package/dist/data-provider-interface/components/Navigation.vue.js +256 -0
- package/dist/data-provider-interface/components/Navigation.vue2.js +1 -0
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +81 -0
- package/dist/data-provider-interface/components/PublisherPage.vue.js +176 -0
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +413 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.js +55 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue2.js +4 -0
- package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.js +32 -0
- package/dist/data-provider-interface/components/SimpleInput.vue.js +35 -0
- package/dist/data-provider-interface/components/SimpleSelect.vue.js +111 -0
- package/dist/data-provider-interface/components/SpatialInput.vue.js +276 -0
- package/dist/data-provider-interface/components/TempResPage.vue.js +211 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue.js +90 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue2.js +4 -0
- package/dist/data-provider-interface/components/TitelPage.vue.js +52 -0
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.js +75 -0
- package/dist/data-provider-interface/components/UpdateDate.vue.js +75 -0
- package/dist/data-provider-interface/components/dpiV3Description.vue.js +44 -0
- package/dist/data-provider-interface/composables/aucotomplete.js +50 -0
- package/dist/data-provider-interface/composables/useDpiContext.js +17 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.js +88 -0
- package/dist/data-provider-interface/composables/useDpiFormValues.js +8 -0
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +384 -0
- package/dist/data-provider-interface/composables/useDpiStepper.js +47 -0
- package/dist/data-provider-interface/composables/useDpiUtils.js +39 -0
- package/dist/data-provider-interface/composables/useErrorDialog.js +31 -0
- package/dist/data-provider-interface/composables/useFormSchema.js +56 -0
- package/dist/data-provider-interface/composables/useRequestUriName.js +58 -0
- package/dist/data-provider-interface/config/dcatap/format-types.js +256 -0
- package/dist/data-provider-interface/config/dcatap/input-definition.js +1842 -0
- package/dist/data-provider-interface/config/dcatap/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatap/prefixes.js +25 -0
- package/dist/data-provider-interface/config/dcatap/vocab-prefixes.js +24 -0
- package/dist/data-provider-interface/config/dcatapde/format-types.js +274 -0
- package/dist/data-provider-interface/config/dcatapde/input-definition.js +2131 -0
- package/dist/data-provider-interface/config/dcatapde/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatapde/prefixes.js +27 -0
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +33 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +161 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +2196 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +82 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.js +18 -0
- package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dpi-spec-config.js +54 -0
- package/dist/data-provider-interface/config/selector-languages.json.js +57 -0
- package/dist/data-provider-interface/plugins/userConfigShimPlugin.js +10 -0
- package/dist/data-provider-interface/store/dpiStore.js +33 -0
- package/dist/data-provider-interface/store/modules/formSchemaStore.js +94 -0
- package/dist/data-provider-interface/store/modules/navigationStore.js +24 -0
- package/dist/data-provider-interface/utils/general-helper.js +218 -0
- package/dist/data-provider-interface/utils/injectionKeys.js +5 -0
- package/dist/data-provider-interface/utils/translation-helper.js +31 -0
- package/dist/data-provider-interface/utils/useSteps.js +34 -0
- package/dist/data-provider-interface/views/DistributionInputPage.vue.js +100 -0
- package/dist/data-provider-interface/views/DistributionOverview.vue.js +201 -0
- package/dist/data-provider-interface/views/DraftsPage.vue.js +278 -0
- package/dist/data-provider-interface/views/InputPage.vue.js +1182 -0
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.js +105 -0
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.js +86 -0
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.js +214 -0
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.js +219 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.js +19 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.js +397 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.js +56 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.js +109 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.js +92 -0
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.js +103 -0
- package/dist/data-provider-interface/views/OverviewPage.vue.js +189 -0
- package/dist/data-provider-interface/views/PropertyChooser.vue.js +41 -0
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.js +74 -0
- package/dist/data-provider-interface/views/UserProfilePage.vue.js +83 -0
- package/dist/filters/dateFilters.js +39 -0
- package/dist/form/FormKitGroup.vue.js +55 -0
- package/dist/form/Repeatable.vue.js +7 -0
- package/dist/form/Repeatable.vue2.js +72 -0
- package/dist/form/inputDefinitions.js +131 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -0
- package/dist/utils/helpers.js +32 -0
- package/dist/widgets/AppLink.vue.js +118 -0
- package/package.json +96 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { createElementBlock as n, openBlock as e, createElementVNode as i, createCommentVNode as l, createVNode as u, toDisplayString as a, createTextVNode as r, createBlock as p } from "vue";
|
|
2
|
+
import m from "./TextButtonSmall.vue.js";
|
|
3
|
+
import _ from "./ButtonV3.vue.js";
|
|
4
|
+
import V from "./CrossOutButton.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
const f = { class: "dpiV3_modalBackground" }, k = { class: "dpiV3_modalWrap" }, v = { class: "dpiV3_modalMainWrap" }, y = { class: "dpiV3_modalHeaderWrap" }, b = { class: "dpiV3_modalText" }, x = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
|
|
9
|
+
}, C = { class: "dpiV3_LinkInfos" }, B = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "dpiV3_title"
|
|
12
|
+
}, T = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "dpiV3_title"
|
|
15
|
+
}, h = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
|
|
18
|
+
}, A = { class: "dpiV3_LinkInfos" }, W = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "dpiV3_title"
|
|
21
|
+
}, q = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "dpiV3_title",
|
|
24
|
+
style: { "padding-right": "100px" }
|
|
25
|
+
}, N = { class: "dpiV3_modalButtonWrap" }, O = {
|
|
26
|
+
__name: "ModalSimpleV3",
|
|
27
|
+
props: {
|
|
28
|
+
headerText: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: !0
|
|
31
|
+
},
|
|
32
|
+
text: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: !0
|
|
35
|
+
},
|
|
36
|
+
buttons: {
|
|
37
|
+
type: Object,
|
|
38
|
+
required: !0
|
|
39
|
+
},
|
|
40
|
+
action: String,
|
|
41
|
+
optionalString_1: {
|
|
42
|
+
type: String,
|
|
43
|
+
required: !1
|
|
44
|
+
},
|
|
45
|
+
optionalString_2: {
|
|
46
|
+
type: String,
|
|
47
|
+
required: !1
|
|
48
|
+
},
|
|
49
|
+
dataRange: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
emits: ["close", "actionHandling"],
|
|
55
|
+
setup(t, { emit: g }) {
|
|
56
|
+
const s = t, c = g, d = () => {
|
|
57
|
+
c("close");
|
|
58
|
+
}, S = () => {
|
|
59
|
+
c("actionHandling", s.action), d();
|
|
60
|
+
};
|
|
61
|
+
return (L, o) => (e(), n("div", f, [
|
|
62
|
+
i("div", k, [
|
|
63
|
+
i("div", v, [
|
|
64
|
+
i("div", y, [
|
|
65
|
+
i("h2", null, a(s.headerText), 1),
|
|
66
|
+
u(V, {
|
|
67
|
+
class: "dpiv3_modalCrossout",
|
|
68
|
+
onClick: d
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
i("span", b, a(s.text), 1)
|
|
72
|
+
]),
|
|
73
|
+
!t.dataRange && (t.optionalString_1 || t.optionalString_2) ? (e(), n("div", x, [
|
|
74
|
+
i("div", C, [
|
|
75
|
+
t.optionalString_1 ? (e(), n("div", B, a(t.optionalString_1), 1)) : l("", !0),
|
|
76
|
+
t.optionalString_2 && t.optionalString_1 === "" ? (e(), n("div", T, a(t.optionalString_2), 1)) : l("", !0)
|
|
77
|
+
])
|
|
78
|
+
])) : l("", !0),
|
|
79
|
+
t.dataRange && (t.optionalString_1 || t.optionalString_2) ? (e(), n("div", h, [
|
|
80
|
+
i("div", A, [
|
|
81
|
+
t.optionalString_1 ? (e(), n("div", W, [
|
|
82
|
+
o[0] || (o[0] = i("span", { class: "dpiV3_fromTo" }, "von", -1)),
|
|
83
|
+
o[1] || (o[1] = r()),
|
|
84
|
+
o[2] || (o[2] = i("br", null, null, -1)),
|
|
85
|
+
r(" " + a(t.optionalString_1), 1)
|
|
86
|
+
])) : l("", !0),
|
|
87
|
+
t.optionalString_2 ? (e(), n("div", q, [
|
|
88
|
+
o[3] || (o[3] = i("span", { class: "dpiV3_fromTo" }, "bis", -1)),
|
|
89
|
+
o[4] || (o[4] = r()),
|
|
90
|
+
o[5] || (o[5] = i("br", null, null, -1)),
|
|
91
|
+
r(" " + a(t.optionalString_2), 1)
|
|
92
|
+
])) : l("", !0)
|
|
93
|
+
])
|
|
94
|
+
])) : l("", !0),
|
|
95
|
+
i("div", N, [
|
|
96
|
+
s.action === "cancel" ? (e(), p(m, {
|
|
97
|
+
key: 0,
|
|
98
|
+
buttonText: "Zurück",
|
|
99
|
+
class: "dpiv3_modalCancelButton",
|
|
100
|
+
onClick: d,
|
|
101
|
+
ref: "accActive",
|
|
102
|
+
iconStart: "CaretLeft",
|
|
103
|
+
iconName: "caretLeft"
|
|
104
|
+
}, null, 512)) : (e(), p(m, {
|
|
105
|
+
key: 1,
|
|
106
|
+
buttonText: "Abbrechen",
|
|
107
|
+
class: "dpiv3_modalCancelButton",
|
|
108
|
+
onClick: d,
|
|
109
|
+
ref: "accActive"
|
|
110
|
+
}, null, 512)),
|
|
111
|
+
u(_, {
|
|
112
|
+
onClick: S,
|
|
113
|
+
buttonText: s.buttons,
|
|
114
|
+
size: "large"
|
|
115
|
+
}, null, 8, ["buttonText"])
|
|
116
|
+
])
|
|
117
|
+
])
|
|
118
|
+
]));
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
export {
|
|
122
|
+
O as default
|
|
123
|
+
};
|
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
import { ref as a, watch as He, onMounted as Ee, getCurrentInstance as Ne, createElementBlock as l, openBlock as i, Fragment as _, createCommentVNode as o, createElementVNode as n, normalizeClass as x, createVNode as c, toDisplayString as v, renderList as ye, createBlock as f } from "vue";
|
|
2
|
+
import je from "./TextButtonSmall.vue.js";
|
|
3
|
+
import I from "./ButtonV3.vue.js";
|
|
4
|
+
import K from "./CrossOutButton.vue.js";
|
|
5
|
+
import Ze from "./CloseOpenButtonV3.vue.js";
|
|
6
|
+
import { getPlannedAvailability as Ge, getLanguages as Je } from "../services/dpiV3_apis.js";
|
|
7
|
+
import Ke from "./OptionalInformation/DocumentationsV3.vue.js";
|
|
8
|
+
import Qe from "./OptionalInformation/ModifiedDateV3.vue.js";
|
|
9
|
+
import Xe from "./OptionalInformation/DescriptionV3.vue.js";
|
|
10
|
+
import Ye from "./OptionalInformation/LicenseAttributionByText.vue.js";
|
|
11
|
+
import et from "./OptionalInformation/AvailabilityV3.vue.js";
|
|
12
|
+
import tt from "./OptionalInformation/ByteSizeV3.vue.js";
|
|
13
|
+
import at from "./OptionalInformation/IssuedDateV3.vue.js";
|
|
14
|
+
import it from "./OptionalInformation/LanguageV3.vue.js";
|
|
15
|
+
import st from "./OptionalInformation/AccessRightsV3.vue.js";
|
|
16
|
+
import Q from "./OptionalInformation/FileFormatV3.vue.js";
|
|
17
|
+
import ot from "./OptionalInformation/StatusV3.vue.js";
|
|
18
|
+
import dt from "./OptionalInformation/ChecksumV3.vue.js";
|
|
19
|
+
import lt from "./OptionalInformation/ConformsToV3.vue.js";
|
|
20
|
+
import nt from "./OptionalInformation/PolicyV3.vue.js";
|
|
21
|
+
import ut from "./OptionalInformation/AccessServiceV3.vue.js";
|
|
22
|
+
import rt from "./OptionalInformation/ChangeLicenseV3.vue.js";
|
|
23
|
+
/* empty css */
|
|
24
|
+
const ct = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "dpiV3_modalBackground"
|
|
27
|
+
}, mt = { class: "dpiV3_modalHeaderWrap" }, pt = { class: "dpiV3_modalText" }, vt = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "dpiV3AutoCompleteWrap copy-large-semi-bold"
|
|
30
|
+
}, ft = { class: "dpiV3_LinkInfos" }, yt = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "dpiV3_title"
|
|
33
|
+
}, kt = {
|
|
34
|
+
key: 1,
|
|
35
|
+
class: "dpiV3_title"
|
|
36
|
+
}, gt = {
|
|
37
|
+
key: 2,
|
|
38
|
+
class: "dpiV3_File-Format copy-small-regular"
|
|
39
|
+
}, bt = {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: "dpiV3_modalButtonWrap"
|
|
42
|
+
}, Tt = {
|
|
43
|
+
key: 1,
|
|
44
|
+
class: "dpiV3_optionalInfoContent"
|
|
45
|
+
}, ht = { class: "dpiV3_ListMetaData" }, _t = { class: "dpiV3_title-description" }, It = { class: "dpiV3_group-title" }, Vt = { class: "dpiV3_caret" }, xt = ["onClick"], Ct = {
|
|
46
|
+
key: 1,
|
|
47
|
+
class: "dpiV3_sectionDivider"
|
|
48
|
+
}, Dt = {
|
|
49
|
+
key: 1,
|
|
50
|
+
class: "dpiV3_modalBackground"
|
|
51
|
+
}, St = { class: "dpiV3_modalHeaderWrap" }, At = {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: "dpiV3_modalContent"
|
|
54
|
+
}, wt = {
|
|
55
|
+
key: 1,
|
|
56
|
+
class: "dpiV3_modalContent"
|
|
57
|
+
}, Ft = {
|
|
58
|
+
key: 2,
|
|
59
|
+
class: "dpiV3_modalContent"
|
|
60
|
+
}, Lt = {
|
|
61
|
+
key: 3,
|
|
62
|
+
class: "dpiV3_modified"
|
|
63
|
+
}, Bt = {
|
|
64
|
+
key: 4,
|
|
65
|
+
class: "dpiV3_modified"
|
|
66
|
+
}, qt = {
|
|
67
|
+
key: 5,
|
|
68
|
+
class: "dpiV3_modified"
|
|
69
|
+
}, Ut = {
|
|
70
|
+
key: 6,
|
|
71
|
+
class: "dpiV3_modified"
|
|
72
|
+
}, zt = {
|
|
73
|
+
key: 7,
|
|
74
|
+
class: "dpiV3_modified"
|
|
75
|
+
}, Mt = {
|
|
76
|
+
key: 8,
|
|
77
|
+
class: "dpiV3_DocumentationV3_Wrap"
|
|
78
|
+
}, $t = {
|
|
79
|
+
key: 9,
|
|
80
|
+
class: "dpiV3_DocumentationV3_Wrap"
|
|
81
|
+
}, Pt = {
|
|
82
|
+
key: 13,
|
|
83
|
+
class: "dpiV3_DocumentationV3_Wrap"
|
|
84
|
+
}, Wt = {
|
|
85
|
+
key: 14,
|
|
86
|
+
class: "dpiV3_DocumentationV3_Wrap"
|
|
87
|
+
}, Rt = { class: "dpiV3_modalButtonWrap" }, Ot = {
|
|
88
|
+
key: 2,
|
|
89
|
+
class: "dpiV3_modalBackground"
|
|
90
|
+
}, Ht = { class: "dpiV3_modalWrap dpiV3_confirmationDialog" }, Et = { class: "dpiV3_modalHeaderWrap" }, Nt = { class: "dpiV3AutoCompleteWrap copy-large-semi-bold" }, jt = { class: "dpiV3_LinkInfos" }, Zt = {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "dpiV3_title"
|
|
93
|
+
}, Gt = {
|
|
94
|
+
key: 1,
|
|
95
|
+
class: "dpiV3_title"
|
|
96
|
+
}, Jt = {
|
|
97
|
+
key: 2,
|
|
98
|
+
class: "dpiV3_title"
|
|
99
|
+
}, Kt = { class: "dpiV3_modalButtonWrap" }, ha = {
|
|
100
|
+
__name: "ModalV3",
|
|
101
|
+
props: {
|
|
102
|
+
headerText: { type: String, required: !0 },
|
|
103
|
+
text: { type: String, required: !0 },
|
|
104
|
+
title: { type: String, required: !1 },
|
|
105
|
+
format: { type: String, required: !1 },
|
|
106
|
+
distributionLink: { type: String, required: !1 },
|
|
107
|
+
buttons: { type: Object, required: !0 },
|
|
108
|
+
showButtons: { type: Boolean, default: !0 },
|
|
109
|
+
optionalInfoView: { type: Boolean, default: !1 },
|
|
110
|
+
sections: { type: Array, required: !1 },
|
|
111
|
+
action: String,
|
|
112
|
+
fileTypes: { type: Array, required: !1 },
|
|
113
|
+
context: Object,
|
|
114
|
+
distributionId: { type: Number, required: !1 },
|
|
115
|
+
checksumURI: { type: String, required: !1 },
|
|
116
|
+
documentations: { type: Array, required: !0 },
|
|
117
|
+
accessServices: { type: Array, required: !0 },
|
|
118
|
+
modifiedDate: { type: String, required: !1 },
|
|
119
|
+
issuedDate: { type: String, required: !1 },
|
|
120
|
+
descriptionText: { type: String, required: !1 },
|
|
121
|
+
nameTextByClauses: { type: String, required: !1 },
|
|
122
|
+
accessRightsText: { type: String, required: !1 },
|
|
123
|
+
availabilityText: { type: String, required: !1 },
|
|
124
|
+
statusText: { type: String, required: !1 },
|
|
125
|
+
checksumText: { type: String, required: !1 },
|
|
126
|
+
checksumDropdownText: { type: String, required: !1 },
|
|
127
|
+
changeLicenseText: { type: String, required: !1 },
|
|
128
|
+
changeLicenseDropdownText: { type: String, required: !1 },
|
|
129
|
+
languageText: { type: String, required: !1 },
|
|
130
|
+
byteSizeText: { type: String, required: !1 },
|
|
131
|
+
mediaTypeText: { type: String, required: !1 },
|
|
132
|
+
compressFormatText: { type: String, required: !1 },
|
|
133
|
+
packageFormatText: { type: String, required: !1 },
|
|
134
|
+
conformsToItems: { type: Array, required: !1 },
|
|
135
|
+
policyItems: { type: Array, required: !1 }
|
|
136
|
+
},
|
|
137
|
+
emits: [
|
|
138
|
+
"close",
|
|
139
|
+
"actionHandling",
|
|
140
|
+
"addDocumentations",
|
|
141
|
+
"addAccessServices",
|
|
142
|
+
"addConformsToItems",
|
|
143
|
+
"addPolicyItems",
|
|
144
|
+
"addModifiedDate",
|
|
145
|
+
"addIssuedDate",
|
|
146
|
+
"addDescription",
|
|
147
|
+
"addLicenseAttrByText",
|
|
148
|
+
"addAccessRights",
|
|
149
|
+
"addAvailability",
|
|
150
|
+
"addLanguage",
|
|
151
|
+
"addByteSize",
|
|
152
|
+
"addMediaType",
|
|
153
|
+
"addCompressFormat",
|
|
154
|
+
"addPackageFormat",
|
|
155
|
+
"addStatus",
|
|
156
|
+
"addChecksum",
|
|
157
|
+
"addChangeLicense"
|
|
158
|
+
],
|
|
159
|
+
setup(u, { emit: ke }) {
|
|
160
|
+
const e = u, r = ke, C = a(!1), D = a(!1), S = a(!1), A = a(!1), w = a(!1), F = a(!1), L = a(!1), B = a(!1), q = a(!1), U = a(!1), z = a(!1), M = a(!1), $ = a(!1), P = a(!1), W = a(!1), R = a(!1), O = a(!1), H = a(!1), h = a([]), d = a({ key: "", text: "" }), ge = a(null), E = a(!1), V = a(null), N = a(null);
|
|
161
|
+
a([...e.fileTypes]);
|
|
162
|
+
const be = a([]), Te = a([]);
|
|
163
|
+
a(null);
|
|
164
|
+
const he = a(!1), X = a(""), Y = a(""), ee = a(""), te = a(""), ae = a(""), k = a({}), g = a({}), b = a({}), T = a({}), ie = a(""), se = a(""), oe = a(""), de = a(0), le = a(""), ne = a(""), ue = a(""), re = a(""), ce = a(""), _e = a(""), me = a(""), pe = a(""), j = a(!0);
|
|
165
|
+
a(!0);
|
|
166
|
+
const Ie = (t, s) => {
|
|
167
|
+
j.value = !1, d.value = {
|
|
168
|
+
key: e.sections[t].keys[s],
|
|
169
|
+
text: e.sections[t].items[s]
|
|
170
|
+
}, k.value[e.distributionId] || (k.value[e.distributionId] = []), g.value[e.distributionId] || (g.value[e.distributionId] = []), b.value[e.distributionId] || (b.value[e.distributionId] = []), T.value[e.distributionId] || (T.value[e.distributionId] = []);
|
|
171
|
+
}, Z = () => {
|
|
172
|
+
j.value = !0, d.value = { key: "", text: "" };
|
|
173
|
+
}, Ve = () => {
|
|
174
|
+
S.value && (r(
|
|
175
|
+
"addConformsToItems",
|
|
176
|
+
e.distributionId,
|
|
177
|
+
b.value[e.distributionId] || []
|
|
178
|
+
), S.value = !1), A.value && (r(
|
|
179
|
+
"addPolicyItems",
|
|
180
|
+
e.distributionId,
|
|
181
|
+
T.value[e.distributionId] || []
|
|
182
|
+
), A.value = !1), C.value && (r(
|
|
183
|
+
"addDocumentations",
|
|
184
|
+
e.distributionId,
|
|
185
|
+
k.value[e.distributionId] || []
|
|
186
|
+
), C.value = !1), D.value && (r(
|
|
187
|
+
"addAccessServices",
|
|
188
|
+
e.distributionId,
|
|
189
|
+
g.value[e.distributionId] || []
|
|
190
|
+
), D.value = !1), w.value && (r("addModifiedDate", X.value, e.distributionId), w.value = !1), F.value && (r("addIssuedDate", Y.value, e.distributionId), F.value = !1), L.value && (r("addDescription", ee.value, e.distributionId), L.value = !1), B.value && (r(
|
|
191
|
+
"addLicenseAttrByText",
|
|
192
|
+
te.value,
|
|
193
|
+
e.distributionId
|
|
194
|
+
), B.value = !1), q.value && (r("addAccessRights", ae.value, e.distributionId), q.value = !1), U.value && (r("addAvailability", ie.value, e.distributionId, e.uri), U.value = !1), R.value && (r("addStatus", se.value, e.distributionId), R.value = !1), O.value && (r(
|
|
195
|
+
"addChecksum",
|
|
196
|
+
re.value,
|
|
197
|
+
ce.value,
|
|
198
|
+
e.distributionId,
|
|
199
|
+
_e.value
|
|
200
|
+
), O.value = !1), H.value && (r(
|
|
201
|
+
"addChangeLicense",
|
|
202
|
+
me.value,
|
|
203
|
+
pe.value,
|
|
204
|
+
e.distributionId
|
|
205
|
+
), H.value = !1), z.value && (r("addLanguage", oe.value, e.distributionId, e.uri), z.value = !1), M.value && (r("addByteSize", de.value, e.distributionId), M.value = !1), $.value && (r(
|
|
206
|
+
"addMediaType",
|
|
207
|
+
le.value,
|
|
208
|
+
"dcat:mediaType",
|
|
209
|
+
e.distributionId
|
|
210
|
+
), $.value = !1), P.value && (r(
|
|
211
|
+
"addCompressFormat",
|
|
212
|
+
ne.value,
|
|
213
|
+
"dcat:compressFormat",
|
|
214
|
+
e.distributionId
|
|
215
|
+
), P.value = !1), W.value && (r(
|
|
216
|
+
"addPackageFormat",
|
|
217
|
+
ue.value,
|
|
218
|
+
"dcat:packageFormat",
|
|
219
|
+
e.distributionId
|
|
220
|
+
), W.value = !1), Z();
|
|
221
|
+
};
|
|
222
|
+
He(
|
|
223
|
+
() => e.sections,
|
|
224
|
+
(t) => {
|
|
225
|
+
Array.isArray(t) && t.length > 0 && (h.value = t.map((s, m) => m === 0));
|
|
226
|
+
},
|
|
227
|
+
{ immediate: !0 }
|
|
228
|
+
);
|
|
229
|
+
const xe = (t) => {
|
|
230
|
+
h.value[t] = !h.value[t];
|
|
231
|
+
}, G = () => {
|
|
232
|
+
r("close");
|
|
233
|
+
}, Ce = () => {
|
|
234
|
+
r("actionHandling", e.action), G();
|
|
235
|
+
};
|
|
236
|
+
Ee(async () => {
|
|
237
|
+
k.value[e.distributionId] = e.documentations, g.value[e.distributionId] = e.accessServices, b.value[e.distributionId] = e.conformsToItems, T.value[e.distributionId] = e.policyItems;
|
|
238
|
+
const t = Ne(), s = t.appContext.app.config.globalProperties.$env;
|
|
239
|
+
try {
|
|
240
|
+
const p = await Ge(s.api.baseUrl);
|
|
241
|
+
be.value = p.map((y) => ({
|
|
242
|
+
"@value": y.value,
|
|
243
|
+
label: y.label
|
|
244
|
+
}));
|
|
245
|
+
} catch (p) {
|
|
246
|
+
console.error("Failed to load planned availability data", p);
|
|
247
|
+
}
|
|
248
|
+
const m = t.appContext.app.config.globalProperties.$i18n.locale;
|
|
249
|
+
try {
|
|
250
|
+
const p = await Je(s.api.baseUrl, m);
|
|
251
|
+
Te.value = p.map((y) => ({
|
|
252
|
+
"@value": y.label,
|
|
253
|
+
label: y.label
|
|
254
|
+
}));
|
|
255
|
+
} catch (p) {
|
|
256
|
+
console.error("Failed to load language data", p);
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
const De = (t, s) => {
|
|
260
|
+
k.value[t] = s, C.value = !0;
|
|
261
|
+
}, Se = (t, s) => {
|
|
262
|
+
g.value[t] = s, D.value = !0;
|
|
263
|
+
}, Ae = (t, s) => {
|
|
264
|
+
b.value[t] = s, S.value = !0;
|
|
265
|
+
}, we = (t, s) => {
|
|
266
|
+
T.value[t] = s, A.value = !0;
|
|
267
|
+
}, Fe = (t) => {
|
|
268
|
+
X.value = t, w.value = !0;
|
|
269
|
+
}, Le = (t) => {
|
|
270
|
+
Y.value = t, F.value = !0;
|
|
271
|
+
}, Be = (t) => {
|
|
272
|
+
ee.value = t, L.value = !0;
|
|
273
|
+
}, qe = (t) => {
|
|
274
|
+
te.value = t, B.value = !0;
|
|
275
|
+
}, Ue = (t) => {
|
|
276
|
+
ae.value = t, q.value = !0;
|
|
277
|
+
}, ze = (t) => {
|
|
278
|
+
ie.value = t, U.value = !0;
|
|
279
|
+
}, Me = (t) => {
|
|
280
|
+
se.value = t, R.value = !0;
|
|
281
|
+
}, $e = (t, s) => {
|
|
282
|
+
console.log(e.checksumURI), O.value = !0, ce.value = s, re.value = t;
|
|
283
|
+
}, Pe = (t, s) => {
|
|
284
|
+
H.value = !0, pe.value = s, me.value = t;
|
|
285
|
+
}, We = (t) => {
|
|
286
|
+
oe.value = t, z.value = !0;
|
|
287
|
+
}, J = (t, s) => {
|
|
288
|
+
switch (s) {
|
|
289
|
+
case "dcat:mediaType":
|
|
290
|
+
$.value = !0, le.value = t;
|
|
291
|
+
break;
|
|
292
|
+
case "dcat:compressFormat":
|
|
293
|
+
P.value = !0, ne.value = t;
|
|
294
|
+
break;
|
|
295
|
+
case "dcat:packageFormat":
|
|
296
|
+
W.value = !0, ue.value = t;
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
}, Re = (t) => {
|
|
300
|
+
de.value = t, M.value = !0;
|
|
301
|
+
}, ve = () => {
|
|
302
|
+
E.value = !1, ge.value = null;
|
|
303
|
+
}, Oe = () => {
|
|
304
|
+
E.value = !1, he.value = !1;
|
|
305
|
+
};
|
|
306
|
+
return (t, s) => (i(), l(_, null, [
|
|
307
|
+
j.value ? (i(), l("div", ct, [
|
|
308
|
+
n("div", {
|
|
309
|
+
class: x(["dpiV3_modalWrap", {
|
|
310
|
+
dpiV3_optionalInfo: e.optionalInfoView || d.value.key === "foaf:page"
|
|
311
|
+
}])
|
|
312
|
+
}, [
|
|
313
|
+
n("div", {
|
|
314
|
+
class: x(["dpiV3_modalMainWrap", { dpiV3_modalLine: e.optionalInfoView }])
|
|
315
|
+
}, [
|
|
316
|
+
n("div", mt, [
|
|
317
|
+
n("h2", {
|
|
318
|
+
class: x({ dpiV3_optionalInfoHeader: e.optionalInfoView })
|
|
319
|
+
}, v(e.headerText), 3),
|
|
320
|
+
c(K, {
|
|
321
|
+
class: "dpiv3_modalCrossout",
|
|
322
|
+
onClick: G
|
|
323
|
+
})
|
|
324
|
+
]),
|
|
325
|
+
n("span", pt, v(e.text), 1),
|
|
326
|
+
!e.optionalInfoView && (e.title || e.distributionLink || e.format) ? (i(), l("div", vt, [
|
|
327
|
+
n("div", ft, [
|
|
328
|
+
e.title ? (i(), l("div", yt, v(e.title), 1)) : o("", !0),
|
|
329
|
+
e.distributionLink && !e.title ? (i(), l("div", kt, v(e.distributionLink), 1)) : o("", !0),
|
|
330
|
+
e.format ? (i(), l("div", gt, v(e.format), 1)) : o("", !0)
|
|
331
|
+
])
|
|
332
|
+
])) : o("", !0)
|
|
333
|
+
], 2),
|
|
334
|
+
e.showButtons ? (i(), l("div", bt, [
|
|
335
|
+
c(je, {
|
|
336
|
+
buttonText: t.$t("message.dataupload.datasets.dcat:distribution.modal.cancel"),
|
|
337
|
+
class: "dpiv3_modalCancelButton",
|
|
338
|
+
onClick: G,
|
|
339
|
+
ref: "accActive"
|
|
340
|
+
}, null, 8, ["buttonText"]),
|
|
341
|
+
c(I, {
|
|
342
|
+
onClick: Ce,
|
|
343
|
+
buttonText: e.buttons,
|
|
344
|
+
size: "large"
|
|
345
|
+
}, null, 8, ["buttonText"])
|
|
346
|
+
])) : o("", !0),
|
|
347
|
+
e.optionalInfoView ? (i(), l("div", Tt, [
|
|
348
|
+
n("div", ht, [
|
|
349
|
+
(i(!0), l(_, null, ye(u.sections, (m, p) => (i(), l(_, { key: p }, [
|
|
350
|
+
n("div", _t, [
|
|
351
|
+
n("div", It, [
|
|
352
|
+
n("div", null, v(m.title), 1),
|
|
353
|
+
n("div", Vt, [
|
|
354
|
+
c(Ze, {
|
|
355
|
+
onClick: (y) => xe(p),
|
|
356
|
+
expanded: !h.value[p]
|
|
357
|
+
}, null, 8, ["onClick", "expanded"])
|
|
358
|
+
])
|
|
359
|
+
])
|
|
360
|
+
]),
|
|
361
|
+
h.value[p] ? (i(!0), l(_, { key: 0 }, ye(m.items, (y, fe) => (i(), l(_, { key: fe }, [
|
|
362
|
+
s[4] || (s[4] = n("div", { class: "dpiV3_itemDivider" }, null, -1)),
|
|
363
|
+
n("div", {
|
|
364
|
+
class: "dpiV3_itemOptional",
|
|
365
|
+
onClick: (Qt) => Ie(p, fe)
|
|
366
|
+
}, v(y), 9, xt)
|
|
367
|
+
], 64))), 128)) : o("", !0),
|
|
368
|
+
p < u.sections.length - 1 ? (i(), l("div", Ct)) : o("", !0)
|
|
369
|
+
], 64))), 128))
|
|
370
|
+
])
|
|
371
|
+
])) : o("", !0)
|
|
372
|
+
], 2)
|
|
373
|
+
])) : o("", !0),
|
|
374
|
+
d.value.key ? (i(), l("div", Dt, [
|
|
375
|
+
n("div", {
|
|
376
|
+
class: x(["dpiV3_modalWrap", {
|
|
377
|
+
dpiV3_removeOverflow: d.value.key === "dcatap:availability" || d.value.key === "dct:language" || d.value.key === "dcat:mediaType" || d.value.key === "dcat:compressFormat" || d.value.key === "dcat:packageFormat" || d.value.key === "spdx:checksum" || d.value.key === "adms:status"
|
|
378
|
+
}])
|
|
379
|
+
}, [
|
|
380
|
+
n("div", St, [
|
|
381
|
+
n("h2", null, v(d.value.text) + " " + v(t.$t("message.dataupload.datasets.dcat:distribution.modal.add_small")), 1),
|
|
382
|
+
c(K, {
|
|
383
|
+
class: "dpiv3_modalCrossout",
|
|
384
|
+
onClick: Z
|
|
385
|
+
})
|
|
386
|
+
]),
|
|
387
|
+
d.value.key === "dcatap:availability" ? (i(), l("p", At, v(t.$t(
|
|
388
|
+
"message.dataupload.datasets.dcat:distribution.modal.availability_paragraph"
|
|
389
|
+
)), 1)) : o("", !0),
|
|
390
|
+
d.value.key === "dcat:byteSize" ? (i(), l("p", wt, v(t.$t(
|
|
391
|
+
"message.dataupload.datasets.dcat:distribution.modal.byte-size-paragraph"
|
|
392
|
+
)), 1)) : o("", !0),
|
|
393
|
+
d.value.key === "foaf:page" ? (i(), l("p", Ft, v(t.$t(
|
|
394
|
+
"message.dataupload.datasets.dcat:distribution.modal.documentation-paragraph"
|
|
395
|
+
)), 1)) : o("", !0),
|
|
396
|
+
d.value.key === "dct:modified" ? (i(), l("div", Lt, [
|
|
397
|
+
c(Qe, {
|
|
398
|
+
modelValue: u.modifiedDate,
|
|
399
|
+
onAddModifiedDate: Fe
|
|
400
|
+
}, null, 8, ["modelValue"])
|
|
401
|
+
])) : o("", !0),
|
|
402
|
+
d.value.key === "dct:issued" ? (i(), l("div", Bt, [
|
|
403
|
+
c(at, {
|
|
404
|
+
modelValue: u.issuedDate,
|
|
405
|
+
labelText: d.value.text + " (optional)",
|
|
406
|
+
onAddIssuedDate: Le
|
|
407
|
+
}, null, 8, ["modelValue", "labelText"])
|
|
408
|
+
])) : o("", !0),
|
|
409
|
+
d.value.key === "dct:description" ? (i(), l("div", qt, [
|
|
410
|
+
c(Xe, {
|
|
411
|
+
onAddDescription: Be,
|
|
412
|
+
descriptionText: u.descriptionText
|
|
413
|
+
}, null, 8, ["descriptionText"])
|
|
414
|
+
])) : o("", !0),
|
|
415
|
+
d.value.key === "dcatde:licenseAttributionByText" ? (i(), l("div", Ut, [
|
|
416
|
+
c(Ye, {
|
|
417
|
+
onAddLicenseAttrByText: qe,
|
|
418
|
+
nameTextByClauses: u.nameTextByClauses
|
|
419
|
+
}, null, 8, ["nameTextByClauses"])
|
|
420
|
+
])) : o("", !0),
|
|
421
|
+
d.value.key === "dct:accessRights" ? (i(), l("div", zt, [
|
|
422
|
+
c(st, {
|
|
423
|
+
onAddAccessRights: Ue,
|
|
424
|
+
accessRightsProp: u.accessRightsText
|
|
425
|
+
}, null, 8, ["accessRightsProp"])
|
|
426
|
+
])) : o("", !0),
|
|
427
|
+
d.value.key === "foaf:page" ? (i(), l("div", Mt, [
|
|
428
|
+
c(Ke, {
|
|
429
|
+
documentations: k.value[e.distributionId] || [],
|
|
430
|
+
fileTypes: u.fileTypes,
|
|
431
|
+
onUpdate: s[0] || (s[0] = (m) => De(e.distributionId, m)),
|
|
432
|
+
distributionId: e.distributionId
|
|
433
|
+
}, null, 8, ["documentations", "fileTypes", "distributionId"])
|
|
434
|
+
])) : o("", !0),
|
|
435
|
+
d.value.key === "dcat:accessService" ? (i(), l("div", $t, [
|
|
436
|
+
c(ut, {
|
|
437
|
+
accessServices: g.value[e.distributionId] || [],
|
|
438
|
+
onUpdate: s[1] || (s[1] = (m) => Se(e.distributionId, m)),
|
|
439
|
+
distributionId: e.distributionId
|
|
440
|
+
}, null, 8, ["accessServices", "distributionId"])
|
|
441
|
+
])) : o("", !0),
|
|
442
|
+
d.value.key === "dcat:byteSize" ? (i(), f(tt, {
|
|
443
|
+
key: 10,
|
|
444
|
+
byteSizeProp: u.byteSizeText,
|
|
445
|
+
onAddByteSize: Re
|
|
446
|
+
}, null, 8, ["byteSizeProp"])) : o("", !0),
|
|
447
|
+
d.value.key === "dcatap:availability" ? (i(), f(et, {
|
|
448
|
+
key: 11,
|
|
449
|
+
availabilityText: u.availabilityText,
|
|
450
|
+
onAddAvailability: ze
|
|
451
|
+
}, null, 8, ["availabilityText"])) : o("", !0),
|
|
452
|
+
d.value.key === "dct:language" ? (i(), f(it, {
|
|
453
|
+
key: 12,
|
|
454
|
+
languageText: u.languageText,
|
|
455
|
+
onAddLanguage: We
|
|
456
|
+
}, null, 8, ["languageText"])) : o("", !0),
|
|
457
|
+
d.value.key === "dct:conformsTo" ? (i(), l("div", Pt, [
|
|
458
|
+
c(lt, {
|
|
459
|
+
conformsToItems: b.value[e.distributionId] || [],
|
|
460
|
+
onUpdate: s[2] || (s[2] = (m) => Ae(e.distributionId, m)),
|
|
461
|
+
asCard: !1,
|
|
462
|
+
distributionId: e.distributionId
|
|
463
|
+
}, null, 8, ["conformsToItems", "distributionId"])
|
|
464
|
+
])) : o("", !0),
|
|
465
|
+
d.value.key === "odrl:hasPolicy" ? (i(), l("div", Wt, [
|
|
466
|
+
c(nt, {
|
|
467
|
+
policyItems: T.value[e.distributionId] || [],
|
|
468
|
+
onUpdate: s[3] || (s[3] = (m) => we(e.distributionId, m)),
|
|
469
|
+
asCard: !1,
|
|
470
|
+
distributionId: e.distributionId
|
|
471
|
+
}, null, 8, ["policyItems", "distributionId"])
|
|
472
|
+
])) : o("", !0),
|
|
473
|
+
d.value.key === "dcat:mediaType" ? (i(), f(Q, {
|
|
474
|
+
key: 15,
|
|
475
|
+
onAddMediaType: J,
|
|
476
|
+
fileTypes: u.fileTypes,
|
|
477
|
+
fileFormatType: "dcat:mediaType",
|
|
478
|
+
fileFormatText: u.mediaTypeText
|
|
479
|
+
}, null, 8, ["fileTypes", "fileFormatText"])) : o("", !0),
|
|
480
|
+
d.value.key === "dcat:compressFormat" ? (i(), f(Q, {
|
|
481
|
+
key: 16,
|
|
482
|
+
onAddCompressFormat: J,
|
|
483
|
+
fileTypes: u.fileTypes,
|
|
484
|
+
fileFormatType: "dcat:compressFormat",
|
|
485
|
+
compressFormatText: u.compressFormatText
|
|
486
|
+
}, null, 8, ["fileTypes", "compressFormatText"])) : o("", !0),
|
|
487
|
+
d.value.key === "dcat:packageFormat" ? (i(), f(Q, {
|
|
488
|
+
key: 17,
|
|
489
|
+
onAddPackageFormat: J,
|
|
490
|
+
fileTypes: u.fileTypes,
|
|
491
|
+
fileFormatType: "dcat:packageFormat",
|
|
492
|
+
packageFormatText: u.packageFormatText
|
|
493
|
+
}, null, 8, ["fileTypes", "packageFormatText"])) : o("", !0),
|
|
494
|
+
d.value.key === "adms:status" ? (i(), f(ot, {
|
|
495
|
+
key: 18,
|
|
496
|
+
statusText: u.statusText,
|
|
497
|
+
onAddStatus: Me
|
|
498
|
+
}, null, 8, ["statusText"])) : o("", !0),
|
|
499
|
+
d.value.key === "spdx:checksum" ? (i(), f(dt, {
|
|
500
|
+
key: 19,
|
|
501
|
+
onAddChecksum: $e,
|
|
502
|
+
checksumText: u.checksumText,
|
|
503
|
+
checksumDropdownText: u.checksumDropdownText
|
|
504
|
+
}, null, 8, ["checksumText", "checksumDropdownText"])) : o("", !0),
|
|
505
|
+
d.value.key === "dcterms:license" ? (i(), f(rt, {
|
|
506
|
+
key: 20,
|
|
507
|
+
onAddChangeLicense: Pe,
|
|
508
|
+
changeLicenseText: u.changeLicenseText,
|
|
509
|
+
changeLicenseDropdownText: u.changeLicenseDropdownText
|
|
510
|
+
}, null, 8, ["changeLicenseText", "changeLicenseDropdownText"])) : o("", !0),
|
|
511
|
+
n("div", Rt, [
|
|
512
|
+
c(I, {
|
|
513
|
+
onClick: Z,
|
|
514
|
+
buttonText: "Zurück",
|
|
515
|
+
size: "large",
|
|
516
|
+
iconStart: "CaretLeft",
|
|
517
|
+
variant: "tertiary"
|
|
518
|
+
}),
|
|
519
|
+
c(I, {
|
|
520
|
+
onClick: Ve,
|
|
521
|
+
buttonText: "Hinzufügen",
|
|
522
|
+
size: "large"
|
|
523
|
+
})
|
|
524
|
+
])
|
|
525
|
+
], 2)
|
|
526
|
+
])) : o("", !0),
|
|
527
|
+
E.value ? (i(), l("div", Ot, [
|
|
528
|
+
n("div", Ht, [
|
|
529
|
+
n("div", Et, [
|
|
530
|
+
s[5] || (s[5] = n("h2", null, "Dokumentation löschen", -1)),
|
|
531
|
+
c(K, {
|
|
532
|
+
class: "dpiv3_modalCrossout",
|
|
533
|
+
onClick: ve
|
|
534
|
+
})
|
|
535
|
+
]),
|
|
536
|
+
s[6] || (s[6] = n("div", { class: "dpiV3_modalContent" }, [
|
|
537
|
+
n("p", null, "Möchten Sie diese Dokumentation wirklich löschen?")
|
|
538
|
+
], -1)),
|
|
539
|
+
n("div", Nt, [
|
|
540
|
+
n("div", jt, [
|
|
541
|
+
V.value ? (i(), l("div", Zt, v(V.value), 1)) : o("", !0),
|
|
542
|
+
N.value && V.value === "" ? (i(), l("div", Gt, v(N.value), 1)) : o("", !0),
|
|
543
|
+
N.value === "" && V.value === "" ? (i(), l("div", Jt, " Es wurde keine URL angegeben! ")) : o("", !0)
|
|
544
|
+
])
|
|
545
|
+
]),
|
|
546
|
+
n("div", Kt, [
|
|
547
|
+
c(I, {
|
|
548
|
+
onClick: ve,
|
|
549
|
+
buttonText: "Abbrechen",
|
|
550
|
+
size: "large",
|
|
551
|
+
variant: "tertiary"
|
|
552
|
+
}),
|
|
553
|
+
c(I, {
|
|
554
|
+
onClick: Oe,
|
|
555
|
+
buttonText: "Löschen",
|
|
556
|
+
size: "large"
|
|
557
|
+
})
|
|
558
|
+
])
|
|
559
|
+
])
|
|
560
|
+
])) : o("", !0)
|
|
561
|
+
], 64));
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
export {
|
|
565
|
+
ha as default
|
|
566
|
+
};
|