@piveau/dpi 0.1.0-beta.9 → 0.1.0-beta.90

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 (276) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/DPIMenu.vue.js +80 -91
  3. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/DataProviderInterface.vue.js +1 -1
  4. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/BlogDPIHome.vue.js +1 -1
  5. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/CommunityDPI.vue.js +1 -1
  6. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ComponentLibrary.vue.js +2 -2
  7. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ConsultingDPI.vue.js +1 -1
  8. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/FAQDPIHome.vue.js +1 -1
  9. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +139 -0
  10. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ServiceDPIHome.vue.js +1 -1
  11. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +155 -0
  12. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/ButtonV3.vue.js +1 -1
  13. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/CheckboxV3.vue.js +1 -1
  14. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/Chip.vue.js +1 -1
  15. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +12 -11
  16. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/CrossOutButton.vue.js +1 -1
  17. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/DatasetStatus.vue.js +1 -1
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +7 -0
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +256 -0
  20. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/Illustration.vue.js +1 -1
  21. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/InputField.vue.js +2 -2
  22. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/InputV3.vue.js +1 -1
  23. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/LogoV3.vue.js +1 -1
  24. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/ModalSimpleV3.vue.js +11 -11
  25. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +654 -0
  26. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/MoreButton.vue.js +1 -1
  27. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
  28. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +191 -0
  29. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +13 -13
  30. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +166 -0
  31. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +153 -0
  32. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +194 -0
  33. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +298 -0
  34. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
  35. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +136 -0
  36. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +109 -0
  37. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +68 -0
  38. package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +213 -0
  39. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +106 -0
  40. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +614 -0
  41. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +126 -0
  42. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +68 -0
  43. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +363 -0
  44. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +62 -0
  45. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +101 -0
  46. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/StateTag.vue.js +1 -1
  47. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/SwitchV3.vue.js +1 -1
  48. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +284 -0
  49. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/TextAreaV3.vue.js +20 -15
  50. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/TextButtonLarge.vue.js +1 -1
  51. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/TextButtonSmall.vue.js +2 -2
  52. package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +70 -0
  53. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/BasicInfosPage.vue.js +1 -1
  54. package/dist/data-provider-interface/components/ContactPage.vue.js +294 -0
  55. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/CoveringPage.vue.js +1 -1
  56. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/DataFetchingComponent.vue.js +1 -1
  57. package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +60 -0
  58. package/dist/data-provider-interface/components/DistLicense.vue.js +259 -0
  59. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +1271 -0
  60. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/DistributionStepper.vue.js +1 -1
  61. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/Dropup.vue.js +7 -7
  62. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/FileUpload.vue.js +1 -1
  63. package/dist/data-provider-interface/components/HVDPage.vue.js +128 -0
  64. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/HappyFlowLandingPage.vue.js +1 -1
  65. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/InfoSlot.vue.js +6 -6
  66. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/LanguageSelector.vue.js +1 -1
  67. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/Navigation.vue.js +1 -1
  68. package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +124 -0
  69. package/dist/data-provider-interface/components/PublisherPage.vue.js +206 -0
  70. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +477 -0
  71. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SpatialInput.vue.js +1 -1
  72. package/dist/data-provider-interface/components/TempResPage.vue.js +291 -0
  73. package/dist/data-provider-interface/components/TempResPageInModal.vue.js +392 -0
  74. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/TitelPage.vue.js +5 -5
  75. package/dist/data-provider-interface/components/UpdateDate.vue.js +79 -0
  76. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/dpiV3Description.vue.js +8 -7
  77. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +546 -0
  78. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapde/vocab-prefixes.js +1 -1
  79. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +559 -0
  80. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeHappyFlow/input-definition.js +104 -152
  81. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeHappyFlow/page-content-config.js +9 -2
  82. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/authStore.js +11 -11
  83. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/DistributionOverview.vue.js +1 -1
  84. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/DraftsPage.vue.js +4 -4
  85. package/dist/data-provider-interface/views/InputPage.vue.js +853 -0
  86. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/LinkedDataViewer.vue.js +1 -1
  87. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/CatalogueOverview.vue.js +1 -1
  88. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/DatasetOverview.vue.js +1 -1
  89. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/DistributionOverview.vue.js +1 -1
  90. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/Properties/SpecialProp.vue.js +1 -1
  91. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/Properties/StringProp.vue.js +1 -1
  92. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/Properties/URIProp.vue.js +1 -1
  93. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/Properties/URLProp.vue.js +1 -1
  94. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/PropertyEntry.vue.js +1 -1
  95. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage.vue.js +1 -1
  96. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/PropertyChooser.vue.js +1 -1
  97. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/UserCataloguesPage.vue.js +1 -1
  98. package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/UserProfilePage.vue.js +1 -1
  99. package/dist/{packages/dpi/src/form → form}/FormKitGroup.vue.js +1 -1
  100. package/dist/{packages/dpi/src/form → form}/Repeatable.vue.js +1 -1
  101. package/dist/index.js +57 -57
  102. package/dist/msw/handlers.js +110 -0
  103. package/dist/msw/vocabularies-search/access-right.json.js +7 -0
  104. package/dist/msw/vocabularies-search/adms.json.js +7 -0
  105. package/dist/msw/vocabularies-search/continent.json.js +7 -0
  106. package/dist/msw/vocabularies-search/contributors.json.js +7 -0
  107. package/dist/msw/vocabularies-search/corporate-body.json.js +7 -0
  108. package/dist/msw/vocabularies-search/country.json.js +7 -0
  109. package/dist/msw/vocabularies-search/data-theme.json.js +7 -0
  110. package/dist/msw/vocabularies-search/dataset-status.json.js +7 -0
  111. package/dist/msw/vocabularies-search/dataset-type.json.js +7 -0
  112. package/dist/msw/vocabularies-search/dataset-types.json.js +7 -0
  113. package/dist/msw/vocabularies-search/distribution-type.json.js +7 -0
  114. package/dist/msw/vocabularies-search/file-type.json.js +7 -0
  115. package/dist/msw/vocabularies-search/frequency.json.js +7 -0
  116. package/dist/msw/vocabularies-search/hash-algorithms.json.js +7 -0
  117. package/dist/msw/vocabularies-search/hvd-category.json.js +7 -0
  118. package/dist/msw/vocabularies-search/iana-media-types.json.js +7 -0
  119. package/dist/msw/vocabularies-search/language.json.js +7 -0
  120. package/dist/msw/vocabularies-search/licence.json.js +7 -0
  121. package/dist/msw/vocabularies-search/licenses.json.js +7 -0
  122. package/dist/msw/vocabularies-search/place.json.js +7 -0
  123. package/dist/msw/vocabularies-search/planned-availability.json.js +7 -0
  124. package/dist/msw/vocabularies-search/political-geocoding-district-key.json.js +7 -0
  125. package/dist/msw/vocabularies-search/political-geocoding-government-district-key.json.js +7 -0
  126. package/dist/msw/vocabularies-search/political-geocoding-level.json.js +7 -0
  127. package/dist/msw/vocabularies-search/political-geocoding-municipal-association-key.json.js +7 -0
  128. package/dist/msw/vocabularies-search/political-geocoding-municipality-key.json.js +7 -0
  129. package/dist/msw/vocabularies-search/political-geocoding-regional-key.json.js +7 -0
  130. package/dist/msw/vocabularies-search/political-geocoding-state-key.json.js +7 -0
  131. package/dist/msw/vocabularies-search/spdx-checksum-algorithm.json.js +7 -0
  132. package/dist/msw.d.ts +1 -0
  133. package/dist/msw.js +6 -0
  134. package/dist/styles/_dpi.scss +1614 -0
  135. package/dist/styles/_maps.scss +24 -0
  136. package/dist/styles/_variables.scss +973 -0
  137. package/dist/{packages/dpi/src/widgets → widgets}/AppLink.vue.js +1 -1
  138. package/package.json +38 -22
  139. package/dist/node_modules/.pnpm/@piveau_jsonld@file_bin_piveau-jsonld-1.0.0-beta.10.tgz_jsonld@8.3.3_web-streams-polyfill@3.3.3_/node_modules/@piveau/jsonld/dist/index.js +0 -591
  140. package/dist/node_modules/.pnpm/change-case@5.4.4/node_modules/change-case/dist/index.js +0 -61
  141. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +0 -109
  142. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +0 -135
  143. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +0 -7
  144. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +0 -231
  145. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +0 -566
  146. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +0 -41
  147. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +0 -157
  148. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +0 -113
  149. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +0 -116
  150. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +0 -157
  151. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +0 -227
  152. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +0 -70
  153. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +0 -46
  154. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +0 -130
  155. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +0 -67
  156. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +0 -157
  157. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +0 -106
  158. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +0 -248
  159. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +0 -79
  160. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +0 -116
  161. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +0 -134
  162. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +0 -45
  163. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +0 -69
  164. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +0 -210
  165. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +0 -69
  166. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +0 -246
  167. package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +0 -60
  168. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +0 -158
  169. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +0 -1159
  170. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +0 -108
  171. package/dist/packages/dpi/src/data-provider-interface/components/PolGeoUriPage.vue.js +0 -81
  172. package/dist/packages/dpi/src/data-provider-interface/components/PublisherPage.vue.js +0 -176
  173. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +0 -422
  174. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +0 -211
  175. package/dist/packages/dpi/src/data-provider-interface/components/UpdateDate.vue.js +0 -75
  176. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +0 -383
  177. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +0 -201
  178. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +0 -1168
  179. /package/dist/{packages/dpi/src/composables → composables}/useRuntimeEnv.js +0 -0
  180. /package/dist/{packages/dpi/src/composables → composables}/useTed.js +0 -0
  181. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/DataProviderInterface.vue2.js +0 -0
  182. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/DPIHome.vue.js +0 -0
  183. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/CheckCircleFill.svg.js +0 -0
  184. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Circle.svg.js +0 -0
  185. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/CircleFill.svg.js +0 -0
  186. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/DatenbereitstellerV3.svg.js +0 -0
  187. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Ellipse2Error.svg.js +0 -0
  188. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Ellipse2Published.svg.js +0 -0
  189. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Ellipse2Warning.svg.js +0 -0
  190. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/FurV3.svg.js +0 -0
  191. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/IllustrationCelebrate.svg.js +0 -0
  192. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/IllustrationStart.svg.js +0 -0
  193. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/InfoFill.svg.js +0 -0
  194. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected1.svg.js +0 -0
  195. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected1_2.svg.js +0 -0
  196. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected2.svg.js +0 -0
  197. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected2_2.svg.js +0 -0
  198. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected3.svg.js +0 -0
  199. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected3_2.svg.js +0 -0
  200. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected4.svg.js +0 -0
  201. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected4_2.svg.js +0 -0
  202. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected5.svg.js +0 -0
  203. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/Selected5_2.svg.js +0 -0
  204. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/WarningFill.svg.js +0 -0
  205. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/bydata_logo_blue_small.svg.js +0 -0
  206. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/iconRight.svg.js +0 -0
  207. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/img/x-circleFill.svg.js +0 -0
  208. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/services/eventBus.js +0 -0
  209. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/DpiModalBase.vue2.js +0 -0
  210. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js +0 -0
  211. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js +0 -0
  212. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js +0 -0
  213. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js +0 -0
  214. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/AutocompleteInput.vue.js +0 -0
  215. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/ConditionalInput.vue.js +0 -0
  216. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/InputPageStep.vue.js +0 -0
  217. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/InputPageStep.vue2.js +0 -0
  218. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/Navigation.vue2.js +0 -0
  219. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SelectControlledGroup.vue.js +0 -0
  220. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SelectControlledGroup.vue2.js +0 -0
  221. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SimpleAccessURLInput.vue.js +0 -0
  222. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SimpleInput.vue.js +0 -0
  223. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/SimpleSelect.vue.js +0 -0
  224. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/TheErrorDialog.vue.js +0 -0
  225. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/TheErrorDialog.vue2.js +0 -0
  226. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/components/UniqueIdentifierInput.vue.js +0 -0
  227. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/aucotomplete.js +0 -0
  228. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useDpiContext.js +0 -0
  229. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useDpiEditMode.js +0 -0
  230. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useDpiFormValues.js +0 -0
  231. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useDpiStepper.js +0 -0
  232. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useDpiUtils.js +0 -0
  233. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useErrorDialog.js +0 -0
  234. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useFormSchema.js +0 -0
  235. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/composables/useRequestUriName.js +0 -0
  236. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatap/format-types.js +0 -0
  237. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatap/input-definition.js +0 -0
  238. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatap/page-content-config.js +0 -0
  239. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatap/prefixes.js +0 -0
  240. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatap/vocab-prefixes.js +0 -0
  241. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapde/format-types.js +0 -0
  242. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapde/input-definition.js +0 -0
  243. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapde/page-content-config.js +0 -0
  244. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapde/prefixes.js +0 -0
  245. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeHappyFlow/format-types.js +0 -0
  246. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeHappyFlow/prefixes.js +0 -0
  247. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeHappyFlow/vocab-prefixes.js +0 -0
  248. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeODB/format-types.js +0 -0
  249. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeODB/input-definition.js +0 -0
  250. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeODB/page-content-config.js +0 -0
  251. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeODB/prefixes.js +0 -0
  252. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dcatapdeODB/vocab-prefixes.js +0 -0
  253. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/dpi-spec-config.js +0 -0
  254. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/config/selector-languages.json.js +0 -0
  255. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/plugins/userConfigShimPlugin.js +0 -0
  256. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/index.js +0 -0
  257. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/catalogueDetailsStore.js +0 -0
  258. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/cataloguesStore.js +0 -0
  259. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/datasetDetailsStore.js +0 -0
  260. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/datasetsStore.js +0 -0
  261. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/dpiStore.js +0 -0
  262. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/navigationStore.js +0 -0
  263. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/store/modules/snackbarStore.js +0 -0
  264. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/utils/general-helper.js +0 -0
  265. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/utils/injectionKeys.js +0 -0
  266. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/utils/translation-helper.js +0 -0
  267. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/utils/useSteps.js +0 -0
  268. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/DistributionInputPage.vue.js +0 -0
  269. /package/dist/{packages/dpi/src/data-provider-interface → data-provider-interface}/views/OverviewPage/Properties/MultilingualProp.vue.js +0 -0
  270. /package/dist/{packages/dpi/src/filters → filters}/dateFilters.js +0 -0
  271. /package/dist/{packages/dpi/src/form → form}/Repeatable.vue2.js +0 -0
  272. /package/dist/{packages/dpi/src/form → form}/inputDefinitions.js +0 -0
  273. /package/dist/{packages/dpi/src/utils → utils}/draftApi.js +0 -0
  274. /package/dist/{packages/dpi/src/utils → utils}/helpers.js +0 -0
  275. /package/dist/{packages/dpi/src/utils → utils}/identifiersApi.js +0 -0
  276. /package/dist/{packages/dpi/src/utils → utils}/jwt.js +0 -0
