@lblod/ember-rdfa-editor-lblod-plugins 39.2.0-dev.ca3050b4eb47b1a8885d85b6fb4d32f7bd234782 → 39.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @lblod/ember-rdfa-editor-lblod-plugins
2
2
 
3
+ ## 39.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#689](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/689) [`1a3a255`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/1a3a255089cfdc4b689d73de87065e7a803fa9ac) Thanks [@elpoelma](https://github.com/elpoelma)! - Introduce customizable `document-information-modal` component which contains decision-type and decision-topic selector. This component can be customized to contain additional form fields.
8
+
9
+ - [#689](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/689) [`3eeddf4`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/3eeddf439cec260402c88364649673e0141e69ee) Thanks [@elpoelma](https://github.com/elpoelma)! - Add besluit-target-group plugin which can be used through the `document-information` plugin
10
+
3
11
  ## 39.2.0
4
12
 
5
13
  ### Minor Changes
@@ -326,41 +326,43 @@ export default class DocumentInformationModal extends Component<Sig> {
326
326
  as |Modal|
327
327
  >
328
328
  <Modal.Body>
329
- {{yield
330
- (hash
331
- BesluitType=(component
332
- BesluitTypeField
333
- types=this.types.resolved
334
- selected=this.selectedTypeInstance
335
- onChange=this.stageTypeInstance
336
- isError=(toBool this.types.error)
337
- required=this.requireBesluitType
338
- renderInPlace=false
339
- disabled=(not this.hasBesluit)
329
+ <form class='au-c-form'>
330
+ {{yield
331
+ (hash
332
+ BesluitType=(component
333
+ BesluitTypeField
334
+ types=this.types.resolved
335
+ selected=this.selectedTypeInstance
336
+ onChange=this.stageTypeInstance
337
+ isError=(toBool this.types.error)
338
+ required=this.requireBesluitType
339
+ renderInPlace=false
340
+ disabled=(not this.hasBesluit)
341
+ )
342
+ BesluitTopic=(component
343
+ BesluitTopicField
344
+ topics=this.topics.resolved
345
+ selected=this.selectedTopics
346
+ onChange=this.stageBesluitTopics
347
+ isError=(toBool this.topics.error)
348
+ renderInPlace=false
349
+ disabled=(not this.hasBesluit)
350
+ )
351
+ BesluitTargetGroup=(component
352
+ BesluitTargetGroupField
353
+ targetGroups=this.targetGroups.resolved
354
+ selected=this.selectedTargetGroups
355
+ onChange=this.stageTargetGroups
356
+ isError=(toBool this.targetGroups.error)
357
+ renderInPlace=false
358
+ disabled=(not this.hasBesluit)
359
+ )
360
+ selectedTypeInstance=this.selectedTypeInstance
361
+ selectedTopics=this.selectedTopics
362
+ selectedTargetGroups=this.selectedTargetGroups
340
363
  )
341
- BesluitTopic=(component
342
- BesluitTopicField
343
- topics=this.topics.resolved
344
- selected=this.selectedTopics
345
- onChange=this.stageBesluitTopics
346
- isError=(toBool this.topics.error)
347
- renderInPlace=false
348
- disabled=(not this.hasBesluit)
349
- )
350
- BesluitTargetGroup=(component
351
- BesluitTargetGroupField
352
- targetGroups=this.targetGroups.resolved
353
- selected=this.selectedTargetGroups
354
- onChange=this.stageTargetGroups
355
- isError=(toBool this.targetGroups.error)
356
- renderInPlace=false
357
- disabled=(not this.hasBesluit)
358
- )
359
- selectedTypeInstance=this.selectedTypeInstance
360
- selectedTopics=this.selectedTopics
361
- selectedTargetGroups=this.selectedTargetGroups
362
- )
363
- }}
364
+ }}
365
+ </form>
364
366
  </Modal.Body>
365
367
  <Modal.Footer>
366
368
  <AuButton
@@ -51,6 +51,7 @@ export async function fetchBesluitTargetGroups({
51
51
  }: {
52
52
  config: BesluitTargetGroupQueryConfig;
53
53
  }): Promise<BesluitTargetGroup[]> {
54
+ // TODO: remove the hardcoded codelist once the codelist is available on centrale vindplaats
54
55
  return HARDCODED_TARGET_GROUPS;
55
56
  const targetGroups = await executeQuery<BindingObject<BesluitTargetGroup>>({
56
57
  query: QUERY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lblod/ember-rdfa-editor-lblod-plugins",
3
- "version": "39.2.0-dev.ca3050b4eb47b1a8885d85b6fb4d32f7bd234782",
3
+ "version": "39.3.0",
4
4
  "description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -1,5 +0,0 @@
1
- ---
2
- '@lblod/ember-rdfa-editor-lblod-plugins': minor
3
- ---
4
-
5
- Introduce customizable `document-information-modal` component which contains decision-type and decision-topic selector. This component can be customized to contain additional form fields.
@@ -1,5 +0,0 @@
1
- ---
2
- '@lblod/ember-rdfa-editor-lblod-plugins': minor
3
- ---
4
-
5
- Add besluit-target-group plugin which can be used through the `document-information` plugin