powerpagestoolkit 2.7.133 → 2.7.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js
CHANGED
|
@@ -1335,10 +1335,15 @@ function createReferenceString(tagName, datafieldname) {
|
|
|
1335
1335
|
return `[data-name="${datafieldname}"]`;
|
|
1336
1336
|
return null;
|
|
1337
1337
|
}
|
|
1338
|
+
|
|
1339
|
+
// src/index.ts
|
|
1340
|
+
var toolkit = { API: API_default, createRef: createDOMNodeReference, waitFor, bindForm };
|
|
1341
|
+
var src_default = toolkit;
|
|
1338
1342
|
export {
|
|
1339
1343
|
API_default as API,
|
|
1340
1344
|
bindForm,
|
|
1341
1345
|
createDOMNodeReference as createRef,
|
|
1346
|
+
src_default as default,
|
|
1342
1347
|
waitFor
|
|
1343
1348
|
};
|
|
1344
1349
|
|
|
@@ -24,6 +24,7 @@ var powerpagestoolkit = (() => {
|
|
|
24
24
|
API: () => API_default,
|
|
25
25
|
bindForm: () => bindForm,
|
|
26
26
|
createRef: () => createDOMNodeReference,
|
|
27
|
+
default: () => src_default,
|
|
27
28
|
waitFor: () => waitFor
|
|
28
29
|
});
|
|
29
30
|
|
|
@@ -1364,5 +1365,9 @@ var powerpagestoolkit = (() => {
|
|
|
1364
1365
|
return `[data-name="${datafieldname}"]`;
|
|
1365
1366
|
return null;
|
|
1366
1367
|
}
|
|
1368
|
+
|
|
1369
|
+
// src/index.ts
|
|
1370
|
+
var toolkit = { API: API_default, createRef: createDOMNodeReference, waitFor, bindForm };
|
|
1371
|
+
var src_default = toolkit;
|
|
1367
1372
|
return __toCommonJS(src_exports);
|
|
1368
1373
|
})();
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,3 +4,15 @@ import createRef from "./core/createDOMNodeReferences.js";
|
|
|
4
4
|
import waitFor from "./core/waitFor.js";
|
|
5
5
|
import bindForm from "./core/bindForm.js";
|
|
6
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;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerpagestoolkit",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.135",
|
|
4
4
|
"description": "Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier. ",
|
|
5
|
-
"main": "./dist/
|
|
5
|
+
"main": "./dist/index.global.js",
|
|
6
|
+
"module": "./dist/bundle.js",
|
|
6
7
|
"types": "./dist/types/index.d.ts",
|
|
7
8
|
"typesVersions": {
|
|
8
9
|
"*": {
|
|
@@ -11,9 +12,9 @@
|
|
|
11
12
|
]
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
|
-
"unpkg": "./dist/index.
|
|
15
|
-
"jsdelivr": "./dist/index.
|
|
16
|
-
"browser": "./dist/index.
|
|
15
|
+
"unpkg": "./dist/index.global.js",
|
|
16
|
+
"jsdelivr": "./dist/index.global.js",
|
|
17
|
+
"browser": "./dist/index.global.js",
|
|
17
18
|
"author": "KeatonBrewster",
|
|
18
19
|
"license": "AGPL-3.0-only",
|
|
19
20
|
"type": "module",
|
|
@@ -24,14 +25,16 @@
|
|
|
24
25
|
"files": [
|
|
25
26
|
"dist/bundle.js",
|
|
26
27
|
"dist/bundle.css",
|
|
27
|
-
"dist/index.
|
|
28
|
+
"dist/index.global.js",
|
|
28
29
|
"dist/types/**/*.d.ts",
|
|
29
30
|
"assets/**"
|
|
30
31
|
],
|
|
31
32
|
"exports": {
|
|
32
33
|
".": {
|
|
34
|
+
"types": "./dist/types/index.d.ts",
|
|
33
35
|
"import": "./dist/bundle.js",
|
|
34
|
-
"
|
|
36
|
+
"require": "./dist/index.global.js",
|
|
37
|
+
"default": "./dist/index.global.js"
|
|
35
38
|
},
|
|
36
39
|
"./createDOMNodeReference": {
|
|
37
40
|
"import": "./dist/createDOMNodeReference.js",
|