@piveau/piveau-hub-ui-modules 4.3.1 → 4.3.3
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/composables/useRuntimeEnv.d.ts +1 -1
- package/dist/configurations/config-schema/apiSchema.d.ts +3 -3
- package/dist/configurations/config-schema/apiSchema.mjs +1 -1
- package/dist/configurations/config-schema/apiSchema.mjs.map +1 -1
- package/dist/configurations/config-schema/configSchema.d.ts +5 -5
- package/dist/data-provider-interface/DPIMenu.vue.mjs +37 -36
- package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +149 -135
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +152 -140
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +60 -60
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Dropup.vue.mjs +17 -17
- package/dist/data-provider-interface/components/Dropup.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Dropup.vue2.mjs +2 -2
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +5 -2
- package/dist/data-provider-interface/components/FileUpload.vue.mjs +119 -117
- package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/Navigation.vue.mjs +69 -69
- package/dist/data-provider-interface/components/Navigation.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs +19 -14
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs +31 -31
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs +90 -94
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue2.mjs +2 -2
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +41 -30
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +81 -78
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapdeODB/format-types.mjs +3 -272
- package/dist/data-provider-interface/config/dcatapdeODB/format-types.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.d.ts +4 -15
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.mjs +13 -2081
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.mjs +3 -21
- package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapdeODB/prefixes.mjs +3 -24
- package/dist/data-provider-interface/config/dcatapdeODB/prefixes.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.mjs +3 -31
- package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.mjs.map +1 -1
- package/dist/data-provider-interface/config/dpi-spec-config.mjs +8 -8
- package/dist/data-provider-interface/config/dpi-spec-config.mjs.map +1 -1
- package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs +52 -52
- package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +127 -138
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.mjs +68 -68
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +31 -31
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue.mjs +37 -37
- package/dist/form/Repeatable.vue.mjs.map +1 -1
- package/dist/modal/AppConfirmationDialog.vue.d.ts +3 -1
- package/dist/modal/AppConfirmationDialog.vue.mjs +45 -39
- package/dist/modal/AppConfirmationDialog.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as b, resolveComponent as g, openBlock as s, createElementBlock as n, Fragment as k, renderList as x, normalizeClass as c, toDisplayString as l, createTextVNode as u, createElementVNode as o, createVNode as y, withCtx as p, renderSlot as C } from "vue";
|
|
2
2
|
import "./Repeatable.vue2.mjs";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import $ from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const R = { key: 0 }, N = { key: 1 }, V = { class: "horizontal-wrapper" }, w = { class: "repeatableWrap" }, z = { class: "interactionHeaderRepeatable my-1" }, B = ["onClick"], D = ["onClick", "data-key"], E = { class: "formkitWrapRepeatable" }, I = {
|
|
5
5
|
__name: "Repeatable",
|
|
6
6
|
props: {
|
|
7
7
|
context: Object
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
const t =
|
|
9
|
+
setup(m) {
|
|
10
|
+
const t = m, a = b([]);
|
|
11
11
|
setTimeout(() => {
|
|
12
12
|
if (t.context.value.length === 0)
|
|
13
|
-
|
|
13
|
+
a.value.push("init");
|
|
14
14
|
else
|
|
15
15
|
for (let e = 0; e < t.context.value.length; e++)
|
|
16
|
-
t.context.value[e] != null &&
|
|
16
|
+
t.context.value[e] != null && a.value.push(t.context.value[e]["@value"]);
|
|
17
17
|
});
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
}, _ = (e,
|
|
21
|
-
|
|
18
|
+
const v = (e) => {
|
|
19
|
+
a.value.push(t.context.value[e]["@value"]);
|
|
20
|
+
}, _ = (e, i) => {
|
|
21
|
+
i != 1 && a.value.splice(e, 1);
|
|
22
22
|
};
|
|
23
|
-
return (e,
|
|
24
|
-
const f =
|
|
25
|
-
return
|
|
26
|
-
class:
|
|
27
|
-
key:
|
|
23
|
+
return (e, i) => {
|
|
24
|
+
const f = g("i18n-t");
|
|
25
|
+
return s(!0), n(k, null, x(a.value, (r, d) => (s(), n("div", {
|
|
26
|
+
class: c(["repeatable formkitProperty", [t.context.attrs.identifier]]),
|
|
27
|
+
key: r
|
|
28
28
|
}, [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
t.context.attrs.class != null && t.context.attrs.class.includes("inDistribution") ? (s(), n("h4", R, l(e.$t("message.dataupload.distributions." + t.context.attrs.identifier + ".label")), 1)) : (s(), n("h4", N, l(e.$t("message.dataupload.datasets." + t.context.attrs.identifier + ".label")), 1)),
|
|
30
|
+
u(),
|
|
31
|
+
o("div", V, [
|
|
32
|
+
o("div", w, [
|
|
33
|
+
o("div", z, [
|
|
34
|
+
y(f, {
|
|
35
35
|
keypath: "message.dataupload.info.repeatable",
|
|
36
36
|
scope: "global",
|
|
37
37
|
tag: "p"
|
|
38
38
|
}, {
|
|
39
|
-
add:
|
|
40
|
-
|
|
39
|
+
add: p(() => [
|
|
40
|
+
o("a", {
|
|
41
41
|
class: "add",
|
|
42
|
-
onClick: (h) =>
|
|
43
|
-
}, "+ " + l(e.$t("message.dataupload.info.add")), 9,
|
|
42
|
+
onClick: (h) => v(d)
|
|
43
|
+
}, "+ " + l(e.$t("message.dataupload.info.add")), 9, B)
|
|
44
44
|
]),
|
|
45
|
-
remove:
|
|
46
|
-
|
|
47
|
-
class:
|
|
48
|
-
onClick: (h) => _(
|
|
49
|
-
"data-key":
|
|
50
|
-
}, "- " + l(e.$t("message.dataupload.info.remove")), 11,
|
|
45
|
+
remove: p(() => [
|
|
46
|
+
o("a", {
|
|
47
|
+
class: c(["remove", { disabledRemove: t.context.value.length === 1 }]),
|
|
48
|
+
onClick: (h) => _(d, a.value.length),
|
|
49
|
+
"data-key": r
|
|
50
|
+
}, "- " + l(e.$t("message.dataupload.info.remove")), 11, D)
|
|
51
51
|
]),
|
|
52
52
|
_: 2
|
|
53
53
|
}, 1024)
|
|
54
54
|
]),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
u(),
|
|
56
|
+
o("div", E, [
|
|
57
|
+
C(e.$slots, "default", {}, void 0, !0)
|
|
58
58
|
])
|
|
59
59
|
])
|
|
60
60
|
])
|
|
61
61
|
], 2))), 128);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
},
|
|
64
|
+
}, j = /* @__PURE__ */ $(I, [["__scopeId", "data-v-80f8648a"]]);
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
j as default
|
|
67
67
|
};
|
|
68
68
|
//# sourceMappingURL=Repeatable.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Repeatable.vue.mjs","sources":["../../lib/form/Repeatable.vue"],"sourcesContent":["<template>\n <div class=\"repeatable formkitProperty\" :class=\"[props.context.attrs.identifier]\"\n v-for=\"key, repeatableIndex in counter\" :key=\"key\">\n <h4>{{ props.context.label }}</h4>\n <div class=\"horizontal-wrapper\">\n <div class=\"repeatableWrap\">\n <div class=\"interactionHeaderRepeatable my-1\">\n <i18n-t keypath=\"message.dataupload.info.repeatable\" scope=\"global\" tag=\"p\">\n <template v-slot:add>\n <a class=\"add\" @click=\"addItem(repeatableIndex)\">+ {{ $t('message.dataupload.info.add') }}</a>\n </template>\n <template v-slot:remove>\n\n <a class=\"remove\" :class=\"{ disabledRemove: props.context.value.length === 1 }\"\n @click=\"removeItem(repeatableIndex, counter.length)\" :data-key=\"key\">- {{\n $t('message.dataupload.info.remove') }}</a>\n </template>\n </i18n-t>\n </div>\n <div class=\"formkitWrapRepeatable\">\n\n <slot></slot>\n\n </div>\n </div>\n </div>\n </div>\n</template>\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n context: Object\n})\n\nconst counter = ref([])\n\n// Need to handle the data like this. The values seem to take their time while loading into the DOM.\nsetTimeout(() => {\n if (props.context.value.length === 0) {\n counter.value.push('init')\n }\n else {\n for (let index = 0; index < props.context.value.length; index++) {\n if (props.context.value[index] != null) {\n counter.value.push(props.context.value[index]['@value'])\n }\n }\n }\n});\n\n// Pushing a blank to the context object and refreshing the counter\nconst addItem = (index) => {\n counter.value.push(props.context.value[index]['@value'])\n
|
|
1
|
+
{"version":3,"file":"Repeatable.vue.mjs","sources":["../../lib/form/Repeatable.vue"],"sourcesContent":["<template>\n <div class=\"repeatable formkitProperty\" :class=\"[props.context.attrs.identifier]\"\n v-for=\"key, repeatableIndex in counter\" :key=\"key\">\n <h4 v-if=\"props.context.attrs.class != undefined && props.context.attrs.class.includes('inDistribution')\">{{\n $t('message.dataupload.distributions.' + props.context.attrs.identifier + '.label') }}</h4>\n <h4 v-else>{{ $t('message.dataupload.datasets.' + props.context.attrs.identifier + '.label') }}</h4>\n <div class=\"horizontal-wrapper\">\n <div class=\"repeatableWrap\">\n <div class=\"interactionHeaderRepeatable my-1\">\n <i18n-t keypath=\"message.dataupload.info.repeatable\" scope=\"global\" tag=\"p\">\n <template v-slot:add>\n <a class=\"add\" @click=\"addItem(repeatableIndex)\">+ {{ $t('message.dataupload.info.add') }}</a>\n </template>\n <template v-slot:remove>\n\n <a class=\"remove\" :class=\"{ disabledRemove: props.context.value.length === 1 }\"\n @click=\"removeItem(repeatableIndex, counter.length)\" :data-key=\"key\">- {{\n $t('message.dataupload.info.remove') }}</a>\n </template>\n </i18n-t>\n </div>\n <div class=\"formkitWrapRepeatable\">\n\n <slot></slot>\n\n </div>\n </div>\n </div>\n </div>\n</template>\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n context: Object\n})\n\nconst counter = ref([])\n\n// Need to handle the data like this. The values seem to take their time while loading into the DOM.\nsetTimeout(() => {\n if (props.context.value.length === 0) {\n counter.value.push('init')\n }\n else {\n for (let index = 0; index < props.context.value.length; index++) {\n if (props.context.value[index] != null) {\n counter.value.push(props.context.value[index]['@value'])\n }\n }\n }\n});\n\n// Pushing a blank to the context object and refreshing the counter\nconst addItem = (index) => {\n counter.value.push(props.context.value[index]['@value'])\n\n}\n// remove Item - ToDo need to make sure the localhost notices the splice\nconst removeItem = (index, counterLength) => {\n\n if (counterLength != 1) {\n counter.value.splice(index, 1)\n }\n\n}\n</script>\n<style scoped>\n.add,\n.remove {\n padding: 0.5rem;\n margin: 0.5rem;\n border-radius: 5px;\n transition: all 200ms ease-in-out;\n}\n\n.add {\n border: 1px solid lightseagreen;\n\n &:hover {\n text-decoration: none;\n color: white;\n background-color: lightseagreen;\n }\n}\n\n.remove {\n border: 1px solid lightcoral;\n\n &:hover {\n text-decoration: none;\n color: white;\n background-color: lightcoral;\n }\n}\n\n.disabledRemove {\n &:hover {\n text-decoration: none;\n color: white;\n background-color: lightgray;\n }\n}\n</style>\n"],"names":["props","__props","counter","ref","index","addItem","removeItem","counterLength"],"mappings":";;;;;;;;;AAiCA,UAAMA,IAAQC,GAIRC,IAAUC,EAAI,EAAE;AAGtB,eAAW,MAAM;AACf,UAAIH,EAAM,QAAQ,MAAM,WAAW;AACjC,QAAAE,EAAQ,MAAM,KAAK,MAAM;AAAA;AAGzB,iBAASE,IAAQ,GAAGA,IAAQJ,EAAM,QAAQ,MAAM,QAAQI;AACtD,UAAIJ,EAAM,QAAQ,MAAMI,CAAK,KAAK,QAChCF,EAAQ,MAAM,KAAKF,EAAM,QAAQ,MAAMI,CAAK,EAAE,QAAQ,CAAC;AAAA,IAI/D,CAAC;AAGD,UAAMC,IAAU,CAACD,MAAU;AACzB,MAAAF,EAAQ,MAAM,KAAKF,EAAM,QAAQ,MAAMI,CAAK,EAAE,QAAQ,CAAC;AAAA,IAEzD,GAEME,IAAa,CAACF,GAAOG,MAAkB;AAE3C,MAAIA,KAAiB,KACnBL,EAAQ,MAAM,OAAOE,GAAO,CAAC;AAAA,IAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -7,7 +7,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
-
}, any,
|
|
10
|
+
}, any, {
|
|
11
|
+
resolvedConfirm: string;
|
|
12
|
+
}, {}, {
|
|
11
13
|
handleHeader(): void;
|
|
12
14
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
15
|
confirm: {
|
|
@@ -1,26 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as i, openBlock as n, createElementBlock as l, createElementVNode as o, toDisplayString as t, createTextVNode as a, renderSlot as r, withDirectives as m, vShow as c } from "vue";
|
|
2
|
+
import f from "jquery";
|
|
3
3
|
import "./AppConfirmationDialog.vue2.mjs";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import p from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
+
const h = i({
|
|
6
6
|
name: "ConfirmationDialog",
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
props: {
|
|
9
9
|
confirm: {
|
|
10
10
|
type: String,
|
|
11
|
-
default: "
|
|
11
|
+
default: "Confirm"
|
|
12
12
|
},
|
|
13
13
|
loading: {
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: !1
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
resolvedConfirm: this.confirm
|
|
21
|
+
};
|
|
22
|
+
},
|
|
18
23
|
methods: {
|
|
19
24
|
handleHeader() {
|
|
20
|
-
|
|
25
|
+
f("#navbar-toggle").css("z-index", "99");
|
|
21
26
|
}
|
|
27
|
+
},
|
|
28
|
+
created() {
|
|
29
|
+
this.confirm === "Confirm" && (this.$i18n.locale = this.$route.query.locale, this.resolvedConfirm = this.$t("message.dataupload.modal.confirmModal"));
|
|
22
30
|
}
|
|
23
|
-
}),
|
|
31
|
+
}), b = {
|
|
24
32
|
id: "modal",
|
|
25
33
|
class: "modal fade modalWrapper",
|
|
26
34
|
tabindex: "-1",
|
|
@@ -31,35 +39,33 @@ const b = d({
|
|
|
31
39
|
}, u = {
|
|
32
40
|
class: "modal-dialog modal-lg",
|
|
33
41
|
role: "document"
|
|
34
|
-
}, g = { class: "modal-content" }, _ =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"data-dismiss": "modal",
|
|
46
|
-
"aria-label": "Close"
|
|
47
|
-
}, [
|
|
48
|
-
/* @__PURE__ */ o("span", { "aria-hidden": "true" }, "×")
|
|
49
|
-
])
|
|
50
|
-
], -1), v = { class: "modal-body" }, y = { class: "modal-footer" }, C = ["disabled"], $ = {
|
|
42
|
+
}, g = { class: "modal-content" }, _ = { class: "modal-header" }, v = {
|
|
43
|
+
class: "modal-title",
|
|
44
|
+
id: "confirmationDialogLabel"
|
|
45
|
+
}, $ = /* @__PURE__ */ o("button", {
|
|
46
|
+
type: "button",
|
|
47
|
+
class: "close",
|
|
48
|
+
"data-dismiss": "modal",
|
|
49
|
+
"aria-label": "Close"
|
|
50
|
+
}, [
|
|
51
|
+
/* @__PURE__ */ o("span", { "aria-hidden": "true" }, "×")
|
|
52
|
+
], -1), C = { class: "modal-body" }, y = { class: "modal-footer" }, D = ["disabled"], k = {
|
|
51
53
|
class: "spinner-border spinner-border-sm",
|
|
52
54
|
role: "status",
|
|
53
55
|
"aria-hidden": "true"
|
|
54
|
-
},
|
|
55
|
-
function
|
|
56
|
-
return n(),
|
|
56
|
+
}, H = ["disabled"];
|
|
57
|
+
function S(e, s, A, B, w, E) {
|
|
58
|
+
return n(), l("div", b, [
|
|
57
59
|
o("div", u, [
|
|
58
60
|
o("div", g, [
|
|
59
|
-
_,
|
|
61
|
+
o("div", _, [
|
|
62
|
+
o("h2", v, t(e.$t("message.dataupload.modal.confirmHead")), 1),
|
|
63
|
+
a(),
|
|
64
|
+
$
|
|
65
|
+
]),
|
|
60
66
|
a(),
|
|
61
|
-
o("div",
|
|
62
|
-
|
|
67
|
+
o("div", C, [
|
|
68
|
+
r(e.$slots, "default", {}, () => [
|
|
63
69
|
a(`
|
|
64
70
|
Are you sure? This process can not be reverted.
|
|
65
71
|
`)
|
|
@@ -69,28 +75,28 @@ function D(e, t, S, A, B, H) {
|
|
|
69
75
|
o("div", y, [
|
|
70
76
|
o("button", {
|
|
71
77
|
class: "btn btn-link",
|
|
72
|
-
onClick:
|
|
78
|
+
onClick: s[0] || (s[0] = (d) => e.$emit("confirm")),
|
|
73
79
|
disabled: e.loading
|
|
74
80
|
}, [
|
|
75
|
-
|
|
76
|
-
[
|
|
81
|
+
m(o("span", k, null, 512), [
|
|
82
|
+
[c, e.loading]
|
|
77
83
|
]),
|
|
78
|
-
a(" " +
|
|
79
|
-
], 8,
|
|
84
|
+
a(" " + t(e.resolvedConfirm), 1)
|
|
85
|
+
], 8, D),
|
|
80
86
|
a(),
|
|
81
87
|
o("button", {
|
|
82
88
|
class: "btn btn-secondary",
|
|
83
89
|
"data-dismiss": "modal",
|
|
84
|
-
onClick:
|
|
90
|
+
onClick: s[1] || (s[1] = (...d) => e.handleHeader && e.handleHeader(...d)),
|
|
85
91
|
disabled: e.loading
|
|
86
|
-
}, "
|
|
92
|
+
}, t(e.$t("message.datasetDetails.datasets.modal.close")), 9, H)
|
|
87
93
|
])
|
|
88
94
|
])
|
|
89
95
|
])
|
|
90
96
|
]);
|
|
91
97
|
}
|
|
92
|
-
const
|
|
98
|
+
const q = /* @__PURE__ */ p(h, [["render", S]]);
|
|
93
99
|
export {
|
|
94
|
-
|
|
100
|
+
q as default
|
|
95
101
|
};
|
|
96
102
|
//# sourceMappingURL=AppConfirmationDialog.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppConfirmationDialog.vue.mjs","sources":["../../lib/modal/AppConfirmationDialog.vue"],"sourcesContent":["<template>\n <!-- Modals -->\n <div id=\"modal\" class=\"modal fade modalWrapper\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"confirmationDialogLabel\"\n data-backdrop=\"false\" data-cy=\"create-doi-modal\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h2 class=\"modal-title\" id=\"confirmationDialogLabel\">\n
|
|
1
|
+
{"version":3,"file":"AppConfirmationDialog.vue.mjs","sources":["../../lib/modal/AppConfirmationDialog.vue"],"sourcesContent":["<template>\n <!-- Modals -->\n <div id=\"modal\" class=\"modal fade modalWrapper\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"confirmationDialogLabel\"\n data-backdrop=\"false\" data-cy=\"create-doi-modal\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h2 class=\"modal-title\" id=\"confirmationDialogLabel\">\n {{$t('message.dataupload.modal.confirmHead')}}\n </h2>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <slot>\n Are you sure? This process can not be reverted.\n </slot>\n </div>\n <!-- Export options -->\n <!-- Currently unused but might be useful in the future -->\n <div class=\"modal-footer\">\n <!-- <div class=\"alert alert-danger mr-auto\" v-if=\"modal.error\">\n {{ modal.error.message || \"An unexpected network error occured.\" }}\n </div> -->\n <button class=\"btn btn-link\" @click=\"$emit('confirm')\" :disabled=\"loading\">\n <span v-show=\"loading\" class=\"spinner-border spinner-border-sm\" role=\"status\" aria-hidden=\"true\" />\n {{ resolvedConfirm }}\n </button>\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" @click=\"handleHeader\" :disabled=\"loading\">{{ $t('message.datasetDetails.datasets.modal.close') }}</button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport $ from 'jquery';\n\nexport default defineComponent({\n name: 'ConfirmationDialog',\n inheritAttrs: false,\n props: {\n confirm: {\n type: String,\n default: 'Confirm'\n },\n loading: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n resolvedConfirm: this.confirm,\n };\n },\n methods:{\n handleHeader(){\n $('#navbar-toggle').css(\"z-index\", \"99\")\n }\n }, created() {\n if (this.confirm === 'Confirm') { // Überprüfe den Default-Wert\n this.$i18n.locale = this.$route.query.locale\n this.resolvedConfirm = this.$t('message.dataupload.modal.confirmModal'); \n }\n },\n});\n</script>\n\n<style>\n/* If the display:block is active, the modal will appear in the bavaria hub-ui and makes it unusable. But it's actually not needed here.*/\n.modalWrapper {\n backdrop-filter: brightness(0.5);\n /* display: block; */\n align-items: center;\n z-index: 100;\n}\n</style>"],"names":["_sfc_main","defineComponent","$","_hoisted_3","_hoisted_4","_createElementVNode","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_11","_openBlock","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_5","_toDisplayString","_ctx","_createTextVNode","_hoisted_6","_renderSlot","_withDirectives","_hoisted_10","args"],"mappings":";;;;AAwCA,MAAKA,IAAaC,EAAa;AAAA,EAC7B,MAAM;AAAA,EACN,cAAc;AAAA,EACd,OAAO;AAAA,IACL,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,IACD,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AAAA,EACD,OAAO;AACL,WAAO;AAAA,MACL,iBAAiB,KAAK;AAAA;EAEzB;AAAA,EACD,SAAQ;AAAA,IAC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