@piveau/piveau-hub-ui-modules 4.3.12 → 4.3.13
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.d.ts +2 -2
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +29 -7
- package/dist/data-provider-interface/DataProviderInterface.vue.mjs +12 -69
- package/dist/data-provider-interface/DataProviderInterface.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs +91 -2
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue3.mjs +5 -0
- package/dist/data-provider-interface/DataProviderInterface.vue3.mjs.map +1 -0
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +30 -37
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs +23 -18
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +4 -4
- package/dist/data-provider-interface/composables/index.d.ts +2 -0
- package/dist/data-provider-interface/composables/useDpiContext.d.ts +17 -0
- package/dist/data-provider-interface/composables/useDpiContext.mjs +19 -0
- package/dist/data-provider-interface/composables/useDpiContext.mjs.map +1 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.d.ts +16 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs +39 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs.map +1 -0
- package/dist/data-provider-interface/config/dpi-spec-config.mjs +1 -0
- package/dist/data-provider-interface/config/dpi-spec-config.mjs.map +1 -1
- package/dist/data-provider-interface/index.d.ts +2 -0
- package/dist/data-provider-interface/index.mjs +11 -0
- package/dist/data-provider-interface/index.mjs.map +1 -0
- package/dist/data-provider-interface/store/dpiStore.d.ts +31 -15
- package/dist/data-provider-interface/store/dpiStore.mjs +30 -13
- package/dist/data-provider-interface/store/dpiStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/autocompleteStore.d.ts +3 -1
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs +28 -29
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/conversionStore.d.ts +6 -6
- package/dist/data-provider-interface/store/modules/conversionStore.mjs +21 -22
- package/dist/data-provider-interface/store/modules/conversionStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/formSchemaStore.d.ts +5 -3
- package/dist/data-provider-interface/store/modules/formSchemaStore.mjs +29 -29
- package/dist/data-provider-interface/store/modules/formSchemaStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/navigationStore.d.ts +1 -1
- package/dist/data-provider-interface/store/modules/navigationStore.mjs +13 -14
- package/dist/data-provider-interface/store/modules/navigationStore.mjs.map +1 -1
- package/dist/data-provider-interface/utils/RDFconverter.mjs +63 -60
- package/dist/data-provider-interface/utils/RDFconverter.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +3 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +1 -1
- package/dist/datasetDetails/DatasetDetails.vue.d.ts +1 -1
- package/dist/datasetDetails/DatasetDetailsDescription.vue.d.ts +1 -1
- package/dist/datasetDetails/distributions/DistributionFormat.vue.d.ts +3 -3
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.d.ts +2 -2
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.d.ts +3 -3
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.d.ts +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigation.vue.d.ts +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +1 -1
- package/dist/embed/EmbedDataset.vue.d.ts +1 -1
- package/dist/embed/EmbedDatasetSnippet.vue.d.ts +2 -2
- package/dist/external/@vueuse/core/index +129 -80
- package/dist/external/@vueuse/core/index.map +1 -1
- package/dist/external/@vueuse/shared/index +121 -17
- package/dist/external/@vueuse/shared/index.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +250 -248
- package/dist/index.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
}, any, any, {
|
|
8
|
-
getLanguages: import('vuex').Computed;
|
|
9
8
|
getTitle: import('vuex').Computed;
|
|
9
|
+
getLanguages: import('vuex').Computed;
|
|
10
10
|
}, {
|
|
11
11
|
getTranslationFor: typeof getTranslationFor;
|
|
12
12
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
18
|
}, {
|
|
19
19
|
url(): string;
|
|
20
20
|
showDQV(): any;
|
|
21
|
+
getTitle: import('vuex').Computed;
|
|
21
22
|
getLoading: import('vuex').Computed;
|
|
22
23
|
getLanguages: import('vuex').Computed;
|
|
23
24
|
getID: import('vuex').Computed;
|
|
24
|
-
getTitle: import('vuex').Computed;
|
|
25
25
|
getIsDQVDataRDFAvailable: import('vuex').Computed;
|
|
26
26
|
getIsDQVDataTTLAvailable: import('vuex').Computed;
|
|
27
27
|
getIsDQVDataN3Available: import('vuex').Computed;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {
|
|
2
|
-
getLanguages: import('vuex').Computed;
|
|
3
2
|
getTitle: import('vuex').Computed;
|
|
3
|
+
getLanguages: import('vuex').Computed;
|
|
4
4
|
}, {
|
|
5
5
|
openUrl(): void;
|
|
6
6
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {
|
|
2
2
|
datasets: import('vuex').Computed;
|
|
3
|
-
getLanguages: import('vuex').Computed;
|
|
4
|
-
getDescription: import('vuex').Computed;
|
|
5
3
|
getTitle: import('vuex').Computed;
|
|
4
|
+
getDescription: import('vuex').Computed;
|
|
5
|
+
getLanguages: import('vuex').Computed;
|
|
6
6
|
}, {
|
|
7
7
|
openUrl(): void;
|
|
8
8
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1,118 +1,167 @@
|
|
|
1
|
-
import { noop as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { noop as y, isIOS as T, isClient as W, toValue as P, isObject as _, tryOnScopeDispose as C, promiseTimeout as R, until as X } from "../shared/index";
|
|
2
|
+
import { watchOnce as U } from "../shared/index";
|
|
3
|
+
import { ref as m, computed as x, watch as Y, shallowRef as k } from "vue-demi";
|
|
4
|
+
function A(s) {
|
|
5
|
+
var r;
|
|
6
|
+
const o = P(s);
|
|
7
|
+
return (r = o == null ? void 0 : o.$el) != null ? r : o;
|
|
7
8
|
}
|
|
8
|
-
const
|
|
9
|
-
function
|
|
10
|
-
let o, n,
|
|
11
|
-
if (typeof s[0] == "string" || Array.isArray(s[0]) ? ([
|
|
12
|
-
return
|
|
13
|
-
Array.isArray(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
() => [
|
|
18
|
-
([
|
|
19
|
-
if (
|
|
9
|
+
const g = W ? window : void 0;
|
|
10
|
+
function L(...s) {
|
|
11
|
+
let r, o, n, a;
|
|
12
|
+
if (typeof s[0] == "string" || Array.isArray(s[0]) ? ([o, n, a] = s, r = g) : [r, o, n, a] = s, !r)
|
|
13
|
+
return y;
|
|
14
|
+
Array.isArray(o) || (o = [o]), Array.isArray(n) || (n = [n]);
|
|
15
|
+
const f = [], d = () => {
|
|
16
|
+
f.forEach((l) => l()), f.length = 0;
|
|
17
|
+
}, u = (l, i, e, t) => (l.addEventListener(i, e, t), () => l.removeEventListener(i, e, t)), p = Y(
|
|
18
|
+
() => [A(r), P(a)],
|
|
19
|
+
([l, i]) => {
|
|
20
|
+
if (d(), !l)
|
|
20
21
|
return;
|
|
21
|
-
const e =
|
|
22
|
-
|
|
23
|
-
...
|
|
22
|
+
const e = _(i) ? { ...i } : i;
|
|
23
|
+
f.push(
|
|
24
|
+
...o.flatMap((t) => n.map((c) => u(l, t, c, e)))
|
|
24
25
|
);
|
|
25
26
|
},
|
|
26
27
|
{ immediate: !0, flush: "post" }
|
|
27
|
-
),
|
|
28
|
-
|
|
28
|
+
), w = () => {
|
|
29
|
+
p(), d();
|
|
29
30
|
};
|
|
30
|
-
return
|
|
31
|
+
return C(w), w;
|
|
31
32
|
}
|
|
32
|
-
let
|
|
33
|
-
function
|
|
34
|
-
const { window:
|
|
35
|
-
if (!
|
|
36
|
-
return
|
|
37
|
-
|
|
38
|
-
let
|
|
39
|
-
const
|
|
40
|
-
if (typeof
|
|
41
|
-
return Array.from(
|
|
33
|
+
let I = !1;
|
|
34
|
+
function j(s, r, o = {}) {
|
|
35
|
+
const { window: n = g, ignore: a = [], capture: f = !0, detectIframe: d = !1 } = o;
|
|
36
|
+
if (!n)
|
|
37
|
+
return y;
|
|
38
|
+
T && !I && (I = !0, Array.from(n.document.body.children).forEach((e) => e.addEventListener("click", y)), n.document.documentElement.addEventListener("click", y));
|
|
39
|
+
let u = !0;
|
|
40
|
+
const p = (e) => a.some((t) => {
|
|
41
|
+
if (typeof t == "string")
|
|
42
|
+
return Array.from(n.document.querySelectorAll(t)).some((c) => c === e.target || e.composedPath().includes(c));
|
|
42
43
|
{
|
|
43
|
-
const
|
|
44
|
-
return
|
|
44
|
+
const c = A(t);
|
|
45
|
+
return c && (e.target === c || e.composedPath().includes(c));
|
|
45
46
|
}
|
|
46
|
-
}),
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
if (!(!
|
|
50
|
-
if (e.detail === 0 && (
|
|
51
|
-
|
|
47
|
+
}), l = [
|
|
48
|
+
L(n, "click", (e) => {
|
|
49
|
+
const t = A(s);
|
|
50
|
+
if (!(!t || t === e.target || e.composedPath().includes(t))) {
|
|
51
|
+
if (e.detail === 0 && (u = !p(e)), !u) {
|
|
52
|
+
u = !0;
|
|
52
53
|
return;
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
+
r(e);
|
|
55
56
|
}
|
|
56
|
-
}, { passive: !0, capture:
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
57
|
+
}, { passive: !0, capture: f }),
|
|
58
|
+
L(n, "pointerdown", (e) => {
|
|
59
|
+
const t = A(s);
|
|
60
|
+
u = !p(e) && !!(t && !e.composedPath().includes(t));
|
|
60
61
|
}, { passive: !0 }),
|
|
61
|
-
|
|
62
|
+
d && L(n, "blur", (e) => {
|
|
62
63
|
setTimeout(() => {
|
|
63
|
-
var
|
|
64
|
-
const
|
|
65
|
-
((
|
|
64
|
+
var t;
|
|
65
|
+
const c = A(s);
|
|
66
|
+
((t = n.document.activeElement) == null ? void 0 : t.tagName) === "IFRAME" && !(c != null && c.contains(n.document.activeElement)) && r(e);
|
|
66
67
|
}, 0);
|
|
67
68
|
})
|
|
68
69
|
].filter(Boolean);
|
|
69
|
-
return () =>
|
|
70
|
+
return () => l.forEach((e) => e());
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
const {
|
|
73
|
-
|
|
72
|
+
function q(s, r, o) {
|
|
73
|
+
const {
|
|
74
|
+
immediate: n = !0,
|
|
75
|
+
delay: a = 0,
|
|
76
|
+
onError: f = y,
|
|
77
|
+
onSuccess: d = y,
|
|
78
|
+
resetOnExecute: u = !0,
|
|
79
|
+
shallow: p = !0,
|
|
80
|
+
throwError: w
|
|
81
|
+
} = o ?? {}, l = p ? k(r) : m(r), i = m(!1), e = m(!1), t = k(void 0);
|
|
82
|
+
async function c(h = 0, ...E) {
|
|
83
|
+
u && (l.value = r), t.value = void 0, i.value = !1, e.value = !0, h > 0 && await R(h);
|
|
84
|
+
const b = typeof s == "function" ? s(...E) : s;
|
|
85
|
+
try {
|
|
86
|
+
const v = await b;
|
|
87
|
+
l.value = v, i.value = !0, d(v);
|
|
88
|
+
} catch (v) {
|
|
89
|
+
if (t.value = v, f(v), w)
|
|
90
|
+
throw v;
|
|
91
|
+
} finally {
|
|
92
|
+
e.value = !1;
|
|
93
|
+
}
|
|
94
|
+
return l.value;
|
|
95
|
+
}
|
|
96
|
+
n && c(a);
|
|
97
|
+
const O = {
|
|
98
|
+
state: l,
|
|
99
|
+
isReady: i,
|
|
100
|
+
isLoading: e,
|
|
101
|
+
error: t,
|
|
102
|
+
execute: c
|
|
103
|
+
};
|
|
104
|
+
function S() {
|
|
105
|
+
return new Promise((h, E) => {
|
|
106
|
+
X(e).toBe(!1).then(() => h(O)).catch(E);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
...O,
|
|
111
|
+
then(h, E) {
|
|
112
|
+
return S().then(h, E);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function D(s = {}) {
|
|
117
|
+
const { window: r = g, behavior: o = "auto" } = s;
|
|
118
|
+
if (!r)
|
|
74
119
|
return {
|
|
75
|
-
x:
|
|
76
|
-
y:
|
|
120
|
+
x: m(0),
|
|
121
|
+
y: m(0)
|
|
77
122
|
};
|
|
78
|
-
const
|
|
123
|
+
const n = m(r.scrollX), a = m(r.scrollY), f = x({
|
|
79
124
|
get() {
|
|
80
|
-
return
|
|
125
|
+
return n.value;
|
|
81
126
|
},
|
|
82
|
-
set(
|
|
83
|
-
scrollTo({ left:
|
|
127
|
+
set(u) {
|
|
128
|
+
scrollTo({ left: u, behavior: o });
|
|
84
129
|
}
|
|
85
|
-
}),
|
|
130
|
+
}), d = x({
|
|
86
131
|
get() {
|
|
87
|
-
return
|
|
132
|
+
return a.value;
|
|
88
133
|
},
|
|
89
|
-
set(
|
|
90
|
-
scrollTo({ top:
|
|
134
|
+
set(u) {
|
|
135
|
+
scrollTo({ top: u, behavior: o });
|
|
91
136
|
}
|
|
92
137
|
});
|
|
93
|
-
return
|
|
94
|
-
|
|
138
|
+
return L(
|
|
139
|
+
r,
|
|
95
140
|
"scroll",
|
|
96
141
|
() => {
|
|
97
|
-
|
|
142
|
+
n.value = r.scrollX, a.value = r.scrollY;
|
|
98
143
|
},
|
|
99
144
|
{
|
|
100
145
|
capture: !1,
|
|
101
146
|
passive: !0
|
|
102
147
|
}
|
|
103
|
-
), { x:
|
|
148
|
+
), { x: f, y: d };
|
|
104
149
|
}
|
|
105
150
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
151
|
+
g as defaultWindow,
|
|
152
|
+
W as isClient,
|
|
153
|
+
T as isIOS,
|
|
154
|
+
_ as isObject,
|
|
155
|
+
y as noop,
|
|
156
|
+
j as onClickOutside,
|
|
157
|
+
R as promiseTimeout,
|
|
158
|
+
P as toValue,
|
|
159
|
+
C as tryOnScopeDispose,
|
|
160
|
+
A as unrefElement,
|
|
161
|
+
X as until,
|
|
162
|
+
q as useAsyncState,
|
|
163
|
+
L as useEventListener,
|
|
164
|
+
D as useWindowScroll,
|
|
165
|
+
U as watchOnce
|
|
117
166
|
};
|
|
118
167
|
//# sourceMappingURL=index.map
|