forms-angular 0.12.0-beta.205 → 0.12.0-beta.206
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/server/data_form.js +4 -5
- package/package.json +1 -1
package/dist/server/data_form.js
CHANGED
|
@@ -47,7 +47,6 @@ class FormsAngular {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const search = 'search/', schema = 'schema/', report = 'report/', resourceName = ':resourceName', id = '/:id', formName = '/:formName', newClarifier = '/new';
|
|
50
|
-
;
|
|
51
50
|
this.app.get.apply(this.app, processArgs(this.options, ['models', this.models()]));
|
|
52
51
|
this.app.get.apply(this.app, processArgs(this.options, [search + resourceName, this.search()]));
|
|
53
52
|
this.app.get.apply(this.app, processArgs(this.options, [schema + resourceName, this.schema()]));
|
|
@@ -1539,11 +1538,11 @@ class FormsAngular {
|
|
|
1539
1538
|
if (resource.options.dependents === undefined) {
|
|
1540
1539
|
resource.options.dependents = that.resources.reduce(function (acc, r) {
|
|
1541
1540
|
function searchPaths(schema, prefix) {
|
|
1542
|
-
|
|
1543
|
-
for (
|
|
1541
|
+
let fldList = [];
|
|
1542
|
+
for (let fld in schema.paths) {
|
|
1544
1543
|
if (schema.paths.hasOwnProperty(fld)) {
|
|
1545
|
-
|
|
1546
|
-
|
|
1544
|
+
const parts = fld.split('.');
|
|
1545
|
+
let schemaType = schema.tree;
|
|
1547
1546
|
while (parts.length > 0) {
|
|
1548
1547
|
schemaType = schemaType[parts.shift()];
|
|
1549
1548
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mark Chapman <support@forms-angular.org>",
|
|
4
4
|
"description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
|
|
5
5
|
"homepage": "http://forms-angular.org",
|
|
6
|
-
"version": "0.12.0-beta.
|
|
6
|
+
"version": "0.12.0-beta.206",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=8.x",
|
|
9
9
|
"npm": ">=5.x"
|