@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.
Files changed (44) hide show
  1. package/dist/data-provider-interface/CatalogueMQA.vue.mjs +21 -21
  2. package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
  3. package/dist/data-provider-interface/DPIMenu.vue.mjs +5 -5
  4. package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +9 -4
  5. package/dist/data-provider-interface/components/Navigation.vue.mjs +57 -56
  6. package/dist/data-provider-interface/components/Navigation.vue.mjs.map +1 -1
  7. package/dist/data-provider-interface/components/SpatialInput.vue.mjs +23 -22
  8. package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
  9. package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +13 -13
  10. package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
  11. package/dist/data-provider-interface/composables/index.d.ts +1 -0
  12. package/dist/data-provider-interface/composables/useDpiEditMode.mjs +15 -16
  13. package/dist/data-provider-interface/composables/useDpiEditMode.mjs.map +1 -1
  14. package/dist/data-provider-interface/composables/useFormSchema.d.ts +13 -0
  15. package/dist/data-provider-interface/composables/useFormSchema.mjs +59 -0
  16. package/dist/data-provider-interface/composables/useFormSchema.mjs.map +1 -0
  17. package/dist/data-provider-interface/index.d.ts +33 -0
  18. package/dist/data-provider-interface/utils/translation-helper.mjs +23 -23
  19. package/dist/data-provider-interface/utils/translation-helper.mjs.map +1 -1
  20. package/dist/data-provider-interface/views/DistributionOverview.vue.d.ts +1 -1
  21. package/dist/data-provider-interface/views/InputPage.vue.d.ts +9 -4
  22. package/dist/data-provider-interface/views/InputPage.vue.mjs +110 -110
  23. package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
  24. package/dist/dataProviderInterface.d.ts +1 -0
  25. package/dist/dataProviderInterface.mjs +71 -0
  26. package/dist/dataProviderInterface.mjs.map +1 -0
  27. package/dist/datasetDetails/DatasetDetails.vue.mjs +31 -29
  28. package/dist/datasetDetails/DatasetDetails.vue.mjs.map +1 -1
  29. package/dist/embed/DatasetEmbedModal.vue.d.ts +2 -0
  30. package/dist/embed/DatasetEmbedModal.vue.mjs +126 -88
  31. package/dist/embed/DatasetEmbedModal.vue.mjs.map +1 -1
  32. package/dist/embed/EmbedDataset.vue.mjs +31 -26
  33. package/dist/embed/EmbedDataset.vue.mjs.map +1 -1
  34. package/dist/embed/EmbedDatasetSnippet.vue.mjs +30 -25
  35. package/dist/embed/EmbedDatasetSnippet.vue.mjs.map +1 -1
  36. package/dist/external/@vueuse/core/index +31 -31
  37. package/dist/external/@vueuse/shared/index +66 -63
  38. package/dist/external/@vueuse/shared/index.map +1 -1
  39. package/dist/form/FormKitGroup.vue.mjs.map +1 -1
  40. package/dist/index.mjs +54 -54
  41. package/dist/piveau-hub-ui-modules.css +1 -1
  42. package/package.json +17 -1
  43. package/dist/data-provider-interface/index.mjs +0 -15
  44. 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 g } from "vuex";
