@piveau/piveau-hub-ui-modules 4.1.3 → 4.1.4
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/data-provider-interface/DPIMenu.vue.mjs +21 -22
- package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +182 -48
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +33 -32
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +3 -0
- package/dist/data-provider-interface/components/FileUpload.vue.mjs +146 -139
- package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs +55 -44
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/format-types.mjs +3 -3
- package/dist/data-provider-interface/config/dcatap/format-types.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs +108 -86
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +3 -3
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +13 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +154 -111
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.mjs +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs +27 -24
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue.mjs +33 -33
- package/dist/form/Repeatable.vue.mjs.map +1 -1
- package/dist/form/inputDefinitions.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/scss/_dpi-style.scss +17 -3
- package/dist/store/modules/authStore.d.ts +9 -0
- package/dist/store/modules/authStore.mjs +32 -24
- package/dist/store/modules/authStore.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, markRaw as $, resolveComponent as v, openBlock as i, createBlock as D, withCtx as
|
|
1
|
+
import { defineComponent as k, markRaw as $, resolveComponent as v, openBlock as i, createBlock as D, withCtx as y, createElementVNode as n, createElementBlock as o, Fragment as b, renderList as C, normalizeClass as I, toDisplayString as h, createTextVNode as r, createCommentVNode as l, createVNode as g } from "vue";
|
|
2
2
|
import { mapGetters as P } from "vuex";
|
|
3
3
|
import { useDpiStepper as F } from "../composables/useDpiStepper.mjs";
|
|
4
4
|
import V from "./InputPageStep.vue.mjs";
|
|
@@ -66,26 +66,26 @@ const K = k({
|
|
|
66
66
|
const {
|
|
67
67
|
steps: e,
|
|
68
68
|
activeStep: a,
|
|
69
|
-
visitedSteps:
|
|
70
|
-
previousStep:
|
|
71
|
-
nextStep:
|
|
72
|
-
stepPlugin:
|
|
69
|
+
visitedSteps: c,
|
|
70
|
+
previousStep: S,
|
|
71
|
+
nextStep: _,
|
|
72
|
+
stepPlugin: f,
|
|
73
73
|
goToNextStep: p,
|
|
74
74
|
goToPreviousStep: d
|
|
75
|
-
} = F(), u = (t) => (e[t].errorCount > 0 || e[t].blockingCount > 0) &&
|
|
75
|
+
} = F(), u = (t) => (e[t].errorCount > 0 || e[t].blockingCount > 0) && c.value.includes(t), s = $({
|
|
76
76
|
SelectControlledGroup: w
|
|
77
77
|
});
|
|
78
78
|
return {
|
|
79
79
|
steps: e,
|
|
80
|
-
visitedSteps:
|
|
80
|
+
visitedSteps: c,
|
|
81
81
|
activeStep: a,
|
|
82
|
-
previousStep:
|
|
83
|
-
nextStep:
|
|
84
|
-
stepPlugin:
|
|
82
|
+
previousStep: S,
|
|
83
|
+
nextStep: _,
|
|
84
|
+
stepPlugin: f,
|
|
85
85
|
checkStepValidity: u,
|
|
86
86
|
goToNextStep: p,
|
|
87
87
|
goToPreviousStep: d,
|
|
88
|
-
library:
|
|
88
|
+
library: s
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
}), j = {
|
|
@@ -94,10 +94,7 @@ const K = k({
|
|
|
94
94
|
}, z = {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "disInfoWrapper"
|
|
97
|
-
}, L = { class: "steps" }, O = ["data-step-active", "data-step-valid", "onClick"], T = { class: "stepBubbleWrap" }, q = { class: "circle stepCircle" }, A = {
|
|
98
|
-
key: 0,
|
|
99
|
-
class: "step--errors"
|
|
100
|
-
}, E = {
|
|
97
|
+
}, L = { class: "steps" }, O = ["data-step-active", "data-step-valid", "onClick"], T = { class: "stepBubbleWrap" }, q = { class: "circle stepCircle" }, A = ["textContent"], E = {
|
|
101
98
|
key: 0,
|
|
102
99
|
class: "seperatorHorizontalStepper"
|
|
103
100
|
}, G = {
|
|
@@ -112,18 +109,18 @@ const K = k({
|
|
|
112
109
|
key: 0,
|
|
113
110
|
class: "p-1"
|
|
114
111
|
}, Z = /* @__PURE__ */ n("b", null, "*", -1);
|
|
115
|
-
function J(e, a,
|
|
112
|
+
function J(e, a, c, S, _, f) {
|
|
116
113
|
const p = v("FormKitSchema"), d = v("InputPageStep"), u = v("FormKit");
|
|
117
114
|
return i(), D(u, {
|
|
118
115
|
type: "form",
|
|
119
116
|
actions: !1,
|
|
120
117
|
plugins: [e.stepPlugin]
|
|
121
118
|
}, {
|
|
122
|
-
default:
|
|
119
|
+
default: y(() => [
|
|
123
120
|
n("div", j, [
|
|
124
|
-
e.isCollapsed ?
|
|
121
|
+
e.isCollapsed ? l("", !0) : (i(), o("div", z, [
|
|
125
122
|
n("ul", L, [
|
|
126
|
-
(i(!0),
|
|
123
|
+
(i(!0), o(b, null, C(e.steps, (s, t, m) => (i(), o("li", {
|
|
127
124
|
key: m,
|
|
128
125
|
class: I(["step", {
|
|
129
126
|
activeItem: e.activeStep === t,
|
|
@@ -131,37 +128,41 @@ function J(e, a, l, h, S, _) {
|
|
|
131
128
|
"has-errors": e.checkStepValidity(t)
|
|
132
129
|
}]),
|
|
133
130
|
"data-step-active": e.activeStep === t,
|
|
134
|
-
"data-step-valid":
|
|
131
|
+
"data-step-valid": s.valid && s.errorCount === 0,
|
|
135
132
|
onClick: (Q) => e.activeStep = t
|
|
136
133
|
}, [
|
|
137
134
|
n("div", T, [
|
|
138
|
-
n("div", q,
|
|
135
|
+
n("div", q, h(m + 1), 1),
|
|
139
136
|
r(),
|
|
140
|
-
e.checkStepValidity(t) ? (i(),
|
|
141
|
-
|
|
137
|
+
e.checkStepValidity(t) ? (i(), o("span", {
|
|
138
|
+
key: 0,
|
|
139
|
+
class: "step--errors",
|
|
140
|
+
textContent: h(s.errorCount + s.blockingCount)
|
|
141
|
+
}, null, 8, A)) : l("", !0),
|
|
142
|
+
r(" " + h(e.camel2title(t)), 1)
|
|
142
143
|
]),
|
|
143
144
|
r(),
|
|
144
|
-
m + 1 != Object.keys(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions).length ? (i(),
|
|
145
|
+
m + 1 != Object.keys(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions).length ? (i(), o("div", E)) : l("", !0),
|
|
145
146
|
r(),
|
|
146
|
-
e.activeStep === "overview" ? (i(),
|
|
147
|
+
e.activeStep === "overview" ? (i(), o("div", G)) : l("", !0)
|
|
147
148
|
], 10, O))), 128)),
|
|
148
149
|
r(),
|
|
149
|
-
e.activeStep === "overview" ? (i(),
|
|
150
|
+
e.activeStep === "overview" ? (i(), o("li", H, R)) : l("", !0)
|
|
150
151
|
]),
|
|
151
152
|
r(),
|
|
152
153
|
n("div", U, [
|
|
153
|
-
(i(!0),
|
|
154
|
-
g(d, { name:
|
|
155
|
-
default:
|
|
154
|
+
(i(!0), o(b, null, C(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions, (s, t) => (i(), o("div", { key: t }, [
|
|
155
|
+
g(d, { name: s }, {
|
|
156
|
+
default: y(() => [
|
|
156
157
|
g(p, {
|
|
157
|
-
schema: e.schema[
|
|
158
|
+
schema: e.schema[s],
|
|
158
159
|
library: e.library
|
|
159
160
|
}, null, 8, ["schema", "library"]),
|
|
160
161
|
r(),
|
|
161
|
-
|
|
162
|
+
s === "Mandatory" ? (i(), o("p", W, [
|
|
162
163
|
Z,
|
|
163
164
|
r(" mandatory")
|
|
164
|
-
])) :
|
|
165
|
+
])) : l("", !0)
|
|
165
166
|
]),
|
|
166
167
|
_: 2
|
|
167
168
|
}, 1032, ["name"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DistributionStepper.vue.mjs","sources":["../../../lib/data-provider-interface/components/DistributionStepper.vue"],"sourcesContent":["<template>\n <FormKit type=\"form\" :actions=\"false\" :plugins=\"[stepPlugin]\">\n <div name=\"distribution-stepper\" class=\"singleDistributions\">\n <div class=\"disInfoWrapper\" v-if=\"!isCollapsed\">\n <ul class=\"steps\">\n <li v-for=\"(step, stepName, index) in steps\" :key=\"index\" class=\"step\"\n :data-step-active=\"activeStep === stepName\" :data-step-valid=\"step.valid && step.errorCount === 0\" :class=\"{\n activeItem: activeStep === stepName, inactiveStep: stepName != activeStep, 'has-errors': checkStepValidity(stepName)\n }\" @click=\"activeStep = stepName\">\n <div class=\"stepBubbleWrap\">\n <div class=\"circle stepCircle\">{{ index + 1 }}</div>\n <span v-if=\"checkStepValidity(stepName)\" class=\"step--errors\"
|
|
1
|
+
{"version":3,"file":"DistributionStepper.vue.mjs","sources":["../../../lib/data-provider-interface/components/DistributionStepper.vue"],"sourcesContent":["<template>\n <FormKit type=\"form\" :actions=\"false\" :plugins=\"[stepPlugin]\">\n <div name=\"distribution-stepper\" class=\"singleDistributions\">\n <div class=\"disInfoWrapper\" v-if=\"!isCollapsed\">\n <ul class=\"steps\">\n <li v-for=\"(step, stepName, index) in steps\" :key=\"index\" class=\"step\"\n :data-step-active=\"activeStep === stepName\" :data-step-valid=\"step.valid && step.errorCount === 0\" :class=\"{\n activeItem: activeStep === stepName, inactiveStep: stepName != activeStep, 'has-errors': checkStepValidity(stepName)\n }\" @click=\"activeStep = stepName\">\n <div class=\"stepBubbleWrap\">\n <div class=\"circle stepCircle\">{{ index + 1 }}</div>\n <span v-if=\"checkStepValidity(stepName)\" class=\"step--errors\" \n v-text=\"step.errorCount + step.blockingCount\" />\n {{ camel2title(stepName) }}\n </div>\n <div v-if=\"index + 1 != Object.keys(getNavSteps($env.content.dataProviderInterface.specification).distributions).length\" class=\"seperatorHorizontalStepper\">\n </div>\n <div v-if=\"activeStep === 'overview'\" class=\"seperatorHorizontalStepper\"></div>\n </li>\n <li class=\"step inactiveStep\" v-if=\"activeStep === 'overview'\">\n <div class=\"circle stepCircle\"></div>\n </li>\n </ul>\n <div class=\"d-flex flex-column w-100\">\n <div v-for=\"(stepName, index) in getNavSteps($env.content.dataProviderInterface.specification).distributions\" :key=\"index\">\n <InputPageStep :name=\"stepName\">\n <!-- <PropertyChooser></PropertyChooser> -->\n <FormKitSchema :schema=\"schema[stepName]\" :library=\"library\" />\n <p v-if=\"stepName === 'Mandatory'\" class=\"p-1\"> <b>*</b> mandatory</p>\n </InputPageStep>\n </div>\n </div>\n </div>\n </div>\n </FormKit>\n</template>\n\n<script>\nimport { defineComponent, markRaw } from 'vue';\nimport { mapGetters } from 'vuex';\nimport { useDpiStepper } from '../composables/useDpiStepper';\nimport InputPageStep from '../components/InputPageStep.vue';\nimport SelectControlledGroup from './SelectControlledGroup.vue';\n\n\nexport default defineComponent({\n props: {\n name: {\n type: String,\n default: '',\n },\n index: {\n required: true\n },\n schema: {\n required: true,\n type: Object,\n },\n context: {\n type: Object,\n },\n distributionIsCollapsed: {\n type: Boolean,\n },\n collapseDistributions: {\n type: Function,\n },\n deleteDistribution: {\n type: Function,\n },\n },\n components: {\n InputPageStep,\n },\n data() {\n return {\n isCollapsed: false,\n camel2title: (str) =>\n str\n .replace(/([A-Z])/g, (match) => ` ${match}`)\n .replace(/^./, (match) => match.toUpperCase())\n .trim(),\n isActive: false\n }\n }, \n methods: {\n editDistribution() {\n this.isCollapsed = !this.isCollapsed;\n this.collapseDistributions(this.index);\n }\n }, \n computed: {\n ...mapGetters('dpiStore', [\n 'getNavSteps'\n ]),\n getName() {\n return this.name \n || values['Distributions']['distributionList'][this.name - 1]['Mandatory']['dcat:accessURL'][0]['@id'];\n },\n },\n watch: {\n distributionIsCollapsed: {\n handler(newValue) {\n this.isCollapsed = newValue;\n },\n },\n },\n created() {},\n setup() {\n const {\n steps,\n activeStep,\n visitedSteps,\n previousStep,\n nextStep,\n stepPlugin,\n goToNextStep,\n goToPreviousStep,\n } = useDpiStepper();\n\n const checkStepValidity = (stepName) => {\n return (steps[stepName].errorCount > 0 || steps[stepName].blockingCount > 0) && visitedSteps.value.includes(stepName)\n }\n\n const library = markRaw({\n SelectControlledGroup,\n })\n\n return {\n steps,\n visitedSteps,\n activeStep,\n previousStep,\n nextStep,\n stepPlugin,\n checkStepValidity,\n goToNextStep,\n goToPreviousStep,\n \n library,\n }\n }\n});\n</script>\n\n<style></style>"],"names":["_sfc_main","defineComponent","InputPageStep","str","match","mapGetters","newValue","steps","activeStep","visitedSteps","previousStep","nextStep","stepPlugin","goToNextStep","goToPreviousStep","useDpiStepper","checkStepValidity","stepName","library","markRaw","SelectControlledGroup","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_createElementVNode","_hoisted_11","_hoisted_13","_hoisted_15","_createBlock","_component_FormKit","_ctx","_withCtx","_hoisted_1","_createCommentVNode","_openBlock","_createElementBlock","_hoisted_2","_Fragment","_renderList","step","index","_normalizeClass","$event","_toDisplayString","_createTextVNode","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_12","_createVNode","_component_InputPageStep","_component_FormKitSchema","_hoisted_14"],"mappings":";;;;;;AA6CA,MA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A,YAAA,GAAA,IAAAb,CAAA;YAAAwB,EAAA;AAAA,YAmB8Cd,EAAU,eAAA,mBAA9CK,EAEK,MAFLY,GAnBVC,CAAA,KAAAf,EAAA,IAAA,EAAA;AAAA;UAAAW,EAAA;AAAA,UAuBQpB,EAQM,OARNE,GAQM;AAAA,aAPJQ,EAAA,EAAA,GAAAC,EAMME,SA9BhBC,EAwB2CR,EAAA,YAAYA,EAAA,KAAK,QAAQ,sBAAsB,aAAa,EAAE,eAxBzG,CAwBuBf,GAAUyB,YAAvBL,EAMM,OAAA,EANyG,KAAKK,KAAK;AAAA,cACvHS,EAIgBC,GAAA,EAJA,MAAMnC,EAAQ,GAAA;AAAA,gBAzB1C,SAAAgB,EA2Bc,MAA+D;AAAA,kBAA/DkB,EAA+DE,GAAA;AAAA,oBAA/C,QAAQrB,EAAM,OAACf,CAAQ;AAAA,oBAAI,SAASe,EAAO;AAAA;kBA3BzEc,EAAA;AAAA,kBA4BuB7B,MAAQ,eAAjBmB,KAAAC,EAAsE,KAAtEiB,GAAsE;AAAA,oBAAtBzB;AAAA,oBA5B9DiB,EA4BsE,YAAU;AAAA,wBA5BhFX,EAAA,IAAA,EAAA;AAAA;gBAAA,GAAA;AAAA;;;;;;IAAA,GAAA;AAAA;;;"}
|
|
@@ -10,7 +10,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
};
|
|
11
11
|
onClickOutside: typeof onClickOutside;
|
|
12
12
|
triggerDropdown: (e: any) => void;
|
|
13
|
+
validationMessage: string;
|
|
14
|
+
placeholderMessage: string;
|
|
13
15
|
}, {
|
|
16
|
+
inputChoice: string;
|
|
14
17
|
error: string;
|
|
15
18
|
URLValue: string;
|
|
16
19
|
uploadURL: boolean;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { mapGetters as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { getNode as
|
|
5
|
-
import { reactive as
|
|
6
|
-
import { onClickOutside as
|
|
7
|
-
import { useRuntimeEnv as
|
|
1
|
+
import { mapGetters as x, mapActions as F } from "vuex";
|
|
2
|
+
import C from "axios";
|
|
3
|
+
import V from "../utils/general-helper.mjs";
|
|
4
|
+
import { getNode as E } from "@formkit/core";
|
|
5
|
+
import { reactive as S, ref as O, resolveComponent as T, openBlock as n, createElementBlock as r, Fragment as y, createElementVNode as c, createVNode as L, createTextVNode as d, createCommentVNode as u, mergeProps as A, withDirectives as P, vModelText as q, toDisplayString as v, renderList as G, pushScopeId as D, popScopeId as M } from "vue";
|
|
6
|
+
import { onClickOutside as _ } from "../../external/@vueuse/core/index";
|
|
7
|
+
import { useRuntimeEnv as N } from "../../composables/useRuntimeEnv.mjs";
|
|
8
|
+
import "@formkit/vue";
|
|
8
9
|
import "./FileUpload.vue2.mjs";
|
|
9
10
|
import B from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
|
-
const
|
|
11
|
+
const H = {
|
|
11
12
|
props: {
|
|
12
13
|
context: {
|
|
13
14
|
type: Object,
|
|
@@ -15,8 +16,9 @@ const N = {
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
data() {
|
|
18
|
-
var
|
|
19
|
+
var i;
|
|
19
20
|
return {
|
|
21
|
+
inputChoice: "",
|
|
20
22
|
error: "",
|
|
21
23
|
URLValue: "",
|
|
22
24
|
uploadURL: !1,
|
|
@@ -25,45 +27,45 @@ const N = {
|
|
|
25
27
|
isLoading: !1,
|
|
26
28
|
success: !1,
|
|
27
29
|
fail: !1,
|
|
28
|
-
validExtensions: ((
|
|
30
|
+
validExtensions: ((i = this.$env.content.dataProviderInterface.uploadFileTypes) == null ? void 0 : i.split(",")) || []
|
|
29
31
|
};
|
|
30
32
|
},
|
|
31
33
|
computed: {
|
|
32
|
-
...
|
|
34
|
+
...x("auth", [
|
|
33
35
|
"getUserData",
|
|
34
36
|
"getIsEditMode"
|
|
35
37
|
]),
|
|
36
|
-
...
|
|
38
|
+
...x("dpiStore", [
|
|
37
39
|
"getData"
|
|
38
40
|
]),
|
|
39
41
|
getCatalogue() {
|
|
40
|
-
return
|
|
42
|
+
return E("dcat:catalog").value;
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
45
|
methods: {
|
|
44
|
-
...
|
|
46
|
+
...F("dpiStore", [
|
|
45
47
|
"saveLocalstorageValues"
|
|
46
48
|
]),
|
|
47
49
|
toggleUploadUrl() {
|
|
48
|
-
this.uploadURL && (this.uploadURL = !this.uploadURL);
|
|
50
|
+
this.inputChoice = "Upload a file", this.uploadURL && (this.uploadURL = !this.uploadURL);
|
|
49
51
|
},
|
|
50
52
|
toggleUploadFileSwitch() {
|
|
51
|
-
this.uploadFileSwitch && (this.uploadFileSwitch = !this.uploadFileSwitch);
|
|
53
|
+
this.inputChoice = "Provide an URL", this.uploadFileSwitch && (this.uploadFileSwitch = !this.uploadFileSwitch);
|
|
52
54
|
},
|
|
53
|
-
validateFile(
|
|
54
|
-
const
|
|
55
|
-
this.validExtensions && this.validExtensions.length ? this.validExtensions.includes(
|
|
55
|
+
validateFile(i) {
|
|
56
|
+
const l = "." + i.target.files[0].name.split(".").pop().toLowerCase();
|
|
57
|
+
this.validExtensions && this.validExtensions.length ? this.validExtensions.includes(l) ? this.uploadOrReplaceFile({ file: i.target.files[0] }) : console.log("Wrong filetype") : (this.error = "", this.uploadOrReplaceFile({ file: i.target.files[0] }));
|
|
56
58
|
},
|
|
57
59
|
async saveUrl() {
|
|
58
|
-
this.URLValue.includes("http://") || this.URLValue.includes("https://") ? await this.context.node.input({ "@id": this.URLValue }) : await this.context.node.input({ "@id": "https://" + this.URLValue });
|
|
60
|
+
this.URLValue.includes("http://") || this.URLValue.includes("https://") ? await this.context.node.input({ "@id": this.URLValue, mode: this.inputChoice }) : await this.context.node.input({ "@id": "https://" + this.URLValue, mode: this.inputChoice });
|
|
59
61
|
},
|
|
60
62
|
checkIfPresent() {
|
|
61
63
|
if (this.context.value["@id"])
|
|
62
64
|
return this.URLValue = this.context.value["@id"], !0;
|
|
63
65
|
},
|
|
64
66
|
// finds the parent input group of a given element.
|
|
65
|
-
findParentInputGroupOfElement(
|
|
66
|
-
let e =
|
|
67
|
+
findParentInputGroupOfElement(i) {
|
|
68
|
+
let e = i;
|
|
67
69
|
for (; e; ) {
|
|
68
70
|
if (e.classList.contains("formkit-input-group-repeatable"))
|
|
69
71
|
return e;
|
|
@@ -73,98 +75,97 @@ const N = {
|
|
|
73
75
|
},
|
|
74
76
|
// finds the index of the distribution access URL based on the root of this component.
|
|
75
77
|
findDistributionAccessUrlIndex() {
|
|
76
|
-
const
|
|
78
|
+
const i = this.$refs.fileupload, e = this.findParentInputGroupOfElement(i);
|
|
77
79
|
if (!e)
|
|
78
80
|
return null;
|
|
79
|
-
const
|
|
80
|
-
return Array.from(
|
|
81
|
+
const s = e.parentElement.querySelectorAll(".formkit-input-group-repeatable");
|
|
82
|
+
return Array.from(s).indexOf(e);
|
|
81
83
|
},
|
|
82
|
-
async uploadOrReplaceFile({ file:
|
|
83
|
-
var
|
|
84
|
-
const e = ((
|
|
85
|
-
if (e &&
|
|
86
|
-
const
|
|
87
|
-
if (
|
|
88
|
-
const R = this.$env.api.fileUploadUrl,
|
|
89
|
-
return await this.uploadFile(
|
|
84
|
+
async uploadOrReplaceFile({ file: i }) {
|
|
85
|
+
var s, t, a, p, o, h, g;
|
|
86
|
+
const e = ((a = (t = (s = this.$env) == null ? void 0 : s.content) == null ? void 0 : t.dataProviderInterface) == null ? void 0 : a.enableFileUploadReplace) || !1, l = ((p = this.$route.query) == null ? void 0 : p.edit) ?? !1;
|
|
87
|
+
if (e && l) {
|
|
88
|
+
const k = (o = this.$route.query) == null ? void 0 : o.edit, I = this.findDistributionAccessUrlIndex(), f = (h = this.getData("distributions")) == null ? void 0 : h[k], m = (g = f == null ? void 0 : f["dcat:accessURL"]) == null ? void 0 : g[I], U = m == null ? void 0 : m["@id"];
|
|
89
|
+
if (U) {
|
|
90
|
+
const R = this.$env.api.fileUploadUrl, b = V.getFileIdByAccessUrl({ accessUrl: U, fileUploadUrl: R });
|
|
91
|
+
return await this.uploadFile(i, {
|
|
90
92
|
method: "PUT",
|
|
91
|
-
url: `${this.$env.api.fileUploadUrl}data/${
|
|
93
|
+
url: `${this.$env.api.fileUploadUrl}data/${b}?catalog=${this.getCatalogue}`
|
|
92
94
|
});
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
|
-
return await this.uploadFile(
|
|
97
|
+
return await this.uploadFile(i);
|
|
96
98
|
},
|
|
97
|
-
async uploadFile(
|
|
99
|
+
async uploadFile(i, e = {}) {
|
|
98
100
|
this.isLoading = !0;
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
const
|
|
101
|
+
const l = new FormData();
|
|
102
|
+
l.append("file", i);
|
|
103
|
+
const s = this.getCatalogue, t = this.getUserData.rtpToken, a = {
|
|
102
104
|
method: "POST",
|
|
103
|
-
url: `${this.$env.api.fileUploadUrl}data?catalog=${
|
|
105
|
+
url: `${this.$env.api.fileUploadUrl}data?catalog=${s}`,
|
|
104
106
|
...e
|
|
105
|
-
},
|
|
106
|
-
method:
|
|
107
|
-
url:
|
|
107
|
+
}, p = {
|
|
108
|
+
method: a.method,
|
|
109
|
+
url: a.url,
|
|
108
110
|
headers: {
|
|
109
111
|
"Content-Type": "multipart/form-data",
|
|
110
|
-
Authorization: `Bearer ${
|
|
112
|
+
Authorization: `Bearer ${t}`
|
|
111
113
|
},
|
|
112
|
-
data:
|
|
114
|
+
data: l
|
|
113
115
|
};
|
|
114
116
|
try {
|
|
115
|
-
const
|
|
116
|
-
this.context.model = `${this.$env.api.fileUploadUrl}${
|
|
117
|
-
} catch (
|
|
118
|
-
this.isLoading = !1, this.fail = !0, console.error(
|
|
117
|
+
const o = await C.request(p), h = o.data.result.location.substring(o.data.result.location.indexOf("/") + 1);
|
|
118
|
+
this.context.model = `${this.$env.api.fileUploadUrl}${h}`, this.isLoading = !1, this.success = !0, await this.context.node.input({ "@id": `${this.$env.api.fileUploadUrl}${h}` });
|
|
119
|
+
} catch (o) {
|
|
120
|
+
this.isLoading = !1, this.fail = !0, console.error(o);
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
},
|
|
122
124
|
mounted() {
|
|
123
125
|
this.$nextTick(function() {
|
|
124
126
|
if (this.context.value["@id"])
|
|
125
|
-
return this.uploadURL = !0, this.URLValue = this.context.value["@id"], !0;
|
|
127
|
+
return this.uploadURL = !0, this.URLValue = this.context.value["@id"], this.inputChoice = "Provide an URL", !0;
|
|
126
128
|
});
|
|
127
129
|
},
|
|
128
130
|
setup() {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
N();
|
|
132
|
+
let i = "This property is required", e = "Choose between fileupload and providing a URL";
|
|
133
|
+
var l = S({
|
|
131
134
|
active: !1
|
|
132
135
|
});
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
const s = O("fload");
|
|
137
|
+
_(s, (a) => {
|
|
138
|
+
l.active = !1;
|
|
139
|
+
});
|
|
140
|
+
function t(a) {
|
|
141
|
+
l.active = !l.active;
|
|
137
142
|
}
|
|
138
143
|
return {
|
|
139
|
-
drop:
|
|
140
|
-
onClickOutside:
|
|
141
|
-
triggerDropdown:
|
|
144
|
+
drop: l,
|
|
145
|
+
onClickOutside: _,
|
|
146
|
+
triggerDropdown: t,
|
|
147
|
+
validationMessage: i,
|
|
148
|
+
placeholderMessage: e
|
|
142
149
|
};
|
|
143
150
|
}
|
|
144
|
-
},
|
|
151
|
+
}, w = (i) => (D("data-v-5ce35777"), i = i(), M(), i), K = { class: "position-relative w-100" }, W = {
|
|
145
152
|
key: 0,
|
|
146
153
|
ref: "fLoad",
|
|
147
154
|
class: "selectListUpload"
|
|
148
|
-
},
|
|
155
|
+
}, j = {
|
|
149
156
|
key: 0,
|
|
150
|
-
class: "w-100
|
|
151
|
-
},
|
|
152
|
-
class: "formkit-label w-100",
|
|
153
|
-
for: "aUrlLink"
|
|
154
|
-
}, "Provide an URL", -1)), z = ["data-type"], J = { class: "file-div position-relative" }, K = /* @__PURE__ */ h(() => /* @__PURE__ */ s("label", {
|
|
155
|
-
class: "formkit-label",
|
|
156
|
-
for: "aUrlFL"
|
|
157
|
-
}, "Upload a file", -1)), Q = ["accept"], X = {
|
|
157
|
+
class: "w-100 position-relative"
|
|
158
|
+
}, z = ["data-type"], J = { class: "file-div position-relative" }, Q = ["accept"], X = {
|
|
158
159
|
class: "upload-feedback position-absolute d-flex",
|
|
159
160
|
style: { right: "0" }
|
|
160
161
|
}, Y = {
|
|
161
162
|
key: 0,
|
|
162
163
|
class: "lds-ring"
|
|
163
|
-
}, Z = { key: 1 }, $ = /* @__PURE__ */
|
|
164
|
+
}, Z = { key: 1 }, $ = /* @__PURE__ */ w(() => /* @__PURE__ */ c("i", { class: "material-icons d-flex check-icon" }, "check_circle", -1)), ee = [
|
|
164
165
|
$
|
|
165
|
-
], te = { key: 2 }, ie = /* @__PURE__ */
|
|
166
|
+
], te = { key: 2 }, ie = /* @__PURE__ */ w(() => /* @__PURE__ */ c("i", { class: "material-icons d-flex close-icon" }, "error", -1)), oe = [
|
|
166
167
|
ie
|
|
167
|
-
],
|
|
168
|
+
], le = {
|
|
168
169
|
key: 0,
|
|
169
170
|
class: "dURLText my-3"
|
|
170
171
|
}, se = ["href"], ae = {
|
|
@@ -174,109 +175,115 @@ const N = {
|
|
|
174
175
|
key: 0,
|
|
175
176
|
class: "errorSub my-3 d-flex"
|
|
176
177
|
}, re = { class: "d-flex flex-wrap w-100" };
|
|
177
|
-
function de(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
function de(i, e, l, s, t, a) {
|
|
179
|
+
const p = T("FormKit");
|
|
180
|
+
return n(), r(y, null, [
|
|
181
|
+
c("div", K, [
|
|
182
|
+
L(p, {
|
|
183
|
+
name: "mode",
|
|
184
|
+
validation: "required",
|
|
181
185
|
type: "text",
|
|
182
186
|
class: "selectInputField formkit-inner",
|
|
183
187
|
readonly: "readonly",
|
|
184
|
-
onClick: e[0] || (e[0] = (
|
|
185
|
-
placeholder:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
onClick: e[0] || (e[0] = (o) => s.triggerDropdown()),
|
|
189
|
+
placeholder: s.placeholderMessage,
|
|
190
|
+
modelValue: t.inputChoice,
|
|
191
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => t.inputChoice = o),
|
|
192
|
+
"validation-messages": {
|
|
193
|
+
required: s.validationMessage
|
|
194
|
+
}
|
|
195
|
+
}, null, 8, ["placeholder", "modelValue", "validation-messages"]),
|
|
196
|
+
d(),
|
|
197
|
+
s.drop.active ? (n(), r("ul", W, [
|
|
198
|
+
c("li", {
|
|
199
|
+
onClick: e[2] || (e[2] = (o) => {
|
|
200
|
+
t.uploadFileSwitch = !0, a.toggleUploadUrl();
|
|
192
201
|
}),
|
|
193
202
|
class: "p-2 border-b border-gray-200 data-[selected=true]:bg-blue-100 choosableItemsAC"
|
|
194
203
|
}, "Upload a file"),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
onClick: e[
|
|
198
|
-
|
|
204
|
+
d(),
|
|
205
|
+
c("li", {
|
|
206
|
+
onClick: e[3] || (e[3] = (o) => {
|
|
207
|
+
t.uploadURL = !0, a.toggleUploadFileSwitch();
|
|
199
208
|
}),
|
|
200
209
|
class: "p-2 border-b border-gray-200 data-[selected=true]:bg-blue-100 choosableItemsAC"
|
|
201
210
|
}, "Provide an URL")
|
|
202
211
|
], 512)) : u("", !0)
|
|
203
212
|
]),
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
a(),
|
|
208
|
-
_(s("input", {
|
|
213
|
+
d(),
|
|
214
|
+
t.uploadURL && !t.uploadFileSwitch ? (n(), r("div", j, [
|
|
215
|
+
L(p, {
|
|
209
216
|
id: "aUrlLink",
|
|
210
|
-
|
|
217
|
+
modelValue: t.URLValue,
|
|
218
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => t.URLValue = o),
|
|
211
219
|
class: "selectInputField formkit-inner",
|
|
212
220
|
type: "url",
|
|
213
221
|
name: "@id",
|
|
214
|
-
onInput:
|
|
215
|
-
validation: "
|
|
216
|
-
"validation-visibility": "live"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
222
|
+
onInput: a.saveUrl,
|
|
223
|
+
validation: "required|url",
|
|
224
|
+
"validation-visibility": "live",
|
|
225
|
+
"validation-messages": {
|
|
226
|
+
required: s.validationMessage
|
|
227
|
+
}
|
|
228
|
+
}, null, 8, ["modelValue", "onInput", "validation-messages"])
|
|
220
229
|
])) : u("", !0),
|
|
221
|
-
|
|
222
|
-
|
|
230
|
+
d(),
|
|
231
|
+
t.uploadFileSwitch ? (n(), r("div", A({
|
|
223
232
|
key: 1,
|
|
224
233
|
ref: "fileupload",
|
|
225
|
-
class: ["p-3 w-100", `formkit-input-element formkit-input-element--${
|
|
226
|
-
"data-type":
|
|
227
|
-
},
|
|
228
|
-
|
|
234
|
+
class: ["p-3 w-100", `formkit-input-element formkit-input-element--${l.context.type}`],
|
|
235
|
+
"data-type": l.context.type
|
|
236
|
+
}, i.$attrs), [
|
|
237
|
+
P(c("input", {
|
|
229
238
|
type: "text",
|
|
230
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
231
|
-
onBlur: e[6] || (e[6] = (...
|
|
239
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => l.context.model = o),
|
|
240
|
+
onBlur: e[6] || (e[6] = (...o) => l.context.blurHandler && l.context.blurHandler(...o)),
|
|
232
241
|
hidden: ""
|
|
233
242
|
}, null, 544), [
|
|
234
|
-
[
|
|
243
|
+
[q, l.context.model]
|
|
235
244
|
]),
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
a(),
|
|
240
|
-
s("input", {
|
|
245
|
+
d(),
|
|
246
|
+
c("div", J, [
|
|
247
|
+
c("input", {
|
|
241
248
|
class: "mt-3",
|
|
242
249
|
type: "file",
|
|
243
250
|
id: "aUrlFL",
|
|
244
251
|
name: "fileUpload",
|
|
245
|
-
onChange: e[7] || (e[7] = (
|
|
246
|
-
accept:
|
|
252
|
+
onChange: e[7] || (e[7] = (o) => a.validateFile(o)),
|
|
253
|
+
accept: t.validExtensions
|
|
247
254
|
}, null, 40, Q),
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
+
d(),
|
|
256
|
+
c("div", X, [
|
|
257
|
+
t.isLoading ? (n(), r("div", Y)) : u("", !0),
|
|
258
|
+
d(),
|
|
259
|
+
t.success ? (n(), r("div", Z, ee)) : u("", !0),
|
|
260
|
+
d(),
|
|
261
|
+
t.fail ? (n(), r("div", te, oe)) : u("", !0)
|
|
255
262
|
])
|
|
256
263
|
]),
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
href:
|
|
262
|
-
},
|
|
264
|
+
d(),
|
|
265
|
+
t.success ? (n(), r("p", le, [
|
|
266
|
+
d(v(i.$t("message.metadata.downloadUrl")) + ": ", 1),
|
|
267
|
+
c("a", {
|
|
268
|
+
href: l.context.model
|
|
269
|
+
}, v(l.context.model), 9, se)
|
|
263
270
|
])) : u("", !0),
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
(
|
|
270
|
-
key:
|
|
271
|
+
d(),
|
|
272
|
+
t.validExtensions && t.validExtensions.length ? (n(), r("div", ae, [
|
|
273
|
+
t.success ? u("", !0) : (n(), r("p", ne, "Allowed types: ")),
|
|
274
|
+
d(),
|
|
275
|
+
c("div", re, [
|
|
276
|
+
(n(!0), r(y, null, G(t.validExtensions, (o) => (n(), r("span", {
|
|
277
|
+
key: o,
|
|
271
278
|
class: "mr-1 mb-1 allowedFTypes"
|
|
272
|
-
},
|
|
279
|
+
}, v(o), 1))), 128))
|
|
273
280
|
])
|
|
274
281
|
])) : u("", !0)
|
|
275
282
|
], 16, z)) : u("", !0)
|
|
276
283
|
], 64);
|
|
277
284
|
}
|
|
278
|
-
const
|
|
285
|
+
const ye = /* @__PURE__ */ B(H, [["render", de], ["__scopeId", "data-v-5ce35777"]]);
|
|
279
286
|
export {
|
|
280
|
-
|
|
287
|
+
ye as default
|
|
281
288
|
};
|
|
282
289
|
//# sourceMappingURL=FileUpload.vue.mjs.map
|