@piveau/dpi 0.1.0-beta.5
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/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/dpi.css +1 -0
- package/dist/composables/useRuntimeEnv.js +11 -0
- package/dist/composables/useTed.js +9 -0
- package/dist/data-provider-interface/DPIMenu.vue.js +457 -0
- package/dist/data-provider-interface/DataProviderInterface.vue.js +43 -0
- package/dist/data-provider-interface/DataProviderInterface.vue2.js +144 -0
- package/dist/data-provider-interface/HappyFlowComponents/BlogDPIHome.vue.js +13 -0
- package/dist/data-provider-interface/HappyFlowComponents/CommunityDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1052 -0
- package/dist/data-provider-interface/HappyFlowComponents/ConsultingDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +26 -0
- package/dist/data-provider-interface/HappyFlowComponents/FAQDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +109 -0
- package/dist/data-provider-interface/HappyFlowComponents/ServiceDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CheckCircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Circle.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/DatenbereitstellerV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Error.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Published.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Warning.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/FurV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationCelebrate.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationStart.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/InfoFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/WarningFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/bydata_logo_blue_small.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/iconRight.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/x-circleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +135 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/eventBus.js +16 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +256 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CheckboxV3.vue.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +91 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CrossOutButton.vue.js +63 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DatasetStatus.vue.js +52 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +231 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Illustration.vue.js +33 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +477 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputV3.vue.js +182 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LogoV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +123 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +566 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/MoreButton.vue.js +56 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +41 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +80 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js +50 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +113 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +116 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +227 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +148 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +70 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +46 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +130 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +106 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +247 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +79 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +73 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +134 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +68 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SwitchV3.vue.js +195 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +207 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +115 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonLarge.vue.js +108 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +125 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +69 -0
- package/dist/data-provider-interface/components/AutocompleteInput.vue.js +279 -0
- package/dist/data-provider-interface/components/BasicInfosPage.vue.js +9 -0
- package/dist/data-provider-interface/components/ConditionalInput.vue.js +196 -0
- package/dist/data-provider-interface/components/ContactPage.vue.js +246 -0
- package/dist/data-provider-interface/components/CoveringPage.vue.js +9 -0
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.js +49 -0
- package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +60 -0
- package/dist/data-provider-interface/components/DistLicense.vue.js +160 -0
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +1147 -0
- package/dist/data-provider-interface/components/DistributionStepper.vue.js +212 -0
- package/dist/data-provider-interface/components/Dropup.vue.js +62 -0
- package/dist/data-provider-interface/components/FileUpload.vue.js +278 -0
- package/dist/data-provider-interface/components/HVDPage.vue.js +106 -0
- package/dist/data-provider-interface/components/HappyFlowLandingPage.vue.js +70 -0
- package/dist/data-provider-interface/components/InfoSlot.vue.js +81 -0
- package/dist/data-provider-interface/components/InputPageStep.vue.js +40 -0
- package/dist/data-provider-interface/components/InputPageStep.vue2.js +4 -0
- package/dist/data-provider-interface/components/LanguageSelector.vue.js +65 -0
- package/dist/data-provider-interface/components/Navigation.vue.js +256 -0
- package/dist/data-provider-interface/components/Navigation.vue2.js +1 -0
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +81 -0
- package/dist/data-provider-interface/components/PublisherPage.vue.js +176 -0
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +413 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.js +55 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue2.js +4 -0
- package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.js +32 -0
- package/dist/data-provider-interface/components/SimpleInput.vue.js +35 -0
- package/dist/data-provider-interface/components/SimpleSelect.vue.js +111 -0
- package/dist/data-provider-interface/components/SpatialInput.vue.js +276 -0
- package/dist/data-provider-interface/components/TempResPage.vue.js +211 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue.js +90 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue2.js +4 -0
- package/dist/data-provider-interface/components/TitelPage.vue.js +52 -0
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.js +75 -0
- package/dist/data-provider-interface/components/UpdateDate.vue.js +75 -0
- package/dist/data-provider-interface/components/dpiV3Description.vue.js +44 -0
- package/dist/data-provider-interface/composables/aucotomplete.js +50 -0
- package/dist/data-provider-interface/composables/useDpiContext.js +17 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.js +88 -0
- package/dist/data-provider-interface/composables/useDpiFormValues.js +8 -0
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +384 -0
- package/dist/data-provider-interface/composables/useDpiStepper.js +47 -0
- package/dist/data-provider-interface/composables/useDpiUtils.js +39 -0
- package/dist/data-provider-interface/composables/useErrorDialog.js +31 -0
- package/dist/data-provider-interface/composables/useFormSchema.js +56 -0
- package/dist/data-provider-interface/composables/useRequestUriName.js +58 -0
- package/dist/data-provider-interface/config/dcatap/format-types.js +256 -0
- package/dist/data-provider-interface/config/dcatap/input-definition.js +1842 -0
- package/dist/data-provider-interface/config/dcatap/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatap/prefixes.js +25 -0
- package/dist/data-provider-interface/config/dcatap/vocab-prefixes.js +24 -0
- package/dist/data-provider-interface/config/dcatapde/format-types.js +274 -0
- package/dist/data-provider-interface/config/dcatapde/input-definition.js +2131 -0
- package/dist/data-provider-interface/config/dcatapde/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatapde/prefixes.js +27 -0
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +33 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +161 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +2196 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +82 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.js +18 -0
- package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dpi-spec-config.js +54 -0
- package/dist/data-provider-interface/config/selector-languages.json.js +57 -0
- package/dist/data-provider-interface/plugins/userConfigShimPlugin.js +10 -0
- package/dist/data-provider-interface/store/dpiStore.js +33 -0
- package/dist/data-provider-interface/store/modules/formSchemaStore.js +94 -0
- package/dist/data-provider-interface/store/modules/navigationStore.js +24 -0
- package/dist/data-provider-interface/utils/general-helper.js +218 -0
- package/dist/data-provider-interface/utils/injectionKeys.js +5 -0
- package/dist/data-provider-interface/utils/translation-helper.js +31 -0
- package/dist/data-provider-interface/utils/useSteps.js +34 -0
- package/dist/data-provider-interface/views/DistributionInputPage.vue.js +100 -0
- package/dist/data-provider-interface/views/DistributionOverview.vue.js +201 -0
- package/dist/data-provider-interface/views/DraftsPage.vue.js +278 -0
- package/dist/data-provider-interface/views/InputPage.vue.js +1182 -0
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.js +105 -0
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.js +86 -0
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.js +214 -0
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.js +219 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.js +19 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.js +397 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.js +56 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.js +109 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.js +92 -0
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.js +103 -0
- package/dist/data-provider-interface/views/OverviewPage.vue.js +189 -0
- package/dist/data-provider-interface/views/PropertyChooser.vue.js +41 -0
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.js +74 -0
- package/dist/data-provider-interface/views/UserProfilePage.vue.js +83 -0
- package/dist/filters/dateFilters.js +39 -0
- package/dist/form/FormKitGroup.vue.js +55 -0
- package/dist/form/Repeatable.vue.js +7 -0
- package/dist/form/Repeatable.vue2.js +72 -0
- package/dist/form/inputDefinitions.js +131 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -0
- package/dist/utils/helpers.js +32 -0
- package/dist/widgets/AppLink.vue.js +118 -0
- package/package.json +96 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import o from "./Repeatable.vue.js";
|
|
2
|
+
import t from "./FormKitGroup.vue.js";
|
|
3
|
+
import "@formkit/core";
|
|
4
|
+
import p from "../data-provider-interface/components/AutocompleteInput.vue.js";
|
|
5
|
+
import e from "../data-provider-interface/components/FileUpload.vue.js";
|
|
6
|
+
import i from "../data-provider-interface/components/UniqueIdentifierInput.vue.js";
|
|
7
|
+
import n from "../data-provider-interface/components/SpatialInput.vue.js";
|
|
8
|
+
import m from "../data-provider-interface/components/ConditionalInput.vue.js";
|
|
9
|
+
import r from "../data-provider-interface/components/SimpleSelect.vue.js";
|
|
10
|
+
import c from "../data-provider-interface/components/SimpleInput.vue.js";
|
|
11
|
+
import a from "../data-provider-interface/components/SimpleAccessURLInput.vue.js";
|
|
12
|
+
import u from "../data-provider-interface/components/HappyFlowLandingPage.vue.js";
|
|
13
|
+
import g from "../data-provider-interface/components/DiscoverabilityPage.vue.js";
|
|
14
|
+
import f from "../data-provider-interface/components/HVDPage.vue.js";
|
|
15
|
+
import s from "../data-provider-interface/components/BasicInfosPage.vue.js";
|
|
16
|
+
import l from "../data-provider-interface/components/CoveringPage.vue.js";
|
|
17
|
+
import y from "../data-provider-interface/components/DistributionSimplePage.vue.js";
|
|
18
|
+
import d from "../data-provider-interface/components/ReviewAndPublishPage.vue.js";
|
|
19
|
+
import P from "../data-provider-interface/components/dpiV3Description.vue.js";
|
|
20
|
+
import _ from "../data-provider-interface/components/TitelPage.vue.js";
|
|
21
|
+
import b from "../data-provider-interface/components/UpdateDate.vue.js";
|
|
22
|
+
import v from "../data-provider-interface/components/PublisherPage.vue.js";
|
|
23
|
+
import D from "../data-provider-interface/components/ContactPage.vue.js";
|
|
24
|
+
import h from "../data-provider-interface/components/TempResPage.vue.js";
|
|
25
|
+
import I from "../data-provider-interface/components/PolGeoUriPage.vue.js";
|
|
26
|
+
import R from "../data-provider-interface/components/DistLicense.vue.js";
|
|
27
|
+
const X = {
|
|
28
|
+
repeatable: {
|
|
29
|
+
type: "list",
|
|
30
|
+
component: o
|
|
31
|
+
},
|
|
32
|
+
id: {
|
|
33
|
+
type: "input",
|
|
34
|
+
component: i
|
|
35
|
+
},
|
|
36
|
+
auto: {
|
|
37
|
+
type: "group",
|
|
38
|
+
component: p
|
|
39
|
+
},
|
|
40
|
+
fileupload: {
|
|
41
|
+
type: "group",
|
|
42
|
+
component: e
|
|
43
|
+
},
|
|
44
|
+
spatialinput: {
|
|
45
|
+
type: "group",
|
|
46
|
+
component: n
|
|
47
|
+
},
|
|
48
|
+
formkitGroup: {
|
|
49
|
+
type: "group",
|
|
50
|
+
component: t
|
|
51
|
+
},
|
|
52
|
+
simpleConditional: {
|
|
53
|
+
type: "group",
|
|
54
|
+
component: m
|
|
55
|
+
},
|
|
56
|
+
simpleSelect: {
|
|
57
|
+
type: "input",
|
|
58
|
+
component: r
|
|
59
|
+
},
|
|
60
|
+
simpleInput: {
|
|
61
|
+
type: "input",
|
|
62
|
+
component: c
|
|
63
|
+
},
|
|
64
|
+
simpleAccessURLInput: {
|
|
65
|
+
type: "group",
|
|
66
|
+
component: a
|
|
67
|
+
},
|
|
68
|
+
happyFlowLandingPage: {
|
|
69
|
+
type: "group",
|
|
70
|
+
component: u
|
|
71
|
+
},
|
|
72
|
+
discoverabilityPage: {
|
|
73
|
+
type: "group",
|
|
74
|
+
component: g
|
|
75
|
+
},
|
|
76
|
+
hvdPage: {
|
|
77
|
+
type: "group",
|
|
78
|
+
component: f
|
|
79
|
+
},
|
|
80
|
+
basicInfosPage: {
|
|
81
|
+
type: "group",
|
|
82
|
+
component: s
|
|
83
|
+
},
|
|
84
|
+
"dct:title": {
|
|
85
|
+
type: "input",
|
|
86
|
+
component: _
|
|
87
|
+
},
|
|
88
|
+
"dct:modified": {
|
|
89
|
+
type: "input",
|
|
90
|
+
component: b
|
|
91
|
+
},
|
|
92
|
+
"dct:publisher": {
|
|
93
|
+
type: "group",
|
|
94
|
+
component: v
|
|
95
|
+
},
|
|
96
|
+
"dcat:contactPoint": {
|
|
97
|
+
type: "group",
|
|
98
|
+
component: D
|
|
99
|
+
},
|
|
100
|
+
coveringPage: {
|
|
101
|
+
type: "group",
|
|
102
|
+
component: l
|
|
103
|
+
},
|
|
104
|
+
"dct:description": {
|
|
105
|
+
type: "input",
|
|
106
|
+
component: P
|
|
107
|
+
},
|
|
108
|
+
"dcat:distribution": {
|
|
109
|
+
type: "group",
|
|
110
|
+
component: y
|
|
111
|
+
},
|
|
112
|
+
reviewAndPublishPage: {
|
|
113
|
+
type: "group",
|
|
114
|
+
component: d
|
|
115
|
+
},
|
|
116
|
+
"dcat:temporalResolution": {
|
|
117
|
+
type: "input",
|
|
118
|
+
component: h
|
|
119
|
+
},
|
|
120
|
+
"dcatde:politicalGeocodingURI": {
|
|
121
|
+
type: "input",
|
|
122
|
+
component: I
|
|
123
|
+
},
|
|
124
|
+
"dct:license": {
|
|
125
|
+
type: "group",
|
|
126
|
+
component: R
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
export {
|
|
130
|
+
X as default
|
|
131
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { default as vo } from "./form/inputDefinitions.js";
|
|
2
|
+
import t from "./data-provider-interface/components/AutocompleteInput.vue.js";
|
|
3
|
+
import e from "./data-provider-interface/components/ConditionalInput.vue.js";
|
|
4
|
+
import r from "./data-provider-interface/components/DataFetchingComponent.vue.js";
|
|
5
|
+
import m from "./data-provider-interface/components/Dropup.vue.js";
|
|
6
|
+
import i from "./data-provider-interface/components/FileUpload.vue.js";
|
|
7
|
+
import n from "./data-provider-interface/components/InfoSlot.vue.js";
|
|
8
|
+
import p from "./data-provider-interface/components/LanguageSelector.vue.js";
|
|
9
|
+
import a from "./data-provider-interface/components/Navigation.vue.js";
|
|
10
|
+
import { default as Po } from "./data-provider-interface/components/ReviewAndPublishPage.vue.js";
|
|
11
|
+
import f from "./data-provider-interface/components/UniqueIdentifierInput.vue.js";
|
|
12
|
+
import s from "./data-provider-interface/DataProviderInterface.vue.js";
|
|
13
|
+
import u from "./data-provider-interface/DPIMenu.vue.js";
|
|
14
|
+
import { default as wo } from "./data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js";
|
|
15
|
+
import { default as Oo } from "./data-provider-interface/HappyFlowComponents/DPIHome.vue.js";
|
|
16
|
+
import { default as Mo } from "./data-provider-interface/store/dpiStore.js";
|
|
17
|
+
import x from "./data-provider-interface/views/DistributionOverview.vue.js";
|
|
18
|
+
import c from "./data-provider-interface/views/DraftsPage.vue.js";
|
|
19
|
+
import l from "./data-provider-interface/views/InputPage.vue.js";
|
|
20
|
+
import g from "./data-provider-interface/views/LinkedDataViewer.vue.js";
|
|
21
|
+
import d from "./data-provider-interface/views/OverviewPage.vue.js";
|
|
22
|
+
import D from "./data-provider-interface/views/OverviewPage/CatalogueOverview.vue.js";
|
|
23
|
+
import v from "./data-provider-interface/views/OverviewPage/DatasetOverview.vue.js";
|
|
24
|
+
import C from "./data-provider-interface/views/OverviewPage/DistributionOverview.vue.js";
|
|
25
|
+
import P from "./data-provider-interface/views/OverviewPage/PropertyEntry.vue.js";
|
|
26
|
+
import I from "./data-provider-interface/views/UserCataloguesPage.vue.js";
|
|
27
|
+
import w from "./data-provider-interface/views/UserProfilePage.vue.js";
|
|
28
|
+
import { config as ho } from "./data-provider-interface/config/dpi-spec-config.js";
|
|
29
|
+
import { injectionKey as Bo, userConfigShimPlugin as Lo } from "./data-provider-interface/plugins/userConfigShimPlugin.js";
|
|
30
|
+
import { dpiContextKey as Fo, setupDpiContext as To, useDpiContext as _o } from "./data-provider-interface/composables/useDpiContext.js";
|
|
31
|
+
import { useDpiStepper as Ao } from "./data-provider-interface/composables/useDpiStepper.js";
|
|
32
|
+
import { useDpiEditMode as ko, useEditModeInfo as qo } from "./data-provider-interface/composables/useDpiEditMode.js";
|
|
33
|
+
import { useRequestUriName as No } from "./data-provider-interface/composables/useRequestUriName.js";
|
|
34
|
+
import { useFormSchema as $o } from "./data-provider-interface/composables/useFormSchema.js";
|
|
35
|
+
import * as H from "./data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
36
|
+
import * as z from "./data-provider-interface/HappyFlowComponents/ui/CheckboxV3.vue.js";
|
|
37
|
+
import * as G from "./data-provider-interface/HappyFlowComponents/ui/Chip.vue.js";
|
|
38
|
+
import * as J from "./data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js";
|
|
39
|
+
import * as Q from "./data-provider-interface/HappyFlowComponents/ui/CrossOutButton.vue.js";
|
|
40
|
+
import * as W from "./data-provider-interface/HappyFlowComponents/ui/DatasetStatus.vue.js";
|
|
41
|
+
import * as X from "./data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
42
|
+
import * as Y from "./data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js";
|
|
43
|
+
import * as Z from "./data-provider-interface/HappyFlowComponents/ui/Illustration.vue.js";
|
|
44
|
+
import * as oo from "./data-provider-interface/HappyFlowComponents/ui/InputField.vue.js";
|
|
45
|
+
import * as to from "./data-provider-interface/HappyFlowComponents/ui/InputV3.vue.js";
|
|
46
|
+
import * as eo from "./data-provider-interface/HappyFlowComponents/ui/LogoV3.vue.js";
|
|
47
|
+
import * as ro from "./data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
48
|
+
import * as mo from "./data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js";
|
|
49
|
+
import * as io from "./data-provider-interface/HappyFlowComponents/ui/MoreButton.vue.js";
|
|
50
|
+
import * as no from "./data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js";
|
|
51
|
+
import * as po from "./data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js";
|
|
52
|
+
import * as ao from "./data-provider-interface/HappyFlowComponents/ui/SwitchV3.vue.js";
|
|
53
|
+
import * as fo from "./data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js";
|
|
54
|
+
import * as so from "./data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js";
|
|
55
|
+
import * as uo from "./data-provider-interface/HappyFlowComponents/ui/TextButtonLarge.vue.js";
|
|
56
|
+
import * as xo from "./data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
57
|
+
import * as co from "./data-provider-interface/HappyFlowComponents/ui/Toast.vue.js";
|
|
58
|
+
function lo(o) {
|
|
59
|
+
o.component("AutocompleteInput", t), o.component("ConditionalInput", e), o.component("DataFetchingComponent", r), o.component("Dropup", m), o.component("FileUpload", i), o.component("InfoSlot", n), o.component("LanguageSelector", p), o.component("Navigation", a), o.component("UniqueIdentifierInput", f), o.component("CatalogueOverview", D), o.component("DatasetOverview", v), o.component("DistributionOverview", C), o.component("PropertyEntry", P), o.component("DistOverview", x), o.component("DraftsPage", c), o.component("InputPage", l), o.component("LinkedDataViewer", g), o.component("OverviewPage", d), o.component("UserCataloguesPage", I), o.component("UserProfilePage", w), o.component("DataProviderInterface", s), o.component("DpiMenu", u);
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
t as AutocompleteInput,
|
|
63
|
+
H as ButtonV3,
|
|
64
|
+
D as CatalogueOverview,
|
|
65
|
+
z as CheckboxV3,
|
|
66
|
+
G as Chip,
|
|
67
|
+
J as CloseOpenButtonV3,
|
|
68
|
+
wo as ComponentLibrary,
|
|
69
|
+
e as ConditionalInput,
|
|
70
|
+
Q as CrossOutButton,
|
|
71
|
+
Oo as DPIHome,
|
|
72
|
+
r as DataFetchingComponent,
|
|
73
|
+
s as DataProviderInterface,
|
|
74
|
+
v as DatasetOverview,
|
|
75
|
+
W as DatasetStatus,
|
|
76
|
+
x as DistOverview,
|
|
77
|
+
C as DistributionOverview,
|
|
78
|
+
u as DpiMenu,
|
|
79
|
+
X as DpiModalBase,
|
|
80
|
+
c as DraftsPage,
|
|
81
|
+
Y as Dropdown,
|
|
82
|
+
m as Dropup,
|
|
83
|
+
i as FileUpload,
|
|
84
|
+
Z as Illustration,
|
|
85
|
+
n as InfoSlot,
|
|
86
|
+
oo as InputField,
|
|
87
|
+
l as InputPage,
|
|
88
|
+
to as InputV3,
|
|
89
|
+
p as LanguageSelector,
|
|
90
|
+
g as LinkedDataViewer,
|
|
91
|
+
eo as LogoV3,
|
|
92
|
+
ro as ModalSimpleV3,
|
|
93
|
+
mo as ModalV3,
|
|
94
|
+
io as MoreButton,
|
|
95
|
+
a as Navigation,
|
|
96
|
+
d as OverviewPage,
|
|
97
|
+
P as PropertyEntry,
|
|
98
|
+
no as RapModal,
|
|
99
|
+
Po as ReviewAndPublishPage,
|
|
100
|
+
po as StateTag,
|
|
101
|
+
ao as SwitchV3,
|
|
102
|
+
fo as TableRowV3,
|
|
103
|
+
so as TextAreaV3,
|
|
104
|
+
uo as TextButtonLarge,
|
|
105
|
+
xo as TextButtonSmall,
|
|
106
|
+
co as Toast,
|
|
107
|
+
f as UniqueIdentifierInput,
|
|
108
|
+
I as UserCataloguesPage,
|
|
109
|
+
w as UserProfilePage,
|
|
110
|
+
Fo as dpiContextKey,
|
|
111
|
+
ho as dpiSpecConfig,
|
|
112
|
+
Bo as injectionKeyRuntimeConfig,
|
|
113
|
+
vo as inputDefinitions,
|
|
114
|
+
lo as registerComponents,
|
|
115
|
+
To as setupDpiContext,
|
|
116
|
+
Mo as store,
|
|
117
|
+
_o as useDpiContext,
|
|
118
|
+
ko as useDpiEditMode,
|
|
119
|
+
Ao as useDpiStepper,
|
|
120
|
+
qo as useEditModeInfo,
|
|
121
|
+
$o as useFormSchema,
|
|
122
|
+
No as useRequestUriName,
|
|
123
|
+
Lo as userConfigShimPlugin
|
|
124
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { isNil as c, isObject as o, isString as u, has as s, isArray as d } from "lodash-es";
|
|
2
|
+
function g(n, i, e) {
|
|
3
|
+
if (!n || c(n) || !o(n) && !u(n))
|
|
4
|
+
return;
|
|
5
|
+
if (u(n))
|
|
6
|
+
return n;
|
|
7
|
+
if (s(n, i))
|
|
8
|
+
return i;
|
|
9
|
+
if (e && d(e)) {
|
|
10
|
+
const f = e.find((r) => r && u(r) && s(n, r.toLowerCase()));
|
|
11
|
+
if (f)
|
|
12
|
+
return f;
|
|
13
|
+
}
|
|
14
|
+
const t = Object.keys(n)[0];
|
|
15
|
+
if (t)
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function y(n, i, e) {
|
|
19
|
+
const t = g(n, i, e);
|
|
20
|
+
return t ? n[t] : void 0;
|
|
21
|
+
}
|
|
22
|
+
function O(n, i, e) {
|
|
23
|
+
if (!n)
|
|
24
|
+
return "";
|
|
25
|
+
const t = n.substring(0, i);
|
|
26
|
+
return e || n.length <= i ? t : `${t}...`;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
g as getRepresentativeLocaleOf,
|
|
30
|
+
y as getTranslationFor,
|
|
31
|
+
O as truncate
|
|
32
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { resolveComponent as s, createElementBlock as d, createBlock as u, openBlock as o, withModifiers as f, renderSlot as l, withCtx as h } from "vue";
|
|
2
|
+
import c from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const m = {
|
|
4
|
+
props: {
|
|
5
|
+
to: {
|
|
6
|
+
default: "",
|
|
7
|
+
required: !1
|
|
8
|
+
},
|
|
9
|
+
path: {
|
|
10
|
+
default: "",
|
|
11
|
+
required: !1
|
|
12
|
+
},
|
|
13
|
+
query: {
|
|
14
|
+
default: "",
|
|
15
|
+
required: !1
|
|
16
|
+
},
|
|
17
|
+
fragment: {
|
|
18
|
+
default: "",
|
|
19
|
+
required: !1
|
|
20
|
+
},
|
|
21
|
+
type: {
|
|
22
|
+
default: null,
|
|
23
|
+
required: !1
|
|
24
|
+
},
|
|
25
|
+
target: {
|
|
26
|
+
default: "_self",
|
|
27
|
+
required: !1
|
|
28
|
+
},
|
|
29
|
+
exact: {
|
|
30
|
+
default: !1,
|
|
31
|
+
required: !1
|
|
32
|
+
},
|
|
33
|
+
rel: {
|
|
34
|
+
default: "noopener",
|
|
35
|
+
required: !1
|
|
36
|
+
},
|
|
37
|
+
download: {
|
|
38
|
+
default: null,
|
|
39
|
+
required: !1
|
|
40
|
+
},
|
|
41
|
+
// Use this if you want to track a link explicitly as download instead of an external link.
|
|
42
|
+
matomoTrackDownload: [Boolean, Object],
|
|
43
|
+
// Use this to manually report clicked links to Matomo
|
|
44
|
+
// Useful for URL destinations, that are on the same domain but not inside this application, so that Matomo is unable to track page views (e.g. RSS feed).
|
|
45
|
+
matomoTrackPageView: [Boolean, Object]
|
|
46
|
+
},
|
|
47
|
+
computed: {
|
|
48
|
+
readPath: {
|
|
49
|
+
get() {
|
|
50
|
+
return this.path && typeof this.path == "string" ? this.path : "";
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
readQuery: {
|
|
54
|
+
get() {
|
|
55
|
+
return this.query ? typeof this.query == "object" ? `?${Object.keys(this.query).map((r) => `${r}=${this.query[r]}`).join("&")}` : typeof this.query == "string" && /^\?([a-zA-Z]+[=].*)([&][a-zA-Z]+[=].*)*$/.test(this.query) ? this.query : "" : "";
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
readFragment: {
|
|
59
|
+
get() {
|
|
60
|
+
return this.fragment && typeof this.fragment == "string" ? `${this.fragment}` : "";
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
isExternal: {
|
|
64
|
+
get() {
|
|
65
|
+
return typeof this.to != "object" && (/^(http(s)?|ftp|mailto|tel):/.test(this.to) || /^\//.test(this.readPath) || /^\?/.test(this.readQuery) || /^#/.test(this.readFragment));
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
url: {
|
|
69
|
+
get() {
|
|
70
|
+
return `${this.to}${this.readPath}${this.readQuery}${this.readFragment}`;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
trackLink() {
|
|
76
|
+
if (this.matomoTrackPageView) {
|
|
77
|
+
this.$piwik.trackPageView(`${window.location.origin}${this.path}`, "", {});
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this.isExternal && this.to !== "" && (this.matomoTrackDownload ? this.$piwik.trackDownload(
|
|
81
|
+
this.url,
|
|
82
|
+
typeof this.matomoTrackDownload == "object" ? this.matomoTrackDownload : void 0
|
|
83
|
+
) : this.$piwik.trackOutlink(
|
|
84
|
+
this.url,
|
|
85
|
+
typeof this.matomoTrackPageView == "object" ? this.matomoTrackPageView : void 0
|
|
86
|
+
), this.$emit("after-click"));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}, k = ["download", "href", "rel", "target", "type"];
|
|
90
|
+
function g(r, a, t, y, w, e) {
|
|
91
|
+
const n = s("router-link");
|
|
92
|
+
return e.isExternal ? (o(), d("a", {
|
|
93
|
+
key: 0,
|
|
94
|
+
onClick: a[0] || (a[0] = (...i) => e.trackLink && e.trackLink(...i)),
|
|
95
|
+
onMousedown: a[1] || (a[1] = f((...i) => e.trackLink && e.trackLink(...i), ["middle"])),
|
|
96
|
+
download: t.download,
|
|
97
|
+
href: e.url,
|
|
98
|
+
rel: t.rel,
|
|
99
|
+
target: t.target,
|
|
100
|
+
type: t.type
|
|
101
|
+
}, [
|
|
102
|
+
l(r.$slots, "default")
|
|
103
|
+
], 40, k)) : (o(), u(n, {
|
|
104
|
+
key: 1,
|
|
105
|
+
to: t.to,
|
|
106
|
+
rel: t.rel,
|
|
107
|
+
exact: t.exact
|
|
108
|
+
}, {
|
|
109
|
+
default: h(() => [
|
|
110
|
+
l(r.$slots, "default")
|
|
111
|
+
]),
|
|
112
|
+
_: 3
|
|
113
|
+
}, 8, ["to", "rel", "exact"]));
|
|
114
|
+
}
|
|
115
|
+
const x = /* @__PURE__ */ c(m, [["render", g]]);
|
|
116
|
+
export {
|
|
117
|
+
x as default
|
|
118
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@piveau/dpi",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.0-beta.5",
|
|
5
|
+
"private": false,
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.css"
|
|
8
|
+
],
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./css": {
|
|
16
|
+
"import": "./dist/assets/dpi.css",
|
|
17
|
+
"default": "./dist/assets/dpi.css"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"module": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"*": {
|
|
25
|
+
"*": [
|
|
26
|
+
"./dist/*",
|
|
27
|
+
"./dist/index.d.ts"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18.18.0",
|
|
36
|
+
"pnpm": ">=10.0.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@antfu/eslint-config": "^4.19.0",
|
|
40
|
+
"@formkit/core": "^1",
|
|
41
|
+
"@formkit/themes": "^1",
|
|
42
|
+
"@formkit/utils": "^1.6.9",
|
|
43
|
+
"@formkit/vue": "^1",
|
|
44
|
+
"@headlessui/vue": "^1.7.23",
|
|
45
|
+
"@histoire/plugin-vue": "1.0.0-alpha.2",
|
|
46
|
+
"@phosphor-icons/vue": "^2.2.1",
|
|
47
|
+
"@piveau/jsonld": "file:../../bin/piveau-jsonld-1.0.0-beta.9.tgz",
|
|
48
|
+
"@popperjs/core": "^2.11.8",
|
|
49
|
+
"@types/jsonld": "^1.5.15",
|
|
50
|
+
"@types/node": "^24.1.0",
|
|
51
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
52
|
+
"@vue/tsconfig": "^0.7.0",
|
|
53
|
+
"@vueuse/core": "^10.11.1",
|
|
54
|
+
"axios": "^1.11.0",
|
|
55
|
+
"bootstrap": "^4.6.2",
|
|
56
|
+
"dayjs": "^1.11.13",
|
|
57
|
+
"eslint": "^9.31.0",
|
|
58
|
+
"histoire": "1.0.0-alpha.2",
|
|
59
|
+
"jiti": "^2.5.1",
|
|
60
|
+
"jquery": "^3.7.1",
|
|
61
|
+
"jsonld": "^8.3.3",
|
|
62
|
+
"lodash-es": "^4.17.21",
|
|
63
|
+
"qs": "^6.14.0",
|
|
64
|
+
"sass": "^1.89.2",
|
|
65
|
+
"typescript": "~5.8.3",
|
|
66
|
+
"vite": "^6.3.5",
|
|
67
|
+
"vite-plugin-dts": "^4.5.4",
|
|
68
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
69
|
+
"vue": "^3.5.13",
|
|
70
|
+
"vue-i18n": "^11.1.11",
|
|
71
|
+
"vue-router": "^4.5.1",
|
|
72
|
+
"vue-tsc": "^2.2.8",
|
|
73
|
+
"vuex": "^4.1.0",
|
|
74
|
+
"zod": "^4.0.8"
|
|
75
|
+
},
|
|
76
|
+
"devEngines": {
|
|
77
|
+
"runtime": {
|
|
78
|
+
"name": "node",
|
|
79
|
+
"onFail": "error"
|
|
80
|
+
},
|
|
81
|
+
"packageManager": {
|
|
82
|
+
"name": "pnpm",
|
|
83
|
+
"version": ">=10.13.1",
|
|
84
|
+
"onFail": "error"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"dev": "histoire dev",
|
|
89
|
+
"build": "vite build",
|
|
90
|
+
"preview": "vite preview",
|
|
91
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
92
|
+
"story:dev": "histoire dev",
|
|
93
|
+
"story:build": "histoire build",
|
|
94
|
+
"story:preview": "histoire preview"
|
|
95
|
+
}
|
|
96
|
+
}
|