@lblod/ember-rdfa-editor-lblod-plugins 39.1.1 → 39.2.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 (35) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/addon/components/common/tags/collapsible-tag-list.gts +149 -0
  3. package/addon/components/common/tags/tag-selector.gts +117 -0
  4. package/addon/components/snippet-plugin/snippet-insert-placeholder.gts +10 -8
  5. package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.gts +278 -0
  6. package/addon/components/snippet-plugin/snippet-list/snippet-list-view.gts +130 -0
  7. package/addon/components/snippet-plugin/snippet-list-select.gts +10 -9
  8. package/addon/helpers/in-array.ts +3 -9
  9. package/addon/plugins/common/tags/queries.ts +64 -0
  10. package/addon/plugins/common/tags/types.ts +12 -0
  11. package/addon/plugins/location-plugin/_private/utils/location-helpers.ts +5 -1
  12. package/addon/plugins/snippet-plugin/index.ts +11 -1
  13. package/addon/plugins/snippet-plugin/utils/fetch-data.ts +48 -17
  14. package/addon/utils/get-ranked-pnodes.ts +26 -7
  15. package/app/components/common/tags/collapsible-tag-list.js +1 -0
  16. package/app/components/common/tags/tag-selector.js +1 -0
  17. package/app/styles/common/tags.scss +61 -0
  18. package/app/styles/snippet-plugin.scss +44 -1
  19. package/declarations/addon/components/common/tags/collapsible-tag-list.d.ts +26 -0
  20. package/declarations/addon/components/common/tags/tag-selector.d.ts +31 -0
  21. package/declarations/addon/components/snippet-plugin/snippet-list/snippet-list-modal.d.ts +6 -0
  22. package/declarations/addon/components/snippet-plugin/snippet-list/snippet-list-view.d.ts +12 -8
  23. package/declarations/addon/helpers/in-array.d.ts +1 -4
  24. package/declarations/addon/plugins/common/tags/queries.d.ts +12 -0
  25. package/declarations/addon/plugins/common/tags/types.d.ts +9 -0
  26. package/declarations/addon/plugins/snippet-plugin/index.d.ts +4 -1
  27. package/declarations/addon/plugins/snippet-plugin/utils/fetch-data.d.ts +7 -1
  28. package/declarations/addon/utils/get-ranked-pnodes.d.ts +10 -2
  29. package/package.json +1 -1
  30. package/translations/en-US.yaml +16 -4
  31. package/translations/nl-BE.yaml +16 -4
  32. package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.hbs +0 -63
  33. package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.ts +0 -111
  34. package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +0 -66
  35. package/addon/components/snippet-plugin/snippet-list/snippet-list-view.ts +0 -57
@@ -1,6 +1,7 @@
1
1
  import Component from '@glimmer/component';
2
2
  import { OrderBy } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin/utils/fetch-data';
3
3
  import { SnippetPluginConfig, SnippetList } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin';
4
+ import { TagWithUri } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/common/tags/types';
4
5
  interface Signature {
5
6
  Args: {
6
7
  config: SnippetPluginConfig;
@@ -13,16 +14,21 @@ interface Signature {
13
14
  }
14
15
  export default class SnippetListModalComponent extends Component<Signature> {
15
16
  nameFilterText: string | null;
17
+ selectedTags: TagWithUri[];
16
18
  sort: OrderBy;
17
19
  error: unknown;
18
20
  snippetListUris: string[];
19
21
  allowMultipleSnippets: boolean;
20
22
  handleMultipleSnippetsCheckbox(checked: boolean): void;
23
+ setNameFilterText: (event: Event) => void;
24
+ setSelectedTags: (tags: TagWithUri[]) => void;
25
+ resetFilters: () => void;
21
26
  get config(): SnippetPluginConfig;
22
27
  closeModal(): void;
23
28
  saveAndClose(): void;
24
29
  snippetListSearch: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, () => Promise<SnippetList[]>>;
25
30
  snippetListResource: import("reactiveweb/ember-concurrency").TaskInstance<SnippetList[]>;
31
+ tags: import("reactiveweb/function").State<Promise<TagWithUri[]>>;
26
32
  onChange(snippetListUris: string[]): void;
27
33
  }
28
34
  export {};
@@ -1,15 +1,19 @@
1
1
  import Component from '@glimmer/component';
2
2
  import { SnippetList } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin';
3
- interface Args {
4
- snippetLists: SnippetList[];
5
- snippetListUris: string[];
6
- listNameFilter: string | null;
7
- isLoading: boolean;
8
- onChange: (snippetListUris: string[]) => void;
3
+ import { OrderBy } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin/utils/fetch-data';
4
+ interface Signature {
5
+ Args: {
6
+ snippetLists?: SnippetList[] | null;
7
+ snippetListUris: string[];
8
+ listNameFilter: string | null;
9
+ isLoading: boolean;
10
+ onChange: (snippetListUris: string[]) => void;
11
+ sort: OrderBy;
12
+ };
9
13
  }
10
- export default class SnippetListViewComponent extends Component<Args> {
14
+ export default class SnippetListView extends Component<Signature> {
11
15
  onChange(snippetUri: string, isSelected: boolean): void;
12
16
  onClickRow(snippetList: SnippetList, event: Event): void;
13
- get snippetLists(): SnippetList[];
17
+ get snippetLists(): SnippetList[] | null | undefined;
14
18
  }
15
19
  export {};
@@ -1,4 +1 @@
1
- type PositionalParams = [array: unknown[], needle: unknown];
2
- export declare function inArray([theArray, needle]: PositionalParams): boolean;
3
- declare const _default: import("@ember/component/helper").FunctionBasedHelper<PositionalParams>;
4
- export default _default;
1
+ export default function inArray(arr: unknown[], needle: unknown): boolean;
@@ -0,0 +1,12 @@
1
+ import type { TaggableResourceType, TagWithUri } from './types';
2
+ import type { Option } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
3
+ type TagFilter = {
4
+ searchTerm?: Option<string>;
5
+ taggableTypes?: TaggableResourceType[];
6
+ };
7
+ export declare const fetchTags: ({ endpoint, abortSignal, filter, }: {
8
+ endpoint: string;
9
+ abortSignal?: AbortSignal;
10
+ filter: TagFilter;
11
+ }) => Promise<TagWithUri[]>;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ export type Tag = {
2
+ value: string;
3
+ };
4
+ export type TagWithUri = Tag & {
5
+ uri: string;
6
+ };
7
+ declare const SNIPPET_LIST_TYPE: "https://say.data.gift/ns/SnippetList";
8
+ export type TaggableResourceType = typeof SNIPPET_LIST_TYPE;
9
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { PreviewableDocument } from '@lblod/ember-rdfa-editor-lblod-plugins/components/common/documents/types';
2
2
  import { type Option } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
3
+ import type { Tag } from '../common/tags/types';
3
4
  export declare const DEFAULT_CONTENT_STRING = "block+";
4
5
  export type SnippetPluginConfig = {
5
6
  endpoint: string;
@@ -30,12 +31,14 @@ export type SnippetListArgs = {
30
31
  label: string;
31
32
  createdOn: string;
32
33
  importedResources: string[];
34
+ tags: Tag[];
33
35
  };
34
36
  export declare class SnippetList {
35
37
  uri: string;
36
38
  label: string;
37
39
  createdOn: string | null;
38
40
  importedResources: string[];
39
- constructor({ uri, label, createdOn, importedResources }: SnippetListArgs);
41
+ tags: Tag[];
42
+ constructor({ uri, label, createdOn, importedResources, tags, }: SnippetListArgs);
40
43
  }
41
44
  export {};
@@ -1,4 +1,5 @@
1
1
  import { Snippet, SnippetList } from '../index';
2
+ import type { TagWithUri } from '../../common/tags/types';
2
3
  export type SnippetFilter = {
3
4
  name?: string;
4
5
  snippetListUris?: string[];
@@ -8,6 +9,10 @@ export type Pagination = {
8
9
  pageNumber: number;
9
10
  pageSize: number;
10
11
  };
12
+ type SnippetListFilter = {
13
+ name?: string;
14
+ tags?: TagWithUri[];
15
+ };
11
16
  export declare const fetchSnippets: ({ endpoint, abortSignal, filter, pagination, }: {
12
17
  endpoint: string;
13
18
  abortSignal: AbortSignal;
@@ -20,7 +25,7 @@ export declare const fetchSnippets: ({ endpoint, abortSignal, filter, pagination
20
25
  export declare const fetchSnippetLists: ({ endpoint, abortSignal, filter, orderBy, }: {
21
26
  endpoint: string;
22
27
  abortSignal: AbortSignal;
23
- filter: SnippetFilter;
28
+ filter: SnippetListFilter;
24
29
  orderBy: OrderBy;
25
30
  }) => Promise<{
26
31
  results: SnippetList[];
@@ -30,3 +35,4 @@ export declare const fetchSnippetListNames: ({ endpoint, abortSignal, snippetLis
30
35
  abortSignal: AbortSignal;
31
36
  snippetListUris: string[];
32
37
  }) => Promise<Map<string, string>>;
38
+ export {};
@@ -1,6 +1,14 @@
1
- import { EditorState, type PNode } from '@lblod/ember-rdfa-editor';
1
+ import { Attrs, EditorState, type PNode } from '@lblod/ember-rdfa-editor';
2
2
  import { ResolvedPNode } from '@lblod/ember-rdfa-editor/utils/_private/types';
3
- export declare function getRankedPNodes(state: EditorState, nodeType: string, getUri: (node: PNode) => string): {
3
+ import { Address } from '../plugins/location-plugin/_private/utils/address-helpers';
4
+ import { Area, Place } from '../plugins/location-plugin/utils/geo-helpers';
5
+ type NodeWithLocAttrs = PNode & {
6
+ attrs: Attrs & {
7
+ value: Address | Place | Area;
8
+ };
9
+ };
10
+ export declare function getRankedPNodes(state: EditorState, nodeType: string, getUri: (node: NodeWithLocAttrs) => string): {
4
11
  node: ResolvedPNode;
5
12
  score: number;
6
13
  }[];
14
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lblod/ember-rdfa-editor-lblod-plugins",
3
- "version": "39.1.1",
3
+ "version": "39.2.0",
4
4
  "description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -20,6 +20,13 @@ common:
20
20
  label: Select
21
21
  title: Insert
22
22
  no-content: Does not contain any content
23
+ tags:
24
+ collapsible-tag-list:
25
+ show-less: Show less
26
+ tag-selector:
27
+ placeholder: Select tags
28
+ create-new-tag: Create new tag "{tagName}"
29
+ no-results-message: No results found
23
30
 
24
31
  structure-plugin:
25
32
  move-up: 'Move {structureName} up'
@@ -286,10 +293,14 @@ snippet-plugin:
286
293
  modal:
287
294
  title: Select available snippet lists for this template
288
295
  subtitle: Select available snippets lists for this template
289
- search:
290
- title: Filter on
291
- label: Snippet list name
292
- placeholder: Type something...
296
+ filter:
297
+ title: Filters
298
+ name-filter:
299
+ label: List name
300
+ placeholder: Type to search
301
+ tag-filter:
302
+ label: Tags
303
+ reset: Reset filters
293
304
  button:
294
305
  cancel: Cancel
295
306
  update: Save snippet lists
@@ -298,6 +309,7 @@ snippet-plugin:
298
309
  list: List
299
310
  created: Created
300
311
  imported-resources: Imported Resources
312
+ tags: Tags
301
313
  multi-snippet-toggle: Allow multi-snippet selection
302
314
  snippet-node:
303
315
  change-fragment: Change Fragment
@@ -20,6 +20,13 @@ common:
20
20
  label: Selecteer
21
21
  title: Invoegen
22
22
  no-content: Bevat geen inhoud
23
+ tags:
24
+ collapsible-tag-list:
25
+ show-less: Toon minder
26
+ tag-selector:
27
+ placeholder: Selecteer tags
28
+ create-new-tag: Maak nieuwe tag "{tagName}" aan
29
+ no-results-message: Geen resultaten gevonden
23
30
 
24
31
  structure-plugin:
25
32
  move-up: '{structureName} naar boven verplaatsen'
@@ -285,10 +292,14 @@ snippet-plugin:
285
292
  modal:
286
293
  title: Selecteer beschikbare fragmentlijsten voor deze sjabloon
287
294
  subtitle: Selecteer beschikbare fragmentlijsten voor deze sjabloon
288
- search:
289
- title: Filter op
290
- label: Naam lijst
291
- placeholder: Vul in…
295
+ filter:
296
+ title: Filters
297
+ name-filter:
298
+ label: Naam lijst
299
+ placeholder: Typ om te zoeken
300
+ tag-filter:
301
+ label: Tags
302
+ reset: Reset filters
292
303
  button:
293
304
  cancel: Annuleer
294
305
  update: Fragmentlijsten opslaan
@@ -297,6 +308,7 @@ snippet-plugin:
297
308
  list: Lijst
298
309
  created: Aangemaakt op
299
310
  imported-resources: Ingevoerde Middelen
311
+ tags: Tags
300
312
  multi-snippet-toggle: Meerkeuze-fragmentselectie
301
313
  snippet-node:
302
314
  change-fragment: Fragment vervangen
@@ -1,63 +0,0 @@
1
- {{! @glint-nocheck: not typesafe yet }}
2
- <AuModal
3
- @modalOpen={{@open}}
4
- @closeModal={{this.closeModal}}
5
- @title={{t 'snippet-plugin.snippet-list.modal.title'}}
6
- @size='large'
7
- @padding='none'
8
- as |modal|
9
- >
10
- <modal.Body>
11
- <AuMainContainer class='snippet-modal--main-container' as |mc|>
12
- <mc.content @scroll={{true}}>
13
- <div class='snippet-modal--list-container'>
14
- {{#if this.error}}
15
- <Common::Search::AlertLoadError
16
- @error={{this.error}}
17
- class='au-u-margin-top-none'
18
- />
19
- {{else}}
20
- <SnippetPlugin::SnippetList::SnippetListView
21
- @snippetLists={{this.snippetListResource.value}}
22
- @snippetListUris={{this.snippetListUris}}
23
- @listNameFilter={{this.nameFilterText}}
24
- @sort={{this.sort}}
25
- @onChange={{this.onChange}}
26
- @isLoading={{this.snippetListResource.isRunning}}
27
- />
28
- {{/if}}
29
- </div>
30
- <AuToolbar
31
- @border='top'
32
- @size='large'
33
- @nowrap={{true}}
34
- class='au-u-flex--vertical-center'
35
- as |Group|
36
- >
37
- <Group>
38
- <AuCheckbox
39
- @checked={{this.allowMultipleSnippets}}
40
- @onChange={{this.handleMultipleSnippetsCheckbox}}
41
- >
42
- {{t 'snippet-plugin.snippet-list.modal.multi-snippet-toggle'}}
43
- </AuCheckbox>
44
- </Group>
45
- <Group>
46
- <AuButtonGroup>
47
- <AuButton @skin='secondary' {{on 'click' this.closeModal}}>
48
- {{t 'snippet-plugin.snippet-list.modal.button.cancel'}}
49
- </AuButton>
50
- <AuButton
51
- @skin='primary'
52
- {{on 'click' this.saveAndClose}}
53
- @disabled={{@onSaveSnippetLists.isRunning}}
54
- >
55
- {{t 'snippet-plugin.snippet-list.modal.button.update'}}
56
- </AuButton>
57
- </AuButtonGroup>
58
- </Group>
59
- </AuToolbar>
60
- </mc.content>
61
- </AuMainContainer>
62
- </modal.Body>
63
- </AuModal>
@@ -1,111 +0,0 @@
1
- import Component from '@glimmer/component';
2
- import { action } from '@ember/object';
3
- import { restartableTask, timeout } from 'ember-concurrency';
4
- import { task as trackedTask } from 'reactiveweb/ember-concurrency';
5
-
6
- import { tracked } from '@glimmer/tracking';
7
-
8
- import {
9
- fetchSnippetLists,
10
- OrderBy,
11
- } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin/utils/fetch-data';
12
-
13
- import {
14
- SnippetPluginConfig,
15
- SnippetList,
16
- } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin';
17
- import { localCopy, trackedReset } from 'tracked-toolbox';
18
-
19
- interface Signature {
20
- Args: {
21
- config: SnippetPluginConfig;
22
- onSaveSnippetLists: (
23
- lists: SnippetList[],
24
- allowMultipleSnippets: boolean,
25
- ) => void;
26
- snippetListUris: string[] | undefined;
27
- closeModal: () => void;
28
- open: boolean;
29
- allowMultipleSnippets?: boolean;
30
- };
31
- }
32
-
33
- export default class SnippetListModalComponent extends Component<Signature> {
34
- // Filtering
35
- @tracked nameFilterText: string | null = null;
36
-
37
- // Sorting
38
- @tracked sort: OrderBy = null;
39
-
40
- // Display
41
- @tracked error: unknown;
42
-
43
- @trackedReset('args.snippetListUris')
44
- snippetListUris: string[] = [...(this.args.snippetListUris ?? [])];
45
-
46
- @localCopy('args.allowMultipleSnippets') allowMultipleSnippets = false;
47
-
48
- @action
49
- handleMultipleSnippetsCheckbox(checked: boolean) {
50
- this.allowMultipleSnippets = checked;
51
- }
52
-
53
- get config() {
54
- return this.args.config;
55
- }
56
-
57
- @action
58
- closeModal() {
59
- this.allowMultipleSnippets = this.args.allowMultipleSnippets ?? false;
60
- this.args.closeModal();
61
- }
62
-
63
- @action
64
- saveAndClose() {
65
- const snippetLists = this.snippetListResource.value?.filter((snippetList) =>
66
- this.snippetListUris.includes(snippetList.uri),
67
- );
68
- this.args.onSaveSnippetLists(
69
- snippetLists || [],
70
- this.allowMultipleSnippets,
71
- );
72
- this.args.closeModal();
73
- // Clear selection for next time
74
- this.snippetListUris = [];
75
- }
76
-
77
- snippetListSearch = restartableTask(async () => {
78
- await timeout(500);
79
-
80
- const abortController = new AbortController();
81
-
82
- try {
83
- const queryResult = await fetchSnippetLists({
84
- endpoint: this.args.config.endpoint,
85
- abortSignal: abortController.signal,
86
- filter: {
87
- name: this.nameFilterText ?? undefined,
88
- },
89
- orderBy: this.sort,
90
- });
91
-
92
- return queryResult.results;
93
- } catch (error) {
94
- this.error = error;
95
- return [];
96
- } finally {
97
- abortController.abort();
98
- }
99
- });
100
-
101
- snippetListResource = trackedTask<SnippetList[]>(
102
- this,
103
- this.snippetListSearch,
104
- () => [this.nameFilterText, this.sort],
105
- );
106
-
107
- @action
108
- onChange(snippetListUris: string[]) {
109
- this.snippetListUris = snippetListUris;
110
- }
111
- }
@@ -1,66 +0,0 @@
1
- {{! @glint-nocheck: not typesafe yet }}
2
- <div class='say-snippet-lists-table'>
3
- {{#let
4
- (t 'snippet-plugin.snippet-list.modal.table.list')
5
- (t 'snippet-plugin.snippet-list.modal.table.created')
6
- (t 'snippet-plugin.snippet-list.modal.table.select')
7
- (t 'snippet-plugin.snippet-list.modal.subtitle')
8
- (t 'snippet-plugin.snippet-list.modal.search.label')
9
- (t 'snippet-plugin.snippet-list.modal.table.imported-resources')
10
- as |list created select subtitle search imported|
11
- }}
12
- <AuDataTable
13
- @content={{this.snippetLists}}
14
- @isLoading={{@isLoading}}
15
- @noDataMessage={{t 'common.search.no-results'}}
16
- @sort={{@sort}}
17
- @onClickRow={{this.onClickRow}}
18
- as |t|
19
- >
20
- <t.menu as |menu|>
21
- <menu.general>
22
- <AuToolbar class='au-o-box' as |Group|>
23
- <Group />
24
- <Group class='au-c-toolbar__group--center'>
25
- <AuDataTableTextSearch
26
- @wait={{500}}
27
- @filter={{@listNameFilter}}
28
- @placeholder={{search}}
29
- />
30
- </Group>
31
- </AuToolbar>
32
- </menu.general>
33
- </t.menu>
34
- <t.content as |c|>
35
- <c.header>
36
- <th class='snippet-list-table-select-column'>{{select}}</th>
37
- <AuDataTableThSortable
38
- @field='label'
39
- @label={{list}}
40
- @currentSorting={{@sort}}
41
- @class='data-table__header-title'
42
- />
43
- <th>{{imported}}</th>
44
- <AuDataTableThSortable
45
- @field='createdOn'
46
- @label={{created}}
47
- @currentSorting={{@sort}}
48
- @class='data-table__header-title snippet-list-table-created-column'
49
- />
50
- </c.header>
51
- <c.body as |row|>
52
- <td class='snippet-list-table-select-column'>
53
- <AuCheckbox
54
- id={{row.label}}
55
- @onChange={{fn this.onChange row.uri}}
56
- @checked={{in-array @snippetListUris row.uri}}
57
- />
58
- </td>
59
- <td>{{row.label}}</td>
60
- <td>{{row.importedResources}}</td>
61
- <td class='snippet-list-table-created-column'>{{row.createdOn}}</td>
62
- </c.body>
63
- </t.content>
64
- </AuDataTable>
65
- {{/let}}
66
- </div>
@@ -1,57 +0,0 @@
1
- import Component from '@glimmer/component';
2
- import { action } from '@ember/object';
3
- import { SnippetList } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/snippet-plugin';
4
-
5
- interface Args {
6
- snippetLists: SnippetList[];
7
- snippetListUris: string[];
8
- listNameFilter: string | null;
9
- isLoading: boolean;
10
- onChange: (snippetListUris: string[]) => void;
11
- }
12
-
13
- export default class SnippetListViewComponent extends Component<Args> {
14
- @action
15
- onChange(snippetUri: string, isSelected: boolean) {
16
- if (isSelected) {
17
- const newSnippetListUris = [...this.args.snippetListUris, snippetUri];
18
-
19
- return this.args.onChange(newSnippetListUris);
20
- }
21
-
22
- const newSnippetListUris = this.args.snippetListUris.filter(
23
- (uri) => uri !== snippetUri,
24
- );
25
-
26
- return this.args.onChange(newSnippetListUris);
27
- }
28
-
29
- @action
30
- onClickRow(snippetList: SnippetList, event: Event) {
31
- if (!(event.target instanceof HTMLElement)) {
32
- return;
33
- }
34
-
35
- const target = event.target;
36
-
37
- // Only trigger the action when clicking on a td or tr element
38
- // This is to prevent the action from being triggered when clicking on a checkbox
39
- if (target.tagName !== 'TD' && target.tagName !== 'TR') {
40
- return;
41
- }
42
-
43
- const snippetListUri = snippetList.uri;
44
-
45
- if (!snippetListUri) {
46
- return;
47
- }
48
-
49
- const isSelected = this.args.snippetListUris.includes(snippetListUri);
50
-
51
- this.onChange(snippetListUri, !isSelected);
52
- }
53
-
54
- get snippetLists() {
55
- return this.args.snippetLists;
56
- }
57
- }