@lblod/ember-rdfa-editor-lblod-plugins 11.2.0 → 12.0.0

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 (54) hide show
  1. package/.changeset/README.md +8 -0
  2. package/.changeset/config.json +11 -0
  3. package/.release-it.json +5 -8
  4. package/.woodpecker/.changeset.yml +9 -0
  5. package/.woodpecker/.test.yml +0 -8
  6. package/CHANGELOG.md +277 -111
  7. package/README.md +14 -12
  8. package/addon/components/citation-plugin/citation-card.ts +23 -19
  9. package/addon/components/citation-plugin/citation-insert.hbs +0 -1
  10. package/addon/components/citation-plugin/citation-insert.ts +5 -7
  11. package/addon/components/citation-plugin/citations/decision-detail.ts +4 -5
  12. package/addon/components/citation-plugin/citations/decision-preview.hbs +61 -15
  13. package/addon/components/citation-plugin/citations/decision-preview.ts +19 -0
  14. package/addon/components/citation-plugin/citations/search-modal.hbs +49 -47
  15. package/addon/components/citation-plugin/citations/search-modal.ts +29 -18
  16. package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.ts +1 -1
  17. package/addon/components/variable-plugin/address/edit.ts +1 -1
  18. package/addon/components/variable-plugin/codelist/insert.ts +1 -1
  19. package/addon/components/variable-plugin/insert-variable-card.ts +1 -1
  20. package/addon/components/variable-plugin/location/insert.ts +1 -1
  21. package/addon/components/variable-plugin/number/nodeview.hbs +6 -7
  22. package/addon/components/variable-plugin/number/nodeview.ts +1 -58
  23. package/addon/helpers/capitalize.ts +6 -0
  24. package/addon/plugins/citation-plugin/index.ts +8 -2
  25. package/addon/plugins/citation-plugin/utils/article.ts +193 -0
  26. package/addon/plugins/citation-plugin/utils/cache.ts +7 -0
  27. package/addon/plugins/citation-plugin/utils/legal-documents.ts +133 -0
  28. package/addon/plugins/citation-plugin/utils/process-match.ts +60 -44
  29. package/addon/plugins/citation-plugin/utils/public-decisions.ts +228 -0
  30. package/addon/plugins/citation-plugin/utils/{legislation-types.ts → types.ts} +24 -18
  31. package/addon/plugins/citation-plugin/utils/utils.ts +14 -0
  32. package/addon/plugins/citation-plugin/utils/vlaamse-codex.ts +29 -390
  33. package/addon/utils/strings.ts +6 -0
  34. package/app/helpers/capitalize.js +4 -0
  35. package/components/citation-plugin/citation-card.d.ts +11 -14
  36. package/components/citation-plugin/citation-insert.d.ts +4 -3
  37. package/components/citation-plugin/citations/decision-detail.d.ts +3 -3
  38. package/components/citation-plugin/citations/decision-preview.d.ts +10 -0
  39. package/components/citation-plugin/citations/search-modal.d.ts +15 -16
  40. package/components/variable-plugin/number/nodeview.d.ts +0 -7
  41. package/helpers/capitalize.d.ts +8 -0
  42. package/package.json +8 -7
  43. package/plugins/citation-plugin/index.d.ts +2 -1
  44. package/plugins/citation-plugin/utils/article.d.ts +29 -0
  45. package/plugins/citation-plugin/utils/cache.d.ts +1 -0
  46. package/plugins/citation-plugin/utils/legal-documents.d.ts +48 -0
  47. package/plugins/citation-plugin/utils/public-decisions.d.ts +8 -0
  48. package/plugins/citation-plugin/utils/types.d.ts +28 -0
  49. package/plugins/citation-plugin/utils/utils.d.ts +1 -0
  50. package/plugins/citation-plugin/utils/vlaamse-codex.d.ts +7 -69
  51. package/translations/en-US.yaml +4 -1
  52. package/translations/nl-BE.yaml +4 -0
  53. package/utils/strings.d.ts +1 -0
  54. package/plugins/citation-plugin/utils/legislation-types.d.ts +0 -24
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
3
+ "changelog": ["@changesets/changelog-github", {"repo": "lblod/ember-rdfa-editor-lblod-plugins"}],
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "restricted",
8
+ "baseBranch": "master",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
package/.release-it.json CHANGED
@@ -3,14 +3,11 @@
3
3
  "release": true
4
4
  },
5
5
  "plugins": {
6
- "@release-it/keep-a-changelog": {
7
- "filename": "CHANGELOG.md",
8
- "addUnreleased": true,
9
- "strictLatest": false,
10
- "addVersionUrl": true
11
- }
6
+ "changesets-release-it-plugin": {}
12
7
  },
13
8
  "npm": {
14
- "publish": false
9
+ "publish": false,
10
+ "ignoreVersion": true,
11
+ "allowSameVersion": true
15
12
  }
16
- }
13
+ }
@@ -0,0 +1,9 @@
1
+ steps:
2
+ changelog:
3
+ image: danlynn/ember-cli:4.8.0
4
+ commands:
5
+ - git fetch origin master
6
+ - git diff -wb --name-only origin/master..HEAD | grep "\.changeset/.*\.md"
7
+ when:
8
+ event: pull_request
9
+ evaluate: 'not (CI_COMMIT_PULL_REQUEST_LABELS contains "dependabot")'
@@ -1,12 +1,4 @@
1
1
  steps:
2
- changelog:
3
- image: danlynn/ember-cli:4.8.0
4
- commands:
5
- - git fetch origin master
6
- - git diff -wb --name-only origin/master..HEAD | grep CHANGELOG.md
7
- when:
8
- event: pull_request
9
- evaluate: 'not (CI_COMMIT_PULL_REQUEST_LABELS contains "dependabot")'
10
2
  install:
11
3
  image: danlynn/ember-cli:4.8.0
12
4
  commands: