powerpagestoolkit 2.7.135 → 2.7.202

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,2 +0,0 @@
1
- declare const eventMapping: Record<string, keyof HTMLElementEventMap>;
2
- export default eventMapping;
@@ -1,13 +0,0 @@
1
- import DOMNodeReference from "./DOMNodeReference.js";
2
- import DOMNodeReferenceArray from "./DOMNodeReferenceArray.js";
3
- declare type BoundForm = DOMNodeReferenceArray & Record<string, DOMNodeReference>;
4
- /**
5
- * Get all controls related to the form for manipulating with the
6
- * DOMNodeReference class. Rather than having to instantiate each fields that you need manually,
7
- * you can call this method once with the form ID and gain access to all fields
8
- * @param formId The string GUID of the form you want to bind to
9
- * @returns An array of DOMNodeReferences, accessible as properties of a Record<string, DOMNodeReference> i.e. formProp = form["some_logicalName"]
10
- * @see {@link BoundForm}
11
- */
12
- export default function bindForm(formId: string): Promise<BoundForm>;
13
- export {};
@@ -1,2 +0,0 @@
1
- export default function waitFor(target: Element | string, root: Element | Document, multiple: false, debounceTime: number): Promise<HTMLElement>;
2
- export default function waitFor(target: Element | string, root: Element | Document, multiple: true, debounceTime: number): Promise<HTMLElement[]>;
@@ -1,18 +0,0 @@
1
- import "./style.css";
2
- import API from "./core/API.js";
3
- import createRef from "./core/createDOMNodeReferences.js";
4
- import waitFor from "./core/waitFor.js";
5
- import bindForm from "./core/bindForm.js";
6
- export { API, createRef, waitFor, bindForm };
7
- declare const toolkit: {
8
- API: {
9
- createRecord(tableSetName: string, data: object): Promise<string>;
10
- getRecord<T>(tableSetName: string, recordID: string, selectColumns?: string): Promise<T>;
11
- getMultiple(tableSetName: string, queryParameters?: string): Promise<Array<object>>;
12
- updateRecord(tableSetName: string, recordId: string, data: object): Promise<any>;
13
- };
14
- createRef: typeof createRef;
15
- waitFor: typeof waitFor;
16
- bindForm: typeof bindForm;
17
- };
18
- export default toolkit;
@@ -1,3 +0,0 @@
1
- import DOMNodeReference from "@/core/DOMNodeReference.js";
2
- import DOMNodeReferenceArray from "@/core/DOMNodeReferenceArray.js";
3
- export default function enhanceArray<T extends string>(array: DOMNodeReference[]): DOMNodeReferenceArray & Record<T, DOMNodeReference>;
@@ -1 +0,0 @@
1
- export default function safeAjax(ajaxOptions: any): any;