@lblod/ember-rdfa-editor-lblod-plugins 35.5.0 → 35.6.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,11 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 35.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#652](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/652) [`6a75255`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/6a752557f1e36010629ba8d2f366739a42e063ed) Thanks [@lagartoverde](https://github.com/lagartoverde)! - Allow to modify render in place for besluit topic select
|
|
8
|
+
|
|
3
9
|
## 35.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
2
|
<div ...attributes>
|
|
3
3
|
<PowerSelectMultiple
|
|
4
|
-
@renderInPlace={{true}}
|
|
5
4
|
@searchEnabled={{true}}
|
|
6
5
|
@searchMessage={{t 'besluit-topic-plugin.search-message'}}
|
|
7
6
|
@noMatchesMessage={{t 'besluit-topic-plugin.no-matches-message'}}
|
|
@@ -9,6 +8,7 @@
|
|
|
9
8
|
@options={{this.besluitTopics}}
|
|
10
9
|
@selected={{@selected}}
|
|
11
10
|
@onChange={{@onchange}}
|
|
11
|
+
@renderInPlace={{this.renderInPlace}}
|
|
12
12
|
as |besluitTopic|
|
|
13
13
|
>
|
|
14
14
|
{{besluitTopic.label}}
|
|
@@ -8,6 +8,7 @@ type Args = {
|
|
|
8
8
|
besluitTopics: BesluitTopic[];
|
|
9
9
|
selected?: BesluitTopic[];
|
|
10
10
|
onchange: (topic: BesluitTopic[]) => void;
|
|
11
|
+
renderInPlace?: boolean;
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
export default class BesluitTopicSelectComponent extends Component<Args> {
|
|
@@ -31,4 +32,8 @@ export default class BesluitTopicSelectComponent extends Component<Args> {
|
|
|
31
32
|
besluitTopic.label.toLowerCase().includes(lowerTerm),
|
|
32
33
|
);
|
|
33
34
|
}
|
|
35
|
+
get renderInPlace() {
|
|
36
|
+
if (this.args.renderInPlace === false) return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
34
39
|
}
|
|
@@ -4,11 +4,13 @@ type Args = {
|
|
|
4
4
|
besluitTopics: BesluitTopic[];
|
|
5
5
|
selected?: BesluitTopic[];
|
|
6
6
|
onchange: (topic: BesluitTopic[]) => void;
|
|
7
|
+
renderInPlace?: boolean;
|
|
7
8
|
};
|
|
8
9
|
export default class BesluitTopicSelectComponent extends Component<Args> {
|
|
9
10
|
AlertTriangleIcon: import("@ember/component/template-only").TOC<import("@appuniversum/ember-appuniversum/components/icons/alert-triangle").AlertTriangleIconSignature>;
|
|
10
11
|
besluitTopics: BesluitTopic[];
|
|
11
12
|
constructor(parent: unknown, args: Args);
|
|
12
13
|
search(term: string): BesluitTopic[];
|
|
14
|
+
get renderInPlace(): boolean;
|
|
13
15
|
}
|
|
14
16
|
export {};
|