@piveau/dpi 0.2.0-alpha.6 → 0.2.0-alpha.61

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