@lblod/ember-rdfa-editor-lblod-plugins 7.0.0 → 8.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 (43) hide show
  1. package/CHANGELOG.md +35 -2
  2. package/README.md +34 -10
  3. package/addon/components/decision-plugin/decision-plugin-card.hbs +22 -6
  4. package/addon/components/decision-plugin/decision-plugin-card.ts +37 -18
  5. package/addon/components/generic-rdfa-variable/insert-menu.hbs +30 -0
  6. package/addon/components/generic-rdfa-variable/insert-menu.ts +97 -0
  7. package/addon/components/rdfa-date-plugin/date.hbs +9 -0
  8. package/addon/components/rdfa-date-plugin/date.ts +55 -0
  9. package/addon/components/variable-plugin/insert-variable-card.hbs +19 -0
  10. package/addon/components/variable-plugin/insert-variable-card.ts +26 -5
  11. package/addon/components/variable-plugin/number-settings.hbs +31 -0
  12. package/addon/components/variable-plugin/template-variable-card.hbs +3 -0
  13. package/addon/components/variable-plugin/template-variable-card.ts +3 -0
  14. package/addon/components/variable-plugin/variable.hbs +7 -1
  15. package/addon/components/variable-plugin/variable.ts +39 -0
  16. package/addon/plugins/decision-plugin/commands/insert-motivation.ts +59 -6
  17. package/addon/plugins/decision-plugin/utils/validation-rules.ts +11 -0
  18. package/addon/plugins/rdfa-date-plugin/nodes/date.ts +150 -114
  19. package/addon/plugins/validation/README.md +1 -1
  20. package/addon/plugins/validation/index.ts +2 -17
  21. package/addon/plugins/variable-plugin/nodes.ts +68 -3
  22. package/addon/plugins/variable-plugin/utils/constants.ts +29 -15
  23. package/addon/plugins/variable-plugin/utils/fetch-data.ts +9 -5
  24. package/app/components/generic-rdfa-variable/insert-menu.js +1 -0
  25. package/app/components/rdfa-date-plugin/date.js +1 -0
  26. package/app/components/variable-plugin/number-settings.js +1 -0
  27. package/app/styles/besluit-plugin.scss +1 -1
  28. package/app/styles/generic-rdfa-variable.scss +20 -0
  29. package/app/styles/variable-plugin.scss +31 -0
  30. package/components/decision-plugin/decision-plugin-card.d.ts +4 -2
  31. package/components/generic-rdfa-variable/insert-menu.d.ts +17 -0
  32. package/components/rdfa-date-plugin/date.d.ts +16 -0
  33. package/components/variable-plugin/insert-variable-card.d.ts +4 -0
  34. package/components/variable-plugin/template-variable-card.d.ts +1 -0
  35. package/components/variable-plugin/variable.d.ts +11 -0
  36. package/package.json +8 -4
  37. package/plugins/decision-plugin/commands/insert-motivation.d.ts +3 -2
  38. package/plugins/decision-plugin/utils/validation-rules.d.ts +10 -0
  39. package/plugins/rdfa-date-plugin/nodes/date.d.ts +2 -3
  40. package/plugins/variable-plugin/nodes.d.ts +22 -1
  41. package/plugins/variable-plugin/utils/constants.d.ts +11 -2
  42. package/translations/en-US.yaml +29 -1
  43. package/translations/nl-BE.yaml +29 -1
@@ -1,4 +1,4 @@
1
- import { PNode, Schema } from '@lblod/ember-rdfa-editor';
1
+ import { Attrs, PNode, Schema } from '@lblod/ember-rdfa-editor';
2
2
  import { CodeList, fetchCodeListsByPublisher } from './fetch-data';
3
3
  import { v4 as uuidv4 } from 'uuid';
4
4
  import { XSD } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/constants';
