@piveau/dpi 0.2.0-alpha.5 → 0.2.0-alpha.50

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