@aemforms/af-core 0.15.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.
- package/LICENSE +5 -0
- package/README.md +34 -0
- package/lib/BaseNode.d.ts +117 -0
- package/lib/BaseNode.js +368 -0
- package/lib/Checkbox.d.ts +80 -0
- package/lib/Checkbox.js +49 -0
- package/lib/CheckboxGroup.d.ts +30 -0
- package/lib/CheckboxGroup.js +40 -0
- package/lib/Container.d.ts +336 -0
- package/lib/Container.js +279 -0
- package/lib/Field.d.ts +185 -0
- package/lib/Field.js +432 -0
- package/lib/Fieldset.d.ts +31 -0
- package/lib/Fieldset.js +97 -0
- package/lib/FileObject.d.ts +17 -0
- package/lib/FileObject.js +30 -0
- package/lib/FileUpload.d.ts +42 -0
- package/lib/FileUpload.js +299 -0
- package/lib/Form.d.ts +413 -0
- package/lib/Form.js +247 -0
- package/lib/FormInstance.d.ts +26 -0
- package/lib/FormInstance.js +116 -0
- package/lib/FormMetaData.d.ts +11 -0
- package/lib/FormMetaData.js +28 -0
- package/lib/Node.d.ts +12 -0
- package/lib/Node.js +27 -0
- package/lib/Scriptable.d.ts +27 -0
- package/lib/Scriptable.js +216 -0
- package/lib/controller/Controller.d.ts +207 -0
- package/lib/controller/Controller.js +263 -0
- package/lib/controller/EventQueue.d.ts +24 -0
- package/lib/controller/EventQueue.js +99 -0
- package/lib/controller/index.d.ts +1 -0
- package/lib/controller/index.js +24 -0
- package/lib/data/DataGroup.d.ts +25 -0
- package/lib/data/DataGroup.js +74 -0
- package/lib/data/DataValue.d.ts +22 -0
- package/lib/data/DataValue.js +50 -0
- package/lib/data/EmptyDataValue.d.ts +14 -0
- package/lib/data/EmptyDataValue.js +46 -0
- package/lib/index.d.ts +27 -0
- package/lib/index.js +59 -0
- package/lib/rules/FunctionRuntime.d.ts +44 -0
- package/lib/rules/FunctionRuntime.js +271 -0
- package/lib/rules/RuleEngine.d.ts +23 -0
- package/lib/rules/RuleEngine.js +67 -0
- package/lib/types/Json.d.ts +126 -0
- package/lib/types/Json.js +16 -0
- package/lib/types/Model.d.ts +352 -0
- package/lib/types/Model.js +20 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +25 -0
- package/lib/utils/DataRefParser.d.ts +30 -0
- package/lib/utils/DataRefParser.js +249 -0
- package/lib/utils/Fetch.d.ts +7 -0
- package/lib/utils/Fetch.js +29 -0
- package/lib/utils/FormUtils.d.ts +47 -0
- package/lib/utils/FormUtils.js +172 -0
- package/lib/utils/JsonUtils.d.ts +55 -0
- package/lib/utils/JsonUtils.js +128 -0
- package/lib/utils/LogUtils.d.ts +7 -0
- package/lib/utils/LogUtils.js +17 -0
- package/lib/utils/SchemaUtils.d.ts +16 -0
- package/lib/utils/SchemaUtils.js +92 -0
- package/lib/utils/TranslationUtils.d.ts +34 -0
- package/lib/utils/TranslationUtils.js +156 -0
- package/lib/utils/ValidationUtils.d.ts +153 -0
- package/lib/utils/ValidationUtils.js +339 -0
- package/package.json +60 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aemforms/af-core",
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"description": "Core Module for Forms Runtime",
|
|
5
|
+
"author": "Adobe Systems",
|
|
6
|
+
"license": "LicenseRef-LICENSE",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"directories": {
|
|
9
|
+
"lib": "lib",
|
|
10
|
+
"source": "src",
|
|
11
|
+
"test": "src/__tests__"
|
|
12
|
+
},
|
|
13
|
+
"jest-junit": {
|
|
14
|
+
"suiteName": "core tests",
|
|
15
|
+
"suiteNameTemplate": "{filename}",
|
|
16
|
+
"classNameTemplate": "model-test.{filename}",
|
|
17
|
+
"outputDirectory": "./target/test-reports"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "jest --silent",
|
|
28
|
+
"eslint": "npx eslint src/**",
|
|
29
|
+
"eslint:fix": "npx eslint --fix src/**",
|
|
30
|
+
"test:ci": "jest --silent --coverage",
|
|
31
|
+
"build": "npm run eslint && npx tsc",
|
|
32
|
+
"clean": "rm -rf lib target",
|
|
33
|
+
"prepublishOnly": "npm run build && npm run test",
|
|
34
|
+
"docs": "npx typedoc --options .typedoc.cjs"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@adobe/json-formula": "git+https://git@github.com/adobe/json-formula.git#e246367c091948140db6f581806114ee482dcd1a"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/jest": "26.0.24",
|
|
41
|
+
"@types/lodash": "^4.14.171",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
|
43
|
+
"@typescript-eslint/parser": "^4.28.2",
|
|
44
|
+
"eslint": "^7.30.0",
|
|
45
|
+
"eslint-config-standard": "^16.0.3",
|
|
46
|
+
"eslint-plugin-import": "^2.23.4",
|
|
47
|
+
"eslint-plugin-jest": "^24.3.6",
|
|
48
|
+
"eslint-plugin-node": "^11.1.0",
|
|
49
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
50
|
+
"form-data": "^4.0.0",
|
|
51
|
+
"jest": "26.6.0",
|
|
52
|
+
"jest-junit": "^12.2.0",
|
|
53
|
+
"nock": "^13.1.3",
|
|
54
|
+
"node-fetch": "^2.6.1",
|
|
55
|
+
"ts-jest": "26.5.6",
|
|
56
|
+
"typedoc": "0.22.11",
|
|
57
|
+
"typedoc-plugin-markdown": "3.11.13",
|
|
58
|
+
"typescript": "^4.3.5"
|
|
59
|
+
}
|
|
60
|
+
}
|