@@ -10,17 +10,18 @@ export const MULTI_SELECT_CODELIST_TYPE =
10
10
  export type VariableType = {
11
11
  label: string;
12
12
  fetchSubtypes?: (endpoint: string, publisher: string) => Promise<CodeList[]>;
13
- constructor: (
14
- schema: Schema,
15
- endpoint?: string,
16
- selectedCodelist?: CodeList
17
- ) => PNode;
13
+ constructor: (props: {
14
+ schema: Schema;
15
+ label?: string;
16
+ attributes?: Attrs;
17
+ codelist?: CodeList;
18
+ }) => PNode;
18
19
  };
19
20
 
20
21
  export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
21
22
  text: {
22
23
  label: 'text',
23
- constructor: (schema) => {
24
+ constructor: ({ schema, label = 'text' }) => {
24
25
  const mappingURI = `http://data.lblod.info/mappings/${uuidv4()}`;
25
26
  const variableInstance = `http://data.lblod.info/variables/${uuidv4()}`;
26
27
  return schema.node(
@@ -29,6 +30,7 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
29
30
  mappingResource: mappingURI,
30
31
  variableInstance,
31
32
  type: 'text',
33
+ label,
32
34
  },
33
35
  schema.node('placeholder', { placeholderText: 'text' })
34
36
  );
@@ -36,9 +38,10 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
36
38
  },
37
39
  number: {
38
40
  label: 'number',
39
- constructor: (schema) => {
41
+ constructor: ({ schema, attributes, label = 'number' }) => {
40
42
  const mappingURI = `http://data.lblod.info/mappings/${uuidv4()}`;
41
43
  const variableInstance = `http://data.lblod.info/variables/${uuidv4()}`;
44
+
42
45
  return schema.node(
43
46
  'variable',
44
47
  {
@@ -46,6 +49,8 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
46
49
  variableInstance,
47
50
  type: 'number',
48
51
  datatype: XSD('integer').prefixed,
52
+ label,
53
+ ...attributes,
49
54
  },
50
55
  schema.node('placeholder', { placeholderText: 'number' })
51
56
  );
@@ -53,18 +58,19 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
53
58
  },
54
59
  date: {
55
60
  label: 'date',
56
- constructor: (schema) => {
61
+ constructor: ({ schema, label = 'date' }) => {
57
62
  return unwrap(
58
63
  schema.nodes.date.createAndFill({
59
64
  mappingResource: `http://data.lblod.info/mappings/${uuidv4()}`,
60
65
  value: null,
66
+ label,
61
67
  })
62
68
  );
63
69
  },
64
70
  },
65
71
  location: {
66
72
  label: 'location',
67
- constructor: (schema, endpoint) => {
73
+ constructor: ({ schema, attributes, label = 'location' }) => {
68
74
  const mappingURI = `http://data.lblod.info/mappings/${uuidv4()}`;
69
75
  const variableInstance = `http://data.lblod.info/variables/${uuidv4()}`;
70
76
  return schema.node(
@@ -73,7 +79,8 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
73
79
  type: 'location',
74
80
  mappingResource: mappingURI,
75
81
  variableInstance,
76
- source: endpoint,
82
+ label,
83
+ ...attributes,
77
84
  },
78
85
  schema.node('placeholder', {
79
86
  placeholderText: 'location',
@@ -87,7 +94,7 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
87
94
  const codelists = fetchCodeListsByPublisher(endpoint, publisher);
88
95
  return codelists;
89
96
  },
90
- constructor: (schema, endpoint, selectedCodelist?: CodeList) => {
97
+ constructor: ({ schema, attributes, codelist, label }) => {
91
98
  const mappingURI = `http://data.lblod.info/mappings/${uuidv4()}`;
92
99
  const variableInstance = `http://data.lblod.info/variables/${uuidv4()}`;
93
100
  return schema.node(
@@ -95,14 +102,21 @@ export const DEFAULT_VARIABLE_TYPES: Record<string, VariableType> = {
95
102
  {
96
103
  type: 'codelist',
97
104
  mappingResource: mappingURI,
98
- codelistResource: selectedCodelist?.uri,
105
+ codelistResource: codelist?.uri,
99
106
  variableInstance,
100
- source: endpoint,
107
+ label: label ?? codelist?.label,
108
+ ...attributes,
101
109
  },
102
110
  schema.node('placeholder', {
103
- placeholderText: selectedCodelist?.label ?? '',
111
+ placeholderText: codelist?.label,
104
112
  })
105
113
  );
106
114
  },
107
115
  },
108
116
  };
117
+
118
+ export const MINIMUM_VALUE_PNODE_KEY = 'minimumValue';
119
+ export const MAXIMUM_VALUE_PNODE_KEY = 'maximumValue';
120
+
121
+ export const MINIMUM_VALUE_HTML_ATTRIBUTE_KEY = 'data-minimum-value';
122
+ export const MAXIMUM_VALUE_HTML_ATTRIBUTE_KEY = 'data-maximum-value';
@@ -15,20 +15,24 @@ export type CodeListOption = {
15
15
 
16
16
  function generateCodeListOptionsQuery(codelistUri: string): string {
17
17
  const codeListOptionsQuery = `
18
- PREFIX lblodMobilitiet: <http://data.lblod.info/vocabularies/mobiliteit/>
18
+ PREFIX lblodMobiliteit: <http://data.lblod.info/vocabularies/mobiliteit/>
19
19
  PREFIX dct: <http://purl.org/dc/terms/>
20
20
  PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
21
21
  PREFIX schema: <http://schema.org/>
22
+ PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
22
23
  SELECT DISTINCT * WHERE {
23
- <${codelistUri}> a lblodMobilitiet:Codelist.
24
+ <${codelistUri}> a lblodMobiliteit:Codelist.
24
25
  ?codelistOptions skos:inScheme <${codelistUri}>.
25
- ?codelistOptions skos:prefLabel ?label.
26
+ ?codelistOptions skos:prefLabel ?value.
26
27
  OPTIONAL {
27
28
  ?codelistOptions schema:position ?position .
28
29
  }
29
30
  OPTIONAL {
30
31
  <${codelistUri}> dct:type ?type.
31
32
  }
33
+ OPTIONAL {
34
+ ?codelistOptions ext:summary ?label.
35
+ }
32
36
  }
33
37
  ORDER BY (!BOUND(?position)) ASC(?position)
34
38
  `;
@@ -56,8 +60,8 @@ export async function fetchCodeListOptions(
56
60
  function parseCodelistOptions(queryResult: QueryResult): CodeListOption[] {
57
61
  const bindings = queryResult.results.bindings;
58
62
  return bindings.map((binding) => ({
59
- value: binding['label']?.value,
60
- label: binding['label']?.value,
63
+ value: binding['value']?.value,
64
+ label: binding['label'] ? binding['label'].value : binding['value']?.value,
61
65
  }));
62
66
  }
63
67
 
@@ -0,0 +1 @@
1
+ export { default } from '@lblod/ember-rdfa-editor-lblod-plugins/components/generic-rdfa-variable/insert-menu';
@@ -0,0 +1 @@
1
+ export { default } from '@lblod/ember-rdfa-editor-lblod-plugins/components/rdfa-date-plugin/date';
@@ -0,0 +1 @@
1
+ export { default } from '@lblod/ember-rdfa-editor-lblod-plugins/components/variable-plugin/number-settings';
@@ -1,4 +1,4 @@
1
- .title-alert .au-c-button {
1
+ .validation-alert .au-c-button {
2
2
  padding: 0;
3
3
  }
4
4
 
@@ -0,0 +1,20 @@
1
+ .generic-rdfa-variable-textarea-wrapper {
2
+ width: 100%;
3
+ height: 100%;
4
+ min-height: 150px;
5
+ display: flex;
6
+
7
+ overflow: visible;
8
+
9
+ .cm-editor {
10
+ width: 100%;
11
+ }
12
+ }
13
+
14
+ .generic-rdfa-plugin-modal {
15
+ overflow: visible;
16
+
17
+ .au-c-modal__body {
18
+ overflow: visible;
19
+ }
20
+ }
@@ -55,6 +55,15 @@
55
55
  word-wrap: break-word;
56
56
  outline: 0px;
57
57
  }
58
+ .label {
59
+ font-size: var(--au-base);
60
+ color: var(--au-blue-700);
61
+ user-select: none;
62
+ margin: 0.5rem;
63
+ }
64
+ .au-c-icon {
65
+ margin: 0;
66
+ }
58
67
  }
59
68
  }
60
69
 
@@ -68,3 +77,25 @@
68
77
  }
69
78
  }
70
79
  }
80
+
81
+ .number-settings {
82
+ display: grid;
83
+ grid-template-columns: repeat(3, 1fr);
84
+ grid-template-rows: 1fr;
85
+
86
+ .to {
87
+ display: flex;
88
+ justify-content: center;
89
+ color: var(--au-gray-900);
90
+
91
+ span {
92
+ position: relative;
93
+ top: 33px;
94
+ }
95
+ }
96
+
97
+ // AuInput @type='number' overrides width to be 100px, we have to override it again
98
+ input[type='number'] {
99
+ width: 100%;
100
+ }
101
+ }
@@ -11,7 +11,9 @@ export default class DecisionPluginCard extends Component<Args> {
11
11
  intl: IntlService;
12
12
  get controller(): SayController;
13
13
  focus(): void;
14
- insertTitle(): void;
15
- get canInsertTitle(): boolean;
14
+ insertMotivation(): void;
15
+ get canInsertMotivation(): boolean;
16
+ insertArticleBlock(): void;
17
+ get missingArticleBlock(): boolean;
16
18
  }
17
19
  export {};
@@ -0,0 +1,17 @@
1
+ import Component from '@glimmer/component';
2
+ import { SayController } from '@lblod/ember-rdfa-editor';
3
+ type Args = {
4
+ controller: SayController;
5
+ };
6
+ export default class GenericRdfaVariableInsertMenu extends Component<Args> {
7
+ modalOpen: boolean;
8
+ private htmlEditor?;
9
+ get controller(): SayController;
10
+ get schema(): import("prosemirror-model").Schema<any, any>;
11
+ showModal(): void;
12
+ closeModal(): void;
13
+ onCancel(): void;
14
+ setupHtmlEditor(element: HTMLElement): void;
15
+ onInsert(): void;
16
+ }
17
+ export {};
@@ -0,0 +1,16 @@
1
+ import Component from '@glimmer/component';
2
+ import { DecorationSource, PNode, SayController, SayView } from '@lblod/ember-rdfa-editor';
3
+ type Args = {
4
+ getPos: () => number | undefined;
5
+ node: PNode;
6
+ updateAttribute: (attr: string, value: unknown) => void;
7
+ controller: SayController;
8
+ view: SayView;
9
+ selected: boolean;
10
+ contentDecorations?: DecorationSource;
11
+ };
12
+ export default class VariableComponent extends Component<Args> {
13
+ onClick(): void;
14
+ get humanReadableDate(): string;
15
+ }
16
+ export {};
@@ -16,14 +16,18 @@ export default class EditorPluginsInsertCodelistCardComponent extends Component<
16
16
  hasSubtype: boolean;
17
17
  selectedSubtype?: CodeList;
18
18
  subtypes?: CodeList[];
19
+ variableLabel?: string;
20
+ extraAttributes: Record<string, unknown>;
19
21
  publisher: string;
20
22
  endpoint: string;
21
23
  constructor(parent: unknown, args: Args);
22
24
  get controller(): SayController;
25
+ updateVariableLabel(event: InputEvent): void;
23
26
  insert(): void;
24
27
  updateSelectedVariable(variable: VariableType): void;
25
28
  fetchSubtypes: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, (fetchFunction: (endpoint: string, publisher: string) => Promise<CodeList[]>) => Promise<void>>;
26
29
  updateSubtype(subtype: CodeList): void;
30
+ get type(): string | undefined;
27
31
  get showCard(): boolean;
28
32
  }
29
33
  export {};
@@ -16,6 +16,7 @@ export default class EditorPluginsTemplateVariableCardComponent extends Componen
16
16
  } | undefined;
17
17
  showCard: boolean;
18
18
  multiSelect: boolean;
19
+ label?: string;
19
20
  mappingUri?: string;
20
21
  get controller(): SayController;
21
22
  insert(): void;
@@ -0,0 +1,11 @@
1
+ import Component from '@glimmer/component';
2
+ import { SayController, SayView } from '@lblod/ember-rdfa-editor';
3
+ type Args = {
4
+ controller: SayController;
5
+ };
6
+ export default class VariableComponent extends Component<Args> {
7
+ innerView?: SayView;
8
+ onClick(): void;
9
+ initEditor(view: SayView): void;
10
+ }
11
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lblod/ember-rdfa-editor-lblod-plugins",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -30,6 +30,9 @@
30
30
  "postpack": "ember ts:clean"
31
31
  },
32
32
  "dependencies": {
33
+ "@codemirror/lang-html": "^6.4.3",
34
+ "@codemirror/state": "^6.2.1",
35
+ "@codemirror/view": "^6.12.0",
33
36
  "@curvenote/prosemirror-utils": "^1.0.5",
34
37
  "@lblod/marawa": "^0.8.0-beta.2",
35
38
  "@rdfjs/data-model": "^2.0.1",
@@ -38,6 +41,7 @@
38
41
  "@types/rdf-validate-shacl": "^0.4.0",
39
42
  "@types/rdfjs__parser-n3": "^1.1.5",
40
43
  "buffer": "^6.0.3",
44
+ "codemirror": "^6.0.1",
41
45
  "date-fns": "^2.29.3",
42
46
  "ember-auto-import": "^2.4.3",
43
47
  "ember-cli-babel": "^7.26.11",
@@ -54,6 +58,7 @@
54
58
  "rdf-validate-shacl": "^0.4.5",
55
59
  "stream-browserify": "^3.0.0",
56
60
  "tracked-built-ins": "^3.1.0",
61
+ "tracked-toolbox": "^1.2.3",
57
62
  "uuid": "^9.0.0"
58
63
  },
59
64
  "devDependencies": {
@@ -63,7 +68,7 @@
63
68
  "@embroider/test-setup": "^1.8.3",
64
69
  "@glimmer/component": "^1.1.2",
65
70
  "@glimmer/tracking": "^1.1.2",
66
- "@lblod/ember-rdfa-editor": "^3.7.0",
71
+ "@lblod/ember-rdfa-editor": "^3.8.0",
67
72
  "@rdfjs/types": "^1.1.0",
68
73
  "@release-it/keep-a-changelog": "^3.1.0",
69
74
  "@tsconfig/ember": "^1.0.1",
@@ -137,13 +142,12 @@
137
142
  "qunit-dom": "^2.0.0",
138
143
  "release-it": "^15.5.0",
139
144
  "sass": "^1.49.7",
140
- "tracked-toolbox": "^1.2.3",
141
145
  "typescript": "^4.9.3",
142
146
  "webpack": "^5.74.0"
143
147
  },
144
148
  "peerDependencies": {
145
149
  "@appuniversum/ember-appuniversum": "^2.4.2",
146
- "@lblod/ember-rdfa-editor": "^3.7.0",
150
+ "@lblod/ember-rdfa-editor": "^3.8.0",
147
151
  "ember-concurrency": "^2.3.7"
148
152
  },
149
153
  "engines": {
@@ -1,7 +1,8 @@
1
1
  import { Command } from '@lblod/ember-rdfa-editor';
2
+ import IntlService from 'ember-intl/services/intl';
2
3
  interface InsertMotivationArgs {
3
- placeholderText?: string;
4
+ intl: IntlService;
4
5
  validateShapes?: Set<string>;
5
6
  }
6
- export default function insertMotivation({ validateShapes, placeholderText, }?: InsertMotivationArgs): Command;
7
+ export default function insertMotivation({ intl, validateShapes, }: InsertMotivationArgs): Command;
7
8
  export {};
@@ -0,0 +1,10 @@
1
+ import { Schema } from '@lblod/ember-rdfa-editor';
2
+ export declare const atLeastOneArticleContainer: (schema: Schema) => {
3
+ name: string;
4
+ focusNodeType: import("prosemirror-model").NodeType;
5
+ path: string[];
6
+ message: string;
7
+ constraints: {
8
+ minCount: number;
9
+ };
10
+ };
@@ -1,4 +1,3 @@
1
- import { NodeSpec } from '@lblod/ember-rdfa-editor';
2
1
  import { DateOptions } from '..';
3
- declare const date: (options: DateOptions) => NodeSpec;
4
- export default date;
2
+ export declare const date: (options: DateOptions) => import("prosemirror-model").NodeSpec;
3
+ export declare const dateView: (options: DateOptions) => (controller: import("@lblod/ember-rdfa-editor").SayController) => import("prosemirror-view").NodeViewConstructor;
@@ -1,2 +1,23 @@
1
+ import { PNode } from '@lblod/ember-rdfa-editor';
2
+ export declare const getHTMLNodeExtraAttributes: ({ node, type, }: {
3
+ node: HTMLElement;
4
+ type: string;
5
+ }) => {
6
+ minimumValue: string | null;
7
+ maximumValue: string | null;
8
+ } | {
9
+ minimumValue?: undefined;
10
+ maximumValue?: undefined;
11
+ };
12
+ export declare const getPNodeExtraAttributes: ({ node, type, }: {
13
+ node: PNode;
14
+ type: string;
15
+ }) => {
16
+ "data-minimum-value": string;
17
+ "data-maximum-value": string;
18
+ } | {
19
+ "data-minimum-value"?: undefined;
20
+ "data-maximum-value"?: undefined;
21
+ };
1
22
  export declare const variable: import("prosemirror-model").NodeSpec;
2
- export declare const variableView: (controller: import("@lblod/ember-rdfa-editor/addon").SayController) => import("prosemirror-view").NodeViewConstructor;
23
+ export declare const variableView: (controller: import("@lblod/ember-rdfa-editor").SayController) => import("prosemirror-view").NodeViewConstructor;
@@ -1,9 +1,18 @@
1
- import { PNode, Schema } from '@lblod/ember-rdfa-editor';
1
+ import { Attrs, PNode, Schema } from '@lblod/ember-rdfa-editor';
2
2
  import { CodeList } from './fetch-data';
3
3
  export declare const MULTI_SELECT_CODELIST_TYPE = "http://lblod.data.gift/concepts/57C93E12-A02C-4D4B-8B95-666B6701286C";
4
4
  export type VariableType = {
5
5
  label: string;
6
6
  fetchSubtypes?: (endpoint: string, publisher: string) => Promise<CodeList[]>;
7
- constructor: (schema: Schema, endpoint?: string, selectedCodelist?: CodeList) => PNode;
7
+ constructor: (props: {
8
+ schema: Schema;
9
+ label?: string;
10
+ attributes?: Attrs;
11
+ codelist?: CodeList;
12
+ }) => PNode;
8
13
  };
9
14
  export declare const DEFAULT_VARIABLE_TYPES: Record<string, VariableType>;
15
+ export declare const MINIMUM_VALUE_PNODE_KEY = "minimumValue";
16
+ export declare const MAXIMUM_VALUE_PNODE_KEY = "maximumValue";
17
+ export declare const MINIMUM_VALUE_HTML_ATTRIBUTE_KEY = "data-minimum-value";
18
+ export declare const MAXIMUM_VALUE_HTML_ATTRIBUTE_KEY = "data-maximum-value";
@@ -114,11 +114,24 @@ besluit-type-plugin:
114
114
  error-rest-body: '. For more specific details about this problem, inspect the browser console.'
115
115
 
116
116
  besluit-plugin:
117
- missing-title-warning: This decision is missing a title
117
+ missing-title-warning: This decision is missing a title.
118
+ missing-motivation-warning: This decision is missing a motivation block, a decision without this block will be harder to parse by our system.
119
+ missing-article-block-warning: This decision is missing an article block, a decision without this block will be harder to parse by our system.
118
120
  insert:
119
121
  decision-title: Insert decision title
122
+ motivation: Insert motivation
123
+ article-block: Insert article block
120
124
  placeholder:
121
125
  decision-title: Insert decision title
126
+ government-body: specify governing body
127
+ legal-jurisdiction: Legal basis providing that body has jurisdiction.
128
+ insert-legal-context: Insert juridische context
129
+ insert-factual-context: Factual context and reasoning
130
+ insert-article: Insert article
131
+ text:
132
+ authority: Authority
133
+ legal-context: Legal context
134
+ factual-context: Factual context and reasoning
122
135
 
123
136
  date-plugin:
124
137
  help:
@@ -170,6 +183,14 @@ variable-plugin:
170
183
  insert-variable: Insert variable
171
184
  button: Insert
172
185
  enter-variable-value: Select value
186
+ label: Label
187
+ labelPlaceholder: Type something...
188
+ number:
189
+ minimum: Minimum
190
+ minimum-placeholder: minimum value
191
+ maximum: Maximum
192
+ maximum-placeholder: maximum value
193
+ to: to
173
194
  validation-plugin:
174
195
  default-fix-message: Resolve
175
196
 
@@ -190,3 +211,10 @@ address-plugin:
190
211
  dummy:
191
212
  validation-card:
192
213
  title: Document Validation
214
+
215
+ generic-rdfa-variable:
216
+ menu:
217
+ insert: Insert RDFA
218
+ modal:
219
+ insert: Insert
220
+ cancel: Cancel
@@ -117,11 +117,24 @@ besluit-type-plugin:
117
117
 
118
118
 
119
119
  besluit-plugin:
120
- missing-title-warning: Dit besluit heeft geen titel
120
+ missing-title-warning: Dit besluit heeft geen titel.
121
+ missing-motivation-warning: Dit besluit mist een motivatieblok, een besluit zonder dit blok zal moeilijker te ontleden zijn door ons systeem.
122
+ missing-article-block-warning: Deze besluit mist een artikelblok, een besluit zonder dit blok zal moeilijker te ontleden zijn door ons systeem.
121
123
  insert:
122
124
  decision-title: Voeg besluittitel in
125
+ motivation: Voeg motivatie in
126
+ article-block: Voeg artikelblok in
123
127
  placeholder:
124
128
  decision-title: Geef titel besluit op
129
+ government-body: geef bestuursorgaan op
130
+ legal-jurisdiction: Rechtsgrond die bepaalt dat dit orgaan bevoegd is.
131
+ insert-legal-context: Voeg juridische context in
132
+ insert-factual-context: Feitelijke context en argumentatie
133
+ insert-article: Artikel invoegen
134
+ text:
135
+ authority: Bevoegdheid
136
+ legal-context: Juridische context
137
+ factual-context: Feitelijke context en argumentatie
125
138
 
126
139
 
127
140
  date-plugin:
@@ -183,6 +196,14 @@ variable-plugin:
183
196
  insert-variable: Voeg variabele in
184
197
  button: Voeg in
185
198
  enter-variable-value: Selecteer waarde
199
+ label: Label
200
+ labelPlaceholder: Type iets...
201
+ number:
202
+ minimum: Minimum
203
+ minimum-placeholder: minimumwaarde
204
+ maximum: Maximum
205
+ maximum-placeholder: maximumwaarde
206
+ to: tot
186
207
 
187
208
  address-plugin:
188
209
  insert:
@@ -196,3 +217,10 @@ address-plugin:
196
217
  dummy:
197
218
  validation-card:
198
219
  title: Documentvalidatie
220
+
221
+ generic-rdfa-variable:
222
+ menu:
223
+ insert: RDFA invoegen
224
+ modal:
225
+ insert: Invoegen
226
+ cancel: Terug