@genesislcap/foundation-forms 14.266.1-alpha-049ad5f.0 → 14.266.1

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.
@@ -556,20 +556,6 @@
556
556
  "description": "Foundation filters component for automatically generated filters based on json schema\nobtained from the api, supplied initial data or supplied JSON schema.\nAllowing customisable filters elements using UI schema and set of custom renderers",
557
557
  "name": "Filters",
558
558
  "members": [
559
- {
560
- "kind": "field",
561
- "name": "kvStorage",
562
- "type": {
563
- "text": "KVStorage"
564
- }
565
- },
566
- {
567
- "kind": "field",
568
- "name": "filterName",
569
- "type": {
570
- "text": "string"
571
- }
572
- },
573
559
  {
574
560
  "kind": "field",
575
561
  "name": "resourceName",
@@ -579,23 +565,6 @@
579
565
  "description": "Name of the backend resource which will provide metadata\nused to generate filters.",
580
566
  "privacy": "public"
581
567
  },
582
- {
583
- "kind": "field",
584
- "name": "allSavedFilters",
585
- "type": {
586
- "text": "any[]"
587
- },
588
- "default": "[]"
589
- },
590
- {
591
- "kind": "field",
592
- "name": "showFilterPersistenceControls",
593
- "type": {
594
- "text": "boolean"
595
- },
596
- "description": "Controls the visibility of the filter persistence controls UI.",
597
- "privacy": "public"
598
- },
599
568
  {
600
569
  "kind": "method",
601
570
  "name": "resourceNameChanged",
@@ -666,48 +635,6 @@
666
635
  "description": "Created criteria based on the given data that can be used to filter the data.",
667
636
  "privacy": "public"
668
637
  },
669
- {
670
- "kind": "method",
671
- "name": "saveFilter"
672
- },
673
- {
674
- "kind": "method",
675
- "name": "deleteFilter"
676
- },
677
- {
678
- "kind": "method",
679
- "name": "loadAllSavedFilters"
680
- },
681
- {
682
- "kind": "method",
683
- "name": "filterNameChanged",
684
- "parameters": [
685
- {
686
- "name": "oldValue",
687
- "type": {
688
- "text": "string"
689
- }
690
- },
691
- {
692
- "name": "newValue",
693
- "type": {
694
- "text": "string"
695
- }
696
- }
697
- ]
698
- },
699
- {
700
- "kind": "method",
701
- "name": "loadFilterData",
702
- "parameters": [
703
- {
704
- "name": "filterKey",
705
- "type": {
706
- "text": "string"
707
- }
708
- }
709
- ]
710
- },
711
638
  {
712
639
  "kind": "field",
713
640
  "name": "_presentation",
@@ -837,14 +764,6 @@
837
764
  "description": "Name of the backend resource which will provide metadata\nused to generate filters.",
838
765
  "fieldName": "resourceName"
839
766
  },
840
- {
841
- "name": "show-filter-persistence-controls",
842
- "type": {
843
- "text": "boolean"
844
- },
845
- "description": "Controls the visibility of the filter persistence controls UI.",
846
- "fieldName": "showFilterPersistenceControls"
847
- },
848
767
  {
849
768
  "name": "design-system-prefix",
850
769
  "type": {
@@ -1,4 +1,3 @@
1
- import { KVStorage } from '@genesislcap/foundation-comms';
2
1
  import { FoundationElement } from '@microsoft/fast-foundation';
3
2
  import { JSONSchema7 } from 'json-schema';
4
3
  import { RendererEntry, UiSchema } from '../types';
@@ -16,20 +15,12 @@ export declare const filtersRenderers: any[];
16
15
  * @public
17
16
  */
18
17
  export declare class Filters extends FoundationElement {
19
- kvStorage: KVStorage;
20
- filterName: string;
21
18
  /**
22
19
  * Name of the backend resource which will provide metadata
23
20
  * used to generate filters.
24
21
  * @public
25
22
  */
26
23
  resourceName: string;
27
- allSavedFilters: any[];
28
- /**
29
- * Controls the visibility of the filter persistence controls UI.
30
- * @public
31
- */
32
- showFilterPersistenceControls: boolean;
33
24
  private resourceNameChanged;
34
25
  /**
35
26
  * @internal
@@ -119,11 +110,5 @@ export declare class Filters extends FoundationElement {
119
110
  * @internal
120
111
  */
121
112
  disconnectedCallback(): void;
122
- saveFilter(): Promise<void>;
123
- deleteFilter(): Promise<void>;
124
- connectedCallback(): Promise<void>;
125
- loadAllSavedFilters(): Promise<void>;
126
- filterNameChanged(oldValue: string, newValue: string): void;
127
- loadFilterData(filterKey: string): Promise<void>;
128
113
  }
129
114
  //# sourceMappingURL=filters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAM1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAY1C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAKnD,gBAAgB;AAChB,eAAO,MAAM,aAAa,iDAAqC,CAAC;AAchE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,OAY5B,CAAC;AAKF;;;;;GAKG;AACH,qBAKa,OAAQ,SAAQ,iBAAiB;IACjC,SAAS,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IAE/B;;;;OAIG;IACG,YAAY,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,GAAG,EAAE,CAAM;IAExC;;;OAGG;IAEH,6BAA6B,EAAE,OAAO,CAAC;YAEzB,mBAAmB;IAWjC;;OAEG;IACI,gBAAgB;IAKvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACS,QAAQ,EAAE,QAAQ,CAAC;IAC/B;;;OAGG;IACS,SAAS,EAAE,aAAa,EAAE,CAAoB;IAC1D;;;;;;OAMG;IACS,UAAU,EAAE,WAAW,CAAC;IACpC;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAW;IAE7D,OAAO,CAAC,OAAO,CAAW;IACnC;;;OAGG;IACS,IAAI,EAAE,GAAG,CAAM;IAC3B;;;OAGG;IACS,KAAK,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY;IAIZ;;OAEG;IACH,aAAa;IAyBb;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW;IAO3B;;OAEG;IACH,oBAAoB;IAMd,UAAU;IA0CV,YAAY;IA4BZ,iBAAiB;IAOjB,mBAAmB;IAsBzB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAU9C,cAAc,CAAC,SAAS,EAAE,MAAM;CAiBvC"}
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAY1C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAKnD,gBAAgB;AAChB,eAAO,MAAM,aAAa,iDAAqC,CAAC;AAchE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,OAY5B,CAAC;AACF;;;;;GAKG;AACH,qBAKa,OAAQ,SAAQ,iBAAiB;IAC5C;;;;OAIG;IACG,YAAY,EAAE,MAAM,CAAC;YACb,mBAAmB;IAWjC;;OAEG;IACI,gBAAgB;IAKvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACS,QAAQ,EAAE,QAAQ,CAAC;IAC/B;;;OAGG;IACS,SAAS,EAAE,aAAa,EAAE,CAAoB;IAC1D;;;;;;OAMG;IACS,UAAU,EAAE,WAAW,CAAC;IACpC;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAW;IAE7D,OAAO,CAAC,OAAO,CAAW;IACnC;;;OAGG;IACS,IAAI,EAAE,GAAG,CAAM;IAC3B;;;OAGG;IACS,KAAK,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY;IAIZ;;OAEG;IACH,aAAa;IAyBb;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW;IAO3B;;OAEG;IACH,oBAAoB;CAKrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"filters.styles.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,iDA0FnC,CAAC"}
1
+ {"version":3,"file":"filters.styles.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,iDA2DnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"filters.template.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMzC,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,WAAY,MAAM,iEAsFhD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,8DAErC,CAAC"}
1
+ {"version":3,"file":"filters.template.d.ts","sourceRoot":"","sources":["../../../src/filters/filters.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMzC,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,WAAY,MAAM,iEAiChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,8DAErC,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
- import { KVStorage } from '@genesislcap/foundation-comms';
4
3
  import { CriteriaBuilder, Join } from '@genesislcap/foundation-criteria';
5
4
  import { createLogger } from '@genesislcap/foundation-logger';
6
- import { showNotificationToast } from '@genesislcap/foundation-notifications';
7
5
  import { isControl, isStringControl, mapStateToControlProps, rankWith } from '@jsonforms/core';
8
6
  import { attr, customElement, observable } from '@microsoft/fast-element';
9
7
  import { FoundationElement } from '@microsoft/fast-foundation';
@@ -49,8 +47,6 @@ export const filtersRenderers = [
49
47
  FilterDateControlRendererEntry,
50
48
  InvisibleControlEntry,
51
49
  ];
52
- // Add this at the top of the file, outside the class
53
- const FORM_FILTER_PREFIX = 'formFilter:';
54
50
  /**
55
51
  * Foundation filters component for automatically generated filters based on json schema
56
52
  * obtained from the api, supplied initial data or supplied JSON schema.
@@ -60,7 +56,6 @@ const FORM_FILTER_PREFIX = 'formFilter:';
60
56
  let Filters = class Filters extends FoundationElement {
61
57
  constructor() {
62
58
  super(...arguments);
63
- this.allSavedFilters = [];
64
59
  /**
65
60
  * Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default.
66
61
  * @public
@@ -138,149 +133,10 @@ let Filters = class Filters extends FoundationElement {
138
133
  super.disconnectedCallback();
139
134
  this.data = {};
140
135
  }
141
- saveFilter() {
142
- return __awaiter(this, void 0, void 0, function* () {
143
- if (!this.value) {
144
- filtersLogger.warn('Filter value is empty, not saving filter!');
145
- return;
146
- }
147
- const key = `${FORM_FILTER_PREFIX}${this.filterName}`;
148
- try {
149
- yield this.kvStorage.put([{ key, value: JSON.stringify(this.data) }]);
150
- filtersLogger.info(`Saved filter: ${key}`);
151
- yield this.loadAllSavedFilters();
152
- showNotificationToast({
153
- title: 'Success',
154
- body: 'Filter saved successfully!',
155
- toast: {
156
- autoClose: true,
157
- closeTimeout: 3000,
158
- type: 'success',
159
- },
160
- }, this.prefix || 'rapid');
161
- }
162
- catch (err) {
163
- filtersLogger.error('Failed to save filter', err);
164
- showNotificationToast({
165
- title: 'Error',
166
- body: 'Failed to save filter',
167
- toast: {
168
- autoClose: true,
169
- closeTimeout: 3000,
170
- type: 'error',
171
- },
172
- }, this.prefix || 'rapid');
173
- }
174
- });
175
- }
176
- deleteFilter() {
177
- return __awaiter(this, void 0, void 0, function* () {
178
- const key = `${FORM_FILTER_PREFIX}${this.filterName}`;
179
- try {
180
- yield this.kvStorage.delete([key]);
181
- filtersLogger.info(`Deleted filter: ${key}`);
182
- yield this.loadAllSavedFilters();
183
- this.filterName = '';
184
- this.data = {};
185
- this.value = '';
186
- }
187
- catch (err) {
188
- filtersLogger.error('Failed to delete filter', err);
189
- showNotificationToast({
190
- title: 'Error',
191
- body: 'Failed to delete filter',
192
- toast: {
193
- autoClose: true,
194
- closeTimeout: 3000,
195
- type: 'error',
196
- },
197
- }, this.prefix || 'rapid');
198
- }
199
- });
200
- }
201
- connectedCallback() {
202
- const _super = Object.create(null, {
203
- connectedCallback: { get: () => super.connectedCallback }
204
- });
205
- return __awaiter(this, void 0, void 0, function* () {
206
- _super.connectedCallback.call(this);
207
- if (this.showFilterPersistenceControls) {
208
- yield this.loadAllSavedFilters();
209
- }
210
- });
211
- }
212
- loadAllSavedFilters() {
213
- return __awaiter(this, void 0, void 0, function* () {
214
- this.kvStorage
215
- .list()
216
- .then((keys) => {
217
- if (Array.isArray(keys)) {
218
- this.allSavedFilters = keys
219
- .filter((key) => key.startsWith(FORM_FILTER_PREFIX))
220
- .map((key) => {
221
- const cleanKey = key.replace(/^formFilter:/, '');
222
- return { value: cleanKey, label: cleanKey };
223
- });
224
- }
225
- else {
226
- filtersLogger.warn('KVStorage.list() did not return an array', keys);
227
- this.allSavedFilters = [];
228
- }
229
- })
230
- .catch((err) => {
231
- filtersLogger.error('Failed to load saved filters from KVStorage', err);
232
- this.allSavedFilters = [];
233
- });
234
- });
235
- }
236
- filterNameChanged(oldValue, newValue) {
237
- if (newValue) {
238
- this.loadFilterData(newValue).then(() => {
239
- this.searchFilters();
240
- });
241
- }
242
- else {
243
- this.data = {};
244
- }
245
- }
246
- loadFilterData(filterKey) {
247
- return __awaiter(this, void 0, void 0, function* () {
248
- try {
249
- const key = `${FORM_FILTER_PREFIX}${filterKey}`;
250
- const result = yield this.kvStorage.get(key);
251
- if (result && result.kv && typeof result.kv.value === 'string') {
252
- this.data = JSON.parse(result.kv.value);
253
- }
254
- else if (result && result.kv && result.kv.value) {
255
- filtersLogger.warn('Loaded filter value is not a string, cannot parse', result.kv.value);
256
- this.data = {};
257
- }
258
- else {
259
- this.data = {};
260
- }
261
- }
262
- catch (err) {
263
- filtersLogger.error('Failed to load filter data from KVStorage', err);
264
- this.data = {};
265
- }
266
- });
267
- }
268
136
  };
269
- __decorate([
270
- KVStorage
271
- ], Filters.prototype, "kvStorage", void 0);
272
- __decorate([
273
- observable
274
- ], Filters.prototype, "filterName", void 0);
275
137
  __decorate([
276
138
  attr
277
139
  ], Filters.prototype, "resourceName", void 0);
278
- __decorate([
279
- observable
280
- ], Filters.prototype, "allSavedFilters", void 0);
281
- __decorate([
282
- attr({ mode: 'boolean', attribute: 'show-filter-persistence-controls' })
283
- ], Filters.prototype, "showFilterPersistenceControls", void 0);
284
140
  __decorate([
285
141
  observable
286
142
  ], Filters.prototype, "uischema", void 0);
@@ -11,8 +11,6 @@ export const foundationFiltersStyles = css `
11
11
  margin: 0;
12
12
  border-radius: calc(${controlCornerRadius} * 1px);
13
13
  min-width: 64px;
14
-
15
- --filter-persistence-controls-container-height: 145px;
16
14
  }
17
15
 
18
16
  .header {
@@ -56,35 +54,6 @@ export const foundationFiltersStyles = css `
56
54
  .action-button {
57
55
  width: 70px;
58
56
  }
59
-
60
- .filter-persistence-controls-container {
61
- display: flex;
62
- flex-direction: column;
63
- height: var(--filter-persistence-controls-container-height);
64
- padding: 5px 15px;
65
- }
66
-
67
- .filter-persistence-controls {
68
- display: flex;
69
- flex-direction: column;
70
- width: 100%;
71
- padding-bottom: 10px;
72
- }
73
-
74
- .filter-persistence-controls > rapid-label {
75
- margin-bottom: calc(var(--design-unit) * 1px);
76
- color: var(--neutral-foreground-hint);
77
- }
78
-
79
- .filter-persistence-controls-components {
80
- display: flex;
81
- gap: 10px;
82
- }
83
-
84
- .filter-persistence-controls-components > rapid-button {
85
- width: 100px;
86
- justify-content: center;
87
- }
88
57
  `.withBehaviors(forcedColorsStylesheetBehavior(css `
89
58
  :host {
90
59
  background: ${SystemColors.Canvas};
@@ -1,5 +1,4 @@
1
- import { sync } from '@genesislcap/foundation-utils';
2
- import { html, repeat, when } from '@microsoft/fast-element';
1
+ import { html } from '@microsoft/fast-element';
3
2
  import { JSONForms } from '../jsonforms/json-forms';
4
3
  import { ControlWrapper } from '../jsonforms/renderers/ControlWrapperRenderer';
5
4
  import { DispatchRenderer } from '../jsonforms/renderers/dispatch-renderer';
@@ -10,51 +9,6 @@ DispatchRenderer;
10
9
  export const getPrefixedFilters = (prefix) => html `
11
10
  <template>
12
11
  <div class="container" part="container">
13
- ${when((x) => x.showFilterPersistenceControls, html `
14
- <div class="filter-persistence-controls-container">
15
- <div class="filter-persistence-controls">
16
- <rapid-label>Saved Filters</rapid-label>
17
- <rapid-select :value=${sync((x) => x.filterName)}>
18
- <rapid-option value="">--Select--</rapid-option>
19
- ${repeat((x) => x.allSavedFilters, html `
20
- <rapid-option
21
- value=${(x) => x.value}
22
- :selected=${sync((x, c) => x.value == c.parent.filterName)}
23
- >
24
- ${(x, c) => x.label}
25
- </rapid-option>
26
- `)}
27
- </rapid-select>
28
- </div>
29
- <div class="filter-persistence-controls">
30
- <rapid-label>Name</rapid-label>
31
- <div class="filter-persistence-controls-components">
32
- <rapid-text-field
33
- :value=${sync((x) => x.filterName)}
34
- style="margin-bottom: 16px; width: 100%;"
35
- ></rapid-text-field>
36
- <rapid-button
37
- slot="actions-start"
38
- appearance="primary"
39
- @click=${(x) => x.saveFilter()}
40
- :disabled=${(x) => !x.filterName || !x.value}
41
- >
42
- Save
43
- </rapid-button>
44
- <rapid-button
45
- slot="actions-start"
46
- appearance="primary"
47
- @click=${(x) => x.deleteFilter()}
48
- :disabled=${(x) => !x.filterName}
49
- >
50
- Delete
51
- </rapid-button>
52
- </div>
53
- </div>
54
- </div>
55
- <rapid-divider></rapid-divider>
56
- `)}
57
-
58
12
  <div class="container-forms" part="container-forms">
59
13
  <json-forms
60
14
  :renderers=${(x) => x.renderers}
@@ -66,7 +20,6 @@ export const getPrefixedFilters = (prefix) => html `
66
20
  ></json-forms>
67
21
  </div>
68
22
  <div class="actions" part="actions">
69
- <slot name="actions-start"></slot>
70
23
  <${prefix}-button
71
24
  @click="${(x) => x.clearFiltersData()}"
72
25
  class="action-button"
@@ -83,7 +36,6 @@ export const getPrefixedFilters = (prefix) => html `
83
36
  >
84
37
  Search
85
38
  </${prefix}-button>
86
- <slot name="actions-end"></slot>
87
39
  </div>
88
40
  </div>
89
41
  </template>
@@ -16,7 +16,7 @@ export const ConnectedSelectControlRendererTemplate = (prefix = 'zero') => html
16
16
  prefix="${prefix}"
17
17
  >
18
18
  <${prefix}-combobox
19
- style="width: 100%"
19
+ style="width: 100%; min-width: 200px;"
20
20
  async=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.async; }}
21
21
  placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
22
22
  autocomplete="both"
@@ -43,7 +43,7 @@ export const EnumControlRendererTemplate = (prefix = 'zero') => html `
43
43
  prefix="${prefix}"
44
44
  >
45
45
  <${prefix}-combobox
46
- style="width: 100%"
46
+ style="width: 100%; min-width: 200px;"
47
47
  autocomplete="both"
48
48
  ?disabled=${(x) => !x.control.enabled}
49
49
  :value=${(x) => displaySetOrDefaultData(x)}
@@ -302,72 +302,6 @@
302
302
  "name": "Filters",
303
303
  "preserveMemberOrder": false,
304
304
  "members": [
305
- {
306
- "kind": "Property",
307
- "canonicalReference": "@genesislcap/foundation-forms!Filters#allSavedFilters:member",
308
- "docComment": "",
309
- "excerptTokens": [
310
- {
311
- "kind": "Content",
312
- "text": "allSavedFilters: "
313
- },
314
- {
315
- "kind": "Content",
316
- "text": "any[]"
317
- },
318
- {
319
- "kind": "Content",
320
- "text": ";"
321
- }
322
- ],
323
- "isReadonly": false,
324
- "isOptional": false,
325
- "releaseTag": "Public",
326
- "name": "allSavedFilters",
327
- "propertyTypeTokenRange": {
328
- "startIndex": 1,
329
- "endIndex": 2
330
- },
331
- "isStatic": false,
332
- "isProtected": false,
333
- "isAbstract": false
334
- },
335
- {
336
- "kind": "Method",
337
- "canonicalReference": "@genesislcap/foundation-forms!Filters#connectedCallback:member(1)",
338
- "docComment": "",
339
- "excerptTokens": [
340
- {
341
- "kind": "Content",
342
- "text": "connectedCallback(): "
343
- },
344
- {
345
- "kind": "Reference",
346
- "text": "Promise",
347
- "canonicalReference": "!Promise:interface"
348
- },
349
- {
350
- "kind": "Content",
351
- "text": "<void>"
352
- },
353
- {
354
- "kind": "Content",
355
- "text": ";"
356
- }
357
- ],
358
- "isStatic": false,
359
- "returnTypeTokenRange": {
360
- "startIndex": 1,
361
- "endIndex": 3
362
- },
363
- "releaseTag": "Public",
364
- "isProtected": false,
365
- "overloadIndex": 1,
366
- "parameters": [],
367
- "isOptional": false,
368
- "isAbstract": false,
369
- "name": "connectedCallback"
370
- },
371
305
  {
372
306
  "kind": "Property",
373
307
  "canonicalReference": "@genesislcap/foundation-forms!Filters#data:member",
@@ -398,136 +332,6 @@
398
332
  "isProtected": false,
399
333
  "isAbstract": false
400
334
  },
401
- {
402
- "kind": "Method",
403
- "canonicalReference": "@genesislcap/foundation-forms!Filters#deleteFilter:member(1)",
404
- "docComment": "",
405
- "excerptTokens": [
406
- {
407
- "kind": "Content",
408
- "text": "deleteFilter(): "
409
- },
410
- {
411
- "kind": "Reference",
412
- "text": "Promise",
413
- "canonicalReference": "!Promise:interface"
414
- },
415
- {
416
- "kind": "Content",
417
- "text": "<void>"
418
- },
419
- {
420
- "kind": "Content",
421
- "text": ";"
422
- }
423
- ],
424
- "isStatic": false,
425
- "returnTypeTokenRange": {
426
- "startIndex": 1,
427
- "endIndex": 3
428
- },
429
- "releaseTag": "Public",
430
- "isProtected": false,
431
- "overloadIndex": 1,
432
- "parameters": [],
433
- "isOptional": false,
434
- "isAbstract": false,
435
- "name": "deleteFilter"
436
- },
437
- {
438
- "kind": "Property",
439
- "canonicalReference": "@genesislcap/foundation-forms!Filters#filterName:member",
440
- "docComment": "",
441
- "excerptTokens": [
442
- {
443
- "kind": "Content",
444
- "text": "filterName: "
445
- },
446
- {
447
- "kind": "Content",
448
- "text": "string"
449
- },
450
- {
451
- "kind": "Content",
452
- "text": ";"
453
- }
454
- ],
455
- "isReadonly": false,
456
- "isOptional": false,
457
- "releaseTag": "Public",
458
- "name": "filterName",
459
- "propertyTypeTokenRange": {
460
- "startIndex": 1,
461
- "endIndex": 2
462
- },
463
- "isStatic": false,
464
- "isProtected": false,
465
- "isAbstract": false
466
- },
467
- {
468
- "kind": "Method",
469
- "canonicalReference": "@genesislcap/foundation-forms!Filters#filterNameChanged:member(1)",
470
- "docComment": "",
471
- "excerptTokens": [
472
- {
473
- "kind": "Content",
474
- "text": "filterNameChanged(oldValue: "
475
- },
476
- {
477
- "kind": "Content",
478
- "text": "string"
479
- },
480
- {
481
- "kind": "Content",
482
- "text": ", newValue: "
483
- },
484
- {
485
- "kind": "Content",
486
- "text": "string"
487
- },
488
- {
489
- "kind": "Content",
490
- "text": "): "
491
- },
492
- {
493
- "kind": "Content",
494
- "text": "void"
495
- },
496
- {
497
- "kind": "Content",
498
- "text": ";"
499
- }
500
- ],
501
- "isStatic": false,
502
- "returnTypeTokenRange": {
503
- "startIndex": 5,
504
- "endIndex": 6
505
- },
506
- "releaseTag": "Public",
507
- "isProtected": false,
508
- "overloadIndex": 1,
509
- "parameters": [
510
- {
511
- "parameterName": "oldValue",
512
- "parameterTypeTokenRange": {
513
- "startIndex": 1,
514
- "endIndex": 2
515
- },
516
- "isOptional": false
517
- },
518
- {
519
- "parameterName": "newValue",
520
- "parameterTypeTokenRange": {
521
- "startIndex": 3,
522
- "endIndex": 4
523
- },
524
- "isOptional": false
525
- }
526
- ],
527
- "isOptional": false,
528
- "isAbstract": false,
529
- "name": "filterNameChanged"
530
- },
531
335
  {
532
336
  "kind": "Property",
533
337
  "canonicalReference": "@genesislcap/foundation-forms!Filters#jsonSchema:member",
@@ -559,126 +363,6 @@
559
363
  "isProtected": false,
560
364
  "isAbstract": false
561
365
  },
562
- {
563
- "kind": "Property",
564
- "canonicalReference": "@genesislcap/foundation-forms!Filters#kvStorage:member",
565
- "docComment": "",
566
- "excerptTokens": [
567
- {
568
- "kind": "Content",
569
- "text": "kvStorage: "
570
- },
571
- {
572
- "kind": "Reference",
573
- "text": "KVStorage",
574
- "canonicalReference": "@genesislcap/foundation-comms!KVStorage:interface"
575
- },
576
- {
577
- "kind": "Content",
578
- "text": ";"
579
- }
580
- ],
581
- "isReadonly": false,
582
- "isOptional": false,
583
- "releaseTag": "Public",
584
- "name": "kvStorage",
585
- "propertyTypeTokenRange": {
586
- "startIndex": 1,
587
- "endIndex": 2
588
- },
589
- "isStatic": false,
590
- "isProtected": false,
591
- "isAbstract": false
592
- },
593
- {
594
- "kind": "Method",
595
- "canonicalReference": "@genesislcap/foundation-forms!Filters#loadAllSavedFilters:member(1)",
596
- "docComment": "",
597
- "excerptTokens": [
598
- {
599
- "kind": "Content",
600
- "text": "loadAllSavedFilters(): "
601
- },
602
- {
603
- "kind": "Reference",
604
- "text": "Promise",
605
- "canonicalReference": "!Promise:interface"
606
- },
607
- {
608
- "kind": "Content",
609
- "text": "<void>"
610
- },
611
- {
612
- "kind": "Content",
613
- "text": ";"
614
- }
615
- ],
616
- "isStatic": false,
617
- "returnTypeTokenRange": {
618
- "startIndex": 1,
619
- "endIndex": 3
620
- },
621
- "releaseTag": "Public",
622
- "isProtected": false,
623
- "overloadIndex": 1,
624
- "parameters": [],
625
- "isOptional": false,
626
- "isAbstract": false,
627
- "name": "loadAllSavedFilters"
628
- },
629
- {
630
- "kind": "Method",
631
- "canonicalReference": "@genesislcap/foundation-forms!Filters#loadFilterData:member(1)",
632
- "docComment": "",
633
- "excerptTokens": [
634
- {
635
- "kind": "Content",
636
- "text": "loadFilterData(filterKey: "
637
- },
638
- {
639
- "kind": "Content",
640
- "text": "string"
641
- },
642
- {
643
- "kind": "Content",
644
- "text": "): "
645
- },
646
- {
647
- "kind": "Reference",
648
- "text": "Promise",
649
- "canonicalReference": "!Promise:interface"
650
- },
651
- {
652
- "kind": "Content",
653
- "text": "<void>"
654
- },
655
- {
656
- "kind": "Content",
657
- "text": ";"
658
- }
659
- ],
660
- "isStatic": false,
661
- "returnTypeTokenRange": {
662
- "startIndex": 3,
663
- "endIndex": 5
664
- },
665
- "releaseTag": "Public",
666
- "isProtected": false,
667
- "overloadIndex": 1,
668
- "parameters": [
669
- {
670
- "parameterName": "filterKey",
671
- "parameterTypeTokenRange": {
672
- "startIndex": 1,
673
- "endIndex": 2
674
- },
675
- "isOptional": false
676
- }
677
- ],
678
- "isOptional": false,
679
- "isAbstract": false,
680
- "name": "loadFilterData"
681
- },
682
366
  {
683
367
  "kind": "Property",
684
368
  "canonicalReference": "@genesislcap/foundation-forms!Filters#prefix:member",
@@ -774,72 +458,6 @@
774
458
  "isProtected": false,
775
459
  "isAbstract": false
776
460
  },
777
- {
778
- "kind": "Method",
779
- "canonicalReference": "@genesislcap/foundation-forms!Filters#saveFilter:member(1)",
780
- "docComment": "",
781
- "excerptTokens": [
782
- {
783
- "kind": "Content",
784
- "text": "saveFilter(): "
785
- },
786
- {
787
- "kind": "Reference",
788
- "text": "Promise",
789
- "canonicalReference": "!Promise:interface"
790
- },
791
- {
792
- "kind": "Content",
793
- "text": "<void>"
794
- },
795
- {
796
- "kind": "Content",
797
- "text": ";"
798
- }
799
- ],
800
- "isStatic": false,
801
- "returnTypeTokenRange": {
802
- "startIndex": 1,
803
- "endIndex": 3
804
- },
805
- "releaseTag": "Public",
806
- "isProtected": false,
807
- "overloadIndex": 1,
808
- "parameters": [],
809
- "isOptional": false,
810
- "isAbstract": false,
811
- "name": "saveFilter"
812
- },
813
- {
814
- "kind": "Property",
815
- "canonicalReference": "@genesislcap/foundation-forms!Filters#showFilterPersistenceControls:member",
816
- "docComment": "/**\n * Controls the visibility of the filter persistence controls UI.\n *\n * @public\n */\n",
817
- "excerptTokens": [
818
- {
819
- "kind": "Content",
820
- "text": "showFilterPersistenceControls: "
821
- },
822
- {
823
- "kind": "Content",
824
- "text": "boolean"
825
- },
826
- {
827
- "kind": "Content",
828
- "text": ";"
829
- }
830
- ],
831
- "isReadonly": false,
832
- "isOptional": false,
833
- "releaseTag": "Public",
834
- "name": "showFilterPersistenceControls",
835
- "propertyTypeTokenRange": {
836
- "startIndex": 1,
837
- "endIndex": 2
838
- },
839
- "isStatic": false,
840
- "isProtected": false,
841
- "isAbstract": false
842
- },
843
461
  {
844
462
  "kind": "Property",
845
463
  "canonicalReference": "@genesislcap/foundation-forms!Filters#uischema:member",
@@ -10,7 +10,6 @@ import { FoundationElement } from '@microsoft/fast-foundation';
10
10
  import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
11
11
  import { JsonFormsState } from '@jsonforms/core';
12
12
  import { JSONSchema7 } from 'json-schema';
13
- import { KVStorage } from '@genesislcap/foundation-comms';
14
13
  import { Layout } from '@jsonforms/core';
15
14
  import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
16
15
  import { Logger } from '@genesislcap/foundation-logger';
@@ -183,20 +182,12 @@ declare type Expressions = {
183
182
  * @public
184
183
  */
185
184
  export declare class Filters extends FoundationElement {
186
- kvStorage: KVStorage;
187
- filterName: string;
188
185
  /**
189
186
  * Name of the backend resource which will provide metadata
190
187
  * used to generate filters.
191
188
  * @public
192
189
  */
193
190
  resourceName: string;
194
- allSavedFilters: any[];
195
- /**
196
- * Controls the visibility of the filter persistence controls UI.
197
- * @public
198
- */
199
- showFilterPersistenceControls: boolean;
200
191
  private resourceNameChanged;
201
192
  /**
202
193
  * @internal
@@ -286,12 +277,6 @@ export declare class Filters extends FoundationElement {
286
277
  * @internal
287
278
  */
288
279
  disconnectedCallback(): void;
289
- saveFilter(): Promise<void>;
290
- deleteFilter(): Promise<void>;
291
- connectedCallback(): Promise<void>;
292
- loadAllSavedFilters(): Promise<void>;
293
- filterNameChanged(oldValue: string, newValue: string): void;
294
- loadFilterData(filterKey: string): Promise<void>;
295
280
  }
296
281
 
297
282
  /** @internal */
@@ -17,26 +17,11 @@ export declare class Filters extends FoundationElement
17
17
 
18
18
  | Property | Modifiers | Type | Description |
19
19
  | --- | --- | --- | --- |
20
- | [allSavedFilters](./foundation-forms.filters.allsavedfilters.md) | | any\[\] | |
21
20
  | [data](./foundation-forms.filters.data.md) | | any | Initial data for the filters. |
22
- | [filterName](./foundation-forms.filters.filtername.md) | | string | |
23
21
  | [jsonSchema](./foundation-forms.filters.jsonschema.md) | | JSONSchema7 | Alternatively to providing [Form.resourceName](./foundation-forms.form.resourcename.md) you can hardcode the JSON schema on the client. |
24
- | [kvStorage](./foundation-forms.filters.kvstorage.md) | | KVStorage | |
25
22
  | [prefix](./foundation-forms.filters.prefix.md) | | string | Name of the design system prefix that will be used in renderers. |
26
23
  | [renderers](./foundation-forms.filters.renderers.md) | | [RendererEntry](./foundation-forms.rendererentry.md)<!-- -->\[\] | Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default. |
27
24
  | [resourceName](./foundation-forms.filters.resourcename.md) | | string | Name of the backend resource which will provide metadata used to generate filters. |
28
- | [showFilterPersistenceControls](./foundation-forms.filters.showfilterpersistencecontrols.md) | | boolean | Controls the visibility of the filter persistence controls UI. |
29
25
  | [uischema](./foundation-forms.filters.uischema.md) | | [UiSchema](./foundation-forms.uischema.md) | UI schema used to define configuration of the layout and elements in the filters Check [UiSchema](./foundation-forms.uischema.md) for possible options. |
30
26
  | [value](./foundation-forms.filters.value.md) | | string | Created criteria based on the given data that can be used to filter the data. |
31
27
 
32
- ## Methods
33
-
34
- | Method | Modifiers | Description |
35
- | --- | --- | --- |
36
- | [connectedCallback()](./foundation-forms.filters.connectedcallback.md) | | |
37
- | [deleteFilter()](./foundation-forms.filters.deletefilter.md) | | |
38
- | [filterNameChanged(oldValue, newValue)](./foundation-forms.filters.filternamechanged.md) | | |
39
- | [loadAllSavedFilters()](./foundation-forms.filters.loadallsavedfilters.md) | | |
40
- | [loadFilterData(filterKey)](./foundation-forms.filters.loadfilterdata.md) | | |
41
- | [saveFilter()](./foundation-forms.filters.savefilter.md) | | |
42
-
@@ -16,7 +16,6 @@ import { FoundationElement } from '@microsoft/fast-foundation';
16
16
  import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
17
17
  import { JsonFormsState } from '@jsonforms/core';
18
18
  import { JSONSchema7 } from 'json-schema';
19
- import { KVStorage } from '@genesislcap/foundation-comms';
20
19
  import { Layout } from '@jsonforms/core';
21
20
  import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
22
21
  import { Logger } from '@genesislcap/foundation-logger';
@@ -65,38 +64,19 @@ export const createExpressions: (payload: any) => Expressions;
65
64
 
66
65
  // @public
67
66
  export class Filters extends FoundationElement {
68
- // (undocumented)
69
- allSavedFilters: any[];
70
67
  // @internal (undocumented)
71
68
  clearFiltersData(): void;
72
- // (undocumented)
73
- connectedCallback(): Promise<void>;
74
69
  data: any;
75
- // (undocumented)
76
- deleteFilter(): Promise<void>;
77
70
  // @internal (undocumented)
78
71
  disconnectedCallback(): void;
79
- // (undocumented)
80
- filterName: string;
81
- // (undocumented)
82
- filterNameChanged(oldValue: string, newValue: string): void;
83
72
  jsonSchema: JSONSchema7;
84
- // (undocumented)
85
- kvStorage: KVStorage;
86
- // (undocumented)
87
- loadAllSavedFilters(): Promise<void>;
88
- // (undocumented)
89
- loadFilterData(filterKey: string): Promise<void>;
90
73
  // @internal (undocumented)
91
74
  onChange(event: CustomEvent): void;
92
75
  prefix: string;
93
76
  renderers: RendererEntry[];
94
77
  resourceName: string;
95
- // (undocumented)
96
- saveFilter(): Promise<void>;
97
78
  // @internal (undocumented)
98
79
  searchFilters(): void;
99
- showFilterPersistenceControls: boolean;
100
80
  uischema: UiSchema;
101
81
  value: string;
102
82
  // @internal (undocumented)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-forms",
3
3
  "description": "Genesis Foundation Forms",
4
- "version": "14.266.1-alpha-049ad5f.0",
4
+ "version": "14.266.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -48,23 +48,22 @@
48
48
  }
49
49
  },
50
50
  "devDependencies": {
51
- "@genesislcap/foundation-testing": "14.266.1-alpha-049ad5f.0",
52
- "@genesislcap/genx": "14.266.1-alpha-049ad5f.0",
53
- "@genesislcap/rollup-builder": "14.266.1-alpha-049ad5f.0",
54
- "@genesislcap/ts-builder": "14.266.1-alpha-049ad5f.0",
55
- "@genesislcap/uvu-playwright-builder": "14.266.1-alpha-049ad5f.0",
56
- "@genesislcap/vite-builder": "14.266.1-alpha-049ad5f.0",
57
- "@genesislcap/webpack-builder": "14.266.1-alpha-049ad5f.0",
51
+ "@genesislcap/foundation-testing": "14.266.1",
52
+ "@genesislcap/genx": "14.266.1",
53
+ "@genesislcap/rollup-builder": "14.266.1",
54
+ "@genesislcap/ts-builder": "14.266.1",
55
+ "@genesislcap/uvu-playwright-builder": "14.266.1",
56
+ "@genesislcap/vite-builder": "14.266.1",
57
+ "@genesislcap/webpack-builder": "14.266.1",
58
58
  "@types/json-schema": "^7.0.11",
59
59
  "rimraf": "^5.0.0"
60
60
  },
61
61
  "dependencies": {
62
- "@genesislcap/foundation-comms": "14.266.1-alpha-049ad5f.0",
63
- "@genesislcap/foundation-criteria": "14.266.1-alpha-049ad5f.0",
64
- "@genesislcap/foundation-logger": "14.266.1-alpha-049ad5f.0",
65
- "@genesislcap/foundation-notifications": "14.266.1-alpha-049ad5f.0",
66
- "@genesislcap/foundation-ui": "14.266.1-alpha-049ad5f.0",
67
- "@genesislcap/foundation-utils": "14.266.1-alpha-049ad5f.0",
62
+ "@genesislcap/foundation-comms": "14.266.1",
63
+ "@genesislcap/foundation-criteria": "14.266.1",
64
+ "@genesislcap/foundation-logger": "14.266.1",
65
+ "@genesislcap/foundation-ui": "14.266.1",
66
+ "@genesislcap/foundation-utils": "14.266.1",
68
67
  "@json-schema-tools/dereferencer": "^1.6.1",
69
68
  "@jsonforms/core": "^3.2.1",
70
69
  "@microsoft/fast-components": "2.30.6",
@@ -86,5 +85,5 @@
86
85
  "access": "public"
87
86
  },
88
87
  "customElements": "dist/custom-elements.json",
89
- "gitHead": "eb4a3e794f50c1e9c70cc0b3b75d3f5372a03764"
88
+ "gitHead": "eecf3d436612a9f13877d3754a3503ddc7f1046d"
90
89
  }
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [allSavedFilters](./foundation-forms.filters.allsavedfilters.md)
4
-
5
- ## Filters.allSavedFilters property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- allSavedFilters: any[];
11
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [connectedCallback](./foundation-forms.filters.connectedcallback.md)
4
-
5
- ## Filters.connectedCallback() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- connectedCallback(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [deleteFilter](./foundation-forms.filters.deletefilter.md)
4
-
5
- ## Filters.deleteFilter() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- deleteFilter(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [filterName](./foundation-forms.filters.filtername.md)
4
-
5
- ## Filters.filterName property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- filterName: string;
11
- ```
@@ -1,23 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [filterNameChanged](./foundation-forms.filters.filternamechanged.md)
4
-
5
- ## Filters.filterNameChanged() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- filterNameChanged(oldValue: string, newValue: string): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | oldValue | string | |
18
- | newValue | string | |
19
-
20
- **Returns:**
21
-
22
- void
23
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [kvStorage](./foundation-forms.filters.kvstorage.md)
4
-
5
- ## Filters.kvStorage property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- kvStorage: KVStorage;
11
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [loadAllSavedFilters](./foundation-forms.filters.loadallsavedfilters.md)
4
-
5
- ## Filters.loadAllSavedFilters() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- loadAllSavedFilters(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [loadFilterData](./foundation-forms.filters.loadfilterdata.md)
4
-
5
- ## Filters.loadFilterData() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- loadFilterData(filterKey: string): Promise<void>;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | filterKey | string | |
18
-
19
- **Returns:**
20
-
21
- Promise&lt;void&gt;
22
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [saveFilter](./foundation-forms.filters.savefilter.md)
4
-
5
- ## Filters.saveFilter() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- saveFilter(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [Filters](./foundation-forms.filters.md) &gt; [showFilterPersistenceControls](./foundation-forms.filters.showfilterpersistencecontrols.md)
4
-
5
- ## Filters.showFilterPersistenceControls property
6
-
7
- Controls the visibility of the filter persistence controls UI.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- showFilterPersistenceControls: boolean;
13
- ```