@genesislcap/foundation-forms 14.237.2-alpha-78ebbc0.0 → 14.238.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { FoundationElement } from '@microsoft/fast-foundation';
3
2
  import { JSONSchema7 } from 'json-schema';
4
3
  import { RendererEntry, UiSchema } from './types';
@@ -39,15 +38,11 @@ declare const Form_base: (new (...args: any[]) => {
39
38
  readonly offsetTop: number;
40
39
  readonly offsetWidth: number;
41
40
  outerText: string;
42
- popover: string;
43
41
  spellcheck: boolean;
44
42
  title: string;
45
43
  translate: boolean;
46
44
  attachInternals(): ElementInternals;
47
45
  click(): void;
48
- hidePopover(): void;
49
- showPopover(): void;
50
- togglePopover(force?: boolean): boolean;
51
46
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
52
47
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
53
48
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -76,14 +71,9 @@ declare const Form_base: (new (...args: any[]) => {
76
71
  slot: string;
77
72
  readonly tagName: string;
78
73
  attachShadow(init: ShadowRootInit): ShadowRoot;
79
- checkVisibility(options?: CheckVisibilityOptions): boolean;
80
74
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
81
75
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
82
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
83
76
  closest<E extends Element = Element>(selectors: string): E;
84
- computedStyleMap(): StylePropertyMapReadOnly; /**
85
- * @internal
86
- */
87
77
  getAttribute(qualifiedName: string): string;
88
78
  getAttributeNS(namespace: string, localName: string): string;
89
79
  getAttributeNames(): string[];
@@ -92,14 +82,11 @@ declare const Form_base: (new (...args: any[]) => {
92
82
  getBoundingClientRect(): DOMRect;
93
83
  getClientRects(): DOMRectList;
94
84
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
95
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
96
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
97
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
98
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
85
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
86
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
99
87
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
100
88
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
101
89
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
102
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
103
90
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
104
91
  hasAttribute(qualifiedName: string): boolean;
105
92
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -156,24 +143,24 @@ declare const Form_base: (new (...args: any[]) => {
156
143
  normalize(): void;
157
144
  removeChild<T_3 extends Node>(child: T_3): T_3;
158
145
  replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
159
- readonly ELEMENT_NODE: 1;
160
- readonly ATTRIBUTE_NODE: 2;
161
- readonly TEXT_NODE: 3;
162
- readonly CDATA_SECTION_NODE: 4;
163
- readonly ENTITY_REFERENCE_NODE: 5;
164
- readonly ENTITY_NODE: 6;
165
- readonly PROCESSING_INSTRUCTION_NODE: 7;
166
- readonly COMMENT_NODE: 8;
167
- readonly DOCUMENT_NODE: 9;
168
- readonly DOCUMENT_TYPE_NODE: 10;
169
- readonly DOCUMENT_FRAGMENT_NODE: 11;
170
- readonly NOTATION_NODE: 12;
171
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
172
- readonly DOCUMENT_POSITION_PRECEDING: 2;
173
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
174
- readonly DOCUMENT_POSITION_CONTAINS: 8;
175
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
176
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
146
+ readonly ATTRIBUTE_NODE: number;
147
+ readonly CDATA_SECTION_NODE: number;
148
+ readonly COMMENT_NODE: number;
149
+ readonly DOCUMENT_FRAGMENT_NODE: number;
150
+ readonly DOCUMENT_NODE: number;
151
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
152
+ readonly DOCUMENT_POSITION_CONTAINS: number;
153
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
154
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
155
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
156
+ readonly DOCUMENT_POSITION_PRECEDING: number;
157
+ readonly DOCUMENT_TYPE_NODE: number;
158
+ readonly ELEMENT_NODE: number;
159
+ readonly ENTITY_NODE: number;
160
+ readonly ENTITY_REFERENCE_NODE: number;
161
+ readonly NOTATION_NODE: number;
162
+ readonly PROCESSING_INSTRUCTION_NODE: number;
163
+ readonly TEXT_NODE: number;
177
164
  dispatchEvent(event: Event): boolean;
178
165
  ariaAtomic: string;
179
166
  ariaAutoComplete: string;
@@ -181,9 +168,9 @@ declare const Form_base: (new (...args: any[]) => {
181
168
  ariaChecked: string;
182
169
  ariaColCount: string;
183
170
  ariaColIndex: string;
171
+ ariaColIndexText: string;
184
172
  ariaColSpan: string;
185
173
  ariaCurrent: string;
186
- ariaDescription: string;
187
174
  ariaDisabled: string;
188
175
  ariaExpanded: string;
189
176
  ariaHasPopup: string;
@@ -205,6 +192,7 @@ declare const Form_base: (new (...args: any[]) => {
205
192
  ariaRoleDescription: string;
206
193
  ariaRowCount: string;
207
194
  ariaRowIndex: string;
195
+ ariaRowIndexText: string;
208
196
  ariaRowSpan: string;
209
197
  ariaSelected: string;
210
198
  ariaSetSize: string;
@@ -229,19 +217,17 @@ declare const Form_base: (new (...args: any[]) => {
229
217
  readonly lastElementChild: Element;
230
218
  append(...nodes: (string | Node)[]): void;
231
219
  prepend(...nodes: (string | Node)[]): void;
232
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
233
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
234
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
235
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
220
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
221
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
236
222
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
237
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
238
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
239
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
240
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
223
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
224
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
241
225
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
242
226
  replaceChildren(...nodes: (string | Node)[]): void;
243
227
  readonly assignedSlot: HTMLSlotElement;
244
- readonly attributeStyleMap: StylePropertyMap;
228
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
229
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
230
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
245
231
  readonly style: CSSStyleDeclaration;
246
232
  contentEditable: string;
247
233
  enterKeyHint: string;
@@ -254,7 +240,6 @@ declare const Form_base: (new (...args: any[]) => {
254
240
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
255
241
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
256
242
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
257
- onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
258
243
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
259
244
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
260
245
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -263,9 +248,7 @@ declare const Form_base: (new (...args: any[]) => {
263
248
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
264
249
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
265
250
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
266
- oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
267
251
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
268
- oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
269
252
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
270
253
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
271
254
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -298,7 +281,6 @@ declare const Form_base: (new (...args: any[]) => {
298
281
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
299
282
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
300
283
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
301
- onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
302
284
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
303
285
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
304
286
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -315,7 +297,6 @@ declare const Form_base: (new (...args: any[]) => {
315
297
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
316
298
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
317
299
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
318
- onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
319
300
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
320
301
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
321
302
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/form.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAoB1C,OAAO,EAAE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BAAmB;IAcjC,OAAO,CAAC,oBAAoB;IA0B5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACS,QAAQ,EAAE,QAAQ,CAAC;IAC/B;;;OAGG;IACS,SAAS,EAAE,aAAa,EAAE,CAAa;IACnD;;OAEG;IACH,gBAAgB;IAGhB;;;OAGG;IACS,mBAAmB,EAAE,aAAa,EAAE,CAAM;IACtD;;OAEG;IACH,0BAA0B;IAG1B;;;;;OAKG;IACS,eAAe,EAAE,aAAa,EAAE,CAAa;IACzD,OAAO,CAAC,qBAAqB;IAI7B;;;;;;OAMG;IACS,UAAU,EAAE,WAAW,CAAC;IAEpC,OAAO,CAAC,MAAM,CAAqB;IAC1B,OAAO,CAAC,OAAO,CAAW;IACnC;;;OAGG;IACS,IAAI,EAAE,GAAG,CAAM;IAE3B;;OAEG;IACS,UAAU,EAAE,OAAO,CAAC;IAChC;;OAEG;IACS,SAAS,EAAE,OAAO,CAAC;IAE/B;;;OAGG;IACwB,QAAQ,EAAE,OAAO,CAAC;IAC7C;;;OAGG;IACyD,UAAU,EAAE,OAAO,CAAC;IAEhF;;OAEG;IACG,OAAO;IA2Bb;;;OAGG;IACH,IAAc,cAAc,YAM3B;IAED;;OAEG;IACM,SAAS,IAAI,IAAI;IAW1B;;OAEG;IACH,UAAU,CAAC,KAAK,EAAE,WAAW;IAI7B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW;IAY3B;;OAEG;IACH,oBAAoB;IAKpB;;;OAGG;IACH,KAAK,CAAC,SAAS,UAAO;CAMvB"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.48.0"
8
+ "packageVersion": "7.34.9"
9
9
  }
10
10
  ]
11
11
  }
@@ -73,8 +73,8 @@ let Filters = class Filters extends FoundationElement {
73
73
  this.data = {};
74
74
  }
75
75
  resourceNameChanged() {
76
+ var _a, _b, _c;
76
77
  return __awaiter(this, void 0, void 0, function* () {
77
- var _a, _b, _c;
78
78
  this.jsonSchema = undefined;
79
79
  if (this.resourceName) {
80
80
  const jsonSchemaResponse = yield this.connect.getJSONSchema(this.resourceName);
package/dist/esm/form.js CHANGED
@@ -96,8 +96,8 @@ let Form = class Form extends LifecycleMixin(FoundationElement) {
96
96
  this.data = {};
97
97
  }
98
98
  resourceNameChanged() {
99
+ var _a;
99
100
  return __awaiter(this, void 0, void 0, function* () {
100
- var _a;
101
101
  this.jsonSchema = undefined;
102
102
  if (this.resourceName) {
103
103
  const jsonSchemaResponse = yield this.connect.getJSONSchema(this.resourceName);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.48.0",
4
+ "toolVersion": "7.34.9",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -1000,45 +1000,27 @@
1000
1000
  }
1001
1001
  },
1002
1002
  {
1003
- "kind": "Function",
1004
- "canonicalReference": "@genesislcap/foundation-forms!mustMatch:function(1)",
1003
+ "kind": "Variable",
1004
+ "canonicalReference": "@genesislcap/foundation-forms!mustMatch:var",
1005
1005
  "docComment": "/**\n * Ensures the value of the current field (the one the validator is on) matches the one of the target field.\n *\n * @param target - any other field\n *\n * @returns a validator function that will be run by the smart form during the client-side validation stage\n *\n * @public\n */\n",
1006
1006
  "excerptTokens": [
1007
1007
  {
1008
1008
  "kind": "Content",
1009
- "text": "mustMatch: (target: "
1010
- },
1011
- {
1012
- "kind": "Content",
1013
- "text": "string"
1009
+ "text": "mustMatch: "
1014
1010
  },
1015
1011
  {
1016
1012
  "kind": "Content",
1017
- "text": ") => "
1018
- },
1019
- {
1020
- "kind": "Content",
1021
- "text": "(data: any, path: any, label: any) => {\n instancePath: string;\n message: string;\n schemaPath: string;\n keyword: string;\n params: {};\n}[]"
1013
+ "text": "(target: string) => (data: any, path: any, label: any) => {\n instancePath: string;\n message: string;\n schemaPath: string;\n keyword: string;\n params: {};\n}[]"
1022
1014
  }
1023
1015
  ],
1024
1016
  "fileUrlPath": "src/utils/validation.ts",
1025
- "returnTypeTokenRange": {
1026
- "startIndex": 3,
1027
- "endIndex": 4
1028
- },
1017
+ "isReadonly": true,
1029
1018
  "releaseTag": "Public",
1030
- "overloadIndex": 1,
1031
- "parameters": [
1032
- {
1033
- "parameterName": "target",
1034
- "parameterTypeTokenRange": {
1035
- "startIndex": 1,
1036
- "endIndex": 2
1037
- },
1038
- "isOptional": false
1039
- }
1040
- ],
1041
- "name": "mustMatch"
1019
+ "name": "mustMatch",
1020
+ "variableTypeTokenRange": {
1021
+ "startIndex": 1,
1022
+ "endIndex": 2
1023
+ }
1042
1024
  },
1043
1025
  {
1044
1026
  "kind": "TypeAlias",
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
-
3
1
  import { Controller } from '@microsoft/fast-element';
4
2
  import { DatasourceOptions } from '@genesislcap/foundation-comms';
5
3
  import { DOMContainer } from '@genesislcap/foundation-utils';
@@ -472,15 +470,11 @@ declare const Form_base: (new (...args: any[]) => {
472
470
  readonly offsetTop: number;
473
471
  readonly offsetWidth: number;
474
472
  outerText: string;
475
- popover: string;
476
473
  spellcheck: boolean;
477
474
  title: string;
478
475
  translate: boolean;
479
476
  attachInternals(): ElementInternals;
480
477
  click(): void;
481
- hidePopover(): void;
482
- showPopover(): void;
483
- togglePopover(force?: boolean): boolean;
484
478
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
485
479
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
486
480
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -509,14 +503,9 @@ declare const Form_base: (new (...args: any[]) => {
509
503
  slot: string;
510
504
  readonly tagName: string;
511
505
  attachShadow(init: ShadowRootInit): ShadowRoot;
512
- checkVisibility(options?: CheckVisibilityOptions): boolean;
513
506
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
514
507
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
515
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
516
508
  closest<E extends Element = Element>(selectors: string): E;
517
- computedStyleMap(): StylePropertyMapReadOnly; /**
518
- * @internal
519
- */
520
509
  getAttribute(qualifiedName: string): string;
521
510
  getAttributeNS(namespace: string, localName: string): string;
522
511
  getAttributeNames(): string[];
@@ -525,14 +514,11 @@ declare const Form_base: (new (...args: any[]) => {
525
514
  getBoundingClientRect(): DOMRect;
526
515
  getClientRects(): DOMRectList;
527
516
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
528
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
529
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
530
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
531
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
517
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
518
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
532
519
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
533
520
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
534
521
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
535
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
536
522
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
537
523
  hasAttribute(qualifiedName: string): boolean;
538
524
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -589,24 +575,24 @@ declare const Form_base: (new (...args: any[]) => {
589
575
  normalize(): void;
590
576
  removeChild<T_3 extends Node>(child: T_3): T_3;
591
577
  replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
592
- readonly ELEMENT_NODE: 1;
593
- readonly ATTRIBUTE_NODE: 2;
594
- readonly TEXT_NODE: 3;
595
- readonly CDATA_SECTION_NODE: 4;
596
- readonly ENTITY_REFERENCE_NODE: 5;
597
- readonly ENTITY_NODE: 6;
598
- readonly PROCESSING_INSTRUCTION_NODE: 7;
599
- readonly COMMENT_NODE: 8;
600
- readonly DOCUMENT_NODE: 9;
601
- readonly DOCUMENT_TYPE_NODE: 10;
602
- readonly DOCUMENT_FRAGMENT_NODE: 11;
603
- readonly NOTATION_NODE: 12;
604
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
605
- readonly DOCUMENT_POSITION_PRECEDING: 2;
606
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
607
- readonly DOCUMENT_POSITION_CONTAINS: 8;
608
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
609
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
578
+ readonly ATTRIBUTE_NODE: number;
579
+ readonly CDATA_SECTION_NODE: number;
580
+ readonly COMMENT_NODE: number;
581
+ readonly DOCUMENT_FRAGMENT_NODE: number;
582
+ readonly DOCUMENT_NODE: number;
583
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
584
+ readonly DOCUMENT_POSITION_CONTAINS: number;
585
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
586
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
587
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
588
+ readonly DOCUMENT_POSITION_PRECEDING: number;
589
+ readonly DOCUMENT_TYPE_NODE: number;
590
+ readonly ELEMENT_NODE: number;
591
+ readonly ENTITY_NODE: number;
592
+ readonly ENTITY_REFERENCE_NODE: number;
593
+ readonly NOTATION_NODE: number;
594
+ readonly PROCESSING_INSTRUCTION_NODE: number;
595
+ readonly TEXT_NODE: number;
610
596
  dispatchEvent(event: Event): boolean;
611
597
  ariaAtomic: string;
612
598
  ariaAutoComplete: string;
@@ -614,9 +600,9 @@ declare const Form_base: (new (...args: any[]) => {
614
600
  ariaChecked: string;
615
601
  ariaColCount: string;
616
602
  ariaColIndex: string;
603
+ ariaColIndexText: string;
617
604
  ariaColSpan: string;
618
605
  ariaCurrent: string;
619
- ariaDescription: string;
620
606
  ariaDisabled: string;
621
607
  ariaExpanded: string;
622
608
  ariaHasPopup: string;
@@ -638,6 +624,7 @@ declare const Form_base: (new (...args: any[]) => {
638
624
  ariaRoleDescription: string;
639
625
  ariaRowCount: string;
640
626
  ariaRowIndex: string;
627
+ ariaRowIndexText: string;
641
628
  ariaRowSpan: string;
642
629
  ariaSelected: string;
643
630
  ariaSetSize: string;
@@ -662,19 +649,17 @@ declare const Form_base: (new (...args: any[]) => {
662
649
  readonly lastElementChild: Element;
663
650
  append(...nodes: (string | Node)[]): void;
664
651
  prepend(...nodes: (string | Node)[]): void;
665
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
666
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
667
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
668
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
652
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
653
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
669
654
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
670
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
671
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
672
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
673
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
655
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
656
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
674
657
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
675
658
  replaceChildren(...nodes: (string | Node)[]): void;
676
659
  readonly assignedSlot: HTMLSlotElement;
677
- readonly attributeStyleMap: StylePropertyMap;
660
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
661
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
662
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
678
663
  readonly style: CSSStyleDeclaration;
679
664
  contentEditable: string;
680
665
  enterKeyHint: string;
@@ -687,7 +672,6 @@ declare const Form_base: (new (...args: any[]) => {
687
672
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
688
673
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
689
674
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
690
- onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
691
675
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
692
676
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
693
677
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -696,9 +680,7 @@ declare const Form_base: (new (...args: any[]) => {
696
680
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
697
681
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
698
682
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
699
- oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
700
683
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
701
- oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
702
684
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
703
685
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
704
686
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -731,7 +713,6 @@ declare const Form_base: (new (...args: any[]) => {
731
713
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
732
714
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
733
715
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
734
- onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
735
716
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
736
717
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
737
718
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -748,7 +729,6 @@ declare const Form_base: (new (...args: any[]) => {
748
729
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
749
730
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
750
731
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
751
- onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
752
732
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
753
733
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
754
734
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
@@ -11,17 +11,12 @@
11
11
  | [Filters](./foundation-forms.filters.md) | Foundation filters component for automatically generated filters based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable filters elements using UI schema and set of custom renderers |
12
12
  | [Form](./foundation-forms.form.md) | Foundation form component for automatically generated forms based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable form elements using UI schema and set of custom renderers |
13
13
 
14
- ## Functions
15
-
16
- | Function | Description |
17
- | --- | --- |
18
- | [mustMatch(target)](./foundation-forms.mustmatch.md) | Ensures the value of the current field (the one the validator is on) matches the one of the target field. |
19
-
20
14
  ## Variables
21
15
 
22
16
  | Variable | Description |
23
17
  | --- | --- |
24
18
  | [filtersRenderers](./foundation-forms.filtersrenderers.md) | Set of default renderers used by the foundation-filters. |
19
+ | [mustMatch](./foundation-forms.mustmatch.md) | Ensures the value of the current field (the one the validator is on) matches the one of the target field. |
25
20
  | [renderers](./foundation-forms.renderers.md) | Set of default renderers used by the foundation-forms. |
26
21
 
27
22
  ## Type Aliases
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [mustMatch](./foundation-forms.mustmatch.md)
4
4
 
5
- ## mustMatch() function
5
+ ## mustMatch variable
6
6
 
7
7
  Ensures the value of the current field (the one the validator is on) matches the one of the target field.
8
8
 
@@ -17,16 +17,3 @@ mustMatch: (target: string) => (data: any, path: any, label: any) => {
17
17
  params: {};
18
18
  }[]
19
19
  ```
20
-
21
- ## Parameters
22
-
23
- | Parameter | Type | Description |
24
- | --- | --- | --- |
25
- | target | string | any other field |
26
-
27
- **Returns:**
28
-
29
- (data: any, path: any, label: any) =&gt; { instancePath: string; message: string; schemaPath: string; keyword: string; params: {}; }\[\]
30
-
31
- a validator function that will be run by the smart form during the client-side validation stage
32
-
@@ -4,8 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- /// <reference types="node" />
8
-
9
7
  import { Controller } from '@microsoft/fast-element';
10
8
  import { DatasourceOptions } from '@genesislcap/foundation-comms';
11
9
  import { DOMContainer } from '@genesislcap/foundation-utils';
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.237.2-alpha-78ebbc0.0",
4
+ "version": "14.238.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -48,22 +48,22 @@
48
48
  }
49
49
  },
50
50
  "devDependencies": {
51
- "@genesislcap/foundation-testing": "14.237.2-alpha-78ebbc0.0",
52
- "@genesislcap/genx": "14.237.2-alpha-78ebbc0.0",
53
- "@genesislcap/rollup-builder": "14.237.2-alpha-78ebbc0.0",
54
- "@genesislcap/ts-builder": "14.237.2-alpha-78ebbc0.0",
55
- "@genesislcap/uvu-playwright-builder": "14.237.2-alpha-78ebbc0.0",
56
- "@genesislcap/vite-builder": "14.237.2-alpha-78ebbc0.0",
57
- "@genesislcap/webpack-builder": "14.237.2-alpha-78ebbc0.0",
51
+ "@genesislcap/foundation-testing": "14.238.1",
52
+ "@genesislcap/genx": "14.238.1",
53
+ "@genesislcap/rollup-builder": "14.238.1",
54
+ "@genesislcap/ts-builder": "14.238.1",
55
+ "@genesislcap/uvu-playwright-builder": "14.238.1",
56
+ "@genesislcap/vite-builder": "14.238.1",
57
+ "@genesislcap/webpack-builder": "14.238.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.237.2-alpha-78ebbc0.0",
63
- "@genesislcap/foundation-criteria": "14.237.2-alpha-78ebbc0.0",
64
- "@genesislcap/foundation-logger": "14.237.2-alpha-78ebbc0.0",
65
- "@genesislcap/foundation-ui": "14.237.2-alpha-78ebbc0.0",
66
- "@genesislcap/foundation-utils": "14.237.2-alpha-78ebbc0.0",
62
+ "@genesislcap/foundation-comms": "14.238.1",
63
+ "@genesislcap/foundation-criteria": "14.238.1",
64
+ "@genesislcap/foundation-logger": "14.238.1",
65
+ "@genesislcap/foundation-ui": "14.238.1",
66
+ "@genesislcap/foundation-utils": "14.238.1",
67
67
  "@json-schema-tools/dereferencer": "^1.6.1",
68
68
  "@jsonforms/core": "^3.2.1",
69
69
  "@microsoft/fast-components": "2.30.6",
@@ -74,7 +74,7 @@
74
74
  "change-case": "^4.1.2",
75
75
  "json-schema": "^0.4.0",
76
76
  "lodash": "^4.17.21",
77
- "tslib": "2.8.1"
77
+ "tslib": "^2.3.1"
78
78
  },
79
79
  "repository": {
80
80
  "type": "git",
@@ -85,5 +85,5 @@
85
85
  "access": "public"
86
86
  },
87
87
  "customElements": "dist/custom-elements.json",
88
- "gitHead": "ab5fa0da6c1d82b0d69754c35801e2b17ae7d018"
88
+ "gitHead": "c0de8cfef19e4e0e11ea5799cb7d43d7bea6ff49"
89
89
  }