2
- import { useRoute as f } from "vue-router";
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 _ } from "../utils/helpers.mjs";
6
- import { useDownloadDatasetOnMount as y } from "../composables/useDownloadDatasetOnMount.mjs";
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 T } from "../composables/useRuntimeEnv.mjs";
9
- import { resolveComponent as r, openBlock as a, createElementBlock as l, createBlock as p, createCommentVNode as n, createTextVNode as o, createElementVNode as b, createVNode as m } from "vue";
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
- ...g("datasetDetails", [
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 t = f(), e = T();
46
- y({ route: t, hubUrl: e.api.hubUrl });
45
+ const e = c(), t = _();
46
+ T({ route: e, hubUrl: t.api.hubUrl });
47
47
  }
48
- }, R = ["data-cy"], h = { class: "container-fluid mb-5 pt-1 content dsd-content" }, I = { key: 1 };
49
- function O(t, e, V, w, s, i) {
50
- const d = r("dataset-details-navigation"), u = r("dataset-details-header"), c = r("router-view");
51
- return a(), l("div", {
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": i.getRepresentativeLocaleOf(t.getTitle, t.$route.query.locale, t.getLanguages) && `dataset@${i.getRepresentativeLocaleOf(t.getTitle, t.$route.query.locale, t.getLanguages)}`
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
- s.topTitle ? (a(), p(d, {
55
+ n(l, { name: "test" }),
56
+ t[3] || (t[3] = a()),
57
+ s.topTitle ? (o(), u(m, {
56
58
  key: 0,
57
- "dataset-id": t.getID
58
- }, null, 8, ["dataset-id"])) : n("", !0),
59
- e[3] || (e[3] = o()),
60
- b("div", h, [
61
- m(u),
62
- e[0] || (e[0] = o()),
63
- s.topTitle ? n("", !0) : (a(), p(d, {
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": t.getID
67
+ "dataset-id": e.getID
66
68
  }, null, 8, ["dataset-id"])),
67
- e[1] || (e[1] = o()),
68
- s.topTitle ? (a(), l("hr", I)) : n("", !0),
69
- e[2] || (e[2] = o()),
70
- m(c, { name: "datasetDetailsSubpages" })
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", O], ["__scopeId", "data-v-c87c9171"]]);
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","$data","_createBlock","_component_dataset_details_navigation","_createCommentVNode","_cache","_createTextVNode","_createElementVNode","_createVNode","_component_dataset_details_header","_openBlock","_hoisted_3","_component_router_view"],"mappings":";;;;;;;;;;;;;;AA4BA,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,GA9DAG,IAAA,CAAA,SAAA,GAOSC,IAAA,EAAA,OAAM,gDAA+C,SAP9D,KAAA,EAAA;;;cACEC,EAYM,OAAA;AAAA,IAXJ,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;IAGtIC,EAAQ,iBAA1CC,EAAiEC,GAAA;AAAA,MANrE,KAAA;AAAA,MAMiD,cAAYH,EAAK;AAAA,mCANlEI,EAAA,IAAA,EAAA;AAAA,IAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,IAOIC,EAKM,OALNV,GAKM;AAAA,MAJJW,EAA0BC,CAAA;AAAA,MARhCJ,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MASyCL,EAAQ,WATjDG,EAAA,IAAA,EAAA,UASMF,EAAkEC,GAAA;AAAA,QATxE,KAAA;AAAA,QASoD,cAAYH,EAAK;AAAA;MATrEK,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAUgBL,EAAQ,YAAlBS,KAAAZ,EAAsB,MAV5Ba,CAAA,KAAAP,EAAA,IAAA,EAAA;AAAA,MAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAWME,EAAyDI,GAAA,EAA5C,MAAK,yBAAwB,CAAA;AAAA;EAXhD,GAAA,GAAAhB,CAAA;;;"}
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 l, withDirectives as n, vModelText as p, createStaticVNode as b, vShow as h } from "vue";
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 f from "../_virtual/_plugin-vue_export-helper.mjs";
4
- const u = {
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 a = window.location.href.replace(/\?.*$/, "") + "/" + this.embedType;
22
- this.embedCode = `<iframe src="${a}" width="${this.iframeWidth}" height="${this.iframeHeight}" frameborder="0"></iframe>`;
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(a) {
25
- this.embedType = a.target.value === "snippet" ? "embed-snippet" : "embed", this.updateEmbedCode();
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((a) => {
33
- console.error("Failed to copy: ", a);
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
- }, g = {
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
- }, c = {
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
- }, v = {
56
+ }, y = {
53
57
  class: "modal-content border-none",
54
58
  style: { "border-radius": "0", padding: "1rem 2.125rem 2.75rem" }
55
- }, x = {
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
- }, y = {
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
- }, C = { class: "modal-head" }, k = {
79
+ }, R = { class: "modal-head" }, E = {
76
80
  class: "modal-title",
77
81
  id: "exampleModalLabel",
78
82
  style: { display: "inline-block" }
79
- }, R = { class: "modal-body" }, D = {
83
+ }, D = { class: "modal-body" }, H = {
80
84
  class: "container",
81
85
  style: { padding: "0", margin: "0" }
82
- }, H = { class: "d-flex flex-row iframeSettings" }, E = { class: "input-wrapper" }, T = { for: "iframeWidth" }, V = { class: "input-with-px" }, M = ["min", "max"], L = {
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
- }, W = { for: "iframeHeight" }, _ = { class: "input-with-px" }, z = ["min", "max"], S = { class: "ecl-form-group" }, B = {
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
- }, I = ["value"], N = { class: "form-check mt-4" }, U = { class: "form-check" }, Z = { class: "modal-footer justify-content-start" }, P = { class: "copied" };
90
- function j(a, e, F, q, s, o) {
91
- return m(), r("div", g, [
92
- t("div", c, [
93
- t("div", v, [
94
- t("button", x, [
95
- d(l(a.$t("message.datasetDetails.datasets.modal.close")) + " ", 1),
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", y, e[7] || (e[7] = [
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[21] || (e[21] = d()),
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("div", D, [
109
- t("div", H, [
110
- t("div", E, [
111
- t("label", T, l(a.$t("message.datasetDetails.datasets.modal.width")), 1),
112
- e[8] || (e[8] = t("br", null, null, -1)),
113
- e[9] || (e[9] = d()),
114
- t("div", V, [
115
- n(t("input", {
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] = (i) => s.iframeWidth = i),
119
- onInput: e[1] || (e[1] = (...i) => o.updateEmbedCode && o.updateEmbedCode(...i)),
120
- min: s.minRange,
121
- max: s.maxRange
122
- }, null, 40, M), [
123
- [p, s.iframeWidth]
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[12] || (e[12] = d()),
128
- t("div", L, [
129
- t("label", W, l(a.$t("message.datasetDetails.datasets.modal.height")), 1),
130
- e[10] || (e[10] = t("br", null, null, -1)),
131
- e[11] || (e[11] = d()),
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[2] || (e[2] = (i) => s.iframeHeight = i),
137
- onInput: e[3] || (e[3] = (...i) => o.updateEmbedCode && o.updateEmbedCode(...i)),
138
- min: s.minRange,
139
- max: s.maxRange
140
- }, null, 40, z), [
141
- [p, s.iframeHeight]
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[14] || (e[14] = d()),
148
- t("div", S, [
149
- t("label", B, l(a.$t("message.datasetDetails.datasets.modal.code")), 1),
150
- e[13] || (e[13] = d()),
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: s.embedCode,
157
- readonly: ""
158
- }, null, 8, I)
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[23] || (e[23] = d()),
162
- t("div", N, [
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[4] || (e[4] = (...i) => o.updateEmbedCodeType && o.updateEmbedCodeType(...i))
206
+ onChange: e[9] || (e[9] = (...s) => l.updateEmbedCodeType && l.updateEmbedCodeType(...s))
171
207
  }, null, 32),
172
- e[15] || (e[15] = d()),
173
- e[16] || (e[16] = t("label", {
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[24] || (e[24] = d()),
181
- t("div", U, [
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[5] || (e[5] = (...i) => o.updateEmbedCodeType && o.updateEmbedCodeType(...i))
224
+ onChange: e[10] || (e[10] = (...s) => l.updateEmbedCodeType && l.updateEmbedCodeType(...s))
189
225
  }, null, 32),
190
- e[17] || (e[17] = d()),
191
- e[18] || (e[18] = t("label", {
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[25] || (e[25] = d()),
199
- t("div", Z, [
234
+ e[34] || (e[34] = d()),
235
+ t("div", q, [
200
236
  t("button", {
201
- onClick: e[6] || (e[6] = (...i) => o.copy && o.copy(...i)),
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
- }, l(a.$t("message.datasetDetails.datasets.modal.copy")), 1),
206
- e[20] || (e[20] = d()),
207
- n(t("span", P, [
208
- e[19] || (e[19] = b('<svg width="20" height="23" viewBox="0 0 20 23" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-b7a26f22><g clip-path="url(#clip0_13_474)" data-v-b7a26f22><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-b7a26f22></path></g> <defs data-v-b7a26f22><clipPath id="clip0_13_474" data-v-b7a26f22><rect width="20" height="23" fill="white" data-v-b7a26f22></rect></clipPath></defs></svg>', 1)),
209
- d(" " + l(a.$t("message.datasetDetails.datasets.modal.copied")), 1)
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, s.copied]
249
+ [h, i.copied]
212
250
  ])
213
251
  ])
214
252
  ])
215
253
  ])
216
254
  ]);
217
255
  }
218
- const K = /* @__PURE__ */ f(u, [["render", j], ["__scopeId", "data-v-b7a26f22"]]);
256
+ const $ = /* @__PURE__ */ g(v, [["render", K], ["__scopeId", "data-v-48ec495c"]]);
219
257
  export {
220
- K as default
258
+ $ as default
221
259
  };
222
260
  //# sourceMappingURL=DatasetEmbedModal.vue.mjs.map