@piveau/piveau-hub-ui-modules 4.5.12 → 4.6.0
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/CatalogueMQA.vue.mjs +21 -21
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DPIMenu.vue.mjs +5 -5
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +9 -4
- package/dist/data-provider-interface/components/Navigation.vue.mjs +57 -56
- package/dist/data-provider-interface/components/Navigation.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs +23 -22
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +13 -13
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/composables/index.d.ts +1 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs +15 -16
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs.map +1 -1
- package/dist/data-provider-interface/composables/useFormSchema.d.ts +13 -0
- package/dist/data-provider-interface/composables/useFormSchema.mjs +59 -0
- package/dist/data-provider-interface/composables/useFormSchema.mjs.map +1 -0
- package/dist/data-provider-interface/index.d.ts +33 -0
- package/dist/data-provider-interface/utils/translation-helper.mjs +23 -23
- package/dist/data-provider-interface/utils/translation-helper.mjs.map +1 -1
- package/dist/data-provider-interface/views/DistributionOverview.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +9 -4
- package/dist/data-provider-interface/views/InputPage.vue.mjs +110 -110
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/dataProviderInterface.d.ts +1 -0
- package/dist/dataProviderInterface.mjs +71 -0
- package/dist/dataProviderInterface.mjs.map +1 -0
- package/dist/datasetDetails/DatasetDetails.vue.mjs +31 -29
- package/dist/datasetDetails/DatasetDetails.vue.mjs.map +1 -1
- package/dist/embed/DatasetEmbedModal.vue.d.ts +2 -0
- package/dist/embed/DatasetEmbedModal.vue.mjs +126 -88
- package/dist/embed/DatasetEmbedModal.vue.mjs.map +1 -1
- package/dist/embed/EmbedDataset.vue.mjs +31 -26
- package/dist/embed/EmbedDataset.vue.mjs.map +1 -1
- package/dist/embed/EmbedDatasetSnippet.vue.mjs +30 -25
- package/dist/embed/EmbedDatasetSnippet.vue.mjs.map +1 -1
- package/dist/external/@vueuse/core/index +31 -31
- package/dist/external/@vueuse/shared/index +66 -63
- package/dist/external/@vueuse/shared/index.map +1 -1
- package/dist/form/FormKitGroup.vue.mjs.map +1 -1
- package/dist/index.mjs +54 -54
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +17 -1
- package/dist/data-provider-interface/index.mjs +0 -15
- package/dist/data-provider-interface/index.mjs.map +0 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { dpiContextKey as Q, setupDpiContext as T, useDpiContext as W } from "./data-provider-interface/composables/useDpiContext.mjs";
|
|
2
|
+
import { useDpiStepper as Y } from "./data-provider-interface/composables/useDpiStepper.mjs";
|
|
3
|
+
import { useDpiEditMode as oo } from "./data-provider-interface/composables/useDpiEditMode.mjs";
|
|
4
|
+
import { useRequestUriName as to } from "./data-provider-interface/composables/useRequestUriName.mjs";
|
|
5
|
+
import { useFormSchema as no } from "./data-provider-interface/composables/useFormSchema.mjs";
|
|
6
|
+
import { config as mo } from "./data-provider-interface/config/dpi-spec-config.mjs";
|
|
7
|
+
import e from "./data-provider-interface/components/AutocompleteInput.vue.mjs";
|
|
8
|
+
import t from "./data-provider-interface/components/ConditionalInput.vue.mjs";
|
|
9
|
+
import r from "./data-provider-interface/components/DataFetchingComponent.vue.mjs";
|
|
10
|
+
import n from "./data-provider-interface/components/Dropup.vue.mjs";
|
|
11
|
+
import i from "./data-provider-interface/components/FileUpload.vue.mjs";
|
|
12
|
+
import m from "./data-provider-interface/components/InfoSlot.vue.mjs";
|
|
13
|
+
import f from "./data-provider-interface/components/LanguageSelector.vue.mjs";
|
|
14
|
+
import p from "./data-provider-interface/components/Navigation.vue.mjs";
|
|
15
|
+
import a from "./data-provider-interface/components/UniqueIdentifierInput.vue.mjs";
|
|
16
|
+
import { default as po } from "./form/inputDefinitions.mjs";
|
|
17
|
+
import c from "./data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs";
|
|
18
|
+
import u from "./data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs";
|
|
19
|
+
import s from "./data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs";
|
|
20
|
+
import g from "./data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs";
|
|
21
|
+
import v from "./data-provider-interface/views/DistributionOverview.vue.mjs";
|
|
22
|
+
import D from "./data-provider-interface/views/DraftsPage.vue.mjs";
|
|
23
|
+
import l from "./data-provider-interface/views/InputPage.vue.mjs";
|
|
24
|
+
import d from "./data-provider-interface/views/LinkedDataViewer.vue.mjs";
|
|
25
|
+
import P from "./data-provider-interface/views/OverviewPage.vue.mjs";
|
|
26
|
+
import C from "./data-provider-interface/views/UserCataloguesPage.vue.mjs";
|
|
27
|
+
import I from "./data-provider-interface/views/UserProfilePage.vue.mjs";
|
|
28
|
+
import x from "./data-provider-interface/DataProviderInterface.vue.mjs";
|
|
29
|
+
import w from "./data-provider-interface/DPIMenu.vue.mjs";
|
|
30
|
+
import { default as co } from "./data-provider-interface/store/dpiStore.mjs";
|
|
31
|
+
import { injectionKey as so } from "./services/runtimeConfigurationService.mjs";
|
|
32
|
+
function G(o) {
|
|
33
|
+
o.component("AutocompleteInput", e), o.component("ConditionalInput", t), o.component("DataFetchingComponent", r), o.component("Dropup", n), o.component("FileUpload", i), o.component("InfoSlot", m), o.component("LanguageSelector", f), o.component("Navigation", p), o.component("UniqueIdentifierInput", a), o.component("CatalogueOverview", c), o.component("DatasetOverview", u), o.component("DistributionOverview", s), o.component("PropertyEntry", g), o.component("DistOverview", v), o.component("DraftsPage", D), o.component("InputPage", l), o.component("LinkedDataViewer", d), o.component("OverviewPage", P), o.component("UserCataloguesPage", C), o.component("UserProfilePage", I), o.component("DataProviderInterface", x), o.component("DpiMenu", w);
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
e as AutocompleteInput,
|
|
37
|
+
c as CatalogueOverview,
|
|
38
|
+
t as ConditionalInput,
|
|
39
|
+
r as DataFetchingComponent,
|
|
40
|
+
x as DataProviderInterface,
|
|
41
|
+
u as DatasetOverview,
|
|
42
|
+
v as DistOverview,
|
|
43
|
+
s as DistributionOverview,
|
|
44
|
+
w as DpiMenu,
|
|
45
|
+
D as DraftsPage,
|
|
46
|
+
n as Dropup,
|
|
47
|
+
i as FileUpload,
|
|
48
|
+
m as InfoSlot,
|
|
49
|
+
l as InputPage,
|
|
50
|
+
f as LanguageSelector,
|
|
51
|
+
d as LinkedDataViewer,
|
|
52
|
+
p as Navigation,
|
|
53
|
+
P as OverviewPage,
|
|
54
|
+
g as PropertyEntry,
|
|
55
|
+
a as UniqueIdentifierInput,
|
|
56
|
+
C as UserCataloguesPage,
|
|
57
|
+
I as UserProfilePage,
|
|
58
|
+
Q as dpiContextKey,
|
|
59
|
+
mo as dpiSpecConfig,
|
|
60
|
+
so as injectionKeyRuntimeConfig,
|
|
61
|
+
po as inputDefinitions,
|
|
62
|
+
G as registerComponents,
|
|
63
|
+
T as setupDpiContext,
|
|
64
|
+
co as store,
|
|
65
|
+
W as useDpiContext,
|
|
66
|
+
oo as useDpiEditMode,
|
|
67
|
+
Y as useDpiStepper,
|
|
68
|
+
no as useFormSchema,
|
|
69
|
+
to as useRequestUriName
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=dataProviderInterface.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataProviderInterface.mjs","sources":["../lib/data-provider-interface/index.ts"],"sourcesContent":["import { App } from 'vue';\n\nexport * from './composables/index'\nexport { config as dpiSpecConfig } from './config/dpi-spec-config'\n\n// Import data-provider-interface components\nimport AutocompleteInput from \"./components/AutocompleteInput.vue\";\nimport ConditionalInput from \"./components/ConditionalInput.vue\";\nimport DataFetchingComponent from \"./components/DataFetchingComponent.vue\";\nimport Dropup from \"./components/Dropup.vue\";\nimport FileUpload from \"./components/FileUpload.vue\";\nimport InfoSlot from \"./components/InfoSlot.vue\";\nimport LanguageSelector from \"./components/LanguageSelector.vue\";\nimport Navigation from \"./components/Navigation.vue\";\nimport UniqueIdentifierInput from \"./components/UniqueIdentifierInput.vue\";\nimport inputDefinitions from \"../form/inputDefinitions\";\n\n// import data provider-interface views OverviewPage\nimport CatalogueOverview from \"./views/OverviewPage/CatalogueOverview.vue\";\nimport DatasetOverview from \"./views/OverviewPage/DatasetOverview.vue\";\nimport DistributionOverview from \"./views/OverviewPage/DistributionOverview.vue\";\nimport PropertyEntry from \"./views/OverviewPage/PropertyEntry.vue\";\n\n// import data provider-interface views\nimport DistOverview from \"./views/DistributionOverview.vue\";\nimport DraftsPage from \"./views/DraftsPage.vue\";\nimport InputPage from \"./views/InputPage.vue\";\nimport LinkedDataViewer from \"./views/LinkedDataViewer.vue\";\nimport OverviewPage from \"./views/OverviewPage.vue\";\nimport UserCataloguesPage from \"./views/UserCataloguesPage.vue\";\nimport UserProfilePage from \"./views/UserProfilePage.vue\";\n\n// import data provider-interface\nimport DataProviderInterface from \"./DataProviderInterface.vue\";\nimport DpiMenu from \"./DPIMenu.vue\";\n\nimport store from \"./store/dpiStore\";\n\nexport function registerComponents(app: App) {\n app.component('AutocompleteInput', AutocompleteInput);\n app.component('ConditionalInput', ConditionalInput);\n app.component('DataFetchingComponent', DataFetchingComponent);\n app.component('Dropup', Dropup);\n app.component('FileUpload', FileUpload);\n app.component('InfoSlot', InfoSlot);\n app.component('LanguageSelector', LanguageSelector);\n app.component('Navigation', Navigation);\n app.component('UniqueIdentifierInput', UniqueIdentifierInput);\n\n app.component('CatalogueOverview', CatalogueOverview);\n app.component('DatasetOverview', DatasetOverview);\n app.component('DistributionOverview', DistributionOverview);\n app.component('PropertyEntry', PropertyEntry);\n\n app.component('DistOverview', DistOverview);\n app.component('DraftsPage', DraftsPage);\n app.component('InputPage', InputPage);\n app.component('LinkedDataViewer', LinkedDataViewer);\n app.component('OverviewPage', OverviewPage);\n app.component('UserCataloguesPage', UserCataloguesPage);\n app.component('UserProfilePage', UserProfilePage);\n\n app.component('DataProviderInterface', DataProviderInterface);\n app.component('DpiMenu', DpiMenu);\n}\n\n// export components\nexport { AutocompleteInput, ConditionalInput, DataFetchingComponent, Dropup, FileUpload, InfoSlot, LanguageSelector, Navigation, UniqueIdentifierInput }\n\n// export views\nexport { CatalogueOverview, DatasetOverview, DistributionOverview, PropertyEntry }\nexport { DistOverview, DraftsPage, InputPage, LinkedDataViewer, OverviewPage, UserCataloguesPage, UserProfilePage }\n\n// export data provider-interface\nexport { DataProviderInterface, DpiMenu }\n\nexport {\n inputDefinitions,\n store\n}\n\nexport { injectionKey as injectionKeyRuntimeConfig } from '../services/runtimeConfigurationService';"],"names":["registerComponents","app","AutocompleteInput","ConditionalInput","DataFetchingComponent","Dropup","FileUpload","InfoSlot","LanguageSelector","Navigation","UniqueIdentifierInput","CatalogueOverview","DatasetOverview","DistributionOverview","PropertyEntry","DistOverview","DraftsPage","InputPage","LinkedDataViewer","OverviewPage","UserCataloguesPage","UserProfilePage","DataProviderInterface","DpiMenu"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCO,SAASA,EAAmBC,GAAU;AACvC,EAAAA,EAAA,UAAU,qBAAqBC,CAAiB,GAChDD,EAAA,UAAU,oBAAoBE,CAAgB,GAC9CF,EAAA,UAAU,yBAAyBG,CAAqB,GACxDH,EAAA,UAAU,UAAUI,CAAM,GAC1BJ,EAAA,UAAU,cAAcK,CAAU,GAClCL,EAAA,UAAU,YAAYM,CAAQ,GAC9BN,EAAA,UAAU,oBAAoBO,CAAgB,GAC9CP,EAAA,UAAU,cAAcQ,CAAU,GAClCR,EAAA,UAAU,yBAAyBS,CAAqB,GAExDT,EAAA,UAAU,qBAAqBU,CAAiB,GAChDV,EAAA,UAAU,mBAAmBW,CAAe,GAC5CX,EAAA,UAAU,wBAAwBY,CAAoB,GACtDZ,EAAA,UAAU,iBAAiBa,CAAa,GAExCb,EAAA,UAAU,gBAAgBc,CAAY,GACtCd,EAAA,UAAU,cAAce,CAAU,GAClCf,EAAA,UAAU,aAAagB,CAAS,GAChChB,EAAA,UAAU,oBAAoBiB,CAAgB,GAC9CjB,EAAA,UAAU,gBAAgBkB,CAAY,GACtClB,EAAA,UAAU,sBAAsBmB,CAAkB,GAClDnB,EAAA,UAAU,mBAAmBoB,CAAe,GAE5CpB,EAAA,UAAU,yBAAyBqB,CAAqB,GACxDrB,EAAA,UAAU,WAAWsB,CAAO;AAClC;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { mapGetters as
|
|
2
|
-
import { useRoute as
|
|
1
|
+
import { mapGetters as f } from "vuex";
|
|
2
|
+
import { useRoute as c } from "vue-router";
|
|
3
3
|
import v from "./header/DatasetDetailsHeader.vue.mjs";
|
|
4
4
|
import D from "./navigation/DatasetDetailsNavigation.vue.mjs";
|
|
5
|
-
import { getRepresentativeLocaleOf as
|
|
6
|
-
import { useDownloadDatasetOnMount as
|
|
5
|
+
import { getRepresentativeLocaleOf as y } from "../utils/helpers.mjs";
|
|
6
|
+
import { useDownloadDatasetOnMount as T } from "../composables/useDownloadDatasetOnMount.mjs";
|
|
7
7
|
import "@unhead/vue";
|
|
8
|
-
import { useRuntimeEnv as
|
|
9
|
-
import { resolveComponent as r, openBlock as
|
|
8
|
+
import { useRuntimeEnv as _ } from "../composables/useRuntimeEnv.mjs";
|
|
9
|
+
import { resolveComponent as r, openBlock as o, createElementBlock as p, createVNode as n, createTextVNode as a, createBlock as u, createCommentVNode as i, createElementVNode as b } from "vue";
|
|
10
10
|
import "vue-i18n";
|
|
11
11
|
import { useDatasetDetailsHead as k } from "../composables/head/useDatasetDetailsHead.mjs";
|
|
12
12
|
import "lodash-es";
|
|
@@ -31,47 +31,49 @@ const N = {
|
|
|
31
31
|
citationStyle: String
|
|
32
32
|
},
|
|
33
33
|
computed: {
|
|
34
|
-
...
|
|
34
|
+
...f("datasetDetails", [
|
|
35
35
|
"getID",
|
|
36
36
|
"getLanguages",
|
|
37
37
|
"getTitle"
|
|
38
38
|
])
|
|
39
39
|
},
|
|
40
40
|
methods: {
|
|
41
|
-
getRepresentativeLocaleOf:
|
|
41
|
+
getRepresentativeLocaleOf: y
|
|
42
42
|
},
|
|
43
43
|
setup() {
|
|
44
44
|
k();
|
|
45
|
-
const
|
|
46
|
-
|
|
45
|
+
const e = c(), t = _();
|
|
46
|
+
T({ route: e, hubUrl: t.api.hubUrl });
|
|
47
47
|
}
|
|
48
|
-
}, R = ["data-cy"],
|
|
49
|
-
function
|
|
50
|
-
const
|
|
51
|
-
return
|
|
48
|
+
}, R = ["data-cy"], I = { class: "container-fluid mb-5 pt-1 content dsd-content" }, O = { key: 1 };
|
|
49
|
+
function V(e, t, w, B, s, d) {
|
|
50
|
+
const l = r("router-view"), m = r("dataset-details-navigation"), g = r("dataset-details-header");
|
|
51
|
+
return o(), p("div", {
|
|
52
52
|
class: "d-flex flex-column p-0 bg-transparent",
|
|
53
|
-
"data-cy":
|
|
53
|
+
"data-cy": d.getRepresentativeLocaleOf(e.getTitle, e.$route.query.locale, e.getLanguages) && `dataset@${d.getRepresentativeLocaleOf(e.getTitle, e.$route.query.locale, e.getLanguages)}`
|
|
54
54
|
}, [
|
|
55
|
-
|
|
55
|
+
n(l, { name: "test" }),
|
|
56
|
+
t[3] || (t[3] = a()),
|
|
57
|
+
s.topTitle ? (o(), u(m, {
|
|
56
58
|
key: 0,
|
|
57
|
-
"dataset-id":
|
|
58
|
-
}, null, 8, ["dataset-id"])) :
|
|
59
|
-
|
|
60
|
-
b("div",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
s.topTitle ?
|
|
59
|
+
"dataset-id": e.getID
|
|
60
|
+
}, null, 8, ["dataset-id"])) : i("", !0),
|
|
61
|
+
t[4] || (t[4] = a()),
|
|
62
|
+
b("div", I, [
|
|
63
|
+
n(g),
|
|
64
|
+
t[0] || (t[0] = a()),
|
|
65
|
+
s.topTitle ? i("", !0) : (o(), u(m, {
|
|
64
66
|
key: 0,
|
|
65
|
-
"dataset-id":
|
|
67
|
+
"dataset-id": e.getID
|
|
66
68
|
}, null, 8, ["dataset-id"])),
|
|
67
|
-
|
|
68
|
-
s.topTitle ? (
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
t[1] || (t[1] = a()),
|
|
70
|
+
s.topTitle ? (o(), p("hr", O)) : i("", !0),
|
|
71
|
+
t[2] || (t[2] = a()),
|
|
72
|
+
n(l, { name: "datasetDetailsSubpages" })
|
|
71
73
|
])
|
|
72
74
|
], 8, R);
|
|
73
75
|
}
|
|
74
|
-
const J = /* @__PURE__ */ L(N, [["render",
|
|
76
|
+
const J = /* @__PURE__ */ L(N, [["render", V], ["__scopeId", "data-v-77b019a6"]]);
|
|
75
77
|
export {
|
|
76
78
|
J as default
|
|
77
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatasetDetails.vue.mjs","sources":["../../lib/datasetDetails/DatasetDetails.vue"],"sourcesContent":["<template>\n <div\n class=\"d-flex flex-column p-0 bg-transparent\"\n :data-cy=\"getRepresentativeLocaleOf(getTitle, $route.query.locale, getLanguages)\n && `dataset@${getRepresentativeLocaleOf(getTitle, $route.query.locale, getLanguages)}`\"\n >\n <dataset-details-navigation v-if=\"topTitle\" :dataset-id=\"getID\"/>\n <div class=\"container-fluid mb-5 pt-1 content dsd-content\">\n <dataset-details-header />\n <dataset-details-navigation v-if=\"!topTitle\" :dataset-id=\"getID\"/>\n <hr v-if=\"topTitle\" />\n <router-view name=\"datasetDetailsSubpages\"></router-view>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport { useRoute } from 'vue-router';\n\nimport DatasetDetailsHeader from './header/DatasetDetailsHeader.vue';\nimport DatasetDetailsNavigation from './navigation/DatasetDetailsNavigation.vue';\nimport { getRepresentativeLocaleOf } from '../utils/helpers';\nimport { useDownloadDatasetOnMount } from '../composables/useDownloadDatasetOnMount';\nimport * as metaInfo from '../composables/head';\nimport {useRuntimeEnv} from \"../composables/useRuntimeEnv.ts\";\n\n\nexport default {\n name: 'datasetDetails',\n components: {\n DatasetDetailsHeader,\n DatasetDetailsNavigation,\n },\n data() {\n return {\n topTitle: this.$env.content.datasetDetails.header.navigation === \"top\",\n };\n },\n props: {\n activeTab: {\n type: Number,\n default: 0\n },\n citationStyle: String\n },\n computed: {\n ...mapGetters('datasetDetails', [\n 'getID',\n 'getLanguages',\n 'getTitle',\n ]),\n },\n methods: {\n getRepresentativeLocaleOf,\n },\n setup() {\n metaInfo.useDatasetDetailsHead();\n const route = useRoute();\n const env = useRuntimeEnv();\n useDownloadDatasetOnMount({ route, hubUrl: env.api.hubUrl });\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n .content {\n padding: 30px 30px 0 30px;\n margin-top: 15px;\n margin-bottom: 15px;\n background-color: white;\n }\n</style>\n"],"names":["_sfc_main","DatasetDetailsHeader","DatasetDetailsNavigation","mapGetters","getRepresentativeLocaleOf","metaInfo.useDatasetDetailsHead","route","useRoute","env","useRuntimeEnv","useDownloadDatasetOnMount","_hoisted_1","_hoisted_2","_createElementBlock","$options","_ctx","
|
|
1
|
+
{"version":3,"file":"DatasetDetails.vue.mjs","sources":["../../lib/datasetDetails/DatasetDetails.vue"],"sourcesContent":["<template>\n <div\n class=\"d-flex flex-column p-0 bg-transparent\"\n :data-cy=\"getRepresentativeLocaleOf(getTitle, $route.query.locale, getLanguages)\n && `dataset@${getRepresentativeLocaleOf(getTitle, $route.query.locale, getLanguages)}`\"\n > \n <router-view name=\"test\" ></router-view>\n <dataset-details-navigation v-if=\"topTitle\" :dataset-id=\"getID\"/>\n <div class=\"container-fluid mb-5 pt-1 content dsd-content\">\n <dataset-details-header />\n <dataset-details-navigation v-if=\"!topTitle\" :dataset-id=\"getID\"/>\n <hr v-if=\"topTitle\" />\n <router-view name=\"datasetDetailsSubpages\" ></router-view>\n </div>\n </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport { useRoute } from 'vue-router';\n\nimport DatasetDetailsHeader from './header/DatasetDetailsHeader.vue';\nimport DatasetDetailsNavigation from './navigation/DatasetDetailsNavigation.vue';\nimport { getRepresentativeLocaleOf } from '../utils/helpers';\nimport { useDownloadDatasetOnMount } from '../composables/useDownloadDatasetOnMount';\nimport * as metaInfo from '../composables/head';\nimport {useRuntimeEnv} from \"../composables/useRuntimeEnv.ts\";\n\n\nexport default {\n name: 'datasetDetails',\n components: {\n DatasetDetailsHeader,\n DatasetDetailsNavigation,\n },\n data() {\n return {\n topTitle: this.$env.content.datasetDetails.header.navigation === \"top\",\n };\n },\n props: {\n activeTab: {\n type: Number,\n default: 0\n },\n citationStyle: String\n },\n computed: {\n ...mapGetters('datasetDetails', [\n 'getID',\n 'getLanguages',\n 'getTitle',\n ]),\n },\n methods: {\n getRepresentativeLocaleOf,\n },\n setup() {\n metaInfo.useDatasetDetailsHead();\n const route = useRoute();\n const env = useRuntimeEnv();\n useDownloadDatasetOnMount({ route, hubUrl: env.api.hubUrl });\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n .content {\n padding: 30px 30px 0 30px;\n margin-top: 15px;\n margin-bottom: 15px;\n background-color: white;\n }\n</style>\n"],"names":["_sfc_main","DatasetDetailsHeader","DatasetDetailsNavigation","mapGetters","getRepresentativeLocaleOf","metaInfo.useDatasetDetailsHead","route","useRoute","env","useRuntimeEnv","useDownloadDatasetOnMount","_hoisted_1","_hoisted_2","_createElementBlock","$options","_ctx","_createVNode","_component_router_view","_cache","_createTextVNode","$data","_createBlock","_component_dataset_details_navigation","_createCommentVNode","_createElementVNode","_component_dataset_details_header","_openBlock","_hoisted_3"],"mappings":";;;;;;;;;;;;;;AA6BA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,sBAAAC;AAAA,IACA,0BAAAC;AAAA,EACD;AAAA,EACD,OAAO;AACL,WAAO;AAAA,MACL,UAAU,KAAK,KAAK,QAAQ,eAAe,OAAO,eAAe;AAAA;EAEpE;AAAA,EACD,OAAO;AAAA,IACL,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,IACD,eAAe;AAAA,EAChB;AAAA,EACD,UAAU;AAAA,IACR,GAAGC,EAAW,kBAAkB;AAAA,MAC9B;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACP,2BAAAC;AAAA,EACD;AAAA,EACD,QAAQ;AACNC,IAAAA;AACA,UAAMC,IAAQC,KACRC,IAAMC;AACZ,IAAAC,EAA0B,EAAE,OAAAJ,GAAO,QAAQE,EAAI,IAAI,OAAO,CAAC;AAAA,EAC7D;AACF,GA/DAG,IAAA,CAAA,SAAA,GAQSC,IAAA,EAAA,OAAM,gDAA+C,SAR9D,KAAA,EAAA;;;cACEC,EAaM,OAAA;AAAA,IAZJ,OAAM;AAAA,IACL,WAASC,EAAyB,0BAACC,EAAQ,UAAEA,EAAM,OAAC,MAAM,QAAQA,EAAY,YAAA,gBAAoBD,EAAyB,0BAACC,YAAUA,EAAA,OAAO,MAAM,QAAQA,EAAY,YAAA,CAAA;AAAA;IAG1KC,EAAwCC,GAAA,EAA3B,MAAK,OAAM,CAAA;AAAA,IAN1BC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,IAOsCC,EAAQ,iBAA1CC,EAAiEC,GAAA;AAAA,MAPrE,KAAA;AAAA,MAOiD,cAAYP,EAAK;AAAA,mCAPlEQ,EAAA,IAAA,EAAA;AAAA,IAAAL,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,IAQIK,EAKM,OALNZ,GAKM;AAAA,MAJJI,EAA0BS,CAAA;AAAA,MAThCP,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAUyCC,EAAQ,WAVjDG,EAAA,IAAA,EAAA,UAUMF,EAAkEC,GAAA;AAAA,QAVxE,KAAA;AAAA,QAUoD,cAAYP,EAAK;AAAA;MAVrEG,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAWgBC,EAAQ,YAAlBM,KAAAb,EAAsB,MAX5Bc,CAAA,KAAAJ,EAAA,IAAA,EAAA;AAAA,MAAAL,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAYMH,EAA0DC,GAAA,EAA7C,MAAK,yBAAwB,CAAA;AAAA;EAZhD,GAAA,GAAAN,CAAA;;;"}
|
|
@@ -6,7 +6,9 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
6
6
|
minRange: number;
|
|
7
7
|
maxRange: number;
|
|
8
8
|
embedType: string;
|
|
9
|
+
isResponsive: boolean;
|
|
9
10
|
}, {}, {
|
|
11
|
+
selectAll(event: any): void;
|
|
10
12
|
updateEmbedCode(): void;
|
|
11
13
|
updateEmbedCodeType(event: any): void;
|
|
12
14
|
copy(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { openBlock as m, createElementBlock as r, createElementVNode as t, createTextVNode as d, toDisplayString as
|
|
1
|
+
import { openBlock as m, createElementBlock as r, createElementVNode as t, createTextVNode as d, toDisplayString as a, withDirectives as n, vModelText as p, createCommentVNode as u, vModelCheckbox as b, createStaticVNode as f, vShow as h } from "vue";
|
|
2
2
|
import "./DatasetEmbedModal.vue2.mjs";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import g from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const v = {
|
|
5
5
|
name: "embed-modal",
|
|
6
6
|
data() {
|
|
7
7
|
return {
|
|
@@ -11,33 +11,37 @@ const u = {
|
|
|
11
11
|
copied: !1,
|
|
12
12
|
minRange: this.$env.content.datasetDetails.embed.minRange,
|
|
13
13
|
maxRange: this.$env.content.datasetDetails.embed.maxRange,
|
|
14
|
-
embedType: "embed"
|
|
14
|
+
embedType: "embed",
|
|
15
15
|
// default to 'embed'
|
|
16
|
+
isResponsive: !1
|
|
16
17
|
};
|
|
17
18
|
},
|
|
18
19
|
methods: {
|
|
20
|
+
selectAll(o) {
|
|
21
|
+
o.target.select();
|
|
22
|
+
},
|
|
19
23
|
updateEmbedCode() {
|
|
20
|
-
this.iframeWidth = Math.min(Math.max(this.iframeWidth, this.minRange), this.maxRange), this.iframeHeight = Math.min(Math.max(this.iframeHeight, this.minRange), this.maxRange);
|
|
21
|
-
const
|
|
22
|
-
this.embedCode = `<iframe src="${
|
|
24
|
+
this.isResponsive ? this.iframeWidth = "100%" : (this.iframeWidth = 900, this.iframeWidth = Math.min(Math.max(this.iframeWidth, this.minRange), this.maxRange), this.iframeHeight = Math.min(Math.max(this.iframeHeight, this.minRange), this.maxRange));
|
|
25
|
+
const o = window.location.href.replace(/\?.*$/, "") + "/" + this.embedType;
|
|
26
|
+
this.embedCode = `<iframe src="${o}" width="${this.iframeWidth}" height="${this.iframeHeight}" frameborder="0"></iframe>`;
|
|
23
27
|
},
|
|
24
|
-
updateEmbedCodeType(
|
|
25
|
-
this.embedType =
|
|
28
|
+
updateEmbedCodeType(o) {
|
|
29
|
+
this.embedType = o.target.value === "snippet" ? "embed-snippet" : "embed", this.updateEmbedCode();
|
|
26
30
|
},
|
|
27
31
|
copy() {
|
|
28
32
|
navigator.clipboard.writeText(this.embedCode).then(() => {
|
|
29
33
|
this.copied = !0, setTimeout(() => {
|
|
30
34
|
this.copied = !1;
|
|
31
35
|
}, 3e3);
|
|
32
|
-
}).catch((
|
|
33
|
-
console.error("Failed to copy: ",
|
|
36
|
+
}).catch((o) => {
|
|
37
|
+
console.error("Failed to copy: ", o);
|
|
34
38
|
});
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
created() {
|
|
38
42
|
this.updateEmbedCode();
|
|
39
43
|
}
|
|
40
|
-
},
|
|
44
|
+
}, c = {
|
|
41
45
|
class: "modal fade",
|
|
42
46
|
id: "embedModal",
|
|
43
47
|
tabindex: "-1",
|
|
@@ -45,14 +49,14 @@ const u = {
|
|
|
45
49
|
"aria-labelledby": "",
|
|
46
50
|
"aria-hidden": "true",
|
|
47
51
|
style: { "background-color": "rgba(0, 0, 0, 0.75)" }
|
|
48
|
-
},
|
|
52
|
+
}, x = {
|
|
49
53
|
class: "modal-dialog modal-dialog-centered modal-lg",
|
|
50
54
|
role: "document",
|
|
51
55
|
style: { "z-index": "1100", "max-width": "52%" }
|
|
52
|
-
},
|
|
56
|
+
}, y = {
|
|
53
57
|
class: "modal-content border-none",
|
|
54
58
|
style: { "border-radius": "0", padding: "1rem 2.125rem 2.75rem" }
|
|
55
|
-
},
|
|
59
|
+
}, C = {
|
|
56
60
|
type: "button",
|
|
57
61
|
id: "modal-close-btn",
|
|
58
62
|
"data-dismiss": "modal",
|
|
@@ -61,7 +65,7 @@ const u = {
|
|
|
61
65
|
}, w = {
|
|
62
66
|
"aria-hidden": "true",
|
|
63
67
|
class: "close-icon rounded-circle"
|
|
64
|
-
},
|
|
68
|
+
}, k = {
|
|
65
69
|
xmlns: "http://www.w3.org/2000/svg",
|
|
66
70
|
fill: "white",
|
|
67
71
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -72,94 +76,126 @@ const u = {
|
|
|
72
76
|
viewBox: "0 0 512 512",
|
|
73
77
|
width: "8",
|
|
74
78
|
"xml:space": "preserve"
|
|
75
|
-
},
|
|
79
|
+
}, R = { class: "modal-head" }, E = {
|
|
76
80
|
class: "modal-title",
|
|
77
81
|
id: "exampleModalLabel",
|
|
78
82
|
style: { display: "inline-block" }
|
|
79
|
-
},
|
|
83
|
+
}, D = { class: "modal-body" }, H = {
|
|
80
84
|
class: "container",
|
|
81
85
|
style: { padding: "0", margin: "0" }
|
|
82
|
-
},
|
|
86
|
+
}, V = { class: "d-flex flex-row iframeSettings" }, T = { class: "input-wrapper" }, W = { for: "iframeWidth" }, M = { class: "input-with-px" }, L = ["min", "max"], z = ["min", "max"], S = {
|
|
83
87
|
class: "input-wrapper height",
|
|
84
88
|
style: { "padding-left": "3.3rem" }
|
|
85
|
-
},
|
|
89
|
+
}, U = { for: "iframeHeight" }, B = { class: "input-with-px" }, I = ["min", "max"], N = { class: "form-check mb-4" }, A = { class: "ecl-form-group" }, Z = {
|
|
86
90
|
class: "ecl-form-label",
|
|
87
91
|
for: "ebmedTextarea",
|
|
88
92
|
style: { "font-size": "18px", "font-weight": "400", color: "#000000" }
|
|
89
|
-
},
|
|
90
|
-
function
|
|
91
|
-
return m(), r("div",
|
|
92
|
-
t("div",
|
|
93
|
-
t("div",
|
|
94
|
-
t("button",
|
|
95
|
-
d(
|
|
93
|
+
}, P = ["value"], j = { class: "form-check mt-4" }, F = { class: "form-check" }, q = { class: "modal-footer justify-content-start" }, G = { class: "copied" }, J = { class: "form-check-label" };
|
|
94
|
+
function K(o, e, O, Q, i, l) {
|
|
95
|
+
return m(), r("div", c, [
|
|
96
|
+
t("div", x, [
|
|
97
|
+
t("div", y, [
|
|
98
|
+
t("button", C, [
|
|
99
|
+
d(a(o.$t("message.datasetDetails.datasets.modal.close")) + " ", 1),
|
|
96
100
|
t("span", w, [
|
|
97
|
-
(m(), r("svg",
|
|
101
|
+
(m(), r("svg", k, e[12] || (e[12] = [
|
|
98
102
|
t("path", { d: "M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z" }, null, -1)
|
|
99
103
|
])))
|
|
100
104
|
])
|
|
101
105
|
]),
|
|
102
|
-
e[
|
|
103
|
-
t("div", C, [
|
|
104
|
-
t("h5", k, l(a.$t("message.datasetDetails.datasets.modal.embedText")), 1)
|
|
105
|
-
]),
|
|
106
|
-
e[22] || (e[22] = d()),
|
|
106
|
+
e[30] || (e[30] = d()),
|
|
107
107
|
t("div", R, [
|
|
108
|
-
t("
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
t("h5", E, a(o.$t("message.datasetDetails.datasets.modal.embedText")), 1)
|
|
109
|
+
]),
|
|
110
|
+
e[31] || (e[31] = d()),
|
|
111
|
+
t("div", D, [
|
|
112
|
+
t("div", H, [
|
|
113
|
+
t("div", V, [
|
|
114
|
+
t("div", T, [
|
|
115
|
+
t("label", W, a(o.$t("message.datasetDetails.datasets.modal.width")), 1),
|
|
116
|
+
e[14] || (e[14] = t("br", null, null, -1)),
|
|
117
|
+
e[15] || (e[15] = d()),
|
|
118
|
+
t("div", M, [
|
|
119
|
+
i.isResponsive ? u("", !0) : n((m(), r("input", {
|
|
120
|
+
key: 0,
|
|
116
121
|
type: "number",
|
|
117
122
|
id: "iframeWidth",
|
|
118
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
119
|
-
onInput: e[1] || (e[1] = (...
|
|
120
|
-
min:
|
|
121
|
-
max:
|
|
122
|
-
}, null, 40,
|
|
123
|
-
[p,
|
|
124
|
-
])
|
|
123
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => i.iframeWidth = s),
|
|
124
|
+
onInput: e[1] || (e[1] = (...s) => l.updateEmbedCode && l.updateEmbedCode(...s)),
|
|
125
|
+
min: i.minRange,
|
|
126
|
+
max: i.maxRange
|
|
127
|
+
}, null, 40, L)), [
|
|
128
|
+
[p, i.iframeWidth]
|
|
129
|
+
]),
|
|
130
|
+
e[13] || (e[13] = d()),
|
|
131
|
+
i.isResponsive ? n((m(), r("input", {
|
|
132
|
+
key: 1,
|
|
133
|
+
class: "disable-width",
|
|
134
|
+
type: "text",
|
|
135
|
+
id: "iframeWidth",
|
|
136
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => i.iframeWidth = s),
|
|
137
|
+
onInput: e[3] || (e[3] = (...s) => l.updateEmbedCode && l.updateEmbedCode(...s)),
|
|
138
|
+
min: i.minRange,
|
|
139
|
+
max: i.maxRange
|
|
140
|
+
}, null, 40, z)), [
|
|
141
|
+
[p, i.iframeWidth]
|
|
142
|
+
]) : u("", !0)
|
|
125
143
|
])
|
|
126
144
|
]),
|
|
127
|
-
e[
|
|
128
|
-
t("div",
|
|
129
|
-
t("label",
|
|
130
|
-
e[
|
|
131
|
-
e[
|
|
132
|
-
t("div",
|
|
145
|
+
e[18] || (e[18] = d()),
|
|
146
|
+
t("div", S, [
|
|
147
|
+
t("label", U, a(o.$t("message.datasetDetails.datasets.modal.height")), 1),
|
|
148
|
+
e[16] || (e[16] = t("br", null, null, -1)),
|
|
149
|
+
e[17] || (e[17] = d()),
|
|
150
|
+
t("div", B, [
|
|
133
151
|
n(t("input", {
|
|
134
152
|
type: "number",
|
|
135
153
|
id: "iframeHeight",
|
|
136
|
-
"onUpdate:modelValue": e[
|
|
137
|
-
onInput: e[
|
|
138
|
-
min:
|
|
139
|
-
max:
|
|
140
|
-
}, null, 40,
|
|
141
|
-
[p,
|
|
154
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => i.iframeHeight = s),
|
|
155
|
+
onInput: e[5] || (e[5] = (...s) => l.updateEmbedCode && l.updateEmbedCode(...s)),
|
|
156
|
+
min: i.minRange,
|
|
157
|
+
max: i.maxRange
|
|
158
|
+
}, null, 40, I), [
|
|
159
|
+
[p, i.iframeHeight]
|
|
142
160
|
])
|
|
143
161
|
])
|
|
144
162
|
])
|
|
145
163
|
])
|
|
146
164
|
]),
|
|
147
|
-
e[
|
|
148
|
-
t("div",
|
|
149
|
-
|
|
150
|
-
|
|
165
|
+
e[22] || (e[22] = d()),
|
|
166
|
+
t("div", N, [
|
|
167
|
+
n(t("input", {
|
|
168
|
+
class: "form-check-input",
|
|
169
|
+
type: "checkbox",
|
|
170
|
+
"onUpdate:modelValue": e[6] || (e[6] = (s) => i.isResponsive = s),
|
|
171
|
+
onChange: e[7] || (e[7] = (...s) => l.updateEmbedCode && l.updateEmbedCode(...s))
|
|
172
|
+
}, null, 544), [
|
|
173
|
+
[b, i.isResponsive]
|
|
174
|
+
]),
|
|
175
|
+
e[19] || (e[19] = d()),
|
|
176
|
+
e[20] || (e[20] = t("label", {
|
|
177
|
+
class: "form-check-label",
|
|
178
|
+
for: "responsive"
|
|
179
|
+
}, `
|
|
180
|
+
Responsive
|
|
181
|
+
`, -1))
|
|
182
|
+
]),
|
|
183
|
+
e[23] || (e[23] = d()),
|
|
184
|
+
t("div", A, [
|
|
185
|
+
t("label", Z, a(o.$t("message.datasetDetails.datasets.modal.code")), 1),
|
|
186
|
+
e[21] || (e[21] = d()),
|
|
151
187
|
t("textarea", {
|
|
152
188
|
id: "ebmedTextarea",
|
|
153
189
|
style: { width: "100%", resize: "none", padding: "20px 25px 0px 20px", overflow: "hidden", "font-size": "18px", "line-height": "1.1", color: "#888888", "margin-top": "1.375rem", "word-break": "break-all", float: "left!important" },
|
|
154
190
|
class: "ecl-text-area ecl-text-area--m",
|
|
155
191
|
rows: "4",
|
|
156
|
-
value:
|
|
157
|
-
|
|
158
|
-
}, null, 8,
|
|
192
|
+
value: i.embedCode,
|
|
193
|
+
onClick: e[8] || (e[8] = (...s) => l.selectAll && l.selectAll(...s))
|
|
194
|
+
}, null, 8, P)
|
|
159
195
|
])
|
|
160
196
|
]),
|
|
161
|
-
e[
|
|
162
|
-
t("div",
|
|
197
|
+
e[32] || (e[32] = d()),
|
|
198
|
+
t("div", j, [
|
|
163
199
|
t("input", {
|
|
164
200
|
class: "form-check-input",
|
|
165
201
|
type: "radio",
|
|
@@ -167,56 +203,58 @@ function j(a, e, F, q, s, o) {
|
|
|
167
203
|
id: "complete",
|
|
168
204
|
value: "complete",
|
|
169
205
|
checked: "",
|
|
170
|
-
onChange: e[
|
|
206
|
+
onChange: e[9] || (e[9] = (...s) => l.updateEmbedCodeType && l.updateEmbedCodeType(...s))
|
|
171
207
|
}, null, 32),
|
|
172
|
-
e[
|
|
173
|
-
e[
|
|
208
|
+
e[24] || (e[24] = d()),
|
|
209
|
+
e[25] || (e[25] = t("label", {
|
|
174
210
|
class: "form-check-label",
|
|
175
211
|
for: "exampleRadios1"
|
|
176
212
|
}, `
|
|
177
213
|
Complete Dataset
|
|
178
214
|
`, -1))
|
|
179
215
|
]),
|
|
180
|
-
e[
|
|
181
|
-
t("div",
|
|
216
|
+
e[33] || (e[33] = d()),
|
|
217
|
+
t("div", F, [
|
|
182
218
|
t("input", {
|
|
183
219
|
class: "form-check-input",
|
|
184
220
|
type: "radio",
|
|
185
221
|
name: "exampleRadios",
|
|
186
222
|
id: "snippet",
|
|
187
223
|
value: "snippet",
|
|
188
|
-
onChange: e[
|
|
224
|
+
onChange: e[10] || (e[10] = (...s) => l.updateEmbedCodeType && l.updateEmbedCodeType(...s))
|
|
189
225
|
}, null, 32),
|
|
190
|
-
e[
|
|
191
|
-
e[
|
|
226
|
+
e[26] || (e[26] = d()),
|
|
227
|
+
e[27] || (e[27] = t("label", {
|
|
192
228
|
class: "form-check-label",
|
|
193
229
|
for: "exampleRadios2"
|
|
194
230
|
}, `
|
|
195
231
|
Snippet Dataset
|
|
196
232
|
`, -1))
|
|
197
233
|
]),
|
|
198
|
-
e[
|
|
199
|
-
t("div",
|
|
234
|
+
e[34] || (e[34] = d()),
|
|
235
|
+
t("div", q, [
|
|
200
236
|
t("button", {
|
|
201
|
-
onClick: e[
|
|
237
|
+
onClick: e[11] || (e[11] = (...s) => l.copy && l.copy(...s)),
|
|
202
238
|
class: "ecl-button ecl-button--secondary px-4 py-3",
|
|
203
239
|
style: { float: "left!important" },
|
|
204
240
|
type: "button"
|
|
205
|
-
},
|
|
206
|
-
e[
|
|
207
|
-
n(t("span",
|
|
208
|
-
|
|
209
|
-
|
|
241
|
+
}, a(o.$t("message.datasetDetails.datasets.modal.copy")), 1),
|
|
242
|
+
e[29] || (e[29] = d()),
|
|
243
|
+
n(t("span", G, [
|
|
244
|
+
t("label", J, [
|
|
245
|
+
e[28] || (e[28] = f('<svg width="20" height="23" viewBox="0 0 20 23" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-48ec495c><g clip-path="url(#clip0_13_474)" data-v-48ec495c><path d="M14.2857 20.125V21.9219C14.2857 22.5173 13.806 23 13.2143 23H1.07143C0.479688 23 0 22.5173 0 21.9219V5.39062C0 4.79519 0.479688 4.3125 1.07143 4.3125H4.28571V17.6094C4.28571 18.9965 5.40719 20.125 6.78571 20.125H14.2857ZM14.2857 4.67188V0H6.78571C6.19397 0 5.71429 0.482686 5.71429 1.07812V17.6094C5.71429 18.2048 6.19397 18.6875 6.78571 18.6875H18.9286C19.5203 18.6875 20 18.2048 20 17.6094V5.75H15.3571C14.7679 5.75 14.2857 5.26484 14.2857 4.67188ZM19.6862 3.27799L16.7424 0.315756C16.5414 0.113582 16.2689 1.49498e-06 15.9848 0L15.7143 0V4.3125H20V4.04032C20 3.75439 19.8871 3.48018 19.6862 3.27799Z" fill="#464646" data-v-48ec495c></path></g> <defs data-v-48ec495c><clipPath id="clip0_13_474" data-v-48ec495c><rect width="20" height="23" fill="white" data-v-48ec495c></rect></clipPath></defs></svg>', 1)),
|
|
246
|
+
d(" " + a(o.$t("message.datasetDetails.datasets.modal.copied")), 1)
|
|
247
|
+
])
|
|
210
248
|
], 512), [
|
|
211
|
-
[h,
|
|
249
|
+
[h, i.copied]
|
|
212
250
|
])
|
|
213
251
|
])
|
|
214
252
|
])
|
|
215
253
|
])
|
|
216
254
|
]);
|
|
217
255
|
}
|
|
218
|
-
const
|
|
256
|
+
const $ = /* @__PURE__ */ g(v, [["render", K], ["__scopeId", "data-v-48ec495c"]]);
|
|
219
257
|
export {
|
|
220
|
-
|
|
258
|
+
$ as default
|
|
221
259
|
};
|
|
222
260
|
//# sourceMappingURL=DatasetEmbedModal.vue.mjs.map
|