@@ -0,0 +1,1271 @@
1
+ import { ref as h, computed as Oe, toRef as Dt, onUnmounted as Tt, onMounted as It, getCurrentInstance as Vt, watch as Lt, createElementBlock as f, openBlock as u, Fragment as ee, createElementVNode as m, createBlock as te, createCommentVNode as p, toDisplayString as M, renderList as We, unref as L, createVNode as c, withDirectives as Ut, vShow as Rt, normalizeClass as Ct } from "vue";
2
+ import "@formkit/core";
3
+ import { PhWarning as O } from "@phosphor-icons/vue";
4
+ import { useI18n as St } from "vue-i18n";
5
+ import { useStore as At } from "vuex";
6
+ import { useEditModeInfo as Ft } from "../composables/useDpiEditMode.js";
7
+ import { useFormValues as $t } from "../composables/useDpiFormValues.js";
8
+ import W from "../config/dcatapdeHappyFlow/page-content-config.js";
9
+ import { getLicenses as Et, getFileTypes as Mt, getFormatTypes as Bt, getChecksumAlgorithms as zt, getPlannedAvailability as Pt, getLanguages as Nt } from "../HappyFlowComponents/services/dpiV3_apis.js";
10
+ import { eventBus as je } from "../HappyFlowComponents/services/eventBus.js";
11
+ import j from "../HappyFlowComponents/ui/ButtonV3.vue.js";
12
+ import Ot from "../HappyFlowComponents/ui/Dropdown.vue.js";
13
+ import ae from "../HappyFlowComponents/ui/InputField.vue.js";
14
+ import Wt from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
15
+ import jt from "../HappyFlowComponents/ui/ModalV3.vue.js";
16
+ import Ht from "../HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js";
17
+ import Gt from "../HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js";
18
+ import Jt from "../HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js";
19
+ import Kt from "../HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js";
20
+ import qt from "../HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js";
21
+ import Zt from "../HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js";
22
+ import Qt from "../HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js";
23
+ import Xt from "../HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js";
24
+ import Yt from "../HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js";
25
+ import oe from "../HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js";
26
+ import ea from "../HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js";
27
+ import ta from "../HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js";
28
+ import aa from "../HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js";
29
+ import oa from "../HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js";
30
+ import sa from "../HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js";
31
+ import S from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
32
+ import "zod/v4/locales";
33
+ /* empty css */
34
+ import ia from "../../_virtual/_plugin-vue_export-helper.js";
35
+ const la = { class: "dpiV3InnerComponentWrap" }, na = { key: 0 }, da = {
36
+ key: 1,
37
+ class: "copy-large-regular"
38
+ }, ca = { class: "dpiV3_LinkAndMetadata input-container" }, ra = { style: { position: "relative", width: "100%" } }, ua = {
39
+ key: 0,
40
+ class: "validation-error"
41
+ }, ma = { class: "copy-mini-regular" }, fa = { style: { position: "relative", width: "100%" } }, pa = {
42
+ key: 0,
43
+ class: "validation-error"
44
+ }, va = { class: "copy-mini-regular" }, ha = {
45
+ key: 0,
46
+ class: "dpiV3_DocumentationsInDistr"
47
+ }, ga = { class: "dpiV3_TitleDelete" }, ya = { class: "dpiV3_documentationContents" }, ka = { class: "dpiV3_Documentation" }, xa = {
48
+ key: 1,
49
+ class: "dpiV3_DocumentationsInDistr"
50
+ }, ba = { class: "dpiV3_TitleDelete" }, wa = { class: "dpiV3_documentationContents" }, _a = { class: "dpiV3_Documentation" }, Da = { class: "dpiV3_TitleDelete" }, Ta = { key: 0 }, Ia = { style: { position: "relative", width: "100%", "margin-bottom": "10px" } }, Va = {
51
+ key: 0,
52
+ class: "validation-error"
53
+ }, La = { class: "copy-mini-regular" }, Ua = {
54
+ key: 0,
55
+ class: "dpiV3_tempAddMore"
56
+ }, Ra = {
57
+ key: 2,
58
+ class: "dpiV3_modified dpiV3_label"
59
+ }, Ca = {
60
+ key: 3,
61
+ class: "dpiV3_modified dpiV3_label"
62
+ }, Sa = { class: "dpiV3_modified dpiV3_label" }, Aa = {
63
+ key: 4,
64
+ class: "dpiV3_modified dpiV3_label"
65
+ }, Fa = {
66
+ key: 5,
67
+ class: "dpiV3_modified dpiV3_label"
68
+ }, $a = {
69
+ key: 6,
70
+ class: "dpiV3_modified dpiV3_label"
71
+ }, Ea = {
72
+ key: 7,
73
+ class: "dpiV3_modified dpiV3_label"
74
+ }, Ma = {
75
+ class: "dpiV3_TitleDelete",
76
+ style: { "margin-bottom": "var(--Spacing-1, 4px)" }
77
+ }, Ba = {
78
+ key: 8,
79
+ class: "dpiV3_modified dpiV3_label"
80
+ }, za = {
81
+ key: 9,
82
+ class: "dpiV3_DocumentationsInDistr"
83
+ }, Pa = { class: "dpiV3_TitleDelete" }, Na = {
84
+ key: 10,
85
+ class: "dpiV3_DocumentationsInDistr"
86
+ }, Oa = { class: "dpiV3_TitleDelete" }, Wa = {
87
+ key: 11,
88
+ class: "dpiV3_modified dpiV3_label"
89
+ }, ja = {
90
+ key: 12,
91
+ class: "dpiV3_modified dpiV3_label"
92
+ }, Ha = {
93
+ key: 13,
94
+ class: "dpiV3_modified dpiV3_label"
95
+ }, Ga = {
96
+ key: 14,
97
+ class: "dpiV3_modified dpiV3_label"
98
+ }, Ja = {
99
+ key: 15,
100
+ class: "dpiV3_modified dpiV3_label"
101
+ }, Ka = {
102
+ key: 16,
103
+ class: "copy-mini-regular dpiV3_text_error"
104
+ }, qa = { class: "dpiV3_CTA-Distribution" }, Za = { class: "dpiV3_tempAddMore" }, Qa = {
105
+ __name: "DistributionSimplePage",
106
+ props: {
107
+ context: Object,
108
+ inRap: Boolean
109
+ },
110
+ setup(A) {
111
+ var we, _e, De;
112
+ const T = A, { isEditMode: se } = Ft(), { t: U } = St(), _ = h(null), He = {
113
+ isValid: "unset",
114
+ id: 1,
115
+ "dcat:accessURL": "",
116
+ "dct:format": {},
117
+ "dct:title": "",
118
+ documentations: [],
119
+ conformsToItems: [],
120
+ policyItems: [],
121
+ "dcat:downloadURL": [{ "@id": "" }],
122
+ accessServices: [],
123
+ "dct:modified": "",
124
+ "dct:issued": "",
125
+ "dct:description": void 0,
126
+ // "dcatde:licenseAttributionByText": undefined,
127
+ // "dct:accessRights": {},
128
+ "dct:rights": {},
129
+ "dcatap:availability": {},
130
+ "dct:language": [],
131
+ "dcat:byteSize": void 0,
132
+ "dcat:mediaType": {},
133
+ "dcat:compressFormat": {},
134
+ "dcat:packageFormat": {},
135
+ "adms:status": {},
136
+ checksum: {
137
+ title: "",
138
+ "spdx:checksum": "",
139
+ uri: ""
140
+ },
141
+ "dct:license": {
142
+ title: "",
143
+ "dcterms:license": ""
144
+ }
145
+ }, { formValues: I } = $t(), i = Oe(
146
+ () => se.value || T.inRap
147
+ ).value ? Dt((we = I.value.DistributionSimple) == null ? void 0 : we["dcat:distribution"]) : h([He]);
148
+ i.value[0]["dcat:downloadURL"] || (console.log(i["dcat:downloadURL"], i), i.value[0]["dcat:downloadURL"] = [{ "@id": "" }]);
149
+ const l = h({}), F = h({}), ie = h([]), B = h(!1), H = h(!1), w = h(0), V = h([]), b = h([]), le = h([]), G = h([]), ne = h([]);
150
+ h([...V.value]);
151
+ const z = h([...b.value]), Ge = At(), J = h(null);
152
+ h(null);
153
+ const K = h(!1), de = h(!1), $ = h(!1), ce = h(!0);
154
+ for (let a = 0; a < i.value.length; a++)
155
+ if (((_e = I.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : _e.checksum.uri) !== "" || ((De = I.value.DistributionSimple["dcat:distribution"][a]) == null ? void 0 : De.checksum.title) !== "") {
156
+ de.value = !1;
157
+ break;
158
+ }
159
+ function Je() {
160
+ ie.value = [
161
+ {
162
+ title: U(
163
+ "message.dataupload.datasets.dcat:distribution.recommended.title"
164
+ ),
165
+ items: W.distributions.Recommended.map(
166
+ (a) => U(
167
+ `message.dataupload.datasets.dcat:distribution.recommended.${a}`
168
+ ) || a
169
+ ),
170
+ keys: W.distributions.Recommended
171
+ },
172
+ {
173
+ title: U("message.dataupload.datasets.dcat:distribution.advanced.title"),
174
+ items: W.distributions.Advanced.map(
175
+ (a) => U(`message.dataupload.datasets.dcat:distribution.advanced.${a}`) || a
176
+ ),
177
+ keys: W.distributions.Advanced
178
+ }
179
+ ];
180
+ }
181
+ function re(a) {
182
+ var t, e, o;
183
+ (o = (e = (t = T.context) == null ? void 0 : t.node) == null ? void 0 : e.name) != null && o.includes("distribution") && (a.includes("dcat:distribution") || a.includes("dct:license")) && (ce.value || q(), ce.value = !1);
184
+ }
185
+ function q(a) {
186
+ let t = !0;
187
+ i.value = i.value.map((e) => {
188
+ var g;
189
+ const o = e["dcat:accessURL"] != null && e["dcat:accessURL"].trim() !== "" && R(e["dcat:accessURL"]), s = !!((g = e["dct:format"]) != null && g.label) && e["dct:format"].label.trim() !== "" && b.value.some(
190
+ (v) => v["@value"].toUpperCase() === e["dct:format"].label.toUpperCase()
191
+ ), n = e["dcat:downloadURL"].every(
192
+ (v) => {
193
+ var k;
194
+ const y = (k = v["@id"]) == null ? void 0 : k.trim();
195
+ return y === "" || R(y);
196
+ }
197
+ ), r = o && s && n;
198
+ return r || (t = !1), a === e.id && !T.inRap ? {
199
+ ...e,
200
+ isValid: r,
201
+ showErrorDownloadURL: !1,
202
+ showErrorFormat: !1
203
+ } : {
204
+ ...e,
205
+ isValid: r,
206
+ showErrorDownloadURL: !o,
207
+ showErrorFormat: !s
208
+ };
209
+ }), T.inRap == !0 && Z(), console.log(t), t && ($.value = !1), !t && i.value.length > 0 && (console.log("invalid"), i.value[0].isValid = !1), t && i.value.length > 0 && (console.log("valid"), i.value[0].isValid = !0), a == null && ($.value = !t), I.value.DistributionSimple["dcat:distribution"] = i.value;
210
+ }
211
+ function P(a, t) {
212
+ var o, s, n;
213
+ let e = !0;
214
+ if (t === "dcat:accessURL")
215
+ e = ((o = a[t]) == null ? void 0 : o.trim()) !== "" && (a[t] ? R(a[t]) : !1), e ? (a.showErrorDownloadURL = !1, a.urlErrorMessage = "") : (a.showErrorDownloadURL = !0, (s = a[t]) == null || s.trim(), a.urlErrorMessage = "Bitte geben Sie eine gültige URL ein.");
216
+ else if (t === "dct:format") {
217
+ const r = (n = a[t].label) == null ? void 0 : n.trim();
218
+ e = r !== "" && b.value.some(
219
+ (g) => g["@value"].toLowerCase() === r.toLowerCase()
220
+ ), e ? (a.showErrorFormat = !1, a.formatErrorMessage = "") : (a.showErrorFormat = !0, r === "" ? a.formatErrorMessage = "Format ist erforderlich." : a.formatErrorMessage = "Bitte wählen Sie ein gültiges Format aus der Liste");
221
+ }
222
+ Z(!0);
223
+ }
224
+ function Z(a = !1) {
225
+ let t = !0;
226
+ i.value = i.value.map((e) => {
227
+ var g, v, y;
228
+ const o = ((g = e["dcat:accessURL"]) == null ? void 0 : g.trim()) !== "" && R(e["dcat:accessURL"]), s = ((y = (v = e["dct:format"]) == null ? void 0 : v.label) == null ? void 0 : y.trim()) !== "" && b.value.some(
229
+ (k) => {
230
+ var D;
231
+ return k["@value"].toUpperCase() === ((D = e["dct:format"].label) == null ? void 0 : D.toUpperCase());
232
+ }
233
+ ), n = (e["dcat:downloadURL"] || []).every(
234
+ (k) => {
235
+ var E;
236
+ const D = (E = k["@id"]) == null ? void 0 : E.trim();
237
+ return D === "" || R(D);
238
+ }
239
+ ), r = o && s && n;
240
+ return r || (t = !1), { ...e, isValid: r };
241
+ }), i.value.length > 0 && (i.value[0].isValid = t), (T.inRap === !0 || !a || $.value === !0) && ($.value = !t), I.value.DistributionSimple["dcat:distribution"] = i.value;
242
+ }
243
+ function R(a) {
244
+ return /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/i.test(a);
245
+ }
246
+ Tt(() => {
247
+ je.off("nextClicked", re), _.value && clearTimeout(_.value);
248
+ });
249
+ let ue = h([]);
250
+ It(async () => {
251
+ je.on("nextClicked", re);
252
+ const a = Vt(), t = a.appContext.app.config.globalProperties.$env;
253
+ if (a) {
254
+ const e = a.appContext.app.config.globalProperties.$env;
255
+ J.value = e.content.dataProviderInterface.specification;
256
+ } else
257
+ console.log("Instance is null!");
258
+ try {
259
+ const e = await Et(t.api.baseUrl);
260
+ ue.value = e.map((s) => ({
261
+ uri: s.uri,
262
+ "@value": s.value,
263
+ label: s.label
264
+ }));
265
+ const o = await Mt(t.api.baseUrl);
266
+ V.value = o.results.map((s) => ({
267
+ "@value": s.pref_label.en,
268
+ uri: s.resource,
269
+ selected: !1
270
+ }));
271
+ } catch (e) {
272
+ error.value = e;
273
+ }
274
+ try {
275
+ const e = await Bt(t.api.baseUrl);
276
+ b.value = e.results.map((o) => ({
277
+ "@value": o.pref_label.en,
278
+ uri: o.resource,
279
+ selected: !1
280
+ })).sort((o, s) => o["@value"].localeCompare(s["@value"])), z.value = [...b.value];
281
+ } catch (e) {
282
+ error.value = e;
283
+ }
284
+ try {
285
+ const e = await zt(t.api.baseUrl);
286
+ le.value = e;
287
+ const o = await Pt(t.api.baseUrl);
288
+ G.value = o;
289
+ const s = await Nt(t.api.baseUrl);
290
+ ne.value = s;
291
+ } catch (e) {
292
+ console.log(e);
293
+ }
294
+ Je();
295
+ });
296
+ function Ke(a, t) {
297
+ const e = i.value.find((s) => s.id === t);
298
+ if (!e) return;
299
+ let o = b.value.find((s) => s["@value"] === a).uri || "";
300
+ e["dct:format"] = { label: a, uri: o }, e.showErrorFormat = !1, e.formatErrorMessage = "", P(e, "dct:format"), I.value.DistributionSimple["dcat:distribution"] = i.value;
301
+ }
302
+ function me(a, t) {
303
+ const e = i.value.find((o) => o.id === t);
304
+ e ? (e["dct:modified"] = a, l.value.dctModified = a) : console.warn(`No matching distribution found for ID ${t}.`);
305
+ }
306
+ function fe(a, t) {
307
+ const e = i.value.find((o) => o.id === t);
308
+ e ? (e["dct:issued"] = a, l.value.dctIssued = a) : console.warn(`No matching distribution found for ID ${t}.`);
309
+ }
310
+ function pe(a, t) {
311
+ const e = i.value.find((o) => o.id === t);
312
+ e ? (e["dct:description"] = a, l.value.dctDescription = a) : console.warn(`No matching distribution found for ID ${t}.`);
313
+ }
314
+ function ve(a, t, e) {
315
+ console.log(a, t, e);
316
+ const o = i.value.find((s) => s.id === t);
317
+ o ? (o["dct:accessRights"] = {
318
+ label: { de: a.label },
319
+ uri: a.uri
320
+ }, l.value.accessRightsText = a) : console.warn(`No matching distribution found for ID ${t}.`);
321
+ }
322
+ function he(a, t, e) {
323
+ const o = i.value.find((s) => s.id === t);
324
+ e || (console.log(G.value), e = G.value.find((s) => s.label === a).uri || ""), o ? (o["dcatap:availability"] = { label: { de: a }, uri: e }, l.value.availabilityText = a) : console.warn(`No matching distribution found for ID ${t}.`);
325
+ }
326
+ function ge(a, t) {
327
+ const e = i.value.find((o) => o.id === t);
328
+ e ? (e["adms:status"] = a, l.value.statusText = a) : console.warn(`No matching distribution found for ID ${t}.`);
329
+ }
330
+ function ye(a, t, e, o) {
331
+ de.value = !0;
332
+ const s = i.value.find((n) => n.id === e);
333
+ o || (o = le.value.find((n) => n.value === t).resource || ""), s ? (s.checksum.title = a, s.checksum["spdx:checksum"] = t, s.checksum.uri = o || "no URI", l.value.checksumText = a, l.value.checksumDropdownText = t, l.value.checksumURI = o) : console.warn(`No matching distribution found for ID ${e}.`);
334
+ }
335
+ function ke(a, t, e, o) {
336
+ const s = i.value.find((r) => r.id === e);
337
+ let n = ue.value.find(
338
+ (r) => r["@value"] === t
339
+ );
340
+ s ? (s["dct:license"].title = a, s["dcatde:licenseAttributionByText"] = a, s["dct:license"]["dcterms:license"] = t, s["dct:license"].uri = n.uri, I.value.DistributionSimple["dct:license"] = [
341
+ {
342
+ title: a,
343
+ "dcterms:license": t,
344
+ uri: n.uri
345
+ }
346
+ ], l.value.changeLicenseText = a, l.value.changeLicenseDropdownText = t) : console.warn(`No matching distribution found for ID ${e}.`);
347
+ }
348
+ function xe(a, t, e) {
349
+ const o = i.value.find((s) => s.id === t);
350
+ e || (e = ne.value.find((s) => s.label === a).uri || ""), o ? (o["dct:language"] = [{ label: a, uri: e }], l.value.languageText = a) : console.warn(`No matching distribution found for ID ${t}.`);
351
+ }
352
+ function be(a, t) {
353
+ const e = i.value.find((o) => o.id === t);
354
+ e ? (e["dcat:byteSize"] = a, l.value.byteSizeText = a) : console.warn(`No matching distribution found for ID ${t}.`);
355
+ }
356
+ function C(a, t, e) {
357
+ const o = i.value.find((n) => n.id === e);
358
+ let s = V.value.find((n) => n["@value"] === a).uri || "";
359
+ if (o)
360
+ switch (o[t] = { label: a, uri: s }, t) {
361
+ case "dcat:mediaType":
362
+ l.value.mediaTypeText = a;
363
+ break;
364
+ case "dcat:compressFormat":
365
+ l.value.compressFormatText = a;
366
+ break;
367
+ case "dcat:packageFormat":
368
+ l.value.packageFormatText = a;
369
+ break;
370
+ }
371
+ else
372
+ console.warn(`No matching distribution found for ID ${e}.`);
373
+ }
374
+ function qe(a) {
375
+ x(
376
+ a,
377
+ "Konform zu Standard",
378
+ "conformsToItems",
379
+ !0,
380
+ !0
381
+ );
382
+ }
383
+ function Ze(a) {
384
+ x(
385
+ a,
386
+ "Verfügbarkeit",
387
+ "dcatap:availability",
388
+ !1,
389
+ !1
390
+ );
391
+ }
392
+ function Qe(a) {
393
+ x(
394
+ a,
395
+ "Status",
396
+ "adms:status",
397
+ !1,
398
+ !1
399
+ );
400
+ }
401
+ function Xe(a) {
402
+ x(
403
+ a,
404
+ "Größe in Bytes",
405
+ "dcat:byteSize",
406
+ !0,
407
+ !1
408
+ );
409
+ }
410
+ function Ye(a) {
411
+ x(
412
+ a,
413
+ "Sprache",
414
+ "dct:language",
415
+ !0,
416
+ !1
417
+ );
418
+ }
419
+ function Q(a, t) {
420
+ x(t, a, a, !0, !1);
421
+ }
422
+ function et(a) {
423
+ x(
424
+ a,
425
+ "Regelwerk",
426
+ "policyItems",
427
+ !0,
428
+ !0
429
+ );
430
+ }
431
+ function tt(a) {
432
+ x(a, "Prüfsumme", "checksum", !0, !0);
433
+ }
434
+ function at(a) {
435
+ x(
436
+ a,
437
+ "Dokumentation",
438
+ "documentations",
439
+ !0,
440
+ !0
441
+ );
442
+ }
443
+ function ot(a) {
444
+ x(
445
+ a,
446
+ "Ausliefernder Datenservice",
447
+ "accessServices",
448
+ !0,
449
+ !0
450
+ );
451
+ }
452
+ function st(a, t, e) {
453
+ const s = i.value.find((n) => n.id === t)["dcat:downloadURL"][e];
454
+ s["@id"] = a, _.value && clearTimeout(_.value), _.value = setTimeout(() => {
455
+ const n = a.trim();
456
+ n === "" || R(n) ? (s.showError = !1, s.errorMessage = "") : (s.showError = !0, s.errorMessage = "Bitte geben Sie eine gültige URL ein."), Z(!0);
457
+ }, 800);
458
+ }
459
+ function it(a) {
460
+ x(
461
+ a,
462
+ "Aktualisierungsdatum",
463
+ "dct:modified",
464
+ !1
465
+ );
466
+ }
467
+ function lt(a) {
468
+ x(
469
+ a,
470
+ "Veröffentlichungsdatum",
471
+ "dct:issued",
472
+ !1
473
+ );
474
+ }
475
+ function nt(a) {
476
+ x(
477
+ a,
478
+ "Beschreibung",
479
+ "dct:description",
480
+ !0
481
+ );
482
+ }
483
+ function dt(a) {
484
+ x(
485
+ a,
486
+ "Grad der Zugänglichkeit",
487
+ "dct:accessRights",
488
+ !1
489
+ );
490
+ }
491
+ const ct = Oe(() => J.value ? Ge.getters["dpiStore/getNavSteps"](J.value) : {});
492
+ Lt(ct, (a) => {
493
+ }), se.value || T.context.node.input([{ isValid: "unset" }]);
494
+ function rt() {
495
+ const a = Date.now();
496
+ i.value.push({
497
+ isValid: "unset",
498
+ id: a,
499
+ "dcat:accessURL": "",
500
+ "dct:format": {},
501
+ "dct:title": "",
502
+ documentations: [],
503
+ conformsToItems: [],
504
+ "dcat:downloadURL": [{ "@id": "" }],
505
+ policyItems: [],
506
+ accessServices: [],
507
+ "dct:modified": "",
508
+ "dct:issued": "",
509
+ "dct:description": void 0,
510
+ // "dcatde:licenseAttributionByText": undefined,
511
+ // "dct:accessRights": "",
512
+ "dcatap:availability": {},
513
+ "dct:language": [],
514
+ "dcat:byteSize": void 0,
515
+ "dcat:mediaType": {},
516
+ "dcat:compressFormat": {},
517
+ "dcat:packageFormat": {},
518
+ "adms:status": {},
519
+ checksum: {
520
+ title: "",
521
+ "spdx:checksum": "",
522
+ uri: ""
523
+ },
524
+ "dct:license": {
525
+ title: "",
526
+ "dcterms:license": ""
527
+ }
528
+ }), q(a);
529
+ }
530
+ function ut(a, t) {
531
+ const e = i.value.find((o) => o.id === a);
532
+ if (!e) {
533
+ console.error(`Distribution with ID ${a} not found`);
534
+ return;
535
+ }
536
+ if (!Array.isArray(t)) {
537
+ console.error("Provided documentations is not an array", t);
538
+ return;
539
+ }
540
+ e.documentations = e.documentations.filter(
541
+ (o) => t.some((s) => s.id === o.id)
542
+ ), t.forEach((o) => {
543
+ const s = e.documentations.findIndex(
544
+ (n) => n.id === o.id
545
+ );
546
+ if (s !== -1)
547
+ e.documentations[s] = {
548
+ ...e.documentations[s],
549
+ ...o
550
+ };
551
+ else {
552
+ const n = e.documentations.length > 0 ? Math.max(...e.documentations.map((r) => r.id)) + 1 : 1;
553
+ e.documentations.push({
554
+ id: o.id || n,
555
+ "dcat:accessURL": o["dcat:accessURL"] || "",
556
+ "dct:format": o["dct:format"] || "",
557
+ "dct:title": o["dct:title"] || "",
558
+ "dct:description": o["dct:description"] || "",
559
+ formatUri: o.formatUri || ""
560
+ });
561
+ }
562
+ });
563
+ }
564
+ function mt(a, t) {
565
+ const e = i.value.find((o) => o.id === a);
566
+ if (!e) {
567
+ console.error(`Distribution with ID ${a} not found`);
568
+ return;
569
+ }
570
+ if (!Array.isArray(t)) {
571
+ console.error(
572
+ "Provided access services is not an array",
573
+ t
574
+ );
575
+ return;
576
+ }
577
+ e.accessServices = e.accessServices.filter(
578
+ (o) => t.some(
579
+ (s) => s.id === o.id
580
+ )
581
+ ), t.forEach((o) => {
582
+ const s = e.accessServices.findIndex(
583
+ (n) => n.id === o.id
584
+ );
585
+ if (s !== -1)
586
+ e.accessServices[s] = {
587
+ ...e.accessServices[s],
588
+ ...o
589
+ };
590
+ else {
591
+ const n = e.accessServices.length > 0 ? Math.max(...e.accessServices.map((r) => r.id)) + 1 : 1;
592
+ e.accessServices.push({
593
+ id: o.id || n,
594
+ "dcat:downloadURL": o["dcat:downloadURL"] || "",
595
+ "dct:title": o["dct:title"] || "",
596
+ "dct:description": o["dct:description"] || ""
597
+ });
598
+ }
599
+ });
600
+ }
601
+ function ft(a, t) {
602
+ var o;
603
+ const e = i.value.find((s) => s.id === a);
604
+ if (!e) {
605
+ console.error(`Distribution with ID ${a} not found`);
606
+ return;
607
+ }
608
+ if (!Array.isArray(t)) {
609
+ console.error("Provided items is not an array", t);
610
+ return;
611
+ }
612
+ e.conformsToItems = ((o = e == null ? void 0 : e.conformsToItems) == null ? void 0 : o.filter(
613
+ (s) => t.some((n) => n.id === s.id)
614
+ )) || [], t.forEach((s) => {
615
+ const n = e.conformsToItems.findIndex(
616
+ (r) => r.id === s.id
617
+ );
618
+ if (n !== -1)
619
+ e.conformsToItems[n] = {
620
+ ...e.conformsToItems[n],
621
+ ...s
622
+ };
623
+ else {
624
+ const r = e.conformsToItems.length > 0 ? Math.max(...e.conformsToItems.map((g) => g.id)) + 1 : 1;
625
+ e.conformsToItems.push({
626
+ id: s.id || r,
627
+ "dcat:downloadURL": s["dcat:downloadURL"] || "",
628
+ "dct:title": s["dct:title"] || ""
629
+ });
630
+ }
631
+ });
632
+ }
633
+ function pt(a, t) {
634
+ }
635
+ function vt(a) {
636
+ if (a === "deleteDataset" && w.value !== null) {
637
+ if (i.value.length === 1) {
638
+ K.value = !0;
639
+ return;
640
+ }
641
+ i.value = i.value.filter(
642
+ (t) => t.id !== w.value
643
+ ), K.value = !1, w.value = null, q();
644
+ }
645
+ }
646
+ function ht(a) {
647
+ const t = JSON.parse(a);
648
+ let e = i.value.find(
649
+ (o) => o.id === t.distributionId
650
+ );
651
+ if (t.isArray) {
652
+ console.log(t), e[t.optType] = [], t.optType === "checksum" && (e[t.optType] = {
653
+ title: "",
654
+ "spdx:checksum": "",
655
+ uri: ""
656
+ });
657
+ return;
658
+ }
659
+ t.useUndefined ? (t.distributionId === 0 && (t.distributionId = 1, e = i.value.find(
660
+ (o) => o.id === t.distributionId
661
+ )), e[t.optType] = void 0) : e[t.optType] = "";
662
+ }
663
+ function gt(a) {
664
+ var e, o, s, n, r, g, v, y;
665
+ w.value = a;
666
+ const t = i.value.find((k) => k.id === a);
667
+ t && (l.value = {
668
+ button: "",
669
+ header: "Optionale Informationen hinzufügen",
670
+ text: "",
671
+ action: "deleteDataset",
672
+ showButtons: !1,
673
+ optionalInfoView: !0,
674
+ distributionId: a,
675
+ documentations: t.documentations || [],
676
+ accessServices: t.accessServices || [],
677
+ dctModified: t["dct:modified"] || "",
678
+ dctIssued: t["dct:issued"] || "",
679
+ dctDescription: t["dct:description"] || "",
680
+ // nameTextByClauses: distribution["dcatde:licenseAttributionByText"] || "",
681
+ // accessRightsText: distribution["dct:accessRights"].uri || "",
682
+ availabilityText: ((o = (e = t["dcatap:availability"]) == null ? void 0 : e.label) == null ? void 0 : o.de) || "",
683
+ languageText: ((s = t == null ? void 0 : t["dct:language"]) == null ? void 0 : s["@value"]) || "",
684
+ byteSizeText: t["dcat:byteSize"] || "",
685
+ mediaTypeText: ((n = t["dcat:mediaType"]) == null ? void 0 : n.label) || "",
686
+ // compressFormatText: distribution["dcat:compressFormat"].label || "",
687
+ packageFormatText: ((r = t["dcat:packageFormat"]) == null ? void 0 : r.label) || "",
688
+ statusText: ((g = t["adms:status"]) == null ? void 0 : g.label) || "",
689
+ checksumText: t.checksum.title || "",
690
+ checksumURI: t.checksum.uri || "",
691
+ checksumDropdownText: (t == null ? void 0 : t.checksum["spdx:checksum"]) || "",
692
+ changeLicenseText: ((v = t == null ? void 0 : t.changeLicense) == null ? void 0 : v.title) || "",
693
+ changeLicenseDropdownText: ((y = t == null ? void 0 : t.changeLicense) == null ? void 0 : y["dcterms:license"]) || "",
694
+ conformsToItems: (t == null ? void 0 : t.conformsToItems) || [],
695
+ policyItems: (t == null ? void 0 : t.policyItems) || [],
696
+ downloadURL: (t == null ? void 0 : t.downloadURL) || []
697
+ }, B.value = !0, document.body.style.overflow = "hidden");
698
+ }
699
+ function yt() {
700
+ B.value = !1, document.body.style.overflow = "auto";
701
+ }
702
+ function kt(a) {
703
+ w.value = a;
704
+ const t = i.value.find((n) => n.id === a), e = t ? t["dct:title"] : "", o = t ? t["dct:format"].label : "", s = t ? t["dcat:accessURL"] : "";
705
+ l.value = {
706
+ button: "Löschen",
707
+ header: U(
708
+ "message.dataupload.datasets.dcat:distribution.delete-distribution.header"
709
+ ),
710
+ text: U(
711
+ "message.dataupload.datasets.dcat:distribution.delete-distribution.text"
712
+ ),
713
+ action: "deleteDataset",
714
+ title: e,
715
+ format: o,
716
+ distributionLink: s
717
+ }, B.value = !0;
718
+ }
719
+ function x(a, t, e, o, s) {
720
+ const r = JSON.stringify({
721
+ distributionId: a,
722
+ optType: e,
723
+ useUndefined: o,
724
+ isArray: s
725
+ });
726
+ F.value = {
727
+ button: "Löschen",
728
+ header: `${t} löschen`,
729
+ text: `Sind Sie sicher, dass Sie das optionale Feld ${t} löschen wollen?`,
730
+ action: r
731
+ }, H.value = !0;
732
+ }
733
+ function X(a, t, e) {
734
+ var s, n, r, g;
735
+ const o = i.value.find((v) => v.id === e);
736
+ if (o)
737
+ if (t === "dcat:accessURL") {
738
+ const v = (s = a == null ? void 0 : a.target) == null ? void 0 : s.value;
739
+ o[t] = v, _.value && clearTimeout(_.value), _.value = setTimeout(() => {
740
+ P(o, t);
741
+ }, 800);
742
+ } else if (t === "dct:format") {
743
+ const v = typeof a == "string" ? a.trim() : (r = (n = a == null ? void 0 : a.target) == null ? void 0 : n.value) == null ? void 0 : r.trim();
744
+ if (o.showErrorFormat = !1, o.formatErrorMessage = "", v === "")
745
+ o[t] = { label: "", uri: "" }, T.inRap ? (o.showErrorFormat = !0, o.formatErrorMessage = "Format ist erforderlich") : (o.showErrorFormat = !1, o.formatErrorMessage = ""), z.value = [...b.value];
746
+ else {
747
+ const y = b.value.find(
748
+ (k) => k["@value"].toLowerCase() === v.toLowerCase()
749
+ );
750
+ y ? (o[t] = {
751
+ label: y["@value"],
752
+ uri: y.uri
753
+ }, o.showErrorFormat = !1, o.formatErrorMessage = "") : v === "" ? (o[t] = { label: "", uri: "" }, o.showErrorFormat = !1) : (o[t] = { label: v, uri: "" }, o.showErrorFormat = !0, o.formatErrorMessage = "Ungültiges Format. Bitte wählen Sie aus der Liste."), z.value = b.value.filter(
754
+ (k) => k["@value"].toLowerCase().includes(v.toLowerCase())
755
+ );
756
+ }
757
+ P(o, t);
758
+ } else
759
+ o[t] = (g = a == null ? void 0 : a.target) == null ? void 0 : g.value, P(o, t);
760
+ }
761
+ function xt(a, t) {
762
+ const e = i.value.find((o) => o.id === a);
763
+ e.documentations = e.documentations.filter(
764
+ (o) => t.some((s) => s.id === o.id)
765
+ );
766
+ }
767
+ function bt(a, t) {
768
+ const e = i.value.find((o) => o.id === a);
769
+ e.accessServices = e.accessServices.filter(
770
+ (o) => t.some((s) => s.id === o.id)
771
+ );
772
+ }
773
+ function wt(a, t) {
774
+ const e = i.value.find((o) => o.id === a);
775
+ e.conformsToItems = e.conformsToItems.filter(
776
+ (o) => t.some((s) => s.id === o.id)
777
+ );
778
+ }
779
+ function _t(a, t) {
780
+ const e = i.value.find((o) => o.id === a);
781
+ e.policyItems = e.policyItems.filter(
782
+ (o) => t.some((s) => s.id === o.id)
783
+ );
784
+ }
785
+ return (a, t) => (u(), f(ee, null, [
786
+ m("div", la, [
787
+ A.inRap ? p("", !0) : (u(), f("h4", na, M(a.$t("message.dataupload.datasets.dcat:distribution.title")), 1)),
788
+ A.inRap ? p("", !0) : (u(), f("div", da, M(a.$t("message.dataupload.datasets.dcat:distribution.description")), 1)),
789
+ (u(!0), f(ee, null, We(L(i), (e, o) => {
790
+ var s, n, r, g, v, y, k, D, E, Te, Ie, Ve, Le, Ue, Re, Ce, Se, Ae, Fe, $e, Ee, Me, Be, ze, Pe, Ne;
791
+ return u(), f("div", {
792
+ key: e.id,
793
+ class: "dpiV3AutoCompleteWrap"
794
+ }, [
795
+ m("div", ca, [
796
+ m("div", ra, [
797
+ c(ae, {
798
+ "add-on-text": !1,
799
+ datePicker: !1,
800
+ infoIcon: !0,
801
+ tooltip_text: `Datenlink(s): URL(s), unter denen Ihr Datensatz online gehostet
802
+ wird oder über eine Schnittstelle abgerufen werden kann.`,
803
+ placeholder: a.$t(
804
+ "message.dataupload.datasets.dcat:distribution.download-link.placeholder"
805
+ ),
806
+ preIcon: !1,
807
+ "input-field-size": "large",
808
+ initialHintText: !1,
809
+ label: a.$t(
810
+ "message.dataupload.datasets.dcat:distribution.download-link.label"
811
+ ),
812
+ showEndIcon: !1,
813
+ showError: e.showErrorDownloadURL,
814
+ "model-value": e["dcat:accessURL"],
815
+ onInput: (d) => X(d, "dcat:accessURL", e.id)
816
+ }, null, 8, ["placeholder", "label", "showError", "model-value", "onInput"]),
817
+ e.showErrorDownloadURL && e.urlErrorMessage ? (u(), f("div", ua, [
818
+ c(L(O), {
819
+ size: 16,
820
+ weight: "fill"
821
+ }),
822
+ m("span", ma, M(e.urlErrorMessage), 1)
823
+ ])) : p("", !0)
824
+ ]),
825
+ m("div", fa, [
826
+ c(Ot, {
827
+ "dropdown-width": "large",
828
+ type: "inputField",
829
+ "input-field-props": {
830
+ addOnText: !1,
831
+ initialHintText: !1,
832
+ datePicker: !1,
833
+ infoIcon: !1,
834
+ preIcon: !0,
835
+ showEndIcon: !1,
836
+ label: a.$t(
837
+ "message.dataupload.datasets.dcat:distribution.format.label"
838
+ ),
839
+ dropdown_dpiV3: !0,
840
+ placeholder: a.$t(
841
+ "message.dataupload.datasets.dcat:distribution.format.placeholder"
842
+ ),
843
+ inputFieldSize: "large",
844
+ autocomplete: "true",
845
+ showError: e.showErrorFormat
846
+ },
847
+ data: z.value,
848
+ autocomplete: !0,
849
+ onInput: (d) => X(d, "dct:format", e.id),
850
+ "onUpdate:modelValue": (d) => Ke(d, e.id),
851
+ "model-value": (s = e == null ? void 0 : e["dct:format"]) == null ? void 0 : s.label
852
+ }, null, 8, ["input-field-props", "data", "onInput", "onUpdate:modelValue", "model-value"]),
853
+ e.showErrorFormat && e.formatErrorMessage ? (u(), f("div", pa, [
854
+ c(L(O), {
855
+ size: 16,
856
+ weight: "fill"
857
+ }),
858
+ m("span", va, M(e.formatErrorMessage), 1)
859
+ ])) : p("", !0)
860
+ ]),
861
+ c(ae, {
862
+ modelValue: e["dct:title"],
863
+ "onUpdate:modelValue": (d) => e["dct:title"] = d,
864
+ "add-on-text": !1,
865
+ "date-picker": !1,
866
+ "info-icon": !1,
867
+ placeholder: a.$t(
868
+ "message.dataupload.datasets.dcat:distribution.distribution-title.placeholder"
869
+ ),
870
+ "pre-icon": !1,
871
+ "input-field-size": "large",
872
+ "initial-hint-text": !1,
873
+ label: a.$t(
874
+ "message.dataupload.datasets.dcat:distribution.distribution-title.label"
875
+ ),
876
+ "show-end-icon": !1,
877
+ onInput: (d) => X(d, "dct:title", e.id)
878
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "label", "onInput"]),
879
+ (e.documentations || []).length > 0 ? (u(), f("div", ha, [
880
+ m("div", ga, [
881
+ t[6] || (t[6] = m("div", null, "Dokumentation (optional)", -1)),
882
+ m("div", null, [
883
+ c(S, {
884
+ "button-text": "löschen",
885
+ onClick: (d) => at(e.id)
886
+ }, null, 8, ["onClick"])
887
+ ])
888
+ ]),
889
+ m("div", ya, [
890
+ m("div", ka, [
891
+ c(Yt, {
892
+ documentations: e.documentations,
893
+ "file-types": b.value,
894
+ "distribution-id": e.id,
895
+ "as-card": !0,
896
+ "show-delete-button": !0,
897
+ onUpdate: (d) => xt(e.id, d)
898
+ }, null, 8, ["documentations", "file-types", "distribution-id", "onUpdate"])
899
+ ])
900
+ ])
901
+ ])) : p("", !0),
902
+ (e.accessServices || []).length > 0 ? (u(), f("div", xa, [
903
+ m("div", ba, [
904
+ t[7] || (t[7] = m("div", null, "Ausliefernder Datenservice (optional)", -1)),
905
+ m("div", null, [
906
+ c(S, {
907
+ "button-text": "löschen",
908
+ onClick: (d) => ot(e.id)
909
+ }, null, 8, ["onClick"])
910
+ ])
911
+ ]),
912
+ m("div", wa, [
913
+ m("div", _a, [
914
+ c(Gt, {
915
+ "access-services": e.accessServices,
916
+ "distribution-id": e.id,
917
+ "as-card": !0,
918
+ "show-delete-button": !0,
919
+ onUpdate: (d) => bt(
920
+ e.id,
921
+ d
922
+ )
923
+ }, null, 8, ["access-services", "distribution-id", "onUpdate"])
924
+ ])
925
+ ])
926
+ ])) : p("", !0),
927
+ (u(!0), f(ee, null, We(e["dcat:downloadURL"], (d, N) => (u(), f("div", {
928
+ key: N,
929
+ class: "dpiV3_DocumentationsInDistr"
930
+ }, [
931
+ m("div", Da, [
932
+ t[8] || (t[8] = m("div", {
933
+ class: "dpiV3_label",
934
+ style: { margin: "0" }
935
+ }, " DownloadURL (optional) ", -1)),
936
+ e["dcat:downloadURL"].length !== 1 ? (u(), f("div", Ta, [
937
+ c(S, {
938
+ "button-text": "löschen",
939
+ onClick: (Y) => e["dcat:downloadURL"].splice(N, 1)
940
+ }, null, 8, ["onClick"])
941
+ ])) : p("", !0)
942
+ ]),
943
+ m("div", Ia, [
944
+ c(ae, {
945
+ "model-value": d["@id"],
946
+ onInput: (Y) => st(
947
+ Y.target.value,
948
+ e.id,
949
+ N
950
+ ),
951
+ showError: d.showError,
952
+ initialHintText: !1,
953
+ addOnText: !1,
954
+ placeholder: "Bitte URL eingeben...",
955
+ inputFieldSize: "large",
956
+ label: ""
957
+ }, null, 8, ["model-value", "onInput", "showError"]),
958
+ d.showError ? (u(), f("div", Va, [
959
+ c(L(O), {
960
+ size: 16,
961
+ weight: "fill"
962
+ }),
963
+ m("span", La, M(d.errorMessage), 1)
964
+ ])) : p("", !0)
965
+ ]),
966
+ N === e["dcat:downloadURL"].length - 1 ? (u(), f("div", Ua, [
967
+ c(j, {
968
+ buttonText: "Weitere DownloadURL hinzufügen",
969
+ size: "small",
970
+ iconStart: "plus",
971
+ variant: "tertiary",
972
+ onClick: (Y) => e["dcat:downloadURL"].push({
973
+ "@id": "",
974
+ showError: !1,
975
+ errorMessage: ""
976
+ })
977
+ }, null, 8, ["onClick"])
978
+ ])) : p("", !0)
979
+ ]))), 128)),
980
+ e["dct:modified"] && e["dct:modified"].trim() !== "" ? (u(), f("div", Ra, [
981
+ c(aa, {
982
+ "show-delete-button": !0,
983
+ "distribution-id": e.id,
984
+ "model-value": e["dct:modified"],
985
+ onAddModifiedDate: me,
986
+ onDeleteButtonClicked: (d) => it(e.id)
987
+ }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
988
+ ])) : p("", !0),
989
+ e["dct:issued"] && e["dct:issued"].trim() !== "" ? (u(), f("div", Ca, [
990
+ c(ea, {
991
+ "show-delete-button": !0,
992
+ "distribution-id": e.id,
993
+ "model-value": e["dct:issued"],
994
+ onAddIssuedDate: fe,
995
+ onDeleteButtonClicked: (d) => lt(e.id)
996
+ }, null, 8, ["distribution-id", "model-value", "onDeleteButtonClicked"])
997
+ ])) : p("", !0),
998
+ Ut(m("div", Sa, [
999
+ c(Xt, {
1000
+ "distribution-id": e.id,
1001
+ "description-text": e["dct:description"],
1002
+ "show-delete-button": !0,
1003
+ onAddDescription: pe,
1004
+ onDeleteDescription: (d) => nt(e.id)
1005
+ }, null, 8, ["distribution-id", "description-text", "onDeleteDescription"])
1006
+ ], 512), [
1007
+ [
1008
+ Rt,
1009
+ e["dct:description"] !== void 0 && e["dct:description"] !== ""
1010
+ ]
1011
+ ]),
1012
+ (n = e["dct:accessRights"]) != null && n.uri && ((r = e["dct:accessRights"]) == null ? void 0 : r.uri.trim()) !== "" ? (u(), f("div", Aa, [
1013
+ c(Ht, {
1014
+ "show-delete-button": !0,
1015
+ "distribution-id": e.id,
1016
+ "access-rights-prop": (g = e["dct:accessRights"]) == null ? void 0 : g.label.de,
1017
+ onAddAccessRights: ve,
1018
+ onDeleteButtonClicked: (d) => dt(e.id)
1019
+ }, null, 8, ["distribution-id", "access-rights-prop", "onDeleteButtonClicked"])
1020
+ ])) : p("", !0),
1021
+ ((v = e["dcatap:availability"]) == null ? void 0 : v.label) != null && ((y = e["dcatap:availability"]) != null && y.label.de) && ((k = e["dcatap:availability"]) == null ? void 0 : k.label.de.trim()) !== "" ? (u(), f("div", Fa, [
1022
+ c(Jt, {
1023
+ "availability-text": e["dcatap:availability"].label.de,
1024
+ "distribution-id": e.id,
1025
+ "show-delete-button": !0,
1026
+ onAddAvailability: he,
1027
+ onDeleteButtonClicked: (d) => Ze(e.id)
1028
+ }, null, 8, ["availability-text", "distribution-id", "onDeleteButtonClicked"])
1029
+ ])) : p("", !0),
1030
+ (D = e["adms:status"]) != null && D["@value"] && ((E = e["adms:status"]) == null ? void 0 : E["@value"].trim()) !== "" ? (u(), f("div", $a, [
1031
+ c(sa, {
1032
+ "status-text": e["adms:status"]["@value"],
1033
+ "distribution-id": e.id,
1034
+ "show-delete-button": !0,
1035
+ onAddStatus: ge,
1036
+ onDeleteButtonClicked: (d) => Qe(e.id)
1037
+ }, null, 8, ["status-text", "distribution-id", "onDeleteButtonClicked"])
1038
+ ])) : p("", !0),
1039
+ e.checksum["spdx:checksum"] != "" ? (u(), f("div", Ea, [
1040
+ m("div", Ma, [
1041
+ t[9] || (t[9] = m("div", null, "Prüfsumme (optional)", -1)),
1042
+ m("div", null, [
1043
+ c(S, {
1044
+ "button-text": "löschen",
1045
+ onClick: (d) => tt(e.id)
1046
+ }, null, 8, ["onClick"])
1047
+ ])
1048
+ ]),
1049
+ c(Zt, {
1050
+ "checksum-text": e.checksum.title,
1051
+ "checksum-dropdown-text": e.checksum["spdx:checksum"],
1052
+ "distribution-id": e.id,
1053
+ distIndex: o,
1054
+ "as-card": !0,
1055
+ "checksum-u-r-i": e.checksum.uri,
1056
+ "show-delete-button": !0,
1057
+ onAddChecksum: ye
1058
+ }, null, 8, ["checksum-text", "checksum-dropdown-text", "distribution-id", "distIndex", "checksum-u-r-i"])
1059
+ ])) : p("", !0),
1060
+ Object.keys(e["dct:license"]).length > 0 && ((Te = e["dct:license"]) == null ? void 0 : Te["dcterms:license"]) != "" ? (u(), f("div", Ba, [
1061
+ c(qt, {
1062
+ "change-license-text": (Ie = e["dct:license"]) == null ? void 0 : Ie.title,
1063
+ "change-license-dropdown-text": (Ve = e["dct:license"]) == null ? void 0 : Ve["dcterms:license"],
1064
+ "distribution-id": e.id,
1065
+ "as-card": !0,
1066
+ "show-delete-button": !0,
1067
+ onAddChangeLicense: ke
1068
+ }, null, 8, ["change-license-text", "change-license-dropdown-text", "distribution-id"])
1069
+ ])) : p("", !0),
1070
+ e.conformsToItems && e.conformsToItems.length > 0 ? (u(), f("div", za, [
1071
+ m("div", Pa, [
1072
+ t[10] || (t[10] = m("div", null, "Konform zu Standard (optional)", -1)),
1073
+ m("div", null, [
1074
+ c(S, {
1075
+ "button-text": "löschen",
1076
+ onClick: (d) => qe(e.id)
1077
+ }, null, 8, ["onClick"])
1078
+ ])
1079
+ ]),
1080
+ c(Qt, {
1081
+ "conforms-to-items": e.conformsToItems,
1082
+ "distribution-id": e.id,
1083
+ "as-card": !0,
1084
+ "show-delete-button": !0,
1085
+ onUpdate: (d) => wt(e.id, d)
1086
+ }, null, 8, ["conforms-to-items", "distribution-id", "onUpdate"])
1087
+ ])) : p("", !0),
1088
+ ((Ue = (Le = e == null ? void 0 : e.policyItems) == null ? void 0 : Le[0]) == null ? void 0 : Ue["dcat:downloadURL"]) != "" && e.policyItems.length > 0 ? (u(), f("div", Na, [
1089
+ m("div", Oa, [
1090
+ t[11] || (t[11] = m("div", null, "Regelwerk (optional)", -1)),
1091
+ m("div", null, [
1092
+ c(S, {
1093
+ "button-text": "löschen",
1094
+ onClick: (d) => et(e.id)
1095
+ }, null, 8, ["onClick"])
1096
+ ])
1097
+ ]),
1098
+ c(oa, {
1099
+ "policy-items": e.policyItems,
1100
+ "distribution-id": e.id,
1101
+ "as-card": !0,
1102
+ onUpdate: (d) => _t(e.id, d)
1103
+ }, null, 8, ["policy-items", "distribution-id", "onUpdate"])
1104
+ ])) : p("", !0),
1105
+ (Ce = (Re = e["dct:language"]) == null ? void 0 : Re[0]) != null && Ce.label || (Ae = (Se = e["dct:language"]) == null ? void 0 : Se[0]) != null && Ae["@value"] && (($e = (Fe = e["dct:language"]) == null ? void 0 : Fe[0]) == null ? void 0 : $e["@value"].trim()) !== "" ? (u(), f("div", Wa, [
1106
+ c(ta, {
1107
+ "distribution-id": e.id,
1108
+ "show-delete-button": !1,
1109
+ onAddLanguage: xe,
1110
+ onDeleteButtonClicked: (d) => Ye(e.id),
1111
+ inOverview: !0
1112
+ }, null, 8, ["distribution-id", "onDeleteButtonClicked"])
1113
+ ])) : p("", !0),
1114
+ e["dcat:byteSize"] !== void 0 && e["dcat:byteSize"] !== "" ? (u(), f("div", ja, [
1115
+ c(Kt, {
1116
+ "byte-size-prop": e["dcat:byteSize"],
1117
+ "distribution-id": e.id,
1118
+ "show-delete-button": !0,
1119
+ onAddByteSize: be,
1120
+ onDeleteButtonClicked: (d) => Xe(e.id)
1121
+ }, null, 8, ["byte-size-prop", "distribution-id", "onDeleteButtonClicked"])
1122
+ ])) : p("", !0),
1123
+ e["dcat:mediaType"] && ((Ee = e["dcat:mediaType"]) != null && Ee.label) && ((Me = e["dcat:mediaType"]) == null ? void 0 : Me.label.trim()) !== "" ? (u(), f("div", Ha, [
1124
+ c(oe, {
1125
+ "distribution-id": e.id,
1126
+ "file-types": V.value,
1127
+ "file-format-type": "dcat:mediaType",
1128
+ "file-format-text": e["dcat:mediaType"].label,
1129
+ "show-delete-button": !0,
1130
+ onAddMediaType: C,
1131
+ onDeleteButtonClicked: t[0] || (t[0] = (d) => Q("dcat:mediaType", w.value))
1132
+ }, null, 8, ["distribution-id", "file-types", "file-format-text"])
1133
+ ])) : p("", !0),
1134
+ e["dcat:compressFormat"] && ((Be = e["dcat:compressFormat"]) != null && Be.label) && ((ze = e["dcat:compressFormat"]) == null ? void 0 : ze.label.trim()) !== "" ? (u(), f("div", Ga, [
1135
+ c(oe, {
1136
+ "distribution-id": e.id,
1137
+ "file-types": V.value,
1138
+ "file-format-type": "dcat:compressFormat",
1139
+ "compress-format-text": e["dcat:compressFormat"].label,
1140
+ "show-delete-button": !0,
1141
+ onAddCompressFormat: C,
1142
+ onDeleteButtonClicked: t[1] || (t[1] = (d) => Q("dcat:compressFormat", w.value))
1143
+ }, null, 8, ["distribution-id", "file-types", "compress-format-text"])
1144
+ ])) : p("", !0),
1145
+ (Pe = e["dcat:packageFormat"]) != null && Pe.label && ((Ne = e["dcat:packageFormat"]) == null ? void 0 : Ne.label.trim()) !== "" ? (u(), f("div", Ja, [
1146
+ c(oe, {
1147
+ "distribution-id": e.id,
1148
+ "file-types": V.value,
1149
+ "file-format-type": "dcat:packageFormat",
1150
+ "package-format-text": e["dcat:packageFormat"].label,
1151
+ "show-delete-button": !0,
1152
+ onAddPackageFormat: C,
1153
+ onDeleteButtonClicked: t[2] || (t[2] = (d) => Q("dcat:packageFormat", w.value))
1154
+ }, null, 8, ["distribution-id", "file-types", "package-format-text"])
1155
+ ])) : p("", !0),
1156
+ K.value && L(i).length === 1 ? (u(), f("p", Ka, " Mindestens ein Link muss vorhanden sein. ")) : p("", !0)
1157
+ ]),
1158
+ m("div", qa, [
1159
+ c(j, {
1160
+ "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-info"),
1161
+ size: "small",
1162
+ "icon-start": "PlusSquare",
1163
+ variant: "tertiary",
1164
+ onClick: (d) => gt(e.id)
1165
+ }, null, 8, ["button-text", "onClick"]),
1166
+ L(i).length > 1 ? (u(), te(j, {
1167
+ key: 0,
1168
+ "button-text": a.$t("message.dataupload.datasets.dcat:distribution.delete"),
1169
+ size: "small",
1170
+ "icon-start": "trash",
1171
+ variant: "tertiary",
1172
+ onClick: (d) => kt(e.id)
1173
+ }, null, 8, ["button-text", "onClick"])) : p("", !0)
1174
+ ])
1175
+ ]);
1176
+ }), 128)),
1177
+ m("div", Za, [
1178
+ c(j, {
1179
+ "button-text": a.$t("message.dataupload.datasets.dcat:distribution.add-more-links"),
1180
+ size: "large",
1181
+ "icon-start": "plus",
1182
+ variant: "tertiary",
1183
+ onClick: rt
1184
+ }, null, 8, ["button-text"])
1185
+ ]),
1186
+ $.value ? (u(), f("div", {
1187
+ key: 2,
1188
+ class: Ct(
1189
+ A.inRap == !0 ? "dpiV3_errormsgWrapper rap-bottom" : "dpiV3_errormsgWrapper"
1190
+ )
1191
+ }, [
1192
+ c(L(O), {
1193
+ size: 16,
1194
+ weight: "fill"
1195
+ }),
1196
+ t[12] || (t[12] = m("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
1197
+ ], 2)) : p("", !0)
1198
+ ]),
1199
+ B.value ? (u(), te(jt, {
1200
+ key: 0,
1201
+ "distibution-id": w.value,
1202
+ "file-types": V.value,
1203
+ "format-types": b.value,
1204
+ buttons: l.value.button,
1205
+ "header-text": l.value.header,
1206
+ text: l.value.text,
1207
+ "show-buttons": l.value.showButtons,
1208
+ "optional-info-view": l.value.optionalInfoView,
1209
+ documentations: l.value.documentations,
1210
+ "access-services": l.value.accessServices,
1211
+ action: l.value.action,
1212
+ title: l.value.title,
1213
+ format: l.value.format,
1214
+ "distribution-link": l.value.distributionLink,
1215
+ sections: ie.value,
1216
+ context: A.context,
1217
+ "distribution-id": l.value.distributionId,
1218
+ "modified-date": l.value.dctModified || "",
1219
+ "issued-date": l.value.dctIssued || "",
1220
+ "description-text": l.value.dctDescription || "",
1221
+ "access-rights-text": l.value.accessRightsText || "",
1222
+ "availability-text": l.value.availabilityText || "",
1223
+ "language-text": l.value.languageText || "",
1224
+ "byte-size-text": l.value.byteSizeText || "",
1225
+ "media-type-text": l.value.mediaTypeText || "",
1226
+ "compress-format-text": l.value.compressFormatText || "",
1227
+ "package-format-text": l.value.packageFormatText || "",
1228
+ "status-text": l.value.statusText || "",
1229
+ "checksum-text": l.value.checksumText || "",
1230
+ "checksum-u-r-i": l.value.checksumURI || "",
1231
+ "checksum-dropdown-text": l.value.checksumDropdownText || "",
1232
+ "change-license-text": l.value.changeLicenseText || "",
1233
+ "change-license-dropdown-text": l.value.changeLicenseDropdownText || "",
1234
+ "conforms-to-items": l.value.conformsToItems,
1235
+ "policy-items": l.value.policyItems,
1236
+ "download-URL": l.value.downloadURL,
1237
+ onClose: yt,
1238
+ onActionHandling: t[3] || (t[3] = (e) => vt(e)),
1239
+ onAddDocumentations: ut,
1240
+ onAddAccessServices: mt,
1241
+ onAddModifiedDate: me,
1242
+ onAddIssuedDate: fe,
1243
+ onAddDescription: pe,
1244
+ onAddAccessRights: ve,
1245
+ onAddAvailability: he,
1246
+ onAddLanguage: xe,
1247
+ onAddByteSize: be,
1248
+ onAddMediaType: C,
1249
+ onAddCompressFormat: C,
1250
+ onAddPackageFormat: C,
1251
+ onAddStatus: ge,
1252
+ onAddChecksum: ye,
1253
+ onAddChangeLicense: ke,
1254
+ onAddConformsToItems: ft,
1255
+ onAddPolicyItems: pt
1256
+ }, null, 8, ["distibution-id", "file-types", "format-types", "buttons", "header-text", "text", "show-buttons", "optional-info-view", "documentations", "access-services", "action", "title", "format", "distribution-link", "sections", "context", "distribution-id", "modified-date", "issued-date", "description-text", "access-rights-text", "availability-text", "language-text", "byte-size-text", "media-type-text", "compress-format-text", "package-format-text", "status-text", "checksum-text", "checksum-u-r-i", "checksum-dropdown-text", "change-license-text", "change-license-dropdown-text", "conforms-to-items", "policy-items", "download-URL"])) : p("", !0),
1257
+ H.value ? (u(), te(Wt, {
1258
+ key: 1,
1259
+ buttons: F.value.button,
1260
+ "header-text": F.value.header,
1261
+ text: F.value.text,
1262
+ action: F.value.action,
1263
+ onClose: t[4] || (t[4] = (e) => H.value = !1),
1264
+ onActionHandling: t[5] || (t[5] = (e) => ht(e))
1265
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
1266
+ ], 64));
1267
+ }
1268
+ }, Fo = /* @__PURE__ */ ia(Qa, [["__scopeId", "data-v-79e8298d"]]);
1269
+ export {
1270
+ Fo as default
1271
+ };