@piveau/piveau-hub-ui-modules 4.3.1 → 4.3.3

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 (62) hide show
  1. package/dist/composables/useRuntimeEnv.d.ts +1 -1
  2. package/dist/configurations/config-schema/apiSchema.d.ts +3 -3
  3. package/dist/configurations/config-schema/apiSchema.mjs +1 -1
  4. package/dist/configurations/config-schema/apiSchema.mjs.map +1 -1
  5. package/dist/configurations/config-schema/configSchema.d.ts +5 -5
  6. package/dist/data-provider-interface/DPIMenu.vue.mjs +37 -36
  7. package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
  8. package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +149 -135
  9. package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
  10. package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +152 -140
  11. package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
  12. package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +60 -60
  13. package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
  14. package/dist/data-provider-interface/components/Dropup.vue.mjs +17 -17
  15. package/dist/data-provider-interface/components/Dropup.vue.mjs.map +1 -1
  16. package/dist/data-provider-interface/components/Dropup.vue2.mjs +2 -2
  17. package/dist/data-provider-interface/components/FileUpload.vue.d.ts +5 -2
  18. package/dist/data-provider-interface/components/FileUpload.vue.mjs +119 -117
  19. package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
  20. package/dist/data-provider-interface/components/Navigation.vue.d.ts +1 -1
  21. package/dist/data-provider-interface/components/Navigation.vue.mjs +69 -69
  22. package/dist/data-provider-interface/components/Navigation.vue.mjs.map +1 -1
  23. package/dist/data-provider-interface/components/SimpleInput.vue.mjs +19 -14
  24. package/dist/data-provider-interface/components/SimpleInput.vue.mjs.map +1 -1
  25. package/dist/data-provider-interface/components/SimpleSelect.vue.mjs +31 -31
  26. package/dist/data-provider-interface/components/SimpleSelect.vue.mjs.map +1 -1
  27. package/dist/data-provider-interface/components/SpatialInput.vue.mjs +90 -94
  28. package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
  29. package/dist/data-provider-interface/components/SpatialInput.vue2.mjs +2 -2
  30. package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +41 -30
  31. package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
  32. package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +81 -78
  33. package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
  34. package/dist/data-provider-interface/config/dcatapdeODB/format-types.mjs +3 -272
  35. package/dist/data-provider-interface/config/dcatapdeODB/format-types.mjs.map +1 -1
  36. package/dist/data-provider-interface/config/dcatapdeODB/input-definition.d.ts +4 -15
  37. package/dist/data-provider-interface/config/dcatapdeODB/input-definition.mjs +13 -2081
  38. package/dist/data-provider-interface/config/dcatapdeODB/input-definition.mjs.map +1 -1
  39. package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.mjs +3 -21
  40. package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.mjs.map +1 -1
  41. package/dist/data-provider-interface/config/dcatapdeODB/prefixes.mjs +3 -24
  42. package/dist/data-provider-interface/config/dcatapdeODB/prefixes.mjs.map +1 -1
  43. package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.mjs +3 -31
  44. package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.mjs.map +1 -1
  45. package/dist/data-provider-interface/config/dpi-spec-config.mjs +8 -8
  46. package/dist/data-provider-interface/config/dpi-spec-config.mjs.map +1 -1
  47. package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs +52 -52
  48. package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs.map +1 -1
  49. package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +1 -1
  50. package/dist/data-provider-interface/views/DraftsPage.vue.mjs +127 -138
  51. package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
  52. package/dist/data-provider-interface/views/InputPage.vue.mjs +68 -68
  53. package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
  54. package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +31 -31
  55. package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
  56. package/dist/form/Repeatable.vue.mjs +37 -37
  57. package/dist/form/Repeatable.vue.mjs.map +1 -1
  58. package/dist/modal/AppConfirmationDialog.vue.d.ts +3 -1
  59. package/dist/modal/AppConfirmationDialog.vue.mjs +45 -39
  60. package/dist/modal/AppConfirmationDialog.vue.mjs.map +1 -1
  61. package/dist/piveau-hub-ui-modules.css +1 -1
  62. package/package.json +1 -1
@@ -105,7 +105,8 @@ const t = {
105
105
  identifier: "qualityProcessURI",
106
106
  name: "dcatde:qualityProcessURI",
107
107
  class: "property",
108
- $formkit: "url",
108
+ $formkit: "simpleInput",
109
+ validationType: "url",
109
110
  classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
110
111
  },
111
112
  references: {
@@ -121,9 +122,10 @@ const t = {
121
122
  children: [
122
123
  {
123
124
  name: "@id",
124
- identifier: "referencesUrl",
125
- $formkit: "url",
126
- validation: "optional|url",
125
+ identifier: "references",
126
+ $formkit: "simpleInput",
127
+ validationType: "url",
128
+ insideRepeatable: !0,
127
129
  classes: {
128
130
  outer: "w100-textfield"
129
131
  }
@@ -1117,10 +1119,10 @@ const t = {
1117
1119
  },
1118
1120
  spatialResolutionInMeters: {
1119
1121
  identifier: "spatialResolutionInMeters",
1120
- $formkit: "number",
1122
+ $formkit: "simpleInput",
1121
1123
  name: "dcat:spatialResolutionInMeters",
1122
1124
  class: "property",
1123
- validation: "number",
1125
+ validationType: "number",
1124
1126
  classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
1125
1127
  },
1126
1128
  temporalResolution: {
@@ -1178,7 +1180,7 @@ const t = {
1178
1180
  },
1179
1181
  versionInfo: {
1180
1182
  identifier: "versionInfo",
1181
- $formkit: "text",
1183
+ $formkit: "simpleInput",
1182
1184
  name: "owl:versionInfo",
1183
1185
  class: "property",
1184
1186
  classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
@@ -1253,6 +1255,7 @@ const t = {
1253
1255
  identifier: "licenseAttributionByText",
1254
1256
  name: "dcatde:licenseAttributionByText",
1255
1257
  $formkit: "repeatable",
1258
+ class: "property inDistribution",
1256
1259
  children: [
1257
1260
  {
1258
1261
  identifier: "licenseAttributionByText",
@@ -1272,7 +1275,7 @@ const t = {
1272
1275
  },
1273
1276
  {
1274
1277
  identifier: "licenseAttributionByTextTitle",
1275
- $formkit: "textarea",
1278
+ $formkit: "text",
1276
1279
  name: "@value",
1277
1280
  classes: {
1278
1281
  outer: "w100-textfield"
@@ -1286,6 +1289,7 @@ const t = {
1286
1289
  identifier: "accessUrl",
1287
1290
  $formkit: "repeatable",
1288
1291
  name: "dcat:accessURL",
1292
+ class: "property inDistribution",
1289
1293
  children: [
1290
1294
  {
1291
1295
  identifier: "accessUrl",
@@ -1299,13 +1303,13 @@ const t = {
1299
1303
  $formkit: "auto",
1300
1304
  voc: "planned-availability",
1301
1305
  name: "dcatap:availability",
1302
- class: "property"
1306
+ class: "property inDistribution"
1303
1307
  },
1304
1308
  description: {
1305
- identifier: "datasetDescription",
1309
+ identifier: "description",
1306
1310
  $formkit: "repeatable",
1307
1311
  name: "dct:description",
1308
- class: "property langDescriptionInput mandatory",
1312
+ class: "property langDescriptionInput mandatory inDistribution",
1309
1313
  minimum: 1,
1310
1314
  children: [
1311
1315
  {
@@ -1340,7 +1344,7 @@ const t = {
1340
1344
  format: {
1341
1345
  identifier: "format",
1342
1346
  $formkit: "auto",
1343
- class: "property",
1347
+ class: "property inDistribution",
1344
1348
  voc: "file-type",
1345
1349
  name: "dct:format"
1346
1350
  },
@@ -1348,6 +1352,7 @@ const t = {
1348
1352
  $formkit: "simpleConditional",
1349
1353
  name: "dct:license",
1350
1354
  identifier: "licence",
1355
+ class: "property inDistribution",
1351
1356
  voc: "licence",
1352
1357
  options: { text: "dct:title", textarea: "skos:prefLabel", url: "skos:exactMatch" },
1353
1358
  selection: { 1: "vocabulary", 2: "manually" }
@@ -1356,7 +1361,7 @@ const t = {
1356
1361
  identifier: "title",
1357
1362
  $formkit: "repeatable",
1358
1363
  name: "dct:title",
1359
- class: "property langStringInput mandatory",
1364
+ class: "property langStringInput mandatory inDistribution",
1360
1365
  minimum: 1,
1361
1366
  children: [
1362
1367
  {
@@ -1393,12 +1398,13 @@ const t = {
1393
1398
  $formkit: "auto",
1394
1399
  voc: "iana-media-types",
1395
1400
  name: "dcat:mediaType",
1396
- class: "property"
1401
+ class: "property inDistribution"
1397
1402
  },
1398
1403
  downloadUrl: {
1399
1404
  $formkit: "repeatable",
1400
1405
  identifier: "downloadUrl",
1401
1406
  name: "dcat:downloadURL",
1407
+ class: "property inDistribution",
1402
1408
  children: [
1403
1409
  {
1404
1410
  identifier: "downloadUrl",
@@ -1415,14 +1421,14 @@ const t = {
1415
1421
  identifier: "availabilityDisDE",
1416
1422
  $formkit: "auto",
1417
1423
  name: "dcatap:availability",
1418
- class: "property",
1424
+ class: "property inDistribution",
1419
1425
  voc: "planned-availability"
1420
1426
  },
1421
1427
  accessService: {
1422
1428
  identifier: "accessService",
1423
1429
  $formkit: "repeatable",
1424
1430
  name: "dcat:accessService",
1425
- class: "property",
1431
+ class: "property inDistribution",
1426
1432
  children: [
1427
1433
  {
1428
1434
  identifier: "accessService",
@@ -1440,19 +1446,13 @@ const t = {
1440
1446
  identifier: "accessServiceTitle",
1441
1447
  $formkit: "repeatable",
1442
1448
  name: "dct:title",
1443
- class: "property langStringInput",
1449
+ class: "property langStringInput inDistribution",
1444
1450
  children: [
1445
1451
  {
1446
1452
  identifier: "accessServiceTitle",
1447
1453
  $formkit: "group",
1448
1454
  name: "dct:title",
1449
1455
  children: [
1450
- {
1451
- identifier: "title",
1452
- $formkit: "text",
1453
- name: "@value",
1454
- class: "w-100 inputTextfield"
1455
- },
1456
1456
  {
1457
1457
  identifier: "language",
1458
1458
  value: "en",
@@ -1460,6 +1460,15 @@ const t = {
1460
1460
  name: "@language",
1461
1461
  class: "selectLangField",
1462
1462
  options: e
1463
+ },
1464
+ {
1465
+ identifier: "title",
1466
+ $formkit: "text",
1467
+ name: "@value",
1468
+ class: "w-100 inputTextfield",
1469
+ classes: {
1470
+ outer: "w100-textfield"
1471
+ }
1463
1472
  }
1464
1473
  ]
1465
1474
  }
@@ -1469,19 +1478,13 @@ const t = {
1469
1478
  identifier: "accessServiceDescription",
1470
1479
  $formkit: "repeatable",
1471
1480
  name: "dct:description",
1472
- class: "property langDescriptionInput",
1481
+ class: "property langDescriptionInput inDistribution",
1473
1482
  children: [
1474
1483
  {
1475
1484
  identifier: "accessServiceDescription",
1476
1485
  $formkit: "group",
1477
1486
  name: "dct:description",
1478
1487
  children: [
1479
- {
1480
- identifier: "description",
1481
- $formkit: "textarea",
1482
- name: "@value",
1483
- class: "inputTextfield"
1484
- },
1485
1488
  {
1486
1489
  identifier: "descriptionLanguage",
1487
1490
  value: "en",
@@ -1489,6 +1492,15 @@ const t = {
1489
1492
  name: "@language",
1490
1493
  class: "selectLangField",
1491
1494
  options: e
1495
+ },
1496
+ {
1497
+ identifier: "description",
1498
+ $formkit: "textarea",
1499
+ name: "@value",
1500
+ class: "inputTextfield",
1501
+ classes: {
1502
+ outer: "w100-textfield"
1503
+ }
1492
1504
  }
1493
1505
  ]
1494
1506
  }
@@ -1500,16 +1512,17 @@ const t = {
1500
1512
  },
1501
1513
  byteSize: {
1502
1514
  identifier: "byteSize",
1503
- $formkit: "text",
1515
+ $formkit: "simpleInput",
1516
+ validationType: "number",
1504
1517
  name: "dcat:byteSize",
1505
- class: "property",
1518
+ class: "property inDistribution",
1506
1519
  classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
1507
1520
  },
1508
1521
  checksum: {
1509
1522
  $formkit: "formkitGroup",
1510
1523
  identifier: "checksum",
1511
1524
  name: "spdx:checksum",
1512
- class: "property",
1525
+ class: "property inDistribution",
1513
1526
  children: [
1514
1527
  {
1515
1528
  identifier: "checksum",
@@ -1530,20 +1543,20 @@ const t = {
1530
1543
  $formkit: "auto",
1531
1544
  voc: "iana-media-types",
1532
1545
  name: "dcat:compressFormat",
1533
- class: "property"
1546
+ class: "property inDistribution"
1534
1547
  },
1535
1548
  packageFormat: {
1536
1549
  identifier: "packageFormat",
1537
1550
  $formkit: "auto",
1538
1551
  voc: "iana-media-types",
1539
1552
  name: "dcat:packageFormat",
1540
- class: "property"
1553
+ class: "property inDistribution"
1541
1554
  },
1542
1555
  page: {
1543
1556
  identifier: "page",
1544
1557
  $formkit: "repeatable",
1545
1558
  name: "foaf:page",
1546
- class: "property",
1559
+ class: "property inDistribution",
1547
1560
  children: [
1548
1561
  {
1549
1562
  identifier: "page",
@@ -1619,7 +1632,7 @@ const t = {
1619
1632
  identifier: "pageFormat",
1620
1633
  voc: "file-type",
1621
1634
  name: "dct:format",
1622
- class: "property",
1635
+ class: "property inDistribution",
1623
1636
  classes: {
1624
1637
  outer: "w88-textfield"
1625
1638
  }
@@ -1629,7 +1642,7 @@ const t = {
1629
1642
  $formkit: "url",
1630
1643
  name: "@id",
1631
1644
  validation: "optional|url",
1632
- class: "property"
1645
+ class: "property inDistribution"
1633
1646
  }
1634
1647
  ]
1635
1648
  }
@@ -1641,13 +1654,13 @@ const t = {
1641
1654
  multiple: !0,
1642
1655
  name: "dct:language",
1643
1656
  voc: "language",
1644
- class: "property"
1657
+ class: "property inDistribution"
1645
1658
  },
1646
1659
  conformsTo: {
1647
1660
  identifier: "conformsTo",
1648
1661
  $formkit: "repeatable",
1649
1662
  name: "dct:conformsTo",
1650
- class: "property",
1663
+ class: "property inDistribution",
1651
1664
  children: [
1652
1665
  {
1653
1666
  identifier: "conformsTo",
@@ -1679,6 +1692,7 @@ const t = {
1679
1692
  identifier: "issued",
1680
1693
  $formkit: "formkitGroup",
1681
1694
  name: "dct:issued",
1695
+ class: "property inDistribution",
1682
1696
  children: [
1683
1697
  {
1684
1698
  identifier: "issued",
@@ -1699,6 +1713,7 @@ const t = {
1699
1713
  identifier: "modified",
1700
1714
  $formkit: "formkitGroup",
1701
1715
  name: "dct:modified",
1716
+ class: "property inDistribution",
1702
1717
  children: [
1703
1718
  {
1704
1719
  identifier: "modified",
@@ -1716,47 +1731,25 @@ const t = {
1716
1731
  },
1717
1732
  rights: {
1718
1733
  identifier: "rights",
1719
- $formkit: "group",
1734
+ id: "rightsCondDataset",
1735
+ $formkit: "simpleConditional",
1720
1736
  name: "dct:rights",
1721
- children: [
1722
- {
1723
- identifier: "rights",
1724
- id: "rightsCondDataset",
1725
- $formkit: "select",
1726
- name: "@type",
1727
- options: { url: "Provide URL", text: "Provide a text" }
1728
- },
1729
- {
1730
- identifier: "rights",
1731
- $cmp: "FormKit",
1732
- if: "$get(rightsCondDataset).value",
1733
- props: {
1734
- if: "$get(rightsCondDataset).value === url",
1735
- then: {
1736
- type: "url",
1737
- name: "rdfs:value"
1738
- },
1739
- else: {
1740
- type: "text",
1741
- name: "rdfs:value"
1742
- }
1743
- }
1744
- }
1745
- ]
1737
+ class: "property inDistribution",
1738
+ options: { url: "rdfs:label", text: "rdfs:label" },
1739
+ selection: { 1: "URL", 2: "Text" }
1746
1740
  },
1747
1741
  spatialResolutionInMeters: {
1748
1742
  identifier: "spatialResolutionInMeters",
1749
- $formkit: "number",
1743
+ $formkit: "simpleInput",
1750
1744
  name: "dcat:spatialResolutionInMeters",
1751
- class: "property",
1752
- validation: "number",
1753
- classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
1745
+ class: "property inDistribution",
1746
+ validationType: "number"
1754
1747
  },
1755
1748
  temporalResolution: {
1756
1749
  identifier: "temporalResolution",
1757
1750
  $formkit: "formkitGroup",
1758
1751
  name: "dcat:temporalResolution",
1759
- class: "property tempResWrapper",
1752
+ class: "property inDistribution tempResWrapper",
1760
1753
  children: [
1761
1754
  {
1762
1755
  identifier: "temporalResolutionYear",
@@ -1807,19 +1800,20 @@ const t = {
1807
1800
  $formkit: "auto",
1808
1801
  voc: "distribution-type",
1809
1802
  name: "dct:type",
1810
- class: "property"
1803
+ class: "property inDistribution"
1811
1804
  },
1812
1805
  status: {
1813
1806
  identifier: "status",
1814
1807
  $formkit: "auto",
1815
1808
  voc: "dataset-status",
1816
1809
  name: "adms:status",
1817
- class: "property"
1810
+ class: "property inDistribution"
1818
1811
  },
1819
1812
  hasPolicy: {
1820
1813
  identifier: "hasPolicy",
1821
1814
  $formkit: "repeatable",
1822
1815
  name: "odrl:hasPolicy",
1816
+ class: "property inDistribution",
1823
1817
  children: [
1824
1818
  {
1825
1819
  identifier: "hasPolicy",
@@ -1845,7 +1839,7 @@ const t = {
1845
1839
  identifier: "availabilityCatDE",
1846
1840
  $formkit: "auto",
1847
1841
  name: "dcatap:availability",
1848
- class: "property",
1842
+ class: "property inDistribution",
1849
1843
  voc: "planned-availability"
1850
1844
  },
1851
1845
  overview: {
@@ -1944,6 +1938,7 @@ const t = {
1944
1938
  language: {
1945
1939
  identifier: "language",
1946
1940
  $formkit: "auto",
1941
+ class: "",
1947
1942
  multiple: !0,
1948
1943
  name: "dct:language",
1949
1944
  voc: "language",
@@ -1954,13 +1949,15 @@ const t = {
1954
1949
  name: "dct:license",
1955
1950
  identifier: "licence",
1956
1951
  voc: "licence",
1952
+ class: "",
1957
1953
  options: { text: "dct:title", textarea: "skos:prefLabel", url: "skos:exactMatch" },
1958
- selection: { 1: "Vocabulary", 2: "Manually" }
1954
+ selection: { 1: "vocabulary", 2: "manually" }
1959
1955
  },
1960
1956
  spatial: {
1961
1957
  identifier: "spatial",
1962
1958
  $formkit: "repeatable",
1963
1959
  name: "dct:spatial",
1960
+ class: "",
1964
1961
  children: [
1965
1962
  {
1966
1963
  $formkit: "spatialinput",
@@ -1973,12 +1970,14 @@ const t = {
1973
1970
  identifier: "homepage",
1974
1971
  $formkit: "simpleInput",
1975
1972
  name: "foaf:homepage",
1976
- validation: "optional|url"
1973
+ validation: "optional|url",
1974
+ class: ""
1977
1975
  },
1978
1976
  hasPart: {
1979
1977
  identifier: "hasPart",
1980
1978
  $formkit: "repeatable",
1981
1979
  name: "dct:hasPart",
1980
+ class: "",
1982
1981
  children: [
1983
1982
  {
1984
1983
  $formkit: "group",
@@ -2002,14 +2001,16 @@ const t = {
2002
2001
  identifier: "isPartOf",
2003
2002
  $formkit: "simpleInput",
2004
2003
  name: "dct:isPartOf",
2005
- validationType: "url"
2004
+ validationType: "url",
2005
+ class: ""
2006
2006
  },
2007
2007
  rights: {
2008
2008
  identifier: "rights",
2009
2009
  $formkit: "simpleConditional",
2010
2010
  name: "dct:rights",
2011
+ class: "",
2011
2012
  options: { url: "rdfs:label", text: "rdfs:label" },
2012
- selection: { 1: "URL", 2: "Text" }
2013
+ selection: { 1: "URL", 2: "text" }
2013
2014
  // children: [
2014
2015
  // {
2015
2016
  // identifier: 'rights',
@@ -2042,6 +2043,7 @@ const t = {
2042
2043
  identifier: "catalog",
2043
2044
  $formkit: "repeatable",
2044
2045
  name: "dcat:catalog",
2046
+ class: "inDistribution",
2045
2047
  children: [
2046
2048
  {
2047
2049
  $formkit: "group",
@@ -2065,6 +2067,7 @@ const t = {
2065
2067
  identifier: "creator",
2066
2068
  $formkit: "formkitGroup",
2067
2069
  name: "dct:creator",
2070
+ class: "inDistribution",
2068
2071
  children: [
2069
2072
  {
2070
2073
  identifier: "creatorType",